@promptbook/components 0.112.0-99 → 0.112.0

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 (158) hide show
  1. package/README.md +37 -21
  2. package/esm/index.es.js +7993 -5864
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/servers.d.ts +1 -9
  5. package/esm/src/_packages/components.index.d.ts +4 -0
  6. package/esm/src/_packages/core.index.d.ts +0 -2
  7. package/esm/src/_packages/node.index.d.ts +40 -0
  8. package/esm/src/_packages/types.index.d.ts +18 -0
  9. package/esm/src/avatars/avatarAnimationScheduler.d.ts +4 -0
  10. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
  11. package/esm/src/avatars/visuals/octopus3d3AvatarVisual.d.ts +7 -0
  12. package/esm/src/avatars/visuals/octopus3d4AvatarVisual.d.ts +7 -0
  13. package/esm/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  14. package/esm/src/book-3.0/CliAgent.d.ts +66 -0
  15. package/esm/src/book-3.0/CliAgent.test.d.ts +1 -0
  16. package/esm/src/book-3.0/LiteAgent.d.ts +68 -0
  17. package/esm/src/book-3.0/LiteAgent.test.d.ts +1 -0
  18. package/esm/src/book-3.0/agentFolderPaths.d.ts +30 -0
  19. package/esm/src/book-3.0/cliAgentEnv.d.ts +33 -0
  20. package/esm/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  21. package/esm/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  22. package/esm/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  23. package/esm/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  24. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  25. package/esm/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  26. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  27. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  28. package/esm/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  29. package/esm/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  30. package/esm/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  31. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  32. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  33. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  34. package/esm/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  35. package/esm/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  36. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  37. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  38. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  39. package/esm/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  40. package/esm/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  41. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  42. package/esm/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  43. package/esm/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  44. package/esm/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  45. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  46. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  47. package/esm/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  48. package/esm/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  49. package/esm/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  50. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  51. package/esm/src/book-components/_common/Modal/Modal.d.ts +1 -1
  52. package/esm/src/book-components/icons/AboutIcon.d.ts +1 -1
  53. package/esm/src/book-components/icons/DownloadIcon.d.ts +1 -1
  54. package/esm/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  55. package/esm/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  56. package/esm/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  57. package/esm/src/cli/cli-commands/agent/chat.d.ts +10 -0
  58. package/esm/src/cli/cli-commands/agent/exec.d.ts +10 -0
  59. package/esm/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  60. package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  61. package/esm/src/cli/cli-commands/agent.d.ts +14 -0
  62. package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +17 -1
  63. package/esm/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  64. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  65. package/esm/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  66. package/esm/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  67. package/esm/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  68. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  69. package/esm/src/cli/cli-commands/coder/server.d.ts +13 -0
  70. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  71. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  72. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  73. package/esm/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  74. package/esm/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  75. package/esm/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  76. package/esm/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  77. package/esm/src/utils/isTimingSafeEqualString.d.ts +25 -0
  78. package/esm/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  79. package/esm/src/version.d.ts +1 -1
  80. package/package.json +1 -2
  81. package/umd/index.umd.js +7982 -5848
  82. package/umd/index.umd.js.map +1 -1
  83. package/umd/servers.d.ts +1 -9
  84. package/umd/src/_packages/components.index.d.ts +4 -0
  85. package/umd/src/_packages/core.index.d.ts +0 -2
  86. package/umd/src/_packages/node.index.d.ts +40 -0
  87. package/umd/src/_packages/types.index.d.ts +18 -0
  88. package/umd/src/avatars/avatarAnimationScheduler.d.ts +4 -0
  89. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
  90. package/umd/src/avatars/visuals/octopus3d3AvatarVisual.d.ts +7 -0
  91. package/umd/src/avatars/visuals/octopus3d4AvatarVisual.d.ts +7 -0
  92. package/umd/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  93. package/umd/src/book-3.0/CliAgent.d.ts +66 -0
  94. package/umd/src/book-3.0/CliAgent.test.d.ts +1 -0
  95. package/umd/src/book-3.0/LiteAgent.d.ts +68 -0
  96. package/umd/src/book-3.0/LiteAgent.test.d.ts +1 -0
  97. package/umd/src/book-3.0/agentFolderPaths.d.ts +30 -0
  98. package/umd/src/book-3.0/cliAgentEnv.d.ts +33 -0
  99. package/umd/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  100. package/umd/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  101. package/umd/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  102. package/umd/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  103. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  104. package/umd/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  105. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  106. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  107. package/umd/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  108. package/umd/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  109. package/umd/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  110. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  111. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  112. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  113. package/umd/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  114. package/umd/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  115. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  116. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  117. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  118. package/umd/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  119. package/umd/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  120. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  121. package/umd/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  122. package/umd/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  123. package/umd/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  124. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  125. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  126. package/umd/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  127. package/umd/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  128. package/umd/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  129. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  130. package/umd/src/book-components/_common/Modal/Modal.d.ts +1 -1
  131. package/umd/src/book-components/icons/AboutIcon.d.ts +1 -1
  132. package/umd/src/book-components/icons/DownloadIcon.d.ts +1 -1
  133. package/umd/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  134. package/umd/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  135. package/umd/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  136. package/umd/src/cli/cli-commands/agent/chat.d.ts +10 -0
  137. package/umd/src/cli/cli-commands/agent/exec.d.ts +10 -0
  138. package/umd/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  139. package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  140. package/umd/src/cli/cli-commands/agent.d.ts +14 -0
  141. package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +17 -1
  142. package/umd/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  143. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  144. package/umd/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  145. package/umd/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  146. package/umd/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  147. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  148. package/umd/src/cli/cli-commands/coder/server.d.ts +13 -0
  149. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  150. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  151. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  152. package/umd/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  153. package/umd/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  154. package/umd/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  155. package/umd/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  156. package/umd/src/utils/isTimingSafeEqualString.d.ts +25 -0
  157. package/umd/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  158. package/umd/src/version.d.ts +1 -1
package/README.md CHANGED
@@ -27,11 +27,27 @@ Create persistent AI agents that turn your company's scattered knowledge into ac
27
27
 
28
28
 
29
29
 
30
+ ### Standalone VPS
31
+
32
+ Run the standalone VPS installer only on a fresh server. Interactive mode asks for the installation values:
33
+
34
+ ```bash
35
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash
36
+ ```
37
+
38
+ Non-interactive mode takes defaults from command-line options. When `--openai-api-key` is provided with the default OpenAI Codex runner, the installer installs and configures Codex automatically; other runner authentication can be configured later from the UI or SSH:
39
+
40
+ ```bash
41
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash -s -- \
42
+ --non-interactive \
43
+ --yes-i-understand-that-script-should-be-run-on-fresh-server \
44
+ --domain s24.ptbk.io \
45
+ --openai-api-key sk-proj-abcdef \
46
+ --sentry-dsn https://abc@def.ingest.de.sentry.io/123 \
47
+ --admin-password xxx
48
+ ```
30
49
 
31
50
 
32
- <blockquote style="color: #ff8811">
33
- <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
34
- </blockquote>
35
51
 
36
52
  ## 📦 Package `@promptbook/components`
37
53
 
@@ -563,9 +579,9 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
563
579
  #### Features
564
580
 
565
581
  - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
566
- - **Context injection:** `--context AGENTS.md` or inline extra instructions
582
+ - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
567
583
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
568
- - **Interactive or unattended runs:** default wait mode, or `--no-wait` for batch execution
584
+ - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
569
585
  - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
570
586
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
571
587
  - **Prompt triage:** `--priority` to process only more important tasks first
@@ -583,11 +599,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
583
599
 
584
600
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
585
601
 
586
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
602
+ 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
587
603
 
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
604
+ 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
589
605
 
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
606
+ 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
591
607
 
592
608
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
593
609
 
@@ -609,11 +625,11 @@ ptbk coder generate-boilerplates
609
625
 
610
626
  ptbk coder generate-boilerplates --template prompts/templates/common.md
611
627
 
612
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
628
+ 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
613
629
 
614
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
630
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
615
631
 
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
632
+ 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
617
633
 
618
634
  ptbk coder find-refactor-candidates
619
635
 
@@ -626,24 +642,24 @@ ptbk coder verify
626
642
 
627
643
  #### What each command does
628
644
 
629
- | Command | What it does |
630
- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
645
+ | Command | What it does |
646
+ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
631
647
  | `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 `/.promptbook`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
632
- | `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. |
633
- | `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. |
634
- | `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. |
635
- | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
648
+ | `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. |
649
+ | `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. |
650
+ | `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. |
651
+ | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
636
652
 
637
653
  #### Most useful `ptbk coder run` flags
638
654
 
639
655
  | Flag | Purpose |
640
656
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
641
- | `--agent <name>` | Selects the coding backend. |
657
+ | `--harness <name>` | Selects the coding harness. |
642
658
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
643
659
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
644
660
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
645
661
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
646
- | `--no-wait` | Skips interactive pauses between prompts for unattended execution. |
662
+ | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
647
663
  | `--ignore-git-changes` | Disables the clean-working-tree guard. |
648
664
  | `--priority <n>` | Runs only prompts at or above the given priority. |
649
665
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
@@ -655,8 +671,8 @@ ptbk coder verify
655
671
 
656
672
  1. Initialize once with `ptbk coder init`.
657
673
  2. Customize `prompts/templates/*.md` if needed, then create or write prompt files in `prompts/`.
658
- 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--context AGENTS.md`.
659
- 4. Run one prompt at a time interactively, or use `--no-wait` for unattended batches.
674
+ 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--agent agents/coding/developer.book --context AGENTS.md`.
675
+ 4. Run unattended batches by default, or pass `--no-auto` to confirm each prompt interactively.
660
676
  5. Finish with `ptbk coder verify` so resolved prompts are archived and broken ones get explicit repair follow-ups.
661
677
 
662
678