Feature: dynamic workflows (Claude Code parity)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- ai-infra-agents, cli
Línea de trabajo
Start by reading the existing agent and agent_output delegation entry points, then trace how the CLI handles background work and interactive views. The issue describes a new workflow script API, resumable orchestration, progress controls, and workflow storage, but does not identify files or tests; first map the relevant subsystems and discuss scope with maintainers. Done means scripts can fan out agents and return a final result, with saved runs and the requested controls covered by tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Description
Add dynamic workflows, like Claude Code's: a workflow tool that takes a JavaScript orchestration script, runs it in the background, and fans work out across dozens to hundreds of subagents. Intermediate results stay in script variables, so the main session only receives the final answer and stays responsive while agents run.
The script gets a small API: agent(prompt, opts) to spawn one subagent (optionally returning JSON that matches a schema), pipeline(items, fn) and parallel([...]) to fan out, and phase() / log() for progress. A /workflows view shows phases and per-agent progress, with pause, stop, restart, and save.
Runs can be saved to .commandcode/workflows/ (project) or ~/.commandcode/workflows/ (personal) and re-run as /<name>.
Use Case
Today delegation is turn-by-turn through agent / agent_output: one prompt at a time, and every result lands back in the parent's context. That doesn't fit tasks needing more agents than one conversation can coordinate:
- audit every route handler for missing auth, then verify each finding
- migrate hundreds of files, each in its own isolated copy
- review every changed file in a PR and merge the findings into one ranked summary
- keep fixing type errors until
tsc --noEmitpasses or two rounds make no progress
A workflow moves the plan into code, so the orchestration is repeatable and the parent context holds only the final report.
Additional Context
Reference behavior and API: https://code.claude.com/docs/en/workflows
Minimal script shape:
export const meta = { name: 'audit-routes', description: 'Audit handlers for missing auth' }
const { files } = await agent('List every .ts file under src/routes/.', {
schema: { type: 'object', required: ['files'], properties: { files: { type: 'array', items: { type: 'string' } } } },
})
const audits = await pipeline(files, (file) =>
agent(`Audit ${file} for missing authentication checks.`, { label: file }),
)
return audits.filter(Boolean)
Worth keeping from the reference design: approval before the first launch, resumable runs (completed agents return cached results on relaunch), a configurable concurrency cap (default ~16), and a total-agent cap. The script itself should have no filesystem or shell access — agents do the work.
How important is this to you?
Important for my workflow
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 4.2k
- Forks
- 377
- Merge medio
- 1 d 17 min
- PR fusionados (30 d)
- 7
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CommandCodeAI/command-code
-
Provider /v1/messages rejects role:"system" inside messages[] — Claude Code ≥ 2.1.154 incompatibleAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
CommandCodeAI/command-code#1085 ·
Los mantenedores suelen responder en 1 día
-
Feature request: auto-reconnect remote control (/rc) after restartPosiblemente ocupada @aliarain la tomó hace 20 días. Abiertop2
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
CommandCodeAI/command-code#992 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/command-code#933 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/command-code#855 ·
Los mantenedores suelen responder en 1 día
-
grep tool passes empty file type to ripgrepPosiblemente ocupada @ahmadbilaldev la tomó hace 19 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/command-code#655 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de CommandCodeAI/command-code
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
UKGovernmentBEIS/inspect_ai#6512 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Intelligent-Internet/ii-agent#221 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
developmentwithyash/yaan#60 ·
Los mantenedores suelen responder en 1 día
-
area: deals priority: normal
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días