@downcity/agent 1.1.1 → 1.1.6
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 +226 -0
- package/bin/agent/AgentContext.d.ts +2 -2
- package/bin/agent/AgentContext.d.ts.map +1 -1
- package/bin/agent/AgentContext.js +4 -4
- package/bin/agent/AgentContext.js.map +1 -1
- package/bin/agent/AgentContextTypes.d.ts +345 -0
- package/bin/agent/AgentContextTypes.d.ts.map +1 -0
- package/bin/agent/AgentContextTypes.js +10 -0
- package/bin/agent/AgentContextTypes.js.map +1 -0
- package/bin/agent/AgentRuntime.js +7 -7
- package/bin/agent/AgentRuntime.js.map +1 -1
- package/bin/agent/AgentRuntimeState.d.ts +2 -2
- package/bin/agent/AgentRuntimeState.d.ts.map +1 -1
- package/bin/agent/AgentRuntimeTypes.d.ts +81 -0
- package/bin/agent/AgentRuntimeTypes.d.ts.map +1 -0
- package/bin/agent/AgentRuntimeTypes.js +10 -0
- package/bin/agent/AgentRuntimeTypes.js.map +1 -0
- package/bin/agent/project/AgentInitializer.d.ts +4 -4
- package/bin/agent/project/AgentInitializer.d.ts.map +1 -1
- package/bin/agent/project/AgentInitializer.js +9 -9
- package/bin/agent/project/AgentInitializer.js.map +1 -1
- package/bin/config/Config.d.ts +2 -2
- package/bin/config/Config.js +7 -7
- package/bin/config/Config.js.map +1 -1
- package/bin/host/daemon/Api.d.ts +60 -0
- package/bin/host/daemon/Api.d.ts.map +1 -0
- package/bin/host/daemon/Api.js.map +1 -0
- package/bin/host/daemon/Client.d.ts.map +1 -0
- package/bin/host/daemon/Client.js +158 -0
- package/bin/host/daemon/Client.js.map +1 -0
- package/bin/host/daemon/Manager.d.ts +92 -0
- package/bin/host/daemon/Manager.d.ts.map +1 -0
- package/bin/host/daemon/Manager.js +287 -0
- package/bin/host/daemon/Manager.js.map +1 -0
- package/bin/host/daemon/ProjectSetup.d.ts.map +1 -0
- package/bin/host/daemon/ProjectSetup.js +101 -0
- package/bin/host/daemon/ProjectSetup.js.map +1 -0
- package/bin/host/rpc/Client.d.ts +13 -0
- package/bin/host/rpc/Client.d.ts.map +1 -0
- package/bin/host/rpc/Client.js.map +1 -0
- package/bin/host/rpc/Paths.d.ts.map +1 -0
- package/bin/host/rpc/Paths.js +36 -0
- package/bin/host/rpc/Paths.js.map +1 -0
- package/bin/host/rpc/Server.d.ts +18 -0
- package/bin/host/rpc/Server.d.ts.map +1 -0
- package/bin/host/rpc/Server.js +307 -0
- package/bin/host/rpc/Server.js.map +1 -0
- package/bin/host/rpc/Transport.d.ts +21 -0
- package/bin/host/rpc/Transport.d.ts.map +1 -0
- package/bin/host/rpc/Transport.js +30 -0
- package/bin/host/rpc/Transport.js.map +1 -0
- package/bin/host/runtime/AgentHostRuntime.d.ts +10 -0
- package/bin/host/runtime/AgentHostRuntime.d.ts.map +1 -0
- package/bin/host/runtime/AgentHostRuntime.js +47 -0
- package/bin/host/runtime/AgentHostRuntime.js.map +1 -0
- package/bin/host/runtime/CityPaths.d.ts +53 -0
- package/bin/host/runtime/CityPaths.d.ts.map +1 -0
- package/bin/host/runtime/CityPaths.js +78 -0
- package/bin/host/runtime/CityPaths.js.map +1 -0
- package/bin/host/runtime/CityRegistry.d.ts +51 -0
- package/bin/host/runtime/CityRegistry.d.ts.map +1 -0
- package/bin/host/runtime/CityRegistry.js +217 -0
- package/bin/host/runtime/CityRegistry.js.map +1 -0
- package/bin/host/runtime/CityRuntime.d.ts +21 -0
- package/bin/host/runtime/CityRuntime.d.ts.map +1 -0
- package/bin/host/runtime/CityRuntime.js +45 -0
- package/bin/host/runtime/CityRuntime.js.map +1 -0
- package/bin/host/runtime/PluginRuntime.d.ts +24 -0
- package/bin/host/runtime/PluginRuntime.d.ts.map +1 -0
- package/bin/host/runtime/PluginRuntime.js.map +1 -0
- package/bin/host/runtime/ProcessSweep.d.ts +76 -0
- package/bin/host/runtime/ProcessSweep.d.ts.map +1 -0
- package/bin/host/runtime/ProcessSweep.js +188 -0
- package/bin/host/runtime/ProcessSweep.js.map +1 -0
- package/bin/host/sdk/Agent.d.ts +60 -0
- package/bin/host/sdk/Agent.d.ts.map +1 -0
- package/bin/host/sdk/Agent.js +308 -0
- package/bin/host/sdk/Agent.js.map +1 -0
- package/bin/host/sdk/AgentSdkTypes.d.ts +257 -0
- package/bin/host/sdk/AgentSdkTypes.d.ts.map +1 -0
- package/bin/host/sdk/AgentSdkTypes.js +10 -0
- package/bin/host/sdk/AgentSdkTypes.js.map +1 -0
- package/bin/host/sdk/AsyncQueue.d.ts +26 -0
- package/bin/host/sdk/AsyncQueue.d.ts.map +1 -0
- package/bin/host/sdk/AsyncQueue.js +75 -0
- package/bin/host/sdk/AsyncQueue.js.map +1 -0
- package/bin/host/sdk/HttpServer.d.ts +40 -0
- package/bin/host/sdk/HttpServer.d.ts.map +1 -0
- package/bin/host/sdk/HttpServer.js +181 -0
- package/bin/host/sdk/HttpServer.js.map +1 -0
- package/bin/host/sdk/Paths.d.ts +48 -0
- package/bin/host/sdk/Paths.d.ts.map +1 -0
- package/bin/host/sdk/Paths.js +69 -0
- package/bin/host/sdk/Paths.js.map +1 -0
- package/bin/host/sdk/RemoteAgent.d.ts +54 -0
- package/bin/host/sdk/RemoteAgent.d.ts.map +1 -0
- package/bin/host/sdk/RemoteAgent.js +153 -0
- package/bin/host/sdk/RemoteAgent.js.map +1 -0
- package/bin/host/sdk/RpcServer.d.ts +31 -0
- package/bin/host/sdk/RpcServer.d.ts.map +1 -0
- package/bin/host/sdk/RpcServer.js +193 -0
- package/bin/host/sdk/RpcServer.js.map +1 -0
- package/bin/host/sdk/SdkSessionSystemComposer.d.ts +34 -0
- package/bin/host/sdk/SdkSessionSystemComposer.d.ts.map +1 -0
- package/bin/host/sdk/SdkSessionSystemComposer.js +54 -0
- package/bin/host/sdk/SdkSessionSystemComposer.js.map +1 -0
- package/bin/host/sdk/Session.d.ts +130 -0
- package/bin/host/sdk/Session.d.ts.map +1 -0
- package/bin/host/sdk/Session.js +451 -0
- package/bin/host/sdk/Session.js.map +1 -0
- package/bin/host/sdk/SessionMetadata.d.ts +51 -0
- package/bin/host/sdk/SessionMetadata.d.ts.map +1 -0
- package/bin/host/sdk/SessionMetadata.js +124 -0
- package/bin/host/sdk/SessionMetadata.js.map +1 -0
- package/bin/host/sdk/StreamEvents.d.ts +14 -0
- package/bin/host/sdk/StreamEvents.d.ts.map +1 -0
- package/bin/host/sdk/StreamEvents.js +89 -0
- package/bin/host/sdk/StreamEvents.js.map +1 -0
- package/bin/http/Server.js +2 -2
- package/bin/http/Server.js.map +1 -1
- package/bin/http/auth/AuthStore.d.ts +1 -1
- package/bin/http/auth/AuthStore.d.ts.map +1 -1
- package/bin/http/auth/AuthStore.js +5 -5
- package/bin/http/auth/AuthStore.js.map +1 -1
- package/bin/http/auth/RoutePolicy.d.ts +2 -2
- package/bin/http/auth/RoutePolicy.d.ts.map +1 -1
- package/bin/http/auth/RoutePolicy.js +6 -6
- package/bin/http/auth/RoutePolicy.js.map +1 -1
- package/bin/http/control/AuthControlService.d.ts +30 -0
- package/bin/http/control/AuthControlService.d.ts.map +1 -0
- package/bin/http/control/AuthControlService.js +120 -0
- package/bin/http/control/AuthControlService.js.map +1 -0
- package/bin/http/control/CommonHelpers.d.ts +36 -0
- package/bin/http/control/CommonHelpers.d.ts.map +1 -0
- package/bin/http/control/CommonHelpers.js +63 -0
- package/bin/http/control/CommonHelpers.js.map +1 -0
- package/bin/http/control/ControlApiRoutes.d.ts +14 -0
- package/bin/http/control/ControlApiRoutes.d.ts.map +1 -0
- package/bin/http/control/ControlApiRoutes.js +27 -0
- package/bin/http/control/ControlApiRoutes.js.map +1 -0
- package/bin/http/control/ControlAuthorizationRoutes.d.ts +17 -0
- package/bin/http/control/ControlAuthorizationRoutes.d.ts.map +1 -0
- package/bin/http/control/ControlAuthorizationRoutes.js +85 -0
- package/bin/http/control/ControlAuthorizationRoutes.js.map +1 -0
- package/bin/http/control/ControlRouter.d.ts +19 -0
- package/bin/http/control/ControlRouter.d.ts.map +1 -0
- package/bin/http/control/ControlRouter.js +26 -0
- package/bin/http/control/ControlRouter.js.map +1 -0
- package/bin/http/control/ExecuteBySession.d.ts +39 -0
- package/bin/http/control/ExecuteBySession.d.ts.map +1 -0
- package/bin/http/control/ExecuteBySession.js +128 -0
- package/bin/http/control/ExecuteBySession.js.map +1 -0
- package/bin/http/control/ExecuteInput.d.ts +18 -0
- package/bin/http/control/ExecuteInput.d.ts.map +1 -0
- package/bin/http/control/ExecuteInput.js +201 -0
- package/bin/http/control/ExecuteInput.js.map +1 -0
- package/bin/http/control/Helpers.d.ts +13 -0
- package/bin/http/control/Helpers.d.ts.map +1 -0
- package/bin/http/control/Helpers.js +13 -0
- package/bin/http/control/Helpers.js.map +1 -0
- package/bin/http/control/MessageTimeline.d.ts +22 -0
- package/bin/http/control/MessageTimeline.d.ts.map +1 -0
- package/bin/http/control/MessageTimeline.js +226 -0
- package/bin/http/control/MessageTimeline.js.map +1 -0
- package/bin/http/control/ModelRoutes.d.ts +13 -0
- package/bin/http/control/ModelRoutes.d.ts.map +1 -0
- package/bin/http/control/ModelRoutes.js +92 -0
- package/bin/http/control/ModelRoutes.js.map +1 -0
- package/bin/http/control/OverviewRoutes.d.ts +13 -0
- package/bin/http/control/OverviewRoutes.d.ts.map +1 -0
- package/bin/http/control/OverviewRoutes.js +93 -0
- package/bin/http/control/OverviewRoutes.js.map +1 -0
- package/bin/http/control/SessionRoutes.d.ts +14 -0
- package/bin/http/control/SessionRoutes.d.ts.map +1 -0
- package/bin/http/control/SessionRoutes.js +333 -0
- package/bin/http/control/SessionRoutes.js.map +1 -0
- package/bin/http/control/SessionSummaryStore.d.ts +19 -0
- package/bin/http/control/SessionSummaryStore.d.ts.map +1 -0
- package/bin/http/control/SessionSummaryStore.js +62 -0
- package/bin/http/control/SessionSummaryStore.js.map +1 -0
- package/bin/http/control/TaskRoutes.d.ts +13 -0
- package/bin/http/control/TaskRoutes.d.ts.map +1 -0
- package/bin/http/control/TaskRoutes.js +335 -0
- package/bin/http/control/TaskRoutes.js.map +1 -0
- package/bin/http/control/TaskStore.d.ts +33 -0
- package/bin/http/control/TaskStore.d.ts.map +1 -0
- package/bin/http/control/TaskStore.js +157 -0
- package/bin/http/control/TaskStore.js.map +1 -0
- package/bin/http/execute/execute.js +1 -1
- package/bin/http/execute/execute.js.map +1 -1
- package/bin/http/services/services.js +1 -1
- package/bin/http/services/services.js.map +1 -1
- package/bin/index.d.ts +92 -6
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +89 -5
- package/bin/index.js.map +1 -1
- package/bin/model/CreateModel.d.ts +4 -4
- package/bin/model/CreateModel.d.ts.map +1 -1
- package/bin/model/CreateModel.js +23 -8
- package/bin/model/CreateModel.js.map +1 -1
- package/bin/plugin/HookRegistry.d.ts +1 -1
- package/bin/plugin/HookRegistry.d.ts.map +1 -1
- package/bin/plugin/HttpRoutes.d.ts +1 -1
- package/bin/plugin/HttpRoutes.d.ts.map +1 -1
- package/bin/plugin/Lifecycle.d.ts +1 -1
- package/bin/plugin/Lifecycle.js +4 -4
- package/bin/plugin/Lifecycle.js.map +1 -1
- package/bin/plugin/LocalExecution.js +1 -1
- package/bin/plugin/LocalExecution.js.map +1 -1
- package/bin/plugin/PluginManager.js +1 -1
- package/bin/plugin/PluginManager.js.map +1 -1
- package/bin/plugin/PluginRegistry.d.ts +1 -1
- package/bin/plugin/PluginRegistry.d.ts.map +1 -1
- package/bin/plugin/ProjectConfigStore.d.ts +1 -1
- package/bin/plugin/ProjectConfigStore.js +1 -1
- package/bin/plugins/asr/Plugin.js +1 -1
- package/bin/plugins/asr/Plugin.js.map +1 -1
- package/bin/plugins/auth/Plugin.js +1 -1
- package/bin/plugins/auth/Plugin.js.map +1 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +1 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +1 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.js +3 -3
- package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +1 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +2 -2
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +1 -1
- package/bin/plugins/tts/runtime/Synthesizer.js +1 -1
- package/bin/plugins/tts/runtime/Synthesizer.js.map +1 -1
- package/bin/plugins/voice/Plugin.js +1 -1
- package/bin/plugins/voice/Plugin.js.map +1 -1
- package/bin/plugins/workboard/runtime/Collector.d.ts +1 -1
- package/bin/plugins/workboard/runtime/Collector.d.ts.map +1 -1
- package/bin/plugins/workboard/runtime/Collector.js +4 -4
- package/bin/plugins/workboard/runtime/Collector.js.map +1 -1
- package/bin/plugins/workboard/runtime/Normalizer.d.ts +5 -5
- package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +1 -1
- package/bin/plugins/workboard/runtime/Normalizer.js.map +1 -1
- package/bin/plugins/workboard/runtime/Store.d.ts +1 -1
- package/bin/plugins/workboard/runtime/Store.d.ts.map +1 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts +1 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -1
- package/bin/sandbox/SandboxRunner.d.ts +1 -1
- package/bin/sandbox/SandboxRunner.d.ts.map +1 -1
- package/bin/service/builtins/BaseService.d.ts +70 -0
- package/bin/service/builtins/BaseService.d.ts.map +1 -0
- package/bin/service/builtins/BaseService.js +67 -0
- package/bin/service/builtins/BaseService.js.map +1 -0
- package/bin/service/builtins/chat/Action.d.ts +125 -0
- package/bin/service/builtins/chat/Action.d.ts.map +1 -0
- package/bin/service/builtins/chat/Action.js +376 -0
- package/bin/service/builtins/chat/Action.js.map +1 -0
- package/bin/service/builtins/chat/ChatService.d.ts +89 -0
- package/bin/service/builtins/chat/ChatService.d.ts.map +1 -0
- package/bin/service/builtins/chat/ChatService.js +212 -0
- package/bin/service/builtins/chat/ChatService.js.map +1 -0
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts +159 -0
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +1 -0
- package/bin/service/builtins/chat/ChatServiceTypes.js +10 -0
- package/bin/service/builtins/chat/ChatServiceTypes.js.map +1 -0
- package/bin/service/builtins/chat/Index.d.ts.map +1 -0
- package/bin/service/builtins/chat/Index.js.map +1 -0
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +60 -0
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +1 -0
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js +285 -0
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +201 -0
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannel.js +294 -0
- package/bin/service/builtins/chat/channels/BaseChatChannel.js.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts +73 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js +238 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +189 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js +141 -0
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js.map +1 -0
- package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts +18 -0
- package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/BotInfoProvider.js +32 -0
- package/bin/service/builtins/chat/channels/BotInfoProvider.js.map +1 -0
- package/bin/service/builtins/chat/channels/Configuration.d.ts +27 -0
- package/bin/service/builtins/chat/channels/Configuration.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/Configuration.js.map +1 -0
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts +18 -0
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.js +31 -0
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts +20 -0
- package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/BotInfo.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts +17 -0
- package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Configuration.js +59 -0
- package/bin/service/builtins/chat/channels/feishu/Configuration.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +116 -0
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Feishu.js +458 -0
- package/bin/service/builtins/chat/channels/feishu/Feishu.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts +21 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts +31 -0
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts +48 -0
- package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/PostMessage.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts +18 -0
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Shared.d.ts +21 -0
- package/bin/service/builtins/chat/channels/feishu/Shared.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/Shared.js +69 -0
- package/bin/service/builtins/chat/channels/feishu/Shared.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts +19 -0
- package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/BotInfo.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/Configuration.d.ts +17 -0
- package/bin/service/builtins/chat/channels/qq/Configuration.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/Configuration.js +59 -0
- package/bin/service/builtins/chat/channels/qq/Configuration.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts +92 -0
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQ.js +485 -0
- package/bin/service/builtins/chat/channels/qq/QQ.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts +22 -0
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +179 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js +540 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts +84 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts +47 -0
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQInbound.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts +48 -0
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQSendSupport.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +102 -0
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQSupport.js +172 -0
- package/bin/service/builtins/chat/channels/qq/QQSupport.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts +64 -0
- package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/VoiceInput.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts +99 -0
- package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/ApiClient.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts +97 -0
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Bot.js +504 -0
- package/bin/service/builtins/chat/channels/telegram/Bot.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts +19 -0
- package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/BotInfo.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts +17 -0
- package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Configuration.js +59 -0
- package/bin/service/builtins/chat/channels/telegram/Configuration.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts +42 -0
- package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Handlers.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts +14 -0
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Shared.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/Shared.js +171 -0
- package/bin/service/builtins/chat/channels/telegram/Shared.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/StateStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/StateStore.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramInbound.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts +78 -0
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChannelContextStore.js +336 -0
- package/bin/service/builtins/chat/runtime/ChannelContextStore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +145 -0
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatActionExecution.js +287 -0
- package/bin/service/builtins/chat/runtime/ChatActionExecution.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +63 -0
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatActionInput.js +458 -0
- package/bin/service/builtins/chat/runtime/ChatActionInput.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +122 -0
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelActions.js +237 -0
- package/bin/service/builtins/chat/runtime/ChatChannelActions.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +61 -0
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.js +260 -0
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +45 -0
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js +114 -0
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js +132 -0
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +72 -0
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.js +219 -0
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +52 -0
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatIngressStore.js +65 -0
- package/bin/service/builtins/chat/runtime/ChatIngressStore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts +54 -0
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts +68 -0
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatMetaStore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueue.d.ts +40 -0
- package/bin/service/builtins/chat/runtime/ChatQueue.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueue.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +31 -0
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +55 -0
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js +98 -0
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts +85 -0
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueStore.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +88 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts +20 -0
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts +27 -0
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts +17 -0
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatServiceActions.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts +22 -0
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js +87 -0
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSession.d.ts +73 -0
- package/bin/service/builtins/chat/runtime/ChatSession.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSession.js +78 -0
- package/bin/service/builtins/chat/runtime/ChatSession.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts +29 -0
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.js +76 -0
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.d.ts +45 -0
- package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.js +60 -0
- package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts +30 -0
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.js +9 -0
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts +67 -0
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatkeySend.js.map +1 -0
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts +22 -0
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.js +133 -0
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.js.map +1 -0
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +24 -0
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.js +28 -0
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.js.map +1 -0
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +21 -0
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/InboundAugment.js +50 -0
- package/bin/service/builtins/chat/runtime/InboundAugment.js.map +1 -0
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +43 -0
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/PluginDispatch.js +57 -0
- package/bin/service/builtins/chat/runtime/PluginDispatch.js.map +1 -0
- package/bin/service/builtins/chat/runtime/PluginPoints.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/PluginPoints.js.map +1 -0
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts +20 -0
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +29 -0
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +36 -0
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ReplyDispatch.js +51 -0
- package/bin/service/builtins/chat/runtime/ReplyDispatch.js.map +1 -0
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +26 -0
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/SystemPrompt.js +70 -0
- package/bin/service/builtins/chat/runtime/SystemPrompt.js.map +1 -0
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +24 -0
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.js.map +1 -0
- package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts +34 -0
- package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/UserVisibleText.js.map +1 -0
- package/bin/service/builtins/chat/types/BotInfo.d.ts +97 -0
- package/bin/service/builtins/chat/types/BotInfo.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/BotInfo.js.map +1 -0
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts +226 -0
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChannelAccount.js +9 -0
- package/bin/service/builtins/chat/types/ChannelAccount.js.map +1 -0
- package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts +146 -0
- package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChannelConfiguration.js.map +1 -0
- package/bin/service/builtins/chat/types/ChannelContext.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChannelContext.js.map +1 -0
- package/bin/service/builtins/chat/types/ChannelStatus.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChannelStatus.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatCommand.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatCommand.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatDispatcher.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatDispatcher.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatHistory.d.ts +36 -0
- package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatHistory.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatMessageMarkup.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatMeta.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatMeta.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatQueue.d.ts +44 -0
- package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatQueue.js.map +1 -0
- package/bin/service/builtins/chat/types/DirectDispatch.d.ts +115 -0
- package/bin/service/builtins/chat/types/DirectDispatch.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/DirectDispatch.js.map +1 -0
- package/bin/service/builtins/chat/types/FeishuAttachment.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/FeishuAttachment.js.map +1 -0
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts +114 -0
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.js.map +1 -0
- package/bin/service/builtins/chat/types/FeishuPost.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/FeishuPost.js.map +1 -0
- package/bin/service/builtins/chat/types/QqInboundDedupe.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/QqInboundDedupe.js.map +1 -0
- package/bin/service/builtins/chat/types/QqVoice.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/QqVoice.js.map +1 -0
- package/bin/service/builtins/chat/types/ReplyContext.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ReplyContext.js.map +1 -0
- package/bin/service/builtins/contact/Action.d.ts.map +1 -0
- package/bin/service/builtins/contact/Action.js.map +1 -0
- package/bin/service/builtins/contact/ContactService.d.ts +39 -0
- package/bin/service/builtins/contact/ContactService.d.ts.map +1 -0
- package/bin/service/builtins/contact/ContactService.js +683 -0
- package/bin/service/builtins/contact/ContactService.js.map +1 -0
- package/bin/service/builtins/contact/Index.d.ts.map +1 -0
- package/bin/service/builtins/contact/Index.js.map +1 -0
- package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts +23 -0
- package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ApproveCallback.js.map +1 -0
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts +27 -0
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ChatRuntime.js.map +1 -0
- package/bin/service/builtins/contact/runtime/ContactStore.d.ts +49 -0
- package/bin/service/builtins/contact/runtime/ContactStore.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ContactStore.js.map +1 -0
- package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts +39 -0
- package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/EndpointNotice.js.map +1 -0
- package/bin/service/builtins/contact/runtime/EndpointResolver.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/EndpointResolver.js.map +1 -0
- package/bin/service/builtins/contact/runtime/InboxStore.d.ts +33 -0
- package/bin/service/builtins/contact/runtime/InboxStore.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/InboxStore.js.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkApproval.d.ts +20 -0
- package/bin/service/builtins/contact/runtime/LinkApproval.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkApproval.js.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkCode.d.ts +21 -0
- package/bin/service/builtins/contact/runtime/LinkCode.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkCode.js.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkStore.d.ts +17 -0
- package/bin/service/builtins/contact/runtime/LinkStore.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/LinkStore.js.map +1 -0
- package/bin/service/builtins/contact/runtime/Paths.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/Paths.js.map +1 -0
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +46 -0
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/RemoteClient.js.map +1 -0
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts +65 -0
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ShareBundle.js.map +1 -0
- package/bin/service/builtins/contact/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/SystemProvider.js.map +1 -0
- package/bin/service/builtins/contact/runtime/Token.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/Token.js.map +1 -0
- package/bin/service/builtins/contact/types/Contact.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/Contact.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactApproval.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactApproval.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactChat.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactChat.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactCheck.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactCheck.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactCommand.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactCommand.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactEndpoint.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactEndpoint.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactLink.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactLink.js.map +1 -0
- package/bin/service/builtins/contact/types/ContactShare.d.ts.map +1 -0
- package/bin/service/builtins/contact/types/ContactShare.js.map +1 -0
- package/bin/service/builtins/memory/Action.d.ts +41 -0
- package/bin/service/builtins/memory/Action.d.ts.map +1 -0
- package/bin/service/builtins/memory/Action.js.map +1 -0
- package/bin/service/builtins/memory/Index.d.ts.map +1 -0
- package/bin/service/builtins/memory/Index.js.map +1 -0
- package/bin/service/builtins/memory/MemoryService.d.ts +45 -0
- package/bin/service/builtins/memory/MemoryService.d.ts.map +1 -0
- package/bin/service/builtins/memory/MemoryService.js +299 -0
- package/bin/service/builtins/memory/MemoryService.js.map +1 -0
- package/bin/service/builtins/memory/runtime/Flush.d.ts +15 -0
- package/bin/service/builtins/memory/runtime/Flush.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/Flush.js.map +1 -0
- package/bin/service/builtins/memory/runtime/Indexer.d.ts +71 -0
- package/bin/service/builtins/memory/runtime/Indexer.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/Indexer.js.map +1 -0
- package/bin/service/builtins/memory/runtime/Search.d.ts +15 -0
- package/bin/service/builtins/memory/runtime/Search.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/Search.js.map +1 -0
- package/bin/service/builtins/memory/runtime/Store.d.ts +106 -0
- package/bin/service/builtins/memory/runtime/Store.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/Store.js.map +1 -0
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts +22 -0
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/SystemProvider.js.map +1 -0
- package/bin/service/builtins/memory/runtime/Writer.d.ts +23 -0
- package/bin/service/builtins/memory/runtime/Writer.d.ts.map +1 -0
- package/bin/service/builtins/memory/runtime/Writer.js.map +1 -0
- package/bin/service/builtins/memory/types/Memory.d.ts +318 -0
- package/bin/service/builtins/memory/types/Memory.d.ts.map +1 -0
- package/bin/service/builtins/memory/types/Memory.js.map +1 -0
- package/bin/service/builtins/shell/Index.d.ts.map +1 -0
- package/bin/service/builtins/shell/Index.js.map +1 -0
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +91 -0
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts.map +1 -0
- package/bin/service/builtins/shell/ShellRuntimeTypes.js +10 -0
- package/bin/service/builtins/shell/ShellRuntimeTypes.js.map +1 -0
- package/bin/service/builtins/shell/ShellService.d.ts +65 -0
- package/bin/service/builtins/shell/ShellService.d.ts.map +1 -0
- package/bin/service/builtins/shell/ShellService.js +138 -0
- package/bin/service/builtins/shell/ShellService.js.map +1 -0
- package/bin/service/builtins/shell/runtime/Paths.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/Paths.js.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts +49 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +463 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +107 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +452 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
- package/bin/service/builtins/shell/types/ShellService.d.ts.map +1 -0
- package/bin/service/builtins/shell/types/ShellService.js.map +1 -0
- package/bin/service/builtins/task/Action.d.ts +36 -0
- package/bin/service/builtins/task/Action.d.ts.map +1 -0
- package/bin/service/builtins/task/Action.js.map +1 -0
- package/bin/service/builtins/task/Index.d.ts.map +1 -0
- package/bin/service/builtins/task/Index.js.map +1 -0
- package/bin/service/builtins/task/Scheduler.d.ts +17 -0
- package/bin/service/builtins/task/Scheduler.d.ts.map +1 -0
- package/bin/service/builtins/task/Scheduler.js +231 -0
- package/bin/service/builtins/task/Scheduler.js.map +1 -0
- package/bin/service/builtins/task/TaskService.d.ts +57 -0
- package/bin/service/builtins/task/TaskService.d.ts.map +1 -0
- package/bin/service/builtins/task/TaskService.js +126 -0
- package/bin/service/builtins/task/TaskService.js.map +1 -0
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts +34 -0
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/CronRuntime.js +59 -0
- package/bin/service/builtins/task/runtime/CronRuntime.js.map +1 -0
- package/bin/service/builtins/task/runtime/CronTrigger.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/CronTrigger.js.map +1 -0
- package/bin/service/builtins/task/runtime/Frontmatter.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/Frontmatter.js.map +1 -0
- package/bin/service/builtins/task/runtime/Model.d.ts +73 -0
- package/bin/service/builtins/task/runtime/Model.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/Model.js.map +1 -0
- package/bin/service/builtins/task/runtime/Paths.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/Paths.js.map +1 -0
- package/bin/service/builtins/task/runtime/Runner.d.ts +43 -0
- package/bin/service/builtins/task/runtime/Runner.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/Runner.js.map +1 -0
- package/bin/service/builtins/task/runtime/Store.d.ts +89 -0
- package/bin/service/builtins/task/runtime/Store.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/Store.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +160 -0
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskActionExecution.js +192 -0
- package/bin/service/builtins/task/runtime/TaskActionExecution.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +48 -0
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskActionInput.js +357 -0
- package/bin/service/builtins/task/runtime/TaskActionInput.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts +189 -0
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts +22 -0
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts +35 -0
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +80 -0
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js +272 -0
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +45 -0
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerSession.js +138 -0
- package/bin/service/builtins/task/runtime/TaskRunnerSession.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts +186 -0
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.js +9 -0
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts +16 -0
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskServiceActions.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskServiceSystem.js.map +1 -0
- package/bin/service/builtins/task/types/Cron.d.ts.map +1 -0
- package/bin/service/builtins/task/types/Cron.js.map +1 -0
- package/bin/service/builtins/task/types/Task.d.ts.map +1 -0
- package/bin/service/builtins/task/types/Task.js.map +1 -0
- package/bin/service/builtins/task/types/TaskCommand.d.ts.map +1 -0
- package/bin/service/builtins/task/types/TaskCommand.js.map +1 -0
- package/bin/service/core/Manager.d.ts +13 -0
- package/bin/service/core/Manager.d.ts.map +1 -0
- package/bin/service/core/Manager.js.map +1 -0
- package/bin/service/core/ServiceActionApi.d.ts +15 -0
- package/bin/service/core/ServiceActionApi.d.ts.map +1 -0
- package/bin/service/core/ServiceActionApi.js +234 -0
- package/bin/service/core/ServiceActionApi.js.map +1 -0
- package/bin/service/core/ServiceActionRunner.d.ts +44 -0
- package/bin/service/core/ServiceActionRunner.d.ts.map +1 -0
- package/bin/service/core/ServiceActionRunner.js +211 -0
- package/bin/service/core/ServiceActionRunner.js.map +1 -0
- package/bin/service/core/ServiceClassRegistry.d.ts +40 -0
- package/bin/service/core/ServiceClassRegistry.d.ts.map +1 -0
- package/bin/service/core/ServiceClassRegistry.js +64 -0
- package/bin/service/core/ServiceClassRegistry.js.map +1 -0
- package/bin/service/core/ServiceManager.d.ts +9 -0
- package/bin/service/core/ServiceManager.d.ts.map +1 -0
- package/bin/service/core/ServiceManager.js.map +1 -0
- package/bin/service/core/ServiceStateController.d.ts +79 -0
- package/bin/service/core/ServiceStateController.d.ts.map +1 -0
- package/bin/service/core/ServiceStateController.js +245 -0
- package/bin/service/core/ServiceStateController.js.map +1 -0
- package/bin/service/core/ServiceSystemProviders.d.ts +27 -0
- package/bin/service/core/ServiceSystemProviders.d.ts.map +1 -0
- package/bin/service/core/ServiceSystemProviders.js +34 -0
- package/bin/service/core/ServiceSystemProviders.js.map +1 -0
- package/bin/service/core/Services.d.ts +18 -0
- package/bin/service/core/Services.d.ts.map +1 -0
- package/bin/service/core/Services.js +23 -0
- package/bin/service/core/Services.js.map +1 -0
- package/bin/service/schedule/Executor.d.ts +1 -1
- package/bin/service/schedule/Executor.d.ts.map +1 -1
- package/bin/service/schedule/Executor.js +1 -1
- package/bin/service/schedule/Executor.js.map +1 -1
- package/bin/service/schedule/Runtime.d.ts +1 -1
- package/bin/service/schedule/Runtime.d.ts.map +1 -1
- package/bin/session/Session.d.ts +1 -0
- package/bin/session/Session.d.ts.map +1 -1
- package/bin/session/Session.js +3 -0
- package/bin/session/Session.js.map +1 -1
- package/bin/session/SessionRunScope.d.ts +9 -1
- package/bin/session/SessionRunScope.d.ts.map +1 -1
- package/bin/session/SessionRunScope.js.map +1 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +1 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +30 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +1 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts +1 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +1 -1
- package/bin/session/composer/system/default/SystemDomain.js +1 -1
- package/bin/session/composer/system/default/SystemDomain.js.map +1 -1
- package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -1
- package/bin/session/executors/local/LocalSessionCore.js +37 -5
- package/bin/session/executors/local/LocalSessionCore.js.map +1 -1
- package/bin/session/messages/SessionAttachmentMapper.js +1 -1
- package/bin/session/messages/SessionAttachmentMapper.js.map +1 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +2 -2
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +1 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +2 -2
- package/bin/session/tools/shell/ShellToolSchemas.d.ts +3 -3
- package/bin/shared/constants/DowncitySchema.js +1 -1
- package/bin/shared/constants/DowncitySchema.js.map +1 -1
- package/bin/shared/types/AgentProject.d.ts +2 -2
- package/bin/shared/types/AgentProject.js +1 -1
- package/bin/shared/types/AuthControl.d.ts +30 -0
- package/bin/shared/types/AuthControl.d.ts.map +1 -0
- package/bin/shared/types/AuthControl.js +9 -0
- package/bin/shared/types/AuthControl.js.map +1 -0
- package/bin/shared/types/AuthPlugin.d.ts +1 -1
- package/bin/shared/types/AuthPlugin.d.ts.map +1 -1
- package/bin/shared/types/AuthPlugin.js +1 -1
- package/bin/shared/types/AuthPlugin.js.map +1 -1
- package/bin/shared/types/ChatPlugin.d.ts +1 -1
- package/bin/shared/types/ChatPlugin.d.ts.map +1 -1
- package/bin/shared/types/ChatPromptContext.d.ts +1 -1
- package/bin/shared/types/ChatPromptContext.d.ts.map +1 -1
- package/bin/shared/types/ChatRuntime.d.ts +3 -3
- package/bin/shared/types/ChatRuntime.d.ts.map +1 -1
- package/bin/shared/types/ChatService.d.ts +2 -2
- package/bin/shared/types/ChatService.d.ts.map +1 -1
- package/bin/shared/types/ControlRoutes.d.ts +28 -0
- package/bin/shared/types/ControlRoutes.d.ts.map +1 -0
- package/bin/shared/types/ControlRoutes.js +9 -0
- package/bin/shared/types/ControlRoutes.js.map +1 -0
- package/bin/shared/types/ControlSessionExecute.d.ts +85 -0
- package/bin/shared/types/ControlSessionExecute.d.ts.map +1 -0
- package/bin/shared/types/ControlSessionExecute.js +9 -0
- package/bin/shared/types/ControlSessionExecute.js.map +1 -0
- package/bin/shared/types/ControlViewData.d.ts +320 -0
- package/bin/shared/types/ControlViewData.d.ts.map +1 -0
- package/bin/shared/types/ControlViewData.js +9 -0
- package/bin/shared/types/ControlViewData.js.map +1 -0
- package/bin/shared/types/DowncityConfig.d.ts +6 -6
- package/bin/shared/types/ExecutionBinding.d.ts +2 -2
- package/bin/shared/types/ExecutionBinding.js +1 -1
- package/bin/shared/types/InlineInstant.d.ts +7 -7
- package/bin/shared/types/InlineInstant.d.ts.map +1 -1
- package/bin/shared/types/LlmConfig.d.ts +1 -1
- package/bin/shared/types/LlmConfig.js +1 -1
- package/bin/shared/types/LocalRpc.d.ts +1 -1
- package/bin/shared/types/LocalRpc.d.ts.map +1 -1
- package/bin/shared/types/ModelBinding.d.ts +2 -2
- package/bin/shared/types/Platform.d.ts +370 -0
- package/bin/shared/types/Platform.d.ts.map +1 -0
- package/bin/shared/types/Platform.js +10 -0
- package/bin/shared/types/Platform.js.map +1 -0
- package/bin/shared/types/PlatformGateway.d.ts +174 -0
- package/bin/shared/types/PlatformGateway.d.ts.map +1 -0
- package/bin/shared/types/PlatformGateway.js +9 -0
- package/bin/shared/types/PlatformGateway.js.map +1 -0
- package/bin/shared/types/Plugin.d.ts +2 -2
- package/bin/shared/types/Plugin.d.ts.map +1 -1
- package/bin/shared/types/PluginApi.d.ts +1 -1
- package/bin/shared/types/Service.d.ts +1 -1
- package/bin/shared/types/Service.d.ts.map +1 -1
- package/bin/shared/types/Services.d.ts +1 -1
- package/bin/shared/types/Store.d.ts +24 -3
- package/bin/shared/types/Store.d.ts.map +1 -1
- package/bin/shared/types/TaskService.d.ts +1 -1
- package/bin/shared/types/TaskService.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts +8 -8
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.js +1 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +1 -1
- package/bin/shared/utils/store/StoreEnvRepository.d.ts +21 -21
- package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreEnvRepository.js +1 -1
- package/bin/shared/utils/store/StoreEnvRepository.js.map +1 -1
- package/bin/shared/utils/store/StoreModelRepository.d.ts +19 -15
- package/bin/shared/utils/store/StoreModelRepository.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreModelRepository.js +13 -2
- package/bin/shared/utils/store/StoreModelRepository.js.map +1 -1
- package/bin/shared/utils/store/StoreSchema.d.ts +5 -5
- package/bin/shared/utils/store/StoreSchema.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreSchema.js +7 -7
- package/bin/shared/utils/store/StoreSchema.js.map +1 -1
- package/bin/shared/utils/store/StoreSecureSettings.d.ts +9 -9
- package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreSecureSettings.js +8 -8
- package/bin/shared/utils/store/StoreSecureSettings.js.map +1 -1
- package/bin/shared/utils/store/StoreShared.d.ts +6 -6
- package/bin/shared/utils/store/StoreShared.d.ts.map +1 -1
- package/bin/shared/utils/store/StoreShared.js +2 -2
- package/bin/shared/utils/store/crypto.js +2 -2
- package/bin/shared/utils/store/crypto.js.map +1 -1
- package/bin/shared/utils/store/index.d.ts +13 -9
- package/bin/shared/utils/store/index.d.ts.map +1 -1
- package/bin/shared/utils/store/index.js +24 -17
- package/bin/shared/utils/store/index.js.map +1 -1
- package/bin/shared/utils/store/schema.d.ts +1 -1
- package/bin/shared/utils/store/schema.js +1 -1
- package/bin/types/session/SessionHistoryMeta.d.ts +17 -0
- package/bin/types/session/SessionHistoryMeta.d.ts.map +1 -1
- package/bin/types/session/SessionMessages.d.ts +1 -1
- package/bin/types/session/SessionMessages.js +1 -1
- package/bin/types/session/SessionRun.d.ts +13 -1
- package/bin/types/session/SessionRun.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/agent/AgentContext.ts +6 -6
- package/src/agent/AgentContextTypes.ts +380 -0
- package/src/agent/AgentRuntime.ts +7 -8
- package/src/agent/AgentRuntimeState.ts +2 -2
- package/src/agent/AgentRuntimeTypes.ts +86 -0
- package/src/agent/project/AgentInitializer.ts +12 -12
- package/src/config/Config.ts +7 -7
- package/src/host/daemon/Client.ts +182 -0
- package/src/host/daemon/Manager.ts +344 -0
- package/src/host/daemon/ProjectSetup.ts +126 -0
- package/src/host/rpc/Client.ts +113 -0
- package/src/host/rpc/Paths.ts +43 -0
- package/src/host/rpc/Server.ts +395 -0
- package/src/host/rpc/Transport.ts +43 -0
- package/src/host/runtime/CityPaths.ts +87 -0
- package/src/host/runtime/CityRegistry.ts +256 -0
- package/src/host/runtime/CityRuntime.ts +45 -0
- package/src/host/runtime/PluginRuntime.ts +42 -0
- package/src/host/runtime/ProcessSweep.ts +239 -0
- package/src/host/sdk/Agent.ts +354 -0
- package/src/host/sdk/AgentSdkTypes.ts +286 -0
- package/src/host/sdk/AsyncQueue.ts +92 -0
- package/src/host/sdk/HttpServer.ts +222 -0
- package/src/host/sdk/Paths.ts +126 -0
- package/src/host/sdk/RemoteAgent.ts +205 -0
- package/src/host/sdk/RpcServer.ts +226 -0
- package/src/host/sdk/SdkSessionSystemComposer.ts +76 -0
- package/src/host/sdk/Session.ts +564 -0
- package/src/host/sdk/SessionMetadata.ts +178 -0
- package/src/host/sdk/StreamEvents.ts +95 -0
- package/src/http/Server.ts +2 -2
- package/src/http/auth/AuthStore.ts +7 -7
- package/src/http/auth/RoutePolicy.ts +6 -6
- package/src/http/control/AuthControlService.ts +161 -0
- package/src/http/control/CommonHelpers.ts +69 -0
- package/src/http/control/ControlApiRoutes.ts +31 -0
- package/src/http/control/ControlAuthorizationRoutes.ts +108 -0
- package/src/http/control/ControlRouter.ts +31 -0
- package/src/http/control/ExecuteBySession.ts +151 -0
- package/src/http/control/ExecuteInput.ts +236 -0
- package/src/http/control/Helpers.ts +22 -0
- package/src/http/control/MessageTimeline.ts +269 -0
- package/src/http/control/ModelRoutes.ts +107 -0
- package/src/http/control/OverviewRoutes.ts +106 -0
- package/src/http/control/SessionRoutes.ts +414 -0
- package/src/http/control/SessionSummaryStore.ts +76 -0
- package/src/http/control/TaskRoutes.ts +391 -0
- package/src/http/control/TaskStore.ts +222 -0
- package/src/http/execute/execute.ts +1 -1
- package/src/http/services/services.ts +2 -2
- package/src/index.ts +209 -6
- package/src/model/CreateModel.ts +25 -9
- package/src/plugin/HookRegistry.ts +1 -1
- package/src/plugin/HttpRoutes.ts +1 -1
- package/src/plugin/Lifecycle.ts +4 -4
- package/src/plugin/LocalExecution.ts +1 -1
- package/src/plugin/PluginManager.ts +1 -1
- package/src/plugin/PluginRegistry.ts +1 -1
- package/src/plugin/ProjectConfigStore.ts +1 -1
- package/src/plugins/asr/Plugin.ts +1 -1
- package/src/plugins/auth/Plugin.ts +2 -2
- package/src/plugins/auth/runtime/AuthorizationConfig.ts +4 -4
- package/src/plugins/auth/runtime/AuthorizationStore.ts +2 -2
- package/src/plugins/tts/runtime/Synthesizer.ts +1 -1
- package/src/plugins/voice/Plugin.ts +1 -1
- package/src/plugins/workboard/runtime/Collector.ts +5 -5
- package/src/plugins/workboard/runtime/Normalizer.ts +7 -7
- package/src/plugins/workboard/runtime/Store.ts +1 -1
- package/src/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/sandbox/SandboxRunner.ts +1 -1
- package/src/service/builtins/BaseService.ts +97 -0
- package/src/service/builtins/chat/Action.ts +477 -0
- package/src/service/builtins/chat/ChatService.ts +255 -0
- package/src/service/builtins/chat/ChatServiceTypes.ts +164 -0
- package/src/service/builtins/chat/accounts/ChannelAccountService.ts +317 -0
- package/src/service/builtins/chat/channels/BaseChatChannel.ts +450 -0
- package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +321 -0
- package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +321 -0
- package/src/service/builtins/chat/channels/BotInfoProvider.ts +49 -0
- package/src/service/builtins/chat/channels/Configuration.ts +35 -0
- package/src/service/builtins/chat/channels/ConfigurationRegistry.ts +43 -0
- package/src/service/builtins/chat/channels/feishu/BotInfo.ts +199 -0
- package/src/service/builtins/chat/channels/feishu/Configuration.ts +65 -0
- package/src/service/builtins/chat/channels/feishu/Feishu.ts +634 -0
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
- package/src/service/builtins/chat/channels/feishu/InboundAttachment.ts +261 -0
- package/src/service/builtins/chat/channels/feishu/PostMessage.ts +492 -0
- package/src/service/builtins/chat/channels/feishu/ReplyContext.ts +68 -0
- package/src/service/builtins/chat/channels/feishu/Shared.ts +94 -0
- package/src/service/builtins/chat/channels/qq/BotInfo.ts +137 -0
- package/src/service/builtins/chat/channels/qq/Configuration.ts +64 -0
- package/src/service/builtins/chat/channels/qq/QQ.ts +633 -0
- package/src/service/builtins/chat/channels/qq/QQGatewayAuth.ts +318 -0
- package/src/service/builtins/chat/channels/qq/QQInbound.ts +262 -0
- package/src/service/builtins/chat/channels/qq/QQInboundDedupe.ts +126 -0
- package/src/service/builtins/chat/channels/qq/QQSupport.ts +263 -0
- package/src/service/builtins/chat/channels/qq/VoiceInput.ts +381 -0
- package/src/service/builtins/chat/channels/telegram/Bot.ts +652 -0
- package/src/service/builtins/chat/channels/telegram/BotInfo.ts +92 -0
- package/src/service/builtins/chat/channels/telegram/Configuration.ts +65 -0
- package/src/service/builtins/chat/channels/telegram/ReplyContext.ts +76 -0
- package/src/service/builtins/chat/channels/telegram/Shared.ts +404 -0
- package/src/service/builtins/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
- package/src/service/builtins/chat/runtime/ChannelContextStore.ts +395 -0
- package/src/service/builtins/chat/runtime/ChatActionExecution.ts +362 -0
- package/src/service/builtins/chat/runtime/ChatActionInput.ts +590 -0
- package/src/service/builtins/chat/runtime/ChatChannelActions.ts +313 -0
- package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +330 -0
- package/src/service/builtins/chat/runtime/ChatChannelCore.ts +150 -0
- package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +169 -0
- package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +289 -0
- package/src/service/builtins/chat/runtime/ChatIngressStore.ts +88 -0
- package/src/service/builtins/chat/runtime/ChatMessageMarkup.ts +263 -0
- package/src/service/builtins/chat/runtime/ChatMetaStore.ts +186 -0
- package/src/service/builtins/chat/runtime/ChatQueue.ts +77 -0
- package/src/service/builtins/chat/runtime/ChatQueueReplyDispatch.ts +191 -0
- package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +122 -0
- package/src/service/builtins/chat/runtime/ChatQueueStore.ts +185 -0
- package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +504 -0
- package/src/service/builtins/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
- package/src/service/builtins/chat/runtime/ChatSendMetadata.ts +170 -0
- package/src/service/builtins/chat/runtime/ChatSendRegistry.ts +43 -0
- package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +119 -0
- package/src/service/builtins/chat/runtime/ChatSession.ts +125 -0
- package/src/service/builtins/chat/runtime/ChatSessionDelete.ts +95 -0
- package/src/service/builtins/chat/runtime/ChatSessionExecutionComposer.ts +106 -0
- package/src/service/builtins/chat/runtime/ChatkeySend.ts +187 -0
- package/src/service/builtins/chat/runtime/DirectDispatchParser.ts +158 -0
- package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +49 -0
- package/src/service/builtins/chat/runtime/InboundAugment.ts +63 -0
- package/src/service/builtins/chat/runtime/PluginDispatch.ts +89 -0
- package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +85 -0
- package/src/service/builtins/chat/runtime/ReplyDispatch.ts +78 -0
- package/src/service/builtins/chat/runtime/SystemPrompt.ts +84 -0
- package/src/service/builtins/chat/types/BotInfo.ts +101 -0
- package/src/service/builtins/chat/types/ChannelAccount.ts +232 -0
- package/src/service/builtins/chat/types/ChannelConfiguration.ts +161 -0
- package/src/service/builtins/chat/types/ChatHistory.ts +42 -0
- package/src/service/builtins/chat/types/DirectDispatch.ts +133 -0
- package/src/service/builtins/chat/types/FeishuInboundAttachment.ts +138 -0
- package/src/service/builtins/contact/ContactService.ts +799 -0
- package/src/service/builtins/contact/runtime/ApproveCallback.ts +97 -0
- package/src/service/builtins/contact/runtime/ChatRuntime.ts +82 -0
- package/src/service/builtins/contact/runtime/ContactStore.ts +299 -0
- package/src/service/builtins/contact/runtime/EndpointNotice.ts +125 -0
- package/src/service/builtins/contact/runtime/InboxStore.ts +178 -0
- package/src/service/builtins/contact/runtime/LinkApproval.ts +387 -0
- package/src/service/builtins/contact/runtime/LinkCode.ts +70 -0
- package/src/service/builtins/contact/runtime/LinkStore.ts +50 -0
- package/src/service/builtins/contact/runtime/ShareBundle.ts +286 -0
- package/src/service/builtins/memory/Action.ts +188 -0
- package/src/service/builtins/memory/MemoryService.ts +329 -0
- package/src/service/builtins/memory/runtime/Flush.ts +83 -0
- package/src/service/builtins/memory/runtime/Indexer.ts +466 -0
- package/src/service/builtins/memory/runtime/Search.ts +90 -0
- package/src/service/builtins/memory/runtime/Store.ts +370 -0
- package/src/service/builtins/memory/runtime/SystemProvider.ts +145 -0
- package/src/service/builtins/memory/runtime/Writer.ts +174 -0
- package/src/service/builtins/shell/ShellRuntimeTypes.ts +94 -0
- package/src/service/builtins/shell/ShellService.ts +199 -0
- package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +579 -0
- package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +552 -0
- package/src/service/builtins/task/Action.ts +491 -0
- package/src/service/builtins/task/Scheduler.ts +245 -0
- package/src/service/builtins/task/TaskService.ts +167 -0
- package/src/service/builtins/task/runtime/CronRuntime.ts +73 -0
- package/src/service/builtins/task/runtime/Model.ts +347 -0
- package/src/service/builtins/task/runtime/Runner.ts +558 -0
- package/src/service/builtins/task/runtime/Store.ts +253 -0
- package/src/service/builtins/task/runtime/TaskActionExecution.ts +276 -0
- package/src/service/builtins/task/runtime/TaskActionInput.ts +463 -0
- package/src/service/builtins/task/runtime/TaskRunArtifacts.ts +493 -0
- package/src/service/builtins/task/runtime/TaskRunChatDispatch.ts +81 -0
- package/src/service/builtins/task/runtime/TaskRunnerProgress.ts +112 -0
- package/src/service/builtins/task/runtime/TaskRunnerRound.ts +337 -0
- package/src/service/builtins/task/runtime/TaskRunnerSession.ts +167 -0
- package/src/service/builtins/task/runtime/TaskRunnerTypes.ts +199 -0
- package/src/service/builtins/task/runtime/TaskServiceActions.ts +248 -0
- package/src/service/core/ServiceActionApi.ts +304 -0
- package/src/service/core/ServiceActionRunner.ts +272 -0
- package/src/service/core/ServiceClassRegistry.ts +77 -0
- package/src/service/core/ServiceStateController.ts +316 -0
- package/src/service/core/ServiceSystemProviders.ts +50 -0
- package/src/service/core/Services.ts +33 -0
- package/src/service/schedule/Executor.ts +2 -2
- package/src/service/schedule/Runtime.ts +1 -1
- package/src/session/Session.ts +4 -0
- package/src/session/SessionRunScope.ts +13 -1
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +33 -0
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +1 -1
- package/src/session/composer/system/default/SystemDomain.ts +2 -2
- package/src/session/executors/local/LocalSessionCore.ts +40 -5
- package/src/session/messages/SessionAttachmentMapper.ts +1 -1
- package/src/session/tools/shell/ShellToolBridge.ts +2 -2
- package/src/shared/constants/DowncitySchema.ts +1 -1
- package/src/shared/types/AgentProject.ts +2 -2
- package/src/shared/types/AuthControl.ts +38 -0
- package/src/shared/types/AuthPlugin.ts +2 -2
- package/src/shared/types/ChatPlugin.ts +1 -1
- package/src/shared/types/ChatPromptContext.ts +1 -1
- package/src/shared/types/ChatRuntime.ts +3 -3
- package/src/shared/types/ChatService.ts +2 -2
- package/src/shared/types/ControlRoutes.ts +31 -0
- package/src/shared/types/ControlSessionExecute.ts +99 -0
- package/src/shared/types/ControlViewData.ts +392 -0
- package/src/shared/types/DowncityConfig.ts +6 -6
- package/src/shared/types/ExecutionBinding.ts +2 -2
- package/src/shared/types/InlineInstant.ts +8 -8
- package/src/shared/types/LlmConfig.ts +1 -1
- package/src/shared/types/LocalRpc.ts +1 -1
- package/src/shared/types/ModelBinding.ts +2 -2
- package/src/shared/types/Platform.ts +442 -0
- package/src/shared/types/PlatformGateway.ts +196 -0
- package/src/shared/types/Plugin.ts +2 -2
- package/src/shared/types/PluginApi.ts +1 -1
- package/src/shared/types/README.md +8 -5
- package/src/shared/types/Service.ts +1 -1
- package/src/shared/types/Services.ts +1 -1
- package/src/shared/types/Store.ts +25 -3
- package/src/shared/types/TaskService.ts +1 -1
- package/src/shared/utils/README.md +3 -3
- package/src/shared/utils/store/StoreChannelAccountRepository.ts +8 -8
- package/src/shared/utils/store/StoreEnvRepository.ts +21 -21
- package/src/shared/utils/store/StoreModelRepository.ts +29 -14
- package/src/shared/utils/store/StoreSchema.ts +12 -12
- package/src/shared/utils/store/StoreSecureSettings.ts +14 -14
- package/src/shared/utils/store/StoreShared.ts +6 -6
- package/src/shared/utils/store/crypto.ts +2 -2
- package/src/shared/utils/store/index.ts +30 -20
- package/src/shared/utils/store/schema.ts +1 -1
- package/src/types/session/SessionHistoryMeta.ts +18 -0
- package/src/types/session/SessionMessages.ts +1 -1
- package/src/types/session/SessionRun.ts +17 -1
- package/tsconfig.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/daemon/Api.d.ts +0 -60
- package/bin/daemon/Api.d.ts.map +0 -1
- package/bin/daemon/Api.js.map +0 -1
- package/bin/daemon/Client.d.ts.map +0 -1
- package/bin/daemon/Client.js +0 -158
- package/bin/daemon/Client.js.map +0 -1
- package/bin/daemon/Manager.d.ts +0 -92
- package/bin/daemon/Manager.d.ts.map +0 -1
- package/bin/daemon/Manager.js +0 -287
- package/bin/daemon/Manager.js.map +0 -1
- package/bin/daemon/ProjectSetup.d.ts.map +0 -1
- package/bin/daemon/ProjectSetup.js +0 -101
- package/bin/daemon/ProjectSetup.js.map +0 -1
- package/bin/http/dashboard/AuthDashboardService.d.ts +0 -30
- package/bin/http/dashboard/AuthDashboardService.d.ts.map +0 -1
- package/bin/http/dashboard/AuthDashboardService.js +0 -120
- package/bin/http/dashboard/AuthDashboardService.js.map +0 -1
- package/bin/http/dashboard/CommonHelpers.d.ts +0 -24
- package/bin/http/dashboard/CommonHelpers.d.ts.map +0 -1
- package/bin/http/dashboard/CommonHelpers.js +0 -46
- package/bin/http/dashboard/CommonHelpers.js.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.d.ts +0 -13
- package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.js +0 -26
- package/bin/http/dashboard/DashboardApiRoutes.js.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +0 -17
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js +0 -78
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.d.ts +0 -39
- package/bin/http/dashboard/ExecuteBySession.d.ts.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.js +0 -128
- package/bin/http/dashboard/ExecuteBySession.js.map +0 -1
- package/bin/http/dashboard/ExecuteInput.d.ts +0 -18
- package/bin/http/dashboard/ExecuteInput.d.ts.map +0 -1
- package/bin/http/dashboard/ExecuteInput.js +0 -201
- package/bin/http/dashboard/ExecuteInput.js.map +0 -1
- package/bin/http/dashboard/Helpers.d.ts +0 -13
- package/bin/http/dashboard/Helpers.d.ts.map +0 -1
- package/bin/http/dashboard/Helpers.js +0 -13
- package/bin/http/dashboard/Helpers.js.map +0 -1
- package/bin/http/dashboard/MessageTimeline.d.ts +0 -22
- package/bin/http/dashboard/MessageTimeline.d.ts.map +0 -1
- package/bin/http/dashboard/MessageTimeline.js +0 -226
- package/bin/http/dashboard/MessageTimeline.js.map +0 -1
- package/bin/http/dashboard/ModelRoutes.d.ts +0 -13
- package/bin/http/dashboard/ModelRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/ModelRoutes.js +0 -87
- package/bin/http/dashboard/ModelRoutes.js.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.d.ts +0 -13
- package/bin/http/dashboard/OverviewRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.js +0 -88
- package/bin/http/dashboard/OverviewRoutes.js.map +0 -1
- package/bin/http/dashboard/Router.d.ts +0 -14
- package/bin/http/dashboard/Router.d.ts.map +0 -1
- package/bin/http/dashboard/Router.js +0 -21
- package/bin/http/dashboard/Router.js.map +0 -1
- package/bin/http/dashboard/SessionRoutes.d.ts +0 -13
- package/bin/http/dashboard/SessionRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/SessionRoutes.js +0 -315
- package/bin/http/dashboard/SessionRoutes.js.map +0 -1
- package/bin/http/dashboard/SessionSummaryStore.d.ts +0 -19
- package/bin/http/dashboard/SessionSummaryStore.d.ts.map +0 -1
- package/bin/http/dashboard/SessionSummaryStore.js +0 -62
- package/bin/http/dashboard/SessionSummaryStore.js.map +0 -1
- package/bin/http/dashboard/TaskRoutes.d.ts +0 -13
- package/bin/http/dashboard/TaskRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/TaskRoutes.js +0 -318
- package/bin/http/dashboard/TaskRoutes.js.map +0 -1
- package/bin/http/dashboard/TaskStore.d.ts +0 -33
- package/bin/http/dashboard/TaskStore.d.ts.map +0 -1
- package/bin/http/dashboard/TaskStore.js +0 -157
- package/bin/http/dashboard/TaskStore.js.map +0 -1
- package/bin/rpc/Client.d.ts +0 -13
- package/bin/rpc/Client.d.ts.map +0 -1
- package/bin/rpc/Client.js.map +0 -1
- package/bin/rpc/Paths.d.ts.map +0 -1
- package/bin/rpc/Paths.js +0 -36
- package/bin/rpc/Paths.js.map +0 -1
- package/bin/rpc/Server.d.ts +0 -18
- package/bin/rpc/Server.d.ts.map +0 -1
- package/bin/rpc/Server.js +0 -307
- package/bin/rpc/Server.js.map +0 -1
- package/bin/rpc/Transport.d.ts +0 -21
- package/bin/rpc/Transport.d.ts.map +0 -1
- package/bin/rpc/Transport.js +0 -30
- package/bin/rpc/Transport.js.map +0 -1
- package/bin/runtime/AgentHostRuntime.d.ts +0 -10
- package/bin/runtime/AgentHostRuntime.d.ts.map +0 -1
- package/bin/runtime/AgentHostRuntime.js +0 -47
- package/bin/runtime/AgentHostRuntime.js.map +0 -1
- package/bin/runtime/CityPaths.d.ts +0 -61
- package/bin/runtime/CityPaths.d.ts.map +0 -1
- package/bin/runtime/CityPaths.js +0 -90
- package/bin/runtime/CityPaths.js.map +0 -1
- package/bin/runtime/CityRegistry.d.ts +0 -51
- package/bin/runtime/CityRegistry.d.ts.map +0 -1
- package/bin/runtime/CityRegistry.js +0 -217
- package/bin/runtime/CityRegistry.js.map +0 -1
- package/bin/runtime/CityRuntime.d.ts +0 -21
- package/bin/runtime/CityRuntime.d.ts.map +0 -1
- package/bin/runtime/CityRuntime.js +0 -45
- package/bin/runtime/CityRuntime.js.map +0 -1
- package/bin/runtime/PluginRuntime.d.ts +0 -24
- package/bin/runtime/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/PluginRuntime.js.map +0 -1
- package/bin/runtime/ProcessSweep.d.ts +0 -76
- package/bin/runtime/ProcessSweep.d.ts.map +0 -1
- package/bin/runtime/ProcessSweep.js +0 -188
- package/bin/runtime/ProcessSweep.js.map +0 -1
- package/bin/service/Manager.d.ts +0 -13
- package/bin/service/Manager.d.ts.map +0 -1
- package/bin/service/Manager.js.map +0 -1
- package/bin/service/ServiceActionApi.d.ts +0 -15
- package/bin/service/ServiceActionApi.d.ts.map +0 -1
- package/bin/service/ServiceActionApi.js +0 -234
- package/bin/service/ServiceActionApi.js.map +0 -1
- package/bin/service/ServiceActionRunner.d.ts +0 -44
- package/bin/service/ServiceActionRunner.d.ts.map +0 -1
- package/bin/service/ServiceActionRunner.js +0 -211
- package/bin/service/ServiceActionRunner.js.map +0 -1
- package/bin/service/ServiceClassRegistry.d.ts +0 -40
- package/bin/service/ServiceClassRegistry.d.ts.map +0 -1
- package/bin/service/ServiceClassRegistry.js +0 -64
- package/bin/service/ServiceClassRegistry.js.map +0 -1
- package/bin/service/ServiceManager.d.ts +0 -9
- package/bin/service/ServiceManager.d.ts.map +0 -1
- package/bin/service/ServiceManager.js.map +0 -1
- package/bin/service/ServiceStateController.d.ts +0 -79
- package/bin/service/ServiceStateController.d.ts.map +0 -1
- package/bin/service/ServiceStateController.js +0 -245
- package/bin/service/ServiceStateController.js.map +0 -1
- package/bin/service/ServiceSystemProviders.d.ts +0 -27
- package/bin/service/ServiceSystemProviders.d.ts.map +0 -1
- package/bin/service/ServiceSystemProviders.js +0 -34
- package/bin/service/ServiceSystemProviders.js.map +0 -1
- package/bin/service/Services.d.ts +0 -18
- package/bin/service/Services.d.ts.map +0 -1
- package/bin/service/Services.js +0 -23
- package/bin/service/Services.js.map +0 -1
- package/bin/services/BaseService.d.ts +0 -62
- package/bin/services/BaseService.d.ts.map +0 -1
- package/bin/services/BaseService.js +0 -56
- package/bin/services/BaseService.js.map +0 -1
- package/bin/services/chat/Action.d.ts +0 -125
- package/bin/services/chat/Action.d.ts.map +0 -1
- package/bin/services/chat/Action.js +0 -376
- package/bin/services/chat/Action.js.map +0 -1
- package/bin/services/chat/ChatService.d.ts +0 -63
- package/bin/services/chat/ChatService.d.ts.map +0 -1
- package/bin/services/chat/ChatService.js +0 -96
- package/bin/services/chat/ChatService.js.map +0 -1
- package/bin/services/chat/Index.d.ts.map +0 -1
- package/bin/services/chat/Index.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannel.d.ts +0 -197
- package/bin/services/chat/channels/BaseChatChannel.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannel.js +0 -278
- package/bin/services/chat/channels/BaseChatChannel.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +0 -73
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelQueue.js +0 -238
- package/bin/services/chat/channels/BaseChatChannelQueue.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +0 -189
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelSupport.js +0 -141
- package/bin/services/chat/channels/BaseChatChannelSupport.js.map +0 -1
- package/bin/services/chat/channels/BotInfoProvider.d.ts +0 -18
- package/bin/services/chat/channels/BotInfoProvider.d.ts.map +0 -1
- package/bin/services/chat/channels/BotInfoProvider.js +0 -32
- package/bin/services/chat/channels/BotInfoProvider.js.map +0 -1
- package/bin/services/chat/channels/Configuration.d.ts +0 -27
- package/bin/services/chat/channels/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/Configuration.js.map +0 -1
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts +0 -18
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
- package/bin/services/chat/channels/ConfigurationRegistry.js +0 -31
- package/bin/services/chat/channels/ConfigurationRegistry.js.map +0 -1
- package/bin/services/chat/channels/feishu/BotInfo.d.ts +0 -20
- package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/feishu/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/feishu/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Configuration.js +0 -59
- package/bin/services/chat/channels/feishu/Configuration.js.map +0 -1
- package/bin/services/chat/channels/feishu/Feishu.d.ts +0 -116
- package/bin/services/chat/channels/feishu/Feishu.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Feishu.js +0 -454
- package/bin/services/chat/channels/feishu/Feishu.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +0 -21
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuInbound.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +0 -31
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/InboundAttachment.js.map +0 -1
- package/bin/services/chat/channels/feishu/PostMessage.d.ts +0 -48
- package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/PostMessage.js.map +0 -1
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts +0 -18
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/ReplyContext.js.map +0 -1
- package/bin/services/chat/channels/feishu/Shared.d.ts +0 -21
- package/bin/services/chat/channels/feishu/Shared.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Shared.js +0 -69
- package/bin/services/chat/channels/feishu/Shared.js.map +0 -1
- package/bin/services/chat/channels/qq/BotInfo.d.ts +0 -19
- package/bin/services/chat/channels/qq/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/qq/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/qq/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/Configuration.js +0 -59
- package/bin/services/chat/channels/qq/Configuration.js.map +0 -1
- package/bin/services/chat/channels/qq/QQ.d.ts +0 -92
- package/bin/services/chat/channels/qq/QQ.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQ.js +0 -481
- package/bin/services/chat/channels/qq/QQ.js.map +0 -1
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts +0 -22
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQEventCapture.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +0 -179
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayClient.js +0 -540
- package/bin/services/chat/channels/qq/QQGatewayClient.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +0 -84
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySend.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +0 -1
- package/bin/services/chat/channels/qq/QQInbound.d.ts +0 -47
- package/bin/services/chat/channels/qq/QQInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQInbound.js.map +0 -1
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +0 -1
- package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQSendSupport.js.map +0 -1
- package/bin/services/chat/channels/qq/QQSupport.d.ts +0 -102
- package/bin/services/chat/channels/qq/QQSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQSupport.js +0 -172
- package/bin/services/chat/channels/qq/QQSupport.js.map +0 -1
- package/bin/services/chat/channels/qq/VoiceInput.d.ts +0 -64
- package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/VoiceInput.js.map +0 -1
- package/bin/services/chat/channels/telegram/ApiClient.d.ts +0 -99
- package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/ApiClient.js.map +0 -1
- package/bin/services/chat/channels/telegram/Bot.d.ts +0 -97
- package/bin/services/chat/channels/telegram/Bot.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Bot.js +0 -500
- package/bin/services/chat/channels/telegram/Bot.js.map +0 -1
- package/bin/services/chat/channels/telegram/BotInfo.d.ts +0 -19
- package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/telegram/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/telegram/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Configuration.js +0 -59
- package/bin/services/chat/channels/telegram/Configuration.js.map +0 -1
- package/bin/services/chat/channels/telegram/Handlers.d.ts +0 -42
- package/bin/services/chat/channels/telegram/Handlers.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Handlers.js.map +0 -1
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts +0 -14
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/ReplyContext.js.map +0 -1
- package/bin/services/chat/channels/telegram/Shared.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Shared.js +0 -171
- package/bin/services/chat/channels/telegram/Shared.js.map +0 -1
- package/bin/services/chat/channels/telegram/StateStore.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/StateStore.js.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramInbound.js.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
- package/bin/services/chat/runtime/ChannelContextStore.d.ts +0 -78
- package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChannelContextStore.js +0 -336
- package/bin/services/chat/runtime/ChannelContextStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatActionExecution.d.ts +0 -145
- package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatActionExecution.js +0 -287
- package/bin/services/chat/runtime/ChatActionExecution.js.map +0 -1
- package/bin/services/chat/runtime/ChatActionInput.d.ts +0 -63
- package/bin/services/chat/runtime/ChatActionInput.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatActionInput.js +0 -458
- package/bin/services/chat/runtime/ChatActionInput.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelActions.d.ts +0 -122
- package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelActions.js +0 -237
- package/bin/services/chat/runtime/ChatChannelActions.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts +0 -61
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelConfig.js +0 -265
- package/bin/services/chat/runtime/ChatChannelConfig.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelCore.d.ts +0 -41
- package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelCore.js +0 -92
- package/bin/services/chat/runtime/ChatChannelCore.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelFacade.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelLifecycle.js +0 -132
- package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +0 -1
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts +0 -72
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatHistoryStore.js +0 -219
- package/bin/services/chat/runtime/ChatHistoryStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatIngressStore.d.ts +0 -52
- package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatIngressStore.js +0 -65
- package/bin/services/chat/runtime/ChatIngressStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +0 -54
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatMessageMarkup.js.map +0 -1
- package/bin/services/chat/runtime/ChatMetaStore.d.ts +0 -68
- package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatMetaStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueue.d.ts +0 -40
- package/bin/services/chat/runtime/ChatQueue.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueue.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js +0 -98
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueStore.d.ts +0 -85
- package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts +0 -88
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorker.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts +0 -20
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSendMetadata.js.map +0 -1
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts +0 -27
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSendRegistry.js.map +0 -1
- package/bin/services/chat/runtime/ChatServiceActions.d.ts +0 -17
- package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatServiceActions.js.map +0 -1
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts +0 -22
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatServiceSystem.js +0 -87
- package/bin/services/chat/runtime/ChatServiceSystem.js.map +0 -1
- package/bin/services/chat/runtime/ChatSession.d.ts +0 -73
- package/bin/services/chat/runtime/ChatSession.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSession.js +0 -78
- package/bin/services/chat/runtime/ChatSession.js.map +0 -1
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts +0 -29
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSessionDelete.js +0 -76
- package/bin/services/chat/runtime/ChatSessionDelete.js.map +0 -1
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +0 -45
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +0 -60
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +0 -1
- package/bin/services/chat/runtime/ChatkeySend.d.ts +0 -67
- package/bin/services/chat/runtime/ChatkeySend.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatkeySend.js.map +0 -1
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts +0 -22
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
- package/bin/services/chat/runtime/DirectDispatchParser.js +0 -133
- package/bin/services/chat/runtime/DirectDispatchParser.js.map +0 -1
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts +0 -24
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/EnqueueDispatch.js +0 -28
- package/bin/services/chat/runtime/EnqueueDispatch.js.map +0 -1
- package/bin/services/chat/runtime/InboundAugment.d.ts +0 -21
- package/bin/services/chat/runtime/InboundAugment.d.ts.map +0 -1
- package/bin/services/chat/runtime/InboundAugment.js +0 -50
- package/bin/services/chat/runtime/InboundAugment.js.map +0 -1
- package/bin/services/chat/runtime/PluginDispatch.d.ts +0 -43
- package/bin/services/chat/runtime/PluginDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/PluginDispatch.js +0 -57
- package/bin/services/chat/runtime/PluginDispatch.js.map +0 -1
- package/bin/services/chat/runtime/PluginPoints.d.ts.map +0 -1
- package/bin/services/chat/runtime/PluginPoints.js.map +0 -1
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts +0 -20
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
- package/bin/services/chat/runtime/QueuedUserMessage.js.map +0 -1
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +0 -29
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
- package/bin/services/chat/runtime/ReplyContextFormatter.js.map +0 -1
- package/bin/services/chat/runtime/ReplyDispatch.d.ts +0 -36
- package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/ReplyDispatch.js +0 -51
- package/bin/services/chat/runtime/ReplyDispatch.js.map +0 -1
- package/bin/services/chat/runtime/SystemPrompt.d.ts +0 -26
- package/bin/services/chat/runtime/SystemPrompt.d.ts.map +0 -1
- package/bin/services/chat/runtime/SystemPrompt.js +0 -70
- package/bin/services/chat/runtime/SystemPrompt.js.map +0 -1
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts +0 -24
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
- package/bin/services/chat/runtime/UIMessageTransformer.js.map +0 -1
- package/bin/services/chat/runtime/UserVisibleText.d.ts +0 -34
- package/bin/services/chat/runtime/UserVisibleText.d.ts.map +0 -1
- package/bin/services/chat/runtime/UserVisibleText.js.map +0 -1
- package/bin/services/chat/types/BotInfo.d.ts +0 -97
- package/bin/services/chat/types/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/types/BotInfo.js.map +0 -1
- package/bin/services/chat/types/ChannelConfiguration.d.ts +0 -146
- package/bin/services/chat/types/ChannelConfiguration.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelConfiguration.js.map +0 -1
- package/bin/services/chat/types/ChannelContext.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelContext.js.map +0 -1
- package/bin/services/chat/types/ChannelStatus.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelStatus.js.map +0 -1
- package/bin/services/chat/types/ChatCommand.d.ts.map +0 -1
- package/bin/services/chat/types/ChatCommand.js.map +0 -1
- package/bin/services/chat/types/ChatDispatcher.d.ts.map +0 -1
- package/bin/services/chat/types/ChatDispatcher.js.map +0 -1
- package/bin/services/chat/types/ChatHistory.d.ts +0 -36
- package/bin/services/chat/types/ChatHistory.d.ts.map +0 -1
- package/bin/services/chat/types/ChatHistory.js.map +0 -1
- package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/services/chat/types/ChatMessageMarkup.js.map +0 -1
- package/bin/services/chat/types/ChatMeta.d.ts.map +0 -1
- package/bin/services/chat/types/ChatMeta.js.map +0 -1
- package/bin/services/chat/types/ChatQueue.d.ts +0 -44
- package/bin/services/chat/types/ChatQueue.d.ts.map +0 -1
- package/bin/services/chat/types/ChatQueue.js.map +0 -1
- package/bin/services/chat/types/DirectDispatch.d.ts +0 -115
- package/bin/services/chat/types/DirectDispatch.d.ts.map +0 -1
- package/bin/services/chat/types/DirectDispatch.js.map +0 -1
- package/bin/services/chat/types/FeishuAttachment.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuAttachment.js.map +0 -1
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts +0 -114
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuInboundAttachment.js.map +0 -1
- package/bin/services/chat/types/FeishuPost.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuPost.js.map +0 -1
- package/bin/services/chat/types/QqInboundDedupe.d.ts.map +0 -1
- package/bin/services/chat/types/QqInboundDedupe.js.map +0 -1
- package/bin/services/chat/types/QqVoice.d.ts.map +0 -1
- package/bin/services/chat/types/QqVoice.js.map +0 -1
- package/bin/services/chat/types/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/types/ReplyContext.js.map +0 -1
- package/bin/services/contact/Action.d.ts.map +0 -1
- package/bin/services/contact/Action.js.map +0 -1
- package/bin/services/contact/ContactService.d.ts +0 -39
- package/bin/services/contact/ContactService.d.ts.map +0 -1
- package/bin/services/contact/ContactService.js +0 -683
- package/bin/services/contact/ContactService.js.map +0 -1
- package/bin/services/contact/Index.d.ts.map +0 -1
- package/bin/services/contact/Index.js.map +0 -1
- package/bin/services/contact/runtime/ApproveCallback.d.ts +0 -23
- package/bin/services/contact/runtime/ApproveCallback.d.ts.map +0 -1
- package/bin/services/contact/runtime/ApproveCallback.js.map +0 -1
- package/bin/services/contact/runtime/ChatRuntime.d.ts +0 -27
- package/bin/services/contact/runtime/ChatRuntime.d.ts.map +0 -1
- package/bin/services/contact/runtime/ChatRuntime.js.map +0 -1
- package/bin/services/contact/runtime/ContactStore.d.ts +0 -49
- package/bin/services/contact/runtime/ContactStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/ContactStore.js.map +0 -1
- package/bin/services/contact/runtime/EndpointNotice.d.ts +0 -39
- package/bin/services/contact/runtime/EndpointNotice.d.ts.map +0 -1
- package/bin/services/contact/runtime/EndpointNotice.js.map +0 -1
- package/bin/services/contact/runtime/EndpointResolver.d.ts.map +0 -1
- package/bin/services/contact/runtime/EndpointResolver.js.map +0 -1
- package/bin/services/contact/runtime/InboxStore.d.ts +0 -33
- package/bin/services/contact/runtime/InboxStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/InboxStore.js.map +0 -1
- package/bin/services/contact/runtime/LinkApproval.d.ts +0 -20
- package/bin/services/contact/runtime/LinkApproval.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkApproval.js.map +0 -1
- package/bin/services/contact/runtime/LinkCode.d.ts +0 -21
- package/bin/services/contact/runtime/LinkCode.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkCode.js.map +0 -1
- package/bin/services/contact/runtime/LinkStore.d.ts +0 -17
- package/bin/services/contact/runtime/LinkStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkStore.js.map +0 -1
- package/bin/services/contact/runtime/Paths.d.ts.map +0 -1
- package/bin/services/contact/runtime/Paths.js.map +0 -1
- package/bin/services/contact/runtime/RemoteClient.d.ts +0 -46
- package/bin/services/contact/runtime/RemoteClient.d.ts.map +0 -1
- package/bin/services/contact/runtime/RemoteClient.js.map +0 -1
- package/bin/services/contact/runtime/ShareBundle.d.ts +0 -65
- package/bin/services/contact/runtime/ShareBundle.d.ts.map +0 -1
- package/bin/services/contact/runtime/ShareBundle.js.map +0 -1
- package/bin/services/contact/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/services/contact/runtime/SystemProvider.js.map +0 -1
- package/bin/services/contact/runtime/Token.d.ts.map +0 -1
- package/bin/services/contact/runtime/Token.js.map +0 -1
- package/bin/services/memory/Action.d.ts +0 -41
- package/bin/services/memory/Action.d.ts.map +0 -1
- package/bin/services/memory/Action.js.map +0 -1
- package/bin/services/memory/Index.d.ts.map +0 -1
- package/bin/services/memory/Index.js.map +0 -1
- package/bin/services/memory/MemoryService.d.ts +0 -45
- package/bin/services/memory/MemoryService.d.ts.map +0 -1
- package/bin/services/memory/MemoryService.js +0 -299
- package/bin/services/memory/MemoryService.js.map +0 -1
- package/bin/services/memory/runtime/Flush.d.ts +0 -15
- package/bin/services/memory/runtime/Flush.d.ts.map +0 -1
- package/bin/services/memory/runtime/Flush.js.map +0 -1
- package/bin/services/memory/runtime/Indexer.d.ts +0 -71
- package/bin/services/memory/runtime/Indexer.d.ts.map +0 -1
- package/bin/services/memory/runtime/Indexer.js.map +0 -1
- package/bin/services/memory/runtime/Search.d.ts +0 -15
- package/bin/services/memory/runtime/Search.d.ts.map +0 -1
- package/bin/services/memory/runtime/Search.js.map +0 -1
- package/bin/services/memory/runtime/Store.d.ts +0 -106
- package/bin/services/memory/runtime/Store.d.ts.map +0 -1
- package/bin/services/memory/runtime/Store.js.map +0 -1
- package/bin/services/memory/runtime/SystemProvider.d.ts +0 -22
- package/bin/services/memory/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/services/memory/runtime/SystemProvider.js.map +0 -1
- package/bin/services/memory/runtime/Writer.d.ts +0 -23
- package/bin/services/memory/runtime/Writer.d.ts.map +0 -1
- package/bin/services/memory/runtime/Writer.js.map +0 -1
- package/bin/services/memory/types/Memory.d.ts +0 -318
- package/bin/services/memory/types/Memory.d.ts.map +0 -1
- package/bin/services/memory/types/Memory.js.map +0 -1
- package/bin/services/shell/Index.d.ts.map +0 -1
- package/bin/services/shell/Index.js.map +0 -1
- package/bin/services/shell/ShellService.d.ts +0 -65
- package/bin/services/shell/ShellService.d.ts.map +0 -1
- package/bin/services/shell/ShellService.js +0 -138
- package/bin/services/shell/ShellService.js.map +0 -1
- package/bin/services/shell/runtime/Paths.d.ts.map +0 -1
- package/bin/services/shell/runtime/Paths.js.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts +0 -49
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntime.js +0 -463
- package/bin/services/shell/runtime/ShellActionRuntime.js.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -107
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +0 -452
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
- package/bin/services/shell/types/ShellService.d.ts.map +0 -1
- package/bin/services/shell/types/ShellService.js.map +0 -1
- package/bin/services/task/Action.d.ts +0 -36
- package/bin/services/task/Action.d.ts.map +0 -1
- package/bin/services/task/Action.js.map +0 -1
- package/bin/services/task/Index.d.ts.map +0 -1
- package/bin/services/task/Index.js.map +0 -1
- package/bin/services/task/Scheduler.d.ts +0 -17
- package/bin/services/task/Scheduler.d.ts.map +0 -1
- package/bin/services/task/Scheduler.js +0 -231
- package/bin/services/task/Scheduler.js.map +0 -1
- package/bin/services/task/TaskService.d.ts +0 -57
- package/bin/services/task/TaskService.d.ts.map +0 -1
- package/bin/services/task/TaskService.js +0 -126
- package/bin/services/task/TaskService.js.map +0 -1
- package/bin/services/task/runtime/CronRuntime.d.ts +0 -34
- package/bin/services/task/runtime/CronRuntime.d.ts.map +0 -1
- package/bin/services/task/runtime/CronRuntime.js +0 -59
- package/bin/services/task/runtime/CronRuntime.js.map +0 -1
- package/bin/services/task/runtime/CronTrigger.d.ts.map +0 -1
- package/bin/services/task/runtime/CronTrigger.js.map +0 -1
- package/bin/services/task/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/services/task/runtime/Frontmatter.js.map +0 -1
- package/bin/services/task/runtime/Model.d.ts +0 -73
- package/bin/services/task/runtime/Model.d.ts.map +0 -1
- package/bin/services/task/runtime/Model.js.map +0 -1
- package/bin/services/task/runtime/Paths.d.ts.map +0 -1
- package/bin/services/task/runtime/Paths.js.map +0 -1
- package/bin/services/task/runtime/Runner.d.ts +0 -43
- package/bin/services/task/runtime/Runner.d.ts.map +0 -1
- package/bin/services/task/runtime/Runner.js.map +0 -1
- package/bin/services/task/runtime/Store.d.ts +0 -89
- package/bin/services/task/runtime/Store.d.ts.map +0 -1
- package/bin/services/task/runtime/Store.js.map +0 -1
- package/bin/services/task/runtime/TaskActionExecution.d.ts +0 -160
- package/bin/services/task/runtime/TaskActionExecution.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskActionExecution.js +0 -192
- package/bin/services/task/runtime/TaskActionExecution.js.map +0 -1
- package/bin/services/task/runtime/TaskActionInput.d.ts +0 -48
- package/bin/services/task/runtime/TaskActionInput.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskActionInput.js +0 -357
- package/bin/services/task/runtime/TaskActionInput.js.map +0 -1
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts +0 -189
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunArtifacts.js.map +0 -1
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +0 -22
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunChatDispatch.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts +0 -35
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerProgress.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerRound.d.ts +0 -80
- package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerRound.js +0 -272
- package/bin/services/task/runtime/TaskRunnerRound.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerSession.d.ts +0 -45
- package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerSession.js +0 -138
- package/bin/services/task/runtime/TaskRunnerSession.js.map +0 -1
- package/bin/services/task/runtime/TaskServiceActions.d.ts +0 -16
- package/bin/services/task/runtime/TaskServiceActions.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskServiceActions.js.map +0 -1
- package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskServiceSystem.js.map +0 -1
- package/bin/services/task/types/Cron.d.ts.map +0 -1
- package/bin/services/task/types/Cron.js.map +0 -1
- package/bin/services/task/types/Task.d.ts.map +0 -1
- package/bin/services/task/types/Task.js.map +0 -1
- package/bin/services/task/types/TaskCommand.d.ts.map +0 -1
- package/bin/services/task/types/TaskCommand.js.map +0 -1
- package/bin/shared/types/AuthDashboard.d.ts +0 -30
- package/bin/shared/types/AuthDashboard.d.ts.map +0 -1
- package/bin/shared/types/AuthDashboard.js +0 -9
- package/bin/shared/types/AuthDashboard.js.map +0 -1
- package/bin/shared/types/Console.d.ts +0 -373
- package/bin/shared/types/Console.d.ts.map +0 -1
- package/bin/shared/types/Console.js +0 -9
- package/bin/shared/types/Console.js.map +0 -1
- package/bin/shared/types/ConsoleGateway.d.ts +0 -174
- package/bin/shared/types/ConsoleGateway.d.ts.map +0 -1
- package/bin/shared/types/ConsoleGateway.js +0 -9
- package/bin/shared/types/ConsoleGateway.js.map +0 -1
- package/bin/shared/types/DashboardData.d.ts +0 -320
- package/bin/shared/types/DashboardData.d.ts.map +0 -1
- package/bin/shared/types/DashboardData.js +0 -9
- package/bin/shared/types/DashboardData.js.map +0 -1
- package/bin/shared/types/DashboardRoutes.d.ts +0 -28
- package/bin/shared/types/DashboardRoutes.d.ts.map +0 -1
- package/bin/shared/types/DashboardRoutes.js +0 -9
- package/bin/shared/types/DashboardRoutes.js.map +0 -1
- package/bin/shared/types/DashboardSessionExecute.d.ts +0 -85
- package/bin/shared/types/DashboardSessionExecute.d.ts.map +0 -1
- package/bin/shared/types/DashboardSessionExecute.js +0 -9
- package/bin/shared/types/DashboardSessionExecute.js.map +0 -1
- package/bin/types/agent/AgentContext.d.ts +0 -345
- package/bin/types/agent/AgentContext.d.ts.map +0 -1
- package/bin/types/agent/AgentContext.js +0 -10
- package/bin/types/agent/AgentContext.js.map +0 -1
- package/bin/types/agent/AgentRuntime.d.ts +0 -81
- package/bin/types/agent/AgentRuntime.d.ts.map +0 -1
- package/bin/types/agent/AgentRuntime.js +0 -10
- package/bin/types/agent/AgentRuntime.js.map +0 -1
- package/bin/types/chat/ChatSession.d.ts +0 -30
- package/bin/types/chat/ChatSession.d.ts.map +0 -1
- package/bin/types/chat/ChatSession.js +0 -9
- package/bin/types/chat/ChatSession.js.map +0 -1
- package/bin/types/city/PublicHostEnv.d.ts +0 -72
- package/bin/types/city/PublicHostEnv.d.ts.map +0 -1
- package/bin/types/city/PublicHostEnv.js +0 -9
- package/bin/types/city/PublicHostEnv.js.map +0 -1
- package/bin/types/cli/AgentChat.d.ts +0 -147
- package/bin/types/cli/AgentChat.d.ts.map +0 -1
- package/bin/types/cli/AgentChat.js +0 -12
- package/bin/types/cli/AgentChat.js.map +0 -1
- package/bin/types/cli/AgentSelection.d.ts +0 -146
- package/bin/types/cli/AgentSelection.d.ts.map +0 -1
- package/bin/types/cli/AgentSelection.js +0 -9
- package/bin/types/cli/AgentSelection.js.map +0 -1
- package/bin/types/cli/CliReporter.d.ts +0 -157
- package/bin/types/cli/CliReporter.d.ts.map +0 -1
- package/bin/types/cli/CliReporter.js +0 -10
- package/bin/types/cli/CliReporter.js.map +0 -1
- package/bin/types/cli/ModelManager.d.ts +0 -127
- package/bin/types/cli/ModelManager.d.ts.map +0 -1
- package/bin/types/cli/ModelManager.js +0 -9
- package/bin/types/cli/ModelManager.js.map +0 -1
- package/bin/types/contact/Contact.d.ts.map +0 -1
- package/bin/types/contact/Contact.js.map +0 -1
- package/bin/types/contact/ContactApproval.d.ts.map +0 -1
- package/bin/types/contact/ContactApproval.js.map +0 -1
- package/bin/types/contact/ContactChat.d.ts.map +0 -1
- package/bin/types/contact/ContactChat.js.map +0 -1
- package/bin/types/contact/ContactCheck.d.ts.map +0 -1
- package/bin/types/contact/ContactCheck.js.map +0 -1
- package/bin/types/contact/ContactCommand.d.ts.map +0 -1
- package/bin/types/contact/ContactCommand.js.map +0 -1
- package/bin/types/contact/ContactEndpoint.d.ts.map +0 -1
- package/bin/types/contact/ContactEndpoint.js.map +0 -1
- package/bin/types/contact/ContactLink.d.ts.map +0 -1
- package/bin/types/contact/ContactLink.js.map +0 -1
- package/bin/types/contact/ContactShare.d.ts.map +0 -1
- package/bin/types/contact/ContactShare.js.map +0 -1
- package/bin/types/shell/ShellRuntime.d.ts +0 -91
- package/bin/types/shell/ShellRuntime.d.ts.map +0 -1
- package/bin/types/shell/ShellRuntime.js +0 -10
- package/bin/types/shell/ShellRuntime.js.map +0 -1
- package/bin/types/task/TaskRunner.d.ts +0 -186
- package/bin/types/task/TaskRunner.d.ts.map +0 -1
- package/bin/types/task/TaskRunner.js +0 -9
- package/bin/types/task/TaskRunner.js.map +0 -1
- package/src/daemon/Client.ts +0 -182
- package/src/daemon/Manager.ts +0 -344
- package/src/daemon/ProjectSetup.ts +0 -126
- package/src/http/dashboard/AuthDashboardService.ts +0 -161
- package/src/http/dashboard/CommonHelpers.ts +0 -50
- package/src/http/dashboard/DashboardApiRoutes.ts +0 -30
- package/src/http/dashboard/DashboardAuthorizationRoutes.ts +0 -101
- package/src/http/dashboard/ExecuteBySession.ts +0 -151
- package/src/http/dashboard/ExecuteInput.ts +0 -236
- package/src/http/dashboard/Helpers.ts +0 -22
- package/src/http/dashboard/MessageTimeline.ts +0 -269
- package/src/http/dashboard/ModelRoutes.ts +0 -102
- package/src/http/dashboard/OverviewRoutes.ts +0 -101
- package/src/http/dashboard/Router.ts +0 -26
- package/src/http/dashboard/SessionRoutes.ts +0 -394
- package/src/http/dashboard/SessionSummaryStore.ts +0 -76
- package/src/http/dashboard/TaskRoutes.ts +0 -372
- package/src/http/dashboard/TaskStore.ts +0 -222
- package/src/rpc/Client.ts +0 -110
- package/src/rpc/Paths.ts +0 -43
- package/src/rpc/Server.ts +0 -395
- package/src/rpc/Transport.ts +0 -40
- package/src/runtime/CityPaths.ts +0 -101
- package/src/runtime/CityRegistry.ts +0 -256
- package/src/runtime/CityRuntime.ts +0 -45
- package/src/runtime/PluginRuntime.ts +0 -42
- package/src/runtime/ProcessSweep.ts +0 -239
- package/src/service/ServiceActionApi.ts +0 -304
- package/src/service/ServiceActionRunner.ts +0 -272
- package/src/service/ServiceClassRegistry.ts +0 -77
- package/src/service/ServiceStateController.ts +0 -316
- package/src/service/ServiceSystemProviders.ts +0 -50
- package/src/service/Services.ts +0 -33
- package/src/services/BaseService.ts +0 -85
- package/src/services/chat/Action.ts +0 -477
- package/src/services/chat/ChatService.ts +0 -111
- package/src/services/chat/channels/BaseChatChannel.ts +0 -425
- package/src/services/chat/channels/BaseChatChannelQueue.ts +0 -321
- package/src/services/chat/channels/BaseChatChannelSupport.ts +0 -321
- package/src/services/chat/channels/BotInfoProvider.ts +0 -49
- package/src/services/chat/channels/Configuration.ts +0 -35
- package/src/services/chat/channels/ConfigurationRegistry.ts +0 -43
- package/src/services/chat/channels/feishu/BotInfo.ts +0 -199
- package/src/services/chat/channels/feishu/Configuration.ts +0 -65
- package/src/services/chat/channels/feishu/Feishu.ts +0 -630
- package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
- package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
- package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
- package/src/services/chat/channels/feishu/InboundAttachment.ts +0 -261
- package/src/services/chat/channels/feishu/PostMessage.ts +0 -492
- package/src/services/chat/channels/feishu/ReplyContext.ts +0 -68
- package/src/services/chat/channels/feishu/Shared.ts +0 -94
- package/src/services/chat/channels/qq/BotInfo.ts +0 -137
- package/src/services/chat/channels/qq/Configuration.ts +0 -64
- package/src/services/chat/channels/qq/QQ.ts +0 -629
- package/src/services/chat/channels/qq/QQGatewayAuth.ts +0 -318
- package/src/services/chat/channels/qq/QQInbound.ts +0 -262
- package/src/services/chat/channels/qq/QQInboundDedupe.ts +0 -126
- package/src/services/chat/channels/qq/QQSupport.ts +0 -263
- package/src/services/chat/channels/qq/VoiceInput.ts +0 -381
- package/src/services/chat/channels/telegram/Bot.ts +0 -648
- package/src/services/chat/channels/telegram/BotInfo.ts +0 -92
- package/src/services/chat/channels/telegram/Configuration.ts +0 -65
- package/src/services/chat/channels/telegram/ReplyContext.ts +0 -76
- package/src/services/chat/channels/telegram/Shared.ts +0 -404
- package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
- package/src/services/chat/runtime/ChannelContextStore.ts +0 -395
- package/src/services/chat/runtime/ChatActionExecution.ts +0 -362
- package/src/services/chat/runtime/ChatActionInput.ts +0 -590
- package/src/services/chat/runtime/ChatChannelActions.ts +0 -313
- package/src/services/chat/runtime/ChatChannelConfig.ts +0 -334
- package/src/services/chat/runtime/ChatChannelCore.ts +0 -112
- package/src/services/chat/runtime/ChatChannelLifecycle.ts +0 -165
- package/src/services/chat/runtime/ChatHistoryStore.ts +0 -289
- package/src/services/chat/runtime/ChatIngressStore.ts +0 -88
- package/src/services/chat/runtime/ChatMessageMarkup.ts +0 -263
- package/src/services/chat/runtime/ChatMetaStore.ts +0 -186
- package/src/services/chat/runtime/ChatQueue.ts +0 -77
- package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
- package/src/services/chat/runtime/ChatQueueSessionBridge.ts +0 -122
- package/src/services/chat/runtime/ChatQueueStore.ts +0 -185
- package/src/services/chat/runtime/ChatQueueWorker.ts +0 -504
- package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
- package/src/services/chat/runtime/ChatSendMetadata.ts +0 -170
- package/src/services/chat/runtime/ChatSendRegistry.ts +0 -43
- package/src/services/chat/runtime/ChatServiceSystem.ts +0 -119
- package/src/services/chat/runtime/ChatSession.ts +0 -125
- package/src/services/chat/runtime/ChatSessionDelete.ts +0 -95
- package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +0 -106
- package/src/services/chat/runtime/ChatkeySend.ts +0 -187
- package/src/services/chat/runtime/DirectDispatchParser.ts +0 -158
- package/src/services/chat/runtime/EnqueueDispatch.ts +0 -49
- package/src/services/chat/runtime/InboundAugment.ts +0 -63
- package/src/services/chat/runtime/PluginDispatch.ts +0 -89
- package/src/services/chat/runtime/ReplyContextFormatter.ts +0 -85
- package/src/services/chat/runtime/ReplyDispatch.ts +0 -78
- package/src/services/chat/runtime/SystemPrompt.ts +0 -84
- package/src/services/chat/types/BotInfo.ts +0 -101
- package/src/services/chat/types/ChannelConfiguration.ts +0 -161
- package/src/services/chat/types/ChatHistory.ts +0 -42
- package/src/services/chat/types/DirectDispatch.ts +0 -133
- package/src/services/chat/types/FeishuInboundAttachment.ts +0 -138
- package/src/services/contact/ContactService.ts +0 -799
- package/src/services/contact/runtime/ApproveCallback.ts +0 -97
- package/src/services/contact/runtime/ChatRuntime.ts +0 -82
- package/src/services/contact/runtime/ContactStore.ts +0 -299
- package/src/services/contact/runtime/EndpointNotice.ts +0 -125
- package/src/services/contact/runtime/InboxStore.ts +0 -178
- package/src/services/contact/runtime/LinkApproval.ts +0 -387
- package/src/services/contact/runtime/LinkCode.ts +0 -70
- package/src/services/contact/runtime/LinkStore.ts +0 -50
- package/src/services/contact/runtime/ShareBundle.ts +0 -286
- package/src/services/memory/Action.ts +0 -188
- package/src/services/memory/MemoryService.ts +0 -329
- package/src/services/memory/runtime/Flush.ts +0 -83
- package/src/services/memory/runtime/Indexer.ts +0 -466
- package/src/services/memory/runtime/Search.ts +0 -90
- package/src/services/memory/runtime/Store.ts +0 -370
- package/src/services/memory/runtime/SystemProvider.ts +0 -145
- package/src/services/memory/runtime/Writer.ts +0 -174
- package/src/services/shell/ShellService.ts +0 -199
- package/src/services/shell/runtime/ShellActionRuntime.ts +0 -579
- package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +0 -552
- package/src/services/task/Action.ts +0 -491
- package/src/services/task/Scheduler.ts +0 -245
- package/src/services/task/TaskService.ts +0 -167
- package/src/services/task/runtime/CronRuntime.ts +0 -73
- package/src/services/task/runtime/Model.ts +0 -347
- package/src/services/task/runtime/Runner.ts +0 -558
- package/src/services/task/runtime/Store.ts +0 -253
- package/src/services/task/runtime/TaskActionExecution.ts +0 -276
- package/src/services/task/runtime/TaskActionInput.ts +0 -463
- package/src/services/task/runtime/TaskRunArtifacts.ts +0 -493
- package/src/services/task/runtime/TaskRunChatDispatch.ts +0 -81
- package/src/services/task/runtime/TaskRunnerProgress.ts +0 -112
- package/src/services/task/runtime/TaskRunnerRound.ts +0 -337
- package/src/services/task/runtime/TaskRunnerSession.ts +0 -167
- package/src/services/task/runtime/TaskServiceActions.ts +0 -248
- package/src/shared/types/AuthDashboard.ts +0 -38
- package/src/shared/types/Console.ts +0 -448
- package/src/shared/types/ConsoleGateway.ts +0 -196
- package/src/shared/types/DashboardData.ts +0 -392
- package/src/shared/types/DashboardRoutes.ts +0 -31
- package/src/shared/types/DashboardSessionExecute.ts +0 -99
- package/src/types/agent/AgentContext.ts +0 -380
- package/src/types/agent/AgentRuntime.ts +0 -86
- package/src/types/city/PublicHostEnv.ts +0 -76
- package/src/types/cli/AgentChat.ts +0 -172
- package/src/types/cli/AgentSelection.ts +0 -162
- package/src/types/cli/CliReporter.ts +0 -167
- package/src/types/cli/ModelManager.ts +0 -139
- package/src/types/shell/ShellRuntime.ts +0 -94
- package/src/types/task/TaskRunner.ts +0 -199
- /package/bin/{daemon → host/daemon}/Api.js +0 -0
- /package/bin/{daemon → host/daemon}/Client.d.ts +0 -0
- /package/bin/{daemon → host/daemon}/ProjectSetup.d.ts +0 -0
- /package/bin/{rpc → host/rpc}/Client.js +0 -0
- /package/bin/{rpc → host/rpc}/Paths.d.ts +0 -0
- /package/bin/{runtime → host/runtime}/PluginRuntime.js +0 -0
- /package/bin/{services → service/builtins}/chat/Index.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/Index.js +0 -0
- /package/bin/{services → service/builtins}/chat/PROMPT.direct.txt +0 -0
- /package/bin/{services → service/builtins}/chat/channels/Configuration.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/BotInfo.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuInbound.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformClient.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformLookup.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/FeishuPlatformMessaging.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/InboundAttachment.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/PROMPT.direct.txt +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/PostMessage.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/feishu/ReplyContext.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/BotInfo.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/PROMPT.direct.txt +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQEventCapture.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewayAuth.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewaySend.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQGatewaySupport.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQInbound.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQInboundDedupe.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQSendSupport.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/QQSendSupport.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/qq/VoiceInput.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/ApiClient.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/BotInfo.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/Handlers.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/PROMPT.direct.txt +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/ReplyContext.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/Shared.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/StateStore.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/StateStore.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramInbound.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramInbound.js +0 -0
- /package/bin/{services → service/builtins}/chat/channels/telegram/TelegramPlatformClient.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatChannelFacade.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatChannelFacade.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatMessageMarkup.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatMetaStore.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatQueue.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatQueueReplyDispatch.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatQueueStore.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatQueueWorker.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatQueueWorkerSupport.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatSendMetadata.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatSendRegistry.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatServiceActions.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ChatkeySend.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/PluginPoints.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/PluginPoints.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/QueuedUserMessage.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/ReplyContextFormatter.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/UIMessageTransformer.js +0 -0
- /package/bin/{services → service/builtins}/chat/runtime/UserVisibleText.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/BotInfo.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChannelConfiguration.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChannelContext.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChannelContext.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChannelStatus.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChannelStatus.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatCommand.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatCommand.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatDispatcher.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatDispatcher.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatHistory.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatMessageMarkup.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatMessageMarkup.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatMeta.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatMeta.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ChatQueue.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/DirectDispatch.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/FeishuAttachment.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/FeishuAttachment.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/FeishuInboundAttachment.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/FeishuPost.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/FeishuPost.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/QqInboundDedupe.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/QqInboundDedupe.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/QqVoice.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/QqVoice.js +0 -0
- /package/bin/{services → service/builtins}/chat/types/ReplyContext.d.ts +0 -0
- /package/bin/{services → service/builtins}/chat/types/ReplyContext.js +0 -0
- /package/bin/{services → service/builtins}/contact/Action.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/Action.js +0 -0
- /package/bin/{services → service/builtins}/contact/Index.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/Index.js +0 -0
- /package/bin/{services → service/builtins}/contact/PROMPT.txt +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/ApproveCallback.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/ChatRuntime.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/ContactStore.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/EndpointNotice.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/EndpointResolver.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/EndpointResolver.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/InboxStore.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/LinkApproval.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/LinkCode.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/LinkStore.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/Paths.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/Paths.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/RemoteClient.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/ShareBundle.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/SystemProvider.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/SystemProvider.js +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/Token.d.ts +0 -0
- /package/bin/{services → service/builtins}/contact/runtime/Token.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/Contact.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/Contact.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactApproval.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactApproval.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactChat.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactChat.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactCheck.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactCheck.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactCommand.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactCommand.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactEndpoint.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactEndpoint.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactLink.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactLink.js +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactShare.d.ts +0 -0
- /package/bin/{types/contact → service/builtins/contact/types}/ContactShare.js +0 -0
- /package/bin/{services → service/builtins}/memory/Action.js +0 -0
- /package/bin/{services → service/builtins}/memory/Index.d.ts +0 -0
- /package/bin/{services → service/builtins}/memory/Index.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/Flush.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/Indexer.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/Search.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/Store.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/SystemProvider.js +0 -0
- /package/bin/{services → service/builtins}/memory/runtime/Writer.js +0 -0
- /package/bin/{services → service/builtins}/memory/types/Memory.js +0 -0
- /package/bin/{services → service/builtins}/shell/Index.d.ts +0 -0
- /package/bin/{services → service/builtins}/shell/Index.js +0 -0
- /package/bin/{services → service/builtins}/shell/runtime/Paths.d.ts +0 -0
- /package/bin/{services → service/builtins}/shell/runtime/Paths.js +0 -0
- /package/bin/{services → service/builtins}/shell/types/ShellService.d.ts +0 -0
- /package/bin/{services → service/builtins}/shell/types/ShellService.js +0 -0
- /package/bin/{services → service/builtins}/task/Action.js +0 -0
- /package/bin/{services → service/builtins}/task/Index.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/Index.js +0 -0
- /package/bin/{services → service/builtins}/task/PROMPT.txt +0 -0
- /package/bin/{services → service/builtins}/task/runtime/CronTrigger.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/runtime/CronTrigger.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Frontmatter.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Frontmatter.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Model.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Paths.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Paths.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Runner.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/Store.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskRunArtifacts.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskRunChatDispatch.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskRunnerProgress.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskServiceActions.js +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskServiceSystem.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/runtime/TaskServiceSystem.js +0 -0
- /package/bin/{services → service/builtins}/task/types/Cron.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/types/Cron.js +0 -0
- /package/bin/{services → service/builtins}/task/types/Task.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/types/Task.js +0 -0
- /package/bin/{services → service/builtins}/task/types/TaskCommand.d.ts +0 -0
- /package/bin/{services → service/builtins}/task/types/TaskCommand.js +0 -0
- /package/bin/service/{Manager.js → core/Manager.js} +0 -0
- /package/bin/service/{ServiceManager.js → core/ServiceManager.js} +0 -0
- /package/src/{daemon → host/daemon}/Api.ts +0 -0
- /package/src/{runtime → host/runtime}/AgentHostRuntime.ts +0 -0
- /package/src/{services → service/builtins}/README.md +0 -0
- /package/src/{services → service/builtins}/chat/Index.ts +0 -0
- /package/src/{services → service/builtins}/chat/PROMPT.direct.txt +0 -0
- /package/src/{services → service/builtins}/chat/channels/feishu/FeishuInbound.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/feishu/PROMPT.direct.txt +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/PROMPT.direct.txt +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/QQEventCapture.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/QQGatewayClient.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/QQGatewaySend.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/QQGatewaySupport.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/qq/QQSendSupport.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/telegram/ApiClient.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/telegram/Handlers.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/telegram/PROMPT.direct.txt +0 -0
- /package/src/{services → service/builtins}/chat/channels/telegram/StateStore.ts +0 -0
- /package/src/{services → service/builtins}/chat/channels/telegram/TelegramInbound.ts +0 -0
- /package/src/{services → service/builtins}/chat/runtime/ChatChannelFacade.ts +0 -0
- /package/src/{services → service/builtins}/chat/runtime/ChatServiceActions.ts +0 -0
- /package/src/{types/chat/ChatSession.ts → service/builtins/chat/runtime/ChatSessionTypes.ts} +0 -0
- /package/src/{services → service/builtins}/chat/runtime/PluginPoints.ts +0 -0
- /package/src/{services → service/builtins}/chat/runtime/QueuedUserMessage.ts +0 -0
- /package/src/{services → service/builtins}/chat/runtime/UIMessageTransformer.ts +0 -0
- /package/src/{services → service/builtins}/chat/runtime/UserVisibleText.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChannelContext.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChannelStatus.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChatCommand.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChatDispatcher.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChatMessageMarkup.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChatMeta.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ChatQueue.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/FeishuAttachment.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/FeishuPost.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/QqInboundDedupe.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/QqVoice.ts +0 -0
- /package/src/{services → service/builtins}/chat/types/ReplyContext.ts +0 -0
- /package/src/{services → service/builtins}/contact/Action.ts +0 -0
- /package/src/{services → service/builtins}/contact/Index.ts +0 -0
- /package/src/{services → service/builtins}/contact/PROMPT.txt +0 -0
- /package/src/{services → service/builtins}/contact/runtime/EndpointResolver.ts +0 -0
- /package/src/{services → service/builtins}/contact/runtime/Paths.ts +0 -0
- /package/src/{services → service/builtins}/contact/runtime/RemoteClient.ts +0 -0
- /package/src/{services → service/builtins}/contact/runtime/SystemProvider.ts +0 -0
- /package/src/{services → service/builtins}/contact/runtime/Token.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/Contact.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactApproval.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactChat.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactCheck.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactCommand.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactEndpoint.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactLink.ts +0 -0
- /package/src/{types/contact → service/builtins/contact/types}/ContactShare.ts +0 -0
- /package/src/{services → service/builtins}/memory/Index.ts +0 -0
- /package/src/{services → service/builtins}/memory/types/Memory.ts +0 -0
- /package/src/{services → service/builtins}/shell/Index.ts +0 -0
- /package/src/{services → service/builtins}/shell/runtime/Paths.ts +0 -0
- /package/src/{services → service/builtins}/shell/types/ShellService.ts +0 -0
- /package/src/{services → service/builtins}/task/Index.ts +0 -0
- /package/src/{services → service/builtins}/task/PROMPT.txt +0 -0
- /package/src/{services → service/builtins}/task/runtime/CronTrigger.ts +0 -0
- /package/src/{services → service/builtins}/task/runtime/Frontmatter.ts +0 -0
- /package/src/{services → service/builtins}/task/runtime/Paths.ts +0 -0
- /package/src/{services → service/builtins}/task/runtime/TaskServiceSystem.ts +0 -0
- /package/src/{services → service/builtins}/task/types/Cron.ts +0 -0
- /package/src/{services → service/builtins}/task/types/Task.ts +0 -0
- /package/src/{services → service/builtins}/task/types/TaskCommand.ts +0 -0
- /package/src/service/{Manager.ts → core/Manager.ts} +0 -0
- /package/src/service/{ServiceManager.ts → core/ServiceManager.ts} +0 -0
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ServiceStateController:service 状态控制与状态记录模块。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 专门负责 service 状态记录、生命周期控制、状态快照。
|
|
6
|
-
* - 不处理 action payload,也不处理 HTTP route 注册。
|
|
7
|
-
* - Manager.ts 只作为门面导出,真正逻辑在这里分层实现。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import type { AgentContext } from "@/types/agent/AgentContext.js";
|
|
11
|
-
import type {
|
|
12
|
-
ServiceStateControlAction,
|
|
13
|
-
ServiceStateControlResult,
|
|
14
|
-
ServiceStateRecord,
|
|
15
|
-
ServiceStateSnapshot,
|
|
16
|
-
} from "@/shared/types/ServiceState.js";
|
|
17
|
-
import { getAgentRuntime } from "@/agent/AgentRuntimeState.js";
|
|
18
|
-
import {
|
|
19
|
-
getRegisteredStaticServiceInstances,
|
|
20
|
-
listRegisteredServices,
|
|
21
|
-
listRegisteredServiceNames,
|
|
22
|
-
} from "@/service/ServiceClassRegistry.js";
|
|
23
|
-
import type { BaseService } from "@services/BaseService.js";
|
|
24
|
-
import type { Service, ServiceState } from "@/shared/types/Service.js";
|
|
25
|
-
|
|
26
|
-
function nowMs(): number {
|
|
27
|
-
return Date.now();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* 列出当前进程内可见的 service 实例。
|
|
32
|
-
*
|
|
33
|
-
* 关键点(中文)
|
|
34
|
-
* - 若 agent 已就绪,则返回 per-agent service instances。
|
|
35
|
-
* - 若 agent 尚未初始化,则退回静态装配实例,方便测试与只读场景。
|
|
36
|
-
*/
|
|
37
|
-
export function listServiceInstances(): BaseService[] {
|
|
38
|
-
try {
|
|
39
|
-
const agent = getAgentRuntime();
|
|
40
|
-
if (agent.services.size > 0) {
|
|
41
|
-
return [...agent.services.values()];
|
|
42
|
-
}
|
|
43
|
-
} catch {
|
|
44
|
-
// ignore and fallback
|
|
45
|
-
}
|
|
46
|
-
return [...getRegisteredStaticServiceInstances().values()];
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 按名称解析 service 实例。
|
|
51
|
-
*/
|
|
52
|
-
export function resolveServiceByName(
|
|
53
|
-
name: string,
|
|
54
|
-
): BaseService | null {
|
|
55
|
-
const key = String(name || "").trim();
|
|
56
|
-
if (!key) return null;
|
|
57
|
-
return listServiceInstances().find((service) => service.name === key) || null;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* 确保 service 对应的状态记录存在。
|
|
62
|
-
*/
|
|
63
|
-
export function ensureServiceStateRecord(
|
|
64
|
-
service: BaseService,
|
|
65
|
-
): ServiceStateRecord {
|
|
66
|
-
return service.serviceStateRecord;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function hasCommandActions(service: BaseService): boolean {
|
|
70
|
-
return Object.values(service.actions).some((action) =>
|
|
71
|
-
Boolean(action.command),
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* 把内部 record 映射为对外快照。
|
|
77
|
-
*/
|
|
78
|
-
export function toServiceStateSnapshot(
|
|
79
|
-
record: ServiceStateRecord,
|
|
80
|
-
service: BaseService,
|
|
81
|
-
): ServiceStateSnapshot {
|
|
82
|
-
const lifecycle = service.lifecycle;
|
|
83
|
-
return {
|
|
84
|
-
name: service.name,
|
|
85
|
-
state: record.state,
|
|
86
|
-
updatedAt: record.updatedAt,
|
|
87
|
-
...(record.lastError ? { lastError: record.lastError } : {}),
|
|
88
|
-
...(record.lastCommand ? { lastCommand: record.lastCommand } : {}),
|
|
89
|
-
...(typeof record.lastCommandAt === "number"
|
|
90
|
-
? { lastCommandAt: record.lastCommandAt }
|
|
91
|
-
: {}),
|
|
92
|
-
supportsLifecycle: Boolean(lifecycle?.start || lifecycle?.stop),
|
|
93
|
-
supportsCommand:
|
|
94
|
-
Boolean(lifecycle?.command) || hasCommandActions(service),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
async function runSerialByService(
|
|
99
|
-
record: ServiceStateRecord,
|
|
100
|
-
step: () => Promise<void> | void,
|
|
101
|
-
): Promise<void> {
|
|
102
|
-
const next = record.chain.then(() => Promise.resolve(step()));
|
|
103
|
-
record.chain = next.then(
|
|
104
|
-
() => undefined,
|
|
105
|
-
() => undefined,
|
|
106
|
-
);
|
|
107
|
-
await next;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* 标记 service 当前状态。
|
|
112
|
-
*/
|
|
113
|
-
export function markServiceState(
|
|
114
|
-
record: ServiceStateRecord,
|
|
115
|
-
state: ServiceState,
|
|
116
|
-
error?: string,
|
|
117
|
-
): void {
|
|
118
|
-
record.state = state;
|
|
119
|
-
record.updatedAt = nowMs();
|
|
120
|
-
if (error) {
|
|
121
|
-
record.lastError = error;
|
|
122
|
-
} else {
|
|
123
|
-
delete record.lastError;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* 标记最近一次 service command。
|
|
129
|
-
*/
|
|
130
|
-
export function markServiceCommand(
|
|
131
|
-
record: ServiceStateRecord,
|
|
132
|
-
command: string,
|
|
133
|
-
): void {
|
|
134
|
-
record.lastCommand = command;
|
|
135
|
-
record.lastCommandAt = nowMs();
|
|
136
|
-
record.updatedAt = nowMs();
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* 返回静态 service 定义清单。
|
|
141
|
-
*/
|
|
142
|
-
export function getStaticServices(): Service[] {
|
|
143
|
-
return listRegisteredServices();
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* 返回 service 根命令名清单。
|
|
148
|
-
*/
|
|
149
|
-
export function getServiceRootCommandNames(): string[] {
|
|
150
|
-
return listRegisteredServiceNames();
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* 列出全部 service 状态快照。
|
|
155
|
-
*/
|
|
156
|
-
export function listServiceStates(): ServiceStateSnapshot[] {
|
|
157
|
-
return listServiceInstances()
|
|
158
|
-
.map((service) =>
|
|
159
|
-
toServiceStateSnapshot(ensureServiceStateRecord(service), service),
|
|
160
|
-
)
|
|
161
|
-
.sort((a, b) => a.name.localeCompare(b.name));
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* 判断指定 service 是否处于运行中。
|
|
166
|
-
*/
|
|
167
|
-
export function isServiceRunning(serviceName: string): boolean {
|
|
168
|
-
const service = resolveServiceByName(serviceName);
|
|
169
|
-
if (!service) return false;
|
|
170
|
-
return ensureServiceStateRecord(service).state === "running";
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
async function startServiceInternal(
|
|
174
|
-
service: BaseService,
|
|
175
|
-
context: AgentContext,
|
|
176
|
-
): Promise<ServiceStateControlResult> {
|
|
177
|
-
const record = ensureServiceStateRecord(service);
|
|
178
|
-
try {
|
|
179
|
-
await runSerialByService(record, async () => {
|
|
180
|
-
if (record.state === "running") return;
|
|
181
|
-
markServiceState(record, "starting");
|
|
182
|
-
try {
|
|
183
|
-
await service.lifecycle?.start?.(context);
|
|
184
|
-
markServiceState(record, "running");
|
|
185
|
-
} catch (error) {
|
|
186
|
-
markServiceState(record, "error", String(error));
|
|
187
|
-
throw error;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
return {
|
|
191
|
-
success: true,
|
|
192
|
-
service: toServiceStateSnapshot(record, service),
|
|
193
|
-
};
|
|
194
|
-
} catch (error) {
|
|
195
|
-
return {
|
|
196
|
-
success: false,
|
|
197
|
-
service: toServiceStateSnapshot(record, service),
|
|
198
|
-
error: String(error),
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
async function stopServiceInternal(
|
|
204
|
-
service: BaseService,
|
|
205
|
-
context: AgentContext,
|
|
206
|
-
): Promise<ServiceStateControlResult> {
|
|
207
|
-
const record = ensureServiceStateRecord(service);
|
|
208
|
-
try {
|
|
209
|
-
await runSerialByService(record, async () => {
|
|
210
|
-
if (record.state === "stopped") return;
|
|
211
|
-
markServiceState(record, "stopping");
|
|
212
|
-
try {
|
|
213
|
-
await service.lifecycle?.stop?.(context);
|
|
214
|
-
markServiceState(record, "stopped");
|
|
215
|
-
} catch (error) {
|
|
216
|
-
markServiceState(record, "error", String(error));
|
|
217
|
-
throw error;
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
return {
|
|
221
|
-
success: true,
|
|
222
|
-
service: toServiceStateSnapshot(record, service),
|
|
223
|
-
};
|
|
224
|
-
} catch (error) {
|
|
225
|
-
return {
|
|
226
|
-
success: false,
|
|
227
|
-
service: toServiceStateSnapshot(record, service),
|
|
228
|
-
error: String(error),
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* 执行单个 service 状态控制动作。
|
|
235
|
-
*/
|
|
236
|
-
export async function controlServiceState(params: {
|
|
237
|
-
serviceName: string;
|
|
238
|
-
action: ServiceStateControlAction;
|
|
239
|
-
context: AgentContext;
|
|
240
|
-
}): Promise<ServiceStateControlResult> {
|
|
241
|
-
const service = resolveServiceByName(params.serviceName);
|
|
242
|
-
if (!service) {
|
|
243
|
-
return {
|
|
244
|
-
success: false,
|
|
245
|
-
error: `Unknown service: ${params.serviceName}`,
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
if (params.action === "status") {
|
|
250
|
-
const record = ensureServiceStateRecord(service);
|
|
251
|
-
return {
|
|
252
|
-
success: true,
|
|
253
|
-
service: toServiceStateSnapshot(record, service),
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
if (params.action === "start") {
|
|
258
|
-
return startServiceInternal(service, params.context);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
if (params.action === "stop") {
|
|
262
|
-
return stopServiceInternal(service, params.context);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
const stopped = await stopServiceInternal(service, params.context);
|
|
266
|
-
if (!stopped.success) return stopped;
|
|
267
|
-
return startServiceInternal(service, params.context);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* 启动全部 service。
|
|
272
|
-
*/
|
|
273
|
-
export async function startAllServices(
|
|
274
|
-
context: AgentContext,
|
|
275
|
-
): Promise<{
|
|
276
|
-
success: boolean;
|
|
277
|
-
results: ServiceStateControlResult[];
|
|
278
|
-
}> {
|
|
279
|
-
const results: ServiceStateControlResult[] = [];
|
|
280
|
-
for (const service of listServiceInstances()) {
|
|
281
|
-
results.push(
|
|
282
|
-
await controlServiceState({
|
|
283
|
-
serviceName: service.name,
|
|
284
|
-
action: "start",
|
|
285
|
-
context,
|
|
286
|
-
}),
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
return {
|
|
290
|
-
success: results.every((item) => item.success),
|
|
291
|
-
results,
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* 停止全部 service。
|
|
297
|
-
*/
|
|
298
|
-
export async function stopAllServices(context: AgentContext): Promise<{
|
|
299
|
-
success: boolean;
|
|
300
|
-
results: ServiceStateControlResult[];
|
|
301
|
-
}> {
|
|
302
|
-
const results: ServiceStateControlResult[] = [];
|
|
303
|
-
for (const service of listServiceInstances()) {
|
|
304
|
-
results.push(
|
|
305
|
-
await controlServiceState({
|
|
306
|
-
serviceName: service.name,
|
|
307
|
-
action: "stop",
|
|
308
|
-
context,
|
|
309
|
-
}),
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
return {
|
|
313
|
-
success: results.every((item) => item.success),
|
|
314
|
-
results,
|
|
315
|
-
};
|
|
316
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ServiceSystemProviders:service system prompt 的静态提供器清单。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 这里仅负责收集各 service 的 system 文本提供器。
|
|
6
|
-
* - 不依赖完整 service instance,避免把 system 域与 service 运行态耦合在一起。
|
|
7
|
-
* - 这样也能避开 `task -> runner -> prompt system -> service class registry` 的循环依赖。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import type { AgentContext } from "@/types/agent/AgentContext.js";
|
|
11
|
-
import { buildChatServiceSystem } from "@services/chat/runtime/ChatServiceSystem.js";
|
|
12
|
-
import { buildContactServiceSystemText } from "@services/contact/runtime/SystemProvider.js";
|
|
13
|
-
import { buildMemoryServiceSystemText } from "@services/memory/runtime/SystemProvider.js";
|
|
14
|
-
import { TASK_SERVICE_PROMPT } from "@services/task/runtime/TaskServiceSystem.js";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 单个 service 的 system provider。
|
|
18
|
-
*/
|
|
19
|
-
export type ServiceSystemProvider = {
|
|
20
|
-
/**
|
|
21
|
-
* 对应的 service 名称。
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* 生成该 service system 文本的函数。
|
|
26
|
-
*/
|
|
27
|
-
system: (context: AgentContext) => Promise<string> | string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* 全部静态 service system providers。
|
|
32
|
-
*/
|
|
33
|
-
export const SERVICE_SYSTEM_PROVIDERS: ServiceSystemProvider[] = [
|
|
34
|
-
{
|
|
35
|
-
name: "chat",
|
|
36
|
-
system: buildChatServiceSystem,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: "contact",
|
|
40
|
-
system: buildContactServiceSystemText,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: "task",
|
|
44
|
-
system: () => TASK_SERVICE_PROMPT,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "memory",
|
|
48
|
-
system: buildMemoryServiceSystemText,
|
|
49
|
-
},
|
|
50
|
-
];
|
package/src/service/Services.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Service 类注册表(单一事实源)。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 统一维护所有可注册 service class,避免 Manager/AgentRuntime 各自硬编码。
|
|
6
|
-
* - 这里只声明“有哪些 service class”,不承载运行态逻辑。
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import type { AgentRuntime } from "@/types/agent/AgentRuntime.js";
|
|
10
|
-
import type { BaseService } from "@services/BaseService.js";
|
|
11
|
-
import { ChatService } from "@services/chat/ChatService.js";
|
|
12
|
-
import { TaskService } from "@services/task/TaskService.js";
|
|
13
|
-
import { MemoryService } from "@services/memory/MemoryService.js";
|
|
14
|
-
import { ShellService } from "@services/shell/ShellService.js";
|
|
15
|
-
import { ContactService } from "@services/contact/ContactService.js";
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 单个 service class 构造器。
|
|
19
|
-
*/
|
|
20
|
-
export type ServiceClass<T extends BaseService = BaseService> = new (
|
|
21
|
-
agent: AgentRuntime | null,
|
|
22
|
-
) => T;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* 全部已注册 service classes。
|
|
26
|
-
*/
|
|
27
|
-
export const SERVICE_CLASSES: ServiceClass[] = [
|
|
28
|
-
ChatService,
|
|
29
|
-
ContactService,
|
|
30
|
-
TaskService,
|
|
31
|
-
MemoryService,
|
|
32
|
-
ShellService,
|
|
33
|
-
];
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BaseService:service 类实现的统一基类。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - agent 会持有 per-agent 的 service instance,而不再直接依赖全局 service 单例对象。
|
|
6
|
-
* - 各 service 的长期状态应归属于实例本身,而不是模块级单例。
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import type { AgentRuntime } from "@/types/agent/AgentRuntime.js";
|
|
10
|
-
import type {
|
|
11
|
-
Service,
|
|
12
|
-
ServiceActions,
|
|
13
|
-
ServiceLifecycle,
|
|
14
|
-
} from "@/shared/types/Service.js";
|
|
15
|
-
import type { AgentContext } from "@/types/agent/AgentContext.js";
|
|
16
|
-
import type { ServiceStateRecord } from "@/shared/types/ServiceState.js";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* BaseService 抽象基类。
|
|
20
|
-
*
|
|
21
|
-
* 关键点(中文)
|
|
22
|
-
* - 保留统一 `Service` 契约。
|
|
23
|
-
* - 为实例字段状态(cronEngine / queueWorker / watchers / shellSessions)预留宿主引用。
|
|
24
|
-
*/
|
|
25
|
-
export abstract class BaseService implements Service {
|
|
26
|
-
/**
|
|
27
|
-
* 当前实例持有的通用 service 状态记录。
|
|
28
|
-
*
|
|
29
|
-
* 关键点(中文)
|
|
30
|
-
* - 通用 lifecycle 状态直接归属于 service 实例。
|
|
31
|
-
* - `ServiceStateController` 只负责读写,不再维护全局状态表。
|
|
32
|
-
*/
|
|
33
|
-
public readonly serviceStateRecord: ServiceStateRecord = {
|
|
34
|
-
state: "stopped",
|
|
35
|
-
updatedAt: Date.now(),
|
|
36
|
-
chain: Promise.resolve(),
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* 当前 service 所属的 agent 宿主。
|
|
41
|
-
*
|
|
42
|
-
* 关键点(中文)
|
|
43
|
-
* - 允许为空,仅用于静态装配与无宿主测试场景。
|
|
44
|
-
* - 真正运行中的 service 实例应始终绑定一个 agent。
|
|
45
|
-
*/
|
|
46
|
-
protected readonly agent: AgentRuntime | null;
|
|
47
|
-
|
|
48
|
-
constructor(agent: AgentRuntime | null) {
|
|
49
|
-
this.agent = agent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* 当前 service 名称。
|
|
54
|
-
*/
|
|
55
|
-
abstract readonly name: string;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* 当前 service 的 action 定义表。
|
|
59
|
-
*/
|
|
60
|
-
abstract readonly actions: ServiceActions;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 可选的 service 级 system 文本提供器。
|
|
64
|
-
*/
|
|
65
|
-
system?(context: AgentContext): string | Promise<string>;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* 可选的 service 生命周期定义。
|
|
69
|
-
*/
|
|
70
|
-
lifecycle?: ServiceLifecycle;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* 读取绑定的 agent 宿主。
|
|
74
|
-
*
|
|
75
|
-
* 关键点(中文)
|
|
76
|
-
* - 仅供后续真正 class service 在实例方法中读取宿主能力。
|
|
77
|
-
* - 未绑定 agent 时直接 fail-fast,避免静默读取 undefined。
|
|
78
|
-
*/
|
|
79
|
-
protected requireAgent(): AgentRuntime {
|
|
80
|
-
if (this.agent) return this.agent;
|
|
81
|
-
throw new Error(
|
|
82
|
-
`Service "${this.name}" is not bound to an agent instance.`,
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
}
|