feat: remove import agent feature from UI

Remove the import agent functionality from the app while preserving
the underlying resume capability in the agent code.

Changes:
- Remove ImportAgentModal and import flow from create-agent-modal.tsx
- Remove "Import Agent" menu item from agent screen
- Remove "Import" button from home footer
- Remove resumeAgent from session context and store
- Remove list_persisted_agents WS messages from server
- Remove handleListPersistedAgentsRequest handler
- Clean up unused styles and types

The resumeAgent capability remains in the agent manager for potential
future use or internal tooling.
This commit is contained in:
Mohamed Boudra
2026-01-08 21:48:48 +07:00
parent f2e03c53c1
commit cc74d6d0d2
9 changed files with 80 additions and 1297 deletions
-1
View File
@@ -204,7 +204,6 @@ export interface SessionState {
worktreeName?: string;
requestId?: string;
}) => Promise<void>;
resumeAgent: (options: { handle: any; overrides?: any; requestId?: string }) => void;
setAgentMode: (agentId: string, modeId: string) => void;
respondToPermission: (agentId: string, requestId: string, response: any) => void;
} | null;