@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,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 静态资源路由模块。
|
|
3
|
-
*
|
|
4
|
-
* 职责说明:
|
|
5
|
-
* 1. 提供根目录前端静态文件访问。
|
|
6
|
-
* 2. 提供 `.downcity/public` 的受限文件暴露。
|
|
7
|
-
* 3. 只处理静态资源协议,不承载业务逻辑。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { Hono } from "hono";
|
|
11
|
-
import fs from "fs-extra";
|
|
12
|
-
import path from "path";
|
|
13
|
-
import { getDowncityPublicDirPath } from "@/config/Paths.js";
|
|
14
|
-
import { getAgentRuntime } from "@/agent/AgentRuntime.js";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 静态资源路由。
|
|
18
|
-
*/
|
|
19
|
-
export const staticRouter = new Hono();
|
|
20
|
-
|
|
21
|
-
staticRouter.get("/", async (c) => {
|
|
22
|
-
const indexPath = path.join(getAgentRuntime().rootPath, "public", "index.html");
|
|
23
|
-
if (await fs.pathExists(indexPath)) {
|
|
24
|
-
const content = await fs.readFile(indexPath, "utf-8");
|
|
25
|
-
return c.body(content, 200, {
|
|
26
|
-
"Content-Type": "text/html; charset=utf-8",
|
|
27
|
-
"Cache-Control": "no-cache",
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
return c.text("Downcity Agent Server", 200);
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
staticRouter.get("/styles.css", async (c) => {
|
|
34
|
-
const cssPath = path.join(getAgentRuntime().rootPath, "public", "styles.css");
|
|
35
|
-
if (await fs.pathExists(cssPath)) {
|
|
36
|
-
const content = await fs.readFile(cssPath, "utf-8");
|
|
37
|
-
return c.body(content, 200, {
|
|
38
|
-
"Content-Type": "text/css; charset=utf-8",
|
|
39
|
-
"Cache-Control": "no-cache",
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
return c.text("Not Found", 404);
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
staticRouter.get("/app.js", async (c) => {
|
|
46
|
-
const jsPath = path.join(getAgentRuntime().rootPath, "public", "app.js");
|
|
47
|
-
if (await fs.pathExists(jsPath)) {
|
|
48
|
-
const content = await fs.readFile(jsPath, "utf-8");
|
|
49
|
-
return c.body(content, 200, {
|
|
50
|
-
"Content-Type": "application/javascript; charset=utf-8",
|
|
51
|
-
"Cache-Control": "no-cache",
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
return c.text("Not Found", 404);
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
staticRouter.get("/downcity/public/*", async (c) => {
|
|
58
|
-
const root = getDowncityPublicDirPath(getAgentRuntime().rootPath);
|
|
59
|
-
const prefix = "/downcity/public/";
|
|
60
|
-
const requestPath = c.req.path;
|
|
61
|
-
const rel = requestPath.startsWith(prefix)
|
|
62
|
-
? requestPath.slice(prefix.length)
|
|
63
|
-
: "";
|
|
64
|
-
if (!rel) return c.text("Not Found", 404);
|
|
65
|
-
|
|
66
|
-
const full = path.resolve(root, rel);
|
|
67
|
-
const rootResolved = path.resolve(root);
|
|
68
|
-
if (full !== rootResolved && !full.startsWith(rootResolved + path.sep)) {
|
|
69
|
-
return c.text("Forbidden", 403);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
try {
|
|
73
|
-
const stat = await fs.stat(full);
|
|
74
|
-
if (!stat.isFile()) return c.text("Not Found", 404);
|
|
75
|
-
} catch {
|
|
76
|
-
return c.text("Not Found", 404);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const ext = path.extname(full).toLowerCase();
|
|
80
|
-
const contentType =
|
|
81
|
-
ext === ".html"
|
|
82
|
-
? "text/html; charset=utf-8"
|
|
83
|
-
: ext === ".css"
|
|
84
|
-
? "text/css; charset=utf-8"
|
|
85
|
-
: ext === ".js"
|
|
86
|
-
? "application/javascript; charset=utf-8"
|
|
87
|
-
: ext === ".json"
|
|
88
|
-
? "application/json; charset=utf-8"
|
|
89
|
-
: ext === ".txt" || ext === ".md"
|
|
90
|
-
? "text/plain; charset=utf-8"
|
|
91
|
-
: ext === ".pdf"
|
|
92
|
-
? "application/pdf"
|
|
93
|
-
: ext === ".png"
|
|
94
|
-
? "image/png"
|
|
95
|
-
: ext === ".jpg" || ext === ".jpeg"
|
|
96
|
-
? "image/jpeg"
|
|
97
|
-
: "application/octet-stream";
|
|
98
|
-
|
|
99
|
-
const buf = await fs.readFile(full);
|
|
100
|
-
return c.body(buf, 200, {
|
|
101
|
-
"Content-Type": contentType,
|
|
102
|
-
"Cache-Control": "no-cache",
|
|
103
|
-
});
|
|
104
|
-
});
|
package/src/model/CreateModel.ts
DELETED
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LLM provider/model factory.
|
|
3
|
-
*
|
|
4
|
-
* 设计目标(中文,关键点)
|
|
5
|
-
* - 这是“核心能力”,不应该依赖 server/RuntimeContext(避免隐式初始化时序)。
|
|
6
|
-
* - `execution.type=api` 时,从 console 全局 `llm.models` / `llm.providers` 解析最终模型。
|
|
7
|
-
* - 当前只有 `api` 执行模式。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { createAnthropic } from "@ai-sdk/anthropic";
|
|
11
|
-
import { createGoogleGenerativeAI } from "@ai-sdk/google";
|
|
12
|
-
import { createHuggingFace } from "@ai-sdk/huggingface";
|
|
13
|
-
import { createMoonshotAI } from "@ai-sdk/moonshotai";
|
|
14
|
-
import { createOpenResponses } from "@ai-sdk/open-responses";
|
|
15
|
-
import { createOpenAI } from "@ai-sdk/openai";
|
|
16
|
-
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
|
|
17
|
-
import { createXai } from "@ai-sdk/xai";
|
|
18
|
-
import { createOpenRouter } from "@openrouter/ai-sdk-provider";
|
|
19
|
-
import { type LanguageModel } from "ai";
|
|
20
|
-
import { createLlmLoggingFetch } from "@shared/utils/logger/Fetch.js";
|
|
21
|
-
import { getLogger } from "@shared/utils/logger/Logger.js";
|
|
22
|
-
import type { DowncityConfig } from "@/shared/types/DowncityConfig.js";
|
|
23
|
-
import type { LlmProviderType } from "@/shared/types/LlmConfig.js";
|
|
24
|
-
import { ConsoleStore } from "@shared/utils/store/index.js";
|
|
25
|
-
import { readProjectExecutionBinding } from "@/agent/project/ProjectExecutionBinding.js";
|
|
26
|
-
|
|
27
|
-
type ModelLogContext = {
|
|
28
|
-
sessionId?: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
function buildResponsesUrl(baseUrl?: string): string {
|
|
32
|
-
const trimmed = String(baseUrl || "")
|
|
33
|
-
.trim()
|
|
34
|
-
.replace(/\/+$/, "");
|
|
35
|
-
if (!trimmed) return "https://api.openai.com/v1/responses";
|
|
36
|
-
if (trimmed.endsWith("/responses")) return trimmed;
|
|
37
|
-
return `${trimmed}/responses`;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function normalizeOptionalBaseUrl(value: string | undefined): string | undefined {
|
|
41
|
-
const trimmed = String(value || "")
|
|
42
|
-
.trim()
|
|
43
|
-
.replace(/\/+$/, "");
|
|
44
|
-
return trimmed || undefined;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* provider 默认 baseUrl。
|
|
49
|
-
*
|
|
50
|
-
* 关键点(中文)
|
|
51
|
-
* - 当 `downcity.json.llm.providers.<id>.baseUrl` 省略时,按 provider type 自动补全。
|
|
52
|
-
* - 保持“只配置 provider type + apiKey + modelName”也能跑通常见 provider。
|
|
53
|
-
*/
|
|
54
|
-
function resolveProviderDefaultBaseUrl(
|
|
55
|
-
providerType: LlmProviderType,
|
|
56
|
-
): string | undefined {
|
|
57
|
-
if (providerType === "deepseek") return "https://api.deepseek.com/v1";
|
|
58
|
-
if (providerType === "moonshot-cn") return "https://api.moonshot.cn/v1";
|
|
59
|
-
if (providerType === "moonshot-ai") return "https://api.moonshot.ai/v1";
|
|
60
|
-
if (providerType === "kimi-code") return "https://api.kimi.com/coding/v1";
|
|
61
|
-
if (providerType === "xai") return "https://api.x.ai/v1";
|
|
62
|
-
if (providerType === "openrouter") return "https://openrouter.ai/api/v1";
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function resolveEnvPlaceholder(value: string | undefined): string | undefined {
|
|
67
|
-
if (!value) return value;
|
|
68
|
-
if (value.startsWith("${") && value.endsWith("}")) {
|
|
69
|
-
const envVar = value.slice(2, -1);
|
|
70
|
-
return process.env[envVar];
|
|
71
|
-
}
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function resolveApiKeyFallback(providerType: LlmProviderType): string | undefined {
|
|
76
|
-
if (providerType === "gemini") {
|
|
77
|
-
return (
|
|
78
|
-
process.env.GEMINI_API_KEY ||
|
|
79
|
-
process.env.GOOGLE_API_KEY ||
|
|
80
|
-
process.env.GOOGLE_GENERATIVE_AI_API_KEY ||
|
|
81
|
-
process.env.API_KEY
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
if (providerType === "anthropic") {
|
|
85
|
-
return process.env.ANTHROPIC_API_KEY || process.env.API_KEY;
|
|
86
|
-
}
|
|
87
|
-
if (providerType === "deepseek") {
|
|
88
|
-
return (
|
|
89
|
-
process.env.DEEPSEEK_API_KEY ||
|
|
90
|
-
process.env.OPENAI_API_KEY ||
|
|
91
|
-
process.env.API_KEY
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
if (providerType === "xai") {
|
|
95
|
-
return process.env.XAI_API_KEY || process.env.API_KEY;
|
|
96
|
-
}
|
|
97
|
-
if (providerType === "huggingface") {
|
|
98
|
-
return (
|
|
99
|
-
process.env.HUGGINGFACE_API_KEY ||
|
|
100
|
-
process.env.HF_TOKEN ||
|
|
101
|
-
process.env.API_KEY
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
if (providerType === "openrouter") {
|
|
105
|
-
return process.env.OPENROUTER_API_KEY || process.env.API_KEY;
|
|
106
|
-
}
|
|
107
|
-
if (providerType === "moonshot-cn" || providerType === "moonshot-ai") {
|
|
108
|
-
return (
|
|
109
|
-
process.env.MOONSHOT_API_KEY ||
|
|
110
|
-
process.env.KIMI_API_KEY ||
|
|
111
|
-
process.env.API_KEY
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
if (providerType === "kimi-code") {
|
|
115
|
-
return (
|
|
116
|
-
process.env.KIMI_CODE_API_KEY ||
|
|
117
|
-
process.env.KIMI_API_KEY ||
|
|
118
|
-
process.env.MOONSHOT_API_KEY ||
|
|
119
|
-
process.env.API_KEY
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
return process.env.OPENAI_API_KEY || process.env.API_KEY;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function normalizeProviderType(value: unknown): LlmProviderType | null {
|
|
126
|
-
if (value === "anthropic") return value;
|
|
127
|
-
if (value === "openai") return value;
|
|
128
|
-
if (value === "deepseek") return value;
|
|
129
|
-
if (value === "gemini") return value;
|
|
130
|
-
if (value === "open-compatible") return value;
|
|
131
|
-
if (value === "open-responses") return value;
|
|
132
|
-
if (value === "moonshot-cn") return value;
|
|
133
|
-
if (value === "moonshot-ai") return value;
|
|
134
|
-
if (value === "kimi-code") return value;
|
|
135
|
-
if (value === "xai") return value;
|
|
136
|
-
if (value === "huggingface") return value;
|
|
137
|
-
if (value === "openrouter") return value;
|
|
138
|
-
return null;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* 创建 LanguageModel 实例。
|
|
143
|
-
*
|
|
144
|
-
* 解析策略(中文)
|
|
145
|
-
* 1) 读取 `execution`,确认是 `api` 模式。
|
|
146
|
-
* `api`:定位 console 全局 `llm.models[modelId]` 与 `llm.providers[providerKey]`。
|
|
147
|
-
* 创建带日志拦截的 fetch,并按 provider type 分发到 SDK 工厂。
|
|
148
|
-
*/
|
|
149
|
-
export async function createModel(input: {
|
|
150
|
-
config: DowncityConfig;
|
|
151
|
-
getSessionRunScope?: () => ModelLogContext | undefined;
|
|
152
|
-
store?: ConsoleStore;
|
|
153
|
-
projectRoot?: string;
|
|
154
|
-
}): Promise<LanguageModel> {
|
|
155
|
-
const logger = getLogger();
|
|
156
|
-
const execution = readProjectExecutionBinding(input.config);
|
|
157
|
-
if (!execution) {
|
|
158
|
-
await logger.log("warn", "No agent execution configured");
|
|
159
|
-
throw Error("No agent execution configured");
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
// 日志策略(中文):默认开启 LLM 请求日志;可通过 llm.logMessages 关闭。
|
|
163
|
-
const configLog = input.config.llm?.logMessages;
|
|
164
|
-
const logLlmMessages = typeof configLog === "boolean" ? configLog : true;
|
|
165
|
-
const loggingFetch = createLlmLoggingFetch({
|
|
166
|
-
logger,
|
|
167
|
-
enabled: logLlmMessages,
|
|
168
|
-
getSessionRunScope: input.getSessionRunScope,
|
|
169
|
-
});
|
|
170
|
-
if (!execution || execution.type !== "api") {
|
|
171
|
-
await logger.log("warn", `Unsupported agent execution for createModel: ${execution.type}`);
|
|
172
|
-
throw Error(`Unsupported agent execution for createModel: ${execution.type}`);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
const primaryModelId = execution.modelId;
|
|
176
|
-
|
|
177
|
-
const store = input.store || new ConsoleStore();
|
|
178
|
-
const resolved = await store.getResolvedModel(primaryModelId);
|
|
179
|
-
if (!input.store) {
|
|
180
|
-
store.close();
|
|
181
|
-
}
|
|
182
|
-
if (!resolved) {
|
|
183
|
-
await logger.log("warn", `LLM model config not found in sqlite store: ${primaryModelId}`);
|
|
184
|
-
throw Error(`LLM model config not found in sqlite store: ${primaryModelId}`);
|
|
185
|
-
}
|
|
186
|
-
const selectedModelConfig = resolved.model;
|
|
187
|
-
const selectedProviderConfig = resolved.provider;
|
|
188
|
-
if (selectedModelConfig.isPaused === true) {
|
|
189
|
-
await logger.log(
|
|
190
|
-
"warn",
|
|
191
|
-
`LLM model is paused in sqlite store: ${primaryModelId}`,
|
|
192
|
-
);
|
|
193
|
-
throw Error(`LLM model is paused: ${primaryModelId}`);
|
|
194
|
-
}
|
|
195
|
-
const providerKey = selectedProviderConfig.id;
|
|
196
|
-
|
|
197
|
-
const providerType = normalizeProviderType(selectedProviderConfig.type);
|
|
198
|
-
if (!providerType) {
|
|
199
|
-
await logger.log("warn", `Unsupported LLM provider type: ${selectedProviderConfig.type}`);
|
|
200
|
-
throw Error(`Unsupported LLM provider type: ${selectedProviderConfig.type}`);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
const resolvedModel = resolveEnvPlaceholder(selectedModelConfig.name);
|
|
204
|
-
if (!resolvedModel || resolvedModel === "${}") {
|
|
205
|
-
await logger.log("warn", "No LLM model name configured");
|
|
206
|
-
throw Error("No LLM model name configured");
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
const resolvedBaseUrl = normalizeOptionalBaseUrl(
|
|
210
|
-
resolveEnvPlaceholder(selectedProviderConfig.baseUrl) ||
|
|
211
|
-
resolveProviderDefaultBaseUrl(providerType),
|
|
212
|
-
);
|
|
213
|
-
|
|
214
|
-
let resolvedApiKey = resolveEnvPlaceholder(selectedProviderConfig.apiKey);
|
|
215
|
-
if (!resolvedApiKey) {
|
|
216
|
-
resolvedApiKey = resolveApiKeyFallback(providerType);
|
|
217
|
-
}
|
|
218
|
-
if (!resolvedApiKey) {
|
|
219
|
-
await logger.log("warn", "No API Key configured, will use simulation mode");
|
|
220
|
-
throw Error("No API Key configured, will use simulation mode");
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// 关键点(中文):启动阶段只打印一次当前生效模型状态,便于快速确认路由是否正确。
|
|
224
|
-
await logger.log(
|
|
225
|
-
"info",
|
|
226
|
-
`[main] model primary=${primaryModelId} provider=${providerType}/${providerKey} name=${resolvedModel}${resolvedBaseUrl ? ` baseUrl=${resolvedBaseUrl}` : ""}`,
|
|
227
|
-
{
|
|
228
|
-
kind: "llm_model_ready",
|
|
229
|
-
primaryModel: primaryModelId,
|
|
230
|
-
providerType,
|
|
231
|
-
providerKey,
|
|
232
|
-
model: resolvedModel,
|
|
233
|
-
...(resolvedBaseUrl ? { baseUrl: resolvedBaseUrl } : {}),
|
|
234
|
-
logMessages: logLlmMessages,
|
|
235
|
-
},
|
|
236
|
-
);
|
|
237
|
-
|
|
238
|
-
if (providerType === "anthropic") {
|
|
239
|
-
const anthropicProvider = createAnthropic({
|
|
240
|
-
apiKey: resolvedApiKey,
|
|
241
|
-
baseURL: resolvedBaseUrl,
|
|
242
|
-
fetch: loggingFetch as typeof fetch,
|
|
243
|
-
});
|
|
244
|
-
return anthropicProvider(resolvedModel);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
if (providerType === "gemini") {
|
|
248
|
-
const googleProvider = createGoogleGenerativeAI({
|
|
249
|
-
apiKey: resolvedApiKey,
|
|
250
|
-
baseURL: resolvedBaseUrl,
|
|
251
|
-
fetch: loggingFetch as typeof fetch,
|
|
252
|
-
});
|
|
253
|
-
return googleProvider(resolvedModel);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
if (providerType === "open-responses") {
|
|
257
|
-
const responsesProvider = createOpenResponses({
|
|
258
|
-
url: buildResponsesUrl(resolvedBaseUrl),
|
|
259
|
-
name: providerKey,
|
|
260
|
-
apiKey: resolvedApiKey,
|
|
261
|
-
fetch: loggingFetch as typeof fetch,
|
|
262
|
-
});
|
|
263
|
-
return responsesProvider(resolvedModel);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
if (providerType === "open-compatible") {
|
|
267
|
-
const compatibleBaseUrl = resolvedBaseUrl || "https://api.openai.com/v1";
|
|
268
|
-
const compatibleProvider = createOpenAICompatible({
|
|
269
|
-
name: providerKey,
|
|
270
|
-
baseURL: compatibleBaseUrl,
|
|
271
|
-
apiKey: resolvedApiKey,
|
|
272
|
-
fetch: loggingFetch as typeof fetch,
|
|
273
|
-
});
|
|
274
|
-
return compatibleProvider(resolvedModel);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
if (providerType === "kimi-code") {
|
|
278
|
-
const compatibleBaseUrl = resolvedBaseUrl || "https://api.kimi.com/coding/v1";
|
|
279
|
-
const compatibleProvider = createOpenAICompatible({
|
|
280
|
-
name: providerKey,
|
|
281
|
-
baseURL: compatibleBaseUrl,
|
|
282
|
-
apiKey: resolvedApiKey,
|
|
283
|
-
fetch: loggingFetch as typeof fetch,
|
|
284
|
-
});
|
|
285
|
-
return compatibleProvider(resolvedModel);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
if (providerType === "moonshot-cn" || providerType === "moonshot-ai") {
|
|
289
|
-
const moonshotProvider = createMoonshotAI({
|
|
290
|
-
baseURL: resolvedBaseUrl,
|
|
291
|
-
apiKey: resolvedApiKey,
|
|
292
|
-
fetch: loggingFetch as typeof fetch,
|
|
293
|
-
});
|
|
294
|
-
return moonshotProvider(resolvedModel);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
if (providerType === "xai") {
|
|
298
|
-
const xaiProvider = createXai({
|
|
299
|
-
baseURL: resolvedBaseUrl,
|
|
300
|
-
apiKey: resolvedApiKey,
|
|
301
|
-
fetch: loggingFetch as typeof fetch,
|
|
302
|
-
});
|
|
303
|
-
return xaiProvider(resolvedModel);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
if (providerType === "huggingface") {
|
|
307
|
-
const huggingFaceProvider = createHuggingFace({
|
|
308
|
-
baseURL: resolvedBaseUrl,
|
|
309
|
-
apiKey: resolvedApiKey,
|
|
310
|
-
fetch: loggingFetch as typeof fetch,
|
|
311
|
-
});
|
|
312
|
-
return huggingFaceProvider(resolvedModel);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
if (providerType === "openrouter") {
|
|
316
|
-
const openRouterProvider = createOpenRouter({
|
|
317
|
-
baseURL: resolvedBaseUrl,
|
|
318
|
-
apiKey: resolvedApiKey,
|
|
319
|
-
fetch: loggingFetch as typeof fetch,
|
|
320
|
-
});
|
|
321
|
-
return openRouterProvider(resolvedModel);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
// DeepSeek 只支持 Chat Completions,不能用 Responses API。
|
|
325
|
-
if (providerType === "deepseek") {
|
|
326
|
-
const deepseekProvider = createOpenAICompatible({
|
|
327
|
-
name: providerKey,
|
|
328
|
-
baseURL: resolvedBaseUrl || "https://api.deepseek.com/v1",
|
|
329
|
-
apiKey: resolvedApiKey,
|
|
330
|
-
fetch: loggingFetch as typeof fetch,
|
|
331
|
-
});
|
|
332
|
-
return deepseekProvider(resolvedModel);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
// OpenAI-compatible providers(中文):
|
|
336
|
-
// - openai 统一走 OpenAI SDK(Responses/Completions 由 SDK 自适配)。
|
|
337
|
-
const openaiCompatibleProvider = createOpenAI({
|
|
338
|
-
apiKey: resolvedApiKey,
|
|
339
|
-
baseURL: resolvedBaseUrl,
|
|
340
|
-
fetch: loggingFetch as typeof fetch,
|
|
341
|
-
});
|
|
342
|
-
return openaiCompatibleProvider(resolvedModel);
|
|
343
|
-
}
|
package/src/plugin/Activation.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin 激活判定工具。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 统一收敛“某个 plugin 在当前 city 配置下是否启用”的规则。
|
|
6
|
-
* - plugin 启用态属于 city 级生命周期配置,不再来自 agent `downcity.json`。
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import type { Plugin } from "@/shared/types/Plugin.js";
|
|
10
|
-
import { isCityPluginEnabled } from "@/plugin/Lifecycle.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 读取当前 city 配置下的 plugin 启用态。
|
|
14
|
-
*/
|
|
15
|
-
export function isPluginEnabled(params: {
|
|
16
|
-
plugin: Plugin;
|
|
17
|
-
}): boolean {
|
|
18
|
-
const pluginName = String(params.plugin.name || "").trim();
|
|
19
|
-
if (!pluginName) return false;
|
|
20
|
-
if (pluginName === "auth") return true;
|
|
21
|
-
return isCityPluginEnabled(pluginName);
|
|
22
|
-
}
|
package/src/plugin/Catalog.ts
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin Catalog。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 这里承载 console 侧的静态 plugin 元数据视图。
|
|
6
|
-
* - 目标是把“控制面可见的 plugin 定义”从 agent 执行态里拆出来复用。
|
|
7
|
-
* - 当前先服务 Console 与 `city plugin` CLI 的静态回退场景。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { PLUGINS } from "@/plugin/Plugins.js";
|
|
11
|
-
import { isPluginEnabled } from "@/plugin/Activation.js";
|
|
12
|
-
import type {
|
|
13
|
-
Plugin,
|
|
14
|
-
PluginAvailability,
|
|
15
|
-
PluginView,
|
|
16
|
-
} from "@/shared/types/Plugin.js";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 将 Plugin 定义转换成静态概览视图。
|
|
20
|
-
*/
|
|
21
|
-
export function toStaticPluginView(plugin: Plugin): PluginView {
|
|
22
|
-
return {
|
|
23
|
-
name: plugin.name,
|
|
24
|
-
title: String(plugin.title || plugin.name || "").trim(),
|
|
25
|
-
description: String(plugin.description || "").trim(),
|
|
26
|
-
actions: Object.keys(plugin.actions || {}).sort((a, b) => a.localeCompare(b)),
|
|
27
|
-
pipelines: Object.keys(plugin.hooks?.pipeline || {}).sort((a, b) =>
|
|
28
|
-
a.localeCompare(b),
|
|
29
|
-
),
|
|
30
|
-
guards: Object.keys(plugin.hooks?.guard || {}).sort((a, b) =>
|
|
31
|
-
a.localeCompare(b),
|
|
32
|
-
),
|
|
33
|
-
effects: Object.keys(plugin.hooks?.effect || {}).sort((a, b) =>
|
|
34
|
-
a.localeCompare(b),
|
|
35
|
-
),
|
|
36
|
-
resolves: Object.keys(plugin.resolves || {}).sort((a, b) =>
|
|
37
|
-
a.localeCompare(b),
|
|
38
|
-
),
|
|
39
|
-
hasSystem: typeof plugin.system === "function",
|
|
40
|
-
hasAvailability: typeof plugin.availability === "function",
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* 列出全部内建 plugin 定义。
|
|
46
|
-
*/
|
|
47
|
-
export function listBuiltinPlugins(): Plugin[] {
|
|
48
|
-
return [...PLUGINS];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* 列出全部内建 plugin 的静态概览视图。
|
|
53
|
-
*/
|
|
54
|
-
export function listStaticPluginViews(): PluginView[] {
|
|
55
|
-
return listBuiltinPlugins()
|
|
56
|
-
.map((plugin) => toStaticPluginView(plugin))
|
|
57
|
-
.sort((a, b) => a.name.localeCompare(b.name));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* 按名称查找内建 plugin 定义。
|
|
62
|
-
*/
|
|
63
|
-
export function findBuiltinPlugin(pluginName: string): Plugin | null {
|
|
64
|
-
const key = String(pluginName || "").trim();
|
|
65
|
-
if (!key) return null;
|
|
66
|
-
return listBuiltinPlugins().find((plugin) => plugin.name === key) || null;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* 按名称查找内建 plugin 的静态概览视图。
|
|
71
|
-
*/
|
|
72
|
-
export function findStaticPluginView(
|
|
73
|
-
pluginName: string,
|
|
74
|
-
): PluginView | null {
|
|
75
|
-
const plugin = findBuiltinPlugin(pluginName);
|
|
76
|
-
return plugin ? toStaticPluginView(plugin) : null;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* 构建静态 plugin 可用性视图。
|
|
81
|
-
*
|
|
82
|
-
* 关键点(中文)
|
|
83
|
-
* - 这里表达的是“控制面视角下可见的 city 配置事实”,不是执行链路中的最终可用性。
|
|
84
|
-
* - `enabled` 只对齐 city 级 plugin lifecycle,不再读取 agent 项目配置。
|
|
85
|
-
* - `available` 仅在无需执行上下文即可明确判断为 false 时返回 false;否则静态层视为可用。
|
|
86
|
-
*/
|
|
87
|
-
export function buildStaticPluginAvailability(params: {
|
|
88
|
-
pluginName: string;
|
|
89
|
-
agentError?: string;
|
|
90
|
-
}): PluginAvailability {
|
|
91
|
-
const plugin = findBuiltinPlugin(params.pluginName);
|
|
92
|
-
if (!plugin) {
|
|
93
|
-
return {
|
|
94
|
-
enabled: false,
|
|
95
|
-
available: false,
|
|
96
|
-
reasons: [`Unknown plugin: ${params.pluginName}`],
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
const enabled = isPluginEnabled({ plugin });
|
|
101
|
-
|
|
102
|
-
if (!enabled) {
|
|
103
|
-
return {
|
|
104
|
-
enabled: false,
|
|
105
|
-
available: false,
|
|
106
|
-
reasons: [`Plugin "${plugin.name}" is disabled in city config.`],
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
const agentReason = String(params.agentError || "").trim();
|
|
111
|
-
return {
|
|
112
|
-
enabled: true,
|
|
113
|
-
available: false,
|
|
114
|
-
reasons: agentReason
|
|
115
|
-
? [`Agent server unavailable: ${agentReason}`]
|
|
116
|
-
: ["Static catalog view only. Agent-side availability is not loaded."],
|
|
117
|
-
};
|
|
118
|
-
}
|