mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-30 20:21:09 +08:00
refactor: unify agent API to Codex v4 across all skills
Migrate all .codex/skills from old agent API (wait/send_input/ids) to Codex v4 API (wait_agent/assign_task/targets) across 31 files in 10 skills: spec-generator, brainstorm, clean, issue-discover, parallel-dev-cycle, review-cycle, roadmap-with-file, workflow-plan, workflow-tdd-plan, workflow-test-fix-cycle, and spec-setup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,8 +43,8 @@ for (let i = 0; i < batches.length; i += MAX_PARALLEL) {
|
||||
console.log(`Spawned ${agentIds.length} planning agents...`);
|
||||
|
||||
// Step 2: Batch wait for all agents in this chunk
|
||||
const chunkResults = wait({
|
||||
ids: agentIds.map(a => a.agentId),
|
||||
const chunkResults = wait_agent({
|
||||
targets: agentIds.map(a => a.agentId),
|
||||
timeout_ms: 600000 // 10 minutes
|
||||
});
|
||||
|
||||
@@ -204,8 +204,8 @@ Before finalizing outputs:
|
||||
});
|
||||
|
||||
// Wait for completion
|
||||
const result = wait({
|
||||
ids: [agentId],
|
||||
const result = wait_agent({
|
||||
targets: [agentId],
|
||||
timeout_ms: 600000 // 10 minutes
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user