@promptbook/javascript 0.112.0-34 → 0.112.0-36

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 (1480) hide show
  1. package/README.md +115 -0
  2. package/esm/index.es.js +124 -90
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/types.index.d.ts +45 -45
  5. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -4
  6. package/esm/src/book-2.0/agent-source/AgentModelRequirements.d.ts +0 -4
  7. package/esm/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +7 -0
  8. package/esm/src/book-2.0/agent-source/createTeamToolName.d.ts +1 -0
  9. package/esm/src/book-2.0/agent-source/extractOpenTeacherInstructions.d.ts +1 -0
  10. package/esm/src/book-2.0/agent-source/padBook.d.ts +1 -4
  11. package/esm/src/book-2.0/agent-source/parseAgentSource.d.ts +0 -3
  12. package/esm/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +1 -0
  13. package/esm/src/book-2.0/agent-source/parseParameters.d.ts +1 -0
  14. package/esm/src/book-2.0/agent-source/parseTeamCommitment.d.ts +0 -3
  15. package/esm/src/book-2.0/agent-source/pseudoAgentReferences.d.ts +8 -3
  16. package/esm/src/book-2.0/agent-source/string_book.d.ts +1 -0
  17. package/esm/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +0 -3
  18. package/esm/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +0 -3
  19. package/esm/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +0 -3
  20. package/esm/src/book-components/AvatarProfile/AvatarProfile/AvatarProfileTooltip.d.ts +4 -0
  21. package/esm/src/book-components/BookEditor/BookEditor.d.ts +0 -3
  22. package/esm/src/book-components/BookEditor/BookEditorActionbar.d.ts +4 -0
  23. package/esm/src/book-components/BookEditor/BookEditorMonaco.d.ts +2 -0
  24. package/esm/src/book-components/BookEditor/BookEditorMonacoUploadPanel.d.ts +3 -0
  25. package/esm/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.d.ts +1 -0
  26. package/esm/src/book-components/BookEditor/useBookEditorMonacoDecorations.d.ts +6 -0
  27. package/esm/src/book-components/BookEditor/useBookEditorMonacoDiagnostics.d.ts +9 -0
  28. package/esm/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +7 -0
  29. package/esm/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +3 -0
  30. package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads.d.ts +24 -0
  31. package/esm/src/book-components/Chat/AgentChat/AgentChat.d.ts +0 -3
  32. package/esm/src/book-components/Chat/AgentChip/AgentChip.d.ts +6 -5
  33. package/esm/src/book-components/Chat/Chat/ChatInputAreaDictationPanel.d.ts +4 -8
  34. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +2 -3
  35. package/esm/src/book-components/Chat/Chat/ChatSelfLearningSummary.d.ts +0 -3
  36. package/esm/src/book-components/Chat/Chat/ChatToolCallModalComponents.d.ts +0 -3
  37. package/esm/src/book-components/Chat/Chat/StreamingFeaturePlaceholder.d.ts +1 -0
  38. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +1 -0
  39. package/esm/src/book-components/Chat/Chat/chatCssClassNames.d.ts +1 -0
  40. package/esm/src/book-components/Chat/Chat/constants.d.ts +4 -3
  41. package/esm/src/book-components/Chat/Chat/insertDictationChunk.d.ts +16 -0
  42. package/esm/src/book-components/Chat/Chat/learnDictationDictionary.d.ts +7 -0
  43. package/esm/src/book-components/Chat/Chat/refineFinalDictationChunk.d.ts +36 -0
  44. package/esm/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +3 -0
  45. package/esm/src/book-components/Chat/Chat/renderEmailToolCallDetails.d.ts +1 -0
  46. package/esm/src/book-components/Chat/Chat/renderMemoryToolCallDetails.d.ts +1 -0
  47. package/esm/src/book-components/Chat/Chat/renderPopupToolCallDetails.d.ts +1 -0
  48. package/esm/src/book-components/Chat/Chat/renderRunBrowserToolCallDetails.d.ts +1 -0
  49. package/esm/src/book-components/Chat/Chat/renderSearchToolCallDetails.d.ts +1 -0
  50. package/esm/src/book-components/Chat/Chat/renderSelfLearningToolCallDetails.d.ts +1 -0
  51. package/esm/src/book-components/Chat/Chat/renderTimeToolCallDetails.d.ts +1 -0
  52. package/esm/src/book-components/Chat/Chat/renderTimeoutToolCallDetails.d.ts +1 -0
  53. package/esm/src/book-components/Chat/Chat/renderToolCallClockPanel.d.ts +1 -0
  54. package/esm/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +1 -0
  55. package/esm/src/book-components/Chat/Chat/renderToolCallProgressPlaceholder.d.ts +1 -0
  56. package/esm/src/book-components/Chat/Chat/renderWalletCredentialToolCallDetails.d.ts +1 -0
  57. package/esm/src/book-components/Chat/Chat/resolveSpeechRecognitionUiDescriptor.d.ts +30 -0
  58. package/esm/src/book-components/Chat/Chat/resolveToolCallProgressMessage.d.ts +1 -0
  59. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +7 -30
  60. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictationPersistence.d.ts +20 -0
  61. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictationSupport.d.ts +29 -0
  62. package/esm/src/book-components/Chat/LlmChat/defaults.d.ts +0 -3
  63. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +3 -3
  64. package/esm/src/book-components/Chat/MockedChat/constants.d.ts +0 -3
  65. package/esm/src/book-components/Chat/SourceChip/SourceChip.d.ts +4 -3
  66. package/esm/src/book-components/Chat/effects/components/ConfettiEffect.d.ts +3 -0
  67. package/esm/src/book-components/Chat/effects/components/HeartsEffect.d.ts +3 -0
  68. package/esm/src/book-components/Chat/effects/index.d.ts +0 -4
  69. package/esm/src/book-components/Chat/effects/utils/detectEffects.d.ts +1 -0
  70. package/esm/src/book-components/Chat/hooks/useSendMessageToLlmChat.d.ts +4 -4
  71. package/esm/src/book-components/Chat/save/_common/string_chat_format_name.d.ts +1 -0
  72. package/esm/src/book-components/Chat/save/html/htmlSaveFormatDefinition.d.ts +0 -3
  73. package/esm/src/book-components/Chat/save/index.d.ts +0 -3
  74. package/esm/src/book-components/Chat/save/pdf/buildChatPdf.d.ts +1 -0
  75. package/esm/src/book-components/Chat/save/pdf/pdfSaveFormatDefinition.d.ts +0 -4
  76. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +3 -5
  77. package/esm/src/book-components/Chat/types/ChatParticipant.d.ts +0 -3
  78. package/esm/src/book-components/Chat/utils/ExportFormat.d.ts +2 -0
  79. package/esm/src/book-components/Chat/utils/citationHelpers.d.ts +4 -3
  80. package/esm/src/book-components/Chat/utils/collectTeamToolCallSummary.d.ts +1 -0
  81. package/esm/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +1 -0
  82. package/esm/src/book-components/Chat/utils/exportChatHistory.d.ts +0 -3
  83. package/esm/src/book-components/Chat/utils/formatToolCallLocalTime.d.ts +2 -1
  84. package/esm/src/book-components/Chat/utils/loadAgentProfile.d.ts +12 -0
  85. package/esm/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +0 -3
  86. package/esm/src/book-components/Chat/utils/parseImagePrompts.d.ts +1 -3
  87. package/esm/src/book-components/Chat/utils/sanitizeStreamingMessageContent.d.ts +14 -0
  88. package/esm/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +3 -0
  89. package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +0 -3
  90. package/esm/src/book-components/Chat/utils/toolCallParsing/extractSearchResults.d.ts +1 -0
  91. package/esm/src/book-components/Chat/utils/toolCallParsing/getToolCallResultDate.d.ts +1 -0
  92. package/esm/src/book-components/Chat/utils/toolCallParsing/getToolCallTimestamp.d.ts +1 -0
  93. package/esm/src/book-components/Chat/utils/toolCallParsing/parseRunBrowserToolResult.d.ts +1 -0
  94. package/esm/src/book-components/Chat/utils/toolCallParsing/parseTeamToolResult.d.ts +1 -0
  95. package/esm/src/book-components/Chat/utils/toolCallParsing/parseToolCallArguments.d.ts +1 -0
  96. package/esm/src/book-components/Chat/utils/toolCallParsing/parseToolCallResult.d.ts +1 -0
  97. package/esm/src/book-components/Chat/utils/toolCallParsing/resolveRunBrowserArtifactUrl.d.ts +1 -0
  98. package/esm/src/book-components/Chat/utils/walletCredentialToolCall.d.ts +3 -3
  99. package/esm/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +3 -5
  100. package/esm/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +3 -5
  101. package/esm/src/book-components/Qr/BrandedQrCode.d.ts +5 -0
  102. package/esm/src/book-components/Qr/GenericQrCode.d.ts +5 -0
  103. package/esm/src/book-components/Qr/PromptbookQrCode.d.ts +5 -0
  104. package/esm/src/book-components/Qr/useQrCode.d.ts +4 -1
  105. package/esm/src/book-components/_common/Dropdown/Dropdown.d.ts +4 -0
  106. package/esm/src/book-components/_common/HamburgerMenu/HamburgerMenu.d.ts +4 -0
  107. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +3 -3
  108. package/esm/src/book-components/_common/Modal/Modal.d.ts +1 -3
  109. package/esm/src/book-components/_common/Tooltip/Tooltip.d.ts +3 -0
  110. package/esm/src/book-components/icons/AboutIcon.d.ts +1 -0
  111. package/esm/src/book-components/icons/AttachmentIcon.d.ts +4 -0
  112. package/esm/src/book-components/icons/CameraIcon.d.ts +4 -0
  113. package/esm/src/book-components/icons/DownloadIcon.d.ts +1 -0
  114. package/esm/src/book-components/icons/EmailIcon.d.ts +1 -0
  115. package/esm/src/book-components/icons/MenuIcon.d.ts +1 -3
  116. package/esm/src/book-components/icons/SaveIcon.d.ts +1 -0
  117. package/esm/src/book-components/icons/SendIcon.d.ts +0 -3
  118. package/esm/src/book-components/icons/TeacherIcon.d.ts +1 -0
  119. package/esm/src/cli/$runPromptbookCli.d.ts +0 -1
  120. package/esm/src/cli/cli-commands/_boilerplate.d.ts +0 -2
  121. package/esm/src/cli/cli-commands/about.d.ts +0 -6
  122. package/esm/src/cli/cli-commands/coder/ThinkingLevel.d.ts +18 -0
  123. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +127 -0
  124. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.test.d.ts +1 -0
  125. package/esm/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts +0 -2
  126. package/esm/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +0 -2
  127. package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +10 -2
  128. package/esm/src/cli/cli-commands/coder/init.d.ts +38 -2
  129. package/esm/src/cli/cli-commands/coder/run.d.ts +1 -3
  130. package/esm/src/cli/cli-commands/coder/run.test.d.ts +1 -0
  131. package/esm/src/cli/cli-commands/coder/verify.d.ts +0 -2
  132. package/esm/src/cli/cli-commands/coder.d.ts +0 -2
  133. package/esm/src/cli/cli-commands/common/handleActionErrors.d.ts +4 -0
  134. package/esm/src/cli/cli-commands/hello.d.ts +0 -5
  135. package/esm/src/cli/cli-commands/list-models.d.ts +0 -2
  136. package/esm/src/cli/cli-commands/list-scrapers.d.ts +0 -2
  137. package/esm/src/cli/cli-commands/login.d.ts +0 -5
  138. package/esm/src/cli/cli-commands/prettify.d.ts +0 -6
  139. package/esm/src/cli/cli-commands/run.d.ts +0 -8
  140. package/esm/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -5
  141. package/esm/src/cli/cli-commands/start-agents-server.d.ts +0 -2
  142. package/esm/src/cli/cli-commands/start-pipelines-server.d.ts +0 -5
  143. package/esm/src/cli/cli-commands/test-command.d.ts +0 -7
  144. package/esm/src/cli/common/$provideLlmToolsForCli.d.ts +5 -0
  145. package/esm/src/cli/main.d.ts +0 -2
  146. package/esm/src/cli/promptbookCli.d.ts +0 -7
  147. package/esm/src/collection/agent-collection/AgentCollection.d.ts +0 -3
  148. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +2 -6
  149. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabaseOptions.d.ts +3 -0
  150. package/esm/src/collection/pipeline-collection/SimplePipelineCollection.d.ts +2 -1
  151. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromDirectory.d.ts +2 -5
  152. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromJson.d.ts +1 -0
  153. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromPromise.d.ts +4 -3
  154. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromUrl.d.ts +2 -3
  155. package/esm/src/collection/pipeline-collection/constructors/createPipelineSubcollection.d.ts +1 -0
  156. package/esm/src/collection/pipeline-collection/pipelineCollectionToJson.d.ts +0 -3
  157. package/esm/src/commands/BOOK_VERSION/BookVersionCommand.d.ts +1 -0
  158. package/esm/src/commands/BOOK_VERSION/bookVersionCommandParser.d.ts +1 -0
  159. package/esm/src/commands/EXPECT/ExpectCommand.d.ts +0 -3
  160. package/esm/src/commands/EXPECT/expectCommandParser.d.ts +3 -2
  161. package/esm/src/commands/FOREACH/ForeachCommand.d.ts +1 -0
  162. package/esm/src/commands/FOREACH/foreachCommandParser.d.ts +1 -3
  163. package/esm/src/commands/FORMAT/formatCommandParser.d.ts +1 -0
  164. package/esm/src/commands/FORMFACTOR/FormfactorCommand.d.ts +1 -0
  165. package/esm/src/commands/FORMFACTOR/formfactorCommandParser.d.ts +1 -0
  166. package/esm/src/commands/JOKER/JokerCommand.d.ts +1 -0
  167. package/esm/src/commands/JOKER/jokerCommandParser.d.ts +1 -0
  168. package/esm/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +1 -0
  169. package/esm/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +1 -3
  170. package/esm/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.d.ts +0 -3
  171. package/esm/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.test.d.ts +0 -3
  172. package/esm/src/commands/MODEL/ModelCommand.d.ts +1 -0
  173. package/esm/src/commands/MODEL/modelCommandParser.d.ts +1 -0
  174. package/esm/src/commands/PARAMETER/ParameterCommand.d.ts +1 -0
  175. package/esm/src/commands/PARAMETER/parameterCommandParser.d.ts +1 -0
  176. package/esm/src/commands/PERSONA/PersonaCommand.d.ts +1 -0
  177. package/esm/src/commands/PERSONA/personaCommandParser.d.ts +1 -0
  178. package/esm/src/commands/POSTPROCESS/PostprocessCommand.d.ts +1 -0
  179. package/esm/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +1 -0
  180. package/esm/src/commands/SECTION/SectionCommand.d.ts +1 -0
  181. package/esm/src/commands/SECTION/sectionCommandParser.d.ts +1 -0
  182. package/esm/src/commands/URL/UrlCommand.d.ts +1 -0
  183. package/esm/src/commands/URL/urlCommandParser.d.ts +1 -0
  184. package/esm/src/commands/X_ACTION/ActionCommand.d.ts +1 -0
  185. package/esm/src/commands/X_ACTION/actionCommandParser.d.ts +1 -3
  186. package/esm/src/commands/X_INSTRUMENT/InstrumentCommand.d.ts +1 -0
  187. package/esm/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +1 -3
  188. package/esm/src/commands/_BOILERPLATE/BoilerplateCommand.d.ts +1 -0
  189. package/esm/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +1 -0
  190. package/esm/src/commands/_common/stringifyCommand.d.ts +1 -1
  191. package/esm/src/commands/_common/types/CommandParser.d.ts +0 -4
  192. package/esm/src/commands/index.d.ts +0 -3
  193. package/esm/src/commitments/ACTION/ACTION.d.ts +0 -3
  194. package/esm/src/commitments/CLOSED/CLOSED.d.ts +0 -3
  195. package/esm/src/commitments/CLOSED/CLOSED.test.d.ts +0 -3
  196. package/esm/src/commitments/COMPONENT/COMPONENT.d.ts +0 -3
  197. package/esm/src/commitments/DELETE/DELETE.d.ts +0 -3
  198. package/esm/src/commitments/DICTIONARY/DICTIONARY.d.ts +0 -3
  199. package/esm/src/commitments/FORMAT/FORMAT.d.ts +0 -3
  200. package/esm/src/commitments/FROM/FROM.d.ts +0 -3
  201. package/esm/src/commitments/GOAL/GOAL.d.ts +0 -3
  202. package/esm/src/commitments/IMPORT/IMPORT.d.ts +0 -3
  203. package/esm/src/commitments/LANGUAGE/LANGUAGE.d.ts +0 -3
  204. package/esm/src/commitments/MEMORY/MEMORY.d.ts +0 -3
  205. package/esm/src/commitments/MESSAGE/MESSAGE.d.ts +0 -3
  206. package/esm/src/commitments/MESSAGE_SUFFIX/MESSAGE_SUFFIX.d.ts +0 -3
  207. package/esm/src/commitments/META/META.d.ts +0 -3
  208. package/esm/src/commitments/META/META_DESCRIPTION.d.ts +0 -3
  209. package/esm/src/commitments/META_COLOR/META_COLOR.d.ts +0 -3
  210. package/esm/src/commitments/META_DISCLAIMER/META_DISCLAIMER.d.ts +0 -3
  211. package/esm/src/commitments/META_DOMAIN/META_DOMAIN.d.ts +0 -3
  212. package/esm/src/commitments/META_FONT/META_FONT.d.ts +0 -3
  213. package/esm/src/commitments/META_IMAGE/META_IMAGE.d.ts +0 -3
  214. package/esm/src/commitments/META_INPUT_PLACEHOLDER/META_INPUT_PLACEHOLDER.d.ts +0 -3
  215. package/esm/src/commitments/META_LINK/META_LINK.d.ts +0 -3
  216. package/esm/src/commitments/META_VOICE/META_VOICE.d.ts +0 -3
  217. package/esm/src/commitments/MODEL/MODEL.d.ts +0 -3
  218. package/esm/src/commitments/OPEN/OPEN.d.ts +0 -3
  219. package/esm/src/commitments/PERSONA/PERSONA.d.ts +0 -3
  220. package/esm/src/commitments/RULE/RULE.d.ts +0 -3
  221. package/esm/src/commitments/SAMPLE/SAMPLE.d.ts +0 -3
  222. package/esm/src/commitments/SCENARIO/SCENARIO.d.ts +0 -3
  223. package/esm/src/commitments/TEAM/TEAM.d.ts +0 -3
  224. package/esm/src/commitments/TEMPLATE/TEMPLATE.d.ts +0 -3
  225. package/esm/src/commitments/USE/USE.d.ts +0 -3
  226. package/esm/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +2 -0
  227. package/esm/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -3
  228. package/esm/src/commitments/USE_BROWSER/fetchUrlContent.d.ts +4 -5
  229. package/esm/src/commitments/USE_CALENDAR/USE_CALENDAR.d.ts +0 -3
  230. package/esm/src/commitments/USE_CALENDAR/calendarReference.d.ts +0 -3
  231. package/esm/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -3
  232. package/esm/src/commitments/USE_IMAGE_GENERATOR/USE_IMAGE_GENERATOR.d.ts +0 -3
  233. package/esm/src/commitments/USE_MCP/USE_MCP.d.ts +0 -3
  234. package/esm/src/commitments/USE_POPUP/USE_POPUP.d.ts +0 -3
  235. package/esm/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +0 -3
  236. package/esm/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +0 -3
  237. package/esm/src/commitments/USE_PROJECT/projectReference.d.ts +0 -3
  238. package/esm/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -3
  239. package/esm/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -3
  240. package/esm/src/commitments/USE_TIME/USE_TIME.d.ts +0 -3
  241. package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -3
  242. package/esm/src/commitments/USE_USER_LOCATION/USE_USER_LOCATION.d.ts +0 -3
  243. package/esm/src/commitments/WALLET/WALLET.d.ts +0 -3
  244. package/esm/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +0 -3
  245. package/esm/src/commitments/WRITING_SAMPLE/WRITING_SAMPLE.d.ts +0 -3
  246. package/esm/src/commitments/_base/createEmptyAgentModelRequirements.d.ts +0 -3
  247. package/esm/src/commitments/_common/commitmentToolFunctions.d.ts +2 -3
  248. package/esm/src/commitments/_common/createWritingCommitmentSections.d.ts +2 -3
  249. package/esm/src/commitments/_common/getAllCommitmentDefinitions.d.ts +1 -0
  250. package/esm/src/commitments/_common/getAllCommitmentTypes.d.ts +1 -0
  251. package/esm/src/commitments/_common/getAllCommitmentsToolFunctionsForNode.d.ts +0 -4
  252. package/esm/src/commitments/_common/getCommitmentDefinition.d.ts +1 -0
  253. package/esm/src/commitments/_common/isCommitmentSupported.d.ts +1 -0
  254. package/esm/src/commitments/_common/toolExecutionEnvelope.d.ts +0 -3
  255. package/esm/src/commitments/_common/toolRuntimeContext.d.ts +3 -3
  256. package/esm/src/commitments/index.d.ts +0 -4
  257. package/esm/src/config.test.d.ts +0 -3
  258. package/esm/src/constants/streaming.d.ts +0 -3
  259. package/esm/src/constants.d.ts +0 -3
  260. package/esm/src/conversion/archive/loadArchive.d.ts +0 -1
  261. package/esm/src/conversion/archive/saveArchive.d.ts +0 -5
  262. package/esm/src/conversion/compilePipeline.d.ts +2 -7
  263. package/esm/src/conversion/compilePipelineOnRemoteServer.d.ts +2 -5
  264. package/esm/src/conversion/parsePipeline.d.ts +1 -11
  265. package/esm/src/conversion/pipelineJsonToString.d.ts +1 -7
  266. package/esm/src/conversion/prettify/prettifyPipelineString.d.ts +0 -4
  267. package/esm/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +0 -7
  268. package/esm/src/conversion/utils/extractParameterNamesFromTask.d.ts +1 -3
  269. package/esm/src/conversion/validation/_importPipeline.d.ts +6 -2
  270. package/esm/src/conversion/validation/pipelineStringToJson-parseErrors.test.d.ts +0 -3
  271. package/esm/src/conversion/validation/validatePipeline-logicErrors.test.d.ts +0 -3
  272. package/esm/src/conversion/validation/validatePipeline.d.ts +3 -9
  273. package/esm/src/conversion/validation/validatePipeline.test.d.ts +0 -3
  274. package/esm/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -2
  275. package/esm/src/errors/0-BoilerplateError.d.ts +0 -3
  276. package/esm/src/errors/0-index.d.ts +0 -3
  277. package/esm/src/errors/DatabaseError.d.ts +0 -3
  278. package/esm/src/errors/ExpectError.d.ts +2 -1
  279. package/esm/src/errors/ParseError.d.ts +0 -3
  280. package/esm/src/errors/PipelineExecutionError.d.ts +0 -3
  281. package/esm/src/executables/$provideExecutablesForNode.d.ts +0 -5
  282. package/esm/src/executables/apps/locateLibreoffice.d.ts +0 -2
  283. package/esm/src/executables/apps/locatePandoc.d.ts +0 -2
  284. package/esm/src/executables/browsers/locateBrowser.d.ts +0 -1
  285. package/esm/src/executables/browsers/locateDefaultSystemBrowser.d.ts +0 -1
  286. package/esm/src/executables/locateApp.d.ts +0 -2
  287. package/esm/src/executables/platforms/locateAppOnLinux.d.ts +0 -2
  288. package/esm/src/executables/platforms/locateAppOnMacOs.d.ts +0 -2
  289. package/esm/src/executables/platforms/locateAppOnWindows.d.ts +0 -2
  290. package/esm/src/execution/AbstractTaskResult.d.ts +0 -4
  291. package/esm/src/execution/AvailableModel.d.ts +0 -4
  292. package/esm/src/execution/CommonToolsOptions.d.ts +0 -5
  293. package/esm/src/execution/ExecutionTask.d.ts +4 -4
  294. package/esm/src/execution/FilesystemTools.d.ts +0 -3
  295. package/esm/src/execution/LlmExecutionTools.d.ts +3 -9
  296. package/esm/src/execution/LlmExecutionToolsConstructor.d.ts +0 -3
  297. package/esm/src/execution/PipelineExecutor.d.ts +0 -3
  298. package/esm/src/execution/PipelineExecutorResult.d.ts +0 -3
  299. package/esm/src/execution/PromptResult.d.ts +1 -9
  300. package/esm/src/execution/PromptbookFetch.test-type.d.ts +0 -4
  301. package/esm/src/execution/ScriptExecutionTools.d.ts +0 -4
  302. package/esm/src/execution/Usage.d.ts +0 -3
  303. package/esm/src/execution/UserInterfaceTools.d.ts +3 -0
  304. package/esm/src/execution/assertsTaskSuccessful.d.ts +1 -3
  305. package/esm/src/execution/createPipelineExecutor/00-createPipelineExecutor.d.ts +1 -0
  306. package/esm/src/execution/createPipelineExecutor/20-executeTask.d.ts +0 -3
  307. package/esm/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +1 -3
  308. package/esm/src/execution/createPipelineExecutor/getContextForTask.d.ts +1 -0
  309. package/esm/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +0 -4
  310. package/esm/src/execution/createPipelineExecutor/knowledgePiecesToString.d.ts +0 -1
  311. package/esm/src/execution/execution-report/ExecutionReportJson.d.ts +1 -0
  312. package/esm/src/execution/execution-report/ExecutionReportString.d.ts +0 -3
  313. package/esm/src/execution/execution-report/executionReportJsonToString.d.ts +0 -5
  314. package/esm/src/execution/translation/automatic-translate/automatic-translators/AutomaticTranslator.d.ts +3 -1
  315. package/esm/src/execution/translation/automatic-translate/automatic-translators/FakeAutomaticTranslator.d.ts +3 -1
  316. package/esm/src/execution/translation/automatic-translate/automatic-translators/TranslatorOptions.d.ts +3 -1
  317. package/esm/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.d.ts +2 -0
  318. package/esm/src/execution/translation/automatic-translate/translateMessages.d.ts +3 -3
  319. package/esm/src/execution/utils/$provideExecutionToolsForNode.d.ts +2 -4
  320. package/esm/src/execution/utils/checkExpectations.d.ts +2 -5
  321. package/esm/src/execution/utils/forEachAsync.d.ts +5 -1
  322. package/esm/src/execution/utils/usage-constants.d.ts +0 -3
  323. package/esm/src/execution/utils/usageToHuman.d.ts +0 -8
  324. package/esm/src/execution/utils/validatePromptResult.d.ts +1 -0
  325. package/esm/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +1 -0
  326. package/esm/src/formats/_common/FormatParser.d.ts +2 -9
  327. package/esm/src/formats/_common/FormatSubvalueParser.d.ts +0 -3
  328. package/esm/src/formats/csv/CsvFormatParser.d.ts +2 -8
  329. package/esm/src/formats/index.d.ts +0 -3
  330. package/esm/src/formats/json/JsonFormatParser.d.ts +0 -11
  331. package/esm/src/formats/text/TextFormatParser.d.ts +0 -9
  332. package/esm/src/formats/xml/XmlFormatParser.d.ts +0 -11
  333. package/esm/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +1 -3
  334. package/esm/src/formfactors/_common/FormfactorDefinition.d.ts +1 -0
  335. package/esm/src/formfactors/index.d.ts +0 -3
  336. package/esm/src/high-level-abstractions/_common/HighLevelAbstraction.d.ts +0 -5
  337. package/esm/src/high-level-abstractions/index.d.ts +0 -4
  338. package/esm/src/high-level-abstractions/quick-chatbot/QuickChatbotHla.d.ts +0 -3
  339. package/esm/src/llm-providers/_common/register/$llmToolsMetadataRegister.d.ts +2 -3
  340. package/esm/src/llm-providers/_common/register/$llmToolsRegister.d.ts +2 -3
  341. package/esm/src/llm-providers/_common/register/$provideEnvFilename.d.ts +0 -1
  342. package/esm/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  343. package/esm/src/llm-providers/_common/register/$provideLlmToolsForTestingAndScriptsAndPlayground.d.ts +3 -6
  344. package/esm/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +3 -7
  345. package/esm/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -16
  346. package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +0 -4
  347. package/esm/src/llm-providers/_common/register/LlmToolsConfiguration.d.ts +0 -5
  348. package/esm/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +0 -6
  349. package/esm/src/llm-providers/_common/register/LlmToolsOptions.d.ts +0 -4
  350. package/esm/src/llm-providers/_common/register/createLlmToolsFromConfiguration.d.ts +1 -0
  351. package/esm/src/llm-providers/_common/utils/assertUniqueModels.d.ts +0 -3
  352. package/esm/src/llm-providers/_common/utils/cache/CacheItem.d.ts +0 -3
  353. package/esm/src/llm-providers/_common/utils/cache/cacheLlmTools.d.ts +1 -0
  354. package/esm/src/llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage.d.ts +0 -4
  355. package/esm/src/llm-providers/_common/utils/count-total-usage/countUsage.d.ts +1 -0
  356. package/esm/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +0 -7
  357. package/esm/src/llm-providers/_common/utils/removeUnsupportedModelRequirements.d.ts +4 -0
  358. package/esm/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +1 -0
  359. package/esm/src/llm-providers/_multiple/getSingleLlmExecutionTools.d.ts +0 -4
  360. package/esm/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +3 -7
  361. package/esm/src/llm-providers/_multiple/playground/playground.d.ts +0 -1
  362. package/esm/src/llm-providers/agent/Agent.d.ts +0 -3
  363. package/esm/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +0 -4
  364. package/esm/src/llm-providers/agent/RemoteAgent.d.ts +0 -4
  365. package/esm/src/llm-providers/agent/playground/playground.d.ts +0 -6
  366. package/esm/src/llm-providers/agent/register-configuration.d.ts +0 -5
  367. package/esm/src/llm-providers/agent/register-constructor.d.ts +0 -4
  368. package/esm/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +2 -10
  369. package/esm/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +3 -3
  370. package/esm/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -8
  371. package/esm/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +1 -3
  372. package/esm/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.test.d.ts +0 -3
  373. package/esm/src/llm-providers/anthropic-claude/createAnthropicClaudeExecutionTools.d.ts +0 -7
  374. package/esm/src/llm-providers/anthropic-claude/playground/playground.d.ts +0 -5
  375. package/esm/src/llm-providers/anthropic-claude/register-configuration.d.ts +0 -3
  376. package/esm/src/llm-providers/anthropic-claude/register-constructor.d.ts +0 -5
  377. package/esm/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +0 -6
  378. package/esm/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +1 -0
  379. package/esm/src/llm-providers/azure-openai/createAzureOpenAiExecutionTools.d.ts +0 -4
  380. package/esm/src/llm-providers/azure-openai/playground/playground.d.ts +0 -2
  381. package/esm/src/llm-providers/azure-openai/register-configuration.d.ts +0 -3
  382. package/esm/src/llm-providers/azure-openai/register-constructor.d.ts +0 -4
  383. package/esm/src/llm-providers/deepseek/DeepseekExecutionToolsOptions.d.ts +1 -0
  384. package/esm/src/llm-providers/deepseek/createDeepseekExecutionTools.d.ts +0 -3
  385. package/esm/src/llm-providers/deepseek/deepseek-models.d.ts +1 -6
  386. package/esm/src/llm-providers/deepseek/register-configuration.d.ts +0 -3
  387. package/esm/src/llm-providers/deepseek/register-constructor.d.ts +0 -4
  388. package/esm/src/llm-providers/google/GoogleExecutionToolsOptions.d.ts +1 -0
  389. package/esm/src/llm-providers/google/createGoogleExecutionTools.d.ts +0 -4
  390. package/esm/src/llm-providers/google/google-models.d.ts +1 -6
  391. package/esm/src/llm-providers/google/register-configuration.d.ts +0 -3
  392. package/esm/src/llm-providers/google/register-constructor.d.ts +0 -4
  393. package/esm/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -5
  394. package/esm/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +0 -4
  395. package/esm/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +0 -3
  396. package/esm/src/llm-providers/mocked/test/joker.test.d.ts +0 -3
  397. package/esm/src/llm-providers/mocked/test/mocked-chat.test.d.ts +0 -4
  398. package/esm/src/llm-providers/mocked/test/mocked-completion.test.d.ts +0 -3
  399. package/esm/src/llm-providers/ollama/OllamaExecutionTools.d.ts +0 -3
  400. package/esm/src/llm-providers/ollama/OllamaExecutionToolsOptions.d.ts +1 -0
  401. package/esm/src/llm-providers/ollama/ollama-models.d.ts +1 -4
  402. package/esm/src/llm-providers/ollama/playground/playground.d.ts +0 -2
  403. package/esm/src/llm-providers/ollama/register-configuration.d.ts +0 -3
  404. package/esm/src/llm-providers/ollama/register-constructor.d.ts +0 -4
  405. package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +10 -0
  406. package/esm/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +1 -8
  407. package/esm/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +0 -7
  408. package/esm/src/llm-providers/openai/OpenAiCompatibleExecutionToolsOptions.d.ts +2 -0
  409. package/esm/src/llm-providers/openai/computeOpenAiUsage.d.ts +1 -3
  410. package/esm/src/llm-providers/openai/computeOpenAiUsage.test.d.ts +0 -3
  411. package/esm/src/llm-providers/openai/createOpenAiAssistantExecutionTools.d.ts +0 -4
  412. package/esm/src/llm-providers/openai/createOpenAiCompatibleExecutionTools.d.ts +0 -4
  413. package/esm/src/llm-providers/openai/createOpenAiExecutionTools.d.ts +0 -4
  414. package/esm/src/llm-providers/openai/openai-models.d.ts +1 -0
  415. package/esm/src/llm-providers/openai/openai-models.test.d.ts +0 -3
  416. package/esm/src/llm-providers/openai/playground/playground.d.ts +0 -2
  417. package/esm/src/llm-providers/openai/register-configuration.d.ts +0 -3
  418. package/esm/src/llm-providers/openai/register-constructor.d.ts +0 -4
  419. package/esm/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +1 -9
  420. package/esm/src/llm-providers/remote/playground/playground.d.ts +0 -1
  421. package/esm/src/llm-providers/vercel/playground/playground.d.ts +0 -2
  422. package/esm/src/other/templates/getBookTemplates.d.ts +2 -5
  423. package/esm/src/personas/preparePersona.d.ts +1 -7
  424. package/esm/src/pipeline/PipelineInterface/PipelineInterface.d.ts +1 -0
  425. package/esm/src/pipeline/PipelineInterface/constants.d.ts +0 -3
  426. package/esm/src/pipeline/PipelineJson/CommonTaskJson.d.ts +0 -4
  427. package/esm/src/pipeline/PipelineJson/DialogTaskJson.d.ts +1 -3
  428. package/esm/src/pipeline/PipelineJson/Expectations.d.ts +4 -3
  429. package/esm/src/pipeline/PipelineJson/KnowledgePieceJson.d.ts +0 -4
  430. package/esm/src/pipeline/PipelineJson/KnowledgeSourceJson.d.ts +0 -3
  431. package/esm/src/pipeline/PipelineJson/PersonaJson.d.ts +0 -3
  432. package/esm/src/pipeline/PipelineJson/PreparationJson.d.ts +3 -5
  433. package/esm/src/pipeline/PipelineJson/ScriptTaskJson.d.ts +1 -4
  434. package/esm/src/pipeline/PipelineJson/SimpleTaskJson.d.ts +1 -3
  435. package/esm/src/pipeline/book-notation.d.ts +1 -4
  436. package/esm/src/pipeline/isValidPipelineString.d.ts +1 -3
  437. package/esm/src/pipeline/isValidPipelineString.test.d.ts +0 -3
  438. package/esm/src/pipeline/prompt-notation/helpers/ParameterEscaping.d.ts +5 -0
  439. package/esm/src/pipeline/prompt-notation/helpers/ParameterNaming.d.ts +1 -0
  440. package/esm/src/pipeline/prompt-notation/helpers/ParameterSection.d.ts +2 -0
  441. package/esm/src/pipeline/prompt-notation.d.ts +2 -5
  442. package/esm/src/pipeline/prompt-notation.test.d.ts +0 -3
  443. package/esm/src/pipeline/validatePipelineString.d.ts +1 -3
  444. package/esm/src/playground/permanent/_boilerplate.d.ts +0 -1
  445. package/esm/src/playground/permanent/agent-with-browser-playground.d.ts +0 -1
  446. package/esm/src/playground/permanent/error-handling-playground.d.ts +0 -1
  447. package/esm/src/playground/playground.d.ts +0 -2
  448. package/esm/src/postprocessing/utils/extractBlock.d.ts +2 -1
  449. package/esm/src/postprocessing/utils/extractJsonBlock.d.ts +2 -5
  450. package/esm/src/prepare/PrepareAndScrapeOptions.d.ts +0 -4
  451. package/esm/src/prepare/preparePipeline.d.ts +3 -2
  452. package/esm/src/prepare/preparePipelineOnRemoteServer.d.ts +2 -5
  453. package/esm/src/prepare/prepareTasks.d.ts +6 -10
  454. package/esm/src/prepare/unpreparePipeline.d.ts +1 -5
  455. package/esm/src/remote-server/RemoteServer.d.ts +3 -0
  456. package/esm/src/remote-server/openapi.d.ts +3 -4
  457. package/esm/src/remote-server/socket-types/_subtypes/Identification.d.ts +1 -5
  458. package/esm/src/remote-server/socket-types/listModels/PromptbookServer_ListModels_Request.d.ts +0 -3
  459. package/esm/src/remote-server/socket-types/listModels/PromptbookServer_ListModels_Response.d.ts +0 -3
  460. package/esm/src/remote-server/startAgentServer.d.ts +6 -2
  461. package/esm/src/remote-server/startRemoteServer.d.ts +1 -15
  462. package/esm/src/remote-server/types/RemoteClientOptions.d.ts +0 -5
  463. package/esm/src/remote-server/types/RemoteServerOptions.d.ts +10 -4
  464. package/esm/src/remote-server/ui/ServerApp.d.ts +1 -0
  465. package/esm/src/remote-server/ui/types.d.ts +3 -0
  466. package/esm/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +1 -4
  467. package/esm/src/scrapers/_boilerplate/createBoilerplateScraper.d.ts +0 -3
  468. package/esm/src/scrapers/_boilerplate/playground/boilerplate-scraper-playground.d.ts +0 -1
  469. package/esm/src/scrapers/_boilerplate/register-constructor.d.ts +0 -4
  470. package/esm/src/scrapers/_boilerplate/register-metadata.d.ts +0 -3
  471. package/esm/src/scrapers/_common/Scraper.d.ts +0 -5
  472. package/esm/src/scrapers/_common/ScraperIntermediateSource.d.ts +0 -3
  473. package/esm/src/scrapers/_common/prepareKnowledgePieces.d.ts +1 -0
  474. package/esm/src/scrapers/_common/register/$provideFilesystemForNode.d.ts +0 -2
  475. package/esm/src/scrapers/_common/register/$provideScrapersForNode.d.ts +1 -2
  476. package/esm/src/scrapers/_common/register/$provideScriptingForNode.d.ts +0 -2
  477. package/esm/src/scrapers/_common/register/$registeredScrapersMessage.d.ts +0 -3
  478. package/esm/src/scrapers/_common/register/$scrapersMetadataRegister.d.ts +2 -3
  479. package/esm/src/scrapers/_common/register/$scrapersRegister.d.ts +2 -3
  480. package/esm/src/scrapers/_common/register/ScraperConstructor.d.ts +0 -3
  481. package/esm/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +0 -7
  482. package/esm/src/scrapers/_common/utils/getScraperIntermediateSource.test.d.ts +0 -3
  483. package/esm/src/scrapers/_common/utils/promptbookFetch.d.ts +0 -3
  484. package/esm/src/scrapers/document/DocumentScraper.d.ts +1 -6
  485. package/esm/src/scrapers/document/DocumentScraper.test.d.ts +0 -3
  486. package/esm/src/scrapers/document/createDocumentScraper.d.ts +0 -3
  487. package/esm/src/scrapers/document/playground/document-scraper-playground.d.ts +0 -1
  488. package/esm/src/scrapers/document/register-constructor.d.ts +0 -4
  489. package/esm/src/scrapers/document/register-metadata.d.ts +0 -3
  490. package/esm/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -6
  491. package/esm/src/scrapers/document-legacy/LegacyDocumentScraper.test.d.ts +0 -3
  492. package/esm/src/scrapers/document-legacy/createLegacyDocumentScraper.d.ts +0 -3
  493. package/esm/src/scrapers/document-legacy/playground/legacy-document-scraper-playground.d.ts +0 -1
  494. package/esm/src/scrapers/document-legacy/register-constructor.d.ts +0 -4
  495. package/esm/src/scrapers/document-legacy/register-metadata.d.ts +0 -3
  496. package/esm/src/scrapers/markdown/MarkdownScraper.d.ts +1 -4
  497. package/esm/src/scrapers/markdown/MarkdownScraper.test.d.ts +0 -3
  498. package/esm/src/scrapers/markdown/createMarkdownScraper.d.ts +0 -3
  499. package/esm/src/scrapers/markdown/playground/markdown-scraper-playground.d.ts +0 -1
  500. package/esm/src/scrapers/markdown/register-constructor.d.ts +0 -4
  501. package/esm/src/scrapers/markdown/register-metadata.d.ts +0 -3
  502. package/esm/src/scrapers/markitdown/MarkitdownScraper.d.ts +1 -7
  503. package/esm/src/scrapers/markitdown/createMarkitdownScraper.d.ts +0 -4
  504. package/esm/src/scrapers/markitdown/playground/markitdown-scraper-playground.d.ts +0 -1
  505. package/esm/src/scrapers/markitdown/register-constructor.d.ts +0 -5
  506. package/esm/src/scrapers/markitdown/register-metadata.d.ts +0 -3
  507. package/esm/src/scrapers/pdf/PdfScraper.d.ts +1 -6
  508. package/esm/src/scrapers/pdf/createPdfScraper.d.ts +0 -3
  509. package/esm/src/scrapers/pdf/playground/pdf-scraper-playground.d.ts +0 -1
  510. package/esm/src/scrapers/pdf/register-constructor.d.ts +0 -4
  511. package/esm/src/scrapers/pdf/register-metadata.d.ts +0 -3
  512. package/esm/src/scrapers/website/WebsiteScraper.d.ts +1 -6
  513. package/esm/src/scrapers/website/createWebsiteScraper.d.ts +0 -3
  514. package/esm/src/scrapers/website/playground/website-scraper-playground.d.ts +0 -1
  515. package/esm/src/scrapers/website/register-constructor.d.ts +0 -4
  516. package/esm/src/scrapers/website/register-metadata.d.ts +0 -3
  517. package/esm/src/scripting/javascript/JavascriptEvalExecutionTools.d.ts +1 -5
  518. package/esm/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +0 -3
  519. package/esm/src/scripting/javascript/JavascriptExecutionTools.d.ts +1 -0
  520. package/esm/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +0 -3
  521. package/esm/src/scripting/javascript/postprocessing-functions.d.ts +0 -4
  522. package/esm/src/scripting/javascript/utils/extractVariablesFromJavascript.d.ts +1 -3
  523. package/esm/src/search-engines/SearchEngine.d.ts +3 -0
  524. package/esm/src/speech-recognition/BrowserSpeechRecognition.d.ts +0 -2
  525. package/esm/src/speech-recognition/OpenAiSpeechRecognition.d.ts +2 -2
  526. package/esm/src/storage/_common/PromptbookStorage.d.ts +0 -4
  527. package/esm/src/storage/_common/PromptbookStorage.test-type.d.ts +0 -4
  528. package/esm/src/storage/env-storage/$EnvStorage.d.ts +0 -3
  529. package/esm/src/storage/file-cache-storage/FileCacheStorage.d.ts +0 -2
  530. package/esm/src/storage/local-storage/getIndexedDbStorage.d.ts +0 -1
  531. package/esm/src/storage/local-storage/getLocalStorage.d.ts +0 -1
  532. package/esm/src/storage/local-storage/getSessionStorage.d.ts +0 -1
  533. package/esm/src/storage/local-storage/utils/makePromptbookStorageFromIndexedDb.d.ts +1 -0
  534. package/esm/src/storage/local-storage/utils/makePromptbookStorageFromWebStorage.d.ts +0 -4
  535. package/esm/src/transpilers/_common/register/$bookTranspilersRegister.d.ts +1 -3
  536. package/esm/src/transpilers/formatted-book-in-markdown/register.d.ts +2 -5
  537. package/esm/src/transpilers/openai-sdk/playground/playground.d.ts +0 -1
  538. package/esm/src/transpilers/openai-sdk/register.d.ts +2 -5
  539. package/esm/src/types/Arrayable.d.ts +1 -0
  540. package/esm/src/types/InputParameters_private.d.ts +4 -2
  541. package/esm/src/types/IntermediateFilesStrategy.d.ts +0 -3
  542. package/esm/src/types/LlmCall.d.ts +0 -3
  543. package/esm/src/types/ModelRequirements.d.ts +1 -0
  544. package/esm/src/types/ModelVariant.d.ts +3 -0
  545. package/esm/src/types/Parameters.d.ts +31 -0
  546. package/esm/src/types/Parameters_private.d.ts +4 -2
  547. package/esm/src/types/Prompt.d.ts +1 -6
  548. package/esm/src/types/ReservedParameters_private.d.ts +2 -1
  549. package/esm/src/types/ToolCall.d.ts +0 -2
  550. package/esm/src/types/Updatable.d.ts +1 -3
  551. package/esm/src/types/string_agent_hash_private.d.ts +1 -1
  552. package/esm/src/types/string_agent_name.d.ts +32 -0
  553. package/esm/src/types/string_agent_name_in_book_private.d.ts +1 -1
  554. package/esm/src/types/string_agent_name_private.d.ts +2 -1
  555. package/esm/src/types/string_agent_permanent_id_private.d.ts +2 -1
  556. package/esm/src/types/string_business_category_name.d.ts +5 -0
  557. package/esm/src/types/string_business_category_name_private.d.ts +1 -1
  558. package/esm/src/types/string_char_private.d.ts +1 -1
  559. package/esm/src/types/string_chat_prompt_private.d.ts +1 -1
  560. package/esm/src/types/string_completion_prompt_private.d.ts +1 -1
  561. package/esm/src/types/string_markdown.d.ts +0 -1
  562. package/esm/src/types/string_mime_type_private.d.ts +1 -0
  563. package/esm/src/types/string_model_description_private.d.ts +1 -1
  564. package/esm/src/types/string_model_name.d.ts +7 -0
  565. package/esm/src/types/string_model_name_private.d.ts +1 -1
  566. package/esm/src/types/string_name.d.ts +31 -0
  567. package/esm/src/types/string_name_private.d.ts +1 -1
  568. package/esm/src/types/string_page.d.ts +15 -0
  569. package/esm/src/types/string_page_private.d.ts +1 -1
  570. package/esm/src/types/string_parameter_name.d.ts +11 -210
  571. package/esm/src/types/string_parameter_value_private.d.ts +1 -1
  572. package/esm/src/types/string_persona_description.d.ts +14 -0
  573. package/esm/src/types/string_persona_description_private.d.ts +1 -1
  574. package/esm/src/types/string_prompt.d.ts +49 -0
  575. package/esm/src/types/string_prompt_image_private.d.ts +1 -1
  576. package/esm/src/types/string_prompt_private.d.ts +1 -1
  577. package/esm/src/types/string_reserved_parameter_name_private.d.ts +1 -1
  578. package/esm/src/types/string_sha256.d.ts +2 -2
  579. package/esm/src/types/string_system_message_private.d.ts +1 -1
  580. package/esm/src/types/string_template_private.d.ts +1 -1
  581. package/esm/src/types/string_text_prompt_private.d.ts +1 -1
  582. package/esm/src/types/string_title.d.ts +8 -0
  583. package/esm/src/types/string_title_private.d.ts +1 -1
  584. package/esm/src/types/typeAliasEmoji.d.ts +0 -3
  585. package/esm/src/types/typeAliases.d.ts +0 -6
  586. package/esm/src/utils/DEFAULT_THINKING_MESSAGES.d.ts +5 -1
  587. package/esm/src/utils/chat/chatAttachments/appendChatAttachmentContext.d.ts +1 -0
  588. package/esm/src/utils/chat/chatAttachments/appendChatAttachmentContextWithContent.d.ts +1 -0
  589. package/esm/src/utils/chat/chatAttachments/formatChatAttachmentContentContext.d.ts +1 -0
  590. package/esm/src/utils/chat/chatAttachments/formatChatAttachmentContext.d.ts +1 -0
  591. package/esm/src/utils/chat/chatAttachments/normalizeChatAttachments.d.ts +1 -0
  592. package/esm/src/utils/chat/chatAttachments/resolveChatAttachmentContent.d.ts +1 -0
  593. package/esm/src/utils/chat/chatAttachments/resolveChatAttachmentContents.d.ts +1 -0
  594. package/esm/src/utils/chat/chatAttachments.d.ts +0 -3
  595. package/esm/src/utils/chat/constants.d.ts +0 -3
  596. package/esm/src/utils/clientVersion.d.ts +0 -3
  597. package/esm/src/utils/color/$randomColor.d.ts +0 -5
  598. package/esm/src/utils/color/css-colors.d.ts +0 -3
  599. package/esm/src/utils/color/internal-utils/hslToRgb.d.ts +0 -3
  600. package/esm/src/utils/color/internal-utils/rgbToHsl.d.ts +0 -3
  601. package/esm/src/utils/color/operators/ColorTransformer.d.ts +2 -0
  602. package/esm/src/utils/color/operators/lighten.d.ts +0 -3
  603. package/esm/src/utils/color/operators/saturate.d.ts +0 -3
  604. package/esm/src/utils/color/utils/areColorsEqual.d.ts +0 -3
  605. package/esm/src/utils/color/utils/colorDistance.d.ts +2 -2
  606. package/esm/src/utils/color/utils/colorHue.d.ts +0 -1
  607. package/esm/src/utils/color/utils/colorHueDistance.d.ts +0 -1
  608. package/esm/src/utils/color/utils/colorToDataUrl.d.ts +0 -3
  609. package/esm/src/utils/database/uniqueConstraint.d.ts +1 -3
  610. package/esm/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +3 -4
  611. package/esm/src/utils/editable/edit-pipeline-string/deflatePipeline.d.ts +0 -3
  612. package/esm/src/utils/editable/types/PipelineEditableSerialized.d.ts +2 -2
  613. package/esm/src/utils/editable/utils/renamePipelineParameter.d.ts +4 -3
  614. package/esm/src/utils/editable/utils/stringifyPipelineJson.d.ts +0 -6
  615. package/esm/src/utils/environment/$detectRuntimeEnvironment.d.ts +0 -3
  616. package/esm/src/utils/environment/$getGlobalScope.d.ts +1 -1
  617. package/esm/src/utils/environment/$isRunningInBrowser.d.ts +0 -3
  618. package/esm/src/utils/environment/$isRunningInJest.d.ts +0 -3
  619. package/esm/src/utils/environment/$isRunningInNode.d.ts +0 -3
  620. package/esm/src/utils/environment/$isRunningInWebWorker.d.ts +0 -3
  621. package/esm/src/utils/execCommand/$execCommand.d.ts +0 -2
  622. package/esm/src/utils/execCommand/$execCommands.d.ts +0 -1
  623. package/esm/src/utils/execCommand/ExecCommandOptions.d.ts +3 -4
  624. package/esm/src/utils/expectation-counters/constants.d.ts +0 -4
  625. package/esm/src/utils/expectation-counters/countCharacters.d.ts +0 -4
  626. package/esm/src/utils/expectation-counters/countLines.d.ts +0 -4
  627. package/esm/src/utils/expectation-counters/countPages.d.ts +0 -4
  628. package/esm/src/utils/expectation-counters/countParagraphs.d.ts +0 -4
  629. package/esm/src/utils/expectation-counters/countSentences.d.ts +0 -4
  630. package/esm/src/utils/expectation-counters/countWords.d.ts +0 -5
  631. package/esm/src/utils/expectation-counters/index.d.ts +0 -4
  632. package/esm/src/utils/files/$induceBookDownload.d.ts +0 -1
  633. package/esm/src/utils/files/$induceFileDownload.d.ts +0 -1
  634. package/esm/src/utils/files/ObjectUrl.d.ts +0 -1
  635. package/esm/src/utils/files/isDirectoryExisting.d.ts +0 -6
  636. package/esm/src/utils/files/isExecutable.d.ts +0 -4
  637. package/esm/src/utils/files/isFileExisting.d.ts +0 -5
  638. package/esm/src/utils/files/listAllFiles.d.ts +1 -5
  639. package/esm/src/utils/files/readResponseBytes.d.ts +1 -0
  640. package/esm/src/utils/knowledge/inlineKnowledgeSource.d.ts +11 -6
  641. package/esm/src/utils/knowledge/simplifyKnowledgeLabel.d.ts +2 -0
  642. package/esm/src/utils/linguistic-hash/linguisticHash.d.ts +2 -1
  643. package/esm/src/utils/linguistic-hash/linguisticHashTypes.d.ts +0 -3
  644. package/esm/src/utils/linguistic-hash/linguisticHashWords.cs.d.ts +0 -3
  645. package/esm/src/utils/linguistic-hash/linguisticHashWords.en.d.ts +0 -3
  646. package/esm/src/utils/markdown/addAutoGeneratedSection.d.ts +0 -3
  647. package/esm/src/utils/markdown/createMarkdownTable.d.ts +0 -3
  648. package/esm/src/utils/markdown/escapeMarkdownBlock.d.ts +0 -3
  649. package/esm/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +1 -3
  650. package/esm/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +1 -0
  651. package/esm/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +2 -4
  652. package/esm/src/utils/markdown/humanizeAiText.d.ts +0 -3
  653. package/esm/src/utils/markdown/humanizeAiTextEllipsis.d.ts +0 -3
  654. package/esm/src/utils/markdown/humanizeAiTextEmdashed.d.ts +0 -3
  655. package/esm/src/utils/markdown/humanizeAiTextQuotes.d.ts +0 -3
  656. package/esm/src/utils/markdown/humanizeAiTextSources.d.ts +0 -3
  657. package/esm/src/utils/markdown/humanizeAiTextWhitespace.d.ts +0 -3
  658. package/esm/src/utils/markdown/prettifyMarkdown.d.ts +4 -2
  659. package/esm/src/utils/markdown/promptbookifyAiText.d.ts +0 -3
  660. package/esm/src/utils/markdown/removeMarkdownComments.d.ts +1 -0
  661. package/esm/src/utils/markdown/removeMarkdownFormatting.d.ts +1 -0
  662. package/esm/src/utils/markdown/removeMarkdownLinks.d.ts +1 -0
  663. package/esm/src/utils/markdown/trimCodeBlock.d.ts +1 -1
  664. package/esm/src/utils/markdown/trimEndOfCodeBlock.d.ts +1 -1
  665. package/esm/src/utils/misc/$getCurrentDate.d.ts +1 -0
  666. package/esm/src/utils/misc/aboutPromptbookInformation.d.ts +3 -3
  667. package/esm/src/utils/misc/computeHash.d.ts +0 -3
  668. package/esm/src/utils/misc/debounce.d.ts +2 -0
  669. package/esm/src/utils/misc/emojis.d.ts +3 -8
  670. package/esm/src/utils/misc/injectCssModuleIntoShadowRoot.d.ts +7 -2
  671. package/esm/src/utils/misc/parseNumber.d.ts +0 -4
  672. package/esm/src/utils/misc/xAboutPromptbookInformation.d.ts +3 -4
  673. package/esm/src/utils/normalization/IKeywords.d.ts +0 -3
  674. package/esm/src/utils/normalization/nameToUriPart.d.ts +1 -0
  675. package/esm/src/utils/normalization/nameToUriParts.d.ts +1 -0
  676. package/esm/src/utils/normalization/normalize-to-kebab-case.d.ts +2 -3
  677. package/esm/src/utils/normalization/normalizeTo_PascalCase.d.ts +2 -0
  678. package/esm/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +2 -0
  679. package/esm/src/utils/normalization/normalizeTo_camelCase.d.ts +2 -3
  680. package/esm/src/utils/normalization/normalizeTo_snake_case.d.ts +1 -0
  681. package/esm/src/utils/normalization/orderJson.d.ts +1 -0
  682. package/esm/src/utils/normalization/orderJson.test.d.ts +0 -3
  683. package/esm/src/utils/normalization/parseKeywords.d.ts +1 -4
  684. package/esm/src/utils/normalization/parseKeywordsFromString.d.ts +1 -0
  685. package/esm/src/utils/normalization/removeDiacritics.d.ts +1 -3
  686. package/esm/src/utils/normalization/removeEmojis.d.ts +1 -0
  687. package/esm/src/utils/normalization/removeQuotes.d.ts +1 -0
  688. package/esm/src/utils/normalization/searchKeywords.d.ts +1 -3
  689. package/esm/src/utils/normalization/titleToName.d.ts +1 -0
  690. package/esm/src/utils/normalization/unwrapResult.d.ts +1 -3
  691. package/esm/src/utils/organization/$sideEffect.d.ts +1 -0
  692. package/esm/src/utils/organization/TODO_USE.d.ts +1 -0
  693. package/esm/src/utils/organization/just.d.ts +1 -0
  694. package/esm/src/utils/organization/keepImported.d.ts +1 -0
  695. package/esm/src/utils/organization/keepTypeImported.d.ts +1 -0
  696. package/esm/src/utils/organization/keepUnused.d.ts +1 -0
  697. package/esm/src/utils/organization/preserve.d.ts +1 -3
  698. package/esm/src/utils/organization/really_any.d.ts +1 -0
  699. package/esm/src/utils/organization/spaceTrim.d.ts +3 -2
  700. package/esm/src/utils/parameters/extractParameterNames.d.ts +1 -0
  701. package/esm/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -0
  702. package/esm/src/utils/parameters/templateParameters.d.ts +2 -1
  703. package/esm/src/utils/parameters/valueToString.d.ts +2 -2
  704. package/esm/src/utils/random/$generateBookBoilerplate.d.ts +3 -3
  705. package/esm/src/utils/random/$randomAgentPersona.d.ts +1 -3
  706. package/esm/src/utils/random/$randomAgentRule.d.ts +1 -3
  707. package/esm/src/utils/random/$randomFullnameWithColor.d.ts +4 -3
  708. package/esm/src/utils/random/$randomItem.d.ts +0 -3
  709. package/esm/src/utils/random/$randomSeed.d.ts +0 -3
  710. package/esm/src/utils/random/$randomToken.d.ts +2 -5
  711. package/esm/src/utils/random/EnglishNamePool.d.ts +1 -0
  712. package/esm/src/utils/serialization/$deepFreeze.d.ts +1 -3
  713. package/esm/src/utils/serialization/checkSerializableAsJson.d.ts +1 -5
  714. package/esm/src/utils/serialization/clonePipeline.d.ts +1 -3
  715. package/esm/src/utils/serialization/deepClone.d.ts +1 -3
  716. package/esm/src/utils/serialization/exportJson.d.ts +1 -3
  717. package/esm/src/utils/serialization/isSerializableAsJson.d.ts +0 -5
  718. package/esm/src/utils/serialization/jsonStringsToJsons.d.ts +1 -4
  719. package/esm/src/utils/serialization/serializeToPromptbookJavascript.d.ts +3 -3
  720. package/esm/src/utils/sets/difference.d.ts +1 -3
  721. package/esm/src/utils/sets/intersection.d.ts +1 -0
  722. package/esm/src/utils/sets/union.d.ts +1 -0
  723. package/esm/src/utils/take/classes/TakeChain.d.ts +4 -1
  724. package/esm/src/utils/take/interfaces/ITakeChain.d.ts +5 -1
  725. package/esm/src/utils/take/interfaces/Takeable.d.ts +2 -1
  726. package/esm/src/utils/take/take.d.ts +1 -1
  727. package/esm/src/utils/validators/filePath/isRootPath.d.ts +1 -3
  728. package/esm/src/utils/validators/filePath/isRootPath.test.d.ts +0 -3
  729. package/esm/src/utils/validators/filePath/isValidFilePath.d.ts +1 -3
  730. package/esm/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +1 -0
  731. package/esm/src/utils/validators/parameterName/validateParameterName.d.ts +1 -0
  732. package/esm/src/utils/validators/semanticVersion/isValidPromptbookVersion.d.ts +2 -1
  733. package/esm/src/utils/validators/url/extractUrlsFromText.d.ts +1 -0
  734. package/esm/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +1 -0
  735. package/esm/src/utils/validators/url/isValidAgentUrl.d.ts +0 -3
  736. package/esm/src/utils/validators/url/isValidPipelineUrl.d.ts +0 -3
  737. package/esm/src/utils/validators/url/normalizeDomainForMatching.d.ts +1 -0
  738. package/esm/src/version.d.ts +1 -1
  739. package/esm/src/wizard/$getCompiledBook.d.ts +0 -2
  740. package/esm/src/wizard/wizard.d.ts +1 -2
  741. package/package.json +2 -2
  742. package/umd/index.umd.js +124 -90
  743. package/umd/index.umd.js.map +1 -1
  744. package/umd/src/_packages/types.index.d.ts +45 -45
  745. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +3 -4
  746. package/umd/src/book-2.0/agent-source/AgentModelRequirements.d.ts +0 -4
  747. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +7 -0
  748. package/umd/src/book-2.0/agent-source/createTeamToolName.d.ts +1 -0
  749. package/umd/src/book-2.0/agent-source/extractOpenTeacherInstructions.d.ts +1 -0
  750. package/umd/src/book-2.0/agent-source/padBook.d.ts +1 -4
  751. package/umd/src/book-2.0/agent-source/parseAgentSource.d.ts +0 -3
  752. package/umd/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +1 -0
  753. package/umd/src/book-2.0/agent-source/parseParameters.d.ts +1 -0
  754. package/umd/src/book-2.0/agent-source/parseTeamCommitment.d.ts +0 -3
  755. package/umd/src/book-2.0/agent-source/pseudoAgentReferences.d.ts +8 -3
  756. package/umd/src/book-2.0/agent-source/string_book.d.ts +1 -0
  757. package/umd/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +0 -3
  758. package/umd/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +0 -3
  759. package/umd/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +0 -3
  760. package/umd/src/book-components/AvatarProfile/AvatarProfile/AvatarProfileTooltip.d.ts +4 -0
  761. package/umd/src/book-components/BookEditor/BookEditor.d.ts +0 -3
  762. package/umd/src/book-components/BookEditor/BookEditorActionbar.d.ts +4 -0
  763. package/umd/src/book-components/BookEditor/BookEditorMonaco.d.ts +2 -0
  764. package/umd/src/book-components/BookEditor/BookEditorMonacoUploadPanel.d.ts +3 -0
  765. package/umd/src/book-components/BookEditor/createDeprecatedCommitmentDiagnostics.d.ts +1 -0
  766. package/umd/src/book-components/BookEditor/useBookEditorMonacoDecorations.d.ts +6 -0
  767. package/umd/src/book-components/BookEditor/useBookEditorMonacoDiagnostics.d.ts +9 -0
  768. package/umd/src/book-components/BookEditor/useBookEditorMonacoLanguage.d.ts +7 -0
  769. package/umd/src/book-components/BookEditor/useBookEditorMonacoStyles.d.ts +3 -0
  770. package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads.d.ts +24 -0
  771. package/umd/src/book-components/Chat/AgentChat/AgentChat.d.ts +0 -3
  772. package/umd/src/book-components/Chat/AgentChip/AgentChip.d.ts +6 -5
  773. package/umd/src/book-components/Chat/Chat/ChatInputAreaDictationPanel.d.ts +4 -8
  774. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +2 -3
  775. package/umd/src/book-components/Chat/Chat/ChatSelfLearningSummary.d.ts +0 -3
  776. package/umd/src/book-components/Chat/Chat/ChatToolCallModalComponents.d.ts +0 -3
  777. package/umd/src/book-components/Chat/Chat/StreamingFeaturePlaceholder.d.ts +1 -0
  778. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +1 -0
  779. package/umd/src/book-components/Chat/Chat/chatCssClassNames.d.ts +1 -0
  780. package/umd/src/book-components/Chat/Chat/constants.d.ts +4 -3
  781. package/umd/src/book-components/Chat/Chat/insertDictationChunk.d.ts +16 -0
  782. package/umd/src/book-components/Chat/Chat/learnDictationDictionary.d.ts +7 -0
  783. package/umd/src/book-components/Chat/Chat/refineFinalDictationChunk.d.ts +36 -0
  784. package/umd/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +3 -0
  785. package/umd/src/book-components/Chat/Chat/renderEmailToolCallDetails.d.ts +1 -0
  786. package/umd/src/book-components/Chat/Chat/renderMemoryToolCallDetails.d.ts +1 -0
  787. package/umd/src/book-components/Chat/Chat/renderPopupToolCallDetails.d.ts +1 -0
  788. package/umd/src/book-components/Chat/Chat/renderRunBrowserToolCallDetails.d.ts +1 -0
  789. package/umd/src/book-components/Chat/Chat/renderSearchToolCallDetails.d.ts +1 -0
  790. package/umd/src/book-components/Chat/Chat/renderSelfLearningToolCallDetails.d.ts +1 -0
  791. package/umd/src/book-components/Chat/Chat/renderTimeToolCallDetails.d.ts +1 -0
  792. package/umd/src/book-components/Chat/Chat/renderTimeoutToolCallDetails.d.ts +1 -0
  793. package/umd/src/book-components/Chat/Chat/renderToolCallClockPanel.d.ts +1 -0
  794. package/umd/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +1 -0
  795. package/umd/src/book-components/Chat/Chat/renderToolCallProgressPlaceholder.d.ts +1 -0
  796. package/umd/src/book-components/Chat/Chat/renderWalletCredentialToolCallDetails.d.ts +1 -0
  797. package/umd/src/book-components/Chat/Chat/resolveSpeechRecognitionUiDescriptor.d.ts +30 -0
  798. package/umd/src/book-components/Chat/Chat/resolveToolCallProgressMessage.d.ts +1 -0
  799. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +7 -30
  800. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictationPersistence.d.ts +20 -0
  801. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictationSupport.d.ts +29 -0
  802. package/umd/src/book-components/Chat/LlmChat/defaults.d.ts +0 -3
  803. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +3 -3
  804. package/umd/src/book-components/Chat/MockedChat/constants.d.ts +0 -3
  805. package/umd/src/book-components/Chat/SourceChip/SourceChip.d.ts +4 -3
  806. package/umd/src/book-components/Chat/effects/components/ConfettiEffect.d.ts +3 -0
  807. package/umd/src/book-components/Chat/effects/components/HeartsEffect.d.ts +3 -0
  808. package/umd/src/book-components/Chat/effects/index.d.ts +0 -4
  809. package/umd/src/book-components/Chat/effects/utils/detectEffects.d.ts +1 -0
  810. package/umd/src/book-components/Chat/hooks/useSendMessageToLlmChat.d.ts +4 -4
  811. package/umd/src/book-components/Chat/save/_common/string_chat_format_name.d.ts +1 -0
  812. package/umd/src/book-components/Chat/save/html/htmlSaveFormatDefinition.d.ts +0 -3
  813. package/umd/src/book-components/Chat/save/index.d.ts +0 -3
  814. package/umd/src/book-components/Chat/save/pdf/buildChatPdf.d.ts +1 -0
  815. package/umd/src/book-components/Chat/save/pdf/pdfSaveFormatDefinition.d.ts +0 -4
  816. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +3 -5
  817. package/umd/src/book-components/Chat/types/ChatParticipant.d.ts +0 -3
  818. package/umd/src/book-components/Chat/utils/ExportFormat.d.ts +2 -0
  819. package/umd/src/book-components/Chat/utils/citationHelpers.d.ts +4 -3
  820. package/umd/src/book-components/Chat/utils/collectTeamToolCallSummary.d.ts +1 -0
  821. package/umd/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +1 -0
  822. package/umd/src/book-components/Chat/utils/exportChatHistory.d.ts +0 -3
  823. package/umd/src/book-components/Chat/utils/formatToolCallLocalTime.d.ts +2 -1
  824. package/umd/src/book-components/Chat/utils/loadAgentProfile.d.ts +12 -0
  825. package/umd/src/book-components/Chat/utils/parseCitationsFromContent.d.ts +0 -3
  826. package/umd/src/book-components/Chat/utils/parseImagePrompts.d.ts +1 -3
  827. package/umd/src/book-components/Chat/utils/sanitizeStreamingMessageContent.d.ts +14 -0
  828. package/umd/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +3 -0
  829. package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +0 -3
  830. package/umd/src/book-components/Chat/utils/toolCallParsing/extractSearchResults.d.ts +1 -0
  831. package/umd/src/book-components/Chat/utils/toolCallParsing/getToolCallResultDate.d.ts +1 -0
  832. package/umd/src/book-components/Chat/utils/toolCallParsing/getToolCallTimestamp.d.ts +1 -0
  833. package/umd/src/book-components/Chat/utils/toolCallParsing/parseRunBrowserToolResult.d.ts +1 -0
  834. package/umd/src/book-components/Chat/utils/toolCallParsing/parseTeamToolResult.d.ts +1 -0
  835. package/umd/src/book-components/Chat/utils/toolCallParsing/parseToolCallArguments.d.ts +1 -0
  836. package/umd/src/book-components/Chat/utils/toolCallParsing/parseToolCallResult.d.ts +1 -0
  837. package/umd/src/book-components/Chat/utils/toolCallParsing/resolveRunBrowserArtifactUrl.d.ts +1 -0
  838. package/umd/src/book-components/Chat/utils/walletCredentialToolCall.d.ts +3 -3
  839. package/umd/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +3 -5
  840. package/umd/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +3 -5
  841. package/umd/src/book-components/Qr/BrandedQrCode.d.ts +5 -0
  842. package/umd/src/book-components/Qr/GenericQrCode.d.ts +5 -0
  843. package/umd/src/book-components/Qr/PromptbookQrCode.d.ts +5 -0
  844. package/umd/src/book-components/Qr/useQrCode.d.ts +4 -1
  845. package/umd/src/book-components/_common/Dropdown/Dropdown.d.ts +4 -0
  846. package/umd/src/book-components/_common/HamburgerMenu/HamburgerMenu.d.ts +4 -0
  847. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +3 -3
  848. package/umd/src/book-components/_common/Modal/Modal.d.ts +1 -3
  849. package/umd/src/book-components/_common/Tooltip/Tooltip.d.ts +3 -0
  850. package/umd/src/book-components/icons/AboutIcon.d.ts +1 -0
  851. package/umd/src/book-components/icons/AttachmentIcon.d.ts +4 -0
  852. package/umd/src/book-components/icons/CameraIcon.d.ts +4 -0
  853. package/umd/src/book-components/icons/DownloadIcon.d.ts +1 -0
  854. package/umd/src/book-components/icons/EmailIcon.d.ts +1 -0
  855. package/umd/src/book-components/icons/MenuIcon.d.ts +1 -3
  856. package/umd/src/book-components/icons/SaveIcon.d.ts +1 -0
  857. package/umd/src/book-components/icons/SendIcon.d.ts +0 -3
  858. package/umd/src/book-components/icons/TeacherIcon.d.ts +1 -0
  859. package/umd/src/cli/$runPromptbookCli.d.ts +0 -1
  860. package/umd/src/cli/cli-commands/_boilerplate.d.ts +0 -2
  861. package/umd/src/cli/cli-commands/about.d.ts +0 -6
  862. package/umd/src/cli/cli-commands/coder/ThinkingLevel.d.ts +18 -0
  863. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +127 -0
  864. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.test.d.ts +1 -0
  865. package/umd/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts +0 -2
  866. package/umd/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +0 -2
  867. package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +10 -2
  868. package/umd/src/cli/cli-commands/coder/init.d.ts +38 -2
  869. package/umd/src/cli/cli-commands/coder/run.d.ts +1 -3
  870. package/umd/src/cli/cli-commands/coder/run.test.d.ts +1 -0
  871. package/umd/src/cli/cli-commands/coder/verify.d.ts +0 -2
  872. package/umd/src/cli/cli-commands/coder.d.ts +0 -2
  873. package/umd/src/cli/cli-commands/common/handleActionErrors.d.ts +4 -0
  874. package/umd/src/cli/cli-commands/hello.d.ts +0 -5
  875. package/umd/src/cli/cli-commands/list-models.d.ts +0 -2
  876. package/umd/src/cli/cli-commands/list-scrapers.d.ts +0 -2
  877. package/umd/src/cli/cli-commands/login.d.ts +0 -5
  878. package/umd/src/cli/cli-commands/prettify.d.ts +0 -6
  879. package/umd/src/cli/cli-commands/run.d.ts +0 -8
  880. package/umd/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -5
  881. package/umd/src/cli/cli-commands/start-agents-server.d.ts +0 -2
  882. package/umd/src/cli/cli-commands/start-pipelines-server.d.ts +0 -5
  883. package/umd/src/cli/cli-commands/test-command.d.ts +0 -7
  884. package/umd/src/cli/common/$provideLlmToolsForCli.d.ts +5 -0
  885. package/umd/src/cli/main.d.ts +0 -2
  886. package/umd/src/cli/promptbookCli.d.ts +0 -7
  887. package/umd/src/collection/agent-collection/AgentCollection.d.ts +0 -3
  888. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +2 -6
  889. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabaseOptions.d.ts +3 -0
  890. package/umd/src/collection/pipeline-collection/SimplePipelineCollection.d.ts +2 -1
  891. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromDirectory.d.ts +2 -5
  892. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromJson.d.ts +1 -0
  893. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromPromise.d.ts +4 -3
  894. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromUrl.d.ts +2 -3
  895. package/umd/src/collection/pipeline-collection/constructors/createPipelineSubcollection.d.ts +1 -0
  896. package/umd/src/collection/pipeline-collection/pipelineCollectionToJson.d.ts +0 -3
  897. package/umd/src/commands/BOOK_VERSION/BookVersionCommand.d.ts +1 -0
  898. package/umd/src/commands/BOOK_VERSION/bookVersionCommandParser.d.ts +1 -0
  899. package/umd/src/commands/EXPECT/ExpectCommand.d.ts +0 -3
  900. package/umd/src/commands/EXPECT/expectCommandParser.d.ts +3 -2
  901. package/umd/src/commands/FOREACH/ForeachCommand.d.ts +1 -0
  902. package/umd/src/commands/FOREACH/foreachCommandParser.d.ts +1 -3
  903. package/umd/src/commands/FORMAT/formatCommandParser.d.ts +1 -0
  904. package/umd/src/commands/FORMFACTOR/FormfactorCommand.d.ts +1 -0
  905. package/umd/src/commands/FORMFACTOR/formfactorCommandParser.d.ts +1 -0
  906. package/umd/src/commands/JOKER/JokerCommand.d.ts +1 -0
  907. package/umd/src/commands/JOKER/jokerCommandParser.d.ts +1 -0
  908. package/umd/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +1 -0
  909. package/umd/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +1 -3
  910. package/umd/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.d.ts +0 -3
  911. package/umd/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.test.d.ts +0 -3
  912. package/umd/src/commands/MODEL/ModelCommand.d.ts +1 -0
  913. package/umd/src/commands/MODEL/modelCommandParser.d.ts +1 -0
  914. package/umd/src/commands/PARAMETER/ParameterCommand.d.ts +1 -0
  915. package/umd/src/commands/PARAMETER/parameterCommandParser.d.ts +1 -0
  916. package/umd/src/commands/PERSONA/PersonaCommand.d.ts +1 -0
  917. package/umd/src/commands/PERSONA/personaCommandParser.d.ts +1 -0
  918. package/umd/src/commands/POSTPROCESS/PostprocessCommand.d.ts +1 -0
  919. package/umd/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +1 -0
  920. package/umd/src/commands/SECTION/SectionCommand.d.ts +1 -0
  921. package/umd/src/commands/SECTION/sectionCommandParser.d.ts +1 -0
  922. package/umd/src/commands/URL/UrlCommand.d.ts +1 -0
  923. package/umd/src/commands/URL/urlCommandParser.d.ts +1 -0
  924. package/umd/src/commands/X_ACTION/ActionCommand.d.ts +1 -0
  925. package/umd/src/commands/X_ACTION/actionCommandParser.d.ts +1 -3
  926. package/umd/src/commands/X_INSTRUMENT/InstrumentCommand.d.ts +1 -0
  927. package/umd/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +1 -3
  928. package/umd/src/commands/_BOILERPLATE/BoilerplateCommand.d.ts +1 -0
  929. package/umd/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +1 -0
  930. package/umd/src/commands/_common/stringifyCommand.d.ts +1 -1
  931. package/umd/src/commands/_common/types/CommandParser.d.ts +0 -4
  932. package/umd/src/commands/index.d.ts +0 -3
  933. package/umd/src/commitments/ACTION/ACTION.d.ts +0 -3
  934. package/umd/src/commitments/CLOSED/CLOSED.d.ts +0 -3
  935. package/umd/src/commitments/CLOSED/CLOSED.test.d.ts +0 -3
  936. package/umd/src/commitments/COMPONENT/COMPONENT.d.ts +0 -3
  937. package/umd/src/commitments/DELETE/DELETE.d.ts +0 -3
  938. package/umd/src/commitments/DICTIONARY/DICTIONARY.d.ts +0 -3
  939. package/umd/src/commitments/FORMAT/FORMAT.d.ts +0 -3
  940. package/umd/src/commitments/FROM/FROM.d.ts +0 -3
  941. package/umd/src/commitments/GOAL/GOAL.d.ts +0 -3
  942. package/umd/src/commitments/IMPORT/IMPORT.d.ts +0 -3
  943. package/umd/src/commitments/LANGUAGE/LANGUAGE.d.ts +0 -3
  944. package/umd/src/commitments/MEMORY/MEMORY.d.ts +0 -3
  945. package/umd/src/commitments/MESSAGE/MESSAGE.d.ts +0 -3
  946. package/umd/src/commitments/MESSAGE_SUFFIX/MESSAGE_SUFFIX.d.ts +0 -3
  947. package/umd/src/commitments/META/META.d.ts +0 -3
  948. package/umd/src/commitments/META/META_DESCRIPTION.d.ts +0 -3
  949. package/umd/src/commitments/META_COLOR/META_COLOR.d.ts +0 -3
  950. package/umd/src/commitments/META_DISCLAIMER/META_DISCLAIMER.d.ts +0 -3
  951. package/umd/src/commitments/META_DOMAIN/META_DOMAIN.d.ts +0 -3
  952. package/umd/src/commitments/META_FONT/META_FONT.d.ts +0 -3
  953. package/umd/src/commitments/META_IMAGE/META_IMAGE.d.ts +0 -3
  954. package/umd/src/commitments/META_INPUT_PLACEHOLDER/META_INPUT_PLACEHOLDER.d.ts +0 -3
  955. package/umd/src/commitments/META_LINK/META_LINK.d.ts +0 -3
  956. package/umd/src/commitments/META_VOICE/META_VOICE.d.ts +0 -3
  957. package/umd/src/commitments/MODEL/MODEL.d.ts +0 -3
  958. package/umd/src/commitments/OPEN/OPEN.d.ts +0 -3
  959. package/umd/src/commitments/PERSONA/PERSONA.d.ts +0 -3
  960. package/umd/src/commitments/RULE/RULE.d.ts +0 -3
  961. package/umd/src/commitments/SAMPLE/SAMPLE.d.ts +0 -3
  962. package/umd/src/commitments/SCENARIO/SCENARIO.d.ts +0 -3
  963. package/umd/src/commitments/TEAM/TEAM.d.ts +0 -3
  964. package/umd/src/commitments/TEMPLATE/TEMPLATE.d.ts +0 -3
  965. package/umd/src/commitments/USE/USE.d.ts +0 -3
  966. package/umd/src/commitments/USE/aggregateUseCommitmentSystemMessages.d.ts +2 -0
  967. package/umd/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +0 -3
  968. package/umd/src/commitments/USE_BROWSER/fetchUrlContent.d.ts +4 -5
  969. package/umd/src/commitments/USE_CALENDAR/USE_CALENDAR.d.ts +0 -3
  970. package/umd/src/commitments/USE_CALENDAR/calendarReference.d.ts +0 -3
  971. package/umd/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +0 -3
  972. package/umd/src/commitments/USE_IMAGE_GENERATOR/USE_IMAGE_GENERATOR.d.ts +0 -3
  973. package/umd/src/commitments/USE_MCP/USE_MCP.d.ts +0 -3
  974. package/umd/src/commitments/USE_POPUP/USE_POPUP.d.ts +0 -3
  975. package/umd/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +0 -3
  976. package/umd/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +0 -3
  977. package/umd/src/commitments/USE_PROJECT/projectReference.d.ts +0 -3
  978. package/umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +0 -3
  979. package/umd/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +0 -3
  980. package/umd/src/commitments/USE_TIME/USE_TIME.d.ts +0 -3
  981. package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +0 -3
  982. package/umd/src/commitments/USE_USER_LOCATION/USE_USER_LOCATION.d.ts +0 -3
  983. package/umd/src/commitments/WALLET/WALLET.d.ts +0 -3
  984. package/umd/src/commitments/WRITING_RULES/WRITING_RULES.d.ts +0 -3
  985. package/umd/src/commitments/WRITING_SAMPLE/WRITING_SAMPLE.d.ts +0 -3
  986. package/umd/src/commitments/_base/createEmptyAgentModelRequirements.d.ts +0 -3
  987. package/umd/src/commitments/_common/commitmentToolFunctions.d.ts +2 -3
  988. package/umd/src/commitments/_common/createWritingCommitmentSections.d.ts +2 -3
  989. package/umd/src/commitments/_common/getAllCommitmentDefinitions.d.ts +1 -0
  990. package/umd/src/commitments/_common/getAllCommitmentTypes.d.ts +1 -0
  991. package/umd/src/commitments/_common/getAllCommitmentsToolFunctionsForNode.d.ts +0 -4
  992. package/umd/src/commitments/_common/getCommitmentDefinition.d.ts +1 -0
  993. package/umd/src/commitments/_common/isCommitmentSupported.d.ts +1 -0
  994. package/umd/src/commitments/_common/toolExecutionEnvelope.d.ts +0 -3
  995. package/umd/src/commitments/_common/toolRuntimeContext.d.ts +3 -3
  996. package/umd/src/commitments/index.d.ts +0 -4
  997. package/umd/src/config.test.d.ts +0 -3
  998. package/umd/src/constants/streaming.d.ts +0 -3
  999. package/umd/src/constants.d.ts +0 -3
  1000. package/umd/src/conversion/archive/loadArchive.d.ts +0 -1
  1001. package/umd/src/conversion/archive/saveArchive.d.ts +0 -5
  1002. package/umd/src/conversion/compilePipeline.d.ts +2 -7
  1003. package/umd/src/conversion/compilePipelineOnRemoteServer.d.ts +2 -5
  1004. package/umd/src/conversion/parsePipeline.d.ts +1 -11
  1005. package/umd/src/conversion/pipelineJsonToString.d.ts +1 -7
  1006. package/umd/src/conversion/prettify/prettifyPipelineString.d.ts +0 -4
  1007. package/umd/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +0 -7
  1008. package/umd/src/conversion/utils/extractParameterNamesFromTask.d.ts +1 -3
  1009. package/umd/src/conversion/validation/_importPipeline.d.ts +6 -2
  1010. package/umd/src/conversion/validation/pipelineStringToJson-parseErrors.test.d.ts +0 -3
  1011. package/umd/src/conversion/validation/validatePipeline-logicErrors.test.d.ts +0 -3
  1012. package/umd/src/conversion/validation/validatePipeline.d.ts +3 -9
  1013. package/umd/src/conversion/validation/validatePipeline.test.d.ts +0 -3
  1014. package/umd/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -2
  1015. package/umd/src/errors/0-BoilerplateError.d.ts +0 -3
  1016. package/umd/src/errors/0-index.d.ts +0 -3
  1017. package/umd/src/errors/DatabaseError.d.ts +0 -3
  1018. package/umd/src/errors/ExpectError.d.ts +2 -1
  1019. package/umd/src/errors/ParseError.d.ts +0 -3
  1020. package/umd/src/errors/PipelineExecutionError.d.ts +0 -3
  1021. package/umd/src/executables/$provideExecutablesForNode.d.ts +0 -5
  1022. package/umd/src/executables/apps/locateLibreoffice.d.ts +0 -2
  1023. package/umd/src/executables/apps/locatePandoc.d.ts +0 -2
  1024. package/umd/src/executables/browsers/locateBrowser.d.ts +0 -1
  1025. package/umd/src/executables/browsers/locateDefaultSystemBrowser.d.ts +0 -1
  1026. package/umd/src/executables/locateApp.d.ts +0 -2
  1027. package/umd/src/executables/platforms/locateAppOnLinux.d.ts +0 -2
  1028. package/umd/src/executables/platforms/locateAppOnMacOs.d.ts +0 -2
  1029. package/umd/src/executables/platforms/locateAppOnWindows.d.ts +0 -2
  1030. package/umd/src/execution/AbstractTaskResult.d.ts +0 -4
  1031. package/umd/src/execution/AvailableModel.d.ts +0 -4
  1032. package/umd/src/execution/CommonToolsOptions.d.ts +0 -5
  1033. package/umd/src/execution/ExecutionTask.d.ts +4 -4
  1034. package/umd/src/execution/FilesystemTools.d.ts +0 -3
  1035. package/umd/src/execution/LlmExecutionTools.d.ts +3 -9
  1036. package/umd/src/execution/LlmExecutionToolsConstructor.d.ts +0 -3
  1037. package/umd/src/execution/PipelineExecutor.d.ts +0 -3
  1038. package/umd/src/execution/PipelineExecutorResult.d.ts +0 -3
  1039. package/umd/src/execution/PromptResult.d.ts +1 -9
  1040. package/umd/src/execution/PromptbookFetch.test-type.d.ts +0 -4
  1041. package/umd/src/execution/ScriptExecutionTools.d.ts +0 -4
  1042. package/umd/src/execution/Usage.d.ts +0 -3
  1043. package/umd/src/execution/UserInterfaceTools.d.ts +3 -0
  1044. package/umd/src/execution/assertsTaskSuccessful.d.ts +1 -3
  1045. package/umd/src/execution/createPipelineExecutor/00-createPipelineExecutor.d.ts +1 -0
  1046. package/umd/src/execution/createPipelineExecutor/20-executeTask.d.ts +0 -3
  1047. package/umd/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +1 -3
  1048. package/umd/src/execution/createPipelineExecutor/getContextForTask.d.ts +1 -0
  1049. package/umd/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +0 -4
  1050. package/umd/src/execution/createPipelineExecutor/knowledgePiecesToString.d.ts +0 -1
  1051. package/umd/src/execution/execution-report/ExecutionReportJson.d.ts +1 -0
  1052. package/umd/src/execution/execution-report/ExecutionReportString.d.ts +0 -3
  1053. package/umd/src/execution/execution-report/executionReportJsonToString.d.ts +0 -5
  1054. package/umd/src/execution/translation/automatic-translate/automatic-translators/AutomaticTranslator.d.ts +3 -1
  1055. package/umd/src/execution/translation/automatic-translate/automatic-translators/FakeAutomaticTranslator.d.ts +3 -1
  1056. package/umd/src/execution/translation/automatic-translate/automatic-translators/TranslatorOptions.d.ts +3 -1
  1057. package/umd/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.d.ts +2 -0
  1058. package/umd/src/execution/translation/automatic-translate/translateMessages.d.ts +3 -3
  1059. package/umd/src/execution/utils/$provideExecutionToolsForNode.d.ts +2 -4
  1060. package/umd/src/execution/utils/checkExpectations.d.ts +2 -5
  1061. package/umd/src/execution/utils/forEachAsync.d.ts +5 -1
  1062. package/umd/src/execution/utils/usage-constants.d.ts +0 -3
  1063. package/umd/src/execution/utils/usageToHuman.d.ts +0 -8
  1064. package/umd/src/execution/utils/validatePromptResult.d.ts +1 -0
  1065. package/umd/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +1 -0
  1066. package/umd/src/formats/_common/FormatParser.d.ts +2 -9
  1067. package/umd/src/formats/_common/FormatSubvalueParser.d.ts +0 -3
  1068. package/umd/src/formats/csv/CsvFormatParser.d.ts +2 -8
  1069. package/umd/src/formats/index.d.ts +0 -3
  1070. package/umd/src/formats/json/JsonFormatParser.d.ts +0 -11
  1071. package/umd/src/formats/text/TextFormatParser.d.ts +0 -9
  1072. package/umd/src/formats/xml/XmlFormatParser.d.ts +0 -11
  1073. package/umd/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +1 -3
  1074. package/umd/src/formfactors/_common/FormfactorDefinition.d.ts +1 -0
  1075. package/umd/src/formfactors/index.d.ts +0 -3
  1076. package/umd/src/high-level-abstractions/_common/HighLevelAbstraction.d.ts +0 -5
  1077. package/umd/src/high-level-abstractions/index.d.ts +0 -4
  1078. package/umd/src/high-level-abstractions/quick-chatbot/QuickChatbotHla.d.ts +0 -3
  1079. package/umd/src/llm-providers/_common/register/$llmToolsMetadataRegister.d.ts +2 -3
  1080. package/umd/src/llm-providers/_common/register/$llmToolsRegister.d.ts +2 -3
  1081. package/umd/src/llm-providers/_common/register/$provideEnvFilename.d.ts +0 -1
  1082. package/umd/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  1083. package/umd/src/llm-providers/_common/register/$provideLlmToolsForTestingAndScriptsAndPlayground.d.ts +3 -6
  1084. package/umd/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +3 -7
  1085. package/umd/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -16
  1086. package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +0 -4
  1087. package/umd/src/llm-providers/_common/register/LlmToolsConfiguration.d.ts +0 -5
  1088. package/umd/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +0 -6
  1089. package/umd/src/llm-providers/_common/register/LlmToolsOptions.d.ts +0 -4
  1090. package/umd/src/llm-providers/_common/register/createLlmToolsFromConfiguration.d.ts +1 -0
  1091. package/umd/src/llm-providers/_common/utils/assertUniqueModels.d.ts +0 -3
  1092. package/umd/src/llm-providers/_common/utils/cache/CacheItem.d.ts +0 -3
  1093. package/umd/src/llm-providers/_common/utils/cache/cacheLlmTools.d.ts +1 -0
  1094. package/umd/src/llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage.d.ts +0 -4
  1095. package/umd/src/llm-providers/_common/utils/count-total-usage/countUsage.d.ts +1 -0
  1096. package/umd/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +0 -7
  1097. package/umd/src/llm-providers/_common/utils/removeUnsupportedModelRequirements.d.ts +4 -0
  1098. package/umd/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +1 -0
  1099. package/umd/src/llm-providers/_multiple/getSingleLlmExecutionTools.d.ts +0 -4
  1100. package/umd/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +3 -7
  1101. package/umd/src/llm-providers/_multiple/playground/playground.d.ts +0 -1
  1102. package/umd/src/llm-providers/agent/Agent.d.ts +0 -3
  1103. package/umd/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +0 -4
  1104. package/umd/src/llm-providers/agent/RemoteAgent.d.ts +0 -4
  1105. package/umd/src/llm-providers/agent/playground/playground.d.ts +0 -6
  1106. package/umd/src/llm-providers/agent/register-configuration.d.ts +0 -5
  1107. package/umd/src/llm-providers/agent/register-constructor.d.ts +0 -4
  1108. package/umd/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +2 -10
  1109. package/umd/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +3 -3
  1110. package/umd/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -8
  1111. package/umd/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +1 -3
  1112. package/umd/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.test.d.ts +0 -3
  1113. package/umd/src/llm-providers/anthropic-claude/createAnthropicClaudeExecutionTools.d.ts +0 -7
  1114. package/umd/src/llm-providers/anthropic-claude/playground/playground.d.ts +0 -5
  1115. package/umd/src/llm-providers/anthropic-claude/register-configuration.d.ts +0 -3
  1116. package/umd/src/llm-providers/anthropic-claude/register-constructor.d.ts +0 -5
  1117. package/umd/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +0 -6
  1118. package/umd/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +1 -0
  1119. package/umd/src/llm-providers/azure-openai/createAzureOpenAiExecutionTools.d.ts +0 -4
  1120. package/umd/src/llm-providers/azure-openai/playground/playground.d.ts +0 -2
  1121. package/umd/src/llm-providers/azure-openai/register-configuration.d.ts +0 -3
  1122. package/umd/src/llm-providers/azure-openai/register-constructor.d.ts +0 -4
  1123. package/umd/src/llm-providers/deepseek/DeepseekExecutionToolsOptions.d.ts +1 -0
  1124. package/umd/src/llm-providers/deepseek/createDeepseekExecutionTools.d.ts +0 -3
  1125. package/umd/src/llm-providers/deepseek/deepseek-models.d.ts +1 -6
  1126. package/umd/src/llm-providers/deepseek/register-configuration.d.ts +0 -3
  1127. package/umd/src/llm-providers/deepseek/register-constructor.d.ts +0 -4
  1128. package/umd/src/llm-providers/google/GoogleExecutionToolsOptions.d.ts +1 -0
  1129. package/umd/src/llm-providers/google/createGoogleExecutionTools.d.ts +0 -4
  1130. package/umd/src/llm-providers/google/google-models.d.ts +1 -6
  1131. package/umd/src/llm-providers/google/register-configuration.d.ts +0 -3
  1132. package/umd/src/llm-providers/google/register-constructor.d.ts +0 -4
  1133. package/umd/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -5
  1134. package/umd/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +0 -4
  1135. package/umd/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +0 -3
  1136. package/umd/src/llm-providers/mocked/test/joker.test.d.ts +0 -3
  1137. package/umd/src/llm-providers/mocked/test/mocked-chat.test.d.ts +0 -4
  1138. package/umd/src/llm-providers/mocked/test/mocked-completion.test.d.ts +0 -3
  1139. package/umd/src/llm-providers/ollama/OllamaExecutionTools.d.ts +0 -3
  1140. package/umd/src/llm-providers/ollama/OllamaExecutionToolsOptions.d.ts +1 -0
  1141. package/umd/src/llm-providers/ollama/ollama-models.d.ts +1 -4
  1142. package/umd/src/llm-providers/ollama/playground/playground.d.ts +0 -2
  1143. package/umd/src/llm-providers/ollama/register-configuration.d.ts +0 -3
  1144. package/umd/src/llm-providers/ollama/register-constructor.d.ts +0 -4
  1145. package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +10 -0
  1146. package/umd/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +1 -8
  1147. package/umd/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +0 -7
  1148. package/umd/src/llm-providers/openai/OpenAiCompatibleExecutionToolsOptions.d.ts +2 -0
  1149. package/umd/src/llm-providers/openai/computeOpenAiUsage.d.ts +1 -3
  1150. package/umd/src/llm-providers/openai/computeOpenAiUsage.test.d.ts +0 -3
  1151. package/umd/src/llm-providers/openai/createOpenAiAssistantExecutionTools.d.ts +0 -4
  1152. package/umd/src/llm-providers/openai/createOpenAiCompatibleExecutionTools.d.ts +0 -4
  1153. package/umd/src/llm-providers/openai/createOpenAiExecutionTools.d.ts +0 -4
  1154. package/umd/src/llm-providers/openai/openai-models.d.ts +1 -0
  1155. package/umd/src/llm-providers/openai/openai-models.test.d.ts +0 -3
  1156. package/umd/src/llm-providers/openai/playground/playground.d.ts +0 -2
  1157. package/umd/src/llm-providers/openai/register-configuration.d.ts +0 -3
  1158. package/umd/src/llm-providers/openai/register-constructor.d.ts +0 -4
  1159. package/umd/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +1 -9
  1160. package/umd/src/llm-providers/remote/playground/playground.d.ts +0 -1
  1161. package/umd/src/llm-providers/vercel/playground/playground.d.ts +0 -2
  1162. package/umd/src/other/templates/getBookTemplates.d.ts +2 -5
  1163. package/umd/src/personas/preparePersona.d.ts +1 -7
  1164. package/umd/src/pipeline/PipelineInterface/PipelineInterface.d.ts +1 -0
  1165. package/umd/src/pipeline/PipelineInterface/constants.d.ts +0 -3
  1166. package/umd/src/pipeline/PipelineJson/CommonTaskJson.d.ts +0 -4
  1167. package/umd/src/pipeline/PipelineJson/DialogTaskJson.d.ts +1 -3
  1168. package/umd/src/pipeline/PipelineJson/Expectations.d.ts +4 -3
  1169. package/umd/src/pipeline/PipelineJson/KnowledgePieceJson.d.ts +0 -4
  1170. package/umd/src/pipeline/PipelineJson/KnowledgeSourceJson.d.ts +0 -3
  1171. package/umd/src/pipeline/PipelineJson/PersonaJson.d.ts +0 -3
  1172. package/umd/src/pipeline/PipelineJson/PreparationJson.d.ts +3 -5
  1173. package/umd/src/pipeline/PipelineJson/ScriptTaskJson.d.ts +1 -4
  1174. package/umd/src/pipeline/PipelineJson/SimpleTaskJson.d.ts +1 -3
  1175. package/umd/src/pipeline/book-notation.d.ts +1 -4
  1176. package/umd/src/pipeline/isValidPipelineString.d.ts +1 -3
  1177. package/umd/src/pipeline/isValidPipelineString.test.d.ts +0 -3
  1178. package/umd/src/pipeline/prompt-notation/helpers/ParameterEscaping.d.ts +5 -0
  1179. package/umd/src/pipeline/prompt-notation/helpers/ParameterNaming.d.ts +1 -0
  1180. package/umd/src/pipeline/prompt-notation/helpers/ParameterSection.d.ts +2 -0
  1181. package/umd/src/pipeline/prompt-notation.d.ts +2 -5
  1182. package/umd/src/pipeline/prompt-notation.test.d.ts +0 -3
  1183. package/umd/src/pipeline/validatePipelineString.d.ts +1 -3
  1184. package/umd/src/playground/permanent/_boilerplate.d.ts +0 -1
  1185. package/umd/src/playground/permanent/agent-with-browser-playground.d.ts +0 -1
  1186. package/umd/src/playground/permanent/error-handling-playground.d.ts +0 -1
  1187. package/umd/src/playground/playground.d.ts +0 -2
  1188. package/umd/src/postprocessing/utils/extractBlock.d.ts +2 -1
  1189. package/umd/src/postprocessing/utils/extractJsonBlock.d.ts +2 -5
  1190. package/umd/src/prepare/PrepareAndScrapeOptions.d.ts +0 -4
  1191. package/umd/src/prepare/preparePipeline.d.ts +3 -2
  1192. package/umd/src/prepare/preparePipelineOnRemoteServer.d.ts +2 -5
  1193. package/umd/src/prepare/prepareTasks.d.ts +6 -10
  1194. package/umd/src/prepare/unpreparePipeline.d.ts +1 -5
  1195. package/umd/src/remote-server/RemoteServer.d.ts +3 -0
  1196. package/umd/src/remote-server/openapi.d.ts +3 -4
  1197. package/umd/src/remote-server/socket-types/_subtypes/Identification.d.ts +1 -5
  1198. package/umd/src/remote-server/socket-types/listModels/PromptbookServer_ListModels_Request.d.ts +0 -3
  1199. package/umd/src/remote-server/socket-types/listModels/PromptbookServer_ListModels_Response.d.ts +0 -3
  1200. package/umd/src/remote-server/startAgentServer.d.ts +6 -2
  1201. package/umd/src/remote-server/startRemoteServer.d.ts +1 -15
  1202. package/umd/src/remote-server/types/RemoteClientOptions.d.ts +0 -5
  1203. package/umd/src/remote-server/types/RemoteServerOptions.d.ts +10 -4
  1204. package/umd/src/remote-server/ui/ServerApp.d.ts +1 -0
  1205. package/umd/src/remote-server/ui/types.d.ts +3 -0
  1206. package/umd/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +1 -4
  1207. package/umd/src/scrapers/_boilerplate/createBoilerplateScraper.d.ts +0 -3
  1208. package/umd/src/scrapers/_boilerplate/playground/boilerplate-scraper-playground.d.ts +0 -1
  1209. package/umd/src/scrapers/_boilerplate/register-constructor.d.ts +0 -4
  1210. package/umd/src/scrapers/_boilerplate/register-metadata.d.ts +0 -3
  1211. package/umd/src/scrapers/_common/Scraper.d.ts +0 -5
  1212. package/umd/src/scrapers/_common/ScraperIntermediateSource.d.ts +0 -3
  1213. package/umd/src/scrapers/_common/prepareKnowledgePieces.d.ts +1 -0
  1214. package/umd/src/scrapers/_common/register/$provideFilesystemForNode.d.ts +0 -2
  1215. package/umd/src/scrapers/_common/register/$provideScrapersForNode.d.ts +1 -2
  1216. package/umd/src/scrapers/_common/register/$provideScriptingForNode.d.ts +0 -2
  1217. package/umd/src/scrapers/_common/register/$registeredScrapersMessage.d.ts +0 -3
  1218. package/umd/src/scrapers/_common/register/$scrapersMetadataRegister.d.ts +2 -3
  1219. package/umd/src/scrapers/_common/register/$scrapersRegister.d.ts +2 -3
  1220. package/umd/src/scrapers/_common/register/ScraperConstructor.d.ts +0 -3
  1221. package/umd/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +0 -7
  1222. package/umd/src/scrapers/_common/utils/getScraperIntermediateSource.test.d.ts +0 -3
  1223. package/umd/src/scrapers/_common/utils/promptbookFetch.d.ts +0 -3
  1224. package/umd/src/scrapers/document/DocumentScraper.d.ts +1 -6
  1225. package/umd/src/scrapers/document/DocumentScraper.test.d.ts +0 -3
  1226. package/umd/src/scrapers/document/createDocumentScraper.d.ts +0 -3
  1227. package/umd/src/scrapers/document/playground/document-scraper-playground.d.ts +0 -1
  1228. package/umd/src/scrapers/document/register-constructor.d.ts +0 -4
  1229. package/umd/src/scrapers/document/register-metadata.d.ts +0 -3
  1230. package/umd/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -6
  1231. package/umd/src/scrapers/document-legacy/LegacyDocumentScraper.test.d.ts +0 -3
  1232. package/umd/src/scrapers/document-legacy/createLegacyDocumentScraper.d.ts +0 -3
  1233. package/umd/src/scrapers/document-legacy/playground/legacy-document-scraper-playground.d.ts +0 -1
  1234. package/umd/src/scrapers/document-legacy/register-constructor.d.ts +0 -4
  1235. package/umd/src/scrapers/document-legacy/register-metadata.d.ts +0 -3
  1236. package/umd/src/scrapers/markdown/MarkdownScraper.d.ts +1 -4
  1237. package/umd/src/scrapers/markdown/MarkdownScraper.test.d.ts +0 -3
  1238. package/umd/src/scrapers/markdown/createMarkdownScraper.d.ts +0 -3
  1239. package/umd/src/scrapers/markdown/playground/markdown-scraper-playground.d.ts +0 -1
  1240. package/umd/src/scrapers/markdown/register-constructor.d.ts +0 -4
  1241. package/umd/src/scrapers/markdown/register-metadata.d.ts +0 -3
  1242. package/umd/src/scrapers/markitdown/MarkitdownScraper.d.ts +1 -7
  1243. package/umd/src/scrapers/markitdown/createMarkitdownScraper.d.ts +0 -4
  1244. package/umd/src/scrapers/markitdown/playground/markitdown-scraper-playground.d.ts +0 -1
  1245. package/umd/src/scrapers/markitdown/register-constructor.d.ts +0 -5
  1246. package/umd/src/scrapers/markitdown/register-metadata.d.ts +0 -3
  1247. package/umd/src/scrapers/pdf/PdfScraper.d.ts +1 -6
  1248. package/umd/src/scrapers/pdf/createPdfScraper.d.ts +0 -3
  1249. package/umd/src/scrapers/pdf/playground/pdf-scraper-playground.d.ts +0 -1
  1250. package/umd/src/scrapers/pdf/register-constructor.d.ts +0 -4
  1251. package/umd/src/scrapers/pdf/register-metadata.d.ts +0 -3
  1252. package/umd/src/scrapers/website/WebsiteScraper.d.ts +1 -6
  1253. package/umd/src/scrapers/website/createWebsiteScraper.d.ts +0 -3
  1254. package/umd/src/scrapers/website/playground/website-scraper-playground.d.ts +0 -1
  1255. package/umd/src/scrapers/website/register-constructor.d.ts +0 -4
  1256. package/umd/src/scrapers/website/register-metadata.d.ts +0 -3
  1257. package/umd/src/scripting/javascript/JavascriptEvalExecutionTools.d.ts +1 -5
  1258. package/umd/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +0 -3
  1259. package/umd/src/scripting/javascript/JavascriptExecutionTools.d.ts +1 -0
  1260. package/umd/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +0 -3
  1261. package/umd/src/scripting/javascript/postprocessing-functions.d.ts +0 -4
  1262. package/umd/src/scripting/javascript/utils/extractVariablesFromJavascript.d.ts +1 -3
  1263. package/umd/src/search-engines/SearchEngine.d.ts +3 -0
  1264. package/umd/src/speech-recognition/BrowserSpeechRecognition.d.ts +0 -2
  1265. package/umd/src/speech-recognition/OpenAiSpeechRecognition.d.ts +2 -2
  1266. package/umd/src/storage/_common/PromptbookStorage.d.ts +0 -4
  1267. package/umd/src/storage/_common/PromptbookStorage.test-type.d.ts +0 -4
  1268. package/umd/src/storage/env-storage/$EnvStorage.d.ts +0 -3
  1269. package/umd/src/storage/file-cache-storage/FileCacheStorage.d.ts +0 -2
  1270. package/umd/src/storage/local-storage/getIndexedDbStorage.d.ts +0 -1
  1271. package/umd/src/storage/local-storage/getLocalStorage.d.ts +0 -1
  1272. package/umd/src/storage/local-storage/getSessionStorage.d.ts +0 -1
  1273. package/umd/src/storage/local-storage/utils/makePromptbookStorageFromIndexedDb.d.ts +1 -0
  1274. package/umd/src/storage/local-storage/utils/makePromptbookStorageFromWebStorage.d.ts +0 -4
  1275. package/umd/src/transpilers/_common/register/$bookTranspilersRegister.d.ts +1 -3
  1276. package/umd/src/transpilers/formatted-book-in-markdown/register.d.ts +2 -5
  1277. package/umd/src/transpilers/openai-sdk/playground/playground.d.ts +0 -1
  1278. package/umd/src/transpilers/openai-sdk/register.d.ts +2 -5
  1279. package/umd/src/types/Arrayable.d.ts +1 -0
  1280. package/umd/src/types/InputParameters_private.d.ts +4 -2
  1281. package/umd/src/types/IntermediateFilesStrategy.d.ts +0 -3
  1282. package/umd/src/types/LlmCall.d.ts +0 -3
  1283. package/umd/src/types/ModelRequirements.d.ts +1 -0
  1284. package/umd/src/types/ModelVariant.d.ts +3 -0
  1285. package/umd/src/types/Parameters.d.ts +31 -0
  1286. package/umd/src/types/Parameters_private.d.ts +4 -2
  1287. package/umd/src/types/Prompt.d.ts +1 -6
  1288. package/umd/src/types/ReservedParameters_private.d.ts +2 -1
  1289. package/umd/src/types/ToolCall.d.ts +0 -2
  1290. package/umd/src/types/Updatable.d.ts +1 -3
  1291. package/umd/src/types/string_agent_hash_private.d.ts +1 -1
  1292. package/umd/src/types/string_agent_name.d.ts +32 -0
  1293. package/umd/src/types/string_agent_name_in_book_private.d.ts +1 -1
  1294. package/umd/src/types/string_agent_name_private.d.ts +2 -1
  1295. package/umd/src/types/string_agent_permanent_id_private.d.ts +2 -1
  1296. package/umd/src/types/string_business_category_name.d.ts +5 -0
  1297. package/umd/src/types/string_business_category_name_private.d.ts +1 -1
  1298. package/umd/src/types/string_char_private.d.ts +1 -1
  1299. package/umd/src/types/string_chat_prompt_private.d.ts +1 -1
  1300. package/umd/src/types/string_completion_prompt_private.d.ts +1 -1
  1301. package/umd/src/types/string_markdown.d.ts +0 -1
  1302. package/umd/src/types/string_mime_type_private.d.ts +1 -0
  1303. package/umd/src/types/string_model_description_private.d.ts +1 -1
  1304. package/umd/src/types/string_model_name.d.ts +7 -0
  1305. package/umd/src/types/string_model_name_private.d.ts +1 -1
  1306. package/umd/src/types/string_name.d.ts +31 -0
  1307. package/umd/src/types/string_name_private.d.ts +1 -1
  1308. package/umd/src/types/string_page.d.ts +15 -0
  1309. package/umd/src/types/string_page_private.d.ts +1 -1
  1310. package/umd/src/types/string_parameter_name.d.ts +11 -210
  1311. package/umd/src/types/string_parameter_value_private.d.ts +1 -1
  1312. package/umd/src/types/string_persona_description.d.ts +14 -0
  1313. package/umd/src/types/string_persona_description_private.d.ts +1 -1
  1314. package/umd/src/types/string_prompt.d.ts +49 -0
  1315. package/umd/src/types/string_prompt_image_private.d.ts +1 -1
  1316. package/umd/src/types/string_prompt_private.d.ts +1 -1
  1317. package/umd/src/types/string_reserved_parameter_name_private.d.ts +1 -1
  1318. package/umd/src/types/string_sha256.d.ts +2 -2
  1319. package/umd/src/types/string_system_message_private.d.ts +1 -1
  1320. package/umd/src/types/string_template_private.d.ts +1 -1
  1321. package/umd/src/types/string_text_prompt_private.d.ts +1 -1
  1322. package/umd/src/types/string_title.d.ts +8 -0
  1323. package/umd/src/types/string_title_private.d.ts +1 -1
  1324. package/umd/src/types/typeAliasEmoji.d.ts +0 -3
  1325. package/umd/src/types/typeAliases.d.ts +0 -6
  1326. package/umd/src/utils/DEFAULT_THINKING_MESSAGES.d.ts +5 -1
  1327. package/umd/src/utils/chat/chatAttachments/appendChatAttachmentContext.d.ts +1 -0
  1328. package/umd/src/utils/chat/chatAttachments/appendChatAttachmentContextWithContent.d.ts +1 -0
  1329. package/umd/src/utils/chat/chatAttachments/formatChatAttachmentContentContext.d.ts +1 -0
  1330. package/umd/src/utils/chat/chatAttachments/formatChatAttachmentContext.d.ts +1 -0
  1331. package/umd/src/utils/chat/chatAttachments/normalizeChatAttachments.d.ts +1 -0
  1332. package/umd/src/utils/chat/chatAttachments/resolveChatAttachmentContent.d.ts +1 -0
  1333. package/umd/src/utils/chat/chatAttachments/resolveChatAttachmentContents.d.ts +1 -0
  1334. package/umd/src/utils/chat/chatAttachments.d.ts +0 -3
  1335. package/umd/src/utils/chat/constants.d.ts +0 -3
  1336. package/umd/src/utils/clientVersion.d.ts +0 -3
  1337. package/umd/src/utils/color/$randomColor.d.ts +0 -5
  1338. package/umd/src/utils/color/css-colors.d.ts +0 -3
  1339. package/umd/src/utils/color/internal-utils/hslToRgb.d.ts +0 -3
  1340. package/umd/src/utils/color/internal-utils/rgbToHsl.d.ts +0 -3
  1341. package/umd/src/utils/color/operators/ColorTransformer.d.ts +2 -0
  1342. package/umd/src/utils/color/operators/lighten.d.ts +0 -3
  1343. package/umd/src/utils/color/operators/saturate.d.ts +0 -3
  1344. package/umd/src/utils/color/utils/areColorsEqual.d.ts +0 -3
  1345. package/umd/src/utils/color/utils/colorDistance.d.ts +2 -2
  1346. package/umd/src/utils/color/utils/colorHue.d.ts +0 -1
  1347. package/umd/src/utils/color/utils/colorHueDistance.d.ts +0 -1
  1348. package/umd/src/utils/color/utils/colorToDataUrl.d.ts +0 -3
  1349. package/umd/src/utils/database/uniqueConstraint.d.ts +1 -3
  1350. package/umd/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +3 -4
  1351. package/umd/src/utils/editable/edit-pipeline-string/deflatePipeline.d.ts +0 -3
  1352. package/umd/src/utils/editable/types/PipelineEditableSerialized.d.ts +2 -2
  1353. package/umd/src/utils/editable/utils/renamePipelineParameter.d.ts +4 -3
  1354. package/umd/src/utils/editable/utils/stringifyPipelineJson.d.ts +0 -6
  1355. package/umd/src/utils/environment/$detectRuntimeEnvironment.d.ts +0 -3
  1356. package/umd/src/utils/environment/$getGlobalScope.d.ts +1 -1
  1357. package/umd/src/utils/environment/$isRunningInBrowser.d.ts +0 -3
  1358. package/umd/src/utils/environment/$isRunningInJest.d.ts +0 -3
  1359. package/umd/src/utils/environment/$isRunningInNode.d.ts +0 -3
  1360. package/umd/src/utils/environment/$isRunningInWebWorker.d.ts +0 -3
  1361. package/umd/src/utils/execCommand/$execCommand.d.ts +0 -2
  1362. package/umd/src/utils/execCommand/$execCommands.d.ts +0 -1
  1363. package/umd/src/utils/execCommand/ExecCommandOptions.d.ts +3 -4
  1364. package/umd/src/utils/expectation-counters/constants.d.ts +0 -4
  1365. package/umd/src/utils/expectation-counters/countCharacters.d.ts +0 -4
  1366. package/umd/src/utils/expectation-counters/countLines.d.ts +0 -4
  1367. package/umd/src/utils/expectation-counters/countPages.d.ts +0 -4
  1368. package/umd/src/utils/expectation-counters/countParagraphs.d.ts +0 -4
  1369. package/umd/src/utils/expectation-counters/countSentences.d.ts +0 -4
  1370. package/umd/src/utils/expectation-counters/countWords.d.ts +0 -5
  1371. package/umd/src/utils/expectation-counters/index.d.ts +0 -4
  1372. package/umd/src/utils/files/$induceBookDownload.d.ts +0 -1
  1373. package/umd/src/utils/files/$induceFileDownload.d.ts +0 -1
  1374. package/umd/src/utils/files/ObjectUrl.d.ts +0 -1
  1375. package/umd/src/utils/files/isDirectoryExisting.d.ts +0 -6
  1376. package/umd/src/utils/files/isExecutable.d.ts +0 -4
  1377. package/umd/src/utils/files/isFileExisting.d.ts +0 -5
  1378. package/umd/src/utils/files/listAllFiles.d.ts +1 -5
  1379. package/umd/src/utils/files/readResponseBytes.d.ts +1 -0
  1380. package/umd/src/utils/knowledge/inlineKnowledgeSource.d.ts +11 -6
  1381. package/umd/src/utils/knowledge/simplifyKnowledgeLabel.d.ts +2 -0
  1382. package/umd/src/utils/linguistic-hash/linguisticHash.d.ts +2 -1
  1383. package/umd/src/utils/linguistic-hash/linguisticHashTypes.d.ts +0 -3
  1384. package/umd/src/utils/linguistic-hash/linguisticHashWords.cs.d.ts +0 -3
  1385. package/umd/src/utils/linguistic-hash/linguisticHashWords.en.d.ts +0 -3
  1386. package/umd/src/utils/markdown/addAutoGeneratedSection.d.ts +0 -3
  1387. package/umd/src/utils/markdown/createMarkdownTable.d.ts +0 -3
  1388. package/umd/src/utils/markdown/escapeMarkdownBlock.d.ts +0 -3
  1389. package/umd/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +1 -3
  1390. package/umd/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +1 -0
  1391. package/umd/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +2 -4
  1392. package/umd/src/utils/markdown/humanizeAiText.d.ts +0 -3
  1393. package/umd/src/utils/markdown/humanizeAiTextEllipsis.d.ts +0 -3
  1394. package/umd/src/utils/markdown/humanizeAiTextEmdashed.d.ts +0 -3
  1395. package/umd/src/utils/markdown/humanizeAiTextQuotes.d.ts +0 -3
  1396. package/umd/src/utils/markdown/humanizeAiTextSources.d.ts +0 -3
  1397. package/umd/src/utils/markdown/humanizeAiTextWhitespace.d.ts +0 -3
  1398. package/umd/src/utils/markdown/prettifyMarkdown.d.ts +4 -2
  1399. package/umd/src/utils/markdown/promptbookifyAiText.d.ts +0 -3
  1400. package/umd/src/utils/markdown/removeMarkdownComments.d.ts +1 -0
  1401. package/umd/src/utils/markdown/removeMarkdownFormatting.d.ts +1 -0
  1402. package/umd/src/utils/markdown/removeMarkdownLinks.d.ts +1 -0
  1403. package/umd/src/utils/markdown/trimCodeBlock.d.ts +1 -1
  1404. package/umd/src/utils/markdown/trimEndOfCodeBlock.d.ts +1 -1
  1405. package/umd/src/utils/misc/$getCurrentDate.d.ts +1 -0
  1406. package/umd/src/utils/misc/aboutPromptbookInformation.d.ts +3 -3
  1407. package/umd/src/utils/misc/computeHash.d.ts +0 -3
  1408. package/umd/src/utils/misc/debounce.d.ts +2 -0
  1409. package/umd/src/utils/misc/emojis.d.ts +3 -8
  1410. package/umd/src/utils/misc/injectCssModuleIntoShadowRoot.d.ts +7 -2
  1411. package/umd/src/utils/misc/parseNumber.d.ts +0 -4
  1412. package/umd/src/utils/misc/xAboutPromptbookInformation.d.ts +3 -4
  1413. package/umd/src/utils/normalization/IKeywords.d.ts +0 -3
  1414. package/umd/src/utils/normalization/nameToUriPart.d.ts +1 -0
  1415. package/umd/src/utils/normalization/nameToUriParts.d.ts +1 -0
  1416. package/umd/src/utils/normalization/normalize-to-kebab-case.d.ts +2 -3
  1417. package/umd/src/utils/normalization/normalizeTo_PascalCase.d.ts +2 -0
  1418. package/umd/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +2 -0
  1419. package/umd/src/utils/normalization/normalizeTo_camelCase.d.ts +2 -3
  1420. package/umd/src/utils/normalization/normalizeTo_snake_case.d.ts +1 -0
  1421. package/umd/src/utils/normalization/orderJson.d.ts +1 -0
  1422. package/umd/src/utils/normalization/orderJson.test.d.ts +0 -3
  1423. package/umd/src/utils/normalization/parseKeywords.d.ts +1 -4
  1424. package/umd/src/utils/normalization/parseKeywordsFromString.d.ts +1 -0
  1425. package/umd/src/utils/normalization/removeDiacritics.d.ts +1 -3
  1426. package/umd/src/utils/normalization/removeEmojis.d.ts +1 -0
  1427. package/umd/src/utils/normalization/removeQuotes.d.ts +1 -0
  1428. package/umd/src/utils/normalization/searchKeywords.d.ts +1 -3
  1429. package/umd/src/utils/normalization/titleToName.d.ts +1 -0
  1430. package/umd/src/utils/normalization/unwrapResult.d.ts +1 -3
  1431. package/umd/src/utils/organization/$sideEffect.d.ts +1 -0
  1432. package/umd/src/utils/organization/TODO_USE.d.ts +1 -0
  1433. package/umd/src/utils/organization/just.d.ts +1 -0
  1434. package/umd/src/utils/organization/keepImported.d.ts +1 -0
  1435. package/umd/src/utils/organization/keepTypeImported.d.ts +1 -0
  1436. package/umd/src/utils/organization/keepUnused.d.ts +1 -0
  1437. package/umd/src/utils/organization/preserve.d.ts +1 -3
  1438. package/umd/src/utils/organization/really_any.d.ts +1 -0
  1439. package/umd/src/utils/organization/spaceTrim.d.ts +3 -2
  1440. package/umd/src/utils/parameters/extractParameterNames.d.ts +1 -0
  1441. package/umd/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -0
  1442. package/umd/src/utils/parameters/templateParameters.d.ts +2 -1
  1443. package/umd/src/utils/parameters/valueToString.d.ts +2 -2
  1444. package/umd/src/utils/random/$generateBookBoilerplate.d.ts +3 -3
  1445. package/umd/src/utils/random/$randomAgentPersona.d.ts +1 -3
  1446. package/umd/src/utils/random/$randomAgentRule.d.ts +1 -3
  1447. package/umd/src/utils/random/$randomFullnameWithColor.d.ts +4 -3
  1448. package/umd/src/utils/random/$randomItem.d.ts +0 -3
  1449. package/umd/src/utils/random/$randomSeed.d.ts +0 -3
  1450. package/umd/src/utils/random/$randomToken.d.ts +2 -5
  1451. package/umd/src/utils/random/EnglishNamePool.d.ts +1 -0
  1452. package/umd/src/utils/serialization/$deepFreeze.d.ts +1 -3
  1453. package/umd/src/utils/serialization/checkSerializableAsJson.d.ts +1 -5
  1454. package/umd/src/utils/serialization/clonePipeline.d.ts +1 -3
  1455. package/umd/src/utils/serialization/deepClone.d.ts +1 -3
  1456. package/umd/src/utils/serialization/exportJson.d.ts +1 -3
  1457. package/umd/src/utils/serialization/isSerializableAsJson.d.ts +0 -5
  1458. package/umd/src/utils/serialization/jsonStringsToJsons.d.ts +1 -4
  1459. package/umd/src/utils/serialization/serializeToPromptbookJavascript.d.ts +3 -3
  1460. package/umd/src/utils/sets/difference.d.ts +1 -3
  1461. package/umd/src/utils/sets/intersection.d.ts +1 -0
  1462. package/umd/src/utils/sets/union.d.ts +1 -0
  1463. package/umd/src/utils/take/classes/TakeChain.d.ts +4 -1
  1464. package/umd/src/utils/take/interfaces/ITakeChain.d.ts +5 -1
  1465. package/umd/src/utils/take/interfaces/Takeable.d.ts +2 -1
  1466. package/umd/src/utils/take/take.d.ts +1 -1
  1467. package/umd/src/utils/validators/filePath/isRootPath.d.ts +1 -3
  1468. package/umd/src/utils/validators/filePath/isRootPath.test.d.ts +0 -3
  1469. package/umd/src/utils/validators/filePath/isValidFilePath.d.ts +1 -3
  1470. package/umd/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +1 -0
  1471. package/umd/src/utils/validators/parameterName/validateParameterName.d.ts +1 -0
  1472. package/umd/src/utils/validators/semanticVersion/isValidPromptbookVersion.d.ts +2 -1
  1473. package/umd/src/utils/validators/url/extractUrlsFromText.d.ts +1 -0
  1474. package/umd/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +1 -0
  1475. package/umd/src/utils/validators/url/isValidAgentUrl.d.ts +0 -3
  1476. package/umd/src/utils/validators/url/isValidPipelineUrl.d.ts +0 -3
  1477. package/umd/src/utils/validators/url/normalizeDomainForMatching.d.ts +1 -0
  1478. package/umd/src/version.d.ts +1 -1
  1479. package/umd/src/wizard/$getCompiledBook.d.ts +0 -2
  1480. package/umd/src/wizard/wizard.d.ts +1 -2
@@ -28,9 +28,7 @@ export type MarkdownCodeBlock = {
28
28
  * @param markdown any valid markdown
29
29
  * @returns code blocks with language and content
30
30
  * @throws {ParseError} if block is not closed properly
31
+ *
31
32
  * @public exported from `@promptbook/markdown-utils`
32
33
  */
33
34
  export declare function extractAllBlocksFromMarkdown(markdown: string_markdown): ReadonlyArray<MarkdownCodeBlock>;
34
- /**
35
- * TODO: Maybe name for `blockNotation` instead of '```' and '>'
36
- */
@@ -9,6 +9,7 @@ import type { string_markdown, string_markdown_text } from '../../types/typeAlia
9
9
  *
10
10
  * @param markdown any valid markdown
11
11
  * @returns An array of strings, each representing an individual list item found in the markdown
12
+ *
12
13
  * @public exported from `@promptbook/markdown-utils`
13
14
  */
14
15
  export declare function extractAllListItemsFromMarkdown(markdown: string_markdown): string_markdown_text[];
@@ -13,10 +13,8 @@ import type { MarkdownCodeBlock } from './extractAllBlocksFromMarkdown';
13
13
  *
14
14
  * @param markdown any valid markdown
15
15
  * @returns code block with language and content
16
- * @public exported from `@promptbook/markdown-utils`
17
16
  * @throws {ParseError} if there is not exactly one code block in the markdown
17
+ *
18
+ * @public exported from `@promptbook/markdown-utils`
18
19
  */
19
20
  export declare function extractOneBlockFromMarkdown(markdown: string_markdown): MarkdownCodeBlock;
20
- /***
21
- * TODO: [🍓][🌻] Decide of this is internal utility, external util OR validator/postprocessor
22
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiText(aiText: string_markdown): string_markdown;
11
- /**
12
- * TODO: [🧠] Maybe this should be exported from `@promptbook/utils` not `@promptbook/markdown-utils`
13
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiTextEllipsis(aiText: string_markdown): string_markdown;
11
- /**
12
- * Note: [🏂] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
13
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiTextEmdashed(aiText: string_markdown): string_markdown;
11
- /**
12
- * Note: [🏂] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
13
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiTextQuotes(aiText: string_markdown): string_markdown;
11
- /**
12
- * Note: [🏂] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
13
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiTextSources(aiText: string_markdown): string_markdown;
11
- /**
12
- * Note: [??] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
13
- */
@@ -8,6 +8,3 @@ import type { string_markdown } from '../../types/typeAliases';
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
10
10
  export declare function humanizeAiTextWhitespace(aiText: string_markdown): string_markdown;
11
- /**
12
- * Note: [🏂] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
13
- */
@@ -4,8 +4,9 @@ import type { string_html } from '../../types/typeAliases';
4
4
  *
5
5
  * @param content raw html code
6
6
  * @returns formatted html code
7
- * @private withing the package because of HUGE size of prettier dependency
8
7
  * @deprecated Prettier removed from Promptbook due to package size
8
+ *
9
+ * @private withing the package because of HUGE size of prettier dependency
9
10
  */
10
11
  export declare function prettifyMarkdown<TContent extends string_html>(content: TContent): TContent;
11
12
  /**
@@ -13,7 +14,8 @@ export declare function prettifyMarkdown<TContent extends string_html>(content:
13
14
  *
14
15
  * @param content raw html code
15
16
  * @returns formatted html code
16
- * @private withing the package because of HUGE size of prettier dependency
17
17
  * @deprecated Prettier removed from Promptbook due to package size
18
+ *
19
+ * @private withing the package because of HUGE size of prettier dependency
18
20
  */
19
21
  export declare function prettifyMarkdownAsync<TContent extends string_html>(content: TContent): Promise<TContent>;
@@ -7,6 +7,3 @@ import type { string_markdown } from '../../types/typeAliases';
7
7
  * @public exported from `@promptbook/markdown-utils`
8
8
  */
9
9
  export declare function promptbookifyAiText(text: string_markdown): string_markdown;
10
- /**
11
- * TODO: [🧠][✌️] Make some Promptbook-native token system
12
- */
@@ -5,6 +5,7 @@ import type { string_markdown } from '../../types/typeAliases';
5
5
  *
6
6
  * @param {string} content - The string to remove comments from.
7
7
  * @returns {string} The input string with all comments removed.
8
+ *
8
9
  * @public exported from `@promptbook/markdown-utils`
9
10
  */
10
11
  export declare function removeMarkdownComments<TContent extends string_html | string_markdown>(content: TContent): TContent;
@@ -4,6 +4,7 @@ import type { string_markdown_text } from '../../types/typeAliases';
4
4
  *
5
5
  * @param {string} str - The string to remove Markdown tags from.
6
6
  * @returns {string} The input string with all Markdown tags removed.
7
+ *
7
8
  * @public exported from `@promptbook/markdown-utils`
8
9
  */
9
10
  export declare function removeMarkdownFormatting(str: string_markdown_text): string;
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @param {string} str - The string to remove Markdown tags from.
5
5
  * @returns {string} The input string with all Markdown tags removed.
6
+ *
6
7
  * @public exported from `@promptbook/markdown-utils`
7
8
  */
8
9
  export declare function removeMarkdownLinks(str: string): string;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Note: [🔂] This function is idempotent.
5
5
  * Note: This is useful for post-processing of the result of the chat LLM model
6
- * when the model wraps the result in the (markdown) code block.
6
+ * when the model wraps the result in the (markdown) code block.
7
7
  *
8
8
  * @public exported from `@promptbook/markdown-utils`
9
9
  */
@@ -2,7 +2,7 @@
2
2
  * Function trimEndOfCodeBlock will remove ending code block from the string if it is present.
3
3
  *
4
4
  * Note: This is useful for post-processing of the result of the completion LLM model
5
- * if you want to start code block in the prompt but you don't want to end it in the result.
5
+ * if you want to start code block in the prompt but you don't want to end it in the result.
6
6
  *
7
7
  * @public exported from `@promptbook/markdown-utils`
8
8
  */
@@ -5,6 +5,7 @@ import type { string_date_iso8601 } from '../../types/typeAliases';
5
5
  * Note: `$` is used to indicate that this function is not a pure function - it is not deterministic because it depends on the current time
6
6
  *
7
7
  * @returns string_date branded type
8
+ *
8
9
  * @public exported from `@promptbook/utils`
9
10
  */
10
11
  export declare function $getCurrentDate(): string_date_iso8601;
@@ -1,4 +1,7 @@
1
1
  import type { string_markdown } from '../../types/typeAliases';
2
+ /**
3
+ * Options for about promptbook information.
4
+ */
2
5
  export type AboutPromptbookInformationOptions = {
3
6
  /**
4
7
  * Include information about available servers
@@ -22,6 +25,3 @@ export type AboutPromptbookInformationOptions = {
22
25
  * @public exported from `@promptbook/core`
23
26
  */
24
27
  export declare function aboutPromptbookInformation(options?: AboutPromptbookInformationOptions): string_markdown;
25
- /**
26
- * TODO: [🗽] Unite branding and make single place for it
27
- */
@@ -6,6 +6,3 @@ import { really_unknown } from '../organization/really_unknown';
6
6
  * @public exported from `@promptbook/utils`
7
7
  */
8
8
  export declare function computeHash(value: really_unknown): string_sha256;
9
- /**
10
- * TODO: [🥬][🥬] Use this ACRY
11
- */
@@ -1,5 +1,7 @@
1
1
  import type { TODO_any } from '../organization/TODO_any';
2
2
  /**
3
+ * Handles debounce.
4
+ *
3
5
  * @public exported from `@promptbook/utils`
4
6
  */
5
7
  export declare function debounce<T extends (...args: TODO_any[]) => void>(fn: T, delay: number): (...args: Parameters<T>) => void;
@@ -4,21 +4,16 @@ import type { string_char_emoji } from '../../types/typeAliasEmoji';
4
4
  * Note: this will be needed to update annually - now updated at 2022-01-19
5
5
  *
6
6
  * @see https://getemoji.com/
7
+ * @deprecated Use /\p{Extended_Pictographic}/ instead
7
8
  *
8
9
  * @private within the repository
9
- * @deprecated Use /\p{Extended_Pictographic}/ instead
10
10
  */
11
11
  export declare const EMOJIS_IN_CATEGORIES: Record<string, ReadonlyArray<string_char_emoji>>;
12
12
  /**
13
- *
14
13
  * All possible emoji chars like "🍆", "🍡", "🍤"...
15
14
  *
16
- * @private within the repository
17
15
  * @deprecated Use /\p{Extended_Pictographic}/ instead
16
+ *
17
+ * @private within the repository
18
18
  */
19
19
  export declare const EMOJIS: Set<string_char_emoji>;
20
- /**
21
- * TODO: [💴] DRY - just one version of emojis.ts
22
- * TODO: Mirror from Collboard or some common package
23
- * Note: [💞] Ignore a discrepancy between file name and entity name
24
- */
@@ -1,4 +1,7 @@
1
1
  import type { string_css_class } from '../../types/typeAliases';
2
+ /**
3
+ * Options for inject Css module into shadow root.
4
+ */
2
5
  export type InjectCssModuleIntoShadowRootOptions = {
3
6
  /**
4
7
  * The shadow root where the styles should be injected
@@ -14,8 +17,10 @@ export type InjectCssModuleIntoShadowRootOptions = {
14
17
  * This allows CSS modules (which are normally emitted into the document head) to be
15
18
  * available inside the component's shadow DOM.
16
19
  *
17
- * @public exported from `@promptbook/components`
18
- * <- TODO: [🧠] Make `@promptbook/components-utils`
20
+ * TODO: [🧠] Make `@promptbook/components-utils`
21
+ *
19
22
  * @deprecated This was used for BookEditor shadow DOM support, which is no longer needed
23
+ *
24
+ * @public exported from `@promptbook/components`
20
25
  */
21
26
  export declare function injectCssModuleIntoShadowRoot(options: InjectCssModuleIntoShadowRootOptions): void;
@@ -11,7 +11,3 @@
11
11
  * @public exported from `@promptbook/utils`
12
12
  */
13
13
  export declare function parseNumber(value: string | number | null | undefined): number;
14
- /**
15
- * TODO: Maybe use sth. like safe-eval in fraction/calculation case @see https://www.npmjs.com/package/safe-eval
16
- * TODO: [🧠][🌻] Maybe export through `@promptbook/markdown-utils` not `@promptbook/utils`
17
- */
@@ -1,4 +1,7 @@
1
1
  import type { AboutPromptbookInformationOptions } from './aboutPromptbookInformation';
2
+ /**
3
+ * Props for about promptbook information.
4
+ */
2
5
  type AboutPromptbookInformationProps = AboutPromptbookInformationOptions;
3
6
  /**
4
7
  * Provide information about Promptbook, engine version, book language version, servers, ...
@@ -7,7 +10,3 @@ type AboutPromptbookInformationProps = AboutPromptbookInformationOptions;
7
10
  */
8
11
  export declare function AboutPromptbookInformation(props: AboutPromptbookInformationProps): import("react/jsx-runtime").JSX.Element;
9
12
  export {};
10
- /**
11
- * TODO: !!! Remove "x" from filename
12
- * TODO: [🗽] Unite branding and make single place for it
13
- */
@@ -16,6 +16,3 @@ export type string_keyword = string;
16
16
  * @public exported from `@promptbook/utils`
17
17
  */
18
18
  export type Keywords = Set<string_keyword>;
19
- /**
20
- * TODO: [🌮] Keywords with weight
21
- */
@@ -4,6 +4,7 @@
4
4
  * @param name The string to be converted to a URI-compatible format.
5
5
  * @returns A URI-compatible string derived from the input name.
6
6
  * @example 'Hello World' -> 'hello-world'
7
+ *
7
8
  * @public exported from `@promptbook/utils`
8
9
  */
9
10
  export declare function nameToUriPart(name: string): string;
@@ -4,6 +4,7 @@
4
4
  * @param name The name to be converted into URI parts.
5
5
  * @returns An array of URI-compatible parts derived from the name.
6
6
  * @example 'Example Name' -> ['example', 'name']
7
+ *
7
8
  * @public exported from `@promptbook/utils`
8
9
  */
9
10
  export declare function nameToUriParts(name: string): string[];
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @example 'hello-world'
5
5
  * @example 'i-love-promptbook'
6
+ *
6
7
  * @public exported from `@promptbook/utils`
7
8
  */
8
9
  export type string_kebab_case = string;
@@ -15,9 +16,7 @@ export type string_kebab_case = string;
15
16
  * @returns The kebab-case formatted string.
16
17
  * @example 'hello-world'
17
18
  * @example 'i-love-promptbook'
19
+ *
18
20
  * @public exported from `@promptbook/utils`
19
21
  */
20
22
  export declare function normalizeToKebabCase(text: string): string_kebab_case;
21
- /**
22
- * Note: [💞] Ignore a discrepancy between file name and entity name
23
- */
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @example 'HelloWorld'
5
5
  * @example 'ILovePromptbook'
6
+ *
6
7
  * @public exported from `@promptbook/utils`
7
8
  */
8
9
  export type string_PascalCase = string;
@@ -15,6 +16,7 @@ export type string_PascalCase = string;
15
16
  * @returns
16
17
  * @example 'HelloWorld'
17
18
  * @example 'ILovePromptbook'
19
+ *
18
20
  * @public exported from `@promptbook/utils`
19
21
  */
20
22
  export declare function normalizeTo_PascalCase(text: string): string_PascalCase;
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @example 'HELLO_WORLD'
5
5
  * @example 'I_LOVE_PROMPTBOOK'
6
+ *
6
7
  * @public exported from `@promptbook/utils`
7
8
  */
8
9
  export type string_SCREAMING_CASE = string;
@@ -15,6 +16,7 @@ export type string_SCREAMING_CASE = string;
15
16
  * @returns The normalized text in SCREAMING_CASE format.
16
17
  * @example 'HELLO_WORLD'
17
18
  * @example 'I_LOVE_PROMPTBOOK'
19
+ *
18
20
  * @public exported from `@promptbook/utils`
19
21
  */
20
22
  export declare function normalizeTo_SCREAMING_CASE(text: string): string_SCREAMING_CASE;
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @example 'helloWorld'
5
5
  * @example 'iLovePromptbook'
6
+ *
6
7
  * @public exported from `@promptbook/utils`
7
8
  */
8
9
  export type string_camelCase = string;
@@ -16,9 +17,7 @@ export type string_camelCase = string;
16
17
  * @returns The camelCase formatted string.
17
18
  * @example 'helloWorld'
18
19
  * @example 'iLovePromptbook'
20
+ *
19
21
  * @public exported from `@promptbook/utils`
20
22
  */
21
23
  export declare function normalizeTo_camelCase(text: string, _isFirstLetterCapital?: boolean): string_camelCase;
22
- /**
23
- * TODO: [🌺] Use some intermediate util splitWords
24
- */
@@ -14,6 +14,7 @@ export type string_snake_case = string;
14
14
  * @returns The normalized text in snake_case format.
15
15
  * @example 'hello_world'
16
16
  * @example 'i_love_promptbook'
17
+ *
17
18
  * @public exported from `@promptbook/utils`
18
19
  */
19
20
  export declare function normalizeTo_snake_case(text: string): string_snake_case;
@@ -16,6 +16,7 @@ export type OrderJsonOptions<TObject extends JsonObject | JsonArray> = {
16
16
  * Orders JSON object by keys
17
17
  *
18
18
  * @returns The same type of object as the input re-ordered
19
+ *
19
20
  * @public exported from `@promptbook/utils`
20
21
  */
21
22
  export declare function orderJson<TObject extends JsonObject | JsonArray>(options: OrderJsonOptions<TObject>): TObject;
@@ -1,4 +1 @@
1
1
  export {};
2
- /**
3
- * TODO: [🧠] Is there a way how to test order of value better way than via `JSON.stringify`
4
- */
@@ -7,10 +7,7 @@ import type { Keywords } from './IKeywords';
7
7
  *
8
8
  * @param input of any kind
9
9
  * @returns {Set} of keywords without diacritics in lowercase
10
+ *
10
11
  * @public exported from `@promptbook/utils`
11
12
  */
12
13
  export declare function parseKeywords(input: really_unknown): Keywords;
13
- /**
14
- * Note: Not using spread in input param because of keeping second parameter for options
15
- * TODO: [🌺] Use some intermediate util splitWords
16
- */
@@ -4,6 +4,7 @@ import type { Keywords } from './IKeywords';
4
4
  *
5
5
  * @param {string} input
6
6
  * @returns {Set} of keywords without diacritics in lowercase
7
+ *
7
8
  * @public exported from `@promptbook/utils`
8
9
  */
9
10
  export declare function parseKeywordsFromString(input: string): Keywords;
@@ -5,9 +5,7 @@
5
5
  *
6
6
  * @param input The string containing diacritics to be normalized.
7
7
  * @returns The string with diacritics removed or normalized.
8
+ *
8
9
  * @public exported from `@promptbook/utils`
9
10
  */
10
11
  export declare function removeDiacritics(input: string): string;
11
- /**
12
- * TODO: [Ж] Variant for cyrillic (and in general non-latin) letters
13
- */
@@ -5,6 +5,7 @@
5
5
  *
6
6
  * @param text with emojis
7
7
  * @returns text without emojis
8
+ *
8
9
  * @public exported from `@promptbook/utils`
9
10
  */
10
11
  export declare function removeEmojis(text: string): string;
@@ -10,6 +10,7 @@
10
10
  *
11
11
  * @param text optionally quoted text
12
12
  * @returns text without quotes
13
+ *
13
14
  * @public exported from `@promptbook/utils`
14
15
  */
15
16
  export declare function removeQuotes(text: string): string;
@@ -5,9 +5,7 @@ import type { Keywords } from './IKeywords';
5
5
  * @param haystack
6
6
  * @param needle
7
7
  * @returns
8
+ *
8
9
  * @public exported from `@promptbook/utils`
9
10
  */
10
11
  export declare function searchKeywords(haystack: Keywords, needle: Keywords): boolean;
11
- /**
12
- * TODO: Rename to `isKeywordInKeywords`
13
- */
@@ -6,6 +6,7 @@
6
6
  * @param value The title string to be converted to a name.
7
7
  * @returns A normalized name derived from the input title.
8
8
  * @example 'Hello World!' -> 'hello-world'
9
+ *
9
10
  * @public exported from `@promptbook/utils`
10
11
  */
11
12
  export declare function titleToName(value: string): string;
@@ -28,10 +28,8 @@ type UnwrapResultOptions = {
28
28
  *
29
29
  * @param text optionally quoted text
30
30
  * @returns text without quotes
31
+ *
31
32
  * @public exported from `@promptbook/utils`
32
33
  */
33
34
  export declare function unwrapResult(text: string, options?: UnwrapResultOptions): string;
34
35
  export {};
35
- /**
36
- * TODO: [🧠] Should this also unwrap the (parenthesis)
37
- */
@@ -4,6 +4,7 @@ import type { chococake } from './really_any';
4
4
  *
5
5
  * @param value any values
6
6
  * @returns void
7
+ *
7
8
  * @private within the repository
8
9
  */
9
10
  export declare function $sideEffect(...sideEffectSubjects: ReadonlyArray<chococake>): void;
@@ -7,6 +7,7 @@ import type { chococake } from './really_any';
7
7
  *
8
8
  * @param value any values
9
9
  * @returns void
10
+ *
10
11
  * @private within the repository
11
12
  */
12
13
  export declare function TODO_USE(...value: ReadonlyArray<chococake>): void;
@@ -9,6 +9,7 @@
9
9
  *
10
10
  * @param value any values
11
11
  * @returns the same values
12
+ *
12
13
  * @private within the repository
13
14
  */
14
15
  export declare function just<T>(value?: T): T;
@@ -4,6 +4,7 @@ import { chococake } from './really_any';
4
4
  *
5
5
  * @param dependenciesToKeep any values
6
6
  * @returns void
7
+ *
7
8
  * @private within the repository
8
9
  */
9
10
  export declare function keepImported(...dependenciesToKeep: ReadonlyArray<chococake>): void;
@@ -3,6 +3,7 @@
3
3
  * [🤛] This is a workaround for the issue.
4
4
  *
5
5
  * @returns void
6
+ *
6
7
  * @private within the repository
7
8
  */
8
9
  export declare function keepTypeImported<TTypeToKeep>(): void;
@@ -11,6 +11,7 @@ import type { chococake } from './really_any';
11
11
  *
12
12
  * @param value any values
13
13
  * @returns void
14
+ *
14
15
  * @private within the repository
15
16
  */
16
17
  export declare function keepUnused<TTypeToKeep1 = chococake, TTypeToKeep2 = chococake, TTypeToKeep3 = chococake>(...valuesToKeep: ReadonlyArray<chococake>): void;
@@ -5,6 +5,7 @@ import type { chococake } from './really_any';
5
5
  *
6
6
  * @param value any function to preserve
7
7
  * @returns nothing
8
+ *
8
9
  * @private within the repository
9
10
  */
10
11
  export declare function $preserve(...value: Array<chococake>): void;
@@ -16,6 +17,3 @@ export declare function $preserve(...value: Array<chococake>): void;
16
17
  * @private internal for `preserve`
17
18
  */
18
19
  export declare function __DO_NOT_USE_getPreserved(): Array<chococake>;
19
- /**
20
- * Note: [💞] Ignore a discrepancy between file name and entity name
21
- */
@@ -2,6 +2,7 @@
2
2
  * Organizational helper to tell to use intentionally `any`
3
3
  *
4
4
  * @alias really_any
5
+ *
5
6
  * @private within the repository
6
7
  */
7
8
  export type chococake = really_any;
@@ -3,9 +3,10 @@ import { spaceTrim as spaceTrimReexported } from 'spacetrim';
3
3
  * Trims string from all 4 sides
4
4
  *
5
5
  * Note: This is a re-exported function from the `spacetrim` package which is
6
- * Developed by same author @hejny as this package
6
+ * Developed by same author @hejny as this package
7
7
  *
8
- * @public exported from `@promptbook/utils`
9
8
  * @see https://github.com/hejny/spacetrim#usage
9
+ *
10
+ * @public exported from `@promptbook/utils`
10
11
  */
11
12
  export declare const spaceTrim: typeof spaceTrimReexported;
@@ -5,6 +5,7 @@ import type { string_template } from '../../types/typeAliases';
5
5
  *
6
6
  * @param template the string template with parameters in {curly} braces
7
7
  * @returns the list of parameter names
8
+ *
8
9
  * @public exported from `@promptbook/utils`
9
10
  */
10
11
  export declare function extractParameterNames(template: string_template): Set<string_parameter_name>;
@@ -20,6 +20,7 @@ type MakeapAvailableToExpectedParametersOptions = {
20
20
  * 2) Then, if there are unmatched expected and available parameters, map them by order.
21
21
  *
22
22
  * @throws {PipelineExecutionError} If the number of unmatched expected and available parameters does not match, or mapping is ambiguous.
23
+ *
23
24
  * @private within the repository used in `createPipelineExecutor`
24
25
  */
25
26
  export declare function mapAvailableToExpectedParameters(options: MakeapAvailableToExpectedParametersOptions): Readonly<Record<string_parameter_name, string_parameter_value>>;
@@ -4,12 +4,13 @@ import type { really_unknown } from '../organization/really_unknown';
4
4
  * Replaces parameters in template with values from parameters object
5
5
  *
6
6
  * Note: This function is not places strings into string,
7
- * It's more complex and can handle this operation specifically for LLM models
7
+ * It's more complex and can handle this operation specifically for LLM models
8
8
  *
9
9
  * @param template the template with parameters in {curly} braces
10
10
  * @param parameters the object with parameters
11
11
  * @returns the template with replaced parameters
12
12
  * @throws {PipelineExecutionError} if parameter is not defined, not closed, or not opened
13
+ *
13
14
  * @public exported from `@promptbook/utils`
14
15
  */
15
16
  export declare function templateParameters(template: string_template, parameters: Record<string_parameter_name, really_unknown>): string;
@@ -5,8 +5,8 @@ import type { really_unknown } from '../organization/really_unknown';
5
5
  * This is useful and used in the `templateParameters` function
6
6
  *
7
7
  * Note: This function is not just calling `toString` method
8
- * It's more complex and can handle this conversion specifically for LLM models
9
- * See `VALUE_STRINGS`
8
+ * It's more complex and can handle this conversion specifically for LLM models
9
+ * See `VALUE_STRINGS`
10
10
  *
11
11
  * Note: There are 2 similar functions
12
12
  * - `valueToString` converts value to string for LLM models as human-readable string