@promptbook/templates 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.
package/README.md CHANGED
@@ -426,7 +426,7 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
426
426
  5. Promptbook Coder marks the prompt as done `[x]`, records runner metadata, then stages, commits, and pushes the resulting changes.
427
427
  6. `ptbk coder verify` reviews completed prompts, archives finished files to `prompts/done/`, and appends a repair prompt when more work is needed.
428
428
 
429
- 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.
429
+ 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.
430
430
 
431
431
  #### Features
432
432
 
@@ -434,7 +434,7 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
434
434
  - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
435
435
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
436
436
  - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
437
- - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
437
+ - **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
438
438
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
439
439
  - **Prompt triage:** `--priority` to process only more important tasks first
440
440
  - **Failure logging:** failed runs write a neighboring `.error.log`
@@ -455,7 +455,7 @@ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gp
455
455
 
456
456
  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
457
457
 
458
- 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
458
+ 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
459
459
 
460
460
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
461
461
 
@@ -481,7 +481,7 @@ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh -
481
481
 
482
482
  ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
483
483
 
484
- 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
484
+ 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
485
485
 
486
486
  ptbk coder find-refactor-candidates
487
487
 
@@ -513,7 +513,7 @@ ptbk coder verify
513
513
  | `--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`. |
514
514
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
515
515
  | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
516
- | `--ignore-git-changes` | Disables the clean-working-tree guard. |
516
+ | `--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. |
517
517
  | `--priority <n>` | Runs only prompts at or above the given priority. |
518
518
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
519
519
  | `--allow-credits` | Lets OpenAI Codex spend credits when required. |