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

Function compose

src/workspaces/service.ts:431–435  ·  view source on GitHub ↗
(withSeed: boolean)

Source from the content-addressed store, hash-verified

429 // COMPOSED argv0 (the adapter's real binary), not config.command — codex/
430 // opencode/pi ignore the base and hardcode their own binary.
431 const compose = (withSeed: boolean): readonly string[] =>
432 adapter.composeCommand(
433 config.command,
434 withSeed && initialPrompt ? { ...baseCtx, initialPrompt } : baseCtx,
435 );
436 let command = compose(true);
437 if (initialPrompt && resolveLaunchCommand(command, { env }).viaShell) {
438 launcherLogger.warn('spawn.seed_dropped_win32_shim', { wsId: ws.id, agent: adapter.id });

Callers 1

composeSpawnInputsFunction · 0.85

Calls 1

composeCommandMethod · 0.80

Tested by

no test coverage detected