@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,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatService:chat service 的类实现。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - chat 的渠道 bot 状态归属于 ChatService 实例。
|
|
6
|
-
* - chat 的 queue worker 也归属于 ChatService 实例,而不是 agent 入口。
|
|
7
|
-
* - Index 只保留静态导出入口,这里承接真正的 service class 实现。
|
|
8
|
-
* - action 注册表已经拆到独立模块,当前文件只保留实例骨架。
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import type { AgentRuntime } from "@/types/agent/AgentRuntime.js";
|
|
12
|
-
import { BaseService } from "@services/BaseService.js";
|
|
13
|
-
import type { ServiceActions } from "@/shared/types/Service.js";
|
|
14
|
-
import type { AgentContext } from "@/types/agent/AgentContext.js";
|
|
15
|
-
import type { ChatChannelState } from "@/shared/types/ChatRuntime.js";
|
|
16
|
-
import {
|
|
17
|
-
createChatChannelState,
|
|
18
|
-
startChatChannels,
|
|
19
|
-
stopChatChannels,
|
|
20
|
-
} from "./runtime/ChatChannelFacade.js";
|
|
21
|
-
import { createChatServiceActions } from "./runtime/ChatServiceActions.js";
|
|
22
|
-
import { ChatQueueWorker } from "./runtime/ChatQueueWorker.js";
|
|
23
|
-
import { buildChatServiceSystem } from "./runtime/ChatServiceSystem.js";
|
|
24
|
-
import { ChatQueueStore } from "./runtime/ChatQueueStore.js";
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Chat service 类实现。
|
|
28
|
-
*/
|
|
29
|
-
export class ChatService extends BaseService {
|
|
30
|
-
/**
|
|
31
|
-
* service 名称。
|
|
32
|
-
*/
|
|
33
|
-
readonly name = "chat";
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* 当前实例持有的渠道状态。
|
|
37
|
-
*/
|
|
38
|
-
public readonly channelState: ChatChannelState = createChatChannelState();
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* 当前实例持有的 chat queue worker。
|
|
42
|
-
*
|
|
43
|
-
* 关键点(中文)
|
|
44
|
-
* - worker 生命周期与 chat service 保持一致。
|
|
45
|
-
* - 这样 agent 只负责装配,不直接持有 chat 领域长期状态。
|
|
46
|
-
*/
|
|
47
|
-
public queueWorker: ChatQueueWorker | null = null;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 当前实例持有的 chat queue store。
|
|
51
|
-
*
|
|
52
|
-
* 关键点(中文)
|
|
53
|
-
* - 这是 chat queue 状态的实例归属起点。
|
|
54
|
-
* - 迁移完成后,入队路径也会统一走这里,而不是模块级全局 queue。
|
|
55
|
-
*/
|
|
56
|
-
public readonly queueStore = new ChatQueueStore();
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* 当前 service 的 system 文本构建器。
|
|
60
|
-
*/
|
|
61
|
-
readonly system = async (context: AgentContext): Promise<string> => {
|
|
62
|
-
return await buildChatServiceSystem(context);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* 当前 service 的 action 定义表。
|
|
67
|
-
*/
|
|
68
|
-
readonly actions: ServiceActions;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* 启动当前实例的 queue worker。
|
|
72
|
-
*/
|
|
73
|
-
private startQueueWorker(context: AgentContext): void {
|
|
74
|
-
if (this.queueWorker) return;
|
|
75
|
-
const worker = new ChatQueueWorker({
|
|
76
|
-
logger: context.logger,
|
|
77
|
-
context,
|
|
78
|
-
queueStore: this.queueStore,
|
|
79
|
-
config: context.config.services?.chat?.queue,
|
|
80
|
-
});
|
|
81
|
-
worker.start();
|
|
82
|
-
this.queueWorker = worker;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* 停止当前实例的 queue worker。
|
|
87
|
-
*/
|
|
88
|
-
private stopQueueWorker(): void {
|
|
89
|
-
const worker = this.queueWorker;
|
|
90
|
-
this.queueWorker = null;
|
|
91
|
-
if (!worker) return;
|
|
92
|
-
worker.stop();
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
constructor(agent: AgentRuntime | null) {
|
|
96
|
-
super(agent);
|
|
97
|
-
this.actions = createChatServiceActions({
|
|
98
|
-
channelState: this.channelState,
|
|
99
|
-
});
|
|
100
|
-
this.lifecycle = {
|
|
101
|
-
start: async (context) => {
|
|
102
|
-
this.startQueueWorker(context);
|
|
103
|
-
await startChatChannels(this.channelState, context);
|
|
104
|
-
},
|
|
105
|
-
stop: async () => {
|
|
106
|
-
this.stopQueueWorker();
|
|
107
|
-
await stopChatChannels(this.channelState);
|
|
108
|
-
},
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Chat Service 使用说明
|
|
2
|
-
|
|
3
|
-
## 用户可见回复规则
|
|
4
|
-
|
|
5
|
-
- 当前模式下,直接输出,即会发送消息给到用户对应的channel
|
|
6
|
-
|
|
7
|
-
## 输出协议
|
|
8
|
-
|
|
9
|
-
- 需要普通回复时,直接输出文本即可。文本顶部可用 frontmatter metadata (optional),字段语义与 `city chat send` 保持一致:
|
|
10
|
-
|
|
11
|
-
- `delay` / `delayMs`:延迟发送毫秒数。
|
|
12
|
-
- `time` / `sendAt` / `sendAtMs`:定时发送时间。
|
|
13
|
-
- `reply`:是否使用 reply 语义发送。
|
|
14
|
-
- `messageId`:目标 `message_id`(群聊推荐)。
|
|
15
|
-
- `react`:发送表情反应。
|
|
16
|
-
- 单个字符串:`react: "👍"`
|
|
17
|
-
- 或对象/数组:`emoji/big`
|
|
18
|
-
- 设置 `messageId` 时,`react` 会优先复用该消息作为目标消息。
|
|
19
|
-
- 附件使用 `<file type="...">path</file>`(支持 `document/photo/voice/audio/video`)。
|
|
20
|
-
- 附件路径必须是项目内可访问的相对路径。多附件可输出多个 `<file>` 标签。
|
|
21
|
-
|
|
22
|
-
### 示例
|
|
23
|
-
|
|
24
|
-
```text
|
|
25
|
-
---
|
|
26
|
-
reply: true
|
|
27
|
-
messageId: "128"
|
|
28
|
-
react:
|
|
29
|
-
- emoji: "✅"
|
|
30
|
-
---
|
|
31
|
-
这是今天的报告。
|
|
32
|
-
<file type="document">reports/daily.md</file>
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### 协议约束
|
|
36
|
-
|
|
37
|
-
- frontmatter 必须位于文本最开头(`---` 包裹)。
|
|
38
|
-
- 除 `<file>` 附件标签外,不要使用尖括号格式做控制参数。
|
|
39
|
-
|
|
40
|
-
## 跨协议/跨平台操作
|
|
41
|
-
|
|
42
|
-
- 当任务需要跨会话、跨平台或复杂路由,必须使用 `city chat send` / `city chat react`。
|
|
43
|
-
- metadata 只适用于当前会话内的 direct 出站,不要拿 metadata 做跨 chat 路由。
|
|
44
|
-
- 如果需要跨 chat 发送,或者不清楚怎么发送,直接先调用 `city chat --help` 查看方法。
|
|
45
|
-
- 如不确定参数或正文协议,先自行调用:
|
|
46
|
-
- `city chat --help`
|
|
47
|
-
- `city chat send --help`
|
|
48
|
-
- `city chat react --help`
|
|
49
|
-
|
|
50
|
-
## 入站消息结构(仅供内部理解)
|
|
51
|
-
|
|
52
|
-
- 每条入队用户消息包含 `<info>...</info>` 元信息块 + 用户正文。
|
|
53
|
-
- `<info>` 仅保留 user/request 元信息,例如 `user_id`、`username`、`message_id`、`permissions`、`received_at`。
|
|
54
|
-
- 当前 chat 路由环境(例如 `channel`、`session_id`、`chat_key`、`chat_id`)会通过 system prompt 单独注入,不再混在 `<info>` 里。
|
|
55
|
-
- `<info>` 不要原样回传给用户。
|
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Chat channel account 管理服务。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 统一封装 city 全局 chat channel account 的 CRUD 与探测。
|
|
6
|
-
* - 业务语义归属 chat service;console/CLI 只复用这里的能力。
|
|
7
|
-
* - 敏感字段仅在写入时接收明文;读取时只返回脱敏与布尔状态。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import crypto from "node:crypto";
|
|
11
|
-
import { ConsoleStore } from "@/shared/utils/store/index.js";
|
|
12
|
-
import type { StoredChannelAccountChannel } from "@/shared/types/Store.js";
|
|
13
|
-
import { resolveChatChannelBotInfo } from "@services/chat/channels/BotInfoProvider.js";
|
|
14
|
-
import type {
|
|
15
|
-
ChatChannelAccountCreateInput,
|
|
16
|
-
ChatChannelAccountListResult,
|
|
17
|
-
ChatChannelAccountProbeResult,
|
|
18
|
-
ChatChannelAccountUpsertInput,
|
|
19
|
-
} from "@services/chat/types/ChannelAccount.js";
|
|
20
|
-
|
|
21
|
-
const SUPPORTED_CHANNELS: readonly StoredChannelAccountChannel[] = [
|
|
22
|
-
"telegram",
|
|
23
|
-
"feishu",
|
|
24
|
-
"qq",
|
|
25
|
-
];
|
|
26
|
-
|
|
27
|
-
function maskSecret(value: string | undefined): string {
|
|
28
|
-
const raw = String(value || "").trim();
|
|
29
|
-
if (!raw) return "";
|
|
30
|
-
if (raw.length <= 8) return "***";
|
|
31
|
-
return `${raw.slice(0, 4)}***${raw.slice(-4)}`;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function assertChannel(input: string): StoredChannelAccountChannel {
|
|
35
|
-
const channel = String(input || "").trim().toLowerCase() as StoredChannelAccountChannel;
|
|
36
|
-
if (!SUPPORTED_CHANNELS.includes(channel)) {
|
|
37
|
-
throw new Error(
|
|
38
|
-
`Unsupported channel: ${input}. Supported: ${SUPPORTED_CHANNELS.join(", ")}`,
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
return channel;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function normalizeOptionalText(value: unknown): string | undefined {
|
|
45
|
-
const text = String(value || "").trim();
|
|
46
|
-
return text || undefined;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function normalizeChannelAccountIdToken(value: string): string {
|
|
50
|
-
const token = String(value || "")
|
|
51
|
-
.trim()
|
|
52
|
-
.toLowerCase()
|
|
53
|
-
.replace(/[^a-z0-9_-]+/g, "-")
|
|
54
|
-
.replace(/-+/g, "-")
|
|
55
|
-
.replace(/^-+/, "")
|
|
56
|
-
.replace(/-+$/, "");
|
|
57
|
-
return token || "bot";
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function pickFirstNonEmpty(inputs: unknown[]): string {
|
|
61
|
-
for (const input of inputs) {
|
|
62
|
-
const text = String(input || "").trim();
|
|
63
|
-
if (text) return text;
|
|
64
|
-
}
|
|
65
|
-
return "";
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* ChatChannelAccountService。
|
|
70
|
-
*/
|
|
71
|
-
export class ChatChannelAccountService {
|
|
72
|
-
/**
|
|
73
|
-
* 生成唯一 channel account id。
|
|
74
|
-
*
|
|
75
|
-
* 关键点(中文)
|
|
76
|
-
* - 账号 id 统一由系统生成,避免用户手填导致冲突/命名不一致。
|
|
77
|
-
* - 若碰撞会自动追加随机后缀重试。
|
|
78
|
-
*/
|
|
79
|
-
private async generateUniqueAccountId(params: {
|
|
80
|
-
channel: StoredChannelAccountChannel;
|
|
81
|
-
seed?: string;
|
|
82
|
-
}): Promise<string> {
|
|
83
|
-
const seed = normalizeChannelAccountIdToken(params.seed || "");
|
|
84
|
-
const prefix = `${params.channel}-${seed}`.slice(0, 36);
|
|
85
|
-
const store = new ConsoleStore();
|
|
86
|
-
try {
|
|
87
|
-
for (let index = 0; index < 8; index += 1) {
|
|
88
|
-
const suffix = crypto.randomBytes(3).toString("hex");
|
|
89
|
-
const candidate = `${prefix}-${suffix}`.slice(0, 64);
|
|
90
|
-
const existing = await store.getChannelAccount(candidate);
|
|
91
|
-
if (!existing) return candidate;
|
|
92
|
-
}
|
|
93
|
-
return `${params.channel}-${Date.now().toString(36)}`;
|
|
94
|
-
} finally {
|
|
95
|
-
store.close();
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* 探测 bot 凭据并返回自动填充信息。
|
|
101
|
-
*/
|
|
102
|
-
async probe(input: {
|
|
103
|
-
channel: string;
|
|
104
|
-
botToken?: string;
|
|
105
|
-
appId?: string;
|
|
106
|
-
appSecret?: string;
|
|
107
|
-
domain?: string;
|
|
108
|
-
sandbox?: boolean;
|
|
109
|
-
}): Promise<ChatChannelAccountProbeResult> {
|
|
110
|
-
const channel = assertChannel(input.channel);
|
|
111
|
-
const botInfo = await resolveChatChannelBotInfo({
|
|
112
|
-
channel,
|
|
113
|
-
credentials: {
|
|
114
|
-
botToken: normalizeOptionalText(input.botToken),
|
|
115
|
-
appId: normalizeOptionalText(input.appId),
|
|
116
|
-
appSecret: normalizeOptionalText(input.appSecret),
|
|
117
|
-
domain: normalizeOptionalText(input.domain),
|
|
118
|
-
sandbox: input.sandbox === true,
|
|
119
|
-
},
|
|
120
|
-
});
|
|
121
|
-
const accountId = await this.generateUniqueAccountId({
|
|
122
|
-
channel,
|
|
123
|
-
seed: pickFirstNonEmpty([
|
|
124
|
-
botInfo.idSeed,
|
|
125
|
-
botInfo.botUserId,
|
|
126
|
-
botInfo.identity,
|
|
127
|
-
botInfo.name,
|
|
128
|
-
"bot",
|
|
129
|
-
]),
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
return {
|
|
133
|
-
channel,
|
|
134
|
-
accountId,
|
|
135
|
-
name: botInfo.name,
|
|
136
|
-
identity: botInfo.identity,
|
|
137
|
-
owner: botInfo.owner,
|
|
138
|
-
creator: botInfo.creator,
|
|
139
|
-
botUserId: botInfo.botUserId,
|
|
140
|
-
message: botInfo.message,
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* 使用凭据创建账号。
|
|
146
|
-
*
|
|
147
|
-
* 关键点(中文)
|
|
148
|
-
* - 默认会尝试探测平台 bot 信息,成功时自动生成更友好的名称与身份。
|
|
149
|
-
* - 探测失败时允许用户给定名称继续保存,方便先录入后排查。
|
|
150
|
-
*/
|
|
151
|
-
async create(input: ChatChannelAccountCreateInput): Promise<{
|
|
152
|
-
id: string;
|
|
153
|
-
probed: boolean;
|
|
154
|
-
message?: string;
|
|
155
|
-
}> {
|
|
156
|
-
const channel = assertChannel(input.channel);
|
|
157
|
-
let probeResult: ChatChannelAccountProbeResult | null = null;
|
|
158
|
-
if (input.probe !== false) {
|
|
159
|
-
try {
|
|
160
|
-
probeResult = await this.probe({
|
|
161
|
-
channel,
|
|
162
|
-
botToken: input.botToken,
|
|
163
|
-
appId: input.appId,
|
|
164
|
-
appSecret: input.appSecret,
|
|
165
|
-
domain: input.domain,
|
|
166
|
-
sandbox: input.sandbox,
|
|
167
|
-
});
|
|
168
|
-
} catch (error) {
|
|
169
|
-
if (!normalizeOptionalText(input.name)) {
|
|
170
|
-
throw error;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
const id =
|
|
176
|
-
probeResult?.accountId ||
|
|
177
|
-
(await this.generateUniqueAccountId({
|
|
178
|
-
channel,
|
|
179
|
-
seed: pickFirstNonEmpty([input.name, input.appId, "bot"]),
|
|
180
|
-
}));
|
|
181
|
-
const name = normalizeOptionalText(input.name) || probeResult?.name || `${channel} bot`;
|
|
182
|
-
|
|
183
|
-
await this.upsert({
|
|
184
|
-
id,
|
|
185
|
-
channel,
|
|
186
|
-
name,
|
|
187
|
-
identity: probeResult?.identity,
|
|
188
|
-
owner: probeResult?.owner,
|
|
189
|
-
creator: probeResult?.creator,
|
|
190
|
-
botToken: input.botToken,
|
|
191
|
-
appId: input.appId,
|
|
192
|
-
appSecret: input.appSecret,
|
|
193
|
-
domain: input.domain,
|
|
194
|
-
sandbox: input.sandbox,
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
return {
|
|
198
|
-
id,
|
|
199
|
-
probed: Boolean(probeResult),
|
|
200
|
-
message: probeResult?.message,
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* 列出账户池(脱敏)。
|
|
206
|
-
*/
|
|
207
|
-
async list(): Promise<ChatChannelAccountListResult> {
|
|
208
|
-
const store = new ConsoleStore();
|
|
209
|
-
try {
|
|
210
|
-
const rows = await store.listChannelAccounts();
|
|
211
|
-
return {
|
|
212
|
-
items: rows.map((item) => ({
|
|
213
|
-
id: item.id,
|
|
214
|
-
channel: item.channel,
|
|
215
|
-
name: item.name,
|
|
216
|
-
identity: item.identity,
|
|
217
|
-
owner: item.owner,
|
|
218
|
-
creator: item.creator,
|
|
219
|
-
domain: item.domain,
|
|
220
|
-
sandbox: item.sandbox === true,
|
|
221
|
-
hasBotToken: !!String(item.botToken || "").trim(),
|
|
222
|
-
hasAppId: !!String(item.appId || "").trim(),
|
|
223
|
-
hasAppSecret: !!String(item.appSecret || "").trim(),
|
|
224
|
-
botTokenMasked: maskSecret(item.botToken),
|
|
225
|
-
appIdMasked: maskSecret(item.appId),
|
|
226
|
-
appSecretMasked: maskSecret(item.appSecret),
|
|
227
|
-
createdAt: item.createdAt,
|
|
228
|
-
updatedAt: item.updatedAt,
|
|
229
|
-
})),
|
|
230
|
-
};
|
|
231
|
-
} finally {
|
|
232
|
-
store.close();
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* 新增或更新账户。
|
|
238
|
-
*/
|
|
239
|
-
async upsert(input: ChatChannelAccountUpsertInput): Promise<{ id: string }> {
|
|
240
|
-
const id = String(input.id || "").trim();
|
|
241
|
-
if (!id) throw new Error("channel account id cannot be empty");
|
|
242
|
-
const name = String(input.name || "").trim();
|
|
243
|
-
if (!name) throw new Error("channel account name cannot be empty");
|
|
244
|
-
|
|
245
|
-
const channel = assertChannel(input.channel);
|
|
246
|
-
|
|
247
|
-
if (input.botToken !== undefined && input.clearBotToken === true) {
|
|
248
|
-
throw new Error("botToken and clearBotToken cannot be used together");
|
|
249
|
-
}
|
|
250
|
-
if (input.appId !== undefined && input.clearAppId === true) {
|
|
251
|
-
throw new Error("appId and clearAppId cannot be used together");
|
|
252
|
-
}
|
|
253
|
-
if (input.appSecret !== undefined && input.clearAppSecret === true) {
|
|
254
|
-
throw new Error("appSecret and clearAppSecret cannot be used together");
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
const store = new ConsoleStore();
|
|
258
|
-
try {
|
|
259
|
-
const current = await store.getChannelAccount(id);
|
|
260
|
-
const nextBotToken = input.clearBotToken
|
|
261
|
-
? undefined
|
|
262
|
-
: input.botToken !== undefined
|
|
263
|
-
? normalizeOptionalText(input.botToken)
|
|
264
|
-
: current?.botToken;
|
|
265
|
-
const nextAppId = input.clearAppId
|
|
266
|
-
? undefined
|
|
267
|
-
: input.appId !== undefined
|
|
268
|
-
? normalizeOptionalText(input.appId)
|
|
269
|
-
: current?.appId;
|
|
270
|
-
const nextAppSecret = input.clearAppSecret
|
|
271
|
-
? undefined
|
|
272
|
-
: input.appSecret !== undefined
|
|
273
|
-
? normalizeOptionalText(input.appSecret)
|
|
274
|
-
: current?.appSecret;
|
|
275
|
-
const nextIdentity = Object.prototype.hasOwnProperty.call(input, "identity")
|
|
276
|
-
? normalizeOptionalText(input.identity)
|
|
277
|
-
: current?.identity;
|
|
278
|
-
const nextOwner = Object.prototype.hasOwnProperty.call(input, "owner")
|
|
279
|
-
? normalizeOptionalText(input.owner)
|
|
280
|
-
: current?.owner;
|
|
281
|
-
const nextCreator = Object.prototype.hasOwnProperty.call(input, "creator")
|
|
282
|
-
? normalizeOptionalText(input.creator)
|
|
283
|
-
: current?.creator;
|
|
284
|
-
|
|
285
|
-
await store.upsertChannelAccount({
|
|
286
|
-
id,
|
|
287
|
-
channel,
|
|
288
|
-
name,
|
|
289
|
-
identity: nextIdentity,
|
|
290
|
-
owner: nextOwner,
|
|
291
|
-
creator: nextCreator,
|
|
292
|
-
botToken: nextBotToken,
|
|
293
|
-
appId: nextAppId,
|
|
294
|
-
appSecret: nextAppSecret,
|
|
295
|
-
domain: normalizeOptionalText(input.domain),
|
|
296
|
-
sandbox: input.sandbox === true,
|
|
297
|
-
});
|
|
298
|
-
return { id };
|
|
299
|
-
} finally {
|
|
300
|
-
store.close();
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* 删除账户。
|
|
306
|
-
*/
|
|
307
|
-
remove(idInput: string): void {
|
|
308
|
-
const id = String(idInput || "").trim();
|
|
309
|
-
if (!id) throw new Error("channel account id cannot be empty");
|
|
310
|
-
const store = new ConsoleStore();
|
|
311
|
-
try {
|
|
312
|
-
store.removeChannelAccount(id);
|
|
313
|
-
} finally {
|
|
314
|
-
store.close();
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|