@downcity/agent 1.1.32 → 1.1.43
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 +26 -84
- package/bin/agent/Agent.d.ts +208 -0
- package/bin/agent/Agent.d.ts.map +1 -0
- package/bin/agent/Agent.js +641 -0
- package/bin/agent/Agent.js.map +1 -0
- package/bin/agent/RemoteAgent.d.ts +29 -0
- package/bin/agent/RemoteAgent.d.ts.map +1 -0
- package/bin/agent/RemoteAgent.js +444 -0
- package/bin/agent/RemoteAgent.js.map +1 -0
- package/bin/config/AgentInitializer.d.ts +39 -0
- package/bin/config/AgentInitializer.d.ts.map +1 -0
- package/bin/config/AgentInitializer.js +208 -0
- package/bin/config/AgentInitializer.js.map +1 -0
- package/bin/config/Config.d.ts +16 -0
- package/bin/config/Config.d.ts.map +1 -1
- package/bin/config/Config.js +33 -67
- package/bin/config/Config.js.map +1 -1
- package/bin/config/ConfigEnvResolver.d.ts +22 -0
- package/bin/config/ConfigEnvResolver.d.ts.map +1 -0
- package/bin/config/ConfigEnvResolver.js +41 -0
- package/bin/config/ConfigEnvResolver.js.map +1 -0
- package/bin/config/Defaults.d.ts +12 -4
- package/bin/config/Defaults.d.ts.map +1 -1
- package/bin/config/Defaults.js +13 -5
- package/bin/config/Defaults.js.map +1 -1
- package/bin/config/DowncitySchema.d.ts +18 -0
- package/bin/config/DowncitySchema.d.ts.map +1 -1
- package/bin/config/DowncitySchema.js +9 -8
- package/bin/config/DowncitySchema.js.map +1 -1
- package/bin/config/EnvFile.d.ts +31 -0
- package/bin/config/EnvFile.d.ts.map +1 -0
- package/bin/config/EnvFile.js +89 -0
- package/bin/config/EnvFile.js.map +1 -0
- package/bin/config/ExecutionBinding.d.ts +24 -5
- package/bin/config/ExecutionBinding.d.ts.map +1 -1
- package/bin/config/ExecutionBinding.js +24 -5
- package/bin/config/ExecutionBinding.js.map +1 -1
- package/bin/config/Gitignore.d.ts +21 -0
- package/bin/config/Gitignore.d.ts.map +1 -0
- package/bin/config/Gitignore.js +46 -0
- package/bin/config/Gitignore.js.map +1 -0
- package/bin/config/Paths.d.ts +147 -2
- package/bin/config/Paths.d.ts.map +1 -1
- package/bin/config/Paths.js +156 -7
- package/bin/config/Paths.js.map +1 -1
- package/bin/config/PlatformPaths.d.ts +35 -0
- package/bin/config/PlatformPaths.d.ts.map +1 -0
- package/bin/config/PlatformPaths.js +49 -0
- package/bin/config/PlatformPaths.js.map +1 -0
- package/bin/executor/Executor.d.ts +172 -0
- package/bin/executor/Executor.d.ts.map +1 -0
- package/bin/executor/Executor.js +533 -0
- package/bin/executor/Executor.js.map +1 -0
- package/bin/executor/SessionRunScope.d.ts +84 -0
- package/bin/executor/SessionRunScope.d.ts.map +1 -0
- package/bin/executor/SessionRunScope.js +82 -0
- package/bin/executor/SessionRunScope.js.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts +55 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +48 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts +62 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts +54 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts +56 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.js.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +35 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.js.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.js.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.js.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts +169 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.js +204 -0
- package/bin/executor/composer/system/default/SystemDomain.js.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +7 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.js.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.js.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts +27 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts +63 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts +72 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +33 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -0
- package/bin/executor/ids/resolveSessionId.d.ts.map +1 -0
- package/bin/executor/ids/resolveSessionId.js.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts +66 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.js +48 -0
- package/bin/executor/messages/AssistantResultPersistence.js.map +1 -0
- package/bin/executor/messages/ChatMessageMarkup.d.ts +54 -0
- package/bin/executor/messages/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/executor/messages/ChatMessageMarkup.js.map +1 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.d.ts +144 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.d.ts.map +1 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.js +9 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.js.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts +14 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.js +145 -0
- package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts +41 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.js.map +1 -0
- package/bin/executor/messages/SessionMessageLog.d.ts +19 -0
- package/bin/executor/messages/SessionMessageLog.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageLog.js.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts +20 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.js.map +1 -0
- package/bin/executor/messages/UIMessageTransformer.d.ts +24 -0
- package/bin/executor/messages/UIMessageTransformer.d.ts.map +1 -0
- package/bin/executor/messages/UIMessageTransformer.js.map +1 -0
- package/bin/executor/messages/UserVisibleText.d.ts +34 -0
- package/bin/executor/messages/UserVisibleText.d.ts.map +1 -0
- package/bin/executor/messages/UserVisibleText.js.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts +119 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.js.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts +85 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts +79 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.js +288 -0
- package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts +114 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js +359 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts +26 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js +74 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.d.ts +118 -0
- package/bin/executor/tools/shell/ShellToolSchemas.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js +113 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js.map +1 -0
- package/bin/executor/tools/shell/types/Shell.d.ts.map +1 -0
- package/bin/executor/tools/shell/types/Shell.js.map +1 -0
- package/bin/executor/tools/shell/types/ShellPlugin.d.ts +216 -0
- package/bin/executor/tools/shell/types/ShellPlugin.d.ts.map +1 -0
- package/bin/executor/tools/shell/types/ShellPlugin.js +9 -0
- package/bin/executor/tools/shell/types/ShellPlugin.js.map +1 -0
- package/bin/executor/types/SessionExecutor.d.ts +18 -0
- package/bin/executor/types/SessionExecutor.d.ts.map +1 -0
- package/bin/executor/types/SessionExecutor.js.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.js.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.js.map +1 -0
- package/bin/executor/types/SessionLoop.d.ts.map +1 -0
- package/bin/executor/types/SessionLoop.js.map +1 -0
- package/bin/executor/types/SessionMessages.d.ts.map +1 -0
- package/bin/executor/types/SessionMessages.js.map +1 -0
- package/bin/executor/types/SessionPrompts.d.ts.map +1 -0
- package/bin/executor/types/SessionPrompts.js.map +1 -0
- package/bin/executor/types/SessionRun.d.ts +112 -0
- package/bin/executor/types/SessionRun.d.ts.map +1 -0
- package/bin/executor/types/SessionRun.js.map +1 -0
- package/bin/index.d.ts +34 -51
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +24 -37
- package/bin/index.js.map +1 -1
- package/bin/plugin/core/ActionScheduleExecutor.d.ts +18 -0
- package/bin/plugin/core/ActionScheduleExecutor.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleExecutor.js +49 -0
- package/bin/plugin/core/ActionScheduleExecutor.js.map +1 -0
- package/bin/plugin/core/ActionScheduleRuntime.d.ts +23 -0
- package/bin/plugin/core/ActionScheduleRuntime.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleRuntime.js +61 -0
- package/bin/plugin/core/ActionScheduleRuntime.js.map +1 -0
- package/bin/plugin/core/ActionScheduleStore.d.ts +92 -0
- package/bin/plugin/core/ActionScheduleStore.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleStore.js +287 -0
- package/bin/plugin/core/ActionScheduleStore.js.map +1 -0
- package/bin/plugin/core/ActionScheduleTime.d.ts +32 -0
- package/bin/plugin/core/ActionScheduleTime.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleTime.js +108 -0
- package/bin/plugin/core/ActionScheduleTime.js.map +1 -0
- package/bin/plugin/core/Activation.d.ts +7 -7
- package/bin/plugin/core/Activation.d.ts.map +1 -1
- package/bin/plugin/core/Activation.js +8 -7
- package/bin/plugin/core/Activation.js.map +1 -1
- package/bin/plugin/core/BasePlugin.d.ts +5 -5
- package/bin/plugin/core/BasePlugin.d.ts.map +1 -1
- package/bin/plugin/core/BasePlugin.js +2 -2
- package/bin/plugin/core/HookRegistry.d.ts +1 -1
- package/bin/plugin/core/HookRegistry.d.ts.map +1 -1
- package/bin/plugin/core/PluginActionRunner.d.ts +3 -3
- package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -1
- package/bin/plugin/core/PluginActionRunner.js +3 -4
- package/bin/plugin/core/PluginActionRunner.js.map +1 -1
- package/bin/plugin/core/PluginCatalog.d.ts +56 -0
- package/bin/plugin/core/PluginCatalog.d.ts.map +1 -0
- package/bin/plugin/core/PluginCatalog.js +137 -0
- package/bin/plugin/core/PluginCatalog.js.map +1 -0
- package/bin/plugin/core/PluginCommand.d.ts +9 -5
- package/bin/plugin/core/PluginCommand.d.ts.map +1 -1
- package/bin/plugin/core/PluginCommand.js +12 -11
- package/bin/plugin/core/PluginCommand.js.map +1 -1
- package/bin/plugin/core/PluginCommandRequest.d.ts +7 -7
- package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -1
- package/bin/plugin/core/PluginCommandRequest.js +6 -6
- package/bin/plugin/core/PluginCommandRequest.js.map +1 -1
- package/bin/plugin/core/PluginHttpRoutes.d.ts +24 -0
- package/bin/plugin/core/PluginHttpRoutes.d.ts.map +1 -0
- package/bin/plugin/core/PluginHttpRoutes.js +35 -0
- package/bin/plugin/core/PluginHttpRoutes.js.map +1 -0
- package/bin/plugin/core/PluginLocalExecution.d.ts +33 -0
- package/bin/plugin/core/PluginLocalExecution.d.ts.map +1 -0
- package/bin/plugin/core/PluginLocalExecution.js +120 -0
- package/bin/plugin/core/PluginLocalExecution.js.map +1 -0
- package/bin/plugin/core/PluginRegistry.d.ts +1 -1
- package/bin/plugin/core/PluginRegistry.d.ts.map +1 -1
- package/bin/plugin/core/PluginRegistry.js +2 -12
- package/bin/plugin/core/PluginRegistry.js.map +1 -1
- package/bin/plugin/core/PluginStateController.d.ts +2 -2
- package/bin/plugin/core/PluginStateController.d.ts.map +1 -1
- package/bin/plugin/core/PluginStateController.js +5 -6
- package/bin/plugin/core/PluginStateController.js.map +1 -1
- package/bin/plugin/core/ProjectConfigStore.d.ts +53 -0
- package/bin/plugin/core/ProjectConfigStore.d.ts.map +1 -1
- package/bin/plugin/core/ProjectConfigStore.js +52 -0
- package/bin/plugin/core/ProjectConfigStore.js.map +1 -1
- package/bin/plugin/types/ActionSchedule.d.ts +85 -0
- package/bin/plugin/types/ActionSchedule.d.ts.map +1 -0
- package/bin/plugin/types/ActionSchedule.js +10 -0
- package/bin/plugin/types/ActionSchedule.js.map +1 -0
- package/bin/plugin/types/Plugin.d.ts +23 -31
- package/bin/plugin/types/Plugin.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.d.ts +3 -3
- package/bin/plugin/types/PluginApi.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.js +1 -1
- package/bin/plugin/types/PluginState.d.ts +1 -1
- package/bin/plugin/types/PluginState.d.ts.map +1 -1
- package/bin/plugin/types/Plugins.d.ts +2 -2
- package/bin/plugin/types/Plugins.d.ts.map +1 -1
- package/bin/runtime/host/AgentHostRuntime.js +1 -1
- package/bin/runtime/host/daemon/Api.d.ts +2 -2
- package/bin/runtime/host/daemon/Api.js +1 -1
- package/bin/runtime/host/daemon/ProjectSetup.d.ts +0 -11
- package/bin/runtime/host/daemon/ProjectSetup.d.ts.map +1 -1
- package/bin/runtime/host/daemon/ProjectSetup.js +0 -45
- package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
- package/bin/runtime/sandbox/SandboxConfigResolver.d.ts +1 -1
- package/bin/runtime/sandbox/SandboxConfigResolver.d.ts.map +1 -1
- package/bin/runtime/sandbox/SandboxRunner.d.ts +1 -1
- package/bin/runtime/sandbox/SandboxRunner.d.ts.map +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.d.ts +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.js +1 -1
- package/bin/runtime/server/http/Server.d.ts +10 -10
- package/bin/runtime/server/http/Server.d.ts.map +1 -1
- package/bin/runtime/server/http/Server.js +14 -34
- package/bin/runtime/server/http/Server.js.map +1 -1
- package/bin/runtime/server/http/control/AuthControlService.d.ts +9 -5
- package/bin/runtime/server/http/control/AuthControlService.d.ts.map +1 -1
- package/bin/runtime/server/http/control/AuthControlService.js +11 -2
- package/bin/runtime/server/http/control/AuthControlService.js.map +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.js +1 -3
- package/bin/runtime/server/http/control/ControlApiRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js +1 -2
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/ControlRouter.d.ts +2 -2
- package/bin/runtime/server/http/control/ControlRouter.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts +6 -15
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.js +3 -64
- package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
- package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.js +9 -10
- package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.js +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.js +0 -12
- package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.js +43 -14
- package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/TaskStore.d.ts.map +1 -1
- package/bin/runtime/server/http/control/TaskStore.js +20 -2
- package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
- package/bin/runtime/server/http/control/types/AuthControl.d.ts +5 -5
- package/bin/runtime/server/http/control/types/AuthControl.d.ts.map +1 -1
- package/bin/runtime/server/http/control/types/ControlRoutes.d.ts +2 -2
- package/bin/runtime/server/http/control/types/ControlRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/execute/execute.d.ts +1 -1
- package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.d.ts +4 -4
- package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.js +61 -4
- package/bin/runtime/server/http/plugins/plugins.js.map +1 -1
- package/bin/runtime/server/http/sdk/Router.d.ts +2 -2
- package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/Router.js +2 -2
- package/bin/runtime/server/http/sdk/Router.js.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +2 -2
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.js +72 -13
- package/bin/runtime/server/http/sdk/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/http/static/static.d.ts +1 -1
- package/bin/runtime/server/http/static/static.d.ts.map +1 -1
- package/bin/runtime/server/rpc/Server.d.ts +4 -6
- package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
- package/bin/runtime/server/rpc/Server.js +7 -12
- package/bin/runtime/server/rpc/Server.js.map +1 -1
- package/bin/runtime/transport/rpc/Paths.d.ts.map +1 -1
- package/bin/runtime/transport/rpc/Paths.js +1 -14
- package/bin/runtime/transport/rpc/Paths.js.map +1 -1
- package/bin/session/Session.d.ts +176 -0
- package/bin/session/Session.d.ts.map +1 -0
- package/bin/session/Session.js +503 -0
- package/bin/session/Session.js.map +1 -0
- package/bin/session/SessionEventMapper.d.ts.map +1 -0
- package/bin/session/SessionEventMapper.js.map +1 -0
- package/bin/session/SessionSystemBuilder.d.ts +106 -0
- package/bin/session/SessionSystemBuilder.d.ts.map +1 -0
- package/bin/session/SessionSystemBuilder.js +147 -0
- package/bin/session/SessionSystemBuilder.js.map +1 -0
- package/bin/session/browse/Browse.d.ts +76 -0
- package/bin/session/browse/Browse.d.ts.map +1 -0
- package/bin/session/browse/Browse.js +418 -0
- package/bin/session/browse/Browse.js.map +1 -0
- package/bin/session/index.d.ts +14 -0
- package/bin/session/index.d.ts.map +1 -0
- package/bin/session/index.js +14 -0
- package/bin/session/index.js.map +1 -0
- package/bin/session/runtime/SessionEventHub.d.ts +24 -0
- package/bin/session/runtime/SessionEventHub.d.ts.map +1 -0
- package/bin/session/runtime/SessionEventHub.js.map +1 -0
- package/bin/session/runtime/SessionPromptRuntime.d.ts +71 -0
- package/bin/session/runtime/SessionPromptRuntime.d.ts.map +1 -0
- package/bin/session/runtime/SessionPromptRuntime.js.map +1 -0
- package/bin/session/storage/Metadata.d.ts +55 -0
- package/bin/session/storage/Metadata.d.ts.map +1 -0
- package/bin/session/storage/Metadata.js +140 -0
- package/bin/session/storage/Metadata.js.map +1 -0
- package/bin/session/storage/Paths.d.ts.map +1 -0
- package/bin/session/storage/Paths.js.map +1 -0
- package/bin/session/storage/Persistence.d.ts +63 -0
- package/bin/session/storage/Persistence.d.ts.map +1 -0
- package/bin/session/storage/Persistence.js +52 -0
- package/bin/session/storage/Persistence.js.map +1 -0
- package/bin/session/storage/RuntimeSessionPort.d.ts +70 -0
- package/bin/session/storage/RuntimeSessionPort.d.ts.map +1 -0
- package/bin/session/storage/RuntimeSessionPort.js +40 -0
- package/bin/session/storage/RuntimeSessionPort.js.map +1 -0
- package/bin/types/agent/AgentTypes.d.ts +636 -0
- package/bin/types/agent/AgentTypes.d.ts.map +1 -0
- package/bin/types/agent/AgentTypes.js +10 -0
- package/bin/types/agent/AgentTypes.js.map +1 -0
- package/bin/types/common/EnvFile.d.ts +30 -0
- package/bin/types/common/EnvFile.d.ts.map +1 -0
- package/bin/types/common/EnvFile.js +10 -0
- package/bin/types/common/EnvFile.js.map +1 -0
- package/bin/types/common/ResolvedConfigValue.d.ts +12 -0
- package/bin/types/common/ResolvedConfigValue.d.ts.map +1 -0
- package/bin/types/common/ResolvedConfigValue.js +2 -0
- package/bin/types/common/ResolvedConfigValue.js.map +1 -0
- package/bin/types/config/AgentProject.d.ts +80 -0
- package/bin/types/config/AgentProject.d.ts.map +1 -0
- package/bin/types/config/AgentProject.js.map +1 -0
- package/bin/types/config/DowncityConfig.d.ts +132 -96
- package/bin/types/config/DowncityConfig.d.ts.map +1 -1
- package/bin/types/runtime/agent/AgentContext.d.ts +244 -0
- package/bin/types/runtime/agent/AgentContext.d.ts.map +1 -0
- package/bin/types/runtime/agent/AgentContext.js +13 -0
- package/bin/types/runtime/agent/AgentContext.js.map +1 -0
- package/bin/types/runtime/agent/AgentRuntime.d.ts +79 -0
- package/bin/types/runtime/agent/AgentRuntime.d.ts.map +1 -0
- package/bin/types/runtime/agent/AgentRuntime.js +13 -0
- package/bin/types/runtime/agent/AgentRuntime.js.map +1 -0
- package/bin/types/runtime/host/AgentHost.d.ts +2 -122
- package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
- package/bin/types/runtime/host/AgentHost.js +2 -2
- package/bin/types/runtime/http/InlineInstant.d.ts +2 -2
- package/bin/types/runtime/http/InlineInstant.d.ts.map +1 -1
- package/bin/types/runtime/platform/PlatformGateway.d.ts +10 -10
- package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts +1 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionTurn.d.ts +1 -1
- package/bin/types/sdk/AgentSessionTurn.d.ts.map +1 -1
- package/bin/utils/object/DeepMerge.d.ts +18 -0
- package/bin/utils/object/DeepMerge.d.ts.map +1 -0
- package/bin/utils/object/DeepMerge.js +37 -0
- package/bin/utils/object/DeepMerge.js.map +1 -0
- package/bin/utils/object/ObjectGuards.d.ts +17 -0
- package/bin/utils/object/ObjectGuards.d.ts.map +1 -0
- package/bin/utils/object/ObjectGuards.js +19 -0
- package/bin/utils/object/ObjectGuards.js.map +1 -0
- package/bin/utils/path/AncestorFiles.d.ts +17 -0
- package/bin/utils/path/AncestorFiles.d.ts.map +1 -0
- package/bin/utils/path/AncestorFiles.js +36 -0
- package/bin/utils/path/AncestorFiles.js.map +1 -0
- package/bin/utils/string/EscapeRegExp.d.ts +17 -0
- package/bin/utils/string/EscapeRegExp.d.ts.map +1 -0
- package/bin/utils/string/EscapeRegExp.js +19 -0
- package/bin/utils/string/EscapeRegExp.js.map +1 -0
- package/package.json +8 -2
- package/scripts/session-prompt-runtime.test.mjs +30 -10
- package/src/agent/Agent.ts +748 -0
- package/src/agent/RemoteAgent.ts +621 -0
- package/src/config/AgentInitializer.ts +262 -0
- package/src/config/Config.ts +37 -82
- package/src/config/ConfigEnvResolver.ts +52 -0
- package/src/config/Defaults.ts +13 -5
- package/src/config/DowncitySchema.ts +20 -8
- package/src/config/EnvFile.ts +99 -0
- package/src/config/ExecutionBinding.ts +24 -5
- package/src/config/Gitignore.ts +52 -0
- package/src/config/Paths.ts +156 -7
- package/src/config/PlatformPaths.ts +53 -0
- package/src/executor/Executor.ts +732 -0
- package/src/executor/README.md +108 -0
- package/src/executor/SessionRunScope.ts +146 -0
- package/src/executor/composer/compaction/SessionCompactionComposer.ts +62 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +101 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
- package/src/executor/composer/context/LocalSessionContextComposer.ts +168 -0
- package/src/executor/composer/context/SessionContextComposer.ts +70 -0
- package/src/executor/composer/history/SessionHistoryComposer.ts +62 -0
- package/src/executor/composer/history/SessionHistoryWriter.ts +131 -0
- package/src/executor/composer/history/jsonl/JsonlSessionHistoryComposer.ts +126 -0
- package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +77 -0
- package/src/executor/composer/system/default/InitPromptAssets.ts +20 -0
- package/src/executor/composer/system/default/InitPrompts.ts +11 -0
- package/src/executor/composer/system/default/PromptRenderer.ts +52 -0
- package/src/executor/composer/system/default/StaticPromptCatalog.ts +287 -0
- package/src/executor/composer/system/default/SystemDomain.ts +357 -0
- package/src/executor/composer/system/default/SystemPromptAssets.ts +26 -0
- package/src/executor/composer/system/default/assets/core.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/init/PROFILE.md.ts +9 -0
- package/src/executor/composer/system/default/assets/init/SOUL.md.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +29 -0
- package/src/executor/composer/system/default/assets/task.prompt.ts +9 -0
- package/src/executor/composer/system/default/variables/GeoContext.ts +180 -0
- package/src/executor/composer/system/default/variables/VariableReplacer.ts +154 -0
- package/src/executor/core-engine/CoreEngineLoopDecision.ts +80 -0
- package/src/executor/core-engine/CoreEngineMessageState.ts +133 -0
- package/src/executor/core-engine/CoreEngineSignals.ts +416 -0
- package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +96 -0
- package/src/executor/messages/AssistantResultPersistence.ts +111 -0
- package/src/executor/messages/ChatMessageMarkup.ts +263 -0
- package/src/executor/messages/ChatMessageMarkupTypes.ts +168 -0
- package/src/executor/messages/SessionAttachmentMapper.ts +155 -0
- package/src/executor/messages/SessionMessageCodec.ts +116 -0
- package/src/executor/messages/SessionMessageLog.ts +39 -0
- package/src/executor/messages/SessionStepEventMapper.ts +233 -0
- package/src/executor/messages/UIMessageTransformer.ts +141 -0
- package/src/executor/messages/UserVisibleText.ts +84 -0
- package/src/executor/store/history/SessionHistoryStore.ts +145 -0
- package/src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts +500 -0
- package/src/executor/tools/shell/ShellToolBridge.ts +378 -0
- package/src/executor/tools/shell/ShellToolDefinition.ts +509 -0
- package/src/executor/tools/shell/ShellToolFormatting.ts +83 -0
- package/src/executor/tools/shell/ShellToolSchemas.ts +120 -0
- package/src/executor/tools/shell/types/ShellPlugin.ts +233 -0
- package/src/executor/types/SessionExecutor.ts +33 -0
- package/src/executor/types/SessionRun.ts +132 -0
- package/src/index.ts +75 -102
- package/src/plugin/core/ActionScheduleExecutor.ts +58 -0
- package/src/plugin/core/ActionScheduleRuntime.ts +82 -0
- package/src/plugin/core/ActionScheduleStore.ts +371 -0
- package/src/plugin/core/ActionScheduleTime.ts +132 -0
- package/src/plugin/core/Activation.ts +12 -10
- package/src/plugin/core/BasePlugin.ts +5 -5
- package/src/plugin/core/HookRegistry.ts +1 -1
- package/src/plugin/core/PluginActionRunner.ts +8 -9
- package/src/plugin/core/PluginCatalog.ts +178 -0
- package/src/plugin/core/PluginCommand.ts +22 -12
- package/src/plugin/core/PluginCommandRequest.ts +11 -11
- package/src/plugin/core/PluginHttpRoutes.ts +47 -0
- package/src/plugin/core/PluginLocalExecution.ts +155 -0
- package/src/plugin/core/PluginRegistry.ts +3 -23
- package/src/plugin/core/PluginStateController.ts +7 -12
- package/src/plugin/core/ProjectConfigStore.ts +97 -0
- package/src/plugin/types/ActionSchedule.ts +94 -0
- package/src/plugin/types/Plugin.ts +23 -32
- package/src/plugin/types/PluginApi.ts +3 -3
- package/src/plugin/types/PluginState.ts +0 -5
- package/src/plugin/types/Plugins.ts +2 -2
- package/src/runtime/host/AgentHostRuntime.ts +1 -1
- package/src/runtime/host/daemon/Api.ts +2 -2
- package/src/runtime/host/daemon/ProjectSetup.ts +0 -53
- package/src/runtime/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/runtime/sandbox/SandboxRunner.ts +1 -1
- package/src/runtime/sandbox/types/SandboxRuntime.ts +1 -1
- package/src/runtime/server/http/Server.ts +27 -59
- package/src/runtime/server/http/control/AuthControlService.ts +37 -29
- package/src/runtime/server/http/control/ControlApiRoutes.ts +1 -3
- package/src/runtime/server/http/control/ControlAuthorizationRoutes.ts +6 -11
- package/src/runtime/server/http/control/ControlRouter.ts +2 -2
- package/src/runtime/server/http/control/ExecuteBySession.ts +5 -70
- package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
- package/src/runtime/server/http/control/MessageTimeline.ts +3 -3
- package/src/runtime/server/http/control/OverviewRoutes.ts +10 -10
- package/src/runtime/server/http/control/SessionRoutes.ts +1 -1
- package/src/runtime/server/http/control/SessionSummaryStore.ts +1 -13
- package/src/runtime/server/http/control/TaskRoutes.ts +59 -14
- package/src/runtime/server/http/control/TaskStore.ts +22 -2
- package/src/runtime/server/http/control/types/AuthControl.ts +5 -9
- package/src/runtime/server/http/control/types/ControlRoutes.ts +2 -2
- package/src/runtime/server/http/execute/execute.ts +1 -1
- package/src/runtime/server/http/plugins/plugins.ts +72 -5
- package/src/runtime/server/http/sdk/Router.ts +3 -3
- package/src/runtime/server/http/sdk/SessionRoutes.ts +82 -14
- package/src/runtime/server/http/static/static.ts +1 -1
- package/src/runtime/server/rpc/Server.ts +15 -22
- package/src/runtime/transport/rpc/Paths.ts +1 -14
- package/src/session/Session.ts +671 -0
- package/src/session/SessionSystemBuilder.ts +259 -0
- package/src/session/browse/Browse.ts +519 -0
- package/src/session/index.ts +45 -0
- package/src/session/runtime/SessionPromptRuntime.ts +302 -0
- package/src/session/storage/Metadata.ts +196 -0
- package/src/session/storage/Persistence.ts +113 -0
- package/src/session/storage/RuntimeSessionPort.ts +107 -0
- package/src/types/agent/AgentTypes.ts +735 -0
- package/src/types/common/EnvFile.ts +31 -0
- package/src/types/common/ResolvedConfigValue.ts +16 -0
- package/src/types/config/DowncityConfig.ts +143 -96
- package/src/types/runtime/agent/AgentContext.ts +272 -0
- package/src/types/runtime/agent/AgentRuntime.ts +84 -0
- package/src/types/runtime/host/AgentHost.ts +2 -140
- package/src/types/runtime/http/InlineInstant.ts +2 -2
- package/src/types/runtime/platform/PlatformGateway.ts +10 -10
- package/src/types/sdk/AgentSessionEvent.ts +1 -1
- package/src/types/sdk/AgentSessionTurn.ts +1 -1
- package/src/utils/object/DeepMerge.ts +40 -0
- package/src/utils/object/ObjectGuards.ts +19 -0
- package/src/utils/path/AncestorFiles.ts +40 -0
- package/src/utils/string/EscapeRegExp.ts +19 -0
- package/tsconfig.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/config/project/AgentInitializer.d.ts +0 -39
- package/bin/config/project/AgentInitializer.d.ts.map +0 -1
- package/bin/config/project/AgentInitializer.js +0 -339
- package/bin/config/project/AgentInitializer.js.map +0 -1
- package/bin/config/project/types/AgentProject.d.ts +0 -80
- package/bin/config/project/types/AgentProject.d.ts.map +0 -1
- package/bin/config/project/types/AgentProject.js.map +0 -1
- package/bin/core/AgentContextTypes.d.ts +0 -272
- package/bin/core/AgentContextTypes.d.ts.map +0 -1
- package/bin/core/AgentContextTypes.js +0 -10
- package/bin/core/AgentContextTypes.js.map +0 -1
- package/bin/core/AgentCore.d.ts +0 -88
- package/bin/core/AgentCore.d.ts.map +0 -1
- package/bin/core/AgentCore.js +0 -469
- package/bin/core/AgentCore.js.map +0 -1
- package/bin/core/AgentCoreTypes.d.ts +0 -84
- package/bin/core/AgentCoreTypes.d.ts.map +0 -1
- package/bin/core/AgentCoreTypes.js +0 -10
- package/bin/core/AgentCoreTypes.js.map +0 -1
- package/bin/plugin/builtins/asr/Config.d.ts +0 -43
- package/bin/plugin/builtins/asr/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Config.js +0 -107
- package/bin/plugin/builtins/asr/Config.js.map +0 -1
- package/bin/plugin/builtins/asr/Dependency.d.ts +0 -77
- package/bin/plugin/builtins/asr/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Dependency.js +0 -238
- package/bin/plugin/builtins/asr/Dependency.js.map +0 -1
- package/bin/plugin/builtins/asr/InboundAugment.d.ts +0 -17
- package/bin/plugin/builtins/asr/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/InboundAugment.js +0 -47
- package/bin/plugin/builtins/asr/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/asr/ModelCatalog.d.ts +0 -29
- package/bin/plugin/builtins/asr/ModelCatalog.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/ModelCatalog.js +0 -25
- package/bin/plugin/builtins/asr/ModelCatalog.js.map +0 -1
- package/bin/plugin/builtins/asr/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/asr/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Plugin.js +0 -462
- package/bin/plugin/builtins/asr/Plugin.js.map +0 -1
- package/bin/plugin/builtins/auth/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/auth/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/Plugin.js +0 -181
- package/bin/plugin/builtins/auth/Plugin.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +0 -41
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js +0 -187
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +0 -30
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js +0 -123
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +0 -29
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js +0 -178
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js.map +0 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +0 -407
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.js +0 -115
- package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/Action.d.ts +0 -125
- package/bin/plugin/builtins/chat/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/Action.js +0 -376
- package/bin/plugin/builtins/chat/Action.js.map +0 -1
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts +0 -89
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/ChatPlugin.js +0 -212
- package/bin/plugin/builtins/chat/ChatPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +0 -159
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/ChatPluginTypes.js +0 -10
- package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +0 -1
- package/bin/plugin/builtins/chat/Index.d.ts +0 -9
- package/bin/plugin/builtins/chat/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/Index.js +0 -9
- package/bin/plugin/builtins/chat/Index.js.map +0 -1
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts +0 -63
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js +0 -258
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +0 -294
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +0 -237
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +0 -32
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts +0 -27
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/Configuration.js +0 -19
- package/bin/plugin/builtins/chat/channels/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +0 -31
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js +0 -147
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +0 -326
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js +0 -43
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -316
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js +0 -222
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js +0 -413
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js +0 -56
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +0 -21
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js +0 -69
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.js +0 -112
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +0 -92
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQ.js +0 -287
- package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js +0 -67
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js +0 -186
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js +0 -381
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js +0 -110
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -59
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js +0 -120
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js +0 -137
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.js +0 -235
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js +0 -108
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js +0 -284
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -20
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js +0 -86
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +0 -172
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js +0 -299
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +0 -42
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -82
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -9
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts +0 -99
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js +0 -306
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +0 -97
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js +0 -246
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js +0 -71
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts +0 -42
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.js +0 -45
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js +0 -57
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts +0 -221
- package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js +0 -171
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts +0 -27
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.js +0 -53
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -46
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js +0 -148
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -125
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -366
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js +0 -336
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +0 -287
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +0 -114
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -33
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js +0 -66
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +0 -230
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +0 -260
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +0 -106
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +0 -12
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js +0 -219
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +0 -44
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +0 -51
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +0 -143
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +0 -17
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +0 -304
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +0 -5
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +0 -5
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +0 -44
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +0 -28
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +0 -40
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueue.js +0 -52
- package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -168
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +0 -130
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -83
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +0 -406
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -101
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +0 -205
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js +0 -130
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js +0 -26
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +0 -97
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSession.js +0 -84
- package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +0 -76
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js +0 -9
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +0 -147
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +0 -133
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +0 -28
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +0 -21
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js +0 -50
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +0 -57
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +0 -78
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js +0 -78
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js +0 -40
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js +0 -74
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +0 -51
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +0 -70
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +0 -1
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts +0 -97
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/BotInfo.js +0 -9
- package/bin/plugin/builtins/chat/types/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts +0 -226
- package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelAccount.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +0 -107
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelContext.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelContext.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +0 -88
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelStatus.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatCommand.d.ts +0 -163
- package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatCommand.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatCommand.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts +0 -37
- package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatDispatcher.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +0 -36
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatHistory.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatHistory.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +0 -34
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMeta.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatMeta.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +0 -238
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPlugin.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +0 -145
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +0 -125
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPromptContext.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +0 -36
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueue.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts +0 -25
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +0 -32
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatRuntime.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +0 -1
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +0 -115
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/DirectDispatch.js +0 -9
- package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts +0 -42
- package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuAttachment.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuPost.d.ts +0 -287
- package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuPost.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuPost.js.map +0 -1
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts +0 -12
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.js +0 -2
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +0 -1
- package/bin/plugin/builtins/chat/types/QqVoice.d.ts +0 -118
- package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/QqVoice.js +0 -9
- package/bin/plugin/builtins/chat/types/QqVoice.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ReplyContext.d.ts +0 -46
- package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ReplyContext.js +0 -10
- package/bin/plugin/builtins/chat/types/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/contact/Action.d.ts +0 -62
- package/bin/plugin/builtins/contact/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/Action.js +0 -221
- package/bin/plugin/builtins/contact/Action.js.map +0 -1
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts +0 -39
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/ContactPlugin.js +0 -409
- package/bin/plugin/builtins/contact/ContactPlugin.js.map +0 -1
- package/bin/plugin/builtins/contact/Index.d.ts +0 -8
- package/bin/plugin/builtins/contact/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/Index.js +0 -8
- package/bin/plugin/builtins/contact/Index.js.map +0 -1
- package/bin/plugin/builtins/contact/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/contact/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/PROMPT.js +0 -8
- package/bin/plugin/builtins/contact/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.js +0 -83
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +0 -60
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts +0 -17
- package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPayload.js +0 -23
- package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +0 -13
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +0 -49
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactStore.js +0 -255
- package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.js +0 -98
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts +0 -36
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.js +0 -113
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +0 -33
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/InboxStore.js +0 -142
- package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +0 -20
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkApproval.js +0 -317
- package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +0 -21
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkCode.js +0 -61
- package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +0 -17
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkStore.js +0 -39
- package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts +0 -64
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Paths.js +0 -103
- package/bin/plugin/builtins/contact/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +0 -46
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js +0 -120
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +0 -65
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ShareBundle.js +0 -185
- package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +0 -5
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js +0 -15
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Token.d.ts +0 -24
- package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Token.js +0 -36
- package/bin/plugin/builtins/contact/runtime/Token.js.map +0 -1
- package/bin/plugin/builtins/contact/types/Contact.d.ts +0 -78
- package/bin/plugin/builtins/contact/types/Contact.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/Contact.js +0 -9
- package/bin/plugin/builtins/contact/types/Contact.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactApproval.d.ts +0 -145
- package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactApproval.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactApproval.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactChat.d.ts +0 -46
- package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactChat.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactChat.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +0 -66
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCheck.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactCheck.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +0 -93
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCommand.js +0 -8
- package/bin/plugin/builtins/contact/types/ContactCommand.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts +0 -12
- package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactEndpoint.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactLink.d.ts +0 -160
- package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactLink.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactLink.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactShare.d.ts +0 -163
- package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactShare.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactShare.js.map +0 -1
- package/bin/plugin/builtins/memory/Action.d.ts +0 -37
- package/bin/plugin/builtins/memory/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/Action.js +0 -111
- package/bin/plugin/builtins/memory/Action.js.map +0 -1
- package/bin/plugin/builtins/memory/Index.d.ts +0 -9
- package/bin/plugin/builtins/memory/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/Index.js +0 -9
- package/bin/plugin/builtins/memory/Index.js.map +0 -1
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +0 -45
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/MemoryPlugin.js +0 -242
- package/bin/plugin/builtins/memory/MemoryPlugin.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts +0 -15
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Flush.js +0 -63
- package/bin/plugin/builtins/memory/runtime/Flush.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Search.d.ts +0 -19
- package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Search.js +0 -268
- package/bin/plugin/builtins/memory/runtime/Search.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Store.d.ts +0 -65
- package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Store.js +0 -142
- package/bin/plugin/builtins/memory/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +0 -22
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js +0 -126
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts +0 -23
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Writer.js +0 -139
- package/bin/plugin/builtins/memory/runtime/Writer.js.map +0 -1
- package/bin/plugin/builtins/memory/types/Memory.d.ts +0 -264
- package/bin/plugin/builtins/memory/types/Memory.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/types/Memory.js +0 -9
- package/bin/plugin/builtins/memory/types/Memory.js.map +0 -1
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +0 -39
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/schedule/SchedulePlugin.js +0 -106
- package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +0 -1
- package/bin/plugin/builtins/shell/Index.d.ts +0 -9
- package/bin/plugin/builtins/shell/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/Index.js +0 -9
- package/bin/plugin/builtins/shell/Index.js.map +0 -1
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts +0 -65
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/ShellPlugin.js +0 -138
- package/bin/plugin/builtins/shell/ShellPlugin.js.map +0 -1
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +0 -10
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/Paths.d.ts +0 -12
- package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/Paths.js +0 -21
- package/bin/plugin/builtins/shell/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js +0 -73
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +0 -440
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -312
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js +0 -41
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -21
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
- package/bin/plugin/builtins/shell/types/Shell.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/types/Shell.js.map +0 -1
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts +0 -216
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/types/ShellPlugin.js +0 -9
- package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +0 -1
- package/bin/plugin/builtins/skill/Action.d.ts +0 -34
- package/bin/plugin/builtins/skill/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Action.js +0 -122
- package/bin/plugin/builtins/skill/Action.js.map +0 -1
- package/bin/plugin/builtins/skill/Command.d.ts +0 -37
- package/bin/plugin/builtins/skill/Command.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Command.js +0 -70
- package/bin/plugin/builtins/skill/Command.js.map +0 -1
- package/bin/plugin/builtins/skill/Config.d.ts +0 -18
- package/bin/plugin/builtins/skill/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Config.js +0 -37
- package/bin/plugin/builtins/skill/Config.js.map +0 -1
- package/bin/plugin/builtins/skill/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/skill/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/PROMPT.js +0 -8
- package/bin/plugin/builtins/skill/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/skill/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/skill/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Plugin.js +0 -301
- package/bin/plugin/builtins/skill/Plugin.js.map +0 -1
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/SkillPromptAssets.js +0 -13
- package/bin/plugin/builtins/skill/SkillPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts +0 -25
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Discovery.js +0 -130
- package/bin/plugin/builtins/skill/runtime/Discovery.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts +0 -6
- package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Frontmatter.js +0 -12
- package/bin/plugin/builtins/skill/runtime/Frontmatter.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts +0 -16
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Paths.js +0 -111
- package/bin/plugin/builtins/skill/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts +0 -19
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Prompt.js +0 -54
- package/bin/plugin/builtins/skill/runtime/Prompt.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Store.d.ts +0 -25
- package/bin/plugin/builtins/skill/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Store.js +0 -81
- package/bin/plugin/builtins/skill/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +0 -24
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js +0 -33
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Types.d.ts +0 -21
- package/bin/plugin/builtins/skill/runtime/Types.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Types.js +0 -2
- package/bin/plugin/builtins/skill/runtime/Types.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Utils.d.ts +0 -4
- package/bin/plugin/builtins/skill/runtime/Utils.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Utils.js +0 -29
- package/bin/plugin/builtins/skill/runtime/Utils.js.map +0 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +0 -63
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.js +0 -10
- package/bin/plugin/builtins/skill/types/ClaudeSkill.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillCommand.d.ts +0 -87
- package/bin/plugin/builtins/skill/types/SkillCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillCommand.js +0 -9
- package/bin/plugin/builtins/skill/types/SkillCommand.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts +0 -102
- package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillPlugin.js +0 -29
- package/bin/plugin/builtins/skill/types/SkillPlugin.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillRoot.d.ts +0 -48
- package/bin/plugin/builtins/skill/types/SkillRoot.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillRoot.js +0 -9
- package/bin/plugin/builtins/skill/types/SkillRoot.js.map +0 -1
- package/bin/plugin/builtins/task/Action.d.ts +0 -36
- package/bin/plugin/builtins/task/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Action.js +0 -407
- package/bin/plugin/builtins/task/Action.js.map +0 -1
- package/bin/plugin/builtins/task/Index.d.ts +0 -9
- package/bin/plugin/builtins/task/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Index.js +0 -9
- package/bin/plugin/builtins/task/Index.js.map +0 -1
- package/bin/plugin/builtins/task/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/task/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/task/PROMPT.js +0 -8
- package/bin/plugin/builtins/task/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/task/Scheduler.d.ts +0 -17
- package/bin/plugin/builtins/task/Scheduler.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Scheduler.js +0 -231
- package/bin/plugin/builtins/task/Scheduler.js.map +0 -1
- package/bin/plugin/builtins/task/TaskPlugin.d.ts +0 -57
- package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/task/TaskPlugin.js +0 -126
- package/bin/plugin/builtins/task/TaskPlugin.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +0 -19
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/CronTrigger.js +0 -93
- package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts +0 -13
- package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Frontmatter.js +0 -19
- package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Model.d.ts +0 -73
- package/bin/plugin/builtins/task/runtime/Model.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Model.js +0 -312
- package/bin/plugin/builtins/task/runtime/Model.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Paths.d.ts +0 -32
- package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Paths.js +0 -103
- package/bin/plugin/builtins/task/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Runner.d.ts +0 -43
- package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Runner.js +0 -440
- package/bin/plugin/builtins/task/runtime/Runner.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Store.d.ts +0 -89
- package/bin/plugin/builtins/task/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Store.js +0 -206
- package/bin/plugin/builtins/task/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +0 -192
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +0 -19
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js +0 -218
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +0 -16
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +0 -167
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +0 -5
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +0 -5
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +0 -9
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +0 -9
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +0 -13
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js +0 -271
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js +0 -95
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +0 -272
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js +0 -96
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +0 -153
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js +0 -9
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
- package/bin/plugin/builtins/task/types/Cron.d.ts +0 -16
- package/bin/plugin/builtins/task/types/Cron.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/Cron.js +0 -2
- package/bin/plugin/builtins/task/types/Cron.js.map +0 -1
- package/bin/plugin/builtins/task/types/Task.d.ts +0 -146
- package/bin/plugin/builtins/task/types/Task.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/Task.js +0 -9
- package/bin/plugin/builtins/task/types/Task.js.map +0 -1
- package/bin/plugin/builtins/task/types/TaskCommand.d.ts +0 -147
- package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/TaskCommand.js +0 -9
- package/bin/plugin/builtins/task/types/TaskCommand.js.map +0 -1
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +0 -52
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js +0 -9
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +0 -1
- package/bin/plugin/builtins/tts/Dependency.d.ts +0 -90
- package/bin/plugin/builtins/tts/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/Dependency.js +0 -344
- package/bin/plugin/builtins/tts/Dependency.js.map +0 -1
- package/bin/plugin/builtins/tts/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/tts/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/Plugin.js +0 -472
- package/bin/plugin/builtins/tts/Plugin.js.map +0 -1
- package/bin/plugin/builtins/tts/PluginSupport.d.ts +0 -25
- package/bin/plugin/builtins/tts/PluginSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/PluginSupport.js +0 -72
- package/bin/plugin/builtins/tts/PluginSupport.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts +0 -21
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Catalog.js +0 -90
- package/bin/plugin/builtins/tts/runtime/Catalog.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts +0 -143
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js +0 -261
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts +0 -89
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Installer.js +0 -188
- package/bin/plugin/builtins/tts/runtime/Installer.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Paths.d.ts +0 -20
- package/bin/plugin/builtins/tts/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Paths.js +0 -32
- package/bin/plugin/builtins/tts/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts +0 -44
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js +0 -363
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +0 -1
- package/bin/plugin/builtins/tts/types/Tts.d.ts +0 -91
- package/bin/plugin/builtins/tts/types/Tts.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/types/Tts.js +0 -9
- package/bin/plugin/builtins/tts/types/Tts.js.map +0 -1
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +0 -161
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/types/TtsPlugin.js +0 -9
- package/bin/plugin/builtins/tts/types/TtsPlugin.js.map +0 -1
- package/bin/plugin/builtins/voice/Config.d.ts +0 -43
- package/bin/plugin/builtins/voice/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/Config.js +0 -104
- package/bin/plugin/builtins/voice/Config.js.map +0 -1
- package/bin/plugin/builtins/voice/Dependency.d.ts +0 -77
- package/bin/plugin/builtins/voice/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/Dependency.js +0 -237
- package/bin/plugin/builtins/voice/Dependency.js.map +0 -1
- package/bin/plugin/builtins/voice/InboundAugment.d.ts +0 -17
- package/bin/plugin/builtins/voice/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/InboundAugment.js +0 -47
- package/bin/plugin/builtins/voice/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/voice/ModelCatalog.d.ts +0 -29
- package/bin/plugin/builtins/voice/ModelCatalog.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/ModelCatalog.js +0 -25
- package/bin/plugin/builtins/voice/ModelCatalog.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts +0 -18
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Catalog.js +0 -61
- package/bin/plugin/builtins/voice/runtime/Catalog.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts +0 -145
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js +0 -309
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts +0 -94
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Installer.js +0 -200
- package/bin/plugin/builtins/voice/runtime/Installer.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Paths.d.ts +0 -8
- package/bin/plugin/builtins/voice/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Paths.js +0 -26
- package/bin/plugin/builtins/voice/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts +0 -57
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Transcriber.js +0 -329
- package/bin/plugin/builtins/voice/runtime/Transcriber.js.map +0 -1
- package/bin/plugin/builtins/voice/types/Voice.d.ts +0 -58
- package/bin/plugin/builtins/voice/types/Voice.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/types/Voice.js +0 -9
- package/bin/plugin/builtins/voice/types/Voice.js.map +0 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +0 -190
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.js +0 -9
- package/bin/plugin/builtins/voice/types/VoicePlugin.js.map +0 -1
- package/bin/plugin/builtins/web/Dependency.d.ts +0 -10
- package/bin/plugin/builtins/web/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/web/Dependency.js +0 -10
- package/bin/plugin/builtins/web/Dependency.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.web-access.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.web-access.js.map +0 -1
- package/bin/plugin/builtins/web/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/web/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/web/Plugin.js +0 -459
- package/bin/plugin/builtins/web/Plugin.js.map +0 -1
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts +0 -20
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/web/WebPromptAssets.js +0 -23
- package/bin/plugin/builtins/web/WebPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/web/runtime/Config.d.ts +0 -21
- package/bin/plugin/builtins/web/runtime/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/web/runtime/Config.js +0 -79
- package/bin/plugin/builtins/web/runtime/Config.js.map +0 -1
- package/bin/plugin/builtins/web/runtime/Source.d.ts +0 -29
- package/bin/plugin/builtins/web/runtime/Source.d.ts.map +0 -1
- package/bin/plugin/builtins/web/runtime/Source.js +0 -209
- package/bin/plugin/builtins/web/runtime/Source.js.map +0 -1
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts +0 -133
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/web/types/WebPlugin.js +0 -12
- package/bin/plugin/builtins/web/types/WebPlugin.js.map +0 -1
- package/bin/plugin/builtins/workboard/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/workboard/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/Plugin.js +0 -71
- package/bin/plugin/builtins/workboard/Plugin.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +0 -14
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.js +0 -63
- package/bin/plugin/builtins/workboard/runtime/Collector.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +0 -61
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js +0 -172
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts +0 -48
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Store.js +0 -84
- package/bin/plugin/builtins/workboard/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/workboard/types/Workboard.d.ts +0 -150
- package/bin/plugin/builtins/workboard/types/Workboard.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/types/Workboard.js +0 -9
- package/bin/plugin/builtins/workboard/types/Workboard.js.map +0 -1
- package/bin/plugin/core/BuiltinPluginClasses.d.ts +0 -14
- package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +0 -1
- package/bin/plugin/core/BuiltinPluginClasses.js +0 -21
- package/bin/plugin/core/BuiltinPluginClasses.js.map +0 -1
- package/bin/plugin/core/Catalog.d.ts +0 -42
- package/bin/plugin/core/Catalog.d.ts.map +0 -1
- package/bin/plugin/core/Catalog.js +0 -92
- package/bin/plugin/core/Catalog.js.map +0 -1
- package/bin/plugin/core/HttpRoutes.d.ts +0 -22
- package/bin/plugin/core/HttpRoutes.d.ts.map +0 -1
- package/bin/plugin/core/HttpRoutes.js +0 -37
- package/bin/plugin/core/HttpRoutes.js.map +0 -1
- package/bin/plugin/core/LocalExecution.d.ts +0 -32
- package/bin/plugin/core/LocalExecution.d.ts.map +0 -1
- package/bin/plugin/core/LocalExecution.js +0 -146
- package/bin/plugin/core/LocalExecution.js.map +0 -1
- package/bin/plugin/core/PluginClassRegistry.d.ts +0 -22
- package/bin/plugin/core/PluginClassRegistry.d.ts.map +0 -1
- package/bin/plugin/core/PluginClassRegistry.js +0 -47
- package/bin/plugin/core/PluginClassRegistry.js.map +0 -1
- package/bin/plugin/core/PluginSystemProviders.d.ts +0 -27
- package/bin/plugin/core/PluginSystemProviders.d.ts.map +0 -1
- package/bin/plugin/core/PluginSystemProviders.js +0 -34
- package/bin/plugin/core/PluginSystemProviders.js.map +0 -1
- package/bin/plugin/core/Plugins.d.ts +0 -20
- package/bin/plugin/core/Plugins.d.ts.map +0 -1
- package/bin/plugin/core/Plugins.js +0 -33
- package/bin/plugin/core/Plugins.js.map +0 -1
- package/bin/plugin/core/schedule/Executor.d.ts +0 -17
- package/bin/plugin/core/schedule/Executor.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Executor.js +0 -48
- package/bin/plugin/core/schedule/Executor.js.map +0 -1
- package/bin/plugin/core/schedule/Store.d.ts +0 -91
- package/bin/plugin/core/schedule/Store.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Store.js +0 -284
- package/bin/plugin/core/schedule/Store.js.map +0 -1
- package/bin/plugin/core/schedule/Time.d.ts +0 -31
- package/bin/plugin/core/schedule/Time.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Time.js +0 -107
- package/bin/plugin/core/schedule/Time.js.map +0 -1
- package/bin/plugin/types/PluginSchedule.d.ts +0 -80
- package/bin/plugin/types/PluginSchedule.d.ts.map +0 -1
- package/bin/plugin/types/PluginSchedule.js +0 -5
- package/bin/plugin/types/PluginSchedule.js.map +0 -1
- package/bin/runtime/host/PluginRuntime.d.ts +0 -24
- package/bin/runtime/host/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/host/PluginRuntime.js +0 -31
- package/bin/runtime/host/PluginRuntime.js.map +0 -1
- package/bin/runtime/server/http/control/ModelRoutes.d.ts +0 -13
- package/bin/runtime/server/http/control/ModelRoutes.d.ts.map +0 -1
- package/bin/runtime/server/http/control/ModelRoutes.js +0 -87
- package/bin/runtime/server/http/control/ModelRoutes.js.map +0 -1
- package/bin/runtime/server/http/services/services.d.ts +0 -25
- package/bin/runtime/server/http/services/services.d.ts.map +0 -1
- package/bin/runtime/server/http/services/services.js +0 -82
- package/bin/runtime/server/http/services/services.js.map +0 -1
- package/bin/sdk/Agent.d.ts +0 -85
- package/bin/sdk/Agent.d.ts.map +0 -1
- package/bin/sdk/Agent.js +0 -200
- package/bin/sdk/Agent.js.map +0 -1
- package/bin/sdk/AgentSdkTypes.d.ts +0 -387
- package/bin/sdk/AgentSdkTypes.d.ts.map +0 -1
- package/bin/sdk/AgentSdkTypes.js +0 -10
- package/bin/sdk/AgentSdkTypes.js.map +0 -1
- package/bin/sdk/RemoteAgent.d.ts +0 -77
- package/bin/sdk/RemoteAgent.d.ts.map +0 -1
- package/bin/sdk/RemoteAgent.js +0 -396
- package/bin/sdk/RemoteAgent.js.map +0 -1
- package/bin/sdk/Session.d.ts +0 -177
- package/bin/sdk/Session.d.ts.map +0 -1
- package/bin/sdk/Session.js +0 -491
- package/bin/sdk/Session.js.map +0 -1
- package/bin/sdk/SessionEventMapper.d.ts.map +0 -1
- package/bin/sdk/SessionEventMapper.js.map +0 -1
- package/bin/sdk/SessionSystemBuilder.d.ts +0 -106
- package/bin/sdk/SessionSystemBuilder.d.ts.map +0 -1
- package/bin/sdk/SessionSystemBuilder.js +0 -147
- package/bin/sdk/SessionSystemBuilder.js.map +0 -1
- package/bin/sdk/session/Metadata.d.ts +0 -55
- package/bin/sdk/session/Metadata.d.ts.map +0 -1
- package/bin/sdk/session/Metadata.js +0 -140
- package/bin/sdk/session/Metadata.js.map +0 -1
- package/bin/sdk/session/Paths.d.ts.map +0 -1
- package/bin/sdk/session/Paths.js.map +0 -1
- package/bin/sdk/session/Persistence.d.ts +0 -63
- package/bin/sdk/session/Persistence.d.ts.map +0 -1
- package/bin/sdk/session/Persistence.js +0 -52
- package/bin/sdk/session/Persistence.js.map +0 -1
- package/bin/sdk/session/RuntimeSessionPort.d.ts +0 -70
- package/bin/sdk/session/RuntimeSessionPort.d.ts.map +0 -1
- package/bin/sdk/session/RuntimeSessionPort.js +0 -40
- package/bin/sdk/session/RuntimeSessionPort.js.map +0 -1
- package/bin/sdk/session/index.d.ts +0 -12
- package/bin/sdk/session/index.d.ts.map +0 -1
- package/bin/sdk/session/index.js +0 -12
- package/bin/sdk/session/index.js.map +0 -1
- package/bin/sdk/session/runtime/SessionEventHub.d.ts +0 -24
- package/bin/sdk/session/runtime/SessionEventHub.d.ts.map +0 -1
- package/bin/sdk/session/runtime/SessionEventHub.js.map +0 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +0 -71
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +0 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +0 -1
- package/bin/session/Executor.d.ts +0 -172
- package/bin/session/Executor.d.ts.map +0 -1
- package/bin/session/Executor.js +0 -533
- package/bin/session/Executor.js.map +0 -1
- package/bin/session/SessionRunScope.d.ts +0 -84
- package/bin/session/SessionRunScope.d.ts.map +0 -1
- package/bin/session/SessionRunScope.js +0 -82
- package/bin/session/SessionRunScope.js.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -55
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts +0 -48
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.js.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.d.ts +0 -62
- package/bin/session/composer/context/SessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -54
- package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -35
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.js +0 -221
- package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/core.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/plugin.prompt.d.ts +0 -7
- package/bin/session/composer/system/default/assets/plugin.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/plugin.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/plugin.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/task.prompt.js.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
- package/bin/session/core-engine/CoreEngineError.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineError.js.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts +0 -27
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.js.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.d.ts +0 -63
- package/bin/session/core-engine/CoreEngineMessageState.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.js.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.d.ts +0 -72
- package/bin/session/core-engine/CoreEngineSignals.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.js.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts +0 -33
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.js.map +0 -1
- package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
- package/bin/session/ids/resolveSessionId.js.map +0 -1
- package/bin/session/messages/AssistantResultPersistence.d.ts +0 -66
- package/bin/session/messages/AssistantResultPersistence.d.ts.map +0 -1
- package/bin/session/messages/AssistantResultPersistence.js +0 -48
- package/bin/session/messages/AssistantResultPersistence.js.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
- package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.js +0 -145
- package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
- package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
- package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageCodec.js.map +0 -1
- package/bin/session/messages/SessionMessageLog.d.ts +0 -19
- package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageLog.js.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
- package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.d.ts +0 -119
- package/bin/session/store/history/SessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.js.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts +0 -85
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.js +0 -288
- package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
- package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
- package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
- package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.d.ts +0 -118
- package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
- package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
- package/bin/session/types/SessionExecutor.d.ts +0 -18
- package/bin/session/types/SessionExecutor.d.ts.map +0 -1
- package/bin/session/types/SessionExecutor.js.map +0 -1
- package/bin/session/types/SessionHistoryMeta.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryMeta.js.map +0 -1
- package/bin/session/types/SessionHistoryPaths.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryPaths.js.map +0 -1
- package/bin/session/types/SessionLoop.d.ts.map +0 -1
- package/bin/session/types/SessionLoop.js.map +0 -1
- package/bin/session/types/SessionMessages.d.ts.map +0 -1
- package/bin/session/types/SessionMessages.js.map +0 -1
- package/bin/session/types/SessionPrompts.d.ts.map +0 -1
- package/bin/session/types/SessionPrompts.js.map +0 -1
- package/bin/session/types/SessionRun.d.ts +0 -112
- package/bin/session/types/SessionRun.d.ts.map +0 -1
- package/bin/session/types/SessionRun.js.map +0 -1
- package/src/config/project/AgentInitializer.ts +0 -427
- package/src/core/AgentContextTypes.ts +0 -305
- package/src/core/AgentCore.ts +0 -530
- package/src/core/AgentCoreTypes.ts +0 -90
- package/src/plugin/builtins/asr/Config.ts +0 -138
- package/src/plugin/builtins/asr/Dependency.ts +0 -336
- package/src/plugin/builtins/asr/InboundAugment.ts +0 -59
- package/src/plugin/builtins/asr/ModelCatalog.ts +0 -43
- package/src/plugin/builtins/asr/Plugin.ts +0 -488
- package/src/plugin/builtins/auth/Plugin.ts +0 -209
- package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +0 -265
- package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +0 -168
- package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +0 -219
- package/src/plugin/builtins/auth/types/AuthPlugin.ts +0 -545
- package/src/plugin/builtins/chat/Action.ts +0 -477
- package/src/plugin/builtins/chat/ChatPlugin.ts +0 -255
- package/src/plugin/builtins/chat/ChatPluginTypes.ts +0 -164
- package/src/plugin/builtins/chat/Index.ts +0 -8
- package/src/plugin/builtins/chat/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +0 -55
- package/src/plugin/builtins/chat/accounts/ChannelAccountService.ts +0 -297
- package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +0 -450
- package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +0 -320
- package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
- package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +0 -49
- package/src/plugin/builtins/chat/channels/Configuration.ts +0 -35
- package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
- package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +0 -199
- package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +0 -65
- package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +0 -467
- package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
- package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
- package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
- package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -5
- package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +0 -492
- package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
- package/src/plugin/builtins/chat/channels/feishu/Shared.ts +0 -94
- package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
- package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +0 -137
- package/src/plugin/builtins/chat/channels/qq/Configuration.ts +0 -64
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
- package/src/plugin/builtins/chat/channels/qq/QQ.ts +0 -398
- package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
- package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
- package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
- package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
- package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
- package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
- package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +0 -262
- package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
- package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
- package/src/plugin/builtins/chat/channels/qq/QQSendSupport.ts +0 -91
- package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +0 -263
- package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +0 -381
- package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
- package/src/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -97
- package/src/plugin/builtins/chat/channels/telegram/ApiClient.ts +0 -373
- package/src/plugin/builtins/chat/channels/telegram/Bot.ts +0 -357
- package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +0 -92
- package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +0 -65
- package/src/plugin/builtins/chat/channels/telegram/Handlers.ts +0 -91
- package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -2
- package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
- package/src/plugin/builtins/chat/channels/telegram/Shared.ts +0 -404
- package/src/plugin/builtins/chat/channels/telegram/StateStore.ts +0 -58
- package/src/plugin/builtins/chat/channels/telegram/TelegramInbound.ts +0 -186
- package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
- package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
- package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
- package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +0 -395
- package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +0 -362
- package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +0 -167
- package/src/plugin/builtins/chat/runtime/ChatActionInputSupport.ts +0 -85
- package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +0 -307
- package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
- package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +0 -145
- package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
- package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
- package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
- package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +0 -68
- package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
- package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +0 -186
- package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +0 -367
- package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +0 -5
- package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +0 -70
- package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
- package/src/plugin/builtins/chat/runtime/ChatQueue.ts +0 -77
- package/src/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
- package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +0 -185
- package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +0 -485
- package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
- package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
- package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
- package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
- package/src/plugin/builtins/chat/runtime/ChatSession.ts +0 -156
- package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
- package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
- package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
- package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +0 -187
- package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
- package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
- package/src/plugin/builtins/chat/runtime/InboundAugment.ts +0 -63
- package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +0 -89
- package/src/plugin/builtins/chat/runtime/PluginPoints.ts +0 -78
- package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
- package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
- package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +0 -78
- package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +0 -84
- package/src/plugin/builtins/chat/runtime/UIMessageTransformer.ts +0 -141
- package/src/plugin/builtins/chat/runtime/UserVisibleText.ts +0 -84
- package/src/plugin/builtins/chat/types/BotInfo.ts +0 -101
- package/src/plugin/builtins/chat/types/ChannelAccount.ts +0 -232
- package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +0 -161
- package/src/plugin/builtins/chat/types/ChannelContext.ts +0 -110
- package/src/plugin/builtins/chat/types/ChannelStatus.ts +0 -98
- package/src/plugin/builtins/chat/types/ChatCommand.ts +0 -174
- package/src/plugin/builtins/chat/types/ChatDispatcher.ts +0 -42
- package/src/plugin/builtins/chat/types/ChatHistory.ts +0 -42
- package/src/plugin/builtins/chat/types/ChatMessageMarkup.ts +0 -168
- package/src/plugin/builtins/chat/types/ChatMeta.ts +0 -35
- package/src/plugin/builtins/chat/types/ChatPlugin.ts +0 -251
- package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +0 -165
- package/src/plugin/builtins/chat/types/ChatPromptContext.ts +0 -139
- package/src/plugin/builtins/chat/types/ChatQueue.ts +0 -41
- package/src/plugin/builtins/chat/types/ChatQueueWorker.ts +0 -25
- package/src/plugin/builtins/chat/types/ChatRuntime.ts +0 -33
- package/src/plugin/builtins/chat/types/DirectDispatch.ts +0 -133
- package/src/plugin/builtins/chat/types/FeishuAttachment.ts +0 -50
- package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
- package/src/plugin/builtins/chat/types/FeishuPost.ts +0 -338
- package/src/plugin/builtins/chat/types/QqInboundDedupe.ts +0 -12
- package/src/plugin/builtins/chat/types/QqVoice.ts +0 -126
- package/src/plugin/builtins/chat/types/ReplyContext.ts +0 -49
- package/src/plugin/builtins/contact/Action.ts +0 -316
- package/src/plugin/builtins/contact/ContactPlugin.ts +0 -505
- package/src/plugin/builtins/contact/Index.ts +0 -8
- package/src/plugin/builtins/contact/PROMPT.ts +0 -9
- package/src/plugin/builtins/contact/PROMPT.ts.txt +0 -25
- package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +0 -97
- package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +0 -83
- package/src/plugin/builtins/contact/runtime/ContactPayload.ts +0 -26
- package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
- package/src/plugin/builtins/contact/runtime/ContactStore.ts +0 -299
- package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +0 -125
- package/src/plugin/builtins/contact/runtime/EndpointResolver.ts +0 -146
- package/src/plugin/builtins/contact/runtime/InboxStore.ts +0 -178
- package/src/plugin/builtins/contact/runtime/LinkApproval.ts +0 -387
- package/src/plugin/builtins/contact/runtime/LinkCode.ts +0 -70
- package/src/plugin/builtins/contact/runtime/LinkStore.ts +0 -50
- package/src/plugin/builtins/contact/runtime/Paths.ts +0 -139
- package/src/plugin/builtins/contact/runtime/RemoteClient.ts +0 -158
- package/src/plugin/builtins/contact/runtime/ShareBundle.ts +0 -286
- package/src/plugin/builtins/contact/runtime/SystemProvider.ts +0 -15
- package/src/plugin/builtins/contact/runtime/Token.ts +0 -40
- package/src/plugin/builtins/contact/types/Contact.ts +0 -82
- package/src/plugin/builtins/contact/types/ContactApproval.ts +0 -150
- package/src/plugin/builtins/contact/types/ContactChat.ts +0 -47
- package/src/plugin/builtins/contact/types/ContactCheck.ts +0 -67
- package/src/plugin/builtins/contact/types/ContactCommand.ts +0 -98
- package/src/plugin/builtins/contact/types/ContactEndpoint.ts +0 -16
- package/src/plugin/builtins/contact/types/ContactLink.ts +0 -169
- package/src/plugin/builtins/contact/types/ContactShare.ts +0 -172
- package/src/plugin/builtins/memory/Action.ts +0 -147
- package/src/plugin/builtins/memory/Index.ts +0 -9
- package/src/plugin/builtins/memory/MemoryPlugin.ts +0 -270
- package/src/plugin/builtins/memory/runtime/Flush.ts +0 -83
- package/src/plugin/builtins/memory/runtime/Search.ts +0 -330
- package/src/plugin/builtins/memory/runtime/Store.ts +0 -198
- package/src/plugin/builtins/memory/runtime/SystemProvider.ts +0 -145
- package/src/plugin/builtins/memory/runtime/Writer.ts +0 -173
- package/src/plugin/builtins/memory/types/Memory.ts +0 -284
- package/src/plugin/builtins/schedule/SchedulePlugin.ts +0 -131
- package/src/plugin/builtins/shell/Index.ts +0 -9
- package/src/plugin/builtins/shell/ShellPlugin.ts +0 -199
- package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +0 -94
- package/src/plugin/builtins/shell/runtime/Paths.ts +0 -28
- package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +0 -135
- package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
- package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -384
- package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
- package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
- package/src/plugin/builtins/shell/types/ShellPlugin.ts +0 -233
- package/src/plugin/builtins/skill/Action.ts +0 -159
- package/src/plugin/builtins/skill/Command.ts +0 -98
- package/src/plugin/builtins/skill/Config.ts +0 -51
- package/src/plugin/builtins/skill/PROMPT.ts +0 -9
- package/src/plugin/builtins/skill/PROMPT.ts.txt +0 -10
- package/src/plugin/builtins/skill/Plugin.ts +0 -334
- package/src/plugin/builtins/skill/SkillPromptAssets.ts +0 -14
- package/src/plugin/builtins/skill/runtime/Discovery.ts +0 -141
- package/src/plugin/builtins/skill/runtime/Frontmatter.ts +0 -17
- package/src/plugin/builtins/skill/runtime/Paths.ts +0 -130
- package/src/plugin/builtins/skill/runtime/Prompt.ts +0 -67
- package/src/plugin/builtins/skill/runtime/Store.ts +0 -95
- package/src/plugin/builtins/skill/runtime/SystemProvider.ts +0 -52
- package/src/plugin/builtins/skill/runtime/Types.ts +0 -22
- package/src/plugin/builtins/skill/runtime/Utils.ts +0 -28
- package/src/plugin/builtins/skill/types/ClaudeSkill.ts +0 -64
- package/src/plugin/builtins/skill/types/SkillCommand.ts +0 -90
- package/src/plugin/builtins/skill/types/SkillPlugin.ts +0 -107
- package/src/plugin/builtins/skill/types/SkillRoot.ts +0 -49
- package/src/plugin/builtins/task/Action.ts +0 -491
- package/src/plugin/builtins/task/Index.ts +0 -8
- package/src/plugin/builtins/task/PROMPT.ts +0 -9
- package/src/plugin/builtins/task/PROMPT.ts.txt +0 -237
- package/src/plugin/builtins/task/Scheduler.ts +0 -245
- package/src/plugin/builtins/task/TaskPlugin.ts +0 -167
- package/src/plugin/builtins/task/runtime/CronTrigger.ts +0 -110
- package/src/plugin/builtins/task/runtime/Frontmatter.ts +0 -24
- package/src/plugin/builtins/task/runtime/Model.ts +0 -347
- package/src/plugin/builtins/task/runtime/Paths.ts +0 -116
- package/src/plugin/builtins/task/runtime/Runner.ts +0 -519
- package/src/plugin/builtins/task/runtime/Store.ts +0 -253
- package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +0 -276
- package/src/plugin/builtins/task/runtime/TaskActionInput.ts +0 -281
- package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +0 -214
- package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +0 -5
- package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +0 -8
- package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +0 -14
- package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
- package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
- package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
- package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +0 -337
- package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +0 -175
- package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +0 -190
- package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
- package/src/plugin/builtins/task/types/Cron.ts +0 -16
- package/src/plugin/builtins/task/types/Task.ts +0 -157
- package/src/plugin/builtins/task/types/TaskCommand.ts +0 -165
- package/src/plugin/builtins/task/types/TaskPluginTypes.ts +0 -55
- package/src/plugin/builtins/tts/Dependency.ts +0 -473
- package/src/plugin/builtins/tts/Plugin.ts +0 -496
- package/src/plugin/builtins/tts/PluginSupport.ts +0 -85
- package/src/plugin/builtins/tts/runtime/Catalog.ts +0 -97
- package/src/plugin/builtins/tts/runtime/DependencyInstaller.ts +0 -436
- package/src/plugin/builtins/tts/runtime/Installer.ts +0 -297
- package/src/plugin/builtins/tts/runtime/Paths.ts +0 -39
- package/src/plugin/builtins/tts/runtime/Synthesizer.ts +0 -480
- package/src/plugin/builtins/tts/types/Tts.ts +0 -99
- package/src/plugin/builtins/tts/types/TtsPlugin.ts +0 -164
- package/src/plugin/builtins/voice/Config.ts +0 -135
- package/src/plugin/builtins/voice/Dependency.ts +0 -329
- package/src/plugin/builtins/voice/InboundAugment.ts +0 -59
- package/src/plugin/builtins/voice/ModelCatalog.ts +0 -43
- package/src/plugin/builtins/voice/runtime/Catalog.ts +0 -68
- package/src/plugin/builtins/voice/runtime/DependencyInstaller.ts +0 -505
- package/src/plugin/builtins/voice/runtime/Installer.ts +0 -324
- package/src/plugin/builtins/voice/runtime/Paths.ts +0 -26
- package/src/plugin/builtins/voice/runtime/Transcriber.ts +0 -467
- package/src/plugin/builtins/voice/types/Voice.ts +0 -68
- package/src/plugin/builtins/voice/types/VoicePlugin.ts +0 -194
- package/src/plugin/builtins/web/Dependency.ts +0 -17
- package/src/plugin/builtins/web/PROMPT.agent-browser.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.agent-browser.ts.txt +0 -17
- package/src/plugin/builtins/web/PROMPT.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.ts.txt +0 -33
- package/src/plugin/builtins/web/PROMPT.web-access.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.web-access.ts.txt +0 -13
- package/src/plugin/builtins/web/Plugin.ts +0 -501
- package/src/plugin/builtins/web/WebPromptAssets.ts +0 -26
- package/src/plugin/builtins/web/runtime/Config.ts +0 -105
- package/src/plugin/builtins/web/runtime/Source.ts +0 -257
- package/src/plugin/builtins/web/types/WebPlugin.ts +0 -141
- package/src/plugin/builtins/workboard/Plugin.ts +0 -81
- package/src/plugin/builtins/workboard/runtime/Collector.ts +0 -79
- package/src/plugin/builtins/workboard/runtime/Normalizer.ts +0 -213
- package/src/plugin/builtins/workboard/runtime/Store.ts +0 -110
- package/src/plugin/builtins/workboard/types/Workboard.ts +0 -158
- package/src/plugin/core/BuiltinPluginClasses.ts +0 -31
- package/src/plugin/core/Catalog.ts +0 -118
- package/src/plugin/core/HttpRoutes.ts +0 -50
- package/src/plugin/core/LocalExecution.ts +0 -184
- package/src/plugin/core/PluginClassRegistry.ts +0 -59
- package/src/plugin/core/PluginSystemProviders.ts +0 -50
- package/src/plugin/core/Plugins.ts +0 -39
- package/src/plugin/core/schedule/Executor.ts +0 -54
- package/src/plugin/core/schedule/Store.ts +0 -358
- package/src/plugin/core/schedule/Time.ts +0 -131
- package/src/plugin/types/PluginSchedule.ts +0 -89
- package/src/runtime/host/PluginRuntime.ts +0 -42
- package/src/runtime/server/http/control/ModelRoutes.ts +0 -101
- package/src/runtime/server/http/services/services.ts +0 -114
- package/src/sdk/Agent.ts +0 -243
- package/src/sdk/AgentSdkTypes.ts +0 -442
- package/src/sdk/RemoteAgent.ts +0 -549
- package/src/sdk/Session.ts +0 -653
- package/src/sdk/SessionSystemBuilder.ts +0 -259
- package/src/sdk/session/Metadata.ts +0 -196
- package/src/sdk/session/Persistence.ts +0 -113
- package/src/sdk/session/RuntimeSessionPort.ts +0 -107
- package/src/sdk/session/index.ts +0 -34
- package/src/sdk/session/runtime/SessionPromptRuntime.ts +0 -302
- package/src/session/Executor.ts +0 -732
- package/src/session/README.md +0 -108
- package/src/session/SessionRunScope.ts +0 -146
- package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -62
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -101
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
- package/src/session/composer/context/LocalSessionContextComposer.ts +0 -168
- package/src/session/composer/context/SessionContextComposer.ts +0 -70
- package/src/session/composer/history/SessionHistoryComposer.ts +0 -62
- package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -126
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -77
- package/src/session/composer/system/default/InitPromptAssets.ts +0 -20
- package/src/session/composer/system/default/InitPrompts.ts +0 -11
- package/src/session/composer/system/default/PromptRenderer.ts +0 -52
- package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
- package/src/session/composer/system/default/SystemDomain.ts +0 -377
- package/src/session/composer/system/default/SystemPromptAssets.ts +0 -26
- package/src/session/composer/system/default/assets/core.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/init/PROFILE.md.ts +0 -9
- package/src/session/composer/system/default/assets/init/SOUL.md.ts +0 -9
- package/src/session/composer/system/default/assets/plugin.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/plugin.prompt.ts.txt +0 -28
- package/src/session/composer/system/default/assets/task.prompt.ts +0 -9
- package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
- package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
- package/src/session/core-engine/CoreEngineLoopDecision.ts +0 -80
- package/src/session/core-engine/CoreEngineMessageState.ts +0 -133
- package/src/session/core-engine/CoreEngineSignals.ts +0 -416
- package/src/session/core-engine/CoreEngineUiStreamCollector.ts +0 -96
- package/src/session/messages/AssistantResultPersistence.ts +0 -111
- package/src/session/messages/SessionAttachmentMapper.ts +0 -155
- package/src/session/messages/SessionMessageCodec.ts +0 -116
- package/src/session/messages/SessionMessageLog.ts +0 -39
- package/src/session/messages/SessionStepEventMapper.ts +0 -233
- package/src/session/store/history/SessionHistoryStore.ts +0 -145
- package/src/session/store/history/jsonl/JsonlSessionHistoryStore.ts +0 -500
- package/src/session/tools/shell/ShellToolBridge.ts +0 -378
- package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
- package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
- package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
- package/src/session/types/SessionExecutor.ts +0 -33
- package/src/session/types/SessionRun.ts +0 -132
- /package/bin/{session → executor}/composer/compaction/SessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -0
- /package/bin/{session → executor}/composer/context/LocalSessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/context/SessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryWriter.js +0 -0
- /package/bin/{session → executor}/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/DefaultSessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.js +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.js +0 -0
- /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.js +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/core.prompt.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/PROFILE.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/SOUL.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/task.prompt.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.d.ts +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineLoopDecision.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineMessageState.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineSignals.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineUiStreamCollector.js +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.d.ts +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/ChatMessageMarkup.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageCodec.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageLog.js +0 -0
- /package/bin/{session → executor}/messages/SessionStepEventMapper.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UIMessageTransformer.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UserVisibleText.js +0 -0
- /package/bin/{session → executor}/store/history/SessionHistoryStore.js +0 -0
- /package/bin/{session → executor}/store/history/jsonl/JsonlSessionHistoryStore.js +0 -0
- /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.d.ts +0 -0
- /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.js +0 -0
- /package/bin/{session → executor}/types/SessionExecutor.js +0 -0
- /package/bin/{session → executor}/types/SessionHistoryMeta.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionHistoryMeta.js +0 -0
- /package/bin/{session → executor}/types/SessionHistoryPaths.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionHistoryPaths.js +0 -0
- /package/bin/{session → executor}/types/SessionLoop.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionLoop.js +0 -0
- /package/bin/{session → executor}/types/SessionMessages.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionMessages.js +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.js +0 -0
- /package/bin/{session → executor}/types/SessionRun.js +0 -0
- /package/bin/{sdk → session}/SessionEventMapper.d.ts +0 -0
- /package/bin/{sdk → session}/SessionEventMapper.js +0 -0
- /package/bin/{sdk/session → session}/runtime/SessionEventHub.js +0 -0
- /package/bin/{sdk/session → session}/runtime/SessionPromptRuntime.js +0 -0
- /package/bin/{sdk/session → session/storage}/Paths.d.ts +0 -0
- /package/bin/{sdk/session → session/storage}/Paths.js +0 -0
- /package/bin/{config/project/types → types/config}/AgentProject.js +0 -0
- /package/src/{session → executor}/composer/system/SessionSystemComposer.ts +0 -0
- /package/src/{session → executor}/composer/system/default/assets/core.prompt.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/PROFILE.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/SOUL.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/task.prompt.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/variables/PromptTypes.ts +0 -0
- /package/src/{session → executor}/core-engine/CoreEngineError.ts +0 -0
- /package/src/{session → executor}/ids/resolveSessionId.ts +0 -0
- /package/src/{plugin/builtins → executor/tools}/shell/types/Shell.ts +0 -0
- /package/src/{session → executor}/types/SessionHistoryMeta.ts +0 -0
- /package/src/{session → executor}/types/SessionHistoryPaths.ts +0 -0
- /package/src/{session → executor}/types/SessionLoop.ts +0 -0
- /package/src/{session → executor}/types/SessionMessages.ts +0 -0
- /package/src/{session → executor}/types/SessionPrompts.ts +0 -0
- /package/src/{sdk → session}/SessionEventMapper.ts +0 -0
- /package/src/{sdk/session → session}/runtime/SessionEventHub.ts +0 -0
- /package/src/{sdk/session → session/storage}/Paths.ts +0 -0
- /package/src/{config/project/types → types/config}/AgentProject.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineLoopDecision.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineLoopDecision.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH;;;;;;;;GAQG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAA+B;IAE/B,IACE,KAAK,CAAC,qBAAqB;QAC3B,KAAK,CAAC,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,EAC7D,CAAC;QACD,OAAO;YACL,IAAI,EAAE,oBAAoB;YAC1B,oBAAoB,EAAE,KAAK;YAC3B,mBAAmB,EAAE,KAAK;YAC1B,6BAA6B,EAAE,IAAI;SACpC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,yBAAyB;YAC/B,oBAAoB,EAAE,IAAI;YAC1B,mBAAmB,EAAE,KAAK;YAC1B,6BAA6B,EAAE,KAAK;SACrC,CAAC;IACJ,CAAC;IAED,IACE,KAAK,CAAC,0BAA0B,KAAK,IAAI;QACzC,KAAK,CAAC,QAAQ;QACd,KAAK,CAAC,yBAAyB,GAAG,KAAK,CAAC,wBAAwB,EAChE,CAAC;QACD,OAAO;YACL,IAAI,EAAE,wBAAwB;YAC9B,oBAAoB,EAAE,KAAK;YAC3B,mBAAmB,EAAE,IAAI;YACzB,6BAA6B,EAAE,KAAK;SACrC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,oBAAoB,EAAE,KAAK;QAC3B,mBAAmB,EAAE,KAAK;QAC1B,6BAA6B,EAAE,KAAK;KACrC,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,uCAAuC,CACrD,KAAwC;IAExC,OAAO,KAAK,CAAC,sBAAsB,GAAG,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CoreEngine 模型消息运行态。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - CoreEngine 同时维护 session 语义消息与模型消息。
|
|
6
|
+
* - 新增 user 消息可优先做增量转换,失败时再回退为全量重算。
|
|
7
|
+
* - assistant UI 消息只需要进入 session 语义基线;模型侧使用 SDK 返回的 response messages。
|
|
8
|
+
*/
|
|
9
|
+
import type { ModelMessage, Tool } from "ai";
|
|
10
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
11
|
+
/**
|
|
12
|
+
* CoreEngine 单轮执行期间的消息基线。
|
|
13
|
+
*/
|
|
14
|
+
export declare class CoreEngineMessageState {
|
|
15
|
+
/**
|
|
16
|
+
* 当前运行时 session 语义消息。
|
|
17
|
+
*/
|
|
18
|
+
private sessionMessages;
|
|
19
|
+
/**
|
|
20
|
+
* 当前模型侧消息基线。
|
|
21
|
+
*/
|
|
22
|
+
private currentModelMessages;
|
|
23
|
+
/**
|
|
24
|
+
* 当前轮可用工具集合。
|
|
25
|
+
*/
|
|
26
|
+
private readonly tools;
|
|
27
|
+
private constructor();
|
|
28
|
+
/**
|
|
29
|
+
* 基于初始 session 消息创建运行态。
|
|
30
|
+
*/
|
|
31
|
+
static create(params: {
|
|
32
|
+
/**
|
|
33
|
+
* 初始 session 语义消息。
|
|
34
|
+
*/
|
|
35
|
+
messages: SessionMessageV1[];
|
|
36
|
+
/**
|
|
37
|
+
* 当前轮可用工具集合。
|
|
38
|
+
*/
|
|
39
|
+
tools: Record<string, Tool>;
|
|
40
|
+
}): Promise<CoreEngineMessageState>;
|
|
41
|
+
/**
|
|
42
|
+
* 读取当前模型消息。
|
|
43
|
+
*/
|
|
44
|
+
get modelMessages(): ModelMessage[];
|
|
45
|
+
/**
|
|
46
|
+
* 把 step 间新增的 user 消息并入两份基线。
|
|
47
|
+
*/
|
|
48
|
+
appendMergedUserMessages(messages: SessionMessageV1[]): Promise<ModelMessage[]>;
|
|
49
|
+
/**
|
|
50
|
+
* 追加内部生成的 user nudge 消息。
|
|
51
|
+
*/
|
|
52
|
+
appendUserTextMessage(message: SessionMessageV1): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* 追加 assistant UI 消息到 session 语义基线。
|
|
55
|
+
*/
|
|
56
|
+
appendRuntimeSessionMessage(message: SessionMessageV1): void;
|
|
57
|
+
/**
|
|
58
|
+
* 追加 SDK 返回的模型 response messages。
|
|
59
|
+
*/
|
|
60
|
+
appendModelMessages(messages: ModelMessage[]): void;
|
|
61
|
+
private appendSessionMessagesAsModelMessages;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=CoreEngineMessageState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineMessageState.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineMessageState.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E;;GAEG;AACH,qBAAa,sBAAsB;IACjC;;OAEG;IACH,OAAO,CAAC,eAAe,CAAqB;IAE5C;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAiB;IAE7C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,OAAO;IAmBP;;OAEG;WACU,MAAM,CAAC,MAAM,EAAE;QAC1B;;WAEG;QACH,QAAQ,EAAE,gBAAgB,EAAE,CAAC;QAC7B;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAC7B,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAWnC;;OAEG;IACH,IAAI,aAAa,IAAI,YAAY,EAAE,CAElC;IAED;;OAEG;IACG,wBAAwB,CAC5B,QAAQ,EAAE,gBAAgB,EAAE,GAC3B,OAAO,CAAC,YAAY,EAAE,CAAC;IAM1B;;OAEG;IACG,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrE;;OAEG;IACH,2BAA2B,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI5D;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI;YAKrC,oCAAoC;CAenD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineMessageState.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineMessageState.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EACL,sBAAsB,EACtB,eAAe,GAChB,MAAM,2CAA2C,CAAC;AAEnD;;GAEG;AACH,MAAM,OAAO,sBAAsB;IACjC;;OAEG;IACK,eAAe,CAAqB;IAE5C;;OAEG;IACK,oBAAoB,CAAiB;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OAEG;IACH,mBAAmB,CAAC,QAAwB;QAC1C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO;QAC9D,IAAI,CAAC,oBAAoB,GAAG,CAAC,GAAG,IAAI,CAAC,oBAAoB,EAAE,GAAG,QAAQ,CAAC,CAAC;IAC1E,CAAC;IAEO,KAAK,CAAC,oCAAoC,CAChD,QAA4B;QAE5B,IAAI,CAAC,eAAe,GAAG,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,GAAG,QAAQ,CAAC,CAAC;QAC9D,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAClE,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7B,IAAI,CAAC,oBAAoB,GAAG,CAAC,GAAG,IAAI,CAAC,oBAAoB,EAAE,GAAG,aAAa,CAAC,CAAC;YAC7E,OAAO,aAAa,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,oBAAoB,GAAG,MAAM,eAAe,CAC/C,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,KAAK,CACX,CAAC;QACF,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionLoopSignals:tool-loop 执行循环的信号判断与调试摘要工具。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 这里只放“如何判断继续执行 / 如何输出调试摘要”的纯函数。
|
|
6
|
+
* - 不放 tool-loop 主流程,避免执行内核被大量辅助细节淹没。
|
|
7
|
+
* - 目标是让 tool-loop 保持“只看主链路就能理解”的结构。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
import type { JsonObject } from "../../types/common/Json.js";
|
|
11
|
+
/**
|
|
12
|
+
* 单次 tool-loop 允许的最大 step 数。
|
|
13
|
+
*/
|
|
14
|
+
export declare const MAX_TOOL_LOOP_STEPS = 64;
|
|
15
|
+
/**
|
|
16
|
+
* text-only 提醒续跑的最大次数。
|
|
17
|
+
*
|
|
18
|
+
* 关键点(中文)
|
|
19
|
+
* - 仅用于“模型明显承诺下一步、但没有实际调用工具”的兜底。
|
|
20
|
+
* - 设置较小上限,避免进入无界自催促循环。
|
|
21
|
+
*/
|
|
22
|
+
export declare const MAX_TEXT_ONLY_CONTINUATIONS = 3;
|
|
23
|
+
/**
|
|
24
|
+
* 不完整响应自动恢复的最大次数。
|
|
25
|
+
*
|
|
26
|
+
* 关键点(中文)
|
|
27
|
+
* - 仅针对 provider 流异常结束这类“本该继续、但响应被截断”的情况。
|
|
28
|
+
* - 只补一次,避免在 provider 异常持续时进入长时间空转。
|
|
29
|
+
*/
|
|
30
|
+
export declare const MAX_INCOMPLETE_RESPONSE_RECOVERIES = 1;
|
|
31
|
+
/**
|
|
32
|
+
* 生成日志友好的单行预览文本。
|
|
33
|
+
*/
|
|
34
|
+
export declare function toInlinePreview(value: unknown): string;
|
|
35
|
+
/**
|
|
36
|
+
* 汇总单个 step 的关键信号,便于定位“为什么没有继续下一轮”。
|
|
37
|
+
*/
|
|
38
|
+
export declare function summarizeStepForDebug(stepResult: unknown): JsonObject;
|
|
39
|
+
/**
|
|
40
|
+
* 汇总最终 assistant UI 消息的调试摘要。
|
|
41
|
+
*/
|
|
42
|
+
export declare function summarizeUiMessageForDebug(message: SessionMessageV1 | null | undefined): JsonObject;
|
|
43
|
+
/**
|
|
44
|
+
* 合并多轮 assistant UI 消息。
|
|
45
|
+
*
|
|
46
|
+
* 关键点(中文)
|
|
47
|
+
* - 多 step 场景下,最终 assistant message 需要把各 step 的 UI part 串起来。
|
|
48
|
+
*/
|
|
49
|
+
export declare function mergeAssistantUiMessages(base: SessionMessageV1 | null, incoming: SessionMessageV1): SessionMessageV1;
|
|
50
|
+
/**
|
|
51
|
+
* 构造“不完整响应恢复”提示。
|
|
52
|
+
*/
|
|
53
|
+
export declare function buildIncompleteResponseRecoveryNudge(recoveryIndex: number): string;
|
|
54
|
+
/**
|
|
55
|
+
* 检测“响应被中断但模型没有正常完成”的情况。
|
|
56
|
+
*/
|
|
57
|
+
export declare function detectIncompleteResponse(params: {
|
|
58
|
+
stepResult: unknown;
|
|
59
|
+
assistantMessage: SessionMessageV1 | null | undefined;
|
|
60
|
+
}): {
|
|
61
|
+
reason: string;
|
|
62
|
+
details: JsonObject;
|
|
63
|
+
} | null;
|
|
64
|
+
/**
|
|
65
|
+
* 检测“只有口头计划,没有真正执行”的续跑信号。
|
|
66
|
+
*/
|
|
67
|
+
export declare function detectTextOnlyContinuationReason(stepResult: unknown): string | null;
|
|
68
|
+
/**
|
|
69
|
+
* 构造“text-only 续跑”提示。
|
|
70
|
+
*/
|
|
71
|
+
export declare function buildTextOnlyContinuationNudge(continuationIndex: number): string;
|
|
72
|
+
//# sourceMappingURL=CoreEngineSignals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineSignals.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineSignals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAqDpD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAMtD;AAsDD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CA+BrE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,UAAU,CA4BZ;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,gBAAgB,GAAG,IAAI,EAC7B,QAAQ,EAAE,gBAAgB,GACzB,gBAAgB,CAmBlB;AAiCD;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,aAAa,EAAE,MAAM,GACpB,MAAM,CAQR;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;CACvD,GAAG;IACF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,UAAU,CAAC;CACrB,GAAG,IAAI,CAmEP;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,OAAO,GAClB,MAAM,GAAG,IAAI,CAgBf;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,iBAAiB,EAAE,MAAM,GACxB,MAAM,CAQR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineSignals.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineSignals.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,IAAI,CAAC;AAIZ;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,4BAA4B,GAAG,GAAG,CAAC;AAEzC;;GAEG;AACH,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC;IAC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C,IAAI,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/C,IAAI,YAAY,IAAI,YAAY,KAAK,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzD,KAAK,MAAM,SAAS,IAAI,+BAA+B,EAAE,CAAC;QACxD,IAAI,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,OAAO,SAAS,CAAC,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,iBAAyB;IAEzB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC;IAC7C,OAAO;QACL,YAAY,KAAK,eAAe;QAChC,yBAAyB;QACzB,wBAAwB;QACxB,iCAAiC;KAClC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session UI stream 最终消息收敛器。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 必须完整消费 AI SDK UI stream,才能稳定触发 `onFinish`。
|
|
6
|
+
* - 优先使用结构化 `responseMessage`;缺失时才回退到纯文本。
|
|
7
|
+
* - UI chunk 回调是展示层副作用,失败不应阻断 session 执行。
|
|
8
|
+
*/
|
|
9
|
+
import type { streamText } from "ai";
|
|
10
|
+
import type { Logger } from "../../utils/logger/Logger.js";
|
|
11
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
12
|
+
/**
|
|
13
|
+
* 收敛 UI stream 中的最终 assistant 消息。
|
|
14
|
+
*/
|
|
15
|
+
export declare function collectFinalAssistantMessageFromUiStream(params: {
|
|
16
|
+
/**
|
|
17
|
+
* 当前 `streamText` 执行结果。
|
|
18
|
+
*/
|
|
19
|
+
result: ReturnType<typeof streamText>;
|
|
20
|
+
/**
|
|
21
|
+
* 当前 sessionId,用于日志关联。
|
|
22
|
+
*/
|
|
23
|
+
sessionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 当前日志器。
|
|
26
|
+
*/
|
|
27
|
+
logger: Logger;
|
|
28
|
+
/**
|
|
29
|
+
* 构造 fallback assistant 消息的工厂函数。
|
|
30
|
+
*/
|
|
31
|
+
buildFallbackAssistantMessage: (text: string) => SessionMessageV1;
|
|
32
|
+
}): Promise<SessionMessageV1>;
|
|
33
|
+
//# sourceMappingURL=CoreEngineUiStreamCollector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineUiStreamCollector.d.ts","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineUiStreamCollector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAO5E;;GAEG;AACH,wBAAsB,wCAAwC,CAAC,MAAM,EAAE;IACrE;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,6BAA6B,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,gBAAgB,CAAC;CACnE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAwD5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreEngineUiStreamCollector.js","sourceRoot":"","sources":["../../../src/executor/core-engine/CoreEngineUiStreamCollector.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA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KACH,CAAC,CAAC;IAEH,IAAI,wBAAwB;QAAE,OAAO,wBAAwB,CAAC;IAE9D,IAAI,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,CAAC;QACH,aAAa,GAAG,MAAM,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAClE,CAAC;IAAC,MAAM,CAAC;QACP,aAAa,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,gCAAgC,EAAE;QAChE,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,mBAAmB,EAAE,aAAa,CAAC,MAAM;QACzC,oBAAoB,EAAE,eAAe,CAAC,aAAa,CAAC;KACrD,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC,6BAA6B,CACzC,aAAa,IAAI,qBAAqB,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveSessionId.d.ts","sourceRoot":"","sources":["../../../src/executor/ids/resolveSessionId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,MAAM,GAAG,SAAS,CAQrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveSessionId.js","sourceRoot":"","sources":["../../../src/executor/ids/resolveSessionId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAEhC;IACC,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACvD,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC;IAE9B,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACpE,IAAI,YAAY;QAAE,OAAO,YAAY,CAAC;IAEtC,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AssistantResultPersistence:统一处理一次 run 结束后的 assistant 落盘决策。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 负责收敛“写完整 assistant message / 写 fallback 文本 / 完全跳过”三种分支。
|
|
6
|
+
* - 避免 SDK、HTTP execute、control execute、chat queue 各自复制一套判断。
|
|
7
|
+
* - 一旦 step 消息已经单独持久化,最终 merged assistant 必须跳过,不能再补一条 fallback。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
/**
|
|
11
|
+
* assistant 写入端口。
|
|
12
|
+
*/
|
|
13
|
+
export interface AssistantResultPersistenceWriter {
|
|
14
|
+
/**
|
|
15
|
+
* 追加 assistant 消息。
|
|
16
|
+
*/
|
|
17
|
+
appendAssistantMessage(params: {
|
|
18
|
+
/**
|
|
19
|
+
* 已构造好的完整 assistant 消息。
|
|
20
|
+
*/
|
|
21
|
+
message?: SessionMessageV1 | null;
|
|
22
|
+
/**
|
|
23
|
+
* 在没有完整 message 可写时的兜底文本。
|
|
24
|
+
*/
|
|
25
|
+
fallbackText?: string;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 一次 run 结束后的 assistant 落盘参数。
|
|
30
|
+
*/
|
|
31
|
+
export interface PersistAssistantResultParams {
|
|
32
|
+
/**
|
|
33
|
+
* assistant 写入端口。
|
|
34
|
+
*/
|
|
35
|
+
writer: AssistantResultPersistenceWriter;
|
|
36
|
+
/**
|
|
37
|
+
* 本轮执行得到的 assistant message。
|
|
38
|
+
*/
|
|
39
|
+
assistantMessage: SessionMessageV1 | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* 可选兜底文本。
|
|
42
|
+
*
|
|
43
|
+
* 关键点(中文)
|
|
44
|
+
* - 仅在没有完整 assistant message 且未发生 step 持久化时才允许写入。
|
|
45
|
+
* - 若 step 已单独落盘,这里必须被忽略,避免重复 assistant。
|
|
46
|
+
*/
|
|
47
|
+
fallbackText?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* 解析本轮 run 最终应该如何持久化 assistant。
|
|
51
|
+
*/
|
|
52
|
+
export declare function buildAssistantResultPersistencePayload(params: Omit<PersistAssistantResultParams, "writer">): {
|
|
53
|
+
/**
|
|
54
|
+
* 已构造好的完整 assistant message。
|
|
55
|
+
*/
|
|
56
|
+
message?: SessionMessageV1 | null;
|
|
57
|
+
/**
|
|
58
|
+
* 允许写入的兜底文本。
|
|
59
|
+
*/
|
|
60
|
+
fallbackText?: string;
|
|
61
|
+
} | null;
|
|
62
|
+
/**
|
|
63
|
+
* 按统一规则持久化一次 run 的 assistant 结果。
|
|
64
|
+
*/
|
|
65
|
+
export declare function persistAssistantResult(params: PersistAssistantResultParams): Promise<boolean>;
|
|
66
|
+
//# sourceMappingURL=AssistantResultPersistence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssistantResultPersistence.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/AssistantResultPersistence.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,sBAAsB,CAAC,MAAM,EAAE;QAC7B;;WAEG;QACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;QAClC;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,gCAAgC,CAAC;IACzC;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD;;GAEG;AACH,wBAAgB,sCAAsC,CACpD,MAAM,EAAE,IAAI,CAAC,4BAA4B,EAAE,QAAQ,CAAC,GACnD;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,IAAI,CAoBP;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,4BAA4B,GACnC,OAAO,CAAC,OAAO,CAAC,CAQlB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AssistantResultPersistence:统一处理一次 run 结束后的 assistant 落盘决策。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 负责收敛“写完整 assistant message / 写 fallback 文本 / 完全跳过”三种分支。
|
|
6
|
+
* - 避免 SDK、HTTP execute、control execute、chat queue 各自复制一套判断。
|
|
7
|
+
* - 一旦 step 消息已经单独持久化,最终 merged assistant 必须跳过,不能再补一条 fallback。
|
|
8
|
+
*/
|
|
9
|
+
import { hasPersistedAssistantSteps, resolveAssistantMessageForPersistence, } from "../../executor/messages/UserVisibleText.js";
|
|
10
|
+
function normalizeFallbackText(input) {
|
|
11
|
+
const text = String(input || "").trim();
|
|
12
|
+
return text || undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 解析本轮 run 最终应该如何持久化 assistant。
|
|
16
|
+
*/
|
|
17
|
+
export function buildAssistantResultPersistencePayload(params) {
|
|
18
|
+
const persistedMessage = resolveAssistantMessageForPersistence(params.assistantMessage);
|
|
19
|
+
if (persistedMessage) {
|
|
20
|
+
return {
|
|
21
|
+
message: persistedMessage,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
// 关键点(中文):step 已经单独落盘时,最终 merged assistant 必须完全跳过。
|
|
25
|
+
if (hasPersistedAssistantSteps(params.assistantMessage)) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const fallbackText = normalizeFallbackText(params.fallbackText);
|
|
29
|
+
if (!fallbackText)
|
|
30
|
+
return null;
|
|
31
|
+
return {
|
|
32
|
+
fallbackText,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 按统一规则持久化一次 run 的 assistant 结果。
|
|
37
|
+
*/
|
|
38
|
+
export async function persistAssistantResult(params) {
|
|
39
|
+
const payload = buildAssistantResultPersistencePayload({
|
|
40
|
+
assistantMessage: params.assistantMessage,
|
|
41
|
+
fallbackText: params.fallbackText,
|
|
42
|
+
});
|
|
43
|
+
if (!payload)
|
|
44
|
+
return false;
|
|
45
|
+
await params.writer.appendAssistantMessage(payload);
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=AssistantResultPersistence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssistantResultPersistence.js","sourceRoot":"","sources":["../../../src/executor/messages/AssistantResultPersistence.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,GACtC,MAAM,wCAAwC,CAAC;AA2ChD,SAAS,qBAAqB,CAAC,KAAyB;IACtD,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACxC,OAAO,IAAI,IAAI,SAAS,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sCAAsC,CACpD,MAAoD;IAWpD,MAAM,gBAAgB,GAAG,qCAAqC,CAC5D,MAAM,CAAC,gBAAgB,CACxB,CAAC;IACF,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO;YACL,OAAO,EAAE,gBAAgB;SAC1B,CAAC;IACJ,CAAC;IAED,mDAAmD;IACnD,IAAI,0BAA0B,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,YAAY,GAAG,qBAAqB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAChE,IAAI,CAAC,YAAY;QAAE,OAAO,IAAI,CAAC;IAC/B,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,MAAoC;IAEpC,MAAM,OAAO,GAAG,sCAAsC,CAAC;QACrD,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,YAAY,EAAE,MAAM,CAAC,YAAY;KAClC,CAAC,CAAC;IACH,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACpD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat 消息标记语法解析工具。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一处理 frontmatter metadata 与 `<file>` 附件标签。
|
|
6
|
+
* - 解析结果保留 `segments[]`,用于按正文与附件的真实顺序发送。
|
|
7
|
+
*/
|
|
8
|
+
import type { ChatMessageFileTag, ChatMessageFileType, ChatMessageSegment, ParsedChatMessageMarkup } from "./ChatMessageMarkupTypes.js";
|
|
9
|
+
/**
|
|
10
|
+
* 归一化附件类型。
|
|
11
|
+
*/
|
|
12
|
+
export declare function normalizeChatMessageFileType(value: unknown): ChatMessageFileType;
|
|
13
|
+
/**
|
|
14
|
+
* 提取 frontmatter metadata。
|
|
15
|
+
*/
|
|
16
|
+
export declare function extractChatMessageFrontmatter(params: {
|
|
17
|
+
source: string;
|
|
18
|
+
}): {
|
|
19
|
+
metadata: Record<string, unknown>;
|
|
20
|
+
body: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 提取 `<file>` 标签,并保留正文/附件的真实顺序。
|
|
24
|
+
*/
|
|
25
|
+
export declare function extractChatMessageSegments(source: string): ChatMessageSegment[];
|
|
26
|
+
/**
|
|
27
|
+
* 提取 `<file>` 标签列表。
|
|
28
|
+
*/
|
|
29
|
+
export declare function extractChatMessageFileTags(source: string): ChatMessageFileTag[];
|
|
30
|
+
/**
|
|
31
|
+
* 移除正文中的 `<file>` 标签,仅保留文本段。
|
|
32
|
+
*/
|
|
33
|
+
export declare function stripChatMessageFileTags(source: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* 渲染一条标准化 `<file>` 标签。
|
|
36
|
+
*/
|
|
37
|
+
export declare function renderChatMessageFileTag(file: ChatMessageFileTag): string;
|
|
38
|
+
/**
|
|
39
|
+
* 把附件列表渲染回统一的 `<file>` 文本块。
|
|
40
|
+
*/
|
|
41
|
+
export declare function buildChatMessageFileBlock(files: ChatMessageFileTag[]): string;
|
|
42
|
+
/**
|
|
43
|
+
* 把片段重建成统一消息文本。
|
|
44
|
+
*/
|
|
45
|
+
export declare function buildChatMessageText(params: {
|
|
46
|
+
bodyText?: string;
|
|
47
|
+
files?: ChatMessageFileTag[];
|
|
48
|
+
segments?: ChatMessageSegment[];
|
|
49
|
+
}): string;
|
|
50
|
+
/**
|
|
51
|
+
* 统一解析一段 chat 消息文本。
|
|
52
|
+
*/
|
|
53
|
+
export declare function parseChatMessageMarkup(source: string): ParsedChatMessageMarkup;
|
|
54
|
+
//# sourceMappingURL=ChatMessageMarkup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMessageMarkup.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,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C9C,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;KAC7B,CAAC,CAAC;IACH,MAAM,QAAQ,GAAG,0BAA0B,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC5D,OAAO;QACL,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,QAAQ,EAAE,oBAAoB,CAAC;YAC7B,QAAQ,EAAE,QAAQ,CAAC,MAAM,CACvB,CAAC,OAAO,EAAqC,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CACxE;SACF,CAAC;QACF,KAAK,EAAE,QAAQ;aACZ,MAAM,CAAC,CAAC,OAAO,EAAqC,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;aAC/E,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QACjC,QAAQ;KACT,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat 消息标记语法类型。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一描述 chat plugin runtime 中可见的消息协议:frontmatter metadata + `<file>` 标签。
|
|
6
|
+
* - direct 模式、`city chat send`、入站附件注入、渠道出站解析都应复用本类型。
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* `<file>` 标签支持的附件类型。
|
|
10
|
+
*
|
|
11
|
+
* 说明(中文)
|
|
12
|
+
* - 语义集合与 Telegram/Feishu 当前支持的附件能力保持一致。
|
|
13
|
+
* - 默认类型为 `document`。
|
|
14
|
+
*/
|
|
15
|
+
export type ChatMessageFileType = "document" | "photo" | "voice" | "audio" | "video";
|
|
16
|
+
/**
|
|
17
|
+
* 一条 `<file>` 标签解析后的结构。
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatMessageFileTag {
|
|
20
|
+
/**
|
|
21
|
+
* 附件路径。
|
|
22
|
+
*
|
|
23
|
+
* 说明(中文)
|
|
24
|
+
* - 当前主要使用项目内相对路径。
|
|
25
|
+
* - 渠道可自行决定是否支持绝对路径或远程 URL。
|
|
26
|
+
*/
|
|
27
|
+
path: string;
|
|
28
|
+
/**
|
|
29
|
+
* 附件类型。
|
|
30
|
+
*
|
|
31
|
+
* 说明(中文)
|
|
32
|
+
* - 缺省时按 `document` 处理。
|
|
33
|
+
*/
|
|
34
|
+
type: ChatMessageFileType;
|
|
35
|
+
/**
|
|
36
|
+
* 可选附件说明。
|
|
37
|
+
*
|
|
38
|
+
* 说明(中文)
|
|
39
|
+
* - 存在时由渠道决定如何发送给最终用户。
|
|
40
|
+
*/
|
|
41
|
+
caption?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 一段有序文本片段。
|
|
45
|
+
*/
|
|
46
|
+
export interface ChatMessageTextSegment {
|
|
47
|
+
/**
|
|
48
|
+
* 片段类型。
|
|
49
|
+
*/
|
|
50
|
+
kind: "text";
|
|
51
|
+
/**
|
|
52
|
+
* 片段文本。
|
|
53
|
+
*
|
|
54
|
+
* 说明(中文)
|
|
55
|
+
* - 已做 trim,保证不会出现纯空白文本段。
|
|
56
|
+
*/
|
|
57
|
+
text: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 一段有序附件片段。
|
|
61
|
+
*/
|
|
62
|
+
export interface ChatMessageFileSegment {
|
|
63
|
+
/**
|
|
64
|
+
* 片段类型。
|
|
65
|
+
*/
|
|
66
|
+
kind: "file";
|
|
67
|
+
/**
|
|
68
|
+
* 附件内容。
|
|
69
|
+
*/
|
|
70
|
+
file: ChatMessageFileTag;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 按消息真实顺序排列的片段。
|
|
74
|
+
*/
|
|
75
|
+
export type ChatMessageSegment = ChatMessageTextSegment | ChatMessageFileSegment;
|
|
76
|
+
/**
|
|
77
|
+
* 一段 chat 消息正文解析后的结果。
|
|
78
|
+
*/
|
|
79
|
+
export interface ParsedChatMessageMarkup {
|
|
80
|
+
/**
|
|
81
|
+
* frontmatter metadata 原始对象。
|
|
82
|
+
*
|
|
83
|
+
* 说明(中文)
|
|
84
|
+
* - 只在正文最顶部存在合法 YAML frontmatter 时才会填充。
|
|
85
|
+
* - 解析失败时会退化为 `{}`,避免误删正文。
|
|
86
|
+
*/
|
|
87
|
+
metadata: Record<string, unknown>;
|
|
88
|
+
/**
|
|
89
|
+
* 去掉 frontmatter 与 `<file>` 标签后的纯正文。
|
|
90
|
+
*
|
|
91
|
+
* 说明(中文)
|
|
92
|
+
* - 会把多段文本按消息原始顺序合并,中间使用空行分隔。
|
|
93
|
+
*/
|
|
94
|
+
bodyText: string;
|
|
95
|
+
/**
|
|
96
|
+
* 按出现顺序提取出的附件标签列表。
|
|
97
|
+
*/
|
|
98
|
+
files: ChatMessageFileTag[];
|
|
99
|
+
/**
|
|
100
|
+
* 按消息实际顺序提取出的有序片段。
|
|
101
|
+
*/
|
|
102
|
+
segments: ChatMessageSegment[];
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* 由 frontmatter metadata 解析出的发送参数。
|
|
106
|
+
*/
|
|
107
|
+
export interface ChatMessageSendOptions {
|
|
108
|
+
/**
|
|
109
|
+
* 目标 chatKey。
|
|
110
|
+
*
|
|
111
|
+
* 说明(中文)
|
|
112
|
+
* - 未提供时由调用方回退到当前上下文或显式参数。
|
|
113
|
+
*/
|
|
114
|
+
chatKey?: string;
|
|
115
|
+
/**
|
|
116
|
+
* 延迟发送毫秒数。
|
|
117
|
+
*
|
|
118
|
+
* 说明(中文)
|
|
119
|
+
* - 由 `delay/delayMs/delay-ms` 解析得到。
|
|
120
|
+
*/
|
|
121
|
+
delayMs?: number;
|
|
122
|
+
/**
|
|
123
|
+
* 定时发送的绝对毫秒时间戳。
|
|
124
|
+
*
|
|
125
|
+
* 说明(中文)
|
|
126
|
+
* - 由 `time/sendAt/sendAtMs` 等字段解析得到。
|
|
127
|
+
*/
|
|
128
|
+
sendAtMs?: number;
|
|
129
|
+
/**
|
|
130
|
+
* 是否使用 reply 语义发送。
|
|
131
|
+
*
|
|
132
|
+
* 说明(中文)
|
|
133
|
+
* - 允许仅设置布尔值,也允许结合 `messageId` 一起使用。
|
|
134
|
+
*/
|
|
135
|
+
replyToMessage?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* 可选目标消息 ID。
|
|
138
|
+
*
|
|
139
|
+
* 说明(中文)
|
|
140
|
+
* - 当前主要用于 Telegram/Feishu reply 场景。
|
|
141
|
+
*/
|
|
142
|
+
messageId?: string;
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=ChatMessageMarkupTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMessageMarkupTypes.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkupTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,CAAC;AAEZ;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAE1B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,sBAAsB,GACtB,sBAAsB,CAAC;AAE3B;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMessageMarkupTypes.js","sourceRoot":"","sources":["../../../src/executor/messages/ChatMessageMarkupTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionAttachmentMapper:把 `<file>` 附件描述映射为模型可消费的 file parts。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 兼容 Telegram / Feishu / TUI 等统一的 `<file>` 协议入口。
|
|
6
|
+
* - 仅在本轮执行的内存消息上追加 file parts,不修改持久化历史。
|
|
7
|
+
* - 当前只为图片与 PDF 注入 file part,保持多模态模型可直接消费。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
/**
|
|
11
|
+
* 在 user 消息上注入 FileUIPart,以便多模态模型直接消费本地附件。
|
|
12
|
+
*/
|
|
13
|
+
export declare function injectFilePartsFromAttachments(messages: SessionMessageV1[]): Promise<SessionMessageV1[]>;
|
|
14
|
+
//# sourceMappingURL=SessionAttachmentMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionAttachmentMapper.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/SessionAttachmentMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AA+C5E;;GAEG;AACH,wBAAsB,8BAA8B,CAClD,QAAQ,EAAE,gBAAgB,EAAE,GAC3B,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAsF7B"}
|