@promptbook/documents 0.113.0-1 → 0.113.0-10
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/README.md +1 -17
- package/esm/index.es.js +459 -453
- package/esm/index.es.js.map +1 -1
- package/esm/src/_packages/types.index.d.ts +2 -2
- package/esm/src/avatars/renderAvatarVisualAsciiArt.d.ts +98 -0
- package/esm/src/avatars/visuals/octopus3dAvatarVisualShared.d.ts +1 -1
- package/esm/src/book-components/BookEditor/BookEditorMonacoUploadPanel.d.ts +1 -1
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/bookEditorMonacoUploadTypes.d.ts +120 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/clearScheduledTimer.d.ts +6 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/enqueueFilesForUpload.d.ts +26 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadEditorSync.d.ts +23 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadItemsState.d.ts +21 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadProgressQueue.d.ts +12 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadQueue.d.ts +27 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads/useCompletedUploadsAutoClear.d.ts +12 -0
- package/esm/src/book-components/BookEditor/useBookEditorMonacoUploads.d.ts +5 -58
- package/esm/src/book-components/Chat/Chat/ChatImageAttachmentModal.d.ts +25 -0
- package/esm/src/book-components/Chat/Chat/ChatInputArea.d.ts +3 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageAttachments.d.ts +27 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +8 -0
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/esm/src/book-components/Chat/Chat/insertDictationChunk.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/insertDictationChunk.test.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/learnDictationDictionary.test.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/refineFinalDictationChunk.test.d.ts +1 -0
- package/esm/src/book-components/Chat/Chat/useChatInputAreaComposer.d.ts +12 -0
- package/esm/src/book-components/Chat/Chat/useChatInputAreaComposer.draftMessage.test.d.ts +2 -0
- package/esm/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +1 -1
- package/esm/src/book-components/Chat/utils/parseMessageButtons.d.ts +16 -2
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_BUILD_CACHE_FILENAME.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_BUILD_CACHE_VERSION.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_NEXT_BUILD_ID_FILENAME.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/AgentsServerBuildCache.d.ts +10 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/AgentsServerBuildCacheOptions.d.ts +10 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/NODE_MODULES_DIRECTORY_NAME.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/PreparedAgentsServerRuntime.d.ts +18 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/createAgentsServerBuildSourceFingerprint.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/createAgentsServerRuntimeEnvironment.d.ts +28 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/ensureAgentsServerBuild.d.ts +19 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/getAgentsServerBuildInputRelativePaths.d.ts +11 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerAppPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerAppPathMaterialized.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerBuildCacheCurrent.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerBuildInputTestFile.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerBuildInputDirectoryName.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerBuildInputPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerRuntimeSourcePath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isFile.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/isPathInsideNodeModules.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/normalizeAgentsServerBuildInputPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/prepareAgentsServerRuntime.d.ts +9 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/readAgentsServerBuildCache.d.ts +8 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerAppPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerBuildAppPath.d.ts +9 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerBuildOutputPath.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/resolveNextCliPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/resolveNodeModulesPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/runNextBuild.d.ts +12 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/shouldCopyAgentsServerRuntimePath.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/synchronizeMaterializedAgentsServerRuntime.d.ts +11 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer/writeAgentsServerBuildCache.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +8 -109
- package/esm/src/cli/cli-commands/agents-server/ensureAgentsServerEnvFile.d.ts +1 -1
- package/esm/src/cli/cli-commands/agents-server/ensureAgentsServerGitignoreFile.d.ts +1 -1
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +16 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerLogStreams.d.ts +30 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerRuntimePaths.d.ts +19 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerSupervisorState.d.ts +37 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/LocalAgentRunnerLimits.d.ts +9 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +13 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/StartAgentsServerOptions.d.ts +24 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/createInternalRouteErrorMessage.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/createLocalAgentRunOptions.d.ts +9 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +13 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/loadAgentsServerProjectEnvironment.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/prepareAgentsServerLaunch.d.ts +18 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/readInternalRouteErrorDetails.d.ts +6 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/resolveAgentsServerChildHostname.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +20 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +15 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/stopChildProcess.d.ts +8 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer/waitForLocalAgentRunnerLimits.d.ts +16 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +3 -30
- package/esm/src/cli/cli-commands/common/createPositiveIntegerOptionParser.d.ts +10 -0
- package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +1 -1
- package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +1 -1
- package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +1 -1
- package/esm/src/commitments/META/META.d.ts +2 -2
- package/esm/src/commitments/META_AVATAR/META_AVATAR.d.ts +9 -4
- package/esm/src/commitments/index.d.ts +1 -1
- package/esm/src/conversion/validation/validatePipeline/createPipelineValidationContext.d.ts +16 -0
- package/esm/src/conversion/validation/validatePipeline/validatePipelineCollectionsStructure.d.ts +7 -0
- package/esm/src/conversion/validation/validatePipeline/validatePipelineDependencyResolution.d.ts +7 -0
- package/esm/src/conversion/validation/validatePipeline/validatePipelineMetadata.d.ts +7 -0
- package/esm/src/conversion/validation/validatePipeline/validatePipelineParameters.d.ts +7 -0
- package/esm/src/conversion/validation/validatePipeline/validatePipelineTasks.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/RegisteredLlmToolsMessageContext.d.ts +46 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/USED_ENV_FILENAME.d.ts +11 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolConfigurationStatusMessage.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolEntryKey.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolInstallationStatusMessage.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolStatus.d.ts +14 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolsMessageContext.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/getAvailableRegisteredLlmToolsEnvironmentVariables.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/getRegisteredLlmToolRegisters.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/hasRegisteredLlmToolEntry.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/listRegisteredLlmToolEntries.d.ts +9 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/listRegisteredLlmToolStatuses.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderAvailableRegisteredLlmTools.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderNoRegisteredLlmToolsMessage.d.ts +7 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderRegisteredLlmToolsMessage.d.ts +8 -0
- package/esm/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderRelevantRegisteredLlmToolsEnvironmentVariables.d.ts +7 -0
- package/esm/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
- package/esm/src/utils/agents/resolveAgentAvatarImageUrl.d.ts +2 -2
- package/esm/src/utils/ascii-art/$detectTerminalAnsiColorDepth.d.ts +15 -0
- package/esm/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +80 -0
- package/esm/src/utils/color/Color.d.ts +1 -1
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +459 -453
- package/umd/index.umd.js.map +1 -1
- package/umd/src/_packages/types.index.d.ts +2 -2
- package/umd/src/avatars/renderAvatarVisualAsciiArt.d.ts +98 -0
- package/umd/src/avatars/visuals/octopus3dAvatarVisualShared.d.ts +1 -1
- package/umd/src/book-components/BookEditor/BookEditorMonacoUploadPanel.d.ts +1 -1
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/bookEditorMonacoUploadTypes.d.ts +120 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/clearScheduledTimer.d.ts +6 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/enqueueFilesForUpload.d.ts +26 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadEditorSync.d.ts +23 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadItemsState.d.ts +21 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadProgressQueue.d.ts +12 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/useBookEditorMonacoUploadQueue.d.ts +27 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads/useCompletedUploadsAutoClear.d.ts +12 -0
- package/umd/src/book-components/BookEditor/useBookEditorMonacoUploads.d.ts +5 -58
- package/umd/src/book-components/Chat/Chat/ChatImageAttachmentModal.d.ts +25 -0
- package/umd/src/book-components/Chat/Chat/ChatInputArea.d.ts +3 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageAttachments.d.ts +27 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +8 -0
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/umd/src/book-components/Chat/Chat/insertDictationChunk.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/insertDictationChunk.test.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/learnDictationDictionary.test.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/refineFinalDictationChunk.test.d.ts +1 -0
- package/umd/src/book-components/Chat/Chat/useChatInputAreaComposer.d.ts +12 -0
- package/umd/src/book-components/Chat/Chat/useChatInputAreaComposer.draftMessage.test.d.ts +2 -0
- package/umd/src/book-components/Chat/utils/isVisibleChatToolCall.d.ts +1 -1
- package/umd/src/book-components/Chat/utils/parseMessageButtons.d.ts +16 -2
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_BUILD_CACHE_FILENAME.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_BUILD_CACHE_VERSION.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/AGENTS_SERVER_NEXT_BUILD_ID_FILENAME.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/AgentsServerBuildCache.d.ts +10 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/AgentsServerBuildCacheOptions.d.ts +10 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/NODE_MODULES_DIRECTORY_NAME.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/PreparedAgentsServerRuntime.d.ts +18 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/createAgentsServerBuildSourceFingerprint.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/createAgentsServerRuntimeEnvironment.d.ts +28 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/ensureAgentsServerBuild.d.ts +19 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/getAgentsServerBuildInputRelativePaths.d.ts +11 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerAppPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerAppPathMaterialized.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerBuildCacheCurrent.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isAgentsServerBuildInputTestFile.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerBuildInputDirectoryName.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerBuildInputPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isExcludedAgentsServerRuntimeSourcePath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isFile.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/isPathInsideNodeModules.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/normalizeAgentsServerBuildInputPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/prepareAgentsServerRuntime.d.ts +9 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/readAgentsServerBuildCache.d.ts +8 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerAppPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerBuildAppPath.d.ts +9 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/resolveAgentsServerBuildOutputPath.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/resolveNextCliPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/resolveNodeModulesPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/runNextBuild.d.ts +12 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/shouldCopyAgentsServerRuntimePath.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/synchronizeMaterializedAgentsServerRuntime.d.ts +11 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer/writeAgentsServerBuildCache.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +8 -109
- package/umd/src/cli/cli-commands/agents-server/ensureAgentsServerEnvFile.d.ts +1 -1
- package/umd/src/cli/cli-commands/agents-server/ensureAgentsServerGitignoreFile.d.ts +1 -1
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +16 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerLogStreams.d.ts +30 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerRuntimePaths.d.ts +19 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerSupervisorState.d.ts +37 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/LocalAgentRunnerLimits.d.ts +9 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +13 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/StartAgentsServerOptions.d.ts +24 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/createInternalRouteErrorMessage.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/createLocalAgentRunOptions.d.ts +9 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +13 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/loadAgentsServerProjectEnvironment.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/prepareAgentsServerLaunch.d.ts +18 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/readInternalRouteErrorDetails.d.ts +6 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/resolveAgentsServerChildHostname.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +20 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +15 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/stopChildProcess.d.ts +8 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer/waitForLocalAgentRunnerLimits.d.ts +16 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +3 -30
- package/umd/src/cli/cli-commands/common/createPositiveIntegerOptionParser.d.ts +10 -0
- package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +1 -1
- package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +1 -1
- package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +1 -1
- package/umd/src/commitments/META/META.d.ts +2 -2
- package/umd/src/commitments/META_AVATAR/META_AVATAR.d.ts +9 -4
- package/umd/src/commitments/index.d.ts +1 -1
- package/umd/src/conversion/validation/validatePipeline/createPipelineValidationContext.d.ts +16 -0
- package/umd/src/conversion/validation/validatePipeline/validatePipelineCollectionsStructure.d.ts +7 -0
- package/umd/src/conversion/validation/validatePipeline/validatePipelineDependencyResolution.d.ts +7 -0
- package/umd/src/conversion/validation/validatePipeline/validatePipelineMetadata.d.ts +7 -0
- package/umd/src/conversion/validation/validatePipeline/validatePipelineParameters.d.ts +7 -0
- package/umd/src/conversion/validation/validatePipeline/validatePipelineTasks.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/RegisteredLlmToolsMessageContext.d.ts +46 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/USED_ENV_FILENAME.d.ts +11 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolConfigurationStatusMessage.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolEntryKey.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolInstallationStatusMessage.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolStatus.d.ts +14 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/createRegisteredLlmToolsMessageContext.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/getAvailableRegisteredLlmToolsEnvironmentVariables.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/getRegisteredLlmToolRegisters.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/hasRegisteredLlmToolEntry.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/listRegisteredLlmToolEntries.d.ts +9 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/listRegisteredLlmToolStatuses.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderAvailableRegisteredLlmTools.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderNoRegisteredLlmToolsMessage.d.ts +7 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderRegisteredLlmToolsMessage.d.ts +8 -0
- package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/renderRelevantRegisteredLlmToolsEnvironmentVariables.d.ts +7 -0
- package/umd/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
- package/umd/src/utils/agents/resolveAgentAvatarImageUrl.d.ts +2 -2
- package/umd/src/utils/ascii-art/$detectTerminalAnsiColorDepth.d.ts +15 -0
- package/umd/src/utils/ascii-art/convertImageDataToAsciiArt.d.ts +80 -0
- package/umd/src/utils/color/Color.d.ts +1 -1
- package/umd/src/version.d.ts +1 -1
- package/esm/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
- package/umd/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
package/umd/src/cli/cli-commands/agents-server/startAgentsServer/StartAgentsServerOptions.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { number_port } from '../../../../types/number_positive';
|
|
2
|
+
import type { ThinkingLevel } from '../../coder/ThinkingLevel';
|
|
3
|
+
import type { PromptRunnerHarnessName } from '../../common/promptRunnerCliOptions';
|
|
4
|
+
/**
|
|
5
|
+
* Next runtime mode supported by the local Agents Server foreground launcher.
|
|
6
|
+
*
|
|
7
|
+
* @private internal type of `startAgentsServer`
|
|
8
|
+
*/
|
|
9
|
+
export type AgentsServerNextRuntimeMode = 'start' | 'dev';
|
|
10
|
+
/**
|
|
11
|
+
* Options required to start the foreground Agents Server service group.
|
|
12
|
+
*
|
|
13
|
+
* @private internal type of `startAgentsServer`
|
|
14
|
+
*/
|
|
15
|
+
export type StartAgentsServerOptions = {
|
|
16
|
+
readonly port: number_port;
|
|
17
|
+
readonly agentName: PromptRunnerHarnessName;
|
|
18
|
+
readonly model?: string;
|
|
19
|
+
readonly noUi: boolean;
|
|
20
|
+
readonly thinkingLevel?: ThinkingLevel;
|
|
21
|
+
readonly allowCredits: boolean;
|
|
22
|
+
readonly nextRuntimeMode: AgentsServerNextRuntimeMode;
|
|
23
|
+
readonly isBuildForced: boolean;
|
|
24
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds a foreground failure message for one internal Agents Server route.
|
|
3
|
+
*
|
|
4
|
+
* @private internal utility of `startAgentsServer`
|
|
5
|
+
*/
|
|
6
|
+
export declare function createInternalRouteErrorMessage(routeLabel: string, response: Response, details: string | null): string;
|
package/umd/src/cli/cli-commands/agents-server/startAgentsServer/createLocalAgentRunOptions.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AgentRunOptions } from '../../../../../scripts/run-agent-messages/AgentRunOptions';
|
|
2
|
+
import type { LocalAgentRunnerLimits } from './LocalAgentRunnerLimits';
|
|
3
|
+
import type { StartAgentsServerOptions } from './StartAgentsServerOptions';
|
|
4
|
+
/**
|
|
5
|
+
* Creates local no-git agent runner options for folders managed by the Agents Server database.
|
|
6
|
+
*
|
|
7
|
+
* @private internal utility of `startAgentsServer`
|
|
8
|
+
*/
|
|
9
|
+
export declare function createLocalAgentRunOptions(options: StartAgentsServerOptions, localAgentRunnerLimits: LocalAgentRunnerLimits): AgentRunOptions;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { WriteStream } from 'fs';
|
|
3
|
+
import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
|
|
4
|
+
/**
|
|
5
|
+
* Persists one child output chunk and forwards readable lines into UI or plain output.
|
|
6
|
+
*
|
|
7
|
+
* @private internal utility of `startAgentsServer`
|
|
8
|
+
*/
|
|
9
|
+
export declare function forwardChildOutput(chunk: string, options: {
|
|
10
|
+
readonly label: string;
|
|
11
|
+
readonly logStream: WriteStream;
|
|
12
|
+
readonly state: AgentsServerSupervisorState;
|
|
13
|
+
}): void;
|
package/umd/src/cli/cli-commands/agents-server/startAgentsServer/prepareAgentsServerLaunch.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
|
|
2
|
+
import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
|
|
3
|
+
import type { AgentsServerRuntimePaths } from './AgentsServerRuntimePaths';
|
|
4
|
+
import type { AgentsServerSupervisorState } from './AgentsServerSupervisorState';
|
|
5
|
+
import type { PreparedAgentsServerLaunch } from './PreparedAgentsServerLaunch';
|
|
6
|
+
import type { StartAgentsServerOptions } from './StartAgentsServerOptions';
|
|
7
|
+
/**
|
|
8
|
+
* Prepares the shared Next runtime for either production start or hot-reloading development mode.
|
|
9
|
+
*
|
|
10
|
+
* @private internal utility of `startAgentsServer`
|
|
11
|
+
*/
|
|
12
|
+
export declare function prepareAgentsServerLaunch(options: {
|
|
13
|
+
readonly childEnvironment: AgentsServerChildEnvironment;
|
|
14
|
+
readonly logStreams: AgentsServerLogStreams;
|
|
15
|
+
readonly startOptions: StartAgentsServerOptions;
|
|
16
|
+
readonly runtimePaths: AgentsServerRuntimePaths;
|
|
17
|
+
readonly state: AgentsServerSupervisorState;
|
|
18
|
+
}): Promise<PreparedAgentsServerLaunch>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Resolves the optional Next hostname from the prepared child environment.
|
|
4
|
+
*
|
|
5
|
+
* @private internal utility of `startAgentsServer`
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveAgentsServerChildHostname(environment: NodeJS.ProcessEnv): string | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { type ChildProcess } from 'child_process';
|
|
3
|
+
import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
|
|
4
|
+
import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
|
|
5
|
+
import type { AgentsServerRuntimePaths } from './AgentsServerRuntimePaths';
|
|
6
|
+
import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
|
|
7
|
+
import type { StartAgentsServerOptions } from './StartAgentsServerOptions';
|
|
8
|
+
/**
|
|
9
|
+
* Starts the configured Next server mode and wires its logs into the foreground dashboard.
|
|
10
|
+
*
|
|
11
|
+
* @private internal utility of `startAgentsServer`
|
|
12
|
+
*/
|
|
13
|
+
export declare function startNextServer(options: {
|
|
14
|
+
readonly nextCliPath: string;
|
|
15
|
+
readonly startOptions: StartAgentsServerOptions;
|
|
16
|
+
readonly runtimePaths: AgentsServerRuntimePaths;
|
|
17
|
+
readonly childEnvironment: AgentsServerChildEnvironment;
|
|
18
|
+
readonly logStreams: AgentsServerLogStreams;
|
|
19
|
+
readonly state: AgentsServerSupervisorState;
|
|
20
|
+
}): ChildProcess;
|
package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { number_port } from '../../../../types/number_positive';
|
|
2
|
+
import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
|
|
3
|
+
import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
|
|
4
|
+
import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
|
|
5
|
+
/**
|
|
6
|
+
* Starts periodic internal worker calls that queue and reconcile local message-folder jobs.
|
|
7
|
+
*
|
|
8
|
+
* @private internal utility of `startAgentsServer`
|
|
9
|
+
*/
|
|
10
|
+
export declare function startUserChatJobWorkerPump(options: {
|
|
11
|
+
readonly port: number_port;
|
|
12
|
+
readonly environment: AgentsServerChildEnvironment;
|
|
13
|
+
readonly logStreams: AgentsServerLogStreams;
|
|
14
|
+
readonly state: AgentsServerSupervisorState;
|
|
15
|
+
}): () => void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { ChildProcess } from 'child_process';
|
|
3
|
+
/**
|
|
4
|
+
* Stops only the child process spawned for the local Next server.
|
|
5
|
+
*
|
|
6
|
+
* @private internal utility of `startAgentsServer`
|
|
7
|
+
*/
|
|
8
|
+
export declare function stopChildProcess(commandProcess: ChildProcess | undefined): void;
|
package/umd/src/cli/cli-commands/agents-server/startAgentsServer/waitForLocalAgentRunnerLimits.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { number_port } from '../../../../types/number_positive';
|
|
2
|
+
import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
|
|
3
|
+
import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
|
|
4
|
+
import type { AgentsServerSupervisorState } from './AgentsServerSupervisorState';
|
|
5
|
+
import type { LocalAgentRunnerLimits } from './LocalAgentRunnerLimits';
|
|
6
|
+
/**
|
|
7
|
+
* Waits until the internal Next route can return current local runner limits.
|
|
8
|
+
*
|
|
9
|
+
* @private internal utility of `startAgentsServer`
|
|
10
|
+
*/
|
|
11
|
+
export declare function waitForLocalAgentRunnerLimits(options: {
|
|
12
|
+
readonly port: number_port;
|
|
13
|
+
readonly environment: AgentsServerChildEnvironment;
|
|
14
|
+
readonly logStreams: AgentsServerLogStreams;
|
|
15
|
+
readonly state: AgentsServerSupervisorState;
|
|
16
|
+
}): Promise<LocalAgentRunnerLimits>;
|
|
@@ -1,36 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Next runtime mode supported by the local Agents Server foreground launcher.
|
|
6
|
-
*
|
|
7
|
-
* @private internal type of `ptbk agents-server`
|
|
8
|
-
*/
|
|
9
|
-
export type AgentsServerNextRuntimeMode = 'start' | 'dev';
|
|
10
|
-
/**
|
|
11
|
-
* Options required to start the foreground Agents Server service group.
|
|
12
|
-
*
|
|
13
|
-
* @private internal type of `ptbk agents-server`
|
|
14
|
-
*/
|
|
15
|
-
export type StartAgentsServerOptions = {
|
|
16
|
-
readonly port: number_port;
|
|
17
|
-
readonly agentName: PromptRunnerHarnessName;
|
|
18
|
-
readonly model?: string;
|
|
19
|
-
readonly noUi: boolean;
|
|
20
|
-
readonly thinkingLevel?: ThinkingLevel;
|
|
21
|
-
readonly allowCredits: boolean;
|
|
22
|
-
readonly nextRuntimeMode: AgentsServerNextRuntimeMode;
|
|
23
|
-
readonly isBuildForced: boolean;
|
|
24
|
-
};
|
|
1
|
+
import type { StartAgentsServerOptions } from './startAgentsServer/StartAgentsServerOptions';
|
|
2
|
+
export { loadAgentsServerProjectEnvironment } from './startAgentsServer/loadAgentsServerProjectEnvironment';
|
|
3
|
+
export type { AgentsServerNextRuntimeMode, StartAgentsServerOptions } from './startAgentsServer/StartAgentsServerOptions';
|
|
25
4
|
/**
|
|
26
5
|
* Starts the Agents Server web app and local coding-agent queue workers in the foreground.
|
|
27
6
|
*
|
|
28
7
|
* @private internal utility of `ptbk agents-server`
|
|
29
8
|
*/
|
|
30
9
|
export declare function startAgentsServer(options: StartAgentsServerOptions): Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Loads launch-directory `.env` values without overriding explicit process environment.
|
|
33
|
-
*
|
|
34
|
-
* @private internal utility of `ptbk agents-server`
|
|
35
|
-
*/
|
|
36
|
-
export declare function loadAgentsServerProjectEnvironment(launchWorkingDirectory: string): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a Commander argument parser that accepts only positive integers.
|
|
3
|
+
*
|
|
4
|
+
* The returned parser is meant to be passed as the coercion callback of `command.option(...)`.
|
|
5
|
+
* It throws a branded `NotAllowed` error with a clear message referencing the given option name
|
|
6
|
+
* when the provided value is not a positive integer.
|
|
7
|
+
*
|
|
8
|
+
* @private internal utility of `promptbookCli`
|
|
9
|
+
*/
|
|
10
|
+
export declare function createPositiveIntegerOptionParser(optionName: string): (value: string) => number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as Program } from 'commander';
|
|
2
|
-
import type { ThinkingLevel } from '../coder/ThinkingLevel';
|
|
3
2
|
import { PTBK_HARNESS_ENV, PTBK_MODEL_ENV, PTBK_THINKING_LEVEL_ENV } from '../../../book-3.0/cliAgentEnv';
|
|
3
|
+
import type { ThinkingLevel } from '../coder/ThinkingLevel';
|
|
4
4
|
export { PTBK_HARNESS_ENV, PTBK_MODEL_ENV, PTBK_THINKING_LEVEL_ENV };
|
|
5
5
|
/**
|
|
6
6
|
* Runner identifiers supported by Promptbook CLI agent orchestration commands.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { AgentVisibility } from '../../book-2.0/agent-source/agentSourceVisibility';
|
|
1
2
|
import type { string_book } from '../../book-2.0/agent-source/string_book';
|
|
2
|
-
import { type AgentVisibility } from '../../book-2.0/agent-source/agentSourceVisibility';
|
|
3
3
|
import type { LlmToolDefinition } from '../../types/LlmToolDefinition';
|
|
4
4
|
/**
|
|
5
5
|
* Supported visibility options for agent creation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentBasicInformation } from '../../../../book-2.0/agent-source/AgentBasicInformation';
|
|
2
|
-
import {
|
|
2
|
+
import type { AgentVisibility } from '../../../../book-2.0/agent-source/agentSourceVisibility';
|
|
3
3
|
import type { string_book } from '../../../../book-2.0/agent-source/string_book';
|
|
4
4
|
import type { string_agent_permanent_id } from '../../../../types/string_agent_name';
|
|
5
5
|
/**
|
|
@@ -4,7 +4,7 @@ import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
|
|
|
4
4
|
* META commitment definition
|
|
5
5
|
*
|
|
6
6
|
* The META commitment handles all meta-information about the agent such as:
|
|
7
|
-
* - META AVATAR: Sets the agent's built-in default avatar visual
|
|
7
|
+
* - META AVATAR / META VISUAL: Sets the agent's built-in default avatar visual
|
|
8
8
|
* - META IMAGE: Sets the agent's avatar/profile image URL
|
|
9
9
|
* - META LINK: Provides profile/source links for the person the agent models
|
|
10
10
|
* - META DOMAIN: Sets the canonical custom domain/host of the agent
|
|
@@ -19,7 +19,7 @@ import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
|
|
|
19
19
|
* Example usage in agent source:
|
|
20
20
|
*
|
|
21
21
|
* ```book
|
|
22
|
-
* META
|
|
22
|
+
* META VISUAL pixel-art
|
|
23
23
|
* META IMAGE https://example.com/avatar.jpg
|
|
24
24
|
* META LINK https://twitter.com/username
|
|
25
25
|
* META DOMAIN my-agent.com
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
|
|
2
2
|
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
|
|
3
|
+
/**
|
|
4
|
+
* META AVATAR / META VISUAL commitment type.
|
|
5
|
+
*/
|
|
6
|
+
type MetaAvatarCommitmentType = 'META AVATAR' | 'META VISUAL';
|
|
3
7
|
/**
|
|
4
8
|
* META AVATAR commitment definition
|
|
5
9
|
*
|
|
6
|
-
* The `META AVATAR`
|
|
7
|
-
* the agent does not provide an explicit `META IMAGE`.
|
|
10
|
+
* The `META AVATAR` and `META VISUAL` commitments set the built-in default avatar visual
|
|
11
|
+
* used when the agent does not provide an explicit `META IMAGE`.
|
|
8
12
|
*
|
|
9
13
|
* @private [🪔] Maybe export the commitments through some package
|
|
10
14
|
*/
|
|
11
|
-
export declare class MetaAvatarCommitmentDefinition extends BaseCommitmentDefinition<
|
|
12
|
-
constructor();
|
|
15
|
+
export declare class MetaAvatarCommitmentDefinition extends BaseCommitmentDefinition<MetaAvatarCommitmentType> {
|
|
16
|
+
constructor(type?: MetaAvatarCommitmentType);
|
|
13
17
|
/**
|
|
14
18
|
* Short one-line description of META AVATAR.
|
|
15
19
|
*/
|
|
@@ -24,3 +28,4 @@ export declare class MetaAvatarCommitmentDefinition extends BaseCommitmentDefini
|
|
|
24
28
|
get documentation(): string;
|
|
25
29
|
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
|
|
26
30
|
}
|
|
31
|
+
export {};
|
|
@@ -62,4 +62,4 @@ import { NotYetImplementedCommitmentDefinition } from './_base/NotYetImplemented
|
|
|
62
62
|
*
|
|
63
63
|
* @private Use functions to access commitments instead of this array directly
|
|
64
64
|
*/
|
|
65
|
-
export declare const COMMITMENT_REGISTRY: readonly [PersonaCommitmentDefinition, PersonaCommitmentDefinition, KnowledgeCommitmentDefinition, MemoryCommitmentDefinition, MemoryCommitmentDefinition, StyleCommitmentDefinition, StyleCommitmentDefinition, RuleCommitmentDefinition, RuleCommitmentDefinition, LanguageCommitmentDefinition, LanguageCommitmentDefinition, WritingSampleCommitmentDefinition, WritingRulesCommitmentDefinition, SampleCommitmentDefinition, SampleCommitmentDefinition, FormatCommitmentDefinition, FormatCommitmentDefinition, TemplateCommitmentDefinition, TemplateCommitmentDefinition, FromCommitmentDefinition, ImportCommitmentDefinition, ImportCommitmentDefinition, ModelCommitmentDefinition, ModelCommitmentDefinition, ActionCommitmentDefinition, ActionCommitmentDefinition, ComponentCommitmentDefinition, MetaAvatarCommitmentDefinition, MetaImageCommitmentDefinition, MetaColorCommitmentDefinition, MetaFontCommitmentDefinition, MetaLinkCommitmentDefinition, MetaDomainCommitmentDefinition, MetaDisclaimerCommitmentDefinition, MetaInputPlaceholderCommitmentDefinition, MetaVisibilityCommitmentDefinition, MetaCommitmentDefinition, MetaVoiceCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, GoalCommitmentDefinition, GoalCommitmentDefinition, InitialMessageCommitmentDefinition, UserMessageCommitmentDefinition, InternalMessageCommitmentDefinition, AgentMessageCommitmentDefinition, MessageSuffixCommitmentDefinition, MessageCommitmentDefinition, MessageCommitmentDefinition, WalletCommitmentDefinition, WalletCommitmentDefinition, ScenarioCommitmentDefinition, ScenarioCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DictionaryCommitmentDefinition, OpenCommitmentDefinition, ClosedCommitmentDefinition, TeamCommitmentDefinition, UseBrowserCommitmentDefinition, UseDeepSearchCommitmentDefinition, UseSearchEngineCommitmentDefinition, UseSpawnCommitmentDefinition, UseTimeoutCommitmentDefinition, UseTimeCommitmentDefinition, UseUserLocationCommitmentDefinition, UseCalendarCommitmentDefinition, UseEmailCommitmentDefinition, UsePopupCommitmentDefinition, UseImageGeneratorCommitmentDefinition, UseMcpCommitmentDefinition, UsePrivacyCommitmentDefinition, UseProjectCommitmentDefinition, NotYetImplementedCommitmentDefinition<"EXPECT">, NotYetImplementedCommitmentDefinition<"BEHAVIOUR">, NotYetImplementedCommitmentDefinition<"BEHAVIOURS">, NotYetImplementedCommitmentDefinition<"AVOID">, NotYetImplementedCommitmentDefinition<"AVOIDANCE">, NotYetImplementedCommitmentDefinition<"CONTEXT">];
|
|
65
|
+
export declare const COMMITMENT_REGISTRY: readonly [PersonaCommitmentDefinition, PersonaCommitmentDefinition, KnowledgeCommitmentDefinition, MemoryCommitmentDefinition, MemoryCommitmentDefinition, StyleCommitmentDefinition, StyleCommitmentDefinition, RuleCommitmentDefinition, RuleCommitmentDefinition, LanguageCommitmentDefinition, LanguageCommitmentDefinition, WritingSampleCommitmentDefinition, WritingRulesCommitmentDefinition, SampleCommitmentDefinition, SampleCommitmentDefinition, FormatCommitmentDefinition, FormatCommitmentDefinition, TemplateCommitmentDefinition, TemplateCommitmentDefinition, FromCommitmentDefinition, ImportCommitmentDefinition, ImportCommitmentDefinition, ModelCommitmentDefinition, ModelCommitmentDefinition, ActionCommitmentDefinition, ActionCommitmentDefinition, ComponentCommitmentDefinition, MetaAvatarCommitmentDefinition, MetaAvatarCommitmentDefinition, MetaImageCommitmentDefinition, MetaColorCommitmentDefinition, MetaFontCommitmentDefinition, MetaLinkCommitmentDefinition, MetaDomainCommitmentDefinition, MetaDisclaimerCommitmentDefinition, MetaInputPlaceholderCommitmentDefinition, MetaVisibilityCommitmentDefinition, MetaCommitmentDefinition, MetaVoiceCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, NoteCommitmentDefinition, GoalCommitmentDefinition, GoalCommitmentDefinition, InitialMessageCommitmentDefinition, UserMessageCommitmentDefinition, InternalMessageCommitmentDefinition, AgentMessageCommitmentDefinition, MessageSuffixCommitmentDefinition, MessageCommitmentDefinition, MessageCommitmentDefinition, WalletCommitmentDefinition, WalletCommitmentDefinition, ScenarioCommitmentDefinition, ScenarioCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DeleteCommitmentDefinition, DictionaryCommitmentDefinition, OpenCommitmentDefinition, ClosedCommitmentDefinition, TeamCommitmentDefinition, UseBrowserCommitmentDefinition, UseDeepSearchCommitmentDefinition, UseSearchEngineCommitmentDefinition, UseSpawnCommitmentDefinition, UseTimeoutCommitmentDefinition, UseTimeCommitmentDefinition, UseUserLocationCommitmentDefinition, UseCalendarCommitmentDefinition, UseEmailCommitmentDefinition, UsePopupCommitmentDefinition, UseImageGeneratorCommitmentDefinition, UseMcpCommitmentDefinition, UsePrivacyCommitmentDefinition, UseProjectCommitmentDefinition, NotYetImplementedCommitmentDefinition<"EXPECT">, NotYetImplementedCommitmentDefinition<"BEHAVIOUR">, NotYetImplementedCommitmentDefinition<"BEHAVIOURS">, NotYetImplementedCommitmentDefinition<"AVOID">, NotYetImplementedCommitmentDefinition<"AVOIDANCE">, NotYetImplementedCommitmentDefinition<"CONTEXT">];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PipelineJson } from '../../../pipeline/PipelineJson/PipelineJson';
|
|
2
|
+
/**
|
|
3
|
+
* Shared validation context for one pipeline validation pass.
|
|
4
|
+
*
|
|
5
|
+
* @private type of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export type PipelineValidationContext = {
|
|
8
|
+
pipeline: PipelineJson;
|
|
9
|
+
pipelineIdentification: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Creates the shared validation context for one pipeline.
|
|
13
|
+
*
|
|
14
|
+
* @private function of `validatePipeline`
|
|
15
|
+
*/
|
|
16
|
+
export declare function createPipelineValidationContext(pipeline: PipelineJson): PipelineValidationContext;
|
package/umd/src/conversion/validation/validatePipeline/validatePipelineCollectionsStructure.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineValidationContext } from './createPipelineValidationContext';
|
|
2
|
+
/**
|
|
3
|
+
* Validates that the expected top-level collections have array structure.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export declare function validatePipelineCollectionsStructure({ pipeline, pipelineIdentification, }: PipelineValidationContext): void;
|
package/umd/src/conversion/validation/validatePipeline/validatePipelineDependencyResolution.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineValidationContext } from './createPipelineValidationContext';
|
|
2
|
+
/**
|
|
3
|
+
* Validates that task dependencies can be resolved without cycles or missing definitions.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export declare function validatePipelineDependencyResolution({ pipeline, pipelineIdentification, }: PipelineValidationContext): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineValidationContext } from './createPipelineValidationContext';
|
|
2
|
+
/**
|
|
3
|
+
* Validates pipeline-level metadata fields.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export declare function validatePipelineMetadata({ pipeline, pipelineIdentification }: PipelineValidationContext): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineValidationContext } from './createPipelineValidationContext';
|
|
2
|
+
/**
|
|
3
|
+
* Validates all pipeline parameter declarations.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export declare function validatePipelineParameters({ pipeline, pipelineIdentification }: PipelineValidationContext): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineValidationContext } from './createPipelineValidationContext';
|
|
2
|
+
/**
|
|
3
|
+
* Validates all pipeline tasks and their per-task invariants.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `validatePipeline`
|
|
6
|
+
*/
|
|
7
|
+
export declare function validatePipelineTasks({ pipeline, pipelineIdentification }: PipelineValidationContext): void;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { string_name } from '../../../../types/string_name';
|
|
2
|
+
import type { Registered } from '../../../../utils/misc/$Register';
|
|
3
|
+
import type { LlmToolsMetadata } from '../LlmToolsMetadata';
|
|
4
|
+
/**
|
|
5
|
+
* Environment variables available for provider resolution.
|
|
6
|
+
*
|
|
7
|
+
* @private type of `$registeredLlmToolsMessage`
|
|
8
|
+
*/
|
|
9
|
+
export type AvailableEnvironmentVariables = Record<string_name, string>;
|
|
10
|
+
/**
|
|
11
|
+
* Mixed provider entry assembled from both provider registers.
|
|
12
|
+
*
|
|
13
|
+
* @private type of `$registeredLlmToolsMessage`
|
|
14
|
+
*/
|
|
15
|
+
export type RegisteredLlmToolEntry = Registered & Partial<Pick<LlmToolsMetadata, 'title' | 'envVariables'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Provider entry enriched with runtime availability and configuration flags.
|
|
18
|
+
*
|
|
19
|
+
* @private type of `$registeredLlmToolsMessage`
|
|
20
|
+
*/
|
|
21
|
+
export type RegisteredLlmToolStatus = RegisteredLlmToolEntry & {
|
|
22
|
+
readonly isMetadataAvailable: boolean;
|
|
23
|
+
readonly isInstalled: boolean;
|
|
24
|
+
readonly isFullyConfigured: boolean;
|
|
25
|
+
readonly isPartiallyConfigured: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Provider register snapshots used to build the summary.
|
|
29
|
+
*
|
|
30
|
+
* @private type of `$registeredLlmToolsMessage`
|
|
31
|
+
*/
|
|
32
|
+
export type RegisteredLlmToolRegisters = {
|
|
33
|
+
readonly registeredMetadata: ReadonlyArray<LlmToolsMetadata>;
|
|
34
|
+
readonly registeredTools: ReadonlyArray<Registered>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Message-rendering context for the registered providers summary.
|
|
38
|
+
*
|
|
39
|
+
* @private type of `$registeredLlmToolsMessage`
|
|
40
|
+
*/
|
|
41
|
+
export type RegisteredLlmToolsMessageContext = {
|
|
42
|
+
readonly env: AvailableEnvironmentVariables;
|
|
43
|
+
readonly llmToolStatuses: ReadonlyArray<RegisteredLlmToolStatus>;
|
|
44
|
+
readonly usedEnvMessage: string;
|
|
45
|
+
readonly isRunningInNode: boolean;
|
|
46
|
+
};
|
package/umd/src/llm-providers/_common/register/$registeredLlmToolsMessage/USED_ENV_FILENAME.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { string_filename } from '../../../../types/string_filename';
|
|
2
|
+
import type { $side_effect } from '../../../../utils/organization/$side_effect';
|
|
3
|
+
/**
|
|
4
|
+
* Shared state for the `.env` file used to configure LLM tools.
|
|
5
|
+
*
|
|
6
|
+
* @private internal state of `$registeredLlmToolsMessage`
|
|
7
|
+
*/
|
|
8
|
+
export declare const USED_ENV_FILENAME: {
|
|
9
|
+
set(filepath: string_filename): $side_effect;
|
|
10
|
+
createMessage(): string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AvailableEnvironmentVariables, RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Creates the configuration-status sentence for one provider.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function createRegisteredLlmToolConfigurationStatusMessage({ envVariables, isFullyConfigured, isPartiallyConfigured }: RegisteredLlmToolStatus, env: AvailableEnvironmentVariables): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Registered } from '../../../../utils/misc/$Register';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a deduplication key for a provider entry.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function createRegisteredLlmToolEntryKey({ packageName, className }: Registered): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Creates the installation-status sentence for one provider.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function createRegisteredLlmToolInstallationStatusMessage({ isMetadataAvailable, isInstalled, }: Pick<RegisteredLlmToolStatus, 'isMetadataAvailable' | 'isInstalled'>): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Registered } from '../../../../utils/misc/$Register';
|
|
2
|
+
import type { LlmToolsMetadata } from '../LlmToolsMetadata';
|
|
3
|
+
import type { AvailableEnvironmentVariables, RegisteredLlmToolEntry, RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
4
|
+
/**
|
|
5
|
+
* Builds the runtime status for one provider entry.
|
|
6
|
+
*
|
|
7
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
8
|
+
*/
|
|
9
|
+
export declare function createRegisteredLlmToolStatus({ registeredLlmToolEntry, registeredMetadata, registeredTools, env, }: {
|
|
10
|
+
readonly registeredLlmToolEntry: RegisteredLlmToolEntry;
|
|
11
|
+
readonly registeredMetadata: ReadonlyArray<LlmToolsMetadata>;
|
|
12
|
+
readonly registeredTools: ReadonlyArray<Registered>;
|
|
13
|
+
readonly env: AvailableEnvironmentVariables;
|
|
14
|
+
}): RegisteredLlmToolStatus;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RegisteredLlmToolsMessageContext } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Collects all state needed to render the provider summary.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function createRegisteredLlmToolsMessageContext(): RegisteredLlmToolsMessageContext;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AvailableEnvironmentVariables } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Reads environment variables relevant for provider configuration.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function getAvailableRegisteredLlmToolsEnvironmentVariables(isRunningInNode: boolean): AvailableEnvironmentVariables;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RegisteredLlmToolRegisters } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Takes stable snapshots of both LLM provider registers.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function getRegisteredLlmToolRegisters(): RegisteredLlmToolRegisters;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Registered } from '../../../../utils/misc/$Register';
|
|
2
|
+
/**
|
|
3
|
+
* Checks whether the given provider entry already exists in the target register list.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function hasRegisteredLlmToolEntry(registeredLlmToolEntries: ReadonlyArray<Registered>, registeredLlmToolEntry: Registered): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Registered } from '../../../../utils/misc/$Register';
|
|
2
|
+
import type { LlmToolsMetadata } from '../LlmToolsMetadata';
|
|
3
|
+
import type { RegisteredLlmToolEntry } from './RegisteredLlmToolsMessageContext';
|
|
4
|
+
/**
|
|
5
|
+
* Merges provider entries from the metadata and constructor registers.
|
|
6
|
+
*
|
|
7
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
8
|
+
*/
|
|
9
|
+
export declare function listRegisteredLlmToolEntries(registeredMetadata: ReadonlyArray<LlmToolsMetadata>, registeredTools: ReadonlyArray<Registered>): Array<RegisteredLlmToolEntry>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AvailableEnvironmentVariables, RegisteredLlmToolRegisters, RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Lists provider entries enriched with installation and configuration state.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function listRegisteredLlmToolStatuses({ registeredMetadata, registeredTools }: RegisteredLlmToolRegisters, env: AvailableEnvironmentVariables): Array<RegisteredLlmToolStatus>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AvailableEnvironmentVariables, RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Renders all provider lines in the status summary.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function renderAvailableRegisteredLlmTools(llmToolStatuses: ReadonlyArray<RegisteredLlmToolStatus>, env: AvailableEnvironmentVariables, isRunningInNode: boolean): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { string_markdown } from '../../../../types/string_markdown';
|
|
2
|
+
/**
|
|
3
|
+
* Renders the fallback message for environments with no registered providers.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function renderNoRegisteredLlmToolsMessage(usedEnvMessage: string): string_markdown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { string_markdown } from '../../../../types/string_markdown';
|
|
2
|
+
import type { RegisteredLlmToolsMessageContext } from './RegisteredLlmToolsMessageContext';
|
|
3
|
+
/**
|
|
4
|
+
* Renders the full provider status summary.
|
|
5
|
+
*
|
|
6
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
7
|
+
*/
|
|
8
|
+
export declare function renderRegisteredLlmToolsMessage({ env, llmToolStatuses, usedEnvMessage, isRunningInNode, }: RegisteredLlmToolsMessageContext): string_markdown;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AvailableEnvironmentVariables, RegisteredLlmToolStatus } from './RegisteredLlmToolsMessageContext';
|
|
2
|
+
/**
|
|
3
|
+
* Renders the list of environment variables used by at least one registered provider.
|
|
4
|
+
*
|
|
5
|
+
* @private function of `$registeredLlmToolsMessage`
|
|
6
|
+
*/
|
|
7
|
+
export declare function renderRelevantRegisteredLlmToolsEnvironmentVariables(env: AvailableEnvironmentVariables, llmToolStatuses: ReadonlyArray<RegisteredLlmToolStatus>): string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Temporary subdirectory used for agent-message runner shell scripts.
|
|
3
|
+
*
|
|
4
|
+
* @private internal constant of agent-message runtime paths
|
|
5
|
+
*/
|
|
6
|
+
export declare const AGENT_MESSAGE_SCRIPT_DIRECTORY_NAME = "agent-messages";
|
|
7
|
+
/**
|
|
8
|
+
* Builds the temporary shell script path used by one queued agent-message harness run.
|
|
9
|
+
*
|
|
10
|
+
* @param projectPath - Local agent project path containing the message queue.
|
|
11
|
+
* @param sourceFileName - Queued message filename used to name the temporary shell script.
|
|
12
|
+
* @returns Temporary shell script path.
|
|
13
|
+
* @private internal utility of agent-message runners
|
|
14
|
+
*/
|
|
15
|
+
export declare function buildAgentMessageScriptPathFromFileName(projectPath: string, sourceFileName: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Builds the live runtime log path used by one queued agent-message harness run.
|
|
18
|
+
*
|
|
19
|
+
* @param projectPath - Local agent project path containing the message queue.
|
|
20
|
+
* @param sourceFileName - Queued message filename used to name the temporary shell script.
|
|
21
|
+
* @returns Temporary live runtime log path.
|
|
22
|
+
* @private internal utility of agent-message runners
|
|
23
|
+
*/
|
|
24
|
+
export declare function buildAgentMessageRuntimeLogPathFromFileName(projectPath: string, sourceFileName: string): string;
|
|
@@ -39,7 +39,7 @@ export type ResolveAgentAvatarOptions = {
|
|
|
39
39
|
*/
|
|
40
40
|
export type ResolveAgentAvatarImageUrlOptions = ResolveAgentAvatarOptions;
|
|
41
41
|
/**
|
|
42
|
-
* Default built-in avatar visual used when an agent does not define `META IMAGE`.
|
|
42
|
+
* Default built-in avatar visual used when an agent does not define `META IMAGE`, `META AVATAR`, or `META VISUAL`.
|
|
43
43
|
*
|
|
44
44
|
* @private shared avatar contract
|
|
45
45
|
*/
|
|
@@ -76,7 +76,7 @@ export declare function resolveAgentAvatarVisualId(agent: ResolveAgentAvatarOpti
|
|
|
76
76
|
export declare function resolveAgentAvatarFallbackUrl(options: ResolveAgentAvatarOptions): string_url_image | null;
|
|
77
77
|
/**
|
|
78
78
|
* Resolve the best avatar representation for an agent, preferring explicit `META IMAGE`
|
|
79
|
-
* and otherwise returning the
|
|
79
|
+
* and otherwise returning the selected deterministic canvas visual.
|
|
80
80
|
*
|
|
81
81
|
* @private utility of `<Chat/>`
|
|
82
82
|
*/
|