@downcity/city 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/agent/AgentContext.d.ts +23 -0
- package/bin/agent/AgentContext.d.ts.map +1 -0
- package/bin/agent/AgentContext.js +148 -0
- package/bin/agent/AgentContext.js.map +1 -0
- package/bin/agent/AgentRuntime.d.ts +32 -0
- package/bin/agent/AgentRuntime.d.ts.map +1 -0
- package/bin/agent/AgentRuntime.js +277 -0
- package/bin/agent/AgentRuntime.js.map +1 -0
- package/bin/agent/AgentRuntimeState.d.ts +42 -0
- package/bin/agent/AgentRuntimeState.d.ts.map +1 -0
- package/bin/agent/AgentRuntimeState.js +116 -0
- package/bin/agent/AgentRuntimeState.js.map +1 -0
- package/bin/agent/project/AgentInitializer.d.ts +38 -0
- package/bin/agent/project/AgentInitializer.d.ts.map +1 -0
- package/bin/agent/project/AgentInitializer.js +308 -0
- package/bin/agent/project/AgentInitializer.js.map +1 -0
- package/bin/agent/project/ProjectExecutionBinding.d.ts +27 -0
- package/bin/agent/project/ProjectExecutionBinding.d.ts.map +1 -0
- package/bin/agent/project/ProjectExecutionBinding.js +47 -0
- package/bin/agent/project/ProjectExecutionBinding.js.map +1 -0
- package/bin/cli/AgentChat.d.ts +22 -0
- package/bin/cli/AgentChat.d.ts.map +1 -0
- package/bin/cli/AgentChat.js +357 -0
- package/bin/cli/AgentChat.js.map +1 -0
- package/bin/cli/AgentHistory.d.ts +14 -0
- package/bin/cli/AgentHistory.d.ts.map +1 -0
- package/bin/cli/AgentHistory.js +157 -0
- package/bin/cli/AgentHistory.js.map +1 -0
- package/bin/cli/AgentManager.d.ts +12 -0
- package/bin/cli/AgentManager.d.ts.map +1 -0
- package/bin/cli/AgentManager.js +602 -0
- package/bin/cli/AgentManager.js.map +1 -0
- package/bin/cli/AgentReset.d.ts +13 -0
- package/bin/cli/AgentReset.d.ts.map +1 -0
- package/bin/cli/AgentReset.js +167 -0
- package/bin/cli/AgentReset.js.map +1 -0
- package/bin/cli/AgentSelection.d.ts +43 -0
- package/bin/cli/AgentSelection.d.ts.map +1 -0
- package/bin/cli/AgentSelection.js +243 -0
- package/bin/cli/AgentSelection.js.map +1 -0
- package/bin/cli/Alias.d.ts +21 -0
- package/bin/cli/Alias.d.ts.map +1 -0
- package/bin/cli/Alias.js +115 -0
- package/bin/cli/Alias.js.map +1 -0
- package/bin/cli/Chat.d.ts +13 -0
- package/bin/cli/Chat.d.ts.map +1 -0
- package/bin/cli/Chat.js +27 -0
- package/bin/cli/Chat.js.map +1 -0
- package/bin/cli/ChatAuth.d.ts +36 -0
- package/bin/cli/ChatAuth.d.ts.map +1 -0
- package/bin/cli/ChatAuth.js +140 -0
- package/bin/cli/ChatAuth.js.map +1 -0
- package/bin/cli/ChatManager.d.ts +13 -0
- package/bin/cli/ChatManager.d.ts.map +1 -0
- package/bin/cli/ChatManager.js +383 -0
- package/bin/cli/ChatManager.js.map +1 -0
- package/bin/cli/CliReporter.d.ts +50 -0
- package/bin/cli/CliReporter.d.ts.map +1 -0
- package/bin/cli/CliReporter.js +278 -0
- package/bin/cli/CliReporter.js.map +1 -0
- package/bin/cli/Config.d.ts +14 -0
- package/bin/cli/Config.d.ts.map +1 -0
- package/bin/cli/Config.js +239 -0
- package/bin/cli/Config.js.map +1 -0
- package/bin/cli/Console.d.ts +97 -0
- package/bin/cli/Console.d.ts.map +1 -0
- package/bin/cli/Console.js +514 -0
- package/bin/cli/Console.js.map +1 -0
- package/bin/cli/ConsoleAuthBootstrap.d.ts +25 -0
- package/bin/cli/ConsoleAuthBootstrap.d.ts.map +1 -0
- package/bin/cli/ConsoleAuthBootstrap.js +56 -0
- package/bin/cli/ConsoleAuthBootstrap.js.map +1 -0
- package/bin/cli/ConsoleInit.d.ts +17 -0
- package/bin/cli/ConsoleInit.d.ts.map +1 -0
- package/bin/cli/ConsoleInit.js +76 -0
- package/bin/cli/ConsoleInit.js.map +1 -0
- package/bin/cli/Env.d.ts +14 -0
- package/bin/cli/Env.d.ts.map +1 -0
- package/bin/cli/Env.js +419 -0
- package/bin/cli/Env.js.map +1 -0
- package/bin/cli/Index.d.ts +11 -0
- package/bin/cli/Index.d.ts.map +1 -0
- package/bin/cli/Index.js +70 -0
- package/bin/cli/Index.js.map +1 -0
- package/bin/cli/IndexAgentCommand.d.ts +22 -0
- package/bin/cli/IndexAgentCommand.d.ts.map +1 -0
- package/bin/cli/IndexAgentCommand.js +218 -0
- package/bin/cli/IndexAgentCommand.js.map +1 -0
- package/bin/cli/IndexConsoleCommand.d.ts +24 -0
- package/bin/cli/IndexConsoleCommand.d.ts.map +1 -0
- package/bin/cli/IndexConsoleCommand.js +147 -0
- package/bin/cli/IndexConsoleCommand.js.map +1 -0
- package/bin/cli/IndexConsoleProcess.d.ts +61 -0
- package/bin/cli/IndexConsoleProcess.d.ts.map +1 -0
- package/bin/cli/IndexConsoleProcess.js +395 -0
- package/bin/cli/IndexConsoleProcess.js.map +1 -0
- package/bin/cli/IndexConsoleStatus.d.ts +27 -0
- package/bin/cli/IndexConsoleStatus.d.ts.map +1 -0
- package/bin/cli/IndexConsoleStatus.js +135 -0
- package/bin/cli/IndexConsoleStatus.js.map +1 -0
- package/bin/cli/IndexSupport.d.ts +39 -0
- package/bin/cli/IndexSupport.d.ts.map +1 -0
- package/bin/cli/IndexSupport.js +123 -0
- package/bin/cli/IndexSupport.js.map +1 -0
- package/bin/cli/Init.d.ts +24 -0
- package/bin/cli/Init.d.ts.map +1 -0
- package/bin/cli/Init.js +252 -0
- package/bin/cli/Init.js.map +1 -0
- package/bin/cli/Model.d.ts +13 -0
- package/bin/cli/Model.d.ts.map +1 -0
- package/bin/cli/Model.js +31 -0
- package/bin/cli/Model.js.map +1 -0
- package/bin/cli/ModelCommandShared.d.ts +28 -0
- package/bin/cli/ModelCommandShared.d.ts.map +1 -0
- package/bin/cli/ModelCommandShared.js +109 -0
- package/bin/cli/ModelCommandShared.js.map +1 -0
- package/bin/cli/ModelCreateCommand.d.ts +23 -0
- package/bin/cli/ModelCreateCommand.d.ts.map +1 -0
- package/bin/cli/ModelCreateCommand.js +367 -0
- package/bin/cli/ModelCreateCommand.js.map +1 -0
- package/bin/cli/ModelManageCommand.d.ts +13 -0
- package/bin/cli/ModelManageCommand.d.ts.map +1 -0
- package/bin/cli/ModelManageCommand.js +438 -0
- package/bin/cli/ModelManageCommand.js.map +1 -0
- package/bin/cli/ModelManager.d.ts +13 -0
- package/bin/cli/ModelManager.d.ts.map +1 -0
- package/bin/cli/ModelManager.js +588 -0
- package/bin/cli/ModelManager.js.map +1 -0
- package/bin/cli/ModelReadCommand.d.ts +13 -0
- package/bin/cli/ModelReadCommand.d.ts.map +1 -0
- package/bin/cli/ModelReadCommand.js +198 -0
- package/bin/cli/ModelReadCommand.js.map +1 -0
- package/bin/cli/ModelSupport.d.ts +40 -0
- package/bin/cli/ModelSupport.d.ts.map +1 -0
- package/bin/cli/ModelSupport.js +201 -0
- package/bin/cli/ModelSupport.js.map +1 -0
- package/bin/cli/Plugins.d.ts +14 -0
- package/bin/cli/Plugins.d.ts.map +1 -0
- package/bin/cli/Plugins.js +474 -0
- package/bin/cli/Plugins.js.map +1 -0
- package/bin/cli/PortHints.d.ts +35 -0
- package/bin/cli/PortHints.d.ts.map +1 -0
- package/bin/cli/PortHints.js +58 -0
- package/bin/cli/PortHints.js.map +1 -0
- package/bin/cli/PublicAccess.d.ts +24 -0
- package/bin/cli/PublicAccess.d.ts.map +1 -0
- package/bin/cli/PublicAccess.js +100 -0
- package/bin/cli/PublicAccess.js.map +1 -0
- package/bin/cli/PublicHostEnv.d.ts +14 -0
- package/bin/cli/PublicHostEnv.d.ts.map +1 -0
- package/bin/cli/PublicHostEnv.js +104 -0
- package/bin/cli/PublicHostEnv.js.map +1 -0
- package/bin/cli/Reset.d.ts +11 -0
- package/bin/cli/Reset.d.ts.map +1 -0
- package/bin/cli/Reset.js +91 -0
- package/bin/cli/Reset.js.map +1 -0
- package/bin/cli/Restart.d.ts +19 -0
- package/bin/cli/Restart.d.ts.map +1 -0
- package/bin/cli/Restart.js +60 -0
- package/bin/cli/Restart.js.map +1 -0
- package/bin/cli/Run.d.ts +24 -0
- package/bin/cli/Run.d.ts.map +1 -0
- package/bin/cli/Run.js +123 -0
- package/bin/cli/Run.js.map +1 -0
- package/bin/cli/ServiceCommandRemote.d.ts +30 -0
- package/bin/cli/ServiceCommandRemote.d.ts.map +1 -0
- package/bin/cli/ServiceCommandRemote.js +200 -0
- package/bin/cli/ServiceCommandRemote.js.map +1 -0
- package/bin/cli/ServiceCommandSupport.d.ts +82 -0
- package/bin/cli/ServiceCommandSupport.d.ts.map +1 -0
- package/bin/cli/ServiceCommandSupport.js +224 -0
- package/bin/cli/ServiceCommandSupport.js.map +1 -0
- package/bin/cli/ServiceScheduleCommand.d.ts +36 -0
- package/bin/cli/ServiceScheduleCommand.d.ts.map +1 -0
- package/bin/cli/ServiceScheduleCommand.js +271 -0
- package/bin/cli/ServiceScheduleCommand.js.map +1 -0
- package/bin/cli/Services.d.ts +14 -0
- package/bin/cli/Services.d.ts.map +1 -0
- package/bin/cli/Services.js +154 -0
- package/bin/cli/Services.js.map +1 -0
- package/bin/cli/Start.d.ts +23 -0
- package/bin/cli/Start.d.ts.map +1 -0
- package/bin/cli/Start.js +63 -0
- package/bin/cli/Start.js.map +1 -0
- package/bin/cli/Status.d.ts +16 -0
- package/bin/cli/Status.d.ts.map +1 -0
- package/bin/cli/Status.js +103 -0
- package/bin/cli/Status.js.map +1 -0
- package/bin/cli/Stop.d.ts +18 -0
- package/bin/cli/Stop.d.ts.map +1 -0
- package/bin/cli/Stop.js +44 -0
- package/bin/cli/Stop.js.map +1 -0
- package/bin/cli/Token.d.ts +14 -0
- package/bin/cli/Token.d.ts.map +1 -0
- package/bin/cli/Token.js +638 -0
- package/bin/cli/Token.js.map +1 -0
- package/bin/cli/Update.d.ts +42 -0
- package/bin/cli/Update.d.ts.map +1 -0
- package/bin/cli/Update.js +150 -0
- package/bin/cli/Update.js.map +1 -0
- package/bin/config/Config.d.ts +32 -0
- package/bin/config/Config.d.ts.map +1 -0
- package/bin/config/Config.js +217 -0
- package/bin/config/Config.js.map +1 -0
- package/bin/config/Paths.d.ts +119 -0
- package/bin/config/Paths.d.ts.map +1 -0
- package/bin/config/Paths.js +203 -0
- package/bin/config/Paths.js.map +1 -0
- package/bin/console/AgentStatusApiRoutes.d.ts +28 -0
- package/bin/console/AgentStatusApiRoutes.d.ts.map +1 -0
- package/bin/console/AgentStatusApiRoutes.js +165 -0
- package/bin/console/AgentStatusApiRoutes.js.map +1 -0
- package/bin/console/ChannelAccountApiRoutes.d.ts +15 -0
- package/bin/console/ChannelAccountApiRoutes.d.ts.map +1 -0
- package/bin/console/ChannelAccountApiRoutes.js +93 -0
- package/bin/console/ChannelAccountApiRoutes.js.map +1 -0
- package/bin/console/ChannelAccountService.d.ts +9 -0
- package/bin/console/ChannelAccountService.d.ts.map +1 -0
- package/bin/console/ChannelAccountService.js +9 -0
- package/bin/console/ChannelAccountService.js.map +1 -0
- package/bin/console/ConsoleClient.d.ts +53 -0
- package/bin/console/ConsoleClient.d.ts.map +1 -0
- package/bin/console/ConsoleClient.js +258 -0
- package/bin/console/ConsoleClient.js.map +1 -0
- package/bin/console/ConsoleGateway.d.ts +102 -0
- package/bin/console/ConsoleGateway.d.ts.map +1 -0
- package/bin/console/ConsoleGateway.js +283 -0
- package/bin/console/ConsoleGateway.js.map +1 -0
- package/bin/console/ConsoleGatewayRoutes.d.ts +133 -0
- package/bin/console/ConsoleGatewayRoutes.d.ts.map +1 -0
- package/bin/console/ConsoleGatewayRoutes.js +292 -0
- package/bin/console/ConsoleGatewayRoutes.js.map +1 -0
- package/bin/console/EnvApiRoutes.d.ts +18 -0
- package/bin/console/EnvApiRoutes.d.ts.map +1 -0
- package/bin/console/EnvApiRoutes.js +228 -0
- package/bin/console/EnvApiRoutes.js.map +1 -0
- package/bin/console/InlineInstantRoutes.d.ts +19 -0
- package/bin/console/InlineInstantRoutes.d.ts.map +1 -0
- package/bin/console/InlineInstantRoutes.js +58 -0
- package/bin/console/InlineInstantRoutes.js.map +1 -0
- package/bin/console/InlineInstantSessionService.d.ts +36 -0
- package/bin/console/InlineInstantSessionService.d.ts.map +1 -0
- package/bin/console/InlineInstantSessionService.js +190 -0
- package/bin/console/InlineInstantSessionService.js.map +1 -0
- package/bin/console/InlineInstantSystemComposer.d.ts +34 -0
- package/bin/console/InlineInstantSystemComposer.d.ts.map +1 -0
- package/bin/console/InlineInstantSystemComposer.js +40 -0
- package/bin/console/InlineInstantSystemComposer.js.map +1 -0
- package/bin/console/ModelApiRoutes.d.ts +35 -0
- package/bin/console/ModelApiRoutes.d.ts.map +1 -0
- package/bin/console/ModelApiRoutes.js +237 -0
- package/bin/console/ModelApiRoutes.js.map +1 -0
- package/bin/console/ModelPoolService.d.ts +126 -0
- package/bin/console/ModelPoolService.d.ts.map +1 -0
- package/bin/console/ModelPoolService.js +327 -0
- package/bin/console/ModelPoolService.js.map +1 -0
- package/bin/console/PluginApiRoutes.d.ts +28 -0
- package/bin/console/PluginApiRoutes.d.ts.map +1 -0
- package/bin/console/PluginApiRoutes.js +299 -0
- package/bin/console/PluginApiRoutes.js.map +1 -0
- package/bin/console/gateway/AgentActions.d.ts +107 -0
- package/bin/console/gateway/AgentActions.d.ts.map +1 -0
- package/bin/console/gateway/AgentActions.js +315 -0
- package/bin/console/gateway/AgentActions.js.map +1 -0
- package/bin/console/gateway/AgentCatalog.d.ts +83 -0
- package/bin/console/gateway/AgentCatalog.d.ts.map +1 -0
- package/bin/console/gateway/AgentCatalog.js +484 -0
- package/bin/console/gateway/AgentCatalog.js.map +1 -0
- package/bin/console/gateway/FrontendAssets.d.ts +21 -0
- package/bin/console/gateway/FrontendAssets.d.ts.map +1 -0
- package/bin/console/gateway/FrontendAssets.js +77 -0
- package/bin/console/gateway/FrontendAssets.js.map +1 -0
- package/bin/console/gateway/GatewaySupport.d.ts +34 -0
- package/bin/console/gateway/GatewaySupport.d.ts.map +1 -0
- package/bin/console/gateway/GatewaySupport.js +32 -0
- package/bin/console/gateway/GatewaySupport.js.map +1 -0
- package/bin/console/gateway/Proxy.d.ts +16 -0
- package/bin/console/gateway/Proxy.d.ts.map +1 -0
- package/bin/console/gateway/Proxy.js +47 -0
- package/bin/console/gateway/Proxy.js.map +1 -0
- package/bin/daemon/Api.d.ts +60 -0
- package/bin/daemon/Api.d.ts.map +1 -0
- package/bin/daemon/Api.js +10 -0
- package/bin/daemon/Api.js.map +1 -0
- package/bin/daemon/CliArgs.d.ts +17 -0
- package/bin/daemon/CliArgs.d.ts.map +1 -0
- package/bin/daemon/CliArgs.js +30 -0
- package/bin/daemon/CliArgs.js.map +1 -0
- package/bin/daemon/Client.d.ts +17 -0
- package/bin/daemon/Client.d.ts.map +1 -0
- package/bin/daemon/Client.js +158 -0
- package/bin/daemon/Client.js.map +1 -0
- package/bin/daemon/Manager.d.ts +92 -0
- package/bin/daemon/Manager.d.ts.map +1 -0
- package/bin/daemon/Manager.js +287 -0
- package/bin/daemon/Manager.js.map +1 -0
- package/bin/daemon/PortAllocator.d.ts +18 -0
- package/bin/daemon/PortAllocator.d.ts.map +1 -0
- package/bin/daemon/PortAllocator.js +52 -0
- package/bin/daemon/PortAllocator.js.map +1 -0
- package/bin/daemon/ProjectSetup.d.ts +22 -0
- package/bin/daemon/ProjectSetup.d.ts.map +1 -0
- package/bin/daemon/ProjectSetup.js +101 -0
- package/bin/daemon/ProjectSetup.js.map +1 -0
- package/bin/http/Server.d.ts +39 -0
- package/bin/http/Server.d.ts.map +1 -0
- package/bin/http/Server.js +122 -0
- package/bin/http/Server.js.map +1 -0
- package/bin/http/auth/AuthEnv.d.ts +45 -0
- package/bin/http/auth/AuthEnv.d.ts.map +1 -0
- package/bin/http/auth/AuthEnv.js +63 -0
- package/bin/http/auth/AuthEnv.js.map +1 -0
- package/bin/http/auth/AuthError.d.ts +22 -0
- package/bin/http/auth/AuthError.d.ts.map +1 -0
- package/bin/http/auth/AuthError.js +28 -0
- package/bin/http/auth/AuthError.js.map +1 -0
- package/bin/http/auth/AuthMiddleware.d.ts +36 -0
- package/bin/http/auth/AuthMiddleware.d.ts.map +1 -0
- package/bin/http/auth/AuthMiddleware.js +37 -0
- package/bin/http/auth/AuthMiddleware.js.map +1 -0
- package/bin/http/auth/AuthRoutes.d.ts +17 -0
- package/bin/http/auth/AuthRoutes.d.ts.map +1 -0
- package/bin/http/auth/AuthRoutes.js +78 -0
- package/bin/http/auth/AuthRoutes.js.map +1 -0
- package/bin/http/auth/AuthService.d.ts +119 -0
- package/bin/http/auth/AuthService.d.ts.map +1 -0
- package/bin/http/auth/AuthService.js +307 -0
- package/bin/http/auth/AuthService.js.map +1 -0
- package/bin/http/auth/AuthStore.d.ts +165 -0
- package/bin/http/auth/AuthStore.d.ts.map +1 -0
- package/bin/http/auth/AuthStore.js +442 -0
- package/bin/http/auth/AuthStore.js.map +1 -0
- package/bin/http/auth/CliAuthStateStore.d.ts +33 -0
- package/bin/http/auth/CliAuthStateStore.d.ts.map +1 -0
- package/bin/http/auth/CliAuthStateStore.js +30 -0
- package/bin/http/auth/CliAuthStateStore.js.map +1 -0
- package/bin/http/auth/PasswordHasher.d.ts +16 -0
- package/bin/http/auth/PasswordHasher.d.ts.map +1 -0
- package/bin/http/auth/PasswordHasher.js +37 -0
- package/bin/http/auth/PasswordHasher.js.map +1 -0
- package/bin/http/auth/RoutePolicy.d.ts +30 -0
- package/bin/http/auth/RoutePolicy.d.ts.map +1 -0
- package/bin/http/auth/RoutePolicy.js +229 -0
- package/bin/http/auth/RoutePolicy.js.map +1 -0
- package/bin/http/auth/TokenService.d.ts +20 -0
- package/bin/http/auth/TokenService.d.ts.map +1 -0
- package/bin/http/auth/TokenService.js +34 -0
- package/bin/http/auth/TokenService.js.map +1 -0
- package/bin/http/dashboard/AuthDashboardService.d.ts +30 -0
- package/bin/http/dashboard/AuthDashboardService.d.ts.map +1 -0
- package/bin/http/dashboard/AuthDashboardService.js +120 -0
- package/bin/http/dashboard/AuthDashboardService.js.map +1 -0
- package/bin/http/dashboard/CommonHelpers.d.ts +24 -0
- package/bin/http/dashboard/CommonHelpers.d.ts.map +1 -0
- package/bin/http/dashboard/CommonHelpers.js +46 -0
- package/bin/http/dashboard/CommonHelpers.js.map +1 -0
- package/bin/http/dashboard/DashboardApiRoutes.d.ts +13 -0
- package/bin/http/dashboard/DashboardApiRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/DashboardApiRoutes.js +26 -0
- package/bin/http/dashboard/DashboardApiRoutes.js.map +1 -0
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts +17 -0
- package/bin/http/dashboard/DashboardAuthorizationRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js +78 -0
- package/bin/http/dashboard/DashboardAuthorizationRoutes.js.map +1 -0
- package/bin/http/dashboard/ExecuteBySession.d.ts +39 -0
- package/bin/http/dashboard/ExecuteBySession.d.ts.map +1 -0
- package/bin/http/dashboard/ExecuteBySession.js +129 -0
- package/bin/http/dashboard/ExecuteBySession.js.map +1 -0
- package/bin/http/dashboard/ExecuteInput.d.ts +18 -0
- package/bin/http/dashboard/ExecuteInput.d.ts.map +1 -0
- package/bin/http/dashboard/ExecuteInput.js +201 -0
- package/bin/http/dashboard/ExecuteInput.js.map +1 -0
- package/bin/http/dashboard/Helpers.d.ts +13 -0
- package/bin/http/dashboard/Helpers.d.ts.map +1 -0
- package/bin/http/dashboard/Helpers.js +13 -0
- package/bin/http/dashboard/Helpers.js.map +1 -0
- package/bin/http/dashboard/MessageTimeline.d.ts +22 -0
- package/bin/http/dashboard/MessageTimeline.d.ts.map +1 -0
- package/bin/http/dashboard/MessageTimeline.js +226 -0
- package/bin/http/dashboard/MessageTimeline.js.map +1 -0
- package/bin/http/dashboard/ModelRoutes.d.ts +13 -0
- package/bin/http/dashboard/ModelRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/ModelRoutes.js +87 -0
- package/bin/http/dashboard/ModelRoutes.js.map +1 -0
- package/bin/http/dashboard/OverviewRoutes.d.ts +13 -0
- package/bin/http/dashboard/OverviewRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/OverviewRoutes.js +88 -0
- package/bin/http/dashboard/OverviewRoutes.js.map +1 -0
- package/bin/http/dashboard/Router.d.ts +14 -0
- package/bin/http/dashboard/Router.d.ts.map +1 -0
- package/bin/http/dashboard/Router.js +21 -0
- package/bin/http/dashboard/Router.js.map +1 -0
- package/bin/http/dashboard/SessionRoutes.d.ts +13 -0
- package/bin/http/dashboard/SessionRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/SessionRoutes.js +323 -0
- package/bin/http/dashboard/SessionRoutes.js.map +1 -0
- package/bin/http/dashboard/SessionSummaryStore.d.ts +19 -0
- package/bin/http/dashboard/SessionSummaryStore.d.ts.map +1 -0
- package/bin/http/dashboard/SessionSummaryStore.js +62 -0
- package/bin/http/dashboard/SessionSummaryStore.js.map +1 -0
- package/bin/http/dashboard/TaskRoutes.d.ts +13 -0
- package/bin/http/dashboard/TaskRoutes.d.ts.map +1 -0
- package/bin/http/dashboard/TaskRoutes.js +318 -0
- package/bin/http/dashboard/TaskRoutes.js.map +1 -0
- package/bin/http/dashboard/TaskStore.d.ts +33 -0
- package/bin/http/dashboard/TaskStore.d.ts.map +1 -0
- package/bin/http/dashboard/TaskStore.js +157 -0
- package/bin/http/dashboard/TaskStore.js.map +1 -0
- package/bin/http/execute/execute.d.ts +14 -0
- package/bin/http/execute/execute.d.ts.map +1 -0
- package/bin/http/execute/execute.js +90 -0
- package/bin/http/execute/execute.js.map +1 -0
- package/bin/http/health/health.d.ts +14 -0
- package/bin/http/health/health.d.ts.map +1 -0
- package/bin/http/health/health.js +24 -0
- package/bin/http/health/health.js.map +1 -0
- package/bin/http/plugins/plugins.d.ts +14 -0
- package/bin/http/plugins/plugins.d.ts.map +1 -0
- package/bin/http/plugins/plugins.js +55 -0
- package/bin/http/plugins/plugins.js.map +1 -0
- package/bin/http/services/services.d.ts +21 -0
- package/bin/http/services/services.d.ts.map +1 -0
- package/bin/http/services/services.js +79 -0
- package/bin/http/services/services.js.map +1 -0
- package/bin/http/static/static.d.ts +14 -0
- package/bin/http/static/static.d.ts.map +1 -0
- package/bin/http/static/static.js +97 -0
- package/bin/http/static/static.js.map +1 -0
- package/bin/model/CreateModel.d.ts +30 -0
- package/bin/model/CreateModel.d.ts.map +1 -0
- package/bin/model/CreateModel.js +305 -0
- package/bin/model/CreateModel.js.map +1 -0
- package/bin/model/ModelCommand.d.ts +60 -0
- package/bin/model/ModelCommand.d.ts.map +1 -0
- package/bin/model/ModelCommand.js +46 -0
- package/bin/model/ModelCommand.js.map +1 -0
- package/bin/model/ModelManager.d.ts +71 -0
- package/bin/model/ModelManager.d.ts.map +1 -0
- package/bin/model/ModelManager.js +187 -0
- package/bin/model/ModelManager.js.map +1 -0
- package/bin/plugin/Activation.d.ts +15 -0
- package/bin/plugin/Activation.d.ts.map +1 -0
- package/bin/plugin/Activation.js +20 -0
- package/bin/plugin/Activation.js.map +1 -0
- package/bin/plugin/Catalog.d.ts +42 -0
- package/bin/plugin/Catalog.d.ts.map +1 -0
- package/bin/plugin/Catalog.js +92 -0
- package/bin/plugin/Catalog.js.map +1 -0
- package/bin/plugin/HookRegistry.d.ts +68 -0
- package/bin/plugin/HookRegistry.d.ts.map +1 -0
- package/bin/plugin/HookRegistry.js +186 -0
- package/bin/plugin/HookRegistry.js.map +1 -0
- package/bin/plugin/HttpRoutes.d.ts +22 -0
- package/bin/plugin/HttpRoutes.d.ts.map +1 -0
- package/bin/plugin/HttpRoutes.js +37 -0
- package/bin/plugin/HttpRoutes.js.map +1 -0
- package/bin/plugin/Lifecycle.d.ts +33 -0
- package/bin/plugin/Lifecycle.d.ts.map +1 -0
- package/bin/plugin/Lifecycle.js +102 -0
- package/bin/plugin/Lifecycle.js.map +1 -0
- package/bin/plugin/LocalExecution.d.ts +32 -0
- package/bin/plugin/LocalExecution.d.ts.map +1 -0
- package/bin/plugin/LocalExecution.js +127 -0
- package/bin/plugin/LocalExecution.js.map +1 -0
- package/bin/plugin/PluginCommand.d.ts +13 -0
- package/bin/plugin/PluginCommand.d.ts.map +1 -0
- package/bin/plugin/PluginCommand.js +189 -0
- package/bin/plugin/PluginCommand.js.map +1 -0
- package/bin/plugin/PluginManager.d.ts +24 -0
- package/bin/plugin/PluginManager.d.ts.map +1 -0
- package/bin/plugin/PluginManager.js +62 -0
- package/bin/plugin/PluginManager.js.map +1 -0
- package/bin/plugin/PluginRegistry.d.ts +66 -0
- package/bin/plugin/PluginRegistry.d.ts.map +1 -0
- package/bin/plugin/PluginRegistry.js +184 -0
- package/bin/plugin/PluginRegistry.js.map +1 -0
- package/bin/plugin/Plugins.d.ts +20 -0
- package/bin/plugin/Plugins.d.ts.map +1 -0
- package/bin/plugin/Plugins.js +33 -0
- package/bin/plugin/Plugins.js.map +1 -0
- package/bin/plugin/ProjectConfigStore.d.ts +30 -0
- package/bin/plugin/ProjectConfigStore.d.ts.map +1 -0
- package/bin/plugin/ProjectConfigStore.js +38 -0
- package/bin/plugin/ProjectConfigStore.js.map +1 -0
- package/bin/plugins/asr/Dependency.d.ts +77 -0
- package/bin/plugins/asr/Dependency.d.ts.map +1 -0
- package/bin/plugins/asr/Dependency.js +238 -0
- package/bin/plugins/asr/Dependency.js.map +1 -0
- package/bin/plugins/asr/ModelCatalog.d.ts +29 -0
- package/bin/plugins/asr/ModelCatalog.d.ts.map +1 -0
- package/bin/plugins/asr/ModelCatalog.js +25 -0
- package/bin/plugins/asr/ModelCatalog.js.map +1 -0
- package/bin/plugins/asr/Plugin.d.ts +14 -0
- package/bin/plugins/asr/Plugin.d.ts.map +1 -0
- package/bin/plugins/asr/Plugin.js +586 -0
- package/bin/plugins/asr/Plugin.js.map +1 -0
- package/bin/plugins/auth/Plugin.d.ts +14 -0
- package/bin/plugins/auth/Plugin.d.ts.map +1 -0
- package/bin/plugins/auth/Plugin.js +180 -0
- package/bin/plugins/auth/Plugin.js.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +42 -0
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationConfig.js +264 -0
- package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +31 -0
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js +122 -0
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +29 -0
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +1 -0
- package/bin/plugins/auth/runtime/AuthorizationStore.js +179 -0
- package/bin/plugins/auth/runtime/AuthorizationStore.js.map +1 -0
- package/bin/plugins/skill/Action.d.ts +34 -0
- package/bin/plugins/skill/Action.d.ts.map +1 -0
- package/bin/plugins/skill/Action.js +122 -0
- package/bin/plugins/skill/Action.js.map +1 -0
- package/bin/plugins/skill/Command.d.ts +37 -0
- package/bin/plugins/skill/Command.d.ts.map +1 -0
- package/bin/plugins/skill/Command.js +70 -0
- package/bin/plugins/skill/Command.js.map +1 -0
- package/bin/plugins/skill/Config.d.ts +18 -0
- package/bin/plugins/skill/Config.d.ts.map +1 -0
- package/bin/plugins/skill/Config.js +37 -0
- package/bin/plugins/skill/Config.js.map +1 -0
- package/bin/plugins/skill/PROMPT.txt +10 -0
- package/bin/plugins/skill/Plugin.d.ts +14 -0
- package/bin/plugins/skill/Plugin.d.ts.map +1 -0
- package/bin/plugins/skill/Plugin.js +315 -0
- package/bin/plugins/skill/Plugin.js.map +1 -0
- package/bin/plugins/skill/runtime/Discovery.d.ts +25 -0
- package/bin/plugins/skill/runtime/Discovery.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Discovery.js +130 -0
- package/bin/plugins/skill/runtime/Discovery.js.map +1 -0
- package/bin/plugins/skill/runtime/Frontmatter.d.ts +6 -0
- package/bin/plugins/skill/runtime/Frontmatter.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Frontmatter.js +12 -0
- package/bin/plugins/skill/runtime/Frontmatter.js.map +1 -0
- package/bin/plugins/skill/runtime/Paths.d.ts +16 -0
- package/bin/plugins/skill/runtime/Paths.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Paths.js +111 -0
- package/bin/plugins/skill/runtime/Paths.js.map +1 -0
- package/bin/plugins/skill/runtime/Prompt.d.ts +19 -0
- package/bin/plugins/skill/runtime/Prompt.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Prompt.js +54 -0
- package/bin/plugins/skill/runtime/Prompt.js.map +1 -0
- package/bin/plugins/skill/runtime/Store.d.ts +25 -0
- package/bin/plugins/skill/runtime/Store.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Store.js +81 -0
- package/bin/plugins/skill/runtime/Store.js.map +1 -0
- package/bin/plugins/skill/runtime/SystemProvider.d.ts +24 -0
- package/bin/plugins/skill/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/SystemProvider.js +33 -0
- package/bin/plugins/skill/runtime/SystemProvider.js.map +1 -0
- package/bin/plugins/skill/runtime/Types.d.ts +21 -0
- package/bin/plugins/skill/runtime/Types.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Types.js +2 -0
- package/bin/plugins/skill/runtime/Types.js.map +1 -0
- package/bin/plugins/skill/runtime/Utils.d.ts +4 -0
- package/bin/plugins/skill/runtime/Utils.d.ts.map +1 -0
- package/bin/plugins/skill/runtime/Utils.js +29 -0
- package/bin/plugins/skill/runtime/Utils.js.map +1 -0
- package/bin/plugins/tts/Dependency.d.ts +90 -0
- package/bin/plugins/tts/Dependency.d.ts.map +1 -0
- package/bin/plugins/tts/Dependency.js +344 -0
- package/bin/plugins/tts/Dependency.js.map +1 -0
- package/bin/plugins/tts/Plugin.d.ts +13 -0
- package/bin/plugins/tts/Plugin.d.ts.map +1 -0
- package/bin/plugins/tts/Plugin.js +524 -0
- package/bin/plugins/tts/Plugin.js.map +1 -0
- package/bin/plugins/tts/runtime/Catalog.d.ts +21 -0
- package/bin/plugins/tts/runtime/Catalog.d.ts.map +1 -0
- package/bin/plugins/tts/runtime/Catalog.js +90 -0
- package/bin/plugins/tts/runtime/Catalog.js.map +1 -0
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts +143 -0
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts.map +1 -0
- package/bin/plugins/tts/runtime/DependencyInstaller.js +261 -0
- package/bin/plugins/tts/runtime/DependencyInstaller.js.map +1 -0
- package/bin/plugins/tts/runtime/Installer.d.ts +89 -0
- package/bin/plugins/tts/runtime/Installer.d.ts.map +1 -0
- package/bin/plugins/tts/runtime/Installer.js +188 -0
- package/bin/plugins/tts/runtime/Installer.js.map +1 -0
- package/bin/plugins/tts/runtime/Paths.d.ts +20 -0
- package/bin/plugins/tts/runtime/Paths.d.ts.map +1 -0
- package/bin/plugins/tts/runtime/Paths.js +32 -0
- package/bin/plugins/tts/runtime/Paths.js.map +1 -0
- package/bin/plugins/tts/runtime/Synthesizer.d.ts +44 -0
- package/bin/plugins/tts/runtime/Synthesizer.d.ts.map +1 -0
- package/bin/plugins/tts/runtime/Synthesizer.js +363 -0
- package/bin/plugins/tts/runtime/Synthesizer.js.map +1 -0
- package/bin/plugins/voice/Dependency.d.ts +77 -0
- package/bin/plugins/voice/Dependency.d.ts.map +1 -0
- package/bin/plugins/voice/Dependency.js +237 -0
- package/bin/plugins/voice/Dependency.js.map +1 -0
- package/bin/plugins/voice/ModelCatalog.d.ts +29 -0
- package/bin/plugins/voice/ModelCatalog.d.ts.map +1 -0
- package/bin/plugins/voice/ModelCatalog.js +25 -0
- package/bin/plugins/voice/ModelCatalog.js.map +1 -0
- package/bin/plugins/voice/Plugin.d.ts +14 -0
- package/bin/plugins/voice/Plugin.d.ts.map +1 -0
- package/bin/plugins/voice/Plugin.js +546 -0
- package/bin/plugins/voice/Plugin.js.map +1 -0
- package/bin/plugins/voice/runtime/Catalog.d.ts +18 -0
- package/bin/plugins/voice/runtime/Catalog.d.ts.map +1 -0
- package/bin/plugins/voice/runtime/Catalog.js +61 -0
- package/bin/plugins/voice/runtime/Catalog.js.map +1 -0
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts +145 -0
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts.map +1 -0
- package/bin/plugins/voice/runtime/DependencyInstaller.js +309 -0
- package/bin/plugins/voice/runtime/DependencyInstaller.js.map +1 -0
- package/bin/plugins/voice/runtime/Installer.d.ts +94 -0
- package/bin/plugins/voice/runtime/Installer.d.ts.map +1 -0
- package/bin/plugins/voice/runtime/Installer.js +200 -0
- package/bin/plugins/voice/runtime/Installer.js.map +1 -0
- package/bin/plugins/voice/runtime/Paths.d.ts +8 -0
- package/bin/plugins/voice/runtime/Paths.d.ts.map +1 -0
- package/bin/plugins/voice/runtime/Paths.js +26 -0
- package/bin/plugins/voice/runtime/Paths.js.map +1 -0
- package/bin/plugins/voice/runtime/Transcriber.d.ts +57 -0
- package/bin/plugins/voice/runtime/Transcriber.d.ts.map +1 -0
- package/bin/plugins/voice/runtime/Transcriber.js +329 -0
- package/bin/plugins/voice/runtime/Transcriber.js.map +1 -0
- package/bin/plugins/web/Dependency.d.ts +10 -0
- package/bin/plugins/web/Dependency.d.ts.map +1 -0
- package/bin/plugins/web/Dependency.js +10 -0
- package/bin/plugins/web/Dependency.js.map +1 -0
- package/bin/plugins/web/PROMPT.agent-browser.txt +17 -0
- package/bin/plugins/web/PROMPT.txt +33 -0
- package/bin/plugins/web/PROMPT.web-access.txt +13 -0
- package/bin/plugins/web/Plugin.d.ts +13 -0
- package/bin/plugins/web/Plugin.d.ts.map +1 -0
- package/bin/plugins/web/Plugin.js +482 -0
- package/bin/plugins/web/Plugin.js.map +1 -0
- package/bin/plugins/web/runtime/Config.d.ts +21 -0
- package/bin/plugins/web/runtime/Config.d.ts.map +1 -0
- package/bin/plugins/web/runtime/Config.js +79 -0
- package/bin/plugins/web/runtime/Config.js.map +1 -0
- package/bin/plugins/web/runtime/Source.d.ts +29 -0
- package/bin/plugins/web/runtime/Source.d.ts.map +1 -0
- package/bin/plugins/web/runtime/Source.js +215 -0
- package/bin/plugins/web/runtime/Source.js.map +1 -0
- package/bin/plugins/workboard/Plugin.d.ts +13 -0
- package/bin/plugins/workboard/Plugin.d.ts.map +1 -0
- package/bin/plugins/workboard/Plugin.js +71 -0
- package/bin/plugins/workboard/Plugin.js.map +1 -0
- package/bin/plugins/workboard/runtime/Collector.d.ts +14 -0
- package/bin/plugins/workboard/runtime/Collector.d.ts.map +1 -0
- package/bin/plugins/workboard/runtime/Collector.js +62 -0
- package/bin/plugins/workboard/runtime/Collector.js.map +1 -0
- package/bin/plugins/workboard/runtime/Normalizer.d.ts +61 -0
- package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +1 -0
- package/bin/plugins/workboard/runtime/Normalizer.js +172 -0
- package/bin/plugins/workboard/runtime/Normalizer.js.map +1 -0
- package/bin/plugins/workboard/runtime/Store.d.ts +48 -0
- package/bin/plugins/workboard/runtime/Store.d.ts.map +1 -0
- package/bin/plugins/workboard/runtime/Store.js +84 -0
- package/bin/plugins/workboard/runtime/Store.js.map +1 -0
- package/bin/plugins/workboard/types/Workboard.d.ts +150 -0
- package/bin/plugins/workboard/types/Workboard.d.ts.map +1 -0
- package/bin/plugins/workboard/types/Workboard.js +9 -0
- package/bin/plugins/workboard/types/Workboard.js.map +1 -0
- package/bin/registry/AgentHostRuntime.d.ts +10 -0
- package/bin/registry/AgentHostRuntime.d.ts.map +1 -0
- package/bin/registry/AgentHostRuntime.js +47 -0
- package/bin/registry/AgentHostRuntime.js.map +1 -0
- package/bin/registry/CityPaths.d.ts +61 -0
- package/bin/registry/CityPaths.d.ts.map +1 -0
- package/bin/registry/CityPaths.js +90 -0
- package/bin/registry/CityPaths.js.map +1 -0
- package/bin/registry/CityRegistry.d.ts +51 -0
- package/bin/registry/CityRegistry.d.ts.map +1 -0
- package/bin/registry/CityRegistry.js +217 -0
- package/bin/registry/CityRegistry.js.map +1 -0
- package/bin/registry/CityRuntime.d.ts +21 -0
- package/bin/registry/CityRuntime.d.ts.map +1 -0
- package/bin/registry/CityRuntime.js +45 -0
- package/bin/registry/CityRuntime.js.map +1 -0
- package/bin/registry/PluginRuntime.d.ts +24 -0
- package/bin/registry/PluginRuntime.d.ts.map +1 -0
- package/bin/registry/PluginRuntime.js +31 -0
- package/bin/registry/PluginRuntime.js.map +1 -0
- package/bin/registry/ProcessSweep.d.ts +76 -0
- package/bin/registry/ProcessSweep.d.ts.map +1 -0
- package/bin/registry/ProcessSweep.js +202 -0
- package/bin/registry/ProcessSweep.js.map +1 -0
- package/bin/rpc/Client.d.ts +13 -0
- package/bin/rpc/Client.d.ts.map +1 -0
- package/bin/rpc/Client.js +98 -0
- package/bin/rpc/Client.js.map +1 -0
- package/bin/rpc/Paths.d.ts +14 -0
- package/bin/rpc/Paths.d.ts.map +1 -0
- package/bin/rpc/Paths.js +36 -0
- package/bin/rpc/Paths.js.map +1 -0
- package/bin/rpc/Server.d.ts +18 -0
- package/bin/rpc/Server.d.ts.map +1 -0
- package/bin/rpc/Server.js +307 -0
- package/bin/rpc/Server.js.map +1 -0
- package/bin/rpc/Transport.d.ts +21 -0
- package/bin/rpc/Transport.d.ts.map +1 -0
- package/bin/rpc/Transport.js +30 -0
- package/bin/rpc/Transport.js.map +1 -0
- package/bin/runtime/AgentHostRuntime.d.ts +10 -0
- package/bin/runtime/AgentHostRuntime.d.ts.map +1 -0
- package/bin/runtime/AgentHostRuntime.js +47 -0
- package/bin/runtime/AgentHostRuntime.js.map +1 -0
- package/bin/runtime/CityPaths.d.ts +61 -0
- package/bin/runtime/CityPaths.d.ts.map +1 -0
- package/bin/runtime/CityPaths.js +90 -0
- package/bin/runtime/CityPaths.js.map +1 -0
- package/bin/runtime/CityRegistry.d.ts +51 -0
- package/bin/runtime/CityRegistry.d.ts.map +1 -0
- package/bin/runtime/CityRegistry.js +217 -0
- package/bin/runtime/CityRegistry.js.map +1 -0
- package/bin/runtime/CityRuntime.d.ts +21 -0
- package/bin/runtime/CityRuntime.d.ts.map +1 -0
- package/bin/runtime/CityRuntime.js +45 -0
- package/bin/runtime/CityRuntime.js.map +1 -0
- package/bin/runtime/PluginRuntime.d.ts +24 -0
- package/bin/runtime/PluginRuntime.d.ts.map +1 -0
- package/bin/runtime/PluginRuntime.js +31 -0
- package/bin/runtime/PluginRuntime.js.map +1 -0
- package/bin/runtime/ProcessSweep.d.ts +76 -0
- package/bin/runtime/ProcessSweep.d.ts.map +1 -0
- package/bin/runtime/ProcessSweep.js +202 -0
- package/bin/runtime/ProcessSweep.js.map +1 -0
- package/bin/sandbox/MacOsSeatbeltSandbox.d.ts +16 -0
- package/bin/sandbox/MacOsSeatbeltSandbox.d.ts.map +1 -0
- package/bin/sandbox/MacOsSeatbeltSandbox.js +152 -0
- package/bin/sandbox/MacOsSeatbeltSandbox.js.map +1 -0
- package/bin/sandbox/SandboxConfigResolver.d.ts +31 -0
- package/bin/sandbox/SandboxConfigResolver.d.ts.map +1 -0
- package/bin/sandbox/SandboxConfigResolver.js +113 -0
- package/bin/sandbox/SandboxConfigResolver.js.map +1 -0
- package/bin/sandbox/SandboxRunner.d.ts +46 -0
- package/bin/sandbox/SandboxRunner.d.ts.map +1 -0
- package/bin/sandbox/SandboxRunner.js +70 -0
- package/bin/sandbox/SandboxRunner.js.map +1 -0
- package/bin/service/Manager.d.ts +13 -0
- package/bin/service/Manager.d.ts.map +1 -0
- package/bin/service/Manager.js +12 -0
- package/bin/service/Manager.js.map +1 -0
- package/bin/service/ServiceActionApi.d.ts +15 -0
- package/bin/service/ServiceActionApi.d.ts.map +1 -0
- package/bin/service/ServiceActionApi.js +234 -0
- package/bin/service/ServiceActionApi.js.map +1 -0
- package/bin/service/ServiceActionRunner.d.ts +44 -0
- package/bin/service/ServiceActionRunner.d.ts.map +1 -0
- package/bin/service/ServiceActionRunner.js +211 -0
- package/bin/service/ServiceActionRunner.js.map +1 -0
- package/bin/service/ServiceClassRegistry.d.ts +40 -0
- package/bin/service/ServiceClassRegistry.d.ts.map +1 -0
- package/bin/service/ServiceClassRegistry.js +64 -0
- package/bin/service/ServiceClassRegistry.js.map +1 -0
- package/bin/service/ServiceCommand.d.ts +13 -0
- package/bin/service/ServiceCommand.d.ts.map +1 -0
- package/bin/service/ServiceCommand.js +344 -0
- package/bin/service/ServiceCommand.js.map +1 -0
- package/bin/service/ServiceManager.d.ts +9 -0
- package/bin/service/ServiceManager.d.ts.map +1 -0
- package/bin/service/ServiceManager.js +9 -0
- package/bin/service/ServiceManager.js.map +1 -0
- package/bin/service/ServiceStateController.d.ts +79 -0
- package/bin/service/ServiceStateController.d.ts.map +1 -0
- package/bin/service/ServiceStateController.js +245 -0
- package/bin/service/ServiceStateController.js.map +1 -0
- package/bin/service/ServiceSystemProviders.d.ts +27 -0
- package/bin/service/ServiceSystemProviders.d.ts.map +1 -0
- package/bin/service/ServiceSystemProviders.js +34 -0
- package/bin/service/ServiceSystemProviders.js.map +1 -0
- package/bin/service/Services.d.ts +18 -0
- package/bin/service/Services.d.ts.map +1 -0
- package/bin/service/Services.js +23 -0
- package/bin/service/Services.js.map +1 -0
- package/bin/service/schedule/Executor.d.ts +17 -0
- package/bin/service/schedule/Executor.d.ts.map +1 -0
- package/bin/service/schedule/Executor.js +48 -0
- package/bin/service/schedule/Executor.js.map +1 -0
- package/bin/service/schedule/Runtime.d.ts +17 -0
- package/bin/service/schedule/Runtime.d.ts.map +1 -0
- package/bin/service/schedule/Runtime.js +64 -0
- package/bin/service/schedule/Runtime.js.map +1 -0
- package/bin/service/schedule/Schema.d.ts +171 -0
- package/bin/service/schedule/Schema.d.ts.map +1 -0
- package/bin/service/schedule/Schema.js +26 -0
- package/bin/service/schedule/Schema.js.map +1 -0
- package/bin/service/schedule/Store.d.ts +94 -0
- package/bin/service/schedule/Store.d.ts.map +1 -0
- package/bin/service/schedule/Store.js +266 -0
- package/bin/service/schedule/Store.js.map +1 -0
- package/bin/service/schedule/Time.d.ts +31 -0
- package/bin/service/schedule/Time.d.ts.map +1 -0
- package/bin/service/schedule/Time.js +107 -0
- package/bin/service/schedule/Time.js.map +1 -0
- package/bin/services/BaseService.d.ts +62 -0
- package/bin/services/BaseService.d.ts.map +1 -0
- package/bin/services/BaseService.js +56 -0
- package/bin/services/BaseService.js.map +1 -0
- package/bin/services/chat/Action.d.ts +125 -0
- package/bin/services/chat/Action.d.ts.map +1 -0
- package/bin/services/chat/Action.js +376 -0
- package/bin/services/chat/Action.js.map +1 -0
- package/bin/services/chat/ChatService.d.ts +63 -0
- package/bin/services/chat/ChatService.d.ts.map +1 -0
- package/bin/services/chat/ChatService.js +96 -0
- package/bin/services/chat/ChatService.js.map +1 -0
- package/bin/services/chat/Index.d.ts +9 -0
- package/bin/services/chat/Index.d.ts.map +1 -0
- package/bin/services/chat/Index.js +9 -0
- package/bin/services/chat/Index.js.map +1 -0
- package/bin/services/chat/PROMPT.direct.txt +55 -0
- package/bin/services/chat/accounts/ChannelAccountService.d.ts +60 -0
- package/bin/services/chat/accounts/ChannelAccountService.d.ts.map +1 -0
- package/bin/services/chat/accounts/ChannelAccountService.js +285 -0
- package/bin/services/chat/accounts/ChannelAccountService.js.map +1 -0
- package/bin/services/chat/channels/BaseChatChannel.d.ts +201 -0
- package/bin/services/chat/channels/BaseChatChannel.d.ts.map +1 -0
- package/bin/services/chat/channels/BaseChatChannel.js +294 -0
- package/bin/services/chat/channels/BaseChatChannel.js.map +1 -0
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts +73 -0
- package/bin/services/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
- package/bin/services/chat/channels/BaseChatChannelQueue.js +238 -0
- package/bin/services/chat/channels/BaseChatChannelQueue.js.map +1 -0
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts +189 -0
- package/bin/services/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
- package/bin/services/chat/channels/BaseChatChannelSupport.js +141 -0
- package/bin/services/chat/channels/BaseChatChannelSupport.js.map +1 -0
- package/bin/services/chat/channels/BotInfoProvider.d.ts +18 -0
- package/bin/services/chat/channels/BotInfoProvider.d.ts.map +1 -0
- package/bin/services/chat/channels/BotInfoProvider.js +32 -0
- package/bin/services/chat/channels/BotInfoProvider.js.map +1 -0
- package/bin/services/chat/channels/Configuration.d.ts +27 -0
- package/bin/services/chat/channels/Configuration.d.ts.map +1 -0
- package/bin/services/chat/channels/Configuration.js +19 -0
- package/bin/services/chat/channels/Configuration.js.map +1 -0
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts +18 -0
- package/bin/services/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
- package/bin/services/chat/channels/ConfigurationRegistry.js +31 -0
- package/bin/services/chat/channels/ConfigurationRegistry.js.map +1 -0
- package/bin/services/chat/channels/feishu/BotInfo.d.ts +20 -0
- package/bin/services/chat/channels/feishu/BotInfo.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/BotInfo.js +147 -0
- package/bin/services/chat/channels/feishu/BotInfo.js.map +1 -0
- package/bin/services/chat/channels/feishu/Configuration.d.ts +17 -0
- package/bin/services/chat/channels/feishu/Configuration.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/Configuration.js +59 -0
- package/bin/services/chat/channels/feishu/Configuration.js.map +1 -0
- package/bin/services/chat/channels/feishu/Feishu.d.ts +116 -0
- package/bin/services/chat/channels/feishu/Feishu.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/Feishu.js +458 -0
- package/bin/services/chat/channels/feishu/Feishu.js.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts +21 -0
- package/bin/services/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuInbound.js +43 -0
- package/bin/services/chat/channels/feishu/FeishuInbound.js.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.js +316 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js +299 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js +139 -0
- package/bin/services/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts +31 -0
- package/bin/services/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/InboundAttachment.js +222 -0
- package/bin/services/chat/channels/feishu/InboundAttachment.js.map +1 -0
- package/bin/services/chat/channels/feishu/PROMPT.direct.txt +5 -0
- package/bin/services/chat/channels/feishu/PostMessage.d.ts +48 -0
- package/bin/services/chat/channels/feishu/PostMessage.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/PostMessage.js +413 -0
- package/bin/services/chat/channels/feishu/PostMessage.js.map +1 -0
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts +18 -0
- package/bin/services/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/ReplyContext.js +56 -0
- package/bin/services/chat/channels/feishu/ReplyContext.js.map +1 -0
- package/bin/services/chat/channels/feishu/Shared.d.ts +21 -0
- package/bin/services/chat/channels/feishu/Shared.d.ts.map +1 -0
- package/bin/services/chat/channels/feishu/Shared.js +69 -0
- package/bin/services/chat/channels/feishu/Shared.js.map +1 -0
- package/bin/services/chat/channels/qq/BotInfo.d.ts +19 -0
- package/bin/services/chat/channels/qq/BotInfo.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/BotInfo.js +112 -0
- package/bin/services/chat/channels/qq/BotInfo.js.map +1 -0
- package/bin/services/chat/channels/qq/Configuration.d.ts +17 -0
- package/bin/services/chat/channels/qq/Configuration.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/Configuration.js +59 -0
- package/bin/services/chat/channels/qq/Configuration.js.map +1 -0
- package/bin/services/chat/channels/qq/PROMPT.direct.txt +11 -0
- package/bin/services/chat/channels/qq/QQ.d.ts +92 -0
- package/bin/services/chat/channels/qq/QQ.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQ.js +485 -0
- package/bin/services/chat/channels/qq/QQ.js.map +1 -0
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts +22 -0
- package/bin/services/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQEventCapture.js +67 -0
- package/bin/services/chat/channels/qq/QQEventCapture.js.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
- package/bin/services/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewayAuth.js +186 -0
- package/bin/services/chat/channels/qq/QQGatewayAuth.js.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts +179 -0
- package/bin/services/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewayClient.js +540 -0
- package/bin/services/chat/channels/qq/QQGatewayClient.js.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts +84 -0
- package/bin/services/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewaySend.js +120 -0
- package/bin/services/chat/channels/qq/QQGatewaySend.js.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
- package/bin/services/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQGatewaySupport.js +137 -0
- package/bin/services/chat/channels/qq/QQGatewaySupport.js.map +1 -0
- package/bin/services/chat/channels/qq/QQInbound.d.ts +47 -0
- package/bin/services/chat/channels/qq/QQInbound.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQInbound.js +235 -0
- package/bin/services/chat/channels/qq/QQInbound.js.map +1 -0
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts +48 -0
- package/bin/services/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQInboundDedupe.js +108 -0
- package/bin/services/chat/channels/qq/QQInboundDedupe.js.map +1 -0
- package/bin/services/chat/channels/qq/QQSendSupport.d.ts +20 -0
- package/bin/services/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQSendSupport.js +86 -0
- package/bin/services/chat/channels/qq/QQSendSupport.js.map +1 -0
- package/bin/services/chat/channels/qq/QQSupport.d.ts +102 -0
- package/bin/services/chat/channels/qq/QQSupport.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/QQSupport.js +172 -0
- package/bin/services/chat/channels/qq/QQSupport.js.map +1 -0
- package/bin/services/chat/channels/qq/VoiceInput.d.ts +64 -0
- package/bin/services/chat/channels/qq/VoiceInput.d.ts.map +1 -0
- package/bin/services/chat/channels/qq/VoiceInput.js +299 -0
- package/bin/services/chat/channels/qq/VoiceInput.js.map +1 -0
- package/bin/services/chat/channels/telegram/ApiClient.d.ts +99 -0
- package/bin/services/chat/channels/telegram/ApiClient.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/ApiClient.js +306 -0
- package/bin/services/chat/channels/telegram/ApiClient.js.map +1 -0
- package/bin/services/chat/channels/telegram/Bot.d.ts +97 -0
- package/bin/services/chat/channels/telegram/Bot.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/Bot.js +504 -0
- package/bin/services/chat/channels/telegram/Bot.js.map +1 -0
- package/bin/services/chat/channels/telegram/BotInfo.d.ts +19 -0
- package/bin/services/chat/channels/telegram/BotInfo.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/BotInfo.js +71 -0
- package/bin/services/chat/channels/telegram/BotInfo.js.map +1 -0
- package/bin/services/chat/channels/telegram/Configuration.d.ts +17 -0
- package/bin/services/chat/channels/telegram/Configuration.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/Configuration.js +59 -0
- package/bin/services/chat/channels/telegram/Configuration.js.map +1 -0
- package/bin/services/chat/channels/telegram/Handlers.d.ts +42 -0
- package/bin/services/chat/channels/telegram/Handlers.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/Handlers.js +45 -0
- package/bin/services/chat/channels/telegram/Handlers.js.map +1 -0
- package/bin/services/chat/channels/telegram/PROMPT.direct.txt +1 -0
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts +14 -0
- package/bin/services/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/ReplyContext.js +57 -0
- package/bin/services/chat/channels/telegram/ReplyContext.js.map +1 -0
- package/bin/services/chat/channels/telegram/Shared.d.ts +221 -0
- package/bin/services/chat/channels/telegram/Shared.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/Shared.js +171 -0
- package/bin/services/chat/channels/telegram/Shared.js.map +1 -0
- package/bin/services/chat/channels/telegram/StateStore.d.ts +27 -0
- package/bin/services/chat/channels/telegram/StateStore.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/StateStore.js +53 -0
- package/bin/services/chat/channels/telegram/StateStore.js.map +1 -0
- package/bin/services/chat/channels/telegram/TelegramInbound.d.ts +46 -0
- package/bin/services/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/TelegramInbound.js +148 -0
- package/bin/services/chat/channels/telegram/TelegramInbound.js.map +1 -0
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.js +366 -0
- package/bin/services/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
- package/bin/services/chat/runtime/ChannelContextStore.d.ts +78 -0
- package/bin/services/chat/runtime/ChannelContextStore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChannelContextStore.js +336 -0
- package/bin/services/chat/runtime/ChannelContextStore.js.map +1 -0
- package/bin/services/chat/runtime/ChatActionExecution.d.ts +145 -0
- package/bin/services/chat/runtime/ChatActionExecution.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatActionExecution.js +287 -0
- package/bin/services/chat/runtime/ChatActionExecution.js.map +1 -0
- package/bin/services/chat/runtime/ChatActionInput.d.ts +63 -0
- package/bin/services/chat/runtime/ChatActionInput.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatActionInput.js +458 -0
- package/bin/services/chat/runtime/ChatActionInput.js.map +1 -0
- package/bin/services/chat/runtime/ChatChannelActions.d.ts +122 -0
- package/bin/services/chat/runtime/ChatChannelActions.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatChannelActions.js +237 -0
- package/bin/services/chat/runtime/ChatChannelActions.js.map +1 -0
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts +61 -0
- package/bin/services/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatChannelConfig.js +265 -0
- package/bin/services/chat/runtime/ChatChannelConfig.js.map +1 -0
- package/bin/services/chat/runtime/ChatChannelCore.d.ts +41 -0
- package/bin/services/chat/runtime/ChatChannelCore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatChannelCore.js +92 -0
- package/bin/services/chat/runtime/ChatChannelCore.js.map +1 -0
- package/bin/services/chat/runtime/ChatChannelFacade.d.ts +12 -0
- package/bin/services/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatChannelFacade.js +12 -0
- package/bin/services/chat/runtime/ChatChannelFacade.js.map +1 -0
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
- package/bin/services/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatChannelLifecycle.js +132 -0
- package/bin/services/chat/runtime/ChatChannelLifecycle.js.map +1 -0
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts +72 -0
- package/bin/services/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatHistoryStore.js +219 -0
- package/bin/services/chat/runtime/ChatHistoryStore.js.map +1 -0
- package/bin/services/chat/runtime/ChatIngressStore.d.ts +52 -0
- package/bin/services/chat/runtime/ChatIngressStore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatIngressStore.js +65 -0
- package/bin/services/chat/runtime/ChatIngressStore.js.map +1 -0
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts +54 -0
- package/bin/services/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatMessageMarkup.js +233 -0
- package/bin/services/chat/runtime/ChatMessageMarkup.js.map +1 -0
- package/bin/services/chat/runtime/ChatMetaStore.d.ts +68 -0
- package/bin/services/chat/runtime/ChatMetaStore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatMetaStore.js +143 -0
- package/bin/services/chat/runtime/ChatMetaStore.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueue.d.ts +40 -0
- package/bin/services/chat/runtime/ChatQueue.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueue.js +52 -0
- package/bin/services/chat/runtime/ChatQueue.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts +31 -0
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.js +168 -0
- package/bin/services/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts +55 -0
- package/bin/services/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js +98 -0
- package/bin/services/chat/runtime/ChatQueueSessionBridge.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueueStore.d.ts +85 -0
- package/bin/services/chat/runtime/ChatQueueStore.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueueStore.js +130 -0
- package/bin/services/chat/runtime/ChatQueueStore.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts +88 -0
- package/bin/services/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueueWorker.js +435 -0
- package/bin/services/chat/runtime/ChatQueueWorker.js.map +1 -0
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.js +101 -0
- package/bin/services/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts +20 -0
- package/bin/services/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatSendMetadata.js +130 -0
- package/bin/services/chat/runtime/ChatSendMetadata.js.map +1 -0
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts +27 -0
- package/bin/services/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatSendRegistry.js +26 -0
- package/bin/services/chat/runtime/ChatSendRegistry.js.map +1 -0
- package/bin/services/chat/runtime/ChatServiceActions.d.ts +17 -0
- package/bin/services/chat/runtime/ChatServiceActions.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatServiceActions.js +411 -0
- package/bin/services/chat/runtime/ChatServiceActions.js.map +1 -0
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts +22 -0
- package/bin/services/chat/runtime/ChatServiceSystem.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatServiceSystem.js +87 -0
- package/bin/services/chat/runtime/ChatServiceSystem.js.map +1 -0
- package/bin/services/chat/runtime/ChatSession.d.ts +73 -0
- package/bin/services/chat/runtime/ChatSession.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatSession.js +78 -0
- package/bin/services/chat/runtime/ChatSession.js.map +1 -0
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts +29 -0
- package/bin/services/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatSessionDelete.js +76 -0
- package/bin/services/chat/runtime/ChatSessionDelete.js.map +1 -0
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts +45 -0
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js +60 -0
- package/bin/services/chat/runtime/ChatSessionExecutionComposer.js.map +1 -0
- package/bin/services/chat/runtime/ChatkeySend.d.ts +67 -0
- package/bin/services/chat/runtime/ChatkeySend.d.ts.map +1 -0
- package/bin/services/chat/runtime/ChatkeySend.js +147 -0
- package/bin/services/chat/runtime/ChatkeySend.js.map +1 -0
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts +22 -0
- package/bin/services/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
- package/bin/services/chat/runtime/DirectDispatchParser.js +133 -0
- package/bin/services/chat/runtime/DirectDispatchParser.js.map +1 -0
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts +24 -0
- package/bin/services/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
- package/bin/services/chat/runtime/EnqueueDispatch.js +28 -0
- package/bin/services/chat/runtime/EnqueueDispatch.js.map +1 -0
- package/bin/services/chat/runtime/InboundAugment.d.ts +21 -0
- package/bin/services/chat/runtime/InboundAugment.d.ts.map +1 -0
- package/bin/services/chat/runtime/InboundAugment.js +50 -0
- package/bin/services/chat/runtime/InboundAugment.js.map +1 -0
- package/bin/services/chat/runtime/PluginDispatch.d.ts +43 -0
- package/bin/services/chat/runtime/PluginDispatch.d.ts.map +1 -0
- package/bin/services/chat/runtime/PluginDispatch.js +57 -0
- package/bin/services/chat/runtime/PluginDispatch.js.map +1 -0
- package/bin/services/chat/runtime/PluginPoints.d.ts +78 -0
- package/bin/services/chat/runtime/PluginPoints.d.ts.map +1 -0
- package/bin/services/chat/runtime/PluginPoints.js +78 -0
- package/bin/services/chat/runtime/PluginPoints.js.map +1 -0
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts +20 -0
- package/bin/services/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
- package/bin/services/chat/runtime/QueuedUserMessage.js +40 -0
- package/bin/services/chat/runtime/QueuedUserMessage.js.map +1 -0
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts +29 -0
- package/bin/services/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
- package/bin/services/chat/runtime/ReplyContextFormatter.js +74 -0
- package/bin/services/chat/runtime/ReplyContextFormatter.js.map +1 -0
- package/bin/services/chat/runtime/ReplyDispatch.d.ts +36 -0
- package/bin/services/chat/runtime/ReplyDispatch.d.ts.map +1 -0
- package/bin/services/chat/runtime/ReplyDispatch.js +51 -0
- package/bin/services/chat/runtime/ReplyDispatch.js.map +1 -0
- package/bin/services/chat/runtime/SystemPrompt.d.ts +26 -0
- package/bin/services/chat/runtime/SystemPrompt.d.ts.map +1 -0
- package/bin/services/chat/runtime/SystemPrompt.js +70 -0
- package/bin/services/chat/runtime/SystemPrompt.js.map +1 -0
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts +24 -0
- package/bin/services/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
- package/bin/services/chat/runtime/UIMessageTransformer.js +102 -0
- package/bin/services/chat/runtime/UIMessageTransformer.js.map +1 -0
- package/bin/services/chat/runtime/UserVisibleText.d.ts +34 -0
- package/bin/services/chat/runtime/UserVisibleText.d.ts.map +1 -0
- package/bin/services/chat/runtime/UserVisibleText.js +73 -0
- package/bin/services/chat/runtime/UserVisibleText.js.map +1 -0
- package/bin/services/chat/types/BotInfo.d.ts +97 -0
- package/bin/services/chat/types/BotInfo.d.ts.map +1 -0
- package/bin/services/chat/types/BotInfo.js +9 -0
- package/bin/services/chat/types/BotInfo.js.map +1 -0
- package/bin/services/chat/types/ChannelAccount.d.ts +226 -0
- package/bin/services/chat/types/ChannelAccount.d.ts.map +1 -0
- package/bin/services/chat/types/ChannelAccount.js +9 -0
- package/bin/services/chat/types/ChannelAccount.js.map +1 -0
- package/bin/services/chat/types/ChannelConfiguration.d.ts +146 -0
- package/bin/services/chat/types/ChannelConfiguration.d.ts.map +1 -0
- package/bin/services/chat/types/ChannelConfiguration.js +9 -0
- package/bin/services/chat/types/ChannelConfiguration.js.map +1 -0
- package/bin/services/chat/types/ChannelContext.d.ts +107 -0
- package/bin/services/chat/types/ChannelContext.d.ts.map +1 -0
- package/bin/services/chat/types/ChannelContext.js +9 -0
- package/bin/services/chat/types/ChannelContext.js.map +1 -0
- package/bin/services/chat/types/ChannelStatus.d.ts +88 -0
- package/bin/services/chat/types/ChannelStatus.d.ts.map +1 -0
- package/bin/services/chat/types/ChannelStatus.js +9 -0
- package/bin/services/chat/types/ChannelStatus.js.map +1 -0
- package/bin/services/chat/types/ChatCommand.d.ts +163 -0
- package/bin/services/chat/types/ChatCommand.d.ts.map +1 -0
- package/bin/services/chat/types/ChatCommand.js +9 -0
- package/bin/services/chat/types/ChatCommand.js.map +1 -0
- package/bin/services/chat/types/ChatDispatcher.d.ts +37 -0
- package/bin/services/chat/types/ChatDispatcher.d.ts.map +1 -0
- package/bin/services/chat/types/ChatDispatcher.js +9 -0
- package/bin/services/chat/types/ChatDispatcher.js.map +1 -0
- package/bin/services/chat/types/ChatHistory.d.ts +36 -0
- package/bin/services/chat/types/ChatHistory.d.ts.map +1 -0
- package/bin/services/chat/types/ChatHistory.js +9 -0
- package/bin/services/chat/types/ChatHistory.js.map +1 -0
- package/bin/services/chat/types/ChatMessageMarkup.d.ts +144 -0
- package/bin/services/chat/types/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/services/chat/types/ChatMessageMarkup.js +9 -0
- package/bin/services/chat/types/ChatMessageMarkup.js.map +1 -0
- package/bin/services/chat/types/ChatMeta.d.ts +34 -0
- package/bin/services/chat/types/ChatMeta.d.ts.map +1 -0
- package/bin/services/chat/types/ChatMeta.js +10 -0
- package/bin/services/chat/types/ChatMeta.js.map +1 -0
- package/bin/services/chat/types/ChatQueue.d.ts +44 -0
- package/bin/services/chat/types/ChatQueue.d.ts.map +1 -0
- package/bin/services/chat/types/ChatQueue.js +9 -0
- package/bin/services/chat/types/ChatQueue.js.map +1 -0
- package/bin/services/chat/types/DirectDispatch.d.ts +115 -0
- package/bin/services/chat/types/DirectDispatch.d.ts.map +1 -0
- package/bin/services/chat/types/DirectDispatch.js +9 -0
- package/bin/services/chat/types/DirectDispatch.js.map +1 -0
- package/bin/services/chat/types/FeishuAttachment.d.ts +42 -0
- package/bin/services/chat/types/FeishuAttachment.d.ts.map +1 -0
- package/bin/services/chat/types/FeishuAttachment.js +9 -0
- package/bin/services/chat/types/FeishuAttachment.js.map +1 -0
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts +114 -0
- package/bin/services/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
- package/bin/services/chat/types/FeishuInboundAttachment.js +9 -0
- package/bin/services/chat/types/FeishuInboundAttachment.js.map +1 -0
- package/bin/services/chat/types/FeishuPost.d.ts +287 -0
- package/bin/services/chat/types/FeishuPost.d.ts.map +1 -0
- package/bin/services/chat/types/FeishuPost.js +9 -0
- package/bin/services/chat/types/FeishuPost.js.map +1 -0
- package/bin/services/chat/types/QqInboundDedupe.d.ts +12 -0
- package/bin/services/chat/types/QqInboundDedupe.d.ts.map +1 -0
- package/bin/services/chat/types/QqInboundDedupe.js +2 -0
- package/bin/services/chat/types/QqInboundDedupe.js.map +1 -0
- package/bin/services/chat/types/QqVoice.d.ts +118 -0
- package/bin/services/chat/types/QqVoice.d.ts.map +1 -0
- package/bin/services/chat/types/QqVoice.js +9 -0
- package/bin/services/chat/types/QqVoice.js.map +1 -0
- package/bin/services/chat/types/ReplyContext.d.ts +46 -0
- package/bin/services/chat/types/ReplyContext.d.ts.map +1 -0
- package/bin/services/chat/types/ReplyContext.js +10 -0
- package/bin/services/chat/types/ReplyContext.js.map +1 -0
- package/bin/services/contact/Action.d.ts +9 -0
- package/bin/services/contact/Action.d.ts.map +1 -0
- package/bin/services/contact/Action.js +9 -0
- package/bin/services/contact/Action.js.map +1 -0
- package/bin/services/contact/ContactService.d.ts +39 -0
- package/bin/services/contact/ContactService.d.ts.map +1 -0
- package/bin/services/contact/ContactService.js +683 -0
- package/bin/services/contact/ContactService.js.map +1 -0
- package/bin/services/contact/Index.d.ts +8 -0
- package/bin/services/contact/Index.d.ts.map +1 -0
- package/bin/services/contact/Index.js +8 -0
- package/bin/services/contact/Index.js.map +1 -0
- package/bin/services/contact/PROMPT.txt +25 -0
- package/bin/services/contact/runtime/ApproveCallback.d.ts +23 -0
- package/bin/services/contact/runtime/ApproveCallback.d.ts.map +1 -0
- package/bin/services/contact/runtime/ApproveCallback.js +83 -0
- package/bin/services/contact/runtime/ApproveCallback.js.map +1 -0
- package/bin/services/contact/runtime/ChatRuntime.d.ts +27 -0
- package/bin/services/contact/runtime/ChatRuntime.d.ts.map +1 -0
- package/bin/services/contact/runtime/ChatRuntime.js +59 -0
- package/bin/services/contact/runtime/ChatRuntime.js.map +1 -0
- package/bin/services/contact/runtime/ContactStore.d.ts +49 -0
- package/bin/services/contact/runtime/ContactStore.d.ts.map +1 -0
- package/bin/services/contact/runtime/ContactStore.js +255 -0
- package/bin/services/contact/runtime/ContactStore.js.map +1 -0
- package/bin/services/contact/runtime/EndpointNotice.d.ts +39 -0
- package/bin/services/contact/runtime/EndpointNotice.d.ts.map +1 -0
- package/bin/services/contact/runtime/EndpointNotice.js +98 -0
- package/bin/services/contact/runtime/EndpointNotice.js.map +1 -0
- package/bin/services/contact/runtime/EndpointResolver.d.ts +36 -0
- package/bin/services/contact/runtime/EndpointResolver.d.ts.map +1 -0
- package/bin/services/contact/runtime/EndpointResolver.js +113 -0
- package/bin/services/contact/runtime/EndpointResolver.js.map +1 -0
- package/bin/services/contact/runtime/InboxStore.d.ts +33 -0
- package/bin/services/contact/runtime/InboxStore.d.ts.map +1 -0
- package/bin/services/contact/runtime/InboxStore.js +142 -0
- package/bin/services/contact/runtime/InboxStore.js.map +1 -0
- package/bin/services/contact/runtime/LinkApproval.d.ts +20 -0
- package/bin/services/contact/runtime/LinkApproval.d.ts.map +1 -0
- package/bin/services/contact/runtime/LinkApproval.js +317 -0
- package/bin/services/contact/runtime/LinkApproval.js.map +1 -0
- package/bin/services/contact/runtime/LinkCode.d.ts +21 -0
- package/bin/services/contact/runtime/LinkCode.d.ts.map +1 -0
- package/bin/services/contact/runtime/LinkCode.js +61 -0
- package/bin/services/contact/runtime/LinkCode.js.map +1 -0
- package/bin/services/contact/runtime/LinkStore.d.ts +17 -0
- package/bin/services/contact/runtime/LinkStore.d.ts.map +1 -0
- package/bin/services/contact/runtime/LinkStore.js +39 -0
- package/bin/services/contact/runtime/LinkStore.js.map +1 -0
- package/bin/services/contact/runtime/Paths.d.ts +64 -0
- package/bin/services/contact/runtime/Paths.d.ts.map +1 -0
- package/bin/services/contact/runtime/Paths.js +103 -0
- package/bin/services/contact/runtime/Paths.js.map +1 -0
- package/bin/services/contact/runtime/RemoteClient.d.ts +46 -0
- package/bin/services/contact/runtime/RemoteClient.d.ts.map +1 -0
- package/bin/services/contact/runtime/RemoteClient.js +102 -0
- package/bin/services/contact/runtime/RemoteClient.js.map +1 -0
- package/bin/services/contact/runtime/ShareBundle.d.ts +65 -0
- package/bin/services/contact/runtime/ShareBundle.d.ts.map +1 -0
- package/bin/services/contact/runtime/ShareBundle.js +185 -0
- package/bin/services/contact/runtime/ShareBundle.js.map +1 -0
- package/bin/services/contact/runtime/SystemProvider.d.ts +12 -0
- package/bin/services/contact/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/services/contact/runtime/SystemProvider.js +21 -0
- package/bin/services/contact/runtime/SystemProvider.js.map +1 -0
- package/bin/services/contact/runtime/Token.d.ts +24 -0
- package/bin/services/contact/runtime/Token.d.ts.map +1 -0
- package/bin/services/contact/runtime/Token.js +36 -0
- package/bin/services/contact/runtime/Token.js.map +1 -0
- package/bin/services/memory/Action.d.ts +41 -0
- package/bin/services/memory/Action.d.ts.map +1 -0
- package/bin/services/memory/Action.js +149 -0
- package/bin/services/memory/Action.js.map +1 -0
- package/bin/services/memory/Index.d.ts +9 -0
- package/bin/services/memory/Index.d.ts.map +1 -0
- package/bin/services/memory/Index.js +9 -0
- package/bin/services/memory/Index.js.map +1 -0
- package/bin/services/memory/MemoryService.d.ts +45 -0
- package/bin/services/memory/MemoryService.d.ts.map +1 -0
- package/bin/services/memory/MemoryService.js +299 -0
- package/bin/services/memory/MemoryService.js.map +1 -0
- package/bin/services/memory/runtime/Flush.d.ts +15 -0
- package/bin/services/memory/runtime/Flush.d.ts.map +1 -0
- package/bin/services/memory/runtime/Flush.js +63 -0
- package/bin/services/memory/runtime/Flush.js.map +1 -0
- package/bin/services/memory/runtime/Indexer.d.ts +71 -0
- package/bin/services/memory/runtime/Indexer.d.ts.map +1 -0
- package/bin/services/memory/runtime/Indexer.js +345 -0
- package/bin/services/memory/runtime/Indexer.js.map +1 -0
- package/bin/services/memory/runtime/Search.d.ts +15 -0
- package/bin/services/memory/runtime/Search.d.ts.map +1 -0
- package/bin/services/memory/runtime/Search.js +64 -0
- package/bin/services/memory/runtime/Search.js.map +1 -0
- package/bin/services/memory/runtime/Store.d.ts +106 -0
- package/bin/services/memory/runtime/Store.d.ts.map +1 -0
- package/bin/services/memory/runtime/Store.js +262 -0
- package/bin/services/memory/runtime/Store.js.map +1 -0
- package/bin/services/memory/runtime/SystemProvider.d.ts +22 -0
- package/bin/services/memory/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/services/memory/runtime/SystemProvider.js +126 -0
- package/bin/services/memory/runtime/SystemProvider.js.map +1 -0
- package/bin/services/memory/runtime/Writer.d.ts +23 -0
- package/bin/services/memory/runtime/Writer.d.ts.map +1 -0
- package/bin/services/memory/runtime/Writer.js +140 -0
- package/bin/services/memory/runtime/Writer.js.map +1 -0
- package/bin/services/memory/types/Memory.d.ts +318 -0
- package/bin/services/memory/types/Memory.d.ts.map +1 -0
- package/bin/services/memory/types/Memory.js +9 -0
- package/bin/services/memory/types/Memory.js.map +1 -0
- package/bin/services/shell/Index.d.ts +9 -0
- package/bin/services/shell/Index.d.ts.map +1 -0
- package/bin/services/shell/Index.js +9 -0
- package/bin/services/shell/Index.js.map +1 -0
- package/bin/services/shell/ShellService.d.ts +65 -0
- package/bin/services/shell/ShellService.d.ts.map +1 -0
- package/bin/services/shell/ShellService.js +138 -0
- package/bin/services/shell/ShellService.js.map +1 -0
- package/bin/services/shell/runtime/Paths.d.ts +12 -0
- package/bin/services/shell/runtime/Paths.d.ts.map +1 -0
- package/bin/services/shell/runtime/Paths.js +21 -0
- package/bin/services/shell/runtime/Paths.js.map +1 -0
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts +49 -0
- package/bin/services/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
- package/bin/services/shell/runtime/ShellActionRuntime.js +463 -0
- package/bin/services/shell/runtime/ShellActionRuntime.js.map +1 -0
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts +107 -0
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js +452 -0
- package/bin/services/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
- package/bin/services/shell/types/ShellService.d.ts +216 -0
- package/bin/services/shell/types/ShellService.d.ts.map +1 -0
- package/bin/services/shell/types/ShellService.js +9 -0
- package/bin/services/shell/types/ShellService.js.map +1 -0
- package/bin/services/task/Action.d.ts +36 -0
- package/bin/services/task/Action.d.ts.map +1 -0
- package/bin/services/task/Action.js +407 -0
- package/bin/services/task/Action.js.map +1 -0
- package/bin/services/task/Index.d.ts +9 -0
- package/bin/services/task/Index.d.ts.map +1 -0
- package/bin/services/task/Index.js +9 -0
- package/bin/services/task/Index.js.map +1 -0
- package/bin/services/task/PROMPT.txt +237 -0
- package/bin/services/task/Scheduler.d.ts +17 -0
- package/bin/services/task/Scheduler.d.ts.map +1 -0
- package/bin/services/task/Scheduler.js +231 -0
- package/bin/services/task/Scheduler.js.map +1 -0
- package/bin/services/task/TaskService.d.ts +57 -0
- package/bin/services/task/TaskService.d.ts.map +1 -0
- package/bin/services/task/TaskService.js +126 -0
- package/bin/services/task/TaskService.js.map +1 -0
- package/bin/services/task/runtime/CronRuntime.d.ts +34 -0
- package/bin/services/task/runtime/CronRuntime.d.ts.map +1 -0
- package/bin/services/task/runtime/CronRuntime.js +59 -0
- package/bin/services/task/runtime/CronRuntime.js.map +1 -0
- package/bin/services/task/runtime/CronTrigger.d.ts +19 -0
- package/bin/services/task/runtime/CronTrigger.d.ts.map +1 -0
- package/bin/services/task/runtime/CronTrigger.js +93 -0
- package/bin/services/task/runtime/CronTrigger.js.map +1 -0
- package/bin/services/task/runtime/Frontmatter.d.ts +13 -0
- package/bin/services/task/runtime/Frontmatter.d.ts.map +1 -0
- package/bin/services/task/runtime/Frontmatter.js +19 -0
- package/bin/services/task/runtime/Frontmatter.js.map +1 -0
- package/bin/services/task/runtime/Model.d.ts +73 -0
- package/bin/services/task/runtime/Model.d.ts.map +1 -0
- package/bin/services/task/runtime/Model.js +312 -0
- package/bin/services/task/runtime/Model.js.map +1 -0
- package/bin/services/task/runtime/Paths.d.ts +32 -0
- package/bin/services/task/runtime/Paths.d.ts.map +1 -0
- package/bin/services/task/runtime/Paths.js +103 -0
- package/bin/services/task/runtime/Paths.js.map +1 -0
- package/bin/services/task/runtime/Runner.d.ts +43 -0
- package/bin/services/task/runtime/Runner.d.ts.map +1 -0
- package/bin/services/task/runtime/Runner.js +482 -0
- package/bin/services/task/runtime/Runner.js.map +1 -0
- package/bin/services/task/runtime/Store.d.ts +89 -0
- package/bin/services/task/runtime/Store.d.ts.map +1 -0
- package/bin/services/task/runtime/Store.js +206 -0
- package/bin/services/task/runtime/Store.js.map +1 -0
- package/bin/services/task/runtime/TaskActionExecution.d.ts +160 -0
- package/bin/services/task/runtime/TaskActionExecution.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskActionExecution.js +192 -0
- package/bin/services/task/runtime/TaskActionExecution.js.map +1 -0
- package/bin/services/task/runtime/TaskActionInput.d.ts +48 -0
- package/bin/services/task/runtime/TaskActionInput.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskActionInput.js +357 -0
- package/bin/services/task/runtime/TaskActionInput.js.map +1 -0
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts +189 -0
- package/bin/services/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskRunArtifacts.js +271 -0
- package/bin/services/task/runtime/TaskRunArtifacts.js.map +1 -0
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts +22 -0
- package/bin/services/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskRunChatDispatch.js +66 -0
- package/bin/services/task/runtime/TaskRunChatDispatch.js.map +1 -0
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts +35 -0
- package/bin/services/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskRunnerProgress.js +95 -0
- package/bin/services/task/runtime/TaskRunnerProgress.js.map +1 -0
- package/bin/services/task/runtime/TaskRunnerRound.d.ts +80 -0
- package/bin/services/task/runtime/TaskRunnerRound.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskRunnerRound.js +272 -0
- package/bin/services/task/runtime/TaskRunnerRound.js.map +1 -0
- package/bin/services/task/runtime/TaskRunnerSession.d.ts +45 -0
- package/bin/services/task/runtime/TaskRunnerSession.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskRunnerSession.js +138 -0
- package/bin/services/task/runtime/TaskRunnerSession.js.map +1 -0
- package/bin/services/task/runtime/TaskServiceActions.d.ts +16 -0
- package/bin/services/task/runtime/TaskServiceActions.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskServiceActions.js +195 -0
- package/bin/services/task/runtime/TaskServiceActions.js.map +1 -0
- package/bin/services/task/runtime/TaskServiceSystem.d.ts +12 -0
- package/bin/services/task/runtime/TaskServiceSystem.d.ts.map +1 -0
- package/bin/services/task/runtime/TaskServiceSystem.js +26 -0
- package/bin/services/task/runtime/TaskServiceSystem.js.map +1 -0
- package/bin/services/task/types/Cron.d.ts +16 -0
- package/bin/services/task/types/Cron.d.ts.map +1 -0
- package/bin/services/task/types/Cron.js +2 -0
- package/bin/services/task/types/Cron.js.map +1 -0
- package/bin/services/task/types/Task.d.ts +146 -0
- package/bin/services/task/types/Task.d.ts.map +1 -0
- package/bin/services/task/types/Task.js +9 -0
- package/bin/services/task/types/Task.js.map +1 -0
- package/bin/services/task/types/TaskCommand.d.ts +147 -0
- package/bin/services/task/types/TaskCommand.d.ts.map +1 -0
- package/bin/services/task/types/TaskCommand.js +9 -0
- package/bin/services/task/types/TaskCommand.js.map +1 -0
- package/bin/session/Session.d.ts +101 -0
- package/bin/session/Session.d.ts.map +1 -0
- package/bin/session/Session.js +171 -0
- package/bin/session/Session.js.map +1 -0
- package/bin/session/SessionRunScope.d.ts +76 -0
- package/bin/session/SessionRunScope.d.ts.map +1 -0
- package/bin/session/SessionRunScope.js +82 -0
- package/bin/session/SessionRunScope.js.map +1 -0
- package/bin/session/composer/SessionComposer.d.ts +29 -0
- package/bin/session/composer/SessionComposer.d.ts.map +1 -0
- package/bin/session/composer/SessionComposer.js +29 -0
- package/bin/session/composer/SessionComposer.js.map +1 -0
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +56 -0
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
- package/bin/session/composer/compaction/SessionCompactionComposer.js +14 -0
- package/bin/session/composer/compaction/SessionCompactionComposer.js.map +1 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +38 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +70 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +199 -0
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
- package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts +49 -0
- package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts.map +1 -0
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js +117 -0
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js.map +1 -0
- package/bin/session/composer/execution/SessionExecutionComposer.d.ts +63 -0
- package/bin/session/composer/execution/SessionExecutionComposer.d.ts.map +1 -0
- package/bin/session/composer/execution/SessionExecutionComposer.js +14 -0
- package/bin/session/composer/execution/SessionExecutionComposer.js.map +1 -0
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +156 -0
- package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +1 -0
- package/bin/session/composer/history/SessionHistoryComposer.js +14 -0
- package/bin/session/composer/history/SessionHistoryComposer.js.map +1 -0
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +56 -0
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +1 -0
- package/bin/session/composer/history/SessionHistoryWriter.js +95 -0
- package/bin/session/composer/history/SessionHistoryWriter.js.map +1 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +67 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +423 -0
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
- package/bin/session/composer/system/SessionSystemComposer.d.ts +23 -0
- package/bin/session/composer/system/SessionSystemComposer.d.ts.map +1 -0
- package/bin/session/composer/system/SessionSystemComposer.js +14 -0
- package/bin/session/composer/system/SessionSystemComposer.js.map +1 -0
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js +46 -0
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
- package/bin/session/composer/system/default/InitPrompts.d.ts +16 -0
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +1 -0
- package/bin/session/composer/system/default/InitPrompts.js +35 -0
- package/bin/session/composer/system/default/InitPrompts.js.map +1 -0
- package/bin/session/composer/system/default/PromptRenderer.d.ts +35 -0
- package/bin/session/composer/system/default/PromptRenderer.d.ts.map +1 -0
- package/bin/session/composer/system/default/PromptRenderer.js +23 -0
- package/bin/session/composer/system/default/PromptRenderer.js.map +1 -0
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts +46 -0
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
- package/bin/session/composer/system/default/StaticPromptCatalog.js +223 -0
- package/bin/session/composer/system/default/StaticPromptCatalog.js.map +1 -0
- package/bin/session/composer/system/default/SystemDomain.d.ts +169 -0
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +1 -0
- package/bin/session/composer/system/default/SystemDomain.js +232 -0
- package/bin/session/composer/system/default/SystemDomain.js.map +1 -0
- package/bin/session/composer/system/default/assets/core.prompt.txt +39 -0
- package/bin/session/composer/system/default/assets/init/PROFILE.md.txt +17 -0
- package/bin/session/composer/system/default/assets/init/SOUL.md.txt +88 -0
- package/bin/session/composer/system/default/assets/service.prompt.txt +29 -0
- package/bin/session/composer/system/default/assets/task.prompt.txt +33 -0
- package/bin/session/composer/system/default/variables/GeoContext.d.ts +14 -0
- package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +1 -0
- package/bin/session/composer/system/default/variables/GeoContext.js +150 -0
- package/bin/session/composer/system/default/variables/GeoContext.js.map +1 -0
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts +36 -0
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
- package/bin/session/composer/system/default/variables/PromptTypes.js +9 -0
- package/bin/session/composer/system/default/variables/PromptTypes.js.map +1 -0
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts +61 -0
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
- package/bin/session/composer/system/default/variables/VariableReplacer.js +93 -0
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +1 -0
- package/bin/session/executors/local/LocalSessionCore.d.ts +116 -0
- package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -0
- package/bin/session/executors/local/LocalSessionCore.js +574 -0
- package/bin/session/executors/local/LocalSessionCore.js.map +1 -0
- package/bin/session/executors/local/LocalSessionExecutor.d.ts +61 -0
- package/bin/session/executors/local/LocalSessionExecutor.d.ts.map +1 -0
- package/bin/session/executors/local/LocalSessionExecutor.js +36 -0
- package/bin/session/executors/local/LocalSessionExecutor.js.map +1 -0
- package/bin/session/executors/local/SessionLoopDecision.d.ts +27 -0
- package/bin/session/executors/local/SessionLoopDecision.d.ts.map +1 -0
- package/bin/session/executors/local/SessionLoopDecision.js +62 -0
- package/bin/session/executors/local/SessionLoopDecision.js.map +1 -0
- package/bin/session/executors/local/SessionSignals.d.ts +72 -0
- package/bin/session/executors/local/SessionSignals.d.ts.map +1 -0
- package/bin/session/executors/local/SessionSignals.js +357 -0
- package/bin/session/executors/local/SessionSignals.js.map +1 -0
- package/bin/session/ids/resolveSessionId.d.ts +11 -0
- package/bin/session/ids/resolveSessionId.d.ts.map +1 -0
- package/bin/session/ids/resolveSessionId.js +17 -0
- package/bin/session/ids/resolveSessionId.js.map +1 -0
- package/bin/session/messages/SessionAttachmentMapper.d.ts +14 -0
- package/bin/session/messages/SessionAttachmentMapper.d.ts.map +1 -0
- package/bin/session/messages/SessionAttachmentMapper.js +145 -0
- package/bin/session/messages/SessionAttachmentMapper.js.map +1 -0
- package/bin/session/messages/SessionMessageCodec.d.ts +41 -0
- package/bin/session/messages/SessionMessageCodec.d.ts.map +1 -0
- package/bin/session/messages/SessionMessageCodec.js +93 -0
- package/bin/session/messages/SessionMessageCodec.js.map +1 -0
- package/bin/session/messages/SessionMessageLog.d.ts +19 -0
- package/bin/session/messages/SessionMessageLog.d.ts.map +1 -0
- package/bin/session/messages/SessionMessageLog.js +34 -0
- package/bin/session/messages/SessionMessageLog.js.map +1 -0
- package/bin/session/messages/SessionStepEventMapper.d.ts +20 -0
- package/bin/session/messages/SessionStepEventMapper.d.ts.map +1 -0
- package/bin/session/messages/SessionStepEventMapper.js +208 -0
- package/bin/session/messages/SessionStepEventMapper.js.map +1 -0
- package/bin/session/tools/shell/ShellToolBridge.d.ts +79 -0
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +1 -0
- package/bin/session/tools/shell/ShellToolBridge.js +288 -0
- package/bin/session/tools/shell/ShellToolBridge.js.map +1 -0
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +114 -0
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +1 -0
- package/bin/session/tools/shell/ShellToolDefinition.js +359 -0
- package/bin/session/tools/shell/ShellToolDefinition.js.map +1 -0
- package/bin/session/tools/shell/ShellToolFormatting.d.ts +26 -0
- package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +1 -0
- package/bin/session/tools/shell/ShellToolFormatting.js +74 -0
- package/bin/session/tools/shell/ShellToolFormatting.js.map +1 -0
- package/bin/session/tools/shell/ShellToolSchemas.d.ts +118 -0
- package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +1 -0
- package/bin/session/tools/shell/ShellToolSchemas.js +113 -0
- package/bin/session/tools/shell/ShellToolSchemas.js.map +1 -0
- package/bin/shared/constants/DowncityDefault.d.ts +3 -0
- package/bin/shared/constants/DowncityDefault.d.ts.map +1 -0
- package/bin/shared/constants/DowncityDefault.js +37 -0
- package/bin/shared/constants/DowncityDefault.js.map +1 -0
- package/bin/shared/constants/DowncitySchema.d.ts +3 -0
- package/bin/shared/constants/DowncitySchema.d.ts.map +1 -0
- package/bin/shared/constants/DowncitySchema.js +367 -0
- package/bin/shared/constants/DowncitySchema.js.map +1 -0
- package/bin/shared/types/AgentHost.d.ts +72 -0
- package/bin/shared/types/AgentHost.d.ts.map +1 -0
- package/bin/shared/types/AgentHost.js +10 -0
- package/bin/shared/types/AgentHost.js.map +1 -0
- package/bin/shared/types/AgentProject.d.ts +80 -0
- package/bin/shared/types/AgentProject.d.ts.map +1 -0
- package/bin/shared/types/AgentProject.js +9 -0
- package/bin/shared/types/AgentProject.js.map +1 -0
- package/bin/shared/types/AuthDashboard.d.ts +30 -0
- package/bin/shared/types/AuthDashboard.d.ts.map +1 -0
- package/bin/shared/types/AuthDashboard.js +9 -0
- package/bin/shared/types/AuthDashboard.js.map +1 -0
- package/bin/shared/types/AuthPlugin.d.ts +407 -0
- package/bin/shared/types/AuthPlugin.d.ts.map +1 -0
- package/bin/shared/types/AuthPlugin.js +115 -0
- package/bin/shared/types/AuthPlugin.js.map +1 -0
- package/bin/shared/types/ChatPlugin.d.ts +238 -0
- package/bin/shared/types/ChatPlugin.d.ts.map +1 -0
- package/bin/shared/types/ChatPlugin.js +10 -0
- package/bin/shared/types/ChatPlugin.js.map +1 -0
- package/bin/shared/types/ChatPromptContext.d.ts +125 -0
- package/bin/shared/types/ChatPromptContext.d.ts.map +1 -0
- package/bin/shared/types/ChatPromptContext.js +10 -0
- package/bin/shared/types/ChatPromptContext.js.map +1 -0
- package/bin/shared/types/ChatQueueWorker.d.ts +25 -0
- package/bin/shared/types/ChatQueueWorker.d.ts.map +1 -0
- package/bin/shared/types/ChatQueueWorker.js +9 -0
- package/bin/shared/types/ChatQueueWorker.js.map +1 -0
- package/bin/shared/types/ChatRuntime.d.ts +32 -0
- package/bin/shared/types/ChatRuntime.d.ts.map +1 -0
- package/bin/shared/types/ChatRuntime.js +9 -0
- package/bin/shared/types/ChatRuntime.js.map +1 -0
- package/bin/shared/types/ChatService.d.ts +145 -0
- package/bin/shared/types/ChatService.d.ts.map +1 -0
- package/bin/shared/types/ChatService.js +10 -0
- package/bin/shared/types/ChatService.js.map +1 -0
- package/bin/shared/types/ClaudeSkill.d.ts +63 -0
- package/bin/shared/types/ClaudeSkill.d.ts.map +1 -0
- package/bin/shared/types/ClaudeSkill.js +10 -0
- package/bin/shared/types/ClaudeSkill.js.map +1 -0
- package/bin/shared/types/Console.d.ts +373 -0
- package/bin/shared/types/Console.d.ts.map +1 -0
- package/bin/shared/types/Console.js +9 -0
- package/bin/shared/types/Console.js.map +1 -0
- package/bin/shared/types/ConsoleGateway.d.ts +174 -0
- package/bin/shared/types/ConsoleGateway.d.ts.map +1 -0
- package/bin/shared/types/ConsoleGateway.js +9 -0
- package/bin/shared/types/ConsoleGateway.js.map +1 -0
- package/bin/shared/types/Daemon.d.ts +46 -0
- package/bin/shared/types/Daemon.d.ts.map +1 -0
- package/bin/shared/types/Daemon.js +14 -0
- package/bin/shared/types/Daemon.js.map +1 -0
- package/bin/shared/types/DashboardData.d.ts +320 -0
- package/bin/shared/types/DashboardData.d.ts.map +1 -0
- package/bin/shared/types/DashboardData.js +9 -0
- package/bin/shared/types/DashboardData.js.map +1 -0
- package/bin/shared/types/DashboardRoutes.d.ts +28 -0
- package/bin/shared/types/DashboardRoutes.d.ts.map +1 -0
- package/bin/shared/types/DashboardRoutes.js +9 -0
- package/bin/shared/types/DashboardRoutes.js.map +1 -0
- package/bin/shared/types/DashboardSessionExecute.d.ts +85 -0
- package/bin/shared/types/DashboardSessionExecute.d.ts.map +1 -0
- package/bin/shared/types/DashboardSessionExecute.js +9 -0
- package/bin/shared/types/DashboardSessionExecute.js.map +1 -0
- package/bin/shared/types/DowncityConfig.d.ts +214 -0
- package/bin/shared/types/DowncityConfig.d.ts.map +1 -0
- package/bin/shared/types/DowncityConfig.js +2 -0
- package/bin/shared/types/DowncityConfig.js.map +1 -0
- package/bin/shared/types/ExecutionBinding.d.ts +26 -0
- package/bin/shared/types/ExecutionBinding.d.ts.map +1 -0
- package/bin/shared/types/ExecutionBinding.js +10 -0
- package/bin/shared/types/ExecutionBinding.js.map +1 -0
- package/bin/shared/types/FeishuChannel.d.ts +127 -0
- package/bin/shared/types/FeishuChannel.d.ts.map +1 -0
- package/bin/shared/types/FeishuChannel.js +9 -0
- package/bin/shared/types/FeishuChannel.js.map +1 -0
- package/bin/shared/types/InlineInstant.d.ts +82 -0
- package/bin/shared/types/InlineInstant.d.ts.map +1 -0
- package/bin/shared/types/InlineInstant.js +10 -0
- package/bin/shared/types/InlineInstant.js.map +1 -0
- package/bin/shared/types/Json.d.ts +32 -0
- package/bin/shared/types/Json.d.ts.map +1 -0
- package/bin/shared/types/Json.js +9 -0
- package/bin/shared/types/Json.js.map +1 -0
- package/bin/shared/types/LlmConfig.d.ts +100 -0
- package/bin/shared/types/LlmConfig.d.ts.map +1 -0
- package/bin/shared/types/LlmConfig.js +10 -0
- package/bin/shared/types/LlmConfig.js.map +1 -0
- package/bin/shared/types/LocalRpc.d.ts +69 -0
- package/bin/shared/types/LocalRpc.d.ts.map +1 -0
- package/bin/shared/types/LocalRpc.js +9 -0
- package/bin/shared/types/LocalRpc.js.map +1 -0
- package/bin/shared/types/ModelBinding.d.ts +19 -0
- package/bin/shared/types/ModelBinding.d.ts.map +1 -0
- package/bin/shared/types/ModelBinding.js +2 -0
- package/bin/shared/types/ModelBinding.js.map +1 -0
- package/bin/shared/types/Plugin.d.ts +693 -0
- package/bin/shared/types/Plugin.d.ts.map +1 -0
- package/bin/shared/types/Plugin.js +10 -0
- package/bin/shared/types/Plugin.js.map +1 -0
- package/bin/shared/types/PluginApi.d.ts +151 -0
- package/bin/shared/types/PluginApi.d.ts.map +1 -0
- package/bin/shared/types/PluginApi.js +9 -0
- package/bin/shared/types/PluginApi.js.map +1 -0
- package/bin/shared/types/PluginLifecycle.d.ts +34 -0
- package/bin/shared/types/PluginLifecycle.d.ts.map +1 -0
- package/bin/shared/types/PluginLifecycle.js +9 -0
- package/bin/shared/types/PluginLifecycle.js.map +1 -0
- package/bin/shared/types/QqChannel.d.ts +485 -0
- package/bin/shared/types/QqChannel.d.ts.map +1 -0
- package/bin/shared/types/QqChannel.js +42 -0
- package/bin/shared/types/QqChannel.js.map +1 -0
- package/bin/shared/types/QqGatewaySupport.d.ts +82 -0
- package/bin/shared/types/QqGatewaySupport.d.ts.map +1 -0
- package/bin/shared/types/QqGatewaySupport.js +9 -0
- package/bin/shared/types/QqGatewaySupport.js.map +1 -0
- package/bin/shared/types/Sandbox.d.ts +130 -0
- package/bin/shared/types/Sandbox.d.ts.map +1 -0
- package/bin/shared/types/Sandbox.js +10 -0
- package/bin/shared/types/Sandbox.js.map +1 -0
- package/bin/shared/types/Service.d.ts +205 -0
- package/bin/shared/types/Service.d.ts.map +1 -0
- package/bin/shared/types/Service.js +10 -0
- package/bin/shared/types/Service.js.map +1 -0
- package/bin/shared/types/ServiceSchedule.d.ts +114 -0
- package/bin/shared/types/ServiceSchedule.d.ts.map +1 -0
- package/bin/shared/types/ServiceSchedule.js +9 -0
- package/bin/shared/types/ServiceSchedule.js.map +1 -0
- package/bin/shared/types/ServiceState.d.ts +104 -0
- package/bin/shared/types/ServiceState.d.ts.map +1 -0
- package/bin/shared/types/ServiceState.js +9 -0
- package/bin/shared/types/ServiceState.js.map +1 -0
- package/bin/shared/types/Services.d.ts +94 -0
- package/bin/shared/types/Services.d.ts.map +1 -0
- package/bin/shared/types/Services.js +9 -0
- package/bin/shared/types/Services.js.map +1 -0
- package/bin/shared/types/Shell.d.ts +97 -0
- package/bin/shared/types/Shell.d.ts.map +1 -0
- package/bin/shared/types/Shell.js +9 -0
- package/bin/shared/types/Shell.js.map +1 -0
- package/bin/shared/types/SkillCommand.d.ts +87 -0
- package/bin/shared/types/SkillCommand.d.ts.map +1 -0
- package/bin/shared/types/SkillCommand.js +9 -0
- package/bin/shared/types/SkillCommand.js.map +1 -0
- package/bin/shared/types/SkillPlugin.d.ts +102 -0
- package/bin/shared/types/SkillPlugin.d.ts.map +1 -0
- package/bin/shared/types/SkillPlugin.js +29 -0
- package/bin/shared/types/SkillPlugin.js.map +1 -0
- package/bin/shared/types/SkillRoot.d.ts +48 -0
- package/bin/shared/types/SkillRoot.d.ts.map +1 -0
- package/bin/shared/types/SkillRoot.js +9 -0
- package/bin/shared/types/SkillRoot.js.map +1 -0
- package/bin/shared/types/Start.d.ts +16 -0
- package/bin/shared/types/Start.d.ts.map +1 -0
- package/bin/shared/types/Start.js +11 -0
- package/bin/shared/types/Start.js.map +1 -0
- package/bin/shared/types/Store.d.ts +507 -0
- package/bin/shared/types/Store.d.ts.map +1 -0
- package/bin/shared/types/Store.js +2 -0
- package/bin/shared/types/Store.js.map +1 -0
- package/bin/shared/types/TaskService.d.ts +52 -0
- package/bin/shared/types/TaskService.d.ts.map +1 -0
- package/bin/shared/types/TaskService.js +9 -0
- package/bin/shared/types/TaskService.js.map +1 -0
- package/bin/shared/types/Template.d.ts +9 -0
- package/bin/shared/types/Template.d.ts.map +1 -0
- package/bin/shared/types/Template.js +9 -0
- package/bin/shared/types/Template.js.map +1 -0
- package/bin/shared/types/Tts.d.ts +91 -0
- package/bin/shared/types/Tts.d.ts.map +1 -0
- package/bin/shared/types/Tts.js +9 -0
- package/bin/shared/types/Tts.js.map +1 -0
- package/bin/shared/types/TtsPlugin.d.ts +161 -0
- package/bin/shared/types/TtsPlugin.d.ts.map +1 -0
- package/bin/shared/types/TtsPlugin.js +9 -0
- package/bin/shared/types/TtsPlugin.js.map +1 -0
- package/bin/shared/types/Voice.d.ts +58 -0
- package/bin/shared/types/Voice.d.ts.map +1 -0
- package/bin/shared/types/Voice.js +9 -0
- package/bin/shared/types/Voice.js.map +1 -0
- package/bin/shared/types/VoicePlugin.d.ts +190 -0
- package/bin/shared/types/VoicePlugin.d.ts.map +1 -0
- package/bin/shared/types/VoicePlugin.js +9 -0
- package/bin/shared/types/VoicePlugin.js.map +1 -0
- package/bin/shared/types/WebPlugin.d.ts +133 -0
- package/bin/shared/types/WebPlugin.d.ts.map +1 -0
- package/bin/shared/types/WebPlugin.js +12 -0
- package/bin/shared/types/WebPlugin.js.map +1 -0
- package/bin/shared/types/auth/AuthPermission.d.ts +49 -0
- package/bin/shared/types/auth/AuthPermission.d.ts.map +1 -0
- package/bin/shared/types/auth/AuthPermission.js +92 -0
- package/bin/shared/types/auth/AuthPermission.js.map +1 -0
- package/bin/shared/types/auth/AuthRoute.d.ts +29 -0
- package/bin/shared/types/auth/AuthRoute.d.ts.map +1 -0
- package/bin/shared/types/auth/AuthRoute.js +8 -0
- package/bin/shared/types/auth/AuthRoute.js.map +1 -0
- package/bin/shared/types/auth/AuthToken.d.ts +46 -0
- package/bin/shared/types/auth/AuthToken.d.ts.map +1 -0
- package/bin/shared/types/auth/AuthToken.js +9 -0
- package/bin/shared/types/auth/AuthToken.js.map +1 -0
- package/bin/shared/types/auth/AuthTypes.d.ts +227 -0
- package/bin/shared/types/auth/AuthTypes.d.ts.map +1 -0
- package/bin/shared/types/auth/AuthTypes.js +9 -0
- package/bin/shared/types/auth/AuthTypes.js.map +1 -0
- package/bin/shared/utils/Id.d.ts +9 -0
- package/bin/shared/utils/Id.d.ts.map +1 -0
- package/bin/shared/utils/Id.js +12 -0
- package/bin/shared/utils/Id.js.map +1 -0
- package/bin/shared/utils/Template.d.ts +17 -0
- package/bin/shared/utils/Template.d.ts.map +1 -0
- package/bin/shared/utils/Template.js +24 -0
- package/bin/shared/utils/Template.js.map +1 -0
- package/bin/shared/utils/Time.d.ts +15 -0
- package/bin/shared/utils/Time.d.ts.map +1 -0
- package/bin/shared/utils/Time.js +69 -0
- package/bin/shared/utils/Time.js.map +1 -0
- package/bin/shared/utils/cli/CliOutput.d.ts +51 -0
- package/bin/shared/utils/cli/CliOutput.d.ts.map +1 -0
- package/bin/shared/utils/cli/CliOutput.js +117 -0
- package/bin/shared/utils/cli/CliOutput.js.map +1 -0
- package/bin/shared/utils/cli/Spinner.d.ts +80 -0
- package/bin/shared/utils/cli/Spinner.d.ts.map +1 -0
- package/bin/shared/utils/cli/Spinner.js +109 -0
- package/bin/shared/utils/cli/Spinner.js.map +1 -0
- package/bin/shared/utils/logger/Fetch.d.ts +14 -0
- package/bin/shared/utils/logger/Fetch.d.ts.map +1 -0
- package/bin/shared/utils/logger/Fetch.js +68 -0
- package/bin/shared/utils/logger/Fetch.js.map +1 -0
- package/bin/shared/utils/logger/Format.d.ts +11 -0
- package/bin/shared/utils/logger/Format.d.ts.map +1 -0
- package/bin/shared/utils/logger/Format.js +10 -0
- package/bin/shared/utils/logger/Format.js.map +1 -0
- package/bin/shared/utils/logger/FormatRequest.d.ts +29 -0
- package/bin/shared/utils/logger/FormatRequest.d.ts.map +1 -0
- package/bin/shared/utils/logger/FormatRequest.js +309 -0
- package/bin/shared/utils/logger/FormatRequest.js.map +1 -0
- package/bin/shared/utils/logger/FormatResponse.d.ts +46 -0
- package/bin/shared/utils/logger/FormatResponse.d.ts.map +1 -0
- package/bin/shared/utils/logger/FormatResponse.js +186 -0
- package/bin/shared/utils/logger/FormatResponse.js.map +1 -0
- package/bin/shared/utils/logger/FormatShared.d.ts +33 -0
- package/bin/shared/utils/logger/FormatShared.d.ts.map +1 -0
- package/bin/shared/utils/logger/FormatShared.js +215 -0
- package/bin/shared/utils/logger/FormatShared.js.map +1 -0
- package/bin/shared/utils/logger/Logger.d.ts +101 -0
- package/bin/shared/utils/logger/Logger.d.ts.map +1 -0
- package/bin/shared/utils/logger/Logger.js +308 -0
- package/bin/shared/utils/logger/Logger.js.map +1 -0
- package/bin/shared/utils/storage/index.d.ts +5 -0
- package/bin/shared/utils/storage/index.d.ts.map +1 -0
- package/bin/shared/utils/storage/index.js +23 -0
- package/bin/shared/utils/storage/index.js.map +1 -0
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts +34 -0
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreChannelAccountRepository.js +198 -0
- package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +1 -0
- package/bin/shared/utils/store/StoreChatAuthRepository.d.ts +26 -0
- package/bin/shared/utils/store/StoreChatAuthRepository.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreChatAuthRepository.js +145 -0
- package/bin/shared/utils/store/StoreChatAuthRepository.js.map +1 -0
- package/bin/shared/utils/store/StoreEnvRepository.d.ts +98 -0
- package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreEnvRepository.js +334 -0
- package/bin/shared/utils/store/StoreEnvRepository.js.map +1 -0
- package/bin/shared/utils/store/StoreModelRepository.d.ts +61 -0
- package/bin/shared/utils/store/StoreModelRepository.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreModelRepository.js +278 -0
- package/bin/shared/utils/store/StoreModelRepository.js.map +1 -0
- package/bin/shared/utils/store/StoreSchema.d.ts +13 -0
- package/bin/shared/utils/store/StoreSchema.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreSchema.js +514 -0
- package/bin/shared/utils/store/StoreSchema.js.map +1 -0
- package/bin/shared/utils/store/StoreSecureSettings.d.ts +33 -0
- package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreSecureSettings.js +91 -0
- package/bin/shared/utils/store/StoreSecureSettings.js.map +1 -0
- package/bin/shared/utils/store/StoreShared.d.ts +44 -0
- package/bin/shared/utils/store/StoreShared.d.ts.map +1 -0
- package/bin/shared/utils/store/StoreShared.js +40 -0
- package/bin/shared/utils/store/StoreShared.js.map +1 -0
- package/bin/shared/utils/store/crypto.d.ts +24 -0
- package/bin/shared/utils/store/crypto.d.ts.map +1 -0
- package/bin/shared/utils/store/crypto.js +101 -0
- package/bin/shared/utils/store/crypto.js.map +1 -0
- package/bin/shared/utils/store/index.d.ts +246 -0
- package/bin/shared/utils/store/index.d.ts.map +1 -0
- package/bin/shared/utils/store/index.js +383 -0
- package/bin/shared/utils/store/index.js.map +1 -0
- package/bin/shared/utils/store/schema.d.ts +690 -0
- package/bin/shared/utils/store/schema.d.ts.map +1 -0
- package/bin/shared/utils/store/schema.js +81 -0
- package/bin/shared/utils/store/schema.js.map +1 -0
- package/bin/types/agent/AgentContext.d.ts +345 -0
- package/bin/types/agent/AgentContext.d.ts.map +1 -0
- package/bin/types/agent/AgentContext.js +10 -0
- package/bin/types/agent/AgentContext.js.map +1 -0
- package/bin/types/agent/AgentRuntime.d.ts +81 -0
- package/bin/types/agent/AgentRuntime.d.ts.map +1 -0
- package/bin/types/agent/AgentRuntime.js +10 -0
- package/bin/types/agent/AgentRuntime.js.map +1 -0
- package/bin/types/chat/ChatSession.d.ts +30 -0
- package/bin/types/chat/ChatSession.d.ts.map +1 -0
- package/bin/types/chat/ChatSession.js +9 -0
- package/bin/types/chat/ChatSession.js.map +1 -0
- package/bin/types/city/PublicHostEnv.d.ts +72 -0
- package/bin/types/city/PublicHostEnv.d.ts.map +1 -0
- package/bin/types/city/PublicHostEnv.js +9 -0
- package/bin/types/city/PublicHostEnv.js.map +1 -0
- package/bin/types/cli/AgentChat.d.ts +147 -0
- package/bin/types/cli/AgentChat.d.ts.map +1 -0
- package/bin/types/cli/AgentChat.js +12 -0
- package/bin/types/cli/AgentChat.js.map +1 -0
- package/bin/types/cli/AgentHistory.d.ts +127 -0
- package/bin/types/cli/AgentHistory.d.ts.map +1 -0
- package/bin/types/cli/AgentHistory.js +9 -0
- package/bin/types/cli/AgentHistory.js.map +1 -0
- package/bin/types/cli/AgentManager.d.ts +113 -0
- package/bin/types/cli/AgentManager.d.ts.map +1 -0
- package/bin/types/cli/AgentManager.js +9 -0
- package/bin/types/cli/AgentManager.js.map +1 -0
- package/bin/types/cli/AgentSelection.d.ts +146 -0
- package/bin/types/cli/AgentSelection.d.ts.map +1 -0
- package/bin/types/cli/AgentSelection.js +9 -0
- package/bin/types/cli/AgentSelection.js.map +1 -0
- package/bin/types/cli/ChatManager.d.ts +64 -0
- package/bin/types/cli/ChatManager.d.ts.map +1 -0
- package/bin/types/cli/ChatManager.js +9 -0
- package/bin/types/cli/ChatManager.js.map +1 -0
- package/bin/types/cli/CliError.d.ts +62 -0
- package/bin/types/cli/CliError.d.ts.map +1 -0
- package/bin/types/cli/CliError.js +30 -0
- package/bin/types/cli/CliError.js.map +1 -0
- package/bin/types/cli/CliReporter.d.ts +157 -0
- package/bin/types/cli/CliReporter.d.ts.map +1 -0
- package/bin/types/cli/CliReporter.js +10 -0
- package/bin/types/cli/CliReporter.js.map +1 -0
- package/bin/types/cli/ModelManager.d.ts +127 -0
- package/bin/types/cli/ModelManager.d.ts.map +1 -0
- package/bin/types/cli/ModelManager.js +9 -0
- package/bin/types/cli/ModelManager.js.map +1 -0
- package/bin/types/contact/Contact.d.ts +78 -0
- package/bin/types/contact/Contact.d.ts.map +1 -0
- package/bin/types/contact/Contact.js +9 -0
- package/bin/types/contact/Contact.js.map +1 -0
- package/bin/types/contact/ContactApproval.d.ts +145 -0
- package/bin/types/contact/ContactApproval.d.ts.map +1 -0
- package/bin/types/contact/ContactApproval.js +9 -0
- package/bin/types/contact/ContactApproval.js.map +1 -0
- package/bin/types/contact/ContactChat.d.ts +46 -0
- package/bin/types/contact/ContactChat.d.ts.map +1 -0
- package/bin/types/contact/ContactChat.js +9 -0
- package/bin/types/contact/ContactChat.js.map +1 -0
- package/bin/types/contact/ContactCheck.d.ts +66 -0
- package/bin/types/contact/ContactCheck.d.ts.map +1 -0
- package/bin/types/contact/ContactCheck.js +9 -0
- package/bin/types/contact/ContactCheck.js.map +1 -0
- package/bin/types/contact/ContactCommand.d.ts +93 -0
- package/bin/types/contact/ContactCommand.d.ts.map +1 -0
- package/bin/types/contact/ContactCommand.js +8 -0
- package/bin/types/contact/ContactCommand.js.map +1 -0
- package/bin/types/contact/ContactEndpoint.d.ts +12 -0
- package/bin/types/contact/ContactEndpoint.d.ts.map +1 -0
- package/bin/types/contact/ContactEndpoint.js +9 -0
- package/bin/types/contact/ContactEndpoint.js.map +1 -0
- package/bin/types/contact/ContactLink.d.ts +160 -0
- package/bin/types/contact/ContactLink.d.ts.map +1 -0
- package/bin/types/contact/ContactLink.js +9 -0
- package/bin/types/contact/ContactLink.js.map +1 -0
- package/bin/types/contact/ContactShare.d.ts +163 -0
- package/bin/types/contact/ContactShare.d.ts.map +1 -0
- package/bin/types/contact/ContactShare.js +9 -0
- package/bin/types/contact/ContactShare.js.map +1 -0
- package/bin/types/sandbox/SandboxRuntime.d.ts +318 -0
- package/bin/types/sandbox/SandboxRuntime.d.ts.map +1 -0
- package/bin/types/sandbox/SandboxRuntime.js +10 -0
- package/bin/types/sandbox/SandboxRuntime.js.map +1 -0
- package/bin/types/session/SessionExecutor.d.ts +18 -0
- package/bin/types/session/SessionExecutor.d.ts.map +1 -0
- package/bin/types/session/SessionExecutor.js +9 -0
- package/bin/types/session/SessionExecutor.js.map +1 -0
- package/bin/types/session/SessionHistoryMeta.d.ts +26 -0
- package/bin/types/session/SessionHistoryMeta.d.ts.map +1 -0
- package/bin/types/session/SessionHistoryMeta.js +9 -0
- package/bin/types/session/SessionHistoryMeta.js.map +1 -0
- package/bin/types/session/SessionHistoryPaths.d.ts +30 -0
- package/bin/types/session/SessionHistoryPaths.d.ts.map +1 -0
- package/bin/types/session/SessionHistoryPaths.js +2 -0
- package/bin/types/session/SessionHistoryPaths.js.map +1 -0
- package/bin/types/session/SessionLoop.d.ts +79 -0
- package/bin/types/session/SessionLoop.d.ts.map +1 -0
- package/bin/types/session/SessionLoop.js +9 -0
- package/bin/types/session/SessionLoop.js.map +1 -0
- package/bin/types/session/SessionMessages.d.ts +83 -0
- package/bin/types/session/SessionMessages.d.ts.map +1 -0
- package/bin/types/session/SessionMessages.js +10 -0
- package/bin/types/session/SessionMessages.js.map +1 -0
- package/bin/types/session/SessionPrompts.d.ts +13 -0
- package/bin/types/session/SessionPrompts.d.ts.map +1 -0
- package/bin/types/session/SessionPrompts.js +9 -0
- package/bin/types/session/SessionPrompts.js.map +1 -0
- package/bin/types/session/SessionRun.d.ts +100 -0
- package/bin/types/session/SessionRun.d.ts.map +1 -0
- package/bin/types/session/SessionRun.js +10 -0
- package/bin/types/session/SessionRun.js.map +1 -0
- package/bin/types/shell/ShellRuntime.d.ts +91 -0
- package/bin/types/shell/ShellRuntime.d.ts.map +1 -0
- package/bin/types/shell/ShellRuntime.js +10 -0
- package/bin/types/shell/ShellRuntime.js.map +1 -0
- package/bin/types/task/TaskRunner.d.ts +186 -0
- package/bin/types/task/TaskRunner.d.ts.map +1 -0
- package/bin/types/task/TaskRunner.js +9 -0
- package/bin/types/task/TaskRunner.js.map +1 -0
- package/package.json +60 -0
- package/public/app.js +424 -0
- package/public/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2 +0 -0
- package/public/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2 +0 -0
- package/public/assets/geist-latin-wght-normal-Dm3htQBi.woff2 +0 -0
- package/public/image.png +0 -0
- package/public/index.html +15 -0
- package/public/styles.css +1 -0
- package/scripts/bump-patch.mjs +29 -0
- package/scripts/copy-prompt-assets.mjs +72 -0
- package/scripts/ensure-cli-executable.mjs +20 -0
- package/scripts/lint-import-boundaries.mjs +142 -0
- package/src/agent/AgentContext.ts +181 -0
- package/src/agent/AgentRuntime.ts +348 -0
- package/src/agent/AgentRuntimeState.ts +149 -0
- package/src/agent/project/AgentInitializer.ts +382 -0
- package/src/agent/project/ProjectExecutionBinding.ts +53 -0
- package/src/cli/AgentChat.ts +415 -0
- package/src/cli/AgentHistory.ts +187 -0
- package/src/cli/AgentManager.ts +667 -0
- package/src/cli/AgentReset.ts +181 -0
- package/src/cli/AgentSelection.ts +297 -0
- package/src/cli/Alias.ts +138 -0
- package/src/cli/Chat.ts +30 -0
- package/src/cli/ChatAuth.ts +186 -0
- package/src/cli/ChatManager.ts +439 -0
- package/src/cli/CliReporter.ts +362 -0
- package/src/cli/Config.ts +301 -0
- package/src/cli/Console.ts +610 -0
- package/src/cli/ConsoleAuthBootstrap.ts +72 -0
- package/src/cli/ConsoleInit.ts +83 -0
- package/src/cli/Env.ts +556 -0
- package/src/cli/Index.ts +84 -0
- package/src/cli/IndexAgentCommand.ts +303 -0
- package/src/cli/IndexConsoleCommand.ts +211 -0
- package/src/cli/IndexConsoleProcess.ts +497 -0
- package/src/cli/IndexConsoleStatus.ts +152 -0
- package/src/cli/IndexSupport.ts +138 -0
- package/src/cli/Init.ts +291 -0
- package/src/cli/Model.ts +34 -0
- package/src/cli/ModelCommandShared.ts +126 -0
- package/src/cli/ModelCreateCommand.ts +424 -0
- package/src/cli/ModelManageCommand.ts +516 -0
- package/src/cli/ModelManager.ts +631 -0
- package/src/cli/ModelReadCommand.ts +207 -0
- package/src/cli/ModelSupport.ts +223 -0
- package/src/cli/Plugins.ts +568 -0
- package/src/cli/PortHints.ts +80 -0
- package/src/cli/PublicAccess.ts +106 -0
- package/src/cli/PublicHostEnv.ts +116 -0
- package/src/cli/Reset.ts +93 -0
- package/src/cli/Restart.ts +68 -0
- package/src/cli/Run.ts +153 -0
- package/src/cli/ServiceCommandRemote.ts +230 -0
- package/src/cli/ServiceCommandSupport.ts +275 -0
- package/src/cli/ServiceScheduleCommand.ts +305 -0
- package/src/cli/Services.ts +189 -0
- package/src/cli/Start.ts +72 -0
- package/src/cli/Status.ts +116 -0
- package/src/cli/Stop.ts +45 -0
- package/src/cli/Token.ts +702 -0
- package/src/cli/Update.ts +183 -0
- package/src/config/Config.ts +251 -0
- package/src/config/Paths.ts +260 -0
- package/src/console/AgentStatusApiRoutes.ts +225 -0
- package/src/console/ChannelAccountApiRoutes.ts +119 -0
- package/src/console/ChannelAccountService.ts +9 -0
- package/src/console/ConsoleClient.ts +293 -0
- package/src/console/ConsoleGateway.ts +463 -0
- package/src/console/ConsoleGatewayRoutes.ts +495 -0
- package/src/console/EnvApiRoutes.ts +257 -0
- package/src/console/InlineInstantRoutes.ts +74 -0
- package/src/console/InlineInstantSessionService.ts +276 -0
- package/src/console/InlineInstantSystemComposer.ts +58 -0
- package/src/console/ModelApiRoutes.ts +336 -0
- package/src/console/ModelPoolService.ts +395 -0
- package/src/console/PluginApiRoutes.ts +453 -0
- package/src/console/gateway/AgentActions.ts +413 -0
- package/src/console/gateway/AgentCatalog.ts +606 -0
- package/src/console/gateway/FrontendAssets.ts +79 -0
- package/src/console/gateway/GatewaySupport.ts +59 -0
- package/src/console/gateway/Proxy.ts +62 -0
- package/src/daemon/Api.ts +64 -0
- package/src/daemon/CliArgs.ts +39 -0
- package/src/daemon/Client.ts +182 -0
- package/src/daemon/Manager.ts +344 -0
- package/src/daemon/PortAllocator.ts +64 -0
- package/src/daemon/ProjectSetup.ts +126 -0
- package/src/http/Server.ts +170 -0
- package/src/http/auth/AuthEnv.ts +71 -0
- package/src/http/auth/AuthError.ts +31 -0
- package/src/http/auth/AuthMiddleware.ts +61 -0
- package/src/http/auth/AuthRoutes.ts +100 -0
- package/src/http/auth/AuthService.ts +367 -0
- package/src/http/auth/AuthStore.ts +572 -0
- package/src/http/auth/CliAuthStateStore.ts +50 -0
- package/src/http/auth/PasswordHasher.ts +37 -0
- package/src/http/auth/RoutePolicy.ts +255 -0
- package/src/http/auth/TokenService.ts +36 -0
- package/src/http/dashboard/AuthDashboardService.ts +161 -0
- package/src/http/dashboard/CommonHelpers.ts +50 -0
- package/src/http/dashboard/DashboardApiRoutes.ts +30 -0
- package/src/http/dashboard/DashboardAuthorizationRoutes.ts +101 -0
- package/src/http/dashboard/ExecuteBySession.ts +152 -0
- package/src/http/dashboard/ExecuteInput.ts +236 -0
- package/src/http/dashboard/Helpers.ts +22 -0
- package/src/http/dashboard/MessageTimeline.ts +269 -0
- package/src/http/dashboard/ModelRoutes.ts +102 -0
- package/src/http/dashboard/OverviewRoutes.ts +101 -0
- package/src/http/dashboard/Router.ts +26 -0
- package/src/http/dashboard/SessionRoutes.ts +402 -0
- package/src/http/dashboard/SessionSummaryStore.ts +76 -0
- package/src/http/dashboard/TaskRoutes.ts +372 -0
- package/src/http/dashboard/TaskStore.ts +222 -0
- package/src/http/execute/execute.ts +120 -0
- package/src/http/health/health.ts +27 -0
- package/src/http/plugins/plugins.ts +67 -0
- package/src/http/services/services.ts +94 -0
- package/src/http/static/static.ts +104 -0
- package/src/model/CreateModel.ts +343 -0
- package/src/model/ModelCommand.ts +95 -0
- package/src/model/ModelManager.ts +242 -0
- package/src/plugin/Activation.ts +22 -0
- package/src/plugin/Catalog.ts +118 -0
- package/src/plugin/HookRegistry.ts +249 -0
- package/src/plugin/HttpRoutes.ts +50 -0
- package/src/plugin/Lifecycle.ts +116 -0
- package/src/plugin/LocalExecution.ts +157 -0
- package/src/plugin/PluginCommand.ts +220 -0
- package/src/plugin/PluginManager.ts +66 -0
- package/src/plugin/PluginRegistry.ts +244 -0
- package/src/plugin/Plugins.ts +39 -0
- package/src/plugin/ProjectConfigStore.ts +58 -0
- package/src/plugins/asr/Dependency.ts +336 -0
- package/src/plugins/asr/ModelCatalog.ts +43 -0
- package/src/plugins/asr/Plugin.ts +640 -0
- package/src/plugins/auth/Plugin.ts +208 -0
- package/src/plugins/auth/runtime/AuthorizationConfig.ts +336 -0
- package/src/plugins/auth/runtime/AuthorizationPolicy.ts +168 -0
- package/src/plugins/auth/runtime/AuthorizationStore.ts +218 -0
- package/src/plugins/skill/Action.ts +159 -0
- package/src/plugins/skill/Command.ts +98 -0
- package/src/plugins/skill/Config.ts +51 -0
- package/src/plugins/skill/PROMPT.txt +10 -0
- package/src/plugins/skill/Plugin.ts +355 -0
- package/src/plugins/skill/runtime/Discovery.ts +141 -0
- package/src/plugins/skill/runtime/Frontmatter.ts +17 -0
- package/src/plugins/skill/runtime/Paths.ts +130 -0
- package/src/plugins/skill/runtime/Prompt.ts +67 -0
- package/src/plugins/skill/runtime/Store.ts +95 -0
- package/src/plugins/skill/runtime/SystemProvider.ts +52 -0
- package/src/plugins/skill/runtime/Types.ts +22 -0
- package/src/plugins/skill/runtime/Utils.ts +28 -0
- package/src/plugins/tts/Dependency.ts +473 -0
- package/src/plugins/tts/Plugin.ts +554 -0
- package/src/plugins/tts/runtime/Catalog.ts +97 -0
- package/src/plugins/tts/runtime/DependencyInstaller.ts +436 -0
- package/src/plugins/tts/runtime/Installer.ts +297 -0
- package/src/plugins/tts/runtime/Paths.ts +39 -0
- package/src/plugins/tts/runtime/Synthesizer.ts +480 -0
- package/src/plugins/voice/Dependency.ts +329 -0
- package/src/plugins/voice/ModelCatalog.ts +43 -0
- package/src/plugins/voice/Plugin.ts +599 -0
- package/src/plugins/voice/runtime/Catalog.ts +68 -0
- package/src/plugins/voice/runtime/DependencyInstaller.ts +505 -0
- package/src/plugins/voice/runtime/Installer.ts +324 -0
- package/src/plugins/voice/runtime/Paths.ts +26 -0
- package/src/plugins/voice/runtime/Transcriber.ts +467 -0
- package/src/plugins/web/Dependency.ts +17 -0
- package/src/plugins/web/PROMPT.agent-browser.txt +17 -0
- package/src/plugins/web/PROMPT.txt +33 -0
- package/src/plugins/web/PROMPT.web-access.txt +13 -0
- package/src/plugins/web/Plugin.ts +516 -0
- package/src/plugins/web/runtime/Config.ts +105 -0
- package/src/plugins/web/runtime/Source.ts +263 -0
- package/src/plugins/workboard/Plugin.ts +81 -0
- package/src/plugins/workboard/runtime/Collector.ts +78 -0
- package/src/plugins/workboard/runtime/Normalizer.ts +213 -0
- package/src/plugins/workboard/runtime/Store.ts +110 -0
- package/src/plugins/workboard/types/Workboard.ts +158 -0
- package/src/registry/AgentHostRuntime.ts +65 -0
- package/src/registry/CityPaths.ts +101 -0
- package/src/registry/CityRegistry.ts +256 -0
- package/src/registry/CityRuntime.ts +45 -0
- package/src/registry/PluginRuntime.ts +42 -0
- package/src/registry/ProcessSweep.ts +256 -0
- package/src/rpc/Client.ts +110 -0
- package/src/rpc/Paths.ts +43 -0
- package/src/rpc/Server.ts +395 -0
- package/src/rpc/Transport.ts +40 -0
- package/src/runtime/AgentHostRuntime.ts +65 -0
- package/src/runtime/CityPaths.ts +101 -0
- package/src/runtime/CityRegistry.ts +256 -0
- package/src/runtime/CityRuntime.ts +45 -0
- package/src/runtime/PluginRuntime.ts +42 -0
- package/src/runtime/ProcessSweep.ts +256 -0
- package/src/sandbox/MacOsSeatbeltSandbox.ts +196 -0
- package/src/sandbox/SandboxConfigResolver.ts +134 -0
- package/src/sandbox/SandboxRunner.ts +101 -0
- package/src/service/Manager.ts +25 -0
- package/src/service/ServiceActionApi.ts +304 -0
- package/src/service/ServiceActionRunner.ts +272 -0
- package/src/service/ServiceClassRegistry.ts +77 -0
- package/src/service/ServiceCommand.ts +413 -0
- package/src/service/ServiceManager.ts +20 -0
- package/src/service/ServiceStateController.ts +316 -0
- package/src/service/ServiceSystemProviders.ts +50 -0
- package/src/service/Services.ts +33 -0
- package/src/service/schedule/Executor.ts +54 -0
- package/src/service/schedule/Runtime.ts +78 -0
- package/src/service/schedule/Schema.ts +34 -0
- package/src/service/schedule/Store.ts +316 -0
- package/src/service/schedule/Time.ts +131 -0
- package/src/services/BaseService.ts +85 -0
- package/src/services/README.md +100 -0
- package/src/services/chat/Action.ts +477 -0
- package/src/services/chat/ChatService.ts +111 -0
- package/src/services/chat/Index.ts +9 -0
- package/src/services/chat/PROMPT.direct.txt +55 -0
- package/src/services/chat/accounts/ChannelAccountService.ts +317 -0
- package/src/services/chat/channels/BaseChatChannel.ts +450 -0
- package/src/services/chat/channels/BaseChatChannelQueue.ts +321 -0
- package/src/services/chat/channels/BaseChatChannelSupport.ts +321 -0
- package/src/services/chat/channels/BotInfoProvider.ts +49 -0
- package/src/services/chat/channels/Configuration.ts +35 -0
- package/src/services/chat/channels/ConfigurationRegistry.ts +43 -0
- package/src/services/chat/channels/feishu/BotInfo.ts +199 -0
- package/src/services/chat/channels/feishu/Configuration.ts +65 -0
- package/src/services/chat/channels/feishu/Feishu.ts +634 -0
- package/src/services/chat/channels/feishu/FeishuInbound.ts +51 -0
- package/src/services/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
- package/src/services/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
- package/src/services/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
- package/src/services/chat/channels/feishu/InboundAttachment.ts +261 -0
- package/src/services/chat/channels/feishu/PROMPT.direct.txt +5 -0
- package/src/services/chat/channels/feishu/PostMessage.ts +492 -0
- package/src/services/chat/channels/feishu/ReplyContext.ts +68 -0
- package/src/services/chat/channels/feishu/Shared.ts +94 -0
- package/src/services/chat/channels/qq/BotInfo.ts +137 -0
- package/src/services/chat/channels/qq/Configuration.ts +64 -0
- package/src/services/chat/channels/qq/PROMPT.direct.txt +11 -0
- package/src/services/chat/channels/qq/QQ.ts +633 -0
- package/src/services/chat/channels/qq/QQEventCapture.ts +88 -0
- package/src/services/chat/channels/qq/QQGatewayAuth.ts +318 -0
- package/src/services/chat/channels/qq/QQGatewayClient.ts +641 -0
- package/src/services/chat/channels/qq/QQGatewaySend.ts +258 -0
- package/src/services/chat/channels/qq/QQGatewaySupport.ts +159 -0
- package/src/services/chat/channels/qq/QQInbound.ts +262 -0
- package/src/services/chat/channels/qq/QQInboundDedupe.ts +126 -0
- package/src/services/chat/channels/qq/QQSendSupport.ts +91 -0
- package/src/services/chat/channels/qq/QQSupport.ts +263 -0
- package/src/services/chat/channels/qq/VoiceInput.ts +381 -0
- package/src/services/chat/channels/telegram/ApiClient.ts +373 -0
- package/src/services/chat/channels/telegram/Bot.ts +652 -0
- package/src/services/chat/channels/telegram/BotInfo.ts +92 -0
- package/src/services/chat/channels/telegram/Configuration.ts +65 -0
- package/src/services/chat/channels/telegram/Handlers.ts +91 -0
- package/src/services/chat/channels/telegram/PROMPT.direct.txt +1 -0
- package/src/services/chat/channels/telegram/ReplyContext.ts +76 -0
- package/src/services/chat/channels/telegram/Shared.ts +404 -0
- package/src/services/chat/channels/telegram/StateStore.ts +58 -0
- package/src/services/chat/channels/telegram/TelegramInbound.ts +186 -0
- package/src/services/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
- package/src/services/chat/runtime/ChannelContextStore.ts +395 -0
- package/src/services/chat/runtime/ChatActionExecution.ts +362 -0
- package/src/services/chat/runtime/ChatActionInput.ts +590 -0
- package/src/services/chat/runtime/ChatChannelActions.ts +313 -0
- package/src/services/chat/runtime/ChatChannelConfig.ts +334 -0
- package/src/services/chat/runtime/ChatChannelCore.ts +112 -0
- package/src/services/chat/runtime/ChatChannelFacade.ts +23 -0
- package/src/services/chat/runtime/ChatChannelLifecycle.ts +165 -0
- package/src/services/chat/runtime/ChatHistoryStore.ts +289 -0
- package/src/services/chat/runtime/ChatIngressStore.ts +88 -0
- package/src/services/chat/runtime/ChatMessageMarkup.ts +263 -0
- package/src/services/chat/runtime/ChatMetaStore.ts +186 -0
- package/src/services/chat/runtime/ChatQueue.ts +77 -0
- package/src/services/chat/runtime/ChatQueueReplyDispatch.ts +191 -0
- package/src/services/chat/runtime/ChatQueueSessionBridge.ts +122 -0
- package/src/services/chat/runtime/ChatQueueStore.ts +185 -0
- package/src/services/chat/runtime/ChatQueueWorker.ts +504 -0
- package/src/services/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
- package/src/services/chat/runtime/ChatSendMetadata.ts +170 -0
- package/src/services/chat/runtime/ChatSendRegistry.ts +43 -0
- package/src/services/chat/runtime/ChatServiceActions.ts +484 -0
- package/src/services/chat/runtime/ChatServiceSystem.ts +119 -0
- package/src/services/chat/runtime/ChatSession.ts +125 -0
- package/src/services/chat/runtime/ChatSessionDelete.ts +95 -0
- package/src/services/chat/runtime/ChatSessionExecutionComposer.ts +106 -0
- package/src/services/chat/runtime/ChatkeySend.ts +187 -0
- package/src/services/chat/runtime/DirectDispatchParser.ts +158 -0
- package/src/services/chat/runtime/EnqueueDispatch.ts +49 -0
- package/src/services/chat/runtime/InboundAugment.ts +63 -0
- package/src/services/chat/runtime/PluginDispatch.ts +89 -0
- package/src/services/chat/runtime/PluginPoints.ts +78 -0
- package/src/services/chat/runtime/QueuedUserMessage.ts +43 -0
- package/src/services/chat/runtime/ReplyContextFormatter.ts +85 -0
- package/src/services/chat/runtime/ReplyDispatch.ts +78 -0
- package/src/services/chat/runtime/SystemPrompt.ts +84 -0
- package/src/services/chat/runtime/UIMessageTransformer.ts +141 -0
- package/src/services/chat/runtime/UserVisibleText.ts +84 -0
- package/src/services/chat/types/BotInfo.ts +101 -0
- package/src/services/chat/types/ChannelAccount.ts +232 -0
- package/src/services/chat/types/ChannelConfiguration.ts +161 -0
- package/src/services/chat/types/ChannelContext.ts +110 -0
- package/src/services/chat/types/ChannelStatus.ts +98 -0
- package/src/services/chat/types/ChatCommand.ts +174 -0
- package/src/services/chat/types/ChatDispatcher.ts +42 -0
- package/src/services/chat/types/ChatHistory.ts +42 -0
- package/src/services/chat/types/ChatMessageMarkup.ts +168 -0
- package/src/services/chat/types/ChatMeta.ts +35 -0
- package/src/services/chat/types/ChatQueue.ts +49 -0
- package/src/services/chat/types/DirectDispatch.ts +133 -0
- package/src/services/chat/types/FeishuAttachment.ts +50 -0
- package/src/services/chat/types/FeishuInboundAttachment.ts +138 -0
- package/src/services/chat/types/FeishuPost.ts +338 -0
- package/src/services/chat/types/QqInboundDedupe.ts +12 -0
- package/src/services/chat/types/QqVoice.ts +126 -0
- package/src/services/chat/types/ReplyContext.ts +49 -0
- package/src/services/contact/Action.ts +9 -0
- package/src/services/contact/ContactService.ts +799 -0
- package/src/services/contact/Index.ts +8 -0
- package/src/services/contact/PROMPT.txt +25 -0
- package/src/services/contact/runtime/ApproveCallback.ts +97 -0
- package/src/services/contact/runtime/ChatRuntime.ts +82 -0
- package/src/services/contact/runtime/ContactStore.ts +299 -0
- package/src/services/contact/runtime/EndpointNotice.ts +125 -0
- package/src/services/contact/runtime/EndpointResolver.ts +146 -0
- package/src/services/contact/runtime/InboxStore.ts +178 -0
- package/src/services/contact/runtime/LinkApproval.ts +387 -0
- package/src/services/contact/runtime/LinkCode.ts +70 -0
- package/src/services/contact/runtime/LinkStore.ts +50 -0
- package/src/services/contact/runtime/Paths.ts +139 -0
- package/src/services/contact/runtime/RemoteClient.ts +137 -0
- package/src/services/contact/runtime/ShareBundle.ts +286 -0
- package/src/services/contact/runtime/SystemProvider.ts +22 -0
- package/src/services/contact/runtime/Token.ts +40 -0
- package/src/services/memory/Action.ts +188 -0
- package/src/services/memory/Index.ts +9 -0
- package/src/services/memory/MemoryService.ts +329 -0
- package/src/services/memory/runtime/Flush.ts +83 -0
- package/src/services/memory/runtime/Indexer.ts +466 -0
- package/src/services/memory/runtime/Search.ts +90 -0
- package/src/services/memory/runtime/Store.ts +370 -0
- package/src/services/memory/runtime/SystemProvider.ts +145 -0
- package/src/services/memory/runtime/Writer.ts +174 -0
- package/src/services/memory/types/Memory.ts +341 -0
- package/src/services/shell/Index.ts +9 -0
- package/src/services/shell/ShellService.ts +199 -0
- package/src/services/shell/runtime/Paths.ts +28 -0
- package/src/services/shell/runtime/ShellActionRuntime.ts +579 -0
- package/src/services/shell/runtime/ShellActionRuntimeSupport.ts +552 -0
- package/src/services/shell/types/ShellService.ts +233 -0
- package/src/services/task/Action.ts +491 -0
- package/src/services/task/Index.ts +9 -0
- package/src/services/task/PROMPT.txt +237 -0
- package/src/services/task/Scheduler.ts +245 -0
- package/src/services/task/TaskService.ts +167 -0
- package/src/services/task/runtime/CronRuntime.ts +73 -0
- package/src/services/task/runtime/CronTrigger.ts +110 -0
- package/src/services/task/runtime/Frontmatter.ts +24 -0
- package/src/services/task/runtime/Model.ts +347 -0
- package/src/services/task/runtime/Paths.ts +116 -0
- package/src/services/task/runtime/Runner.ts +558 -0
- package/src/services/task/runtime/Store.ts +253 -0
- package/src/services/task/runtime/TaskActionExecution.ts +276 -0
- package/src/services/task/runtime/TaskActionInput.ts +463 -0
- package/src/services/task/runtime/TaskRunArtifacts.ts +493 -0
- package/src/services/task/runtime/TaskRunChatDispatch.ts +81 -0
- package/src/services/task/runtime/TaskRunnerProgress.ts +112 -0
- package/src/services/task/runtime/TaskRunnerRound.ts +337 -0
- package/src/services/task/runtime/TaskRunnerSession.ts +167 -0
- package/src/services/task/runtime/TaskServiceActions.ts +248 -0
- package/src/services/task/runtime/TaskServiceSystem.ts +30 -0
- package/src/services/task/types/Cron.ts +16 -0
- package/src/services/task/types/Task.ts +157 -0
- package/src/services/task/types/TaskCommand.ts +165 -0
- package/src/session/Session.ts +237 -0
- package/src/session/SessionRunScope.ts +134 -0
- package/src/session/composer/SessionComposer.ts +34 -0
- package/src/session/composer/compaction/SessionCompactionComposer.ts +68 -0
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +100 -0
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
- package/src/session/composer/execution/LocalSessionExecutionComposer.ts +169 -0
- package/src/session/composer/execution/SessionExecutionComposer.ts +71 -0
- package/src/session/composer/history/SessionHistoryComposer.ts +194 -0
- package/src/session/composer/history/SessionHistoryWriter.ts +131 -0
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +508 -0
- package/src/session/composer/system/SessionSystemComposer.ts +25 -0
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +78 -0
- package/src/session/composer/system/default/InitPrompts.ts +52 -0
- package/src/session/composer/system/default/PromptRenderer.ts +52 -0
- package/src/session/composer/system/default/StaticPromptCatalog.ts +287 -0
- package/src/session/composer/system/default/SystemDomain.ts +405 -0
- package/src/session/composer/system/default/assets/core.prompt.txt +39 -0
- package/src/session/composer/system/default/assets/init/PROFILE.md.txt +17 -0
- package/src/session/composer/system/default/assets/init/SOUL.md.txt +88 -0
- package/src/session/composer/system/default/assets/service.prompt.txt +29 -0
- package/src/session/composer/system/default/assets/task.prompt.txt +33 -0
- package/src/session/composer/system/default/variables/GeoContext.ts +180 -0
- package/src/session/composer/system/default/variables/PromptTypes.ts +37 -0
- package/src/session/composer/system/default/variables/VariableReplacer.ts +154 -0
- package/src/session/executors/local/LocalSessionCore.ts +753 -0
- package/src/session/executors/local/LocalSessionExecutor.ts +89 -0
- package/src/session/executors/local/SessionLoopDecision.ts +80 -0
- package/src/session/executors/local/SessionSignals.ts +416 -0
- package/src/session/ids/resolveSessionId.ts +18 -0
- package/src/session/messages/SessionAttachmentMapper.ts +155 -0
- package/src/session/messages/SessionMessageCodec.ts +116 -0
- package/src/session/messages/SessionMessageLog.ts +39 -0
- package/src/session/messages/SessionStepEventMapper.ts +233 -0
- package/src/session/tools/shell/ShellToolBridge.ts +378 -0
- package/src/session/tools/shell/ShellToolDefinition.ts +509 -0
- package/src/session/tools/shell/ShellToolFormatting.ts +83 -0
- package/src/session/tools/shell/ShellToolSchemas.ts +120 -0
- package/src/shared/constants/DowncityDefault.ts +38 -0
- package/src/shared/constants/DowncitySchema.ts +377 -0
- package/src/shared/types/AgentHost.ts +74 -0
- package/src/shared/types/AgentProject.ts +92 -0
- package/src/shared/types/AuthDashboard.ts +38 -0
- package/src/shared/types/AuthPlugin.ts +545 -0
- package/src/shared/types/ChatPlugin.ts +251 -0
- package/src/shared/types/ChatPromptContext.ts +139 -0
- package/src/shared/types/ChatQueueWorker.ts +25 -0
- package/src/shared/types/ChatRuntime.ts +33 -0
- package/src/shared/types/ChatService.ts +165 -0
- package/src/shared/types/ClaudeSkill.ts +64 -0
- package/src/shared/types/Console.ts +448 -0
- package/src/shared/types/ConsoleGateway.ts +196 -0
- package/src/shared/types/Daemon.ts +53 -0
- package/src/shared/types/DashboardData.ts +392 -0
- package/src/shared/types/DashboardRoutes.ts +31 -0
- package/src/shared/types/DashboardSessionExecute.ts +99 -0
- package/src/shared/types/DowncityConfig.ts +215 -0
- package/src/shared/types/ExecutionBinding.ts +27 -0
- package/src/shared/types/FeishuChannel.ts +131 -0
- package/src/shared/types/InlineInstant.ts +96 -0
- package/src/shared/types/Json.ts +34 -0
- package/src/shared/types/LlmConfig.ts +115 -0
- package/src/shared/types/LocalRpc.ts +72 -0
- package/src/shared/types/ModelBinding.ts +18 -0
- package/src/shared/types/Plugin.ts +743 -0
- package/src/shared/types/PluginApi.ts +157 -0
- package/src/shared/types/PluginLifecycle.ts +35 -0
- package/src/shared/types/QqChannel.ts +501 -0
- package/src/shared/types/QqGatewaySupport.ts +97 -0
- package/src/shared/types/README.md +53 -0
- package/src/shared/types/Sandbox.ts +144 -0
- package/src/shared/types/Service.ts +223 -0
- package/src/shared/types/ServiceSchedule.ts +134 -0
- package/src/shared/types/ServiceState.ts +112 -0
- package/src/shared/types/Services.ts +100 -0
- package/src/shared/types/Shell.ts +103 -0
- package/src/shared/types/SkillCommand.ts +90 -0
- package/src/shared/types/SkillPlugin.ts +107 -0
- package/src/shared/types/SkillRoot.ts +49 -0
- package/src/shared/types/Start.ts +16 -0
- package/src/shared/types/Store.ts +526 -0
- package/src/shared/types/TaskService.ts +55 -0
- package/src/shared/types/Template.ts +9 -0
- package/src/shared/types/Tts.ts +99 -0
- package/src/shared/types/TtsPlugin.ts +164 -0
- package/src/shared/types/Voice.ts +68 -0
- package/src/shared/types/VoicePlugin.ts +194 -0
- package/src/shared/types/WebPlugin.ts +141 -0
- package/src/shared/types/auth/AuthPermission.ts +126 -0
- package/src/shared/types/auth/AuthRoute.ts +31 -0
- package/src/shared/types/auth/AuthToken.ts +47 -0
- package/src/shared/types/auth/AuthTypes.ts +235 -0
- package/src/shared/utils/Id.ts +13 -0
- package/src/shared/utils/README.md +49 -0
- package/src/shared/utils/Template.ts +28 -0
- package/src/shared/utils/Time.ts +77 -0
- package/src/shared/utils/cli/CliOutput.ts +170 -0
- package/src/shared/utils/cli/Spinner.ts +161 -0
- package/src/shared/utils/logger/Fetch.ts +93 -0
- package/src/shared/utils/logger/Format.ts +15 -0
- package/src/shared/utils/logger/FormatRequest.ts +455 -0
- package/src/shared/utils/logger/FormatResponse.ts +265 -0
- package/src/shared/utils/logger/FormatShared.ts +258 -0
- package/src/shared/utils/logger/Logger.ts +372 -0
- package/src/shared/utils/storage/index.ts +26 -0
- package/src/shared/utils/store/StoreChannelAccountRepository.ts +269 -0
- package/src/shared/utils/store/StoreChatAuthRepository.ts +215 -0
- package/src/shared/utils/store/StoreEnvRepository.ts +452 -0
- package/src/shared/utils/store/StoreModelRepository.ts +324 -0
- package/src/shared/utils/store/StoreSchema.ts +567 -0
- package/src/shared/utils/store/StoreSecureSettings.ts +126 -0
- package/src/shared/utils/store/StoreShared.ts +67 -0
- package/src/shared/utils/store/crypto.ts +112 -0
- package/src/shared/utils/store/index.ts +532 -0
- package/src/shared/utils/store/schema.ts +103 -0
- package/src/types/agent/AgentContext.ts +380 -0
- package/src/types/agent/AgentRuntime.ts +86 -0
- package/src/types/chat/ChatSession.ts +32 -0
- package/src/types/city/PublicHostEnv.ts +76 -0
- package/src/types/cli/AgentChat.ts +172 -0
- package/src/types/cli/AgentHistory.ts +146 -0
- package/src/types/cli/AgentManager.ts +119 -0
- package/src/types/cli/AgentSelection.ts +162 -0
- package/src/types/cli/ChatManager.ts +65 -0
- package/src/types/cli/CliError.ts +72 -0
- package/src/types/cli/CliReporter.ts +167 -0
- package/src/types/cli/ModelManager.ts +139 -0
- package/src/types/contact/Contact.ts +82 -0
- package/src/types/contact/ContactApproval.ts +150 -0
- package/src/types/contact/ContactChat.ts +47 -0
- package/src/types/contact/ContactCheck.ts +67 -0
- package/src/types/contact/ContactCommand.ts +98 -0
- package/src/types/contact/ContactEndpoint.ts +16 -0
- package/src/types/contact/ContactLink.ts +169 -0
- package/src/types/contact/ContactShare.ts +172 -0
- package/src/types/sandbox/SandboxRuntime.ts +377 -0
- package/src/types/session/SessionExecutor.ts +33 -0
- package/src/types/session/SessionHistoryMeta.ts +26 -0
- package/src/types/session/SessionHistoryPaths.ts +33 -0
- package/src/types/session/SessionLoop.ts +95 -0
- package/src/types/session/SessionMessages.ts +90 -0
- package/src/types/session/SessionPrompts.ts +14 -0
- package/src/types/session/SessionRun.ts +116 -0
- package/src/types/shell/ShellRuntime.ts +94 -0
- package/src/types/task/TaskRunner.ts +199 -0
- package/tsconfig.json +27 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PluginManager 单例。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - `main/plugin/*` 是 plugin 的管理层,不是具体 plugin 实现层。
|
|
6
|
+
* - plugin hook / resolve / system 注入所依赖的注册与调度统一收口到这里。
|
|
7
|
+
* - PluginManager 属于 city runtime,不直接反向依赖 agent AgentContext 单例。
|
|
8
|
+
* - agent 只是通过 AgentContext 调用统一 plugin manager。
|
|
9
|
+
* - 具体 plugin 实现位于 `src/plugins/*`,CLI plugin 命令则直接走本地命令执行器。
|
|
10
|
+
*/
|
|
11
|
+
import { isPluginEnabled } from "../plugin/Activation.js";
|
|
12
|
+
import { HookRegistry } from "../plugin/HookRegistry.js";
|
|
13
|
+
import { PluginRegistry } from "../plugin/PluginRegistry.js";
|
|
14
|
+
import { registerBuiltinPlugins } from "../plugin/Plugins.js";
|
|
15
|
+
import { getPluginRuntimeContextResolver } from "../runtime/PluginRuntime.js";
|
|
16
|
+
let pluginManager = null;
|
|
17
|
+
/**
|
|
18
|
+
* 初始化全局 plugin manager。
|
|
19
|
+
*/
|
|
20
|
+
export function initializePluginManager() {
|
|
21
|
+
if (pluginManager)
|
|
22
|
+
return pluginManager;
|
|
23
|
+
const contextResolver = getPluginRuntimeContextResolver();
|
|
24
|
+
let pluginRegistryRef = null;
|
|
25
|
+
const hookRegistry = new HookRegistry({
|
|
26
|
+
contextResolver,
|
|
27
|
+
pluginEnabledChecker: (pluginName, context) => {
|
|
28
|
+
const plugin = pluginRegistryRef?.get(pluginName);
|
|
29
|
+
if (!plugin)
|
|
30
|
+
return false;
|
|
31
|
+
return isPluginEnabled({
|
|
32
|
+
plugin,
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
const registry = new PluginRegistry({
|
|
37
|
+
contextResolver,
|
|
38
|
+
hookRegistry,
|
|
39
|
+
});
|
|
40
|
+
pluginRegistryRef = registry;
|
|
41
|
+
registerBuiltinPlugins({
|
|
42
|
+
pluginRegistry: registry,
|
|
43
|
+
});
|
|
44
|
+
pluginManager = registry;
|
|
45
|
+
return registry;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 读取全局 plugin manager。
|
|
49
|
+
*/
|
|
50
|
+
export function getPluginManager() {
|
|
51
|
+
if (!pluginManager) {
|
|
52
|
+
return initializePluginManager();
|
|
53
|
+
}
|
|
54
|
+
return pluginManager;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* 重置全局 plugin manager(测试/重启场景)。
|
|
58
|
+
*/
|
|
59
|
+
export function resetPluginManager() {
|
|
60
|
+
pluginManager = null;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=PluginManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginManager.js","sourceRoot":"","sources":["../../src/plugin/PluginManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,IAAI,aAAa,GAA0B,IAAI,CAAC;AAEhD;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACrC,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IAExC,MAAM,eAAe,GAAG,+BAA+B,EAAE,CAAC;IAC1D,IAAI,iBAAiB,GAA0B,IAAI,CAAC;IACpD,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC;QACpC,eAAe;QACf,oBAAoB,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,EAAE;YAC5C,MAAM,MAAM,GAAG,iBAAiB,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;YAClD,IAAI,CAAC,MAAM;gBAAE,OAAO,KAAK,CAAC;YAC1B,OAAO,eAAe,CAAC;gBACrB,MAAM;aACP,CAAC,CAAC;QACL,CAAC;KACF,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAC;QAClC,eAAe;QACf,YAAY;KACb,CAAC,CAAC;IACH,iBAAiB,GAAG,QAAQ,CAAC;IAC7B,sBAAsB,CAAC;QACrB,cAAc,EAAE,QAAQ;KACzB,CAAC,CAAC;IACH,aAAa,GAAG,QAAQ,CAAC;IACzB,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB;IAC9B,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,uBAAuB,EAAE,CAAC;IACnC,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,aAAa,GAAG,IAAI,CAAC;AACvB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin 注册表。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一管理 plugin 注册、可用性检查与显式 action 运行。
|
|
6
|
+
* - Plugin 自身不维护独立状态机;可用性由 enabled 配置与 plugin 自定义 availability 决定。
|
|
7
|
+
*/
|
|
8
|
+
import type { HookRegistry } from "../plugin/HookRegistry.js";
|
|
9
|
+
import type { Plugin, PluginActionResult, PluginAvailability, PluginView } from "../shared/types/Plugin.js";
|
|
10
|
+
import type { AgentContext } from "../types/agent/AgentContext.js";
|
|
11
|
+
import type { JsonValue } from "../shared/types/Json.js";
|
|
12
|
+
type ContextResolver = () => AgentContext;
|
|
13
|
+
/**
|
|
14
|
+
* PluginRegistry:plugin 注册与调度实现。
|
|
15
|
+
*/
|
|
16
|
+
export declare class PluginRegistry {
|
|
17
|
+
private readonly contextResolver;
|
|
18
|
+
private readonly hookRegistry;
|
|
19
|
+
private readonly plugins;
|
|
20
|
+
constructor(params: {
|
|
21
|
+
contextResolver: ContextResolver;
|
|
22
|
+
hookRegistry: HookRegistry;
|
|
23
|
+
});
|
|
24
|
+
/**
|
|
25
|
+
* 注册单个 Plugin。
|
|
26
|
+
*/
|
|
27
|
+
register(plugin: Plugin): void;
|
|
28
|
+
/**
|
|
29
|
+
* 运行 pipeline 点。
|
|
30
|
+
*/
|
|
31
|
+
pipeline<T = JsonValue>(pointName: string, value: T): Promise<T>;
|
|
32
|
+
/**
|
|
33
|
+
* 运行 guard 点。
|
|
34
|
+
*/
|
|
35
|
+
guard<T = JsonValue>(pointName: string, value: T): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* 运行 effect 点。
|
|
38
|
+
*/
|
|
39
|
+
effect<T = JsonValue>(pointName: string, value: T): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* 运行 resolve 点。
|
|
42
|
+
*/
|
|
43
|
+
resolve<TInput = JsonValue, TOutput = JsonValue>(pointName: string, value: TInput): Promise<TOutput>;
|
|
44
|
+
/**
|
|
45
|
+
* 获取单个 plugin 定义。
|
|
46
|
+
*/
|
|
47
|
+
get(pluginName: string): Plugin | null;
|
|
48
|
+
/**
|
|
49
|
+
* 列出全部 plugin 概览视图。
|
|
50
|
+
*/
|
|
51
|
+
list(): PluginView[];
|
|
52
|
+
/**
|
|
53
|
+
* 检查 plugin 可用性。
|
|
54
|
+
*/
|
|
55
|
+
availability(pluginName: string): Promise<PluginAvailability>;
|
|
56
|
+
/**
|
|
57
|
+
* 运行 plugin action。
|
|
58
|
+
*/
|
|
59
|
+
runAction(params: {
|
|
60
|
+
plugin: string;
|
|
61
|
+
action: string;
|
|
62
|
+
payload?: JsonValue;
|
|
63
|
+
}): Promise<PluginActionResult<JsonValue>>;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=PluginRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginRegistry.d.ts","sourceRoot":"","sources":["../../src/plugin/PluginRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACV,MAAM,EACN,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,KAAK,eAAe,GAAG,MAAM,YAAY,CAAC;AAE1C;;GAEG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAElD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAE5C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA6B;gBAEzC,MAAM,EAAE;QAClB,eAAe,EAAE,eAAe,CAAC;QACjC,YAAY,EAAE,YAAY,CAAC;KAC5B;IAKD;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAuC9B;;OAEG;IACG,QAAQ,CAAC,CAAC,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAItE;;OAEG;IACG,KAAK,CAAC,CAAC,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAItE;;OAEG;IACG,MAAM,CAAC,CAAC,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvE;;OAEG;IACG,OAAO,CAAC,MAAM,GAAG,SAAS,EAAE,OAAO,GAAG,SAAS,EACnD,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,OAAO,CAAC;IAInB;;OAEG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAItC;;OAEG;IACH,IAAI,IAAI,UAAU,EAAE;IA2BpB;;OAEG;IACG,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA+BnE;;OAEG;IACG,SAAS,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,GAAG,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;CAqD3C"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin 注册表。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一管理 plugin 注册、可用性检查与显式 action 运行。
|
|
6
|
+
* - Plugin 自身不维护独立状态机;可用性由 enabled 配置与 plugin 自定义 availability 决定。
|
|
7
|
+
*/
|
|
8
|
+
import { isPluginEnabled } from "../plugin/Activation.js";
|
|
9
|
+
/**
|
|
10
|
+
* PluginRegistry:plugin 注册与调度实现。
|
|
11
|
+
*/
|
|
12
|
+
export class PluginRegistry {
|
|
13
|
+
contextResolver;
|
|
14
|
+
hookRegistry;
|
|
15
|
+
plugins = new Map();
|
|
16
|
+
constructor(params) {
|
|
17
|
+
this.contextResolver = params.contextResolver;
|
|
18
|
+
this.hookRegistry = params.hookRegistry;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 注册单个 Plugin。
|
|
22
|
+
*/
|
|
23
|
+
register(plugin) {
|
|
24
|
+
const key = String(plugin.name || "").trim();
|
|
25
|
+
if (!key) {
|
|
26
|
+
throw new Error("Plugin name is required");
|
|
27
|
+
}
|
|
28
|
+
if (this.plugins.has(key)) {
|
|
29
|
+
throw new Error(`Plugin already registered: ${key}`);
|
|
30
|
+
}
|
|
31
|
+
this.plugins.set(key, plugin);
|
|
32
|
+
for (const [hookName, handlers] of Object.entries(plugin.hooks?.pipeline || {})) {
|
|
33
|
+
for (const handler of handlers) {
|
|
34
|
+
this.hookRegistry.pipeline(hookName, key, handler);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
for (const [hookName, handlers] of Object.entries(plugin.hooks?.guard || {})) {
|
|
38
|
+
for (const handler of handlers) {
|
|
39
|
+
this.hookRegistry.guard(hookName, key, handler);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
for (const [hookName, handlers] of Object.entries(plugin.hooks?.effect || {})) {
|
|
43
|
+
for (const handler of handlers) {
|
|
44
|
+
this.hookRegistry.effect(hookName, key, handler);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
for (const [pointName, handler] of Object.entries(plugin.resolves || {})) {
|
|
48
|
+
this.hookRegistry.resolve(pointName, key, handler);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 运行 pipeline 点。
|
|
53
|
+
*/
|
|
54
|
+
async pipeline(pointName, value) {
|
|
55
|
+
return this.hookRegistry.pipelineValue(pointName, value);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 运行 guard 点。
|
|
59
|
+
*/
|
|
60
|
+
async guard(pointName, value) {
|
|
61
|
+
return this.hookRegistry.guardValue(pointName, value);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 运行 effect 点。
|
|
65
|
+
*/
|
|
66
|
+
async effect(pointName, value) {
|
|
67
|
+
return this.hookRegistry.effectValue(pointName, value);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 运行 resolve 点。
|
|
71
|
+
*/
|
|
72
|
+
async resolve(pointName, value) {
|
|
73
|
+
return this.hookRegistry.resolveValue(pointName, value);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 获取单个 plugin 定义。
|
|
77
|
+
*/
|
|
78
|
+
get(pluginName) {
|
|
79
|
+
return this.plugins.get(String(pluginName || "").trim()) || null;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 列出全部 plugin 概览视图。
|
|
83
|
+
*/
|
|
84
|
+
list() {
|
|
85
|
+
return Array.from(this.plugins.values())
|
|
86
|
+
.map((plugin) => ({
|
|
87
|
+
name: plugin.name,
|
|
88
|
+
title: String(plugin.title || plugin.name || "").trim(),
|
|
89
|
+
description: String(plugin.description || "").trim(),
|
|
90
|
+
actions: Object.keys(plugin.actions || {}).sort((a, b) => a.localeCompare(b)),
|
|
91
|
+
pipelines: Object.keys(plugin.hooks?.pipeline || {}).sort((a, b) => a.localeCompare(b)),
|
|
92
|
+
guards: Object.keys(plugin.hooks?.guard || {}).sort((a, b) => a.localeCompare(b)),
|
|
93
|
+
effects: Object.keys(plugin.hooks?.effect || {}).sort((a, b) => a.localeCompare(b)),
|
|
94
|
+
resolves: Object.keys(plugin.resolves || {}).sort((a, b) => a.localeCompare(b)),
|
|
95
|
+
hasSystem: typeof plugin.system === "function",
|
|
96
|
+
hasAvailability: typeof plugin.availability === "function",
|
|
97
|
+
}))
|
|
98
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* 检查 plugin 可用性。
|
|
102
|
+
*/
|
|
103
|
+
async availability(pluginName) {
|
|
104
|
+
const plugin = this.get(pluginName);
|
|
105
|
+
if (!plugin) {
|
|
106
|
+
return {
|
|
107
|
+
enabled: false,
|
|
108
|
+
available: false,
|
|
109
|
+
reasons: [`Unknown plugin: ${pluginName}`],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
if (plugin.availability) {
|
|
113
|
+
return await plugin.availability(this.contextResolver());
|
|
114
|
+
}
|
|
115
|
+
const context = this.contextResolver();
|
|
116
|
+
const enabled = isPluginEnabled({ plugin });
|
|
117
|
+
if (!enabled) {
|
|
118
|
+
return {
|
|
119
|
+
enabled: false,
|
|
120
|
+
available: false,
|
|
121
|
+
reasons: [`Plugin "${plugin.name}" is disabled`],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
return {
|
|
125
|
+
enabled: true,
|
|
126
|
+
available: true,
|
|
127
|
+
reasons: [],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* 运行 plugin action。
|
|
132
|
+
*/
|
|
133
|
+
async runAction(params) {
|
|
134
|
+
const plugin = this.get(params.plugin);
|
|
135
|
+
if (!plugin) {
|
|
136
|
+
return {
|
|
137
|
+
success: false,
|
|
138
|
+
error: `Unknown plugin: ${params.plugin}`,
|
|
139
|
+
message: `Unknown plugin: ${params.plugin}`,
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
const actionName = String(params.action || "").trim();
|
|
143
|
+
if (!actionName) {
|
|
144
|
+
return {
|
|
145
|
+
success: false,
|
|
146
|
+
error: "action is required",
|
|
147
|
+
message: "action is required",
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
const action = plugin.actions?.[actionName];
|
|
151
|
+
if (!action) {
|
|
152
|
+
return {
|
|
153
|
+
success: false,
|
|
154
|
+
error: `Plugin "${plugin.name}" does not implement action "${actionName}"`,
|
|
155
|
+
message: `Plugin "${plugin.name}" does not implement action "${actionName}"`,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
const context = this.contextResolver();
|
|
159
|
+
const enabled = isPluginEnabled({ plugin });
|
|
160
|
+
if (!enabled && action.allowWhenDisabled !== true) {
|
|
161
|
+
return {
|
|
162
|
+
success: false,
|
|
163
|
+
error: `Plugin "${plugin.name}" is disabled`,
|
|
164
|
+
message: `Plugin "${plugin.name}" is disabled`,
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
try {
|
|
168
|
+
return await action.execute({
|
|
169
|
+
context,
|
|
170
|
+
payload: (params.payload ?? {}),
|
|
171
|
+
pluginName: plugin.name,
|
|
172
|
+
actionName,
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
catch (error) {
|
|
176
|
+
return {
|
|
177
|
+
success: false,
|
|
178
|
+
error: String(error),
|
|
179
|
+
message: String(error),
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
//# sourceMappingURL=PluginRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginRegistry.js","sourceRoot":"","sources":["../../src/plugin/PluginRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAazD;;GAEG;AACH,MAAM,OAAO,cAAc;IACR,eAAe,CAAkB;IAEjC,YAAY,CAAe;IAE3B,OAAO,GAAG,IAAI,GAAG,EAAkB,CAAC;IAErD,YAAY,MAGX;QACC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,MAAc;QACrB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC7C,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,8BAA8B,GAAG,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QAE9B,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAC/C,MAAM,CAAC,KAAK,EAAE,QAAQ,IAAI,EAAE,CAC7B,EAAE,CAAC;YACF,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;YACrD,CAAC;QACH,CAAC;QAED,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAC/C,MAAM,CAAC,KAAK,EAAE,KAAK,IAAI,EAAE,CAC1B,EAAE,CAAC;YACF,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;YAClD,CAAC;QACH,CAAC;QAED,KAAK,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAC/C,MAAM,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,CAC3B,EAAE,CAAC;YACF,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;YACnD,CAAC;QACH,CAAC;QAED,KAAK,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,EAAE,CAAC;YACzE,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ,CAAgB,SAAiB,EAAE,KAAQ;QACvD,OAAO,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK,CAAgB,SAAiB,EAAE,KAAQ;QACpD,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAgB,SAAiB,EAAE,KAAQ;QACrD,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,SAAiB,EACjB,KAAa;QAEb,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,CAAkB,SAAS,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,IAAI,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;aACrC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;YACvD,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;YACpD,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACvD,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CACnB;YACD,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACjE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CACnB;YACD,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAC3D,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CACnB;YACD,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAC7D,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CACnB;YACD,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACzD,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CACnB;YACD,SAAS,EAAE,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU;YAC9C,eAAe,EAAE,OAAO,MAAM,CAAC,YAAY,KAAK,UAAU;SAC3D,CAAC,CAAC;aACF,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAAC,UAAkB;QACnC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,OAAO,EAAE,CAAC,mBAAmB,UAAU,EAAE,CAAC;aAC3C,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;YACxB,OAAO,MAAM,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;QAC3D,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAE5C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,SAAS,EAAE,KAAK;gBAChB,OAAO,EAAE,CAAC,WAAW,MAAM,CAAC,IAAI,eAAe,CAAC;aACjD,CAAC;QACJ,CAAC;QACD,OAAO;YACL,OAAO,EAAE,IAAI;YACb,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,EAAE;SACZ,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,CAAC,MAIf;QACC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,mBAAmB,MAAM,CAAC,MAAM,EAAE;gBACzC,OAAO,EAAE,mBAAmB,MAAM,CAAC,MAAM,EAAE;aAC5C,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACtD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,oBAAoB;gBAC3B,OAAO,EAAE,oBAAoB;aAC9B,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,WAAW,MAAM,CAAC,IAAI,gCAAgC,UAAU,GAAG;gBAC1E,OAAO,EAAE,WAAW,MAAM,CAAC,IAAI,gCAAgC,UAAU,GAAG;aAC7E,CAAC;QACJ,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI,EAAE,CAAC;YAClD,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,WAAW,MAAM,CAAC,IAAI,eAAe;gBAC5C,OAAO,EAAE,WAAW,MAAM,CAAC,IAAI,eAAe;aAC/C,CAAC;QACJ,CAAC;QAED,IAAI,CAAC;YACH,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;gBAC1B,OAAO;gBACP,OAAO,EAAE,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAc;gBAC5C,UAAU,EAAE,MAAM,CAAC,IAAI;gBACvB,UAAU;aACX,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;gBACpB,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC;aACvB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内建 Plugin 清单(单一事实源)。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一维护全部内建 plugin,避免 CLI / agent / docs 各自硬编码。
|
|
6
|
+
* - 同时提供统一注册入口,减少额外跳转层级。
|
|
7
|
+
*/
|
|
8
|
+
import type { PluginRegistry } from "../plugin/PluginRegistry.js";
|
|
9
|
+
import type { Plugin } from "../shared/types/Plugin.js";
|
|
10
|
+
/**
|
|
11
|
+
* 全部内建 Plugin。
|
|
12
|
+
*/
|
|
13
|
+
export declare const PLUGINS: Plugin[];
|
|
14
|
+
/**
|
|
15
|
+
* 注册全部内建插件体系对象。
|
|
16
|
+
*/
|
|
17
|
+
export declare function registerBuiltinPlugins(params: {
|
|
18
|
+
pluginRegistry: PluginRegistry;
|
|
19
|
+
}): void;
|
|
20
|
+
//# sourceMappingURL=Plugins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugins.d.ts","sourceRoot":"","sources":["../../src/plugin/Plugins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAQvD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,EAO3B,CAAC;AAEF;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAC7C,cAAc,EAAE,cAAc,CAAC;CAChC,GAAG,IAAI,CAIP"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内建 Plugin 清单(单一事实源)。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 统一维护全部内建 plugin,避免 CLI / agent / docs 各自硬编码。
|
|
6
|
+
* - 同时提供统一注册入口,减少额外跳转层级。
|
|
7
|
+
*/
|
|
8
|
+
import { authPlugin } from "../plugins/auth/Plugin.js";
|
|
9
|
+
import { skillPlugin } from "../plugins/skill/Plugin.js";
|
|
10
|
+
import { webPlugin } from "../plugins/web/Plugin.js";
|
|
11
|
+
import { asrPlugin } from "../plugins/asr/Plugin.js";
|
|
12
|
+
import { ttsPlugin } from "../plugins/tts/Plugin.js";
|
|
13
|
+
import { workboardPlugin } from "../plugins/workboard/Plugin.js";
|
|
14
|
+
/**
|
|
15
|
+
* 全部内建 Plugin。
|
|
16
|
+
*/
|
|
17
|
+
export const PLUGINS = [
|
|
18
|
+
authPlugin,
|
|
19
|
+
skillPlugin,
|
|
20
|
+
webPlugin,
|
|
21
|
+
asrPlugin,
|
|
22
|
+
ttsPlugin,
|
|
23
|
+
workboardPlugin,
|
|
24
|
+
];
|
|
25
|
+
/**
|
|
26
|
+
* 注册全部内建插件体系对象。
|
|
27
|
+
*/
|
|
28
|
+
export function registerBuiltinPlugins(params) {
|
|
29
|
+
for (const plugin of PLUGINS) {
|
|
30
|
+
params.pluginRegistry.register(plugin);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Plugins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugins.js","sourceRoot":"","sources":["../../src/plugin/Plugins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B,UAAU;IACV,WAAW;IACX,SAAS;IACT,SAAS;IACT,SAAS;IACT,eAAe;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,MAEtC;IACC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin 项目配置持久化工具。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 新插件体系的用户配置统一写回项目 `downcity.json`。
|
|
6
|
+
* - 这里只负责 `plugins` 配置域,避免把执行期合并态整包落盘。
|
|
7
|
+
* - 这样既能保证重启后配置仍然生效,也能避免把 console 全局配置误写进项目文件。
|
|
8
|
+
*/
|
|
9
|
+
import type { DowncityConfig } from "../shared/types/DowncityConfig.js";
|
|
10
|
+
type PersistableSections = {
|
|
11
|
+
/**
|
|
12
|
+
* 插件配置块(可选)。
|
|
13
|
+
*/
|
|
14
|
+
plugins?: DowncityConfig["plugins"];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 将 plugins 配置块写回项目 `downcity.json`。
|
|
18
|
+
*/
|
|
19
|
+
export declare function persistProjectPluginConfig(params: {
|
|
20
|
+
/**
|
|
21
|
+
* 项目根目录。
|
|
22
|
+
*/
|
|
23
|
+
projectRoot: string;
|
|
24
|
+
/**
|
|
25
|
+
* 待持久化的配置块。
|
|
26
|
+
*/
|
|
27
|
+
sections: PersistableSections;
|
|
28
|
+
}): Promise<string>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=ProjectConfigStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectConfigStore.d.ts","sourceRoot":"","sources":["../../src/plugin/ProjectConfigStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC,CAAC;AAgBF;;GAEG;AACH,wBAAsB,0BAA0B,CAAC,MAAM,EAAE;IACvD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;CAC/B,GAAG,OAAO,CAAC,MAAM,CAAC,CAWlB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin 项目配置持久化工具。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 新插件体系的用户配置统一写回项目 `downcity.json`。
|
|
6
|
+
* - 这里只负责 `plugins` 配置域,避免把执行期合并态整包落盘。
|
|
7
|
+
* - 这样既能保证重启后配置仍然生效,也能避免把 console 全局配置误写进项目文件。
|
|
8
|
+
*/
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
|
+
import path from "node:path";
|
|
11
|
+
function getProjectDowncityJsonPath(projectRoot) {
|
|
12
|
+
return path.join(path.resolve(projectRoot), "downcity.json");
|
|
13
|
+
}
|
|
14
|
+
async function readProjectDowncityConfig(projectRoot) {
|
|
15
|
+
const downcityJsonPath = getProjectDowncityJsonPath(projectRoot);
|
|
16
|
+
const raw = await fs.readFile(downcityJsonPath, "utf-8");
|
|
17
|
+
const parsed = JSON.parse(raw);
|
|
18
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
19
|
+
throw new Error(`Invalid downcity.json: expected object (${downcityJsonPath})`);
|
|
20
|
+
}
|
|
21
|
+
return parsed;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 将 plugins 配置块写回项目 `downcity.json`。
|
|
25
|
+
*/
|
|
26
|
+
export async function persistProjectPluginConfig(params) {
|
|
27
|
+
const downcityJsonPath = getProjectDowncityJsonPath(params.projectRoot);
|
|
28
|
+
const current = await readProjectDowncityConfig(params.projectRoot);
|
|
29
|
+
const next = {
|
|
30
|
+
...current,
|
|
31
|
+
...(params.sections.plugins !== undefined
|
|
32
|
+
? { plugins: params.sections.plugins }
|
|
33
|
+
: {}),
|
|
34
|
+
};
|
|
35
|
+
await fs.writeFile(downcityJsonPath, `${JSON.stringify(next, null, 2)}\n`, "utf-8");
|
|
36
|
+
return downcityJsonPath;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=ProjectConfigStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectConfigStore.js","sourceRoot":"","sources":["../../src/plugin/ProjectConfigStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAU7B,SAAS,0BAA0B,CAAC,WAAmB;IACrD,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,CAAC;AAC/D,CAAC;AAED,KAAK,UAAU,yBAAyB,CAAC,WAAmB;IAC1D,MAAM,gBAAgB,GAAG,0BAA0B,CAAC,WAAW,CAAC,CAAC;IACjE,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAY,CAAC;IAC1C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CAAC,2CAA2C,gBAAgB,GAAG,CAAC,CAAC;IAClF,CAAC;IACD,OAAO,MAAwB,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,MAShD;IACC,MAAM,gBAAgB,GAAG,0BAA0B,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,MAAM,yBAAyB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACpE,MAAM,IAAI,GAAmB;QAC3B,GAAG,OAAO;QACV,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS;YACvC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE;YACtC,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;IACF,MAAM,EAAE,CAAC,SAAS,CAAC,gBAAgB,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACpF,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ASR Plugin Dependency Helper。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - ASR 的转写依赖现在内聚在 plugin 内部,不再暴露独立依赖端口心智。
|
|
6
|
+
* - 这里统一管理检查、安装、配置读写与转写句柄解析。
|
|
7
|
+
*/
|
|
8
|
+
import type { JsonValue } from "../../shared/types/Json.js";
|
|
9
|
+
import type { PluginCommandContext } from "../../shared/types/Plugin.js";
|
|
10
|
+
import type { VoicePluginConfig, VoiceTranscriberConfig, VoiceTranscriberInstallInput, VoiceTranscriberHandle } from "../../shared/types/VoicePlugin.js";
|
|
11
|
+
export interface VoiceDependencyCheckResult {
|
|
12
|
+
/**
|
|
13
|
+
* 当前依赖是否可用。
|
|
14
|
+
*/
|
|
15
|
+
available: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* 不可用原因列表。
|
|
18
|
+
*/
|
|
19
|
+
reasons: string[];
|
|
20
|
+
/**
|
|
21
|
+
* 结构化附加数据(可选)。
|
|
22
|
+
*/
|
|
23
|
+
details?: JsonValue;
|
|
24
|
+
}
|
|
25
|
+
export interface VoiceDependencyInstallResult {
|
|
26
|
+
/**
|
|
27
|
+
* 安装是否成功。
|
|
28
|
+
*/
|
|
29
|
+
success: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 人类可读消息(可选)。
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 结构化附加数据(可选)。
|
|
36
|
+
*/
|
|
37
|
+
details?: JsonValue;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 读取 ASR 转写依赖配置。
|
|
41
|
+
*/
|
|
42
|
+
export declare function readVoiceTranscriberConfig(context: PluginCommandContext): VoiceTranscriberConfig;
|
|
43
|
+
/**
|
|
44
|
+
* 写入 ASR 转写依赖配置。
|
|
45
|
+
*/
|
|
46
|
+
export declare function writeVoiceTranscriberConfig(params: {
|
|
47
|
+
context: PluginCommandContext;
|
|
48
|
+
value: Partial<VoiceTranscriberConfig>;
|
|
49
|
+
}): Promise<VoicePluginConfig>;
|
|
50
|
+
/**
|
|
51
|
+
* 检查 ASR 转写依赖可用性。
|
|
52
|
+
*/
|
|
53
|
+
export declare function checkVoiceTranscriber(context: PluginCommandContext): Promise<VoiceDependencyCheckResult>;
|
|
54
|
+
/**
|
|
55
|
+
* 安装或修复 ASR 转写依赖。
|
|
56
|
+
*/
|
|
57
|
+
export declare function installVoiceTranscriber(params: {
|
|
58
|
+
context: PluginCommandContext;
|
|
59
|
+
input?: VoiceTranscriberInstallInput;
|
|
60
|
+
}): Promise<VoiceDependencyInstallResult>;
|
|
61
|
+
/**
|
|
62
|
+
* 解析 ASR 转写句柄。
|
|
63
|
+
*/
|
|
64
|
+
export declare function resolveVoiceTranscriber(context: PluginCommandContext): Promise<VoiceTranscriberHandle>;
|
|
65
|
+
/**
|
|
66
|
+
* 执行一次 ASR 转写。
|
|
67
|
+
*/
|
|
68
|
+
export declare function transcribeWithVoiceDependency(params: {
|
|
69
|
+
context: PluginCommandContext;
|
|
70
|
+
audioPath: string;
|
|
71
|
+
language?: string;
|
|
72
|
+
}): Promise<{
|
|
73
|
+
success: boolean;
|
|
74
|
+
text?: string;
|
|
75
|
+
error?: string;
|
|
76
|
+
}>;
|
|
77
|
+
//# sourceMappingURL=Dependency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dependency.d.ts","sourceRoot":"","sources":["../../../src/plugins/asr/Dependency.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AAoBvC,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAqCD;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,oBAAoB,GAC5B,sBAAsB,CAUxB;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAAC,MAAM,EAAE;IACxD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACxC,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAe7B;AA4CD;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,0BAA0B,CAAC,CAUrC;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAAC,MAAM,EAAE;IACpD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,CAAC,EAAE,4BAA4B,CAAC;CACtC,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAqFxC;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,sBAAsB,CAAC,CAqBjC;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CAAC,MAAM,EAAE;IAC1D,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAM/D"}
|