@promptbook/components 0.112.0-112 → 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 +4575 -4556
  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/LiteAgent.d.ts +68 -0
  9. package/esm/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  10. package/esm/src/cli/cli-commands/agent/agentCliOptions.d.ts +29 -0
  11. package/esm/src/cli/cli-commands/agent/chat.d.ts +10 -0
  12. package/esm/src/cli/cli-commands/agent/exec.d.ts +10 -0
  13. package/esm/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  14. package/esm/src/cli/cli-commands/agent.d.ts +14 -0
  15. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +3 -4
  16. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -9
  17. package/esm/src/version.d.ts +1 -1
  18. package/package.json +1 -1
  19. package/umd/index.umd.js +4578 -4559
  20. package/umd/index.umd.js.map +1 -1
  21. package/umd/src/_packages/node.index.d.ts +20 -0
  22. package/umd/src/_packages/types.index.d.ts +16 -0
  23. package/umd/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  24. package/umd/src/book-3.0/CliAgent.d.ts +68 -0
  25. package/umd/src/book-3.0/CliAgent.test.d.ts +1 -0
  26. package/umd/src/book-3.0/LiteAgent.d.ts +68 -0
  27. package/umd/src/book-3.0/LiteAgent.test.d.ts +1 -0
  28. package/umd/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  29. package/umd/src/cli/cli-commands/agent/agentCliOptions.d.ts +29 -0
  30. package/umd/src/cli/cli-commands/agent/chat.d.ts +10 -0
  31. package/umd/src/cli/cli-commands/agent/exec.d.ts +10 -0
  32. package/umd/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  33. package/umd/src/cli/cli-commands/agent.d.ts +14 -0
  34. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +3 -4
  35. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -9
  36. package/umd/src/version.d.ts +1 -1
  37. /package/esm/src/{cli/cli-commands/agents-server/startAgentsServer.test.d.ts → book-3.0/CliAgent.test.d.ts} +0 -0
  38. /package/{umd/src/cli/cli-commands/agents-server/startAgentsServer.test.d.ts → esm/src/book-3.0/LiteAgent.test.d.ts} +0 -0
package/README.md CHANGED
@@ -583,11 +583,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
583
583
 
584
584
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
585
585
 
586
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
586
+ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
587
587
 
588
- 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
588
+ 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
589
589
 
590
- 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
590
+ 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
591
591
 
592
592
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
593
593
 
@@ -609,11 +609,11 @@ ptbk coder generate-boilerplates
609
609
 
610
610
  ptbk coder generate-boilerplates --template prompts/templates/common.md
611
611
 
612
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
612
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
613
613
 
614
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
614
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
615
615
 
616
- 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
616
+ 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
617
617
 
618
618
  ptbk coder find-refactor-candidates
619
619
 
@@ -638,7 +638,7 @@ ptbk coder verify
638
638
 
639
639
  | Flag | Purpose |
640
640
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
641
- | `--agent <name>` | Selects the coding backend. |
641
+ | `--harness <name>` | Selects the coding harness. |
642
642
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
643
643
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
644
644
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |