@promptbook/node 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 (234) hide show
  1. package/README.md +37 -21
  2. package/esm/index.es.js +26872 -22411
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/scripts/run-agent-chat/executeAgentChatTurn.d.ts +28 -0
  5. package/esm/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +4 -0
  6. package/esm/scripts/run-agent-messages/messages/buildAgentMessageScriptPath.d.ts +5 -0
  7. package/esm/scripts/run-agent-messages/messages/createAgentRunnerSystemMessage.d.ts +10 -0
  8. package/esm/scripts/run-codex-prompts/common/ProgressiveBackoff.d.ts +44 -0
  9. package/esm/scripts/run-codex-prompts/common/appendCoderContext.d.ts +4 -0
  10. package/esm/scripts/run-codex-prompts/common/formatUnknownErrorDetails.d.ts +4 -0
  11. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +5 -0
  12. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +6 -0
  13. package/esm/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +5 -0
  14. package/esm/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
  15. package/esm/scripts/run-codex-prompts/common/runGoScript/buildTemporaryPromptScriptPath.d.ts +14 -0
  16. package/esm/scripts/run-codex-prompts/common/runGoScript/printLiveScriptChunk.d.ts +4 -0
  17. package/esm/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
  18. package/esm/scripts/run-codex-prompts/common/runGoScript/runScriptUntilMarkerIdle.d.ts +6 -0
  19. package/esm/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
  20. package/esm/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
  21. package/esm/scripts/run-codex-prompts/common/runGoScript/toPosixPath.d.ts +4 -0
  22. package/esm/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
  23. package/esm/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +5 -0
  24. package/esm/scripts/run-codex-prompts/main/resolvePromptRunner.d.ts +24 -0
  25. package/esm/scripts/run-codex-prompts/runners/claude-code/ClaudeCodeRunner.d.ts +19 -0
  26. package/esm/scripts/run-codex-prompts/runners/claude-code/buildClaudeScript.d.ts +5 -0
  27. package/esm/scripts/run-codex-prompts/runners/claude-code/parseClaudeCodeJsonOutput.d.ts +5 -0
  28. package/esm/scripts/run-codex-prompts/runners/cline/ClineRunner.d.ts +19 -0
  29. package/esm/scripts/run-codex-prompts/runners/cline/buildClineScript.d.ts +5 -0
  30. package/esm/scripts/run-codex-prompts/runners/gemini/GeminiRunner.d.ts +23 -0
  31. package/esm/scripts/run-codex-prompts/runners/gemini/buildGeminiScript.d.ts +5 -0
  32. package/esm/scripts/run-codex-prompts/runners/gemini/gemini-pricing.d.ts +35 -0
  33. package/esm/scripts/run-codex-prompts/runners/gemini/parseGeminiUsageFromOutput.d.ts +9 -0
  34. package/esm/scripts/run-codex-prompts/runners/github-copilot/GitHubCopilotRunner.d.ts +19 -0
  35. package/esm/scripts/run-codex-prompts/runners/github-copilot/buildGitHubCopilotScript.d.ts +5 -0
  36. package/esm/scripts/run-codex-prompts/runners/openai-codex/CodexFailureHandling.d.ts +21 -0
  37. package/esm/scripts/run-codex-prompts/runners/openai-codex/OpenAiCodexRunner.d.ts +20 -0
  38. package/esm/scripts/run-codex-prompts/runners/openai-codex/buildCodexScript.d.ts +5 -0
  39. package/esm/scripts/run-codex-prompts/runners/openai-codex/buildCodexUsageFromOutput.d.ts +10 -0
  40. package/esm/scripts/run-codex-prompts/runners/opencode/OpencodeRunner.d.ts +19 -0
  41. package/esm/scripts/run-codex-prompts/runners/opencode/buildOpencodeScript.d.ts +5 -0
  42. package/esm/scripts/run-codex-prompts/runners/opencode/parseOpencodeJsonOutput.d.ts +5 -0
  43. package/esm/src/_packages/components.index.d.ts +4 -0
  44. package/esm/src/_packages/core.index.d.ts +0 -2
  45. package/esm/src/_packages/node.index.d.ts +40 -0
  46. package/esm/src/_packages/types.index.d.ts +18 -0
  47. package/esm/src/avatars/avatarAnimationScheduler.d.ts +4 -0
  48. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
  49. package/esm/src/avatars/visuals/octopus3d3AvatarVisual.d.ts +7 -0
  50. package/esm/src/avatars/visuals/octopus3d4AvatarVisual.d.ts +7 -0
  51. package/esm/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  52. package/esm/src/book-3.0/CliAgent.d.ts +66 -0
  53. package/esm/src/book-3.0/CliAgent.test.d.ts +1 -0
  54. package/esm/src/book-3.0/LiteAgent.d.ts +68 -0
  55. package/esm/src/book-3.0/LiteAgent.test.d.ts +1 -0
  56. package/esm/src/book-3.0/agentFolderPaths.d.ts +30 -0
  57. package/esm/src/book-3.0/cliAgentEnv.d.ts +33 -0
  58. package/esm/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  59. package/esm/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  60. package/esm/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  61. package/esm/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  62. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  63. package/esm/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  64. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  65. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  66. package/esm/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  67. package/esm/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  68. package/esm/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  69. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  70. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  71. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  72. package/esm/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  73. package/esm/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  74. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  75. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  76. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  77. package/esm/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  78. package/esm/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  79. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  80. package/esm/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  81. package/esm/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  82. package/esm/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  83. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  84. package/esm/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  85. package/esm/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  86. package/esm/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  87. package/esm/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  88. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  89. package/esm/src/book-components/_common/Modal/Modal.d.ts +1 -1
  90. package/esm/src/book-components/icons/AboutIcon.d.ts +1 -1
  91. package/esm/src/book-components/icons/DownloadIcon.d.ts +1 -1
  92. package/esm/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  93. package/esm/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  94. package/esm/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  95. package/esm/src/cli/cli-commands/agent/chat.d.ts +10 -0
  96. package/esm/src/cli/cli-commands/agent/exec.d.ts +10 -0
  97. package/esm/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  98. package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  99. package/esm/src/cli/cli-commands/agent.d.ts +14 -0
  100. package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +17 -1
  101. package/esm/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  102. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  103. package/esm/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  104. package/esm/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  105. package/esm/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  106. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  107. package/esm/src/cli/cli-commands/coder/server.d.ts +13 -0
  108. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  109. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  110. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  111. package/esm/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  112. package/esm/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  113. package/esm/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  114. package/esm/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  115. package/esm/src/utils/isTimingSafeEqualString.d.ts +25 -0
  116. package/esm/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  117. package/esm/src/version.d.ts +1 -1
  118. package/package.json +2 -2
  119. package/umd/index.umd.js +26885 -22410
  120. package/umd/index.umd.js.map +1 -1
  121. package/umd/scripts/run-agent-chat/executeAgentChatTurn.d.ts +28 -0
  122. package/umd/scripts/run-agent-messages/messages/buildAgentMessagePrompt.d.ts +4 -0
  123. package/umd/scripts/run-agent-messages/messages/buildAgentMessageScriptPath.d.ts +5 -0
  124. package/umd/scripts/run-agent-messages/messages/createAgentRunnerSystemMessage.d.ts +10 -0
  125. package/umd/scripts/run-codex-prompts/common/ProgressiveBackoff.d.ts +44 -0
  126. package/umd/scripts/run-codex-prompts/common/appendCoderContext.d.ts +4 -0
  127. package/umd/scripts/run-codex-prompts/common/formatUnknownErrorDetails.d.ts +4 -0
  128. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScript.d.ts +5 -0
  129. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptUntilMarkerIdle.d.ts +6 -0
  130. package/umd/scripts/run-codex-prompts/common/runGoScript/$runGoScriptWithOutput.d.ts +5 -0
  131. package/umd/scripts/run-codex-prompts/common/runGoScript/buildScriptLogPath.d.ts +4 -0
  132. package/umd/scripts/run-codex-prompts/common/runGoScript/buildTemporaryPromptScriptPath.d.ts +14 -0
  133. package/umd/scripts/run-codex-prompts/common/runGoScript/printLiveScriptChunk.d.ts +4 -0
  134. package/umd/scripts/run-codex-prompts/common/runGoScript/runBashScriptWithOutput.d.ts +5 -0
  135. package/umd/scripts/run-codex-prompts/common/runGoScript/runScriptUntilMarkerIdle.d.ts +6 -0
  136. package/umd/scripts/run-codex-prompts/common/runGoScript/scriptExecutionLog.d.ts +28 -0
  137. package/umd/scripts/run-codex-prompts/common/runGoScript/shouldDeleteTemporaryArtifact.d.ts +7 -0
  138. package/umd/scripts/run-codex-prompts/common/runGoScript/toPosixPath.d.ts +4 -0
  139. package/umd/scripts/run-codex-prompts/common/runGoScript/withPromptRuntimeLog.d.ts +6 -0
  140. package/umd/scripts/run-codex-prompts/common/runGoScript/withTempScript.d.ts +5 -0
  141. package/umd/scripts/run-codex-prompts/main/resolvePromptRunner.d.ts +24 -0
  142. package/umd/scripts/run-codex-prompts/runners/claude-code/ClaudeCodeRunner.d.ts +19 -0
  143. package/umd/scripts/run-codex-prompts/runners/claude-code/buildClaudeScript.d.ts +5 -0
  144. package/umd/scripts/run-codex-prompts/runners/claude-code/parseClaudeCodeJsonOutput.d.ts +5 -0
  145. package/umd/scripts/run-codex-prompts/runners/cline/ClineRunner.d.ts +19 -0
  146. package/umd/scripts/run-codex-prompts/runners/cline/buildClineScript.d.ts +5 -0
  147. package/umd/scripts/run-codex-prompts/runners/gemini/GeminiRunner.d.ts +23 -0
  148. package/umd/scripts/run-codex-prompts/runners/gemini/buildGeminiScript.d.ts +5 -0
  149. package/umd/scripts/run-codex-prompts/runners/gemini/gemini-pricing.d.ts +35 -0
  150. package/umd/scripts/run-codex-prompts/runners/gemini/parseGeminiUsageFromOutput.d.ts +9 -0
  151. package/umd/scripts/run-codex-prompts/runners/github-copilot/GitHubCopilotRunner.d.ts +19 -0
  152. package/umd/scripts/run-codex-prompts/runners/github-copilot/buildGitHubCopilotScript.d.ts +5 -0
  153. package/umd/scripts/run-codex-prompts/runners/openai-codex/CodexFailureHandling.d.ts +21 -0
  154. package/umd/scripts/run-codex-prompts/runners/openai-codex/OpenAiCodexRunner.d.ts +20 -0
  155. package/umd/scripts/run-codex-prompts/runners/openai-codex/buildCodexScript.d.ts +5 -0
  156. package/umd/scripts/run-codex-prompts/runners/openai-codex/buildCodexUsageFromOutput.d.ts +10 -0
  157. package/umd/scripts/run-codex-prompts/runners/opencode/OpencodeRunner.d.ts +19 -0
  158. package/umd/scripts/run-codex-prompts/runners/opencode/buildOpencodeScript.d.ts +5 -0
  159. package/umd/scripts/run-codex-prompts/runners/opencode/parseOpencodeJsonOutput.d.ts +5 -0
  160. package/umd/src/_packages/components.index.d.ts +4 -0
  161. package/umd/src/_packages/core.index.d.ts +0 -2
  162. package/umd/src/_packages/node.index.d.ts +40 -0
  163. package/umd/src/_packages/types.index.d.ts +18 -0
  164. package/umd/src/avatars/avatarAnimationScheduler.d.ts +4 -0
  165. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
  166. package/umd/src/avatars/visuals/octopus3d3AvatarVisual.d.ts +7 -0
  167. package/umd/src/avatars/visuals/octopus3d4AvatarVisual.d.ts +7 -0
  168. package/umd/src/book-3.0/BookNodeAgentSource.d.ts +38 -0
  169. package/umd/src/book-3.0/CliAgent.d.ts +66 -0
  170. package/umd/src/book-3.0/CliAgent.test.d.ts +1 -0
  171. package/umd/src/book-3.0/LiteAgent.d.ts +68 -0
  172. package/umd/src/book-3.0/LiteAgent.test.d.ts +1 -0
  173. package/umd/src/book-3.0/agentFolderPaths.d.ts +30 -0
  174. package/umd/src/book-3.0/cliAgentEnv.d.ts +33 -0
  175. package/umd/src/book-components/BookEditor/BookEditor.d.ts +6 -5
  176. package/umd/src/book-components/BookEditor/BookEditorAboutPromptbookInformation.d.ts +12 -0
  177. package/umd/src/book-components/BookEditor/BookEditorBrowserConfig.d.ts +2 -0
  178. package/umd/src/book-components/BookEditor/BookEditorForClient.d.ts +7 -0
  179. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
  180. package/umd/src/book-components/BookEditor/BookEditorTheme.d.ts +24 -0
  181. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +9 -0
  182. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +1 -6
  183. package/umd/src/book-components/BookEditor/useBookEditorMonacoLifecycle.d.ts +1 -4
  184. package/umd/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +2 -1
  185. package/umd/src/book-components/Chat/Chat/ChatCitationModal.d.ts +2 -0
  186. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  187. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  188. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +5 -0
  189. package/umd/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +2 -0
  190. package/umd/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +3 -1
  191. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  192. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -0
  193. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -0
  194. package/umd/src/book-components/Chat/SourceChip/SourceChip.d.ts +6 -1
  195. package/umd/src/book-components/Chat/hooks/useResolvedCitationLabel.d.ts +12 -0
  196. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +4 -0
  197. package/umd/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  198. package/umd/src/book-components/Chat/types/CitationLabelResolver.d.ts +8 -0
  199. package/umd/src/book-components/Chat/utils/citationHelpers.d.ts +9 -0
  200. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.d.ts +14 -0
  201. package/umd/src/book-components/Chat/utils/decodeJsonUnicodeEscapesInMarkdownText.test.d.ts +1 -0
  202. package/umd/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +10 -0
  203. package/umd/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +4 -0
  204. package/umd/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  205. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  206. package/umd/src/book-components/_common/Modal/Modal.d.ts +1 -1
  207. package/umd/src/book-components/icons/AboutIcon.d.ts +1 -1
  208. package/umd/src/book-components/icons/DownloadIcon.d.ts +1 -1
  209. package/umd/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  210. package/umd/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  211. package/umd/src/cli/cli-commands/agent/agentCliOptions.d.ts +38 -0
  212. package/umd/src/cli/cli-commands/agent/chat.d.ts +10 -0
  213. package/umd/src/cli/cli-commands/agent/exec.d.ts +10 -0
  214. package/umd/src/cli/cli-commands/agent/run.test.d.ts +1 -0
  215. package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -24
  216. package/umd/src/cli/cli-commands/agent.d.ts +14 -0
  217. package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +17 -1
  218. package/umd/src/cli/cli-commands/agents-server/run.d.ts +6 -0
  219. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +9 -2
  220. package/umd/src/cli/cli-commands/coder/ThinkingLevel.d.ts +1 -1
  221. package/umd/src/cli/cli-commands/coder/ensureCoderDeveloperAgentFile.d.ts +25 -0
  222. package/umd/src/cli/cli-commands/coder/find-unwritten.d.ts +10 -0
  223. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +2 -0
  224. package/umd/src/cli/cli-commands/coder/server.d.ts +13 -0
  225. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +14 -0
  226. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +9 -25
  227. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +22 -0
  228. package/umd/src/commitments/_common/teamInternalAgentAccess.d.ts +9 -1
  229. package/umd/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  230. package/umd/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -1
  231. package/umd/src/scrapers/website/utils/createShowdownConverter.d.ts +2 -2
  232. package/umd/src/utils/isTimingSafeEqualString.d.ts +25 -0
  233. package/umd/src/utils/validators/url/isValidAgentUrl.d.ts +5 -0
  234. 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/node`
37
53
 
@@ -478,9 +494,9 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
478
494
  #### Features
479
495
 
480
496
  - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
481
- - **Context injection:** `--context AGENTS.md` or inline extra instructions
497
+ - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
482
498
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
483
- - **Interactive or unattended runs:** default wait mode, or `--no-wait` for batch execution
499
+ - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
484
500
  - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
485
501
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
486
502
  - **Prompt triage:** `--priority` to process only more important tasks first
@@ -498,11 +514,11 @@ npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompt
498
514
 
499
515
  npx ts-node ./src/cli/test/ptbk.ts coder generate-boilerplates --template prompts/templates/agents-server.md
500
516
 
501
- npx ts-node ./src/cli/test/ptbk.ts coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md
517
+ 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
502
518
 
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
519
+ 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
504
520
 
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
521
+ 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
506
522
 
507
523
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
508
524
 
@@ -524,11 +540,11 @@ ptbk coder generate-boilerplates
524
540
 
525
541
  ptbk coder generate-boilerplates --template prompts/templates/common.md
526
542
 
527
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --test npm run test
543
+ 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
528
544
 
529
- ptbk coder run --agent github-copilot --model gpt-5.4 --thinking-level xhigh --context AGENTS.md --auto-push
545
+ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
530
546
 
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
547
+ 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
532
548
 
533
549
  ptbk coder find-refactor-candidates
534
550
 
@@ -541,24 +557,24 @@ ptbk coder verify
541
557
 
542
558
  #### What each command does
543
559
 
544
- | Command | What it does |
545
- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
560
+ | Command | What it does |
561
+ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
546
562
  | `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/`. |
547
- | `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. |
548
- | `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. |
549
- | `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. |
550
- | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
563
+ | `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. |
564
+ | `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. |
565
+ | `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. |
566
+ | `ptbk coder verify` | Walks through completed prompts, archives truly finished work, and adds follow-up repair prompts for unfinished results. |
551
567
 
552
568
  #### Most useful `ptbk coder run` flags
553
569
 
554
570
  | Flag | Purpose |
555
571
  | -------------------------- | -------------------------------------------------------------------------------------------------- |
556
- | `--agent <name>` | Selects the coding backend. |
572
+ | `--harness <name>` | Selects the coding harness. |
557
573
  | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
558
574
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
559
575
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
560
576
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
561
- | `--no-wait` | Skips interactive pauses between prompts for unattended execution. |
577
+ | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
562
578
  | `--ignore-git-changes` | Disables the clean-working-tree guard. |
563
579
  | `--priority <n>` | Runs only prompts at or above the given priority. |
564
580
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
@@ -570,8 +586,8 @@ ptbk coder verify
570
586
 
571
587
  1. Initialize once with `ptbk coder init`.
572
588
  2. Customize `prompts/templates/*.md` if needed, then create or write prompt files in `prompts/`.
573
- 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--context AGENTS.md`.
574
- 4. Run one prompt at a time interactively, or use `--no-wait` for unattended batches.
589
+ 3. Customize the starter `AGENTS.md` with repository-specific instructions, then pass `--agent agents/coding/developer.book --context AGENTS.md`.
590
+ 4. Run unattended batches by default, or pass `--no-auto` to confirm each prompt interactively.
575
591
  5. Finish with `ptbk coder verify` so resolved prompts are archived and broken ones get explicit repair follow-ups.
576
592
 
577
593