@promptbook/utils 0.112.0-66 → 0.112.0-70

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 (732) hide show
  1. package/README.md +3 -3
  2. package/esm/index.es.js +23 -17
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/src/_packages/core.index.d.ts +2 -0
  5. package/esm/src/avatars/AvatarOrImage.d.ts +2 -1
  6. package/esm/src/avatars/avatarRenderingUtils.d.ts +1 -1
  7. package/esm/src/avatars/renderAvatarVisual.d.ts +1 -2
  8. package/esm/src/avatars/types/AvatarDefinition.d.ts +2 -1
  9. package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +3 -2
  10. package/esm/src/avatars/visuals/avatar3dProjectionShared.d.ts +141 -0
  11. package/esm/src/avatars/visuals/octopus3dAvatarVisual.d.ts +7 -0
  12. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +5 -1
  13. package/esm/src/book-2.0/agent-source/AgentModelRequirements.d.ts +3 -2
  14. package/esm/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +1 -1
  15. package/esm/src/book-2.0/agent-source/computeAgentHash.d.ts +2 -2
  16. package/esm/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +4 -1
  17. package/esm/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.d.ts +1 -1
  18. package/esm/src/book-2.0/agent-source/createDefaultAgentName.d.ts +2 -2
  19. package/esm/src/book-2.0/agent-source/normalizeAgentName.d.ts +1 -1
  20. package/esm/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +1 -1
  21. package/esm/src/book-2.0/agent-source/parseTeamCommitment.d.ts +1 -1
  22. package/esm/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +1 -1
  23. package/esm/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +3 -1
  24. package/esm/src/book-3.0/Book.d.ts +33 -0
  25. package/esm/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +1 -1
  26. package/esm/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +1 -1
  27. package/esm/src/book-components/BookEditor/BookEditor.d.ts +4 -1
  28. package/esm/src/book-components/BookEditor/BookEditorActionbar.d.ts +1 -1
  29. package/esm/src/book-components/Chat/AgentChip/AgentChip.d.ts +1 -1
  30. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +2 -2
  31. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +1 -1
  32. package/esm/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +1 -1
  33. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +4 -4
  34. package/esm/src/book-components/Chat/Chat/ChatRatingModal.d.ts +1 -1
  35. package/esm/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +2 -2
  36. package/esm/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -2
  37. package/esm/src/book-components/Chat/Chat/createChatMessageToolCallRenderModel.d.ts +2 -2
  38. package/esm/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +1 -1
  39. package/esm/src/book-components/Chat/Chat/resolveRunBrowserToolCallDetailsState.d.ts +1 -1
  40. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +1 -1
  41. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictationPersistence.d.ts +1 -1
  42. package/esm/src/book-components/Chat/Chat/useChatInputAreaDictationSupport.d.ts +1 -1
  43. package/esm/src/book-components/Chat/Chat/useChatToolCallModalState.d.ts +3 -3
  44. package/esm/src/book-components/Chat/LlmChat/LlmChatProps.d.ts +2 -2
  45. package/esm/src/book-components/Chat/LlmChat/useLlmChatMessageHandler.d.ts +1 -1
  46. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -1
  47. package/esm/src/book-components/Chat/hooks/useChatRatings.d.ts +2 -2
  48. package/esm/src/book-components/Chat/save/_common/ChatSaveFormatDefinition.d.ts +2 -1
  49. package/esm/src/book-components/Chat/types/ChatMessage.d.ts +6 -2
  50. package/esm/src/book-components/Chat/types/ChatParticipant.d.ts +5 -3
  51. package/esm/src/book-components/Chat/utils/citationHelpers.d.ts +1 -1
  52. package/esm/src/book-components/Chat/utils/collectTeamToolCallSummary.d.ts +1 -1
  53. package/esm/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +1 -1
  54. package/esm/src/book-components/Chat/utils/getToolCallChipletInfo.d.ts +2 -2
  55. package/esm/src/book-components/Chat/utils/loadAgentProfile.d.ts +2 -1
  56. package/esm/src/book-components/Chat/utils/resolveCitationUrl.d.ts +1 -1
  57. package/esm/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +1 -1
  58. package/esm/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +1 -1
  59. package/esm/src/book-components/Qr/useQrCode.d.ts +1 -1
  60. package/esm/src/book-components/_common/react-utils/classNames.d.ts +1 -1
  61. package/esm/src/cli/cli-commands/agent/agentProjectPaths.d.ts +2 -2
  62. package/esm/src/cli/cli-commands/agent/initializeAgentRunnerCommand.d.ts +22 -0
  63. package/esm/src/cli/cli-commands/agent/runMultiple.d.ts +10 -0
  64. package/esm/src/cli/cli-commands/agent.d.ts +3 -2
  65. package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +1 -1
  66. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +1 -1
  67. package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +1 -1
  68. package/esm/src/cli/common/$provideLlmToolsForCli.d.ts +1 -1
  69. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +3 -3
  70. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +1 -1
  71. package/esm/src/collection/pipeline-collection/PipelineCollection.d.ts +1 -1
  72. package/esm/src/collection/pipeline-collection/SimplePipelineCollection.d.ts +1 -1
  73. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromDirectory.d.ts +2 -1
  74. package/esm/src/collection/pipeline-collection/constructors/createPipelineCollectionFromUrl.d.ts +1 -1
  75. package/esm/src/collection/pipeline-collection/constructors/createPipelineSubcollection.d.ts +1 -1
  76. package/esm/src/commands/BOOK_VERSION/BookVersionCommand.d.ts +1 -1
  77. package/esm/src/commands/FOREACH/ForeachJson.d.ts +1 -1
  78. package/esm/src/commands/JOKER/JokerCommand.d.ts +1 -1
  79. package/esm/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +1 -1
  80. package/esm/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.d.ts +2 -2
  81. package/esm/src/commands/PARAMETER/ParameterCommand.d.ts +2 -2
  82. package/esm/src/commands/PERSONA/PersonaCommand.d.ts +2 -2
  83. package/esm/src/commands/POSTPROCESS/PostprocessCommand.d.ts +1 -1
  84. package/esm/src/commands/_common/parseCommand.d.ts +1 -1
  85. package/esm/src/commands/_common/stringifyCommand.d.ts +1 -1
  86. package/esm/src/commands/_common/types/CommandParser.d.ts +2 -1
  87. package/esm/src/commitments/MEMORY/MEMORY.d.ts +2 -2
  88. package/esm/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +1 -1
  89. package/esm/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +1 -1
  90. package/esm/src/commitments/MEMORY/getMemoryToolTitles.d.ts +1 -1
  91. package/esm/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +1 -1
  92. package/esm/src/commitments/TEAM/TEAM.d.ts +2 -2
  93. package/esm/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +2 -2
  94. package/esm/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +1 -1
  95. package/esm/src/commitments/USE_CALENDAR/USE_CALENDAR.d.ts +1 -1
  96. package/esm/src/commitments/USE_CALENDAR/createUseCalendarToolFunctions.d.ts +1 -1
  97. package/esm/src/commitments/USE_CALENDAR/getUseCalendarToolTitles.d.ts +1 -1
  98. package/esm/src/commitments/USE_CALENDAR/resolveUseCalendarToolRuntimeOrWalletCredentialResult.d.ts +1 -1
  99. package/esm/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +2 -2
  100. package/esm/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +2 -2
  101. package/esm/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +1 -1
  102. package/esm/src/commitments/USE_POPUP/USE_POPUP.d.ts +2 -2
  103. package/esm/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +2 -2
  104. package/esm/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +1 -1
  105. package/esm/src/commitments/USE_PROJECT/createUseProjectToolFunctions.d.ts +1 -1
  106. package/esm/src/commitments/USE_PROJECT/getUseProjectToolTitles.d.ts +1 -1
  107. package/esm/src/commitments/USE_PROJECT/resolveUseProjectToolRuntimeOrWalletCredentialResult.d.ts +1 -1
  108. package/esm/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +2 -2
  109. package/esm/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +2 -2
  110. package/esm/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +1 -1
  111. package/esm/src/commitments/USE_TIME/USE_TIME.d.ts +2 -2
  112. package/esm/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +1 -1
  113. package/esm/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +2 -2
  114. package/esm/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +1 -1
  115. package/esm/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +1 -1
  116. package/esm/src/commitments/USE_USER_LOCATION/USE_USER_LOCATION.d.ts +2 -2
  117. package/esm/src/commitments/WALLET/WALLET.d.ts +1 -1
  118. package/esm/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +1 -1
  119. package/esm/src/commitments/WALLET/createWalletToolFunctions.d.ts +1 -1
  120. package/esm/src/commitments/WALLET/getWalletToolTitles.d.ts +1 -1
  121. package/esm/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +1 -1
  122. package/esm/src/commitments/_base/BaseCommitmentDefinition.d.ts +2 -2
  123. package/esm/src/commitments/_base/CommitmentDefinition.d.ts +2 -2
  124. package/esm/src/commitments/_common/commitmentToolFunctions.d.ts +2 -2
  125. package/esm/src/commitments/_common/createSerpSearchToolFunction.d.ts +1 -1
  126. package/esm/src/commitments/_common/getAllCommitmentsToolFunctionsForNode.d.ts +1 -1
  127. package/esm/src/commitments/_common/getAllCommitmentsToolTitles.d.ts +1 -1
  128. package/esm/src/commitments/_common/getGroupedCommitmentDefinitions.d.ts +1 -1
  129. package/esm/src/commitments/_common/toolExecutionEnvelope.d.ts +1 -1
  130. package/esm/src/commitments/_common/toolRuntimeContext.d.ts +1 -1
  131. package/esm/src/config.d.ts +5 -1
  132. package/esm/src/conversion/archive/loadArchive.d.ts +1 -1
  133. package/esm/src/conversion/archive/saveArchive.d.ts +1 -1
  134. package/esm/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +1 -1
  135. package/esm/src/conversion/utils/extractParameterNamesFromTask.d.ts +1 -1
  136. package/esm/src/errors/PipelineExecutionError.d.ts +1 -1
  137. package/esm/src/errors/utils/ErrorJson.d.ts +1 -1
  138. package/esm/src/executables/apps/locateLibreoffice.d.ts +1 -1
  139. package/esm/src/executables/apps/locatePandoc.d.ts +1 -1
  140. package/esm/src/executables/apps/locateVscode.d.ts +1 -1
  141. package/esm/src/executables/browsers/locateBrowser.d.ts +1 -1
  142. package/esm/src/executables/browsers/locateChrome.d.ts +1 -1
  143. package/esm/src/executables/browsers/locateDefaultSystemBrowser.d.ts +1 -1
  144. package/esm/src/executables/browsers/locateEdge.d.ts +1 -1
  145. package/esm/src/executables/browsers/locateFirefox.d.ts +1 -1
  146. package/esm/src/executables/browsers/locateInternetExplorer.d.ts +1 -1
  147. package/esm/src/executables/browsers/locateSafari.d.ts +1 -1
  148. package/esm/src/executables/locateApp.d.ts +1 -1
  149. package/esm/src/executables/platforms/locateAppOnLinux.d.ts +1 -1
  150. package/esm/src/executables/platforms/locateAppOnMacOs.d.ts +1 -1
  151. package/esm/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  152. package/esm/src/execution/AbstractTaskResult.d.ts +1 -1
  153. package/esm/src/execution/AvailableModel.d.ts +5 -1
  154. package/esm/src/execution/CommonToolsOptions.d.ts +1 -1
  155. package/esm/src/execution/Executables.d.ts +1 -1
  156. package/esm/src/execution/ExecutionTask.d.ts +3 -2
  157. package/esm/src/execution/LlmExecutionTools.d.ts +2 -1
  158. package/esm/src/execution/PipelineExecutor.d.ts +1 -1
  159. package/esm/src/execution/PipelineExecutorResult.d.ts +2 -2
  160. package/esm/src/execution/PromptResult.d.ts +3 -1
  161. package/esm/src/execution/PromptbookFetch.d.ts +1 -1
  162. package/esm/src/execution/ScriptExecutionTools.d.ts +2 -2
  163. package/esm/src/execution/UncertainNumber.d.ts +2 -2
  164. package/esm/src/execution/UserInterfaceTools.d.ts +1 -2
  165. package/esm/src/execution/createPipelineExecutor/10-executePipeline.d.ts +1 -1
  166. package/esm/src/execution/createPipelineExecutor/20-executeTask.d.ts +1 -1
  167. package/esm/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +2 -1
  168. package/esm/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +1 -1
  169. package/esm/src/execution/createPipelineExecutor/getContextForTask.d.ts +2 -2
  170. package/esm/src/execution/createPipelineExecutor/getExamplesForTask.d.ts +2 -2
  171. package/esm/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +3 -1
  172. package/esm/src/execution/createPipelineExecutor/getReservedParametersForTask.d.ts +1 -2
  173. package/esm/src/execution/execution-report/ExecutionReportJson.d.ts +3 -3
  174. package/esm/src/execution/execution-report/ExecutionReportStringOptions.d.ts +1 -1
  175. package/esm/src/execution/utils/usageToHuman.d.ts +1 -1
  176. package/esm/src/execution/utils/validatePromptResult.d.ts +1 -1
  177. package/esm/src/file-security-checkers/FileSecurityCheckResult.d.ts +2 -1
  178. package/esm/src/file-security-checkers/FileSecurityChecker.d.ts +3 -1
  179. package/esm/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +1 -1
  180. package/esm/src/formats/_common/FormatParser.d.ts +2 -2
  181. package/esm/src/formats/_common/FormatSubvalueParser.d.ts +2 -3
  182. package/esm/src/formats/csv/utils/csvParse.d.ts +1 -1
  183. package/esm/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +2 -3
  184. package/esm/src/import-plugins/FileImportPlugin.d.ts +1 -1
  185. package/esm/src/llm-providers/_common/register/$provideEnvFilename.d.ts +1 -1
  186. package/esm/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +3 -2
  187. package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +2 -1
  188. package/esm/src/llm-providers/_common/register/LlmToolsConfiguration.d.ts +1 -1
  189. package/esm/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +2 -1
  190. package/esm/src/llm-providers/_common/register/createLlmToolsFromConfiguration.d.ts +3 -1
  191. package/esm/src/llm-providers/_common/utils/assertUniqueModels.d.ts +1 -1
  192. package/esm/src/llm-providers/_common/utils/cache/CacheItem.d.ts +2 -2
  193. package/esm/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +2 -1
  194. package/esm/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +2 -1
  195. package/esm/src/llm-providers/agent/Agent.d.ts +6 -2
  196. package/esm/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +3 -1
  197. package/esm/src/llm-providers/agent/RemoteAgent.d.ts +2 -2
  198. package/esm/src/llm-providers/agent/RemoteAgentOptions.d.ts +1 -1
  199. package/esm/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +2 -1
  200. package/esm/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  201. package/esm/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +2 -1
  202. package/esm/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +2 -3
  203. package/esm/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
  204. package/esm/src/llm-providers/google/google-models.d.ts +1 -1
  205. package/esm/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -1
  206. package/esm/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +2 -1
  207. package/esm/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +2 -1
  208. package/esm/src/llm-providers/ollama/OllamaExecutionTools.d.ts +2 -1
  209. package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +3 -2
  210. package/esm/src/llm-providers/openai/OpenAiAgentKitExecutionToolsOptions.d.ts +1 -1
  211. package/esm/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +3 -1
  212. package/esm/src/llm-providers/openai/OpenAiAssistantExecutionToolsOptions.d.ts +1 -1
  213. package/esm/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +3 -1
  214. package/esm/src/llm-providers/openai/OpenAiExecutionTools.d.ts +2 -1
  215. package/esm/src/llm-providers/openai/OpenAiVectorStoreHandler.d.ts +2 -2
  216. package/esm/src/llm-providers/openai/createOpenAiCompatibleExecutionTools.d.ts +3 -1
  217. package/esm/src/llm-providers/openai/utils/OpenAiCompatibleUnsupportedParameterRetrier.d.ts +1 -1
  218. package/esm/src/llm-providers/openai/utils/callOpenAiCompatibleChatModel.d.ts +2 -1
  219. package/esm/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +2 -1
  220. package/esm/src/other/templates/getBookTemplates.d.ts +1 -1
  221. package/esm/src/personas/preparePersona.d.ts +1 -1
  222. package/esm/src/pipeline/PipelineJson/CommonTaskJson.d.ts +4 -8
  223. package/esm/src/pipeline/PipelineJson/Expectations.d.ts +1 -2
  224. package/esm/src/pipeline/PipelineJson/KnowledgePieceJson.d.ts +4 -6
  225. package/esm/src/pipeline/PipelineJson/KnowledgeSourceJson.d.ts +3 -3
  226. package/esm/src/pipeline/PipelineJson/ParameterJson.d.ts +2 -3
  227. package/esm/src/pipeline/PipelineJson/PersonaJson.d.ts +3 -3
  228. package/esm/src/pipeline/PipelineJson/PipelineJson.d.ts +6 -9
  229. package/esm/src/pipeline/PipelineJson/PreparationJson.d.ts +1 -1
  230. package/esm/src/pipeline/PipelineJson/PromptTaskJson.d.ts +1 -1
  231. package/esm/src/pipeline/prompt-notation.d.ts +1 -1
  232. package/esm/src/postprocessing/utils/extractBlock.d.ts +1 -1
  233. package/esm/src/postprocessing/utils/extractJsonBlock.d.ts +1 -2
  234. package/esm/src/prepare/PrepareAndScrapeOptions.d.ts +1 -1
  235. package/esm/src/remote-server/socket-types/_subtypes/Identification.d.ts +2 -2
  236. package/esm/src/remote-server/socket-types/_subtypes/identificationToPromptbookToken.d.ts +1 -1
  237. package/esm/src/remote-server/socket-types/_subtypes/promptbookTokenToIdentification.d.ts +1 -1
  238. package/esm/src/remote-server/startAgentServer.d.ts +1 -1
  239. package/esm/src/remote-server/types/RemoteClientOptions.d.ts +1 -1
  240. package/esm/src/remote-server/types/RemoteServerOptions.d.ts +2 -1
  241. package/esm/src/scrapers/_common/Scraper.d.ts +4 -4
  242. package/esm/src/scrapers/_common/ScraperIntermediateSource.d.ts +1 -1
  243. package/esm/src/scrapers/_common/register/$registeredScrapersMessage.d.ts +1 -1
  244. package/esm/src/scrapers/_common/register/ScraperAndConverterMetadata.d.ts +3 -1
  245. package/esm/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +1 -1
  246. package/esm/src/scrapers/website/WebsiteScraper.d.ts +2 -3
  247. package/esm/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +2 -2
  248. package/esm/src/scripting/javascript/utils/extractVariablesFromJavascript.d.ts +2 -2
  249. package/esm/src/search-engines/SearchEngine.d.ts +2 -1
  250. package/esm/src/search-engines/SearchResult.d.ts +1 -1
  251. package/esm/src/search-engines/bing/BingSearchEngine.d.ts +2 -1
  252. package/esm/src/search-engines/dummy/DummySearchEngine.d.ts +2 -1
  253. package/esm/src/search-engines/google/GoogleSearchEngine.d.ts +2 -1
  254. package/esm/src/search-engines/serp/SerpSearchEngine.d.ts +2 -1
  255. package/esm/src/storage/file-cache-storage/FileCacheStorageOptions.d.ts +1 -1
  256. package/esm/src/storage/file-cache-storage/utils/nameToSubfolderPath.d.ts +1 -1
  257. package/esm/src/storage/local-storage/utils/IndexedDbStorageOptions.d.ts +1 -1
  258. package/esm/src/transpilers/_common/BookTranspiler.d.ts +4 -2
  259. package/esm/src/transpilers/_common/createTranspiledTeamRuntimeSection.d.ts +1 -1
  260. package/esm/src/transpilers/_common/formatUsedToolFunctions.d.ts +1 -1
  261. package/esm/src/transpilers/agent-os/AgentOsTranspiler.d.ts +1 -1
  262. package/esm/src/transpilers/anthropic-claude-managed/AnthropicClaudeManagedTranspiler.d.ts +1 -1
  263. package/esm/src/transpilers/anthropic-claude-sdk/AnthropicClaudeSdkTranspiler.d.ts +1 -1
  264. package/esm/src/transpilers/e2b/E2BTranspiler.d.ts +1 -1
  265. package/esm/src/transpilers/formatted-book-in-markdown/FormattedBookInMarkdownTranspiler.d.ts +1 -1
  266. package/esm/src/transpilers/openai-agents/OpenAiAgentsTranspiler.d.ts +1 -1
  267. package/esm/src/transpilers/openai-sdk/OpenAiSdkTranspiler.d.ts +1 -1
  268. package/esm/src/types/LlmCall.d.ts +1 -1
  269. package/esm/src/types/LlmToolDefinition.d.ts +2 -1
  270. package/esm/src/types/Message.d.ts +4 -3
  271. package/esm/src/types/ModelRequirements.d.ts +4 -2
  272. package/esm/src/types/Prompt.d.ts +7 -12
  273. package/esm/src/types/SpeechRecognition.d.ts +1 -1
  274. package/esm/src/types/ToolCall.d.ts +1 -1
  275. package/esm/src/types/string_email.d.ts +1 -1
  276. package/esm/src/types/string_host.d.ts +1 -1
  277. package/esm/src/types/string_person_fullname.d.ts +1 -1
  278. package/esm/src/types/string_token.d.ts +1 -1
  279. package/esm/src/utils/agents/resolveAgentAvatarImageUrl.d.ts +2 -1
  280. package/esm/src/utils/color/Color.d.ts +2 -1
  281. package/esm/src/utils/color/internal-utils/hslToRgb.d.ts +2 -3
  282. package/esm/src/utils/color/internal-utils/rgbToHsl.d.ts +2 -3
  283. package/esm/src/utils/color/operators/darken.d.ts +1 -1
  284. package/esm/src/utils/color/operators/grayscale.d.ts +1 -1
  285. package/esm/src/utils/color/operators/lighten.d.ts +1 -1
  286. package/esm/src/utils/color/operators/mixWithColor.d.ts +1 -1
  287. package/esm/src/utils/color/operators/saturate.d.ts +1 -1
  288. package/esm/src/utils/color/parsers/parseHexColor.d.ts +1 -1
  289. package/esm/src/utils/color/parsers/parseHslColor.d.ts +1 -1
  290. package/esm/src/utils/color/parsers/parseRgbColor.d.ts +1 -1
  291. package/esm/src/utils/color/utils/colorToDataUrl.d.ts +3 -1
  292. package/esm/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +1 -1
  293. package/esm/src/utils/editable/types/PipelineEditableSerialized.d.ts +1 -1
  294. package/esm/src/utils/editable/utils/renamePipelineParameter.d.ts +1 -1
  295. package/esm/src/utils/editable/utils/stringifyPipelineJson.d.ts +1 -1
  296. package/esm/src/utils/files/$induceFileDownload.d.ts +1 -1
  297. package/esm/src/utils/files/ObjectUrl.d.ts +2 -1
  298. package/esm/src/utils/files/extensionToMimeType.d.ts +2 -2
  299. package/esm/src/utils/files/getFileExtension.d.ts +2 -2
  300. package/esm/src/utils/files/isDirectoryExisting.d.ts +1 -1
  301. package/esm/src/utils/files/isFileExisting.d.ts +1 -1
  302. package/esm/src/utils/files/listAllFiles.d.ts +1 -1
  303. package/esm/src/utils/files/mimeTypeToExtension.d.ts +2 -2
  304. package/esm/src/utils/filesystem/promptbookTemporaryPath.d.ts +27 -0
  305. package/esm/src/utils/filesystem/promptbookTemporaryPath.test.d.ts +1 -0
  306. package/esm/src/utils/knowledge/inlineKnowledgeSource.d.ts +3 -1
  307. package/esm/src/utils/markdown/addAutoGeneratedSection.d.ts +2 -2
  308. package/esm/src/utils/markdown/createMarkdownChart.d.ts +1 -1
  309. package/esm/src/utils/markdown/createMarkdownTable.d.ts +1 -2
  310. package/esm/src/utils/markdown/escapeMarkdownBlock.d.ts +1 -1
  311. package/esm/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +1 -1
  312. package/esm/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +1 -1
  313. package/esm/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +1 -1
  314. package/esm/src/utils/markdown/flattenMarkdown.d.ts +1 -1
  315. package/esm/src/utils/markdown/humanizeAiText.d.ts +1 -1
  316. package/esm/src/utils/markdown/humanizeAiTextEllipsis.d.ts +1 -1
  317. package/esm/src/utils/markdown/humanizeAiTextEmdashed.d.ts +1 -1
  318. package/esm/src/utils/markdown/humanizeAiTextQuotes.d.ts +1 -1
  319. package/esm/src/utils/markdown/humanizeAiTextSources.d.ts +1 -1
  320. package/esm/src/utils/markdown/humanizeAiTextWhitespace.d.ts +1 -1
  321. package/esm/src/utils/markdown/parseMarkdownSection.d.ts +1 -1
  322. package/esm/src/utils/markdown/prettifyMarkdown.d.ts +1 -1
  323. package/esm/src/utils/markdown/promptbookifyAiText.d.ts +1 -1
  324. package/esm/src/utils/markdown/removeMarkdownComments.d.ts +1 -2
  325. package/esm/src/utils/markdown/removeMarkdownFormatting.d.ts +1 -1
  326. package/esm/src/utils/markdown/splitMarkdownIntoSections.d.ts +1 -1
  327. package/esm/src/utils/misc/$Register.d.ts +1 -1
  328. package/esm/src/utils/misc/$getCurrentDate.d.ts +1 -1
  329. package/esm/src/utils/misc/aboutPromptbookInformation.d.ts +1 -1
  330. package/esm/src/utils/misc/computeHash.d.ts +2 -2
  331. package/esm/src/utils/misc/injectCssModuleIntoShadowRoot.d.ts +1 -1
  332. package/esm/src/utils/normalization/suffixUrl.d.ts +1 -1
  333. package/esm/src/utils/organization/keepImported.d.ts +1 -1
  334. package/esm/src/utils/parameters/extractParameterNames.d.ts +2 -2
  335. package/esm/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -1
  336. package/esm/src/utils/parameters/numberToString.d.ts +1 -1
  337. package/esm/src/utils/parameters/templateParameters.d.ts +2 -1
  338. package/esm/src/utils/parameters/valueToString.d.ts +1 -1
  339. package/esm/src/utils/random/$generateBookBoilerplate.d.ts +1 -1
  340. package/esm/src/utils/random/$randomAgentPersona.d.ts +1 -1
  341. package/esm/src/utils/random/$randomAgentRule.d.ts +1 -1
  342. package/esm/src/utils/random/$randomFullnameWithColor.d.ts +1 -1
  343. package/esm/src/utils/random/$randomSeed.d.ts +1 -1
  344. package/esm/src/utils/random/$randomToken.d.ts +1 -1
  345. package/esm/src/utils/random/NamePool.d.ts +1 -1
  346. package/esm/src/utils/serialization/checkSerializableAsJson.d.ts +1 -1
  347. package/esm/src/utils/serialization/serializeToPromptbookJavascript.d.ts +1 -1
  348. package/esm/src/utils/toolCalls/mergeToolCalls.d.ts +1 -1
  349. package/esm/src/utils/validators/email/isValidEmail.d.ts +1 -1
  350. package/esm/src/utils/validators/filePath/isRootPath.d.ts +1 -2
  351. package/esm/src/utils/validators/filePath/isValidFilePath.d.ts +1 -1
  352. package/esm/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +1 -1
  353. package/esm/src/utils/validators/parameterName/validateParameterName.d.ts +1 -1
  354. package/esm/src/utils/validators/semanticVersion/isValidSemanticVersion.d.ts +1 -1
  355. package/esm/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +1 -1
  356. package/esm/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +2 -2
  357. package/esm/src/utils/validators/url/isValidAgentUrl.d.ts +1 -1
  358. package/esm/src/utils/validators/url/isValidPipelineUrl.d.ts +1 -1
  359. package/esm/src/utils/validators/url/isValidUrl.d.ts +1 -1
  360. package/esm/src/utils/validators/uuid/isValidUuid.d.ts +1 -1
  361. package/esm/src/version.d.ts +1 -1
  362. package/esm/src/wizard/$getCompiledBook.d.ts +2 -1
  363. package/esm/src/wizard/wizard.d.ts +4 -1
  364. package/package.json +1 -1
  365. package/umd/index.umd.js +22 -16
  366. package/umd/index.umd.js.map +1 -1
  367. package/umd/src/_packages/core.index.d.ts +2 -0
  368. package/umd/src/avatars/AvatarOrImage.d.ts +2 -1
  369. package/umd/src/avatars/avatarRenderingUtils.d.ts +1 -1
  370. package/umd/src/avatars/renderAvatarVisual.d.ts +1 -2
  371. package/umd/src/avatars/types/AvatarDefinition.d.ts +2 -1
  372. package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +3 -2
  373. package/umd/src/avatars/visuals/avatar3dProjectionShared.d.ts +141 -0
  374. package/umd/src/avatars/visuals/octopus3dAvatarVisual.d.ts +7 -0
  375. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +5 -1
  376. package/umd/src/book-2.0/agent-source/AgentModelRequirements.d.ts +3 -2
  377. package/umd/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +1 -1
  378. package/umd/src/book-2.0/agent-source/computeAgentHash.d.ts +2 -2
  379. package/umd/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +4 -1
  380. package/umd/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.d.ts +1 -1
  381. package/umd/src/book-2.0/agent-source/createDefaultAgentName.d.ts +2 -2
  382. package/umd/src/book-2.0/agent-source/normalizeAgentName.d.ts +1 -1
  383. package/umd/src/book-2.0/agent-source/parseAgentSourcePrelude.d.ts +1 -1
  384. package/umd/src/book-2.0/agent-source/parseTeamCommitment.d.ts +1 -1
  385. package/umd/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +1 -1
  386. package/umd/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +3 -1
  387. package/umd/src/book-3.0/Book.d.ts +33 -0
  388. package/umd/src/book-3.0/Book.test.d.ts +1 -0
  389. package/umd/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +1 -1
  390. package/umd/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +1 -1
  391. package/umd/src/book-components/BookEditor/BookEditor.d.ts +4 -1
  392. package/umd/src/book-components/BookEditor/BookEditorActionbar.d.ts +1 -1
  393. package/umd/src/book-components/Chat/AgentChip/AgentChip.d.ts +1 -1
  394. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +2 -2
  395. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +1 -1
  396. package/umd/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +1 -1
  397. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +4 -4
  398. package/umd/src/book-components/Chat/Chat/ChatRatingModal.d.ts +1 -1
  399. package/umd/src/book-components/Chat/Chat/ChatToolCallModalContent.d.ts +2 -2
  400. package/umd/src/book-components/Chat/Chat/TeamToolCallModalContent.d.ts +2 -2
  401. package/umd/src/book-components/Chat/Chat/createChatMessageToolCallRenderModel.d.ts +2 -2
  402. package/umd/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +1 -1
  403. package/umd/src/book-components/Chat/Chat/resolveRunBrowserToolCallDetailsState.d.ts +1 -1
  404. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +1 -1
  405. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictationPersistence.d.ts +1 -1
  406. package/umd/src/book-components/Chat/Chat/useChatInputAreaDictationSupport.d.ts +1 -1
  407. package/umd/src/book-components/Chat/Chat/useChatToolCallModalState.d.ts +3 -3
  408. package/umd/src/book-components/Chat/LlmChat/LlmChatProps.d.ts +2 -2
  409. package/umd/src/book-components/Chat/LlmChat/useLlmChatMessageHandler.d.ts +1 -1
  410. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +1 -1
  411. package/umd/src/book-components/Chat/hooks/useChatRatings.d.ts +2 -2
  412. package/umd/src/book-components/Chat/save/_common/ChatSaveFormatDefinition.d.ts +2 -1
  413. package/umd/src/book-components/Chat/types/ChatMessage.d.ts +6 -2
  414. package/umd/src/book-components/Chat/types/ChatParticipant.d.ts +5 -3
  415. package/umd/src/book-components/Chat/utils/citationHelpers.d.ts +1 -1
  416. package/umd/src/book-components/Chat/utils/collectTeamToolCallSummary.d.ts +1 -1
  417. package/umd/src/book-components/Chat/utils/createCitationFootnoteRenderModel.d.ts +1 -1
  418. package/umd/src/book-components/Chat/utils/getToolCallChipletInfo.d.ts +2 -2
  419. package/umd/src/book-components/Chat/utils/loadAgentProfile.d.ts +2 -1
  420. package/umd/src/book-components/Chat/utils/resolveCitationUrl.d.ts +1 -1
  421. package/umd/src/book-components/PromptbookAgent/PromptbookAgentIntegration.d.ts +1 -1
  422. package/umd/src/book-components/PromptbookAgent/PromptbookAgentSeamlessIntegration.d.ts +1 -1
  423. package/umd/src/book-components/Qr/useQrCode.d.ts +1 -1
  424. package/umd/src/book-components/_common/react-utils/classNames.d.ts +1 -1
  425. package/umd/src/cli/cli-commands/agent/agentProjectPaths.d.ts +2 -2
  426. package/umd/src/cli/cli-commands/agent/initializeAgentRunnerCommand.d.ts +22 -0
  427. package/umd/src/cli/cli-commands/agent/runMultiple.d.ts +10 -0
  428. package/umd/src/cli/cli-commands/agent.d.ts +3 -2
  429. package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +1 -1
  430. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +1 -1
  431. package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +1 -1
  432. package/umd/src/cli/common/$provideLlmToolsForCli.d.ts +1 -1
  433. package/umd/src/cli/other/install.test.d.ts +1 -0
  434. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +3 -3
  435. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +1 -1
  436. package/umd/src/collection/pipeline-collection/PipelineCollection.d.ts +1 -1
  437. package/umd/src/collection/pipeline-collection/SimplePipelineCollection.d.ts +1 -1
  438. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromDirectory.d.ts +2 -1
  439. package/umd/src/collection/pipeline-collection/constructors/createPipelineCollectionFromUrl.d.ts +1 -1
  440. package/umd/src/collection/pipeline-collection/constructors/createPipelineSubcollection.d.ts +1 -1
  441. package/umd/src/commands/BOOK_VERSION/BookVersionCommand.d.ts +1 -1
  442. package/umd/src/commands/FOREACH/ForeachJson.d.ts +1 -1
  443. package/umd/src/commands/JOKER/JokerCommand.d.ts +1 -1
  444. package/umd/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +1 -1
  445. package/umd/src/commands/KNOWLEDGE/utils/knowledgeSourceContentToName.d.ts +2 -2
  446. package/umd/src/commands/PARAMETER/ParameterCommand.d.ts +2 -2
  447. package/umd/src/commands/PERSONA/PersonaCommand.d.ts +2 -2
  448. package/umd/src/commands/POSTPROCESS/PostprocessCommand.d.ts +1 -1
  449. package/umd/src/commands/_common/parseCommand.d.ts +1 -1
  450. package/umd/src/commands/_common/stringifyCommand.d.ts +1 -1
  451. package/umd/src/commands/_common/types/CommandParser.d.ts +2 -1
  452. package/umd/src/commitments/MEMORY/MEMORY.d.ts +2 -2
  453. package/umd/src/commitments/MEMORY/MemoryToolRuntimeAdapter.d.ts +1 -1
  454. package/umd/src/commitments/MEMORY/createMemoryToolFunctions.d.ts +1 -1
  455. package/umd/src/commitments/MEMORY/getMemoryToolTitles.d.ts +1 -1
  456. package/umd/src/commitments/MEMORY/resolveMemoryRuntimeContext.d.ts +1 -1
  457. package/umd/src/commitments/TEAM/TEAM.d.ts +2 -2
  458. package/umd/src/commitments/USE_BROWSER/USE_BROWSER.d.ts +2 -2
  459. package/umd/src/commitments/USE_BROWSER/resolveRunBrowserToolForNode.d.ts +1 -1
  460. package/umd/src/commitments/USE_CALENDAR/USE_CALENDAR.d.ts +1 -1
  461. package/umd/src/commitments/USE_CALENDAR/createUseCalendarToolFunctions.d.ts +1 -1
  462. package/umd/src/commitments/USE_CALENDAR/getUseCalendarToolTitles.d.ts +1 -1
  463. package/umd/src/commitments/USE_CALENDAR/resolveUseCalendarToolRuntimeOrWalletCredentialResult.d.ts +1 -1
  464. package/umd/src/commitments/USE_DEEPSEARCH/USE_DEEPSEARCH.d.ts +2 -2
  465. package/umd/src/commitments/USE_EMAIL/USE_EMAIL.d.ts +2 -2
  466. package/umd/src/commitments/USE_EMAIL/resolveSendEmailToolForNode.d.ts +1 -1
  467. package/umd/src/commitments/USE_POPUP/USE_POPUP.d.ts +2 -2
  468. package/umd/src/commitments/USE_PRIVACY/USE_PRIVACY.d.ts +2 -2
  469. package/umd/src/commitments/USE_PROJECT/USE_PROJECT.d.ts +1 -1
  470. package/umd/src/commitments/USE_PROJECT/createUseProjectToolFunctions.d.ts +1 -1
  471. package/umd/src/commitments/USE_PROJECT/getUseProjectToolTitles.d.ts +1 -1
  472. package/umd/src/commitments/USE_PROJECT/resolveUseProjectToolRuntimeOrWalletCredentialResult.d.ts +1 -1
  473. package/umd/src/commitments/USE_SEARCH_ENGINE/USE_SEARCH_ENGINE.d.ts +2 -2
  474. package/umd/src/commitments/USE_SPAWN/USE_SPAWN.d.ts +2 -2
  475. package/umd/src/commitments/USE_SPAWN/resolveSpawnAgentToolForNode.d.ts +1 -1
  476. package/umd/src/commitments/USE_TIME/USE_TIME.d.ts +2 -2
  477. package/umd/src/commitments/USE_TIMEOUT/TimeoutToolRuntimeAdapter.d.ts +1 -1
  478. package/umd/src/commitments/USE_TIMEOUT/USE_TIMEOUT.d.ts +2 -2
  479. package/umd/src/commitments/USE_TIMEOUT/createTimeoutToolFunctions.d.ts +1 -1
  480. package/umd/src/commitments/USE_TIMEOUT/resolveTimeoutRuntimeContext.d.ts +1 -1
  481. package/umd/src/commitments/USE_USER_LOCATION/USE_USER_LOCATION.d.ts +2 -2
  482. package/umd/src/commitments/WALLET/WALLET.d.ts +1 -1
  483. package/umd/src/commitments/WALLET/WalletToolRuntimeAdapter.d.ts +1 -1
  484. package/umd/src/commitments/WALLET/createWalletToolFunctions.d.ts +1 -1
  485. package/umd/src/commitments/WALLET/getWalletToolTitles.d.ts +1 -1
  486. package/umd/src/commitments/WALLET/resolveWalletRuntimeContext.d.ts +1 -1
  487. package/umd/src/commitments/_base/BaseCommitmentDefinition.d.ts +2 -2
  488. package/umd/src/commitments/_base/CommitmentDefinition.d.ts +2 -2
  489. package/umd/src/commitments/_common/commitmentToolFunctions.d.ts +2 -2
  490. package/umd/src/commitments/_common/createSerpSearchToolFunction.d.ts +1 -1
  491. package/umd/src/commitments/_common/getAllCommitmentsToolFunctionsForNode.d.ts +1 -1
  492. package/umd/src/commitments/_common/getAllCommitmentsToolTitles.d.ts +1 -1
  493. package/umd/src/commitments/_common/getGroupedCommitmentDefinitions.d.ts +1 -1
  494. package/umd/src/commitments/_common/toolExecutionEnvelope.d.ts +1 -1
  495. package/umd/src/commitments/_common/toolRuntimeContext.d.ts +1 -1
  496. package/umd/src/config.d.ts +5 -1
  497. package/umd/src/conversion/archive/loadArchive.d.ts +1 -1
  498. package/umd/src/conversion/archive/saveArchive.d.ts +1 -1
  499. package/umd/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +1 -1
  500. package/umd/src/conversion/utils/extractParameterNamesFromTask.d.ts +1 -1
  501. package/umd/src/errors/PipelineExecutionError.d.ts +1 -1
  502. package/umd/src/errors/utils/ErrorJson.d.ts +1 -1
  503. package/umd/src/executables/apps/locateLibreoffice.d.ts +1 -1
  504. package/umd/src/executables/apps/locatePandoc.d.ts +1 -1
  505. package/umd/src/executables/apps/locateVscode.d.ts +1 -1
  506. package/umd/src/executables/browsers/locateBrowser.d.ts +1 -1
  507. package/umd/src/executables/browsers/locateChrome.d.ts +1 -1
  508. package/umd/src/executables/browsers/locateDefaultSystemBrowser.d.ts +1 -1
  509. package/umd/src/executables/browsers/locateEdge.d.ts +1 -1
  510. package/umd/src/executables/browsers/locateFirefox.d.ts +1 -1
  511. package/umd/src/executables/browsers/locateInternetExplorer.d.ts +1 -1
  512. package/umd/src/executables/browsers/locateSafari.d.ts +1 -1
  513. package/umd/src/executables/locateApp.d.ts +1 -1
  514. package/umd/src/executables/platforms/locateAppOnLinux.d.ts +1 -1
  515. package/umd/src/executables/platforms/locateAppOnMacOs.d.ts +1 -1
  516. package/umd/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
  517. package/umd/src/execution/AbstractTaskResult.d.ts +1 -1
  518. package/umd/src/execution/AvailableModel.d.ts +5 -1
  519. package/umd/src/execution/CommonToolsOptions.d.ts +1 -1
  520. package/umd/src/execution/Executables.d.ts +1 -1
  521. package/umd/src/execution/ExecutionTask.d.ts +3 -2
  522. package/umd/src/execution/LlmExecutionTools.d.ts +2 -1
  523. package/umd/src/execution/PipelineExecutor.d.ts +1 -1
  524. package/umd/src/execution/PipelineExecutorResult.d.ts +2 -2
  525. package/umd/src/execution/PromptResult.d.ts +3 -1
  526. package/umd/src/execution/PromptbookFetch.d.ts +1 -1
  527. package/umd/src/execution/ScriptExecutionTools.d.ts +2 -2
  528. package/umd/src/execution/UncertainNumber.d.ts +2 -2
  529. package/umd/src/execution/UserInterfaceTools.d.ts +1 -2
  530. package/umd/src/execution/createPipelineExecutor/10-executePipeline.d.ts +1 -1
  531. package/umd/src/execution/createPipelineExecutor/20-executeTask.d.ts +1 -1
  532. package/umd/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +2 -1
  533. package/umd/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +1 -1
  534. package/umd/src/execution/createPipelineExecutor/getContextForTask.d.ts +2 -2
  535. package/umd/src/execution/createPipelineExecutor/getExamplesForTask.d.ts +2 -2
  536. package/umd/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +3 -1
  537. package/umd/src/execution/createPipelineExecutor/getReservedParametersForTask.d.ts +1 -2
  538. package/umd/src/execution/execution-report/ExecutionReportJson.d.ts +3 -3
  539. package/umd/src/execution/execution-report/ExecutionReportStringOptions.d.ts +1 -1
  540. package/umd/src/execution/utils/usageToHuman.d.ts +1 -1
  541. package/umd/src/execution/utils/validatePromptResult.d.ts +1 -1
  542. package/umd/src/file-security-checkers/FileSecurityCheckResult.d.ts +2 -1
  543. package/umd/src/file-security-checkers/FileSecurityChecker.d.ts +3 -1
  544. package/umd/src/file-security-checkers/virustotal/VirusTotalFileSecurityChecker.d.ts +1 -1
  545. package/umd/src/formats/_common/FormatParser.d.ts +2 -2
  546. package/umd/src/formats/_common/FormatSubvalueParser.d.ts +2 -3
  547. package/umd/src/formats/csv/utils/csvParse.d.ts +1 -1
  548. package/umd/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +2 -3
  549. package/umd/src/import-plugins/FileImportPlugin.d.ts +1 -1
  550. package/umd/src/llm-providers/_common/register/$provideEnvFilename.d.ts +1 -1
  551. package/umd/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +3 -2
  552. package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +2 -1
  553. package/umd/src/llm-providers/_common/register/LlmToolsConfiguration.d.ts +1 -1
  554. package/umd/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +2 -1
  555. package/umd/src/llm-providers/_common/register/createLlmToolsFromConfiguration.d.ts +3 -1
  556. package/umd/src/llm-providers/_common/utils/assertUniqueModels.d.ts +1 -1
  557. package/umd/src/llm-providers/_common/utils/cache/CacheItem.d.ts +2 -2
  558. package/umd/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +2 -1
  559. package/umd/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +2 -1
  560. package/umd/src/llm-providers/agent/Agent.d.ts +6 -2
  561. package/umd/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +3 -1
  562. package/umd/src/llm-providers/agent/RemoteAgent.d.ts +2 -2
  563. package/umd/src/llm-providers/agent/RemoteAgentOptions.d.ts +1 -1
  564. package/umd/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +2 -1
  565. package/umd/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  566. package/umd/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +2 -1
  567. package/umd/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +2 -3
  568. package/umd/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
  569. package/umd/src/llm-providers/google/google-models.d.ts +1 -1
  570. package/umd/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -1
  571. package/umd/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +2 -1
  572. package/umd/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +2 -1
  573. package/umd/src/llm-providers/ollama/OllamaExecutionTools.d.ts +2 -1
  574. package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionTools.d.ts +3 -2
  575. package/umd/src/llm-providers/openai/OpenAiAgentKitExecutionToolsOptions.d.ts +1 -1
  576. package/umd/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +3 -1
  577. package/umd/src/llm-providers/openai/OpenAiAssistantExecutionToolsOptions.d.ts +1 -1
  578. package/umd/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +3 -1
  579. package/umd/src/llm-providers/openai/OpenAiExecutionTools.d.ts +2 -1
  580. package/umd/src/llm-providers/openai/OpenAiVectorStoreHandler.d.ts +2 -2
  581. package/umd/src/llm-providers/openai/createOpenAiCompatibleExecutionTools.d.ts +3 -1
  582. package/umd/src/llm-providers/openai/utils/OpenAiCompatibleUnsupportedParameterRetrier.d.ts +1 -1
  583. package/umd/src/llm-providers/openai/utils/callOpenAiCompatibleChatModel.d.ts +2 -1
  584. package/umd/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +2 -1
  585. package/umd/src/other/templates/getBookTemplates.d.ts +1 -1
  586. package/umd/src/personas/preparePersona.d.ts +1 -1
  587. package/umd/src/pipeline/PipelineJson/CommonTaskJson.d.ts +4 -8
  588. package/umd/src/pipeline/PipelineJson/Expectations.d.ts +1 -2
  589. package/umd/src/pipeline/PipelineJson/KnowledgePieceJson.d.ts +4 -6
  590. package/umd/src/pipeline/PipelineJson/KnowledgeSourceJson.d.ts +3 -3
  591. package/umd/src/pipeline/PipelineJson/ParameterJson.d.ts +2 -3
  592. package/umd/src/pipeline/PipelineJson/PersonaJson.d.ts +3 -3
  593. package/umd/src/pipeline/PipelineJson/PipelineJson.d.ts +6 -9
  594. package/umd/src/pipeline/PipelineJson/PreparationJson.d.ts +1 -1
  595. package/umd/src/pipeline/PipelineJson/PromptTaskJson.d.ts +1 -1
  596. package/umd/src/pipeline/prompt-notation.d.ts +1 -1
  597. package/umd/src/postprocessing/utils/extractBlock.d.ts +1 -1
  598. package/umd/src/postprocessing/utils/extractJsonBlock.d.ts +1 -2
  599. package/umd/src/prepare/PrepareAndScrapeOptions.d.ts +1 -1
  600. package/umd/src/remote-server/socket-types/_subtypes/Identification.d.ts +2 -2
  601. package/umd/src/remote-server/socket-types/_subtypes/identificationToPromptbookToken.d.ts +1 -1
  602. package/umd/src/remote-server/socket-types/_subtypes/promptbookTokenToIdentification.d.ts +1 -1
  603. package/umd/src/remote-server/startAgentServer.d.ts +1 -1
  604. package/umd/src/remote-server/types/RemoteClientOptions.d.ts +1 -1
  605. package/umd/src/remote-server/types/RemoteServerOptions.d.ts +2 -1
  606. package/umd/src/scrapers/_common/Scraper.d.ts +4 -4
  607. package/umd/src/scrapers/_common/ScraperIntermediateSource.d.ts +1 -1
  608. package/umd/src/scrapers/_common/register/$registeredScrapersMessage.d.ts +1 -1
  609. package/umd/src/scrapers/_common/register/ScraperAndConverterMetadata.d.ts +3 -1
  610. package/umd/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +1 -1
  611. package/umd/src/scrapers/website/WebsiteScraper.d.ts +2 -3
  612. package/umd/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +2 -2
  613. package/umd/src/scripting/javascript/utils/extractVariablesFromJavascript.d.ts +2 -2
  614. package/umd/src/search-engines/SearchEngine.d.ts +2 -1
  615. package/umd/src/search-engines/SearchResult.d.ts +1 -1
  616. package/umd/src/search-engines/bing/BingSearchEngine.d.ts +2 -1
  617. package/umd/src/search-engines/dummy/DummySearchEngine.d.ts +2 -1
  618. package/umd/src/search-engines/google/GoogleSearchEngine.d.ts +2 -1
  619. package/umd/src/search-engines/serp/SerpSearchEngine.d.ts +2 -1
  620. package/umd/src/storage/file-cache-storage/FileCacheStorageOptions.d.ts +1 -1
  621. package/umd/src/storage/file-cache-storage/utils/nameToSubfolderPath.d.ts +1 -1
  622. package/umd/src/storage/local-storage/utils/IndexedDbStorageOptions.d.ts +1 -1
  623. package/umd/src/transpilers/_common/BookTranspiler.d.ts +4 -2
  624. package/umd/src/transpilers/_common/createTranspiledTeamRuntimeSection.d.ts +1 -1
  625. package/umd/src/transpilers/_common/formatUsedToolFunctions.d.ts +1 -1
  626. package/umd/src/transpilers/agent-os/AgentOsTranspiler.d.ts +1 -1
  627. package/umd/src/transpilers/anthropic-claude-managed/AnthropicClaudeManagedTranspiler.d.ts +1 -1
  628. package/umd/src/transpilers/anthropic-claude-sdk/AnthropicClaudeSdkTranspiler.d.ts +1 -1
  629. package/umd/src/transpilers/e2b/E2BTranspiler.d.ts +1 -1
  630. package/umd/src/transpilers/formatted-book-in-markdown/FormattedBookInMarkdownTranspiler.d.ts +1 -1
  631. package/umd/src/transpilers/openai-agents/OpenAiAgentsTranspiler.d.ts +1 -1
  632. package/umd/src/transpilers/openai-sdk/OpenAiSdkTranspiler.d.ts +1 -1
  633. package/umd/src/types/LlmCall.d.ts +1 -1
  634. package/umd/src/types/LlmToolDefinition.d.ts +2 -1
  635. package/umd/src/types/Message.d.ts +4 -3
  636. package/umd/src/types/ModelRequirements.d.ts +4 -2
  637. package/umd/src/types/Prompt.d.ts +7 -12
  638. package/umd/src/types/SpeechRecognition.d.ts +1 -1
  639. package/umd/src/types/ToolCall.d.ts +1 -1
  640. package/umd/src/types/string_email.d.ts +1 -1
  641. package/umd/src/types/string_host.d.ts +1 -1
  642. package/umd/src/types/string_person_fullname.d.ts +1 -1
  643. package/umd/src/types/string_token.d.ts +1 -1
  644. package/umd/src/utils/agents/resolveAgentAvatarImageUrl.d.ts +2 -1
  645. package/umd/src/utils/color/Color.d.ts +2 -1
  646. package/umd/src/utils/color/internal-utils/hslToRgb.d.ts +2 -3
  647. package/umd/src/utils/color/internal-utils/rgbToHsl.d.ts +2 -3
  648. package/umd/src/utils/color/operators/darken.d.ts +1 -1
  649. package/umd/src/utils/color/operators/grayscale.d.ts +1 -1
  650. package/umd/src/utils/color/operators/lighten.d.ts +1 -1
  651. package/umd/src/utils/color/operators/mixWithColor.d.ts +1 -1
  652. package/umd/src/utils/color/operators/saturate.d.ts +1 -1
  653. package/umd/src/utils/color/parsers/parseHexColor.d.ts +1 -1
  654. package/umd/src/utils/color/parsers/parseHslColor.d.ts +1 -1
  655. package/umd/src/utils/color/parsers/parseRgbColor.d.ts +1 -1
  656. package/umd/src/utils/color/utils/colorToDataUrl.d.ts +3 -1
  657. package/umd/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +1 -1
  658. package/umd/src/utils/editable/types/PipelineEditableSerialized.d.ts +1 -1
  659. package/umd/src/utils/editable/utils/renamePipelineParameter.d.ts +1 -1
  660. package/umd/src/utils/editable/utils/stringifyPipelineJson.d.ts +1 -1
  661. package/umd/src/utils/files/$induceFileDownload.d.ts +1 -1
  662. package/umd/src/utils/files/ObjectUrl.d.ts +2 -1
  663. package/umd/src/utils/files/extensionToMimeType.d.ts +2 -2
  664. package/umd/src/utils/files/getFileExtension.d.ts +2 -2
  665. package/umd/src/utils/files/isDirectoryExisting.d.ts +1 -1
  666. package/umd/src/utils/files/isFileExisting.d.ts +1 -1
  667. package/umd/src/utils/files/listAllFiles.d.ts +1 -1
  668. package/umd/src/utils/files/mimeTypeToExtension.d.ts +2 -2
  669. package/umd/src/utils/filesystem/promptbookTemporaryPath.d.ts +27 -0
  670. package/umd/src/utils/filesystem/promptbookTemporaryPath.test.d.ts +1 -0
  671. package/umd/src/utils/knowledge/inlineKnowledgeSource.d.ts +3 -1
  672. package/umd/src/utils/markdown/addAutoGeneratedSection.d.ts +2 -2
  673. package/umd/src/utils/markdown/createMarkdownChart.d.ts +1 -1
  674. package/umd/src/utils/markdown/createMarkdownTable.d.ts +1 -2
  675. package/umd/src/utils/markdown/escapeMarkdownBlock.d.ts +1 -1
  676. package/umd/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +1 -1
  677. package/umd/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +1 -1
  678. package/umd/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +1 -1
  679. package/umd/src/utils/markdown/flattenMarkdown.d.ts +1 -1
  680. package/umd/src/utils/markdown/humanizeAiText.d.ts +1 -1
  681. package/umd/src/utils/markdown/humanizeAiTextEllipsis.d.ts +1 -1
  682. package/umd/src/utils/markdown/humanizeAiTextEmdashed.d.ts +1 -1
  683. package/umd/src/utils/markdown/humanizeAiTextQuotes.d.ts +1 -1
  684. package/umd/src/utils/markdown/humanizeAiTextSources.d.ts +1 -1
  685. package/umd/src/utils/markdown/humanizeAiTextWhitespace.d.ts +1 -1
  686. package/umd/src/utils/markdown/parseMarkdownSection.d.ts +1 -1
  687. package/umd/src/utils/markdown/prettifyMarkdown.d.ts +1 -1
  688. package/umd/src/utils/markdown/promptbookifyAiText.d.ts +1 -1
  689. package/umd/src/utils/markdown/removeMarkdownComments.d.ts +1 -2
  690. package/umd/src/utils/markdown/removeMarkdownFormatting.d.ts +1 -1
  691. package/umd/src/utils/markdown/splitMarkdownIntoSections.d.ts +1 -1
  692. package/umd/src/utils/misc/$Register.d.ts +1 -1
  693. package/umd/src/utils/misc/$getCurrentDate.d.ts +1 -1
  694. package/umd/src/utils/misc/aboutPromptbookInformation.d.ts +1 -1
  695. package/umd/src/utils/misc/computeHash.d.ts +2 -2
  696. package/umd/src/utils/misc/injectCssModuleIntoShadowRoot.d.ts +1 -1
  697. package/umd/src/utils/normalization/suffixUrl.d.ts +1 -1
  698. package/umd/src/utils/organization/keepImported.d.ts +1 -1
  699. package/umd/src/utils/parameters/extractParameterNames.d.ts +2 -2
  700. package/umd/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +1 -1
  701. package/umd/src/utils/parameters/numberToString.d.ts +1 -1
  702. package/umd/src/utils/parameters/templateParameters.d.ts +2 -1
  703. package/umd/src/utils/parameters/valueToString.d.ts +1 -1
  704. package/umd/src/utils/random/$generateBookBoilerplate.d.ts +1 -1
  705. package/umd/src/utils/random/$randomAgentPersona.d.ts +1 -1
  706. package/umd/src/utils/random/$randomAgentRule.d.ts +1 -1
  707. package/umd/src/utils/random/$randomFullnameWithColor.d.ts +1 -1
  708. package/umd/src/utils/random/$randomSeed.d.ts +1 -1
  709. package/umd/src/utils/random/$randomToken.d.ts +1 -1
  710. package/umd/src/utils/random/NamePool.d.ts +1 -1
  711. package/umd/src/utils/serialization/checkSerializableAsJson.d.ts +1 -1
  712. package/umd/src/utils/serialization/serializeToPromptbookJavascript.d.ts +1 -1
  713. package/umd/src/utils/toolCalls/mergeToolCalls.d.ts +1 -1
  714. package/umd/src/utils/validators/email/isValidEmail.d.ts +1 -1
  715. package/umd/src/utils/validators/filePath/isRootPath.d.ts +1 -2
  716. package/umd/src/utils/validators/filePath/isValidFilePath.d.ts +1 -1
  717. package/umd/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +1 -1
  718. package/umd/src/utils/validators/parameterName/validateParameterName.d.ts +1 -1
  719. package/umd/src/utils/validators/semanticVersion/isValidSemanticVersion.d.ts +1 -1
  720. package/umd/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +1 -1
  721. package/umd/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +2 -2
  722. package/umd/src/utils/validators/url/isValidAgentUrl.d.ts +1 -1
  723. package/umd/src/utils/validators/url/isValidPipelineUrl.d.ts +1 -1
  724. package/umd/src/utils/validators/url/isValidUrl.d.ts +1 -1
  725. package/umd/src/utils/validators/uuid/isValidUuid.d.ts +1 -1
  726. package/umd/src/version.d.ts +1 -1
  727. package/umd/src/wizard/$getCompiledBook.d.ts +2 -1
  728. package/umd/src/wizard/wizard.d.ts +4 -1
  729. package/esm/src/utils/files/getPromptbookTempPath.d.ts +0 -24
  730. package/umd/src/utils/files/getPromptbookTempPath.d.ts +0 -24
  731. /package/esm/src/{utils/files/getPromptbookTempPath.test.d.ts → book-3.0/Book.test.d.ts} +0 -0
  732. /package/{umd/src/utils/files/getPromptbookTempPath.test.d.ts → esm/src/cli/other/install.test.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import type { string_file_extension } from '../../types/typeAliases';
2
- import type { string_mime_type } from '../../types/typeAliases';
1
+ import type { string_mime_type } from '../../types/string_mime_type';
2
+ import type { string_file_extension } from '../../types/string_sha256';
3
3
  /**
4
4
  * Convert mime type to file extension
5
5
  *
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Stable root directory used for Promptbook-owned temporary files and caches.
3
+ *
4
+ * @private internal utility for Promptbook temporary folders
5
+ */
6
+ export declare const PROMPTBOOK_TEMPORARY_DIRECTORY = ".promptbook";
7
+ /**
8
+ * Builds one normalized project-relative path inside Promptbook's dedicated temporary root.
9
+ *
10
+ * The returned path intentionally uses `/` separators so the same helper can be reused from
11
+ * Node.js and edge-safe code without depending on the Node `path` module.
12
+ *
13
+ * @private internal utility for Promptbook temporary folders
14
+ */
15
+ export declare function getPromptbookTemporaryPath(...pathSegments: ReadonlyArray<string>): string;
16
+ /**
17
+ * Builds one repository-root `.gitignore` rule for a Promptbook temporary path.
18
+ *
19
+ * @private internal utility for Promptbook temporary folders
20
+ */
21
+ export declare function getPromptbookTemporaryGitignoreRule(...pathSegments: ReadonlyArray<string>): string;
22
+ /**
23
+ * Resolves one absolute or base-relative path inside Promptbook's dedicated temporary root.
24
+ *
25
+ * @private internal utility for Promptbook temporary folders
26
+ */
27
+ export declare function resolvePromptbookTemporaryPath(projectPath: string, ...pathSegments: ReadonlyArray<string>): string;
@@ -1,6 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
- import type { string_data_url, string_filename, string_knowledge_source_link } from '../../types/typeAliases';
3
+ import type { string_data_url } from '../../types/string_base64';
4
+ import type { string_filename } from '../../types/string_filename';
5
+ import type { string_knowledge_source_link } from '../../types/string_knowledge_source_content';
4
6
  /**
5
7
  * Type describing inline knowledge source file.
6
8
  *
@@ -1,5 +1,5 @@
1
- import type { string_markdown } from '../../types/typeAliases';
2
- import type { string_name } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
+ import type { string_name } from '../../types/string_name';
3
3
  /**
4
4
  * Add or modify an auto-generated section in a markdown file
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  import type { FromtoItems } from '../misc/FromtoItems';
3
3
  /**
4
4
  * Options for `CreateMarkdownChartOptions`
@@ -1,5 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
2
- import type { string_markdown_text } from '../../types/typeAliases';
1
+ import type { string_markdown, string_markdown_text } from '../../types/string_markdown';
3
2
  /**
4
3
  * Create a markdown table from a 2D array of strings
5
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown_text } from '../../types/typeAliases';
1
+ import type { string_markdown_text } from '../../types/string_markdown';
2
2
  /**
3
3
  * Function escapeMarkdownBlock will escape markdown block if needed
4
4
  * It is useful when you want have block in block
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Single code block inside markdown.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { string_markdown, string_markdown_text } from '../../types/typeAliases';
1
+ import type { string_markdown, string_markdown_text } from '../../types/string_markdown';
2
2
  /**
3
3
  * Utility function to extract all list items from markdown
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  import type { MarkdownCodeBlock } from './extractAllBlocksFromMarkdown';
3
3
  /**
4
4
  * Extracts exactly ONE code block from markdown.
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Normalizes the markdown by flattening the structure
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Function `humanizeAiText` will remove traces of AI text generation artifacts
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Change ellipsis characters and dot leaders to three dots `…` -> `...`
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Change dash-like characters to regular dashes `-` -> `-` and remove soft hyphens
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Change smart quotes to regular quotes
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Remove bracketed source citation artifacts like `\u30105:1\u2020source\u3011`.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Change unprintable hard spaces to regular spaces and drop zero-width spaces
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown_section, string_markdown_section_content, string_markdown_text } from '../../types/typeAliases';
1
+ import type { string_markdown_section, string_markdown_section_content, string_markdown_text } from '../../types/string_markdown';
2
2
  /**
3
3
  * Parsed markdown section
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_html } from '../../types/typeAliases';
1
+ import type { string_html } from '../../types/string_markdown';
2
2
  /**
3
3
  * Prettify the html code
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Function `promptbookifyAiText` will slightly modify the text so we know it was processed by Promptbook
4
4
  *
@@ -1,5 +1,4 @@
1
- import type { string_html } from '../../types/typeAliases';
2
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_html, string_markdown } from '../../types/string_markdown';
3
2
  /**
4
3
  * Removes Markdown (or HTML) comments
5
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown_text } from '../../types/typeAliases';
1
+ import type { string_markdown_text } from '../../types/string_markdown';
2
2
  /**
3
3
  * Removes Markdown formatting tags from a string.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown, string_markdown_section } from '../../types/typeAliases';
1
+ import type { string_markdown, string_markdown_section } from '../../types/string_markdown';
2
2
  /**
3
3
  * Splits the markdown into sections by headings
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import { type IDestroyable } from 'destroyable';
2
- import type { string_name } from '../../types/typeAliases';
2
+ import type { string_name } from '../../types/string_name';
3
3
  import type { TODO_string } from '../organization/TODO_string';
4
4
  /**
5
5
  * Represents an entity in a global registry.
@@ -1,4 +1,4 @@
1
- import type { string_date_iso8601 } from '../../types/typeAliases';
1
+ import type { string_date_iso8601 } from '../../types/string_token';
2
2
  /**
3
3
  * Simple wrapper `new Date().toISOString()`
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_markdown } from '../../types/typeAliases';
1
+ import type { string_markdown } from '../../types/string_markdown';
2
2
  /**
3
3
  * Options for about promptbook information.
4
4
  */
@@ -1,5 +1,5 @@
1
- import { string_sha256 } from '../../types/typeAliases';
2
- import { really_unknown } from '../organization/really_unknown';
1
+ import type { string_sha256 } from '../../types/string_sha256';
2
+ import type { really_unknown } from '../organization/really_unknown';
3
3
  /**
4
4
  * Computes SHA-256 hash of the given object
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { string_css_class } from '../../types/typeAliases';
1
+ import type { string_css_class } from '../../types/string_markdown';
2
2
  /**
3
3
  * Options for inject Css module into shadow root.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { string_url } from '../../types/typeAliases';
1
+ import type { string_url } from '../../types/string_url';
2
2
  /**
3
3
  * Adds suffix to the URL
4
4
  *
@@ -1,4 +1,4 @@
1
- import { chococake } from './really_any';
1
+ import type { chococake } from './really_any';
2
2
  /**
3
3
  * Just says that the dependency is imported, not used but should be kept
4
4
  *
@@ -1,5 +1,5 @@
1
- import type { string_parameter_name } from '../../types/typeAliases';
2
- import type { string_template } from '../../types/typeAliases';
1
+ import type { string_parameter_name } from '../../types/string_name';
2
+ import type { string_template } from '../../types/string_prompt';
3
3
  /**
4
4
  * Parses the task and returns the list of all parameter names
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { string_parameter_name, string_parameter_value } from '../../types/typeAliases';
1
+ import type { string_parameter_name, string_parameter_value } from '../../types/string_name';
2
2
  /**
3
3
  * Options for mapping available parameters to expected parameters in a pipeline task.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { string_parameter_value } from '../../types/typeAliases';
1
+ import type { string_parameter_value } from '../../types/string_name';
2
2
  /**
3
3
  * Format either small or big number
4
4
  *
@@ -1,4 +1,5 @@
1
- import type { string_parameter_name, string_template } from '../../types/typeAliases';
1
+ import type { string_parameter_name } from '../../types/string_name';
2
+ import type { string_template } from '../../types/string_prompt';
2
3
  import type { really_unknown } from '../organization/really_unknown';
3
4
  /**
4
5
  * Replaces parameters in template with values from parameters object
@@ -1,4 +1,4 @@
1
- import type { string_parameter_value } from '../../types/typeAliases';
1
+ import type { string_parameter_value } from '../../types/string_name';
2
2
  import type { really_unknown } from '../organization/really_unknown';
3
3
  /**
4
4
  * Function `valueToString` will convert the given value to string
@@ -1,7 +1,7 @@
1
1
  import type { PartialDeep } from 'type-fest';
2
2
  import type { AgentBasicInformation } from '../../book-2.0/agent-source/AgentBasicInformation';
3
3
  import type { string_book } from '../../book-2.0/agent-source/string_book';
4
- import type { string_agent_name_in_book } from '../../types/typeAliases';
4
+ import type { string_agent_name_in_book } from '../../types/string_agent_name';
5
5
  /**
6
6
  * Options for generate book boilerplate.
7
7
  */
@@ -1,4 +1,4 @@
1
- import type { string_persona_description } from '../../types/typeAliases';
1
+ import type { string_persona_description } from '../../types/string_persona_description';
2
2
  /**
3
3
  * Generates a random agent persona description.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_persona_description } from '../../types/typeAliases';
1
+ import type { string_persona_description } from '../../types/string_persona_description';
2
2
  /**
3
3
  * Generates a random agent rule description.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_color, string_person_fullname } from '../../types/typeAliases';
1
+ import type { string_color, string_person_fullname } from '../../types/string_person_fullname';
2
2
  /**
3
3
  * Result of random fullname with color.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { number_seed } from '../../types/typeAliases';
1
+ import type { number_seed } from '../../types/number_percent';
2
2
  /**
3
3
  * Generates random seed
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_token } from '../../types/typeAliases';
1
+ import type { string_token } from '../../types/string_token';
2
2
  /**
3
3
  * Generates random token
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_color, string_person_fullname } from '../../types/typeAliases';
1
+ import type { string_color, string_person_fullname } from '../../types/string_person_fullname';
2
2
  /**
3
3
  * Result of generating a name
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { string_name } from '../../types/typeAliases';
1
+ import type { string_name } from '../../types/string_name';
2
2
  import type { really_unknown } from '../organization/really_unknown';
3
3
  /**
4
4
  * Options for the `checkSerializableAsJson` function
@@ -1,4 +1,4 @@
1
- import type { string_javascript } from '../../types/typeAliases';
1
+ import type { string_javascript } from '../../types/string_markdown';
2
2
  import type { TODO_any } from '../organization/TODO_any';
3
3
  /**
4
4
  * Type describing serialize to promptbook javascript return.
@@ -1,4 +1,4 @@
1
- import { type ToolCall } from '../../types/ToolCall';
1
+ import type { ToolCall } from '../../types/ToolCall';
2
2
  /**
3
3
  * Merges streamed tool-call snapshots by stable identity while preserving incremental logs,
4
4
  * warnings, and partial results.
@@ -1,4 +1,4 @@
1
- import type { string_email } from '../../../types/typeAliases';
1
+ import type { string_email } from '../../../types/string_email';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Checks if value is valid email
@@ -1,5 +1,4 @@
1
- import type { string_dirname } from '../../../types/typeAliases';
2
- import type { string_filename } from '../../../types/typeAliases';
1
+ import type { string_dirname, string_filename } from '../../../types/string_filename';
3
2
  /**
4
3
  * Determines if the given path is a root path.
5
4
  *
@@ -1,4 +1,4 @@
1
- import type { string_filename } from '../../../types/typeAliases';
1
+ import type { string_filename } from '../../../types/string_filename';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Tests if given string is valid file path.
@@ -1,4 +1,4 @@
1
- import type { string_javascript_name } from '../../../types/typeAliases';
1
+ import type { string_javascript_name } from '../../../types/string_person_fullname';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Checks if the given value is a valid JavaScript identifier name.
@@ -1,4 +1,4 @@
1
- import type { string_parameter_name } from '../../../types/typeAliases';
1
+ import type { string_parameter_name } from '../../../types/string_name';
2
2
  /**
3
3
  * Function `validateParameterName` will normalize and validate a parameter name for use in pipelines.
4
4
  * It removes diacritics, emojis, and quotes, normalizes to camelCase, and checks for reserved names and invalid characters.
@@ -1,4 +1,4 @@
1
- import type { string_semantic_version } from '../../../types/typeAliases';
1
+ import type { string_semantic_version } from '../../../types/string_sha256';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Tests if given string is valid semantic version
@@ -1,4 +1,4 @@
1
- import type { string_hostname } from '../../../types/typeAliases';
1
+ import type { string_hostname } from '../../../types/string_host';
2
2
  /**
3
3
  * Options for `isHostnameOnPrivateNetwork`
4
4
  */
@@ -1,5 +1,5 @@
1
- import type { string_url } from '../../../types/typeAliases';
2
- import { type IsHostnameOnPrivateNetworkOptions } from './isHostnameOnPrivateNetwork';
1
+ import type { string_url } from '../../../types/string_url';
2
+ import type { IsHostnameOnPrivateNetworkOptions } from './isHostnameOnPrivateNetwork';
3
3
  /**
4
4
  * Options for `isUrlOnPrivateNetwork`
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { string_agent_url } from '../../../types/typeAliases';
1
+ import type { string_agent_url } from '../../../types/string_agent_url';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Tests if given string is valid agent URL
@@ -1,4 +1,4 @@
1
- import type { string_pipeline_url } from '../../../types/typeAliases';
1
+ import type { string_pipeline_url } from '../../../types/string_pipeline_url';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Tests if given string is valid pipeline URL URL.
@@ -1,4 +1,4 @@
1
- import type { string_url } from '../../../types/typeAliases';
1
+ import type { string_url } from '../../../types/string_url';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Tests if given string is valid URL.
@@ -1,4 +1,4 @@
1
- import type { string_uuid } from '../../../types/typeAliases';
1
+ import type { string_uuid } from '../../../types/string_sha256';
2
2
  import type { really_unknown } from '../../organization/really_unknown';
3
3
  /**
4
4
  * Checks if value is valid uuid
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.112.0-65`).
18
+ * It follows semantic versioning (e.g., `0.112.0-69`).
19
19
  *
20
20
  * @generated
21
21
  */
@@ -2,7 +2,8 @@ import type { ExecutionTools } from '../execution/ExecutionTools';
2
2
  import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
3
3
  import type { PipelineString } from '../pipeline/PipelineString';
4
4
  import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions';
5
- import type { string_filename, string_pipeline_url } from '../types/typeAliases';
5
+ import type { string_filename } from '../types/string_filename';
6
+ import type { string_pipeline_url } from '../types/string_pipeline_url';
6
7
  /**
7
8
  * @see ./wizard.ts `getPipeline` method
8
9
  *
@@ -2,7 +2,10 @@ import type { ExecutionTools } from '../execution/ExecutionTools';
2
2
  import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
3
3
  import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
4
4
  import type { PipelineString } from '../pipeline/PipelineString';
5
- import type { InputParameters, string_filename, string_parameter_value, string_pipeline_url } from '../types/typeAliases';
5
+ import type { InputParameters } from '../types/Parameters';
6
+ import type { string_filename } from '../types/string_filename';
7
+ import type { string_parameter_value } from '../types/string_name';
8
+ import type { string_pipeline_url } from '../types/string_pipeline_url';
6
9
  /**
7
10
  * Options for wizard methods
8
11
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/utils",
3
- "version": "0.112.0-66",
3
+ "version": "0.112.0-70",
4
4
  "description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -22,7 +22,7 @@
22
22
  * @generated
23
23
  * @see https://github.com/webgptorg/promptbook
24
24
  */
25
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-66';
25
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-70';
26
26
  /**
27
27
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -942,27 +942,33 @@
942
942
  // TODO: Maybe implement by mix+hsl
943
943
 
944
944
  /**
945
- * Relative directory name without the `./` prefix for Git ignore rules and glob patterns.
945
+ * Stable root directory used for Promptbook-owned temporary files and caches.
946
946
  *
947
- * @private internal utility for Promptbook-owned temp files
947
+ * @private internal utility for Promptbook temporary folders
948
948
  */
949
- const PROMPTBOOK_TEMP_DIRECTORY_NAME = '.promptbook';
949
+ const PROMPTBOOK_TEMPORARY_DIRECTORY = '.promptbook';
950
950
  /**
951
- * Builds one project-relative path inside the shared Promptbook working directory.
951
+ * Builds one normalized project-relative path inside Promptbook's dedicated temporary root.
952
952
  *
953
- * @private internal utility for Promptbook-owned temp files
953
+ * The returned path intentionally uses `/` separators so the same helper can be reused from
954
+ * Node.js and edge-safe code without depending on the Node `path` module.
955
+ *
956
+ * @private internal utility for Promptbook temporary folders
954
957
  */
955
- function getPromptbookTempPath(...pathSegments) {
956
- return `./${getPromptbookTempPosixPath(...pathSegments)}`;
958
+ function getPromptbookTemporaryPath(...pathSegments) {
959
+ const normalizedPathSegments = pathSegments.flatMap(splitPathSegments).filter(Boolean);
960
+ return [PROMPTBOOK_TEMPORARY_DIRECTORY, ...normalizedPathSegments].join('/');
957
961
  }
958
962
  /**
959
- * Builds one POSIX path fragment inside the shared Promptbook working directory for globs and generated text files.
960
- *
961
- * @private internal utility for Promptbook-owned temp files
963
+ * Normalizes one raw path segment into slash-delimited pieces without empty items.
962
964
  */
963
- function getPromptbookTempPosixPath(...pathSegments) {
964
- return path.posix.join(PROMPTBOOK_TEMP_DIRECTORY_NAME, ...pathSegments);
965
+ function splitPathSegments(pathSegment) {
966
+ return pathSegment
967
+ .split(/[\\/]+/u)
968
+ .map((segment) => segment.trim())
969
+ .filter(Boolean);
965
970
  }
971
+ // Note: [💞] Ignore a discrepancy between file name and entity name
966
972
 
967
973
  /**
968
974
  * Name for the Promptbook
@@ -1066,7 +1072,7 @@
1066
1072
  *
1067
1073
  * @public exported from `@promptbook/core`
1068
1074
  */
1069
- getPromptbookTempPath('download-cache');
1075
+ `./${getPromptbookTemporaryPath('download-cache')}`;
1070
1076
  /**
1071
1077
  * Where to store the cache of executions for promptbook CLI
1072
1078
  *
@@ -1074,7 +1080,7 @@
1074
1080
  *
1075
1081
  * @public exported from `@promptbook/core`
1076
1082
  */
1077
- getPromptbookTempPath('execution-cache');
1083
+ `./${getPromptbookTemporaryPath('execution-cache')}`;
1078
1084
  /**
1079
1085
  * Where to store the scrape cache
1080
1086
  *
@@ -1082,7 +1088,7 @@
1082
1088
  *
1083
1089
  * @public exported from `@promptbook/core`
1084
1090
  */
1085
- getPromptbookTempPath('scrape-cache');
1091
+ `./${getPromptbookTemporaryPath('scrape-cache')}`;
1086
1092
  // <- TODO: [🧜‍♂️]
1087
1093
  /**
1088
1094
  * Default settings for parsing and generating CSV files in Promptbook.