Bohan Jiang
98b8126c89
Merge pull request #120 from multica-ai/feat/subagent-concurrency-queue
...
feat(subagent): add concurrency queue and default timeout
2026-02-10 20:04:16 +08:00
Jiang Bohan
d78f8480bf
chore(agent): remove debug invalid tool-call injection
2026-02-10 19:53:33 +08:00
Jiang Bohan
db25f8f44a
chore(agent): add debug hook to inject invalid tool call id
2026-02-10 19:43:49 +08:00
Jiang Bohan
e2d4803f8b
fix(agent): sanitize invalid tool call ids in context
2026-02-10 19:33:44 +08:00
Jiang Bohan
683dfa759b
feat(subagent): integrate command queue and configurable timeout
...
Wire registry and sessions_spawn through the lane-based queue so
sub-agents respect max concurrency. Add resolveSubagentTimeoutMs()
with defaults (10 min), 0 = no timeout, and safe clamping.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:27:26 +08:00
Jiang Bohan
240fdd1286
feat(subagent): add lane-based command queue with concurrency control
...
Introduces a command queue system adapted from OpenClaw to prevent
unbounded sub-agent spawning. Default max concurrency: 10.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:27:19 +08:00
Naiyuan Qing
6ef58a0cab
refactor: restructure to monorepo architecture
...
- Move core agent engine to packages/core/
- Add packages/types/ for shared TypeScript types
- Add packages/utils/ for utility functions
- Add apps/cli/ for command-line interface
- Add apps/gateway/ for NestJS WebSocket gateway
- Add apps/server/ for REST API server
- Restructure desktop app (electron/ → src/main/, src/preload/)
- Update pnpm workspace configuration
- Remove legacy src/ directory
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 18:00:23 +08:00