@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,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionAttachmentMapper:把 `<file>` 附件描述映射为模型可消费的 file parts。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 兼容 Telegram / Feishu / TUI 等统一的 `<file>` 协议入口。
|
|
6
|
+
* - 仅在本轮执行的内存消息上追加 file parts,不修改持久化历史。
|
|
7
|
+
* - 当前只为图片与 PDF 注入 file part,保持多模态模型可直接消费。
|
|
8
|
+
*/
|
|
9
|
+
import fs from "fs-extra";
|
|
10
|
+
import path from "node:path";
|
|
11
|
+
import { isFileUIPart, isTextUIPart, } from "ai";
|
|
12
|
+
import { parseChatMessageMarkup } from "../../executor/messages/ChatMessageMarkup.js";
|
|
13
|
+
/**
|
|
14
|
+
* 从 `<file>` 标签中解析附件描述。
|
|
15
|
+
*/
|
|
16
|
+
function parseAttachmentLinesFromText(text) {
|
|
17
|
+
const raw = String(text || "");
|
|
18
|
+
if (!raw.trim())
|
|
19
|
+
return [];
|
|
20
|
+
return parseChatMessageMarkup(raw).files.map((file) => ({
|
|
21
|
+
type: file.type,
|
|
22
|
+
path: file.path,
|
|
23
|
+
...(typeof file.caption === "string" && file.caption.trim()
|
|
24
|
+
? { caption: file.caption.trim() }
|
|
25
|
+
: {}),
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
function guessAttachmentMediaTypeFromPath(filePath) {
|
|
29
|
+
const ext = (path.extname(filePath) || "").toLowerCase();
|
|
30
|
+
if (ext === ".png")
|
|
31
|
+
return "image/png";
|
|
32
|
+
if (ext === ".jpg" || ext === ".jpeg")
|
|
33
|
+
return "image/jpeg";
|
|
34
|
+
if (ext === ".webp")
|
|
35
|
+
return "image/webp";
|
|
36
|
+
if (ext === ".gif")
|
|
37
|
+
return "image/gif";
|
|
38
|
+
if (ext === ".pdf")
|
|
39
|
+
return "application/pdf";
|
|
40
|
+
if (ext === ".zip")
|
|
41
|
+
return "application/zip";
|
|
42
|
+
if (ext === ".mp3")
|
|
43
|
+
return "audio/mpeg";
|
|
44
|
+
if (ext === ".m4a")
|
|
45
|
+
return "audio/mp4";
|
|
46
|
+
if (ext === ".ogg")
|
|
47
|
+
return "audio/ogg";
|
|
48
|
+
if (ext === ".opus")
|
|
49
|
+
return "audio/opus";
|
|
50
|
+
if (ext === ".mp4")
|
|
51
|
+
return "video/mp4";
|
|
52
|
+
if (ext === ".mov")
|
|
53
|
+
return "video/quicktime";
|
|
54
|
+
if (ext === ".webm")
|
|
55
|
+
return "video/webm";
|
|
56
|
+
if (ext === ".m4v")
|
|
57
|
+
return "video/x-m4v";
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
function buildDataUrl(mediaType, buffer) {
|
|
61
|
+
const base64 = buffer.toString("base64");
|
|
62
|
+
const safeType = mediaType || "application/octet-stream";
|
|
63
|
+
return `data:${safeType};base64,${base64}`;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* 在 user 消息上注入 FileUIPart,以便多模态模型直接消费本地附件。
|
|
67
|
+
*/
|
|
68
|
+
export async function injectFilePartsFromAttachments(messages) {
|
|
69
|
+
if (!Array.isArray(messages) || messages.length === 0)
|
|
70
|
+
return messages;
|
|
71
|
+
const cwd = process.cwd();
|
|
72
|
+
const out = [];
|
|
73
|
+
for (const message of messages) {
|
|
74
|
+
if (!message || typeof message !== "object" || message.role !== "user") {
|
|
75
|
+
out.push(message);
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
const parts = Array.isArray(message.parts) ? message.parts : [];
|
|
79
|
+
if (parts.length === 0) {
|
|
80
|
+
out.push(message);
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
if (parts.some((part) => isFileUIPart(part))) {
|
|
84
|
+
out.push(message);
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
const fullText = parts
|
|
88
|
+
.map((part) => {
|
|
89
|
+
const candidate = part;
|
|
90
|
+
if (!isTextUIPart(candidate))
|
|
91
|
+
return "";
|
|
92
|
+
const value = candidate.text;
|
|
93
|
+
return typeof value === "string" ? value : "";
|
|
94
|
+
})
|
|
95
|
+
.filter((text) => text)
|
|
96
|
+
.join("\n");
|
|
97
|
+
if (!fullText.trim()) {
|
|
98
|
+
out.push(message);
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
const attachments = parseAttachmentLinesFromText(fullText);
|
|
102
|
+
if (attachments.length === 0) {
|
|
103
|
+
out.push(message);
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
const fileParts = [];
|
|
107
|
+
for (const attachment of attachments) {
|
|
108
|
+
const mediaTypeGuess = guessAttachmentMediaTypeFromPath(attachment.path);
|
|
109
|
+
if (!mediaTypeGuess ||
|
|
110
|
+
(!mediaTypeGuess.startsWith("image/") && mediaTypeGuess !== "application/pdf")) {
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
const absPath = path.isAbsolute(attachment.path)
|
|
114
|
+
? attachment.path
|
|
115
|
+
: path.resolve(cwd, attachment.path);
|
|
116
|
+
try {
|
|
117
|
+
const exists = await fs.pathExists(absPath);
|
|
118
|
+
if (!exists)
|
|
119
|
+
continue;
|
|
120
|
+
const buffer = await fs.readFile(absPath);
|
|
121
|
+
const dataUrl = buildDataUrl(mediaTypeGuess, buffer);
|
|
122
|
+
const filename = path.basename(absPath) || "image";
|
|
123
|
+
fileParts.push({
|
|
124
|
+
type: "file",
|
|
125
|
+
mediaType: mediaTypeGuess,
|
|
126
|
+
filename,
|
|
127
|
+
url: dataUrl,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
catch {
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (fileParts.length === 0) {
|
|
135
|
+
out.push(message);
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
out.push({
|
|
139
|
+
...message,
|
|
140
|
+
parts: [...parts, ...fileParts],
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
return out;
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=SessionAttachmentMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionAttachmentMapper.js","sourceRoot":"","sources":["../../../src/executor/messages/SessionAttachmentMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,YAAY,GAEb,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAElF;;GAEG;AACH,SAAS,4BAA4B,CAAC,IAAY;IAKhD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAC/B,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE;QAAE,OAAO,EA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AAC,UAAU,CAAC,IAAI;gBACjB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;YACvC,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;gBAC5C,IAAI,CAAC,MAAM;oBAAE,SAAS;gBACtB,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBAC1C,MAAM,OAAO,GAAG,YAAY,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;gBACrD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;gBAEnD,SAAS,CAAC,IAAI,CAAC;oBACb,IAAI,EAAE,MAAM;oBACZ,SAAS,EAAE,cAAc;oBACzB,QAAQ;oBACR,GAAG,EAAE,OAAO;iBACb,CAAC,CAAC;YACL,CAAC;YAAC,MAAM,CAAC;gBACP,SAAS;YACX,CAAC;QACH,CAAC;QAED,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClB,SAAS;QACX,CAAC;QAED,GAAG,CAAC,IAAI,CAAC;YACP,GAAG,OAAO;YACV,KAAK,EAAE,CAAC,GAAG,KAAK,EAAE,GAAG,SAAS,CAAC;SAChC,CAAC,CAAC;IACL,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionMessageCodec:session message 与模型 message 的转换模块。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 只负责消息筛选与模型消息转换。
|
|
6
|
+
* - 附件注入下沉到 `SessionAttachmentMapper`。
|
|
7
|
+
* - 日志提取与输出下沉到 `SessionMessageLog`。
|
|
8
|
+
*/
|
|
9
|
+
import { type ModelMessage, type Tool } from "ai";
|
|
10
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
11
|
+
/**
|
|
12
|
+
* 过滤回调返回值中的 user 文本消息。
|
|
13
|
+
*
|
|
14
|
+
* 关键点(中文)
|
|
15
|
+
* - 用途:从 onStepCallback 返回的消息里挑出可并入推理上下文的 user 文本。
|
|
16
|
+
* - 输入:任意 SessionMessageV1[](可能混有 assistant/tool/空消息)。
|
|
17
|
+
* - 输出:只包含“非空 user 文本”的消息数组。
|
|
18
|
+
*/
|
|
19
|
+
export declare function pickMergedUserMessages(messages: SessionMessageV1[]): SessionMessageV1[];
|
|
20
|
+
/**
|
|
21
|
+
* 将 context 消息转换为模型消息。
|
|
22
|
+
*
|
|
23
|
+
* 关键点(中文)
|
|
24
|
+
* - 用途:把 UIMessage 语义层数据转成模型可消费的 ModelMessage[]。
|
|
25
|
+
* - 输入:context 消息数组 + 可用工具集合。
|
|
26
|
+
* - 输出:可直接喂给 streamText 的 messages。
|
|
27
|
+
*/
|
|
28
|
+
export declare function toModelMessages(messages: SessionMessageV1[], tools: Record<string, Tool>): Promise<ModelMessage[]>;
|
|
29
|
+
/**
|
|
30
|
+
* 构建 OpenAI Responses providerOptions。
|
|
31
|
+
*
|
|
32
|
+
* 关键点(中文)
|
|
33
|
+
* - 用途:集中声明 provider 级运行选项,避免在主流程内硬编码。
|
|
34
|
+
* - 当前策略:`store=false`,不在 provider 侧持久化响应。
|
|
35
|
+
*/
|
|
36
|
+
export declare function buildOpenAIResponsesProviderOptions(): {
|
|
37
|
+
openai: {
|
|
38
|
+
store: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=SessionMessageCodec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionMessageCodec.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/SessionMessageCodec.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,O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ACvB,yBAAyB,EAAE,IAAI;KAChC,CAAC,CAAC;AACL,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,mCAAmC;IAKjD,sBAAsB;IACtB,OAAO;QACL,MAAM,EAAE;YACN,mBAAmB;YACnB,KAAK,EAAE,KAAK;SACb;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionMessageLog:assistant 消息日志提取与输出辅助模块。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 只负责从 session message 中提取可读文本。
|
|
6
|
+
* - 只负责把最终 assistant 文本稳定写入统一 logger。
|
|
7
|
+
* - 不参与模型消息转换,也不感知附件注入逻辑。
|
|
8
|
+
*/
|
|
9
|
+
import type { Logger } from "../../utils/logger/Logger.js";
|
|
10
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
11
|
+
/**
|
|
12
|
+
* 从 UI message 中提取 assistant 文本部分。
|
|
13
|
+
*/
|
|
14
|
+
export declare function extractAssistantTextForLog(message: SessionMessageV1): string;
|
|
15
|
+
/**
|
|
16
|
+
* 立即输出 assistant 文本日志。
|
|
17
|
+
*/
|
|
18
|
+
export declare function logAssistantMessageNow(logger: Logger, message: SessionMessageV1): Promise<void>;
|
|
19
|
+
//# sourceMappingURL=SessionMessageLog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionMessageLog.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/SessionMessageLog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAE5E;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAO5E;AAED;;GAEG;AACH,wBAAsB,sBAAsB,C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CAAC,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionStepEventMapper:把单个 step 结果转成按顺序可持久化的 session 消息。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 工具结果使用 AI SDK v6 UI tool part 格式,避免历史重放时丢失 tool result。
|
|
6
|
+
* - 只做 best-effort 提取,不依赖 provider 私有结构。
|
|
7
|
+
* - 输出仍然是标准 SessionMessageV1,供 SessionHistoryWriter 直接落盘。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
/**
|
|
11
|
+
* 从 stepResult 提取按顺序落盘的 session assistant 消息。
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildSessionStepEventMessages(params: {
|
|
14
|
+
sessionId: string;
|
|
15
|
+
stepIndex: number;
|
|
16
|
+
stepResult?: unknown;
|
|
17
|
+
text: string;
|
|
18
|
+
visibility?: "visible" | "internal";
|
|
19
|
+
}): SessionMessageV1[];
|
|
20
|
+
//# sourceMappingURL=SessionStepEventMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionStepEventMapper.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/SessionStepEventMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAmH5E;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACrC,GAAG,gBAAgB,EAAE,CAiGrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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些能力属于 runtime 执行结果处理,不属于 prompts 组装
|
|
6
|
+
* - 用于提取最终 assistant 文本与工具调用摘要
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
9
|
+
import type { JsonObject } from "../../types/common/Json.js";
|
|
10
|
+
type ToolCallSummary = {
|
|
11
|
+
tool: string;
|
|
12
|
+
input: JsonObject;
|
|
13
|
+
output: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 从 UIMessage 中提取纯文本。
|
|
17
|
+
*/
|
|
18
|
+
export declare function extractTextFromUiMessage(message: SessionMessageV1 | null | undefined): string;
|
|
19
|
+
/**
|
|
20
|
+
* 从 UIMessage 中提取 tool 调用记录。
|
|
21
|
+
*/
|
|
22
|
+
export declare function extractToolCallsFromUiMessage(message: SessionMessageV1 | null | undefined): ToolCallSummary[];
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=UIMessageTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UIMessageTransformer.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/UIMessageTransformer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,wBAAwB,CAAC;AAIpE,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAwEF;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,MAAM,CAOR;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,eAAe,EAAE,CAwBnB"}
|
|
@@ -0,0 +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AAC;AACb,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 从 assistant message 中提取“用户可见文本”。
|
|
3
|
+
*
|
|
4
|
+
* 背景(中文,关键点)
|
|
5
|
+
* - 在 tool-strict 模式下,模型的 `result.text` 可能为空
|
|
6
|
+
* - 真实的“最终回复”往往由 `chat_send` 工具的 input.text 决定
|
|
7
|
+
* - 因此需要一个稳定的、与 Agent 解耦的提取逻辑(属于 chat/egress 语义)
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
/**
|
|
11
|
+
* 生成真正应该落盘到 session 的 assistant message。
|
|
12
|
+
*
|
|
13
|
+
* 关键点(中文)
|
|
14
|
+
* - 没有 step 持久化时,直接保留完整 assistant message。
|
|
15
|
+
* - 一旦 step 已单独落盘,最终 merged assistant 不再重复写入。
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolveAssistantMessageForPersistence(message: SessionMessageV1 | null | undefined): SessionMessageV1 | null;
|
|
18
|
+
/**
|
|
19
|
+
* 判断 assistant message 是否声明“本轮 step 消息已单独持久化”。
|
|
20
|
+
*
|
|
21
|
+
* 关键点(中文)
|
|
22
|
+
* - 该标记只用于避免在 run 结束时把最终 merged assistant 再重复写入 context。
|
|
23
|
+
* - 不影响 channel 发送;只影响 context messages 的最终 append 策略。
|
|
24
|
+
*/
|
|
25
|
+
export declare function hasPersistedAssistantSteps(message: SessionMessageV1 | null | undefined): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 提取策略(中文)
|
|
28
|
+
* - 倒序扫描:优先使用最后一次 `chat_send`,与最终用户感知一致。
|
|
29
|
+
* - 优先使用 chat_send 的 input.text(需结合 tool output 判断成功)。
|
|
30
|
+
* - 若 tool output 为空/非 JSON,走 best-effort 采用 input.text。
|
|
31
|
+
* - 若无 tool call,则回退到 message 文本内容。
|
|
32
|
+
*/
|
|
33
|
+
export declare function pickLastSuccessfulChatSendText(message: SessionMessageV1 | null | undefined): string;
|
|
34
|
+
//# sourceMappingURL=UserVisibleText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserVisibleText.d.ts","sourceRoot":"","sources":["../../../src/executor/messages/UserVisibleText.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAM5E;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,gBAAgB,GAAG,IAAI,CAGzB;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,OAAO,CAIT;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,MAAM,CA8BR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserVisibleText.js","sourceRoot":"","sources":["../../../src/executor/messages/UserVisibleText.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EACL,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,qCAAqC,CACnD,OAA4C;IAE5C,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACzD,OAAO,0BAA0B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;AAC9D,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,0BAA0B,CACxC,OAA4C;IAE5C,MAAM,KAAK,GAAG,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC;IACvC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAA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,CAAC;QAAC,MAAM,CAAC;YACP,qCAAqC;YACrC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionHistoryStore:会话历史事实源接口。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - Store 负责消息、meta、archive、lock 等持久化能力。
|
|
6
|
+
* - Composer 只负责把 Store 中的历史组装成本轮模型输入。
|
|
7
|
+
* - 这个接口刻意独立于 Composer,避免把“落盘事实源”误当成“组装策略”。
|
|
8
|
+
*/
|
|
9
|
+
import type { LanguageModel } from "ai";
|
|
10
|
+
import type { SessionMessageV1, SessionMetadataV1 } from "../../../executor/types/SessionMessages.js";
|
|
11
|
+
import type { SessionSystemMessage } from "../../../executor/types/SessionPrompts.js";
|
|
12
|
+
/**
|
|
13
|
+
* compact 输入参数。
|
|
14
|
+
*/
|
|
15
|
+
export type SessionHistoryCompactInput = {
|
|
16
|
+
/**
|
|
17
|
+
* 当前模型实例。
|
|
18
|
+
*/
|
|
19
|
+
model: LanguageModel;
|
|
20
|
+
/**
|
|
21
|
+
* 当前轮 system messages。
|
|
22
|
+
*/
|
|
23
|
+
system: SessionSystemMessage[];
|
|
24
|
+
/**
|
|
25
|
+
* 保留最近消息条数。
|
|
26
|
+
*/
|
|
27
|
+
keepLastMessages: number;
|
|
28
|
+
/**
|
|
29
|
+
* 输入 token 近似上限。
|
|
30
|
+
*/
|
|
31
|
+
maxInputTokensApprox: number;
|
|
32
|
+
/**
|
|
33
|
+
* compact 时是否归档旧消息。
|
|
34
|
+
*/
|
|
35
|
+
archiveOnCompact: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 前段压缩比例(0-1)。
|
|
38
|
+
*/
|
|
39
|
+
compactRatio: number;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* 会话历史事实源。
|
|
43
|
+
*/
|
|
44
|
+
export interface SessionHistoryStore {
|
|
45
|
+
/**
|
|
46
|
+
* 当前会话 ID。
|
|
47
|
+
*/
|
|
48
|
+
readonly sessionId: string;
|
|
49
|
+
/**
|
|
50
|
+
* 追加一条消息到历史。
|
|
51
|
+
*/
|
|
52
|
+
append(message: SessionMessageV1): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* 读取完整消息历史。
|
|
55
|
+
*/
|
|
56
|
+
list(): Promise<SessionMessageV1[]>;
|
|
57
|
+
/**
|
|
58
|
+
* 读取消息区间 [start, end)。
|
|
59
|
+
*/
|
|
60
|
+
slice(start: number, end: number): Promise<SessionMessageV1[]>;
|
|
61
|
+
/**
|
|
62
|
+
* 读取消息总条数。
|
|
63
|
+
*/
|
|
64
|
+
size(): Promise<number>;
|
|
65
|
+
/**
|
|
66
|
+
* 读取元信息。
|
|
67
|
+
*/
|
|
68
|
+
meta(): Promise<Record<string, unknown>>;
|
|
69
|
+
/**
|
|
70
|
+
* 执行一次 compact(best-effort)。
|
|
71
|
+
*/
|
|
72
|
+
compact(input: SessionHistoryCompactInput): Promise<{
|
|
73
|
+
compacted: boolean;
|
|
74
|
+
reason?: string;
|
|
75
|
+
}>;
|
|
76
|
+
/**
|
|
77
|
+
* 构造 user 文本消息。
|
|
78
|
+
*/
|
|
79
|
+
userText(input: {
|
|
80
|
+
/**
|
|
81
|
+
* 用户文本内容。
|
|
82
|
+
*/
|
|
83
|
+
text: string;
|
|
84
|
+
/**
|
|
85
|
+
* 消息元信息(除 schema 字段)。
|
|
86
|
+
*/
|
|
87
|
+
metadata: Omit<SessionMetadataV1, "v" | "ts"> & Partial<Pick<SessionMetadataV1, "ts">>;
|
|
88
|
+
/**
|
|
89
|
+
* 可选消息 ID(默认自动生成)。
|
|
90
|
+
*/
|
|
91
|
+
id?: string;
|
|
92
|
+
}): SessionMessageV1;
|
|
93
|
+
/**
|
|
94
|
+
* 构造 assistant 文本消息。
|
|
95
|
+
*/
|
|
96
|
+
assistantText(input: {
|
|
97
|
+
/**
|
|
98
|
+
* 助手文本内容。
|
|
99
|
+
*/
|
|
100
|
+
text: string;
|
|
101
|
+
/**
|
|
102
|
+
* 消息元信息(除 schema 字段)。
|
|
103
|
+
*/
|
|
104
|
+
metadata: Omit<SessionMetadataV1, "v" | "ts"> & Partial<Pick<SessionMetadataV1, "ts">>;
|
|
105
|
+
/**
|
|
106
|
+
* 可选消息 ID(默认自动生成)。
|
|
107
|
+
*/
|
|
108
|
+
id?: string;
|
|
109
|
+
/**
|
|
110
|
+
* 消息种类(普通/摘要)。
|
|
111
|
+
*/
|
|
112
|
+
kind?: "normal" | "summary";
|
|
113
|
+
/**
|
|
114
|
+
* 消息来源(egress/compact)。
|
|
115
|
+
*/
|
|
116
|
+
source?: "egress" | "compact";
|
|
117
|
+
}): SessionMessageV1;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=SessionHistoryStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionHistoryStore.d.ts","sourceRoot":"","sources":["../../../../src/executor/store/history/SessionHistoryStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxC,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAE/B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAA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AC,CAAC;QAEzC;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAE5B;;WAEG;QACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;KAC/B,GAAG,gBAAgB,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionHistoryStore.js","sourceRoot":"","sources":["../../../../src/executor/store/history/SessionHistoryStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JsonlSessionHistoryStore:基于 JSONL 的 session history 事实源。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 负责 `.downcity/.../messages/messages.jsonl`、`meta.json`、archive 与文件锁。
|
|
6
|
+
* - append 与 compact 共用同一把文件锁,避免并发覆盖。
|
|
7
|
+
* - 不负责为模型组装 messages;组装逻辑放在 `JsonlSessionHistoryComposer`。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionMessageV1, SessionMetadataV1 } from "../../../../executor/types/SessionMessages.js";
|
|
10
|
+
import type { SessionHistoryPathOverrides } from "../../../../executor/types/SessionHistoryPaths.js";
|
|
11
|
+
import type { SessionHistoryCompactInput, SessionHistoryStore } from "../../../../executor/store/history/SessionHistoryStore.js";
|
|
12
|
+
/**
|
|
13
|
+
* JSONL history store 构造参数。
|
|
14
|
+
*/
|
|
15
|
+
export type JsonlSessionHistoryStoreOptions = {
|
|
16
|
+
/**
|
|
17
|
+
* 当前项目根目录。
|
|
18
|
+
*/
|
|
19
|
+
rootPath: string;
|
|
20
|
+
/**
|
|
21
|
+
* 当前 agentId。
|
|
22
|
+
*
|
|
23
|
+
* 关键点(中文)
|
|
24
|
+
* - 仅在未提供 `paths` 覆盖时必需。
|
|
25
|
+
* - 默认目录统一收敛到 `.downcity/agents/<agentId>/sessions/...`。
|
|
26
|
+
*/
|
|
27
|
+
agentId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 当前 sessionId。
|
|
30
|
+
*/
|
|
31
|
+
sessionId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 可选路径覆盖,供 SDK session / task run 复用同一 JSONL store。
|
|
34
|
+
*/
|
|
35
|
+
paths?: SessionHistoryPathOverrides;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* JSONL Session history store。
|
|
39
|
+
*/
|
|
40
|
+
export declare class JsonlSessionHistoryStore implements SessionHistoryStore {
|
|
41
|
+
readonly sessionId: string;
|
|
42
|
+
private readonly rootPath;
|
|
43
|
+
private readonly agentId?;
|
|
44
|
+
private readonly overrideSessionDirPath?;
|
|
45
|
+
private readonly overrideMessagesDirPath?;
|
|
46
|
+
private readonly overrideMessagesFilePath?;
|
|
47
|
+
private readonly overrideMetaFilePath?;
|
|
48
|
+
private readonly overrideArchiveDirPath?;
|
|
49
|
+
constructor(options: JsonlSessionHistoryStoreOptions);
|
|
50
|
+
private readOptionalPath;
|
|
51
|
+
private getMessagesDirPath;
|
|
52
|
+
private getMessagesFilePath;
|
|
53
|
+
private getMetaFilePath;
|
|
54
|
+
private getArchiveDirPath;
|
|
55
|
+
private getLockFilePath;
|
|
56
|
+
private ensureLayout;
|
|
57
|
+
private normalizePinnedSkillIds;
|
|
58
|
+
private normalizeSdkConfig;
|
|
59
|
+
private readMetaUnsafe;
|
|
60
|
+
private writeMetaUnsafe;
|
|
61
|
+
private withWriteLock;
|
|
62
|
+
private normalizeSystem;
|
|
63
|
+
compact(input: SessionHistoryCompactInput): Promise<{
|
|
64
|
+
compacted: boolean;
|
|
65
|
+
reason?: string;
|
|
66
|
+
}>;
|
|
67
|
+
append(message: SessionMessageV1): Promise<void>;
|
|
68
|
+
list(): Promise<SessionMessageV1[]>;
|
|
69
|
+
slice(start: number, end: number): Promise<SessionMessageV1[]>;
|
|
70
|
+
size(): Promise<number>;
|
|
71
|
+
meta(): Promise<Record<string, unknown>>;
|
|
72
|
+
userText(input: {
|
|
73
|
+
text: string;
|
|
74
|
+
metadata: Omit<SessionMetadataV1, "v" | "ts"> & Partial<Pick<SessionMetadataV1, "ts">>;
|
|
75
|
+
id?: string;
|
|
76
|
+
}): SessionMessageV1;
|
|
77
|
+
assistantText(input: {
|
|
78
|
+
text: string;
|
|
79
|
+
metadata: Omit<SessionMetadataV1, "v" | "ts"> & Partial<Pick<SessionMetadataV1, "ts">>;
|
|
80
|
+
id?: string;
|
|
81
|
+
kind?: "normal" | "summary";
|
|
82
|
+
source?: "egress" | "compact";
|
|
83
|
+
}): SessionMessageV1;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=JsonlSessionHistoryStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonlSessionHistoryStore.d.ts","sourceRoot":"","sources":["../../../../../src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AAC3F,OAAO,KAAK,EACV,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,iDAAiD,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,2BAA2B,CAAC;CACrC,CAAC;AAwCF;;GAEG;AACH,qBAAa,wBAAyB,YAAW,mBAAmB;IAClE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CA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