mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-25 18:52:39 +00:00
898b8ce5a1e1f25df18ec3e4b6ff0766a8d08bba
1. Lazy agent loading - fix race condition where prompts sent before initialization completes:
- Add ensureAgentLoaded() helper that deduplicates initialization requests
- Update handleSendAgentMessage/Audio to await agent initialization before streaming
- Fix status updates being sent to client after initialization
2. Type safety - remove unsafe 'as any' casts for agent status:
- Create AGENT_LIFECYCLE_STATUSES constant as single source of truth
- Export AgentStatusSchema from messages.ts for reuse
- Update registry schema to validate lastStatus against AgentStatusSchema
- Add .default("closed") to handle missing status values from legacy files
- Remove (record.lastStatus as any) cast in buildStoredAgentPayload
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Description
Orchestrate multiple coding agents from desktop and mobile
adeagentsandroidclaude-codecodexcopilotdeveloper-toolshermesioslinuxmobileopencodeorchestrationpiwindows
Apache-2.0
378 MiB
Languages
TypeScript
97.7%
JavaScript
1.7%
Shell
0.2%
Kotlin
0.1%