@promptbook/node 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 +33802 -33034
  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 +33864 -33095
  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
@@ -498,11 +498,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
498
498
 
499
499
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
500
500
 
501
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
501
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
502
502
 
503
- 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
503
+ 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
504
504
 
505
- 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
505
+ 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
506
506
 
507
507
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
508
508
 
@@ -524,11 +524,11 @@ ptbk coder generate-boilerplates
524
524
 
525
525
  ptbk coder generate-boilerplates --template prompts/templates/common.md
526
526
 
527
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
527
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
528
528
 
529
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
529
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
530
530
 
531
- 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
531
+ 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
532
532
 
533
533
  ptbk coder find-refactor-candidates
534
534
 
@@ -553,7 +553,7 @@ ptbk coder verify
553
553
 
554
554
  | Flag | Purpose |
555
555
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
556
- | `--agent <name>` | Selects the coding backend. |
556
+ | `--harness <name>` | Selects the coding harness. |
557
557
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
558
558
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
559
559
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |