@downcity/city 1.1.1 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +245 -0
- package/bin/cli/Index.js +12 -12
- package/bin/cli/Index.js.map +1 -1
- package/bin/cli/agent/AgentChat.d.ts +22 -0
- package/bin/cli/agent/AgentChat.d.ts.map +1 -0
- package/bin/cli/agent/AgentChat.js +357 -0
- package/bin/cli/agent/AgentChat.js.map +1 -0
- package/bin/cli/agent/AgentChatTypes.d.ts +87 -0
- package/bin/cli/agent/AgentChatTypes.d.ts.map +1 -0
- package/bin/cli/agent/AgentChatTypes.js +12 -0
- package/bin/cli/agent/AgentChatTypes.js.map +1 -0
- package/bin/cli/agent/AgentHistory.d.ts +14 -0
- package/bin/cli/agent/AgentHistory.d.ts.map +1 -0
- package/bin/cli/agent/AgentHistory.js +157 -0
- package/bin/cli/agent/AgentHistory.js.map +1 -0
- package/bin/cli/agent/AgentHistoryTypes.d.ts +36 -0
- package/bin/cli/agent/AgentHistoryTypes.d.ts.map +1 -0
- package/bin/cli/agent/AgentHistoryTypes.js +9 -0
- package/bin/cli/agent/AgentHistoryTypes.js.map +1 -0
- package/bin/cli/agent/AgentManager.d.ts.map +1 -0
- package/bin/cli/agent/AgentManager.js +602 -0
- package/bin/cli/agent/AgentManager.js.map +1 -0
- package/bin/cli/agent/AgentManagerTypes.d.ts +13 -0
- package/bin/cli/agent/AgentManagerTypes.d.ts.map +1 -0
- package/bin/cli/agent/AgentManagerTypes.js +5 -0
- package/bin/cli/agent/AgentManagerTypes.js.map +1 -0
- package/bin/cli/agent/AgentReset.d.ts +13 -0
- package/bin/cli/agent/AgentReset.d.ts.map +1 -0
- package/bin/cli/agent/AgentReset.js +167 -0
- package/bin/cli/agent/AgentReset.js.map +1 -0
- package/bin/cli/agent/AgentSelection.d.ts +43 -0
- package/bin/cli/agent/AgentSelection.d.ts.map +1 -0
- package/bin/cli/agent/AgentSelection.js +243 -0
- package/bin/cli/agent/AgentSelection.js.map +1 -0
- package/bin/cli/agent/AgentSelectionTypes.d.ts +30 -0
- package/bin/cli/agent/AgentSelectionTypes.d.ts.map +1 -0
- package/bin/cli/agent/AgentSelectionTypes.js +5 -0
- package/bin/cli/agent/AgentSelectionTypes.js.map +1 -0
- package/bin/cli/agent/Init.d.ts.map +1 -0
- package/bin/cli/agent/Init.js +252 -0
- package/bin/cli/agent/Init.js.map +1 -0
- package/bin/cli/agent/Restart.d.ts +19 -0
- package/bin/cli/agent/Restart.d.ts.map +1 -0
- package/bin/cli/agent/Restart.js +60 -0
- package/bin/cli/agent/Restart.js.map +1 -0
- package/bin/cli/agent/Run.d.ts +24 -0
- package/bin/cli/agent/Run.d.ts.map +1 -0
- package/bin/cli/agent/Run.js +119 -0
- package/bin/cli/agent/Run.js.map +1 -0
- package/bin/cli/agent/Start.d.ts +23 -0
- package/bin/cli/agent/Start.d.ts.map +1 -0
- package/bin/cli/agent/Start.js +63 -0
- package/bin/cli/agent/Start.js.map +1 -0
- package/bin/cli/agent/Status.d.ts.map +1 -0
- package/bin/cli/agent/Status.js +103 -0
- package/bin/cli/agent/Status.js.map +1 -0
- package/bin/cli/agent/Stop.d.ts.map +1 -0
- package/bin/cli/agent/Stop.js +44 -0
- package/bin/cli/agent/Stop.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneAuthBootstrap.d.ts +25 -0
- package/bin/cli/control-plane/ControlPlaneAuthBootstrap.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneAuthBootstrap.js +56 -0
- package/bin/cli/control-plane/ControlPlaneAuthBootstrap.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneCommand.d.ts +29 -0
- package/bin/cli/control-plane/ControlPlaneCommand.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneCommand.js +152 -0
- package/bin/cli/control-plane/ControlPlaneCommand.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneInit.d.ts +17 -0
- package/bin/cli/control-plane/ControlPlaneInit.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneInit.js +76 -0
- package/bin/cli/control-plane/ControlPlaneInit.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneProcess.d.ts +61 -0
- package/bin/cli/control-plane/ControlPlaneProcess.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneProcess.js +395 -0
- package/bin/cli/control-plane/ControlPlaneProcess.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneRuntime.d.ts +98 -0
- package/bin/cli/control-plane/ControlPlaneRuntime.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneRuntime.js +515 -0
- package/bin/cli/control-plane/ControlPlaneRuntime.js.map +1 -0
- package/bin/cli/control-plane/ControlPlaneStatus.d.ts +27 -0
- package/bin/cli/control-plane/ControlPlaneStatus.d.ts.map +1 -0
- package/bin/cli/control-plane/ControlPlaneStatus.js +135 -0
- package/bin/cli/control-plane/ControlPlaneStatus.js.map +1 -0
- package/bin/cli/model/Model.d.ts.map +1 -0
- package/bin/cli/model/Model.js.map +1 -0
- package/bin/cli/model/ModelCommandShared.d.ts +28 -0
- package/bin/cli/model/ModelCommandShared.d.ts.map +1 -0
- package/bin/cli/model/ModelCommandShared.js +109 -0
- package/bin/cli/model/ModelCommandShared.js.map +1 -0
- package/bin/cli/model/ModelCreateCommand.d.ts.map +1 -0
- package/bin/cli/model/ModelCreateCommand.js +367 -0
- package/bin/cli/model/ModelCreateCommand.js.map +1 -0
- package/bin/cli/model/ModelManageCommand.d.ts.map +1 -0
- package/bin/cli/model/ModelManageCommand.js +438 -0
- package/bin/cli/model/ModelManageCommand.js.map +1 -0
- package/bin/cli/model/ModelManager.d.ts.map +1 -0
- package/bin/cli/model/ModelManager.js +588 -0
- package/bin/cli/model/ModelManager.js.map +1 -0
- package/bin/cli/model/ModelManagerTypes.d.ts +21 -0
- package/bin/cli/model/ModelManagerTypes.d.ts.map +1 -0
- package/bin/cli/model/ModelManagerTypes.js +5 -0
- package/bin/cli/model/ModelManagerTypes.js.map +1 -0
- package/bin/cli/model/ModelReadCommand.d.ts +13 -0
- package/bin/cli/model/ModelReadCommand.d.ts.map +1 -0
- package/bin/cli/model/ModelReadCommand.js +198 -0
- package/bin/cli/model/ModelReadCommand.js.map +1 -0
- package/bin/cli/model/ModelSupport.d.ts +40 -0
- package/bin/cli/model/ModelSupport.d.ts.map +1 -0
- package/bin/cli/model/ModelSupport.js +201 -0
- package/bin/cli/model/ModelSupport.js.map +1 -0
- package/bin/cli/model/preset/ModelPresetManager.d.ts +71 -0
- package/bin/cli/model/preset/ModelPresetManager.d.ts.map +1 -0
- package/bin/cli/model/preset/ModelPresetManager.js +187 -0
- package/bin/cli/model/preset/ModelPresetManager.js.map +1 -0
- package/bin/cli/service/ServiceActionCommands.d.ts +14 -0
- package/bin/cli/service/ServiceActionCommands.d.ts.map +1 -0
- package/bin/cli/service/ServiceActionCommands.js +343 -0
- package/bin/cli/service/ServiceActionCommands.js.map +1 -0
- package/bin/cli/service/ServiceCommandRemote.d.ts +30 -0
- package/bin/cli/service/ServiceCommandRemote.d.ts.map +1 -0
- package/bin/cli/service/ServiceCommandRemote.js +200 -0
- package/bin/cli/service/ServiceCommandRemote.js.map +1 -0
- package/bin/cli/service/ServiceCommandSupport.d.ts +82 -0
- package/bin/cli/service/ServiceCommandSupport.d.ts.map +1 -0
- package/bin/cli/service/ServiceCommandSupport.js +224 -0
- package/bin/cli/service/ServiceCommandSupport.js.map +1 -0
- package/bin/cli/service/ServiceScheduleCommand.d.ts +36 -0
- package/bin/cli/service/ServiceScheduleCommand.d.ts.map +1 -0
- package/bin/cli/service/ServiceScheduleCommand.js +271 -0
- package/bin/cli/service/ServiceScheduleCommand.js.map +1 -0
- package/bin/cli/service/Services.d.ts.map +1 -0
- package/bin/cli/service/Services.js +154 -0
- package/bin/cli/service/Services.js.map +1 -0
- package/bin/cli/shared/Alias.d.ts.map +1 -0
- package/bin/cli/shared/Alias.js.map +1 -0
- package/bin/cli/shared/Chat.d.ts.map +1 -0
- package/bin/cli/shared/Chat.js.map +1 -0
- package/bin/cli/shared/ChatAuth.d.ts +40 -0
- package/bin/cli/shared/ChatAuth.d.ts.map +1 -0
- package/bin/cli/shared/ChatAuth.js +151 -0
- package/bin/cli/shared/ChatAuth.js.map +1 -0
- package/bin/cli/shared/ChatManager.d.ts.map +1 -0
- package/bin/cli/shared/ChatManager.js +383 -0
- package/bin/cli/shared/ChatManager.js.map +1 -0
- package/bin/cli/shared/ChatManagerTypes.d.ts +6 -0
- package/bin/cli/shared/ChatManagerTypes.d.ts.map +1 -0
- package/bin/cli/shared/ChatManagerTypes.js +5 -0
- package/bin/cli/shared/ChatManagerTypes.js.map +1 -0
- package/bin/cli/shared/CliError.d.ts.map +1 -0
- package/bin/cli/shared/CliError.js.map +1 -0
- package/bin/cli/shared/CliReporter.d.ts +50 -0
- package/bin/cli/shared/CliReporter.d.ts.map +1 -0
- package/bin/cli/shared/CliReporter.js.map +1 -0
- package/bin/cli/shared/CliReporterTypes.d.ts +157 -0
- package/bin/cli/shared/CliReporterTypes.d.ts.map +1 -0
- package/bin/cli/shared/CliReporterTypes.js +10 -0
- package/bin/cli/shared/CliReporterTypes.js.map +1 -0
- package/bin/cli/shared/Config.d.ts.map +1 -0
- package/bin/cli/shared/Config.js +239 -0
- package/bin/cli/shared/Config.js.map +1 -0
- package/bin/cli/shared/Env.d.ts +14 -0
- package/bin/cli/shared/Env.d.ts.map +1 -0
- package/bin/cli/shared/Env.js +419 -0
- package/bin/cli/shared/Env.js.map +1 -0
- package/bin/cli/shared/IndexAgentCommand.d.ts.map +1 -0
- package/bin/cli/shared/IndexAgentCommand.js +218 -0
- package/bin/cli/shared/IndexAgentCommand.js.map +1 -0
- package/bin/cli/shared/IndexSupport.d.ts.map +1 -0
- package/bin/cli/shared/IndexSupport.js +123 -0
- package/bin/cli/shared/IndexSupport.js.map +1 -0
- package/bin/cli/shared/Plugins.d.ts.map +1 -0
- package/bin/cli/shared/Plugins.js +472 -0
- package/bin/cli/shared/Plugins.js.map +1 -0
- package/bin/cli/shared/PortHints.d.ts +35 -0
- package/bin/cli/shared/PortHints.d.ts.map +1 -0
- package/bin/cli/shared/PortHints.js +58 -0
- package/bin/cli/shared/PortHints.js.map +1 -0
- package/bin/cli/shared/PublicAccess.d.ts +24 -0
- package/bin/cli/shared/PublicAccess.d.ts.map +1 -0
- package/bin/cli/shared/PublicAccess.js +100 -0
- package/bin/cli/shared/PublicAccess.js.map +1 -0
- package/bin/cli/shared/PublicHostEnv.d.ts +14 -0
- package/bin/cli/shared/PublicHostEnv.d.ts.map +1 -0
- package/bin/cli/shared/PublicHostEnv.js +104 -0
- package/bin/cli/shared/PublicHostEnv.js.map +1 -0
- package/bin/cli/shared/PublicHostEnvTypes.d.ts +23 -0
- package/bin/cli/shared/PublicHostEnvTypes.d.ts.map +1 -0
- package/bin/cli/shared/PublicHostEnvTypes.js +5 -0
- package/bin/cli/shared/PublicHostEnvTypes.js.map +1 -0
- package/bin/cli/shared/Reset.d.ts.map +1 -0
- package/bin/cli/shared/Reset.js.map +1 -0
- package/bin/cli/shared/Token.d.ts.map +1 -0
- package/bin/cli/shared/Token.js +638 -0
- package/bin/cli/shared/Token.js.map +1 -0
- package/bin/cli/shared/Update.d.ts.map +1 -0
- package/bin/cli/shared/Update.js +150 -0
- package/bin/cli/shared/Update.js.map +1 -0
- package/bin/config/DowncitySchema.d.ts +3 -0
- package/bin/config/DowncitySchema.d.ts.map +1 -0
- package/bin/config/DowncitySchema.js +367 -0
- package/bin/config/DowncitySchema.js.map +1 -0
- package/bin/control/AgentStatusApiRoutes.d.ts +28 -0
- package/bin/control/AgentStatusApiRoutes.d.ts.map +1 -0
- package/bin/control/AgentStatusApiRoutes.js +165 -0
- package/bin/control/AgentStatusApiRoutes.js.map +1 -0
- package/bin/control/ChannelAccountApiRoutes.d.ts +15 -0
- package/bin/control/ChannelAccountApiRoutes.d.ts.map +1 -0
- package/bin/control/ChannelAccountApiRoutes.js +93 -0
- package/bin/control/ChannelAccountApiRoutes.js.map +1 -0
- package/bin/control/ControlGateway.d.ts +102 -0
- package/bin/control/ControlGateway.d.ts.map +1 -0
- package/bin/control/ControlGateway.js +283 -0
- package/bin/control/ControlGateway.js.map +1 -0
- package/bin/control/EnvApiRoutes.d.ts +18 -0
- package/bin/control/EnvApiRoutes.d.ts.map +1 -0
- package/bin/control/EnvApiRoutes.js +228 -0
- package/bin/control/EnvApiRoutes.js.map +1 -0
- package/bin/control/ModelApiRoutes.d.ts +35 -0
- package/bin/control/ModelApiRoutes.d.ts.map +1 -0
- package/bin/control/ModelApiRoutes.js +237 -0
- package/bin/control/ModelApiRoutes.js.map +1 -0
- package/bin/control/ModelPoolService.d.ts +126 -0
- package/bin/control/ModelPoolService.d.ts.map +1 -0
- package/bin/control/ModelPoolService.js +327 -0
- package/bin/control/ModelPoolService.js.map +1 -0
- package/bin/control/PlatformApiRoutes.d.ts +133 -0
- package/bin/control/PlatformApiRoutes.d.ts.map +1 -0
- package/bin/control/PlatformApiRoutes.js +292 -0
- package/bin/control/PlatformApiRoutes.js.map +1 -0
- package/bin/control/PluginApiRoutes.d.ts +28 -0
- package/bin/control/PluginApiRoutes.d.ts.map +1 -0
- package/bin/control/PluginApiRoutes.js +282 -0
- package/bin/control/PluginApiRoutes.js.map +1 -0
- package/bin/control/gateway/AgentActions.d.ts +107 -0
- package/bin/control/gateway/AgentActions.d.ts.map +1 -0
- package/bin/control/gateway/AgentActions.js +314 -0
- package/bin/control/gateway/AgentActions.js.map +1 -0
- package/bin/control/gateway/AgentCatalog.d.ts +83 -0
- package/bin/control/gateway/AgentCatalog.d.ts.map +1 -0
- package/bin/control/gateway/AgentCatalog.js +484 -0
- package/bin/control/gateway/AgentCatalog.js.map +1 -0
- package/bin/control/gateway/FrontendAssets.d.ts +21 -0
- package/bin/control/gateway/FrontendAssets.d.ts.map +1 -0
- package/bin/control/gateway/FrontendAssets.js +77 -0
- package/bin/control/gateway/FrontendAssets.js.map +1 -0
- package/bin/control/gateway/GatewaySupport.d.ts +34 -0
- package/bin/control/gateway/GatewaySupport.d.ts.map +1 -0
- package/bin/control/gateway/GatewaySupport.js +32 -0
- package/bin/control/gateway/GatewaySupport.js.map +1 -0
- package/bin/control/gateway/Proxy.d.ts +16 -0
- package/bin/control/gateway/Proxy.d.ts.map +1 -0
- package/bin/control/gateway/Proxy.js +47 -0
- package/bin/control/gateway/Proxy.js.map +1 -0
- package/bin/control/instant/InstantApiRoutes.d.ts +19 -0
- package/bin/control/instant/InstantApiRoutes.d.ts.map +1 -0
- package/bin/control/instant/InstantApiRoutes.js +58 -0
- package/bin/control/instant/InstantApiRoutes.js.map +1 -0
- package/bin/control/instant/InstantSessionService.d.ts +36 -0
- package/bin/control/instant/InstantSessionService.d.ts.map +1 -0
- package/bin/control/instant/InstantSessionService.js +183 -0
- package/bin/control/instant/InstantSessionService.js.map +1 -0
- package/bin/control/instant/InstantSystemComposer.d.ts +34 -0
- package/bin/control/instant/InstantSystemComposer.d.ts.map +1 -0
- package/bin/control/instant/InstantSystemComposer.js +38 -0
- package/bin/control/instant/InstantSystemComposer.js.map +1 -0
- 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 +4 -4
- package/bin/http/auth/AuthStore.d.ts.map +1 -1
- package/bin/http/auth/AuthStore.js +7 -7
- package/bin/http/auth/AuthStore.js.map +1 -1
- package/bin/http/auth/RoutePolicy.d.ts +3 -3
- package/bin/http/auth/RoutePolicy.d.ts.map +1 -1
- package/bin/http/auth/RoutePolicy.js +6 -6
- package/bin/http/auth/RoutePolicy.js.map +1 -1
- package/bin/process/daemon/Api.d.ts +60 -0
- package/bin/process/daemon/Api.d.ts.map +1 -0
- package/bin/process/daemon/Api.js.map +1 -0
- package/bin/process/daemon/CliArgs.d.ts +17 -0
- package/bin/process/daemon/CliArgs.d.ts.map +1 -0
- package/bin/process/daemon/CliArgs.js +30 -0
- package/bin/process/daemon/CliArgs.js.map +1 -0
- package/bin/process/daemon/Client.d.ts.map +1 -0
- package/bin/process/daemon/Client.js +158 -0
- package/bin/process/daemon/Client.js.map +1 -0
- package/bin/process/daemon/Manager.d.ts +92 -0
- package/bin/process/daemon/Manager.d.ts.map +1 -0
- package/bin/process/daemon/Manager.js +287 -0
- package/bin/process/daemon/Manager.js.map +1 -0
- package/bin/process/daemon/PortAllocator.d.ts.map +1 -0
- package/bin/process/daemon/PortAllocator.js.map +1 -0
- package/bin/process/registry/AgentHostRuntime.d.ts +10 -0
- package/bin/process/registry/AgentHostRuntime.d.ts.map +1 -0
- package/bin/process/registry/AgentHostRuntime.js +47 -0
- package/bin/process/registry/AgentHostRuntime.js.map +1 -0
- package/bin/process/registry/CityPaths.d.ts +53 -0
- package/bin/process/registry/CityPaths.d.ts.map +1 -0
- package/bin/process/registry/CityPaths.js +78 -0
- package/bin/process/registry/CityPaths.js.map +1 -0
- package/bin/process/registry/CityRegistry.d.ts +51 -0
- package/bin/process/registry/CityRegistry.d.ts.map +1 -0
- package/bin/process/registry/CityRegistry.js +217 -0
- package/bin/process/registry/CityRegistry.js.map +1 -0
- package/bin/process/registry/CityRuntime.d.ts +21 -0
- package/bin/process/registry/CityRuntime.d.ts.map +1 -0
- package/bin/process/registry/CityRuntime.js +45 -0
- package/bin/process/registry/CityRuntime.js.map +1 -0
- package/bin/process/registry/PluginRuntime.d.ts +24 -0
- package/bin/process/registry/PluginRuntime.d.ts.map +1 -0
- package/bin/process/registry/PluginRuntime.js.map +1 -0
- package/bin/process/registry/ProcessSweep.d.ts +76 -0
- package/bin/process/registry/ProcessSweep.d.ts.map +1 -0
- package/bin/process/registry/ProcessSweep.js +202 -0
- package/bin/process/registry/ProcessSweep.js.map +1 -0
- package/bin/process/rpc/Client.d.ts +13 -0
- package/bin/process/rpc/Client.d.ts.map +1 -0
- package/bin/process/rpc/Client.js.map +1 -0
- package/bin/process/rpc/Paths.d.ts.map +1 -0
- package/bin/process/rpc/Paths.js +36 -0
- package/bin/process/rpc/Paths.js.map +1 -0
- package/bin/utils/Id.d.ts.map +1 -0
- package/bin/utils/Id.js.map +1 -0
- package/bin/utils/cli/CliOutput.d.ts +51 -0
- package/bin/utils/cli/CliOutput.d.ts.map +1 -0
- package/bin/utils/cli/CliOutput.js +117 -0
- 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/utils/storage.d.ts +5 -0
- package/bin/utils/storage.d.ts.map +1 -0
- package/bin/utils/storage.js +23 -0
- package/bin/utils/storage.js.map +1 -0
- package/package.json +3 -3
- package/public/app.js +35 -35
- package/scripts/lint-import-boundaries.mjs +17 -85
- package/src/cli/Index.ts +12 -12
- package/src/cli/agent/AgentChat.ts +415 -0
- package/src/cli/agent/AgentChatTypes.ts +92 -0
- package/src/cli/agent/AgentHistory.ts +187 -0
- package/src/cli/agent/AgentHistoryTypes.ts +39 -0
- package/src/cli/agent/AgentManager.ts +667 -0
- package/src/cli/agent/AgentManagerTypes.ts +29 -0
- package/src/cli/agent/AgentReset.ts +181 -0
- package/src/cli/agent/AgentSelection.ts +297 -0
- package/src/cli/agent/AgentSelectionTypes.ts +36 -0
- package/src/cli/agent/Init.ts +291 -0
- package/src/cli/agent/Restart.ts +68 -0
- package/src/cli/agent/Run.ts +148 -0
- package/src/cli/agent/Start.ts +72 -0
- package/src/cli/agent/Status.ts +116 -0
- package/src/cli/agent/Stop.ts +45 -0
- package/src/cli/control-plane/ControlPlaneAuthBootstrap.ts +72 -0
- package/src/cli/control-plane/ControlPlaneCommand.ts +216 -0
- package/src/cli/control-plane/ControlPlaneInit.ts +83 -0
- package/src/cli/control-plane/ControlPlaneProcess.ts +497 -0
- package/src/cli/control-plane/ControlPlaneRuntime.ts +611 -0
- package/src/cli/control-plane/ControlPlaneStatus.ts +152 -0
- package/src/cli/model/ModelCommandShared.ts +129 -0
- package/src/cli/model/ModelCreateCommand.ts +424 -0
- package/src/cli/model/ModelManageCommand.ts +516 -0
- package/src/cli/model/ModelManager.ts +631 -0
- package/src/cli/model/ModelManagerTypes.ts +37 -0
- package/src/cli/model/ModelReadCommand.ts +207 -0
- package/src/cli/model/ModelSupport.ts +223 -0
- package/src/cli/model/preset/ModelPresetManager.ts +242 -0
- package/src/cli/service/ServiceActionCommands.ts +416 -0
- package/src/cli/service/ServiceCommandRemote.ts +230 -0
- package/src/cli/service/ServiceCommandSupport.ts +275 -0
- package/src/cli/service/ServiceScheduleCommand.ts +305 -0
- package/src/cli/service/Services.ts +189 -0
- package/src/cli/shared/ChatAuth.ts +203 -0
- package/src/cli/shared/ChatManager.ts +441 -0
- package/src/cli/shared/ChatManagerTypes.ts +19 -0
- package/src/cli/shared/CliReporter.ts +362 -0
- package/src/cli/shared/CliReporterTypes.ts +167 -0
- package/src/cli/shared/Config.ts +301 -0
- package/src/cli/shared/Env.ts +556 -0
- package/src/cli/shared/IndexAgentCommand.ts +302 -0
- package/src/cli/shared/IndexSupport.ts +138 -0
- package/src/cli/shared/Plugins.ts +567 -0
- package/src/cli/shared/PortHints.ts +80 -0
- package/src/cli/shared/PublicAccess.ts +106 -0
- package/src/cli/shared/PublicHostEnv.ts +116 -0
- package/src/cli/shared/PublicHostEnvTypes.ts +27 -0
- package/src/cli/shared/Token.ts +702 -0
- package/src/cli/shared/Update.ts +183 -0
- package/src/config/DowncitySchema.ts +377 -0
- package/src/control/AgentStatusApiRoutes.ts +225 -0
- package/src/control/ChannelAccountApiRoutes.ts +119 -0
- package/src/control/ControlGateway.ts +463 -0
- package/src/control/EnvApiRoutes.ts +257 -0
- package/src/control/ModelApiRoutes.ts +336 -0
- package/src/control/ModelPoolService.ts +395 -0
- package/src/control/PlatformApiRoutes.ts +495 -0
- package/src/control/PluginApiRoutes.ts +439 -0
- package/src/control/gateway/AgentActions.ts +413 -0
- package/src/control/gateway/AgentCatalog.ts +611 -0
- package/src/control/gateway/FrontendAssets.ts +79 -0
- package/src/control/gateway/GatewaySupport.ts +59 -0
- package/src/control/gateway/Proxy.ts +62 -0
- package/src/control/instant/InstantApiRoutes.ts +74 -0
- package/src/control/instant/InstantSessionService.ts +278 -0
- package/src/control/instant/InstantSystemComposer.ts +60 -0
- package/src/http/auth/AuthMiddleware.ts +1 -1
- package/src/http/auth/AuthService.ts +3 -3
- package/src/http/auth/AuthStore.ts +11 -11
- package/src/http/auth/RoutePolicy.ts +8 -8
- package/src/process/daemon/Api.ts +64 -0
- package/src/process/daemon/CliArgs.ts +39 -0
- package/src/process/daemon/Client.ts +182 -0
- package/src/process/daemon/Manager.ts +344 -0
- package/src/process/registry/AgentHostRuntime.ts +65 -0
- package/src/process/registry/CityPaths.ts +87 -0
- package/src/process/registry/CityRegistry.ts +256 -0
- package/src/process/registry/CityRuntime.ts +45 -0
- package/src/process/registry/PluginRuntime.ts +42 -0
- package/src/process/registry/ProcessSweep.ts +256 -0
- package/src/process/rpc/Client.ts +113 -0
- package/src/process/rpc/Paths.ts +43 -0
- package/src/utils/cli/CliOutput.ts +170 -0
- package/src/utils/storage.ts +26 -0
- package/tsconfig.json +2 -3
- 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/cli/AgentChat.d.ts +0 -22
- package/bin/cli/AgentChat.d.ts.map +0 -1
- package/bin/cli/AgentChat.js +0 -357
- package/bin/cli/AgentChat.js.map +0 -1
- package/bin/cli/AgentHistory.d.ts +0 -14
- package/bin/cli/AgentHistory.d.ts.map +0 -1
- package/bin/cli/AgentHistory.js +0 -157
- package/bin/cli/AgentHistory.js.map +0 -1
- package/bin/cli/AgentManager.d.ts.map +0 -1
- package/bin/cli/AgentManager.js +0 -602
- package/bin/cli/AgentManager.js.map +0 -1
- package/bin/cli/AgentReset.d.ts +0 -13
- package/bin/cli/AgentReset.d.ts.map +0 -1
- package/bin/cli/AgentReset.js +0 -167
- package/bin/cli/AgentReset.js.map +0 -1
- package/bin/cli/AgentSelection.d.ts +0 -43
- package/bin/cli/AgentSelection.d.ts.map +0 -1
- package/bin/cli/AgentSelection.js +0 -243
- package/bin/cli/AgentSelection.js.map +0 -1
- package/bin/cli/Alias.d.ts.map +0 -1
- package/bin/cli/Alias.js.map +0 -1
- package/bin/cli/Chat.d.ts.map +0 -1
- package/bin/cli/Chat.js.map +0 -1
- package/bin/cli/ChatAuth.d.ts +0 -36
- package/bin/cli/ChatAuth.d.ts.map +0 -1
- package/bin/cli/ChatAuth.js +0 -140
- package/bin/cli/ChatAuth.js.map +0 -1
- package/bin/cli/ChatManager.d.ts.map +0 -1
- package/bin/cli/ChatManager.js +0 -383
- package/bin/cli/ChatManager.js.map +0 -1
- package/bin/cli/CliReporter.d.ts +0 -50
- package/bin/cli/CliReporter.d.ts.map +0 -1
- package/bin/cli/CliReporter.js.map +0 -1
- package/bin/cli/Config.d.ts.map +0 -1
- package/bin/cli/Config.js +0 -239
- package/bin/cli/Config.js.map +0 -1
- package/bin/cli/Console.d.ts +0 -97
- package/bin/cli/Console.d.ts.map +0 -1
- package/bin/cli/Console.js +0 -514
- package/bin/cli/Console.js.map +0 -1
- package/bin/cli/ConsoleAuthBootstrap.d.ts +0 -25
- package/bin/cli/ConsoleAuthBootstrap.d.ts.map +0 -1
- package/bin/cli/ConsoleAuthBootstrap.js +0 -56
- package/bin/cli/ConsoleAuthBootstrap.js.map +0 -1
- package/bin/cli/ConsoleInit.d.ts +0 -17
- package/bin/cli/ConsoleInit.d.ts.map +0 -1
- package/bin/cli/ConsoleInit.js +0 -76
- package/bin/cli/ConsoleInit.js.map +0 -1
- package/bin/cli/Env.d.ts +0 -14
- package/bin/cli/Env.d.ts.map +0 -1
- package/bin/cli/Env.js +0 -419
- package/bin/cli/Env.js.map +0 -1
- package/bin/cli/IndexAgentCommand.d.ts.map +0 -1
- package/bin/cli/IndexAgentCommand.js +0 -218
- package/bin/cli/IndexAgentCommand.js.map +0 -1
- package/bin/cli/IndexConsoleCommand.d.ts +0 -24
- package/bin/cli/IndexConsoleCommand.d.ts.map +0 -1
- package/bin/cli/IndexConsoleCommand.js +0 -147
- package/bin/cli/IndexConsoleCommand.js.map +0 -1
- package/bin/cli/IndexConsoleProcess.d.ts +0 -61
- package/bin/cli/IndexConsoleProcess.d.ts.map +0 -1
- package/bin/cli/IndexConsoleProcess.js +0 -395
- package/bin/cli/IndexConsoleProcess.js.map +0 -1
- package/bin/cli/IndexConsoleStatus.d.ts +0 -27
- package/bin/cli/IndexConsoleStatus.d.ts.map +0 -1
- package/bin/cli/IndexConsoleStatus.js +0 -135
- package/bin/cli/IndexConsoleStatus.js.map +0 -1
- package/bin/cli/IndexSupport.d.ts.map +0 -1
- package/bin/cli/IndexSupport.js +0 -123
- package/bin/cli/IndexSupport.js.map +0 -1
- package/bin/cli/Init.d.ts.map +0 -1
- package/bin/cli/Init.js +0 -252
- package/bin/cli/Init.js.map +0 -1
- package/bin/cli/Model.d.ts.map +0 -1
- package/bin/cli/Model.js.map +0 -1
- package/bin/cli/ModelCommandShared.d.ts +0 -28
- package/bin/cli/ModelCommandShared.d.ts.map +0 -1
- package/bin/cli/ModelCommandShared.js +0 -109
- package/bin/cli/ModelCommandShared.js.map +0 -1
- package/bin/cli/ModelCreateCommand.d.ts.map +0 -1
- package/bin/cli/ModelCreateCommand.js +0 -367
- package/bin/cli/ModelCreateCommand.js.map +0 -1
- package/bin/cli/ModelManageCommand.d.ts.map +0 -1
- package/bin/cli/ModelManageCommand.js +0 -438
- package/bin/cli/ModelManageCommand.js.map +0 -1
- package/bin/cli/ModelManager.d.ts.map +0 -1
- package/bin/cli/ModelManager.js +0 -588
- package/bin/cli/ModelManager.js.map +0 -1
- package/bin/cli/ModelReadCommand.d.ts +0 -13
- package/bin/cli/ModelReadCommand.d.ts.map +0 -1
- package/bin/cli/ModelReadCommand.js +0 -198
- package/bin/cli/ModelReadCommand.js.map +0 -1
- package/bin/cli/ModelSupport.d.ts +0 -40
- package/bin/cli/ModelSupport.d.ts.map +0 -1
- package/bin/cli/ModelSupport.js +0 -201
- package/bin/cli/ModelSupport.js.map +0 -1
- package/bin/cli/Plugins.d.ts.map +0 -1
- package/bin/cli/Plugins.js +0 -474
- package/bin/cli/Plugins.js.map +0 -1
- package/bin/cli/PortHints.d.ts +0 -35
- package/bin/cli/PortHints.d.ts.map +0 -1
- package/bin/cli/PortHints.js +0 -58
- package/bin/cli/PortHints.js.map +0 -1
- package/bin/cli/PublicAccess.d.ts +0 -24
- package/bin/cli/PublicAccess.d.ts.map +0 -1
- package/bin/cli/PublicAccess.js +0 -100
- package/bin/cli/PublicAccess.js.map +0 -1
- package/bin/cli/PublicHostEnv.d.ts +0 -14
- package/bin/cli/PublicHostEnv.d.ts.map +0 -1
- package/bin/cli/PublicHostEnv.js +0 -104
- package/bin/cli/PublicHostEnv.js.map +0 -1
- package/bin/cli/Reset.d.ts.map +0 -1
- package/bin/cli/Reset.js.map +0 -1
- package/bin/cli/Restart.d.ts +0 -19
- package/bin/cli/Restart.d.ts.map +0 -1
- package/bin/cli/Restart.js +0 -60
- package/bin/cli/Restart.js.map +0 -1
- package/bin/cli/Run.d.ts +0 -24
- package/bin/cli/Run.d.ts.map +0 -1
- package/bin/cli/Run.js +0 -123
- package/bin/cli/Run.js.map +0 -1
- package/bin/cli/ServiceCommandRemote.d.ts +0 -30
- package/bin/cli/ServiceCommandRemote.d.ts.map +0 -1
- package/bin/cli/ServiceCommandRemote.js +0 -200
- package/bin/cli/ServiceCommandRemote.js.map +0 -1
- package/bin/cli/ServiceCommandSupport.d.ts +0 -82
- package/bin/cli/ServiceCommandSupport.d.ts.map +0 -1
- package/bin/cli/ServiceCommandSupport.js +0 -224
- package/bin/cli/ServiceCommandSupport.js.map +0 -1
- package/bin/cli/ServiceScheduleCommand.d.ts +0 -36
- package/bin/cli/ServiceScheduleCommand.d.ts.map +0 -1
- package/bin/cli/ServiceScheduleCommand.js +0 -271
- package/bin/cli/ServiceScheduleCommand.js.map +0 -1
- package/bin/cli/Services.d.ts.map +0 -1
- package/bin/cli/Services.js +0 -154
- package/bin/cli/Services.js.map +0 -1
- package/bin/cli/Start.d.ts +0 -23
- package/bin/cli/Start.d.ts.map +0 -1
- package/bin/cli/Start.js +0 -63
- package/bin/cli/Start.js.map +0 -1
- package/bin/cli/Status.d.ts.map +0 -1
- package/bin/cli/Status.js +0 -103
- package/bin/cli/Status.js.map +0 -1
- package/bin/cli/Stop.d.ts.map +0 -1
- package/bin/cli/Stop.js +0 -44
- package/bin/cli/Stop.js.map +0 -1
- package/bin/cli/Token.d.ts.map +0 -1
- package/bin/cli/Token.js +0 -638
- package/bin/cli/Token.js.map +0 -1
- package/bin/cli/Update.d.ts.map +0 -1
- package/bin/cli/Update.js +0 -150
- package/bin/cli/Update.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/AgentStatusApiRoutes.d.ts +0 -28
- package/bin/console/AgentStatusApiRoutes.d.ts.map +0 -1
- package/bin/console/AgentStatusApiRoutes.js +0 -165
- package/bin/console/AgentStatusApiRoutes.js.map +0 -1
- package/bin/console/ChannelAccountApiRoutes.d.ts +0 -15
- package/bin/console/ChannelAccountApiRoutes.d.ts.map +0 -1
- package/bin/console/ChannelAccountApiRoutes.js +0 -93
- package/bin/console/ChannelAccountApiRoutes.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/console/ConsoleClient.d.ts +0 -53
- package/bin/console/ConsoleClient.d.ts.map +0 -1
- package/bin/console/ConsoleClient.js +0 -258
- package/bin/console/ConsoleClient.js.map +0 -1
- package/bin/console/ConsoleGateway.d.ts +0 -102
- package/bin/console/ConsoleGateway.d.ts.map +0 -1
- package/bin/console/ConsoleGateway.js +0 -283
- package/bin/console/ConsoleGateway.js.map +0 -1
- package/bin/console/ConsoleGatewayRoutes.d.ts +0 -133
- package/bin/console/ConsoleGatewayRoutes.d.ts.map +0 -1
- package/bin/console/ConsoleGatewayRoutes.js +0 -292
- package/bin/console/ConsoleGatewayRoutes.js.map +0 -1
- package/bin/console/EnvApiRoutes.d.ts +0 -18
- package/bin/console/EnvApiRoutes.d.ts.map +0 -1
- package/bin/console/EnvApiRoutes.js +0 -228
- package/bin/console/EnvApiRoutes.js.map +0 -1
- package/bin/console/InlineInstantRoutes.d.ts +0 -19
- package/bin/console/InlineInstantRoutes.d.ts.map +0 -1
- package/bin/console/InlineInstantRoutes.js +0 -58
- package/bin/console/InlineInstantRoutes.js.map +0 -1
- package/bin/console/InlineInstantSessionService.d.ts +0 -36
- package/bin/console/InlineInstantSessionService.d.ts.map +0 -1
- package/bin/console/InlineInstantSessionService.js +0 -190
- package/bin/console/InlineInstantSessionService.js.map +0 -1
- package/bin/console/InlineInstantSystemComposer.d.ts +0 -34
- package/bin/console/InlineInstantSystemComposer.d.ts.map +0 -1
- package/bin/console/InlineInstantSystemComposer.js +0 -40
- package/bin/console/InlineInstantSystemComposer.js.map +0 -1
- package/bin/console/ModelApiRoutes.d.ts +0 -35
- package/bin/console/ModelApiRoutes.d.ts.map +0 -1
- package/bin/console/ModelApiRoutes.js +0 -237
- package/bin/console/ModelApiRoutes.js.map +0 -1
- package/bin/console/ModelPoolService.d.ts +0 -126
- package/bin/console/ModelPoolService.d.ts.map +0 -1
- package/bin/console/ModelPoolService.js +0 -327
- package/bin/console/ModelPoolService.js.map +0 -1
- package/bin/console/PluginApiRoutes.d.ts +0 -28
- package/bin/console/PluginApiRoutes.d.ts.map +0 -1
- package/bin/console/PluginApiRoutes.js +0 -299
- package/bin/console/PluginApiRoutes.js.map +0 -1
- package/bin/console/gateway/AgentActions.d.ts +0 -107
- package/bin/console/gateway/AgentActions.d.ts.map +0 -1
- package/bin/console/gateway/AgentActions.js +0 -315
- package/bin/console/gateway/AgentActions.js.map +0 -1
- package/bin/console/gateway/AgentCatalog.d.ts +0 -83
- package/bin/console/gateway/AgentCatalog.d.ts.map +0 -1
- package/bin/console/gateway/AgentCatalog.js +0 -484
- package/bin/console/gateway/AgentCatalog.js.map +0 -1
- package/bin/console/gateway/FrontendAssets.d.ts +0 -21
- package/bin/console/gateway/FrontendAssets.d.ts.map +0 -1
- package/bin/console/gateway/FrontendAssets.js +0 -77
- package/bin/console/gateway/FrontendAssets.js.map +0 -1
- package/bin/console/gateway/GatewaySupport.d.ts +0 -34
- package/bin/console/gateway/GatewaySupport.d.ts.map +0 -1
- package/bin/console/gateway/GatewaySupport.js +0 -32
- package/bin/console/gateway/GatewaySupport.js.map +0 -1
- package/bin/console/gateway/Proxy.d.ts +0 -16
- package/bin/console/gateway/Proxy.d.ts.map +0 -1
- package/bin/console/gateway/Proxy.js +0 -47
- package/bin/console/gateway/Proxy.js.map +0 -1
- package/bin/daemon/Api.d.ts +0 -60
- package/bin/daemon/Api.d.ts.map +0 -1
- package/bin/daemon/Api.js.map +0 -1
- package/bin/daemon/CliArgs.d.ts +0 -17
- package/bin/daemon/CliArgs.d.ts.map +0 -1
- package/bin/daemon/CliArgs.js +0 -30
- package/bin/daemon/CliArgs.js.map +0 -1
- package/bin/daemon/Client.d.ts.map +0 -1
- package/bin/daemon/Client.js +0 -158
- package/bin/daemon/Client.js.map +0 -1
- package/bin/daemon/Manager.d.ts +0 -92
- package/bin/daemon/Manager.d.ts.map +0 -1
- package/bin/daemon/Manager.js +0 -287
- package/bin/daemon/Manager.js.map +0 -1
- package/bin/daemon/PortAllocator.d.ts.map +0 -1
- package/bin/daemon/PortAllocator.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/AuthDashboardService.d.ts +0 -30
- package/bin/http/dashboard/AuthDashboardService.d.ts.map +0 -1
- package/bin/http/dashboard/AuthDashboardService.js +0 -120
- package/bin/http/dashboard/AuthDashboardService.js.map +0 -1
- package/bin/http/dashboard/CommonHelpers.d.ts +0 -24
- package/bin/http/dashboard/CommonHelpers.d.ts.map +0 -1
- package/bin/http/dashboard/CommonHelpers.js +0 -46
- package/bin/http/dashboard/CommonHelpers.js.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.d.ts +0 -13
- package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardApiRoutes.js +0 -26
- package/bin/http/dashboard/DashboardApiRoutes.js.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +0 -17
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js +0 -78
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.d.ts +0 -39
- package/bin/http/dashboard/ExecuteBySession.d.ts.map +0 -1
- package/bin/http/dashboard/ExecuteBySession.js +0 -129
- package/bin/http/dashboard/ExecuteBySession.js.map +0 -1
- package/bin/http/dashboard/ExecuteInput.d.ts +0 -18
- package/bin/http/dashboard/ExecuteInput.d.ts.map +0 -1
- package/bin/http/dashboard/ExecuteInput.js +0 -201
- package/bin/http/dashboard/ExecuteInput.js.map +0 -1
- package/bin/http/dashboard/Helpers.d.ts +0 -13
- package/bin/http/dashboard/Helpers.d.ts.map +0 -1
- package/bin/http/dashboard/Helpers.js +0 -13
- package/bin/http/dashboard/Helpers.js.map +0 -1
- package/bin/http/dashboard/MessageTimeline.d.ts +0 -22
- package/bin/http/dashboard/MessageTimeline.d.ts.map +0 -1
- package/bin/http/dashboard/MessageTimeline.js +0 -226
- package/bin/http/dashboard/MessageTimeline.js.map +0 -1
- package/bin/http/dashboard/ModelRoutes.d.ts +0 -13
- package/bin/http/dashboard/ModelRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/ModelRoutes.js +0 -87
- package/bin/http/dashboard/ModelRoutes.js.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.d.ts +0 -13
- package/bin/http/dashboard/OverviewRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/OverviewRoutes.js +0 -88
- package/bin/http/dashboard/OverviewRoutes.js.map +0 -1
- package/bin/http/dashboard/Router.d.ts +0 -14
- package/bin/http/dashboard/Router.d.ts.map +0 -1
- package/bin/http/dashboard/Router.js +0 -21
- package/bin/http/dashboard/Router.js.map +0 -1
- package/bin/http/dashboard/SessionRoutes.d.ts +0 -13
- package/bin/http/dashboard/SessionRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/SessionRoutes.js +0 -323
- package/bin/http/dashboard/SessionRoutes.js.map +0 -1
- package/bin/http/dashboard/SessionSummaryStore.d.ts +0 -19
- package/bin/http/dashboard/SessionSummaryStore.d.ts.map +0 -1
- package/bin/http/dashboard/SessionSummaryStore.js +0 -62
- package/bin/http/dashboard/SessionSummaryStore.js.map +0 -1
- package/bin/http/dashboard/TaskRoutes.d.ts +0 -13
- package/bin/http/dashboard/TaskRoutes.d.ts.map +0 -1
- package/bin/http/dashboard/TaskRoutes.js +0 -318
- package/bin/http/dashboard/TaskRoutes.js.map +0 -1
- package/bin/http/dashboard/TaskStore.d.ts +0 -33
- package/bin/http/dashboard/TaskStore.d.ts.map +0 -1
- package/bin/http/dashboard/TaskStore.js +0 -157
- package/bin/http/dashboard/TaskStore.js.map +0 -1
- package/bin/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/model/ModelCommand.d.ts +0 -60
- package/bin/model/ModelCommand.d.ts.map +0 -1
- package/bin/model/ModelCommand.js +0 -46
- package/bin/model/ModelCommand.js.map +0 -1
- package/bin/model/ModelManager.d.ts +0 -71
- package/bin/model/ModelManager.d.ts.map +0 -1
- package/bin/model/ModelManager.js +0 -187
- package/bin/model/ModelManager.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/registry/AgentHostRuntime.d.ts +0 -10
- package/bin/registry/AgentHostRuntime.d.ts.map +0 -1
- package/bin/registry/AgentHostRuntime.js +0 -47
- package/bin/registry/AgentHostRuntime.js.map +0 -1
- package/bin/registry/CityPaths.d.ts +0 -61
- package/bin/registry/CityPaths.d.ts.map +0 -1
- package/bin/registry/CityPaths.js +0 -90
- package/bin/registry/CityPaths.js.map +0 -1
- package/bin/registry/CityRegistry.d.ts +0 -51
- package/bin/registry/CityRegistry.d.ts.map +0 -1
- package/bin/registry/CityRegistry.js +0 -217
- package/bin/registry/CityRegistry.js.map +0 -1
- package/bin/registry/CityRuntime.d.ts +0 -21
- package/bin/registry/CityRuntime.d.ts.map +0 -1
- package/bin/registry/CityRuntime.js +0 -45
- package/bin/registry/CityRuntime.js.map +0 -1
- package/bin/registry/PluginRuntime.d.ts +0 -24
- package/bin/registry/PluginRuntime.d.ts.map +0 -1
- package/bin/registry/PluginRuntime.js.map +0 -1
- package/bin/registry/ProcessSweep.d.ts +0 -76
- package/bin/registry/ProcessSweep.d.ts.map +0 -1
- package/bin/registry/ProcessSweep.js +0 -202
- package/bin/registry/ProcessSweep.js.map +0 -1
- package/bin/rpc/Client.d.ts +0 -13
- package/bin/rpc/Client.d.ts.map +0 -1
- package/bin/rpc/Client.js.map +0 -1
- package/bin/rpc/Paths.d.ts.map +0 -1
- package/bin/rpc/Paths.js +0 -36
- package/bin/rpc/Paths.js.map +0 -1
- package/bin/rpc/Server.d.ts +0 -18
- package/bin/rpc/Server.d.ts.map +0 -1
- package/bin/rpc/Server.js +0 -307
- package/bin/rpc/Server.js.map +0 -1
- package/bin/rpc/Transport.d.ts +0 -21
- package/bin/rpc/Transport.d.ts.map +0 -1
- package/bin/rpc/Transport.js +0 -30
- package/bin/rpc/Transport.js.map +0 -1
- package/bin/runtime/AgentHostRuntime.d.ts +0 -10
- package/bin/runtime/AgentHostRuntime.d.ts.map +0 -1
- package/bin/runtime/AgentHostRuntime.js +0 -47
- package/bin/runtime/AgentHostRuntime.js.map +0 -1
- package/bin/runtime/CityPaths.d.ts +0 -61
- package/bin/runtime/CityPaths.d.ts.map +0 -1
- package/bin/runtime/CityPaths.js +0 -90
- package/bin/runtime/CityPaths.js.map +0 -1
- package/bin/runtime/CityRegistry.d.ts +0 -51
- package/bin/runtime/CityRegistry.d.ts.map +0 -1
- package/bin/runtime/CityRegistry.js +0 -217
- package/bin/runtime/CityRegistry.js.map +0 -1
- package/bin/runtime/CityRuntime.d.ts +0 -21
- package/bin/runtime/CityRuntime.d.ts.map +0 -1
- package/bin/runtime/CityRuntime.js +0 -45
- package/bin/runtime/CityRuntime.js.map +0 -1
- package/bin/runtime/PluginRuntime.d.ts +0 -24
- package/bin/runtime/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/PluginRuntime.js +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/sandbox/MacOsSeatbeltSandbox.d.ts +0 -16
- package/bin/sandbox/MacOsSeatbeltSandbox.d.ts.map +0 -1
- package/bin/sandbox/MacOsSeatbeltSandbox.js +0 -152
- package/bin/sandbox/MacOsSeatbeltSandbox.js.map +0 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts +0 -31
- package/bin/sandbox/SandboxConfigResolver.d.ts.map +0 -1
- package/bin/sandbox/SandboxConfigResolver.js +0 -113
- package/bin/sandbox/SandboxConfigResolver.js.map +0 -1
- package/bin/sandbox/SandboxRunner.d.ts +0 -46
- package/bin/sandbox/SandboxRunner.d.ts.map +0 -1
- package/bin/sandbox/SandboxRunner.js +0 -70
- package/bin/sandbox/SandboxRunner.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 +0 -13
- package/bin/service/ServiceCommand.d.ts.map +0 -1
- package/bin/service/ServiceCommand.js +0 -344
- 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 +0 -367
- 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 +0 -51
- package/bin/shared/utils/cli/CliOutput.d.ts.map +0 -1
- package/bin/shared/utils/cli/CliOutput.js +0 -117
- 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 +0 -5
- package/bin/shared/utils/storage/index.d.ts.map +0 -1
- package/bin/shared/utils/storage/index.js +0 -23
- package/bin/shared/utils/storage/index.js.map +0 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts +0 -34
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.js +0 -198
- 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 +0 -98
- package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreEnvRepository.js +0 -334
- package/bin/shared/utils/store/StoreEnvRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.d.ts +0 -61
- package/bin/shared/utils/store/StoreModelRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.js +0 -278
- package/bin/shared/utils/store/StoreModelRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreSchema.d.ts +0 -13
- package/bin/shared/utils/store/StoreSchema.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSchema.js +0 -514
- package/bin/shared/utils/store/StoreSchema.js.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.d.ts +0 -33
- package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.js +0 -91
- package/bin/shared/utils/store/StoreSecureSettings.js.map +0 -1
- package/bin/shared/utils/store/StoreShared.d.ts +0 -44
- package/bin/shared/utils/store/StoreShared.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreShared.js +0 -40
- package/bin/shared/utils/store/StoreShared.js.map +0 -1
- package/bin/shared/utils/store/crypto.d.ts +0 -24
- package/bin/shared/utils/store/crypto.d.ts.map +0 -1
- package/bin/shared/utils/store/crypto.js +0 -101
- package/bin/shared/utils/store/crypto.js.map +0 -1
- package/bin/shared/utils/store/index.d.ts +0 -246
- package/bin/shared/utils/store/index.d.ts.map +0 -1
- package/bin/shared/utils/store/index.js +0 -383
- package/bin/shared/utils/store/index.js.map +0 -1
- package/bin/shared/utils/store/schema.d.ts +0 -690
- package/bin/shared/utils/store/schema.d.ts.map +0 -1
- package/bin/shared/utils/store/schema.js +0 -81
- 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/chat/ChatSession.d.ts +0 -30
- package/bin/types/chat/ChatSession.d.ts.map +0 -1
- package/bin/types/chat/ChatSession.js +0 -9
- package/bin/types/chat/ChatSession.js.map +0 -1
- package/bin/types/city/PublicHostEnv.d.ts +0 -72
- package/bin/types/city/PublicHostEnv.d.ts.map +0 -1
- package/bin/types/city/PublicHostEnv.js +0 -9
- package/bin/types/city/PublicHostEnv.js.map +0 -1
- package/bin/types/cli/AgentChat.d.ts +0 -147
- package/bin/types/cli/AgentChat.d.ts.map +0 -1
- package/bin/types/cli/AgentChat.js +0 -12
- package/bin/types/cli/AgentChat.js.map +0 -1
- package/bin/types/cli/AgentHistory.d.ts +0 -127
- package/bin/types/cli/AgentHistory.d.ts.map +0 -1
- package/bin/types/cli/AgentHistory.js +0 -9
- package/bin/types/cli/AgentHistory.js.map +0 -1
- package/bin/types/cli/AgentManager.d.ts +0 -113
- package/bin/types/cli/AgentManager.d.ts.map +0 -1
- package/bin/types/cli/AgentManager.js +0 -9
- package/bin/types/cli/AgentManager.js.map +0 -1
- package/bin/types/cli/AgentSelection.d.ts +0 -146
- package/bin/types/cli/AgentSelection.d.ts.map +0 -1
- package/bin/types/cli/AgentSelection.js +0 -9
- package/bin/types/cli/AgentSelection.js.map +0 -1
- package/bin/types/cli/ChatManager.d.ts +0 -64
- package/bin/types/cli/ChatManager.d.ts.map +0 -1
- package/bin/types/cli/ChatManager.js +0 -9
- package/bin/types/cli/ChatManager.js.map +0 -1
- package/bin/types/cli/CliError.d.ts.map +0 -1
- package/bin/types/cli/CliError.js.map +0 -1
- package/bin/types/cli/CliReporter.d.ts +0 -157
- package/bin/types/cli/CliReporter.d.ts.map +0 -1
- package/bin/types/cli/CliReporter.js +0 -10
- package/bin/types/cli/CliReporter.js.map +0 -1
- package/bin/types/cli/ModelManager.d.ts +0 -127
- package/bin/types/cli/ModelManager.d.ts.map +0 -1
- package/bin/types/cli/ModelManager.js +0 -9
- package/bin/types/cli/ModelManager.js.map +0 -1
- package/bin/types/contact/Contact.d.ts +0 -78
- package/bin/types/contact/Contact.d.ts.map +0 -1
- package/bin/types/contact/Contact.js +0 -9
- package/bin/types/contact/Contact.js.map +0 -1
- package/bin/types/contact/ContactApproval.d.ts +0 -145
- package/bin/types/contact/ContactApproval.d.ts.map +0 -1
- package/bin/types/contact/ContactApproval.js +0 -9
- package/bin/types/contact/ContactApproval.js.map +0 -1
- package/bin/types/contact/ContactChat.d.ts +0 -46
- package/bin/types/contact/ContactChat.d.ts.map +0 -1
- package/bin/types/contact/ContactChat.js +0 -9
- package/bin/types/contact/ContactChat.js.map +0 -1
- package/bin/types/contact/ContactCheck.d.ts +0 -66
- package/bin/types/contact/ContactCheck.d.ts.map +0 -1
- package/bin/types/contact/ContactCheck.js +0 -9
- package/bin/types/contact/ContactCheck.js.map +0 -1
- package/bin/types/contact/ContactCommand.d.ts +0 -93
- package/bin/types/contact/ContactCommand.d.ts.map +0 -1
- package/bin/types/contact/ContactCommand.js +0 -8
- package/bin/types/contact/ContactCommand.js.map +0 -1
- package/bin/types/contact/ContactEndpoint.d.ts +0 -12
- package/bin/types/contact/ContactEndpoint.d.ts.map +0 -1
- package/bin/types/contact/ContactEndpoint.js +0 -9
- package/bin/types/contact/ContactEndpoint.js.map +0 -1
- package/bin/types/contact/ContactLink.d.ts +0 -160
- package/bin/types/contact/ContactLink.d.ts.map +0 -1
- package/bin/types/contact/ContactLink.js +0 -9
- package/bin/types/contact/ContactLink.js.map +0 -1
- package/bin/types/contact/ContactShare.d.ts +0 -163
- package/bin/types/contact/ContactShare.d.ts.map +0 -1
- package/bin/types/contact/ContactShare.js +0 -9
- package/bin/types/contact/ContactShare.js.map +0 -1
- package/bin/types/sandbox/SandboxRuntime.d.ts +0 -318
- package/bin/types/sandbox/SandboxRuntime.d.ts.map +0 -1
- package/bin/types/sandbox/SandboxRuntime.js +0 -10
- package/bin/types/sandbox/SandboxRuntime.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/bin/types/task/TaskRunner.d.ts +0 -186
- package/bin/types/task/TaskRunner.d.ts.map +0 -1
- package/bin/types/task/TaskRunner.js +0 -9
- package/bin/types/task/TaskRunner.js.map +0 -1
- package/src/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/cli/AgentChat.ts +0 -415
- package/src/cli/AgentHistory.ts +0 -187
- package/src/cli/AgentManager.ts +0 -667
- package/src/cli/AgentReset.ts +0 -181
- package/src/cli/AgentSelection.ts +0 -297
- package/src/cli/ChatAuth.ts +0 -186
- package/src/cli/ChatManager.ts +0 -439
- package/src/cli/CliReporter.ts +0 -362
- package/src/cli/Config.ts +0 -301
- package/src/cli/Console.ts +0 -610
- package/src/cli/ConsoleAuthBootstrap.ts +0 -72
- package/src/cli/ConsoleInit.ts +0 -83
- package/src/cli/Env.ts +0 -556
- package/src/cli/IndexAgentCommand.ts +0 -303
- package/src/cli/IndexConsoleCommand.ts +0 -211
- package/src/cli/IndexConsoleProcess.ts +0 -497
- package/src/cli/IndexConsoleStatus.ts +0 -152
- package/src/cli/IndexSupport.ts +0 -138
- package/src/cli/Init.ts +0 -291
- package/src/cli/ModelCommandShared.ts +0 -126
- package/src/cli/ModelCreateCommand.ts +0 -424
- package/src/cli/ModelManageCommand.ts +0 -516
- package/src/cli/ModelManager.ts +0 -631
- package/src/cli/ModelReadCommand.ts +0 -207
- package/src/cli/ModelSupport.ts +0 -223
- package/src/cli/Plugins.ts +0 -568
- package/src/cli/PortHints.ts +0 -80
- package/src/cli/PublicAccess.ts +0 -106
- package/src/cli/PublicHostEnv.ts +0 -116
- package/src/cli/Restart.ts +0 -68
- package/src/cli/Run.ts +0 -153
- package/src/cli/ServiceCommandRemote.ts +0 -230
- package/src/cli/ServiceCommandSupport.ts +0 -275
- package/src/cli/ServiceScheduleCommand.ts +0 -305
- package/src/cli/Services.ts +0 -189
- package/src/cli/Start.ts +0 -72
- package/src/cli/Status.ts +0 -116
- package/src/cli/Stop.ts +0 -45
- package/src/cli/Token.ts +0 -702
- package/src/cli/Update.ts +0 -183
- package/src/config/Config.ts +0 -251
- package/src/console/AgentStatusApiRoutes.ts +0 -225
- package/src/console/ChannelAccountApiRoutes.ts +0 -119
- package/src/console/ChannelAccountService.ts +0 -9
- package/src/console/ConsoleClient.ts +0 -293
- package/src/console/ConsoleGateway.ts +0 -463
- package/src/console/ConsoleGatewayRoutes.ts +0 -495
- package/src/console/EnvApiRoutes.ts +0 -257
- package/src/console/InlineInstantRoutes.ts +0 -74
- package/src/console/InlineInstantSessionService.ts +0 -276
- package/src/console/InlineInstantSystemComposer.ts +0 -58
- package/src/console/ModelApiRoutes.ts +0 -336
- package/src/console/ModelPoolService.ts +0 -395
- package/src/console/PluginApiRoutes.ts +0 -453
- package/src/console/gateway/AgentActions.ts +0 -413
- package/src/console/gateway/AgentCatalog.ts +0 -606
- package/src/console/gateway/FrontendAssets.ts +0 -79
- package/src/console/gateway/GatewaySupport.ts +0 -59
- package/src/console/gateway/Proxy.ts +0 -62
- package/src/daemon/Api.ts +0 -64
- package/src/daemon/CliArgs.ts +0 -39
- package/src/daemon/Client.ts +0 -182
- package/src/daemon/Manager.ts +0 -344
- package/src/daemon/ProjectSetup.ts +0 -126
- package/src/http/Server.ts +0 -170
- package/src/http/dashboard/AuthDashboardService.ts +0 -161
- package/src/http/dashboard/CommonHelpers.ts +0 -50
- package/src/http/dashboard/DashboardApiRoutes.ts +0 -30
- package/src/http/dashboard/DashboardAuthorizationRoutes.ts +0 -101
- package/src/http/dashboard/ExecuteBySession.ts +0 -152
- package/src/http/dashboard/ExecuteInput.ts +0 -236
- package/src/http/dashboard/Helpers.ts +0 -22
- package/src/http/dashboard/MessageTimeline.ts +0 -269
- package/src/http/dashboard/ModelRoutes.ts +0 -102
- package/src/http/dashboard/OverviewRoutes.ts +0 -101
- package/src/http/dashboard/Router.ts +0 -26
- package/src/http/dashboard/SessionRoutes.ts +0 -402
- package/src/http/dashboard/SessionSummaryStore.ts +0 -76
- package/src/http/dashboard/TaskRoutes.ts +0 -372
- package/src/http/dashboard/TaskStore.ts +0 -222
- package/src/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/model/ModelCommand.ts +0 -95
- package/src/model/ModelManager.ts +0 -242
- 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/registry/AgentHostRuntime.ts +0 -65
- package/src/registry/CityPaths.ts +0 -101
- package/src/registry/CityRegistry.ts +0 -256
- package/src/registry/CityRuntime.ts +0 -45
- package/src/registry/PluginRuntime.ts +0 -42
- package/src/registry/ProcessSweep.ts +0 -256
- package/src/rpc/Client.ts +0 -110
- package/src/rpc/Paths.ts +0 -43
- package/src/rpc/Server.ts +0 -395
- package/src/rpc/Transport.ts +0 -40
- package/src/runtime/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/sandbox/MacOsSeatbeltSandbox.ts +0 -196
- package/src/sandbox/SandboxConfigResolver.ts +0 -134
- package/src/sandbox/SandboxRunner.ts +0 -101
- 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/ServiceCommand.ts +0 -413
- 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/constants/DowncitySchema.ts +0 -377
- 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/cli/CliOutput.ts +0 -170
- 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/storage/index.ts +0 -26
- package/src/shared/utils/store/StoreChannelAccountRepository.ts +0 -269
- package/src/shared/utils/store/StoreChatAuthRepository.ts +0 -215
- package/src/shared/utils/store/StoreEnvRepository.ts +0 -452
- package/src/shared/utils/store/StoreModelRepository.ts +0 -324
- package/src/shared/utils/store/StoreSchema.ts +0 -567
- package/src/shared/utils/store/StoreSecureSettings.ts +0 -126
- package/src/shared/utils/store/StoreShared.ts +0 -67
- package/src/shared/utils/store/crypto.ts +0 -112
- package/src/shared/utils/store/index.ts +0 -532
- package/src/shared/utils/store/schema.ts +0 -103
- package/src/types/agent/AgentContext.ts +0 -380
- package/src/types/agent/AgentRuntime.ts +0 -86
- package/src/types/chat/ChatSession.ts +0 -32
- package/src/types/city/PublicHostEnv.ts +0 -76
- package/src/types/cli/AgentChat.ts +0 -172
- package/src/types/cli/AgentHistory.ts +0 -146
- package/src/types/cli/AgentManager.ts +0 -119
- package/src/types/cli/AgentSelection.ts +0 -162
- package/src/types/cli/ChatManager.ts +0 -65
- package/src/types/cli/CliReporter.ts +0 -167
- package/src/types/cli/ModelManager.ts +0 -139
- package/src/types/contact/Contact.ts +0 -82
- package/src/types/contact/ContactApproval.ts +0 -150
- package/src/types/contact/ContactChat.ts +0 -47
- package/src/types/contact/ContactCheck.ts +0 -67
- package/src/types/contact/ContactCommand.ts +0 -98
- package/src/types/contact/ContactEndpoint.ts +0 -16
- package/src/types/contact/ContactLink.ts +0 -169
- package/src/types/contact/ContactShare.ts +0 -172
- package/src/types/sandbox/SandboxRuntime.ts +0 -377
- 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/src/types/task/TaskRunner.ts +0 -199
- /package/bin/cli/{AgentManager.d.ts → agent/AgentManager.d.ts} +0 -0
- /package/bin/cli/{Init.d.ts → agent/Init.d.ts} +0 -0
- /package/bin/cli/{Status.d.ts → agent/Status.d.ts} +0 -0
- /package/bin/cli/{Stop.d.ts → agent/Stop.d.ts} +0 -0
- /package/bin/cli/{Model.d.ts → model/Model.d.ts} +0 -0
- /package/bin/cli/{Model.js → model/Model.js} +0 -0
- /package/bin/cli/{ModelCreateCommand.d.ts → model/ModelCreateCommand.d.ts} +0 -0
- /package/bin/cli/{ModelManageCommand.d.ts → model/ModelManageCommand.d.ts} +0 -0
- /package/bin/cli/{ModelManager.d.ts → model/ModelManager.d.ts} +0 -0
- /package/bin/cli/{Services.d.ts → service/Services.d.ts} +0 -0
- /package/bin/cli/{Alias.d.ts → shared/Alias.d.ts} +0 -0
- /package/bin/cli/{Alias.js → shared/Alias.js} +0 -0
- /package/bin/cli/{Chat.d.ts → shared/Chat.d.ts} +0 -0
- /package/bin/cli/{Chat.js → shared/Chat.js} +0 -0
- /package/bin/cli/{ChatManager.d.ts → shared/ChatManager.d.ts} +0 -0
- /package/bin/{types/cli → cli/shared}/CliError.d.ts +0 -0
- /package/bin/{types/cli → cli/shared}/CliError.js +0 -0
- /package/bin/cli/{CliReporter.js → shared/CliReporter.js} +0 -0
- /package/bin/cli/{Config.d.ts → shared/Config.d.ts} +0 -0
- /package/bin/cli/{IndexAgentCommand.d.ts → shared/IndexAgentCommand.d.ts} +0 -0
- /package/bin/cli/{IndexSupport.d.ts → shared/IndexSupport.d.ts} +0 -0
- /package/bin/cli/{Plugins.d.ts → shared/Plugins.d.ts} +0 -0
- /package/bin/cli/{Reset.d.ts → shared/Reset.d.ts} +0 -0
- /package/bin/cli/{Reset.js → shared/Reset.js} +0 -0
- /package/bin/cli/{Token.d.ts → shared/Token.d.ts} +0 -0
- /package/bin/cli/{Update.d.ts → shared/Update.d.ts} +0 -0
- /package/bin/{daemon → process/daemon}/Api.js +0 -0
- /package/bin/{daemon → process/daemon}/Client.d.ts +0 -0
- /package/bin/{daemon → process/daemon}/PortAllocator.d.ts +0 -0
- /package/bin/{daemon → process/daemon}/PortAllocator.js +0 -0
- /package/bin/{registry → process/registry}/PluginRuntime.js +0 -0
- /package/bin/{rpc → process/rpc}/Client.js +0 -0
- /package/bin/{rpc → process/rpc}/Paths.d.ts +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/cli/{Model.ts → model/Model.ts} +0 -0
- /package/src/cli/{Alias.ts → shared/Alias.ts} +0 -0
- /package/src/cli/{Chat.ts → shared/Chat.ts} +0 -0
- /package/src/{types/cli → cli/shared}/CliError.ts +0 -0
- /package/src/cli/{Reset.ts → shared/Reset.ts} +0 -0
- /package/src/{daemon → process/daemon}/PortAllocator.ts +0 -0
- /package/src/{shared/utils → utils}/Id.ts +0 -0
- /package/src/{shared/utils → utils}/cli/Spinner.ts +0 -0
package/src/cli/Update.ts
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `city update`:更新全局 downcity CLI。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 优先根据当前 CLI 所在的全局模块目录,自动判断是 npm 还是 pnpm 安装。
|
|
6
|
-
* - 允许用户通过 `--manager` 显式覆盖包管理器选择。
|
|
7
|
-
* - 实际更新只负责全局包升级,不自动重启已有 runtime/Console 进程。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import fs from "fs";
|
|
11
|
-
import path from "path";
|
|
12
|
-
import { execFileSync, spawn } from "node:child_process";
|
|
13
|
-
import { fileURLToPath } from "url";
|
|
14
|
-
import { emitCliBlock } from "./CliReporter.js";
|
|
15
|
-
import { CliError } from "@/types/cli/CliError.js";
|
|
16
|
-
import { runWithSpinner } from "@shared/utils/cli/Spinner.js";
|
|
17
|
-
|
|
18
|
-
export type UpdateManager = "npm" | "pnpm";
|
|
19
|
-
|
|
20
|
-
export interface UpdateCommandOptions {
|
|
21
|
-
/**
|
|
22
|
-
* 包管理器选择。
|
|
23
|
-
*
|
|
24
|
-
* - `auto`:按当前 CLI 所在的全局目录自动判断。
|
|
25
|
-
* - `npm` / `pnpm`:强制使用指定包管理器。
|
|
26
|
-
*/
|
|
27
|
-
manager?: UpdateManager | "auto";
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const GLOBAL_PACKAGE_NAME = "downcity";
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* 构造全局更新命令。
|
|
34
|
-
*/
|
|
35
|
-
export function buildGlobalUpdateInvocation(manager: UpdateManager): {
|
|
36
|
-
command: string;
|
|
37
|
-
args: string[];
|
|
38
|
-
} {
|
|
39
|
-
if (manager === "pnpm") {
|
|
40
|
-
return {
|
|
41
|
-
command: "pnpm",
|
|
42
|
-
args: ["add", "-g", `${GLOBAL_PACKAGE_NAME}@latest`],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return {
|
|
47
|
-
command: "npm",
|
|
48
|
-
args: ["install", "-g", `${GLOBAL_PACKAGE_NAME}@latest`],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* 根据全局模块根目录判断当前 CLI 来源。
|
|
54
|
-
*/
|
|
55
|
-
export function resolveUpdateManagerFromGlobalRoots(params: {
|
|
56
|
-
packageRoot: string;
|
|
57
|
-
npmRoot?: string;
|
|
58
|
-
pnpmRoot?: string;
|
|
59
|
-
}): UpdateManager | null {
|
|
60
|
-
const packageRoot = normalizeRealPath(params.packageRoot) || path.resolve(params.packageRoot);
|
|
61
|
-
const pnpmRoot = normalizeRealPath(params.pnpmRoot);
|
|
62
|
-
const npmRoot = normalizeRealPath(params.npmRoot);
|
|
63
|
-
|
|
64
|
-
if (pnpmRoot && isSubPath(packageRoot, pnpmRoot)) return "pnpm";
|
|
65
|
-
if (npmRoot && isSubPath(packageRoot, npmRoot)) return "npm";
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function normalizeRealPath(target?: string): string | null {
|
|
70
|
-
const raw = String(target || "").trim();
|
|
71
|
-
if (!raw) return null;
|
|
72
|
-
try {
|
|
73
|
-
return fs.realpathSync(raw);
|
|
74
|
-
} catch {
|
|
75
|
-
return path.resolve(raw);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
function isSubPath(targetPath: string, rootPath: string): boolean {
|
|
80
|
-
const relative = path.relative(rootPath, targetPath);
|
|
81
|
-
return relative === "" || (!relative.startsWith("..") && !path.isAbsolute(relative));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function readGlobalRoot(manager: UpdateManager): string | null {
|
|
85
|
-
try {
|
|
86
|
-
const output = execFileSync(manager, ["root", "-g"], {
|
|
87
|
-
encoding: "utf8",
|
|
88
|
-
stdio: ["ignore", "pipe", "ignore"],
|
|
89
|
-
});
|
|
90
|
-
const trimmed = String(output || "").trim();
|
|
91
|
-
return trimmed || null;
|
|
92
|
-
} catch {
|
|
93
|
-
return null;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* 自动判断当前全局安装使用的包管理器。
|
|
99
|
-
*/
|
|
100
|
-
export function detectInstalledUpdateManager(): UpdateManager {
|
|
101
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
102
|
-
const __dirname = path.dirname(__filename);
|
|
103
|
-
const packageRoot = path.resolve(__dirname, "../..");
|
|
104
|
-
const detected = resolveUpdateManagerFromGlobalRoots({
|
|
105
|
-
packageRoot,
|
|
106
|
-
npmRoot: readGlobalRoot("npm") || undefined,
|
|
107
|
-
pnpmRoot: readGlobalRoot("pnpm") || undefined,
|
|
108
|
-
});
|
|
109
|
-
return detected || "npm";
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
async function runCommand(command: string, args: string[]): Promise<void> {
|
|
113
|
-
await new Promise<void>((resolve, reject) => {
|
|
114
|
-
const child = spawn(command, args, {
|
|
115
|
-
stdio: "inherit",
|
|
116
|
-
env: process.env,
|
|
117
|
-
});
|
|
118
|
-
child.on("error", reject);
|
|
119
|
-
child.on("exit", (code) => {
|
|
120
|
-
if (code === 0) {
|
|
121
|
-
resolve();
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
reject(new Error(`${command} exited with code ${String(code)}`));
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* update 命令入口。
|
|
131
|
-
*/
|
|
132
|
-
export async function updateCommand(
|
|
133
|
-
options: UpdateCommandOptions = {},
|
|
134
|
-
): Promise<void> {
|
|
135
|
-
const manager =
|
|
136
|
-
options.manager && options.manager !== "auto"
|
|
137
|
-
? options.manager
|
|
138
|
-
: detectInstalledUpdateManager();
|
|
139
|
-
const invocation = buildGlobalUpdateInvocation(manager);
|
|
140
|
-
|
|
141
|
-
emitCliBlock({
|
|
142
|
-
tone: "accent",
|
|
143
|
-
title: "Updating downcity",
|
|
144
|
-
facts: [
|
|
145
|
-
{
|
|
146
|
-
label: "Manager",
|
|
147
|
-
value: manager,
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
label: "Command",
|
|
151
|
-
value: `${invocation.command} ${invocation.args.join(" ")}`,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
try {
|
|
157
|
-
await runWithSpinner(
|
|
158
|
-
() => runCommand(invocation.command, invocation.args),
|
|
159
|
-
{ text: `Installing ${GLOBAL_PACKAGE_NAME}@latest via ${manager}...` },
|
|
160
|
-
);
|
|
161
|
-
} catch (error) {
|
|
162
|
-
throw new CliError({
|
|
163
|
-
title: "Failed to update downcity",
|
|
164
|
-
note: error instanceof Error ? error.message : String(error),
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
emitCliBlock({
|
|
169
|
-
tone: "success",
|
|
170
|
-
title: "Downcity updated",
|
|
171
|
-
facts: [
|
|
172
|
-
{
|
|
173
|
-
label: "Package",
|
|
174
|
-
value: `${GLOBAL_PACKAGE_NAME}@latest`,
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
label: "Manager",
|
|
178
|
-
value: manager,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
note: "如果当前已有 city runtime / Console 在运行,建议执行 `city restart` 载入最新版本。",
|
|
182
|
-
});
|
|
183
|
-
}
|
package/src/config/Config.ts
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* City Env Config:city 级环境与配置读取模块。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - `main/city/env/*` 放的是 city 全局运行态依赖的配置基础设施,不是通用小工具目录。
|
|
6
|
-
* - 这里统一处理 `downcity.json`、项目 `.env`、全局 env store 三类配置来源。
|
|
7
|
-
* - agent 运行时和 Console 模块都通过这里读取配置,避免各处重复拼装规则。
|
|
8
|
-
*/
|
|
9
|
-
import dotenv from "dotenv";
|
|
10
|
-
import fs from "fs-extra";
|
|
11
|
-
import path from "path";
|
|
12
|
-
import type { DowncityConfig } from "@/shared/types/DowncityConfig.js";
|
|
13
|
-
import type { JsonObject, JsonValue } from "@/shared/types/Json.js";
|
|
14
|
-
import { ConsoleStore } from "@/shared/utils/store/index.js";
|
|
15
|
-
import { assertProjectExecutionTarget } from "@/agent/project/ProjectExecutionBinding.js";
|
|
16
|
-
|
|
17
|
-
export type { DowncityConfig };
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 读取 console 共享环境变量(`env_entries.scope=global`)。
|
|
21
|
-
*/
|
|
22
|
-
export function loadGlobalEnvFromStore(): Record<string, string> {
|
|
23
|
-
const store = new ConsoleStore();
|
|
24
|
-
try {
|
|
25
|
-
return store.getGlobalEnvMapSync();
|
|
26
|
-
} catch {
|
|
27
|
-
return {};
|
|
28
|
-
} finally {
|
|
29
|
-
store.close();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* 读取 agent 私有环境变量(`env_entries.scope=agent`)。
|
|
35
|
-
*/
|
|
36
|
-
export function loadAgentEnvFromStore(agentId: string): Record<string, string> {
|
|
37
|
-
const normalizedAgentId = String(agentId || "").trim();
|
|
38
|
-
if (!normalizedAgentId) return {};
|
|
39
|
-
const store = new ConsoleStore();
|
|
40
|
-
try {
|
|
41
|
-
return store.getAgentEnvMapSync(normalizedAgentId);
|
|
42
|
-
} catch {
|
|
43
|
-
return {};
|
|
44
|
-
} finally {
|
|
45
|
-
store.close();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 读取 agent 最终环境变量快照。
|
|
51
|
-
*
|
|
52
|
-
* 关键点(中文)
|
|
53
|
-
* - 来源:agent scope env(DB) + `<agent>/.env`(用户文件)。
|
|
54
|
-
* - 冲突时 `.env` 优先,满足用户可在本地即时覆盖。
|
|
55
|
-
*/
|
|
56
|
-
export function loadAgentEnvSnapshot(projectRoot: string): Record<string, string> {
|
|
57
|
-
const agentFromDb = loadAgentEnvFromStore(projectRoot);
|
|
58
|
-
const projectDotenv = loadProjectDotenv(projectRoot);
|
|
59
|
-
return {
|
|
60
|
-
...agentFromDb,
|
|
61
|
-
...projectDotenv,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* 读取项目 `.env` 快照(不污染全局 process.env)。
|
|
67
|
-
*
|
|
68
|
-
* 关键点(中文)
|
|
69
|
-
* - 只返回当前 agent 项目自己的 env 映射,供 runtime 局部使用。
|
|
70
|
-
* - 不再把 agent env 注入全局,避免多个 agent 在同一 console 进程里互相污染。
|
|
71
|
-
*/
|
|
72
|
-
export function loadProjectDotenv(projectRoot: string): Record<string, string> {
|
|
73
|
-
// 关键点(中文)
|
|
74
|
-
// - console 级配置不再走 `~/.downcity/.env`(统一迁移到 downcity.db)
|
|
75
|
-
// - 仅解析项目 `.env`(agent 级)
|
|
76
|
-
const projectEnvPath = path.join(projectRoot, ".env");
|
|
77
|
-
if (!fs.existsSync(projectEnvPath)) {
|
|
78
|
-
return {};
|
|
79
|
-
}
|
|
80
|
-
try {
|
|
81
|
-
const raw = fs.readFileSync(projectEnvPath, "utf-8");
|
|
82
|
-
const parsed = dotenv.parse(raw);
|
|
83
|
-
const result: Record<string, string> = {};
|
|
84
|
-
for (const [key, value] of Object.entries(parsed)) {
|
|
85
|
-
const normalizedKey = String(key || "").trim();
|
|
86
|
-
if (!normalizedKey) continue;
|
|
87
|
-
result[normalizedKey] = String(value || "").trim();
|
|
88
|
-
}
|
|
89
|
-
return result;
|
|
90
|
-
} catch {
|
|
91
|
-
return {};
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type ResolvedConfigValue =
|
|
96
|
-
| JsonValue
|
|
97
|
-
| undefined
|
|
98
|
-
| { [key: string]: ResolvedConfigValue }
|
|
99
|
-
| ResolvedConfigValue[];
|
|
100
|
-
|
|
101
|
-
function resolveEnvPlaceholdersDeep(
|
|
102
|
-
value: ResolvedConfigValue,
|
|
103
|
-
resolveEnvVar: (name: string) => string | undefined,
|
|
104
|
-
): ResolvedConfigValue {
|
|
105
|
-
if (typeof value === "string") {
|
|
106
|
-
const match = value.match(/^\$\{([A-Z0-9_]+)\}$/);
|
|
107
|
-
if (!match) return value;
|
|
108
|
-
const envVar = match[1];
|
|
109
|
-
return resolveEnvVar(envVar);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if (Array.isArray(value)) {
|
|
113
|
-
return value.map((item) => resolveEnvPlaceholdersDeep(item, resolveEnvVar));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (value && typeof value === "object") {
|
|
117
|
-
const obj = value as JsonObject;
|
|
118
|
-
const out: { [key: string]: ResolvedConfigValue } = {};
|
|
119
|
-
for (const [k, v] of Object.entries(obj)) {
|
|
120
|
-
out[k] = resolveEnvPlaceholdersDeep(v as ResolvedConfigValue, resolveEnvVar);
|
|
121
|
-
}
|
|
122
|
-
return out;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
return value;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function isPlainObject(value: unknown): value is Record<string, unknown> {
|
|
129
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* 深合并:对象递归合并,数组与标量以 override 为准。
|
|
134
|
-
*
|
|
135
|
-
* 关键点(中文)
|
|
136
|
-
* - downcity.json 的“继承/覆盖”语义:越靠近 agent 项目的配置优先级越高。
|
|
137
|
-
* - 数组不做 concat,避免出现重复 paths / models。
|
|
138
|
-
*/
|
|
139
|
-
function deepMerge(base: unknown, override: unknown): unknown {
|
|
140
|
-
if (!isPlainObject(base) || !isPlainObject(override)) {
|
|
141
|
-
return override === undefined ? base : override;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const out: Record<string, unknown> = { ...base };
|
|
145
|
-
for (const [key, overrideValue] of Object.entries(override)) {
|
|
146
|
-
const baseValue = (base as Record<string, unknown>)[key];
|
|
147
|
-
if (Array.isArray(overrideValue)) {
|
|
148
|
-
out[key] = overrideValue;
|
|
149
|
-
continue;
|
|
150
|
-
}
|
|
151
|
-
if (isPlainObject(overrideValue) && isPlainObject(baseValue)) {
|
|
152
|
-
out[key] = deepMerge(baseValue, overrideValue);
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
out[key] = overrideValue === undefined ? baseValue : overrideValue;
|
|
156
|
-
}
|
|
157
|
-
return out;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function readShipJsonLayer(
|
|
161
|
-
filePath: string,
|
|
162
|
-
resolveEnvVar: (name: string) => string | undefined,
|
|
163
|
-
): ResolvedConfigValue {
|
|
164
|
-
const raw = fs.readJsonSync(filePath) as ResolvedConfigValue;
|
|
165
|
-
return resolveEnvPlaceholdersDeep(raw, resolveEnvVar);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* 校验项目层是否误配废弃的 `extensions` 字段。
|
|
170
|
-
*
|
|
171
|
-
* 关键点(中文)
|
|
172
|
-
* - 新版本统一使用 `plugins`。
|
|
173
|
-
* - 发现旧字段时直接报错,避免继续沿用已删除方案。
|
|
174
|
-
*/
|
|
175
|
-
function assertNoProjectExtensionsLayer(
|
|
176
|
-
filePath: string,
|
|
177
|
-
layer: ResolvedConfigValue,
|
|
178
|
-
): void {
|
|
179
|
-
if (!isPlainObject(layer)) return;
|
|
180
|
-
if (!Object.prototype.hasOwnProperty.call(layer, "extensions")) return;
|
|
181
|
-
throw new Error(
|
|
182
|
-
`Invalid downcity.json: legacy "extensions" config is no longer supported. Use "plugins" instead (${filePath})`,
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function collectAncestorShipJsonPaths(projectRoot: string): string[] {
|
|
187
|
-
const paths: string[] = [];
|
|
188
|
-
const resolvedRoot = path.resolve(projectRoot);
|
|
189
|
-
let dir = resolvedRoot;
|
|
190
|
-
while (true) {
|
|
191
|
-
const candidate = path.join(dir, "downcity.json");
|
|
192
|
-
if (fs.existsSync(candidate)) paths.push(candidate);
|
|
193
|
-
const parent = path.dirname(dir);
|
|
194
|
-
if (parent === dir) break;
|
|
195
|
-
dir = parent;
|
|
196
|
-
}
|
|
197
|
-
// root -> leaf
|
|
198
|
-
return paths.reverse();
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export function loadDowncityConfig(
|
|
202
|
-
projectRoot: string,
|
|
203
|
-
options?: {
|
|
204
|
-
projectEnv?: Record<string, string>;
|
|
205
|
-
agentEnv?: Record<string, string>;
|
|
206
|
-
globalEnv?: Record<string, string>;
|
|
207
|
-
},
|
|
208
|
-
): DowncityConfig {
|
|
209
|
-
const projectDotenv = options?.projectEnv ?? loadProjectDotenv(projectRoot);
|
|
210
|
-
const agentEnv = options?.agentEnv ?? loadAgentEnvFromStore(projectRoot);
|
|
211
|
-
const globalEnv = options?.globalEnv ?? loadGlobalEnvFromStore();
|
|
212
|
-
const runtimeAgentEnv = {
|
|
213
|
-
...agentEnv,
|
|
214
|
-
...projectDotenv,
|
|
215
|
-
};
|
|
216
|
-
/**
|
|
217
|
-
* 读取 agent 项目私有环境变量(services)。
|
|
218
|
-
*
|
|
219
|
-
* 关键点(中文)
|
|
220
|
-
* - project 层只读当前项目 .env,不再回退到共享 env。
|
|
221
|
-
* - 从根上杜绝跨 agent 的服务凭据串用。
|
|
222
|
-
*/
|
|
223
|
-
const resolveProjectEnvVar = (name: string): string | undefined => {
|
|
224
|
-
const projectValue = String(runtimeAgentEnv[name] || "").trim();
|
|
225
|
-
return projectValue || undefined;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
const ancestorShipJsonPaths = collectAncestorShipJsonPaths(projectRoot);
|
|
229
|
-
if (ancestorShipJsonPaths.length === 0) {
|
|
230
|
-
throw new Error("downcity.json not found in project directory");
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
let merged: unknown = undefined;
|
|
234
|
-
for (const p of ancestorShipJsonPaths) {
|
|
235
|
-
const layer = readShipJsonLayer(p, resolveProjectEnvVar);
|
|
236
|
-
assertNoProjectExtensionsLayer(p, layer);
|
|
237
|
-
merged = deepMerge(merged, layer);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
if (!merged || typeof merged !== "object" || Array.isArray(merged)) {
|
|
241
|
-
throw new Error("Invalid downcity.json: expected object");
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
const candidate = merged as Partial<DowncityConfig>;
|
|
245
|
-
if (typeof candidate.name !== "string" || typeof candidate.version !== "string") {
|
|
246
|
-
throw new Error("Invalid downcity.json: missing required fields name/version");
|
|
247
|
-
}
|
|
248
|
-
const config = candidate as DowncityConfig;
|
|
249
|
-
assertProjectExecutionTarget(config);
|
|
250
|
-
return config;
|
|
251
|
-
}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Console Agent 状态探活路由。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 启动窗口期的 agent 状态探测放到 UI 网关内部执行,避免浏览器直接看到 500/503 噪音。
|
|
6
|
-
* - 该接口始终返回 200 + 结构化状态,前端按状态轮询即可。
|
|
7
|
-
* - ready 判定收敛在这里,保持前端逻辑尽量薄。
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import type { Hono } from "hono";
|
|
11
|
-
import type { ConsoleAgentOption } from "@/shared/types/Console.js";
|
|
12
|
-
|
|
13
|
-
type AgentStatusPayload = {
|
|
14
|
-
success: boolean;
|
|
15
|
-
running: boolean;
|
|
16
|
-
serverReady: boolean;
|
|
17
|
-
servicesReady: boolean;
|
|
18
|
-
hasChatService: boolean;
|
|
19
|
-
reason?: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
type ServicesResponse = {
|
|
23
|
-
success?: boolean;
|
|
24
|
-
services?: Array<{
|
|
25
|
-
name?: unknown;
|
|
26
|
-
state?: unknown;
|
|
27
|
-
}>;
|
|
28
|
-
error?: unknown;
|
|
29
|
-
message?: unknown;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
type ChatStatusResponse = {
|
|
33
|
-
success?: boolean;
|
|
34
|
-
error?: unknown;
|
|
35
|
-
message?: unknown;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
function getErrorMessage(error: unknown): string {
|
|
39
|
-
if (error instanceof Error) {
|
|
40
|
-
return error.message || String(error);
|
|
41
|
-
}
|
|
42
|
-
return String(error);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function isReadyState(input: unknown): boolean {
|
|
46
|
-
const state = String(input || "").trim().toLowerCase();
|
|
47
|
-
return ["running", "ok", "active", "enabled", "success", "idle"].includes(state);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
async function fetchStatusJson<T>(input: string, init?: RequestInit): Promise<T> {
|
|
51
|
-
const response = await fetch(input, init);
|
|
52
|
-
const payload = (await response.json().catch(() => ({}))) as {
|
|
53
|
-
success?: boolean;
|
|
54
|
-
error?: unknown;
|
|
55
|
-
message?: unknown;
|
|
56
|
-
};
|
|
57
|
-
if (!response.ok || payload.success === false) {
|
|
58
|
-
const message =
|
|
59
|
-
typeof payload.error === "string"
|
|
60
|
-
? payload.error
|
|
61
|
-
: typeof payload.message === "string"
|
|
62
|
-
? payload.message
|
|
63
|
-
: `${response.status} ${response.statusText}`;
|
|
64
|
-
throw new Error(message);
|
|
65
|
-
}
|
|
66
|
-
return payload as T;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
async function probeSelectedAgentStatus(
|
|
70
|
-
selectedAgent: ConsoleAgentOption,
|
|
71
|
-
): Promise<AgentStatusPayload> {
|
|
72
|
-
const baseUrl = String(selectedAgent.baseUrl || "").trim();
|
|
73
|
-
if (!selectedAgent.running || !baseUrl) {
|
|
74
|
-
return {
|
|
75
|
-
success: true,
|
|
76
|
-
running: false,
|
|
77
|
-
serverReady: false,
|
|
78
|
-
servicesReady: false,
|
|
79
|
-
hasChatService: false,
|
|
80
|
-
reason: "Selected agent endpoint is unavailable.",
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
try {
|
|
85
|
-
await fetchStatusJson<{ status?: string }>(new URL("/api/status", baseUrl).toString());
|
|
86
|
-
} catch (error) {
|
|
87
|
-
return {
|
|
88
|
-
success: true,
|
|
89
|
-
running: true,
|
|
90
|
-
serverReady: false,
|
|
91
|
-
servicesReady: false,
|
|
92
|
-
hasChatService: false,
|
|
93
|
-
reason: getErrorMessage(error),
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
let servicesPayload: ServicesResponse;
|
|
98
|
-
try {
|
|
99
|
-
servicesPayload = await fetchStatusJson<ServicesResponse>(
|
|
100
|
-
new URL("/api/dashboard/services", baseUrl).toString(),
|
|
101
|
-
);
|
|
102
|
-
} catch (error) {
|
|
103
|
-
return {
|
|
104
|
-
success: true,
|
|
105
|
-
running: true,
|
|
106
|
-
serverReady: true,
|
|
107
|
-
servicesReady: false,
|
|
108
|
-
hasChatService: false,
|
|
109
|
-
reason: getErrorMessage(error),
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
const serviceList = Array.isArray(servicesPayload.services)
|
|
114
|
-
? servicesPayload.services
|
|
115
|
-
: [];
|
|
116
|
-
if (serviceList.length === 0) {
|
|
117
|
-
return {
|
|
118
|
-
success: true,
|
|
119
|
-
running: true,
|
|
120
|
-
serverReady: true,
|
|
121
|
-
servicesReady: false,
|
|
122
|
-
hasChatService: false,
|
|
123
|
-
reason: "Service list is empty.",
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
const allReady = serviceList.every((item) => isReadyState(item.state));
|
|
128
|
-
const hasChatService = serviceList.some((item) => {
|
|
129
|
-
const name = String(item.name || "").trim().toLowerCase();
|
|
130
|
-
return name === "chat";
|
|
131
|
-
});
|
|
132
|
-
if (!allReady) {
|
|
133
|
-
return {
|
|
134
|
-
success: true,
|
|
135
|
-
running: true,
|
|
136
|
-
serverReady: true,
|
|
137
|
-
servicesReady: false,
|
|
138
|
-
hasChatService,
|
|
139
|
-
reason: "Services are still starting.",
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
if (!hasChatService) {
|
|
144
|
-
return {
|
|
145
|
-
success: true,
|
|
146
|
-
running: true,
|
|
147
|
-
serverReady: true,
|
|
148
|
-
servicesReady: true,
|
|
149
|
-
hasChatService: false,
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
try {
|
|
154
|
-
await fetchStatusJson<ChatStatusResponse>(
|
|
155
|
-
new URL("/api/services/command", baseUrl).toString(),
|
|
156
|
-
{
|
|
157
|
-
method: "POST",
|
|
158
|
-
headers: {
|
|
159
|
-
"content-type": "application/json",
|
|
160
|
-
},
|
|
161
|
-
body: JSON.stringify({
|
|
162
|
-
serviceName: "chat",
|
|
163
|
-
command: "status",
|
|
164
|
-
payload: {},
|
|
165
|
-
}),
|
|
166
|
-
},
|
|
167
|
-
);
|
|
168
|
-
return {
|
|
169
|
-
success: true,
|
|
170
|
-
running: true,
|
|
171
|
-
serverReady: true,
|
|
172
|
-
servicesReady: true,
|
|
173
|
-
hasChatService: true,
|
|
174
|
-
};
|
|
175
|
-
} catch (error) {
|
|
176
|
-
return {
|
|
177
|
-
success: true,
|
|
178
|
-
running: true,
|
|
179
|
-
serverReady: true,
|
|
180
|
-
servicesReady: false,
|
|
181
|
-
hasChatService: true,
|
|
182
|
-
reason: getErrorMessage(error),
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* 注册 Agent 状态探活 API 路由。
|
|
189
|
-
*/
|
|
190
|
-
export function registerConsoleAgentStatusRoutes(params: {
|
|
191
|
-
/**
|
|
192
|
-
* Hono 应用实例。
|
|
193
|
-
*/
|
|
194
|
-
app: Hono;
|
|
195
|
-
/**
|
|
196
|
-
* 从请求中读取目标 agent id。
|
|
197
|
-
*/
|
|
198
|
-
readRequestedAgentId: (request: Request) => string;
|
|
199
|
-
/**
|
|
200
|
-
* 解析当前应使用的 agent。
|
|
201
|
-
*/
|
|
202
|
-
resolveSelectedAgent: (requestedAgentId: string) => Promise<ConsoleAgentOption | null>;
|
|
203
|
-
}): void {
|
|
204
|
-
const app = params.app;
|
|
205
|
-
|
|
206
|
-
app.get("/api/ui/agents/status", async (c) => {
|
|
207
|
-
try {
|
|
208
|
-
const requestedAgentId = params.readRequestedAgentId(c.req.raw);
|
|
209
|
-
const selectedAgent = await params.resolveSelectedAgent(requestedAgentId);
|
|
210
|
-
if (!selectedAgent) {
|
|
211
|
-
return c.json({
|
|
212
|
-
success: true,
|
|
213
|
-
running: false,
|
|
214
|
-
serverReady: false,
|
|
215
|
-
servicesReady: false,
|
|
216
|
-
hasChatService: false,
|
|
217
|
-
reason: "No running agent selected.",
|
|
218
|
-
} satisfies AgentStatusPayload);
|
|
219
|
-
}
|
|
220
|
-
return c.json(await probeSelectedAgentStatus(selectedAgent));
|
|
221
|
-
} catch (error) {
|
|
222
|
-
return c.json({ success: false, error: String(error) }, 500);
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
}
|