@promptbook/templates 0.112.0-111 → 0.112.0-113

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 (38) hide show
  1. package/README.md +7 -7
  2. package/esm/index.es.js +810 -902
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/node.index.d.ts +20 -0
  5. package/esm/src/_packages/types.index.d.ts +16 -0
  6. package/esm/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  7. package/esm/src/book-3.0/CliAgent.d.ts +68 -0
  8. package/esm/src/book-3.0/CliAgent.test.d.ts +1 -0
  9. package/esm/src/book-3.0/LiteAgent.d.ts +68 -0
  10. package/esm/src/book-3.0/LiteAgent.test.d.ts +1 -0
  11. package/esm/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  12. package/esm/src/cli/cli-commands/agent/agentCliOptions.d.ts +29 -0
  13. package/esm/src/cli/cli-commands/agent/chat.d.ts +10 -0
  14. package/esm/src/cli/cli-commands/agent/exec.d.ts +10 -0
  15. package/esm/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  16. package/esm/src/cli/cli-commands/agent.d.ts +14 -0
  17. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +2 -2
  18. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -9
  19. package/esm/src/version.d.ts +1 -1
  20. package/package.json +2 -2
  21. package/umd/index.umd.js +810 -902
  22. package/umd/index.umd.js.map +1 -1
  23. package/umd/src/_packages/node.index.d.ts +20 -0
  24. package/umd/src/_packages/types.index.d.ts +16 -0
  25. package/umd/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  26. package/umd/src/book-3.0/CliAgent.d.ts +68 -0
  27. package/umd/src/book-3.0/CliAgent.test.d.ts +1 -0
  28. package/umd/src/book-3.0/LiteAgent.d.ts +68 -0
  29. package/umd/src/book-3.0/LiteAgent.test.d.ts +1 -0
  30. package/umd/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  31. package/umd/src/cli/cli-commands/agent/agentCliOptions.d.ts +29 -0
  32. package/umd/src/cli/cli-commands/agent/chat.d.ts +10 -0
  33. package/umd/src/cli/cli-commands/agent/exec.d.ts +10 -0
  34. package/umd/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  35. package/umd/src/cli/cli-commands/agent.d.ts +14 -0
  36. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +2 -2
  37. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -9
  38. package/umd/src/version.d.ts +1 -1
package/README.md CHANGED
@@ -442,11 +442,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
442
442
 
443
443
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
444
444
 
445
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
445
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
446
446
 
447
- 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
447
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
448
448
 
449
- 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
449
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --ignore-git-changes --no-wait
450
450
 
451
451
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
452
452
 
@@ -468,11 +468,11 @@ ptbk coder generate-boilerplates
468
468
 
469
469
  ptbk coder generate-boilerplates --template prompts/templates/common.md
470
470
 
471
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
471
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
472
472
 
473
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
473
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
474
474
 
475
- 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
475
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test --ignore-git-changes --no-wait
476
476
 
477
477
  ptbk coder find-refactor-candidates
478
478
 
@@ -497,7 +497,7 @@ ptbk coder verify
497
497
 
498
498
  | Flag | Purpose |
499
499
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
500
- | `--agent <name>` | Selects the coding backend. |
500
+ | `--harness <name>` | Selects the coding harness. |
501
501
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
502
502
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
503
503
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |