@downcity/agent 1.1.10 → 1.1.12
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 +612 -139
- package/bin/config/Config.d.ts +1 -1
- package/bin/config/Config.d.ts.map +1 -1
- package/bin/config/Config.js +4 -5
- package/bin/config/Config.js.map +1 -1
- package/bin/config/DowncityDefault.d.ts +1 -1
- package/bin/config/DowncitySchema.d.ts +1 -1
- package/bin/config/DowncitySchema.d.ts.map +1 -1
- package/bin/config/Paths.d.ts +1 -1
- package/bin/config/Paths.js +2 -2
- package/bin/host/daemon/Api.d.ts +2 -2
- package/bin/host/daemon/Api.d.ts.map +1 -1
- package/bin/host/daemon/Api.js +1 -1
- package/bin/host/daemon/Client.js +2 -2
- package/bin/host/daemon/Client.js.map +1 -1
- package/bin/host/daemon/Paths.d.ts +20 -0
- package/bin/host/daemon/Paths.d.ts.map +1 -0
- package/bin/host/daemon/Paths.js +23 -0
- package/bin/host/daemon/Paths.js.map +1 -0
- package/bin/host/daemon/ProjectSetup.d.ts +1 -1
- package/bin/host/daemon/ProjectSetup.js +1 -1
- package/bin/host/daemon/ProjectSetup.js.map +1 -1
- package/bin/host/runtime/AgentHostRuntime.d.ts +1 -1
- package/bin/host/runtime/AgentHostRuntime.js +2 -2
- package/bin/host/runtime/PluginRuntime.d.ts +1 -1
- package/bin/host/runtime/PluginRuntime.d.ts.map +1 -1
- package/bin/index.d.ts +59 -77
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +42 -82
- package/bin/index.js.map +1 -1
- package/bin/model/CreateModel.d.ts +2 -2
- package/bin/model/CreateModel.js +1 -1
- package/bin/model/CreateModel.js.map +1 -1
- package/bin/model/ModelManager.d.ts +1 -1
- package/bin/plugin/builtins/asr/Config.d.ts +43 -0
- package/bin/plugin/builtins/asr/Config.d.ts.map +1 -0
- package/bin/plugin/builtins/asr/Config.js +107 -0
- package/bin/plugin/builtins/asr/Config.js.map +1 -0
- package/bin/plugin/builtins/asr/Dependency.d.ts +1 -1
- package/bin/plugin/builtins/asr/Dependency.d.ts.map +1 -1
- package/bin/plugin/builtins/asr/InboundAugment.d.ts +17 -0
- package/bin/plugin/builtins/asr/InboundAugment.d.ts.map +1 -0
- package/bin/plugin/builtins/asr/InboundAugment.js +47 -0
- package/bin/plugin/builtins/asr/InboundAugment.js.map +1 -0
- package/bin/plugin/builtins/asr/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/asr/Plugin.js +3 -126
- package/bin/plugin/builtins/asr/Plugin.js.map +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +2 -2
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +1 -1
- package/bin/plugin/builtins/skill/Config.d.ts +1 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +1 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +1 -1
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +1 -1
- package/bin/plugin/builtins/tts/Dependency.d.ts +1 -1
- package/bin/plugin/builtins/tts/Dependency.d.ts.map +1 -1
- package/bin/plugin/builtins/tts/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/tts/Plugin.js +1 -52
- package/bin/plugin/builtins/tts/Plugin.js.map +1 -1
- package/bin/plugin/builtins/tts/PluginSupport.d.ts +25 -0
- package/bin/plugin/builtins/tts/PluginSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/PluginSupport.js +72 -0
- package/bin/plugin/builtins/tts/PluginSupport.js.map +1 -0
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +1 -1
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +1 -1
- package/bin/plugin/builtins/voice/Config.d.ts +43 -0
- package/bin/plugin/builtins/voice/Config.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/Config.js +104 -0
- package/bin/plugin/builtins/voice/Config.js.map +1 -0
- package/bin/plugin/builtins/voice/Dependency.d.ts +1 -1
- package/bin/plugin/builtins/voice/Dependency.d.ts.map +1 -1
- package/bin/plugin/builtins/voice/InboundAugment.d.ts +17 -0
- package/bin/plugin/builtins/voice/InboundAugment.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/InboundAugment.js +47 -0
- package/bin/plugin/builtins/voice/InboundAugment.js.map +1 -0
- package/bin/plugin/builtins/voice/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/voice/Plugin.js +3 -123
- package/bin/plugin/builtins/voice/Plugin.js.map +1 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +1 -1
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +1 -1
- package/bin/plugin/builtins/web/runtime/Source.d.ts +1 -1
- package/bin/plugin/builtins/web/runtime/Source.d.ts.map +1 -1
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts +1 -1
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.js +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.js.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +2 -2
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts +1 -1
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +1 -1
- package/bin/plugin/core/Activation.d.ts +2 -2
- package/bin/plugin/core/Activation.d.ts.map +1 -1
- package/bin/plugin/core/HookRegistry.d.ts +2 -2
- package/bin/plugin/core/HookRegistry.d.ts.map +1 -1
- package/bin/plugin/core/HttpRoutes.d.ts +2 -2
- package/bin/plugin/core/HttpRoutes.d.ts.map +1 -1
- package/bin/plugin/core/LocalExecution.d.ts +1 -1
- package/bin/plugin/core/LocalExecution.d.ts.map +1 -1
- package/bin/plugin/core/LocalExecution.js +1 -1
- package/bin/plugin/core/LocalExecution.js.map +1 -1
- package/bin/plugin/core/PluginManager.d.ts +2 -2
- package/bin/plugin/core/PluginManager.js +2 -2
- package/bin/plugin/core/PluginRegistry.d.ts +2 -2
- package/bin/plugin/core/PluginRegistry.d.ts.map +1 -1
- package/bin/plugin/core/ProjectConfigStore.d.ts +1 -1
- package/bin/plugin/types/Plugin.d.ts +5 -5
- package/bin/plugin/types/Plugin.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.d.ts +1 -1
- package/bin/plugin/types/PluginApi.d.ts.map +1 -1
- package/bin/{agent/project → project}/AgentInitializer.d.ts +2 -2
- package/bin/project/AgentInitializer.d.ts.map +1 -0
- package/bin/{agent/project → project}/AgentInitializer.js +7 -7
- package/bin/project/AgentInitializer.js.map +1 -0
- package/bin/{agent/project → project}/ProjectExecutionBinding.d.ts +2 -2
- package/bin/project/ProjectExecutionBinding.d.ts.map +1 -0
- package/bin/project/ProjectExecutionBinding.js.map +1 -0
- package/bin/{agent/project → project}/types/AgentProject.d.ts +2 -2
- package/bin/project/types/AgentProject.d.ts.map +1 -0
- package/bin/project/types/AgentProject.js.map +1 -0
- package/bin/{agent → runtime}/AgentContext.d.ts +2 -2
- package/bin/runtime/AgentContext.d.ts.map +1 -0
- package/bin/{agent → runtime}/AgentContext.js +1 -1
- package/bin/runtime/AgentContext.js.map +1 -0
- package/bin/{agent → runtime}/AgentContextTypes.d.ts +4 -4
- package/bin/runtime/AgentContextTypes.d.ts.map +1 -0
- package/bin/runtime/AgentContextTypes.js.map +1 -0
- package/bin/{agent → runtime}/AgentRuntime.d.ts +4 -4
- package/bin/runtime/AgentRuntime.d.ts.map +1 -0
- package/bin/{agent → runtime}/AgentRuntime.js +6 -6
- package/bin/runtime/AgentRuntime.js.map +1 -0
- package/bin/{agent → runtime}/AgentRuntimeState.d.ts +3 -3
- package/bin/runtime/AgentRuntimeState.d.ts.map +1 -0
- package/bin/runtime/AgentRuntimeState.js.map +1 -0
- package/bin/{agent → runtime}/AgentRuntimeTypes.d.ts +2 -2
- package/bin/runtime/AgentRuntimeTypes.d.ts.map +1 -0
- package/bin/runtime/AgentRuntimeTypes.js.map +1 -0
- 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/{host/sdk → sdk}/Agent.d.ts +17 -12
- package/bin/sdk/Agent.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/Agent.js +73 -29
- package/bin/sdk/Agent.js.map +1 -0
- package/bin/{host/sdk → sdk}/AgentSdkTypes.d.ts +100 -5
- package/bin/sdk/AgentSdkTypes.d.ts.map +1 -0
- package/bin/sdk/AgentSdkTypes.js.map +1 -0
- package/bin/sdk/AsyncQueue.d.ts.map +1 -0
- package/bin/sdk/AsyncQueue.js.map +1 -0
- package/bin/{host/sdk → sdk}/HttpServer.d.ts +1 -1
- package/bin/sdk/HttpServer.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/HttpServer.js +8 -0
- package/bin/sdk/HttpServer.js.map +1 -0
- package/bin/sdk/Paths.d.ts.map +1 -0
- package/bin/sdk/Paths.js.map +1 -0
- package/bin/{host/sdk → sdk}/RemoteAgent.d.ts +6 -2
- package/bin/sdk/RemoteAgent.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/RemoteAgent.js +14 -0
- package/bin/sdk/RemoteAgent.js.map +1 -0
- package/bin/{host/sdk → sdk}/RpcServer.d.ts +1 -1
- package/bin/sdk/RpcServer.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/RpcServer.js +15 -1
- package/bin/sdk/RpcServer.js.map +1 -0
- package/bin/sdk/SdkSessionSystemComposer.d.ts +106 -0
- package/bin/sdk/SdkSessionSystemComposer.d.ts.map +1 -0
- package/bin/sdk/SdkSessionSystemComposer.js +150 -0
- package/bin/sdk/SdkSessionSystemComposer.js.map +1 -0
- package/bin/{host/sdk → sdk}/Session.d.ts +23 -18
- package/bin/sdk/Session.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/Session.js +86 -165
- package/bin/sdk/Session.js.map +1 -0
- package/bin/{host/sdk → sdk}/SessionMetadata.d.ts +5 -1
- package/bin/sdk/SessionMetadata.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/SessionMetadata.js +17 -1
- package/bin/sdk/SessionMetadata.js.map +1 -0
- package/bin/sdk/SessionPersistence.d.ts +63 -0
- package/bin/sdk/SessionPersistence.d.ts.map +1 -0
- package/bin/sdk/SessionPersistence.js +52 -0
- package/bin/sdk/SessionPersistence.js.map +1 -0
- package/bin/sdk/SessionServicePort.d.ts +34 -0
- package/bin/sdk/SessionServicePort.d.ts.map +1 -0
- package/bin/sdk/SessionServicePort.js +36 -0
- package/bin/sdk/SessionServicePort.js.map +1 -0
- package/bin/sdk/StreamEvents.d.ts +36 -0
- package/bin/sdk/StreamEvents.d.ts.map +1 -0
- package/bin/{host/sdk → sdk}/StreamEvents.js +27 -0
- package/bin/sdk/StreamEvents.js.map +1 -0
- package/bin/server/http/Server.d.ts.map +1 -0
- package/bin/{host → server}/http/Server.js +7 -7
- package/bin/server/http/Server.js.map +1 -0
- package/bin/server/http/auth/AuthEnv.d.ts.map +1 -0
- package/bin/server/http/auth/AuthEnv.js.map +1 -0
- package/bin/server/http/auth/AuthError.d.ts.map +1 -0
- package/bin/server/http/auth/AuthError.js.map +1 -0
- package/bin/server/http/auth/CliAuthStateStore.d.ts.map +1 -0
- package/bin/server/http/auth/CliAuthStateStore.js.map +1 -0
- package/bin/server/http/auth/PasswordHasher.d.ts.map +1 -0
- package/bin/server/http/auth/PasswordHasher.js.map +1 -0
- package/bin/server/http/auth/TokenService.d.ts.map +1 -0
- package/bin/server/http/auth/TokenService.js.map +1 -0
- package/bin/{host → server}/http/control/AuthControlService.d.ts +2 -2
- package/bin/server/http/control/AuthControlService.d.ts.map +1 -0
- package/bin/server/http/control/AuthControlService.js.map +1 -0
- package/bin/server/http/control/CommonHelpers.d.ts.map +1 -0
- package/bin/server/http/control/CommonHelpers.js.map +1 -0
- package/bin/{host → server}/http/control/ControlApiRoutes.d.ts +1 -1
- package/bin/server/http/control/ControlApiRoutes.d.ts.map +1 -0
- package/bin/{host → server}/http/control/ControlApiRoutes.js +5 -5
- package/bin/server/http/control/ControlApiRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/ControlAuthorizationRoutes.d.ts +1 -1
- package/bin/server/http/control/ControlAuthorizationRoutes.d.ts.map +1 -0
- package/bin/{host → server}/http/control/ControlAuthorizationRoutes.js +2 -2
- package/bin/server/http/control/ControlAuthorizationRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/ControlRouter.d.ts +1 -1
- package/bin/server/http/control/ControlRouter.d.ts.map +1 -0
- package/bin/{host → server}/http/control/ControlRouter.js +3 -3
- package/bin/server/http/control/ControlRouter.js.map +1 -0
- package/bin/{host → server}/http/control/ExecuteBySession.d.ts +3 -3
- package/bin/server/http/control/ExecuteBySession.d.ts.map +1 -0
- package/bin/server/http/control/ExecuteBySession.js.map +1 -0
- package/bin/{host → server}/http/control/ExecuteInput.d.ts +1 -1
- package/bin/server/http/control/ExecuteInput.d.ts.map +1 -0
- package/bin/server/http/control/ExecuteInput.js.map +1 -0
- package/bin/server/http/control/Helpers.d.ts.map +1 -0
- package/bin/{host/http/control/Helpers.d.ts.map → server/http/control/Helpers.js.map} +1 -1
- package/bin/{host → server}/http/control/MessageTimeline.d.ts +1 -1
- package/bin/server/http/control/MessageTimeline.d.ts.map +1 -0
- package/bin/server/http/control/MessageTimeline.js.map +1 -0
- package/bin/{host → server}/http/control/ModelRoutes.d.ts +1 -1
- package/bin/server/http/control/ModelRoutes.d.ts.map +1 -0
- package/bin/{host → server}/http/control/ModelRoutes.js +1 -1
- package/bin/server/http/control/ModelRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/OverviewRoutes.d.ts +1 -1
- package/bin/server/http/control/OverviewRoutes.d.ts.map +1 -0
- package/bin/server/http/control/OverviewRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/SessionRoutes.d.ts +1 -1
- package/bin/server/http/control/SessionRoutes.d.ts.map +1 -0
- package/bin/server/http/control/SessionRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/SessionSummaryStore.d.ts +2 -2
- package/bin/server/http/control/SessionSummaryStore.d.ts.map +1 -0
- package/bin/server/http/control/SessionSummaryStore.js.map +1 -0
- package/bin/{host → server}/http/control/TaskRoutes.d.ts +1 -1
- package/bin/server/http/control/TaskRoutes.d.ts.map +1 -0
- package/bin/server/http/control/TaskRoutes.js.map +1 -0
- package/bin/{host → server}/http/control/TaskStore.d.ts +1 -1
- package/bin/server/http/control/TaskStore.d.ts.map +1 -0
- package/bin/server/http/control/TaskStore.js.map +1 -0
- package/bin/server/http/control/types/AuthControl.d.ts.map +1 -0
- package/bin/server/http/control/types/AuthControl.js.map +1 -0
- package/bin/{host → server}/http/control/types/ControlRoutes.d.ts +2 -2
- package/bin/server/http/control/types/ControlRoutes.d.ts.map +1 -0
- package/bin/server/http/control/types/ControlRoutes.js.map +1 -0
- package/bin/server/http/control/types/ControlSessionExecute.d.ts.map +1 -0
- package/bin/server/http/control/types/ControlSessionExecute.js.map +1 -0
- package/bin/{host → server}/http/control/types/ControlViewData.d.ts +1 -1
- package/bin/server/http/control/types/ControlViewData.d.ts.map +1 -0
- package/bin/server/http/control/types/ControlViewData.js.map +1 -0
- package/bin/server/http/execute/execute.d.ts.map +1 -0
- package/bin/{host → server}/http/execute/execute.js +1 -1
- package/bin/server/http/execute/execute.js.map +1 -0
- package/bin/server/http/health/health.d.ts.map +1 -0
- package/bin/server/http/health/health.js.map +1 -0
- package/bin/server/http/plugins/plugins.d.ts.map +1 -0
- package/bin/{host → server}/http/plugins/plugins.js +1 -1
- package/bin/server/http/plugins/plugins.js.map +1 -0
- package/bin/server/http/services/services.d.ts.map +1 -0
- package/bin/{host → server}/http/services/services.js +1 -1
- package/bin/server/http/services/services.js.map +1 -0
- package/bin/server/http/static/static.d.ts.map +1 -0
- package/bin/{host → server}/http/static/static.js +1 -1
- package/bin/server/http/static/static.js.map +1 -0
- package/bin/{host → server}/rpc/Server.d.ts +3 -3
- package/bin/server/rpc/Server.d.ts.map +1 -0
- package/bin/{host → server}/rpc/Server.js +2 -2
- package/bin/server/rpc/Server.js.map +1 -0
- package/bin/service/builtins/BaseService.d.ts +2 -2
- package/bin/service/builtins/BaseService.d.ts.map +1 -1
- package/bin/service/builtins/chat/Action.d.ts +1 -1
- package/bin/service/builtins/chat/Action.d.ts.map +1 -1
- package/bin/service/builtins/chat/ChatService.d.ts +3 -3
- package/bin/service/builtins/chat/ChatService.d.ts.map +1 -1
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts +2 -2
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +1 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +2 -2
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.js +39 -171
- package/bin/service/builtins/chat/channels/feishu/Feishu.js.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +155 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js +247 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js +1 -1
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts +5 -5
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQ.js +33 -231
- package/bin/service/builtins/chat/channels/qq/QQ.js.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -24
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js +68 -227
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts +65 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.js +110 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +59 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js +58 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +86 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js +93 -0
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts +129 -0
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.js +284 -0
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.js +1 -1
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts +1 -1
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/telegram/Bot.js +35 -293
- package/bin/service/builtins/chat/channels/telegram/Bot.js.map +1 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +142 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js +267 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +55 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.js +125 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +1 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +3 -11
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionInput.js +3 -232
- package/bin/service/builtins/chat/runtime/ChatActionInput.js.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.d.ts +33 -0
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.js +66 -0
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +3 -3
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts +3 -3
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatMetaStore.js +2 -2
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts +23 -0
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.js +205 -0
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatkeySend.js +1 -1
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatHistory.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChatMeta.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatMeta.js +1 -1
- package/bin/service/builtins/chat/types/ChatQueue.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChatService.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatService.d.ts.map +1 -1
- package/bin/service/builtins/contact/Action.d.ts +57 -4
- package/bin/service/builtins/contact/Action.d.ts.map +1 -1
- package/bin/service/builtins/contact/Action.js +272 -4
- package/bin/service/builtins/contact/Action.js.map +1 -1
- package/bin/service/builtins/contact/ContactService.d.ts +1 -1
- package/bin/service/builtins/contact/ContactService.d.ts.map +1 -1
- package/bin/service/builtins/contact/ContactService.js +19 -293
- package/bin/service/builtins/contact/ContactService.js.map +1 -1
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts +1 -1
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts.map +1 -1
- package/bin/service/builtins/contact/runtime/ContactPayload.d.ts +24 -0
- package/bin/service/builtins/contact/runtime/ContactPayload.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ContactPayload.js +32 -0
- package/bin/service/builtins/contact/runtime/ContactPayload.js.map +1 -0
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +1 -1
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +1 -1
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts +1 -1
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts.map +1 -1
- package/bin/service/builtins/memory/Action.d.ts +2 -2
- package/bin/service/builtins/memory/Action.d.ts.map +1 -1
- package/bin/service/builtins/memory/MemoryService.d.ts +1 -1
- package/bin/service/builtins/memory/MemoryService.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Flush.d.ts +1 -1
- package/bin/service/builtins/memory/runtime/Flush.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Search.d.ts +1 -1
- package/bin/service/builtins/memory/runtime/Search.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Store.d.ts +1 -1
- package/bin/service/builtins/memory/runtime/Store.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts +1 -1
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Writer.d.ts +1 -1
- package/bin/service/builtins/memory/runtime/Writer.d.ts.map +1 -1
- package/bin/service/builtins/memory/types/Memory.d.ts +1 -1
- package/bin/service/builtins/memory/types/Memory.d.ts.map +1 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +1 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts.map +1 -1
- package/bin/service/builtins/shell/ShellService.d.ts +2 -2
- package/bin/service/builtins/shell/ShellService.d.ts.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts +52 -0
- package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionResponse.js +73 -0
- package/bin/service/builtins/shell/runtime/ShellActionResponse.js.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +3 -26
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +4 -32
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +3 -131
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts +22 -0
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.js +41 -0
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.js.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +21 -0
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +1 -0
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js +75 -0
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +1 -0
- package/bin/service/builtins/task/Action.d.ts +1 -1
- package/bin/service/builtins/task/Action.d.ts.map +1 -1
- package/bin/service/builtins/task/Scheduler.d.ts +1 -1
- package/bin/service/builtins/task/Scheduler.d.ts.map +1 -1
- package/bin/service/builtins/task/TaskService.d.ts +2 -2
- package/bin/service/builtins/task/TaskService.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts +1 -1
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/Model.d.ts +1 -1
- package/bin/service/builtins/task/runtime/Model.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/Paths.d.ts +1 -1
- package/bin/service/builtins/task/runtime/Paths.js +1 -1
- package/bin/service/builtins/task/runtime/Runner.d.ts +1 -1
- package/bin/service/builtins/task/runtime/Runner.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/Runner.js +17 -64
- package/bin/service/builtins/task/runtime/Runner.js.map +1 -1
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +2 -2
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts +81 -0
- package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerScript.js +96 -0
- package/bin/service/builtins/task/runtime/TaskRunnerScript.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts.map +1 -1
- package/bin/service/core/Manager.d.ts +3 -3
- package/bin/service/core/Manager.js +3 -3
- package/bin/service/core/ServiceActionApi.d.ts +1 -1
- package/bin/service/core/ServiceActionApi.d.ts.map +1 -1
- package/bin/service/core/ServiceActionRunner.d.ts +2 -2
- package/bin/service/core/ServiceActionRunner.d.ts.map +1 -1
- package/bin/service/core/ServiceClassRegistry.d.ts +1 -1
- package/bin/service/core/ServiceClassRegistry.d.ts.map +1 -1
- package/bin/service/core/ServiceManager.d.ts +2 -2
- package/bin/service/core/ServiceManager.js +2 -2
- package/bin/service/core/ServiceStateController.d.ts +1 -1
- package/bin/service/core/ServiceStateController.d.ts.map +1 -1
- package/bin/service/core/ServiceStateController.js +1 -1
- package/bin/service/core/ServiceStateController.js.map +1 -1
- package/bin/service/core/ServiceSystemProviders.d.ts +1 -1
- package/bin/service/core/ServiceSystemProviders.d.ts.map +1 -1
- package/bin/service/core/Services.d.ts +1 -1
- package/bin/service/core/Services.d.ts.map +1 -1
- package/bin/service/schedule/Executor.d.ts +1 -1
- package/bin/service/schedule/Executor.d.ts.map +1 -1
- package/bin/service/schedule/Runtime.d.ts +1 -1
- package/bin/service/schedule/Runtime.d.ts.map +1 -1
- package/bin/service/types/Service.d.ts +2 -2
- package/bin/service/types/Service.d.ts.map +1 -1
- package/bin/service/types/ServiceSchedule.d.ts +1 -1
- package/bin/service/types/ServiceSchedule.d.ts.map +1 -1
- package/bin/service/types/ServiceState.d.ts +1 -1
- package/bin/service/types/ServiceState.js +1 -1
- package/bin/service/types/Services.d.ts +1 -1
- package/bin/service/types/Services.d.ts.map +1 -1
- package/bin/session/Session.d.ts +1 -1
- package/bin/session/Session.d.ts.map +1 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +1 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.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/executors/local/LocalSessionCore.d.ts +1 -9
- package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -1
- package/bin/session/executors/local/LocalSessionCore.js +8 -392
- package/bin/session/executors/local/LocalSessionCore.js.map +1 -1
- package/bin/session/executors/local/SessionExecutionError.d.ts +26 -0
- package/bin/session/executors/local/SessionExecutionError.d.ts.map +1 -0
- package/bin/session/executors/local/SessionExecutionError.js +34 -0
- package/bin/session/executors/local/SessionExecutionError.js.map +1 -0
- package/bin/session/executors/local/SessionModelMessageState.d.ts +63 -0
- package/bin/session/executors/local/SessionModelMessageState.d.ts.map +1 -0
- package/bin/session/executors/local/SessionModelMessageState.js +90 -0
- package/bin/session/executors/local/SessionModelMessageState.js.map +1 -0
- package/bin/session/executors/local/SessionSignals.d.ts +1 -1
- package/bin/session/executors/local/SessionSignals.d.ts.map +1 -1
- package/bin/session/executors/local/SessionToolLoopRunner.d.ts +44 -0
- package/bin/session/executors/local/SessionToolLoopRunner.d.ts.map +1 -0
- package/bin/session/executors/local/SessionToolLoopRunner.js +261 -0
- package/bin/session/executors/local/SessionToolLoopRunner.js.map +1 -0
- package/bin/session/executors/local/SessionUiStreamCollector.d.ts +33 -0
- package/bin/session/executors/local/SessionUiStreamCollector.d.ts.map +1 -0
- package/bin/session/executors/local/SessionUiStreamCollector.js +64 -0
- package/bin/session/executors/local/SessionUiStreamCollector.js.map +1 -0
- 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 +1 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +1 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +1 -1
- package/bin/session/tools/shell/ShellToolFormatting.js.map +1 -1
- package/bin/session/types/SessionHistoryMeta.d.ts +2 -0
- package/bin/session/types/SessionHistoryMeta.d.ts.map +1 -1
- package/bin/session/types/SessionMessages.d.ts +1 -1
- package/bin/session/types/SessionMessages.d.ts.map +1 -1
- package/bin/transport/rpc/Client.d.ts.map +1 -0
- package/bin/transport/rpc/Client.js.map +1 -0
- package/bin/transport/rpc/Paths.d.ts.map +1 -0
- package/bin/{host → transport}/rpc/Paths.js +21 -2
- package/bin/transport/rpc/Paths.js.map +1 -0
- package/bin/transport/rpc/Transport.d.ts.map +1 -0
- package/bin/transport/rpc/Transport.js.map +1 -0
- package/bin/types/auth/AuthPermission.d.ts.map +1 -0
- package/bin/types/auth/AuthPermission.js.map +1 -0
- package/bin/types/auth/AuthRoute.d.ts.map +1 -0
- package/bin/types/auth/AuthRoute.js.map +1 -0
- package/bin/types/auth/AuthToken.d.ts.map +1 -0
- package/bin/types/auth/AuthToken.js.map +1 -0
- package/bin/types/auth/AuthTypes.d.ts.map +1 -0
- package/bin/types/auth/AuthTypes.js.map +1 -0
- package/bin/types/common/Json.d.ts.map +1 -0
- package/bin/types/common/Json.js.map +1 -0
- package/bin/types/common/Template.d.ts.map +1 -0
- package/bin/types/common/Template.js.map +1 -0
- package/bin/{config/types → types/config}/DowncityConfig.d.ts +3 -3
- package/bin/{config/types → types/config}/DowncityConfig.d.ts.map +1 -1
- package/bin/types/config/DowncityConfig.js.map +1 -0
- package/bin/{config/types → types/config}/ExecutionBinding.d.ts.map +1 -1
- package/bin/types/config/ExecutionBinding.js.map +1 -0
- package/bin/{config/types → types/config}/LlmConfig.d.ts.map +1 -1
- package/bin/types/config/LlmConfig.js.map +1 -0
- package/bin/{config/types → types/config}/ModelBinding.d.ts.map +1 -1
- package/bin/types/config/ModelBinding.js.map +1 -0
- package/bin/{config/types → types/config}/Start.d.ts.map +1 -1
- package/bin/types/config/Start.js.map +1 -0
- package/bin/{host/daemon/types → types/daemon}/Daemon.d.ts +1 -1
- package/bin/types/daemon/Daemon.d.ts.map +1 -0
- package/bin/{host/daemon/types → types/daemon}/Daemon.js +1 -1
- package/bin/types/daemon/Daemon.js.map +1 -0
- package/bin/{host/types → types/host}/AgentHost.d.ts +6 -6
- package/bin/{host/types → types/host}/AgentHost.d.ts.map +1 -1
- package/bin/types/host/AgentHost.js +10 -0
- package/bin/types/host/AgentHost.js.map +1 -0
- package/bin/{host/types → types/host}/Store.d.ts +1 -1
- package/bin/{host/types → types/host}/Store.d.ts.map +1 -1
- package/bin/{host/types → types/host}/Store.js.map +1 -1
- package/bin/types/http/InlineInstant.d.ts.map +1 -0
- package/bin/types/http/InlineInstant.js.map +1 -0
- package/bin/types/platform/Platform.d.ts.map +1 -0
- package/bin/types/platform/Platform.js.map +1 -0
- package/bin/types/platform/PlatformGateway.d.ts.map +1 -0
- package/bin/types/platform/PlatformGateway.js.map +1 -0
- package/bin/{host/rpc/types → types/rpc}/LocalRpc.d.ts +2 -2
- package/bin/types/rpc/LocalRpc.d.ts.map +1 -0
- package/bin/types/rpc/LocalRpc.js.map +1 -0
- package/bin/utils/Template.d.ts +1 -1
- package/bin/utils/Template.d.ts.map +1 -1
- package/bin/utils/logger/Fetch.d.ts +1 -1
- package/bin/utils/logger/Fetch.d.ts.map +1 -1
- package/bin/utils/logger/FormatRequest.d.ts +1 -1
- package/bin/utils/logger/FormatRequest.d.ts.map +1 -1
- package/bin/utils/logger/FormatRequest.js +1 -1
- package/bin/utils/logger/FormatRequest.js.map +1 -1
- package/bin/utils/logger/FormatResponse.d.ts +1 -1
- package/bin/utils/logger/FormatResponse.d.ts.map +1 -1
- package/bin/utils/logger/FormatShared.d.ts +1 -1
- package/bin/utils/logger/FormatShared.d.ts.map +1 -1
- package/bin/utils/logger/Logger.d.ts +1 -1
- package/bin/utils/logger/Logger.d.ts.map +1 -1
- package/bin/utils/storage/index.d.ts +1 -1
- package/bin/utils/storage/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/config/Config.ts +6 -7
- package/src/config/DowncityDefault.ts +1 -1
- package/src/config/DowncitySchema.ts +1 -1
- package/src/config/Paths.ts +2 -2
- package/src/host/daemon/Api.ts +2 -2
- package/src/host/daemon/Client.ts +3 -3
- package/src/host/daemon/Paths.ts +33 -0
- package/src/host/daemon/ProjectSetup.ts +2 -2
- package/src/host/runtime/AgentHostRuntime.ts +4 -4
- package/src/host/runtime/PluginRuntime.ts +1 -1
- package/src/index.ts +280 -159
- package/src/model/CreateModel.ts +4 -4
- package/src/model/ModelManager.ts +1 -1
- package/src/plugin/builtins/asr/Config.ts +138 -0
- package/src/plugin/builtins/asr/Dependency.ts +1 -1
- package/src/plugin/builtins/asr/InboundAugment.ts +59 -0
- package/src/plugin/builtins/asr/Plugin.ts +9 -160
- package/src/plugin/builtins/auth/Plugin.ts +1 -1
- package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +1 -1
- package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +2 -2
- package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +1 -1
- package/src/plugin/builtins/skill/Action.ts +1 -1
- package/src/plugin/builtins/skill/Config.ts +1 -1
- package/src/plugin/builtins/skill/Plugin.ts +1 -1
- package/src/plugin/builtins/skill/runtime/Discovery.ts +1 -1
- package/src/plugin/builtins/skill/runtime/SystemProvider.ts +1 -1
- package/src/plugin/builtins/skill/types/ClaudeSkill.ts +1 -1
- package/src/plugin/builtins/tts/Dependency.ts +1 -1
- package/src/plugin/builtins/tts/Plugin.ts +6 -63
- package/src/plugin/builtins/tts/PluginSupport.ts +85 -0
- package/src/plugin/builtins/tts/types/TtsPlugin.ts +1 -1
- package/src/plugin/builtins/voice/Config.ts +135 -0
- package/src/plugin/builtins/voice/Dependency.ts +1 -1
- package/src/plugin/builtins/voice/InboundAugment.ts +59 -0
- package/src/plugin/builtins/voice/Plugin.ts +9 -158
- package/src/plugin/builtins/voice/types/VoicePlugin.ts +1 -1
- package/src/plugin/builtins/web/Plugin.ts +1 -1
- package/src/plugin/builtins/web/runtime/Config.ts +1 -1
- package/src/plugin/builtins/web/runtime/Source.ts +1 -1
- package/src/plugin/builtins/web/types/WebPlugin.ts +1 -1
- package/src/plugin/builtins/workboard/runtime/Collector.ts +2 -2
- package/src/plugin/builtins/workboard/runtime/Normalizer.ts +2 -2
- package/src/plugin/builtins/workboard/runtime/Store.ts +1 -1
- package/src/plugin/core/Activation.ts +2 -2
- package/src/plugin/core/HookRegistry.ts +2 -2
- package/src/plugin/core/HttpRoutes.ts +2 -2
- package/src/plugin/core/LocalExecution.ts +2 -2
- package/src/plugin/core/PluginCommand.ts +1 -1
- package/src/plugin/core/PluginManager.ts +2 -2
- package/src/plugin/core/PluginRegistry.ts +2 -2
- package/src/plugin/core/ProjectConfigStore.ts +1 -1
- package/src/plugin/types/Plugin.ts +5 -5
- package/src/plugin/types/PluginApi.ts +1 -1
- package/src/{agent/project → project}/AgentInitializer.ts +4 -4
- package/src/{agent/project → project}/ProjectExecutionBinding.ts +2 -2
- package/src/{agent/project → project}/types/AgentProject.ts +2 -2
- package/src/{agent → runtime}/AgentContext.ts +4 -4
- package/src/{agent → runtime}/AgentContextTypes.ts +4 -4
- package/src/{agent → runtime}/AgentRuntime.ts +8 -8
- package/src/{agent → runtime}/AgentRuntimeState.ts +4 -4
- package/src/{agent → runtime}/AgentRuntimeTypes.ts +2 -2
- package/src/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/sandbox/SandboxRunner.ts +1 -1
- package/src/{host/sdk → sdk}/Agent.ts +80 -28
- package/src/{host/sdk → sdk}/AgentSdkTypes.ts +115 -2
- package/src/{host/sdk → sdk}/HttpServer.ts +10 -1
- package/src/{host/sdk → sdk}/RemoteAgent.ts +25 -1
- package/src/{host/sdk → sdk}/RpcServer.ts +21 -3
- package/src/sdk/SdkSessionSystemComposer.ts +261 -0
- package/src/{host/sdk → sdk}/Session.ts +103 -178
- package/src/{host/sdk → sdk}/SessionMetadata.ts +19 -1
- package/src/sdk/SessionPersistence.ts +113 -0
- package/src/sdk/SessionServicePort.ts +62 -0
- package/src/{host/sdk → sdk}/StreamEvents.ts +45 -2
- package/src/{host → server}/http/Server.ts +7 -7
- package/src/{host → server}/http/control/AuthControlService.ts +3 -3
- package/src/{host → server}/http/control/ControlApiRoutes.ts +6 -6
- package/src/{host → server}/http/control/ControlAuthorizationRoutes.ts +3 -3
- package/src/{host → server}/http/control/ControlRouter.ts +3 -3
- package/src/{host → server}/http/control/ExecuteBySession.ts +4 -4
- package/src/{host → server}/http/control/ExecuteInput.ts +1 -1
- package/src/{host → server}/http/control/MessageTimeline.ts +1 -1
- package/src/{host → server}/http/control/ModelRoutes.ts +2 -2
- package/src/{host → server}/http/control/OverviewRoutes.ts +1 -1
- package/src/{host → server}/http/control/SessionRoutes.ts +2 -2
- package/src/{host → server}/http/control/SessionSummaryStore.ts +2 -2
- package/src/{host → server}/http/control/TaskRoutes.ts +1 -1
- package/src/{host → server}/http/control/TaskStore.ts +1 -1
- package/src/{host → server}/http/control/types/ControlRoutes.ts +2 -2
- package/src/{host → server}/http/control/types/ControlViewData.ts +1 -1
- package/src/{host → server}/http/execute/execute.ts +1 -1
- package/src/{host → server}/http/plugins/plugins.ts +1 -1
- package/src/{host → server}/http/services/services.ts +1 -1
- package/src/{host → server}/http/static/static.ts +1 -1
- package/src/{host → server}/rpc/Server.ts +7 -7
- package/src/service/builtins/BaseService.ts +2 -2
- package/src/service/builtins/README.md +32 -11
- package/src/service/builtins/chat/Action.ts +1 -1
- package/src/service/builtins/chat/ChatService.ts +3 -3
- package/src/service/builtins/chat/ChatServiceTypes.ts +2 -2
- package/src/service/builtins/chat/accounts/ChannelAccountService.ts +2 -2
- package/src/service/builtins/chat/channels/BaseChatChannel.ts +1 -1
- package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +2 -2
- package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +2 -2
- package/src/service/builtins/chat/channels/feishu/Feishu.ts +65 -232
- package/src/service/builtins/chat/channels/feishu/FeishuMessageHandler.ts +483 -0
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +1 -1
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +1 -1
- package/src/service/builtins/chat/channels/feishu/types/FeishuChannel.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQ.ts +56 -291
- package/src/service/builtins/chat/channels/qq/QQGatewayClient.ts +76 -250
- package/src/service/builtins/chat/channels/qq/QQGatewayConnection.ts +175 -0
- package/src/service/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +114 -0
- package/src/service/builtins/chat/channels/qq/QQGatewayProtocol.ts +176 -0
- package/src/service/builtins/chat/channels/qq/QQGatewaySupport.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQInbound.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQMessageHandler.ts +465 -0
- package/src/service/builtins/chat/channels/qq/QQSendSupport.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQSupport.ts +2 -2
- package/src/service/builtins/chat/channels/qq/types/QqChannel.ts +2 -2
- package/src/service/builtins/chat/channels/telegram/Bot.ts +57 -352
- package/src/service/builtins/chat/channels/telegram/StateStore.ts +1 -1
- package/src/service/builtins/chat/channels/telegram/TelegramMessageHandler.ts +485 -0
- package/src/service/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +204 -0
- package/src/service/builtins/chat/channels/telegram/TelegramPlatformClient.ts +1 -1
- package/src/service/builtins/chat/runtime/ChannelContextStore.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatActionExecution.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatActionInput.ts +14 -281
- package/src/service/builtins/chat/runtime/ChatActionInputSupport.ts +85 -0
- package/src/service/builtins/chat/runtime/ChatChannelActions.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatChannelCore.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatIngressStore.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatMetaStore.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatQueueReplyDispatch.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatQueueStore.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatSendActionInput.ts +255 -0
- package/src/service/builtins/chat/runtime/ChatServiceActions.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatSessionDelete.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatkeySend.ts +2 -2
- package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/InboundAugment.ts +2 -2
- package/src/service/builtins/chat/runtime/PluginDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +1 -1
- package/src/service/builtins/chat/runtime/ReplyDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/SystemPrompt.ts +1 -1
- package/src/service/builtins/chat/runtime/UIMessageTransformer.ts +1 -1
- package/src/service/builtins/chat/types/ChannelAccount.ts +1 -1
- package/src/service/builtins/chat/types/ChatHistory.ts +1 -1
- package/src/service/builtins/chat/types/ChatMeta.ts +1 -1
- package/src/service/builtins/chat/types/ChatQueue.ts +1 -1
- package/src/service/builtins/chat/types/ChatService.ts +1 -1
- package/src/service/builtins/contact/Action.ts +368 -4
- package/src/service/builtins/contact/ContactService.ts +30 -324
- package/src/service/builtins/contact/runtime/ChatRuntime.ts +1 -1
- package/src/service/builtins/contact/runtime/ContactPayload.ts +38 -0
- package/src/service/builtins/contact/runtime/RemoteClient.ts +1 -1
- package/src/service/builtins/contact/runtime/ShareBundle.ts +1 -1
- package/src/service/builtins/memory/Action.ts +2 -2
- package/src/service/builtins/memory/MemoryService.ts +2 -2
- package/src/service/builtins/memory/runtime/Flush.ts +1 -1
- package/src/service/builtins/memory/runtime/Search.ts +1 -1
- package/src/service/builtins/memory/runtime/Store.ts +1 -1
- package/src/service/builtins/memory/runtime/SystemProvider.ts +1 -1
- package/src/service/builtins/memory/runtime/Writer.ts +1 -1
- package/src/service/builtins/memory/types/Memory.ts +1 -1
- package/src/service/builtins/shell/ShellRuntimeTypes.ts +1 -1
- package/src/service/builtins/shell/ShellService.ts +2 -2
- package/src/service/builtins/shell/runtime/ShellActionResponse.ts +135 -0
- package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +3 -38
- package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +11 -165
- package/src/service/builtins/shell/runtime/ShellProcessEvents.ts +65 -0
- package/src/service/builtins/shell/runtime/ShellRuntimeEnvironment.ts +75 -0
- package/src/service/builtins/task/Action.ts +2 -2
- package/src/service/builtins/task/Scheduler.ts +1 -1
- package/src/service/builtins/task/TaskService.ts +2 -2
- package/src/service/builtins/task/runtime/CronRuntime.ts +1 -1
- package/src/service/builtins/task/runtime/Model.ts +1 -1
- package/src/service/builtins/task/runtime/Paths.ts +1 -1
- package/src/service/builtins/task/runtime/Runner.ts +17 -63
- package/src/service/builtins/task/runtime/TaskActionExecution.ts +1 -1
- package/src/service/builtins/task/runtime/TaskActionInput.ts +1 -1
- package/src/service/builtins/task/runtime/TaskRunChatDispatch.ts +1 -1
- package/src/service/builtins/task/runtime/TaskRunnerRound.ts +3 -3
- package/src/service/builtins/task/runtime/TaskRunnerScript.ts +175 -0
- package/src/service/builtins/task/runtime/TaskRunnerSession.ts +1 -1
- package/src/service/core/Manager.ts +3 -3
- package/src/service/core/ServiceActionApi.ts +2 -2
- package/src/service/core/ServiceActionRunner.ts +2 -2
- package/src/service/core/ServiceClassRegistry.ts +1 -1
- package/src/service/core/ServiceManager.ts +2 -2
- package/src/service/core/ServiceStateController.ts +2 -2
- package/src/service/core/ServiceSystemProviders.ts +1 -1
- package/src/service/core/Services.ts +1 -1
- package/src/service/schedule/Executor.ts +1 -1
- package/src/service/schedule/Runtime.ts +1 -1
- package/src/service/schedule/Store.ts +1 -1
- package/src/service/types/Service.ts +2 -2
- package/src/service/types/ServiceSchedule.ts +1 -1
- package/src/service/types/ServiceState.ts +1 -1
- package/src/service/types/Services.ts +1 -1
- package/src/session/Session.ts +1 -1
- package/src/session/composer/history/SessionHistoryWriter.ts +1 -1
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +1 -1
- package/src/session/composer/system/default/SystemDomain.ts +1 -1
- package/src/session/executors/local/LocalSessionCore.ts +10 -498
- package/src/session/executors/local/SessionExecutionError.ts +47 -0
- package/src/session/executors/local/SessionModelMessageState.ts +133 -0
- package/src/session/executors/local/SessionSignals.ts +1 -1
- package/src/session/executors/local/SessionToolLoopRunner.ts +350 -0
- package/src/session/executors/local/SessionUiStreamCollector.ts +96 -0
- package/src/session/messages/SessionStepEventMapper.ts +1 -1
- package/src/session/tools/shell/ShellToolBridge.ts +2 -2
- package/src/session/tools/shell/ShellToolDefinition.ts +1 -1
- package/src/session/tools/shell/ShellToolFormatting.ts +1 -1
- package/src/session/types/SessionHistoryMeta.ts +2 -0
- package/src/session/types/SessionMessages.ts +1 -1
- package/src/{host → transport}/rpc/Client.ts +1 -1
- package/src/{host → transport}/rpc/Paths.ts +22 -2
- package/src/{config/types → types/config}/DowncityConfig.ts +3 -3
- package/src/{host/daemon/types → types/daemon}/Daemon.ts +1 -1
- package/src/{host/types → types/host}/AgentHost.ts +6 -6
- package/src/{host/types → types/host}/Store.ts +1 -1
- package/src/{host/rpc/types → types/rpc}/LocalRpc.ts +1 -1
- package/src/utils/Template.ts +1 -1
- package/src/utils/logger/Fetch.ts +1 -1
- package/src/utils/logger/FormatRequest.ts +2 -2
- package/src/utils/logger/FormatResponse.ts +1 -1
- package/src/utils/logger/FormatShared.ts +1 -1
- package/src/utils/logger/Logger.ts +1 -1
- package/src/utils/storage/index.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/agent/AgentContext.d.ts.map +0 -1
- package/bin/agent/AgentContext.js.map +0 -1
- package/bin/agent/AgentContextTypes.d.ts.map +0 -1
- package/bin/agent/AgentContextTypes.js.map +0 -1
- package/bin/agent/AgentRuntime.d.ts.map +0 -1
- package/bin/agent/AgentRuntime.js.map +0 -1
- package/bin/agent/AgentRuntimeState.d.ts.map +0 -1
- package/bin/agent/AgentRuntimeState.js.map +0 -1
- package/bin/agent/AgentRuntimeTypes.d.ts.map +0 -1
- package/bin/agent/AgentRuntimeTypes.js.map +0 -1
- package/bin/agent/project/AgentInitializer.d.ts.map +0 -1
- package/bin/agent/project/AgentInitializer.js.map +0 -1
- package/bin/agent/project/ProjectExecutionBinding.d.ts.map +0 -1
- package/bin/agent/project/ProjectExecutionBinding.js.map +0 -1
- package/bin/agent/project/types/AgentProject.d.ts.map +0 -1
- package/bin/agent/project/types/AgentProject.js.map +0 -1
- package/bin/config/types/DowncityConfig.js.map +0 -1
- package/bin/config/types/ExecutionBinding.js.map +0 -1
- package/bin/config/types/LlmConfig.js.map +0 -1
- package/bin/config/types/ModelBinding.js.map +0 -1
- package/bin/config/types/Start.js.map +0 -1
- package/bin/host/daemon/Manager.d.ts +0 -92
- package/bin/host/daemon/Manager.d.ts.map +0 -1
- package/bin/host/daemon/Manager.js +0 -287
- package/bin/host/daemon/Manager.js.map +0 -1
- package/bin/host/daemon/types/Daemon.d.ts.map +0 -1
- package/bin/host/daemon/types/Daemon.js.map +0 -1
- package/bin/host/http/Server.d.ts.map +0 -1
- package/bin/host/http/Server.js.map +0 -1
- package/bin/host/http/auth/AuthEnv.d.ts.map +0 -1
- package/bin/host/http/auth/AuthEnv.js.map +0 -1
- package/bin/host/http/auth/AuthError.d.ts.map +0 -1
- package/bin/host/http/auth/AuthError.js.map +0 -1
- package/bin/host/http/auth/CliAuthStateStore.d.ts.map +0 -1
- package/bin/host/http/auth/CliAuthStateStore.js.map +0 -1
- package/bin/host/http/auth/PasswordHasher.d.ts.map +0 -1
- package/bin/host/http/auth/PasswordHasher.js.map +0 -1
- package/bin/host/http/auth/TokenService.d.ts.map +0 -1
- package/bin/host/http/auth/TokenService.js.map +0 -1
- package/bin/host/http/auth/types/AuthPermission.d.ts.map +0 -1
- package/bin/host/http/auth/types/AuthPermission.js.map +0 -1
- package/bin/host/http/auth/types/AuthRoute.d.ts.map +0 -1
- package/bin/host/http/auth/types/AuthRoute.js.map +0 -1
- package/bin/host/http/auth/types/AuthToken.d.ts.map +0 -1
- package/bin/host/http/auth/types/AuthToken.js.map +0 -1
- package/bin/host/http/auth/types/AuthTypes.d.ts.map +0 -1
- package/bin/host/http/auth/types/AuthTypes.js.map +0 -1
- package/bin/host/http/control/AuthControlService.d.ts.map +0 -1
- package/bin/host/http/control/AuthControlService.js.map +0 -1
- package/bin/host/http/control/CommonHelpers.d.ts.map +0 -1
- package/bin/host/http/control/CommonHelpers.js.map +0 -1
- package/bin/host/http/control/ControlApiRoutes.d.ts.map +0 -1
- package/bin/host/http/control/ControlApiRoutes.js.map +0 -1
- package/bin/host/http/control/ControlAuthorizationRoutes.d.ts.map +0 -1
- package/bin/host/http/control/ControlAuthorizationRoutes.js.map +0 -1
- package/bin/host/http/control/ControlRouter.d.ts.map +0 -1
- package/bin/host/http/control/ControlRouter.js.map +0 -1
- package/bin/host/http/control/ExecuteBySession.d.ts.map +0 -1
- package/bin/host/http/control/ExecuteBySession.js.map +0 -1
- package/bin/host/http/control/ExecuteInput.d.ts.map +0 -1
- package/bin/host/http/control/ExecuteInput.js.map +0 -1
- package/bin/host/http/control/Helpers.js.map +0 -1
- package/bin/host/http/control/MessageTimeline.d.ts.map +0 -1
- package/bin/host/http/control/MessageTimeline.js.map +0 -1
- package/bin/host/http/control/ModelRoutes.d.ts.map +0 -1
- package/bin/host/http/control/ModelRoutes.js.map +0 -1
- package/bin/host/http/control/OverviewRoutes.d.ts.map +0 -1
- package/bin/host/http/control/OverviewRoutes.js.map +0 -1
- package/bin/host/http/control/SessionRoutes.d.ts.map +0 -1
- package/bin/host/http/control/SessionRoutes.js.map +0 -1
- package/bin/host/http/control/SessionSummaryStore.d.ts.map +0 -1
- package/bin/host/http/control/SessionSummaryStore.js.map +0 -1
- package/bin/host/http/control/TaskRoutes.d.ts.map +0 -1
- package/bin/host/http/control/TaskRoutes.js.map +0 -1
- package/bin/host/http/control/TaskStore.d.ts.map +0 -1
- package/bin/host/http/control/TaskStore.js.map +0 -1
- package/bin/host/http/control/types/AuthControl.d.ts.map +0 -1
- package/bin/host/http/control/types/AuthControl.js.map +0 -1
- package/bin/host/http/control/types/ControlRoutes.d.ts.map +0 -1
- package/bin/host/http/control/types/ControlRoutes.js.map +0 -1
- package/bin/host/http/control/types/ControlSessionExecute.d.ts.map +0 -1
- package/bin/host/http/control/types/ControlSessionExecute.js.map +0 -1
- package/bin/host/http/control/types/ControlViewData.d.ts.map +0 -1
- package/bin/host/http/control/types/ControlViewData.js.map +0 -1
- package/bin/host/http/execute/execute.d.ts.map +0 -1
- package/bin/host/http/execute/execute.js.map +0 -1
- package/bin/host/http/execute/types/InlineInstant.d.ts.map +0 -1
- package/bin/host/http/execute/types/InlineInstant.js.map +0 -1
- package/bin/host/http/health/health.d.ts.map +0 -1
- package/bin/host/http/health/health.js.map +0 -1
- package/bin/host/http/plugins/plugins.d.ts.map +0 -1
- package/bin/host/http/plugins/plugins.js.map +0 -1
- package/bin/host/http/services/services.d.ts.map +0 -1
- package/bin/host/http/services/services.js.map +0 -1
- package/bin/host/http/static/static.d.ts.map +0 -1
- package/bin/host/http/static/static.js.map +0 -1
- package/bin/host/rpc/Client.d.ts.map +0 -1
- package/bin/host/rpc/Client.js.map +0 -1
- package/bin/host/rpc/Paths.d.ts.map +0 -1
- package/bin/host/rpc/Paths.js.map +0 -1
- package/bin/host/rpc/Server.d.ts.map +0 -1
- package/bin/host/rpc/Server.js.map +0 -1
- package/bin/host/rpc/Transport.d.ts.map +0 -1
- package/bin/host/rpc/Transport.js.map +0 -1
- package/bin/host/rpc/types/LocalRpc.d.ts.map +0 -1
- package/bin/host/rpc/types/LocalRpc.js.map +0 -1
- package/bin/host/runtime/CityPaths.d.ts +0 -50
- package/bin/host/runtime/CityPaths.d.ts.map +0 -1
- package/bin/host/runtime/CityPaths.js +0 -75
- package/bin/host/runtime/CityPaths.js.map +0 -1
- package/bin/host/runtime/CityRegistry.d.ts +0 -51
- package/bin/host/runtime/CityRegistry.d.ts.map +0 -1
- package/bin/host/runtime/CityRegistry.js +0 -217
- package/bin/host/runtime/CityRegistry.js.map +0 -1
- package/bin/host/runtime/CityRuntime.d.ts +0 -21
- package/bin/host/runtime/CityRuntime.d.ts.map +0 -1
- package/bin/host/runtime/CityRuntime.js +0 -45
- package/bin/host/runtime/CityRuntime.js.map +0 -1
- package/bin/host/runtime/ProcessSweep.d.ts +0 -76
- package/bin/host/runtime/ProcessSweep.d.ts.map +0 -1
- package/bin/host/runtime/ProcessSweep.js +0 -188
- package/bin/host/runtime/ProcessSweep.js.map +0 -1
- package/bin/host/runtime/types/Platform.d.ts.map +0 -1
- package/bin/host/runtime/types/Platform.js.map +0 -1
- package/bin/host/runtime/types/PlatformGateway.d.ts.map +0 -1
- package/bin/host/runtime/types/PlatformGateway.js.map +0 -1
- package/bin/host/sdk/Agent.d.ts.map +0 -1
- package/bin/host/sdk/Agent.js.map +0 -1
- package/bin/host/sdk/AgentSdkTypes.d.ts.map +0 -1
- package/bin/host/sdk/AgentSdkTypes.js.map +0 -1
- package/bin/host/sdk/AsyncQueue.d.ts.map +0 -1
- package/bin/host/sdk/AsyncQueue.js.map +0 -1
- package/bin/host/sdk/HttpServer.d.ts.map +0 -1
- package/bin/host/sdk/HttpServer.js.map +0 -1
- package/bin/host/sdk/Paths.d.ts.map +0 -1
- package/bin/host/sdk/Paths.js.map +0 -1
- package/bin/host/sdk/RemoteAgent.d.ts.map +0 -1
- package/bin/host/sdk/RemoteAgent.js.map +0 -1
- package/bin/host/sdk/RpcServer.d.ts.map +0 -1
- package/bin/host/sdk/RpcServer.js.map +0 -1
- package/bin/host/sdk/SdkSessionSystemComposer.d.ts +0 -43
- package/bin/host/sdk/SdkSessionSystemComposer.d.ts.map +0 -1
- package/bin/host/sdk/SdkSessionSystemComposer.js +0 -71
- package/bin/host/sdk/SdkSessionSystemComposer.js.map +0 -1
- package/bin/host/sdk/Session.d.ts.map +0 -1
- package/bin/host/sdk/Session.js.map +0 -1
- package/bin/host/sdk/SessionMetadata.d.ts.map +0 -1
- package/bin/host/sdk/SessionMetadata.js.map +0 -1
- package/bin/host/sdk/StreamEvents.d.ts +0 -14
- package/bin/host/sdk/StreamEvents.d.ts.map +0 -1
- package/bin/host/sdk/StreamEvents.js.map +0 -1
- package/bin/host/types/AgentHost.js +0 -10
- package/bin/host/types/AgentHost.js.map +0 -1
- package/bin/utils/types/Json.d.ts.map +0 -1
- package/bin/utils/types/Json.js.map +0 -1
- package/bin/utils/types/Template.d.ts.map +0 -1
- package/bin/utils/types/Template.js.map +0 -1
- package/src/host/daemon/Manager.ts +0 -344
- package/src/host/runtime/CityPaths.ts +0 -84
- package/src/host/runtime/CityRegistry.ts +0 -256
- package/src/host/runtime/CityRuntime.ts +0 -45
- package/src/host/runtime/ProcessSweep.ts +0 -239
- package/src/host/sdk/SdkSessionSystemComposer.ts +0 -113
- /package/bin/{agent/project → project}/ProjectExecutionBinding.js +0 -0
- /package/bin/{agent/project → project}/types/AgentProject.js +0 -0
- /package/bin/{agent → runtime}/AgentContextTypes.js +0 -0
- /package/bin/{agent → runtime}/AgentRuntimeState.js +0 -0
- /package/bin/{agent → runtime}/AgentRuntimeTypes.js +0 -0
- /package/bin/{host/sdk → sdk}/AgentSdkTypes.js +0 -0
- /package/bin/{host/sdk → sdk}/AsyncQueue.d.ts +0 -0
- /package/bin/{host/sdk → sdk}/AsyncQueue.js +0 -0
- /package/bin/{host/sdk → sdk}/Paths.d.ts +0 -0
- /package/bin/{host/sdk → sdk}/Paths.js +0 -0
- /package/bin/{host → server}/http/Server.d.ts +0 -0
- /package/bin/{host → server}/http/auth/AuthEnv.d.ts +0 -0
- /package/bin/{host → server}/http/auth/AuthEnv.js +0 -0
- /package/bin/{host → server}/http/auth/AuthError.d.ts +0 -0
- /package/bin/{host → server}/http/auth/AuthError.js +0 -0
- /package/bin/{host → server}/http/auth/CliAuthStateStore.d.ts +0 -0
- /package/bin/{host → server}/http/auth/CliAuthStateStore.js +0 -0
- /package/bin/{host → server}/http/auth/PasswordHasher.d.ts +0 -0
- /package/bin/{host → server}/http/auth/PasswordHasher.js +0 -0
- /package/bin/{host → server}/http/auth/TokenService.d.ts +0 -0
- /package/bin/{host → server}/http/auth/TokenService.js +0 -0
- /package/bin/{host → server}/http/control/AuthControlService.js +0 -0
- /package/bin/{host → server}/http/control/CommonHelpers.d.ts +0 -0
- /package/bin/{host → server}/http/control/CommonHelpers.js +0 -0
- /package/bin/{host → server}/http/control/ExecuteBySession.js +0 -0
- /package/bin/{host → server}/http/control/ExecuteInput.js +0 -0
- /package/bin/{host → server}/http/control/Helpers.d.ts +0 -0
- /package/bin/{host → server}/http/control/Helpers.js +0 -0
- /package/bin/{host → server}/http/control/MessageTimeline.js +0 -0
- /package/bin/{host → server}/http/control/OverviewRoutes.js +0 -0
- /package/bin/{host → server}/http/control/SessionRoutes.js +0 -0
- /package/bin/{host → server}/http/control/SessionSummaryStore.js +0 -0
- /package/bin/{host → server}/http/control/TaskRoutes.js +0 -0
- /package/bin/{host → server}/http/control/TaskStore.js +0 -0
- /package/bin/{host → server}/http/control/types/AuthControl.d.ts +0 -0
- /package/bin/{host → server}/http/control/types/AuthControl.js +0 -0
- /package/bin/{host → server}/http/control/types/ControlRoutes.js +0 -0
- /package/bin/{host → server}/http/control/types/ControlSessionExecute.d.ts +0 -0
- /package/bin/{host → server}/http/control/types/ControlSessionExecute.js +0 -0
- /package/bin/{host → server}/http/control/types/ControlViewData.js +0 -0
- /package/bin/{host → server}/http/execute/execute.d.ts +0 -0
- /package/bin/{host → server}/http/health/health.d.ts +0 -0
- /package/bin/{host → server}/http/health/health.js +0 -0
- /package/bin/{host → server}/http/plugins/plugins.d.ts +0 -0
- /package/bin/{host → server}/http/services/services.d.ts +0 -0
- /package/bin/{host → server}/http/static/static.d.ts +0 -0
- /package/bin/{host → transport}/rpc/Client.d.ts +0 -0
- /package/bin/{host → transport}/rpc/Client.js +0 -0
- /package/bin/{host → transport}/rpc/Paths.d.ts +0 -0
- /package/bin/{host → transport}/rpc/Transport.d.ts +0 -0
- /package/bin/{host → transport}/rpc/Transport.js +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthPermission.d.ts +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthPermission.js +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthRoute.d.ts +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthRoute.js +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthToken.d.ts +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthToken.js +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthTypes.d.ts +0 -0
- /package/bin/{host/http/auth/types → types/auth}/AuthTypes.js +0 -0
- /package/bin/{utils/types → types/common}/Json.d.ts +0 -0
- /package/bin/{utils/types → types/common}/Json.js +0 -0
- /package/bin/{utils/types → types/common}/Template.d.ts +0 -0
- /package/bin/{utils/types → types/common}/Template.js +0 -0
- /package/bin/{config/types → types/config}/DowncityConfig.js +0 -0
- /package/bin/{config/types → types/config}/ExecutionBinding.d.ts +0 -0
- /package/bin/{config/types → types/config}/ExecutionBinding.js +0 -0
- /package/bin/{config/types → types/config}/LlmConfig.d.ts +0 -0
- /package/bin/{config/types → types/config}/LlmConfig.js +0 -0
- /package/bin/{config/types → types/config}/ModelBinding.d.ts +0 -0
- /package/bin/{config/types → types/config}/ModelBinding.js +0 -0
- /package/bin/{config/types → types/config}/Start.d.ts +0 -0
- /package/bin/{config/types → types/config}/Start.js +0 -0
- /package/bin/{host/types → types/host}/Store.js +0 -0
- /package/bin/{host/http/execute/types → types/http}/InlineInstant.d.ts +0 -0
- /package/bin/{host/http/execute/types → types/http}/InlineInstant.js +0 -0
- /package/bin/{host/runtime/types → types/platform}/Platform.d.ts +0 -0
- /package/bin/{host/runtime/types → types/platform}/Platform.js +0 -0
- /package/bin/{host/runtime/types → types/platform}/PlatformGateway.d.ts +0 -0
- /package/bin/{host/runtime/types → types/platform}/PlatformGateway.js +0 -0
- /package/bin/{host/rpc/types → types/rpc}/LocalRpc.js +0 -0
- /package/src/{host/sdk → sdk}/AsyncQueue.ts +0 -0
- /package/src/{host/sdk → sdk}/Paths.ts +0 -0
- /package/src/{host → server}/http/auth/AuthEnv.ts +0 -0
- /package/src/{host → server}/http/auth/AuthError.ts +0 -0
- /package/src/{host → server}/http/auth/CliAuthStateStore.ts +0 -0
- /package/src/{host → server}/http/auth/PasswordHasher.ts +0 -0
- /package/src/{host → server}/http/auth/TokenService.ts +0 -0
- /package/src/{host → server}/http/control/CommonHelpers.ts +0 -0
- /package/src/{host → server}/http/control/Helpers.ts +0 -0
- /package/src/{host → server}/http/control/types/AuthControl.ts +0 -0
- /package/src/{host → server}/http/control/types/ControlSessionExecute.ts +0 -0
- /package/src/{host → server}/http/health/health.ts +0 -0
- /package/src/{host → transport}/rpc/Transport.ts +0 -0
- /package/src/{host/http/auth/types → types/auth}/AuthPermission.ts +0 -0
- /package/src/{host/http/auth/types → types/auth}/AuthRoute.ts +0 -0
- /package/src/{host/http/auth/types → types/auth}/AuthToken.ts +0 -0
- /package/src/{host/http/auth/types → types/auth}/AuthTypes.ts +0 -0
- /package/src/{utils/types → types/common}/Json.ts +0 -0
- /package/src/{utils/types → types/common}/Template.ts +0 -0
- /package/src/{config/types → types/config}/ExecutionBinding.ts +0 -0
- /package/src/{config/types → types/config}/LlmConfig.ts +0 -0
- /package/src/{config/types → types/config}/ModelBinding.ts +0 -0
- /package/src/{config/types → types/config}/Start.ts +0 -0
- /package/src/{host/http/execute/types → types/http}/InlineInstant.ts +0 -0
- /package/src/{host/runtime/types → types/platform}/Platform.ts +0 -0
- /package/src/{host/runtime/types → types/platform}/PlatformGateway.ts +0 -0
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* - ChatQueueWorker 负责调度与回发;session 的写入协议收敛到这里。
|
|
7
7
|
* - 这样可以把“队列消费”与“session 持久化/补写”边界拆清楚。
|
|
8
8
|
*/
|
|
9
|
-
import type { JsonObject } from "../../../../
|
|
9
|
+
import type { JsonObject } from "../../../../types/common/Json.js";
|
|
10
10
|
import type { SessionRunResult } from "../../../../session/types/SessionRun.js";
|
|
11
11
|
import type { SessionUserMessageV1 } from "../../../../session/types/SessionMessages.js";
|
|
12
|
-
import type { SessionPort } from "../../../../
|
|
12
|
+
import type { SessionPort } from "../../../../runtime/AgentContextTypes.js";
|
|
13
13
|
import type { ChatQueueItem } from "../../../../service/builtins/chat/types/ChatQueue.js";
|
|
14
14
|
/**
|
|
15
15
|
* 判断 queue item 是否需要补写到 session。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatQueueSessionBridge.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatQueueSessionBridge.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAGhF;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAE3E;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CAMrE;AAED;;GAEG;AACH,wBAAsB,gCAAgC,CAAC,MAAM,EAAE;IAC7D,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAOhB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,aAAa,GAClB,oBAAoB,GAAG,IAAI,CAiB7B;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE;IACtD,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,OAAO,CAAC,IAAI,CAAC,CAOhB;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;CAC1B,GAAG,OAAO,CAAC,IAAI,CAAC,CAkBhB"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 允许 `ChatService` 持有自己的 queue store,而不是完全依赖模块级全局状态。
|
|
7
7
|
* - 旧的 `ChatQueue.ts` 会保留共享门面,逐步迁移到显式实例注入。
|
|
8
8
|
*/
|
|
9
|
-
import type { AgentContext } from "../../../../
|
|
9
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
10
10
|
import type { ChatQueueEnqueueParams, ChatQueueEnqueueResult, ChatQueueItem } from "../../../../service/builtins/chat/types/ChatQueue.js";
|
|
11
11
|
/**
|
|
12
12
|
* 入队监听器。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatQueueStore.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatQueueStore.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACd,MAAM,4CAA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,EAAE,MAAM,GAAG,MAAM;IAOpC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAK7B;AAID;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,cAAc,CAExD;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,kBAAkB,CAQhF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - 支持 step 边界合并(同 lane 新消息可插入当前 run)
|
|
8
8
|
*/
|
|
9
9
|
import type { Logger } from "../../../../utils/logger/Logger.js";
|
|
10
|
-
import type { AgentContext } from "../../../../
|
|
10
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
11
11
|
import type { ChatQueueWorkerConfig } from "../../../../service/builtins/chat/types/ChatQueueWorker.js";
|
|
12
12
|
import type { ChatQueueStorePort } from "./ChatQueueStore.js";
|
|
13
13
|
export declare class ChatQueueWorker {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatQueueWorker.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueWorker.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatQueueWorker.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatQueueWorker.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAwB9F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAa9D,qBAAa,eAAe;IAC1B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adata 与 `<file>` 协议在这里转换为统一正文。
|
|
7
|
+
*/
|
|
8
|
+
import type { JsonValue } from "../../../../types/common/Json.js";
|
|
9
|
+
import type { ServiceActionCommandInput } from "../../../../service/types/Service.js";
|
|
10
|
+
import type { ChatSendActionPayload } from "../../../../service/builtins/chat/types/ChatService.js";
|
|
11
|
+
/**
|
|
12
|
+
* 解析 `chat send` 的命令输入。
|
|
13
|
+
*
|
|
14
|
+
* 关键点(中文)
|
|
15
|
+
* - `--text / --stdin / --text-file` 三选一
|
|
16
|
+
* - 文本读取失败直接抛错,由上层统一输出
|
|
17
|
+
*/
|
|
18
|
+
export declare function mapChatSendCommandInput(input: ServiceActionCommandInput): Promise<ChatSendActionPayload>;
|
|
19
|
+
/**
|
|
20
|
+
* 解析 `chat send` 的 API 输入。
|
|
21
|
+
*/
|
|
22
|
+
export declare function mapChatSendApiInput(body: JsonValue): ChatSendActionPayload;
|
|
23
|
+
//# sourceMappingURL=ChatSendActionInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatSendActionInput.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSendActionInput.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAmI1F;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,yBAAyB,GAC/B,OAAO,CAAC,qBAAqB,CAAC,CA6DhC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,qBAAqB,CAoC1E"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat send action 输入映射。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 专门处理 `chat send` 的 CLI/API payload 标准化。
|
|
6
|
+
* - frontmatter metadata 与 `<file>` 协议在这里转换为统一正文。
|
|
7
|
+
*/
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
|
+
import path from "node:path";
|
|
10
|
+
import { buildChatMessageText, parseChatMessageMarkup, } from "../../../../service/builtins/chat/runtime/ChatMessageMarkup.js";
|
|
11
|
+
import { parseChatSendOptionsFromMetadata } from "../../../../service/builtins/chat/runtime/ChatSendMetadata.js";
|
|
12
|
+
import { normalizeChatSendText, resolveChatKey, } from "../../../../service/builtins/chat/Action.js";
|
|
13
|
+
import { getBooleanOpt, getStringOpt } from "./ChatActionInputSupport.js";
|
|
14
|
+
/**
|
|
15
|
+
* 解析非负整数 option。
|
|
16
|
+
*/
|
|
17
|
+
function parseNonNegativeIntOptionOrThrow(value, fieldName) {
|
|
18
|
+
const text = String(value || "").trim();
|
|
19
|
+
if (!text) {
|
|
20
|
+
throw new Error(`${fieldName} is required`);
|
|
21
|
+
}
|
|
22
|
+
if (!/^\d+$/.test(text)) {
|
|
23
|
+
throw new Error(`Invalid ${fieldName}: ${value}`);
|
|
24
|
+
}
|
|
25
|
+
const parsed = Number.parseInt(text, 10);
|
|
26
|
+
if (!Number.isFinite(parsed) || Number.isNaN(parsed) || parsed < 0) {
|
|
27
|
+
throw new Error(`Invalid ${fieldName}: ${value}`);
|
|
28
|
+
}
|
|
29
|
+
return parsed;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* 判断 ISO datetime 是否缺少时区。
|
|
33
|
+
*/
|
|
34
|
+
function looksLikeIsoDatetimeWithoutTimezone(value) {
|
|
35
|
+
const text = String(value || "").trim();
|
|
36
|
+
if (!text)
|
|
37
|
+
return false;
|
|
38
|
+
const isoLike = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}/.test(text);
|
|
39
|
+
if (!isoLike)
|
|
40
|
+
return false;
|
|
41
|
+
return !/(?:Z|[+-]\d{2}:\d{2})$/i.test(text);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 解析定时发送时间。
|
|
45
|
+
*
|
|
46
|
+
* 支持格式(中文)
|
|
47
|
+
* - Unix 时间戳:秒或毫秒(纯数字)
|
|
48
|
+
* - ISO 时间字符串:例如 `2026-03-05T20:30:00+08:00`
|
|
49
|
+
*/
|
|
50
|
+
function parseSendTimeOptionOrThrow(value, fieldName) {
|
|
51
|
+
const text = String(value || "").trim();
|
|
52
|
+
if (!text) {
|
|
53
|
+
throw new Error(`${fieldName} is required`);
|
|
54
|
+
}
|
|
55
|
+
if (/^\d+$/.test(text)) {
|
|
56
|
+
const parsed = Number.parseInt(text, 10);
|
|
57
|
+
if (!Number.isFinite(parsed) || Number.isNaN(parsed) || parsed <= 0) {
|
|
58
|
+
throw new Error(`Invalid ${fieldName}: ${value}`);
|
|
59
|
+
}
|
|
60
|
+
// 关键点(中文):10 位通常是秒级时间戳,统一转换为毫秒。
|
|
61
|
+
return parsed < 1_000_000_000_000 ? parsed * 1000 : parsed;
|
|
62
|
+
}
|
|
63
|
+
if (looksLikeIsoDatetimeWithoutTimezone(text)) {
|
|
64
|
+
throw new Error(`Invalid ${fieldName}: ${value}. ISO datetime must include timezone offset (e.g. +08:00 or Z).`);
|
|
65
|
+
}
|
|
66
|
+
const parsed = Date.parse(text);
|
|
67
|
+
if (!Number.isFinite(parsed) || Number.isNaN(parsed) || parsed <= 0) {
|
|
68
|
+
throw new Error(`Invalid ${fieldName}: ${value}. Use Unix timestamp (seconds/ms) or ISO datetime.`);
|
|
69
|
+
}
|
|
70
|
+
return parsed;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 解析 chat send 正文协议。
|
|
74
|
+
*/
|
|
75
|
+
function parseChatSendTextProtocol(params) {
|
|
76
|
+
const parsed = parseChatMessageMarkup(normalizeChatSendText(params.rawText));
|
|
77
|
+
const metadataOptions = parseChatSendOptionsFromMetadata({
|
|
78
|
+
metadata: parsed.metadata,
|
|
79
|
+
strict: true,
|
|
80
|
+
});
|
|
81
|
+
const delayMs = typeof params.explicitDelayMs === "number"
|
|
82
|
+
? params.explicitDelayMs
|
|
83
|
+
: metadataOptions.delayMs;
|
|
84
|
+
const sendAtMs = typeof params.explicitSendAtMs === "number"
|
|
85
|
+
? params.explicitSendAtMs
|
|
86
|
+
: metadataOptions.sendAtMs;
|
|
87
|
+
if (typeof delayMs === "number" && typeof sendAtMs === "number") {
|
|
88
|
+
throw new Error("`delay` and `time` cannot be used together.");
|
|
89
|
+
}
|
|
90
|
+
const chatKey = resolveChatKey({
|
|
91
|
+
chatKey: params.explicitChatKey || metadataOptions.chatKey,
|
|
92
|
+
});
|
|
93
|
+
const messageId = String(params.explicitMessageId || metadataOptions.messageId || "").trim();
|
|
94
|
+
const replyToMessage = params.explicitReplyToMessage === true ||
|
|
95
|
+
metadataOptions.replyToMessage === true;
|
|
96
|
+
return {
|
|
97
|
+
text: buildChatMessageText({
|
|
98
|
+
segments: parsed.segments,
|
|
99
|
+
}),
|
|
100
|
+
...(chatKey ? { chatKey } : {}),
|
|
101
|
+
...(typeof delayMs === "number" ? { delayMs } : {}),
|
|
102
|
+
...(typeof sendAtMs === "number" ? { sendAtMs } : {}),
|
|
103
|
+
...(replyToMessage ? { replyToMessage: true } : {}),
|
|
104
|
+
...(messageId ? { messageId } : {}),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* 解析 `chat send` 的命令输入。
|
|
109
|
+
*
|
|
110
|
+
* 关键点(中文)
|
|
111
|
+
* - `--text / --stdin / --text-file` 三选一
|
|
112
|
+
* - 文本读取失败直接抛错,由上层统一输出
|
|
113
|
+
*/
|
|
114
|
+
export async function mapChatSendCommandInput(input) {
|
|
115
|
+
const explicitText = getStringOpt(input.opts, "text");
|
|
116
|
+
const useStdin = getBooleanOpt(input.opts, "stdin");
|
|
117
|
+
const textFile = getStringOpt(input.opts, "textFile");
|
|
118
|
+
const inputSourcesCount = (explicitText ? 1 : 0) + (useStdin ? 1 : 0) + (textFile ? 1 : 0);
|
|
119
|
+
if (inputSourcesCount !== 1) {
|
|
120
|
+
throw new Error("Exactly one text source is required: use one of --text, --stdin, or --text-file.");
|
|
121
|
+
}
|
|
122
|
+
let text = explicitText;
|
|
123
|
+
if (useStdin) {
|
|
124
|
+
const chunks = [];
|
|
125
|
+
for await (const chunk of process.stdin) {
|
|
126
|
+
chunks.push(Buffer.isBuffer(chunk) ? chunk : Buffer.from(String(chunk)));
|
|
127
|
+
}
|
|
128
|
+
text = Buffer.concat(chunks).toString("utf8");
|
|
129
|
+
}
|
|
130
|
+
else if (textFile) {
|
|
131
|
+
const filePath = path.resolve(process.cwd(), textFile);
|
|
132
|
+
text = await fs.readFile(filePath, "utf8");
|
|
133
|
+
}
|
|
134
|
+
const delayRaw = getStringOpt(input.opts, "delay");
|
|
135
|
+
const timeRaw = getStringOpt(input.opts, "time");
|
|
136
|
+
const replyToMessage = getBooleanOpt(input.opts, "reply");
|
|
137
|
+
const messageId = getStringOpt(input.opts, "messageId");
|
|
138
|
+
const delayMs = delayRaw
|
|
139
|
+
? parseNonNegativeIntOptionOrThrow(delayRaw, "delay")
|
|
140
|
+
: undefined;
|
|
141
|
+
const sendAtMs = timeRaw ? parseSendTimeOptionOrThrow(timeRaw, "time") : undefined;
|
|
142
|
+
if (typeof delayMs === "number" && typeof sendAtMs === "number") {
|
|
143
|
+
throw new Error("`--delay` and `--time` cannot be used together.");
|
|
144
|
+
}
|
|
145
|
+
const payload = parseChatSendTextProtocol({
|
|
146
|
+
rawText: text,
|
|
147
|
+
explicitChatKey: getStringOpt(input.opts, "chatKey"),
|
|
148
|
+
...(typeof delayMs === "number" ? { explicitDelayMs: delayMs } : {}),
|
|
149
|
+
...(typeof sendAtMs === "number" ? { explicitSendAtMs: sendAtMs } : {}),
|
|
150
|
+
...(replyToMessage ? { explicitReplyToMessage: true } : {}),
|
|
151
|
+
...(messageId ? { explicitMessageId: messageId } : {}),
|
|
152
|
+
});
|
|
153
|
+
const chatKey = resolveChatKey({
|
|
154
|
+
chatKey: payload.chatKey,
|
|
155
|
+
});
|
|
156
|
+
if (!chatKey) {
|
|
157
|
+
throw new Error("Missing chatKey. Provide --chat-key or ensure DC_CTX_CHAT_KEY is injected in current shell context.");
|
|
158
|
+
}
|
|
159
|
+
return {
|
|
160
|
+
text: payload.text,
|
|
161
|
+
chatKey,
|
|
162
|
+
...(typeof payload.delayMs === "number" ? { delayMs: payload.delayMs } : {}),
|
|
163
|
+
...(typeof payload.sendAtMs === "number" ? { sendAtMs: payload.sendAtMs } : {}),
|
|
164
|
+
...(payload.replyToMessage === true ? { replyToMessage: true } : {}),
|
|
165
|
+
...(payload.messageId ? { messageId: payload.messageId } : {}),
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* 解析 `chat send` 的 API 输入。
|
|
170
|
+
*/
|
|
171
|
+
export function mapChatSendApiInput(body) {
|
|
172
|
+
if (!body || typeof body !== "object" || Array.isArray(body)) {
|
|
173
|
+
throw new Error("Invalid JSON body");
|
|
174
|
+
}
|
|
175
|
+
const payload = body;
|
|
176
|
+
const delayRaw = payload.delayMs ?? payload.delay;
|
|
177
|
+
const timeRaw = payload.sendAtMs ?? payload.sendAt ?? payload.time;
|
|
178
|
+
const replyRaw = payload.replyToMessage ?? payload.reply;
|
|
179
|
+
const delayText = typeof delayRaw === "string" || typeof delayRaw === "number"
|
|
180
|
+
? String(delayRaw).trim()
|
|
181
|
+
: "";
|
|
182
|
+
const timeText = typeof timeRaw === "string" || typeof timeRaw === "number"
|
|
183
|
+
? String(timeRaw).trim()
|
|
184
|
+
: "";
|
|
185
|
+
const delayMs = delayText
|
|
186
|
+
? parseNonNegativeIntOptionOrThrow(delayText, "delayMs")
|
|
187
|
+
: undefined;
|
|
188
|
+
const sendAtMs = timeText
|
|
189
|
+
? parseSendTimeOptionOrThrow(timeText, "sendAtMs")
|
|
190
|
+
: undefined;
|
|
191
|
+
if (typeof delayMs === "number" && typeof sendAtMs === "number") {
|
|
192
|
+
throw new Error("`delayMs` and `sendAtMs` cannot be used together.");
|
|
193
|
+
}
|
|
194
|
+
return parseChatSendTextProtocol({
|
|
195
|
+
rawText: String(payload.text ?? ""),
|
|
196
|
+
explicitChatKey: typeof payload.chatKey === "string" ? payload.chatKey.trim() : undefined,
|
|
197
|
+
...(typeof delayMs === "number" ? { explicitDelayMs: delayMs } : {}),
|
|
198
|
+
...(typeof sendAtMs === "number" ? { explicitSendAtMs: sendAtMs } : {}),
|
|
199
|
+
...(replyRaw === true ? { explicitReplyToMessage: true } : {}),
|
|
200
|
+
...(typeof payload.messageId === "string" || typeof payload.messageId === "number"
|
|
201
|
+
? { explicitMessageId: String(payload.messageId).trim() }
|
|
202
|
+
: {}),
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=ChatSendActionInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatSendActionInput.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSendActionInput.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AACvG,OAAO,EACL,qBAAqB,EACrB,cAAc,GACf,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE1E;;GAEG;AACH,SAAS,gCAAgC,CACvC,KAAa,EACb,SAAiB;IAEjB,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACxC,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,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IAAI,EAAE,CAAC,CAAC,CAAC,SAAS;QAC1E,GAAG,CAAC,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACpE,GAAG,CAAC,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACvE,GAAG,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,sBAAsB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9D,GAAG,CAAC,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ;YAChF,CAAC,CAAC,EAAE,iBAAiB,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;YACzD,CAAC,CAAC,EAAE,CAAC;KACR,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 当前请求只注入当前 channel 的 prompt,避免平台规则串味。
|
|
7
7
|
* - 该模块只负责 prompt 解析与拼装,不承担运行态控制职责。
|
|
8
8
|
*/
|
|
9
|
-
import type { AgentContext } from "../../../../
|
|
9
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
10
10
|
/**
|
|
11
11
|
* 构建当前请求所属 channel 的提示词片段。
|
|
12
12
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatServiceSystem.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatServiceSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatServiceSystem.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatServiceSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AA2BnE;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,EAAE,CAAC,CAUnB;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,CAQjB"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - 删除 core session 目录(`.downcity/session/<sessionId>/`)
|
|
8
8
|
* - 清理运行中 agent 与队列,避免残留任务继续执行
|
|
9
9
|
*/
|
|
10
|
-
import type { AgentContext } from "../../../../
|
|
10
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
11
11
|
/**
|
|
12
12
|
* 彻底删除一个 chat session。
|
|
13
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionDelete.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionDelete.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatSessionDelete.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionDelete.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAQnE;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAyDD"}
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
* - 这里是运行时内部能力(不是 tool);tool `chat_contact_send` 也会复用本实现
|
|
10
10
|
*/
|
|
11
11
|
import type { ChatDispatchAction, ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
12
|
-
import type { AgentContext } from "../../../../
|
|
12
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
13
13
|
/**
|
|
14
14
|
* 解析实际分发目标。
|
|
15
15
|
*
|
|
16
16
|
* 规则(中文)
|
|
17
|
-
* - 仅使用
|
|
17
|
+
* - 仅使用 service/builtins/chat 维护的 session 路由映射。
|
|
18
18
|
* - 不再支持 legacy chatKey 字符串解析回退。
|
|
19
19
|
*/
|
|
20
20
|
export declare function resolveDispatchTargetByChatKey(params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatkeySend.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatkeySend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatkeySend.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatkeySend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAGnE;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAAC,MAAM,EAAE;IAC3D,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC;IACV,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,CA8BR;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE;IAC9C,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAkDhD;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE;IAChD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAsChD"}
|
|
@@ -14,7 +14,7 @@ import { readChatMetaBySessionId } from "./ChatMetaStore.js";
|
|
|
14
14
|
* 解析实际分发目标。
|
|
15
15
|
*
|
|
16
16
|
* 规则(中文)
|
|
17
|
-
* - 仅使用
|
|
17
|
+
* - 仅使用 service/builtins/chat 维护的 session 路由映射。
|
|
18
18
|
* - 不再支持 legacy chatKey 字符串解析回退。
|
|
19
19
|
*/
|
|
20
20
|
export async function resolveDispatchTargetByChatKey(params) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 统一封装入队前/后的扩展点调用。
|
|
6
6
|
* - service 通过这里暴露 queue 生命周期,不直接散落调用细节。
|
|
7
7
|
*/
|
|
8
|
-
import type { AgentContext } from "../../../../
|
|
8
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
9
9
|
import type { ChatEnqueueEffectInput, ChatEnqueuePipelineInput } from "../../../../service/builtins/chat/types/ChatPlugin.js";
|
|
10
10
|
/**
|
|
11
11
|
* 入队前增强。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnqueueDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/EnqueueDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EnqueueDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/EnqueueDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,6CAA6C,CAAC;AAQrD;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,MAAM,EAAE;IAC/C,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,wBAAwB,CAAC;CACjC,GAAG,OAAO,CAAC,wBAAwB,CAAC,CASpC;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,sBAAsB,CAAC;CAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhB"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - chat service 先构造基础输入,再交给 plugin pipeline 做增强。
|
|
6
6
|
* - 最终拼装顺序固定为:attachmentText -> pluginSections -> bodyText。
|
|
7
7
|
*/
|
|
8
|
-
import type { AgentContext } from "../../../../
|
|
8
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
9
9
|
import type { ChatInboundAugmentInput } from "../../../../service/builtins/chat/types/ChatPlugin.js";
|
|
10
10
|
/**
|
|
11
11
|
* 执行 chat 入站增强 pipeline。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InboundAugment.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/InboundAugment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InboundAugment.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/InboundAugment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAS3F;;GAEG;AACH,wBAAsB,uBAAuB,CAAC,MAAM,EAAE;IACpD,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,uBAAuB,CAAC;CAChC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAsBnC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAW3E"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - chat service 只依赖这里,不直接依赖某个具体 plugin 模块路径。
|
|
6
6
|
* - 这里封装 chat 领域的 plugin 点调用语义,保持 service 边界稳定。
|
|
7
7
|
*/
|
|
8
|
-
import type { AgentContext } from "../../../../
|
|
8
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
9
9
|
import type { ChatAuthorizationEvaluateInput, ChatAuthorizationRole } from "../../../../plugin/builtins/auth/types/AuthPlugin.js";
|
|
10
10
|
import type { ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/PluginDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PluginDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/PluginDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,KAAK,EAEV,8BAA8B,EAC9B,qBAAqB,EACtB,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAQ3F;;GAEG;AACH,wBAAsB,4BAA4B,CAAC,MAAM,EAAE;IACzD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,CAShB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE;IAC9C,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,KAAK,EAAE,8BAA8B,CAAC;CACvC,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAAC,MAAM,EAAE;IACxD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAW7C"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 把平台 reply 信息稳定地拼进模型输入正文。
|
|
6
6
|
* - 同时提供额外 metadata,便于 history / 调试链路查看。
|
|
7
7
|
*/
|
|
8
|
-
import type { JsonObject } from "../../../../
|
|
8
|
+
import type { JsonObject } from "../../../../types/common/Json.js";
|
|
9
9
|
import type { InboundReplyContext } from "../../../../service/builtins/chat/types/ReplyContext.js";
|
|
10
10
|
/**
|
|
11
11
|
* 将 reply 上下文转换为执行输入正文。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReplyContextFormatter.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ReplyContextFormatter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ReplyContextFormatter.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ReplyContextFormatter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAOzF;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC,GAAG,MAAM,CA+BT;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,YAAY,CAAC,EAAE,mBAAmB,GACjC,UAAU,GAAG,SAAS,CAgBxB"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 把 chat 回复前/回复后的扩展点统一收敛到这里。
|
|
6
6
|
* - 仅服务 agent 执行生命周期,不覆盖手动 `chat send`。
|
|
7
7
|
*/
|
|
8
|
-
import type { AgentContext } from "../../../../
|
|
8
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
9
9
|
import type { ChatReplyDispatchInput, ChatReplyEffectInput } from "../../../../service/builtins/chat/types/ChatPlugin.js";
|
|
10
10
|
import type { ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReplyDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ReplyDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ReplyDispatch.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ReplyDispatch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEhH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAQ3F;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,sBAAsB,CAAC;CAC/B,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBlB;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE;IAChD,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,oBAAoB,CAAC;CAC7B,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhB;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAAC,MAAM,EAAE;IACnD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC;IACV,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAWD"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 仅描述当前会话环境,不承载用户身份字段。
|
|
7
7
|
* - 统一从 request context + ChatMetaStore 读取当前 chat 元信息。
|
|
8
8
|
*/
|
|
9
|
-
import type { AgentContext } from "../../../../
|
|
9
|
+
import type { AgentContext } from "../../../../runtime/AgentContextTypes.js";
|
|
10
10
|
import type { ChatEnvironmentPromptInput } from "../../../../service/builtins/chat/types/ChatPromptContext.js";
|
|
11
11
|
/**
|
|
12
12
|
* 解析当前请求的 chat 环境输入。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SystemPrompt.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/SystemPrompt.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SystemPrompt.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/SystemPrompt.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAQrG;;;;;GAKG;AACH,wBAAsB,wCAAwC,CAC5D,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAmB5C;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,0BAA0B,GAAG,MAAM,CAqBpF;AAED;;GAEG;AACH,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,CAIjB"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 用于提取最终 assistant 文本与工具调用摘要
|
|
7
7
|
*/
|
|
8
8
|
import type { SessionMessageV1 } from "../../../../session/types/SessionMessages.js";
|
|
9
|
-
import type { JsonObject } from "../../../../
|
|
9
|
+
import type { JsonObject } from "../../../../types/common/Json.js";
|
|
10
10
|
type ToolCallSummary = {
|
|
11
11
|
tool: string;
|
|
12
12
|
input: JsonObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIMessageTransformer.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/UIMessageTransformer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"UIMessageTransformer.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/UIMessageTransformer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,wBAAwB,CAAC;AAIpE,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAwEF;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,MAAM,CAOR;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAC3C,eAAe,EAAE,CAwBnB"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 这些类型描述 agent 运行时内部的 chat channel account 管理输入输出。
|
|
6
6
|
* - 凭据明文只允许出现在写入输入中,读取结果必须是脱敏后的安全视图。
|
|
7
7
|
*/
|
|
8
|
-
import type { StoredChannelAccountChannel } from "../../../../host/
|
|
8
|
+
import type { StoredChannelAccountChannel } from "../../../../types/host/Store.js";
|
|
9
9
|
/**
|
|
10
10
|
* 支持的 chat channel account 类型。
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - chat history 是聊天平台事件流(审计向),与 session message history 分离。
|
|
6
6
|
* - 支持入站(inbound)与出站(outbound)事件,便于完整回放对话链路。
|
|
7
7
|
*/
|
|
8
|
-
import type { JsonObject } from "../../../../
|
|
8
|
+
import type { JsonObject } from "../../../../types/common/Json.js";
|
|
9
9
|
import type { ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
10
10
|
export type ChatHistoryIngressKind = "audit" | "exec";
|
|
11
11
|
export type ChatHistoryDirection = "inbound" | "outbound";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHistory.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatHistory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatHistory.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatHistory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,MAAM,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,UAAU,CAAC;AAE1D,KAAK,sBAAsB,GAAG;IAC5B,CAAC,EAAE,CAAC,CAAC;IACL,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,GAAG;IAC/D,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,sBAAsB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,sBAAsB,GAAG;IAChE,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B,yBAAyB,GACzB,0BAA0B,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 描述 chat 队列的数据结构与入队协议
|
|
6
6
|
* - 供 services 与 process 统一复用
|
|
7
7
|
*/
|
|
8
|
-
import type { JsonObject } from "../../../../
|
|
8
|
+
import type { JsonObject } from "../../../../types/common/Json.js";
|
|
9
9
|
export type ChatQueueItemKind = "exec" | "audit" | "control";
|
|
10
10
|
export type ChatQueueControl = {
|
|
11
11
|
type: "clear";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatQueue.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatQueue.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatQueue.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatQueue.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,UAAU,GAAG,QAAQ,GAAG,IAAI,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,YAAY,CAAC,GAAG;IAC9E,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 这些类型属于跨模块共享契约,因此统一放到 `types/` 下。
|
|
7
7
|
* - 字段命名保持与 CLI/API 参数一致,降低映射心智负担。
|
|
8
8
|
*/
|
|
9
|
-
import type { JsonValue } from "../../../../
|
|
9
|
+
import type { JsonValue } from "../../../../types/common/Json.js";
|
|
10
10
|
import type { ChatDeleteRequest, ChatHistoryRequest, ChatInfoRequest, ChatListRequest, ChatReactRequest } from "../../../../service/builtins/chat/types/ChatCommand.js";
|
|
11
11
|
import type { ChatChannelName } from "../../../../service/builtins/chat/types/ChannelStatus.js";
|
|
12
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatService.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatService.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/types/ChatService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEtF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D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