MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / composeCommand

Method composeCommand

src/workspaces/cli-adapter.ts:166–166  ·  view source on GitHub ↗

* Translate the base command (from `WEB_TERMINAL_COMMAND` / template) + * resume intent into the final argv. For claude: * base + 'last' → [...base, '--continue'] * base + { id } → [...base, '--resume', id] * For codex (M2): * base + 'last' → [...base, 'resume', '--last

(base: readonly string[], ctx: SpawnContext)

Source from the content-addressed store, hash-verified

164 * ignores it always.
165 */
166 composeCommand(base: readonly string[], ctx: SpawnContext): readonly string[];
167
168 /**
169 * One-shot HEADLESS argv for an automation task — like `composeCommand`, but

Callers 3

composeFunction · 0.80
ai-config.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected