@promptbook/javascript 0.112.0-31 → 0.112.0-34
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.
- package/esm/index.es.js +1 -1
- package/esm/src/_packages/components.index.d.ts +6 -0
- package/esm/src/_packages/types.index.d.ts +55 -49
- package/esm/src/book-2.0/agent-source/AgentReferenceResolver.d.ts +11 -0
- package/esm/src/book-2.0/agent-source/CreateAgentModelRequirementsOptions.d.ts +8 -0
- package/esm/src/book-2.0/agent-source/TeammateProfileResolver.d.ts +33 -0
- package/esm/src/book-2.0/agent-source/createTeamToolName.d.ts +7 -7
- package/esm/src/book-components/Chat/Chat/ChatActionsBar.d.ts +5 -0
- package/esm/src/book-components/Chat/Chat/ChatInputAreaDictationPanel.d.ts +42 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +18 -15
- package/esm/src/book-components/Chat/Chat/ChatMessageItem.test.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +14 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +32 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageToolCallChips.d.ts +22 -0
- package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +290 -0
- package/esm/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +16 -0
- package/esm/src/book-components/Chat/Chat/StreamingFeaturePlaceholder.d.ts +33 -0
- package/esm/src/book-components/Chat/Chat/createChatMessageToolCallRenderModel.d.ts +76 -0
- package/esm/src/book-components/Chat/Chat/createProgressCardChecklistMarkdown.d.ts +16 -0
- package/esm/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +4 -0
- package/esm/src/book-components/Chat/Chat/renderEmailToolCallDetails.d.ts +26 -0
- package/esm/src/book-components/Chat/Chat/renderMemoryToolCallDetails.d.ts +31 -0
- package/esm/src/book-components/Chat/Chat/renderPopupToolCallDetails.d.ts +32 -0
- package/esm/src/book-components/Chat/Chat/renderRunBrowserToolCallDetails.d.ts +31 -0
- package/esm/src/book-components/Chat/Chat/renderSearchToolCallDetails.d.ts +31 -0
- package/esm/src/book-components/Chat/Chat/renderSelfLearningToolCallDetails.d.ts +38 -0
- package/esm/src/book-components/Chat/Chat/renderTimeToolCallDetails.d.ts +38 -0
- package/esm/src/book-components/Chat/Chat/renderTimeoutToolCallDetails.d.ts +46 -0
- package/esm/src/book-components/Chat/Chat/renderToolCallClockPanel.d.ts +33 -0
- package/esm/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +10 -1
- package/esm/src/book-components/Chat/Chat/renderToolCallProgressPlaceholder.d.ts +29 -0
- package/esm/src/book-components/Chat/Chat/renderWalletCredentialToolCallDetails.d.ts +26 -0
- package/esm/src/book-components/Chat/Chat/resolveToolCallProgressMessage.d.ts +9 -0
- package/esm/src/book-components/Chat/Chat/useChatInputAreaAttachments.d.ts +32 -0
- package/esm/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +76 -0
- package/esm/src/book-components/Chat/Chat/useChatMessageAvatarTooltip.d.ts +31 -0
- package/esm/src/book-components/Chat/Chat/useChatMessageSpeechPlayback.d.ts +29 -0
- package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -1
- package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.test.d.ts +2 -0
- package/esm/src/book-components/Chat/hooks/useChatCompleteNotification.d.ts +18 -0
- package/esm/src/book-components/Chat/hooks/useChatCompleteNotification.test.d.ts +2 -0
- package/esm/src/book-components/Chat/types/ChatMessage.d.ts +77 -1
- package/esm/src/book-components/Chat/utils/formatToolCallDateTime.d.ts +37 -0
- package/esm/src/book-components/Chat/utils/formatToolCallLocalTime.d.ts +11 -0
- package/esm/src/book-components/Chat/utils/formatToolCallTranslationTemplate.d.ts +10 -0
- package/esm/src/book-components/Chat/utils/getChatMessageTimingDisplay.d.ts +5 -1
- package/esm/src/book-components/Chat/utils/getToolCallChipletInfo.d.ts +26 -1
- package/esm/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +26 -3
- package/esm/src/cli/$runPromptbookCli.d.ts +1 -3
- package/esm/src/cli/cli-commands/_boilerplate.d.ts +2 -4
- package/esm/src/cli/cli-commands/about.d.ts +1 -1
- package/esm/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder/generate-boilerplates.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder/init.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder/run.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder/verify.d.ts +2 -4
- package/esm/src/cli/cli-commands/coder.d.ts +2 -4
- package/esm/src/cli/cli-commands/hello.d.ts +1 -1
- package/esm/src/cli/cli-commands/list-models.d.ts +2 -4
- package/esm/src/cli/cli-commands/list-scrapers.d.ts +2 -4
- package/esm/src/cli/cli-commands/login.d.ts +1 -1
- package/esm/src/cli/cli-commands/make.d.ts +1 -1
- package/esm/src/cli/cli-commands/prettify.d.ts +1 -1
- package/esm/src/cli/cli-commands/run.d.ts +1 -1
- package/esm/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/esm/src/cli/cli-commands/start-agents-server.d.ts +2 -4
- package/esm/src/cli/cli-commands/start-pipelines-server.d.ts +1 -1
- package/esm/src/cli/cli-commands/test-command.d.ts +1 -1
- package/esm/src/cli/main.d.ts +2 -4
- package/esm/src/cli/promptbookCli.d.ts +1 -1
- package/esm/src/commitments/USE_BROWSER/fetchUrlContent.d.ts +1 -3
- package/esm/src/conversion/archive/loadArchive.d.ts +1 -3
- package/esm/src/conversion/archive/saveArchive.d.ts +1 -1
- package/esm/src/conversion/validation/_importPipeline.d.ts +2 -4
- package/esm/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -3
- package/esm/src/executables/$provideExecutablesForNode.d.ts +1 -1
- package/esm/src/executables/apps/locateLibreoffice.d.ts +2 -4
- package/esm/src/executables/apps/locatePandoc.d.ts +2 -4
- package/esm/src/executables/locateApp.d.ts +2 -4
- package/esm/src/executables/platforms/locateAppOnLinux.d.ts +2 -4
- package/esm/src/executables/platforms/locateAppOnMacOs.d.ts +2 -4
- package/esm/src/executables/platforms/locateAppOnWindows.d.ts +2 -4
- package/esm/src/execution/translation/automatic-translate/translateMessages.d.ts +2 -4
- package/esm/src/execution/utils/$provideExecutionToolsForNode.d.ts +2 -4
- package/esm/src/llm-providers/_common/register/$provideEnvFilename.d.ts +1 -3
- package/esm/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -3
- package/esm/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +1 -1
- package/esm/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -3
- package/esm/src/llm-providers/_multiple/playground/playground.d.ts +1 -3
- package/esm/src/llm-providers/agent/playground/playground.d.ts +1 -1
- package/esm/src/llm-providers/anthropic-claude/playground/playground.d.ts +1 -1
- package/esm/src/llm-providers/azure-openai/playground/playground.d.ts +2 -4
- package/esm/src/llm-providers/ollama/playground/playground.d.ts +2 -4
- package/esm/src/llm-providers/openai/playground/playground.d.ts +2 -4
- package/esm/src/llm-providers/remote/playground/playground.d.ts +1 -3
- package/esm/src/llm-providers/vercel/playground/playground.d.ts +2 -4
- package/esm/src/playground/permanent/_boilerplate.d.ts +1 -3
- package/esm/src/playground/permanent/agent-with-browser-playground.d.ts +1 -3
- package/esm/src/playground/permanent/error-handling-playground.d.ts +1 -3
- package/esm/src/playground/playground.d.ts +2 -4
- package/esm/src/remote-server/startAgentServer.d.ts +1 -3
- package/esm/src/remote-server/startRemoteServer.d.ts +1 -2
- package/esm/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +4 -6
- package/esm/src/scrapers/_boilerplate/playground/boilerplate-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/_common/register/$provideFilesystemForNode.d.ts +2 -4
- package/esm/src/scrapers/_common/register/$provideScrapersForNode.d.ts +2 -4
- package/esm/src/scrapers/_common/register/$provideScriptingForNode.d.ts +2 -4
- package/esm/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +1 -1
- package/esm/src/scrapers/document/DocumentScraper.d.ts +1 -1
- package/esm/src/scrapers/document/playground/document-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -1
- package/esm/src/scrapers/document-legacy/playground/legacy-document-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/markdown/playground/markdown-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/markitdown/MarkitdownScraper.d.ts +1 -1
- package/esm/src/scrapers/markitdown/playground/markitdown-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/pdf/PdfScraper.d.ts +1 -1
- package/esm/src/scrapers/pdf/playground/pdf-scraper-playground.d.ts +1 -3
- package/esm/src/scrapers/website/WebsiteScraper.d.ts +1 -1
- package/esm/src/scrapers/website/playground/website-scraper-playground.d.ts +1 -3
- package/esm/src/speech-recognition/BrowserSpeechRecognition.d.ts +2 -4
- package/esm/src/storage/file-cache-storage/FileCacheStorage.d.ts +2 -4
- package/esm/src/storage/local-storage/getIndexedDbStorage.d.ts +1 -3
- package/esm/src/storage/local-storage/getLocalStorage.d.ts +1 -3
- package/esm/src/storage/local-storage/getSessionStorage.d.ts +1 -3
- package/esm/src/transpilers/openai-sdk/playground/playground.d.ts +1 -3
- package/esm/src/types/InputParameters_private.d.ts +11 -0
- package/esm/src/types/Parameters_private.d.ts +16 -0
- package/esm/src/types/ReservedParameters_private.d.ts +10 -0
- package/esm/src/types/number_bytes.d.ts +21 -0
- package/esm/src/types/number_id.d.ts +13 -0
- package/esm/src/types/number_likeness.d.ts +8 -0
- package/esm/src/types/number_milliseconds.d.ts +33 -0
- package/esm/src/types/number_percent.d.ts +18 -0
- package/esm/src/types/number_positive.d.ts +16 -0
- package/esm/src/types/number_usd.d.ts +6 -106
- package/esm/src/types/string_agent_hash_private.d.ts +9 -0
- package/esm/src/types/string_agent_name_in_book_private.d.ts +8 -0
- package/esm/src/types/string_agent_name_private.d.ts +9 -0
- package/esm/src/types/string_agent_permanent_id_private.d.ts +10 -0
- package/esm/src/types/string_base64_private.d.ts +17 -0
- package/esm/src/types/string_business_category_name_private.d.ts +6 -0
- package/esm/src/types/string_char_private.d.ts +8 -0
- package/esm/src/types/string_chat_prompt_private.d.ts +9 -0
- package/esm/src/types/string_completion_prompt_private.d.ts +9 -0
- package/esm/src/types/string_email_private.d.ts +16 -0
- package/esm/src/types/string_host_private.d.ts +55 -0
- package/esm/src/types/string_mime_type_private.d.ts +17 -0
- package/esm/src/types/string_model_description_private.d.ts +8 -0
- package/esm/src/types/string_model_name_private.d.ts +8 -0
- package/esm/src/types/string_name_private.d.ts +9 -0
- package/esm/src/types/string_page_private.d.ts +9 -0
- package/esm/src/types/string_parameter_name.d.ts +74 -31
- package/esm/src/types/string_parameter_value_private.d.ts +9 -0
- package/esm/src/types/string_persona_description_private.d.ts +8 -0
- package/esm/src/types/string_prompt_image_private.d.ts +8 -0
- package/esm/src/types/string_prompt_private.d.ts +8 -0
- package/esm/src/types/string_reserved_parameter_name_private.d.ts +11 -0
- package/esm/src/types/string_system_message_private.d.ts +9 -0
- package/esm/src/types/string_template_private.d.ts +8 -0
- package/esm/src/types/string_text_prompt_private.d.ts +9 -0
- package/esm/src/types/string_title_private.d.ts +9 -0
- package/esm/src/types/string_url.d.ts +50 -46
- package/esm/src/types/string_url_private.d.ts +88 -0
- package/esm/src/types/typeAliases.d.ts +7 -1
- package/esm/src/utils/execCommand/$execCommand.d.ts +1 -3
- package/esm/src/utils/execCommand/$execCommands.d.ts +1 -3
- package/esm/src/utils/files/$induceBookDownload.d.ts +1 -3
- package/esm/src/utils/files/$induceFileDownload.d.ts +1 -3
- package/esm/src/utils/files/ObjectUrl.d.ts +1 -3
- package/esm/src/utils/toolCalls/mergeToolCalls.d.ts +1 -1
- package/esm/src/version.d.ts +1 -1
- package/esm/src/wizard/$getCompiledBook.d.ts +2 -4
- package/esm/src/wizard/wizard.d.ts +2 -4
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/src/_packages/components.index.d.ts +6 -0
- package/umd/src/_packages/types.index.d.ts +55 -49
- package/umd/src/book-2.0/agent-source/AgentReferenceResolver.d.ts +11 -0
- package/umd/src/book-2.0/agent-source/CreateAgentModelRequirementsOptions.d.ts +8 -0
- package/umd/src/book-2.0/agent-source/TeammateProfileResolver.d.ts +33 -0
- package/umd/src/book-2.0/agent-source/createTeamToolName.d.ts +7 -7
- package/umd/src/book-components/Chat/Chat/ChatActionsBar.d.ts +5 -0
- package/umd/src/book-components/Chat/Chat/ChatInputAreaDictationPanel.d.ts +42 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +18 -15
- package/umd/src/book-components/Chat/Chat/ChatMessageItem.test.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +14 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +32 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageToolCallChips.d.ts +22 -0
- package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +290 -0
- package/umd/src/book-components/Chat/Chat/ChatToolCallModal.d.ts +16 -0
- package/umd/src/book-components/Chat/Chat/StreamingFeaturePlaceholder.d.ts +33 -0
- package/umd/src/book-components/Chat/Chat/createChatMessageToolCallRenderModel.d.ts +76 -0
- package/umd/src/book-components/Chat/Chat/createProgressCardChecklistMarkdown.d.ts +16 -0
- package/umd/src/book-components/Chat/Chat/renderAdvancedToolCallDetails.d.ts +4 -0
- package/umd/src/book-components/Chat/Chat/renderEmailToolCallDetails.d.ts +26 -0
- package/umd/src/book-components/Chat/Chat/renderMemoryToolCallDetails.d.ts +31 -0
- package/umd/src/book-components/Chat/Chat/renderPopupToolCallDetails.d.ts +32 -0
- package/umd/src/book-components/Chat/Chat/renderRunBrowserToolCallDetails.d.ts +31 -0
- package/umd/src/book-components/Chat/Chat/renderSearchToolCallDetails.d.ts +31 -0
- package/umd/src/book-components/Chat/Chat/renderSelfLearningToolCallDetails.d.ts +38 -0
- package/umd/src/book-components/Chat/Chat/renderTimeToolCallDetails.d.ts +38 -0
- package/umd/src/book-components/Chat/Chat/renderTimeoutToolCallDetails.d.ts +46 -0
- package/umd/src/book-components/Chat/Chat/renderToolCallClockPanel.d.ts +33 -0
- package/umd/src/book-components/Chat/Chat/renderToolCallDetails.d.ts +10 -1
- package/umd/src/book-components/Chat/Chat/renderToolCallProgressPlaceholder.d.ts +29 -0
- package/umd/src/book-components/Chat/Chat/renderWalletCredentialToolCallDetails.d.ts +26 -0
- package/umd/src/book-components/Chat/Chat/resolveToolCallProgressMessage.d.ts +9 -0
- package/umd/src/book-components/Chat/Chat/useChatInputAreaAttachments.d.ts +32 -0
- package/umd/src/book-components/Chat/Chat/useChatInputAreaDictation.d.ts +76 -0
- package/umd/src/book-components/Chat/Chat/useChatMessageAvatarTooltip.d.ts +31 -0
- package/umd/src/book-components/Chat/Chat/useChatMessageSpeechPlayback.d.ts +29 -0
- package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -1
- package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.test.d.ts +2 -0
- package/umd/src/book-components/Chat/hooks/useChatCompleteNotification.d.ts +18 -0
- package/umd/src/book-components/Chat/hooks/useChatCompleteNotification.test.d.ts +2 -0
- package/umd/src/book-components/Chat/types/ChatMessage.d.ts +77 -1
- package/umd/src/book-components/Chat/utils/formatToolCallDateTime.d.ts +37 -0
- package/umd/src/book-components/Chat/utils/formatToolCallLocalTime.d.ts +11 -0
- package/umd/src/book-components/Chat/utils/formatToolCallTranslationTemplate.d.ts +10 -0
- package/umd/src/book-components/Chat/utils/getChatMessageTimingDisplay.d.ts +5 -1
- package/umd/src/book-components/Chat/utils/getToolCallChipletInfo.d.ts +26 -1
- package/umd/src/book-components/Chat/utils/timeoutToolCallPresentation.d.ts +26 -3
- package/umd/src/cli/$runPromptbookCli.d.ts +1 -3
- package/umd/src/cli/cli-commands/_boilerplate.d.ts +2 -4
- package/umd/src/cli/cli-commands/about.d.ts +1 -1
- package/umd/src/cli/cli-commands/coder/find-fresh-emoji-tags.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder/generate-boilerplates.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder/init.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder/run.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder/verify.d.ts +2 -4
- package/umd/src/cli/cli-commands/coder.d.ts +2 -4
- package/umd/src/cli/cli-commands/hello.d.ts +1 -1
- package/umd/src/cli/cli-commands/list-models.d.ts +2 -4
- package/umd/src/cli/cli-commands/list-scrapers.d.ts +2 -4
- package/umd/src/cli/cli-commands/login.d.ts +1 -1
- package/umd/src/cli/cli-commands/make.d.ts +1 -1
- package/umd/src/cli/cli-commands/prettify.d.ts +1 -1
- package/umd/src/cli/cli-commands/run.d.ts +1 -1
- package/umd/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/umd/src/cli/cli-commands/start-agents-server.d.ts +2 -4
- package/umd/src/cli/cli-commands/start-pipelines-server.d.ts +1 -1
- package/umd/src/cli/cli-commands/test-command.d.ts +1 -1
- package/umd/src/cli/main.d.ts +2 -4
- package/umd/src/cli/promptbookCli.d.ts +1 -1
- package/umd/src/commitments/USE_BROWSER/fetchUrlContent.d.ts +1 -3
- package/umd/src/conversion/archive/loadArchive.d.ts +1 -3
- package/umd/src/conversion/archive/saveArchive.d.ts +1 -1
- package/umd/src/conversion/validation/_importPipeline.d.ts +2 -4
- package/umd/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -3
- package/umd/src/executables/$provideExecutablesForNode.d.ts +1 -1
- package/umd/src/executables/apps/locateLibreoffice.d.ts +2 -4
- package/umd/src/executables/apps/locatePandoc.d.ts +2 -4
- package/umd/src/executables/locateApp.d.ts +2 -4
- package/umd/src/executables/platforms/locateAppOnLinux.d.ts +2 -4
- package/umd/src/executables/platforms/locateAppOnMacOs.d.ts +2 -4
- package/umd/src/executables/platforms/locateAppOnWindows.d.ts +2 -4
- package/umd/src/execution/translation/automatic-translate/translateMessages.d.ts +2 -4
- package/umd/src/execution/utils/$provideExecutionToolsForNode.d.ts +2 -4
- package/umd/src/llm-providers/_common/register/$provideEnvFilename.d.ts +1 -3
- package/umd/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -3
- package/umd/src/llm-providers/_common/register/$provideLlmToolsForWizardOrCli.d.ts +1 -1
- package/umd/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +1 -3
- package/umd/src/llm-providers/_multiple/playground/playground.d.ts +1 -3
- package/umd/src/llm-providers/agent/playground/playground.d.ts +1 -1
- package/umd/src/llm-providers/anthropic-claude/playground/playground.d.ts +1 -1
- package/umd/src/llm-providers/azure-openai/playground/playground.d.ts +2 -4
- package/umd/src/llm-providers/ollama/playground/playground.d.ts +2 -4
- package/umd/src/llm-providers/openai/playground/playground.d.ts +2 -4
- package/umd/src/llm-providers/remote/playground/playground.d.ts +1 -3
- package/umd/src/llm-providers/vercel/playground/playground.d.ts +2 -4
- package/umd/src/playground/permanent/_boilerplate.d.ts +1 -3
- package/umd/src/playground/permanent/agent-with-browser-playground.d.ts +1 -3
- package/umd/src/playground/permanent/error-handling-playground.d.ts +1 -3
- package/umd/src/playground/playground.d.ts +2 -4
- package/umd/src/remote-server/startAgentServer.d.ts +1 -3
- package/umd/src/remote-server/startRemoteServer.d.ts +1 -2
- package/umd/src/scrapers/_boilerplate/BoilerplateScraper.d.ts +4 -6
- package/umd/src/scrapers/_boilerplate/playground/boilerplate-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/_common/register/$provideFilesystemForNode.d.ts +2 -4
- package/umd/src/scrapers/_common/register/$provideScrapersForNode.d.ts +2 -4
- package/umd/src/scrapers/_common/register/$provideScriptingForNode.d.ts +2 -4
- package/umd/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +1 -1
- package/umd/src/scrapers/document/DocumentScraper.d.ts +1 -1
- package/umd/src/scrapers/document/playground/document-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -1
- package/umd/src/scrapers/document-legacy/playground/legacy-document-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/markdown/playground/markdown-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/markitdown/MarkitdownScraper.d.ts +1 -1
- package/umd/src/scrapers/markitdown/playground/markitdown-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/pdf/PdfScraper.d.ts +1 -1
- package/umd/src/scrapers/pdf/playground/pdf-scraper-playground.d.ts +1 -3
- package/umd/src/scrapers/website/WebsiteScraper.d.ts +1 -1
- package/umd/src/scrapers/website/playground/website-scraper-playground.d.ts +1 -3
- package/umd/src/speech-recognition/BrowserSpeechRecognition.d.ts +2 -4
- package/umd/src/storage/file-cache-storage/FileCacheStorage.d.ts +2 -4
- package/umd/src/storage/local-storage/getIndexedDbStorage.d.ts +1 -3
- package/umd/src/storage/local-storage/getLocalStorage.d.ts +1 -3
- package/umd/src/storage/local-storage/getSessionStorage.d.ts +1 -3
- package/umd/src/transpilers/openai-sdk/playground/playground.d.ts +1 -3
- package/umd/src/types/InputParameters_private.d.ts +11 -0
- package/umd/src/types/Parameters_private.d.ts +16 -0
- package/umd/src/types/ReservedParameters_private.d.ts +10 -0
- package/umd/src/types/number_bytes.d.ts +21 -0
- package/umd/src/types/number_id.d.ts +13 -0
- package/umd/src/types/number_likeness.d.ts +8 -0
- package/umd/src/types/number_milliseconds.d.ts +33 -0
- package/umd/src/types/number_percent.d.ts +18 -0
- package/umd/src/types/number_positive.d.ts +16 -0
- package/umd/src/types/number_usd.d.ts +6 -106
- package/umd/src/types/string_agent_hash_private.d.ts +9 -0
- package/umd/src/types/string_agent_name_in_book_private.d.ts +8 -0
- package/umd/src/types/string_agent_name_private.d.ts +9 -0
- package/umd/src/types/string_agent_permanent_id_private.d.ts +10 -0
- package/umd/src/types/string_base64_private.d.ts +17 -0
- package/umd/src/types/string_business_category_name_private.d.ts +6 -0
- package/umd/src/types/string_char_private.d.ts +8 -0
- package/umd/src/types/string_chat_prompt_private.d.ts +9 -0
- package/umd/src/types/string_completion_prompt_private.d.ts +9 -0
- package/umd/src/types/string_email_private.d.ts +16 -0
- package/umd/src/types/string_host_private.d.ts +55 -0
- package/umd/src/types/string_mime_type_private.d.ts +17 -0
- package/umd/src/types/string_model_description_private.d.ts +8 -0
- package/umd/src/types/string_model_name_private.d.ts +8 -0
- package/umd/src/types/string_name_private.d.ts +9 -0
- package/umd/src/types/string_page_private.d.ts +9 -0
- package/umd/src/types/string_parameter_name.d.ts +74 -31
- package/umd/src/types/string_parameter_value_private.d.ts +9 -0
- package/umd/src/types/string_persona_description_private.d.ts +8 -0
- package/umd/src/types/string_prompt_image_private.d.ts +8 -0
- package/umd/src/types/string_prompt_private.d.ts +8 -0
- package/umd/src/types/string_reserved_parameter_name_private.d.ts +11 -0
- package/umd/src/types/string_system_message_private.d.ts +9 -0
- package/umd/src/types/string_template_private.d.ts +8 -0
- package/umd/src/types/string_text_prompt_private.d.ts +9 -0
- package/umd/src/types/string_title_private.d.ts +9 -0
- package/umd/src/types/string_url.d.ts +50 -46
- package/umd/src/types/string_url_private.d.ts +88 -0
- package/umd/src/types/typeAliases.d.ts +7 -1
- package/umd/src/utils/execCommand/$execCommand.d.ts +1 -3
- package/umd/src/utils/execCommand/$execCommands.d.ts +1 -3
- package/umd/src/utils/files/$induceBookDownload.d.ts +1 -3
- package/umd/src/utils/files/$induceFileDownload.d.ts +1 -3
- package/umd/src/utils/files/ObjectUrl.d.ts +1 -3
- package/umd/src/utils/toolCalls/mergeToolCalls.d.ts +1 -1
- package/umd/src/version.d.ts +1 -1
- package/umd/src/wizard/$getCompiledBook.d.ts +2 -4
- package/umd/src/wizard/wizard.d.ts +2 -4
|
@@ -1,146 +1,150 @@
|
|
|
1
|
+
import type { string_base64_private, string_data_url_private } from './string_base64_private';
|
|
2
|
+
import type { string_domain_private, string_host_private, string_hostname_private, string_ip_address_private, string_origin_private, string_protocol_private, string_tdl_private } from './string_host_private';
|
|
3
|
+
import type { string_email_private, string_emails_private } from './string_email_private';
|
|
4
|
+
import type { string_mime_type_private, string_mime_type_with_wildcard_private } from './string_mime_type_private';
|
|
5
|
+
import type { string_agent_url_private, string_base_url_private, string_href_private, string_pipeline_root_url_private, string_pipeline_url_private, string_pipeline_url_with_task_hash_private, string_promptbook_server_url_private, string_uri_part_private, string_uri_private, string_url_image_private, string_url_private } from './string_url_private';
|
|
1
6
|
/**
|
|
2
7
|
* Semantic helper
|
|
3
8
|
*
|
|
4
9
|
* For example `"text/plain"` or `"application/collboard"`
|
|
5
10
|
*/
|
|
6
|
-
export type string_mime_type =
|
|
11
|
+
export type string_mime_type = string_mime_type_private;
|
|
7
12
|
/**
|
|
8
13
|
* Semantic helper
|
|
9
14
|
*
|
|
10
15
|
* For example `"text/*"` or `"image/*"`
|
|
11
16
|
*
|
|
12
|
-
*
|
|
13
17
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers
|
|
14
18
|
*/
|
|
15
|
-
export type string_mime_type_with_wildcard =
|
|
19
|
+
export type string_mime_type_with_wildcard = string_mime_type_with_wildcard_private;
|
|
16
20
|
/**
|
|
17
21
|
* Semantic helper
|
|
18
22
|
*
|
|
19
|
-
* For example `"
|
|
23
|
+
* For example `"SGVsbG8sIFdvcmxkIQ=="`
|
|
20
24
|
*/
|
|
21
|
-
export type
|
|
25
|
+
export type string_base64 = string_base64_private;
|
|
22
26
|
/**
|
|
23
27
|
* Semantic helper
|
|
24
28
|
*
|
|
25
|
-
* For example `"
|
|
29
|
+
* For example `"data:text/plain;base64,SGVsbG8sIFdvcmxkIQ=="`
|
|
26
30
|
*/
|
|
27
|
-
export type
|
|
31
|
+
export type string_data_url = string_data_url_private;
|
|
28
32
|
/**
|
|
29
33
|
* Semantic helper
|
|
30
34
|
*
|
|
31
|
-
* For example `"
|
|
35
|
+
* For example `"towns.cz"`
|
|
32
36
|
*/
|
|
33
|
-
export type
|
|
37
|
+
export type string_domain = string_domain_private;
|
|
34
38
|
/**
|
|
35
39
|
* Semantic helper
|
|
36
40
|
*
|
|
37
|
-
* For example `"https
|
|
41
|
+
* For example `"https://*.pavolhejny.com/*"`
|
|
38
42
|
*/
|
|
39
|
-
export type
|
|
43
|
+
export type string_origin = string_origin_private;
|
|
40
44
|
/**
|
|
41
45
|
* Semantic helper
|
|
42
46
|
*
|
|
43
|
-
* For example `"
|
|
47
|
+
* For example `"com"`
|
|
44
48
|
*/
|
|
45
|
-
export type
|
|
49
|
+
export type string_tdl = string_tdl_private;
|
|
46
50
|
/**
|
|
47
51
|
* Semantic helper
|
|
48
52
|
*
|
|
49
|
-
* For example `"
|
|
53
|
+
* For example `"localhost"` or `"collboard.com"`
|
|
50
54
|
*/
|
|
51
|
-
export type
|
|
55
|
+
export type string_hostname = string_hostname_private;
|
|
52
56
|
/**
|
|
53
57
|
* Semantic helper
|
|
54
58
|
*
|
|
55
|
-
* For example `"
|
|
59
|
+
* For example `"localhost:9977"` or `"collboard.com"`
|
|
56
60
|
*/
|
|
57
|
-
export type
|
|
61
|
+
export type string_host = string_host_private;
|
|
58
62
|
/**
|
|
59
63
|
* Semantic helper
|
|
60
|
-
*
|
|
61
|
-
* For example `"https://s6.ptbk.io/agents/agent-007"`
|
|
62
64
|
*/
|
|
63
|
-
export type
|
|
65
|
+
export type string_protocol = string_protocol_private;
|
|
64
66
|
/**
|
|
65
67
|
* Semantic helper
|
|
66
68
|
*
|
|
67
|
-
* For example `"
|
|
69
|
+
* For example `"192.168.1.1"` (IPv4)
|
|
70
|
+
* For example `"2001:0db8:85a3:0000:0000:8a2e:0370:7334"` (IPv6)
|
|
68
71
|
*/
|
|
69
|
-
export type
|
|
72
|
+
export type string_ip_address = string_ip_address_private;
|
|
70
73
|
/**
|
|
71
74
|
* Semantic helper
|
|
72
75
|
*
|
|
73
|
-
* For example `"https://
|
|
76
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"`
|
|
74
77
|
*/
|
|
75
|
-
export type
|
|
78
|
+
export type string_url = string_url_private;
|
|
76
79
|
/**
|
|
77
80
|
* Semantic helper
|
|
78
81
|
*
|
|
79
|
-
* For example `"
|
|
82
|
+
* For example `"https://s1.ptbk.io/promptbook"`
|
|
80
83
|
*/
|
|
81
|
-
export type
|
|
84
|
+
export type string_promptbook_server_url = string_promptbook_server_url_private;
|
|
82
85
|
/**
|
|
83
86
|
* Semantic helper
|
|
84
87
|
*
|
|
85
|
-
* For example `"
|
|
88
|
+
* For example `"https://collboard.com"`
|
|
86
89
|
*/
|
|
87
|
-
export type
|
|
90
|
+
export type string_base_url = string_base_url_private;
|
|
88
91
|
/**
|
|
89
92
|
* Semantic helper
|
|
90
93
|
*
|
|
91
|
-
* For example `"https://
|
|
94
|
+
* For example `"https://promptbook.studio/webgpt/"`
|
|
92
95
|
*/
|
|
93
|
-
export type
|
|
96
|
+
export type string_pipeline_root_url = string_pipeline_root_url_private;
|
|
94
97
|
/**
|
|
95
98
|
* Semantic helper
|
|
96
99
|
*
|
|
97
|
-
* For example `"https://
|
|
100
|
+
* For example `"https://s6.ptbk.io/agents/agent-007"`
|
|
98
101
|
*/
|
|
99
|
-
export type
|
|
102
|
+
export type string_agent_url = string_agent_url_private;
|
|
100
103
|
/**
|
|
101
104
|
* Semantic helper
|
|
102
105
|
*
|
|
103
|
-
* For example `"/
|
|
106
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book"`
|
|
104
107
|
*/
|
|
105
|
-
export type
|
|
108
|
+
export type string_pipeline_url = string_pipeline_url_private;
|
|
106
109
|
/**
|
|
107
110
|
* Semantic helper
|
|
108
111
|
*
|
|
109
|
-
* For example `"
|
|
112
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book#keywords"`
|
|
110
113
|
*/
|
|
111
|
-
export type
|
|
114
|
+
export type string_pipeline_url_with_task_hash = string_pipeline_url_with_task_hash_private;
|
|
112
115
|
/**
|
|
113
116
|
* Semantic helper
|
|
114
117
|
*
|
|
115
|
-
* For example `"
|
|
118
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"` OR `/9SeSQTupmQHwuSrLi`
|
|
116
119
|
*/
|
|
117
|
-
export type
|
|
120
|
+
export type string_href = string_href_private;
|
|
118
121
|
/**
|
|
119
122
|
* Semantic helper
|
|
120
123
|
*
|
|
121
|
-
* For example `"
|
|
124
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi.png?width=1200&height=630"`
|
|
122
125
|
*/
|
|
123
|
-
export type
|
|
126
|
+
export type string_url_image = string_url_image_private;
|
|
124
127
|
/**
|
|
125
128
|
* Semantic helper
|
|
129
|
+
*
|
|
130
|
+
* For example `"/9SeSQTupmQHwuSrLi"`
|
|
126
131
|
*/
|
|
127
|
-
export type
|
|
132
|
+
export type string_uri = string_uri_private;
|
|
128
133
|
/**
|
|
129
134
|
* Semantic helper
|
|
130
135
|
*
|
|
131
|
-
* For example `"
|
|
132
|
-
* For example `"2001:0db8:85a3:0000:0000:8a2e:0370:7334"` (IPv6)
|
|
136
|
+
* For example `"9SeSQTupmQHwuSrLi"`
|
|
133
137
|
*/
|
|
134
|
-
export type
|
|
138
|
+
export type string_uri_part = string_uri_part_private;
|
|
135
139
|
/**
|
|
136
140
|
* Semantic helper
|
|
137
141
|
*
|
|
138
142
|
* For example `"pavol@hejny.org"`
|
|
139
143
|
*/
|
|
140
|
-
export type string_email =
|
|
144
|
+
export type string_email = string_email_private;
|
|
141
145
|
/**
|
|
142
146
|
* Semantic helper
|
|
143
147
|
*
|
|
144
148
|
* For example `"pavol@hejny.org, jirka@webgpt.cz"`
|
|
145
149
|
*/
|
|
146
|
-
export type string_emails =
|
|
150
|
+
export type string_emails = string_emails_private;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Semantic helper
|
|
3
|
+
*
|
|
4
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"`
|
|
5
|
+
*
|
|
6
|
+
* @private internal utility of `string_url.ts`
|
|
7
|
+
*/
|
|
8
|
+
export type string_url_private = string;
|
|
9
|
+
/**
|
|
10
|
+
* Semantic helper
|
|
11
|
+
*
|
|
12
|
+
* For example `"https://s1.ptbk.io/promptbook"`
|
|
13
|
+
*
|
|
14
|
+
* @private internal utility of `string_url.ts`
|
|
15
|
+
*/
|
|
16
|
+
export type string_promptbook_server_url_private = string_url_private;
|
|
17
|
+
/**
|
|
18
|
+
* Semantic helper
|
|
19
|
+
*
|
|
20
|
+
* For example `"https://collboard.com"`
|
|
21
|
+
*
|
|
22
|
+
* @private internal utility of `string_url.ts`
|
|
23
|
+
*/
|
|
24
|
+
export type string_base_url_private = string_url_private;
|
|
25
|
+
/**
|
|
26
|
+
* Semantic helper
|
|
27
|
+
*
|
|
28
|
+
* For example `"https://promptbook.studio/webgpt/"`
|
|
29
|
+
*
|
|
30
|
+
* @private internal utility of `string_url.ts`
|
|
31
|
+
*/
|
|
32
|
+
export type string_pipeline_root_url_private = string_url_private;
|
|
33
|
+
/**
|
|
34
|
+
* Semantic helper
|
|
35
|
+
*
|
|
36
|
+
* For example `"https://s6.ptbk.io/agents/agent-007"`
|
|
37
|
+
*
|
|
38
|
+
* @private internal utility of `string_url.ts`
|
|
39
|
+
*/
|
|
40
|
+
export type string_agent_url_private = string_url_private;
|
|
41
|
+
/**
|
|
42
|
+
* Semantic helper
|
|
43
|
+
*
|
|
44
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book"`
|
|
45
|
+
*
|
|
46
|
+
* @private internal utility of `string_url.ts`
|
|
47
|
+
*/
|
|
48
|
+
export type string_pipeline_url_private = string_url_private;
|
|
49
|
+
/**
|
|
50
|
+
* Semantic helper
|
|
51
|
+
*
|
|
52
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book#keywords"`
|
|
53
|
+
*
|
|
54
|
+
* @private internal utility of `string_url.ts`
|
|
55
|
+
*/
|
|
56
|
+
export type string_pipeline_url_with_task_hash_private = string_pipeline_url_private;
|
|
57
|
+
/**
|
|
58
|
+
* Semantic helper
|
|
59
|
+
*
|
|
60
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"` OR `/9SeSQTupmQHwuSrLi`
|
|
61
|
+
*
|
|
62
|
+
* @private internal utility of `string_url.ts`
|
|
63
|
+
*/
|
|
64
|
+
export type string_href_private = string;
|
|
65
|
+
/**
|
|
66
|
+
* Semantic helper
|
|
67
|
+
*
|
|
68
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi.png?width=1200&height=630"`
|
|
69
|
+
*
|
|
70
|
+
* @private internal utility of `string_url.ts`
|
|
71
|
+
*/
|
|
72
|
+
export type string_url_image_private = string_url_private;
|
|
73
|
+
/**
|
|
74
|
+
* Semantic helper
|
|
75
|
+
*
|
|
76
|
+
* For example `"/9SeSQTupmQHwuSrLi"`
|
|
77
|
+
*
|
|
78
|
+
* @private internal utility of `string_url.ts`
|
|
79
|
+
*/
|
|
80
|
+
export type string_uri_private = string;
|
|
81
|
+
/**
|
|
82
|
+
* Semantic helper
|
|
83
|
+
*
|
|
84
|
+
* For example `"9SeSQTupmQHwuSrLi"`
|
|
85
|
+
*
|
|
86
|
+
* @private internal utility of `string_url.ts`
|
|
87
|
+
*/
|
|
88
|
+
export type string_uri_part_private = string;
|
|
@@ -6,7 +6,13 @@ export type { string_base64, string_base_url, string_data_url, string_domain, st
|
|
|
6
6
|
export type { string_knowledge_source_content, string_knowledge_source_link } from './string_knowledge_source_content';
|
|
7
7
|
export type { string_attribute, string_attribute_value_scope, string_color, string_javascript_name, string_legal_entity, string_license, string_person_firstname, string_person_fullname, string_person_lastname, string_person_profile, string_postprocessing_function_name, string_translate_language, string_translate_name, string_translate_name_not_normalized, } from './string_person_fullname';
|
|
8
8
|
export type { id, string_app_id, string_date_iso8601, string_language, string_license_token, string_password, string_pgp_key, string_promptbook_token, string_ssh_key, string_token, string_user_id, task_id, } from './string_token';
|
|
9
|
-
export type {
|
|
9
|
+
export type { number_id, number_linecol_number, number_tokens, } from './number_id';
|
|
10
|
+
export type { number_integer, number_negative, number_port, number_positive } from './number_positive';
|
|
11
|
+
export type { number_model_temperature, number_percent, number_seed } from './number_percent';
|
|
12
|
+
export type { number_likeness } from './number_likeness';
|
|
13
|
+
export type { number_weeks, number_days, number_hours, number_milliseconds, number_minutes, number_months, number_seconds, number_years, } from './number_milliseconds';
|
|
14
|
+
export type { number_bytes, number_gigabytes, number_kilobytes, number_megabytes, number_terabytes } from './number_bytes';
|
|
15
|
+
export type { number_usd } from './number_usd';
|
|
10
16
|
/**
|
|
11
17
|
* TODO: [main] !!3 Change "For example" to @example
|
|
12
18
|
* TODO: Change to branded types
|
|
@@ -12,6 +12,4 @@ import type { ExecCommandOptions } from './ExecCommandOptions';
|
|
|
12
12
|
* @public exported from `@promptbook/node`
|
|
13
13
|
*/
|
|
14
14
|
export declare function $execCommand(options: ExecCommandOptions): Promise<$side_effect & string>;
|
|
15
|
-
/**
|
|
16
|
-
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
17
|
-
*/
|
|
15
|
+
/** Note: [🟢] Code for Node command-execution helper [$execCommand](src/utils/execCommand/$execCommand.ts) should never be published into packages that could be imported into browser environment */
|
|
@@ -14,6 +14,4 @@ export declare function $execCommands({ commands, cwd, crashOnError, }: $side_ef
|
|
|
14
14
|
readonly cwd: string;
|
|
15
15
|
readonly crashOnError?: boolean;
|
|
16
16
|
}): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
19
|
-
*/
|
|
17
|
+
/** Note: [🟢] Code for Node command-execution helper [$execCommands](src/utils/execCommand/$execCommands.ts) should never be published into packages that could be imported into browser environment */
|
|
@@ -8,6 +8,4 @@ import type { $side_effect } from '../organization/$side_effect';
|
|
|
8
8
|
* @public exported from `@promptbook/browser`
|
|
9
9
|
*/
|
|
10
10
|
export declare function $induceBookDownload(book: string_book): Promise<$side_effect>;
|
|
11
|
-
/**
|
|
12
|
-
* Note: [🔵] Code in this file should never be published outside of `@promptbook/browser`
|
|
13
|
-
*/
|
|
11
|
+
/** Note: [🔵] Code for browser file helper [$induceBookDownload](src/utils/files/$induceBookDownload.ts) should never be published outside of `@promptbook/browser` */
|
|
@@ -8,6 +8,4 @@ import type { $side_effect } from '../organization/$side_effect';
|
|
|
8
8
|
* @public exported from `@promptbook/browser`
|
|
9
9
|
*/
|
|
10
10
|
export declare function $induceFileDownload(fileOrBlobOrUrl: File | Blob | URL | string_url): Promise<$side_effect>;
|
|
11
|
-
/**
|
|
12
|
-
* Note: [🔵] Code in this file should never be published outside of `@promptbook/browser`
|
|
13
|
-
*/
|
|
11
|
+
/** Note: [🔵] Code for browser file helper [$induceFileDownload](src/utils/files/$induceFileDownload.ts) should never be published outside of `@promptbook/browser` */
|
|
@@ -41,6 +41,4 @@ export declare class ObjectUrl extends Registration implements IDestroyable {
|
|
|
41
41
|
*/
|
|
42
42
|
get url(): URL;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Note: [🔵] Code in this file should never be published outside of `@promptbook/browser`
|
|
46
|
-
*/
|
|
44
|
+
/** Note: [🔵] Code for browser file helper [ObjectUrl](src/utils/files/ObjectUrl.ts) should never be published outside of `@promptbook/browser` */
|
package/esm/src/version.d.ts
CHANGED
|
@@ -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-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.112.0-33`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
|
@@ -9,7 +9,5 @@ import type { string_filename, string_pipeline_url } from '../types/typeAliases'
|
|
|
9
9
|
* @private usable through `ptbk run` and `@promptbook/wizard`
|
|
10
10
|
*/
|
|
11
11
|
export declare function $getCompiledBook(tools: Required<Pick<ExecutionTools, 'fs' | 'fetch'>>, pipelineSource: string_filename | string_pipeline_url | PipelineString, options?: PrepareAndScrapeOptions): Promise<PipelineJson>;
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
15
|
-
*/
|
|
12
|
+
/** Note: [🟢] Code for Node wizard helper [$getCompiledBook](src/wizard/$getCompiledBook.ts) should never be published into packages that could be imported into browser environment */
|
|
13
|
+
/** TODO: Write unit test */
|
|
@@ -69,7 +69,5 @@ declare class Wizard {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const wizard: Wizard;
|
|
71
71
|
export {};
|
|
72
|
-
/**
|
|
73
|
-
|
|
74
|
-
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
75
|
-
*/
|
|
72
|
+
/** Note: [🟢] Code for Node wizard helper [wizard](src/wizard/wizard.ts) should never be published into packages that could be imported into browser environment */
|
|
73
|
+
/** TODO: [🧠] Maybe some way how to handle the progress and streaming? */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/javascript",
|
|
3
|
-
"version": "0.112.0-
|
|
3
|
+
"version": "0.112.0-34",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"module": "./esm/index.es.js",
|
|
98
98
|
"typings": "./esm/typings/src/_packages/javascript.index.d.ts",
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@promptbook/core": "0.112.0-
|
|
100
|
+
"@promptbook/core": "0.112.0-34"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"crypto": "1.0.1",
|
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-
|
|
25
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-34';
|
|
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
|
|
@@ -17,7 +17,10 @@ import type { AgentChatProps } from '../book-components/Chat/AgentChat/AgentChat
|
|
|
17
17
|
import { Chat } from '../book-components/Chat/Chat/Chat';
|
|
18
18
|
import type { ChatFeedbackResponse } from '../book-components/Chat/Chat/ChatProps';
|
|
19
19
|
import type { ChatFeedbackMode } from '../book-components/Chat/Chat/ChatProps';
|
|
20
|
+
import type { ChatVisualMode } from '../book-components/Chat/Chat/ChatProps';
|
|
20
21
|
import type { ChatFeedbackTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
22
|
+
import type { ChatUiTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
23
|
+
import type { ChatTimingTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
21
24
|
import type { ChatSoundSystem } from '../book-components/Chat/Chat/ChatProps';
|
|
22
25
|
import type { ChatProps } from '../book-components/Chat/Chat/ChatProps';
|
|
23
26
|
import { ChatSoundToggle } from '../book-components/Chat/Chat/ChatSoundToggle';
|
|
@@ -95,7 +98,10 @@ export type { AgentChatProps };
|
|
|
95
98
|
export { Chat };
|
|
96
99
|
export type { ChatFeedbackResponse };
|
|
97
100
|
export type { ChatFeedbackMode };
|
|
101
|
+
export type { ChatVisualMode };
|
|
98
102
|
export type { ChatFeedbackTranslations };
|
|
103
|
+
export type { ChatUiTranslations };
|
|
104
|
+
export type { ChatTimingTranslations };
|
|
99
105
|
export type { ChatSoundSystem };
|
|
100
106
|
export type { ChatProps };
|
|
101
107
|
export { ChatSoundToggle };
|
|
@@ -18,7 +18,10 @@ import type { AgentChipData } from '../book-components/Chat/AgentChip/AgentChip'
|
|
|
18
18
|
import type { AgentChipProps } from '../book-components/Chat/AgentChip/AgentChip';
|
|
19
19
|
import type { ChatFeedbackResponse } from '../book-components/Chat/Chat/ChatProps';
|
|
20
20
|
import type { ChatFeedbackMode } from '../book-components/Chat/Chat/ChatProps';
|
|
21
|
+
import type { ChatVisualMode } from '../book-components/Chat/Chat/ChatProps';
|
|
21
22
|
import type { ChatFeedbackTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
23
|
+
import type { ChatUiTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
24
|
+
import type { ChatTimingTranslations } from '../book-components/Chat/Chat/ChatProps';
|
|
22
25
|
import type { ChatSoundSystem } from '../book-components/Chat/Chat/ChatProps';
|
|
23
26
|
import type { ChatProps } from '../book-components/Chat/Chat/ChatProps';
|
|
24
27
|
import type { ChatSoundToggleProps } from '../book-components/Chat/Chat/ChatSoundToggle';
|
|
@@ -230,31 +233,31 @@ import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
|
|
|
230
233
|
import type { ModelVariant } from '../types/ModelVariant';
|
|
231
234
|
import type { NonEmptyArray } from '../types/NonEmptyArray';
|
|
232
235
|
import type { NonEmptyReadonlyArray } from '../types/NonEmptyArray';
|
|
236
|
+
import type { number_bytes } from '../types/number_bytes';
|
|
237
|
+
import type { number_kilobytes } from '../types/number_bytes';
|
|
238
|
+
import type { number_megabytes } from '../types/number_bytes';
|
|
239
|
+
import type { number_gigabytes } from '../types/number_bytes';
|
|
240
|
+
import type { number_terabytes } from '../types/number_bytes';
|
|
241
|
+
import type { number_id } from '../types/number_id';
|
|
242
|
+
import type { number_linecol_number } from '../types/number_id';
|
|
243
|
+
import type { number_tokens } from '../types/number_id';
|
|
244
|
+
import type { number_likeness } from '../types/number_likeness';
|
|
245
|
+
import type { number_milliseconds } from '../types/number_milliseconds';
|
|
246
|
+
import type { number_seconds } from '../types/number_milliseconds';
|
|
247
|
+
import type { number_minutes } from '../types/number_milliseconds';
|
|
248
|
+
import type { number_hours } from '../types/number_milliseconds';
|
|
249
|
+
import type { number_days } from '../types/number_milliseconds';
|
|
250
|
+
import type { number_weeks } from '../types/number_milliseconds';
|
|
251
|
+
import type { number_months } from '../types/number_milliseconds';
|
|
252
|
+
import type { number_years } from '../types/number_milliseconds';
|
|
253
|
+
import type { number_percent } from '../types/number_percent';
|
|
254
|
+
import type { number_model_temperature } from '../types/number_percent';
|
|
255
|
+
import type { number_seed } from '../types/number_percent';
|
|
256
|
+
import type { number_positive } from '../types/number_positive';
|
|
257
|
+
import type { number_negative } from '../types/number_positive';
|
|
258
|
+
import type { number_integer } from '../types/number_positive';
|
|
259
|
+
import type { number_port } from '../types/number_positive';
|
|
233
260
|
import type { number_usd } from '../types/number_usd';
|
|
234
|
-
import type { number_id } from '../types/number_usd';
|
|
235
|
-
import type { number_linecol_number } from '../types/number_usd';
|
|
236
|
-
import type { number_tokens } from '../types/number_usd';
|
|
237
|
-
import type { number_positive } from '../types/number_usd';
|
|
238
|
-
import type { number_negative } from '../types/number_usd';
|
|
239
|
-
import type { number_integer } from '../types/number_usd';
|
|
240
|
-
import type { number_port } from '../types/number_usd';
|
|
241
|
-
import type { number_percent } from '../types/number_usd';
|
|
242
|
-
import type { number_model_temperature } from '../types/number_usd';
|
|
243
|
-
import type { number_seed } from '../types/number_usd';
|
|
244
|
-
import type { number_likeness } from '../types/number_usd';
|
|
245
|
-
import type { number_milliseconds } from '../types/number_usd';
|
|
246
|
-
import type { number_seconds } from '../types/number_usd';
|
|
247
|
-
import type { number_minutes } from '../types/number_usd';
|
|
248
|
-
import type { number_hours } from '../types/number_usd';
|
|
249
|
-
import type { number_days } from '../types/number_usd';
|
|
250
|
-
import type { number_weeks } from '../types/number_usd';
|
|
251
|
-
import type { number_months } from '../types/number_usd';
|
|
252
|
-
import type { number_years } from '../types/number_usd';
|
|
253
|
-
import type { number_bytes } from '../types/number_usd';
|
|
254
|
-
import type { number_kilobytes } from '../types/number_usd';
|
|
255
|
-
import type { number_megabytes } from '../types/number_usd';
|
|
256
|
-
import type { number_gigabytes } from '../types/number_usd';
|
|
257
|
-
import type { number_terabytes } from '../types/number_usd';
|
|
258
261
|
import type { Prompt } from '../types/Prompt';
|
|
259
262
|
import type { CompletionPrompt } from '../types/Prompt';
|
|
260
263
|
import type { ChatPrompt } from '../types/Prompt';
|
|
@@ -354,9 +357,15 @@ import type { string_app_id } from '../types/string_token';
|
|
|
354
357
|
import type { string_user_id } from '../types/string_token';
|
|
355
358
|
import type { string_mime_type } from '../types/string_url';
|
|
356
359
|
import type { string_mime_type_with_wildcard } from '../types/string_url';
|
|
360
|
+
import type { string_base64 } from '../types/string_url';
|
|
361
|
+
import type { string_data_url } from '../types/string_url';
|
|
357
362
|
import type { string_domain } from '../types/string_url';
|
|
358
363
|
import type { string_origin } from '../types/string_url';
|
|
359
364
|
import type { string_tdl } from '../types/string_url';
|
|
365
|
+
import type { string_hostname } from '../types/string_url';
|
|
366
|
+
import type { string_host } from '../types/string_url';
|
|
367
|
+
import type { string_protocol } from '../types/string_url';
|
|
368
|
+
import type { string_ip_address } from '../types/string_url';
|
|
360
369
|
import type { string_url } from '../types/string_url';
|
|
361
370
|
import type { string_promptbook_server_url } from '../types/string_url';
|
|
362
371
|
import type { string_base_url } from '../types/string_url';
|
|
@@ -364,16 +373,10 @@ import type { string_pipeline_root_url } from '../types/string_url';
|
|
|
364
373
|
import type { string_agent_url } from '../types/string_url';
|
|
365
374
|
import type { string_pipeline_url } from '../types/string_url';
|
|
366
375
|
import type { string_pipeline_url_with_task_hash } from '../types/string_url';
|
|
367
|
-
import type { string_base64 } from '../types/string_url';
|
|
368
|
-
import type { string_data_url } from '../types/string_url';
|
|
369
376
|
import type { string_href } from '../types/string_url';
|
|
370
377
|
import type { string_url_image } from '../types/string_url';
|
|
371
378
|
import type { string_uri } from '../types/string_url';
|
|
372
379
|
import type { string_uri_part } from '../types/string_url';
|
|
373
|
-
import type { string_hostname } from '../types/string_url';
|
|
374
|
-
import type { string_host } from '../types/string_url';
|
|
375
|
-
import type { string_protocol } from '../types/string_url';
|
|
376
|
-
import type { string_ip_address } from '../types/string_url';
|
|
377
380
|
import type { string_email } from '../types/string_url';
|
|
378
381
|
import type { string_emails } from '../types/string_url';
|
|
379
382
|
import type { TaskType } from '../types/TaskType';
|
|
@@ -443,7 +446,10 @@ export type { AgentChipData };
|
|
|
443
446
|
export type { AgentChipProps };
|
|
444
447
|
export type { ChatFeedbackResponse };
|
|
445
448
|
export type { ChatFeedbackMode };
|
|
449
|
+
export type { ChatVisualMode };
|
|
446
450
|
export type { ChatFeedbackTranslations };
|
|
451
|
+
export type { ChatUiTranslations };
|
|
452
|
+
export type { ChatTimingTranslations };
|
|
447
453
|
export type { ChatSoundSystem };
|
|
448
454
|
export type { ChatProps };
|
|
449
455
|
export type { ChatSoundToggleProps };
|
|
@@ -655,17 +661,14 @@ export type { EmbeddingModelRequirements };
|
|
|
655
661
|
export type { ModelVariant };
|
|
656
662
|
export type { NonEmptyArray };
|
|
657
663
|
export type { NonEmptyReadonlyArray };
|
|
658
|
-
export type {
|
|
664
|
+
export type { number_bytes };
|
|
665
|
+
export type { number_kilobytes };
|
|
666
|
+
export type { number_megabytes };
|
|
667
|
+
export type { number_gigabytes };
|
|
668
|
+
export type { number_terabytes };
|
|
659
669
|
export type { number_id };
|
|
660
670
|
export type { number_linecol_number };
|
|
661
671
|
export type { number_tokens };
|
|
662
|
-
export type { number_positive };
|
|
663
|
-
export type { number_negative };
|
|
664
|
-
export type { number_integer };
|
|
665
|
-
export type { number_port };
|
|
666
|
-
export type { number_percent };
|
|
667
|
-
export type { number_model_temperature };
|
|
668
|
-
export type { number_seed };
|
|
669
672
|
export type { number_likeness };
|
|
670
673
|
export type { number_milliseconds };
|
|
671
674
|
export type { number_seconds };
|
|
@@ -675,11 +678,14 @@ export type { number_days };
|
|
|
675
678
|
export type { number_weeks };
|
|
676
679
|
export type { number_months };
|
|
677
680
|
export type { number_years };
|
|
678
|
-
export type {
|
|
679
|
-
export type {
|
|
680
|
-
export type {
|
|
681
|
-
export type {
|
|
682
|
-
export type {
|
|
681
|
+
export type { number_percent };
|
|
682
|
+
export type { number_model_temperature };
|
|
683
|
+
export type { number_seed };
|
|
684
|
+
export type { number_positive };
|
|
685
|
+
export type { number_negative };
|
|
686
|
+
export type { number_integer };
|
|
687
|
+
export type { number_port };
|
|
688
|
+
export type { number_usd };
|
|
683
689
|
export type { Prompt };
|
|
684
690
|
export type { CompletionPrompt };
|
|
685
691
|
export type { ChatPrompt };
|
|
@@ -779,9 +785,15 @@ export type { string_app_id };
|
|
|
779
785
|
export type { string_user_id };
|
|
780
786
|
export type { string_mime_type };
|
|
781
787
|
export type { string_mime_type_with_wildcard };
|
|
788
|
+
export type { string_base64 };
|
|
789
|
+
export type { string_data_url };
|
|
782
790
|
export type { string_domain };
|
|
783
791
|
export type { string_origin };
|
|
784
792
|
export type { string_tdl };
|
|
793
|
+
export type { string_hostname };
|
|
794
|
+
export type { string_host };
|
|
795
|
+
export type { string_protocol };
|
|
796
|
+
export type { string_ip_address };
|
|
785
797
|
export type { string_url };
|
|
786
798
|
export type { string_promptbook_server_url };
|
|
787
799
|
export type { string_base_url };
|
|
@@ -789,16 +801,10 @@ export type { string_pipeline_root_url };
|
|
|
789
801
|
export type { string_agent_url };
|
|
790
802
|
export type { string_pipeline_url };
|
|
791
803
|
export type { string_pipeline_url_with_task_hash };
|
|
792
|
-
export type { string_base64 };
|
|
793
|
-
export type { string_data_url };
|
|
794
804
|
export type { string_href };
|
|
795
805
|
export type { string_url_image };
|
|
796
806
|
export type { string_uri };
|
|
797
807
|
export type { string_uri_part };
|
|
798
|
-
export type { string_hostname };
|
|
799
|
-
export type { string_host };
|
|
800
|
-
export type { string_protocol };
|
|
801
|
-
export type { string_ip_address };
|
|
802
808
|
export type { string_email };
|
|
803
809
|
export type { string_emails };
|
|
804
810
|
export type { TaskType };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BookCommitment } from '../../commitments/_base/BookCommitment';
|
|
2
|
+
import type { TeammateProfile } from './TeammateProfileResolver';
|
|
2
3
|
/**
|
|
3
4
|
* Resolves compact agent references that appear inside FROM, IMPORT, and TEAM commitments.
|
|
4
5
|
*
|
|
@@ -15,4 +16,14 @@ export type AgentReferenceResolver = {
|
|
|
15
16
|
* @param content - Original payload of the commitment
|
|
16
17
|
*/
|
|
17
18
|
resolveCommitmentContent(commitmentType: BookCommitment, content: string): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Optional: returns the actual human-readable name and description for a teammate agent URL.
|
|
21
|
+
*
|
|
22
|
+
* When implemented, this enriches TEAM tool definitions with the agent's real name and
|
|
23
|
+
* persona description instead of technical IDs derived from the URL path.
|
|
24
|
+
*
|
|
25
|
+
* @param url - Canonical teammate URL from the resolved TEAM commitment content.
|
|
26
|
+
* @returns Agent profile or `null` when the URL is not resolvable locally.
|
|
27
|
+
*/
|
|
28
|
+
resolveTeammateProfile?: (url: string) => Promise<TeammateProfile | null>;
|
|
18
29
|
};
|