create-claude-workspace 2.3.1 → 2.3.3
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.
package/dist/scheduler/loop.mjs
CHANGED
|
@@ -58,8 +58,9 @@ export async function runIteration(deps) {
|
|
|
58
58
|
// Caller (scheduler.mts) handles pause state
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
// Recover orphaned worktrees
|
|
62
|
-
if (state.
|
|
61
|
+
// Recover orphaned worktrees — once per scheduler run (first iteration only)
|
|
62
|
+
if (!state._recoveryDone) {
|
|
63
|
+
state._recoveryDone = true;
|
|
63
64
|
await recoverOrphanedWorktrees(projectDir, state, logger, deps);
|
|
64
65
|
}
|
|
65
66
|
// Load tasks (dual mode: platform issues or local TODO.md)
|
|
@@ -73,7 +73,10 @@ If the user provided a Figma URL:
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
```
|
|
76
|
-
- **IMPORTANT**: Add
|
|
76
|
+
- **IMPORTANT**: Add these to `.gitignore`:
|
|
77
|
+
- `.claude/settings.json` — contains API token, MUST NOT be committed
|
|
78
|
+
- `.claude/scheduler/` — runtime state (state.json, logs, inbox), session-specific
|
|
79
|
+
- `.worktrees/` — git worktrees for parallel task execution
|
|
77
80
|
- Verify the MCP server works by attempting to use a Figma tool.
|
|
78
81
|
3. **Store the Figma URL** — save it for Step 4 (CLAUDE.md generation). The URL will be written into CLAUDE.md so agents know where to find designs.
|
|
79
82
|
|
|
@@ -40,6 +40,15 @@ When running in autonomous/unattended mode (via `autonomous.mjs` or non-interact
|
|
|
40
40
|
- **Workflow**: solo / team (solo = direct merge to main, team = MR/PR review required)
|
|
41
41
|
- **Task Platform**: local | github | gitlab
|
|
42
42
|
|
|
43
|
+
### .gitignore (scheduler runtime)
|
|
44
|
+
|
|
45
|
+
Ensure these are in `.gitignore`:
|
|
46
|
+
```
|
|
47
|
+
.claude/scheduler/
|
|
48
|
+
.claude/settings.json
|
|
49
|
+
.worktrees/
|
|
50
|
+
```
|
|
51
|
+
|
|
43
52
|
[If npm publishing (question 6 = yes):]
|
|
44
53
|
- **Distribution**: npm ([registry], [public/restricted])
|
|
45
54
|
|