ptbk 0.112.0-41 → 0.112.0-43
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 +10 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -400,6 +400,7 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
|
|
|
400
400
|
- **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
|
|
401
401
|
- **Interactive or unattended runs:** default wait mode, or `--no-wait` for batch execution
|
|
402
402
|
- **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
|
|
403
|
+
- **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
|
|
403
404
|
- **Prompt triage:** `--priority` to process only more important tasks first
|
|
404
405
|
- **Failure logging:** failed runs write a neighboring `.error.log`
|
|
405
406
|
- **Line-ending normalization:** changed files are normalized back to LF by default
|
|
@@ -417,6 +418,8 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
|
|
|
417
418
|
|
|
418
419
|
npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
|
|
419
420
|
|
|
421
|
+
npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
|
|
422
|
+
|
|
420
423
|
npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --ignore-git-changes --no-wait
|
|
421
424
|
|
|
422
425
|
npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
|
|
@@ -439,9 +442,11 @@ npx ptbk coder generate-boilerplates
|
|
|
439
442
|
|
|
440
443
|
npx ptbk coder generate-boilerplates --template prompts/templates/common.md
|
|
441
444
|
|
|
442
|
-
npx ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
|
|
445
|
+
npx ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
|
|
446
|
+
|
|
447
|
+
npx ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
|
|
443
448
|
|
|
444
|
-
npx ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --ignore-git-changes --no-wait
|
|
449
|
+
npx ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test --ignore-git-changes --no-wait
|
|
445
450
|
|
|
446
451
|
npx ptbk coder find-refactor-candidates
|
|
447
452
|
|
|
@@ -458,7 +463,7 @@ npx ptbk coder verify
|
|
|
458
463
|
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
|
|
459
464
|
| `ptbk coder init` | Creates `prompts/`, `prompts/done/`, the project-generic template files materialized in `prompts/templates/` (currently `common.md`), and a starter `AGENTS.md`; ensures `.env` contains `CODING_AGENT_GIT_NAME`, `CODING_AGENT_GIT_EMAIL`, and `CODING_AGENT_GIT_SIGNING_KEY`; adds helper coder scripts to `package.json`; ensures `.gitignore` contains `/.tmp`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
|
|
460
465
|
| `ptbk coder generate-boilerplates` | Creates new prompt markdown files with fresh emoji tags so you can quickly fill in coding tasks; `--template` accepts either a built-in alias or a markdown file path relative to the project root. |
|
|
461
|
-
| `ptbk coder run` | Picks the next ready prompt, appends optional context, runs it through the selected coding agent, marks success or failure,
|
|
466
|
+
| `ptbk coder run` | Picks the next ready prompt, appends optional context, runs it through the selected coding agent, can optionally verify each attempt with a shell test command and feed failing output back for retries, then marks success or failure, commits the result, and pushes only when `--auto-push` is enabled. |
|
|
462
467
|
| `ptbk coder find-refactor-candidates` | Scans the repository for oversized or overpacked files and writes prompt files for likely refactors; `--level <xlow | low | medium | high | xhigh | extreme>` ranges from a very benevolent scan to a very aggressive sweep. |
|
|
463
468
|
| `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
|
|
464
469
|
|
|
@@ -469,12 +474,14 @@ npx ptbk coder verify
|
|
|
469
474
|
| `--agent <name>` | Selects the coding backend. |
|
|
470
475
|
| `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
|
|
471
476
|
| `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
|
|
477
|
+
| `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
|
|
472
478
|
| `--thinking-level <level>` | Sets reasoning effort for supported runners. |
|
|
473
479
|
| `--no-wait` | Skips interactive pauses between prompts for unattended execution. |
|
|
474
480
|
| `--ignore-git-changes` | Disables the clean-working-tree guard. |
|
|
475
481
|
| `--priority <n>` | Runs only prompts at or above the given priority. |
|
|
476
482
|
| `--dry-run` | Prints which prompts are ready instead of executing them. |
|
|
477
483
|
| `--allow-credits` | Lets OpenAI Codex spend credits when required. |
|
|
484
|
+
| `--auto-push` | Pushes each successful coding-agent commit to the configured remote. |
|
|
478
485
|
| `--auto-migrate` | Runs testing-server database migrations after each successful prompt. |
|
|
479
486
|
|
|
480
487
|
#### Typical usage pattern
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ptbk",
|
|
3
|
-
"version": "0.112.0-
|
|
3
|
+
"version": "0.112.0-43",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
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.112.0-
|
|
94
|
+
"@promptbook/core": "0.112.0-43"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"promptbook": "0.112.0-
|
|
97
|
+
"promptbook": "0.112.0-43"
|
|
98
98
|
},
|
|
99
99
|
"bin": {
|
|
100
100
|
"ptbk": "bin/promptbook-cli-proxy.js"
|