ptbk 0.114.0-19 → 0.114.0-20

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -400,7 +400,7 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
400
400
  5. Promptbook Coder marks the prompt as done `[x]`, records runner metadata, then stages, commits, and pushes the resulting changes.
401
401
  6. `ptbk coder verify` reviews completed prompts, archives finished files to `prompts/done/`, and appends a repair prompt when more work is needed.
402
402
 
403
- Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority. A prompt left as `[^]` was interrupted in the middle of its implementation — the in-progress status is never reverted, so a killed or crashed coder always leaves that signal behind.
403
+ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority. A prompt left as `[^]` was interrupted in the middle of its implementation — the in-progress status is never reverted, so a killed or crashed coder always leaves that signal behind, and `--git-changes continue` resumes exactly that prompt with its uncommitted changes still in place.
404
404
 
405
405
  #### Features
406
406
 
@@ -408,7 +408,7 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
408
408
  - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
409
409
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
410
410
  - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
411
- - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
411
+ - **Git safety:** clean working tree check by default, or `--git-changes ignore` to keep the changes and `--git-changes continue` to resume an interrupted prompt
412
412
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
413
413
  - **Prompt triage:** `--priority` to process only more important tasks first
414
414
  - **Failure logging:** failed runs write a neighboring `.error.log`
@@ -429,7 +429,7 @@ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gp
429
429
 
430
430
  npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
431
431
 
432
- npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --ignore-git-changes
432
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --git-changes ignore
433
433
 
434
434
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
435
435
 
@@ -455,7 +455,7 @@ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh -
455
455
 
456
456
  ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
457
457
 
458
- ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --test npm run test --ignore-git-changes
458
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --test npm run test --git-changes ignore
459
459
 
460
460
  ptbk coder find-refactor-candidates
461
461
 
@@ -487,7 +487,7 @@ ptbk coder verify
487
487
  | `--test-before <mode>` | Runs tests before coding: `no` (default), `yes-and-fail` (stop with results), or `yes-and-fix` (create one repair prompt first); defaults to `npm test` when enabled without `--test`. |
488
488
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
489
489
  | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
490
- | `--ignore-git-changes` | Disables the clean-working-tree guard. |
490
+ | `--git-changes <mode>` | Decides what happens with a dirty working tree: `fail` (default), `ignore` to keep the changes, or `continue` to resume the single interrupted `[^]` prompt with them. |
491
491
  | `--priority <n>` | Runs only prompts at or above the given priority. |
492
492
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
493
493
  | `--allow-credits` | Lets OpenAI Codex spend credits when required. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ptbk",
3
- "version": "0.114.0-19",
3
+ "version": "0.114.0-20",
4
4
  "description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -91,10 +91,10 @@
91
91
  "zod": "$zod"
92
92
  },
93
93
  "peerDependencies": {
94
- "@promptbook/core": "0.114.0-19"
94
+ "@promptbook/core": "0.114.0-20"
95
95
  },
96
96
  "dependencies": {
97
- "promptbook": "0.114.0-19"
97
+ "promptbook": "0.114.0-20"
98
98
  },
99
99
  "bin": {
100
100
  "ptbk": "bin/promptbook-cli-proxy.js"