IAV-839/Refactor: Unify agent stores into single useAgentWizardStore with type-based creation
Summary
Merged useMainAgentWizardStore and useSubAgentWizardStore (along with their respective
service APIs and config files) into a single unified useAgentWizardStore.
Changes
- Combined shared methods into
useAgentWizardStore, eliminating code duplication - Agent creation now handles both main and sub types within the same wizard step 2, driven by agent type and business context
- Simplified business context data retrieval for any agent (main or sub) opened in the wizard
- Removed redundant service API and config files from the former split stores
Motivation
Backend improvements unified the agent endpoints, making the dual-store approach unnecessary. This refactor aligns the frontend with the new backend structure, reduces maintenance overhead, and simplifies the wizard flow.
Closes IAV-839