@promptbook/openai 0.114.0-3 → 0.114.0-31

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 (342) hide show
  1. package/README.md +10 -18
  2. package/esm/index.es.js +22 -22
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/components.index.d.ts +4 -0
  5. package/esm/src/_packages/types.index.d.ts +4 -0
  6. package/esm/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  7. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  8. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -3
  9. package/esm/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
  10. package/esm/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
  11. package/esm/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  12. package/esm/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  13. package/esm/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  14. package/esm/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  15. package/esm/src/book-3.0/cliAgentEnv.d.ts +3 -3
  16. package/esm/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  17. package/esm/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  18. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  19. package/esm/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  20. package/esm/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  21. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  22. package/esm/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  23. package/esm/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  24. package/esm/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  25. package/esm/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  26. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  27. package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  28. package/esm/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +9 -0
  29. package/esm/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  30. package/esm/src/cli/cli-commands/coder/boilerplateCount.d.ts +52 -0
  31. package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  32. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +4 -3
  33. package/esm/src/cli/cli-commands/coder/verify.d.ts +1 -1
  34. package/esm/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  35. package/esm/src/cli/cli-commands/common/$askForConfirmation.d.ts +9 -0
  36. package/esm/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +1 -1
  37. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  38. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -3
  39. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  40. package/esm/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  41. package/esm/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  42. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +36 -0
  43. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  44. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  45. package/esm/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  46. package/esm/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  47. package/esm/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  48. package/esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  49. package/esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  50. package/esm/src/cli/cli-commands/common/harnessUpdateCliOptions.d.ts +29 -0
  51. package/{umd/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts → esm/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts} +2 -2
  52. package/{umd/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  53. package/esm/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  54. package/esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  55. package/esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  56. package/esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  57. package/esm/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  58. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  59. package/esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  60. package/esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +14 -0
  61. package/esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  62. package/esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  63. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  64. package/esm/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  65. package/esm/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  66. package/esm/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  67. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  68. package/esm/src/commitments/{COMPONENT/COMPONENT.d.ts → META_FULLNAME/META_FULLNAME.d.ts} +8 -5
  69. package/esm/src/commitments/META_ID/META_ID.d.ts +32 -0
  70. package/esm/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  71. package/esm/src/commitments/index.d.ts +4 -12
  72. package/esm/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  73. package/esm/src/llm-providers/agent/Agent.d.ts +1 -1
  74. package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionToolsToolBuilder.d.ts +1 -1
  75. package/esm/src/{commitments/USE_BROWSER → scrapers/_common/utils}/fetchUrlContent.d.ts +2 -3
  76. package/esm/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  77. package/esm/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  78. package/esm/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  79. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  80. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  81. package/esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  82. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  83. package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  84. package/esm/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  85. package/esm/src/utils/misc/debounce.d.ts +4 -2
  86. package/esm/src/utils/misc/debounce.test.d.ts +1 -0
  87. package/esm/src/utils/misc/emojis.d.ts +3 -2
  88. package/esm/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  89. package/esm/src/version.d.ts +1 -1
  90. package/package.json +2 -2
  91. package/umd/index.umd.js +21 -21
  92. package/umd/index.umd.js.map +1 -1
  93. package/umd/src/_packages/components.index.d.ts +4 -0
  94. package/umd/src/_packages/types.index.d.ts +4 -0
  95. package/umd/src/avatars/renderAvatarVisualTerminalText.d.ts +80 -0
  96. package/umd/src/avatars/renderAvatarVisualTerminalText.test.d.ts +1 -0
  97. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +54 -0
  98. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -3
  99. package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -0
  100. package/umd/src/book-2.0/agent-source/ParsedUnknownCommitment.d.ts +26 -0
  101. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.commitmentAggregation.test.d.ts +1 -0
  102. package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts +1 -0
  103. package/umd/src/book-2.0/agent-source/getBookCommitmentLineType.d.ts +19 -0
  104. package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts +1 -0
  105. package/umd/src/book-3.0/AgentMessageRunReport.d.ts +46 -0
  106. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.d.ts +127 -0
  107. package/umd/src/book-3.0/AgentPlannedMessagesSidecar.test.d.ts +1 -0
  108. package/umd/src/book-3.0/AgentTeamConversationWorkspace.d.ts +85 -0
  109. package/umd/src/book-3.0/cliAgentEnv.d.ts +3 -3
  110. package/umd/src/book-3.0/createAgentMessageSidecarBaseName.d.ts +13 -0
  111. package/umd/src/book-3.0/describeAgentPlannedMessageSchedule.d.ts +31 -0
  112. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.browser.d.ts +1 -9
  113. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.d.ts +28 -0
  114. package/umd/src/book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts +1 -0
  115. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.d.ts +28 -0
  116. package/umd/src/book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts +1 -0
  117. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +3 -2
  118. package/umd/src/book-components/Chat/Chat/renderAgentProjectDiff.d.ts +13 -0
  119. package/umd/src/book-components/Chat/Chat/renderAgentProjectToolCallDetails.d.ts +16 -0
  120. package/umd/src/book-components/Chat/utils/agentProjectToolCall.d.ts +85 -0
  121. package/umd/src/book-components/Chat/utils/agentProjectToolCall.test.d.ts +1 -0
  122. package/umd/src/book-components/Chat/utils/externalSourceToolCall.d.ts +38 -0
  123. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +68 -3
  124. package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +30 -0
  125. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.d.ts +9 -0
  126. package/umd/src/cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts +1 -0
  127. package/umd/src/cli/cli-commands/coder/GitChangesMode.d.ts +28 -0
  128. package/umd/src/cli/cli-commands/coder/boilerplateCount.d.ts +52 -0
  129. package/umd/src/cli/cli-commands/coder/boilerplateCount.test.d.ts +1 -0
  130. package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +14 -1
  131. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +4 -3
  132. package/umd/src/cli/cli-commands/coder/generate-boilerplates.test.d.ts +1 -0
  133. package/umd/src/cli/cli-commands/coder/server.test.d.ts +1 -0
  134. package/umd/src/cli/cli-commands/coder/verify.d.ts +1 -1
  135. package/umd/src/cli/cli-commands/coder/waitOptions.d.ts +12 -0
  136. package/umd/src/cli/cli-commands/common/$askForConfirmation.d.ts +9 -0
  137. package/umd/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +1 -1
  138. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +3 -3
  139. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts +1 -0
  140. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -3
  141. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessCommandPath.d.ts +14 -0
  142. package/umd/src/cli/cli-commands/common/harness/$resolveHarnessInstallationOrigin.d.ts +10 -0
  143. package/umd/src/cli/cli-commands/common/harness/$runHarnessInstallationCommand.d.ts +43 -0
  144. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +36 -0
  145. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationOrigin.d.ts +36 -0
  146. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +8 -2
  147. package/umd/src/cli/cli-commands/common/harness/HarnessUpdatePlan.d.ts +23 -0
  148. package/umd/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +4 -1
  149. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.d.ts +8 -0
  150. package/umd/src/cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts +1 -0
  151. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.d.ts +31 -0
  152. package/umd/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts +1 -0
  153. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.d.ts +12 -0
  154. package/umd/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts +1 -0
  155. package/umd/src/cli/cli-commands/common/harnessUpdateCliOptions.d.ts +29 -0
  156. package/umd/src/cli/cli-commands/common/harnessUpdateCliOptions.test.d.ts +1 -0
  157. package/{esm/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts → umd/src/cli/cli-commands/common/npm/$askForNpmPackageInstallationApproval.d.ts} +2 -2
  158. package/{esm/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts → umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.d.ts} +2 -3
  159. package/umd/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts +1 -0
  160. package/umd/src/cli/cli-commands/common/npm/$resolveNpmGlobalPrefixPath.d.ts +9 -0
  161. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.d.ts +12 -0
  162. package/umd/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts +1 -0
  163. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.d.ts +12 -0
  164. package/umd/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts +1 -0
  165. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.d.ts +12 -0
  166. package/umd/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts +1 -0
  167. package/umd/src/cli/cli-commands/common/projectInitialization.d.ts +6 -0
  168. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +17 -4
  169. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.d.ts +9 -0
  170. package/umd/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts +1 -0
  171. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.d.ts +14 -0
  172. package/umd/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts +1 -0
  173. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.d.ts +12 -0
  174. package/umd/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts +1 -0
  175. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.d.ts +10 -0
  176. package/umd/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts +1 -0
  177. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallation.d.ts +66 -0
  178. package/umd/src/cli/cli-commands/common/promptbook-cli/PromptbookCliInstallationStatus.d.ts +26 -0
  179. package/umd/src/cli/cli-commands/common/promptbook-cli/buildPromptbookCliInstallCommand.d.ts +7 -0
  180. package/umd/src/cli/cli-commands/common/promptbook-cli/formatPromptbookCliInstallationWarning.d.ts +7 -0
  181. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +15 -0
  182. package/umd/src/commitments/{COMPONENT/COMPONENT.d.ts → META_FULLNAME/META_FULLNAME.d.ts} +8 -5
  183. package/umd/src/commitments/META_ID/META_ID.d.ts +32 -0
  184. package/umd/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +14 -7
  185. package/umd/src/commitments/index.d.ts +4 -12
  186. package/umd/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  187. package/umd/src/executables/platforms/locateAppOnWindows.test.d.ts +1 -0
  188. package/umd/src/llm-providers/agent/Agent.d.ts +1 -1
  189. package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionToolsToolBuilder.d.ts +1 -1
  190. package/umd/src/{commitments/USE_BROWSER → scrapers/_common/utils}/fetchUrlContent.d.ts +2 -3
  191. package/umd/src/utils/agent-message-runtime/AgentMessageProjectChange.d.ts +76 -0
  192. package/umd/src/utils/agent-message-runtime/AgentMessageTouchedExternalSource.d.ts +45 -0
  193. package/umd/src/utils/agent-message-runtime/parseAgentMessageRuntimeLogEvents.d.ts +62 -0
  194. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +3 -3
  195. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.d.ts +18 -0
  196. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts +1 -0
  197. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.d.ts +19 -0
  198. package/umd/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts +1 -0
  199. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +5 -2
  200. package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +6 -0
  201. package/umd/src/utils/ascii-art/createAnsiColorCode.d.ts +46 -0
  202. package/umd/src/utils/misc/debounce.d.ts +4 -2
  203. package/umd/src/utils/misc/debounce.test.d.ts +1 -0
  204. package/umd/src/utils/misc/emojis.d.ts +3 -2
  205. package/umd/src/utils/random/$generateBookBoilerplate.test.d.ts +1 -0
  206. package/umd/src/version.d.ts +1 -1
  207. package/esm/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  208. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  209. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  210. package/esm/src/commitments/MEMORY/MEMORY.d.ts +0 -48
  211. package/esm/src/commitments/MEMORY/MemoryToolNames.d.ts +0 -11
  212. package/esm/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +0 -149
  213. package/esm/src/commitments/MEMORY/createMemorySystemMessage.d.ts +0 -6
  214. package/esm/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +0 -8
  215. package/esm/src/commitments/MEMORY/createMemoryTools.d.ts +0 -14
  216. package/esm/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +0 -6
  217. package/esm/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
  218. package/esm/src/commitments/MEMORY/getMemoryToolTitles.d.ts +0 -7
  219. package/esm/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +0 -61
  220. package/esm/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +0 -8
  221. package/esm/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +0 -13
  222. package/esm/src/commitments/META/META.d.ts +0 -65
  223. package/esm/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +0 -32
  224. package/esm/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -58
  225. package/esm/src/commitments/USE_BROWSER/fetchUrlContentViaBrowser.d.ts +0 -13
  226. package/esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +0 -10
  227. package/esm/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +0 -47
  228. package/esm/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -38
  229. package/esm/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +0 -21
  230. package/esm/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +0 -11
  231. package/esm/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +0 -13
  232. package/esm/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -46
  233. package/esm/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -38
  234. package/esm/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +0 -9
  235. package/esm/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +0 -12
  236. package/esm/src/commitments/USE_TIME/USE_TIME.d.ts +0 -43
  237. package/esm/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +0 -11
  238. package/esm/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +0 -212
  239. package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -38
  240. package/esm/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +0 -6
  241. package/esm/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +0 -8
  242. package/esm/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +0 -7
  243. package/esm/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
  244. package/esm/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +0 -78
  245. package/esm/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +0 -8
  246. package/esm/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +0 -13
  247. package/esm/src/commitments/WALLET/WALLET.d.ts +0 -21
  248. package/esm/src/commitments/WALLET/WalletToolNames.d.ts +0 -12
  249. package/esm/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +0 -163
  250. package/esm/src/commitments/WALLET/createWalletSystemMessage.d.ts +0 -6
  251. package/esm/src/commitments/WALLET/createWalletToolFunctions.d.ts +0 -8
  252. package/esm/src/commitments/WALLET/createWalletTools.d.ts +0 -7
  253. package/esm/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +0 -6
  254. package/esm/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +0 -16
  255. package/esm/src/commitments/WALLET/getWalletToolTitles.d.ts +0 -7
  256. package/esm/src/commitments/WALLET/parseWalletToolArgs.d.ts +0 -51
  257. package/esm/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +0 -8
  258. package/esm/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +0 -13
  259. package/esm/src/commitments/_common/createSerpSearchToolFunction.d.ts +0 -12
  260. package/umd/src/cli/cli-commands/common/harness/$installHarness.d.ts +0 -13
  261. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +0 -11
  262. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +0 -9
  263. package/umd/src/commitments/MEMORY/MEMORY.d.ts +0 -48
  264. package/umd/src/commitments/MEMORY/MemoryToolNames.d.ts +0 -11
  265. package/umd/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +0 -149
  266. package/umd/src/commitments/MEMORY/createMemorySystemMessage.d.ts +0 -6
  267. package/umd/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +0 -8
  268. package/umd/src/commitments/MEMORY/createMemoryTools.d.ts +0 -14
  269. package/umd/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +0 -6
  270. package/umd/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
  271. package/umd/src/commitments/MEMORY/getMemoryToolTitles.d.ts +0 -7
  272. package/umd/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +0 -61
  273. package/umd/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +0 -8
  274. package/umd/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +0 -13
  275. package/umd/src/commitments/META/META.d.ts +0 -65
  276. package/umd/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +0 -32
  277. package/umd/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -58
  278. package/umd/src/commitments/USE_BROWSER/fetchUrlContentViaBrowser.d.ts +0 -13
  279. package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +0 -10
  280. package/umd/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +0 -47
  281. package/umd/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -38
  282. package/umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +0 -21
  283. package/umd/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +0 -11
  284. package/umd/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +0 -13
  285. package/umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -46
  286. package/umd/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -38
  287. package/umd/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +0 -9
  288. package/umd/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +0 -12
  289. package/umd/src/commitments/USE_TIME/USE_TIME.d.ts +0 -43
  290. package/umd/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +0 -11
  291. package/umd/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +0 -212
  292. package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -38
  293. package/umd/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +0 -6
  294. package/umd/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +0 -8
  295. package/umd/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +0 -7
  296. package/umd/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +0 -17
  297. package/umd/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +0 -78
  298. package/umd/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +0 -8
  299. package/umd/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +0 -13
  300. package/umd/src/commitments/WALLET/WALLET.d.ts +0 -21
  301. package/umd/src/commitments/WALLET/WalletToolNames.d.ts +0 -12
  302. package/umd/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +0 -163
  303. package/umd/src/commitments/WALLET/createWalletSystemMessage.d.ts +0 -6
  304. package/umd/src/commitments/WALLET/createWalletToolFunctions.d.ts +0 -8
  305. package/umd/src/commitments/WALLET/createWalletTools.d.ts +0 -7
  306. package/umd/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +0 -6
  307. package/umd/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +0 -16
  308. package/umd/src/commitments/WALLET/getWalletToolTitles.d.ts +0 -7
  309. package/umd/src/commitments/WALLET/parseWalletToolArgs.d.ts +0 -51
  310. package/umd/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +0 -8
  311. package/umd/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +0 -13
  312. package/umd/src/commitments/_common/createSerpSearchToolFunction.d.ts +0 -12
  313. /package/esm/src/{book-2.0/agent-source/createAgentModelRequirements.useCommitmentAggregation.test.d.ts → avatars/renderAvatarVisualTerminalText.test.d.ts} +0 -0
  314. /package/esm/src/{cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → book-2.0/agent-source/createAgentModelRequirements.commitmentAggregation.test.d.ts} +0 -0
  315. /package/esm/src/{cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → book-2.0/agent-source/createAgentModelRequirementsWithCommitments.unknown.test.d.ts} +0 -0
  316. /package/esm/src/{commitments/MEMORY/MEMORY.test.d.ts → book-2.0/agent-source/parseAgentSourceWithCommitments.unknown.test.d.ts} +0 -0
  317. /package/esm/src/{commitments/USE_BROWSER/USE_BROWSER.test.d.ts → book-3.0/AgentPlannedMessagesSidecar.test.d.ts} +0 -0
  318. /package/esm/src/{commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts → book-components/BookEditor/createDuplicateFromCommitmentDiagnostics.test.d.ts} +0 -0
  319. /package/esm/src/{commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.test.d.ts → book-components/BookEditor/createUnknownCommitmentDiagnostics.test.d.ts} +0 -0
  320. /package/esm/src/{commitments/USE_EMAIL/USE_EMAIL.test.d.ts → book-components/Chat/utils/agentProjectToolCall.test.d.ts} +0 -0
  321. /package/esm/src/{commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts → cli/cli-commands/coder/$ensureCoderHarnessGitignoreRules.test.d.ts} +0 -0
  322. /package/esm/src/{commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.test.d.ts → cli/cli-commands/coder/boilerplateCount.test.d.ts} +0 -0
  323. /package/esm/src/{commitments/USE_SPAWN/USE_SPAWN.test.d.ts → cli/cli-commands/coder/generate-boilerplates.test.d.ts} +0 -0
  324. /package/esm/src/{commitments/USE_TIME/USE_TIME.test.d.ts → cli/cli-commands/coder/server.test.d.ts} +0 -0
  325. /package/esm/src/{commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts → cli/cli-commands/common/harness/$checkHarnessInstallation.test.d.ts} +0 -0
  326. /package/esm/src/{commitments/WALLET/WALLET.test.d.ts → cli/cli-commands/common/harness/formatHarnessManualUpdateInstruction.test.d.ts} +0 -0
  327. /package/{umd/src/book-2.0/agent-source/createAgentModelRequirements.useCommitmentAggregation.test.d.ts → esm/src/cli/cli-commands/common/harness/resolveHarnessInstallationMethodFromPaths.test.d.ts} +0 -0
  328. /package/{umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts → esm/src/cli/cli-commands/common/harness/resolveHarnessUpdatePlan.test.d.ts} +0 -0
  329. /package/{umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts → esm/src/cli/cli-commands/common/harnessUpdateCliOptions.test.d.ts} +0 -0
  330. /package/{umd/src/commitments/MEMORY/MEMORY.test.d.ts → esm/src/cli/cli-commands/common/npm/$resolveLatestNpmPackageVersion.test.d.ts} +0 -0
  331. /package/{umd/src/commitments/USE_BROWSER/USE_BROWSER.test.d.ts → esm/src/cli/cli-commands/common/npm/buildNpmPackageInstallCommand.test.d.ts} +0 -0
  332. /package/{umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts → esm/src/cli/cli-commands/common/npm/extractNpmPackageVersionFromOutput.test.d.ts} +0 -0
  333. /package/{umd/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.test.d.ts → esm/src/cli/cli-commands/common/npm/isNpmPackageVersionOutdated.test.d.ts} +0 -0
  334. /package/{umd/src/commitments/USE_EMAIL/USE_EMAIL.test.d.ts → esm/src/cli/cli-commands/common/promptbook-cli/$checkPromptbookCliInstallations.test.d.ts} +0 -0
  335. /package/{umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts → esm/src/cli/cli-commands/common/promptbook-cli/$ensurePromptbookCliInstallations.test.d.ts} +0 -0
  336. /package/{umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.test.d.ts → esm/src/cli/cli-commands/common/promptbook-cli/$resolvePromptbookCliInstallations.test.d.ts} +0 -0
  337. /package/{umd/src/commitments/USE_SPAWN/USE_SPAWN.test.d.ts → esm/src/cli/cli-commands/common/promptbook-cli/$updatePromptbookCliInstallation.test.d.ts} +0 -0
  338. /package/esm/src/commitments/{META → META_DESCRIPTION}/META_DESCRIPTION.d.ts +0 -0
  339. /package/{umd/src/commitments/USE_TIME/USE_TIME.test.d.ts → esm/src/executables/platforms/locateAppOnWindows.test.d.ts} +0 -0
  340. /package/{umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts → esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedExternalSources.test.d.ts} +0 -0
  341. /package/{umd/src/commitments/WALLET/WALLET.test.d.ts → esm/src/utils/agent-message-runtime/resolveAgentMessageTouchedProjectNames.test.d.ts} +0 -0
  342. /package/umd/src/commitments/{META → META_DESCRIPTION}/META_DESCRIPTION.d.ts +0 -0
package/README.md CHANGED
@@ -410,8 +410,6 @@ Respond to incoming legal inquiries via email and keep the company website updat
410
410
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
411
411
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
412
412
  <br/>
413
- USE EMAIL<br/>
414
- USE BROWSER<br/>
415
413
  <br/>
416
414
  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/>
417
415
 
@@ -500,7 +498,7 @@ GOAL Keep the company website updated with the latest legal policies and complia
500
498
 
501
499
  #### `Use` commitments
502
500
 
503
- Use commitments grant the agent real capabilities - tools it can use to interact with the outside world. `USE EMAIL` lets the agent send emails, `USE BROWSER` lets it access and read web content, `USE SEARCH ENGINE` lets it search the web, and many more.
501
+ Use commitments grant the agent real capabilities - tools it can use to interact with the outside world. `USE CALENDAR` lets the agent work with a calendar, `USE PROJECT` gives it access to a code repository, `USE MCP` connects any external Model Context Protocol server, and many more.
504
502
 
505
503
  These are what turn a chatbot into a persistent agent that actually does work.
506
504
 
@@ -517,9 +515,6 @@ GOAL Keep the company website updated with the latest legal policies and complia
517
515
  **RULE** Never provide legal advice about criminal law.<br/>
518
516
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
519
517
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
520
- USE EMAIL<br/>
521
- USE BROWSER<br/>
522
- USE SEARCH ENGINE<br/>
523
518
 
524
519
  </td></tr></table>
525
520
 
@@ -540,9 +535,6 @@ GOAL Keep the company website updated with the latest legal policies and complia
540
535
  **RULE** Never provide legal advice about criminal law.<br/>
541
536
  **KNOWLEDGE** https://company.com/company-policies.pdf<br/>
542
537
  **KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
543
- USE EMAIL<br/>
544
- USE BROWSER<br/>
545
- USE SEARCH ENGINE<br/>
546
538
  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/>
547
539
 
548
540
  </td></tr></table>
@@ -729,7 +721,7 @@ Or you can install them separately:
729
721
 
730
722
  Promptbook Coder is **not another standalone coding model**. It is an orchestration layer over coding agents such as **GitHub Copilot**, **OpenAI Codex**, **Claude Code**, **Opencode**, **Cline**, and **Gemini CLI**. The difference is that Promptbook Coder adds a repeatable repository workflow on top of them:
731
723
 
732
- - prompt files with explicit statuses like `[ ]`, `[x]`, and `[-]`
724
+ - prompt files with explicit statuses like `[ ]`, `[^]`, `[x]`, and `[-]`
733
725
  - automatic selection of the next runnable task, including priority support
734
726
  - optional shared repo context loaded from a file such as `AGENTS.md`
735
727
  - automatic `git add`, commit, and push after each successful prompt
@@ -744,19 +736,19 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
744
736
  1. `ptbk coder init` prepares the project for the coder workflow, seeds project-owned generic templates in `prompts/templates/`, creates a starter `AGENTS.md` context file, adds helper `npm run coder:*` scripts, ensures `.gitignore` ignores `/.promptbook`, and configures VS Code prompt screenshots in `prompts/screenshots/`.
745
737
  2. `ptbk coder generate-boilerplates` creates prompt files in `prompts/`.
746
738
  3. You replace placeholder `@@@` sections with real coding tasks.
747
- 4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent.
739
+ 4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent and immediately marks it as in progress `[^]`, naming the harness, the model and the step which is running.
748
740
  5. Promptbook Coder marks the prompt as done `[x]`, records runner metadata, then stages, commits, and pushes the resulting changes.
749
741
  6. `ptbk coder verify` reviews completed prompts, archives finished files to `prompts/done/`, and appends a repair prompt when more work is needed.
750
742
 
751
- Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority.
743
+ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treated as not fully written, and prompts with more `!` markers have higher priority. A prompt left as `[^]` was interrupted in the middle of its implementation — the in-progress status is never reverted, so a killed or crashed coder always leaves that signal behind, and `--git-changes continue` resumes exactly that prompt with its uncommitted changes still in place.
752
744
 
753
745
  #### Features
754
746
 
755
- - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
747
+ - **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`, `qwen-code`
756
748
  - **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
757
749
  - **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
758
750
  - **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
759
- - **Git safety:** clean working tree check by default, optional `--ignore-git-changes`
751
+ - **Git safety:** clean working tree check by default, or `--git-changes ignore` to keep the changes and `--git-changes continue` to resume an interrupted prompt
760
752
  - **Opt-in remote pushes:** commits stay local unless you explicitly pass `--auto-push`
761
753
  - **Prompt triage:** `--priority` to process only more important tasks first
762
754
  - **Failure logging:** failed runs write a neighboring `.error.log`
@@ -777,7 +769,7 @@ npx ts-node ./src/cli/test/ptbk.ts coder run --harness github-copilot --model gp
777
769
 
778
770
  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
779
771
 
780
- 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
772
+ 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 --git-changes ignore
781
773
 
782
774
  npx ts-node ./src/cli/test/ptbk.ts coder find-refactor-candidates
783
775
 
@@ -803,7 +795,7 @@ ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh -
803
795
 
804
796
  ptbk coder run --harness github-copilot --model gpt-5.4 --thinking-level xhigh --agent agents/coding/developer.book --context AGENTS.md --auto-push
805
797
 
806
- 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
798
+ 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 --git-changes ignore
807
799
 
808
800
  ptbk coder find-refactor-candidates
809
801
 
@@ -829,13 +821,13 @@ ptbk coder verify
829
821
  | Flag | Purpose |
830
822
  | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
831
823
  | `--harness <name>` | Selects the coding harness. |
832
- | `--model <model>` | Chooses the runner model; required for `openai-codex` and `gemini`, optional for `github-copilot`. |
824
+ | `--model <model>` | Chooses the runner model; required for `openai-codex`, `gemini` and `qwen-code`, optional for `github-copilot`. |
833
825
  | `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
834
826
  | `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
835
827
  | `--test-before <mode>` | Runs tests before coding: `no` (default), `yes-and-fail` (stop with results), or `yes-and-fix` (create one repair prompt first); defaults to `npm test` when enabled without `--test`. |
836
828
  | `--thinking-level <level>` | Sets reasoning effort for supported runners. |
837
829
  | `--no-auto` | Waits for user confirmation before each prompt instead of running automatically through the queue. |
838
- | `--ignore-git-changes` | Disables the clean-working-tree guard. |
830
+ | `--git-changes <mode>` | Decides what happens with a dirty working tree: `fail` (default), `ignore` to keep the changes, or `continue` to resume the single interrupted `[^]` prompt with them. |
839
831
  | `--priority <n>` | Runs only prompts at or above the given priority. |
840
832
  | `--dry-run` | Prints which prompts are ready instead of executing them. |
841
833
  | `--allow-credits` | Lets OpenAI Codex spend credits when required. |
package/esm/index.es.js CHANGED
@@ -17,7 +17,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
17
17
  * @generated
18
18
  * @see https://github.com/webgptorg/promptbook
19
19
  */
20
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-3';
20
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-31';
21
21
  /**
22
22
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
23
23
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -2783,28 +2783,28 @@ function serializeError(error) {
2783
2783
  */
2784
2784
  function buildToolInvocationScript(options) {
2785
2785
  const { functionName, functionArgsExpression } = options;
2786
- return `
2787
- const args = ${functionArgsExpression};
2788
- const runtimeContextRaw =
2789
- typeof ${TOOL_RUNTIME_CONTEXT_PARAMETER} === 'undefined'
2790
- ? undefined
2791
- : ${TOOL_RUNTIME_CONTEXT_PARAMETER};
2786
+ return spaceTrim$1((block) => `
2787
+ const args = ${block(functionArgsExpression)};
2788
+ const runtimeContextRaw =
2789
+ typeof ${TOOL_RUNTIME_CONTEXT_PARAMETER} === 'undefined'
2790
+ ? undefined
2791
+ : ${TOOL_RUNTIME_CONTEXT_PARAMETER};
2792
+
2793
+ if (runtimeContextRaw !== undefined && args && typeof args === 'object' && !Array.isArray(args)) {
2794
+ args.${TOOL_RUNTIME_CONTEXT_ARGUMENT} = runtimeContextRaw;
2795
+ }
2792
2796
 
2793
- if (runtimeContextRaw !== undefined && args && typeof args === 'object' && !Array.isArray(args)) {
2794
- args.${TOOL_RUNTIME_CONTEXT_ARGUMENT} = runtimeContextRaw;
2795
- }
2797
+ const toolProgressTokenRaw =
2798
+ typeof ${TOOL_PROGRESS_TOKEN_PARAMETER} === 'undefined'
2799
+ ? undefined
2800
+ : ${TOOL_PROGRESS_TOKEN_PARAMETER};
2796
2801
 
2797
- const toolProgressTokenRaw =
2798
- typeof ${TOOL_PROGRESS_TOKEN_PARAMETER} === 'undefined'
2799
- ? undefined
2800
- : ${TOOL_PROGRESS_TOKEN_PARAMETER};
2801
-
2802
- if (toolProgressTokenRaw !== undefined && args && typeof args === 'object' && !Array.isArray(args)) {
2803
- args.${TOOL_PROGRESS_TOKEN_ARGUMENT} = toolProgressTokenRaw;
2804
- }
2802
+ if (toolProgressTokenRaw !== undefined && args && typeof args === 'object' && !Array.isArray(args)) {
2803
+ args.${TOOL_PROGRESS_TOKEN_ARGUMENT} = toolProgressTokenRaw;
2804
+ }
2805
2805
 
2806
- return await ${functionName}(args);
2807
- `;
2806
+ return await ${functionName}(args);
2807
+ `);
2808
2808
  }
2809
2809
 
2810
2810
  /**
@@ -8181,7 +8181,7 @@ const loadOpenAiAgentsModule = createLazyModuleLoader(() => import('@openai/agen
8181
8181
  */
8182
8182
  const DEFAULT_DEEP_SEARCH_MODEL_NAME = 'o4-mini-deep-research';
8183
8183
  /**
8184
- * Tool name used by the Book commitment-backed DeepSearch capability.
8184
+ * Tool name used by the DeepSearch capability.
8185
8185
  */
8186
8186
  const DEEP_SEARCH_TOOL_NAME = 'deep_search';
8187
8187
  /**
@@ -8451,7 +8451,7 @@ class OpenAiAgentKitExecutionToolsToolBuilder {
8451
8451
  };
8452
8452
  }
8453
8453
  /**
8454
- * Creates the native Agent SDK tool used for `USE DEEPSEARCH`.
8454
+ * Creates the native Agent SDK tool used for the DeepSearch capability.
8455
8455
  */
8456
8456
  async createDeepSearchAgentKitTool(toolDefinition) {
8457
8457
  const { Agent: AgentFromKit, webSearchTool } = await loadOpenAiAgentsModule();