The --decompose flag and supporting decomposer module had two unfixable bugs (#1045): it crashed when ANTHROPIC_API_KEY was unset, and it created multiple branches/PRs per issue, fragmenting history and complicating review/merge. Removing the feature instead of patching either bug. - Delete packages/core/src/decomposer.ts and all re-exports - Drop @anthropic-ai/sdk dependency from @composio/ao-core - Remove --decompose / --max-depth options from ao spawn - Remove decomposer field from ProjectConfig (zod default-strip silently ignores existing decomposer: blocks in user yaml) - Remove lineage / siblings from SessionSpawnConfig and the prompt-builder Layer 4 block (only used by decomposer) - Gut the matching backlog reactor branch in web/services.ts so the polling path no longer hits the same bugs - Remove decompose parameter from openclaw-plugin ao_spawn tool - Drop decomposer mocks from web services.test.ts |
||
|---|---|---|
| .. | ||
| index.test.ts | ||
| index.ts | ||
| openclaw.plugin.json | ||
| package.json | ||