@promptbook/components 0.112.0-99 → 0.113.0-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 (172) hide show
  1. package/README.md +76 -44
  2. package/esm/index.es.js +8130 -5875
  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 +22 -2
  7. package/esm/src/_packages/node.index.d.ts +40 -0
  8. package/esm/src/_packages/types.index.d.ts +20 -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-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
  14. package/esm/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
  15. package/esm/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
  16. package/esm/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  17. package/esm/src/book-3.0/CliAgent.d.ts +66 -0
  18. package/esm/src/book-3.0/CliAgent.test.d.ts +1 -0
  19. package/esm/src/book-3.0/LiteAgent.d.ts +68 -0
  20. package/esm/src/book-3.0/LiteAgent.test.d.ts +1 -0
  21. package/esm/src/book-3.0/agentFolderPaths.d.ts +30 -0
  22. package/esm/src/book-3.0/cliAgentEnv.d.ts +33 -0
  23. package/esm/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  24. package/esm/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  25. package/esm/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  26. package/esm/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  27. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +2 -0
  28. package/esm/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  29. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  30. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  31. package/esm/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  32. package/esm/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  33. package/esm/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  34. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  35. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  36. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  37. package/esm/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  38. package/esm/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  39. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  40. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  41. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  42. package/esm/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  43. package/esm/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  44. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  45. package/esm/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  46. package/esm/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  47. package/esm/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  48. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  49. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  50. package/esm/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  51. package/esm/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  52. package/esm/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  53. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  54. package/esm/src/book-components/_common/Modal/Modal.d.ts +1 -1
  55. package/esm/src/book-components/icons/AboutIcon.d.ts +1 -1
  56. package/esm/src/book-components/icons/DownloadIcon.d.ts +1 -1
  57. package/esm/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  58. package/esm/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  59. package/esm/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  60. package/esm/src/cli/cli-commands/agent/chat.d.ts +10 -0
  61. package/esm/src/cli/cli-commands/agent/exec.d.ts +10 -0
  62. package/esm/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  63. package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  64. package/esm/src/cli/cli-commands/agent.d.ts +14 -0
  65. package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +23 -1
  66. package/esm/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  67. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  68. package/esm/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  69. package/esm/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  70. package/esm/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  71. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  72. package/esm/src/cli/cli-commands/coder/server.d.ts +13 -0
  73. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  74. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  75. package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  76. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  77. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  78. package/esm/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  79. package/esm/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  80. package/esm/src/commitments/index.d.ts +2 -1
  81. package/esm/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  82. package/esm/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  83. package/esm/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  84. package/esm/src/utils/isTimingSafeEqualString.d.ts +25 -0
  85. package/esm/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  86. package/esm/src/version.d.ts +1 -1
  87. package/package.json +1 -2
  88. package/umd/index.umd.js +8115 -5855
  89. package/umd/index.umd.js.map +1 -1
  90. package/umd/servers.d.ts +1 -9
  91. package/umd/src/_packages/components.index.d.ts +4 -0
  92. package/umd/src/_packages/core.index.d.ts +22 -2
  93. package/umd/src/_packages/node.index.d.ts +40 -0
  94. package/umd/src/_packages/types.index.d.ts +20 -0
  95. package/umd/src/avatars/avatarAnimationScheduler.d.ts +4 -0
  96. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
  97. package/umd/src/avatars/visuals/octopus3d3AvatarVisual.d.ts +7 -0
  98. package/umd/src/avatars/visuals/octopus3d4AvatarVisual.d.ts +7 -0
  99. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
  100. package/umd/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
  101. package/umd/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
  102. package/umd/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  103. package/umd/src/book-3.0/CliAgent.d.ts +66 -0
  104. package/umd/src/book-3.0/CliAgent.test.d.ts +1 -0
  105. package/umd/src/book-3.0/LiteAgent.d.ts +68 -0
  106. package/umd/src/book-3.0/LiteAgent.test.d.ts +1 -0
  107. package/umd/src/book-3.0/agentFolderPaths.d.ts +30 -0
  108. package/umd/src/book-3.0/cliAgentEnv.d.ts +33 -0
  109. package/umd/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  110. package/umd/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  111. package/umd/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  112. package/umd/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  113. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +2 -0
  114. package/umd/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  115. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  116. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  117. package/umd/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  118. package/umd/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  119. package/umd/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  120. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  121. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  122. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  123. package/umd/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  124. package/umd/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  125. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  126. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  127. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  128. package/umd/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  129. package/umd/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  130. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  131. package/umd/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  132. package/umd/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  133. package/umd/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  134. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  135. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  136. package/umd/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  137. package/umd/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  138. package/umd/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  139. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  140. package/umd/src/book-components/_common/Modal/Modal.d.ts +1 -1
  141. package/umd/src/book-components/icons/AboutIcon.d.ts +1 -1
  142. package/umd/src/book-components/icons/DownloadIcon.d.ts +1 -1
  143. package/umd/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  144. package/umd/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  145. package/umd/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  146. package/umd/src/cli/cli-commands/agent/chat.d.ts +10 -0
  147. package/umd/src/cli/cli-commands/agent/exec.d.ts +10 -0
  148. package/umd/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  149. package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  150. package/umd/src/cli/cli-commands/agent.d.ts +14 -0
  151. package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +23 -1
  152. package/umd/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  153. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  154. package/umd/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  155. package/umd/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  156. package/umd/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  157. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  158. package/umd/src/cli/cli-commands/coder/server.d.ts +13 -0
  159. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  160. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  161. package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
  162. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  163. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
  164. package/umd/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
  165. package/umd/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  166. package/umd/src/commitments/index.d.ts +2 -1
  167. package/umd/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  168. package/umd/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  169. package/umd/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  170. package/umd/src/utils/isTimingSafeEqualString.d.ts +25 -0
  171. package/umd/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  172. package/umd/src/version.d.ts +1 -1
package/README.md CHANGED
@@ -27,6 +27,25 @@ 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 my-server.com \
45
+ --openai-api-key sk-proj-xxx \
46
+ --admin-password xxx
47
+ ```
48
+
30
49
 
31
50
 
32
51
  <blockquote style="color: #ff8811">
@@ -205,7 +224,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
205
224
 
206
225
  Promptbook lets you create **persistent AI agents** that work on real goals for your company. The [**Agents Server**](https://gallery.ptbk.io/) is the heart of the project - a place where your AI agents live, remember context, collaborate in teams, and get things done.
207
226
 
208
- Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as GPT-5.2 and Claude-4.5 are incredibly capable.
227
+ Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as Claude Mythos, GPT-5.6 or Kimi K2.7 are incredibly capable.
209
228
 
210
229
  The main challenge lies in **managing the context**, providing rules and knowledge, and narrowing the personality.
211
230
 
@@ -213,17 +232,20 @@ In Promptbook, you define your agents **using simple Books** - a human-readable
213
232
 
214
233
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
215
234
 
216
- **<ins>Paul Smith</ins>**<br/>
235
+ **<ins>Lawyer</ins>**<br/>
217
236
  <br/>
218
- **PERSONA** You are a company lawyer.<br/>
237
+ GOAL You are a company lawyer.<br/>
219
238
  Your job is to provide legal advice and support to the company and its employees.<br/>
220
- **GOAL** Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
239
+ Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
240
+ <br/>
221
241
  **RULE** You are knowledgeable, professional, and detail-oriented.<br/>
222
242
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
223
243
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
224
- **USE EMAIL**<br/>
225
- **USE BROWSER**<br/>
226
- **TEAM** You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
244
+ <br/>
245
+ USE EMAIL<br/>
246
+ USE BROWSER<br/>
247
+ <br/>
248
+ TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
227
249
 
228
250
  </td></tr></table>
229
251
 
@@ -256,12 +278,12 @@ Goals define what the agent should actively work toward. Unlike a chatbot that o
256
278
 
257
279
  <table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
258
280
 
259
- **<ins>Paul Smith & Associés</ins>**<br/>
281
+ **<ins>Company Lawyer</ins>**<br/>
260
282
  <br/>
261
- **PERSONA** You are a company lawyer.<br/>
283
+ GOAL<br/>
262
284
  Your job is to provide legal advice and support to the company and its employees.<br/>
263
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
264
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
285
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
286
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
265
287
 
266
288
  </td></tr></table>
267
289
 
@@ -279,8 +301,8 @@ Promptbook Engine will automatically enforce this knowledge during interactions.
279
301
  <br/>
280
302
  **PERSONA** You are a company lawyer.<br/>
281
303
  Your job is to provide legal advice and support to the company and its employees.<br/>
282
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
283
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
304
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
305
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
284
306
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
285
307
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
286
308
 
@@ -298,8 +320,8 @@ Depending on rule strictness, Promptbook will either propagate it to the prompt
298
320
  <br/>
299
321
  **PERSONA** You are a company lawyer.<br/>
300
322
  Your job is to provide legal advice and support to the company and its employees.<br/>
301
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
302
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
323
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
324
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
303
325
  **RULE** Always ensure compliance with local laws and regulations.<br/>
304
326
  **RULE** Never provide legal advice outside your area of expertise.<br/>
305
327
  **RULE** Never provide legal advice about criminal law.<br/>
@@ -320,16 +342,16 @@ These are what turn a chatbot into a persistent agent that actually does work.
320
342
  <br/>
321
343
  **PERSONA** You are a company lawyer.<br/>
322
344
  Your job is to provide legal advice and support to the company and its employees.<br/>
323
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
324
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
345
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
346
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
325
347
  **RULE** Always ensure compliance with local laws and regulations.<br/>
326
348
  **RULE** Never provide legal advice outside your area of expertise.<br/>
327
349
  **RULE** Never provide legal advice about criminal law.<br/>
328
350
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
329
351
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
330
- **USE EMAIL**<br/>
331
- **USE BROWSER**<br/>
332
- **USE SEARCH ENGINE**<br/>
352
+ USE EMAIL<br/>
353
+ USE BROWSER<br/>
354
+ USE SEARCH ENGINE<br/>
333
355
 
334
356
  </td></tr></table>
335
357
 
@@ -343,20 +365,22 @@ Team commitment allows you to define the team structure and advisory fellow memb
343
365
  <br/>
344
366
  **PERSONA** You are a company lawyer.<br/>
345
367
  Your job is to provide legal advice and support to the company and its employees.<br/>
346
- **GOAL** Respond to incoming legal inquiries via email within 24 hours.<br/>
347
- **GOAL** Keep the company website updated with the latest legal policies and compliance information.<br/>
368
+ GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
369
+ GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
348
370
  **RULE** Always ensure compliance with local laws and regulations.<br/>
349
371
  **RULE** Never provide legal advice outside your area of expertise.<br/>
350
372
  **RULE** Never provide legal advice about criminal law.<br/>
351
373
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
352
374
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
353
- **USE EMAIL**<br/>
354
- **USE BROWSER**<br/>
355
- **USE SEARCH ENGINE**<br/>
356
- **TEAM** You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
375
+ USE EMAIL<br/>
376
+ USE BROWSER<br/>
377
+ USE SEARCH ENGINE<br/>
378
+ TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
357
379
 
358
380
  </td></tr></table>
359
381
 
382
+
383
+
360
384
  ### Promptbook Ecosystem
361
385
 
362
386
  Promptbook is an ecosystem of tools centered around the **Agents Server** - a production-ready platform for running persistent AI agents.
@@ -379,6 +403,8 @@ The [Promptbook Engine](https://github.com/webgptorg/promptbook) is the open-sou
379
403
 
380
404
 
381
405
 
406
+
407
+
382
408
  ## 💜 The Promptbook Project
383
409
 
384
410
  Promptbook project is an ecosystem centered around the **Agents Server** - a platform for creating, deploying, and running persistent AI agents. Following is a list of the most important pieces of the project:
@@ -416,6 +442,8 @@ Promptbook project is an ecosystem centered around the **Agents Server** - a pla
416
442
  </tbody>
417
443
  </table>
418
444
 
445
+
446
+
419
447
  ### 🌐 Community & Social Media
420
448
 
421
449
  Join our growing community of developers and users:
@@ -472,6 +500,8 @@ Join our growing community of developers and users:
472
500
 
473
501
 
474
502
 
503
+
504
+
475
505
  ## 📚 Documentation
476
506
 
477
507
  See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
@@ -563,9 +593,9 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
563
593
  #### Features
564
594
 
565
595
  - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
566
- - **Context injection:** `--context AGENTS.md` or inline extra instructions
596
+ - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
567
597
  - **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
598
+ - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
569
599
  - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
570
600
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
571
601
  - **Prompt triage:** `--priority` to process only more important tasks first
@@ -583,11 +613,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
583
613
 
584
614
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
585
615
 
586
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
616
+ 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
617
 
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
618
+ 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
619
 
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
620
+ 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
621
 
592
622
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
593
623
 
@@ -609,11 +639,11 @@ ptbk coder generate-boilerplates
609
639
 
610
640
  ptbk coder generate-boilerplates --template prompts/templates/common.md
611
641
 
612
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
642
+ 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
643
 
614
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
644
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
615
645
 
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
646
+ 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
647
 
618
648
  ptbk coder find-refactor-candidates
619
649
 
@@ -626,24 +656,24 @@ ptbk coder verify
626
656
 
627
657
  #### What each command does
628
658
 
629
- | Command | What it does |
630
- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
659
+ | Command | What it does |
660
+ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
631
661
  | `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. |
662
+ | `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. |
663
+ | `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. |
664
+ | `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. |
665
+ | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
636
666
 
637
667
  #### Most useful `ptbk coder run` flags
638
668
 
639
669
  | Flag | Purpose |
640
670
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
641
- | `--agent <name>` | Selects the coding backend. |
671
+ | `--harness <name>` | Selects the coding harness. |
642
672
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
643
673
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
644
674
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
645
675
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
646
- | `--no-wait` | Skips interactive pauses between prompts for unattended execution. |
676
+ | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
647
677
  | `--ignore-git-changes` | Disables the clean-working-tree guard. |
648
678
  | `--priority <n>` | Runs only prompts at or above the given priority. |
649
679
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
@@ -655,8 +685,8 @@ ptbk coder verify
655
685
 
656
686
  1. Initialize once with `ptbk coder init`.
657
687
  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.
688
+ 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--agent agents/coding/developer.book --context AGENTS.md`.
689
+ 4. Run unattended batches by default, or pass `--no-auto` to confirm each prompt interactively.
660
690
  5. Finish with `ptbk coder verify` so resolved prompts are archived and broken ones get explicit repair follow-ups.
661
691
 
662
692
 
@@ -679,6 +709,8 @@ The following glossary is used to clarify certain concepts:
679
709
 
680
710
  _Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
681
711
 
712
+
713
+
682
714
  ### 💯 Core concepts
683
715
 
684
716
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)