create-claude-workspace 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -262,7 +262,7 @@ function runClaude(projectDir, opts) {
|
|
|
262
262
|
// Windows: claude is a .cmd shim requiring shell execution.
|
|
263
263
|
// cmd.exe mangles quoted arguments, so pipe prompt via stdin instead.
|
|
264
264
|
const permFlag = opts.skipPermissions ? ' --dangerously-skip-permissions' : '';
|
|
265
|
-
const outputFlag = useStreamJson ? ' --output-format stream-json' : '';
|
|
265
|
+
const outputFlag = useStreamJson ? ' --verbose --output-format stream-json' : '';
|
|
266
266
|
child = spawn(`claude -p --agent orchestrator --max-turns ${opts.maxTurns}${permFlag}${outputFlag}`, [], {
|
|
267
267
|
cwd: projectDir,
|
|
268
268
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
@@ -273,7 +273,7 @@ function runClaude(projectDir, opts) {
|
|
|
273
273
|
} else {
|
|
274
274
|
const args = ['-p', PROMPT, '--agent', 'orchestrator', '--max-turns', String(opts.maxTurns)];
|
|
275
275
|
if (opts.skipPermissions) args.push('--dangerously-skip-permissions');
|
|
276
|
-
if (useStreamJson) args.push('--output-format', 'stream-json');
|
|
276
|
+
if (useStreamJson) args.push('--verbose', '--output-format', 'stream-json');
|
|
277
277
|
child = spawn('claude', args, {
|
|
278
278
|
cwd: projectDir,
|
|
279
279
|
stdio: ['ignore', 'pipe', 'pipe'],
|