@promptbook/javascript 0.111.0-7 → 0.112.0-11

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 (467) hide show
  1. package/esm/index.es.js +14 -7
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/src/_packages/components.index.d.ts +2 -0
  4. package/esm/src/_packages/core.index.d.ts +26 -0
  5. package/esm/src/_packages/markdown-utils.index.d.ts +5 -5
  6. package/esm/src/_packages/types.index.d.ts +250 -228
  7. package/esm/src/_packages/utils.index.d.ts +2 -0
  8. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +4 -1
  9. package/esm/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -1
  10. package/esm/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +2 -2
  11. package/esm/src/book-2.0/agent-source/createAgentModelRequirements.writing.test.d.ts +1 -0
  12. package/esm/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.knowledge.test.d.ts +1 -0
  13. package/esm/src/book-2.0/agent-source/createTeamToolName.d.ts +12 -0
  14. package/esm/src/book-2.0/agent-source/extractOpenTeacherInstructions.d.ts +12 -0
  15. package/esm/src/book-2.0/agent-source/extractOpenTeacherInstructions.test.d.ts +1 -0
  16. package/esm/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +38 -0
  17. package/esm/src/book-2.0/agent-source/parseAgentSourceWithCommitments.d.ts +3 -0
  18. package/esm/src/book-2.0/agent-source/parseAgentSourceWithCommitments.title.test.d.ts +1 -0
  19. package/esm/src/book-2.0/agent-source/pseudoAgentReferences.d.ts +110 -0
  20. package/esm/src/book-2.0/agent-source/removeCommentsFromSystemMessage.d.ts +2 -2
  21. package/esm/src/book-components/BookEditor/BookEditor.d.ts +15 -0
  22. package/esm/src/book-components/BookEditor/BookEditorActionbar.d.ts +2 -0
  23. package/esm/src/book-components/BookEditor/BookEditorMonacoConstants.d.ts +1 -0
  24. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +14 -7
  25. package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.test.d.ts +1 -0
  26. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.d.ts +28 -0
  27. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.test.d.ts +1 -0
  28. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +27 -0
  29. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.test.d.ts +1 -0
  30. package/esm/src/book-components/Chat/AgentChat/AgentChatProps.d.ts +5 -0
  31. package/esm/src/book-components/Chat/Chat/ChatActionsBar.d.ts +1 -0
  32. package/esm/src/book-components/Chat/Chat/ChatInputArea.d.ts +2 -0
  33. package/esm/src/book-components/Chat/Chat/ChatInputArea.test.d.ts +2 -0
  34. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +6 -1
  35. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +3 -0
  36. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +56 -0
  37. package/esm/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +11 -0
  38. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +32 -0
  39. package/esm/src/book-components/Chat/Chat/chatCssClassNames.d.ts +41 -0
  40. package/esm/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +44 -0
  41. package/esm/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +36 -0
  42. package/esm/src/book-components/Chat/CodeBlock/CodeBlock.d.ts +5 -0
  43. package/esm/src/book-components/Chat/CodeBlock/resolveCodeBlockLanguage.d.ts +18 -0
  44. package/esm/src/book-components/Chat/CodeBlock/resolveCodeBlockLanguage.test.d.ts +1 -0
  45. package/esm/src/book-components/Chat/LlmChat/LlmChatProps.d.ts +16 -0
  46. package/esm/src/book-components/Chat/hooks/useChatAutoScroll.d.ts +1 -1
  47. package/esm/src/book-components/Chat/hooks/useChatAutoScroll.test.d.ts +1 -0
  48. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +16 -0
  49. package/esm/src/book-components/Chat/utils/ChatPersistence.d.ts +16 -0
  50. package/esm/src/book-components/Chat/utils/ChatPersistence.test.d.ts +4 -0
  51. package/esm/src/book-components/Chat/utils/createTeamToolNameFromUrl.d.ts +2 -2
  52. package/esm/src/book-components/Chat/utils/parseMessageButtons.d.ts +22 -5
  53. package/esm/src/book-components/Chat/utils/parseMessageButtons.test.d.ts +1 -0
  54. package/esm/src/book-components/Chat/utils/resolveToolCallFromChatMessages.d.ts +13 -0
  55. package/esm/src/book-components/Chat/utils/resolveToolCallState.d.ts +10 -0
  56. package/esm/src/book-components/Chat/utils/sanitizeStreamingMessageContent.d.ts +29 -1
  57. package/esm/src/book-components/Chat/utils/splitMessageContentIntoSegments.d.ts +16 -3
  58. package/esm/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +24 -0
  59. package/esm/src/book-components/Chat/utils/thinkingMessageVariants.test.d.ts +1 -0
  60. package/esm/src/book-components/Chat/utils/toolCallParsing/RunBrowserToolResult.d.ts +50 -0
  61. package/esm/src/book-components/Chat/utils/toolCallParsing/TeamToolResult.d.ts +30 -0
  62. package/esm/src/book-components/Chat/utils/toolCallParsing/extractSearchResults.d.ts +19 -0
  63. package/esm/src/book-components/Chat/utils/toolCallParsing/getToolCallResultDate.d.ts +9 -0
  64. package/esm/src/book-components/Chat/utils/toolCallParsing/getToolCallTimestamp.d.ts +9 -0
  65. package/esm/src/book-components/Chat/utils/toolCallParsing/parseRunBrowserToolResult.d.ts +10 -0
  66. package/esm/src/book-components/Chat/utils/toolCallParsing/parseTeamToolResult.d.ts +10 -0
  67. package/esm/src/book-components/Chat/utils/toolCallParsing/parseToolCallArguments.d.ts +10 -0
  68. package/esm/src/book-components/Chat/utils/toolCallParsing/parseToolCallResult.d.ts +10 -0
  69. package/esm/src/book-components/Chat/utils/toolCallParsing/resolveRunBrowserArtifactUrl.d.ts +8 -0
  70. package/esm/src/book-components/Chat/utils/toolCallParsing.d.ts +10 -68
  71. package/esm/src/book-components/Chat/utils/toolCallParsing.test.d.ts +1 -0
  72. package/esm/src/book-components/Chat/utils/walletCredentialToolCall.d.ts +52 -0
  73. package/esm/src/book-components/Chat/utils/walletCredentialToolCall.test.d.ts +1 -0
  74. package/esm/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +14 -0
  75. package/esm/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +3 -0
  76. package/esm/src/book-components/_common/MonacoEditorWithShadowDom.d.ts +17 -0
  77. package/esm/src/book-components/icons/ArrowIcon.d.ts +30 -5
  78. package/esm/src/book-components/icons/SolidArrowButton.d.ts +28 -0
  79. package/esm/src/book-components/icons/StopIcon.d.ts +8 -0
  80. package/esm/src/cli/cli-commands/coder/find-fresh-emoji-tag.d.ts +14 -0
  81. package/esm/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +14 -0
  82. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +14 -0
  83. package/esm/src/cli/cli-commands/coder/run.d.ts +14 -0
  84. package/esm/src/cli/cli-commands/coder/verify.d.ts +14 -0
  85. package/esm/src/cli/cli-commands/coder.d.ts +21 -0
  86. package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +59 -0
  87. package/esm/src/collection/agent-collection/CreateAgentInput.test.d.ts +1 -0
  88. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +52 -8
  89. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema.d.ts +6 -3
  90. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +36 -0
  91. package/esm/src/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +0 -3
  92. package/esm/src/commitments/MEMORY/MEMORY.d.ts +4 -59
  93. package/esm/src/commitments/MEMORY/MemoryToolNames.d.ts +11 -0
  94. package/esm/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +149 -0
  95. package/esm/src/commitments/MEMORY/createMemorySystemMessage.d.ts +6 -0
  96. package/esm/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +8 -0
  97. package/esm/src/commitments/MEMORY/createMemoryTools.d.ts +14 -0
  98. package/esm/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +6 -0
  99. package/esm/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +17 -0
  100. package/esm/src/commitments/MEMORY/getMemoryToolTitles.d.ts +7 -0
  101. package/esm/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +61 -0
  102. package/esm/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +8 -0
  103. package/esm/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +13 -0
  104. package/esm/src/commitments/MESSAGE/InternalMessageCommitmentDefinition.d.ts +33 -0
  105. package/esm/src/commitments/MESSAGE/MESSAGE.d.ts +2 -2
  106. package/esm/src/commitments/META/META.d.ts +4 -0
  107. package/esm/src/commitments/META_DOMAIN/META_DOMAIN.d.ts +33 -0
  108. package/esm/src/commitments/META_INPUT_PLACEHOLDER/META_INPUT_PLACEHOLDER.d.ts +33 -0
  109. package/esm/src/commitments/META_VOICE/META_VOICE.d.ts +39 -0
  110. package/esm/src/commitments/SAMPLE/SAMPLE.d.ts +13 -13
  111. package/esm/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +1 -1
  112. package/esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +10 -0
  113. package/esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts +1 -0
  114. package/esm/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +4 -11
  115. package/esm/src/commitments/USE_EMAIL/USE_EMAIL.test.d.ts +1 -0
  116. package/esm/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +21 -0
  117. package/esm/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts +1 -0
  118. package/esm/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +2 -7
  119. package/esm/src/commitments/USE_POPUP/USE_POPUP.d.ts +49 -0
  120. package/esm/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +39 -0
  121. package/esm/src/commitments/USE_PRIVACY/USE_PRIVACY.test.d.ts +1 -0
  122. package/esm/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +42 -0
  123. package/esm/src/commitments/USE_PROJECT/USE_PROJECT.test.d.ts +1 -0
  124. package/esm/src/commitments/USE_PROJECT/UseProjectToolNames.d.ts +13 -0
  125. package/esm/src/commitments/USE_PROJECT/UseProjectWallet.d.ts +9 -0
  126. package/esm/src/commitments/USE_PROJECT/callGitHubApi.d.ts +69 -0
  127. package/esm/src/commitments/USE_PROJECT/createUseProjectToolFunctions.d.ts +8 -0
  128. package/esm/src/commitments/USE_PROJECT/createUseProjectTools.d.ts +7 -0
  129. package/esm/src/commitments/USE_PROJECT/getUseProjectToolTitles.d.ts +7 -0
  130. package/esm/src/commitments/USE_PROJECT/normalizeConfiguredProjects.d.ts +16 -0
  131. package/esm/src/commitments/USE_PROJECT/normalizeOptionalToolText.d.ts +12 -0
  132. package/esm/src/commitments/USE_PROJECT/projectReference.d.ts +52 -0
  133. package/esm/src/commitments/USE_PROJECT/projectReference.test.d.ts +1 -0
  134. package/esm/src/commitments/USE_PROJECT/resolveUseProjectToolRuntimeOrWalletCredentialResult.d.ts +34 -0
  135. package/esm/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +41 -0
  136. package/esm/src/commitments/USE_SPAWN/USE_SPAWN.test.d.ts +1 -0
  137. package/esm/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +9 -0
  138. package/esm/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +12 -0
  139. package/esm/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +9 -0
  140. package/esm/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +90 -0
  141. package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +41 -0
  142. package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts +1 -0
  143. package/esm/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +6 -0
  144. package/esm/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +8 -0
  145. package/esm/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +7 -0
  146. package/esm/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +17 -0
  147. package/esm/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +34 -0
  148. package/esm/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +8 -0
  149. package/esm/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +13 -0
  150. package/esm/src/commitments/WALLET/WALLET.d.ts +24 -0
  151. package/esm/src/commitments/WALLET/WALLET.test.d.ts +1 -0
  152. package/esm/src/commitments/WALLET/WalletToolNames.d.ts +12 -0
  153. package/esm/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +163 -0
  154. package/esm/src/commitments/WALLET/createWalletSystemMessage.d.ts +6 -0
  155. package/esm/src/commitments/WALLET/createWalletToolFunctions.d.ts +8 -0
  156. package/esm/src/commitments/WALLET/createWalletTools.d.ts +7 -0
  157. package/esm/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +6 -0
  158. package/esm/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +16 -0
  159. package/esm/src/commitments/WALLET/getWalletToolTitles.d.ts +7 -0
  160. package/esm/src/commitments/WALLET/parseWalletToolArgs.d.ts +51 -0
  161. package/esm/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +8 -0
  162. package/esm/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +13 -0
  163. package/esm/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +29 -0
  164. package/esm/src/commitments/WRITING_SAMPLE/WRITING_SAMPLE.d.ts +29 -0
  165. package/esm/src/commitments/_base/BaseCommitmentDefinition.d.ts +12 -0
  166. package/esm/src/commitments/_base/CommitmentDefinition.d.ts +23 -0
  167. package/esm/src/commitments/_common/createWritingCommitmentSections.d.ts +19 -0
  168. package/esm/src/commitments/_common/getGroupedCommitmentDefinitions.writing.test.d.ts +1 -0
  169. package/esm/src/commitments/_common/toolExecutionEnvelope.d.ts +22 -0
  170. package/esm/src/commitments/_common/toolRuntimeContext.d.ts +90 -0
  171. package/esm/src/commitments/index.d.ts +12 -1
  172. package/esm/src/config.d.ts +3 -0
  173. package/esm/src/errors/0-index.d.ts +3 -0
  174. package/esm/src/errors/ConflictError.d.ts +9 -0
  175. package/esm/src/execution/LlmExecutionTools.d.ts +12 -1
  176. package/esm/src/execution/Usage.d.ts +4 -0
  177. package/esm/src/execution/utils/usageToHuman.d.ts +1 -0
  178. package/esm/src/file-security-checkers/FileSecurityCheckResult.d.ts +32 -0
  179. package/esm/src/file-security-checkers/FileSecurityChecker.d.ts +34 -0
  180. package/esm/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +36 -0
  181. package/esm/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.test.d.ts +1 -0
  182. package/esm/src/llm-providers/agent/Agent.d.ts +2 -2
  183. package/esm/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +2 -2
  184. package/esm/src/llm-providers/agent/RemoteAgent.d.ts +2 -1
  185. package/esm/src/llm-providers/agent/self-learning/SelfLearningManager.test.d.ts +1 -0
  186. package/esm/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +3 -1
  187. package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +33 -3
  188. package/esm/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +2 -2
  189. package/esm/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +2 -2
  190. package/esm/src/llm-providers/openai/computeOpenAiUsage.d.ts +3 -1
  191. package/esm/src/playground/playground.d.ts +1 -0
  192. package/esm/src/speech-recognition/OpenAiSpeechRecognition.d.ts +49 -1
  193. package/esm/src/types/SpeechRecognition.d.ts +14 -0
  194. package/esm/src/types/ToolCall.d.ts +56 -0
  195. package/esm/src/types/number_usd.d.ts +110 -0
  196. package/esm/src/types/string_filename.d.ts +39 -0
  197. package/esm/src/types/string_knowledge_source_content.d.ts +29 -0
  198. package/esm/src/types/string_markdown.d.ts +138 -0
  199. package/esm/src/types/string_parameter_name.d.ts +170 -0
  200. package/esm/src/types/string_person_fullname.d.ts +85 -0
  201. package/esm/src/types/string_sha256.d.ts +44 -0
  202. package/esm/src/types/string_token.d.ts +58 -0
  203. package/esm/src/types/string_url.d.ts +146 -0
  204. package/esm/src/types/typeAliases.d.ts +9 -741
  205. package/esm/src/utils/chat/chatAttachments/appendChatAttachmentContext.d.ts +10 -0
  206. package/esm/src/utils/chat/chatAttachments/appendChatAttachmentContextWithContent.d.ts +14 -0
  207. package/esm/src/utils/chat/chatAttachments/appendChatContextSections.d.ts +6 -0
  208. package/esm/src/utils/chat/chatAttachments/formatChatAttachmentContentContext.d.ts +9 -0
  209. package/esm/src/utils/chat/chatAttachments/formatChatAttachmentContext.d.ts +9 -0
  210. package/esm/src/utils/chat/chatAttachments/normalizeChatAttachments.d.ts +11 -0
  211. package/esm/src/utils/chat/chatAttachments/resolveChatAttachmentContent.d.ts +11 -0
  212. package/esm/src/utils/chat/chatAttachments/resolveChatAttachmentContents.d.ts +10 -0
  213. package/esm/src/utils/chat/chatAttachments.d.ts +54 -0
  214. package/esm/src/utils/chat/chatAttachments.test.d.ts +1 -0
  215. package/esm/src/utils/chat/constants.d.ts +21 -0
  216. package/esm/src/utils/chat/decodeChatStreamWhitespaceFromTransport.d.ts +7 -0
  217. package/esm/src/utils/chat/encodeChatStreamWhitespaceForTransport.d.ts +7 -0
  218. package/esm/src/utils/chat/escapeRegExp.d.ts +6 -0
  219. package/esm/src/utils/database/uniqueConstraint.d.ts +28 -0
  220. package/esm/src/utils/files/decodeAttachmentAsText.d.ts +81 -0
  221. package/esm/src/utils/files/decodeAttachmentAsText.test.d.ts +1 -0
  222. package/esm/src/utils/files/readResponseBytes.d.ts +14 -0
  223. package/esm/src/utils/random/EnglishNamePool.d.ts +9 -1
  224. package/esm/src/utils/toolCalls/getToolCallIdentity.d.ts +1 -1
  225. package/esm/src/utils/toolCalls/mergeToolCalls.d.ts +12 -0
  226. package/esm/src/utils/toolCalls/resolveToolCallIdempotencyKey.d.ts +10 -0
  227. package/esm/src/utils/validators/url/extractUrlsFromText.d.ts +8 -0
  228. package/esm/src/utils/validators/url/extractUrlsFromText.test.d.ts +1 -0
  229. package/esm/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +12 -1
  230. package/esm/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +8 -2
  231. package/esm/src/utils/validators/url/normalizeDomainForMatching.d.ts +11 -0
  232. package/esm/src/utils/validators/url/normalizeDomainForMatching.test.d.ts +1 -0
  233. package/esm/src/version.d.ts +1 -1
  234. package/package.json +2 -2
  235. package/umd/index.umd.js +14 -7
  236. package/umd/index.umd.js.map +1 -1
  237. package/umd/src/_packages/components.index.d.ts +2 -0
  238. package/umd/src/_packages/core.index.d.ts +26 -0
  239. package/umd/src/_packages/markdown-utils.index.d.ts +5 -5
  240. package/umd/src/_packages/types.index.d.ts +250 -228
  241. package/umd/src/_packages/utils.index.d.ts +2 -0
  242. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +4 -1
  243. package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +5 -1
  244. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +2 -2
  245. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.writing.test.d.ts +1 -0
  246. package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.knowledge.test.d.ts +1 -0
  247. package/umd/src/book-2.0/agent-source/createTeamToolName.d.ts +12 -0
  248. package/umd/src/book-2.0/agent-source/extractOpenTeacherInstructions.d.ts +12 -0
  249. package/umd/src/book-2.0/agent-source/extractOpenTeacherInstructions.test.d.ts +1 -0
  250. package/umd/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +38 -0
  251. package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.d.ts +3 -0
  252. package/umd/src/book-2.0/agent-source/parseAgentSourceWithCommitments.title.test.d.ts +1 -0
  253. package/umd/src/book-2.0/agent-source/pseudoAgentReferences.d.ts +110 -0
  254. package/umd/src/book-2.0/agent-source/removeCommentsFromSystemMessage.d.ts +2 -2
  255. package/umd/src/book-components/BookEditor/BookEditor.d.ts +15 -0
  256. package/umd/src/book-components/BookEditor/BookEditorActionbar.d.ts +2 -0
  257. package/umd/src/book-components/BookEditor/BookEditorMonacoConstants.d.ts +1 -0
  258. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +14 -7
  259. package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.test.d.ts +1 -0
  260. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.d.ts +28 -0
  261. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.test.d.ts +1 -0
  262. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +27 -0
  263. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.test.d.ts +1 -0
  264. package/umd/src/book-components/Chat/AgentChat/AgentChatProps.d.ts +5 -0
  265. package/umd/src/book-components/Chat/Chat/ChatActionsBar.d.ts +1 -0
  266. package/umd/src/book-components/Chat/Chat/ChatInputArea.d.ts +2 -0
  267. package/umd/src/book-components/Chat/Chat/ChatInputArea.test.d.ts +2 -0
  268. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +6 -1
  269. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +3 -0
  270. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +56 -0
  271. package/umd/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +11 -0
  272. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +32 -0
  273. package/umd/src/book-components/Chat/Chat/chatCssClassNames.d.ts +41 -0
  274. package/umd/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +44 -0
  275. package/umd/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +36 -0
  276. package/umd/src/book-components/Chat/CodeBlock/CodeBlock.d.ts +5 -0
  277. package/umd/src/book-components/Chat/CodeBlock/resolveCodeBlockLanguage.d.ts +18 -0
  278. package/umd/src/book-components/Chat/CodeBlock/resolveCodeBlockLanguage.test.d.ts +1 -0
  279. package/umd/src/book-components/Chat/LlmChat/LlmChatProps.d.ts +16 -0
  280. package/umd/src/book-components/Chat/hooks/useChatAutoScroll.d.ts +1 -1
  281. package/umd/src/book-components/Chat/hooks/useChatAutoScroll.test.d.ts +1 -0
  282. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +16 -0
  283. package/umd/src/book-components/Chat/utils/ChatPersistence.d.ts +16 -0
  284. package/umd/src/book-components/Chat/utils/ChatPersistence.test.d.ts +4 -0
  285. package/umd/src/book-components/Chat/utils/createTeamToolNameFromUrl.d.ts +2 -2
  286. package/umd/src/book-components/Chat/utils/parseMessageButtons.d.ts +22 -5
  287. package/umd/src/book-components/Chat/utils/parseMessageButtons.test.d.ts +1 -0
  288. package/umd/src/book-components/Chat/utils/resolveToolCallFromChatMessages.d.ts +13 -0
  289. package/umd/src/book-components/Chat/utils/resolveToolCallState.d.ts +10 -0
  290. package/umd/src/book-components/Chat/utils/sanitizeStreamingMessageContent.d.ts +29 -1
  291. package/umd/src/book-components/Chat/utils/splitMessageContentIntoSegments.d.ts +16 -3
  292. package/umd/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +24 -0
  293. package/umd/src/book-components/Chat/utils/thinkingMessageVariants.test.d.ts +1 -0
  294. package/umd/src/book-components/Chat/utils/toolCallParsing/RunBrowserToolResult.d.ts +50 -0
  295. package/umd/src/book-components/Chat/utils/toolCallParsing/TeamToolResult.d.ts +30 -0
  296. package/umd/src/book-components/Chat/utils/toolCallParsing/extractSearchResults.d.ts +19 -0
  297. package/umd/src/book-components/Chat/utils/toolCallParsing/getToolCallResultDate.d.ts +9 -0
  298. package/umd/src/book-components/Chat/utils/toolCallParsing/getToolCallTimestamp.d.ts +9 -0
  299. package/umd/src/book-components/Chat/utils/toolCallParsing/parseRunBrowserToolResult.d.ts +10 -0
  300. package/umd/src/book-components/Chat/utils/toolCallParsing/parseTeamToolResult.d.ts +10 -0
  301. package/umd/src/book-components/Chat/utils/toolCallParsing/parseToolCallArguments.d.ts +10 -0
  302. package/umd/src/book-components/Chat/utils/toolCallParsing/parseToolCallResult.d.ts +10 -0
  303. package/umd/src/book-components/Chat/utils/toolCallParsing/resolveRunBrowserArtifactUrl.d.ts +8 -0
  304. package/umd/src/book-components/Chat/utils/toolCallParsing.d.ts +10 -68
  305. package/umd/src/book-components/Chat/utils/toolCallParsing.test.d.ts +1 -0
  306. package/umd/src/book-components/Chat/utils/walletCredentialToolCall.d.ts +52 -0
  307. package/umd/src/book-components/Chat/utils/walletCredentialToolCall.test.d.ts +1 -0
  308. package/umd/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +14 -0
  309. package/umd/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +3 -0
  310. package/umd/src/book-components/_common/MonacoEditorWithShadowDom.d.ts +17 -0
  311. package/umd/src/book-components/icons/ArrowIcon.d.ts +30 -5
  312. package/umd/src/book-components/icons/SolidArrowButton.d.ts +28 -0
  313. package/umd/src/book-components/icons/StopIcon.d.ts +8 -0
  314. package/umd/src/cli/cli-commands/coder/find-fresh-emoji-tag.d.ts +14 -0
  315. package/umd/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +14 -0
  316. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +14 -0
  317. package/umd/src/cli/cli-commands/coder/run.d.ts +14 -0
  318. package/umd/src/cli/cli-commands/coder/verify.d.ts +14 -0
  319. package/umd/src/cli/cli-commands/coder.d.ts +21 -0
  320. package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +59 -0
  321. package/umd/src/collection/agent-collection/CreateAgentInput.test.d.ts +1 -0
  322. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +52 -8
  323. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema.d.ts +6 -3
  324. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +36 -0
  325. package/umd/src/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +0 -3
  326. package/umd/src/commitments/MEMORY/MEMORY.d.ts +4 -59
  327. package/umd/src/commitments/MEMORY/MemoryToolNames.d.ts +11 -0
  328. package/umd/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +149 -0
  329. package/umd/src/commitments/MEMORY/createMemorySystemMessage.d.ts +6 -0
  330. package/umd/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +8 -0
  331. package/umd/src/commitments/MEMORY/createMemoryTools.d.ts +14 -0
  332. package/umd/src/commitments/MEMORY/getMemoryCommitmentDocumentation.d.ts +6 -0
  333. package/umd/src/commitments/MEMORY/getMemoryToolRuntimeAdapterOrDisabledResult.d.ts +17 -0
  334. package/umd/src/commitments/MEMORY/getMemoryToolTitles.d.ts +7 -0
  335. package/umd/src/commitments/MEMORY/parseMemoryToolArgs.d.ts +61 -0
  336. package/umd/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +8 -0
  337. package/umd/src/commitments/MEMORY/setMemoryToolRuntimeAdapter.d.ts +13 -0
  338. package/umd/src/commitments/MESSAGE/InternalMessageCommitmentDefinition.d.ts +33 -0
  339. package/umd/src/commitments/MESSAGE/MESSAGE.d.ts +2 -2
  340. package/umd/src/commitments/META/META.d.ts +4 -0
  341. package/umd/src/commitments/META_DOMAIN/META_DOMAIN.d.ts +33 -0
  342. package/umd/src/commitments/META_INPUT_PLACEHOLDER/META_INPUT_PLACEHOLDER.d.ts +33 -0
  343. package/umd/src/commitments/META_VOICE/META_VOICE.d.ts +39 -0
  344. package/umd/src/commitments/SAMPLE/SAMPLE.d.ts +13 -13
  345. package/umd/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +1 -1
  346. package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +10 -0
  347. package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.test.d.ts +1 -0
  348. package/umd/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +4 -11
  349. package/umd/src/commitments/USE_EMAIL/USE_EMAIL.test.d.ts +1 -0
  350. package/umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.d.ts +21 -0
  351. package/umd/src/commitments/USE_EMAIL/parseUseEmailCommitmentContent.test.d.ts +1 -0
  352. package/umd/src/commitments/USE_EMAIL/sendEmailViaBrowser.d.ts +2 -7
  353. package/umd/src/commitments/USE_POPUP/USE_POPUP.d.ts +49 -0
  354. package/umd/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +39 -0
  355. package/umd/src/commitments/USE_PRIVACY/USE_PRIVACY.test.d.ts +1 -0
  356. package/umd/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +42 -0
  357. package/umd/src/commitments/USE_PROJECT/USE_PROJECT.test.d.ts +1 -0
  358. package/umd/src/commitments/USE_PROJECT/UseProjectToolNames.d.ts +13 -0
  359. package/umd/src/commitments/USE_PROJECT/UseProjectWallet.d.ts +9 -0
  360. package/umd/src/commitments/USE_PROJECT/callGitHubApi.d.ts +69 -0
  361. package/umd/src/commitments/USE_PROJECT/createUseProjectToolFunctions.d.ts +8 -0
  362. package/umd/src/commitments/USE_PROJECT/createUseProjectTools.d.ts +7 -0
  363. package/umd/src/commitments/USE_PROJECT/getUseProjectToolTitles.d.ts +7 -0
  364. package/umd/src/commitments/USE_PROJECT/normalizeConfiguredProjects.d.ts +16 -0
  365. package/umd/src/commitments/USE_PROJECT/normalizeOptionalToolText.d.ts +12 -0
  366. package/umd/src/commitments/USE_PROJECT/projectReference.d.ts +52 -0
  367. package/umd/src/commitments/USE_PROJECT/projectReference.test.d.ts +1 -0
  368. package/umd/src/commitments/USE_PROJECT/resolveUseProjectToolRuntimeOrWalletCredentialResult.d.ts +34 -0
  369. package/umd/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +41 -0
  370. package/umd/src/commitments/USE_SPAWN/USE_SPAWN.test.d.ts +1 -0
  371. package/umd/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +9 -0
  372. package/umd/src/commitments/USE_SPAWN/spawnAgentViaBrowser.d.ts +12 -0
  373. package/umd/src/commitments/USE_TIMEOUT/TimeoutToolNames.d.ts +9 -0
  374. package/umd/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +90 -0
  375. package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +41 -0
  376. package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.test.d.ts +1 -0
  377. package/umd/src/commitments/USE_TIMEOUT/createTimeoutSystemMessage.d.ts +6 -0
  378. package/umd/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +8 -0
  379. package/umd/src/commitments/USE_TIMEOUT/createTimeoutTools.d.ts +7 -0
  380. package/umd/src/commitments/USE_TIMEOUT/getTimeoutToolRuntimeAdapterOrDisabledResult.d.ts +17 -0
  381. package/umd/src/commitments/USE_TIMEOUT/parseTimeoutToolArgs.d.ts +34 -0
  382. package/umd/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +8 -0
  383. package/umd/src/commitments/USE_TIMEOUT/setTimeoutToolRuntimeAdapter.d.ts +13 -0
  384. package/umd/src/commitments/WALLET/WALLET.d.ts +24 -0
  385. package/umd/src/commitments/WALLET/WALLET.test.d.ts +1 -0
  386. package/umd/src/commitments/WALLET/WalletToolNames.d.ts +12 -0
  387. package/umd/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +163 -0
  388. package/umd/src/commitments/WALLET/createWalletSystemMessage.d.ts +6 -0
  389. package/umd/src/commitments/WALLET/createWalletToolFunctions.d.ts +8 -0
  390. package/umd/src/commitments/WALLET/createWalletTools.d.ts +7 -0
  391. package/umd/src/commitments/WALLET/getWalletCommitmentDocumentation.d.ts +6 -0
  392. package/umd/src/commitments/WALLET/getWalletToolRuntimeAdapterOrDisabledResult.d.ts +16 -0
  393. package/umd/src/commitments/WALLET/getWalletToolTitles.d.ts +7 -0
  394. package/umd/src/commitments/WALLET/parseWalletToolArgs.d.ts +51 -0
  395. package/umd/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +8 -0
  396. package/umd/src/commitments/WALLET/setWalletToolRuntimeAdapter.d.ts +13 -0
  397. package/umd/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +29 -0
  398. package/umd/src/commitments/WRITING_SAMPLE/WRITING_SAMPLE.d.ts +29 -0
  399. package/umd/src/commitments/_base/BaseCommitmentDefinition.d.ts +12 -0
  400. package/umd/src/commitments/_base/CommitmentDefinition.d.ts +23 -0
  401. package/umd/src/commitments/_common/createWritingCommitmentSections.d.ts +19 -0
  402. package/umd/src/commitments/_common/getGroupedCommitmentDefinitions.writing.test.d.ts +1 -0
  403. package/umd/src/commitments/_common/toolExecutionEnvelope.d.ts +22 -0
  404. package/umd/src/commitments/_common/toolRuntimeContext.d.ts +90 -0
  405. package/umd/src/commitments/index.d.ts +12 -1
  406. package/umd/src/config.d.ts +3 -0
  407. package/umd/src/errors/0-index.d.ts +3 -0
  408. package/umd/src/errors/ConflictError.d.ts +9 -0
  409. package/umd/src/execution/LlmExecutionTools.d.ts +12 -1
  410. package/umd/src/execution/Usage.d.ts +4 -0
  411. package/umd/src/execution/utils/usageToHuman.d.ts +1 -0
  412. package/umd/src/file-security-checkers/FileSecurityCheckResult.d.ts +32 -0
  413. package/umd/src/file-security-checkers/FileSecurityChecker.d.ts +34 -0
  414. package/umd/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +36 -0
  415. package/umd/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.test.d.ts +1 -0
  416. package/umd/src/llm-providers/agent/Agent.d.ts +2 -2
  417. package/umd/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +2 -2
  418. package/umd/src/llm-providers/agent/RemoteAgent.d.ts +2 -1
  419. package/umd/src/llm-providers/agent/self-learning/SelfLearningManager.test.d.ts +1 -0
  420. package/umd/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +3 -1
  421. package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +33 -3
  422. package/umd/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +2 -2
  423. package/umd/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +2 -2
  424. package/umd/src/llm-providers/openai/computeOpenAiUsage.d.ts +3 -1
  425. package/umd/src/playground/playground.d.ts +1 -0
  426. package/umd/src/speech-recognition/OpenAiSpeechRecognition.d.ts +49 -1
  427. package/umd/src/types/SpeechRecognition.d.ts +14 -0
  428. package/umd/src/types/ToolCall.d.ts +56 -0
  429. package/umd/src/types/number_usd.d.ts +110 -0
  430. package/umd/src/types/string_filename.d.ts +39 -0
  431. package/umd/src/types/string_knowledge_source_content.d.ts +29 -0
  432. package/umd/src/types/string_markdown.d.ts +138 -0
  433. package/umd/src/types/string_parameter_name.d.ts +170 -0
  434. package/umd/src/types/string_person_fullname.d.ts +85 -0
  435. package/umd/src/types/string_sha256.d.ts +44 -0
  436. package/umd/src/types/string_token.d.ts +58 -0
  437. package/umd/src/types/string_url.d.ts +146 -0
  438. package/umd/src/types/typeAliases.d.ts +9 -741
  439. package/umd/src/utils/chat/chatAttachments/appendChatAttachmentContext.d.ts +10 -0
  440. package/umd/src/utils/chat/chatAttachments/appendChatAttachmentContextWithContent.d.ts +14 -0
  441. package/umd/src/utils/chat/chatAttachments/appendChatContextSections.d.ts +6 -0
  442. package/umd/src/utils/chat/chatAttachments/formatChatAttachmentContentContext.d.ts +9 -0
  443. package/umd/src/utils/chat/chatAttachments/formatChatAttachmentContext.d.ts +9 -0
  444. package/umd/src/utils/chat/chatAttachments/normalizeChatAttachments.d.ts +11 -0
  445. package/umd/src/utils/chat/chatAttachments/resolveChatAttachmentContent.d.ts +11 -0
  446. package/umd/src/utils/chat/chatAttachments/resolveChatAttachmentContents.d.ts +10 -0
  447. package/umd/src/utils/chat/chatAttachments.d.ts +54 -0
  448. package/umd/src/utils/chat/chatAttachments.test.d.ts +1 -0
  449. package/umd/src/utils/chat/constants.d.ts +21 -0
  450. package/umd/src/utils/chat/decodeChatStreamWhitespaceFromTransport.d.ts +7 -0
  451. package/umd/src/utils/chat/encodeChatStreamWhitespaceForTransport.d.ts +7 -0
  452. package/umd/src/utils/chat/escapeRegExp.d.ts +6 -0
  453. package/umd/src/utils/database/uniqueConstraint.d.ts +28 -0
  454. package/umd/src/utils/files/decodeAttachmentAsText.d.ts +81 -0
  455. package/umd/src/utils/files/decodeAttachmentAsText.test.d.ts +1 -0
  456. package/umd/src/utils/files/readResponseBytes.d.ts +14 -0
  457. package/umd/src/utils/random/EnglishNamePool.d.ts +9 -1
  458. package/umd/src/utils/toolCalls/getToolCallIdentity.d.ts +1 -1
  459. package/umd/src/utils/toolCalls/mergeToolCalls.d.ts +12 -0
  460. package/umd/src/utils/toolCalls/resolveToolCallIdempotencyKey.d.ts +10 -0
  461. package/umd/src/utils/validators/url/extractUrlsFromText.d.ts +8 -0
  462. package/umd/src/utils/validators/url/extractUrlsFromText.test.d.ts +1 -0
  463. package/umd/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +12 -1
  464. package/umd/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +8 -2
  465. package/umd/src/utils/validators/url/normalizeDomainForMatching.d.ts +11 -0
  466. package/umd/src/utils/validators/url/normalizeDomainForMatching.test.d.ts +1 -0
  467. package/umd/src/version.d.ts +1 -1
@@ -41,7 +41,7 @@ import type { ChatMessage } from '../book-components/Chat/types/ChatMessage';
41
41
  import type { ChatParticipant } from '../book-components/Chat/types/ChatParticipant';
42
42
  import type { ParsedCitation } from '../book-components/Chat/utils/parseCitationsFromContent';
43
43
  import type { MessageButton } from '../book-components/Chat/utils/parseMessageButtons';
44
- import type { TeamToolResult } from '../book-components/Chat/utils/toolCallParsing';
44
+ import type { TeamToolResult } from '../book-components/Chat/utils/toolCallParsing/TeamToolResult';
45
45
  import type { QrCodeOptions } from '../book-components/Qr/useQrCode';
46
46
  import type { AgentCollection } from '../collection/agent-collection/AgentCollection';
47
47
  import type { AgentCollectionInSupabaseOptions } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabaseOptions';
@@ -121,6 +121,8 @@ import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
121
121
  import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
122
122
  import type { ValidatePromptResultOptions } from '../execution/utils/validatePromptResult';
123
123
  import type { ValidatePromptResultResult } from '../execution/utils/validatePromptResult';
124
+ import type { FileSecurityChecker } from '../file-security-checkers/FileSecurityChecker';
125
+ import type { FileSecurityCheckResult } from '../file-security-checkers/FileSecurityCheckResult';
124
126
  import type { FormatSubvalueParser } from '../formats/_common/FormatSubvalueParser';
125
127
  import type { FormatSubvalueParserMapValuesOptions } from '../formats/_common/FormatSubvalueParser';
126
128
  import type { CsvSettings } from '../formats/csv/CsvSettings';
@@ -224,6 +226,31 @@ import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
224
226
  import type { ModelVariant } from '../types/ModelVariant';
225
227
  import type { NonEmptyArray } from '../types/NonEmptyArray';
226
228
  import type { NonEmptyReadonlyArray } from '../types/NonEmptyArray';
229
+ import type { number_usd } from '../types/number_usd';
230
+ import type { number_id } from '../types/number_usd';
231
+ import type { number_linecol_number } from '../types/number_usd';
232
+ import type { number_tokens } from '../types/number_usd';
233
+ import type { number_positive } from '../types/number_usd';
234
+ import type { number_negative } from '../types/number_usd';
235
+ import type { number_integer } from '../types/number_usd';
236
+ import type { number_port } from '../types/number_usd';
237
+ import type { number_percent } from '../types/number_usd';
238
+ import type { number_model_temperature } from '../types/number_usd';
239
+ import type { number_seed } from '../types/number_usd';
240
+ import type { number_likeness } from '../types/number_usd';
241
+ import type { number_milliseconds } from '../types/number_usd';
242
+ import type { number_seconds } from '../types/number_usd';
243
+ import type { number_minutes } from '../types/number_usd';
244
+ import type { number_hours } from '../types/number_usd';
245
+ import type { number_days } from '../types/number_usd';
246
+ import type { number_weeks } from '../types/number_usd';
247
+ import type { number_months } from '../types/number_usd';
248
+ import type { number_years } from '../types/number_usd';
249
+ import type { number_bytes } from '../types/number_usd';
250
+ import type { number_kilobytes } from '../types/number_usd';
251
+ import type { number_megabytes } from '../types/number_usd';
252
+ import type { number_gigabytes } from '../types/number_usd';
253
+ import type { number_terabytes } from '../types/number_usd';
227
254
  import type { Prompt } from '../types/Prompt';
228
255
  import type { CompletionPrompt } from '../types/Prompt';
229
256
  import type { ChatPrompt } from '../types/Prompt';
@@ -231,11 +258,124 @@ import type { ImagePrompt } from '../types/Prompt';
231
258
  import type { EmbeddingPrompt } from '../types/Prompt';
232
259
  import type { ScriptLanguage } from '../types/ScriptLanguage';
233
260
  import type { SectionType } from '../types/SectionType';
261
+ import type { SpeechRecognitionErrorCode } from '../types/SpeechRecognition';
234
262
  import type { SpeechRecognition } from '../types/SpeechRecognition';
235
263
  import type { SpeechRecognitionStartOptions } from '../types/SpeechRecognition';
236
264
  import type { SpeechRecognitionState } from '../types/SpeechRecognition';
237
265
  import type { SpeechRecognitionEvent } from '../types/SpeechRecognition';
266
+ import type { string_absolute_filename } from '../types/string_filename';
267
+ import type { string_relative_filename } from '../types/string_filename';
268
+ import type { string_filename } from '../types/string_filename';
269
+ import type { string_absolute_dirname } from '../types/string_filename';
270
+ import type { string_relative_dirname } from '../types/string_filename';
271
+ import type { string_dirname } from '../types/string_filename';
272
+ import type { string_executable_path } from '../types/string_filename';
273
+ import type { string_knowledge_source_content } from '../types/string_knowledge_source_content';
274
+ import type { string_knowledge_source_link } from '../types/string_knowledge_source_content';
275
+ import type { string_html } from '../types/string_markdown';
276
+ import type { string_xml } from '../types/string_markdown';
277
+ import type { string_markdown } from '../types/string_markdown';
278
+ import type { string_markdown_section } from '../types/string_markdown';
279
+ import type { string_markdown_section_content } from '../types/string_markdown';
280
+ import type { string_markdown_text } from '../types/string_markdown';
281
+ import type { string_markdown_codeblock_language } from '../types/string_markdown';
282
+ import type { string_promptbook_documentation_url } from '../types/string_markdown';
283
+ import type { string_css } from '../types/string_markdown';
284
+ import type { string_svg } from '../types/string_markdown';
285
+ import type { string_script } from '../types/string_markdown';
286
+ import type { string_javascript } from '../types/string_markdown';
287
+ import type { string_typescript } from '../types/string_markdown';
288
+ import type { string_json } from '../types/string_markdown';
289
+ import type { string_css_class } from '../types/string_markdown';
290
+ import type { string_css_property } from '../types/string_markdown';
291
+ import type { string_fonts } from '../types/string_markdown';
292
+ import type { string_css_value } from '../types/string_markdown';
293
+ import type { string_css_selector } from '../types/string_markdown';
294
+ import type { string_business_category_name } from '../types/string_parameter_name';
295
+ import type { string_model_name } from '../types/string_parameter_name';
296
+ import type { string_prompt } from '../types/string_parameter_name';
297
+ import type { string_prompt_image } from '../types/string_parameter_name';
298
+ import type { string_template } from '../types/string_parameter_name';
299
+ import type { string_text_prompt } from '../types/string_parameter_name';
300
+ import type { string_chat_prompt } from '../types/string_parameter_name';
301
+ import type { string_system_message } from '../types/string_parameter_name';
302
+ import type { string_completion_prompt } from '../types/string_parameter_name';
303
+ import type { string_page } from '../types/string_parameter_name';
304
+ import type { string_char } from '../types/string_parameter_name';
305
+ import type { string_name } from '../types/string_parameter_name';
306
+ import type { string_parameter_name } from '../types/string_parameter_name';
307
+ import type { string_parameter_value } from '../types/string_parameter_name';
308
+ import type { Parameters } from '../types/string_parameter_name';
309
+ import type { InputParameters } from '../types/string_parameter_name';
310
+ import type { string_reserved_parameter_name } from '../types/string_parameter_name';
311
+ import type { ReservedParameters } from '../types/string_parameter_name';
312
+ import type { string_title } from '../types/string_parameter_name';
313
+ import type { string_agent_name } from '../types/string_parameter_name';
314
+ import type { string_agent_name_in_book } from '../types/string_parameter_name';
315
+ import type { string_agent_hash } from '../types/string_parameter_name';
316
+ import type { string_agent_permanent_id } from '../types/string_parameter_name';
317
+ import type { string_persona_description } from '../types/string_parameter_name';
318
+ import type { string_model_description } from '../types/string_parameter_name';
319
+ import type { string_person_fullname } from '../types/string_person_fullname';
320
+ import type { string_person_firstname } from '../types/string_person_fullname';
321
+ import type { string_person_lastname } from '../types/string_person_fullname';
322
+ import type { string_person_profile } from '../types/string_person_fullname';
323
+ import type { string_license } from '../types/string_person_fullname';
324
+ import type { string_legal_entity } from '../types/string_person_fullname';
325
+ import type { string_attribute } from '../types/string_person_fullname';
326
+ import type { string_attribute_value_scope } from '../types/string_person_fullname';
327
+ import type { string_color } from '../types/string_person_fullname';
328
+ import type { string_translate_name } from '../types/string_person_fullname';
329
+ import type { string_translate_name_not_normalized } from '../types/string_person_fullname';
330
+ import type { string_translate_language } from '../types/string_person_fullname';
331
+ import type { string_javascript_name } from '../types/string_person_fullname';
332
+ import type { string_postprocessing_function_name } from '../types/string_person_fullname';
333
+ import type { string_uuid } from '../types/string_sha256';
334
+ import type { string_sha256 } from '../types/string_sha256';
335
+ import type { string_base_58 } from '../types/string_sha256';
336
+ import type { string_semantic_version } from '../types/string_sha256';
337
+ import type { string_version_dependency } from '../types/string_sha256';
338
+ import type { string_file_extension } from '../types/string_sha256';
339
+ import type { id } from '../types/string_token';
340
+ import type { task_id } from '../types/string_token';
341
+ import type { string_token } from '../types/string_token';
342
+ import type { string_promptbook_token } from '../types/string_token';
343
+ import type { string_license_token } from '../types/string_token';
344
+ import type { string_password } from '../types/string_token';
345
+ import type { string_ssh_key } from '../types/string_token';
346
+ import type { string_pgp_key } from '../types/string_token';
347
+ import type { string_language } from '../types/string_token';
348
+ import type { string_date_iso8601 } from '../types/string_token';
349
+ import type { string_app_id } from '../types/string_token';
350
+ import type { string_user_id } from '../types/string_token';
351
+ import type { string_mime_type } from '../types/string_url';
352
+ import type { string_mime_type_with_wildcard } from '../types/string_url';
353
+ import type { string_domain } from '../types/string_url';
354
+ import type { string_origin } from '../types/string_url';
355
+ import type { string_tdl } from '../types/string_url';
356
+ import type { string_url } from '../types/string_url';
357
+ import type { string_promptbook_server_url } from '../types/string_url';
358
+ import type { string_base_url } from '../types/string_url';
359
+ import type { string_pipeline_root_url } from '../types/string_url';
360
+ import type { string_agent_url } from '../types/string_url';
361
+ import type { string_pipeline_url } from '../types/string_url';
362
+ import type { string_pipeline_url_with_task_hash } from '../types/string_url';
363
+ import type { string_base64 } from '../types/string_url';
364
+ import type { string_data_url } from '../types/string_url';
365
+ import type { string_href } from '../types/string_url';
366
+ import type { string_url_image } from '../types/string_url';
367
+ import type { string_uri } from '../types/string_url';
368
+ import type { string_uri_part } from '../types/string_url';
369
+ import type { string_hostname } from '../types/string_url';
370
+ import type { string_host } from '../types/string_url';
371
+ import type { string_protocol } from '../types/string_url';
372
+ import type { string_ip_address } from '../types/string_url';
373
+ import type { string_email } from '../types/string_url';
374
+ import type { string_emails } from '../types/string_url';
238
375
  import type { TaskType } from '../types/TaskType';
376
+ import type { ToolCallState } from '../types/ToolCall';
377
+ import type { ToolCallLogLevel } from '../types/ToolCall';
378
+ import type { ToolCallLogEntry } from '../types/ToolCall';
239
379
  import type { ToolCall } from '../types/ToolCall';
240
380
  import type { SelfLearningCommitmentTypeCounts } from '../types/ToolCall';
241
381
  import type { SelfLearningTeacherSummary } from '../types/ToolCall';
@@ -243,141 +383,10 @@ import type { SelfLearningToolCallResult } from '../types/ToolCall';
243
383
  import type { ASSISTANT_PREPARATION_TOOL_CALL_NAME } from '../types/ToolCall';
244
384
  import type { isAssistantPreparationToolCall } from '../types/ToolCall';
245
385
  import type { string_char_emoji } from '../types/typeAliasEmoji';
246
- import type { string_business_category_name } from '../types/typeAliases';
247
- import type { string_model_name } from '../types/typeAliases';
248
- import type { string_prompt } from '../types/typeAliases';
249
- import type { string_prompt_image } from '../types/typeAliases';
250
- import type { string_template } from '../types/typeAliases';
251
- import type { string_text_prompt } from '../types/typeAliases';
252
- import type { string_chat_prompt } from '../types/typeAliases';
253
- import type { string_system_message } from '../types/typeAliases';
254
- import type { string_completion_prompt } from '../types/typeAliases';
255
- import type { string_page } from '../types/typeAliases';
256
- import type { string_mime_type } from '../types/typeAliases';
257
- import type { string_mime_type_with_wildcard } from '../types/typeAliases';
258
- import type { string_char } from '../types/typeAliases';
259
- import type { string_name } from '../types/typeAliases';
260
- import type { string_parameter_name } from '../types/typeAliases';
261
- import type { string_parameter_value } from '../types/typeAliases';
262
- import type { Parameters } from '../types/typeAliases';
263
- import type { InputParameters } from '../types/typeAliases';
264
- import type { string_reserved_parameter_name } from '../types/typeAliases';
265
- import type { ReservedParameters } from '../types/typeAliases';
266
- import type { string_title } from '../types/typeAliases';
267
- import type { string_agent_name } from '../types/typeAliases';
268
- import type { string_agent_name_in_book } from '../types/typeAliases';
269
- import type { string_agent_hash } from '../types/typeAliases';
270
- import type { string_agent_permanent_id } from '../types/typeAliases';
271
- import type { string_persona_description } from '../types/typeAliases';
272
- import type { string_model_description } from '../types/typeAliases';
273
- import type { string_knowledge_source_content } from '../types/typeAliases';
274
- import type { string_knowledge_source_link } from '../types/typeAliases';
275
- import type { string_html } from '../types/typeAliases';
276
- import type { string_xml } from '../types/typeAliases';
277
- import type { string_markdown } from '../types/typeAliases';
278
- import type { string_markdown_section } from '../types/typeAliases';
279
- import type { string_markdown_section_content } from '../types/typeAliases';
280
- import type { string_markdown_text } from '../types/typeAliases';
281
- import type { string_markdown_codeblock_language } from '../types/typeAliases';
282
- import type { string_promptbook_documentation_url } from '../types/typeAliases';
283
- import type { string_domain } from '../types/typeAliases';
284
- import type { string_origin } from '../types/typeAliases';
285
- import type { string_tdl } from '../types/typeAliases';
286
- import type { string_css } from '../types/typeAliases';
287
- import type { string_svg } from '../types/typeAliases';
288
- import type { string_script } from '../types/typeAliases';
289
- import type { string_javascript } from '../types/typeAliases';
290
- import type { string_typescript } from '../types/typeAliases';
291
- import type { string_json } from '../types/typeAliases';
292
- import type { string_css_class } from '../types/typeAliases';
293
- import type { string_css_property } from '../types/typeAliases';
294
- import type { string_fonts } from '../types/typeAliases';
295
- import type { string_css_value } from '../types/typeAliases';
296
- import type { string_css_selector } from '../types/typeAliases';
297
- import type { string_url } from '../types/typeAliases';
298
- import type { string_promptbook_server_url } from '../types/typeAliases';
299
- import type { string_base_url } from '../types/typeAliases';
300
- import type { string_pipeline_root_url } from '../types/typeAliases';
301
- import type { string_agent_url } from '../types/typeAliases';
302
- import type { string_pipeline_url } from '../types/typeAliases';
303
- import type { string_pipeline_url_with_task_hash } from '../types/typeAliases';
304
- import type { string_data_url } from '../types/typeAliases';
305
- import type { string_base64 } from '../types/typeAliases';
306
- import type { string_href } from '../types/typeAliases';
307
- import type { string_url_image } from '../types/typeAliases';
308
- import type { string_executable_path } from '../types/typeAliases';
309
- import type { string_uri } from '../types/typeAliases';
310
- import type { string_uri_part } from '../types/typeAliases';
311
- import type { string_hostname } from '../types/typeAliases';
312
- import type { string_host } from '../types/typeAliases';
313
- import type { string_protocol } from '../types/typeAliases';
314
- import type { string_ip_address } from '../types/typeAliases';
315
- import type { string_email } from '../types/typeAliases';
316
- import type { string_emails } from '../types/typeAliases';
317
- import type { string_uuid } from '../types/typeAliases';
318
- import type { string_app_id } from '../types/typeAliases';
319
- import type { string_user_id } from '../types/typeAliases';
320
- import type { string_sha256 } from '../types/typeAliases';
321
- import type { string_base_58 } from '../types/typeAliases';
322
- import type { string_semantic_version } from '../types/typeAliases';
323
- import type { string_version_dependency } from '../types/typeAliases';
324
- import type { string_file_extension } from '../types/typeAliases';
325
- import type { string_absolute_filename } from '../types/typeAliases';
326
- import type { string_relative_filename } from '../types/typeAliases';
327
- import type { string_filename } from '../types/typeAliases';
328
- import type { string_absolute_dirname } from '../types/typeAliases';
329
- import type { string_relative_dirname } from '../types/typeAliases';
330
- import type { string_dirname } from '../types/typeAliases';
331
- import type { string_person_fullname } from '../types/typeAliases';
332
- import type { string_person_firstname } from '../types/typeAliases';
333
- import type { string_person_lastname } from '../types/typeAliases';
334
- import type { string_person_profile } from '../types/typeAliases';
335
- import type { string_license } from '../types/typeAliases';
336
- import type { string_legal_entity } from '../types/typeAliases';
337
- import type { string_attribute } from '../types/typeAliases';
338
- import type { string_attribute_value_scope } from '../types/typeAliases';
339
- import type { string_color } from '../types/typeAliases';
340
- import type { string_translate_name } from '../types/typeAliases';
341
- import type { string_translate_name_not_normalized } from '../types/typeAliases';
342
- import type { string_translate_language } from '../types/typeAliases';
343
- import type { string_javascript_name } from '../types/typeAliases';
344
- import type { string_postprocessing_function_name } from '../types/typeAliases';
345
- import type { id } from '../types/typeAliases';
346
- import type { task_id } from '../types/typeAliases';
347
- import type { string_token } from '../types/typeAliases';
348
- import type { string_promptbook_token } from '../types/typeAliases';
349
- import type { string_license_token } from '../types/typeAliases';
350
- import type { string_password } from '../types/typeAliases';
351
- import type { string_ssh_key } from '../types/typeAliases';
352
- import type { string_pgp_key } from '../types/typeAliases';
353
- import type { string_language } from '../types/typeAliases';
354
- import type { string_date_iso8601 } from '../types/typeAliases';
355
- import type { number_usd } from '../types/typeAliases';
356
- import type { number_id } from '../types/typeAliases';
357
- import type { number_linecol_number } from '../types/typeAliases';
358
- import type { number_tokens } from '../types/typeAliases';
359
- import type { number_positive } from '../types/typeAliases';
360
- import type { number_negative } from '../types/typeAliases';
361
- import type { number_integer } from '../types/typeAliases';
362
- import type { number_port } from '../types/typeAliases';
363
- import type { number_percent } from '../types/typeAliases';
364
- import type { number_model_temperature } from '../types/typeAliases';
365
- import type { number_seed } from '../types/typeAliases';
366
- import type { number_likeness } from '../types/typeAliases';
367
- import type { number_milliseconds } from '../types/typeAliases';
368
- import type { number_seconds } from '../types/typeAliases';
369
- import type { number_minutes } from '../types/typeAliases';
370
- import type { number_hours } from '../types/typeAliases';
371
- import type { number_days } from '../types/typeAliases';
372
- import type { number_weeks } from '../types/typeAliases';
373
- import type { number_months } from '../types/typeAliases';
374
- import type { number_years } from '../types/typeAliases';
375
- import type { number_bytes } from '../types/typeAliases';
376
- import type { number_kilobytes } from '../types/typeAliases';
377
- import type { number_megabytes } from '../types/typeAliases';
378
- import type { number_gigabytes } from '../types/typeAliases';
379
- import type { number_terabytes } from '../types/typeAliases';
380
386
  import type { Updatable } from '../types/Updatable';
387
+ import type { ChatAttachment } from '../utils/chat/chatAttachments';
388
+ import type { ResolvedChatAttachmentContent } from '../utils/chat/chatAttachments';
389
+ import type { ResolveChatAttachmentOptions } from '../utils/chat/chatAttachments';
381
390
  import type { ColorTransformer } from '../utils/color/operators/ColorTransformer';
382
391
  import type { ThinkingMessageVariant } from '../utils/DEFAULT_THINKING_MESSAGES';
383
392
  import type { PipelineEditableSerialized } from '../utils/editable/types/PipelineEditableSerialized';
@@ -407,6 +416,8 @@ import type { NamePool } from '../utils/random/NamePool';
407
416
  import type { CheckSerializableAsJsonOptions } from '../utils/serialization/checkSerializableAsJson';
408
417
  import type { ExportJsonOptions } from '../utils/serialization/exportJson';
409
418
  import type { ITakeChain } from '../utils/take/interfaces/ITakeChain';
419
+ import type { IsHostnameOnPrivateNetworkOptions } from '../utils/validators/url/isHostnameOnPrivateNetwork';
420
+ import type { IsUrlOnPrivateNetworkOptions } from '../utils/validators/url/isUrlOnPrivateNetwork';
410
421
  import type { string_promptbook_version } from '../version';
411
422
  export type { BookParameter };
412
423
  export type { AgentCapability };
@@ -531,6 +542,8 @@ export type { UserInterfaceTools };
531
542
  export type { UserInterfaceToolsPromptDialogOptions };
532
543
  export type { ValidatePromptResultOptions };
533
544
  export type { ValidatePromptResultResult };
545
+ export type { FileSecurityChecker };
546
+ export type { FileSecurityCheckResult };
534
547
  export type { FormatSubvalueParser };
535
548
  export type { FormatSubvalueParserMapValuesOptions };
536
549
  export type { CsvSettings };
@@ -634,6 +647,31 @@ export type { EmbeddingModelRequirements };
634
647
  export type { ModelVariant };
635
648
  export type { NonEmptyArray };
636
649
  export type { NonEmptyReadonlyArray };
650
+ export type { number_usd };
651
+ export type { number_id };
652
+ export type { number_linecol_number };
653
+ export type { number_tokens };
654
+ export type { number_positive };
655
+ export type { number_negative };
656
+ export type { number_integer };
657
+ export type { number_port };
658
+ export type { number_percent };
659
+ export type { number_model_temperature };
660
+ export type { number_seed };
661
+ export type { number_likeness };
662
+ export type { number_milliseconds };
663
+ export type { number_seconds };
664
+ export type { number_minutes };
665
+ export type { number_hours };
666
+ export type { number_days };
667
+ export type { number_weeks };
668
+ export type { number_months };
669
+ export type { number_years };
670
+ export type { number_bytes };
671
+ export type { number_kilobytes };
672
+ export type { number_megabytes };
673
+ export type { number_gigabytes };
674
+ export type { number_terabytes };
637
675
  export type { Prompt };
638
676
  export type { CompletionPrompt };
639
677
  export type { ChatPrompt };
@@ -641,18 +679,39 @@ export type { ImagePrompt };
641
679
  export type { EmbeddingPrompt };
642
680
  export type { ScriptLanguage };
643
681
  export type { SectionType };
682
+ export type { SpeechRecognitionErrorCode };
644
683
  export type { SpeechRecognition };
645
684
  export type { SpeechRecognitionStartOptions };
646
685
  export type { SpeechRecognitionState };
647
686
  export type { SpeechRecognitionEvent };
648
- export type { TaskType };
649
- export type { ToolCall };
650
- export type { SelfLearningCommitmentTypeCounts };
651
- export type { SelfLearningTeacherSummary };
652
- export type { SelfLearningToolCallResult };
653
- export type { ASSISTANT_PREPARATION_TOOL_CALL_NAME };
654
- export type { isAssistantPreparationToolCall };
655
- export type { string_char_emoji };
687
+ export type { string_absolute_filename };
688
+ export type { string_relative_filename };
689
+ export type { string_filename };
690
+ export type { string_absolute_dirname };
691
+ export type { string_relative_dirname };
692
+ export type { string_dirname };
693
+ export type { string_executable_path };
694
+ export type { string_knowledge_source_content };
695
+ export type { string_knowledge_source_link };
696
+ export type { string_html };
697
+ export type { string_xml };
698
+ export type { string_markdown };
699
+ export type { string_markdown_section };
700
+ export type { string_markdown_section_content };
701
+ export type { string_markdown_text };
702
+ export type { string_markdown_codeblock_language };
703
+ export type { string_promptbook_documentation_url };
704
+ export type { string_css };
705
+ export type { string_svg };
706
+ export type { string_script };
707
+ export type { string_javascript };
708
+ export type { string_typescript };
709
+ export type { string_json };
710
+ export type { string_css_class };
711
+ export type { string_css_property };
712
+ export type { string_fonts };
713
+ export type { string_css_value };
714
+ export type { string_css_selector };
656
715
  export type { string_business_category_name };
657
716
  export type { string_model_name };
658
717
  export type { string_prompt };
@@ -663,8 +722,6 @@ export type { string_chat_prompt };
663
722
  export type { string_system_message };
664
723
  export type { string_completion_prompt };
665
724
  export type { string_page };
666
- export type { string_mime_type };
667
- export type { string_mime_type_with_wildcard };
668
725
  export type { string_char };
669
726
  export type { string_name };
670
727
  export type { string_parameter_name };
@@ -680,64 +737,6 @@ export type { string_agent_hash };
680
737
  export type { string_agent_permanent_id };
681
738
  export type { string_persona_description };
682
739
  export type { string_model_description };
683
- export type { string_knowledge_source_content };
684
- export type { string_knowledge_source_link };
685
- export type { string_html };
686
- export type { string_xml };
687
- export type { string_markdown };
688
- export type { string_markdown_section };
689
- export type { string_markdown_section_content };
690
- export type { string_markdown_text };
691
- export type { string_markdown_codeblock_language };
692
- export type { string_promptbook_documentation_url };
693
- export type { string_domain };
694
- export type { string_origin };
695
- export type { string_tdl };
696
- export type { string_css };
697
- export type { string_svg };
698
- export type { string_script };
699
- export type { string_javascript };
700
- export type { string_typescript };
701
- export type { string_json };
702
- export type { string_css_class };
703
- export type { string_css_property };
704
- export type { string_fonts };
705
- export type { string_css_value };
706
- export type { string_css_selector };
707
- export type { string_url };
708
- export type { string_promptbook_server_url };
709
- export type { string_base_url };
710
- export type { string_pipeline_root_url };
711
- export type { string_agent_url };
712
- export type { string_pipeline_url };
713
- export type { string_pipeline_url_with_task_hash };
714
- export type { string_data_url };
715
- export type { string_base64 };
716
- export type { string_href };
717
- export type { string_url_image };
718
- export type { string_executable_path };
719
- export type { string_uri };
720
- export type { string_uri_part };
721
- export type { string_hostname };
722
- export type { string_host };
723
- export type { string_protocol };
724
- export type { string_ip_address };
725
- export type { string_email };
726
- export type { string_emails };
727
- export type { string_uuid };
728
- export type { string_app_id };
729
- export type { string_user_id };
730
- export type { string_sha256 };
731
- export type { string_base_58 };
732
- export type { string_semantic_version };
733
- export type { string_version_dependency };
734
- export type { string_file_extension };
735
- export type { string_absolute_filename };
736
- export type { string_relative_filename };
737
- export type { string_filename };
738
- export type { string_absolute_dirname };
739
- export type { string_relative_dirname };
740
- export type { string_dirname };
741
740
  export type { string_person_fullname };
742
741
  export type { string_person_firstname };
743
742
  export type { string_person_lastname };
@@ -752,6 +751,12 @@ export type { string_translate_name_not_normalized };
752
751
  export type { string_translate_language };
753
752
  export type { string_javascript_name };
754
753
  export type { string_postprocessing_function_name };
754
+ export type { string_uuid };
755
+ export type { string_sha256 };
756
+ export type { string_base_58 };
757
+ export type { string_semantic_version };
758
+ export type { string_version_dependency };
759
+ export type { string_file_extension };
755
760
  export type { id };
756
761
  export type { task_id };
757
762
  export type { string_token };
@@ -762,32 +767,47 @@ export type { string_ssh_key };
762
767
  export type { string_pgp_key };
763
768
  export type { string_language };
764
769
  export type { string_date_iso8601 };
765
- export type { number_usd };
766
- export type { number_id };
767
- export type { number_linecol_number };
768
- export type { number_tokens };
769
- export type { number_positive };
770
- export type { number_negative };
771
- export type { number_integer };
772
- export type { number_port };
773
- export type { number_percent };
774
- export type { number_model_temperature };
775
- export type { number_seed };
776
- export type { number_likeness };
777
- export type { number_milliseconds };
778
- export type { number_seconds };
779
- export type { number_minutes };
780
- export type { number_hours };
781
- export type { number_days };
782
- export type { number_weeks };
783
- export type { number_months };
784
- export type { number_years };
785
- export type { number_bytes };
786
- export type { number_kilobytes };
787
- export type { number_megabytes };
788
- export type { number_gigabytes };
789
- export type { number_terabytes };
770
+ export type { string_app_id };
771
+ export type { string_user_id };
772
+ export type { string_mime_type };
773
+ export type { string_mime_type_with_wildcard };
774
+ export type { string_domain };
775
+ export type { string_origin };
776
+ export type { string_tdl };
777
+ export type { string_url };
778
+ export type { string_promptbook_server_url };
779
+ export type { string_base_url };
780
+ export type { string_pipeline_root_url };
781
+ export type { string_agent_url };
782
+ export type { string_pipeline_url };
783
+ export type { string_pipeline_url_with_task_hash };
784
+ export type { string_base64 };
785
+ export type { string_data_url };
786
+ export type { string_href };
787
+ export type { string_url_image };
788
+ export type { string_uri };
789
+ export type { string_uri_part };
790
+ export type { string_hostname };
791
+ export type { string_host };
792
+ export type { string_protocol };
793
+ export type { string_ip_address };
794
+ export type { string_email };
795
+ export type { string_emails };
796
+ export type { TaskType };
797
+ export type { ToolCallState };
798
+ export type { ToolCallLogLevel };
799
+ export type { ToolCallLogEntry };
800
+ export type { ToolCall };
801
+ export type { SelfLearningCommitmentTypeCounts };
802
+ export type { SelfLearningTeacherSummary };
803
+ export type { SelfLearningToolCallResult };
804
+ export type { ASSISTANT_PREPARATION_TOOL_CALL_NAME };
805
+ export type { isAssistantPreparationToolCall };
806
+ export type { string_char_emoji };
790
807
  export type { Updatable };
808
+ export type { ChatAttachment };
809
+ export type { ResolvedChatAttachmentContent };
810
+ export type { ResolveChatAttachmentOptions };
791
811
  export type { ColorTransformer };
792
812
  export type { ThinkingMessageVariant };
793
813
  export type { PipelineEditableSerialized };
@@ -817,4 +837,6 @@ export type { NamePool };
817
837
  export type { CheckSerializableAsJsonOptions };
818
838
  export type { ExportJsonOptions };
819
839
  export type { ITakeChain };
840
+ export type { IsHostnameOnPrivateNetworkOptions };
841
+ export type { IsUrlOnPrivateNetworkOptions };
820
842
  export type { string_promptbook_version };
@@ -12,6 +12,7 @@ import { isValidXmlString } from '../formats/xml/utils/isValidXmlString';
12
12
  import { PromptString } from '../pipeline/prompt-notation';
13
13
  import { prompt } from '../pipeline/prompt-notation';
14
14
  import { promptTemplate } from '../pipeline/prompt-notation';
15
+ import { escapeRegExp } from '../utils/chat/escapeRegExp';
15
16
  import { CLIENT_VERSION_HEADER } from '../utils/clientVersion';
16
17
  import { CLIENT_LATEST_VERSION } from '../utils/clientVersion';
17
18
  import { isClientVersionCompatible } from '../utils/clientVersion';
@@ -110,6 +111,7 @@ export { isValidXmlString };
110
111
  export { PromptString };
111
112
  export { prompt };
112
113
  export { promptTemplate };
114
+ export { escapeRegExp };
113
115
  export { CLIENT_VERSION_HEADER };
114
116
  export { CLIENT_LATEST_VERSION };
115
117
  export { isClientVersionCompatible };
@@ -31,7 +31,7 @@ export type AgentCapability = {
31
31
  /**
32
32
  * The type of the capability
33
33
  */
34
- type: 'browser' | 'search-engine' | 'knowledge' | 'time' | 'user-location' | 'inheritance' | 'import' | 'image-generator' | 'team' | 'email';
34
+ type: 'browser' | 'search-engine' | 'knowledge' | 'timeout' | 'time' | 'user-location' | 'inheritance' | 'import' | 'image-generator' | 'team' | 'email' | 'popup' | 'privacy' | 'project' | 'wallet';
35
35
  /**
36
36
  * The label to display for this capability
37
37
  */
@@ -80,10 +80,13 @@ export type AgentBasicInformation = {
80
80
  fullname?: string;
81
81
  description?: string;
82
82
  disclaimer?: string;
83
+ inputPlaceholder?: string;
83
84
  messageSuffix?: string;
84
85
  image?: string_url_image;
86
+ domain?: string;
85
87
  font?: string_fonts;
86
88
  color?: string_color;
89
+ voice?: string;
87
90
  [key: string]: string | undefined;
88
91
  };
89
92
  /**
@@ -7,9 +7,13 @@ import { string_agent_name } from '../../types/typeAliases';
7
7
  */
8
8
  export type AgentSourceParseResult = {
9
9
  /**
10
- * The agent name (first line)
10
+ * The agent name taken from the first non-empty line after leading whitespace-only lines.
11
11
  */
12
12
  agentName: string_agent_name | null;
13
+ /**
14
+ * The line number where the agent name was found (1-based)
15
+ */
16
+ agentNameLineNumber?: number;
13
17
  /**
14
18
  * All parsed commitments
15
19
  */
@@ -22,7 +22,7 @@ export declare function createAgentModelRequirements(agentSource: string_book, m
22
22
  /**
23
23
  * Extracts MCP servers from agent source
24
24
  *
25
- * @param agentSource The agent source string that may contain MCP lines
25
+ * @param agentSource The agent source string that may contain `USE MCP` commitments.
26
26
  * @returns Array of MCP server identifiers
27
27
  *
28
28
  * @private TODO: [🧠] Maybe should be public
@@ -35,7 +35,7 @@ export declare function extractMcpServers(agentSource: string_book): string[];
35
35
  */
36
36
  export declare function createAgentSystemMessage(agentSource: string_book): Promise<string_system_message>;
37
37
  /**
38
- * Extracts the agent name from the first line of the agent source
38
+ * Extracts the agent name from the first non-empty line of the agent source.
39
39
  * @deprecated Use parseAgentSource instead
40
40
  * @private
41
41
  */