create-claude-workspace 1.1.139 → 1.1.141

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.
@@ -422,32 +422,16 @@ async function main() {
422
422
  claudeMd = readFileSync(claudeMdPath, 'utf-8');
423
423
  else if (existsSync(dotClaudeMdPath))
424
424
  claudeMd = readFileSync(dotClaudeMdPath, 'utf-8');
425
- // Build system prompt: orchestrator instructions + project CLAUDE.md
426
- // Do NOT use preset: 'claude_code' — it adds built-in agents (general-purpose, Explore, Plan)
427
- const orchestratorPrompt = agents['orchestrator']?.prompt || '';
428
- const systemParts = [orchestratorPrompt, claudeMd].filter(Boolean);
429
- const systemPrompt = systemParts.join('\n\n---\n\n');
430
- // Only include our agents, not the orchestrator itself (it's the top-level)
431
- const subAgents = { ...agents };
432
- delete subAgents['orchestrator'];
425
+ // Append project CLAUDE.md to orchestrator's prompt
426
+ if (claudeMd && agents['orchestrator']) {
427
+ agents['orchestrator'].prompt += '\n\n---\n\n' + claudeMd;
428
+ }
433
429
  const queryOptions = {
434
- agents: subAgents,
435
- systemPrompt: systemPrompt || undefined,
430
+ agents,
431
+ agent: 'orchestrator',
436
432
  model: 'claude-opus-4-6',
437
433
  maxTurns: opts.maxTurns,
438
434
  cwd: opts.projectDir,
439
- // Block built-in agents via permissions.deny
440
- settings: {
441
- permissions: {
442
- deny: [
443
- 'Agent(general-purpose)',
444
- 'Agent(Explore)',
445
- 'Agent(Plan)',
446
- 'Agent(statusline-setup)',
447
- 'Agent(claude-code-guide)',
448
- ],
449
- },
450
- },
451
435
  };
452
436
  if (opts.skipPermissions) {
453
437
  queryOptions.permissionMode = 'bypassPermissions';
@@ -458,6 +442,8 @@ async function main() {
458
442
  if (resumeOpts.resume)
459
443
  queryOptions.resume = resumeOpts.resume;
460
444
  for await (const message of query({ prompt: 'Continue autonomous development. Pick the next task and execute the full workflow.', options: queryOptions })) {
445
+ // Debug: log raw message type for diagnosis
446
+ tui.info(`[DEBUG] ${message.type}${message.subtype ? ':' + message.subtype : ''} ${message.type === 'system' && message.subtype === 'task_started' ? message.description : ''}`);
461
447
  tui.handleMessage(message);
462
448
  if (message.type === 'result') {
463
449
  checkpoint.lastSessionId = message.session_id ?? null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.139",
3
+ "version": "1.1.141",
4
4
  "author": "",
5
5
  "repository": {
6
6
  "type": "git",