@downcity/agent 1.1.32 → 1.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -84
- package/bin/agent/Agent.d.ts +208 -0
- package/bin/agent/Agent.d.ts.map +1 -0
- package/bin/agent/Agent.js +641 -0
- package/bin/agent/Agent.js.map +1 -0
- package/bin/agent/RemoteAgent.d.ts +29 -0
- package/bin/agent/RemoteAgent.d.ts.map +1 -0
- package/bin/agent/RemoteAgent.js +444 -0
- package/bin/agent/RemoteAgent.js.map +1 -0
- package/bin/config/AgentInitializer.d.ts +39 -0
- package/bin/config/AgentInitializer.d.ts.map +1 -0
- package/bin/config/AgentInitializer.js +208 -0
- package/bin/config/AgentInitializer.js.map +1 -0
- package/bin/config/Config.d.ts +16 -0
- package/bin/config/Config.d.ts.map +1 -1
- package/bin/config/Config.js +33 -67
- package/bin/config/Config.js.map +1 -1
- package/bin/config/ConfigEnvResolver.d.ts +22 -0
- package/bin/config/ConfigEnvResolver.d.ts.map +1 -0
- package/bin/config/ConfigEnvResolver.js +41 -0
- package/bin/config/ConfigEnvResolver.js.map +1 -0
- package/bin/config/Defaults.d.ts +12 -4
- package/bin/config/Defaults.d.ts.map +1 -1
- package/bin/config/Defaults.js +13 -5
- package/bin/config/Defaults.js.map +1 -1
- package/bin/config/DowncitySchema.d.ts +18 -0
- package/bin/config/DowncitySchema.d.ts.map +1 -1
- package/bin/config/DowncitySchema.js +9 -8
- package/bin/config/DowncitySchema.js.map +1 -1
- package/bin/config/EnvFile.d.ts +31 -0
- package/bin/config/EnvFile.d.ts.map +1 -0
- package/bin/config/EnvFile.js +89 -0
- package/bin/config/EnvFile.js.map +1 -0
- package/bin/config/ExecutionBinding.d.ts +24 -5
- package/bin/config/ExecutionBinding.d.ts.map +1 -1
- package/bin/config/ExecutionBinding.js +24 -5
- package/bin/config/ExecutionBinding.js.map +1 -1
- package/bin/config/Gitignore.d.ts +21 -0
- package/bin/config/Gitignore.d.ts.map +1 -0
- package/bin/config/Gitignore.js +46 -0
- package/bin/config/Gitignore.js.map +1 -0
- package/bin/config/Paths.d.ts +147 -2
- package/bin/config/Paths.d.ts.map +1 -1
- package/bin/config/Paths.js +156 -7
- package/bin/config/Paths.js.map +1 -1
- package/bin/config/PlatformPaths.d.ts +35 -0
- package/bin/config/PlatformPaths.d.ts.map +1 -0
- package/bin/config/PlatformPaths.js +49 -0
- package/bin/config/PlatformPaths.js.map +1 -0
- package/bin/executor/Executor.d.ts +172 -0
- package/bin/executor/Executor.d.ts.map +1 -0
- package/bin/executor/Executor.js +533 -0
- package/bin/executor/Executor.js.map +1 -0
- package/bin/executor/SessionRunScope.d.ts +84 -0
- package/bin/executor/SessionRunScope.d.ts.map +1 -0
- package/bin/executor/SessionRunScope.js +82 -0
- package/bin/executor/SessionRunScope.js.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts +55 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +48 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts +62 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts +54 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts +56 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.js.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +35 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.js.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.js.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.js.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts +169 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.js +204 -0
- package/bin/executor/composer/system/default/SystemDomain.js.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +7 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.js.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.js.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts +27 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts +63 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts +72 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +33 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -0
- package/bin/executor/ids/resolveSessionId.d.ts.map +1 -0
- package/bin/executor/ids/resolveSessionId.js.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts +66 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.js +48 -0
- package/bin/executor/messages/AssistantResultPersistence.js.map +1 -0
- package/bin/executor/messages/ChatMessageMarkup.d.ts +54 -0
- package/bin/executor/messages/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/executor/messages/ChatMessageMarkup.js.map +1 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.d.ts +144 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.d.ts.map +1 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.js +9 -0
- package/bin/executor/messages/ChatMessageMarkupTypes.js.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts +14 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.js +145 -0
- package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts +41 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.js.map +1 -0
- package/bin/executor/messages/SessionMessageLog.d.ts +19 -0
- package/bin/executor/messages/SessionMessageLog.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageLog.js.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts +20 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.js.map +1 -0
- package/bin/executor/messages/UIMessageTransformer.d.ts +24 -0
- package/bin/executor/messages/UIMessageTransformer.d.ts.map +1 -0
- package/bin/executor/messages/UIMessageTransformer.js.map +1 -0
- package/bin/executor/messages/UserVisibleText.d.ts +34 -0
- package/bin/executor/messages/UserVisibleText.d.ts.map +1 -0
- package/bin/executor/messages/UserVisibleText.js.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts +119 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.js.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts +85 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts +79 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.js +288 -0
- package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts +114 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js +359 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts +26 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js +74 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.d.ts +118 -0
- package/bin/executor/tools/shell/ShellToolSchemas.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js +113 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js.map +1 -0
- package/bin/executor/tools/shell/types/Shell.d.ts.map +1 -0
- package/bin/executor/tools/shell/types/Shell.js.map +1 -0
- package/bin/executor/tools/shell/types/ShellPlugin.d.ts +216 -0
- package/bin/executor/tools/shell/types/ShellPlugin.d.ts.map +1 -0
- package/bin/executor/tools/shell/types/ShellPlugin.js +9 -0
- package/bin/executor/tools/shell/types/ShellPlugin.js.map +1 -0
- package/bin/executor/types/SessionExecutor.d.ts +18 -0
- package/bin/executor/types/SessionExecutor.d.ts.map +1 -0
- package/bin/executor/types/SessionExecutor.js.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.js.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.js.map +1 -0
- package/bin/executor/types/SessionLoop.d.ts.map +1 -0
- package/bin/executor/types/SessionLoop.js.map +1 -0
- package/bin/executor/types/SessionMessages.d.ts.map +1 -0
- package/bin/executor/types/SessionMessages.js.map +1 -0
- package/bin/executor/types/SessionPrompts.d.ts.map +1 -0
- package/bin/executor/types/SessionPrompts.js.map +1 -0
- package/bin/executor/types/SessionRun.d.ts +112 -0
- package/bin/executor/types/SessionRun.d.ts.map +1 -0
- package/bin/executor/types/SessionRun.js.map +1 -0
- package/bin/index.d.ts +34 -51
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +24 -37
- package/bin/index.js.map +1 -1
- package/bin/plugin/core/ActionScheduleExecutor.d.ts +18 -0
- package/bin/plugin/core/ActionScheduleExecutor.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleExecutor.js +49 -0
- package/bin/plugin/core/ActionScheduleExecutor.js.map +1 -0
- package/bin/plugin/core/ActionScheduleRuntime.d.ts +23 -0
- package/bin/plugin/core/ActionScheduleRuntime.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleRuntime.js +61 -0
- package/bin/plugin/core/ActionScheduleRuntime.js.map +1 -0
- package/bin/plugin/core/ActionScheduleStore.d.ts +92 -0
- package/bin/plugin/core/ActionScheduleStore.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleStore.js +287 -0
- package/bin/plugin/core/ActionScheduleStore.js.map +1 -0
- package/bin/plugin/core/ActionScheduleTime.d.ts +32 -0
- package/bin/plugin/core/ActionScheduleTime.d.ts.map +1 -0
- package/bin/plugin/core/ActionScheduleTime.js +108 -0
- package/bin/plugin/core/ActionScheduleTime.js.map +1 -0
- package/bin/plugin/core/Activation.d.ts +7 -7
- package/bin/plugin/core/Activation.d.ts.map +1 -1
- package/bin/plugin/core/Activation.js +8 -7
- package/bin/plugin/core/Activation.js.map +1 -1
- package/bin/plugin/core/BasePlugin.d.ts +5 -5
- package/bin/plugin/core/BasePlugin.d.ts.map +1 -1
- package/bin/plugin/core/BasePlugin.js +2 -2
- package/bin/plugin/core/HookRegistry.d.ts +1 -1
- package/bin/plugin/core/HookRegistry.d.ts.map +1 -1
- package/bin/plugin/core/PluginActionRunner.d.ts +3 -3
- package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -1
- package/bin/plugin/core/PluginActionRunner.js +3 -4
- package/bin/plugin/core/PluginActionRunner.js.map +1 -1
- package/bin/plugin/core/PluginCatalog.d.ts +56 -0
- package/bin/plugin/core/PluginCatalog.d.ts.map +1 -0
- package/bin/plugin/core/PluginCatalog.js +137 -0
- package/bin/plugin/core/PluginCatalog.js.map +1 -0
- package/bin/plugin/core/PluginCommand.d.ts +9 -5
- package/bin/plugin/core/PluginCommand.d.ts.map +1 -1
- package/bin/plugin/core/PluginCommand.js +12 -11
- package/bin/plugin/core/PluginCommand.js.map +1 -1
- package/bin/plugin/core/PluginCommandRequest.d.ts +7 -7
- package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -1
- package/bin/plugin/core/PluginCommandRequest.js +6 -6
- package/bin/plugin/core/PluginCommandRequest.js.map +1 -1
- package/bin/plugin/core/PluginHttpRoutes.d.ts +24 -0
- package/bin/plugin/core/PluginHttpRoutes.d.ts.map +1 -0
- package/bin/plugin/core/PluginHttpRoutes.js +35 -0
- package/bin/plugin/core/PluginHttpRoutes.js.map +1 -0
- package/bin/plugin/core/PluginLocalExecution.d.ts +33 -0
- package/bin/plugin/core/PluginLocalExecution.d.ts.map +1 -0
- package/bin/plugin/core/PluginLocalExecution.js +120 -0
- package/bin/plugin/core/PluginLocalExecution.js.map +1 -0
- package/bin/plugin/core/PluginRegistry.d.ts +1 -1
- package/bin/plugin/core/PluginRegistry.d.ts.map +1 -1
- package/bin/plugin/core/PluginRegistry.js +2 -12
- package/bin/plugin/core/PluginRegistry.js.map +1 -1
- package/bin/plugin/core/PluginStateController.d.ts +2 -2
- package/bin/plugin/core/PluginStateController.d.ts.map +1 -1
- package/bin/plugin/core/PluginStateController.js +5 -6
- package/bin/plugin/core/PluginStateController.js.map +1 -1
- package/bin/plugin/core/ProjectConfigStore.d.ts +53 -0
- package/bin/plugin/core/ProjectConfigStore.d.ts.map +1 -1
- package/bin/plugin/core/ProjectConfigStore.js +52 -0
- package/bin/plugin/core/ProjectConfigStore.js.map +1 -1
- package/bin/plugin/types/ActionSchedule.d.ts +85 -0
- package/bin/plugin/types/ActionSchedule.d.ts.map +1 -0
- package/bin/plugin/types/ActionSchedule.js +10 -0
- package/bin/plugin/types/ActionSchedule.js.map +1 -0
- package/bin/plugin/types/Plugin.d.ts +23 -31
- package/bin/plugin/types/Plugin.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.d.ts +3 -3
- package/bin/plugin/types/PluginApi.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.js +1 -1
- package/bin/plugin/types/PluginState.d.ts +1 -1
- package/bin/plugin/types/PluginState.d.ts.map +1 -1
- package/bin/plugin/types/Plugins.d.ts +2 -2
- package/bin/plugin/types/Plugins.d.ts.map +1 -1
- package/bin/runtime/host/AgentHostRuntime.js +1 -1
- package/bin/runtime/host/daemon/Api.d.ts +2 -2
- package/bin/runtime/host/daemon/Api.js +1 -1
- package/bin/runtime/host/daemon/ProjectSetup.d.ts +0 -11
- package/bin/runtime/host/daemon/ProjectSetup.d.ts.map +1 -1
- package/bin/runtime/host/daemon/ProjectSetup.js +0 -45
- package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
- package/bin/runtime/sandbox/SandboxConfigResolver.d.ts +1 -1
- package/bin/runtime/sandbox/SandboxConfigResolver.d.ts.map +1 -1
- package/bin/runtime/sandbox/SandboxRunner.d.ts +1 -1
- package/bin/runtime/sandbox/SandboxRunner.d.ts.map +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.d.ts +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.js +1 -1
- package/bin/runtime/server/http/Server.d.ts +10 -10
- package/bin/runtime/server/http/Server.d.ts.map +1 -1
- package/bin/runtime/server/http/Server.js +14 -34
- package/bin/runtime/server/http/Server.js.map +1 -1
- package/bin/runtime/server/http/control/AuthControlService.d.ts +9 -5
- package/bin/runtime/server/http/control/AuthControlService.d.ts.map +1 -1
- package/bin/runtime/server/http/control/AuthControlService.js +11 -2
- package/bin/runtime/server/http/control/AuthControlService.js.map +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ControlApiRoutes.js +1 -3
- package/bin/runtime/server/http/control/ControlApiRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js +1 -2
- package/bin/runtime/server/http/control/ControlAuthorizationRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/ControlRouter.d.ts +2 -2
- package/bin/runtime/server/http/control/ControlRouter.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts +6 -15
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.js +3 -64
- package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
- package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.js +9 -10
- package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.js +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.js +0 -12
- package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.js +43 -14
- package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/TaskStore.d.ts.map +1 -1
- package/bin/runtime/server/http/control/TaskStore.js +20 -2
- package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
- package/bin/runtime/server/http/control/types/AuthControl.d.ts +5 -5
- package/bin/runtime/server/http/control/types/AuthControl.d.ts.map +1 -1
- package/bin/runtime/server/http/control/types/ControlRoutes.d.ts +2 -2
- package/bin/runtime/server/http/control/types/ControlRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/execute/execute.d.ts +1 -1
- package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.d.ts +4 -4
- package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.js +61 -4
- package/bin/runtime/server/http/plugins/plugins.js.map +1 -1
- package/bin/runtime/server/http/sdk/Router.d.ts +2 -2
- package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/Router.js +2 -2
- package/bin/runtime/server/http/sdk/Router.js.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +2 -2
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.js +72 -13
- package/bin/runtime/server/http/sdk/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/http/static/static.d.ts +1 -1
- package/bin/runtime/server/http/static/static.d.ts.map +1 -1
- package/bin/runtime/server/rpc/Server.d.ts +4 -6
- package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
- package/bin/runtime/server/rpc/Server.js +7 -12
- package/bin/runtime/server/rpc/Server.js.map +1 -1
- package/bin/runtime/transport/rpc/Paths.d.ts.map +1 -1
- package/bin/runtime/transport/rpc/Paths.js +1 -14
- package/bin/runtime/transport/rpc/Paths.js.map +1 -1
- package/bin/session/Session.d.ts +176 -0
- package/bin/session/Session.d.ts.map +1 -0
- package/bin/session/Session.js +503 -0
- package/bin/session/Session.js.map +1 -0
- package/bin/session/SessionEventMapper.d.ts.map +1 -0
- package/bin/session/SessionEventMapper.js.map +1 -0
- package/bin/session/SessionSystemBuilder.d.ts +106 -0
- package/bin/session/SessionSystemBuilder.d.ts.map +1 -0
- package/bin/session/SessionSystemBuilder.js +147 -0
- package/bin/session/SessionSystemBuilder.js.map +1 -0
- package/bin/session/browse/Browse.d.ts +76 -0
- package/bin/session/browse/Browse.d.ts.map +1 -0
- package/bin/session/browse/Browse.js +418 -0
- package/bin/session/browse/Browse.js.map +1 -0
- package/bin/session/index.d.ts +14 -0
- package/bin/session/index.d.ts.map +1 -0
- package/bin/session/index.js +14 -0
- package/bin/session/index.js.map +1 -0
- package/bin/session/runtime/SessionEventHub.d.ts +24 -0
- package/bin/session/runtime/SessionEventHub.d.ts.map +1 -0
- package/bin/session/runtime/SessionEventHub.js.map +1 -0
- package/bin/session/runtime/SessionPromptRuntime.d.ts +71 -0
- package/bin/session/runtime/SessionPromptRuntime.d.ts.map +1 -0
- package/bin/session/runtime/SessionPromptRuntime.js.map +1 -0
- package/bin/session/storage/Metadata.d.ts +55 -0
- package/bin/session/storage/Metadata.d.ts.map +1 -0
- package/bin/session/storage/Metadata.js +140 -0
- package/bin/session/storage/Metadata.js.map +1 -0
- package/bin/session/storage/Paths.d.ts.map +1 -0
- package/bin/session/storage/Paths.js.map +1 -0
- package/bin/session/storage/Persistence.d.ts +63 -0
- package/bin/session/storage/Persistence.d.ts.map +1 -0
- package/bin/session/storage/Persistence.js +52 -0
- package/bin/session/storage/Persistence.js.map +1 -0
- package/bin/session/storage/RuntimeSessionPort.d.ts +70 -0
- package/bin/session/storage/RuntimeSessionPort.d.ts.map +1 -0
- package/bin/session/storage/RuntimeSessionPort.js +40 -0
- package/bin/session/storage/RuntimeSessionPort.js.map +1 -0
- package/bin/types/agent/AgentTypes.d.ts +636 -0
- package/bin/types/agent/AgentTypes.d.ts.map +1 -0
- package/bin/types/agent/AgentTypes.js +10 -0
- package/bin/types/agent/AgentTypes.js.map +1 -0
- package/bin/types/common/EnvFile.d.ts +30 -0
- package/bin/types/common/EnvFile.d.ts.map +1 -0
- package/bin/types/common/EnvFile.js +10 -0
- package/bin/types/common/EnvFile.js.map +1 -0
- package/bin/types/common/ResolvedConfigValue.d.ts +12 -0
- package/bin/types/common/ResolvedConfigValue.d.ts.map +1 -0
- package/bin/types/common/ResolvedConfigValue.js +2 -0
- package/bin/types/common/ResolvedConfigValue.js.map +1 -0
- package/bin/types/config/AgentProject.d.ts +80 -0
- package/bin/types/config/AgentProject.d.ts.map +1 -0
- package/bin/types/config/AgentProject.js.map +1 -0
- package/bin/types/config/DowncityConfig.d.ts +132 -96
- package/bin/types/config/DowncityConfig.d.ts.map +1 -1
- package/bin/types/runtime/agent/AgentContext.d.ts +244 -0
- package/bin/types/runtime/agent/AgentContext.d.ts.map +1 -0
- package/bin/types/runtime/agent/AgentContext.js +13 -0
- package/bin/types/runtime/agent/AgentContext.js.map +1 -0
- package/bin/types/runtime/agent/AgentRuntime.d.ts +79 -0
- package/bin/types/runtime/agent/AgentRuntime.d.ts.map +1 -0
- package/bin/types/runtime/agent/AgentRuntime.js +13 -0
- package/bin/types/runtime/agent/AgentRuntime.js.map +1 -0
- package/bin/types/runtime/host/AgentHost.d.ts +2 -122
- package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
- package/bin/types/runtime/host/AgentHost.js +2 -2
- package/bin/types/runtime/http/InlineInstant.d.ts +2 -2
- package/bin/types/runtime/http/InlineInstant.d.ts.map +1 -1
- package/bin/types/runtime/platform/PlatformGateway.d.ts +10 -10
- package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts +1 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionTurn.d.ts +1 -1
- package/bin/types/sdk/AgentSessionTurn.d.ts.map +1 -1
- package/bin/utils/object/DeepMerge.d.ts +18 -0
- package/bin/utils/object/DeepMerge.d.ts.map +1 -0
- package/bin/utils/object/DeepMerge.js +37 -0
- package/bin/utils/object/DeepMerge.js.map +1 -0
- package/bin/utils/object/ObjectGuards.d.ts +17 -0
- package/bin/utils/object/ObjectGuards.d.ts.map +1 -0
- package/bin/utils/object/ObjectGuards.js +19 -0
- package/bin/utils/object/ObjectGuards.js.map +1 -0
- package/bin/utils/path/AncestorFiles.d.ts +17 -0
- package/bin/utils/path/AncestorFiles.d.ts.map +1 -0
- package/bin/utils/path/AncestorFiles.js +36 -0
- package/bin/utils/path/AncestorFiles.js.map +1 -0
- package/bin/utils/string/EscapeRegExp.d.ts +17 -0
- package/bin/utils/string/EscapeRegExp.d.ts.map +1 -0
- package/bin/utils/string/EscapeRegExp.js +19 -0
- package/bin/utils/string/EscapeRegExp.js.map +1 -0
- package/package.json +8 -2
- package/scripts/session-prompt-runtime.test.mjs +30 -10
- package/src/agent/Agent.ts +748 -0
- package/src/agent/RemoteAgent.ts +621 -0
- package/src/config/AgentInitializer.ts +262 -0
- package/src/config/Config.ts +37 -82
- package/src/config/ConfigEnvResolver.ts +52 -0
- package/src/config/Defaults.ts +13 -5
- package/src/config/DowncitySchema.ts +20 -8
- package/src/config/EnvFile.ts +99 -0
- package/src/config/ExecutionBinding.ts +24 -5
- package/src/config/Gitignore.ts +52 -0
- package/src/config/Paths.ts +156 -7
- package/src/config/PlatformPaths.ts +53 -0
- package/src/executor/Executor.ts +732 -0
- package/src/executor/README.md +108 -0
- package/src/executor/SessionRunScope.ts +146 -0
- package/src/executor/composer/compaction/SessionCompactionComposer.ts +62 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +101 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
- package/src/executor/composer/context/LocalSessionContextComposer.ts +168 -0
- package/src/executor/composer/context/SessionContextComposer.ts +70 -0
- package/src/executor/composer/history/SessionHistoryComposer.ts +62 -0
- package/src/executor/composer/history/SessionHistoryWriter.ts +131 -0
- package/src/executor/composer/history/jsonl/JsonlSessionHistoryComposer.ts +126 -0
- package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +77 -0
- package/src/executor/composer/system/default/InitPromptAssets.ts +20 -0
- package/src/executor/composer/system/default/InitPrompts.ts +11 -0
- package/src/executor/composer/system/default/PromptRenderer.ts +52 -0
- package/src/executor/composer/system/default/StaticPromptCatalog.ts +287 -0
- package/src/executor/composer/system/default/SystemDomain.ts +357 -0
- package/src/executor/composer/system/default/SystemPromptAssets.ts +26 -0
- package/src/executor/composer/system/default/assets/core.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/init/PROFILE.md.ts +9 -0
- package/src/executor/composer/system/default/assets/init/SOUL.md.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +29 -0
- package/src/executor/composer/system/default/assets/task.prompt.ts +9 -0
- package/src/executor/composer/system/default/variables/GeoContext.ts +180 -0
- package/src/executor/composer/system/default/variables/VariableReplacer.ts +154 -0
- package/src/executor/core-engine/CoreEngineLoopDecision.ts +80 -0
- package/src/executor/core-engine/CoreEngineMessageState.ts +133 -0
- package/src/executor/core-engine/CoreEngineSignals.ts +416 -0
- package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +96 -0
- package/src/executor/messages/AssistantResultPersistence.ts +111 -0
- package/src/executor/messages/ChatMessageMarkup.ts +263 -0
- package/src/executor/messages/ChatMessageMarkupTypes.ts +168 -0
- package/src/executor/messages/SessionAttachmentMapper.ts +155 -0
- package/src/executor/messages/SessionMessageCodec.ts +116 -0
- package/src/executor/messages/SessionMessageLog.ts +39 -0
- package/src/executor/messages/SessionStepEventMapper.ts +233 -0
- package/src/executor/messages/UIMessageTransformer.ts +141 -0
- package/src/executor/messages/UserVisibleText.ts +84 -0
- package/src/executor/store/history/SessionHistoryStore.ts +145 -0
- package/src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts +500 -0
- package/src/executor/tools/shell/ShellToolBridge.ts +378 -0
- package/src/executor/tools/shell/ShellToolDefinition.ts +509 -0
- package/src/executor/tools/shell/ShellToolFormatting.ts +83 -0
- package/src/executor/tools/shell/ShellToolSchemas.ts +120 -0
- package/src/executor/tools/shell/types/ShellPlugin.ts +233 -0
- package/src/executor/types/SessionExecutor.ts +33 -0
- package/src/executor/types/SessionRun.ts +132 -0
- package/src/index.ts +75 -102
- package/src/plugin/core/ActionScheduleExecutor.ts +58 -0
- package/src/plugin/core/ActionScheduleRuntime.ts +82 -0
- package/src/plugin/core/ActionScheduleStore.ts +371 -0
- package/src/plugin/core/ActionScheduleTime.ts +132 -0
- package/src/plugin/core/Activation.ts +12 -10
- package/src/plugin/core/BasePlugin.ts +5 -5
- package/src/plugin/core/HookRegistry.ts +1 -1
- package/src/plugin/core/PluginActionRunner.ts +8 -9
- package/src/plugin/core/PluginCatalog.ts +178 -0
- package/src/plugin/core/PluginCommand.ts +22 -12
- package/src/plugin/core/PluginCommandRequest.ts +11 -11
- package/src/plugin/core/PluginHttpRoutes.ts +47 -0
- package/src/plugin/core/PluginLocalExecution.ts +155 -0
- package/src/plugin/core/PluginRegistry.ts +3 -23
- package/src/plugin/core/PluginStateController.ts +7 -12
- package/src/plugin/core/ProjectConfigStore.ts +97 -0
- package/src/plugin/types/ActionSchedule.ts +94 -0
- package/src/plugin/types/Plugin.ts +23 -32
- package/src/plugin/types/PluginApi.ts +3 -3
- package/src/plugin/types/PluginState.ts +0 -5
- package/src/plugin/types/Plugins.ts +2 -2
- package/src/runtime/host/AgentHostRuntime.ts +1 -1
- package/src/runtime/host/daemon/Api.ts +2 -2
- package/src/runtime/host/daemon/ProjectSetup.ts +0 -53
- package/src/runtime/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/runtime/sandbox/SandboxRunner.ts +1 -1
- package/src/runtime/sandbox/types/SandboxRuntime.ts +1 -1
- package/src/runtime/server/http/Server.ts +27 -59
- package/src/runtime/server/http/control/AuthControlService.ts +37 -29
- package/src/runtime/server/http/control/ControlApiRoutes.ts +1 -3
- package/src/runtime/server/http/control/ControlAuthorizationRoutes.ts +6 -11
- package/src/runtime/server/http/control/ControlRouter.ts +2 -2
- package/src/runtime/server/http/control/ExecuteBySession.ts +5 -70
- package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
- package/src/runtime/server/http/control/MessageTimeline.ts +3 -3
- package/src/runtime/server/http/control/OverviewRoutes.ts +10 -10
- package/src/runtime/server/http/control/SessionRoutes.ts +1 -1
- package/src/runtime/server/http/control/SessionSummaryStore.ts +1 -13
- package/src/runtime/server/http/control/TaskRoutes.ts +59 -14
- package/src/runtime/server/http/control/TaskStore.ts +22 -2
- package/src/runtime/server/http/control/types/AuthControl.ts +5 -9
- package/src/runtime/server/http/control/types/ControlRoutes.ts +2 -2
- package/src/runtime/server/http/execute/execute.ts +1 -1
- package/src/runtime/server/http/plugins/plugins.ts +72 -5
- package/src/runtime/server/http/sdk/Router.ts +3 -3
- package/src/runtime/server/http/sdk/SessionRoutes.ts +82 -14
- package/src/runtime/server/http/static/static.ts +1 -1
- package/src/runtime/server/rpc/Server.ts +15 -22
- package/src/runtime/transport/rpc/Paths.ts +1 -14
- package/src/session/Session.ts +671 -0
- package/src/session/SessionSystemBuilder.ts +259 -0
- package/src/session/browse/Browse.ts +519 -0
- package/src/session/index.ts +45 -0
- package/src/session/runtime/SessionPromptRuntime.ts +302 -0
- package/src/session/storage/Metadata.ts +196 -0
- package/src/session/storage/Persistence.ts +113 -0
- package/src/session/storage/RuntimeSessionPort.ts +107 -0
- package/src/types/agent/AgentTypes.ts +735 -0
- package/src/types/common/EnvFile.ts +31 -0
- package/src/types/common/ResolvedConfigValue.ts +16 -0
- package/src/types/config/DowncityConfig.ts +143 -96
- package/src/types/runtime/agent/AgentContext.ts +272 -0
- package/src/types/runtime/agent/AgentRuntime.ts +84 -0
- package/src/types/runtime/host/AgentHost.ts +2 -140
- package/src/types/runtime/http/InlineInstant.ts +2 -2
- package/src/types/runtime/platform/PlatformGateway.ts +10 -10
- package/src/types/sdk/AgentSessionEvent.ts +1 -1
- package/src/types/sdk/AgentSessionTurn.ts +1 -1
- package/src/utils/object/DeepMerge.ts +40 -0
- package/src/utils/object/ObjectGuards.ts +19 -0
- package/src/utils/path/AncestorFiles.ts +40 -0
- package/src/utils/string/EscapeRegExp.ts +19 -0
- package/tsconfig.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/config/project/AgentInitializer.d.ts +0 -39
- package/bin/config/project/AgentInitializer.d.ts.map +0 -1
- package/bin/config/project/AgentInitializer.js +0 -339
- package/bin/config/project/AgentInitializer.js.map +0 -1
- package/bin/config/project/types/AgentProject.d.ts +0 -80
- package/bin/config/project/types/AgentProject.d.ts.map +0 -1
- package/bin/config/project/types/AgentProject.js.map +0 -1
- package/bin/core/AgentContextTypes.d.ts +0 -272
- package/bin/core/AgentContextTypes.d.ts.map +0 -1
- package/bin/core/AgentContextTypes.js +0 -10
- package/bin/core/AgentContextTypes.js.map +0 -1
- package/bin/core/AgentCore.d.ts +0 -88
- package/bin/core/AgentCore.d.ts.map +0 -1
- package/bin/core/AgentCore.js +0 -469
- package/bin/core/AgentCore.js.map +0 -1
- package/bin/core/AgentCoreTypes.d.ts +0 -84
- package/bin/core/AgentCoreTypes.d.ts.map +0 -1
- package/bin/core/AgentCoreTypes.js +0 -10
- package/bin/core/AgentCoreTypes.js.map +0 -1
- package/bin/plugin/builtins/asr/Config.d.ts +0 -43
- package/bin/plugin/builtins/asr/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Config.js +0 -107
- package/bin/plugin/builtins/asr/Config.js.map +0 -1
- package/bin/plugin/builtins/asr/Dependency.d.ts +0 -77
- package/bin/plugin/builtins/asr/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Dependency.js +0 -238
- package/bin/plugin/builtins/asr/Dependency.js.map +0 -1
- package/bin/plugin/builtins/asr/InboundAugment.d.ts +0 -17
- package/bin/plugin/builtins/asr/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/InboundAugment.js +0 -47
- package/bin/plugin/builtins/asr/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/asr/ModelCatalog.d.ts +0 -29
- package/bin/plugin/builtins/asr/ModelCatalog.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/ModelCatalog.js +0 -25
- package/bin/plugin/builtins/asr/ModelCatalog.js.map +0 -1
- package/bin/plugin/builtins/asr/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/asr/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/asr/Plugin.js +0 -462
- package/bin/plugin/builtins/asr/Plugin.js.map +0 -1
- package/bin/plugin/builtins/auth/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/auth/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/Plugin.js +0 -181
- package/bin/plugin/builtins/auth/Plugin.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +0 -41
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js +0 -187
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +0 -30
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js +0 -123
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +0 -29
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js +0 -178
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js.map +0 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +0 -407
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.js +0 -115
- package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/Action.d.ts +0 -125
- package/bin/plugin/builtins/chat/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/Action.js +0 -376
- package/bin/plugin/builtins/chat/Action.js.map +0 -1
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts +0 -89
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/ChatPlugin.js +0 -212
- package/bin/plugin/builtins/chat/ChatPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +0 -159
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/ChatPluginTypes.js +0 -10
- package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +0 -1
- package/bin/plugin/builtins/chat/Index.d.ts +0 -9
- package/bin/plugin/builtins/chat/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/Index.js +0 -9
- package/bin/plugin/builtins/chat/Index.js.map +0 -1
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts +0 -63
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js +0 -258
- package/bin/plugin/builtins/chat/accounts/ChannelAccountService.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +0 -294
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +0 -237
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +0 -32
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts +0 -27
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/Configuration.js +0 -19
- package/bin/plugin/builtins/chat/channels/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +0 -31
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js +0 -147
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +0 -326
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js +0 -43
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -316
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js +0 -222
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js +0 -413
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js +0 -56
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +0 -21
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js +0 -69
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.js +0 -112
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +0 -92
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQ.js +0 -287
- package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js +0 -67
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js +0 -186
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js +0 -381
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js +0 -110
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -59
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js +0 -120
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js +0 -137
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.js +0 -235
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js +0 -108
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js +0 -284
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -20
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js +0 -86
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +0 -172
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js +0 -299
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +0 -42
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -82
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -9
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts +0 -99
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js +0 -306
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +0 -97
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js +0 -246
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js +0 -71
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +0 -59
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts +0 -42
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.js +0 -45
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -7
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js +0 -57
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts +0 -221
- package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js +0 -171
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts +0 -27
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.js +0 -53
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -46
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js +0 -148
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -125
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -366
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js +0 -336
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +0 -287
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +0 -114
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -33
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js +0 -66
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +0 -230
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +0 -260
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +0 -106
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +0 -12
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js +0 -219
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +0 -44
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +0 -51
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +0 -143
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +0 -17
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +0 -304
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +0 -5
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +0 -5
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +0 -44
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +0 -28
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +0 -40
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueue.js +0 -52
- package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -168
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +0 -130
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -83
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +0 -406
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -101
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +0 -205
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js +0 -130
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js +0 -26
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +0 -97
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSession.js +0 -84
- package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +0 -76
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js +0 -9
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +0 -147
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +0 -133
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +0 -28
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +0 -21
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js +0 -50
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +0 -57
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +0 -78
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js +0 -78
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js +0 -40
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js +0 -74
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +0 -51
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +0 -70
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +0 -1
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts +0 -97
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/BotInfo.js +0 -9
- package/bin/plugin/builtins/chat/types/BotInfo.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts +0 -226
- package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelAccount.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +0 -107
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelContext.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelContext.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +0 -88
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChannelStatus.js +0 -9
- package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatCommand.d.ts +0 -163
- package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatCommand.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatCommand.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts +0 -37
- package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatDispatcher.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +0 -36
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatHistory.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatHistory.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +0 -34
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatMeta.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatMeta.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +0 -238
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPlugin.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +0 -145
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +0 -125
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatPromptContext.js +0 -10
- package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +0 -36
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueue.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatQueue.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts +0 -25
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +0 -32
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ChatRuntime.js +0 -9
- package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +0 -1
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +0 -115
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/DirectDispatch.js +0 -9
- package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts +0 -42
- package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuAttachment.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuPost.d.ts +0 -287
- package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/FeishuPost.js +0 -9
- package/bin/plugin/builtins/chat/types/FeishuPost.js.map +0 -1
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts +0 -12
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.js +0 -2
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +0 -1
- package/bin/plugin/builtins/chat/types/QqVoice.d.ts +0 -118
- package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/QqVoice.js +0 -9
- package/bin/plugin/builtins/chat/types/QqVoice.js.map +0 -1
- package/bin/plugin/builtins/chat/types/ReplyContext.d.ts +0 -46
- package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +0 -1
- package/bin/plugin/builtins/chat/types/ReplyContext.js +0 -10
- package/bin/plugin/builtins/chat/types/ReplyContext.js.map +0 -1
- package/bin/plugin/builtins/contact/Action.d.ts +0 -62
- package/bin/plugin/builtins/contact/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/Action.js +0 -221
- package/bin/plugin/builtins/contact/Action.js.map +0 -1
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts +0 -39
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/ContactPlugin.js +0 -409
- package/bin/plugin/builtins/contact/ContactPlugin.js.map +0 -1
- package/bin/plugin/builtins/contact/Index.d.ts +0 -8
- package/bin/plugin/builtins/contact/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/Index.js +0 -8
- package/bin/plugin/builtins/contact/Index.js.map +0 -1
- package/bin/plugin/builtins/contact/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/contact/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/PROMPT.js +0 -8
- package/bin/plugin/builtins/contact/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.js +0 -83
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +0 -60
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts +0 -17
- package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPayload.js +0 -23
- package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +0 -13
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +0 -49
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ContactStore.js +0 -255
- package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.js +0 -98
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts +0 -36
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.js +0 -113
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +0 -33
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/InboxStore.js +0 -142
- package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +0 -20
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkApproval.js +0 -317
- package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +0 -21
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkCode.js +0 -61
- package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +0 -17
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/LinkStore.js +0 -39
- package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts +0 -64
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Paths.js +0 -103
- package/bin/plugin/builtins/contact/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +0 -46
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js +0 -120
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +0 -65
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/ShareBundle.js +0 -185
- package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +0 -5
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js +0 -15
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Token.d.ts +0 -24
- package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/runtime/Token.js +0 -36
- package/bin/plugin/builtins/contact/runtime/Token.js.map +0 -1
- package/bin/plugin/builtins/contact/types/Contact.d.ts +0 -78
- package/bin/plugin/builtins/contact/types/Contact.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/Contact.js +0 -9
- package/bin/plugin/builtins/contact/types/Contact.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactApproval.d.ts +0 -145
- package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactApproval.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactApproval.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactChat.d.ts +0 -46
- package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactChat.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactChat.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +0 -66
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCheck.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactCheck.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +0 -93
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactCommand.js +0 -8
- package/bin/plugin/builtins/contact/types/ContactCommand.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts +0 -12
- package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactEndpoint.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactLink.d.ts +0 -160
- package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactLink.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactLink.js.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactShare.d.ts +0 -163
- package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +0 -1
- package/bin/plugin/builtins/contact/types/ContactShare.js +0 -9
- package/bin/plugin/builtins/contact/types/ContactShare.js.map +0 -1
- package/bin/plugin/builtins/memory/Action.d.ts +0 -37
- package/bin/plugin/builtins/memory/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/Action.js +0 -111
- package/bin/plugin/builtins/memory/Action.js.map +0 -1
- package/bin/plugin/builtins/memory/Index.d.ts +0 -9
- package/bin/plugin/builtins/memory/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/Index.js +0 -9
- package/bin/plugin/builtins/memory/Index.js.map +0 -1
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +0 -45
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/MemoryPlugin.js +0 -242
- package/bin/plugin/builtins/memory/MemoryPlugin.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts +0 -15
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Flush.js +0 -63
- package/bin/plugin/builtins/memory/runtime/Flush.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Search.d.ts +0 -19
- package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Search.js +0 -268
- package/bin/plugin/builtins/memory/runtime/Search.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Store.d.ts +0 -65
- package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Store.js +0 -142
- package/bin/plugin/builtins/memory/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +0 -22
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js +0 -126
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts +0 -23
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/runtime/Writer.js +0 -139
- package/bin/plugin/builtins/memory/runtime/Writer.js.map +0 -1
- package/bin/plugin/builtins/memory/types/Memory.d.ts +0 -264
- package/bin/plugin/builtins/memory/types/Memory.d.ts.map +0 -1
- package/bin/plugin/builtins/memory/types/Memory.js +0 -9
- package/bin/plugin/builtins/memory/types/Memory.js.map +0 -1
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +0 -39
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/schedule/SchedulePlugin.js +0 -106
- package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +0 -1
- package/bin/plugin/builtins/shell/Index.d.ts +0 -9
- package/bin/plugin/builtins/shell/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/Index.js +0 -9
- package/bin/plugin/builtins/shell/Index.js.map +0 -1
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts +0 -65
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/ShellPlugin.js +0 -138
- package/bin/plugin/builtins/shell/ShellPlugin.js.map +0 -1
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +0 -10
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/Paths.d.ts +0 -12
- package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/Paths.js +0 -21
- package/bin/plugin/builtins/shell/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js +0 -73
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +0 -440
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -312
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js +0 -41
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -21
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
- package/bin/plugin/builtins/shell/types/Shell.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/types/Shell.js.map +0 -1
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts +0 -216
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/shell/types/ShellPlugin.js +0 -9
- package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +0 -1
- package/bin/plugin/builtins/skill/Action.d.ts +0 -34
- package/bin/plugin/builtins/skill/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Action.js +0 -122
- package/bin/plugin/builtins/skill/Action.js.map +0 -1
- package/bin/plugin/builtins/skill/Command.d.ts +0 -37
- package/bin/plugin/builtins/skill/Command.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Command.js +0 -70
- package/bin/plugin/builtins/skill/Command.js.map +0 -1
- package/bin/plugin/builtins/skill/Config.d.ts +0 -18
- package/bin/plugin/builtins/skill/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Config.js +0 -37
- package/bin/plugin/builtins/skill/Config.js.map +0 -1
- package/bin/plugin/builtins/skill/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/skill/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/PROMPT.js +0 -8
- package/bin/plugin/builtins/skill/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/skill/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/skill/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/Plugin.js +0 -301
- package/bin/plugin/builtins/skill/Plugin.js.map +0 -1
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/SkillPromptAssets.js +0 -13
- package/bin/plugin/builtins/skill/SkillPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts +0 -25
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Discovery.js +0 -130
- package/bin/plugin/builtins/skill/runtime/Discovery.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts +0 -6
- package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Frontmatter.js +0 -12
- package/bin/plugin/builtins/skill/runtime/Frontmatter.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts +0 -16
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Paths.js +0 -111
- package/bin/plugin/builtins/skill/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts +0 -19
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Prompt.js +0 -54
- package/bin/plugin/builtins/skill/runtime/Prompt.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Store.d.ts +0 -25
- package/bin/plugin/builtins/skill/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Store.js +0 -81
- package/bin/plugin/builtins/skill/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +0 -24
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js +0 -33
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Types.d.ts +0 -21
- package/bin/plugin/builtins/skill/runtime/Types.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Types.js +0 -2
- package/bin/plugin/builtins/skill/runtime/Types.js.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Utils.d.ts +0 -4
- package/bin/plugin/builtins/skill/runtime/Utils.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/runtime/Utils.js +0 -29
- package/bin/plugin/builtins/skill/runtime/Utils.js.map +0 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +0 -63
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.js +0 -10
- package/bin/plugin/builtins/skill/types/ClaudeSkill.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillCommand.d.ts +0 -87
- package/bin/plugin/builtins/skill/types/SkillCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillCommand.js +0 -9
- package/bin/plugin/builtins/skill/types/SkillCommand.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts +0 -102
- package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillPlugin.js +0 -29
- package/bin/plugin/builtins/skill/types/SkillPlugin.js.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillRoot.d.ts +0 -48
- package/bin/plugin/builtins/skill/types/SkillRoot.d.ts.map +0 -1
- package/bin/plugin/builtins/skill/types/SkillRoot.js +0 -9
- package/bin/plugin/builtins/skill/types/SkillRoot.js.map +0 -1
- package/bin/plugin/builtins/task/Action.d.ts +0 -36
- package/bin/plugin/builtins/task/Action.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Action.js +0 -407
- package/bin/plugin/builtins/task/Action.js.map +0 -1
- package/bin/plugin/builtins/task/Index.d.ts +0 -9
- package/bin/plugin/builtins/task/Index.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Index.js +0 -9
- package/bin/plugin/builtins/task/Index.js.map +0 -1
- package/bin/plugin/builtins/task/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/task/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/task/PROMPT.js +0 -8
- package/bin/plugin/builtins/task/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/task/Scheduler.d.ts +0 -17
- package/bin/plugin/builtins/task/Scheduler.d.ts.map +0 -1
- package/bin/plugin/builtins/task/Scheduler.js +0 -231
- package/bin/plugin/builtins/task/Scheduler.js.map +0 -1
- package/bin/plugin/builtins/task/TaskPlugin.d.ts +0 -57
- package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/task/TaskPlugin.js +0 -126
- package/bin/plugin/builtins/task/TaskPlugin.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +0 -19
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/CronTrigger.js +0 -93
- package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts +0 -13
- package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Frontmatter.js +0 -19
- package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Model.d.ts +0 -73
- package/bin/plugin/builtins/task/runtime/Model.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Model.js +0 -312
- package/bin/plugin/builtins/task/runtime/Model.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Paths.d.ts +0 -32
- package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Paths.js +0 -103
- package/bin/plugin/builtins/task/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Runner.d.ts +0 -43
- package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Runner.js +0 -440
- package/bin/plugin/builtins/task/runtime/Runner.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/Store.d.ts +0 -89
- package/bin/plugin/builtins/task/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/Store.js +0 -206
- package/bin/plugin/builtins/task/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +0 -192
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +0 -19
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js +0 -218
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +0 -16
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +0 -167
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +0 -5
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +0 -5
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +0 -9
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +0 -9
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +0 -13
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js +0 -271
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js +0 -95
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +0 -272
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js +0 -96
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +0 -153
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js +0 -9
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
- package/bin/plugin/builtins/task/types/Cron.d.ts +0 -16
- package/bin/plugin/builtins/task/types/Cron.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/Cron.js +0 -2
- package/bin/plugin/builtins/task/types/Cron.js.map +0 -1
- package/bin/plugin/builtins/task/types/Task.d.ts +0 -146
- package/bin/plugin/builtins/task/types/Task.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/Task.js +0 -9
- package/bin/plugin/builtins/task/types/Task.js.map +0 -1
- package/bin/plugin/builtins/task/types/TaskCommand.d.ts +0 -147
- package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/TaskCommand.js +0 -9
- package/bin/plugin/builtins/task/types/TaskCommand.js.map +0 -1
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +0 -52
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +0 -1
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js +0 -9
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +0 -1
- package/bin/plugin/builtins/tts/Dependency.d.ts +0 -90
- package/bin/plugin/builtins/tts/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/Dependency.js +0 -344
- package/bin/plugin/builtins/tts/Dependency.js.map +0 -1
- package/bin/plugin/builtins/tts/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/tts/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/Plugin.js +0 -472
- package/bin/plugin/builtins/tts/Plugin.js.map +0 -1
- package/bin/plugin/builtins/tts/PluginSupport.d.ts +0 -25
- package/bin/plugin/builtins/tts/PluginSupport.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/PluginSupport.js +0 -72
- package/bin/plugin/builtins/tts/PluginSupport.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts +0 -21
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Catalog.js +0 -90
- package/bin/plugin/builtins/tts/runtime/Catalog.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts +0 -143
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js +0 -261
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts +0 -89
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Installer.js +0 -188
- package/bin/plugin/builtins/tts/runtime/Installer.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Paths.d.ts +0 -20
- package/bin/plugin/builtins/tts/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Paths.js +0 -32
- package/bin/plugin/builtins/tts/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts +0 -44
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js +0 -363
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +0 -1
- package/bin/plugin/builtins/tts/types/Tts.d.ts +0 -91
- package/bin/plugin/builtins/tts/types/Tts.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/types/Tts.js +0 -9
- package/bin/plugin/builtins/tts/types/Tts.js.map +0 -1
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +0 -161
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/tts/types/TtsPlugin.js +0 -9
- package/bin/plugin/builtins/tts/types/TtsPlugin.js.map +0 -1
- package/bin/plugin/builtins/voice/Config.d.ts +0 -43
- package/bin/plugin/builtins/voice/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/Config.js +0 -104
- package/bin/plugin/builtins/voice/Config.js.map +0 -1
- package/bin/plugin/builtins/voice/Dependency.d.ts +0 -77
- package/bin/plugin/builtins/voice/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/Dependency.js +0 -237
- package/bin/plugin/builtins/voice/Dependency.js.map +0 -1
- package/bin/plugin/builtins/voice/InboundAugment.d.ts +0 -17
- package/bin/plugin/builtins/voice/InboundAugment.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/InboundAugment.js +0 -47
- package/bin/plugin/builtins/voice/InboundAugment.js.map +0 -1
- package/bin/plugin/builtins/voice/ModelCatalog.d.ts +0 -29
- package/bin/plugin/builtins/voice/ModelCatalog.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/ModelCatalog.js +0 -25
- package/bin/plugin/builtins/voice/ModelCatalog.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts +0 -18
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Catalog.js +0 -61
- package/bin/plugin/builtins/voice/runtime/Catalog.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts +0 -145
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js +0 -309
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts +0 -94
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Installer.js +0 -200
- package/bin/plugin/builtins/voice/runtime/Installer.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Paths.d.ts +0 -8
- package/bin/plugin/builtins/voice/runtime/Paths.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Paths.js +0 -26
- package/bin/plugin/builtins/voice/runtime/Paths.js.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts +0 -57
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/runtime/Transcriber.js +0 -329
- package/bin/plugin/builtins/voice/runtime/Transcriber.js.map +0 -1
- package/bin/plugin/builtins/voice/types/Voice.d.ts +0 -58
- package/bin/plugin/builtins/voice/types/Voice.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/types/Voice.js +0 -9
- package/bin/plugin/builtins/voice/types/Voice.js.map +0 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +0 -190
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.js +0 -9
- package/bin/plugin/builtins/voice/types/VoicePlugin.js.map +0 -1
- package/bin/plugin/builtins/web/Dependency.d.ts +0 -10
- package/bin/plugin/builtins/web/Dependency.d.ts.map +0 -1
- package/bin/plugin/builtins/web/Dependency.js +0 -10
- package/bin/plugin/builtins/web/Dependency.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.js.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts +0 -7
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts.map +0 -1
- package/bin/plugin/builtins/web/PROMPT.web-access.js +0 -8
- package/bin/plugin/builtins/web/PROMPT.web-access.js.map +0 -1
- package/bin/plugin/builtins/web/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/web/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/web/Plugin.js +0 -459
- package/bin/plugin/builtins/web/Plugin.js.map +0 -1
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts +0 -20
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts.map +0 -1
- package/bin/plugin/builtins/web/WebPromptAssets.js +0 -23
- package/bin/plugin/builtins/web/WebPromptAssets.js.map +0 -1
- package/bin/plugin/builtins/web/runtime/Config.d.ts +0 -21
- package/bin/plugin/builtins/web/runtime/Config.d.ts.map +0 -1
- package/bin/plugin/builtins/web/runtime/Config.js +0 -79
- package/bin/plugin/builtins/web/runtime/Config.js.map +0 -1
- package/bin/plugin/builtins/web/runtime/Source.d.ts +0 -29
- package/bin/plugin/builtins/web/runtime/Source.d.ts.map +0 -1
- package/bin/plugin/builtins/web/runtime/Source.js +0 -209
- package/bin/plugin/builtins/web/runtime/Source.js.map +0 -1
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts +0 -133
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +0 -1
- package/bin/plugin/builtins/web/types/WebPlugin.js +0 -12
- package/bin/plugin/builtins/web/types/WebPlugin.js.map +0 -1
- package/bin/plugin/builtins/workboard/Plugin.d.ts +0 -13
- package/bin/plugin/builtins/workboard/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/Plugin.js +0 -71
- package/bin/plugin/builtins/workboard/Plugin.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +0 -14
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.js +0 -63
- package/bin/plugin/builtins/workboard/runtime/Collector.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +0 -61
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js +0 -172
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts +0 -48
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/runtime/Store.js +0 -84
- package/bin/plugin/builtins/workboard/runtime/Store.js.map +0 -1
- package/bin/plugin/builtins/workboard/types/Workboard.d.ts +0 -150
- package/bin/plugin/builtins/workboard/types/Workboard.d.ts.map +0 -1
- package/bin/plugin/builtins/workboard/types/Workboard.js +0 -9
- package/bin/plugin/builtins/workboard/types/Workboard.js.map +0 -1
- package/bin/plugin/core/BuiltinPluginClasses.d.ts +0 -14
- package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +0 -1
- package/bin/plugin/core/BuiltinPluginClasses.js +0 -21
- package/bin/plugin/core/BuiltinPluginClasses.js.map +0 -1
- package/bin/plugin/core/Catalog.d.ts +0 -42
- package/bin/plugin/core/Catalog.d.ts.map +0 -1
- package/bin/plugin/core/Catalog.js +0 -92
- package/bin/plugin/core/Catalog.js.map +0 -1
- package/bin/plugin/core/HttpRoutes.d.ts +0 -22
- package/bin/plugin/core/HttpRoutes.d.ts.map +0 -1
- package/bin/plugin/core/HttpRoutes.js +0 -37
- package/bin/plugin/core/HttpRoutes.js.map +0 -1
- package/bin/plugin/core/LocalExecution.d.ts +0 -32
- package/bin/plugin/core/LocalExecution.d.ts.map +0 -1
- package/bin/plugin/core/LocalExecution.js +0 -146
- package/bin/plugin/core/LocalExecution.js.map +0 -1
- package/bin/plugin/core/PluginClassRegistry.d.ts +0 -22
- package/bin/plugin/core/PluginClassRegistry.d.ts.map +0 -1
- package/bin/plugin/core/PluginClassRegistry.js +0 -47
- package/bin/plugin/core/PluginClassRegistry.js.map +0 -1
- package/bin/plugin/core/PluginSystemProviders.d.ts +0 -27
- package/bin/plugin/core/PluginSystemProviders.d.ts.map +0 -1
- package/bin/plugin/core/PluginSystemProviders.js +0 -34
- package/bin/plugin/core/PluginSystemProviders.js.map +0 -1
- package/bin/plugin/core/Plugins.d.ts +0 -20
- package/bin/plugin/core/Plugins.d.ts.map +0 -1
- package/bin/plugin/core/Plugins.js +0 -33
- package/bin/plugin/core/Plugins.js.map +0 -1
- package/bin/plugin/core/schedule/Executor.d.ts +0 -17
- package/bin/plugin/core/schedule/Executor.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Executor.js +0 -48
- package/bin/plugin/core/schedule/Executor.js.map +0 -1
- package/bin/plugin/core/schedule/Store.d.ts +0 -91
- package/bin/plugin/core/schedule/Store.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Store.js +0 -284
- package/bin/plugin/core/schedule/Store.js.map +0 -1
- package/bin/plugin/core/schedule/Time.d.ts +0 -31
- package/bin/plugin/core/schedule/Time.d.ts.map +0 -1
- package/bin/plugin/core/schedule/Time.js +0 -107
- package/bin/plugin/core/schedule/Time.js.map +0 -1
- package/bin/plugin/types/PluginSchedule.d.ts +0 -80
- package/bin/plugin/types/PluginSchedule.d.ts.map +0 -1
- package/bin/plugin/types/PluginSchedule.js +0 -5
- package/bin/plugin/types/PluginSchedule.js.map +0 -1
- package/bin/runtime/host/PluginRuntime.d.ts +0 -24
- package/bin/runtime/host/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/host/PluginRuntime.js +0 -31
- package/bin/runtime/host/PluginRuntime.js.map +0 -1
- package/bin/runtime/server/http/control/ModelRoutes.d.ts +0 -13
- package/bin/runtime/server/http/control/ModelRoutes.d.ts.map +0 -1
- package/bin/runtime/server/http/control/ModelRoutes.js +0 -87
- package/bin/runtime/server/http/control/ModelRoutes.js.map +0 -1
- package/bin/runtime/server/http/services/services.d.ts +0 -25
- package/bin/runtime/server/http/services/services.d.ts.map +0 -1
- package/bin/runtime/server/http/services/services.js +0 -82
- package/bin/runtime/server/http/services/services.js.map +0 -1
- package/bin/sdk/Agent.d.ts +0 -85
- package/bin/sdk/Agent.d.ts.map +0 -1
- package/bin/sdk/Agent.js +0 -200
- package/bin/sdk/Agent.js.map +0 -1
- package/bin/sdk/AgentSdkTypes.d.ts +0 -387
- package/bin/sdk/AgentSdkTypes.d.ts.map +0 -1
- package/bin/sdk/AgentSdkTypes.js +0 -10
- package/bin/sdk/AgentSdkTypes.js.map +0 -1
- package/bin/sdk/RemoteAgent.d.ts +0 -77
- package/bin/sdk/RemoteAgent.d.ts.map +0 -1
- package/bin/sdk/RemoteAgent.js +0 -396
- package/bin/sdk/RemoteAgent.js.map +0 -1
- package/bin/sdk/Session.d.ts +0 -177
- package/bin/sdk/Session.d.ts.map +0 -1
- package/bin/sdk/Session.js +0 -491
- package/bin/sdk/Session.js.map +0 -1
- package/bin/sdk/SessionEventMapper.d.ts.map +0 -1
- package/bin/sdk/SessionEventMapper.js.map +0 -1
- package/bin/sdk/SessionSystemBuilder.d.ts +0 -106
- package/bin/sdk/SessionSystemBuilder.d.ts.map +0 -1
- package/bin/sdk/SessionSystemBuilder.js +0 -147
- package/bin/sdk/SessionSystemBuilder.js.map +0 -1
- package/bin/sdk/session/Metadata.d.ts +0 -55
- package/bin/sdk/session/Metadata.d.ts.map +0 -1
- package/bin/sdk/session/Metadata.js +0 -140
- package/bin/sdk/session/Metadata.js.map +0 -1
- package/bin/sdk/session/Paths.d.ts.map +0 -1
- package/bin/sdk/session/Paths.js.map +0 -1
- package/bin/sdk/session/Persistence.d.ts +0 -63
- package/bin/sdk/session/Persistence.d.ts.map +0 -1
- package/bin/sdk/session/Persistence.js +0 -52
- package/bin/sdk/session/Persistence.js.map +0 -1
- package/bin/sdk/session/RuntimeSessionPort.d.ts +0 -70
- package/bin/sdk/session/RuntimeSessionPort.d.ts.map +0 -1
- package/bin/sdk/session/RuntimeSessionPort.js +0 -40
- package/bin/sdk/session/RuntimeSessionPort.js.map +0 -1
- package/bin/sdk/session/index.d.ts +0 -12
- package/bin/sdk/session/index.d.ts.map +0 -1
- package/bin/sdk/session/index.js +0 -12
- package/bin/sdk/session/index.js.map +0 -1
- package/bin/sdk/session/runtime/SessionEventHub.d.ts +0 -24
- package/bin/sdk/session/runtime/SessionEventHub.d.ts.map +0 -1
- package/bin/sdk/session/runtime/SessionEventHub.js.map +0 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +0 -71
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +0 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +0 -1
- package/bin/session/Executor.d.ts +0 -172
- package/bin/session/Executor.d.ts.map +0 -1
- package/bin/session/Executor.js +0 -533
- package/bin/session/Executor.js.map +0 -1
- package/bin/session/SessionRunScope.d.ts +0 -84
- package/bin/session/SessionRunScope.d.ts.map +0 -1
- package/bin/session/SessionRunScope.js +0 -82
- package/bin/session/SessionRunScope.js.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -55
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts +0 -48
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.js.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.d.ts +0 -62
- package/bin/session/composer/context/SessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -54
- package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -35
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.js +0 -221
- package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/core.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/plugin.prompt.d.ts +0 -7
- package/bin/session/composer/system/default/assets/plugin.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/plugin.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/plugin.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/task.prompt.js.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
- package/bin/session/core-engine/CoreEngineError.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineError.js.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts +0 -27
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.js.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.d.ts +0 -63
- package/bin/session/core-engine/CoreEngineMessageState.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.js.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.d.ts +0 -72
- package/bin/session/core-engine/CoreEngineSignals.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.js.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts +0 -33
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.js.map +0 -1
- package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
- package/bin/session/ids/resolveSessionId.js.map +0 -1
- package/bin/session/messages/AssistantResultPersistence.d.ts +0 -66
- package/bin/session/messages/AssistantResultPersistence.d.ts.map +0 -1
- package/bin/session/messages/AssistantResultPersistence.js +0 -48
- package/bin/session/messages/AssistantResultPersistence.js.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
- package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.js +0 -145
- package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
- package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
- package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageCodec.js.map +0 -1
- package/bin/session/messages/SessionMessageLog.d.ts +0 -19
- package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageLog.js.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
- package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.d.ts +0 -119
- package/bin/session/store/history/SessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.js.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts +0 -85
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.js +0 -288
- package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
- package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
- package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
- package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.d.ts +0 -118
- package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
- package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
- package/bin/session/types/SessionExecutor.d.ts +0 -18
- package/bin/session/types/SessionExecutor.d.ts.map +0 -1
- package/bin/session/types/SessionExecutor.js.map +0 -1
- package/bin/session/types/SessionHistoryMeta.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryMeta.js.map +0 -1
- package/bin/session/types/SessionHistoryPaths.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryPaths.js.map +0 -1
- package/bin/session/types/SessionLoop.d.ts.map +0 -1
- package/bin/session/types/SessionLoop.js.map +0 -1
- package/bin/session/types/SessionMessages.d.ts.map +0 -1
- package/bin/session/types/SessionMessages.js.map +0 -1
- package/bin/session/types/SessionPrompts.d.ts.map +0 -1
- package/bin/session/types/SessionPrompts.js.map +0 -1
- package/bin/session/types/SessionRun.d.ts +0 -112
- package/bin/session/types/SessionRun.d.ts.map +0 -1
- package/bin/session/types/SessionRun.js.map +0 -1
- package/src/config/project/AgentInitializer.ts +0 -427
- package/src/core/AgentContextTypes.ts +0 -305
- package/src/core/AgentCore.ts +0 -530
- package/src/core/AgentCoreTypes.ts +0 -90
- package/src/plugin/builtins/asr/Config.ts +0 -138
- package/src/plugin/builtins/asr/Dependency.ts +0 -336
- package/src/plugin/builtins/asr/InboundAugment.ts +0 -59
- package/src/plugin/builtins/asr/ModelCatalog.ts +0 -43
- package/src/plugin/builtins/asr/Plugin.ts +0 -488
- package/src/plugin/builtins/auth/Plugin.ts +0 -209
- package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +0 -265
- package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +0 -168
- package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +0 -219
- package/src/plugin/builtins/auth/types/AuthPlugin.ts +0 -545
- package/src/plugin/builtins/chat/Action.ts +0 -477
- package/src/plugin/builtins/chat/ChatPlugin.ts +0 -255
- package/src/plugin/builtins/chat/ChatPluginTypes.ts +0 -164
- package/src/plugin/builtins/chat/Index.ts +0 -8
- package/src/plugin/builtins/chat/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +0 -55
- package/src/plugin/builtins/chat/accounts/ChannelAccountService.ts +0 -297
- package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +0 -450
- package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +0 -320
- package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
- package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +0 -49
- package/src/plugin/builtins/chat/channels/Configuration.ts +0 -35
- package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
- package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +0 -199
- package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +0 -65
- package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +0 -467
- package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
- package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
- package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
- package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -5
- package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +0 -492
- package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
- package/src/plugin/builtins/chat/channels/feishu/Shared.ts +0 -94
- package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
- package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +0 -137
- package/src/plugin/builtins/chat/channels/qq/Configuration.ts +0 -64
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
- package/src/plugin/builtins/chat/channels/qq/QQ.ts +0 -398
- package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
- package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
- package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
- package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
- package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
- package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
- package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +0 -262
- package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
- package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
- package/src/plugin/builtins/chat/channels/qq/QQSendSupport.ts +0 -91
- package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +0 -263
- package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +0 -381
- package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
- package/src/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -97
- package/src/plugin/builtins/chat/channels/telegram/ApiClient.ts +0 -373
- package/src/plugin/builtins/chat/channels/telegram/Bot.ts +0 -357
- package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +0 -92
- package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +0 -65
- package/src/plugin/builtins/chat/channels/telegram/Handlers.ts +0 -91
- package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
- package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -2
- package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
- package/src/plugin/builtins/chat/channels/telegram/Shared.ts +0 -404
- package/src/plugin/builtins/chat/channels/telegram/StateStore.ts +0 -58
- package/src/plugin/builtins/chat/channels/telegram/TelegramInbound.ts +0 -186
- package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
- package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
- package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
- package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +0 -395
- package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +0 -362
- package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +0 -167
- package/src/plugin/builtins/chat/runtime/ChatActionInputSupport.ts +0 -85
- package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +0 -307
- package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
- package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +0 -145
- package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
- package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
- package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
- package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +0 -68
- package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
- package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +0 -186
- package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +0 -367
- package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +0 -5
- package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +0 -70
- package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
- package/src/plugin/builtins/chat/runtime/ChatQueue.ts +0 -77
- package/src/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
- package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +0 -185
- package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +0 -485
- package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
- package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
- package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
- package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
- package/src/plugin/builtins/chat/runtime/ChatSession.ts +0 -156
- package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
- package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
- package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
- package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +0 -187
- package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
- package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
- package/src/plugin/builtins/chat/runtime/InboundAugment.ts +0 -63
- package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +0 -89
- package/src/plugin/builtins/chat/runtime/PluginPoints.ts +0 -78
- package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
- package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
- package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +0 -78
- package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +0 -84
- package/src/plugin/builtins/chat/runtime/UIMessageTransformer.ts +0 -141
- package/src/plugin/builtins/chat/runtime/UserVisibleText.ts +0 -84
- package/src/plugin/builtins/chat/types/BotInfo.ts +0 -101
- package/src/plugin/builtins/chat/types/ChannelAccount.ts +0 -232
- package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +0 -161
- package/src/plugin/builtins/chat/types/ChannelContext.ts +0 -110
- package/src/plugin/builtins/chat/types/ChannelStatus.ts +0 -98
- package/src/plugin/builtins/chat/types/ChatCommand.ts +0 -174
- package/src/plugin/builtins/chat/types/ChatDispatcher.ts +0 -42
- package/src/plugin/builtins/chat/types/ChatHistory.ts +0 -42
- package/src/plugin/builtins/chat/types/ChatMessageMarkup.ts +0 -168
- package/src/plugin/builtins/chat/types/ChatMeta.ts +0 -35
- package/src/plugin/builtins/chat/types/ChatPlugin.ts +0 -251
- package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +0 -165
- package/src/plugin/builtins/chat/types/ChatPromptContext.ts +0 -139
- package/src/plugin/builtins/chat/types/ChatQueue.ts +0 -41
- package/src/plugin/builtins/chat/types/ChatQueueWorker.ts +0 -25
- package/src/plugin/builtins/chat/types/ChatRuntime.ts +0 -33
- package/src/plugin/builtins/chat/types/DirectDispatch.ts +0 -133
- package/src/plugin/builtins/chat/types/FeishuAttachment.ts +0 -50
- package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
- package/src/plugin/builtins/chat/types/FeishuPost.ts +0 -338
- package/src/plugin/builtins/chat/types/QqInboundDedupe.ts +0 -12
- package/src/plugin/builtins/chat/types/QqVoice.ts +0 -126
- package/src/plugin/builtins/chat/types/ReplyContext.ts +0 -49
- package/src/plugin/builtins/contact/Action.ts +0 -316
- package/src/plugin/builtins/contact/ContactPlugin.ts +0 -505
- package/src/plugin/builtins/contact/Index.ts +0 -8
- package/src/plugin/builtins/contact/PROMPT.ts +0 -9
- package/src/plugin/builtins/contact/PROMPT.ts.txt +0 -25
- package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +0 -97
- package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +0 -83
- package/src/plugin/builtins/contact/runtime/ContactPayload.ts +0 -26
- package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
- package/src/plugin/builtins/contact/runtime/ContactStore.ts +0 -299
- package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +0 -125
- package/src/plugin/builtins/contact/runtime/EndpointResolver.ts +0 -146
- package/src/plugin/builtins/contact/runtime/InboxStore.ts +0 -178
- package/src/plugin/builtins/contact/runtime/LinkApproval.ts +0 -387
- package/src/plugin/builtins/contact/runtime/LinkCode.ts +0 -70
- package/src/plugin/builtins/contact/runtime/LinkStore.ts +0 -50
- package/src/plugin/builtins/contact/runtime/Paths.ts +0 -139
- package/src/plugin/builtins/contact/runtime/RemoteClient.ts +0 -158
- package/src/plugin/builtins/contact/runtime/ShareBundle.ts +0 -286
- package/src/plugin/builtins/contact/runtime/SystemProvider.ts +0 -15
- package/src/plugin/builtins/contact/runtime/Token.ts +0 -40
- package/src/plugin/builtins/contact/types/Contact.ts +0 -82
- package/src/plugin/builtins/contact/types/ContactApproval.ts +0 -150
- package/src/plugin/builtins/contact/types/ContactChat.ts +0 -47
- package/src/plugin/builtins/contact/types/ContactCheck.ts +0 -67
- package/src/plugin/builtins/contact/types/ContactCommand.ts +0 -98
- package/src/plugin/builtins/contact/types/ContactEndpoint.ts +0 -16
- package/src/plugin/builtins/contact/types/ContactLink.ts +0 -169
- package/src/plugin/builtins/contact/types/ContactShare.ts +0 -172
- package/src/plugin/builtins/memory/Action.ts +0 -147
- package/src/plugin/builtins/memory/Index.ts +0 -9
- package/src/plugin/builtins/memory/MemoryPlugin.ts +0 -270
- package/src/plugin/builtins/memory/runtime/Flush.ts +0 -83
- package/src/plugin/builtins/memory/runtime/Search.ts +0 -330
- package/src/plugin/builtins/memory/runtime/Store.ts +0 -198
- package/src/plugin/builtins/memory/runtime/SystemProvider.ts +0 -145
- package/src/plugin/builtins/memory/runtime/Writer.ts +0 -173
- package/src/plugin/builtins/memory/types/Memory.ts +0 -284
- package/src/plugin/builtins/schedule/SchedulePlugin.ts +0 -131
- package/src/plugin/builtins/shell/Index.ts +0 -9
- package/src/plugin/builtins/shell/ShellPlugin.ts +0 -199
- package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +0 -94
- package/src/plugin/builtins/shell/runtime/Paths.ts +0 -28
- package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +0 -135
- package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
- package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -384
- package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
- package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
- package/src/plugin/builtins/shell/types/ShellPlugin.ts +0 -233
- package/src/plugin/builtins/skill/Action.ts +0 -159
- package/src/plugin/builtins/skill/Command.ts +0 -98
- package/src/plugin/builtins/skill/Config.ts +0 -51
- package/src/plugin/builtins/skill/PROMPT.ts +0 -9
- package/src/plugin/builtins/skill/PROMPT.ts.txt +0 -10
- package/src/plugin/builtins/skill/Plugin.ts +0 -334
- package/src/plugin/builtins/skill/SkillPromptAssets.ts +0 -14
- package/src/plugin/builtins/skill/runtime/Discovery.ts +0 -141
- package/src/plugin/builtins/skill/runtime/Frontmatter.ts +0 -17
- package/src/plugin/builtins/skill/runtime/Paths.ts +0 -130
- package/src/plugin/builtins/skill/runtime/Prompt.ts +0 -67
- package/src/plugin/builtins/skill/runtime/Store.ts +0 -95
- package/src/plugin/builtins/skill/runtime/SystemProvider.ts +0 -52
- package/src/plugin/builtins/skill/runtime/Types.ts +0 -22
- package/src/plugin/builtins/skill/runtime/Utils.ts +0 -28
- package/src/plugin/builtins/skill/types/ClaudeSkill.ts +0 -64
- package/src/plugin/builtins/skill/types/SkillCommand.ts +0 -90
- package/src/plugin/builtins/skill/types/SkillPlugin.ts +0 -107
- package/src/plugin/builtins/skill/types/SkillRoot.ts +0 -49
- package/src/plugin/builtins/task/Action.ts +0 -491
- package/src/plugin/builtins/task/Index.ts +0 -8
- package/src/plugin/builtins/task/PROMPT.ts +0 -9
- package/src/plugin/builtins/task/PROMPT.ts.txt +0 -237
- package/src/plugin/builtins/task/Scheduler.ts +0 -245
- package/src/plugin/builtins/task/TaskPlugin.ts +0 -167
- package/src/plugin/builtins/task/runtime/CronTrigger.ts +0 -110
- package/src/plugin/builtins/task/runtime/Frontmatter.ts +0 -24
- package/src/plugin/builtins/task/runtime/Model.ts +0 -347
- package/src/plugin/builtins/task/runtime/Paths.ts +0 -116
- package/src/plugin/builtins/task/runtime/Runner.ts +0 -519
- package/src/plugin/builtins/task/runtime/Store.ts +0 -253
- package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +0 -276
- package/src/plugin/builtins/task/runtime/TaskActionInput.ts +0 -281
- package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +0 -214
- package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +0 -5
- package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +0 -8
- package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +0 -14
- package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
- package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
- package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
- package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +0 -337
- package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +0 -175
- package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +0 -190
- package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
- package/src/plugin/builtins/task/types/Cron.ts +0 -16
- package/src/plugin/builtins/task/types/Task.ts +0 -157
- package/src/plugin/builtins/task/types/TaskCommand.ts +0 -165
- package/src/plugin/builtins/task/types/TaskPluginTypes.ts +0 -55
- package/src/plugin/builtins/tts/Dependency.ts +0 -473
- package/src/plugin/builtins/tts/Plugin.ts +0 -496
- package/src/plugin/builtins/tts/PluginSupport.ts +0 -85
- package/src/plugin/builtins/tts/runtime/Catalog.ts +0 -97
- package/src/plugin/builtins/tts/runtime/DependencyInstaller.ts +0 -436
- package/src/plugin/builtins/tts/runtime/Installer.ts +0 -297
- package/src/plugin/builtins/tts/runtime/Paths.ts +0 -39
- package/src/plugin/builtins/tts/runtime/Synthesizer.ts +0 -480
- package/src/plugin/builtins/tts/types/Tts.ts +0 -99
- package/src/plugin/builtins/tts/types/TtsPlugin.ts +0 -164
- package/src/plugin/builtins/voice/Config.ts +0 -135
- package/src/plugin/builtins/voice/Dependency.ts +0 -329
- package/src/plugin/builtins/voice/InboundAugment.ts +0 -59
- package/src/plugin/builtins/voice/ModelCatalog.ts +0 -43
- package/src/plugin/builtins/voice/runtime/Catalog.ts +0 -68
- package/src/plugin/builtins/voice/runtime/DependencyInstaller.ts +0 -505
- package/src/plugin/builtins/voice/runtime/Installer.ts +0 -324
- package/src/plugin/builtins/voice/runtime/Paths.ts +0 -26
- package/src/plugin/builtins/voice/runtime/Transcriber.ts +0 -467
- package/src/plugin/builtins/voice/types/Voice.ts +0 -68
- package/src/plugin/builtins/voice/types/VoicePlugin.ts +0 -194
- package/src/plugin/builtins/web/Dependency.ts +0 -17
- package/src/plugin/builtins/web/PROMPT.agent-browser.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.agent-browser.ts.txt +0 -17
- package/src/plugin/builtins/web/PROMPT.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.ts.txt +0 -33
- package/src/plugin/builtins/web/PROMPT.web-access.ts +0 -9
- package/src/plugin/builtins/web/PROMPT.web-access.ts.txt +0 -13
- package/src/plugin/builtins/web/Plugin.ts +0 -501
- package/src/plugin/builtins/web/WebPromptAssets.ts +0 -26
- package/src/plugin/builtins/web/runtime/Config.ts +0 -105
- package/src/plugin/builtins/web/runtime/Source.ts +0 -257
- package/src/plugin/builtins/web/types/WebPlugin.ts +0 -141
- package/src/plugin/builtins/workboard/Plugin.ts +0 -81
- package/src/plugin/builtins/workboard/runtime/Collector.ts +0 -79
- package/src/plugin/builtins/workboard/runtime/Normalizer.ts +0 -213
- package/src/plugin/builtins/workboard/runtime/Store.ts +0 -110
- package/src/plugin/builtins/workboard/types/Workboard.ts +0 -158
- package/src/plugin/core/BuiltinPluginClasses.ts +0 -31
- package/src/plugin/core/Catalog.ts +0 -118
- package/src/plugin/core/HttpRoutes.ts +0 -50
- package/src/plugin/core/LocalExecution.ts +0 -184
- package/src/plugin/core/PluginClassRegistry.ts +0 -59
- package/src/plugin/core/PluginSystemProviders.ts +0 -50
- package/src/plugin/core/Plugins.ts +0 -39
- package/src/plugin/core/schedule/Executor.ts +0 -54
- package/src/plugin/core/schedule/Store.ts +0 -358
- package/src/plugin/core/schedule/Time.ts +0 -131
- package/src/plugin/types/PluginSchedule.ts +0 -89
- package/src/runtime/host/PluginRuntime.ts +0 -42
- package/src/runtime/server/http/control/ModelRoutes.ts +0 -101
- package/src/runtime/server/http/services/services.ts +0 -114
- package/src/sdk/Agent.ts +0 -243
- package/src/sdk/AgentSdkTypes.ts +0 -442
- package/src/sdk/RemoteAgent.ts +0 -549
- package/src/sdk/Session.ts +0 -653
- package/src/sdk/SessionSystemBuilder.ts +0 -259
- package/src/sdk/session/Metadata.ts +0 -196
- package/src/sdk/session/Persistence.ts +0 -113
- package/src/sdk/session/RuntimeSessionPort.ts +0 -107
- package/src/sdk/session/index.ts +0 -34
- package/src/sdk/session/runtime/SessionPromptRuntime.ts +0 -302
- package/src/session/Executor.ts +0 -732
- package/src/session/README.md +0 -108
- package/src/session/SessionRunScope.ts +0 -146
- package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -62
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -101
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
- package/src/session/composer/context/LocalSessionContextComposer.ts +0 -168
- package/src/session/composer/context/SessionContextComposer.ts +0 -70
- package/src/session/composer/history/SessionHistoryComposer.ts +0 -62
- package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -126
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -77
- package/src/session/composer/system/default/InitPromptAssets.ts +0 -20
- package/src/session/composer/system/default/InitPrompts.ts +0 -11
- package/src/session/composer/system/default/PromptRenderer.ts +0 -52
- package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
- package/src/session/composer/system/default/SystemDomain.ts +0 -377
- package/src/session/composer/system/default/SystemPromptAssets.ts +0 -26
- package/src/session/composer/system/default/assets/core.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/init/PROFILE.md.ts +0 -9
- package/src/session/composer/system/default/assets/init/SOUL.md.ts +0 -9
- package/src/session/composer/system/default/assets/plugin.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/plugin.prompt.ts.txt +0 -28
- package/src/session/composer/system/default/assets/task.prompt.ts +0 -9
- package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
- package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
- package/src/session/core-engine/CoreEngineLoopDecision.ts +0 -80
- package/src/session/core-engine/CoreEngineMessageState.ts +0 -133
- package/src/session/core-engine/CoreEngineSignals.ts +0 -416
- package/src/session/core-engine/CoreEngineUiStreamCollector.ts +0 -96
- package/src/session/messages/AssistantResultPersistence.ts +0 -111
- package/src/session/messages/SessionAttachmentMapper.ts +0 -155
- package/src/session/messages/SessionMessageCodec.ts +0 -116
- package/src/session/messages/SessionMessageLog.ts +0 -39
- package/src/session/messages/SessionStepEventMapper.ts +0 -233
- package/src/session/store/history/SessionHistoryStore.ts +0 -145
- package/src/session/store/history/jsonl/JsonlSessionHistoryStore.ts +0 -500
- package/src/session/tools/shell/ShellToolBridge.ts +0 -378
- package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
- package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
- package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
- package/src/session/types/SessionExecutor.ts +0 -33
- package/src/session/types/SessionRun.ts +0 -132
- /package/bin/{session → executor}/composer/compaction/SessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -0
- /package/bin/{session → executor}/composer/context/LocalSessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/context/SessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryWriter.js +0 -0
- /package/bin/{session → executor}/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/DefaultSessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.js +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.js +0 -0
- /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/SystemPromptAssets.js +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/core.prompt.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/PROFILE.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/SOUL.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/task.prompt.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.d.ts +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineLoopDecision.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineMessageState.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineSignals.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineUiStreamCollector.js +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.d.ts +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/ChatMessageMarkup.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageCodec.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageLog.js +0 -0
- /package/bin/{session → executor}/messages/SessionStepEventMapper.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UIMessageTransformer.js +0 -0
- /package/bin/{plugin/builtins/chat/runtime → executor/messages}/UserVisibleText.js +0 -0
- /package/bin/{session → executor}/store/history/SessionHistoryStore.js +0 -0
- /package/bin/{session → executor}/store/history/jsonl/JsonlSessionHistoryStore.js +0 -0
- /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.d.ts +0 -0
- /package/bin/{plugin/builtins → executor/tools}/shell/types/Shell.js +0 -0
- /package/bin/{session → executor}/types/SessionExecutor.js +0 -0
- /package/bin/{session → executor}/types/SessionHistoryMeta.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionHistoryMeta.js +0 -0
- /package/bin/{session → executor}/types/SessionHistoryPaths.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionHistoryPaths.js +0 -0
- /package/bin/{session → executor}/types/SessionLoop.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionLoop.js +0 -0
- /package/bin/{session → executor}/types/SessionMessages.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionMessages.js +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.js +0 -0
- /package/bin/{session → executor}/types/SessionRun.js +0 -0
- /package/bin/{sdk → session}/SessionEventMapper.d.ts +0 -0
- /package/bin/{sdk → session}/SessionEventMapper.js +0 -0
- /package/bin/{sdk/session → session}/runtime/SessionEventHub.js +0 -0
- /package/bin/{sdk/session → session}/runtime/SessionPromptRuntime.js +0 -0
- /package/bin/{sdk/session → session/storage}/Paths.d.ts +0 -0
- /package/bin/{sdk/session → session/storage}/Paths.js +0 -0
- /package/bin/{config/project/types → types/config}/AgentProject.js +0 -0
- /package/src/{session → executor}/composer/system/SessionSystemComposer.ts +0 -0
- /package/src/{session → executor}/composer/system/default/assets/core.prompt.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/PROFILE.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/SOUL.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/task.prompt.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/variables/PromptTypes.ts +0 -0
- /package/src/{session → executor}/core-engine/CoreEngineError.ts +0 -0
- /package/src/{session → executor}/ids/resolveSessionId.ts +0 -0
- /package/src/{plugin/builtins → executor/tools}/shell/types/Shell.ts +0 -0
- /package/src/{session → executor}/types/SessionHistoryMeta.ts +0 -0
- /package/src/{session → executor}/types/SessionHistoryPaths.ts +0 -0
- /package/src/{session → executor}/types/SessionLoop.ts +0 -0
- /package/src/{session → executor}/types/SessionMessages.ts +0 -0
- /package/src/{session → executor}/types/SessionPrompts.ts +0 -0
- /package/src/{sdk → session}/SessionEventMapper.ts +0 -0
- /package/src/{sdk/session → session}/runtime/SessionEventHub.ts +0 -0
- /package/src/{sdk/session → session/storage}/Paths.ts +0 -0
- /package/src/{config/project/types → types/config}/AgentProject.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Browse.js","sourceRoot":"","sources":["../../../src/session/browse/Browse.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,GAEb,MAAM,IAAI,CAAC;AAgBZ,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AA8CpE,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,CAAC;QACH,OAAO,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;IAAC,MAAM,CAAC;QACP,OAA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OAAO,CAAC,WAAW,IAAI,EAAE;aAC1B;iBACE,IAAI,CAAC,IAAI,CAAC;iBACV,WAAW,EAAE,CAAC;YACjB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;gBAAE,SAAS;QAC1C,CAAC;QAED,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;IAED,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC;IAEhF,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,CAAC;IACtD,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACzC,OAAO;QACL,KAAK;QACL,KAAK,EAAE,SAAS,CAAC,MAAM;QACvB,GAAG,CAAC,UAAU,GAAG,SAAS,CAAC,MAAM;YAC/B,CAAC,CAAC,EAAE,UAAU,EAAE,YAAY,CAAC,UAAU,CAAC,EAAE;YAC1C,CAAC,CAAC,EAAE,CAAC;QACP,OAAO,EAAE,UAAU,GAAG,SAAS,CAAC,MAAM;KACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session 模块聚合入口。
|
|
3
|
+
*
|
|
4
|
+
* 职责说明(中文)
|
|
5
|
+
* - 统一暴露 `session/` 目录下的本地 Session 实现与相关辅助能力。
|
|
6
|
+
* - 让 `Session` 相关代码收敛在一个目录树中,避免实现散落在 Agent 入口模块里。
|
|
7
|
+
*/
|
|
8
|
+
export { Session } from "./Session.js";
|
|
9
|
+
export { getSdkAgentDirPath, getSdkAgentRpcEndpointPath, getSdkAgentSessionArchiveDirPath, getSdkAgentSessionDirPath, getSdkAgentSessionMessagesDirPath, getSdkAgentSessionMessagesPath, getSdkAgentSessionMetaPath, getSdkAgentSessionsRootDirPath, getSdkAgentsRootDirPath, getSdkDowncityDirPath, } from "./storage/Paths.js";
|
|
10
|
+
export { inferModelLabel, patchSessionModelLabel, readSessionMetadata, resolveSystemTimezone, writeSessionMetadata, } from "./storage/Metadata.js";
|
|
11
|
+
export { persistSdkAssistantResult, touchSessionMetadata, } from "./storage/Persistence.js";
|
|
12
|
+
export { createRuntimeSessionPort, } from "./storage/RuntimeSessionPort.js";
|
|
13
|
+
export { buildSessionHistoryPage, buildSessionInfo, listAgentSessionSummaryPage, loadSessionMessagesFromPath, resolveSessionMessagePreview, resolveSessionTitle, toSessionTimelineEvents, } from "./browse/Browse.js";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,gCAAgC,EAChC,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session 模块聚合入口。
|
|
3
|
+
*
|
|
4
|
+
* 职责说明(中文)
|
|
5
|
+
* - 统一暴露 `session/` 目录下的本地 Session 实现与相关辅助能力。
|
|
6
|
+
* - 让 `Session` 相关代码收敛在一个目录树中,避免实现散落在 Agent 入口模块里。
|
|
7
|
+
*/
|
|
8
|
+
export { Session } from "./Session.js";
|
|
9
|
+
export { getSdkAgentDirPath, getSdkAgentRpcEndpointPath, getSdkAgentSessionArchiveDirPath, getSdkAgentSessionDirPath, getSdkAgentSessionMessagesDirPath, getSdkAgentSessionMessagesPath, getSdkAgentSessionMetaPath, getSdkAgentSessionsRootDirPath, getSdkAgentsRootDirPath, getSdkDowncityDirPath, } from "./storage/Paths.js";
|
|
10
|
+
export { inferModelLabel, patchSessionModelLabel, readSessionMetadata, resolveSystemTimezone, writeSessionMetadata, } from "./storage/Metadata.js";
|
|
11
|
+
export { persistSdkAssistantResult, touchSessionMetadata, } from "./storage/Persistence.js";
|
|
12
|
+
export { createRuntimeSessionPort, } from "./storage/RuntimeSessionPort.js";
|
|
13
|
+
export { buildSessionHistoryPage, buildSessionInfo, listAgentSessionSummaryPage, loadSessionMessagesFromPath, resolveSessionMessagePreview, resolveSessionTitle, toSessionTimelineEvents, } from "./browse/Browse.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,gCAAgC,EAChC,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionEventHub:Session 级事件分发器。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 收口 `Session.subscribe()` 的订阅/取消订阅能力。
|
|
6
|
+
* - 只做未来事件广播,不做缓存、重放或背压管理。
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentSessionEvent, AgentSessionSubscriber, AgentSessionUnsubscribe } from "../../types/sdk/AgentSessionEvent.js";
|
|
9
|
+
/**
|
|
10
|
+
* SessionEventHub:最小事件总线实现。
|
|
11
|
+
*/
|
|
12
|
+
export declare class SessionEventHub {
|
|
13
|
+
private readonly subscribers;
|
|
14
|
+
private nextSubscriberId;
|
|
15
|
+
/**
|
|
16
|
+
* 注册一个新的 Session 事件订阅者。
|
|
17
|
+
*/
|
|
18
|
+
subscribe(subscriber: AgentSessionSubscriber): AgentSessionUnsubscribe;
|
|
19
|
+
/**
|
|
20
|
+
* 广播一条 Session 事件。
|
|
21
|
+
*/
|
|
22
|
+
publish(event: AgentSessionEvent): void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=SessionEventHub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionEventHub.d.ts","sourceRoot":"","sources":["../../../src/session/runtime/SessionEventHub.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6C;IACzE,OAAO,CAAC,gBAAgB,CAAK;IAE7B;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,uBAAuB;IAUtE;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CASxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionEventHub.js","sourceRoot":"","sources":["../../../src/session/runtime/SessionEventHub.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH;;GAEG;AACH,MAAM,OAAO,eAAe;IACT,WAAW,GAAG,IAAI,GAAG,EAAkC,CAAC;IACjE,gBAAgB,GAAG,CAAC,CAAC;IAE7B;;OAEG;IACH,SAAS,CAAC,UAAkC;QAC1C,MAAM,EAAE,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACjC,IAAI,CAAC,gBAAgB,IAAI,CAAC,CAAC;QAC3B,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;QAErC,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC9B,CAAC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAAwB;QAC9B,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,CAAC;YACnD,IAAI,CAAC;gBACH,UAAU,CAAC,KAAK,CAAC,CAAC;YACpB,CAAC;YAAC,MAAM,CAAC;gBACP,oCAAoC;YACtC,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionPromptRuntime:Session actor 模式下的最小 prompt 调度器。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - `prompt()` 是唯一输入入口,内部决定并入当前 turn 还是排到下一 turn。
|
|
6
|
+
* - 不把调度逻辑塞进 Executor;Executor 继续只负责单次执行。
|
|
7
|
+
* - 这里不暴露历史或消息模型,只编排 prompt 队列与 turn 生命周期。
|
|
8
|
+
*/
|
|
9
|
+
import type { SessionUserMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
10
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
11
|
+
import type { AgentSessionEvent } from "../../types/sdk/AgentSessionEvent.js";
|
|
12
|
+
import type { AgentSessionPromptInput } from "../../types/sdk/AgentSessionPrompt.js";
|
|
13
|
+
import type { AgentSessionTurnHandle } from "../../types/sdk/AgentSessionTurn.js";
|
|
14
|
+
/**
|
|
15
|
+
* SessionPromptRuntime 构造参数。
|
|
16
|
+
*/
|
|
17
|
+
export interface SessionPromptRuntimeOptions {
|
|
18
|
+
/**
|
|
19
|
+
* 当前 session 标识。
|
|
20
|
+
*/
|
|
21
|
+
sessionId: string;
|
|
22
|
+
/**
|
|
23
|
+
* 广播 session 事件。
|
|
24
|
+
*/
|
|
25
|
+
publish: (event: AgentSessionEvent) => void;
|
|
26
|
+
/**
|
|
27
|
+
* 构造并持久化一条 user 消息。
|
|
28
|
+
*/
|
|
29
|
+
createAndPersistUserMessage: (input: AgentSessionPromptInput) => Promise<SessionUserMessageV1>;
|
|
30
|
+
/**
|
|
31
|
+
* 执行单轮 turn。
|
|
32
|
+
*/
|
|
33
|
+
executeTurn: (input: {
|
|
34
|
+
turnId: string;
|
|
35
|
+
promptInput: AgentSessionPromptInput;
|
|
36
|
+
onStepMerge: () => Promise<SessionUserMessageV1[]>;
|
|
37
|
+
}) => Promise<{
|
|
38
|
+
text: string;
|
|
39
|
+
success: boolean;
|
|
40
|
+
assistantMessage: SessionMessageV1;
|
|
41
|
+
error?: string;
|
|
42
|
+
}>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* SessionPromptRuntime:最小 prompt 队列调度器。
|
|
46
|
+
*/
|
|
47
|
+
export declare class SessionPromptRuntime {
|
|
48
|
+
private readonly sessionId;
|
|
49
|
+
private readonly publish;
|
|
50
|
+
private readonly createAndPersistUserMessage;
|
|
51
|
+
private readonly executeTurn;
|
|
52
|
+
private readonly queue;
|
|
53
|
+
private processingPromise;
|
|
54
|
+
constructor(options: SessionPromptRuntimeOptions);
|
|
55
|
+
/**
|
|
56
|
+
* 追加一条新的 prompt。
|
|
57
|
+
*/
|
|
58
|
+
prompt(input: AgentSessionPromptInput): Promise<AgentSessionTurnHandle>;
|
|
59
|
+
/**
|
|
60
|
+
* 返回当前 actor prompt 调度器是否仍处于活跃态。
|
|
61
|
+
*
|
|
62
|
+
* 说明(中文)
|
|
63
|
+
* - 只要还有排队 prompt,或处理循环尚未结束,就视为活跃。
|
|
64
|
+
* - Session 会用它阻止内部 direct execution 与 actor 模式并发混用。
|
|
65
|
+
*/
|
|
66
|
+
isActive(): boolean;
|
|
67
|
+
private ensureProcessing;
|
|
68
|
+
private processLoop;
|
|
69
|
+
private drainQueuedPromptsAsMessages;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=SessionPromptRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionPromptRuntime.d.ts","sourceRoot":"","sources":["../../../src/session/runtime/SessionPromptRuntime.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,sBAAsB,EAEvB,MAAM,iCAAiC,CAAC;AAiDzC;;GAEG;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,QAAQ,EAAE;YACR,CAAC,EAAE,CAAC;YACJ,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE;YACd,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;QACD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;KAC/C,CAAC;AACJ,CAAC;AAED,SAAS,cAAc;IACrB,IAAI,OAA4B,CAAC;IACjC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,YAAY,EAAE,EAAE;QAC9C,OAAO,GAAG,YAAY,CAAC;IACzB,CAAC,CAAC,CAAC;IACH,OAAO;QACL,OAAO;QACP,OAAO;KACR,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,MAAc;IAC3C,OAAO;QACL,MAAM;QACN,MAAM,EAAE,IAAI;QACZ,gBAAgB,EAAE,cAAc,EAA0B;KAC3D,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CACvB,UAA2B;IAE3B,OAAO;QACL,EAAE,EAAE,UAAU,CAAC,MAAM;QACrB,IAAI,MAAM;YACR,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QACD,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,OAAO;KAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK Session 元数据辅助。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一负责 `.downcity/agents/<agentId>/sessions/<sessionId>/messages/meta.json` 的 SDK 字段读写。
|
|
6
|
+
* - 仅处理轻量配置摘要与索引信息,不负责消息 JSONL 的读写。
|
|
7
|
+
*/
|
|
8
|
+
import type { LanguageModel } from "ai";
|
|
9
|
+
import type { SessionHistoryMetaV1 } from "../../executor/types/SessionHistoryMeta.js";
|
|
10
|
+
type ReadSessionMetadataInput = {
|
|
11
|
+
/**
|
|
12
|
+
* 项目根目录。
|
|
13
|
+
*/
|
|
14
|
+
projectRoot: string;
|
|
15
|
+
/**
|
|
16
|
+
* 当前 agentId。
|
|
17
|
+
*/
|
|
18
|
+
agentId: string;
|
|
19
|
+
/**
|
|
20
|
+
* 当前 sessionId。
|
|
21
|
+
*/
|
|
22
|
+
sessionId: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 读取当前系统时区。
|
|
26
|
+
*/
|
|
27
|
+
export declare function resolveSystemTimezone(): string;
|
|
28
|
+
/**
|
|
29
|
+
* 从模型实例推导轻量可读标签。
|
|
30
|
+
*/
|
|
31
|
+
export declare function inferModelLabel(model: LanguageModel | undefined): string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* 读取当前 session 的 meta.json。
|
|
34
|
+
*/
|
|
35
|
+
export declare function readSessionMetadata(input: ReadSessionMetadataInput): Promise<SessionHistoryMetaV1>;
|
|
36
|
+
/**
|
|
37
|
+
* 写回当前 session 的 meta.json。
|
|
38
|
+
*/
|
|
39
|
+
export declare function writeSessionMetadata(input: ReadSessionMetadataInput & {
|
|
40
|
+
/**
|
|
41
|
+
* 下一份 meta 数据。
|
|
42
|
+
*/
|
|
43
|
+
meta: SessionHistoryMetaV1;
|
|
44
|
+
}): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* 更新当前 session 的 SDK 配置摘要。
|
|
47
|
+
*/
|
|
48
|
+
export declare function patchSessionModelLabel(input: ReadSessionMetadataInput & {
|
|
49
|
+
/**
|
|
50
|
+
* 当前模型实例。
|
|
51
|
+
*/
|
|
52
|
+
model?: LanguageModel;
|
|
53
|
+
}): Promise<SessionHistoryMetaV1>;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=Metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metadata.d.ts","sourceRoot":"","sources":["../../../src/session/storage/Metadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxC,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wCAAwC,CAAC;AAGhD,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAOF;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAK9C;AAOD;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,GAAG,SAAS,GAC/B,MAAM,GAAG,SAAS,CAmBpB;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,oBAAoB,CAAC,CAuD/B;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,wBAAwB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;CAC5B,GACA,OAAO,CAAC,IAAI,CAAC,CAQf;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,wBAAwB,GAAG;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,GACA,OAAO,CAAC,oBAAoB,CAAC,CAwB/B"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK Session 元数据辅助。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一负责 `.downcity/agents/<agentId>/sessions/<sessionId>/messages/meta.json` 的 SDK 字段读写。
|
|
6
|
+
* - 仅处理轻量配置摘要与索引信息,不负责消息 JSONL 的读写。
|
|
7
|
+
*/
|
|
8
|
+
import fs from "fs-extra";
|
|
9
|
+
import { getSdkAgentSessionMetaPath } from "../../session/storage/Paths.js";
|
|
10
|
+
function normalizeModelLabel(input) {
|
|
11
|
+
const label = typeof input === "string" ? input.trim() : "";
|
|
12
|
+
return label || undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 读取当前系统时区。
|
|
16
|
+
*/
|
|
17
|
+
export function resolveSystemTimezone() {
|
|
18
|
+
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
19
|
+
return typeof timezone === "string" && timezone.trim()
|
|
20
|
+
? timezone.trim()
|
|
21
|
+
: "UTC";
|
|
22
|
+
}
|
|
23
|
+
function normalizeTimezone(input) {
|
|
24
|
+
const timezone = typeof input === "string" ? input.trim() : "";
|
|
25
|
+
return timezone || undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 从模型实例推导轻量可读标签。
|
|
29
|
+
*/
|
|
30
|
+
export function inferModelLabel(model) {
|
|
31
|
+
if (!model || typeof model !== "object")
|
|
32
|
+
return undefined;
|
|
33
|
+
const record = model;
|
|
34
|
+
const candidates = [
|
|
35
|
+
record.modelId,
|
|
36
|
+
record.model,
|
|
37
|
+
record.id,
|
|
38
|
+
record.name,
|
|
39
|
+
record.label,
|
|
40
|
+
];
|
|
41
|
+
for (const candidate of candidates) {
|
|
42
|
+
const text = normalizeModelLabel(candidate);
|
|
43
|
+
if (text)
|
|
44
|
+
return text;
|
|
45
|
+
}
|
|
46
|
+
const constructorName = model.constructor && typeof model.constructor.name === "string"
|
|
47
|
+
? model.constructor.name.trim()
|
|
48
|
+
: "";
|
|
49
|
+
return constructorName || "configured-model";
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 读取当前 session 的 meta.json。
|
|
53
|
+
*/
|
|
54
|
+
export async function readSessionMetadata(input) {
|
|
55
|
+
const filePath = getSdkAgentSessionMetaPath(input.projectRoot, input.agentId, input.sessionId);
|
|
56
|
+
try {
|
|
57
|
+
const raw = (await fs.readJson(filePath));
|
|
58
|
+
return {
|
|
59
|
+
v: 1,
|
|
60
|
+
sessionId: input.sessionId,
|
|
61
|
+
agentId: input.agentId,
|
|
62
|
+
createdAt: typeof raw.createdAt === "number" && Number.isFinite(raw.createdAt)
|
|
63
|
+
? raw.createdAt
|
|
64
|
+
: Date.now(),
|
|
65
|
+
timezone: normalizeTimezone(raw.timezone) || resolveSystemTimezone(),
|
|
66
|
+
updatedAt: typeof raw.updatedAt === "number" && Number.isFinite(raw.updatedAt)
|
|
67
|
+
? raw.updatedAt
|
|
68
|
+
: 0,
|
|
69
|
+
pinnedSkillIds: Array.isArray(raw.pinnedSkillIds)
|
|
70
|
+
? raw.pinnedSkillIds
|
|
71
|
+
.map((item) => (typeof item === "string" ? item.trim() : ""))
|
|
72
|
+
.filter(Boolean)
|
|
73
|
+
: [],
|
|
74
|
+
...(typeof raw.lastArchiveId === "string" && raw.lastArchiveId.trim()
|
|
75
|
+
? { lastArchiveId: raw.lastArchiveId.trim() }
|
|
76
|
+
: {}),
|
|
77
|
+
...(typeof raw.keepLastMessages === "number" &&
|
|
78
|
+
Number.isFinite(raw.keepLastMessages)
|
|
79
|
+
? { keepLastMessages: raw.keepLastMessages }
|
|
80
|
+
: {}),
|
|
81
|
+
...(typeof raw.maxInputTokensApprox === "number" &&
|
|
82
|
+
Number.isFinite(raw.maxInputTokensApprox)
|
|
83
|
+
? { maxInputTokensApprox: raw.maxInputTokensApprox }
|
|
84
|
+
: {}),
|
|
85
|
+
...(typeof raw.compactRatio === "number" && Number.isFinite(raw.compactRatio)
|
|
86
|
+
? { compactRatio: raw.compactRatio }
|
|
87
|
+
: {}),
|
|
88
|
+
...(raw.sdkConfig && typeof raw.sdkConfig === "object"
|
|
89
|
+
? { sdkConfig: raw.sdkConfig }
|
|
90
|
+
: {}),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
94
|
+
return {
|
|
95
|
+
v: 1,
|
|
96
|
+
sessionId: input.sessionId,
|
|
97
|
+
agentId: input.agentId,
|
|
98
|
+
createdAt: Date.now(),
|
|
99
|
+
timezone: resolveSystemTimezone(),
|
|
100
|
+
updatedAt: 0,
|
|
101
|
+
pinnedSkillIds: [],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* 写回当前 session 的 meta.json。
|
|
107
|
+
*/
|
|
108
|
+
export async function writeSessionMetadata(input) {
|
|
109
|
+
const filePath = getSdkAgentSessionMetaPath(input.projectRoot, input.agentId, input.sessionId);
|
|
110
|
+
await fs.ensureFile(filePath);
|
|
111
|
+
await fs.writeJson(filePath, input.meta, { spaces: 2 });
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* 更新当前 session 的 SDK 配置摘要。
|
|
115
|
+
*/
|
|
116
|
+
export async function patchSessionModelLabel(input) {
|
|
117
|
+
const current = await readSessionMetadata(input);
|
|
118
|
+
const modelLabel = inferModelLabel(input.model);
|
|
119
|
+
const next = {
|
|
120
|
+
...current,
|
|
121
|
+
agentId: input.agentId,
|
|
122
|
+
createdAt: typeof current.createdAt === "number" ? current.createdAt : Date.now(),
|
|
123
|
+
timezone: normalizeTimezone(current.timezone) || resolveSystemTimezone(),
|
|
124
|
+
updatedAt: Date.now(),
|
|
125
|
+
...(modelLabel
|
|
126
|
+
? {
|
|
127
|
+
sdkConfig: {
|
|
128
|
+
...(current.sdkConfig || {}),
|
|
129
|
+
modelLabel,
|
|
130
|
+
},
|
|
131
|
+
}
|
|
132
|
+
: {}),
|
|
133
|
+
};
|
|
134
|
+
await writeSessionMetadata({
|
|
135
|
+
...input,
|
|
136
|
+
meta: next,
|
|
137
|
+
});
|
|
138
|
+
return next;
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=Metadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../../src/session/storage/Metadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,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AAO,CAAC,SAAS,IAAI,EAAE,CAAC;oBAC5B,UAAU;iBACX;aACF;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;IACF,MAAM,oBAAoB,CAAC;QACzB,GAAG,KAAK;QACR,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paths.d.ts","sourceRoot":"","sources":["../../../src/session/storage/Paths.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,MAAM,CAKR;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C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AC,CAAC,IAAI,EAAE,CAAC,CACnD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAC/C,WAAmB,EACnB,OAAe,EACf,SAAiB;IAEjB,OAAO,IAAI,CAAC,IAAI,CACd,yBAAyB,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,EAC1D,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,WAAmB,EACnB,OAAe,EACf,SAAiB;IAEjB,OAAO,IAAI,CAAC,IAAI,CACd,iCAAiC,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,EAClE,gBAAgB,CACjB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,WAAmB,EACnB,OAAe,EACf,SAAiB;IAEjB,OAAO,IAAI,CAAC,IAAI,CACd,iCAAiC,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,EAClE,WAAW,CACZ,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAC9C,WAAmB,EACnB,OAAe,EACf,SAAiB;IAEjB,OAAO,IAAI,CAAC,IAAI,CACd,iCAAiC,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,EAClE,SAAS,CACV,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,WAAmB,EACnB,OAAe;IAEf,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,gBAAgB,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK Session 持久化辅助。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 集中处理 session meta 更新时间、模型展示标签与 assistant 消息落盘。
|
|
6
|
+
* - `Session` 只负责调用这些能力,不直接拼装 meta 结构。
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionMessageV1 } from "../../executor/types/SessionMessages.js";
|
|
9
|
+
import type { AgentSessionConfigSnapshot } from "../../types/agent/AgentTypes.js";
|
|
10
|
+
/**
|
|
11
|
+
* SDK Session 元数据写入参数。
|
|
12
|
+
*/
|
|
13
|
+
export interface TouchSessionMetadataParams {
|
|
14
|
+
/**
|
|
15
|
+
* 当前项目根目录。
|
|
16
|
+
*/
|
|
17
|
+
projectRoot: string;
|
|
18
|
+
/**
|
|
19
|
+
* 当前 agent 稳定标识。
|
|
20
|
+
*/
|
|
21
|
+
agentId: string;
|
|
22
|
+
/**
|
|
23
|
+
* 当前 sessionId。
|
|
24
|
+
*/
|
|
25
|
+
sessionId: string;
|
|
26
|
+
/**
|
|
27
|
+
* 当前 session 内存配置快照。
|
|
28
|
+
*/
|
|
29
|
+
sessionConfig: AgentSessionConfigSnapshot;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Assistant 结果落盘参数。
|
|
33
|
+
*/
|
|
34
|
+
export interface PersistSdkAssistantResultParams extends TouchSessionMetadataParams {
|
|
35
|
+
/**
|
|
36
|
+
* 追加 assistant 消息的底层执行编排器。
|
|
37
|
+
*/
|
|
38
|
+
executor: {
|
|
39
|
+
appendAssistantMessage(params: {
|
|
40
|
+
/**
|
|
41
|
+
* 已构造好的完整消息。
|
|
42
|
+
*/
|
|
43
|
+
message?: SessionMessageV1 | null;
|
|
44
|
+
/**
|
|
45
|
+
* 兜底文本内容。
|
|
46
|
+
*/
|
|
47
|
+
fallbackText?: string;
|
|
48
|
+
}): Promise<void>;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* 本轮执行得到的 assistant 消息。
|
|
52
|
+
*/
|
|
53
|
+
assistantMessage: SessionMessageV1;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* 刷新 SDK session 元数据。
|
|
57
|
+
*/
|
|
58
|
+
export declare function touchSessionMetadata(params: TouchSessionMetadataParams): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* 持久化 assistant 结果并同步刷新 session meta。
|
|
61
|
+
*/
|
|
62
|
+
export declare function persistSdkAssistantResult(params: PersistSdkAssistantResultParams): Promise<void>;
|
|
63
|
+
//# sourceMappingURL=Persistence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persistence.d.ts","sourceRoot":"","sources":["../../../src/session/storage/Persistence.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAM9E;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,0BAA0B,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,+BACf,SAAQ,0BAA0B;IAClC;;OAEG;IACH,QAAQ,EAAE;QACR,sBAAsB,CAAC,MAAM,EAAE;YAC7B;;eAEG;YACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;YAClC;;eAEG;YACH,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KACnB,CAAC;IACF;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,IAAI,CAAC,CA2Bf;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAAC,IAAI,CAAC,CAOf"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK Session 持久化辅助。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 集中处理 session meta 更新时间、模型展示标签与 assistant 消息落盘。
|
|
6
|
+
* - `Session` 只负责调用这些能力,不直接拼装 meta 结构。
|
|
7
|
+
*/
|
|
8
|
+
import { extractTextFromUiMessage } from "../../executor/messages/UIMessageTransformer.js";
|
|
9
|
+
import { persistAssistantResult } from "../../executor/messages/AssistantResultPersistence.js";
|
|
10
|
+
import { readSessionMetadata, writeSessionMetadata, } from "../../session/storage/Metadata.js";
|
|
11
|
+
/**
|
|
12
|
+
* 刷新 SDK session 元数据。
|
|
13
|
+
*/
|
|
14
|
+
export async function touchSessionMetadata(params) {
|
|
15
|
+
const current = await readSessionMetadata({
|
|
16
|
+
projectRoot: params.projectRoot,
|
|
17
|
+
agentId: params.agentId,
|
|
18
|
+
sessionId: params.sessionId,
|
|
19
|
+
});
|
|
20
|
+
const next = {
|
|
21
|
+
...current,
|
|
22
|
+
agentId: params.agentId,
|
|
23
|
+
createdAt: typeof current.createdAt === "number" ? current.createdAt : Date.now(),
|
|
24
|
+
updatedAt: Date.now(),
|
|
25
|
+
...(params.sessionConfig.modelLabel
|
|
26
|
+
? {
|
|
27
|
+
sdkConfig: {
|
|
28
|
+
...(current.sdkConfig || {}),
|
|
29
|
+
modelLabel: params.sessionConfig.modelLabel,
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
: {}),
|
|
33
|
+
};
|
|
34
|
+
await writeSessionMetadata({
|
|
35
|
+
projectRoot: params.projectRoot,
|
|
36
|
+
agentId: params.agentId,
|
|
37
|
+
sessionId: params.sessionId,
|
|
38
|
+
meta: next,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 持久化 assistant 结果并同步刷新 session meta。
|
|
43
|
+
*/
|
|
44
|
+
export async function persistSdkAssistantResult(params) {
|
|
45
|
+
await persistAssistantResult({
|
|
46
|
+
writer: params.executor,
|
|
47
|
+
assistantMessage: params.assistantMessage,
|
|
48
|
+
fallbackText: extractTextFromUiMessage(params.assistantMessage),
|
|
49
|
+
});
|
|
50
|
+
await touchSessionMetadata(params);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=Persistence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persistence.js","sourceRoot":"","sources":["../../../src/session/storage/Persistence.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAGvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AAkDvC;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,MAAkC;IAElC,MAAM,OAAO,GAAG,MAAM,mBAAmB,CAAC;QACxC,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,SAAS,EAAE,MAAM,CAAC,SAAS;KAC5B,CAAC,CAAC;IACH,MAAM,IAAI,GAAyB;QACjC,GAAG,OAAO;QACV,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,SAAS,EACP,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;QACxE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;QACrB,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU;YACjC,CAAC,CAAC;gBACE,SAAS,EAAE;oBACT,GAAG,CAAC,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;oBAC5B,UAAU,EAAE,MAAM,CAAC,aAAa,CAAC,UAAU;iBAC5C;aACF;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;IACF,MAAM,oBAAoB,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,MAAuC;IAEvC,MAAM,sBAAsB,CAAC;QAC3B,MAAM,EAAE,MAAM,CAAC,QAAQ;QACvB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,YAAY,EAAE,wBAAwB,CAAC,MAAM,CAAC,gBAAgB,CAAC;KAChE,CAAC,CAAC;IACH,MAAM,oBAAoB,CAAC,MAAM,CAAC,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK Session plugin runtime 端口构造器。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 把 SDK 本地 session 适配成 runtime / plugin runtime 依赖的 `SessionPort`。
|
|
6
|
+
* - SDK 公开面只保留 `prompt()` / `subscribe()`;runtime/service 若要 one-shot 等待结果,也统一委托给 `prompt()`。
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionPort } from "../../types/runtime/agent/AgentContext.js";
|
|
9
|
+
import type { SessionHistoryStore } from "../../executor/store/history/SessionHistoryStore.js";
|
|
10
|
+
import type { AgentSessionPromptInput } from "../../types/sdk/AgentSessionPrompt.js";
|
|
11
|
+
import type { AgentSessionSubscriber, AgentSessionUnsubscribe } from "../../types/sdk/AgentSessionEvent.js";
|
|
12
|
+
import type { AgentSessionTurnHandle } from "../../types/sdk/AgentSessionTurn.js";
|
|
13
|
+
/**
|
|
14
|
+
* 构造 SDK SessionPort 的参数。
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateRuntimeSessionPortParams {
|
|
17
|
+
/**
|
|
18
|
+
* 当前 sessionId。
|
|
19
|
+
*/
|
|
20
|
+
sessionId: string;
|
|
21
|
+
/**
|
|
22
|
+
* 读取当前 session 底层执行端口。
|
|
23
|
+
*/
|
|
24
|
+
getExecutor: SessionPort["getExecutor"];
|
|
25
|
+
/**
|
|
26
|
+
* 追加一条新的 session prompt。
|
|
27
|
+
*/
|
|
28
|
+
prompt: (input: AgentSessionPromptInput) => Promise<AgentSessionTurnHandle>;
|
|
29
|
+
/**
|
|
30
|
+
* 订阅当前 session 的 future 事件。
|
|
31
|
+
*/
|
|
32
|
+
subscribe: (subscriber: AgentSessionSubscriber) => AgentSessionUnsubscribe;
|
|
33
|
+
/**
|
|
34
|
+
* 清理当前 session executor 状态。
|
|
35
|
+
*/
|
|
36
|
+
clearExecutor: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* session 更新后的异步通知回调。
|
|
39
|
+
*/
|
|
40
|
+
afterSessionUpdatedAsync: () => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* 追加 user 消息到底层历史。
|
|
43
|
+
*/
|
|
44
|
+
appendUserMessage: SessionPort["appendUserMessage"];
|
|
45
|
+
/**
|
|
46
|
+
* 追加 assistant 消息到底层历史。
|
|
47
|
+
*/
|
|
48
|
+
appendAssistantMessage: SessionPort["appendAssistantMessage"];
|
|
49
|
+
/**
|
|
50
|
+
* 返回当前 session 是否正在执行。
|
|
51
|
+
*/
|
|
52
|
+
isExecuting: () => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* 当前 session 历史持久化端口。
|
|
55
|
+
*/
|
|
56
|
+
historyStore: SessionHistoryStore;
|
|
57
|
+
/**
|
|
58
|
+
* 在执行前确保当前 session 已完成初始化与宿主级配置。
|
|
59
|
+
*/
|
|
60
|
+
ensureReadyForExecution: () => Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* session 更新后需要同步执行的持久化回调。
|
|
63
|
+
*/
|
|
64
|
+
touchMetadata: () => Promise<void>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 创建供 plugin runtime 使用的 session 端口。
|
|
68
|
+
*/
|
|
69
|
+
export declare function createRuntimeSessionPort(params: CreateRuntimeSessionPortParams): SessionPort;
|
|
70
|
+
//# sourceMappingURL=RuntimeSessionPort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuntimeSessionPort.d.ts","sourceRoot":"","sources":["../../../src/session/storage/RuntimeSessionPort.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC5E;;OAEG;IACH,SAAS,EAAE,CACT,UAAU,EAAE,sBAAsB,KAC/B,uBAAuB,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,wBAAwB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C;;OAEG;IACH,iBAAiB,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACpD;;OAEG;IACH,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAAC,CAAC;IAC9D;;OAEG;IACH,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,mBAAmB,CAAC;IAClC;;OAE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