clawt 3.9.6 → 3.9.8
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/README.md +2 -2
- package/dist/index.js +275 -160
- package/dist/postinstall.js +8 -2
- package/docs/config-file.md +1 -1
- package/docs/init.md +3 -2
- package/docs/project-config.md +11 -2
- package/docs/tasks.md +1 -1
- package/package.json +1 -1
- package/src/commands/init.ts +3 -1
- package/src/commands/status.ts +73 -41
- package/src/constants/messages/tasks.ts +3 -2
- package/src/constants/project-config.ts +4 -0
- package/src/constants/tasks-template.ts +1 -1
- package/src/types/projectConfig.ts +2 -0
- package/src/utils/claude.ts +3 -3
- package/src/utils/git-branch.ts +46 -1
- package/src/utils/git-core.ts +22 -1
- package/src/utils/index.ts +6 -2
- package/src/utils/interactive-panel-render.ts +4 -2
- package/src/utils/interactive-panel-state.ts +36 -2
- package/src/utils/interactive-panel.ts +63 -27
- package/src/utils/project-config.ts +37 -2
- package/src/utils/shell.ts +25 -1
- package/tests/unit/commands/init.test.ts +1 -0
- package/tests/unit/commands/status.test.ts +18 -25
- package/tests/unit/utils/project-config.test.ts +50 -0
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ clawt init show # Interactively view and modify project configuration
|
|
|
56
56
|
clawt init show --json # Output project configuration in JSON format
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Sets the project's main work branch. Re-running updates the main work branch configuration. `init show` provides an interactive panel for viewing and modifying project settings (e.g., commands to auto-run after validate succeeds, postCreate hook commands after worktree creation, etc.). `init show --json` outputs the current project configuration in JSON format.
|
|
59
|
+
Sets the project's main work branch. Re-running updates the main work branch configuration. `init show` provides an interactive panel for viewing and modifying project settings (e.g., commands to auto-run after validate succeeds, postCreate hook commands after worktree creation, claudeCodeCommand, etc.). `init show --json` outputs the current project configuration in JSON format.
|
|
60
60
|
|
|
61
61
|
### `clawt run` — Create worktree and execute tasks
|
|
62
62
|
|
|
@@ -334,7 +334,7 @@ Configuration file is located at `~/.clawt/config.json`, auto-generated after in
|
|
|
334
334
|
| Config Item | Default | Description |
|
|
335
335
|
| ------ | ------ | ---- |
|
|
336
336
|
| `autoDeleteBranch` | `false` | Auto-delete merged/removed branches |
|
|
337
|
-
| `claudeCodeCommand` | `"claude"` | Claude Code CLI launch command |
|
|
337
|
+
| `claudeCodeCommand` | `"claude"` | Claude Code CLI launch command (can be overridden per-project via `clawt init show`) |
|
|
338
338
|
| `autoPullPush` | `false` | Auto pull/push after merge |
|
|
339
339
|
| `confirmDestructiveOps` | `true` | Confirm before destructive operations |
|
|
340
340
|
| `maxConcurrency` | `0` | Max concurrency for run command, `0` means unlimited |
|