@downcity/city 1.1.1 → 1.1.4
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/bin/cli/AgentChat.js +3 -3
- package/bin/cli/AgentChat.js.map +1 -1
- package/bin/cli/AgentHistory.js +1 -1
- package/bin/cli/AgentHistory.js.map +1 -1
- package/bin/cli/AgentManager.js +1 -1
- package/bin/cli/AgentManager.js.map +1 -1
- package/bin/cli/AgentReset.js +1 -1
- package/bin/cli/AgentReset.js.map +1 -1
- package/bin/cli/AgentSelection.js +1 -1
- package/bin/cli/AgentSelection.js.map +1 -1
- package/bin/cli/ChatAuth.d.ts +5 -1
- package/bin/cli/ChatAuth.d.ts.map +1 -1
- package/bin/cli/ChatAuth.js +21 -9
- package/bin/cli/ChatAuth.js.map +1 -1
- package/bin/cli/ChatManager.js +1 -1
- package/bin/cli/ChatManager.js.map +1 -1
- package/bin/cli/Config.js +1 -1
- package/bin/cli/Config.js.map +1 -1
- package/bin/cli/Console.d.ts +1 -1
- package/bin/cli/Console.d.ts.map +1 -1
- package/bin/cli/ConsoleInit.js +3 -3
- package/bin/cli/ConsoleInit.js.map +1 -1
- package/bin/cli/Env.js +2 -2
- package/bin/cli/Env.js.map +1 -1
- package/bin/cli/Index.js +2 -2
- package/bin/cli/Index.js.map +1 -1
- package/bin/cli/IndexAgentCommand.js +1 -1
- package/bin/cli/IndexAgentCommand.js.map +1 -1
- package/bin/cli/IndexConsoleProcess.d.ts +2 -2
- package/bin/cli/IndexConsoleProcess.d.ts.map +1 -1
- package/bin/cli/IndexConsoleProcess.js +2 -2
- package/bin/cli/IndexConsoleProcess.js.map +1 -1
- package/bin/cli/IndexConsoleStatus.d.ts +1 -1
- package/bin/cli/IndexConsoleStatus.d.ts.map +1 -1
- package/bin/cli/Init.js +1 -1
- package/bin/cli/Init.js.map +1 -1
- package/bin/cli/ModelCommandShared.d.ts +2 -2
- package/bin/cli/ModelCommandShared.d.ts.map +1 -1
- package/bin/cli/ModelCommandShared.js +2 -2
- package/bin/cli/ModelCommandShared.js.map +1 -1
- package/bin/cli/ModelCreateCommand.js +2 -2
- package/bin/cli/ModelCreateCommand.js.map +1 -1
- package/bin/cli/ModelManageCommand.js +1 -1
- package/bin/cli/ModelManageCommand.js.map +1 -1
- package/bin/cli/ModelManager.js +2 -2
- package/bin/cli/ModelManager.js.map +1 -1
- package/bin/cli/ModelReadCommand.js +2 -2
- package/bin/cli/ModelReadCommand.js.map +1 -1
- package/bin/cli/ModelSupport.d.ts +1 -1
- package/bin/cli/ModelSupport.d.ts.map +1 -1
- package/bin/cli/Plugins.js +4 -4
- package/bin/cli/Plugins.js.map +1 -1
- package/bin/cli/PublicHostEnv.js +1 -1
- package/bin/cli/PublicHostEnv.js.map +1 -1
- package/bin/cli/Restart.d.ts +1 -1
- package/bin/cli/Restart.d.ts.map +1 -1
- package/bin/cli/Run.d.ts +1 -1
- package/bin/cli/Run.d.ts.map +1 -1
- package/bin/cli/Run.js +2 -6
- package/bin/cli/Run.js.map +1 -1
- package/bin/{service/ServiceCommand.d.ts → cli/ServiceActionCommands.d.ts} +2 -1
- package/bin/cli/ServiceActionCommands.d.ts.map +1 -0
- package/bin/{service/ServiceCommand.js → cli/ServiceActionCommands.js} +6 -5
- package/bin/cli/ServiceActionCommands.js.map +1 -0
- package/bin/cli/ServiceCommandRemote.d.ts +1 -1
- package/bin/cli/ServiceCommandRemote.d.ts.map +1 -1
- package/bin/cli/ServiceCommandRemote.js +2 -2
- package/bin/cli/ServiceCommandRemote.js.map +1 -1
- package/bin/cli/ServiceCommandSupport.d.ts +3 -3
- package/bin/cli/ServiceCommandSupport.d.ts.map +1 -1
- package/bin/cli/ServiceCommandSupport.js +1 -1
- package/bin/cli/ServiceCommandSupport.js.map +1 -1
- package/bin/cli/ServiceScheduleCommand.d.ts +1 -1
- package/bin/cli/ServiceScheduleCommand.d.ts.map +1 -1
- package/bin/cli/ServiceScheduleCommand.js +2 -2
- package/bin/cli/ServiceScheduleCommand.js.map +1 -1
- package/bin/cli/Services.js +2 -2
- package/bin/cli/Services.js.map +1 -1
- package/bin/cli/Start.d.ts +1 -1
- package/bin/cli/Start.d.ts.map +1 -1
- package/bin/cli/Token.js +1 -1
- package/bin/cli/Token.js.map +1 -1
- package/bin/cli/Update.js +1 -1
- package/bin/cli/Update.js.map +1 -1
- package/bin/console/AgentStatusApiRoutes.d.ts +1 -1
- package/bin/console/AgentStatusApiRoutes.d.ts.map +1 -1
- package/bin/console/ChannelAccountApiRoutes.js +2 -2
- package/bin/console/ChannelAccountApiRoutes.js.map +1 -1
- package/bin/console/ConsoleGateway.js +1 -1
- package/bin/console/ConsoleGateway.js.map +1 -1
- package/bin/console/ConsoleGatewayRoutes.d.ts +2 -2
- package/bin/console/ConsoleGatewayRoutes.d.ts.map +1 -1
- package/bin/console/EnvApiRoutes.js +1 -1
- package/bin/console/EnvApiRoutes.js.map +1 -1
- package/bin/console/InlineInstantRoutes.d.ts +2 -2
- package/bin/console/InlineInstantRoutes.d.ts.map +1 -1
- package/bin/console/InlineInstantSessionService.d.ts +3 -3
- package/bin/console/InlineInstantSessionService.d.ts.map +1 -1
- package/bin/console/InlineInstantSessionService.js +8 -8
- package/bin/console/InlineInstantSessionService.js.map +1 -1
- package/bin/console/InlineInstantSystemComposer.d.ts +1 -1
- package/bin/console/InlineInstantSystemComposer.d.ts.map +1 -1
- package/bin/console/InlineInstantSystemComposer.js +3 -3
- package/bin/console/InlineInstantSystemComposer.js.map +1 -1
- package/bin/console/ModelApiRoutes.d.ts +1 -1
- package/bin/console/ModelApiRoutes.d.ts.map +1 -1
- package/bin/console/ModelApiRoutes.js +1 -1
- package/bin/console/ModelApiRoutes.js.map +1 -1
- package/bin/console/ModelPoolService.js +2 -2
- package/bin/console/ModelPoolService.js.map +1 -1
- package/bin/console/PluginApiRoutes.d.ts +1 -1
- package/bin/console/PluginApiRoutes.d.ts.map +1 -1
- package/bin/console/PluginApiRoutes.js +4 -4
- package/bin/console/PluginApiRoutes.js.map +1 -1
- package/bin/console/gateway/AgentActions.d.ts +2 -2
- package/bin/console/gateway/AgentActions.d.ts.map +1 -1
- package/bin/console/gateway/AgentActions.js +1 -2
- package/bin/console/gateway/AgentActions.js.map +1 -1
- package/bin/console/gateway/AgentCatalog.d.ts +1 -1
- package/bin/console/gateway/AgentCatalog.d.ts.map +1 -1
- package/bin/console/gateway/AgentCatalog.js +2 -2
- package/bin/console/gateway/AgentCatalog.js.map +1 -1
- package/bin/constants/DowncitySchema.d.ts +3 -0
- package/bin/constants/DowncitySchema.d.ts.map +1 -0
- package/bin/constants/DowncitySchema.js.map +1 -0
- package/bin/daemon/Api.d.ts +1 -1
- package/bin/daemon/Api.d.ts.map +1 -1
- package/bin/daemon/CliArgs.d.ts +1 -1
- package/bin/daemon/CliArgs.d.ts.map +1 -1
- package/bin/daemon/Manager.d.ts +1 -1
- package/bin/daemon/Manager.d.ts.map +1 -1
- package/bin/daemon/Manager.js +1 -1
- package/bin/daemon/Manager.js.map +1 -1
- package/bin/http/auth/AuthMiddleware.d.ts +1 -1
- package/bin/http/auth/AuthMiddleware.d.ts.map +1 -1
- package/bin/http/auth/AuthService.d.ts +2 -2
- package/bin/http/auth/AuthService.d.ts.map +1 -1
- package/bin/http/auth/AuthService.js +1 -1
- package/bin/http/auth/AuthService.js.map +1 -1
- package/bin/http/auth/AuthStore.d.ts +3 -3
- package/bin/http/auth/AuthStore.d.ts.map +1 -1
- package/bin/http/auth/AuthStore.js +4 -4
- package/bin/http/auth/AuthStore.js.map +1 -1
- package/bin/http/auth/RoutePolicy.d.ts +1 -1
- package/bin/http/auth/RoutePolicy.d.ts.map +1 -1
- package/bin/http/dashboard/AuthDashboardService.d.ts +3 -3
- package/bin/http/dashboard/AuthDashboardService.d.ts.map +1 -1
- package/bin/http/dashboard/AuthDashboardService.js +1 -1
- package/bin/http/dashboard/AuthDashboardService.js.map +1 -1
- package/bin/http/dashboard/ExecuteInput.d.ts +1 -1
- package/bin/http/dashboard/ExecuteInput.d.ts.map +1 -1
- package/bin/http/dashboard/ExecuteInput.js +1 -1
- package/bin/http/dashboard/ExecuteInput.js.map +1 -1
- package/bin/http/dashboard/MessageTimeline.d.ts +2 -2
- package/bin/http/dashboard/MessageTimeline.d.ts.map +1 -1
- package/bin/http/dashboard/MessageTimeline.js +2 -2
- package/bin/http/dashboard/MessageTimeline.js.map +1 -1
- package/bin/http/dashboard/SessionSummaryStore.d.ts +2 -2
- package/bin/http/dashboard/SessionSummaryStore.d.ts.map +1 -1
- package/bin/http/dashboard/SessionSummaryStore.js +1 -1
- package/bin/http/dashboard/SessionSummaryStore.js.map +1 -1
- package/bin/http/dashboard/TaskStore.d.ts +1 -1
- package/bin/http/dashboard/TaskStore.d.ts.map +1 -1
- package/bin/http/dashboard/TaskStore.js +1 -1
- package/bin/http/dashboard/TaskStore.js.map +1 -1
- package/bin/model/ModelCommand.d.ts +1 -1
- package/bin/model/ModelCommand.d.ts.map +1 -1
- package/bin/model/ModelManager.d.ts +1 -1
- package/bin/model/ModelManager.d.ts.map +1 -1
- package/bin/registry/AgentHostRuntime.d.ts +1 -1
- package/bin/registry/AgentHostRuntime.d.ts.map +1 -1
- package/bin/registry/AgentHostRuntime.js +1 -1
- package/bin/registry/AgentHostRuntime.js.map +1 -1
- package/bin/registry/CityRegistry.d.ts +1 -1
- package/bin/registry/CityRegistry.d.ts.map +1 -1
- package/bin/registry/PluginRuntime.d.ts +1 -1
- package/bin/registry/PluginRuntime.d.ts.map +1 -1
- package/bin/rpc/Paths.js +1 -1
- package/bin/rpc/Paths.js.map +1 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts +1 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -1
- package/bin/sandbox/SandboxRunner.d.ts +1 -1
- package/bin/sandbox/SandboxRunner.d.ts.map +1 -1
- package/bin/{shared/utils/store → store}/StoreChannelAccountRepository.d.ts +1 -1
- package/bin/store/StoreChannelAccountRepository.d.ts.map +1 -0
- package/bin/store/StoreChannelAccountRepository.js.map +1 -0
- package/bin/{shared/utils/store → store}/StoreEnvRepository.d.ts +1 -1
- package/bin/store/StoreEnvRepository.d.ts.map +1 -0
- package/bin/store/StoreEnvRepository.js.map +1 -0
- package/bin/{shared/utils/store → store}/StoreModelRepository.d.ts +1 -1
- package/bin/store/StoreModelRepository.d.ts.map +1 -0
- package/bin/store/StoreModelRepository.js.map +1 -0
- package/bin/store/StoreSchema.d.ts.map +1 -0
- package/bin/{shared/utils/store → store}/StoreSchema.js +0 -195
- package/bin/store/StoreSchema.js.map +1 -0
- package/bin/store/StoreSecureSettings.d.ts.map +1 -0
- package/bin/store/StoreSecureSettings.js.map +1 -0
- package/bin/{shared/utils/store → store}/StoreShared.d.ts +2 -2
- package/bin/store/StoreShared.d.ts.map +1 -0
- package/bin/{shared/utils/store → store}/StoreShared.js +1 -1
- package/bin/store/StoreShared.js.map +1 -0
- package/bin/store/crypto.d.ts.map +1 -0
- package/bin/{shared/utils/store → store}/crypto.js +1 -1
- package/bin/store/crypto.js.map +1 -0
- package/bin/{shared/utils/store → store}/index.d.ts +1 -17
- package/bin/store/index.d.ts.map +1 -0
- package/bin/{shared/utils/store → store}/index.js +2 -25
- package/bin/store/index.js.map +1 -0
- package/bin/store/schema.d.ts.map +1 -0
- package/bin/store/schema.js.map +1 -0
- package/bin/types/chat/ChatSession.d.ts +2 -2
- package/bin/types/chat/ChatSession.d.ts.map +1 -1
- package/bin/types/sandbox/SandboxRuntime.d.ts +2 -2
- package/bin/types/sandbox/SandboxRuntime.d.ts.map +1 -1
- package/bin/types/store/Store.d.ts +26 -0
- package/bin/types/store/Store.d.ts.map +1 -0
- package/bin/types/store/Store.js +9 -0
- package/bin/types/store/Store.js.map +1 -0
- package/bin/types/task/TaskRunner.d.ts +5 -5
- package/bin/types/task/TaskRunner.d.ts.map +1 -1
- package/bin/utils/Id.d.ts.map +1 -0
- package/bin/utils/Id.js.map +1 -0
- package/bin/{shared/utils → utils}/cli/CliOutput.d.ts +1 -1
- package/bin/utils/cli/CliOutput.d.ts.map +1 -0
- package/bin/{shared/utils → utils}/cli/CliOutput.js +1 -1
- package/bin/utils/cli/CliOutput.js.map +1 -0
- package/bin/utils/cli/Spinner.d.ts.map +1 -0
- package/bin/utils/cli/Spinner.js.map +1 -0
- package/bin/{shared/utils/storage/index.d.ts → utils/storage.d.ts} +2 -2
- package/bin/utils/storage.d.ts.map +1 -0
- package/bin/{shared/utils/storage/index.js → utils/storage.js} +1 -1
- package/bin/utils/storage.js.map +1 -0
- package/package.json +2 -2
- package/public/app.js +35 -35
- package/src/cli/AgentChat.ts +3 -3
- package/src/cli/AgentHistory.ts +1 -1
- package/src/cli/AgentManager.ts +4 -4
- package/src/cli/AgentReset.ts +1 -1
- package/src/cli/AgentSelection.ts +2 -2
- package/src/cli/ChatAuth.ts +26 -9
- package/src/cli/ChatManager.ts +3 -3
- package/src/cli/Config.ts +2 -2
- package/src/cli/Console.ts +1 -1
- package/src/cli/ConsoleInit.ts +3 -3
- package/src/cli/Env.ts +3 -3
- package/src/cli/Index.ts +2 -2
- package/src/cli/IndexAgentCommand.ts +2 -2
- package/src/cli/IndexConsoleProcess.ts +4 -4
- package/src/cli/IndexConsoleStatus.ts +1 -1
- package/src/cli/Init.ts +3 -3
- package/src/cli/ModelCommandShared.ts +3 -3
- package/src/cli/ModelCreateCommand.ts +2 -2
- package/src/cli/ModelManageCommand.ts +2 -2
- package/src/cli/ModelManager.ts +2 -2
- package/src/cli/ModelReadCommand.ts +2 -2
- package/src/cli/ModelSupport.ts +2 -2
- package/src/cli/Plugins.ts +6 -6
- package/src/cli/PublicHostEnv.ts +1 -1
- package/src/cli/Restart.ts +1 -1
- package/src/cli/Run.ts +7 -12
- package/src/{service/ServiceCommand.ts → cli/ServiceActionCommands.ts} +10 -9
- package/src/cli/ServiceCommandRemote.ts +3 -3
- package/src/cli/ServiceCommandSupport.ts +4 -4
- package/src/cli/ServiceScheduleCommand.ts +3 -3
- package/src/cli/Services.ts +4 -4
- package/src/cli/Start.ts +1 -1
- package/src/cli/Token.ts +2 -2
- package/src/cli/Update.ts +1 -1
- package/src/console/AgentStatusApiRoutes.ts +1 -1
- package/src/console/ChannelAccountApiRoutes.ts +2 -2
- package/src/console/ConsoleGateway.ts +3 -3
- package/src/console/ConsoleGatewayRoutes.ts +2 -2
- package/src/console/EnvApiRoutes.ts +1 -1
- package/src/console/InlineInstantRoutes.ts +2 -2
- package/src/console/InlineInstantSessionService.ts +14 -13
- package/src/console/InlineInstantSystemComposer.ts +3 -3
- package/src/console/ModelApiRoutes.ts +2 -2
- package/src/console/ModelPoolService.ts +3 -3
- package/src/console/PluginApiRoutes.ts +7 -7
- package/src/console/gateway/AgentActions.ts +5 -5
- package/src/console/gateway/AgentCatalog.ts +5 -5
- package/src/{shared/constants → constants}/DowncitySchema.ts +1 -1
- package/src/daemon/Api.ts +1 -1
- package/src/daemon/CliArgs.ts +1 -1
- package/src/daemon/Client.ts +1 -1
- package/src/daemon/Manager.ts +1 -1
- package/src/http/auth/AuthMiddleware.ts +1 -1
- package/src/http/auth/AuthService.ts +3 -3
- package/src/http/auth/AuthStore.ts +6 -6
- package/src/http/auth/RoutePolicy.ts +2 -2
- package/src/http/dashboard/AuthDashboardService.ts +5 -5
- package/src/http/dashboard/ExecuteInput.ts +2 -2
- package/src/http/dashboard/MessageTimeline.ts +4 -4
- package/src/http/dashboard/SessionSummaryStore.ts +5 -4
- package/src/http/dashboard/TaskStore.ts +2 -2
- package/src/model/ModelCommand.ts +1 -1
- package/src/model/ModelManager.ts +1 -1
- package/src/registry/AgentHostRuntime.ts +3 -3
- package/src/registry/CityRegistry.ts +1 -1
- package/src/registry/PluginRuntime.ts +1 -1
- package/src/rpc/Client.ts +1 -1
- package/src/rpc/Paths.ts +1 -1
- package/src/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/sandbox/SandboxRunner.ts +1 -1
- package/src/{shared/utils/store → store}/StoreChannelAccountRepository.ts +1 -1
- package/src/{shared/utils/store → store}/StoreEnvRepository.ts +1 -1
- package/src/{shared/utils/store → store}/StoreModelRepository.ts +1 -1
- package/src/{shared/utils/store → store}/StoreSchema.ts +0 -223
- package/src/{shared/utils/store → store}/StoreShared.ts +2 -2
- package/src/{shared/utils/store → store}/crypto.ts +1 -1
- package/src/{shared/utils/store → store}/index.ts +3 -38
- package/src/types/chat/ChatSession.ts +2 -2
- package/src/types/sandbox/SandboxRuntime.ts +2 -2
- package/src/types/store/Store.ts +27 -0
- package/src/types/task/TaskRunner.ts +5 -5
- package/src/{shared/utils/storage/index.ts → utils/storage.ts} +1 -1
- package/tsconfig.json +1 -4
- package/bin/agent/AgentContext.d.ts +0 -23
- package/bin/agent/AgentContext.d.ts.map +0 -1
- package/bin/agent/AgentContext.js +0 -148
- package/bin/agent/AgentContext.js.map +0 -1
- package/bin/agent/AgentRuntime.d.ts +0 -32
- package/bin/agent/AgentRuntime.d.ts.map +0 -1
- package/bin/agent/AgentRuntime.js +0 -277
- package/bin/agent/AgentRuntime.js.map +0 -1
- package/bin/agent/AgentRuntimeState.d.ts +0 -42
- package/bin/agent/AgentRuntimeState.d.ts.map +0 -1
- package/bin/agent/AgentRuntimeState.js +0 -116
- package/bin/agent/AgentRuntimeState.js.map +0 -1
- package/bin/agent/project/AgentInitializer.d.ts +0 -38
- package/bin/agent/project/AgentInitializer.d.ts.map +0 -1
- package/bin/agent/project/AgentInitializer.js +0 -308
- package/bin/agent/project/AgentInitializer.js.map +0 -1
- package/bin/agent/project/ProjectExecutionBinding.d.ts +0 -27
- package/bin/agent/project/ProjectExecutionBinding.d.ts.map +0 -1
- package/bin/agent/project/ProjectExecutionBinding.js +0 -47
- package/bin/agent/project/ProjectExecutionBinding.js.map +0 -1
- package/bin/config/Config.d.ts +0 -32
- package/bin/config/Config.d.ts.map +0 -1
- package/bin/config/Config.js +0 -217
- package/bin/config/Config.js.map +0 -1
- package/bin/console/ChannelAccountService.d.ts +0 -9
- package/bin/console/ChannelAccountService.d.ts.map +0 -1
- package/bin/console/ChannelAccountService.js +0 -9
- package/bin/console/ChannelAccountService.js.map +0 -1
- package/bin/daemon/ProjectSetup.d.ts +0 -22
- package/bin/daemon/ProjectSetup.d.ts.map +0 -1
- package/bin/daemon/ProjectSetup.js +0 -101
- package/bin/daemon/ProjectSetup.js.map +0 -1
- package/bin/http/Server.d.ts +0 -39
- package/bin/http/Server.d.ts.map +0 -1
- package/bin/http/Server.js +0 -122
- package/bin/http/Server.js.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.d.ts +0 -13
- package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.js +0 -26
- package/bin/http/dashboard/DashboardApiRoutes.js.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +0 -17
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js +0 -78
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.d.ts +0 -39
- package/bin/http/dashboard/ExecuteBySession.d.ts.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.js +0 -129
- package/bin/http/dashboard/ExecuteBySession.js.map +0 -1
- package/bin/http/dashboard/Helpers.d.ts +0 -13
- package/bin/http/dashboard/Helpers.d.ts.map +0 -1
- package/bin/http/dashboard/Helpers.js +0 -13
- package/bin/http/dashboard/Helpers.js.map +0 -1
- package/bin/http/dashboard/ModelRoutes.d.ts +0 -13
- package/bin/http/dashboard/ModelRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/ModelRoutes.js +0 -87
- package/bin/http/dashboard/ModelRoutes.js.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.d.ts +0 -13
- package/bin/http/dashboard/OverviewRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.js +0 -88
- package/bin/http/dashboard/OverviewRoutes.js.map +0 -1
- package/bin/http/dashboard/Router.d.ts +0 -14
- package/bin/http/dashboard/Router.d.ts.map +0 -1
- package/bin/http/dashboard/Router.js +0 -21
- package/bin/http/dashboard/Router.js.map +0 -1
- package/bin/http/dashboard/SessionRoutes.d.ts +0 -13
- package/bin/http/dashboard/SessionRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/SessionRoutes.js +0 -323
- package/bin/http/dashboard/SessionRoutes.js.map +0 -1
- package/bin/http/dashboard/TaskRoutes.d.ts +0 -13
- package/bin/http/dashboard/TaskRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/TaskRoutes.js +0 -318
- package/bin/http/dashboard/TaskRoutes.js.map +0 -1
- package/bin/http/execute/execute.d.ts +0 -14
- package/bin/http/execute/execute.d.ts.map +0 -1
- package/bin/http/execute/execute.js +0 -90
- package/bin/http/execute/execute.js.map +0 -1
- package/bin/http/health/health.d.ts +0 -14
- package/bin/http/health/health.d.ts.map +0 -1
- package/bin/http/health/health.js +0 -24
- package/bin/http/health/health.js.map +0 -1
- package/bin/http/plugins/plugins.d.ts +0 -14
- package/bin/http/plugins/plugins.d.ts.map +0 -1
- package/bin/http/plugins/plugins.js +0 -55
- package/bin/http/plugins/plugins.js.map +0 -1
- package/bin/http/services/services.d.ts +0 -21
- package/bin/http/services/services.d.ts.map +0 -1
- package/bin/http/services/services.js +0 -79
- package/bin/http/services/services.js.map +0 -1
- package/bin/http/static/static.d.ts +0 -14
- package/bin/http/static/static.d.ts.map +0 -1
- package/bin/http/static/static.js +0 -97
- package/bin/http/static/static.js.map +0 -1
- package/bin/model/CreateModel.d.ts +0 -30
- package/bin/model/CreateModel.d.ts.map +0 -1
- package/bin/model/CreateModel.js +0 -305
- package/bin/model/CreateModel.js.map +0 -1
- package/bin/plugin/Activation.d.ts +0 -15
- package/bin/plugin/Activation.d.ts.map +0 -1
- package/bin/plugin/Activation.js +0 -20
- package/bin/plugin/Activation.js.map +0 -1
- package/bin/plugin/Catalog.d.ts +0 -42
- package/bin/plugin/Catalog.d.ts.map +0 -1
- package/bin/plugin/Catalog.js +0 -92
- package/bin/plugin/Catalog.js.map +0 -1
- package/bin/plugin/HookRegistry.d.ts +0 -68
- package/bin/plugin/HookRegistry.d.ts.map +0 -1
- package/bin/plugin/HookRegistry.js +0 -186
- package/bin/plugin/HookRegistry.js.map +0 -1
- package/bin/plugin/HttpRoutes.d.ts +0 -22
- package/bin/plugin/HttpRoutes.d.ts.map +0 -1
- package/bin/plugin/HttpRoutes.js +0 -37
- package/bin/plugin/HttpRoutes.js.map +0 -1
- package/bin/plugin/Lifecycle.d.ts +0 -33
- package/bin/plugin/Lifecycle.d.ts.map +0 -1
- package/bin/plugin/Lifecycle.js +0 -102
- package/bin/plugin/Lifecycle.js.map +0 -1
- package/bin/plugin/LocalExecution.d.ts +0 -32
- package/bin/plugin/LocalExecution.d.ts.map +0 -1
- package/bin/plugin/LocalExecution.js +0 -127
- package/bin/plugin/LocalExecution.js.map +0 -1
- package/bin/plugin/PluginCommand.d.ts +0 -13
- package/bin/plugin/PluginCommand.d.ts.map +0 -1
- package/bin/plugin/PluginCommand.js +0 -189
- package/bin/plugin/PluginCommand.js.map +0 -1
- package/bin/plugin/PluginManager.d.ts +0 -24
- package/bin/plugin/PluginManager.d.ts.map +0 -1
- package/bin/plugin/PluginManager.js +0 -62
- package/bin/plugin/PluginManager.js.map +0 -1
- package/bin/plugin/PluginRegistry.d.ts +0 -66
- package/bin/plugin/PluginRegistry.d.ts.map +0 -1
- package/bin/plugin/PluginRegistry.js +0 -184
- package/bin/plugin/PluginRegistry.js.map +0 -1
- package/bin/plugin/Plugins.d.ts +0 -20
- package/bin/plugin/Plugins.d.ts.map +0 -1
- package/bin/plugin/Plugins.js +0 -33
- package/bin/plugin/Plugins.js.map +0 -1
- package/bin/plugin/ProjectConfigStore.d.ts +0 -30
- package/bin/plugin/ProjectConfigStore.d.ts.map +0 -1
- package/bin/plugin/ProjectConfigStore.js +0 -38
- package/bin/plugin/ProjectConfigStore.js.map +0 -1
- package/bin/plugins/asr/Dependency.d.ts +0 -77
- package/bin/plugins/asr/Dependency.d.ts.map +0 -1
- package/bin/plugins/asr/Dependency.js +0 -238
- package/bin/plugins/asr/Dependency.js.map +0 -1
- package/bin/plugins/asr/ModelCatalog.d.ts +0 -29
- package/bin/plugins/asr/ModelCatalog.d.ts.map +0 -1
- package/bin/plugins/asr/ModelCatalog.js +0 -25
- package/bin/plugins/asr/ModelCatalog.js.map +0 -1
- package/bin/plugins/asr/Plugin.d.ts +0 -14
- package/bin/plugins/asr/Plugin.d.ts.map +0 -1
- package/bin/plugins/asr/Plugin.js +0 -586
- package/bin/plugins/asr/Plugin.js.map +0 -1
- package/bin/plugins/auth/Plugin.d.ts +0 -14
- package/bin/plugins/auth/Plugin.d.ts.map +0 -1
- package/bin/plugins/auth/Plugin.js +0 -180
- package/bin/plugins/auth/Plugin.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +0 -42
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.js +0 -264
- package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +0 -31
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js +0 -122
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +0 -29
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.js +0 -179
- package/bin/plugins/auth/runtime/AuthorizationStore.js.map +0 -1
- package/bin/plugins/skill/Action.d.ts +0 -34
- package/bin/plugins/skill/Action.d.ts.map +0 -1
- package/bin/plugins/skill/Action.js +0 -122
- package/bin/plugins/skill/Action.js.map +0 -1
- package/bin/plugins/skill/Command.d.ts +0 -37
- package/bin/plugins/skill/Command.d.ts.map +0 -1
- package/bin/plugins/skill/Command.js +0 -70
- package/bin/plugins/skill/Command.js.map +0 -1
- package/bin/plugins/skill/Config.d.ts +0 -18
- package/bin/plugins/skill/Config.d.ts.map +0 -1
- package/bin/plugins/skill/Config.js +0 -37
- package/bin/plugins/skill/Config.js.map +0 -1
- package/bin/plugins/skill/PROMPT.txt +0 -10
- package/bin/plugins/skill/Plugin.d.ts +0 -14
- package/bin/plugins/skill/Plugin.d.ts.map +0 -1
- package/bin/plugins/skill/Plugin.js +0 -315
- package/bin/plugins/skill/Plugin.js.map +0 -1
- package/bin/plugins/skill/runtime/Discovery.d.ts +0 -25
- package/bin/plugins/skill/runtime/Discovery.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Discovery.js +0 -130
- package/bin/plugins/skill/runtime/Discovery.js.map +0 -1
- package/bin/plugins/skill/runtime/Frontmatter.d.ts +0 -6
- package/bin/plugins/skill/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Frontmatter.js +0 -12
- package/bin/plugins/skill/runtime/Frontmatter.js.map +0 -1
- package/bin/plugins/skill/runtime/Paths.d.ts +0 -16
- package/bin/plugins/skill/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Paths.js +0 -111
- package/bin/plugins/skill/runtime/Paths.js.map +0 -1
- package/bin/plugins/skill/runtime/Prompt.d.ts +0 -19
- package/bin/plugins/skill/runtime/Prompt.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Prompt.js +0 -54
- package/bin/plugins/skill/runtime/Prompt.js.map +0 -1
- package/bin/plugins/skill/runtime/Store.d.ts +0 -25
- package/bin/plugins/skill/runtime/Store.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Store.js +0 -81
- package/bin/plugins/skill/runtime/Store.js.map +0 -1
- package/bin/plugins/skill/runtime/SystemProvider.d.ts +0 -24
- package/bin/plugins/skill/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/SystemProvider.js +0 -33
- package/bin/plugins/skill/runtime/SystemProvider.js.map +0 -1
- package/bin/plugins/skill/runtime/Types.d.ts +0 -21
- package/bin/plugins/skill/runtime/Types.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Types.js +0 -2
- package/bin/plugins/skill/runtime/Types.js.map +0 -1
- package/bin/plugins/skill/runtime/Utils.d.ts +0 -4
- package/bin/plugins/skill/runtime/Utils.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Utils.js +0 -29
- package/bin/plugins/skill/runtime/Utils.js.map +0 -1
- package/bin/plugins/tts/Dependency.d.ts +0 -90
- package/bin/plugins/tts/Dependency.d.ts.map +0 -1
- package/bin/plugins/tts/Dependency.js +0 -344
- package/bin/plugins/tts/Dependency.js.map +0 -1
- package/bin/plugins/tts/Plugin.d.ts +0 -13
- package/bin/plugins/tts/Plugin.d.ts.map +0 -1
- package/bin/plugins/tts/Plugin.js +0 -524
- package/bin/plugins/tts/Plugin.js.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.d.ts +0 -21
- package/bin/plugins/tts/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.js +0 -90
- package/bin/plugins/tts/runtime/Catalog.js.map +0 -1
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts +0 -143
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/DependencyInstaller.js +0 -261
- package/bin/plugins/tts/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugins/tts/runtime/Installer.d.ts +0 -89
- package/bin/plugins/tts/runtime/Installer.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Installer.js +0 -188
- package/bin/plugins/tts/runtime/Installer.js.map +0 -1
- package/bin/plugins/tts/runtime/Paths.d.ts +0 -20
- package/bin/plugins/tts/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Paths.js +0 -32
- package/bin/plugins/tts/runtime/Paths.js.map +0 -1
- package/bin/plugins/tts/runtime/Synthesizer.d.ts +0 -44
- package/bin/plugins/tts/runtime/Synthesizer.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Synthesizer.js +0 -363
- package/bin/plugins/tts/runtime/Synthesizer.js.map +0 -1
- package/bin/plugins/voice/Dependency.d.ts +0 -77
- package/bin/plugins/voice/Dependency.d.ts.map +0 -1
- package/bin/plugins/voice/Dependency.js +0 -237
- package/bin/plugins/voice/Dependency.js.map +0 -1
- package/bin/plugins/voice/ModelCatalog.d.ts +0 -29
- package/bin/plugins/voice/ModelCatalog.d.ts.map +0 -1
- package/bin/plugins/voice/ModelCatalog.js +0 -25
- package/bin/plugins/voice/ModelCatalog.js.map +0 -1
- package/bin/plugins/voice/Plugin.d.ts +0 -14
- package/bin/plugins/voice/Plugin.d.ts.map +0 -1
- package/bin/plugins/voice/Plugin.js +0 -546
- package/bin/plugins/voice/Plugin.js.map +0 -1
- package/bin/plugins/voice/runtime/Catalog.d.ts +0 -18
- package/bin/plugins/voice/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Catalog.js +0 -61
- package/bin/plugins/voice/runtime/Catalog.js.map +0 -1
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts +0 -145
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/DependencyInstaller.js +0 -309
- package/bin/plugins/voice/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugins/voice/runtime/Installer.d.ts +0 -94
- package/bin/plugins/voice/runtime/Installer.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Installer.js +0 -200
- package/bin/plugins/voice/runtime/Installer.js.map +0 -1
- package/bin/plugins/voice/runtime/Paths.d.ts +0 -8
- package/bin/plugins/voice/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Paths.js +0 -26
- package/bin/plugins/voice/runtime/Paths.js.map +0 -1
- package/bin/plugins/voice/runtime/Transcriber.d.ts +0 -57
- package/bin/plugins/voice/runtime/Transcriber.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Transcriber.js +0 -329
- package/bin/plugins/voice/runtime/Transcriber.js.map +0 -1
- package/bin/plugins/web/Dependency.d.ts +0 -10
- package/bin/plugins/web/Dependency.d.ts.map +0 -1
- package/bin/plugins/web/Dependency.js +0 -10
- package/bin/plugins/web/Dependency.js.map +0 -1
- package/bin/plugins/web/PROMPT.agent-browser.txt +0 -17
- package/bin/plugins/web/PROMPT.txt +0 -33
- package/bin/plugins/web/PROMPT.web-access.txt +0 -13
- package/bin/plugins/web/Plugin.d.ts +0 -13
- package/bin/plugins/web/Plugin.d.ts.map +0 -1
- package/bin/plugins/web/Plugin.js +0 -482
- package/bin/plugins/web/Plugin.js.map +0 -1
- package/bin/plugins/web/runtime/Config.d.ts +0 -21
- package/bin/plugins/web/runtime/Config.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Config.js +0 -79
- package/bin/plugins/web/runtime/Config.js.map +0 -1
- package/bin/plugins/web/runtime/Source.d.ts +0 -29
- package/bin/plugins/web/runtime/Source.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Source.js +0 -215
- package/bin/plugins/web/runtime/Source.js.map +0 -1
- package/bin/plugins/workboard/Plugin.d.ts +0 -13
- package/bin/plugins/workboard/Plugin.d.ts.map +0 -1
- package/bin/plugins/workboard/Plugin.js +0 -71
- package/bin/plugins/workboard/Plugin.js.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.d.ts +0 -14
- package/bin/plugins/workboard/runtime/Collector.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.js +0 -62
- package/bin/plugins/workboard/runtime/Collector.js.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.d.ts +0 -61
- package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.js +0 -172
- package/bin/plugins/workboard/runtime/Normalizer.js.map +0 -1
- package/bin/plugins/workboard/runtime/Store.d.ts +0 -48
- package/bin/plugins/workboard/runtime/Store.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Store.js +0 -84
- package/bin/plugins/workboard/runtime/Store.js.map +0 -1
- package/bin/plugins/workboard/types/Workboard.d.ts +0 -150
- package/bin/plugins/workboard/types/Workboard.d.ts.map +0 -1
- package/bin/plugins/workboard/types/Workboard.js +0 -9
- package/bin/plugins/workboard/types/Workboard.js.map +0 -1
- package/bin/rpc/Server.d.ts +0 -18
- package/bin/rpc/Server.d.ts.map +0 -1
- package/bin/rpc/Server.js +0 -307
- package/bin/rpc/Server.js.map +0 -1
- package/bin/rpc/Transport.d.ts +0 -21
- package/bin/rpc/Transport.d.ts.map +0 -1
- package/bin/rpc/Transport.js +0 -30
- package/bin/rpc/Transport.js.map +0 -1
- package/bin/runtime/AgentHostRuntime.d.ts +0 -10
- package/bin/runtime/AgentHostRuntime.d.ts.map +0 -1
- package/bin/runtime/AgentHostRuntime.js +0 -47
- package/bin/runtime/AgentHostRuntime.js.map +0 -1
- package/bin/runtime/CityPaths.d.ts +0 -61
- package/bin/runtime/CityPaths.d.ts.map +0 -1
- package/bin/runtime/CityPaths.js +0 -90
- package/bin/runtime/CityPaths.js.map +0 -1
- package/bin/runtime/CityRegistry.d.ts +0 -51
- package/bin/runtime/CityRegistry.d.ts.map +0 -1
- package/bin/runtime/CityRegistry.js +0 -217
- package/bin/runtime/CityRegistry.js.map +0 -1
- package/bin/runtime/CityRuntime.d.ts +0 -21
- package/bin/runtime/CityRuntime.d.ts.map +0 -1
- package/bin/runtime/CityRuntime.js +0 -45
- package/bin/runtime/CityRuntime.js.map +0 -1
- package/bin/runtime/PluginRuntime.d.ts +0 -24
- package/bin/runtime/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/PluginRuntime.js +0 -31
- package/bin/runtime/PluginRuntime.js.map +0 -1
- package/bin/runtime/ProcessSweep.d.ts +0 -76
- package/bin/runtime/ProcessSweep.d.ts.map +0 -1
- package/bin/runtime/ProcessSweep.js +0 -202
- package/bin/runtime/ProcessSweep.js.map +0 -1
- package/bin/service/Manager.d.ts +0 -13
- package/bin/service/Manager.d.ts.map +0 -1
- package/bin/service/Manager.js +0 -12
- package/bin/service/Manager.js.map +0 -1
- package/bin/service/ServiceActionApi.d.ts +0 -15
- package/bin/service/ServiceActionApi.d.ts.map +0 -1
- package/bin/service/ServiceActionApi.js +0 -234
- package/bin/service/ServiceActionApi.js.map +0 -1
- package/bin/service/ServiceActionRunner.d.ts +0 -44
- package/bin/service/ServiceActionRunner.d.ts.map +0 -1
- package/bin/service/ServiceActionRunner.js +0 -211
- package/bin/service/ServiceActionRunner.js.map +0 -1
- package/bin/service/ServiceClassRegistry.d.ts +0 -40
- package/bin/service/ServiceClassRegistry.d.ts.map +0 -1
- package/bin/service/ServiceClassRegistry.js +0 -64
- package/bin/service/ServiceClassRegistry.js.map +0 -1
- package/bin/service/ServiceCommand.d.ts.map +0 -1
- package/bin/service/ServiceCommand.js.map +0 -1
- package/bin/service/ServiceManager.d.ts +0 -9
- package/bin/service/ServiceManager.d.ts.map +0 -1
- package/bin/service/ServiceManager.js +0 -9
- package/bin/service/ServiceManager.js.map +0 -1
- package/bin/service/ServiceStateController.d.ts +0 -79
- package/bin/service/ServiceStateController.d.ts.map +0 -1
- package/bin/service/ServiceStateController.js +0 -245
- package/bin/service/ServiceStateController.js.map +0 -1
- package/bin/service/ServiceSystemProviders.d.ts +0 -27
- package/bin/service/ServiceSystemProviders.d.ts.map +0 -1
- package/bin/service/ServiceSystemProviders.js +0 -34
- package/bin/service/ServiceSystemProviders.js.map +0 -1
- package/bin/service/Services.d.ts +0 -18
- package/bin/service/Services.d.ts.map +0 -1
- package/bin/service/Services.js +0 -23
- package/bin/service/Services.js.map +0 -1
- package/bin/service/schedule/Executor.d.ts +0 -17
- package/bin/service/schedule/Executor.d.ts.map +0 -1
- package/bin/service/schedule/Executor.js +0 -48
- package/bin/service/schedule/Executor.js.map +0 -1
- package/bin/service/schedule/Runtime.d.ts +0 -17
- package/bin/service/schedule/Runtime.d.ts.map +0 -1
- package/bin/service/schedule/Runtime.js +0 -64
- package/bin/service/schedule/Runtime.js.map +0 -1
- package/bin/service/schedule/Schema.d.ts +0 -171
- package/bin/service/schedule/Schema.d.ts.map +0 -1
- package/bin/service/schedule/Schema.js +0 -26
- package/bin/service/schedule/Schema.js.map +0 -1
- package/bin/service/schedule/Store.d.ts +0 -94
- package/bin/service/schedule/Store.d.ts.map +0 -1
- package/bin/service/schedule/Store.js +0 -266
- package/bin/service/schedule/Store.js.map +0 -1
- package/bin/service/schedule/Time.d.ts +0 -31
- package/bin/service/schedule/Time.d.ts.map +0 -1
- package/bin/service/schedule/Time.js +0 -107
- package/bin/service/schedule/Time.js.map +0 -1
- package/bin/services/BaseService.d.ts +0 -62
- package/bin/services/BaseService.d.ts.map +0 -1
- package/bin/services/BaseService.js +0 -56
- package/bin/services/BaseService.js.map +0 -1
- package/bin/services/chat/Action.d.ts +0 -125
- package/bin/services/chat/Action.d.ts.map +0 -1
- package/bin/services/chat/Action.js +0 -376
- package/bin/services/chat/Action.js.map +0 -1
- package/bin/services/chat/ChatService.d.ts +0 -63
- package/bin/services/chat/ChatService.d.ts.map +0 -1
- package/bin/services/chat/ChatService.js +0 -96
- package/bin/services/chat/ChatService.js.map +0 -1
- package/bin/services/chat/Index.d.ts +0 -9
- package/bin/services/chat/Index.d.ts.map +0 -1
- package/bin/services/chat/Index.js +0 -9
- package/bin/services/chat/Index.js.map +0 -1
- package/bin/services/chat/PROMPT.direct.txt +0 -55
- package/bin/services/chat/accounts/ChannelAccountService.d.ts +0 -60
- package/bin/services/chat/accounts/ChannelAccountService.d.ts.map +0 -1
- package/bin/services/chat/accounts/ChannelAccountService.js +0 -285
- package/bin/services/chat/accounts/ChannelAccountService.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannel.d.ts +0 -201
- package/bin/services/chat/channels/BaseChatChannel.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannel.js +0 -294
- package/bin/services/chat/channels/BaseChatChannel.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +0 -73
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelQueue.js +0 -238
- package/bin/services/chat/channels/BaseChatChannelQueue.js.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +0 -189
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/BaseChatChannelSupport.js +0 -141
- package/bin/services/chat/channels/BaseChatChannelSupport.js.map +0 -1
- package/bin/services/chat/channels/BotInfoProvider.d.ts +0 -18
- package/bin/services/chat/channels/BotInfoProvider.d.ts.map +0 -1
- package/bin/services/chat/channels/BotInfoProvider.js +0 -32
- package/bin/services/chat/channels/BotInfoProvider.js.map +0 -1
- package/bin/services/chat/channels/Configuration.d.ts +0 -27
- package/bin/services/chat/channels/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/Configuration.js +0 -19
- package/bin/services/chat/channels/Configuration.js.map +0 -1
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts +0 -18
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
- package/bin/services/chat/channels/ConfigurationRegistry.js +0 -31
- package/bin/services/chat/channels/ConfigurationRegistry.js.map +0 -1
- package/bin/services/chat/channels/feishu/BotInfo.d.ts +0 -20
- package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/BotInfo.js +0 -147
- package/bin/services/chat/channels/feishu/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/feishu/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/feishu/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Configuration.js +0 -59
- package/bin/services/chat/channels/feishu/Configuration.js.map +0 -1
- package/bin/services/chat/channels/feishu/Feishu.d.ts +0 -116
- package/bin/services/chat/channels/feishu/Feishu.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Feishu.js +0 -458
- package/bin/services/chat/channels/feishu/Feishu.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +0 -21
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuInbound.js +0 -43
- package/bin/services/chat/channels/feishu/FeishuInbound.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.js +0 -316
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js +0 -299
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js +0 -139
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +0 -31
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/InboundAttachment.js +0 -222
- package/bin/services/chat/channels/feishu/InboundAttachment.js.map +0 -1
- package/bin/services/chat/channels/feishu/PROMPT.direct.txt +0 -5
- package/bin/services/chat/channels/feishu/PostMessage.d.ts +0 -48
- package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/PostMessage.js +0 -413
- package/bin/services/chat/channels/feishu/PostMessage.js.map +0 -1
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts +0 -18
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/ReplyContext.js +0 -56
- package/bin/services/chat/channels/feishu/ReplyContext.js.map +0 -1
- package/bin/services/chat/channels/feishu/Shared.d.ts +0 -21
- package/bin/services/chat/channels/feishu/Shared.d.ts.map +0 -1
- package/bin/services/chat/channels/feishu/Shared.js +0 -69
- package/bin/services/chat/channels/feishu/Shared.js.map +0 -1
- package/bin/services/chat/channels/qq/BotInfo.d.ts +0 -19
- package/bin/services/chat/channels/qq/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/BotInfo.js +0 -112
- package/bin/services/chat/channels/qq/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/qq/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/qq/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/Configuration.js +0 -59
- package/bin/services/chat/channels/qq/Configuration.js.map +0 -1
- package/bin/services/chat/channels/qq/PROMPT.direct.txt +0 -11
- package/bin/services/chat/channels/qq/QQ.d.ts +0 -92
- package/bin/services/chat/channels/qq/QQ.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQ.js +0 -485
- package/bin/services/chat/channels/qq/QQ.js.map +0 -1
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts +0 -22
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQEventCapture.js +0 -67
- package/bin/services/chat/channels/qq/QQEventCapture.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayAuth.js +0 -186
- package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +0 -179
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewayClient.js +0 -540
- package/bin/services/chat/channels/qq/QQGatewayClient.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +0 -84
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySend.js +0 -120
- package/bin/services/chat/channels/qq/QQGatewaySend.js.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQGatewaySupport.js +0 -137
- package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +0 -1
- package/bin/services/chat/channels/qq/QQInbound.d.ts +0 -47
- package/bin/services/chat/channels/qq/QQInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQInbound.js +0 -235
- package/bin/services/chat/channels/qq/QQInbound.js.map +0 -1
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +0 -48
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQInboundDedupe.js +0 -108
- package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +0 -1
- package/bin/services/chat/channels/qq/QQSendSupport.d.ts +0 -20
- package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQSendSupport.js +0 -86
- package/bin/services/chat/channels/qq/QQSendSupport.js.map +0 -1
- package/bin/services/chat/channels/qq/QQSupport.d.ts +0 -102
- package/bin/services/chat/channels/qq/QQSupport.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/QQSupport.js +0 -172
- package/bin/services/chat/channels/qq/QQSupport.js.map +0 -1
- package/bin/services/chat/channels/qq/VoiceInput.d.ts +0 -64
- package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +0 -1
- package/bin/services/chat/channels/qq/VoiceInput.js +0 -299
- package/bin/services/chat/channels/qq/VoiceInput.js.map +0 -1
- package/bin/services/chat/channels/telegram/ApiClient.d.ts +0 -99
- package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/ApiClient.js +0 -306
- package/bin/services/chat/channels/telegram/ApiClient.js.map +0 -1
- package/bin/services/chat/channels/telegram/Bot.d.ts +0 -97
- package/bin/services/chat/channels/telegram/Bot.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Bot.js +0 -504
- package/bin/services/chat/channels/telegram/Bot.js.map +0 -1
- package/bin/services/chat/channels/telegram/BotInfo.d.ts +0 -19
- package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/BotInfo.js +0 -71
- package/bin/services/chat/channels/telegram/BotInfo.js.map +0 -1
- package/bin/services/chat/channels/telegram/Configuration.d.ts +0 -17
- package/bin/services/chat/channels/telegram/Configuration.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Configuration.js +0 -59
- package/bin/services/chat/channels/telegram/Configuration.js.map +0 -1
- package/bin/services/chat/channels/telegram/Handlers.d.ts +0 -42
- package/bin/services/chat/channels/telegram/Handlers.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Handlers.js +0 -45
- package/bin/services/chat/channels/telegram/Handlers.js.map +0 -1
- package/bin/services/chat/channels/telegram/PROMPT.direct.txt +0 -1
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts +0 -14
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/ReplyContext.js +0 -57
- package/bin/services/chat/channels/telegram/ReplyContext.js.map +0 -1
- package/bin/services/chat/channels/telegram/Shared.d.ts +0 -221
- package/bin/services/chat/channels/telegram/Shared.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/Shared.js +0 -171
- package/bin/services/chat/channels/telegram/Shared.js.map +0 -1
- package/bin/services/chat/channels/telegram/StateStore.d.ts +0 -27
- package/bin/services/chat/channels/telegram/StateStore.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/StateStore.js +0 -53
- package/bin/services/chat/channels/telegram/StateStore.js.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramInbound.d.ts +0 -46
- package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramInbound.js +0 -148
- package/bin/services/chat/channels/telegram/TelegramInbound.js.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.js +0 -366
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
- package/bin/services/chat/runtime/ChannelContextStore.d.ts +0 -78
- package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChannelContextStore.js +0 -336
- package/bin/services/chat/runtime/ChannelContextStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatActionExecution.d.ts +0 -145
- package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatActionExecution.js +0 -287
- package/bin/services/chat/runtime/ChatActionExecution.js.map +0 -1
- package/bin/services/chat/runtime/ChatActionInput.d.ts +0 -63
- package/bin/services/chat/runtime/ChatActionInput.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatActionInput.js +0 -458
- package/bin/services/chat/runtime/ChatActionInput.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelActions.d.ts +0 -122
- package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelActions.js +0 -237
- package/bin/services/chat/runtime/ChatChannelActions.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts +0 -61
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelConfig.js +0 -265
- package/bin/services/chat/runtime/ChatChannelConfig.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelCore.d.ts +0 -41
- package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelCore.js +0 -92
- package/bin/services/chat/runtime/ChatChannelCore.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelFacade.d.ts +0 -12
- package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelFacade.js +0 -12
- package/bin/services/chat/runtime/ChatChannelFacade.js.map +0 -1
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatChannelLifecycle.js +0 -132
- package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +0 -1
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts +0 -72
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatHistoryStore.js +0 -219
- package/bin/services/chat/runtime/ChatHistoryStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatIngressStore.d.ts +0 -52
- package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatIngressStore.js +0 -65
- package/bin/services/chat/runtime/ChatIngressStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +0 -54
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatMessageMarkup.js +0 -233
- package/bin/services/chat/runtime/ChatMessageMarkup.js.map +0 -1
- package/bin/services/chat/runtime/ChatMetaStore.d.ts +0 -68
- package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatMetaStore.js +0 -143
- package/bin/services/chat/runtime/ChatMetaStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueue.d.ts +0 -40
- package/bin/services/chat/runtime/ChatQueue.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueue.js +0 -52
- package/bin/services/chat/runtime/ChatQueue.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -31
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.js +0 -168
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js +0 -98
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueStore.d.ts +0 -85
- package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueStore.js +0 -130
- package/bin/services/chat/runtime/ChatQueueStore.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts +0 -88
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorker.js +0 -435
- package/bin/services/chat/runtime/ChatQueueWorker.js.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.js +0 -101
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts +0 -20
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSendMetadata.js +0 -130
- package/bin/services/chat/runtime/ChatSendMetadata.js.map +0 -1
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts +0 -27
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSendRegistry.js +0 -26
- package/bin/services/chat/runtime/ChatSendRegistry.js.map +0 -1
- package/bin/services/chat/runtime/ChatServiceActions.d.ts +0 -17
- package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatServiceActions.js +0 -411
- package/bin/services/chat/runtime/ChatServiceActions.js.map +0 -1
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts +0 -22
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatServiceSystem.js +0 -87
- package/bin/services/chat/runtime/ChatServiceSystem.js.map +0 -1
- package/bin/services/chat/runtime/ChatSession.d.ts +0 -73
- package/bin/services/chat/runtime/ChatSession.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSession.js +0 -78
- package/bin/services/chat/runtime/ChatSession.js.map +0 -1
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts +0 -29
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSessionDelete.js +0 -76
- package/bin/services/chat/runtime/ChatSessionDelete.js.map +0 -1
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +0 -45
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +0 -60
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +0 -1
- package/bin/services/chat/runtime/ChatkeySend.d.ts +0 -67
- package/bin/services/chat/runtime/ChatkeySend.d.ts.map +0 -1
- package/bin/services/chat/runtime/ChatkeySend.js +0 -147
- package/bin/services/chat/runtime/ChatkeySend.js.map +0 -1
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts +0 -22
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
- package/bin/services/chat/runtime/DirectDispatchParser.js +0 -133
- package/bin/services/chat/runtime/DirectDispatchParser.js.map +0 -1
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts +0 -24
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/EnqueueDispatch.js +0 -28
- package/bin/services/chat/runtime/EnqueueDispatch.js.map +0 -1
- package/bin/services/chat/runtime/InboundAugment.d.ts +0 -21
- package/bin/services/chat/runtime/InboundAugment.d.ts.map +0 -1
- package/bin/services/chat/runtime/InboundAugment.js +0 -50
- package/bin/services/chat/runtime/InboundAugment.js.map +0 -1
- package/bin/services/chat/runtime/PluginDispatch.d.ts +0 -43
- package/bin/services/chat/runtime/PluginDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/PluginDispatch.js +0 -57
- package/bin/services/chat/runtime/PluginDispatch.js.map +0 -1
- package/bin/services/chat/runtime/PluginPoints.d.ts +0 -78
- package/bin/services/chat/runtime/PluginPoints.d.ts.map +0 -1
- package/bin/services/chat/runtime/PluginPoints.js +0 -78
- package/bin/services/chat/runtime/PluginPoints.js.map +0 -1
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts +0 -20
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
- package/bin/services/chat/runtime/QueuedUserMessage.js +0 -40
- package/bin/services/chat/runtime/QueuedUserMessage.js.map +0 -1
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +0 -29
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
- package/bin/services/chat/runtime/ReplyContextFormatter.js +0 -74
- package/bin/services/chat/runtime/ReplyContextFormatter.js.map +0 -1
- package/bin/services/chat/runtime/ReplyDispatch.d.ts +0 -36
- package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +0 -1
- package/bin/services/chat/runtime/ReplyDispatch.js +0 -51
- package/bin/services/chat/runtime/ReplyDispatch.js.map +0 -1
- package/bin/services/chat/runtime/SystemPrompt.d.ts +0 -26
- package/bin/services/chat/runtime/SystemPrompt.d.ts.map +0 -1
- package/bin/services/chat/runtime/SystemPrompt.js +0 -70
- package/bin/services/chat/runtime/SystemPrompt.js.map +0 -1
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts +0 -24
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
- package/bin/services/chat/runtime/UIMessageTransformer.js +0 -102
- package/bin/services/chat/runtime/UIMessageTransformer.js.map +0 -1
- package/bin/services/chat/runtime/UserVisibleText.d.ts +0 -34
- package/bin/services/chat/runtime/UserVisibleText.d.ts.map +0 -1
- package/bin/services/chat/runtime/UserVisibleText.js +0 -73
- package/bin/services/chat/runtime/UserVisibleText.js.map +0 -1
- package/bin/services/chat/types/BotInfo.d.ts +0 -97
- package/bin/services/chat/types/BotInfo.d.ts.map +0 -1
- package/bin/services/chat/types/BotInfo.js +0 -9
- package/bin/services/chat/types/BotInfo.js.map +0 -1
- package/bin/services/chat/types/ChannelAccount.d.ts +0 -226
- package/bin/services/chat/types/ChannelAccount.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelAccount.js +0 -9
- package/bin/services/chat/types/ChannelAccount.js.map +0 -1
- package/bin/services/chat/types/ChannelConfiguration.d.ts +0 -146
- package/bin/services/chat/types/ChannelConfiguration.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelConfiguration.js +0 -9
- package/bin/services/chat/types/ChannelConfiguration.js.map +0 -1
- package/bin/services/chat/types/ChannelContext.d.ts +0 -107
- package/bin/services/chat/types/ChannelContext.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelContext.js +0 -9
- package/bin/services/chat/types/ChannelContext.js.map +0 -1
- package/bin/services/chat/types/ChannelStatus.d.ts +0 -88
- package/bin/services/chat/types/ChannelStatus.d.ts.map +0 -1
- package/bin/services/chat/types/ChannelStatus.js +0 -9
- package/bin/services/chat/types/ChannelStatus.js.map +0 -1
- package/bin/services/chat/types/ChatCommand.d.ts +0 -163
- package/bin/services/chat/types/ChatCommand.d.ts.map +0 -1
- package/bin/services/chat/types/ChatCommand.js +0 -9
- package/bin/services/chat/types/ChatCommand.js.map +0 -1
- package/bin/services/chat/types/ChatDispatcher.d.ts +0 -37
- package/bin/services/chat/types/ChatDispatcher.d.ts.map +0 -1
- package/bin/services/chat/types/ChatDispatcher.js +0 -9
- package/bin/services/chat/types/ChatDispatcher.js.map +0 -1
- package/bin/services/chat/types/ChatHistory.d.ts +0 -36
- package/bin/services/chat/types/ChatHistory.d.ts.map +0 -1
- package/bin/services/chat/types/ChatHistory.js +0 -9
- package/bin/services/chat/types/ChatHistory.js.map +0 -1
- package/bin/services/chat/types/ChatMessageMarkup.d.ts +0 -144
- package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/services/chat/types/ChatMessageMarkup.js +0 -9
- package/bin/services/chat/types/ChatMessageMarkup.js.map +0 -1
- package/bin/services/chat/types/ChatMeta.d.ts +0 -34
- package/bin/services/chat/types/ChatMeta.d.ts.map +0 -1
- package/bin/services/chat/types/ChatMeta.js +0 -10
- package/bin/services/chat/types/ChatMeta.js.map +0 -1
- package/bin/services/chat/types/ChatQueue.d.ts +0 -44
- package/bin/services/chat/types/ChatQueue.d.ts.map +0 -1
- package/bin/services/chat/types/ChatQueue.js +0 -9
- package/bin/services/chat/types/ChatQueue.js.map +0 -1
- package/bin/services/chat/types/DirectDispatch.d.ts +0 -115
- package/bin/services/chat/types/DirectDispatch.d.ts.map +0 -1
- package/bin/services/chat/types/DirectDispatch.js +0 -9
- package/bin/services/chat/types/DirectDispatch.js.map +0 -1
- package/bin/services/chat/types/FeishuAttachment.d.ts +0 -42
- package/bin/services/chat/types/FeishuAttachment.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuAttachment.js +0 -9
- package/bin/services/chat/types/FeishuAttachment.js.map +0 -1
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts +0 -114
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuInboundAttachment.js +0 -9
- package/bin/services/chat/types/FeishuInboundAttachment.js.map +0 -1
- package/bin/services/chat/types/FeishuPost.d.ts +0 -287
- package/bin/services/chat/types/FeishuPost.d.ts.map +0 -1
- package/bin/services/chat/types/FeishuPost.js +0 -9
- package/bin/services/chat/types/FeishuPost.js.map +0 -1
- package/bin/services/chat/types/QqInboundDedupe.d.ts +0 -12
- package/bin/services/chat/types/QqInboundDedupe.d.ts.map +0 -1
- package/bin/services/chat/types/QqInboundDedupe.js +0 -2
- package/bin/services/chat/types/QqInboundDedupe.js.map +0 -1
- package/bin/services/chat/types/QqVoice.d.ts +0 -118
- package/bin/services/chat/types/QqVoice.d.ts.map +0 -1
- package/bin/services/chat/types/QqVoice.js +0 -9
- package/bin/services/chat/types/QqVoice.js.map +0 -1
- package/bin/services/chat/types/ReplyContext.d.ts +0 -46
- package/bin/services/chat/types/ReplyContext.d.ts.map +0 -1
- package/bin/services/chat/types/ReplyContext.js +0 -10
- package/bin/services/chat/types/ReplyContext.js.map +0 -1
- package/bin/services/contact/Action.d.ts +0 -9
- package/bin/services/contact/Action.d.ts.map +0 -1
- package/bin/services/contact/Action.js +0 -9
- package/bin/services/contact/Action.js.map +0 -1
- package/bin/services/contact/ContactService.d.ts +0 -39
- package/bin/services/contact/ContactService.d.ts.map +0 -1
- package/bin/services/contact/ContactService.js +0 -683
- package/bin/services/contact/ContactService.js.map +0 -1
- package/bin/services/contact/Index.d.ts +0 -8
- package/bin/services/contact/Index.d.ts.map +0 -1
- package/bin/services/contact/Index.js +0 -8
- package/bin/services/contact/Index.js.map +0 -1
- package/bin/services/contact/PROMPT.txt +0 -25
- package/bin/services/contact/runtime/ApproveCallback.d.ts +0 -23
- package/bin/services/contact/runtime/ApproveCallback.d.ts.map +0 -1
- package/bin/services/contact/runtime/ApproveCallback.js +0 -83
- package/bin/services/contact/runtime/ApproveCallback.js.map +0 -1
- package/bin/services/contact/runtime/ChatRuntime.d.ts +0 -27
- package/bin/services/contact/runtime/ChatRuntime.d.ts.map +0 -1
- package/bin/services/contact/runtime/ChatRuntime.js +0 -59
- package/bin/services/contact/runtime/ChatRuntime.js.map +0 -1
- package/bin/services/contact/runtime/ContactStore.d.ts +0 -49
- package/bin/services/contact/runtime/ContactStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/ContactStore.js +0 -255
- package/bin/services/contact/runtime/ContactStore.js.map +0 -1
- package/bin/services/contact/runtime/EndpointNotice.d.ts +0 -39
- package/bin/services/contact/runtime/EndpointNotice.d.ts.map +0 -1
- package/bin/services/contact/runtime/EndpointNotice.js +0 -98
- package/bin/services/contact/runtime/EndpointNotice.js.map +0 -1
- package/bin/services/contact/runtime/EndpointResolver.d.ts +0 -36
- package/bin/services/contact/runtime/EndpointResolver.d.ts.map +0 -1
- package/bin/services/contact/runtime/EndpointResolver.js +0 -113
- package/bin/services/contact/runtime/EndpointResolver.js.map +0 -1
- package/bin/services/contact/runtime/InboxStore.d.ts +0 -33
- package/bin/services/contact/runtime/InboxStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/InboxStore.js +0 -142
- package/bin/services/contact/runtime/InboxStore.js.map +0 -1
- package/bin/services/contact/runtime/LinkApproval.d.ts +0 -20
- package/bin/services/contact/runtime/LinkApproval.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkApproval.js +0 -317
- package/bin/services/contact/runtime/LinkApproval.js.map +0 -1
- package/bin/services/contact/runtime/LinkCode.d.ts +0 -21
- package/bin/services/contact/runtime/LinkCode.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkCode.js +0 -61
- package/bin/services/contact/runtime/LinkCode.js.map +0 -1
- package/bin/services/contact/runtime/LinkStore.d.ts +0 -17
- package/bin/services/contact/runtime/LinkStore.d.ts.map +0 -1
- package/bin/services/contact/runtime/LinkStore.js +0 -39
- package/bin/services/contact/runtime/LinkStore.js.map +0 -1
- package/bin/services/contact/runtime/Paths.d.ts +0 -64
- package/bin/services/contact/runtime/Paths.d.ts.map +0 -1
- package/bin/services/contact/runtime/Paths.js +0 -103
- package/bin/services/contact/runtime/Paths.js.map +0 -1
- package/bin/services/contact/runtime/RemoteClient.d.ts +0 -46
- package/bin/services/contact/runtime/RemoteClient.d.ts.map +0 -1
- package/bin/services/contact/runtime/RemoteClient.js +0 -102
- package/bin/services/contact/runtime/RemoteClient.js.map +0 -1
- package/bin/services/contact/runtime/ShareBundle.d.ts +0 -65
- package/bin/services/contact/runtime/ShareBundle.d.ts.map +0 -1
- package/bin/services/contact/runtime/ShareBundle.js +0 -185
- package/bin/services/contact/runtime/ShareBundle.js.map +0 -1
- package/bin/services/contact/runtime/SystemProvider.d.ts +0 -12
- package/bin/services/contact/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/services/contact/runtime/SystemProvider.js +0 -21
- package/bin/services/contact/runtime/SystemProvider.js.map +0 -1
- package/bin/services/contact/runtime/Token.d.ts +0 -24
- package/bin/services/contact/runtime/Token.d.ts.map +0 -1
- package/bin/services/contact/runtime/Token.js +0 -36
- package/bin/services/contact/runtime/Token.js.map +0 -1
- package/bin/services/memory/Action.d.ts +0 -41
- package/bin/services/memory/Action.d.ts.map +0 -1
- package/bin/services/memory/Action.js +0 -149
- package/bin/services/memory/Action.js.map +0 -1
- package/bin/services/memory/Index.d.ts +0 -9
- package/bin/services/memory/Index.d.ts.map +0 -1
- package/bin/services/memory/Index.js +0 -9
- package/bin/services/memory/Index.js.map +0 -1
- package/bin/services/memory/MemoryService.d.ts +0 -45
- package/bin/services/memory/MemoryService.d.ts.map +0 -1
- package/bin/services/memory/MemoryService.js +0 -299
- package/bin/services/memory/MemoryService.js.map +0 -1
- package/bin/services/memory/runtime/Flush.d.ts +0 -15
- package/bin/services/memory/runtime/Flush.d.ts.map +0 -1
- package/bin/services/memory/runtime/Flush.js +0 -63
- package/bin/services/memory/runtime/Flush.js.map +0 -1
- package/bin/services/memory/runtime/Indexer.d.ts +0 -71
- package/bin/services/memory/runtime/Indexer.d.ts.map +0 -1
- package/bin/services/memory/runtime/Indexer.js +0 -345
- package/bin/services/memory/runtime/Indexer.js.map +0 -1
- package/bin/services/memory/runtime/Search.d.ts +0 -15
- package/bin/services/memory/runtime/Search.d.ts.map +0 -1
- package/bin/services/memory/runtime/Search.js +0 -64
- package/bin/services/memory/runtime/Search.js.map +0 -1
- package/bin/services/memory/runtime/Store.d.ts +0 -106
- package/bin/services/memory/runtime/Store.d.ts.map +0 -1
- package/bin/services/memory/runtime/Store.js +0 -262
- package/bin/services/memory/runtime/Store.js.map +0 -1
- package/bin/services/memory/runtime/SystemProvider.d.ts +0 -22
- package/bin/services/memory/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/services/memory/runtime/SystemProvider.js +0 -126
- package/bin/services/memory/runtime/SystemProvider.js.map +0 -1
- package/bin/services/memory/runtime/Writer.d.ts +0 -23
- package/bin/services/memory/runtime/Writer.d.ts.map +0 -1
- package/bin/services/memory/runtime/Writer.js +0 -140
- package/bin/services/memory/runtime/Writer.js.map +0 -1
- package/bin/services/memory/types/Memory.d.ts +0 -318
- package/bin/services/memory/types/Memory.d.ts.map +0 -1
- package/bin/services/memory/types/Memory.js +0 -9
- package/bin/services/memory/types/Memory.js.map +0 -1
- package/bin/services/shell/Index.d.ts +0 -9
- package/bin/services/shell/Index.d.ts.map +0 -1
- package/bin/services/shell/Index.js +0 -9
- package/bin/services/shell/Index.js.map +0 -1
- package/bin/services/shell/ShellService.d.ts +0 -65
- package/bin/services/shell/ShellService.d.ts.map +0 -1
- package/bin/services/shell/ShellService.js +0 -138
- package/bin/services/shell/ShellService.js.map +0 -1
- package/bin/services/shell/runtime/Paths.d.ts +0 -12
- package/bin/services/shell/runtime/Paths.d.ts.map +0 -1
- package/bin/services/shell/runtime/Paths.js +0 -21
- package/bin/services/shell/runtime/Paths.js.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts +0 -49
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntime.js +0 -463
- package/bin/services/shell/runtime/ShellActionRuntime.js.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -107
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +0 -452
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
- package/bin/services/shell/types/ShellService.d.ts +0 -216
- package/bin/services/shell/types/ShellService.d.ts.map +0 -1
- package/bin/services/shell/types/ShellService.js +0 -9
- package/bin/services/shell/types/ShellService.js.map +0 -1
- package/bin/services/task/Action.d.ts +0 -36
- package/bin/services/task/Action.d.ts.map +0 -1
- package/bin/services/task/Action.js +0 -407
- package/bin/services/task/Action.js.map +0 -1
- package/bin/services/task/Index.d.ts +0 -9
- package/bin/services/task/Index.d.ts.map +0 -1
- package/bin/services/task/Index.js +0 -9
- package/bin/services/task/Index.js.map +0 -1
- package/bin/services/task/PROMPT.txt +0 -237
- package/bin/services/task/Scheduler.d.ts +0 -17
- package/bin/services/task/Scheduler.d.ts.map +0 -1
- package/bin/services/task/Scheduler.js +0 -231
- package/bin/services/task/Scheduler.js.map +0 -1
- package/bin/services/task/TaskService.d.ts +0 -57
- package/bin/services/task/TaskService.d.ts.map +0 -1
- package/bin/services/task/TaskService.js +0 -126
- package/bin/services/task/TaskService.js.map +0 -1
- package/bin/services/task/runtime/CronRuntime.d.ts +0 -34
- package/bin/services/task/runtime/CronRuntime.d.ts.map +0 -1
- package/bin/services/task/runtime/CronRuntime.js +0 -59
- package/bin/services/task/runtime/CronRuntime.js.map +0 -1
- package/bin/services/task/runtime/CronTrigger.d.ts +0 -19
- package/bin/services/task/runtime/CronTrigger.d.ts.map +0 -1
- package/bin/services/task/runtime/CronTrigger.js +0 -93
- package/bin/services/task/runtime/CronTrigger.js.map +0 -1
- package/bin/services/task/runtime/Frontmatter.d.ts +0 -13
- package/bin/services/task/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/services/task/runtime/Frontmatter.js +0 -19
- package/bin/services/task/runtime/Frontmatter.js.map +0 -1
- package/bin/services/task/runtime/Model.d.ts +0 -73
- package/bin/services/task/runtime/Model.d.ts.map +0 -1
- package/bin/services/task/runtime/Model.js +0 -312
- package/bin/services/task/runtime/Model.js.map +0 -1
- package/bin/services/task/runtime/Paths.d.ts +0 -32
- package/bin/services/task/runtime/Paths.d.ts.map +0 -1
- package/bin/services/task/runtime/Paths.js +0 -103
- package/bin/services/task/runtime/Paths.js.map +0 -1
- package/bin/services/task/runtime/Runner.d.ts +0 -43
- package/bin/services/task/runtime/Runner.d.ts.map +0 -1
- package/bin/services/task/runtime/Runner.js +0 -482
- package/bin/services/task/runtime/Runner.js.map +0 -1
- package/bin/services/task/runtime/Store.d.ts +0 -89
- package/bin/services/task/runtime/Store.d.ts.map +0 -1
- package/bin/services/task/runtime/Store.js +0 -206
- package/bin/services/task/runtime/Store.js.map +0 -1
- package/bin/services/task/runtime/TaskActionExecution.d.ts +0 -160
- package/bin/services/task/runtime/TaskActionExecution.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskActionExecution.js +0 -192
- package/bin/services/task/runtime/TaskActionExecution.js.map +0 -1
- package/bin/services/task/runtime/TaskActionInput.d.ts +0 -48
- package/bin/services/task/runtime/TaskActionInput.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskActionInput.js +0 -357
- package/bin/services/task/runtime/TaskActionInput.js.map +0 -1
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts +0 -189
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunArtifacts.js +0 -271
- package/bin/services/task/runtime/TaskRunArtifacts.js.map +0 -1
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +0 -22
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunChatDispatch.js +0 -66
- package/bin/services/task/runtime/TaskRunChatDispatch.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts +0 -35
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerProgress.js +0 -95
- package/bin/services/task/runtime/TaskRunnerProgress.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerRound.d.ts +0 -80
- package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerRound.js +0 -272
- package/bin/services/task/runtime/TaskRunnerRound.js.map +0 -1
- package/bin/services/task/runtime/TaskRunnerSession.d.ts +0 -45
- package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskRunnerSession.js +0 -138
- package/bin/services/task/runtime/TaskRunnerSession.js.map +0 -1
- package/bin/services/task/runtime/TaskServiceActions.d.ts +0 -16
- package/bin/services/task/runtime/TaskServiceActions.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskServiceActions.js +0 -195
- package/bin/services/task/runtime/TaskServiceActions.js.map +0 -1
- package/bin/services/task/runtime/TaskServiceSystem.d.ts +0 -12
- package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +0 -1
- package/bin/services/task/runtime/TaskServiceSystem.js +0 -26
- package/bin/services/task/runtime/TaskServiceSystem.js.map +0 -1
- package/bin/services/task/types/Cron.d.ts +0 -16
- package/bin/services/task/types/Cron.d.ts.map +0 -1
- package/bin/services/task/types/Cron.js +0 -2
- package/bin/services/task/types/Cron.js.map +0 -1
- package/bin/services/task/types/Task.d.ts +0 -146
- package/bin/services/task/types/Task.d.ts.map +0 -1
- package/bin/services/task/types/Task.js +0 -9
- package/bin/services/task/types/Task.js.map +0 -1
- package/bin/services/task/types/TaskCommand.d.ts +0 -147
- package/bin/services/task/types/TaskCommand.d.ts.map +0 -1
- package/bin/services/task/types/TaskCommand.js +0 -9
- package/bin/services/task/types/TaskCommand.js.map +0 -1
- package/bin/session/Session.d.ts +0 -101
- package/bin/session/Session.d.ts.map +0 -1
- package/bin/session/Session.js +0 -171
- package/bin/session/Session.js.map +0 -1
- package/bin/session/SessionRunScope.d.ts +0 -76
- package/bin/session/SessionRunScope.d.ts.map +0 -1
- package/bin/session/SessionRunScope.js +0 -82
- package/bin/session/SessionRunScope.js.map +0 -1
- package/bin/session/composer/SessionComposer.d.ts +0 -29
- package/bin/session/composer/SessionComposer.d.ts.map +0 -1
- package/bin/session/composer/SessionComposer.js +0 -29
- package/bin/session/composer/SessionComposer.js.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -56
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.js +0 -14
- package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -38
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -70
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -199
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
- package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts +0 -49
- package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts.map +0 -1
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js +0 -117
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js.map +0 -1
- package/bin/session/composer/execution/SessionExecutionComposer.d.ts +0 -63
- package/bin/session/composer/execution/SessionExecutionComposer.d.ts.map +0 -1
- package/bin/session/composer/execution/SessionExecutionComposer.js +0 -14
- package/bin/session/composer/execution/SessionExecutionComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -156
- package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.js +0 -14
- package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.js +0 -95
- package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -67
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -423
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.d.ts +0 -23
- package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.js +0 -14
- package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js +0 -46
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.d.ts +0 -16
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.js +0 -35
- package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.d.ts +0 -35
- package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.js +0 -23
- package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts +0 -46
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.js +0 -223
- package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.js +0 -232
- package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.txt +0 -39
- package/bin/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
- package/bin/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
- package/bin/session/composer/system/default/assets/service.prompt.txt +0 -29
- package/bin/session/composer/system/default/assets/task.prompt.txt +0 -33
- package/bin/session/composer/system/default/variables/GeoContext.d.ts +0 -14
- package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.js +0 -150
- package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts +0 -36
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.js +0 -9
- package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts +0 -61
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.js +0 -93
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
- package/bin/session/executors/local/LocalSessionCore.d.ts +0 -116
- package/bin/session/executors/local/LocalSessionCore.d.ts.map +0 -1
- package/bin/session/executors/local/LocalSessionCore.js +0 -574
- package/bin/session/executors/local/LocalSessionCore.js.map +0 -1
- package/bin/session/executors/local/LocalSessionExecutor.d.ts +0 -61
- package/bin/session/executors/local/LocalSessionExecutor.d.ts.map +0 -1
- package/bin/session/executors/local/LocalSessionExecutor.js +0 -36
- package/bin/session/executors/local/LocalSessionExecutor.js.map +0 -1
- package/bin/session/executors/local/SessionLoopDecision.d.ts +0 -27
- package/bin/session/executors/local/SessionLoopDecision.d.ts.map +0 -1
- package/bin/session/executors/local/SessionLoopDecision.js +0 -62
- package/bin/session/executors/local/SessionLoopDecision.js.map +0 -1
- package/bin/session/executors/local/SessionSignals.d.ts +0 -72
- package/bin/session/executors/local/SessionSignals.d.ts.map +0 -1
- package/bin/session/executors/local/SessionSignals.js +0 -357
- package/bin/session/executors/local/SessionSignals.js.map +0 -1
- package/bin/session/ids/resolveSessionId.d.ts +0 -11
- package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
- package/bin/session/ids/resolveSessionId.js +0 -17
- package/bin/session/ids/resolveSessionId.js.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
- package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.js +0 -145
- package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
- package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
- package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageCodec.js +0 -93
- package/bin/session/messages/SessionMessageCodec.js.map +0 -1
- package/bin/session/messages/SessionMessageLog.d.ts +0 -19
- package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageLog.js +0 -34
- package/bin/session/messages/SessionMessageLog.js.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
- package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.js +0 -208
- package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.js +0 -288
- package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
- package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
- package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
- package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.d.ts +0 -118
- package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
- package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
- package/bin/shared/constants/DowncityDefault.d.ts +0 -3
- package/bin/shared/constants/DowncityDefault.d.ts.map +0 -1
- package/bin/shared/constants/DowncityDefault.js +0 -37
- package/bin/shared/constants/DowncityDefault.js.map +0 -1
- package/bin/shared/constants/DowncitySchema.d.ts +0 -3
- package/bin/shared/constants/DowncitySchema.d.ts.map +0 -1
- package/bin/shared/constants/DowncitySchema.js.map +0 -1
- package/bin/shared/types/AgentHost.d.ts +0 -72
- package/bin/shared/types/AgentHost.d.ts.map +0 -1
- package/bin/shared/types/AgentHost.js +0 -10
- package/bin/shared/types/AgentHost.js.map +0 -1
- package/bin/shared/types/AgentProject.d.ts +0 -80
- package/bin/shared/types/AgentProject.d.ts.map +0 -1
- package/bin/shared/types/AgentProject.js +0 -9
- package/bin/shared/types/AgentProject.js.map +0 -1
- package/bin/shared/types/AuthDashboard.d.ts +0 -30
- package/bin/shared/types/AuthDashboard.d.ts.map +0 -1
- package/bin/shared/types/AuthDashboard.js +0 -9
- package/bin/shared/types/AuthDashboard.js.map +0 -1
- package/bin/shared/types/AuthPlugin.d.ts +0 -407
- package/bin/shared/types/AuthPlugin.d.ts.map +0 -1
- package/bin/shared/types/AuthPlugin.js +0 -115
- package/bin/shared/types/AuthPlugin.js.map +0 -1
- package/bin/shared/types/ChatPlugin.d.ts +0 -238
- package/bin/shared/types/ChatPlugin.d.ts.map +0 -1
- package/bin/shared/types/ChatPlugin.js +0 -10
- package/bin/shared/types/ChatPlugin.js.map +0 -1
- package/bin/shared/types/ChatPromptContext.d.ts +0 -125
- package/bin/shared/types/ChatPromptContext.d.ts.map +0 -1
- package/bin/shared/types/ChatPromptContext.js +0 -10
- package/bin/shared/types/ChatPromptContext.js.map +0 -1
- package/bin/shared/types/ChatQueueWorker.d.ts +0 -25
- package/bin/shared/types/ChatQueueWorker.d.ts.map +0 -1
- package/bin/shared/types/ChatQueueWorker.js +0 -9
- package/bin/shared/types/ChatQueueWorker.js.map +0 -1
- package/bin/shared/types/ChatRuntime.d.ts +0 -32
- package/bin/shared/types/ChatRuntime.d.ts.map +0 -1
- package/bin/shared/types/ChatRuntime.js +0 -9
- package/bin/shared/types/ChatRuntime.js.map +0 -1
- package/bin/shared/types/ChatService.d.ts +0 -145
- package/bin/shared/types/ChatService.d.ts.map +0 -1
- package/bin/shared/types/ChatService.js +0 -10
- package/bin/shared/types/ChatService.js.map +0 -1
- package/bin/shared/types/ClaudeSkill.d.ts +0 -63
- package/bin/shared/types/ClaudeSkill.d.ts.map +0 -1
- package/bin/shared/types/ClaudeSkill.js +0 -10
- package/bin/shared/types/ClaudeSkill.js.map +0 -1
- package/bin/shared/types/Console.d.ts +0 -373
- package/bin/shared/types/Console.d.ts.map +0 -1
- package/bin/shared/types/Console.js +0 -9
- package/bin/shared/types/Console.js.map +0 -1
- package/bin/shared/types/ConsoleGateway.d.ts +0 -174
- package/bin/shared/types/ConsoleGateway.d.ts.map +0 -1
- package/bin/shared/types/ConsoleGateway.js +0 -9
- package/bin/shared/types/ConsoleGateway.js.map +0 -1
- package/bin/shared/types/Daemon.d.ts +0 -46
- package/bin/shared/types/Daemon.d.ts.map +0 -1
- package/bin/shared/types/Daemon.js +0 -14
- package/bin/shared/types/Daemon.js.map +0 -1
- package/bin/shared/types/DashboardData.d.ts +0 -320
- package/bin/shared/types/DashboardData.d.ts.map +0 -1
- package/bin/shared/types/DashboardData.js +0 -9
- package/bin/shared/types/DashboardData.js.map +0 -1
- package/bin/shared/types/DashboardRoutes.d.ts +0 -28
- package/bin/shared/types/DashboardRoutes.d.ts.map +0 -1
- package/bin/shared/types/DashboardRoutes.js +0 -9
- package/bin/shared/types/DashboardRoutes.js.map +0 -1
- package/bin/shared/types/DashboardSessionExecute.d.ts +0 -85
- package/bin/shared/types/DashboardSessionExecute.d.ts.map +0 -1
- package/bin/shared/types/DashboardSessionExecute.js +0 -9
- package/bin/shared/types/DashboardSessionExecute.js.map +0 -1
- package/bin/shared/types/DowncityConfig.d.ts +0 -214
- package/bin/shared/types/DowncityConfig.d.ts.map +0 -1
- package/bin/shared/types/DowncityConfig.js +0 -2
- package/bin/shared/types/DowncityConfig.js.map +0 -1
- package/bin/shared/types/ExecutionBinding.d.ts +0 -26
- package/bin/shared/types/ExecutionBinding.d.ts.map +0 -1
- package/bin/shared/types/ExecutionBinding.js +0 -10
- package/bin/shared/types/ExecutionBinding.js.map +0 -1
- package/bin/shared/types/FeishuChannel.d.ts +0 -127
- package/bin/shared/types/FeishuChannel.d.ts.map +0 -1
- package/bin/shared/types/FeishuChannel.js +0 -9
- package/bin/shared/types/FeishuChannel.js.map +0 -1
- package/bin/shared/types/InlineInstant.d.ts +0 -82
- package/bin/shared/types/InlineInstant.d.ts.map +0 -1
- package/bin/shared/types/InlineInstant.js +0 -10
- package/bin/shared/types/InlineInstant.js.map +0 -1
- package/bin/shared/types/Json.d.ts +0 -32
- package/bin/shared/types/Json.d.ts.map +0 -1
- package/bin/shared/types/Json.js +0 -9
- package/bin/shared/types/Json.js.map +0 -1
- package/bin/shared/types/LlmConfig.d.ts +0 -100
- package/bin/shared/types/LlmConfig.d.ts.map +0 -1
- package/bin/shared/types/LlmConfig.js +0 -10
- package/bin/shared/types/LlmConfig.js.map +0 -1
- package/bin/shared/types/LocalRpc.d.ts +0 -69
- package/bin/shared/types/LocalRpc.d.ts.map +0 -1
- package/bin/shared/types/LocalRpc.js +0 -9
- package/bin/shared/types/LocalRpc.js.map +0 -1
- package/bin/shared/types/ModelBinding.d.ts +0 -19
- package/bin/shared/types/ModelBinding.d.ts.map +0 -1
- package/bin/shared/types/ModelBinding.js +0 -2
- package/bin/shared/types/ModelBinding.js.map +0 -1
- package/bin/shared/types/Plugin.d.ts +0 -693
- package/bin/shared/types/Plugin.d.ts.map +0 -1
- package/bin/shared/types/Plugin.js +0 -10
- package/bin/shared/types/Plugin.js.map +0 -1
- package/bin/shared/types/PluginApi.d.ts +0 -151
- package/bin/shared/types/PluginApi.d.ts.map +0 -1
- package/bin/shared/types/PluginApi.js +0 -9
- package/bin/shared/types/PluginApi.js.map +0 -1
- package/bin/shared/types/PluginLifecycle.d.ts +0 -34
- package/bin/shared/types/PluginLifecycle.d.ts.map +0 -1
- package/bin/shared/types/PluginLifecycle.js +0 -9
- package/bin/shared/types/PluginLifecycle.js.map +0 -1
- package/bin/shared/types/QqChannel.d.ts +0 -485
- package/bin/shared/types/QqChannel.d.ts.map +0 -1
- package/bin/shared/types/QqChannel.js +0 -42
- package/bin/shared/types/QqChannel.js.map +0 -1
- package/bin/shared/types/QqGatewaySupport.d.ts +0 -82
- package/bin/shared/types/QqGatewaySupport.d.ts.map +0 -1
- package/bin/shared/types/QqGatewaySupport.js +0 -9
- package/bin/shared/types/QqGatewaySupport.js.map +0 -1
- package/bin/shared/types/Sandbox.d.ts +0 -130
- package/bin/shared/types/Sandbox.d.ts.map +0 -1
- package/bin/shared/types/Sandbox.js +0 -10
- package/bin/shared/types/Sandbox.js.map +0 -1
- package/bin/shared/types/Service.d.ts +0 -205
- package/bin/shared/types/Service.d.ts.map +0 -1
- package/bin/shared/types/Service.js +0 -10
- package/bin/shared/types/Service.js.map +0 -1
- package/bin/shared/types/ServiceSchedule.d.ts +0 -114
- package/bin/shared/types/ServiceSchedule.d.ts.map +0 -1
- package/bin/shared/types/ServiceSchedule.js +0 -9
- package/bin/shared/types/ServiceSchedule.js.map +0 -1
- package/bin/shared/types/ServiceState.d.ts +0 -104
- package/bin/shared/types/ServiceState.d.ts.map +0 -1
- package/bin/shared/types/ServiceState.js +0 -9
- package/bin/shared/types/ServiceState.js.map +0 -1
- package/bin/shared/types/Services.d.ts +0 -94
- package/bin/shared/types/Services.d.ts.map +0 -1
- package/bin/shared/types/Services.js +0 -9
- package/bin/shared/types/Services.js.map +0 -1
- package/bin/shared/types/Shell.d.ts +0 -97
- package/bin/shared/types/Shell.d.ts.map +0 -1
- package/bin/shared/types/Shell.js +0 -9
- package/bin/shared/types/Shell.js.map +0 -1
- package/bin/shared/types/SkillCommand.d.ts +0 -87
- package/bin/shared/types/SkillCommand.d.ts.map +0 -1
- package/bin/shared/types/SkillCommand.js +0 -9
- package/bin/shared/types/SkillCommand.js.map +0 -1
- package/bin/shared/types/SkillPlugin.d.ts +0 -102
- package/bin/shared/types/SkillPlugin.d.ts.map +0 -1
- package/bin/shared/types/SkillPlugin.js +0 -29
- package/bin/shared/types/SkillPlugin.js.map +0 -1
- package/bin/shared/types/SkillRoot.d.ts +0 -48
- package/bin/shared/types/SkillRoot.d.ts.map +0 -1
- package/bin/shared/types/SkillRoot.js +0 -9
- package/bin/shared/types/SkillRoot.js.map +0 -1
- package/bin/shared/types/Start.d.ts +0 -16
- package/bin/shared/types/Start.d.ts.map +0 -1
- package/bin/shared/types/Start.js +0 -11
- package/bin/shared/types/Start.js.map +0 -1
- package/bin/shared/types/Store.d.ts +0 -507
- package/bin/shared/types/Store.d.ts.map +0 -1
- package/bin/shared/types/Store.js +0 -2
- package/bin/shared/types/Store.js.map +0 -1
- package/bin/shared/types/TaskService.d.ts +0 -52
- package/bin/shared/types/TaskService.d.ts.map +0 -1
- package/bin/shared/types/TaskService.js +0 -9
- package/bin/shared/types/TaskService.js.map +0 -1
- package/bin/shared/types/Template.d.ts +0 -9
- package/bin/shared/types/Template.d.ts.map +0 -1
- package/bin/shared/types/Template.js +0 -9
- package/bin/shared/types/Template.js.map +0 -1
- package/bin/shared/types/Tts.d.ts +0 -91
- package/bin/shared/types/Tts.d.ts.map +0 -1
- package/bin/shared/types/Tts.js +0 -9
- package/bin/shared/types/Tts.js.map +0 -1
- package/bin/shared/types/TtsPlugin.d.ts +0 -161
- package/bin/shared/types/TtsPlugin.d.ts.map +0 -1
- package/bin/shared/types/TtsPlugin.js +0 -9
- package/bin/shared/types/TtsPlugin.js.map +0 -1
- package/bin/shared/types/Voice.d.ts +0 -58
- package/bin/shared/types/Voice.d.ts.map +0 -1
- package/bin/shared/types/Voice.js +0 -9
- package/bin/shared/types/Voice.js.map +0 -1
- package/bin/shared/types/VoicePlugin.d.ts +0 -190
- package/bin/shared/types/VoicePlugin.d.ts.map +0 -1
- package/bin/shared/types/VoicePlugin.js +0 -9
- package/bin/shared/types/VoicePlugin.js.map +0 -1
- package/bin/shared/types/WebPlugin.d.ts +0 -133
- package/bin/shared/types/WebPlugin.d.ts.map +0 -1
- package/bin/shared/types/WebPlugin.js +0 -12
- package/bin/shared/types/WebPlugin.js.map +0 -1
- package/bin/shared/types/auth/AuthPermission.d.ts +0 -49
- package/bin/shared/types/auth/AuthPermission.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthPermission.js +0 -92
- package/bin/shared/types/auth/AuthPermission.js.map +0 -1
- package/bin/shared/types/auth/AuthRoute.d.ts +0 -29
- package/bin/shared/types/auth/AuthRoute.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthRoute.js +0 -8
- package/bin/shared/types/auth/AuthRoute.js.map +0 -1
- package/bin/shared/types/auth/AuthToken.d.ts +0 -46
- package/bin/shared/types/auth/AuthToken.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthToken.js +0 -9
- package/bin/shared/types/auth/AuthToken.js.map +0 -1
- package/bin/shared/types/auth/AuthTypes.d.ts +0 -227
- package/bin/shared/types/auth/AuthTypes.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthTypes.js +0 -9
- package/bin/shared/types/auth/AuthTypes.js.map +0 -1
- package/bin/shared/utils/Id.d.ts.map +0 -1
- package/bin/shared/utils/Id.js.map +0 -1
- package/bin/shared/utils/Template.d.ts +0 -17
- package/bin/shared/utils/Template.d.ts.map +0 -1
- package/bin/shared/utils/Template.js +0 -24
- package/bin/shared/utils/Template.js.map +0 -1
- package/bin/shared/utils/Time.d.ts +0 -15
- package/bin/shared/utils/Time.d.ts.map +0 -1
- package/bin/shared/utils/Time.js +0 -69
- package/bin/shared/utils/Time.js.map +0 -1
- package/bin/shared/utils/cli/CliOutput.d.ts.map +0 -1
- package/bin/shared/utils/cli/CliOutput.js.map +0 -1
- package/bin/shared/utils/cli/Spinner.d.ts.map +0 -1
- package/bin/shared/utils/cli/Spinner.js.map +0 -1
- package/bin/shared/utils/logger/Fetch.d.ts +0 -14
- package/bin/shared/utils/logger/Fetch.d.ts.map +0 -1
- package/bin/shared/utils/logger/Fetch.js +0 -68
- package/bin/shared/utils/logger/Fetch.js.map +0 -1
- package/bin/shared/utils/logger/Format.d.ts +0 -11
- package/bin/shared/utils/logger/Format.d.ts.map +0 -1
- package/bin/shared/utils/logger/Format.js +0 -10
- package/bin/shared/utils/logger/Format.js.map +0 -1
- package/bin/shared/utils/logger/FormatRequest.d.ts +0 -29
- package/bin/shared/utils/logger/FormatRequest.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatRequest.js +0 -309
- package/bin/shared/utils/logger/FormatRequest.js.map +0 -1
- package/bin/shared/utils/logger/FormatResponse.d.ts +0 -46
- package/bin/shared/utils/logger/FormatResponse.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatResponse.js +0 -186
- package/bin/shared/utils/logger/FormatResponse.js.map +0 -1
- package/bin/shared/utils/logger/FormatShared.d.ts +0 -33
- package/bin/shared/utils/logger/FormatShared.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatShared.js +0 -215
- package/bin/shared/utils/logger/FormatShared.js.map +0 -1
- package/bin/shared/utils/logger/Logger.d.ts +0 -101
- package/bin/shared/utils/logger/Logger.d.ts.map +0 -1
- package/bin/shared/utils/logger/Logger.js +0 -308
- package/bin/shared/utils/logger/Logger.js.map +0 -1
- package/bin/shared/utils/storage/index.d.ts.map +0 -1
- package/bin/shared/utils/storage/index.js.map +0 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreChatAuthRepository.d.ts +0 -26
- package/bin/shared/utils/store/StoreChatAuthRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreChatAuthRepository.js +0 -145
- package/bin/shared/utils/store/StoreChatAuthRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreEnvRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreSchema.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSchema.js.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.js.map +0 -1
- package/bin/shared/utils/store/StoreShared.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreShared.js.map +0 -1
- package/bin/shared/utils/store/crypto.d.ts.map +0 -1
- package/bin/shared/utils/store/crypto.js.map +0 -1
- package/bin/shared/utils/store/index.d.ts.map +0 -1
- package/bin/shared/utils/store/index.js.map +0 -1
- package/bin/shared/utils/store/schema.d.ts.map +0 -1
- package/bin/shared/utils/store/schema.js.map +0 -1
- package/bin/types/agent/AgentContext.d.ts +0 -345
- package/bin/types/agent/AgentContext.d.ts.map +0 -1
- package/bin/types/agent/AgentContext.js +0 -10
- package/bin/types/agent/AgentContext.js.map +0 -1
- package/bin/types/agent/AgentRuntime.d.ts +0 -81
- package/bin/types/agent/AgentRuntime.d.ts.map +0 -1
- package/bin/types/agent/AgentRuntime.js +0 -10
- package/bin/types/agent/AgentRuntime.js.map +0 -1
- package/bin/types/session/SessionExecutor.d.ts +0 -18
- package/bin/types/session/SessionExecutor.d.ts.map +0 -1
- package/bin/types/session/SessionExecutor.js +0 -9
- package/bin/types/session/SessionExecutor.js.map +0 -1
- package/bin/types/session/SessionHistoryMeta.d.ts +0 -26
- package/bin/types/session/SessionHistoryMeta.d.ts.map +0 -1
- package/bin/types/session/SessionHistoryMeta.js +0 -9
- package/bin/types/session/SessionHistoryMeta.js.map +0 -1
- package/bin/types/session/SessionHistoryPaths.d.ts +0 -30
- package/bin/types/session/SessionHistoryPaths.d.ts.map +0 -1
- package/bin/types/session/SessionHistoryPaths.js +0 -2
- package/bin/types/session/SessionHistoryPaths.js.map +0 -1
- package/bin/types/session/SessionLoop.d.ts +0 -79
- package/bin/types/session/SessionLoop.d.ts.map +0 -1
- package/bin/types/session/SessionLoop.js +0 -9
- package/bin/types/session/SessionLoop.js.map +0 -1
- package/bin/types/session/SessionMessages.d.ts +0 -83
- package/bin/types/session/SessionMessages.d.ts.map +0 -1
- package/bin/types/session/SessionMessages.js +0 -10
- package/bin/types/session/SessionMessages.js.map +0 -1
- package/bin/types/session/SessionPrompts.d.ts +0 -13
- package/bin/types/session/SessionPrompts.d.ts.map +0 -1
- package/bin/types/session/SessionPrompts.js +0 -9
- package/bin/types/session/SessionPrompts.js.map +0 -1
- package/bin/types/session/SessionRun.d.ts +0 -100
- package/bin/types/session/SessionRun.d.ts.map +0 -1
- package/bin/types/session/SessionRun.js +0 -10
- package/bin/types/session/SessionRun.js.map +0 -1
- package/bin/types/shell/ShellRuntime.d.ts +0 -91
- package/bin/types/shell/ShellRuntime.d.ts.map +0 -1
- package/bin/types/shell/ShellRuntime.js +0 -10
- package/bin/types/shell/ShellRuntime.js.map +0 -1
- package/src/agent/AgentContext.ts +0 -181
- package/src/agent/AgentRuntime.ts +0 -348
- package/src/agent/AgentRuntimeState.ts +0 -149
- package/src/agent/project/AgentInitializer.ts +0 -382
- package/src/agent/project/ProjectExecutionBinding.ts +0 -53
- package/src/config/Config.ts +0 -251
- package/src/console/ChannelAccountService.ts +0 -9
- package/src/daemon/ProjectSetup.ts +0 -126
- package/src/http/Server.ts +0 -170
- package/src/http/dashboard/DashboardApiRoutes.ts +0 -30
- package/src/http/dashboard/DashboardAuthorizationRoutes.ts +0 -101
- package/src/http/dashboard/ExecuteBySession.ts +0 -152
- package/src/http/dashboard/Helpers.ts +0 -22
- package/src/http/dashboard/ModelRoutes.ts +0 -102
- package/src/http/dashboard/OverviewRoutes.ts +0 -101
- package/src/http/dashboard/Router.ts +0 -26
- package/src/http/dashboard/SessionRoutes.ts +0 -402
- package/src/http/dashboard/TaskRoutes.ts +0 -372
- package/src/http/execute/execute.ts +0 -120
- package/src/http/health/health.ts +0 -27
- package/src/http/plugins/plugins.ts +0 -67
- package/src/http/services/services.ts +0 -94
- package/src/http/static/static.ts +0 -104
- package/src/model/CreateModel.ts +0 -343
- package/src/plugin/Activation.ts +0 -22
- package/src/plugin/Catalog.ts +0 -118
- package/src/plugin/HookRegistry.ts +0 -249
- package/src/plugin/HttpRoutes.ts +0 -50
- package/src/plugin/Lifecycle.ts +0 -116
- package/src/plugin/LocalExecution.ts +0 -157
- package/src/plugin/PluginCommand.ts +0 -220
- package/src/plugin/PluginManager.ts +0 -66
- package/src/plugin/PluginRegistry.ts +0 -244
- package/src/plugin/Plugins.ts +0 -39
- package/src/plugin/ProjectConfigStore.ts +0 -58
- package/src/plugins/asr/Dependency.ts +0 -336
- package/src/plugins/asr/ModelCatalog.ts +0 -43
- package/src/plugins/asr/Plugin.ts +0 -640
- package/src/plugins/auth/Plugin.ts +0 -208
- package/src/plugins/auth/runtime/AuthorizationConfig.ts +0 -336
- package/src/plugins/auth/runtime/AuthorizationPolicy.ts +0 -168
- package/src/plugins/auth/runtime/AuthorizationStore.ts +0 -218
- package/src/plugins/skill/Action.ts +0 -159
- package/src/plugins/skill/Command.ts +0 -98
- package/src/plugins/skill/Config.ts +0 -51
- package/src/plugins/skill/PROMPT.txt +0 -10
- package/src/plugins/skill/Plugin.ts +0 -355
- package/src/plugins/skill/runtime/Discovery.ts +0 -141
- package/src/plugins/skill/runtime/Frontmatter.ts +0 -17
- package/src/plugins/skill/runtime/Paths.ts +0 -130
- package/src/plugins/skill/runtime/Prompt.ts +0 -67
- package/src/plugins/skill/runtime/Store.ts +0 -95
- package/src/plugins/skill/runtime/SystemProvider.ts +0 -52
- package/src/plugins/skill/runtime/Types.ts +0 -22
- package/src/plugins/skill/runtime/Utils.ts +0 -28
- package/src/plugins/tts/Dependency.ts +0 -473
- package/src/plugins/tts/Plugin.ts +0 -554
- package/src/plugins/tts/runtime/Catalog.ts +0 -97
- package/src/plugins/tts/runtime/DependencyInstaller.ts +0 -436
- package/src/plugins/tts/runtime/Installer.ts +0 -297
- package/src/plugins/tts/runtime/Paths.ts +0 -39
- package/src/plugins/tts/runtime/Synthesizer.ts +0 -480
- package/src/plugins/voice/Dependency.ts +0 -329
- package/src/plugins/voice/ModelCatalog.ts +0 -43
- package/src/plugins/voice/Plugin.ts +0 -599
- package/src/plugins/voice/runtime/Catalog.ts +0 -68
- package/src/plugins/voice/runtime/DependencyInstaller.ts +0 -505
- package/src/plugins/voice/runtime/Installer.ts +0 -324
- package/src/plugins/voice/runtime/Paths.ts +0 -26
- package/src/plugins/voice/runtime/Transcriber.ts +0 -467
- package/src/plugins/web/Dependency.ts +0 -17
- package/src/plugins/web/PROMPT.agent-browser.txt +0 -17
- package/src/plugins/web/PROMPT.txt +0 -33
- package/src/plugins/web/PROMPT.web-access.txt +0 -13
- package/src/plugins/web/Plugin.ts +0 -516
- package/src/plugins/web/runtime/Config.ts +0 -105
- package/src/plugins/web/runtime/Source.ts +0 -263
- package/src/plugins/workboard/Plugin.ts +0 -81
- package/src/plugins/workboard/runtime/Collector.ts +0 -78
- package/src/plugins/workboard/runtime/Normalizer.ts +0 -213
- package/src/plugins/workboard/runtime/Store.ts +0 -110
- package/src/plugins/workboard/types/Workboard.ts +0 -158
- package/src/rpc/Server.ts +0 -395
- package/src/rpc/Transport.ts +0 -40
- package/src/runtime/AgentHostRuntime.ts +0 -65
- package/src/runtime/CityPaths.ts +0 -101
- package/src/runtime/CityRegistry.ts +0 -256
- package/src/runtime/CityRuntime.ts +0 -45
- package/src/runtime/PluginRuntime.ts +0 -42
- package/src/runtime/ProcessSweep.ts +0 -256
- package/src/service/Manager.ts +0 -25
- package/src/service/ServiceActionApi.ts +0 -304
- package/src/service/ServiceActionRunner.ts +0 -272
- package/src/service/ServiceClassRegistry.ts +0 -77
- package/src/service/ServiceManager.ts +0 -20
- package/src/service/ServiceStateController.ts +0 -316
- package/src/service/ServiceSystemProviders.ts +0 -50
- package/src/service/Services.ts +0 -33
- package/src/service/schedule/Executor.ts +0 -54
- package/src/service/schedule/Runtime.ts +0 -78
- package/src/service/schedule/Schema.ts +0 -34
- package/src/service/schedule/Store.ts +0 -316
- package/src/service/schedule/Time.ts +0 -131
- package/src/services/BaseService.ts +0 -85
- package/src/services/README.md +0 -100
- package/src/services/chat/Action.ts +0 -477
- package/src/services/chat/ChatService.ts +0 -111
- package/src/services/chat/Index.ts +0 -9
- package/src/services/chat/PROMPT.direct.txt +0 -55
- package/src/services/chat/accounts/ChannelAccountService.ts +0 -317
- package/src/services/chat/channels/BaseChatChannel.ts +0 -450
- package/src/services/chat/channels/BaseChatChannelQueue.ts +0 -321
- package/src/services/chat/channels/BaseChatChannelSupport.ts +0 -321
- package/src/services/chat/channels/BotInfoProvider.ts +0 -49
- package/src/services/chat/channels/Configuration.ts +0 -35
- package/src/services/chat/channels/ConfigurationRegistry.ts +0 -43
- package/src/services/chat/channels/feishu/BotInfo.ts +0 -199
- package/src/services/chat/channels/feishu/Configuration.ts +0 -65
- package/src/services/chat/channels/feishu/Feishu.ts +0 -634
- package/src/services/chat/channels/feishu/FeishuInbound.ts +0 -51
- package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
- package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
- package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
- package/src/services/chat/channels/feishu/InboundAttachment.ts +0 -261
- package/src/services/chat/channels/feishu/PROMPT.direct.txt +0 -5
- package/src/services/chat/channels/feishu/PostMessage.ts +0 -492
- package/src/services/chat/channels/feishu/ReplyContext.ts +0 -68
- package/src/services/chat/channels/feishu/Shared.ts +0 -94
- package/src/services/chat/channels/qq/BotInfo.ts +0 -137
- package/src/services/chat/channels/qq/Configuration.ts +0 -64
- package/src/services/chat/channels/qq/PROMPT.direct.txt +0 -11
- package/src/services/chat/channels/qq/QQ.ts +0 -633
- package/src/services/chat/channels/qq/QQEventCapture.ts +0 -88
- package/src/services/chat/channels/qq/QQGatewayAuth.ts +0 -318
- package/src/services/chat/channels/qq/QQGatewayClient.ts +0 -641
- package/src/services/chat/channels/qq/QQGatewaySend.ts +0 -258
- package/src/services/chat/channels/qq/QQGatewaySupport.ts +0 -159
- package/src/services/chat/channels/qq/QQInbound.ts +0 -262
- package/src/services/chat/channels/qq/QQInboundDedupe.ts +0 -126
- package/src/services/chat/channels/qq/QQSendSupport.ts +0 -91
- package/src/services/chat/channels/qq/QQSupport.ts +0 -263
- package/src/services/chat/channels/qq/VoiceInput.ts +0 -381
- package/src/services/chat/channels/telegram/ApiClient.ts +0 -373
- package/src/services/chat/channels/telegram/Bot.ts +0 -652
- package/src/services/chat/channels/telegram/BotInfo.ts +0 -92
- package/src/services/chat/channels/telegram/Configuration.ts +0 -65
- package/src/services/chat/channels/telegram/Handlers.ts +0 -91
- package/src/services/chat/channels/telegram/PROMPT.direct.txt +0 -1
- package/src/services/chat/channels/telegram/ReplyContext.ts +0 -76
- package/src/services/chat/channels/telegram/Shared.ts +0 -404
- package/src/services/chat/channels/telegram/StateStore.ts +0 -58
- package/src/services/chat/channels/telegram/TelegramInbound.ts +0 -186
- package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
- package/src/services/chat/runtime/ChannelContextStore.ts +0 -395
- package/src/services/chat/runtime/ChatActionExecution.ts +0 -362
- package/src/services/chat/runtime/ChatActionInput.ts +0 -590
- package/src/services/chat/runtime/ChatChannelActions.ts +0 -313
- package/src/services/chat/runtime/ChatChannelConfig.ts +0 -334
- package/src/services/chat/runtime/ChatChannelCore.ts +0 -112
- package/src/services/chat/runtime/ChatChannelFacade.ts +0 -23
- package/src/services/chat/runtime/ChatChannelLifecycle.ts +0 -165
- package/src/services/chat/runtime/ChatHistoryStore.ts +0 -289
- package/src/services/chat/runtime/ChatIngressStore.ts +0 -88
- package/src/services/chat/runtime/ChatMessageMarkup.ts +0 -263
- package/src/services/chat/runtime/ChatMetaStore.ts +0 -186
- package/src/services/chat/runtime/ChatQueue.ts +0 -77
- package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +0 -191
- package/src/services/chat/runtime/ChatQueueSessionBridge.ts +0 -122
- package/src/services/chat/runtime/ChatQueueStore.ts +0 -185
- package/src/services/chat/runtime/ChatQueueWorker.ts +0 -504
- package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
- package/src/services/chat/runtime/ChatSendMetadata.ts +0 -170
- package/src/services/chat/runtime/ChatSendRegistry.ts +0 -43
- package/src/services/chat/runtime/ChatServiceActions.ts +0 -484
- package/src/services/chat/runtime/ChatServiceSystem.ts +0 -119
- package/src/services/chat/runtime/ChatSession.ts +0 -125
- package/src/services/chat/runtime/ChatSessionDelete.ts +0 -95
- package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +0 -106
- package/src/services/chat/runtime/ChatkeySend.ts +0 -187
- package/src/services/chat/runtime/DirectDispatchParser.ts +0 -158
- package/src/services/chat/runtime/EnqueueDispatch.ts +0 -49
- package/src/services/chat/runtime/InboundAugment.ts +0 -63
- package/src/services/chat/runtime/PluginDispatch.ts +0 -89
- package/src/services/chat/runtime/PluginPoints.ts +0 -78
- package/src/services/chat/runtime/QueuedUserMessage.ts +0 -43
- package/src/services/chat/runtime/ReplyContextFormatter.ts +0 -85
- package/src/services/chat/runtime/ReplyDispatch.ts +0 -78
- package/src/services/chat/runtime/SystemPrompt.ts +0 -84
- package/src/services/chat/runtime/UIMessageTransformer.ts +0 -141
- package/src/services/chat/runtime/UserVisibleText.ts +0 -84
- package/src/services/chat/types/BotInfo.ts +0 -101
- package/src/services/chat/types/ChannelAccount.ts +0 -232
- package/src/services/chat/types/ChannelConfiguration.ts +0 -161
- package/src/services/chat/types/ChannelContext.ts +0 -110
- package/src/services/chat/types/ChannelStatus.ts +0 -98
- package/src/services/chat/types/ChatCommand.ts +0 -174
- package/src/services/chat/types/ChatDispatcher.ts +0 -42
- package/src/services/chat/types/ChatHistory.ts +0 -42
- package/src/services/chat/types/ChatMessageMarkup.ts +0 -168
- package/src/services/chat/types/ChatMeta.ts +0 -35
- package/src/services/chat/types/ChatQueue.ts +0 -49
- package/src/services/chat/types/DirectDispatch.ts +0 -133
- package/src/services/chat/types/FeishuAttachment.ts +0 -50
- package/src/services/chat/types/FeishuInboundAttachment.ts +0 -138
- package/src/services/chat/types/FeishuPost.ts +0 -338
- package/src/services/chat/types/QqInboundDedupe.ts +0 -12
- package/src/services/chat/types/QqVoice.ts +0 -126
- package/src/services/chat/types/ReplyContext.ts +0 -49
- package/src/services/contact/Action.ts +0 -9
- package/src/services/contact/ContactService.ts +0 -799
- package/src/services/contact/Index.ts +0 -8
- package/src/services/contact/PROMPT.txt +0 -25
- package/src/services/contact/runtime/ApproveCallback.ts +0 -97
- package/src/services/contact/runtime/ChatRuntime.ts +0 -82
- package/src/services/contact/runtime/ContactStore.ts +0 -299
- package/src/services/contact/runtime/EndpointNotice.ts +0 -125
- package/src/services/contact/runtime/EndpointResolver.ts +0 -146
- package/src/services/contact/runtime/InboxStore.ts +0 -178
- package/src/services/contact/runtime/LinkApproval.ts +0 -387
- package/src/services/contact/runtime/LinkCode.ts +0 -70
- package/src/services/contact/runtime/LinkStore.ts +0 -50
- package/src/services/contact/runtime/Paths.ts +0 -139
- package/src/services/contact/runtime/RemoteClient.ts +0 -137
- package/src/services/contact/runtime/ShareBundle.ts +0 -286
- package/src/services/contact/runtime/SystemProvider.ts +0 -22
- package/src/services/contact/runtime/Token.ts +0 -40
- package/src/services/memory/Action.ts +0 -188
- package/src/services/memory/Index.ts +0 -9
- package/src/services/memory/MemoryService.ts +0 -329
- package/src/services/memory/runtime/Flush.ts +0 -83
- package/src/services/memory/runtime/Indexer.ts +0 -466
- package/src/services/memory/runtime/Search.ts +0 -90
- package/src/services/memory/runtime/Store.ts +0 -370
- package/src/services/memory/runtime/SystemProvider.ts +0 -145
- package/src/services/memory/runtime/Writer.ts +0 -174
- package/src/services/memory/types/Memory.ts +0 -341
- package/src/services/shell/Index.ts +0 -9
- package/src/services/shell/ShellService.ts +0 -199
- package/src/services/shell/runtime/Paths.ts +0 -28
- package/src/services/shell/runtime/ShellActionRuntime.ts +0 -579
- package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +0 -552
- package/src/services/shell/types/ShellService.ts +0 -233
- package/src/services/task/Action.ts +0 -491
- package/src/services/task/Index.ts +0 -9
- package/src/services/task/PROMPT.txt +0 -237
- package/src/services/task/Scheduler.ts +0 -245
- package/src/services/task/TaskService.ts +0 -167
- package/src/services/task/runtime/CronRuntime.ts +0 -73
- package/src/services/task/runtime/CronTrigger.ts +0 -110
- package/src/services/task/runtime/Frontmatter.ts +0 -24
- package/src/services/task/runtime/Model.ts +0 -347
- package/src/services/task/runtime/Paths.ts +0 -116
- package/src/services/task/runtime/Runner.ts +0 -558
- package/src/services/task/runtime/Store.ts +0 -253
- package/src/services/task/runtime/TaskActionExecution.ts +0 -276
- package/src/services/task/runtime/TaskActionInput.ts +0 -463
- package/src/services/task/runtime/TaskRunArtifacts.ts +0 -493
- package/src/services/task/runtime/TaskRunChatDispatch.ts +0 -81
- package/src/services/task/runtime/TaskRunnerProgress.ts +0 -112
- package/src/services/task/runtime/TaskRunnerRound.ts +0 -337
- package/src/services/task/runtime/TaskRunnerSession.ts +0 -167
- package/src/services/task/runtime/TaskServiceActions.ts +0 -248
- package/src/services/task/runtime/TaskServiceSystem.ts +0 -30
- package/src/services/task/types/Cron.ts +0 -16
- package/src/services/task/types/Task.ts +0 -157
- package/src/services/task/types/TaskCommand.ts +0 -165
- package/src/session/Session.ts +0 -237
- package/src/session/SessionRunScope.ts +0 -134
- package/src/session/composer/SessionComposer.ts +0 -34
- package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -68
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -100
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
- package/src/session/composer/execution/LocalSessionExecutionComposer.ts +0 -169
- package/src/session/composer/execution/SessionExecutionComposer.ts +0 -71
- package/src/session/composer/history/SessionHistoryComposer.ts +0 -194
- package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -508
- package/src/session/composer/system/SessionSystemComposer.ts +0 -25
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -78
- package/src/session/composer/system/default/InitPrompts.ts +0 -52
- package/src/session/composer/system/default/PromptRenderer.ts +0 -52
- package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
- package/src/session/composer/system/default/SystemDomain.ts +0 -405
- package/src/session/composer/system/default/assets/core.prompt.txt +0 -39
- package/src/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
- package/src/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
- package/src/session/composer/system/default/assets/service.prompt.txt +0 -29
- package/src/session/composer/system/default/assets/task.prompt.txt +0 -33
- package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
- package/src/session/composer/system/default/variables/PromptTypes.ts +0 -37
- package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
- package/src/session/executors/local/LocalSessionCore.ts +0 -753
- package/src/session/executors/local/LocalSessionExecutor.ts +0 -89
- package/src/session/executors/local/SessionLoopDecision.ts +0 -80
- package/src/session/executors/local/SessionSignals.ts +0 -416
- package/src/session/ids/resolveSessionId.ts +0 -18
- package/src/session/messages/SessionAttachmentMapper.ts +0 -155
- package/src/session/messages/SessionMessageCodec.ts +0 -116
- package/src/session/messages/SessionMessageLog.ts +0 -39
- package/src/session/messages/SessionStepEventMapper.ts +0 -233
- package/src/session/tools/shell/ShellToolBridge.ts +0 -378
- package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
- package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
- package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
- package/src/shared/constants/DowncityDefault.ts +0 -38
- package/src/shared/types/AgentHost.ts +0 -74
- package/src/shared/types/AgentProject.ts +0 -92
- package/src/shared/types/AuthDashboard.ts +0 -38
- package/src/shared/types/AuthPlugin.ts +0 -545
- package/src/shared/types/ChatPlugin.ts +0 -251
- package/src/shared/types/ChatPromptContext.ts +0 -139
- package/src/shared/types/ChatQueueWorker.ts +0 -25
- package/src/shared/types/ChatRuntime.ts +0 -33
- package/src/shared/types/ChatService.ts +0 -165
- package/src/shared/types/ClaudeSkill.ts +0 -64
- package/src/shared/types/Console.ts +0 -448
- package/src/shared/types/ConsoleGateway.ts +0 -196
- package/src/shared/types/Daemon.ts +0 -53
- package/src/shared/types/DashboardData.ts +0 -392
- package/src/shared/types/DashboardRoutes.ts +0 -31
- package/src/shared/types/DashboardSessionExecute.ts +0 -99
- package/src/shared/types/DowncityConfig.ts +0 -215
- package/src/shared/types/ExecutionBinding.ts +0 -27
- package/src/shared/types/FeishuChannel.ts +0 -131
- package/src/shared/types/InlineInstant.ts +0 -96
- package/src/shared/types/Json.ts +0 -34
- package/src/shared/types/LlmConfig.ts +0 -115
- package/src/shared/types/LocalRpc.ts +0 -72
- package/src/shared/types/ModelBinding.ts +0 -18
- package/src/shared/types/Plugin.ts +0 -743
- package/src/shared/types/PluginApi.ts +0 -157
- package/src/shared/types/PluginLifecycle.ts +0 -35
- package/src/shared/types/QqChannel.ts +0 -501
- package/src/shared/types/QqGatewaySupport.ts +0 -97
- package/src/shared/types/README.md +0 -53
- package/src/shared/types/Sandbox.ts +0 -144
- package/src/shared/types/Service.ts +0 -223
- package/src/shared/types/ServiceSchedule.ts +0 -134
- package/src/shared/types/ServiceState.ts +0 -112
- package/src/shared/types/Services.ts +0 -100
- package/src/shared/types/Shell.ts +0 -103
- package/src/shared/types/SkillCommand.ts +0 -90
- package/src/shared/types/SkillPlugin.ts +0 -107
- package/src/shared/types/SkillRoot.ts +0 -49
- package/src/shared/types/Start.ts +0 -16
- package/src/shared/types/Store.ts +0 -526
- package/src/shared/types/TaskService.ts +0 -55
- package/src/shared/types/Template.ts +0 -9
- package/src/shared/types/Tts.ts +0 -99
- package/src/shared/types/TtsPlugin.ts +0 -164
- package/src/shared/types/Voice.ts +0 -68
- package/src/shared/types/VoicePlugin.ts +0 -194
- package/src/shared/types/WebPlugin.ts +0 -141
- package/src/shared/types/auth/AuthPermission.ts +0 -126
- package/src/shared/types/auth/AuthRoute.ts +0 -31
- package/src/shared/types/auth/AuthToken.ts +0 -47
- package/src/shared/types/auth/AuthTypes.ts +0 -235
- package/src/shared/utils/README.md +0 -49
- package/src/shared/utils/Template.ts +0 -28
- package/src/shared/utils/Time.ts +0 -77
- package/src/shared/utils/logger/Fetch.ts +0 -93
- package/src/shared/utils/logger/Format.ts +0 -15
- package/src/shared/utils/logger/FormatRequest.ts +0 -455
- package/src/shared/utils/logger/FormatResponse.ts +0 -265
- package/src/shared/utils/logger/FormatShared.ts +0 -258
- package/src/shared/utils/logger/Logger.ts +0 -372
- package/src/shared/utils/store/StoreChatAuthRepository.ts +0 -215
- package/src/types/agent/AgentContext.ts +0 -380
- package/src/types/agent/AgentRuntime.ts +0 -86
- package/src/types/session/SessionExecutor.ts +0 -33
- package/src/types/session/SessionHistoryMeta.ts +0 -26
- package/src/types/session/SessionHistoryPaths.ts +0 -33
- package/src/types/session/SessionLoop.ts +0 -95
- package/src/types/session/SessionMessages.ts +0 -90
- package/src/types/session/SessionPrompts.ts +0 -14
- package/src/types/session/SessionRun.ts +0 -116
- package/src/types/shell/ShellRuntime.ts +0 -94
- /package/bin/{shared/constants → constants}/DowncitySchema.js +0 -0
- /package/bin/{shared/utils/store → store}/StoreChannelAccountRepository.js +0 -0
- /package/bin/{shared/utils/store → store}/StoreEnvRepository.js +0 -0
- /package/bin/{shared/utils/store → store}/StoreModelRepository.js +0 -0
- /package/bin/{shared/utils/store → store}/StoreSchema.d.ts +0 -0
- /package/bin/{shared/utils/store → store}/StoreSecureSettings.d.ts +0 -0
- /package/bin/{shared/utils/store → store}/StoreSecureSettings.js +0 -0
- /package/bin/{shared/utils/store → store}/crypto.d.ts +0 -0
- /package/bin/{shared/utils/store → store}/schema.d.ts +0 -0
- /package/bin/{shared/utils/store → store}/schema.js +0 -0
- /package/bin/{shared/utils → utils}/Id.d.ts +0 -0
- /package/bin/{shared/utils → utils}/Id.js +0 -0
- /package/bin/{shared/utils → utils}/cli/Spinner.d.ts +0 -0
- /package/bin/{shared/utils → utils}/cli/Spinner.js +0 -0
- /package/src/{shared/utils/store → store}/StoreSecureSettings.ts +0 -0
- /package/src/{shared/utils/store → store}/schema.ts +0 -0
- /package/src/{shared/utils → utils}/Id.ts +0 -0
- /package/src/{shared/utils → utils}/cli/CliOutput.ts +0 -0
- /package/src/{shared/utils → utils}/cli/Spinner.ts +0 -0
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shell service 类型定义。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - `shell_id` 是 shell 会话的唯一标识,与 chat `sessionId` 严格区分。
|
|
6
|
-
* - 这些类型同时服务于 service 层状态管理与 agent tool 协议。
|
|
7
|
-
*/
|
|
8
|
-
export type ShellSessionStatus = "starting" | "running" | "completed" | "failed" | "killed" | "expired";
|
|
9
|
-
/**
|
|
10
|
-
* shell 会话关联的外部引用。
|
|
11
|
-
*
|
|
12
|
-
* 说明(中文)
|
|
13
|
-
* - 用于记录诸如第三方平台 `thread_id`、任务链接等弱结构化引用。
|
|
14
|
-
* - 不要求所有 shell 都存在该信息;仅在可识别时附加。
|
|
15
|
-
*/
|
|
16
|
-
export type ShellExternalRef = {
|
|
17
|
-
/** 引用类别,例如 `thread_id`。 */
|
|
18
|
-
kind: string;
|
|
19
|
-
/** 引用的原始值。 */
|
|
20
|
-
value: string;
|
|
21
|
-
/** 可选的人类可读标签。 */
|
|
22
|
-
label?: string;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* shell 会话快照。
|
|
26
|
-
*
|
|
27
|
-
* 说明(中文)
|
|
28
|
-
* - 该对象是 shell service 对外暴露的统一状态视图。
|
|
29
|
-
* - 内部运行态(child process / waiter 集合)不会暴露给上层。
|
|
30
|
-
*/
|
|
31
|
-
export type ShellSessionSnapshot = {
|
|
32
|
-
/** shell 唯一标识。 */
|
|
33
|
-
shellId: string;
|
|
34
|
-
/** 发起该 shell 的 chat/context 标识;不存在时表示非聊天上下文触发。 */
|
|
35
|
-
ownerContextId?: string;
|
|
36
|
-
/** 原始命令字符串。 */
|
|
37
|
-
cmd: string;
|
|
38
|
-
/** 命令执行工作目录(绝对路径)。 */
|
|
39
|
-
cwd: string;
|
|
40
|
-
/** 实际使用的 shell 可执行文件路径。 */
|
|
41
|
-
shellPath: string;
|
|
42
|
-
/** 当前 shell 是否运行在 sandbox 中。 */
|
|
43
|
-
sandboxed?: boolean;
|
|
44
|
-
/** 当前 shell 使用的 sandbox backend。 */
|
|
45
|
-
sandboxBackend?: string;
|
|
46
|
-
/** 当前 shell 采用的 sandbox 网络模式。 */
|
|
47
|
-
sandboxNetworkMode?: "off" | "restricted" | "full";
|
|
48
|
-
/** 当前 shell 状态。 */
|
|
49
|
-
status: ShellSessionStatus;
|
|
50
|
-
/** 子进程 pid;若尚未创建成功则为空。 */
|
|
51
|
-
pid?: number;
|
|
52
|
-
/** shell 创建时间戳(毫秒)。 */
|
|
53
|
-
startedAt: number;
|
|
54
|
-
/** 最近一次状态或输出变更时间戳(毫秒)。 */
|
|
55
|
-
updatedAt: number;
|
|
56
|
-
/** shell 结束时间戳(毫秒);运行中为空。 */
|
|
57
|
-
endedAt?: number;
|
|
58
|
-
/** 进程退出码;运行中为空。 */
|
|
59
|
-
exitCode?: number;
|
|
60
|
-
/** 最近一次收到输出的时间戳(毫秒)。 */
|
|
61
|
-
lastOutputAt?: number;
|
|
62
|
-
/** 最近一小段输出预览,供状态查询快速展示。 */
|
|
63
|
-
lastOutputPreview?: string;
|
|
64
|
-
/** 当前累计输出字符数。 */
|
|
65
|
-
outputChars: number;
|
|
66
|
-
/** 因内存缓存裁剪而丢弃的字符数。 */
|
|
67
|
-
droppedChars: number;
|
|
68
|
-
/** 状态版本号;任意输出/状态变化都递增。 */
|
|
69
|
-
version: number;
|
|
70
|
-
/** 是否在 shell 结束后自动回投到所属 chat,让主 agent 自己回复。 */
|
|
71
|
-
autoNotifyOnExit: boolean;
|
|
72
|
-
/** 自动回投是否已经发送,避免重复通知。 */
|
|
73
|
-
notificationSent: boolean;
|
|
74
|
-
/** 从输出中识别到的外部引用集合。 */
|
|
75
|
-
externalRefs: ShellExternalRef[];
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* shell 启动请求。
|
|
79
|
-
*/
|
|
80
|
-
export type ShellStartRequest = {
|
|
81
|
-
/** 要执行的完整 shell 命令。 */
|
|
82
|
-
cmd: string;
|
|
83
|
-
/** 可选工作目录;为空时回退项目根目录。 */
|
|
84
|
-
cwd?: string;
|
|
85
|
-
/** 可选 shell 路径,例如 `/bin/zsh`。 */
|
|
86
|
-
shell?: string;
|
|
87
|
-
/** 是否以 login shell 方式启动;默认 `true`。 */
|
|
88
|
-
login?: boolean;
|
|
89
|
-
/** 启动后内联等待多久再返回首批状态/输出。 */
|
|
90
|
-
inlineWaitMs?: number;
|
|
91
|
-
/** 单次读取输出返回给模型的 token 上限。 */
|
|
92
|
-
maxOutputTokens?: number;
|
|
93
|
-
/** 显式指定 owner sessionId;为空时优先从 SessionRunScope 推断。 */
|
|
94
|
-
ownerContextId?: string;
|
|
95
|
-
/** 是否在 shell 结束后自动回投主 chat agent。 */
|
|
96
|
-
autoNotifyOnExit?: boolean;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* shell 一次性执行请求。
|
|
100
|
-
*
|
|
101
|
-
* 说明(中文)
|
|
102
|
-
* - 适合短命令与无需中途查询状态的场景。
|
|
103
|
-
* - 底层仍复用 shell session 引擎,但调用方不需要管理 `shell_id`。
|
|
104
|
-
*/
|
|
105
|
-
export type ShellExecRequest = {
|
|
106
|
-
/** 要执行的完整 shell 命令。 */
|
|
107
|
-
cmd: string;
|
|
108
|
-
/** 可选工作目录;为空时回退项目根目录。 */
|
|
109
|
-
cwd?: string;
|
|
110
|
-
/** 可选 shell 路径,例如 `/bin/zsh`。 */
|
|
111
|
-
shell?: string;
|
|
112
|
-
/** 是否以 login shell 方式启动;默认 `true`。 */
|
|
113
|
-
login?: boolean;
|
|
114
|
-
/** 整个一次性执行的总超时时间(毫秒)。 */
|
|
115
|
-
timeoutMs?: number;
|
|
116
|
-
/** 单次读取输出返回给模型的 token 上限。 */
|
|
117
|
-
maxOutputTokens?: number;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* shell 查询请求。
|
|
121
|
-
*
|
|
122
|
-
* 说明(中文)
|
|
123
|
-
* - `shellId` 优先级最高。
|
|
124
|
-
* - 若未提供 `shellId`,允许在同一 owner context 下按 `cmd` 模糊匹配最近一个会话。
|
|
125
|
-
*/
|
|
126
|
-
export type ShellQueryRequest = {
|
|
127
|
-
/** 目标 shell_id。 */
|
|
128
|
-
shellId?: string;
|
|
129
|
-
/** 命令关键字;用于在当前 context 下查找最近匹配会话。 */
|
|
130
|
-
cmd?: string;
|
|
131
|
-
/** 指定 owner sessionId;为空时优先从 SessionRunScope 推断。 */
|
|
132
|
-
ownerContextId?: string;
|
|
133
|
-
/** 是否允许匹配已结束会话。 */
|
|
134
|
-
includeCompleted?: boolean;
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* shell 输出读取请求。
|
|
138
|
-
*/
|
|
139
|
-
export type ShellReadRequest = ShellQueryRequest & {
|
|
140
|
-
/** 从哪个字符偏移开始读取;默认从头或从最新游标外部自行维护。 */
|
|
141
|
-
fromCursor?: number;
|
|
142
|
-
/** 单次读取输出返回给模型的 token 上限。 */
|
|
143
|
-
maxOutputTokens?: number;
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* shell stdin 写入请求。
|
|
147
|
-
*/
|
|
148
|
-
export type ShellWriteRequest = {
|
|
149
|
-
/** 目标 shell_id。 */
|
|
150
|
-
shellId: string;
|
|
151
|
-
/** 要写入 stdin 的原始文本。 */
|
|
152
|
-
chars: string;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* shell 等待请求。
|
|
156
|
-
*
|
|
157
|
-
* 说明(中文)
|
|
158
|
-
* - `afterVersion` 用于等待“状态变化”而非模型侧空轮询。
|
|
159
|
-
* - 可同时附带 `fromCursor`,一旦变化就顺便取回新的输出增量。
|
|
160
|
-
*/
|
|
161
|
-
export type ShellWaitRequest = {
|
|
162
|
-
/** 目标 shell_id。 */
|
|
163
|
-
shellId: string;
|
|
164
|
-
/** 仅当版本号大于该值时才立即返回。 */
|
|
165
|
-
afterVersion?: number;
|
|
166
|
-
/** 读取输出的起始字符游标。 */
|
|
167
|
-
fromCursor?: number;
|
|
168
|
-
/** 最大等待时间(毫秒)。 */
|
|
169
|
-
timeoutMs?: number;
|
|
170
|
-
/** 单次读取输出返回给模型的 token 上限。 */
|
|
171
|
-
maxOutputTokens?: number;
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* shell 关闭请求。
|
|
175
|
-
*/
|
|
176
|
-
export type ShellCloseRequest = {
|
|
177
|
-
/** 目标 shell_id。 */
|
|
178
|
-
shellId: string;
|
|
179
|
-
/** 是否强制 kill(SIGKILL);默认优雅终止。 */
|
|
180
|
-
force?: boolean;
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* shell 输出块。
|
|
184
|
-
*
|
|
185
|
-
* 说明(中文)
|
|
186
|
-
* - 统一用于 `start/read/wait` 的输出增量返回。
|
|
187
|
-
* - `startCursor/endCursor` 采用字符偏移,便于上层自行维护断点。
|
|
188
|
-
*/
|
|
189
|
-
export type ShellOutputChunk = {
|
|
190
|
-
/** 本次输出块对应的 shell_id。 */
|
|
191
|
-
shellId: string;
|
|
192
|
-
/** 本次读取返回的文本。 */
|
|
193
|
-
output: string;
|
|
194
|
-
/** 本次读取的起始字符游标。 */
|
|
195
|
-
startCursor: number;
|
|
196
|
-
/** 本次读取结束后的字符游标。 */
|
|
197
|
-
endCursor: number;
|
|
198
|
-
/** 原始待读取文本字符数。 */
|
|
199
|
-
originalChars: number;
|
|
200
|
-
/** 原始待读取文本行数。 */
|
|
201
|
-
originalLines: number;
|
|
202
|
-
/** 是否仍有未读输出。 */
|
|
203
|
-
hasMoreOutput: boolean;
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* shell service 对 agent tool 返回的统一数据结构。
|
|
207
|
-
*/
|
|
208
|
-
export type ShellActionResponse = {
|
|
209
|
-
/** shell 当前快照。 */
|
|
210
|
-
shell: ShellSessionSnapshot;
|
|
211
|
-
/** 可选输出块;仅在 start/read/wait 中返回。 */
|
|
212
|
-
chunk?: ShellOutputChunk;
|
|
213
|
-
/** 操作说明或附加提示。 */
|
|
214
|
-
note?: string;
|
|
215
|
-
};
|
|
216
|
-
//# sourceMappingURL=ShellService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShellService.d.ts","sourceRoot":"","sources":["../../../../src/services/shell/types/ShellService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,kBAAkB,GAC1B,UAAU,GACV,SAAS,GACT,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,sBAAsB;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,kBAAkB,CAAC,EAAE,KAAK,GAAG,YAAY,GAAG,MAAM,CAAC;IACnD,mBAAmB;IACnB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,0BAA0B;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2BAA2B;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,yBAAyB;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,sBAAsB;IACtB,YAAY,EAAE,gBAAgB,EAAE,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,yBAAyB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sDAAsD;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,yBAAyB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qCAAqC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,mBAAmB;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,uBAAuB;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,mBAAmB;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,kBAAkB;IAClB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,oCAAoC;IACpC,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShellService.js","sourceRoot":"","sources":["../../../../src/services/shell/types/ShellService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Task command services.
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 任务定义(task.md)与执行(runTaskNow)统一收口到服务层
|
|
6
|
-
* - CLI 与 Server 共用同一份参数归一化/校验逻辑
|
|
7
|
-
*/
|
|
8
|
-
import type { ShipTaskStatus } from "./types/Task.js";
|
|
9
|
-
import type { AgentContext } from "../../types/agent/AgentContext.js";
|
|
10
|
-
import type { TaskCreateRequest, TaskCreateResponse, TaskDeleteRequest, TaskDeleteResponse, TaskListResponse, TaskRunRequest, TaskRunResponse, TaskUpdateRequest, TaskUpdateResponse, TaskSetStatusRequest, TaskSetStatusResponse } from "./types/TaskCommand.js";
|
|
11
|
-
export declare function listTaskDefinitions(params: {
|
|
12
|
-
projectRoot: string;
|
|
13
|
-
status?: ShipTaskStatus;
|
|
14
|
-
}): Promise<TaskListResponse>;
|
|
15
|
-
export declare function createTaskDefinition(params: {
|
|
16
|
-
projectRoot: string;
|
|
17
|
-
request: TaskCreateRequest;
|
|
18
|
-
}): Promise<TaskCreateResponse>;
|
|
19
|
-
export declare function updateTaskDefinition(params: {
|
|
20
|
-
projectRoot: string;
|
|
21
|
-
request: TaskUpdateRequest;
|
|
22
|
-
}): Promise<TaskUpdateResponse>;
|
|
23
|
-
export declare function runTaskDefinition(params: {
|
|
24
|
-
context: AgentContext;
|
|
25
|
-
projectRoot: string;
|
|
26
|
-
request: TaskRunRequest;
|
|
27
|
-
}): Promise<TaskRunResponse>;
|
|
28
|
-
export declare function setTaskStatus(params: {
|
|
29
|
-
projectRoot: string;
|
|
30
|
-
request: TaskSetStatusRequest;
|
|
31
|
-
}): Promise<TaskSetStatusResponse>;
|
|
32
|
-
export declare function deleteTaskDefinition(params: {
|
|
33
|
-
projectRoot: string;
|
|
34
|
-
request: TaskDeleteRequest;
|
|
35
|
-
}): Promise<TaskDeleteResponse>;
|
|
36
|
-
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/services/task/Action.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAmBlE,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAsDhC,wBAAsB,mBAAmB,CAAC,MAAM,EAAE;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CA0B5B;AAED,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA2E9B;AAED,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA6G9B;AAED,wBAAsB,iBAAiB,CAAC,MAAM,EAAE;IAC9C,OAAO,EAAE,YAAY,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,cAAc,CAAC;CACzB,GAAG,OAAO,CAAC,eAAe,CAAC,CAoF3B;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,oBAAoB,CAAC;CAC/B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA8CjC;AAED,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA0B9B"}
|
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Task command services.
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 任务定义(task.md)与执行(runTaskNow)统一收口到服务层
|
|
6
|
-
* - CLI 与 Server 共用同一份参数归一化/校验逻辑
|
|
7
|
-
*/
|
|
8
|
-
import path from "node:path";
|
|
9
|
-
import { deriveTaskIdFromTitle, normalizeTaskId, } from "./runtime/Paths.js";
|
|
10
|
-
import { normalizeTaskKind, normalizeTaskWhen, normalizeTaskStatus, } from "./runtime/Model.js";
|
|
11
|
-
import { deleteTask, listTasks, readTask, resolveTaskIdByTitle, writeTask, } from "./runtime/Store.js";
|
|
12
|
-
import { runTaskNow } from "./runtime/Runner.js";
|
|
13
|
-
function resolveTaskStatus(input, fallback) {
|
|
14
|
-
const normalized = normalizeTaskStatus(input);
|
|
15
|
-
return normalized || fallback;
|
|
16
|
-
}
|
|
17
|
-
const TASK_LOG_PREFIX = "[TASK]";
|
|
18
|
-
function formatTaskLogMessage(message) {
|
|
19
|
-
return `${TASK_LOG_PREFIX} ${message}`;
|
|
20
|
-
}
|
|
21
|
-
function buildDefaultTaskBody() {
|
|
22
|
-
return [
|
|
23
|
-
"# 任务目标",
|
|
24
|
-
"",
|
|
25
|
-
"- 明确这次任务最终要交付什么结果,最终回复会由系统自动发送到任务绑定的 chat。",
|
|
26
|
-
"- 如果需要额外文件,请写入本次 run 目录,便于审计和排查。",
|
|
27
|
-
"",
|
|
28
|
-
"# 背景与输入",
|
|
29
|
-
"",
|
|
30
|
-
"- 补充任务依赖的上下文、数据来源、范围限制与关键假设。",
|
|
31
|
-
"- 如果存在用户原话、链接、文件路径或口径要求,在这里写清楚。",
|
|
32
|
-
"",
|
|
33
|
-
"# 执行步骤",
|
|
34
|
-
"",
|
|
35
|
-
"1. 先理解任务目标与完成标准。",
|
|
36
|
-
"2. 按需要收集信息、执行分析或运行命令。",
|
|
37
|
-
"3. 把关键中间产物写入 run 目录。",
|
|
38
|
-
"4. 整理出面向用户可直接阅读的最终结果。",
|
|
39
|
-
"",
|
|
40
|
-
"# 输出要求",
|
|
41
|
-
"",
|
|
42
|
-
"- 最终输出直接写结果本身,不要包多余寒暄,不要粘贴冗长日志。",
|
|
43
|
-
"- 需要结构时,优先使用短标题、要点列表、表格或 JSON 等稳定格式。",
|
|
44
|
-
"- 默认不要在正文里重复调用 `city chat send`;系统会自动发送最终结果。",
|
|
45
|
-
"",
|
|
46
|
-
"# 触发与状态建议",
|
|
47
|
-
"",
|
|
48
|
-
"- 默认创建后会立即启用;如果还在试运行或需要人工确认,再改成 `paused`。",
|
|
49
|
-
"- 已经稳定、需要周期执行的任务:优先保持 `enabled`,再改成 cron。",
|
|
50
|
-
"- 一次性定时任务:使用 `time:<带时区的 ISO 时间>`;执行后会自动回退为 `@manual` + `paused`。",
|
|
51
|
-
"",
|
|
52
|
-
"# 注意事项",
|
|
53
|
-
"",
|
|
54
|
-
"- 当前是独立 task 上下文,不要假设仍处在原始聊天回合里。",
|
|
55
|
-
"- 尽量使用可审计的方式:关键中间产物写入 `./.downcity/task/<title>/<timestamp>/` 下的 markdown 文件。",
|
|
56
|
-
"- 如果任务明确要求跨会话、跨平台或发送额外通知,再显式调用 `city chat send`。",
|
|
57
|
-
"",
|
|
58
|
-
].join("\n");
|
|
59
|
-
}
|
|
60
|
-
export async function listTaskDefinitions(params) {
|
|
61
|
-
const root = path.resolve(params.projectRoot);
|
|
62
|
-
const normalizedStatus = normalizeTaskStatus(params.status);
|
|
63
|
-
const tasks = await listTasks(root);
|
|
64
|
-
const filtered = normalizedStatus
|
|
65
|
-
? tasks.filter((task) => String(task.status).toLowerCase() === normalizedStatus)
|
|
66
|
-
: tasks;
|
|
67
|
-
return {
|
|
68
|
-
success: true,
|
|
69
|
-
tasks: filtered.map((task) => ({
|
|
70
|
-
title: task.title,
|
|
71
|
-
description: task.description,
|
|
72
|
-
...(typeof task.body === "string" && task.body.trim()
|
|
73
|
-
? { body: task.body }
|
|
74
|
-
: {}),
|
|
75
|
-
when: task.when,
|
|
76
|
-
status: task.status,
|
|
77
|
-
sessionId: task.sessionId,
|
|
78
|
-
kind: task.kind || "agent",
|
|
79
|
-
...(task.kind === "agent" ? { review: Boolean(task.review) } : {}),
|
|
80
|
-
taskMdPath: task.taskMdPath,
|
|
81
|
-
...(task.lastRunTimestamp ? { lastRunTimestamp: task.lastRunTimestamp } : {}),
|
|
82
|
-
})),
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
export async function createTaskDefinition(params) {
|
|
86
|
-
const root = path.resolve(params.projectRoot);
|
|
87
|
-
const req = params.request;
|
|
88
|
-
const title = String(req.title || "").trim();
|
|
89
|
-
const description = String(req.description || "").trim();
|
|
90
|
-
let taskIdFromName = "";
|
|
91
|
-
let taskId = "";
|
|
92
|
-
try {
|
|
93
|
-
taskIdFromName = deriveTaskIdFromTitle(title);
|
|
94
|
-
taskId = normalizeTaskId(taskIdFromName);
|
|
95
|
-
}
|
|
96
|
-
catch (error) {
|
|
97
|
-
return {
|
|
98
|
-
success: false,
|
|
99
|
-
error: String(error),
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
const whenNormalized = normalizeTaskWhen(String(req.when || "@manual").trim() || "@manual");
|
|
103
|
-
const sessionId = String(req.sessionId || "").trim();
|
|
104
|
-
const kind = normalizeTaskKind(req.kind);
|
|
105
|
-
if (!title)
|
|
106
|
-
return { success: false, error: "Missing title" };
|
|
107
|
-
if (!description)
|
|
108
|
-
return { success: false, error: "Missing description" };
|
|
109
|
-
if (!sessionId)
|
|
110
|
-
return { success: false, error: "Missing sessionId" };
|
|
111
|
-
if (!whenNormalized.ok)
|
|
112
|
-
return { success: false, error: whenNormalized.error };
|
|
113
|
-
const status = resolveTaskStatus(req.status, "enabled");
|
|
114
|
-
const body = typeof req.body === "string" && req.body.trim()
|
|
115
|
-
? req.body.trim()
|
|
116
|
-
: kind === "script"
|
|
117
|
-
? ""
|
|
118
|
-
: buildDefaultTaskBody();
|
|
119
|
-
// 关键点(中文):`title` 是唯一键,create 去重只按 title 精确匹配。
|
|
120
|
-
const existingTasks = await listTasks(root);
|
|
121
|
-
const duplicated = existingTasks.find((item) => String(item.title || "").trim() === title);
|
|
122
|
-
if (duplicated && !req.overwrite) {
|
|
123
|
-
return {
|
|
124
|
-
success: true,
|
|
125
|
-
title: duplicated.title,
|
|
126
|
-
taskMdPath: duplicated.taskMdPath,
|
|
127
|
-
reusedExisting: true,
|
|
128
|
-
message: "Task title already exists; reused existing task.",
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
const targetTaskId = duplicated ? duplicated.taskId : taskId;
|
|
132
|
-
try {
|
|
133
|
-
const written = await writeTask({
|
|
134
|
-
taskId: targetTaskId,
|
|
135
|
-
projectRoot: root,
|
|
136
|
-
overwrite: Boolean(req.overwrite) || Boolean(duplicated),
|
|
137
|
-
frontmatter: {
|
|
138
|
-
title,
|
|
139
|
-
description,
|
|
140
|
-
when: whenNormalized.value,
|
|
141
|
-
sessionId,
|
|
142
|
-
kind,
|
|
143
|
-
...(kind === "agent" && req.review === true ? { review: true } : {}),
|
|
144
|
-
status,
|
|
145
|
-
},
|
|
146
|
-
body,
|
|
147
|
-
});
|
|
148
|
-
return {
|
|
149
|
-
success: true,
|
|
150
|
-
title,
|
|
151
|
-
taskMdPath: written.taskMdPath,
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
catch (error) {
|
|
155
|
-
return {
|
|
156
|
-
success: false,
|
|
157
|
-
error: String(error),
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
export async function updateTaskDefinition(params) {
|
|
162
|
-
const root = path.resolve(params.projectRoot);
|
|
163
|
-
const req = params.request;
|
|
164
|
-
const title = String(req.title || "").trim();
|
|
165
|
-
let taskId = "";
|
|
166
|
-
try {
|
|
167
|
-
taskId = await resolveTaskIdByTitle({ projectRoot: root, title });
|
|
168
|
-
}
|
|
169
|
-
catch (error) {
|
|
170
|
-
return { success: false, error: String(error) };
|
|
171
|
-
}
|
|
172
|
-
// 关键点(中文):API 层也做一次互斥校验,避免非 CLI 调用写入歧义状态。
|
|
173
|
-
if (req.body !== undefined && req.clearBody) {
|
|
174
|
-
return { success: false, error: "`body` conflicts with `clearBody`" };
|
|
175
|
-
}
|
|
176
|
-
if (req.when !== undefined && req.clearWhen) {
|
|
177
|
-
return { success: false, error: "`when` conflicts with `clearWhen`" };
|
|
178
|
-
}
|
|
179
|
-
try {
|
|
180
|
-
const current = await readTask({
|
|
181
|
-
projectRoot: root,
|
|
182
|
-
taskId,
|
|
183
|
-
});
|
|
184
|
-
const nextTitle = typeof req.titleNext === "string"
|
|
185
|
-
? req.titleNext.trim()
|
|
186
|
-
: current.frontmatter.title;
|
|
187
|
-
if (!nextTitle)
|
|
188
|
-
return { success: false, error: "title cannot be empty" };
|
|
189
|
-
const nextTaskId = normalizeTaskId(deriveTaskIdFromTitle(nextTitle));
|
|
190
|
-
if (nextTaskId !== taskId) {
|
|
191
|
-
return {
|
|
192
|
-
success: false,
|
|
193
|
-
error: `title cannot change task identity. Expected "${taskId}", got "${nextTaskId}".`,
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
const description = typeof req.description === "string"
|
|
197
|
-
? req.description.trim()
|
|
198
|
-
: current.frontmatter.description;
|
|
199
|
-
if (!description)
|
|
200
|
-
return { success: false, error: "description cannot be empty" };
|
|
201
|
-
const whenInput = req.clearWhen
|
|
202
|
-
? "@manual"
|
|
203
|
-
: typeof req.when === "string"
|
|
204
|
-
? req.when.trim()
|
|
205
|
-
: current.frontmatter.when;
|
|
206
|
-
const whenNormalized = normalizeTaskWhen(whenInput);
|
|
207
|
-
if (!whenNormalized.ok)
|
|
208
|
-
return { success: false, error: whenNormalized.error };
|
|
209
|
-
const sessionId = typeof req.sessionId === "string" ? req.sessionId.trim() : current.frontmatter.sessionId;
|
|
210
|
-
if (!sessionId)
|
|
211
|
-
return { success: false, error: "sessionId cannot be empty" };
|
|
212
|
-
const kind = normalizeTaskKind(req.kind === undefined ? current.frontmatter.kind : req.kind);
|
|
213
|
-
const review = kind === "agent"
|
|
214
|
-
? req.review === undefined
|
|
215
|
-
? Boolean(current.frontmatter.review)
|
|
216
|
-
: req.review === true
|
|
217
|
-
: false;
|
|
218
|
-
const status = req.status === undefined
|
|
219
|
-
? current.frontmatter.status
|
|
220
|
-
: normalizeTaskStatus(req.status);
|
|
221
|
-
if (!status) {
|
|
222
|
-
return {
|
|
223
|
-
success: false,
|
|
224
|
-
error: `Invalid status: ${String(req.status)}`,
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
const body = req.clearBody
|
|
228
|
-
? ""
|
|
229
|
-
: typeof req.body === "string"
|
|
230
|
-
? req.body.trim()
|
|
231
|
-
: current.body;
|
|
232
|
-
const written = await writeTask({
|
|
233
|
-
projectRoot: root,
|
|
234
|
-
taskId,
|
|
235
|
-
overwrite: true,
|
|
236
|
-
frontmatter: {
|
|
237
|
-
title: nextTitle,
|
|
238
|
-
description,
|
|
239
|
-
when: whenNormalized.value,
|
|
240
|
-
sessionId,
|
|
241
|
-
kind,
|
|
242
|
-
...(kind === "agent" && review ? { review: true } : {}),
|
|
243
|
-
status,
|
|
244
|
-
},
|
|
245
|
-
body,
|
|
246
|
-
});
|
|
247
|
-
return {
|
|
248
|
-
success: true,
|
|
249
|
-
title: nextTitle,
|
|
250
|
-
taskMdPath: written.taskMdPath,
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
catch (error) {
|
|
254
|
-
return {
|
|
255
|
-
success: false,
|
|
256
|
-
error: String(error),
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
export async function runTaskDefinition(params) {
|
|
261
|
-
const root = path.resolve(params.projectRoot);
|
|
262
|
-
const title = String(params.request.title || "").trim();
|
|
263
|
-
let taskId = "";
|
|
264
|
-
try {
|
|
265
|
-
taskId = await resolveTaskIdByTitle({ projectRoot: root, title });
|
|
266
|
-
}
|
|
267
|
-
catch (error) {
|
|
268
|
-
return { success: false, error: String(error) };
|
|
269
|
-
}
|
|
270
|
-
const reason = typeof params.request.reason === "string" ? params.request.reason.trim() : "";
|
|
271
|
-
const trigger = {
|
|
272
|
-
type: "manual",
|
|
273
|
-
...(reason ? { reason } : {}),
|
|
274
|
-
};
|
|
275
|
-
try {
|
|
276
|
-
// 关键点(中文):run 改为“异步受理”,先做存在性校验,再后台执行。
|
|
277
|
-
await readTask({
|
|
278
|
-
taskId,
|
|
279
|
-
projectRoot: root,
|
|
280
|
-
});
|
|
281
|
-
params.context.logger.info(formatTaskLogMessage("Manual task run accepted"), {
|
|
282
|
-
taskId,
|
|
283
|
-
via: "manual",
|
|
284
|
-
...(reason ? { reason } : {}),
|
|
285
|
-
});
|
|
286
|
-
const executionId = `${taskId}:${Date.now()}`;
|
|
287
|
-
void runTaskNow({
|
|
288
|
-
context: params.context,
|
|
289
|
-
projectRoot: root,
|
|
290
|
-
taskId,
|
|
291
|
-
trigger,
|
|
292
|
-
executionId,
|
|
293
|
-
})
|
|
294
|
-
.then((result) => {
|
|
295
|
-
params.context.logger.info(formatTaskLogMessage("Manual task run finished"), {
|
|
296
|
-
taskId,
|
|
297
|
-
via: "manual",
|
|
298
|
-
status: result.status,
|
|
299
|
-
executionStatus: result.executionStatus,
|
|
300
|
-
resultStatus: result.resultStatus,
|
|
301
|
-
...(result.resultErrors.length > 0
|
|
302
|
-
? { resultErrors: result.resultErrors }
|
|
303
|
-
: {}),
|
|
304
|
-
dialogueRounds: result.dialogueRounds,
|
|
305
|
-
userSimulatorSatisfied: result.userSimulatorSatisfied,
|
|
306
|
-
executionId: result.executionId,
|
|
307
|
-
timestamp: result.timestamp,
|
|
308
|
-
runDir: result.runDirRel,
|
|
309
|
-
});
|
|
310
|
-
})
|
|
311
|
-
.catch((error) => {
|
|
312
|
-
params.context.logger.error(formatTaskLogMessage("Manual task run failed"), {
|
|
313
|
-
taskId,
|
|
314
|
-
via: "manual",
|
|
315
|
-
error: String(error),
|
|
316
|
-
});
|
|
317
|
-
});
|
|
318
|
-
return {
|
|
319
|
-
success: true,
|
|
320
|
-
accepted: true,
|
|
321
|
-
// 关键点(中文):这里直接返回给 agent 作为 tool result,提醒它这是异步任务,无需等待完成即可继续后续流程。
|
|
322
|
-
message: "任务已经开始执行,完成后 task 会自动发送给用户。请直接继续后续流程,无需等待 task 完成。",
|
|
323
|
-
executionId,
|
|
324
|
-
title,
|
|
325
|
-
};
|
|
326
|
-
}
|
|
327
|
-
catch (error) {
|
|
328
|
-
return {
|
|
329
|
-
success: false,
|
|
330
|
-
error: String(error),
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
export async function setTaskStatus(params) {
|
|
335
|
-
const root = path.resolve(params.projectRoot);
|
|
336
|
-
const title = String(params.request.title || "").trim();
|
|
337
|
-
let taskId = "";
|
|
338
|
-
try {
|
|
339
|
-
taskId = await resolveTaskIdByTitle({ projectRoot: root, title });
|
|
340
|
-
}
|
|
341
|
-
catch (error) {
|
|
342
|
-
return { success: false, error: String(error) };
|
|
343
|
-
}
|
|
344
|
-
const status = normalizeTaskStatus(params.request.status);
|
|
345
|
-
if (!status) {
|
|
346
|
-
return {
|
|
347
|
-
success: false,
|
|
348
|
-
error: `Invalid status: ${String(params.request.status)}`,
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
try {
|
|
352
|
-
const task = await readTask({
|
|
353
|
-
projectRoot: root,
|
|
354
|
-
taskId,
|
|
355
|
-
});
|
|
356
|
-
await writeTask({
|
|
357
|
-
projectRoot: root,
|
|
358
|
-
taskId,
|
|
359
|
-
overwrite: true,
|
|
360
|
-
frontmatter: {
|
|
361
|
-
...task.frontmatter,
|
|
362
|
-
status,
|
|
363
|
-
},
|
|
364
|
-
body: task.body,
|
|
365
|
-
});
|
|
366
|
-
return {
|
|
367
|
-
success: true,
|
|
368
|
-
title: task.frontmatter.title,
|
|
369
|
-
status,
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
catch (error) {
|
|
373
|
-
return {
|
|
374
|
-
success: false,
|
|
375
|
-
error: String(error),
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
export async function deleteTaskDefinition(params) {
|
|
380
|
-
const root = path.resolve(params.projectRoot);
|
|
381
|
-
const title = String(params.request.title || "").trim();
|
|
382
|
-
let taskId = "";
|
|
383
|
-
try {
|
|
384
|
-
taskId = await resolveTaskIdByTitle({ projectRoot: root, title });
|
|
385
|
-
}
|
|
386
|
-
catch (error) {
|
|
387
|
-
return { success: false, error: String(error) };
|
|
388
|
-
}
|
|
389
|
-
try {
|
|
390
|
-
const deleted = await deleteTask({
|
|
391
|
-
projectRoot: root,
|
|
392
|
-
taskId,
|
|
393
|
-
});
|
|
394
|
-
return {
|
|
395
|
-
success: true,
|
|
396
|
-
title,
|
|
397
|
-
taskDirPath: deleted.taskDirPath,
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
catch (error) {
|
|
401
|
-
return {
|
|
402
|
-
success: false,
|
|
403
|
-
error: String(error),
|
|
404
|
-
};
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
//# sourceMappingURL=Action.js.map
|