@promptbook/wizard 0.113.0-9 → 0.114.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 (202) hide show
  1. package/README.md +4 -3
  2. package/esm/index.es.js +84 -2
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/components.index.d.ts +8 -0
  5. package/esm/src/_packages/core.index.d.ts +4 -0
  6. package/esm/src/_packages/types.index.d.ts +12 -0
  7. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +7 -0
  8. package/esm/src/book-2.0/agent-source/parseAgentSource/ParsedAgentProfile.d.ts +1 -1
  9. package/esm/src/book-2.0/book-language-documentation/BookLanguageDocumentationExample.d.ts +5 -13
  10. package/esm/src/book-2.0/book-language-documentation/BookLanguageManualDictionary.d.ts +195 -0
  11. package/esm/src/book-2.0/book-language-documentation/bookLanguageDocumentationExamples.d.ts +2 -1
  12. package/esm/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +43 -1
  13. package/esm/src/book-2.0/book-language-documentation/czechBookLanguageManualDictionary.d.ts +10 -0
  14. package/esm/src/book-2.0/book-language-documentation/englishBookLanguageManualDictionary.d.ts +10 -0
  15. package/esm/src/book-2.0/book-language-documentation/getBookLanguageManualCommitmentGroups.d.ts +33 -0
  16. package/esm/src/book-2.0/book-language-documentation/getBookLanguageManualDictionary.d.ts +15 -0
  17. package/esm/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +10 -0
  18. package/esm/src/book-2.0/book-language-documentation/renderCommitmentCatalogSection.d.ts +30 -0
  19. package/esm/src/book-2.0/book-language-documentation/renderGroupedCommitmentDocumentationMarkdown.d.ts +2 -1
  20. package/esm/src/book-2.0/book-language-documentation/toStableAnchorId.d.ts +12 -0
  21. package/esm/src/book-3.0/AgentMessageRunReport.d.ts +78 -0
  22. package/esm/src/book-3.0/agentFolderPaths.d.ts +9 -0
  23. package/esm/src/book-3.0/codexLoginMethod.d.ts +38 -0
  24. package/esm/src/book-components/BookEditor/BookEditorSyntaxTokenStyles.d.ts +39 -0
  25. package/esm/src/book-components/BookEditor/createBookSourceHighlightStyles.d.ts +12 -0
  26. package/esm/src/book-components/BookEditor/highlightBookSourceToHtml.d.ts +20 -0
  27. package/esm/src/book-components/Chat/Chat/ChatCitationModal.d.ts +5 -0
  28. package/esm/src/book-components/Chat/Chat/ChatCitationModal.test.d.ts +2 -0
  29. package/esm/src/book-components/Chat/Chat/ChatFeedbackStar.d.ts +37 -0
  30. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  31. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  32. package/esm/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +5 -0
  33. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +13 -0
  34. package/esm/src/book-components/Chat/Chat/ChatRatingModal.test.d.ts +2 -0
  35. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +25 -2
  36. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.d.ts +39 -0
  37. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.test.d.ts +2 -0
  38. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreviewToolbar.d.ts +71 -0
  39. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputEvent.d.ts +72 -0
  40. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.d.ts +64 -0
  41. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.test.d.ts +1 -0
  42. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewSessionState.d.ts +14 -0
  43. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewViewport.d.ts +37 -0
  44. package/esm/src/book-components/Chat/Chat/pagePreview/createPagePreviewSessionId.d.ts +20 -0
  45. package/esm/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.d.ts +13 -0
  46. package/esm/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.test.d.ts +1 -0
  47. package/esm/src/book-components/Chat/Chat/resolveChatRatingMessageKey.d.ts +8 -0
  48. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -0
  49. package/esm/src/book-components/Chat/SourceChip/SourceChip.test.d.ts +2 -0
  50. package/esm/src/book-components/Chat/hooks/useResolvedCitationLabel.test.d.ts +2 -0
  51. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +78 -0
  52. package/esm/src/book-components/Chat/utils/resolveCitationSourceDisplay.d.ts +149 -0
  53. package/esm/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +9 -0
  54. package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -2
  55. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +1 -0
  56. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.test.d.ts +1 -0
  57. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +1 -1
  58. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +1 -1
  59. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +1 -1
  60. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +1 -1
  61. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +1 -1
  62. package/esm/src/cli/cli-commands/coder/add.d.ts +36 -0
  63. package/esm/src/cli/cli-commands/coder/add.test.d.ts +1 -0
  64. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +24 -0
  65. package/esm/src/cli/cli-commands/coder.d.ts +1 -0
  66. package/esm/src/cli/cli-commands/common/createNonNegativeIntegerOptionParser.d.ts +10 -0
  67. package/esm/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +9 -0
  68. package/esm/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +9 -0
  69. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +10 -0
  70. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +13 -0
  71. package/esm/src/cli/cli-commands/common/harness/$installHarness.d.ts +13 -0
  72. package/esm/src/cli/cli-commands/common/harness/$resolveInstalledHarnessVersion.d.ts +10 -0
  73. package/esm/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts +10 -0
  74. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +40 -0
  75. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.test.d.ts +1 -0
  76. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +35 -0
  77. package/esm/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +10 -0
  78. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +11 -0
  79. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts +1 -0
  80. package/esm/src/cli/cli-commands/common/harness/formatHarnessInstallationWarning.d.ts +7 -0
  81. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +9 -0
  82. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts +1 -0
  83. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.d.ts +18 -0
  84. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.test.d.ts +1 -0
  85. package/esm/src/commitments/META/META.d.ts +2 -0
  86. package/esm/src/commitments/META_THINKING_MESSAGE/META_THINKING_MESSAGE.d.ts +26 -0
  87. package/esm/src/commitments/index.d.ts +2 -1
  88. package/esm/src/execution/utils/formatUsagePrice.d.ts +12 -0
  89. package/esm/src/execution/utils/formatUsagePrice.test.d.ts +1 -0
  90. package/esm/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
  91. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +16 -0
  92. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.test.d.ts +1 -0
  93. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +104 -0
  94. package/esm/src/utils/agents/terminalAgentAvatarVisual.test.d.ts +1 -0
  95. package/esm/src/utils/html/escapeHtml.d.ts +9 -0
  96. package/esm/src/utils/markdown/shiftMarkdownHeadingLevels.d.ts +15 -0
  97. package/esm/src/version.d.ts +1 -1
  98. package/package.json +2 -2
  99. package/umd/index.umd.js +84 -2
  100. package/umd/index.umd.js.map +1 -1
  101. package/umd/src/_packages/components.index.d.ts +8 -0
  102. package/umd/src/_packages/core.index.d.ts +4 -0
  103. package/umd/src/_packages/types.index.d.ts +12 -0
  104. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +7 -0
  105. package/umd/src/book-2.0/agent-source/parseAgentSource/ParsedAgentProfile.d.ts +1 -1
  106. package/umd/src/book-2.0/book-language-documentation/BookLanguageDocumentationExample.d.ts +5 -13
  107. package/umd/src/book-2.0/book-language-documentation/BookLanguageManualDictionary.d.ts +195 -0
  108. package/umd/src/book-2.0/book-language-documentation/bookLanguageDocumentationExamples.d.ts +2 -1
  109. package/umd/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +43 -1
  110. package/umd/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.test.d.ts +1 -0
  111. package/umd/src/book-2.0/book-language-documentation/czechBookLanguageManualDictionary.d.ts +10 -0
  112. package/umd/src/book-2.0/book-language-documentation/englishBookLanguageManualDictionary.d.ts +10 -0
  113. package/umd/src/book-2.0/book-language-documentation/getBookLanguageManualCommitmentGroups.d.ts +33 -0
  114. package/umd/src/book-2.0/book-language-documentation/getBookLanguageManualDictionary.d.ts +15 -0
  115. package/umd/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +10 -0
  116. package/umd/src/book-2.0/book-language-documentation/renderCommitmentCatalogSection.d.ts +30 -0
  117. package/umd/src/book-2.0/book-language-documentation/renderGroupedCommitmentDocumentationMarkdown.d.ts +2 -1
  118. package/umd/src/book-2.0/book-language-documentation/toStableAnchorId.d.ts +12 -0
  119. package/umd/src/book-3.0/AgentMessageRunReport.d.ts +78 -0
  120. package/umd/src/book-3.0/AgentMessageRunReport.test.d.ts +1 -0
  121. package/umd/src/book-3.0/agentFolderPaths.d.ts +9 -0
  122. package/umd/src/book-3.0/codexLoginMethod.d.ts +38 -0
  123. package/umd/src/book-components/BookEditor/BookEditorSyntaxTokenStyles.d.ts +39 -0
  124. package/umd/src/book-components/BookEditor/createBookSourceHighlightStyles.d.ts +12 -0
  125. package/umd/src/book-components/BookEditor/highlightBookSourceToHtml.d.ts +20 -0
  126. package/umd/src/book-components/Chat/Chat/ChatCitationModal.d.ts +5 -0
  127. package/umd/src/book-components/Chat/Chat/ChatCitationModal.test.d.ts +2 -0
  128. package/umd/src/book-components/Chat/Chat/ChatFeedbackStar.d.ts +37 -0
  129. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  130. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  131. package/umd/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +5 -0
  132. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +13 -0
  133. package/umd/src/book-components/Chat/Chat/ChatRatingModal.test.d.ts +2 -0
  134. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +25 -2
  135. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.d.ts +39 -0
  136. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.test.d.ts +2 -0
  137. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreviewToolbar.d.ts +71 -0
  138. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputEvent.d.ts +72 -0
  139. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.d.ts +64 -0
  140. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.test.d.ts +1 -0
  141. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewSessionState.d.ts +14 -0
  142. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewViewport.d.ts +37 -0
  143. package/umd/src/book-components/Chat/Chat/pagePreview/createPagePreviewSessionId.d.ts +20 -0
  144. package/umd/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.d.ts +13 -0
  145. package/umd/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.test.d.ts +1 -0
  146. package/umd/src/book-components/Chat/Chat/resolveChatRatingMessageKey.d.ts +8 -0
  147. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -0
  148. package/umd/src/book-components/Chat/SourceChip/SourceChip.test.d.ts +2 -0
  149. package/umd/src/book-components/Chat/hooks/useResolvedCitationLabel.test.d.ts +2 -0
  150. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +78 -0
  151. package/umd/src/book-components/Chat/utils/resolveCitationSourceDisplay.d.ts +149 -0
  152. package/umd/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +9 -0
  153. package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -2
  154. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +1 -0
  155. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.test.d.ts +1 -0
  156. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +1 -1
  157. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +1 -1
  158. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +1 -1
  159. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +1 -1
  160. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +1 -1
  161. package/umd/src/cli/cli-commands/coder/add.d.ts +36 -0
  162. package/umd/src/cli/cli-commands/coder/add.test.d.ts +1 -0
  163. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +24 -0
  164. package/umd/src/cli/cli-commands/coder.d.ts +1 -0
  165. package/umd/src/cli/cli-commands/common/createNonNegativeIntegerOptionParser.d.ts +10 -0
  166. package/umd/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +9 -0
  167. package/umd/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +9 -0
  168. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +10 -0
  169. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +13 -0
  170. package/umd/src/cli/cli-commands/common/harness/$installHarness.d.ts +13 -0
  171. package/umd/src/cli/cli-commands/common/harness/$resolveInstalledHarnessVersion.d.ts +10 -0
  172. package/umd/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts +10 -0
  173. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +40 -0
  174. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.test.d.ts +1 -0
  175. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +35 -0
  176. package/umd/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +10 -0
  177. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +11 -0
  178. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts +1 -0
  179. package/umd/src/cli/cli-commands/common/harness/formatHarnessInstallationWarning.d.ts +7 -0
  180. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +9 -0
  181. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts +1 -0
  182. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.d.ts +18 -0
  183. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.test.d.ts +1 -0
  184. package/umd/src/commitments/META/META.d.ts +2 -0
  185. package/umd/src/commitments/META_THINKING_MESSAGE/META_THINKING_MESSAGE.d.ts +26 -0
  186. package/umd/src/commitments/index.d.ts +2 -1
  187. package/umd/src/execution/utils/formatUsagePrice.d.ts +12 -0
  188. package/umd/src/execution/utils/formatUsagePrice.test.d.ts +1 -0
  189. package/umd/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
  190. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +16 -0
  191. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.test.d.ts +1 -0
  192. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +104 -0
  193. package/umd/src/utils/agents/terminalAgentAvatarVisual.test.d.ts +1 -0
  194. package/umd/src/utils/html/escapeHtml.d.ts +9 -0
  195. package/umd/src/utils/markdown/shiftMarkdownHeadingLevels.d.ts +15 -0
  196. package/umd/src/version.d.ts +1 -1
  197. package/esm/src/book-2.0/book-language-documentation/bookLanguageCommonPitfalls.d.ts +0 -25
  198. package/esm/src/book-components/_common/react-utils/escapeHtml.d.ts +0 -6
  199. package/umd/src/book-2.0/book-language-documentation/bookLanguageCommonPitfalls.d.ts +0 -25
  200. package/umd/src/book-components/_common/react-utils/escapeHtml.d.ts +0 -6
  201. /package/esm/src/{executables/browsers/locateInternetExplorer.test.d.ts → book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.test.d.ts} +0 -0
  202. /package/{umd/src/executables/browsers/locateInternetExplorer.test.d.ts → esm/src/book-3.0/AgentMessageRunReport.test.d.ts} +0 -0
package/README.md CHANGED
@@ -26,15 +26,16 @@ Create persistent AI agents that turn your company's scattered knowledge into ac
26
26
  Run the standalone VPS installer _(for example on DigitalOcean)_ only on a fresh server. Interactive mode asks for the installation values:
27
27
 
28
28
  ```bash
29
- sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash
29
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash
30
30
  ```
31
31
 
32
- 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:
32
+ Non-interactive mode takes defaults from command-line options. Use `--env live`, `--env preview`, `--env production`, or `--env lts` to pick the installed environment; the default is `preview`. 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:
33
33
 
34
34
  ```bash
35
- sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash -s -- \
35
+ sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash -s -- \
36
36
  --non-interactive \
37
37
  --yes-i-understand-that-script-should-be-run-on-fresh-server \
38
+ --env preview \
38
39
  --domain my-server.com \
39
40
  --openai-api-key sk-proj-xxx \
40
41
  --admin-password xxx
package/esm/index.es.js CHANGED
@@ -38,7 +38,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
38
38
  * @generated
39
39
  * @see https://github.com/webgptorg/promptbook
40
40
  */
41
- const PROMPTBOOK_ENGINE_VERSION = '0.113.0-9';
41
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-0';
42
42
  /**
43
43
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
44
44
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -20765,6 +20765,7 @@ class MessageSuffixCommitmentDefinition extends BaseCommitmentDefinition {
20765
20765
  * - META TITLE: Sets the agent's display title
20766
20766
  * - META DESCRIPTION: Sets the agent's description
20767
20767
  * - META INPUT PLACEHOLDER: Sets chat input placeholder text
20768
+ * - META THINKING MESSAGE: Adds custom thinking placeholder variants
20768
20769
  * - META [ANYTHING]: Any other meta information in uppercase format
20769
20770
  *
20770
20771
  * These commitments are special because they don't affect the system message,
@@ -20780,6 +20781,7 @@ class MessageSuffixCommitmentDefinition extends BaseCommitmentDefinition {
20780
20781
  * META TITLE Professional Assistant
20781
20782
  * META DESCRIPTION An AI assistant specialized in business tasks
20782
20783
  * META INPUT PLACEHOLDER Write a message...
20784
+ * META THINKING MESSAGE Thinking...
20783
20785
  * META AUTHOR John Doe
20784
20786
  * META VERSION 1.0
20785
20787
  * ```
@@ -20820,6 +20822,7 @@ class MetaCommitmentDefinition extends BaseCommitmentDefinition {
20820
20822
  - **META TITLE** - Sets the agent's display title
20821
20823
  - **META DESCRIPTION** - Sets the agent's description
20822
20824
  - **META INPUT PLACEHOLDER** - Sets chat input placeholder text
20825
+ - **META THINKING MESSAGE** - Adds custom thinking placeholder variants
20823
20826
  - **META [ANYTHING]** - Any other meta information in uppercase format
20824
20827
 
20825
20828
  ## Key aspects
@@ -20828,6 +20831,7 @@ class MetaCommitmentDefinition extends BaseCommitmentDefinition {
20828
20831
  - Used for visual representation and attribution in user interfaces
20829
20832
  - Multiple META commitments of different types can be used
20830
20833
  - Multiple META LINK commitments can be used for different social profiles
20834
+ - Multiple META THINKING MESSAGE commitments can be used for different thinking placeholder variants
20831
20835
  - If multiple META commitments of the same type are specified, the last one takes precedence (except for LINK)
20832
20836
 
20833
20837
  ## Examples
@@ -27626,6 +27630,68 @@ class MetaLinkCommitmentDefinition extends BaseCommitmentDefinition {
27626
27630
  }
27627
27631
  // Note: [💞] Ignore a discrepancy between file name and entity name
27628
27632
 
27633
+ /**
27634
+ * META THINKING MESSAGE commitment definition.
27635
+ *
27636
+ * The `META THINKING MESSAGE` commitment adds one custom thinking placeholder
27637
+ * variant used by chat UIs while an agent is composing a reply.
27638
+ *
27639
+ * @private Metadata-only commitment used by Agents Server chat UIs.
27640
+ */
27641
+ class MetaThinkingMessageCommitmentDefinition extends BaseCommitmentDefinition {
27642
+ constructor() {
27643
+ super('META THINKING MESSAGE');
27644
+ }
27645
+ /**
27646
+ * Short one-line description of META THINKING MESSAGE.
27647
+ */
27648
+ get description() {
27649
+ return 'Add a custom thinking placeholder shown while the agent replies.';
27650
+ }
27651
+ /**
27652
+ * Icon for this commitment.
27653
+ */
27654
+ get icon() {
27655
+ return '💭';
27656
+ }
27657
+ /**
27658
+ * Markdown documentation for META THINKING MESSAGE commitment.
27659
+ */
27660
+ get documentation() {
27661
+ return spaceTrim$1(`
27662
+ # META THINKING MESSAGE
27663
+
27664
+ Adds one custom placeholder variant shown while the agent is composing a reply.
27665
+
27666
+ ## Key aspects
27667
+
27668
+ - Does not modify model behavior, system message, or tools.
27669
+ - Multiple \`META THINKING MESSAGE\` commitments define multiple variants.
27670
+ - Chat UIs randomly rotate between the configured variants while the reply is running.
27671
+ - When no non-empty variants are configured, the server-level \`THINKING_MESSAGES\` metadata is used.
27672
+ - Supports multiline markdown content.
27673
+
27674
+ ## Example
27675
+
27676
+ \`\`\`book
27677
+ Helpful Assistant
27678
+
27679
+ META THINKING MESSAGE Thinking...
27680
+ META THINKING MESSAGE Processing...
27681
+ META THINKING MESSAGE
27682
+
27683
+ Doing
27684
+ extra **hard** work
27685
+ \`\`\`
27686
+ `);
27687
+ }
27688
+ applyToAgentModelRequirements(requirements, content) {
27689
+ // META THINKING MESSAGE is metadata only and does not alter model requirements.
27690
+ return requirements;
27691
+ }
27692
+ }
27693
+ // Note: [💞] Ignore a discrepancy between file name and entity name
27694
+
27629
27695
  /**
27630
27696
  * META VISIBILITY commitment definition.
27631
27697
  *
@@ -29704,6 +29770,7 @@ class UseBrowserCommitmentDefinition extends BaseCommitmentDefinition {
29704
29770
  1. **One-shot URL fetching**: Simple function to fetch and scrape URL content (active)
29705
29771
  2. **Running browser**: For complex tasks like scrolling, clicking, form filling, etc. (runtime-dependent)
29706
29772
  - The actual browser tool usage is handled by the agent runtime
29773
+ - On the Agents Server, every agent browses in its own persistent isolated browser profile, so cookies and logged-in sessions survive across chats (the profile is linked from the agent wallet)
29707
29774
  - Allows the agent to fetch current information from websites and documents
29708
29775
  - Useful for research tasks, fact-checking, and accessing dynamic content
29709
29776
  - Supports various content types including HTML pages and PDF documents
@@ -36201,6 +36268,7 @@ const COMMITMENT_REGISTRY = [
36201
36268
  new MetaDomainCommitmentDefinition(),
36202
36269
  new MetaDisclaimerCommitmentDefinition(),
36203
36270
  new MetaInputPlaceholderCommitmentDefinition(),
36271
+ new MetaThinkingMessageCommitmentDefinition(),
36204
36272
  new MetaVisibilityCommitmentDefinition(),
36205
36273
  new MetaCommitmentDefinition(),
36206
36274
  new MetaVoiceCommitmentDefinition(),
@@ -37552,6 +37620,7 @@ const META_COMMITMENT_APPLIERS = {
37552
37620
  'META DESCRIPTION': applyMetaDescriptionContent,
37553
37621
  'META DISCLAIMER': applyMetaDisclaimerContent,
37554
37622
  'META INPUT PLACEHOLDER': applyMetaInputPlaceholderContent,
37623
+ 'META THINKING MESSAGE': applyMetaThinkingMessageContent,
37555
37624
  'MESSAGE SUFFIX': applyMessageSuffixContent,
37556
37625
  'META COLOR': applyMetaColorContent,
37557
37626
  'META FONT': applyMetaFontContent,
@@ -37642,6 +37711,16 @@ function applyMetaDisclaimerContent(state, content) {
37642
37711
  function applyMetaInputPlaceholderContent(state, content) {
37643
37712
  state.meta.inputPlaceholder = spaceTrim$1(content);
37644
37713
  }
37714
+ /**
37715
+ * Applies one META THINKING MESSAGE content block into the custom thinking-message variants.
37716
+ */
37717
+ function applyMetaThinkingMessageContent(state, content) {
37718
+ const thinkingMessage = spaceTrim$1(content);
37719
+ if (!thinkingMessage) {
37720
+ return;
37721
+ }
37722
+ state.thinkingMessages = [...(state.thinkingMessages || []), thinkingMessage];
37723
+ }
37645
37724
  /**
37646
37725
  * Applies MESSAGE SUFFIX content into the canonical `meta.messageSuffix` field.
37647
37726
  */
@@ -38010,6 +38089,7 @@ function extractParsedAgentProfile(commitments) {
38010
38089
  capabilities: [],
38011
38090
  samples: [],
38012
38091
  knowledgeSources: [],
38092
+ thinkingMessages: [],
38013
38093
  pendingUserMessage: null,
38014
38094
  knownKnowledgeSourceUrls: new Set(),
38015
38095
  };
@@ -38022,6 +38102,7 @@ function extractParsedAgentProfile(commitments) {
38022
38102
  capabilities: state.capabilities,
38023
38103
  samples: state.samples,
38024
38104
  knowledgeSources: state.knowledgeSources,
38105
+ thinkingMessages: state.thinkingMessages,
38025
38106
  };
38026
38107
  }
38027
38108
  /**
@@ -38061,6 +38142,7 @@ function parseAgentSource(agentSource) {
38061
38142
  permanentId: parsedProfile.meta.id,
38062
38143
  personaDescription,
38063
38144
  initialMessage,
38145
+ thinkingMessages: parsedProfile.thinkingMessages,
38064
38146
  meta: parsedProfile.meta,
38065
38147
  links: parsedProfile.links,
38066
38148
  parameters: parseParameters(agentSource),
@@ -40990,7 +41072,7 @@ async function locateAppOnWindows({ appName, windowsSuffix, }) {
40990
41072
  *
40991
41073
  * @private within the repository
40992
41074
  */
40993
- function locateApp(options) {
41075
+ async function locateApp(options) {
40994
41076
  if (!$isRunningInNode()) {
40995
41077
  throw new EnvironmentMismatchError('Locating apps works only in Node.js environment');
40996
41078
  }