@downcity/agent 1.1.8 → 1.1.10
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.js +1 -1
- package/bin/agent/AgentContext.js.map +1 -1
- package/bin/agent/AgentContextTypes.d.ts +7 -7
- package/bin/agent/AgentContextTypes.d.ts.map +1 -1
- package/bin/agent/AgentRuntime.d.ts +1 -1
- package/bin/agent/AgentRuntime.d.ts.map +1 -1
- package/bin/agent/AgentRuntime.js +2 -2
- package/bin/agent/AgentRuntime.js.map +1 -1
- package/bin/agent/AgentRuntimeState.d.ts +1 -1
- package/bin/agent/AgentRuntimeTypes.d.ts +3 -3
- package/bin/agent/AgentRuntimeTypes.d.ts.map +1 -1
- package/bin/agent/project/AgentInitializer.d.ts +2 -2
- package/bin/agent/project/AgentInitializer.d.ts.map +1 -1
- package/bin/agent/project/AgentInitializer.js +45 -4
- package/bin/agent/project/AgentInitializer.js.map +1 -1
- package/bin/agent/project/ProjectExecutionBinding.d.ts +2 -2
- package/bin/agent/project/types/AgentProject.d.ts +80 -0
- package/bin/agent/project/types/AgentProject.d.ts.map +1 -0
- package/bin/agent/project/types/AgentProject.js.map +1 -0
- package/bin/config/Config.d.ts +1 -1
- package/bin/config/DowncityDefault.d.ts +3 -0
- package/bin/config/DowncityDefault.d.ts.map +1 -0
- package/bin/config/DowncityDefault.js.map +1 -0
- package/bin/config/DowncitySchema.d.ts +3 -0
- package/bin/config/DowncitySchema.d.ts.map +1 -0
- package/bin/config/DowncitySchema.js.map +1 -0
- package/bin/config/types/DowncityConfig.d.ts +214 -0
- package/bin/config/types/DowncityConfig.d.ts.map +1 -0
- package/bin/config/types/DowncityConfig.js.map +1 -0
- package/bin/config/types/ExecutionBinding.d.ts.map +1 -0
- package/bin/config/types/ExecutionBinding.js.map +1 -0
- package/bin/config/types/LlmConfig.d.ts.map +1 -0
- package/bin/config/types/LlmConfig.js.map +1 -0
- package/bin/config/types/ModelBinding.d.ts.map +1 -0
- package/bin/config/types/ModelBinding.js.map +1 -0
- package/bin/config/types/Start.d.ts.map +1 -0
- package/bin/config/types/Start.js.map +1 -0
- package/bin/host/daemon/Api.d.ts +1 -1
- package/bin/host/daemon/Api.d.ts.map +1 -1
- package/bin/host/daemon/Client.js +1 -1
- package/bin/host/daemon/Client.js.map +1 -1
- package/bin/host/daemon/Manager.d.ts +1 -1
- package/bin/host/daemon/Manager.d.ts.map +1 -1
- package/bin/host/daemon/Manager.js +1 -1
- package/bin/host/daemon/Manager.js.map +1 -1
- package/bin/host/daemon/ProjectSetup.d.ts +1 -1
- package/bin/host/daemon/ProjectSetup.d.ts.map +1 -1
- package/bin/host/daemon/types/Daemon.d.ts.map +1 -0
- package/bin/host/daemon/types/Daemon.js.map +1 -0
- package/bin/host/http/Server.d.ts.map +1 -0
- package/bin/host/http/Server.js +112 -0
- package/bin/host/http/Server.js.map +1 -0
- package/bin/host/http/auth/AuthEnv.d.ts.map +1 -0
- package/bin/host/http/auth/AuthEnv.js.map +1 -0
- package/bin/host/http/auth/AuthError.d.ts.map +1 -0
- package/bin/host/http/auth/AuthError.js.map +1 -0
- package/bin/host/http/auth/CliAuthStateStore.d.ts.map +1 -0
- package/bin/host/http/auth/CliAuthStateStore.js.map +1 -0
- package/bin/host/http/auth/PasswordHasher.d.ts.map +1 -0
- package/bin/host/http/auth/PasswordHasher.js.map +1 -0
- package/bin/host/http/auth/TokenService.d.ts.map +1 -0
- package/bin/host/http/auth/TokenService.js.map +1 -0
- package/bin/host/http/auth/types/AuthPermission.d.ts.map +1 -0
- package/bin/host/http/auth/types/AuthPermission.js.map +1 -0
- package/bin/host/http/auth/types/AuthRoute.d.ts.map +1 -0
- package/bin/host/http/auth/types/AuthRoute.js.map +1 -0
- package/bin/host/http/auth/types/AuthToken.d.ts.map +1 -0
- package/bin/host/http/auth/types/AuthToken.js.map +1 -0
- package/bin/host/http/auth/types/AuthTypes.d.ts.map +1 -0
- package/bin/host/http/auth/types/AuthTypes.js.map +1 -0
- package/bin/host/http/control/AuthControlService.d.ts +30 -0
- package/bin/host/http/control/AuthControlService.d.ts.map +1 -0
- package/bin/host/http/control/AuthControlService.js +120 -0
- package/bin/host/http/control/AuthControlService.js.map +1 -0
- package/bin/host/http/control/CommonHelpers.d.ts.map +1 -0
- package/bin/host/http/control/CommonHelpers.js.map +1 -0
- package/bin/host/http/control/ControlApiRoutes.d.ts +14 -0
- package/bin/host/http/control/ControlApiRoutes.d.ts.map +1 -0
- package/bin/host/http/control/ControlApiRoutes.js +27 -0
- package/bin/host/http/control/ControlApiRoutes.js.map +1 -0
- package/bin/host/http/control/ControlAuthorizationRoutes.d.ts +17 -0
- package/bin/host/http/control/ControlAuthorizationRoutes.d.ts.map +1 -0
- package/bin/host/http/control/ControlAuthorizationRoutes.js +85 -0
- package/bin/host/http/control/ControlAuthorizationRoutes.js.map +1 -0
- package/bin/host/http/control/ControlRouter.d.ts +19 -0
- package/bin/host/http/control/ControlRouter.d.ts.map +1 -0
- package/bin/host/http/control/ControlRouter.js +26 -0
- package/bin/host/http/control/ControlRouter.js.map +1 -0
- package/bin/host/http/control/ExecuteBySession.d.ts +39 -0
- package/bin/host/http/control/ExecuteBySession.d.ts.map +1 -0
- package/bin/host/http/control/ExecuteBySession.js +128 -0
- package/bin/host/http/control/ExecuteBySession.js.map +1 -0
- package/bin/host/http/control/ExecuteInput.d.ts +18 -0
- package/bin/host/http/control/ExecuteInput.d.ts.map +1 -0
- package/bin/host/http/control/ExecuteInput.js +201 -0
- package/bin/host/http/control/ExecuteInput.js.map +1 -0
- package/bin/host/http/control/Helpers.d.ts.map +1 -0
- package/bin/host/http/control/Helpers.js.map +1 -0
- package/bin/host/http/control/MessageTimeline.d.ts +22 -0
- package/bin/host/http/control/MessageTimeline.d.ts.map +1 -0
- package/bin/host/http/control/MessageTimeline.js +226 -0
- package/bin/host/http/control/MessageTimeline.js.map +1 -0
- package/bin/host/http/control/ModelRoutes.d.ts +13 -0
- package/bin/host/http/control/ModelRoutes.d.ts.map +1 -0
- package/bin/host/http/control/ModelRoutes.js +87 -0
- package/bin/host/http/control/ModelRoutes.js.map +1 -0
- package/bin/host/http/control/OverviewRoutes.d.ts +13 -0
- package/bin/host/http/control/OverviewRoutes.d.ts.map +1 -0
- package/bin/host/http/control/OverviewRoutes.js +93 -0
- package/bin/host/http/control/OverviewRoutes.js.map +1 -0
- package/bin/host/http/control/SessionRoutes.d.ts +14 -0
- package/bin/host/http/control/SessionRoutes.d.ts.map +1 -0
- package/bin/host/http/control/SessionRoutes.js +333 -0
- package/bin/host/http/control/SessionRoutes.js.map +1 -0
- package/bin/host/http/control/SessionSummaryStore.d.ts +19 -0
- package/bin/host/http/control/SessionSummaryStore.d.ts.map +1 -0
- package/bin/host/http/control/SessionSummaryStore.js +62 -0
- package/bin/host/http/control/SessionSummaryStore.js.map +1 -0
- package/bin/host/http/control/TaskRoutes.d.ts +13 -0
- package/bin/host/http/control/TaskRoutes.d.ts.map +1 -0
- package/bin/host/http/control/TaskRoutes.js +335 -0
- package/bin/host/http/control/TaskRoutes.js.map +1 -0
- package/bin/host/http/control/TaskStore.d.ts +33 -0
- package/bin/host/http/control/TaskStore.d.ts.map +1 -0
- package/bin/host/http/control/TaskStore.js +157 -0
- package/bin/host/http/control/TaskStore.js.map +1 -0
- package/bin/host/http/control/types/AuthControl.d.ts +30 -0
- package/bin/host/http/control/types/AuthControl.d.ts.map +1 -0
- package/bin/host/http/control/types/AuthControl.js.map +1 -0
- package/bin/host/http/control/types/ControlRoutes.d.ts +28 -0
- package/bin/host/http/control/types/ControlRoutes.d.ts.map +1 -0
- package/bin/host/http/control/types/ControlRoutes.js.map +1 -0
- package/bin/host/http/control/types/ControlSessionExecute.d.ts.map +1 -0
- package/bin/host/http/control/types/ControlSessionExecute.js.map +1 -0
- package/bin/host/http/control/types/ControlViewData.d.ts +320 -0
- package/bin/host/http/control/types/ControlViewData.d.ts.map +1 -0
- package/bin/host/http/control/types/ControlViewData.js.map +1 -0
- package/bin/host/http/execute/execute.d.ts.map +1 -0
- package/bin/host/http/execute/execute.js +90 -0
- package/bin/host/http/execute/execute.js.map +1 -0
- package/bin/host/http/execute/types/InlineInstant.d.ts.map +1 -0
- package/bin/host/http/execute/types/InlineInstant.js.map +1 -0
- package/bin/host/http/health/health.d.ts.map +1 -0
- package/bin/host/http/health/health.js.map +1 -0
- package/bin/host/http/plugins/plugins.d.ts.map +1 -0
- package/bin/host/http/plugins/plugins.js +55 -0
- package/bin/host/http/plugins/plugins.js.map +1 -0
- package/bin/host/http/services/services.d.ts.map +1 -0
- package/bin/host/http/services/services.js +79 -0
- package/bin/host/http/services/services.js.map +1 -0
- package/bin/host/http/static/static.d.ts.map +1 -0
- package/bin/host/http/static/static.js +97 -0
- package/bin/host/http/static/static.js.map +1 -0
- package/bin/host/rpc/Server.d.ts +1 -1
- package/bin/host/rpc/Server.d.ts.map +1 -1
- package/bin/host/rpc/Server.js +1 -1
- package/bin/host/rpc/Server.js.map +1 -1
- package/bin/host/rpc/types/LocalRpc.d.ts +69 -0
- package/bin/host/rpc/types/LocalRpc.d.ts.map +1 -0
- package/bin/host/rpc/types/LocalRpc.js.map +1 -0
- package/bin/host/runtime/AgentHostRuntime.d.ts +1 -1
- package/bin/host/runtime/AgentHostRuntime.d.ts.map +1 -1
- package/bin/host/runtime/AgentHostRuntime.js +1 -1
- package/bin/host/runtime/AgentHostRuntime.js.map +1 -1
- package/bin/host/runtime/CityRegistry.d.ts +1 -1
- package/bin/host/runtime/CityRegistry.d.ts.map +1 -1
- package/bin/host/runtime/types/Platform.d.ts.map +1 -0
- package/bin/host/runtime/types/Platform.js.map +1 -0
- package/bin/host/runtime/types/PlatformGateway.d.ts.map +1 -0
- package/bin/host/runtime/types/PlatformGateway.js.map +1 -0
- package/bin/host/sdk/Agent.d.ts +1 -1
- package/bin/host/sdk/Agent.js +4 -4
- package/bin/host/sdk/Agent.js.map +1 -1
- package/bin/host/sdk/AgentSdkTypes.d.ts +4 -4
- package/bin/host/sdk/AgentSdkTypes.d.ts.map +1 -1
- package/bin/host/sdk/RemoteAgent.d.ts +1 -1
- package/bin/host/sdk/Session.d.ts +1 -1
- package/bin/host/sdk/SessionMetadata.d.ts +1 -1
- package/bin/host/types/AgentHost.d.ts +188 -0
- package/bin/host/types/AgentHost.d.ts.map +1 -0
- package/bin/host/types/AgentHost.js.map +1 -0
- package/bin/host/types/Store.d.ts +408 -0
- package/bin/host/types/Store.d.ts.map +1 -0
- package/bin/host/types/Store.js.map +1 -0
- package/bin/index.d.ts +53 -53
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +51 -51
- package/bin/index.js.map +1 -1
- package/bin/model/CreateModel.d.ts +2 -2
- package/bin/model/CreateModel.d.ts.map +1 -1
- package/bin/model/CreateModel.js +2 -2
- package/bin/model/CreateModel.js.map +1 -1
- package/bin/model/ModelManager.d.ts +1 -1
- package/bin/plugin/builtins/asr/Dependency.d.ts +77 -0
- package/bin/plugin/builtins/asr/Dependency.d.ts.map +1 -0
- package/bin/plugin/builtins/asr/Dependency.js +238 -0
- package/bin/plugin/builtins/asr/Dependency.js.map +1 -0
- package/bin/plugin/builtins/asr/ModelCatalog.d.ts.map +1 -0
- package/bin/plugin/builtins/asr/ModelCatalog.js +25 -0
- package/bin/plugin/builtins/asr/ModelCatalog.js.map +1 -0
- package/bin/plugin/builtins/asr/Plugin.d.ts +14 -0
- package/bin/plugin/builtins/asr/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/asr/Plugin.js +585 -0
- package/bin/plugin/builtins/asr/Plugin.js.map +1 -0
- package/bin/plugin/builtins/auth/Plugin.d.ts +14 -0
- package/bin/plugin/builtins/auth/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/auth/Plugin.js +181 -0
- package/bin/plugin/builtins/auth/Plugin.js.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts +41 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.d.ts.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js +187 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationConfig.js.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts +30 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.d.ts.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js +123 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationPolicy.js.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +29 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +1 -0
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.js.map +1 -0
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +407 -0
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/auth/types/AuthPlugin.js +115 -0
- package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +1 -0
- package/bin/plugin/builtins/skill/Action.d.ts +34 -0
- package/bin/plugin/builtins/skill/Action.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/Action.js +122 -0
- package/bin/plugin/builtins/skill/Action.js.map +1 -0
- package/bin/plugin/builtins/skill/Command.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/Command.js +70 -0
- package/bin/plugin/builtins/skill/Command.js.map +1 -0
- package/bin/plugin/builtins/skill/Config.d.ts +18 -0
- package/bin/plugin/builtins/skill/Config.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/Config.js.map +1 -0
- package/bin/plugin/builtins/skill/PROMPT.d.ts +7 -0
- package/bin/plugin/builtins/skill/PROMPT.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/PROMPT.js +8 -0
- package/bin/plugin/builtins/skill/PROMPT.js.map +1 -0
- package/bin/plugin/builtins/skill/Plugin.d.ts +14 -0
- package/bin/plugin/builtins/skill/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/Plugin.js +301 -0
- package/bin/plugin/builtins/skill/Plugin.js.map +1 -0
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts +12 -0
- package/bin/plugin/builtins/skill/SkillPromptAssets.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/SkillPromptAssets.js +13 -0
- package/bin/plugin/builtins/skill/SkillPromptAssets.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts +25 -0
- package/bin/plugin/builtins/skill/runtime/Discovery.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Discovery.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Frontmatter.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Frontmatter.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts +16 -0
- package/bin/plugin/builtins/skill/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts +19 -0
- package/bin/plugin/builtins/skill/runtime/Prompt.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Prompt.js +54 -0
- package/bin/plugin/builtins/skill/runtime/Prompt.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Store.d.ts +25 -0
- package/bin/plugin/builtins/skill/runtime/Store.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Store.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts +24 -0
- package/bin/plugin/builtins/skill/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js +33 -0
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Types.d.ts +21 -0
- package/bin/plugin/builtins/skill/runtime/Types.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Types.js.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Utils.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/runtime/Utils.js.map +1 -0
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts +63 -0
- package/bin/plugin/builtins/skill/types/ClaudeSkill.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/types/ClaudeSkill.js.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillCommand.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillCommand.js.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillPlugin.js.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillRoot.d.ts.map +1 -0
- package/bin/plugin/builtins/skill/types/SkillRoot.js.map +1 -0
- package/bin/plugin/builtins/tts/Dependency.d.ts +90 -0
- package/bin/plugin/builtins/tts/Dependency.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/Dependency.js +344 -0
- package/bin/plugin/builtins/tts/Dependency.js.map +1 -0
- package/bin/plugin/builtins/tts/Plugin.d.ts +13 -0
- package/bin/plugin/builtins/tts/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/Plugin.js +523 -0
- package/bin/plugin/builtins/tts/Plugin.js.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts +21 -0
- package/bin/plugin/builtins/tts/runtime/Catalog.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Catalog.js.map +1 -0
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts +143 -0
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/runtime/DependencyInstaller.js.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts +89 -0
- package/bin/plugin/builtins/tts/runtime/Installer.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Installer.js.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts +44 -0
- package/bin/plugin/builtins/tts/runtime/Synthesizer.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js +363 -0
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +1 -0
- package/bin/plugin/builtins/tts/types/Tts.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/types/Tts.js.map +1 -0
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts +161 -0
- package/bin/plugin/builtins/tts/types/TtsPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/tts/types/TtsPlugin.js.map +1 -0
- package/bin/plugin/builtins/voice/Dependency.d.ts +77 -0
- package/bin/plugin/builtins/voice/Dependency.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/Dependency.js +237 -0
- package/bin/plugin/builtins/voice/Dependency.js.map +1 -0
- package/bin/plugin/builtins/voice/ModelCatalog.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/ModelCatalog.js +25 -0
- package/bin/plugin/builtins/voice/ModelCatalog.js.map +1 -0
- package/bin/plugin/builtins/voice/Plugin.d.ts +14 -0
- package/bin/plugin/builtins/voice/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/Plugin.js +546 -0
- package/bin/plugin/builtins/voice/Plugin.js.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts +18 -0
- package/bin/plugin/builtins/voice/runtime/Catalog.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Catalog.js.map +1 -0
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts +145 -0
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/runtime/DependencyInstaller.js.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts +94 -0
- package/bin/plugin/builtins/voice/runtime/Installer.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Installer.js.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts +57 -0
- package/bin/plugin/builtins/voice/runtime/Transcriber.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/runtime/Transcriber.js.map +1 -0
- package/bin/plugin/builtins/voice/types/Voice.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/types/Voice.js.map +1 -0
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts +190 -0
- package/bin/plugin/builtins/voice/types/VoicePlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/voice/types/VoicePlugin.js.map +1 -0
- package/bin/plugin/builtins/web/Dependency.d.ts +10 -0
- package/bin/plugin/builtins/web/Dependency.d.ts.map +1 -0
- package/bin/plugin/builtins/web/Dependency.js +10 -0
- package/bin/plugin/builtins/web/Dependency.js.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts +7 -0
- package/bin/plugin/builtins/web/PROMPT.agent-browser.d.ts.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js +8 -0
- package/bin/plugin/builtins/web/PROMPT.agent-browser.js.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.d.ts +7 -0
- package/bin/plugin/builtins/web/PROMPT.d.ts.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.js +8 -0
- package/bin/plugin/builtins/web/PROMPT.js.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts +7 -0
- package/bin/plugin/builtins/web/PROMPT.web-access.d.ts.map +1 -0
- package/bin/plugin/builtins/web/PROMPT.web-access.js +8 -0
- package/bin/plugin/builtins/web/PROMPT.web-access.js.map +1 -0
- package/bin/plugin/builtins/web/Plugin.d.ts +13 -0
- package/bin/plugin/builtins/web/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/web/Plugin.js +459 -0
- package/bin/plugin/builtins/web/Plugin.js.map +1 -0
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts +20 -0
- package/bin/plugin/builtins/web/WebPromptAssets.d.ts.map +1 -0
- package/bin/plugin/builtins/web/WebPromptAssets.js +23 -0
- package/bin/plugin/builtins/web/WebPromptAssets.js.map +1 -0
- package/bin/plugin/builtins/web/runtime/Config.d.ts +21 -0
- package/bin/plugin/builtins/web/runtime/Config.d.ts.map +1 -0
- package/bin/plugin/builtins/web/runtime/Config.js +79 -0
- package/bin/plugin/builtins/web/runtime/Config.js.map +1 -0
- package/bin/plugin/builtins/web/runtime/Source.d.ts +29 -0
- package/bin/plugin/builtins/web/runtime/Source.d.ts.map +1 -0
- package/bin/plugin/builtins/web/runtime/Source.js +209 -0
- package/bin/plugin/builtins/web/runtime/Source.js.map +1 -0
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts +133 -0
- package/bin/plugin/builtins/web/types/WebPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/web/types/WebPlugin.js.map +1 -0
- package/bin/plugin/builtins/workboard/Plugin.d.ts +13 -0
- package/bin/plugin/builtins/workboard/Plugin.d.ts.map +1 -0
- package/bin/plugin/builtins/workboard/Plugin.js +71 -0
- package/bin/plugin/builtins/workboard/Plugin.js.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +14 -0
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Collector.js +62 -0
- package/bin/plugin/builtins/workboard/runtime/Collector.js.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +61 -0
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts +48 -0
- package/bin/plugin/builtins/workboard/runtime/Store.d.ts.map +1 -0
- package/bin/plugin/builtins/workboard/runtime/Store.js +84 -0
- package/bin/plugin/builtins/workboard/runtime/Store.js.map +1 -0
- package/bin/plugin/builtins/workboard/types/Workboard.d.ts.map +1 -0
- package/bin/plugin/builtins/workboard/types/Workboard.js.map +1 -0
- package/bin/plugin/core/Activation.d.ts +19 -0
- package/bin/plugin/core/Activation.d.ts.map +1 -0
- package/bin/plugin/core/Activation.js.map +1 -0
- package/bin/plugin/core/Catalog.d.ts +42 -0
- package/bin/plugin/core/Catalog.d.ts.map +1 -0
- package/bin/plugin/core/Catalog.js +92 -0
- package/bin/plugin/core/Catalog.js.map +1 -0
- package/bin/plugin/core/HookRegistry.d.ts +68 -0
- package/bin/plugin/core/HookRegistry.d.ts.map +1 -0
- package/bin/plugin/core/HookRegistry.js.map +1 -0
- package/bin/plugin/core/HttpRoutes.d.ts +22 -0
- package/bin/plugin/core/HttpRoutes.d.ts.map +1 -0
- package/bin/plugin/core/HttpRoutes.js +37 -0
- package/bin/plugin/core/HttpRoutes.js.map +1 -0
- package/bin/plugin/core/LocalExecution.d.ts +32 -0
- package/bin/plugin/core/LocalExecution.d.ts.map +1 -0
- package/bin/plugin/core/LocalExecution.js +148 -0
- package/bin/plugin/core/LocalExecution.js.map +1 -0
- package/bin/plugin/core/PluginCommand.d.ts.map +1 -0
- package/bin/plugin/core/PluginCommand.js +188 -0
- package/bin/plugin/core/PluginCommand.js.map +1 -0
- package/bin/plugin/core/PluginManager.d.ts +24 -0
- package/bin/plugin/core/PluginManager.d.ts.map +1 -0
- package/bin/plugin/core/PluginManager.js +62 -0
- package/bin/plugin/core/PluginManager.js.map +1 -0
- package/bin/plugin/core/PluginRegistry.d.ts +66 -0
- package/bin/plugin/core/PluginRegistry.d.ts.map +1 -0
- package/bin/plugin/core/PluginRegistry.js +184 -0
- package/bin/plugin/core/PluginRegistry.js.map +1 -0
- package/bin/plugin/core/Plugins.d.ts +20 -0
- package/bin/plugin/core/Plugins.d.ts.map +1 -0
- package/bin/plugin/core/Plugins.js +33 -0
- package/bin/plugin/core/Plugins.js.map +1 -0
- package/bin/plugin/core/ProjectConfigStore.d.ts +30 -0
- package/bin/plugin/core/ProjectConfigStore.d.ts.map +1 -0
- package/bin/plugin/core/ProjectConfigStore.js.map +1 -0
- package/bin/plugin/types/Plugin.d.ts +697 -0
- package/bin/plugin/types/Plugin.d.ts.map +1 -0
- package/bin/plugin/types/Plugin.js.map +1 -0
- package/bin/plugin/types/PluginApi.d.ts +155 -0
- package/bin/plugin/types/PluginApi.d.ts.map +1 -0
- package/bin/plugin/types/PluginApi.js.map +1 -0
- package/bin/plugin/types/PluginLifecycle.d.ts.map +1 -0
- package/bin/plugin/types/PluginLifecycle.js.map +1 -0
- package/bin/sandbox/MacOsSeatbeltSandbox.d.ts +1 -1
- package/bin/sandbox/SandboxConfigResolver.d.ts +1 -1
- package/bin/sandbox/SandboxRunner.d.ts +1 -1
- package/bin/sandbox/types/Sandbox.d.ts +130 -0
- package/bin/sandbox/types/Sandbox.d.ts.map +1 -0
- package/bin/sandbox/types/Sandbox.js +10 -0
- package/bin/sandbox/types/Sandbox.js.map +1 -0
- package/bin/sandbox/types/SandboxRuntime.d.ts +318 -0
- package/bin/sandbox/types/SandboxRuntime.d.ts.map +1 -0
- package/bin/sandbox/types/SandboxRuntime.js.map +1 -0
- package/bin/service/builtins/BaseService.d.ts +2 -2
- package/bin/service/builtins/BaseService.d.ts.map +1 -1
- package/bin/service/builtins/chat/ChatService.d.ts +4 -4
- package/bin/service/builtins/chat/ChatService.d.ts.map +1 -1
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts +2 -2
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +1 -1
- package/bin/service/builtins/chat/PROMPT.direct.d.ts +7 -0
- package/bin/service/builtins/chat/PROMPT.direct.d.ts.map +1 -0
- package/bin/service/builtins/chat/PROMPT.direct.js +8 -0
- package/bin/service/builtins/chat/PROMPT.direct.js.map +1 -0
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +1 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +2 -2
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +2 -2
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +1 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.d.ts +7 -0
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js +8 -0
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts +7 -0
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js +8 -0
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts +1 -1
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQ.js +1 -1
- package/bin/service/builtins/chat/channels/qq/QQ.js.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts +1 -1
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts +1 -1
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +2 -2
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts +485 -0
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.js.map +1 -0
- package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts +1 -1
- package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts +1 -1
- package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts.map +1 -1
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.d.ts +7 -0
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +1 -0
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js +8 -0
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChannelContextStore.js +1 -1
- package/bin/service/builtins/chat/runtime/ChannelContextStore.js.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +3 -3
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +3 -3
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.js +1 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.js.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts +24 -0
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.js +28 -0
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.js.map +1 -0
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +3 -3
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js +4 -47
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatSession.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatSessionExecutionComposer.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +1 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +2 -2
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChatHistory.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChatPlugin.d.ts +238 -0
- package/bin/service/builtins/chat/types/ChatPlugin.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatPlugin.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatPromptContext.d.ts +125 -0
- package/bin/service/builtins/chat/types/ChatPromptContext.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatPromptContext.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatQueue.d.ts +1 -1
- package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +1 -1
- package/bin/service/builtins/chat/types/ChatQueueWorker.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatQueueWorker.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatRuntime.d.ts +32 -0
- package/bin/service/builtins/chat/types/ChatRuntime.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatRuntime.js.map +1 -0
- package/bin/service/builtins/chat/types/ChatService.d.ts +145 -0
- package/bin/service/builtins/chat/types/ChatService.d.ts.map +1 -0
- package/bin/service/builtins/chat/types/ChatService.js.map +1 -0
- package/bin/service/builtins/contact/ContactService.d.ts +1 -1
- package/bin/service/builtins/contact/ContactService.d.ts.map +1 -1
- package/bin/service/builtins/contact/PROMPT.d.ts +7 -0
- package/bin/service/builtins/contact/PROMPT.d.ts.map +1 -0
- package/bin/service/builtins/contact/PROMPT.js +8 -0
- package/bin/service/builtins/contact/PROMPT.js.map +1 -0
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts +12 -0
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts.map +1 -0
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.js +13 -0
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.js.map +1 -0
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +1 -1
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +1 -1
- package/bin/service/builtins/contact/runtime/SystemProvider.d.ts +0 -7
- package/bin/service/builtins/contact/runtime/SystemProvider.d.ts.map +1 -1
- package/bin/service/builtins/contact/runtime/SystemProvider.js +3 -9
- package/bin/service/builtins/contact/runtime/SystemProvider.js.map +1 -1
- package/bin/service/builtins/memory/Action.d.ts +2 -2
- package/bin/service/builtins/memory/Action.d.ts.map +1 -1
- package/bin/service/builtins/memory/MemoryService.d.ts +1 -1
- package/bin/service/builtins/memory/MemoryService.d.ts.map +1 -1
- package/bin/service/builtins/memory/types/Memory.d.ts +1 -1
- package/bin/service/builtins/memory/types/Memory.d.ts.map +1 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +1 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.js +1 -1
- package/bin/service/builtins/shell/ShellService.d.ts +1 -1
- package/bin/service/builtins/shell/ShellService.d.ts.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +1 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -1
- package/bin/service/builtins/shell/types/Shell.d.ts.map +1 -0
- package/bin/service/builtins/shell/types/Shell.js.map +1 -0
- package/bin/service/builtins/task/PROMPT.d.ts +7 -0
- package/bin/service/builtins/task/PROMPT.d.ts.map +1 -0
- package/bin/service/builtins/task/PROMPT.js +8 -0
- package/bin/service/builtins/task/PROMPT.js.map +1 -0
- package/bin/service/builtins/task/Scheduler.js +1 -1
- package/bin/service/builtins/task/Scheduler.js.map +1 -1
- package/bin/service/builtins/task/TaskService.d.ts +2 -2
- package/bin/service/builtins/task/TaskService.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/Model.d.ts +1 -1
- package/bin/service/builtins/task/runtime/Model.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +2 -2
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +3 -3
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts +12 -0
- package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts.map +1 -0
- package/bin/service/builtins/task/runtime/TaskPromptAssets.js +13 -0
- package/bin/service/builtins/task/runtime/TaskPromptAssets.js.map +1 -0
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +2 -2
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts +1 -1
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts +2 -5
- package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts.map +1 -1
- package/bin/service/builtins/task/runtime/TaskServiceSystem.js +2 -19
- package/bin/service/builtins/task/runtime/TaskServiceSystem.js.map +1 -1
- package/bin/service/builtins/task/types/TaskService.d.ts +52 -0
- package/bin/service/builtins/task/types/TaskService.d.ts.map +1 -0
- package/bin/service/builtins/task/types/TaskService.js +9 -0
- package/bin/service/builtins/task/types/TaskService.js.map +1 -0
- package/bin/service/core/Manager.d.ts +1 -1
- package/bin/service/core/Manager.d.ts.map +1 -1
- package/bin/service/core/ServiceActionRunner.d.ts +4 -4
- package/bin/service/core/ServiceActionRunner.d.ts.map +1 -1
- package/bin/service/core/ServiceClassRegistry.d.ts +1 -1
- package/bin/service/core/ServiceClassRegistry.d.ts.map +1 -1
- package/bin/service/core/ServiceManager.d.ts +1 -1
- package/bin/service/core/ServiceManager.d.ts.map +1 -1
- package/bin/service/core/ServiceStateController.d.ts +2 -2
- package/bin/service/core/ServiceStateController.d.ts.map +1 -1
- package/bin/service/schedule/Store.d.ts +1 -1
- package/bin/service/schedule/Store.d.ts.map +1 -1
- package/bin/service/schedule/Store.js +1 -1
- package/bin/service/schedule/Store.js.map +1 -1
- package/bin/service/types/Service.d.ts +205 -0
- package/bin/service/types/Service.d.ts.map +1 -0
- package/bin/service/types/Service.js +10 -0
- package/bin/service/types/Service.js.map +1 -0
- package/bin/service/types/ServiceSchedule.d.ts +114 -0
- package/bin/service/types/ServiceSchedule.d.ts.map +1 -0
- package/bin/service/types/ServiceSchedule.js.map +1 -0
- package/bin/service/types/ServiceState.d.ts +104 -0
- package/bin/service/types/ServiceState.d.ts.map +1 -0
- package/bin/service/types/ServiceState.js.map +1 -0
- package/bin/service/types/Services.d.ts +94 -0
- package/bin/service/types/Services.d.ts.map +1 -0
- package/bin/service/types/Services.js.map +1 -0
- package/bin/session/Session.d.ts +4 -4
- package/bin/session/Session.d.ts.map +1 -1
- package/bin/session/SessionRunScope.d.ts +2 -2
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +2 -2
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +2 -2
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -1
- package/bin/session/composer/execution/LocalSessionExecutionComposer.d.ts +2 -2
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js +1 -1
- package/bin/session/composer/execution/LocalSessionExecutionComposer.js.map +1 -1
- package/bin/session/composer/execution/SessionExecutionComposer.d.ts +2 -2
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +2 -2
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +2 -2
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +1 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +2 -2
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js +2 -2
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -1
- package/bin/session/composer/system/default/InitPromptAssets.d.ts +16 -0
- package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +1 -0
- package/bin/session/composer/system/default/InitPromptAssets.js +18 -0
- package/bin/session/composer/system/default/InitPromptAssets.js.map +1 -0
- package/bin/session/composer/system/default/InitPrompts.d.ts +2 -9
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +1 -1
- package/bin/session/composer/system/default/InitPrompts.js +2 -28
- package/bin/session/composer/system/default/InitPrompts.js.map +1 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts +1 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +1 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +1 -1
- package/bin/session/composer/system/default/SystemDomain.js +5 -21
- package/bin/session/composer/system/default/SystemDomain.js.map +1 -1
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts +20 -0
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
- package/bin/session/composer/system/default/SystemPromptAssets.js +23 -0
- package/bin/session/composer/system/default/SystemPromptAssets.js.map +1 -0
- package/bin/session/composer/system/default/assets/core.prompt.d.ts +7 -0
- package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +1 -0
- package/bin/session/composer/system/default/assets/core.prompt.js +8 -0
- package/bin/session/composer/system/default/assets/core.prompt.js.map +1 -0
- package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts +7 -0
- package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js +8 -0
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
- package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts +7 -0
- package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
- package/bin/session/composer/system/default/assets/init/SOUL.md.js +8 -0
- package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +1 -0
- package/bin/session/composer/system/default/assets/service.prompt.d.ts +7 -0
- package/bin/session/composer/system/default/assets/service.prompt.d.ts.map +1 -0
- package/bin/session/composer/system/default/assets/service.prompt.js +8 -0
- package/bin/session/composer/system/default/assets/service.prompt.js.map +1 -0
- package/bin/session/composer/system/default/assets/task.prompt.d.ts +7 -0
- package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +1 -0
- package/bin/session/composer/system/default/assets/task.prompt.js +8 -0
- package/bin/session/composer/system/default/assets/task.prompt.js.map +1 -0
- package/bin/session/composer/system/default/variables/VariableReplacer.js +2 -2
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +1 -1
- package/bin/session/executors/local/LocalSessionCore.d.ts +2 -2
- package/bin/session/executors/local/LocalSessionCore.d.ts.map +1 -1
- package/bin/session/executors/local/LocalSessionExecutor.d.ts +2 -2
- package/bin/session/executors/local/LocalSessionExecutor.d.ts.map +1 -1
- package/bin/session/executors/local/SessionLoopDecision.d.ts +1 -1
- package/bin/session/executors/local/SessionSignals.d.ts +2 -2
- package/bin/session/executors/local/SessionSignals.d.ts.map +1 -1
- package/bin/session/messages/SessionAttachmentMapper.d.ts +1 -1
- package/bin/session/messages/SessionMessageCodec.d.ts +1 -1
- package/bin/session/messages/SessionMessageLog.d.ts +2 -2
- package/bin/session/messages/SessionMessageLog.d.ts.map +1 -1
- package/bin/session/messages/SessionStepEventMapper.d.ts +1 -1
- package/bin/session/messages/SessionStepEventMapper.js +1 -1
- package/bin/session/messages/SessionStepEventMapper.js.map +1 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +1 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +1 -1
- package/bin/session/tools/shell/ShellToolBridge.js +1 -1
- package/bin/session/tools/shell/ShellToolBridge.js.map +1 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +2 -2
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +1 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +1 -1
- package/bin/session/tools/shell/ShellToolFormatting.js.map +1 -1
- package/bin/session/types/SessionExecutor.d.ts +18 -0
- package/bin/session/types/SessionExecutor.d.ts.map +1 -0
- package/bin/session/types/SessionExecutor.js.map +1 -0
- package/bin/session/types/SessionHistoryMeta.d.ts.map +1 -0
- package/bin/session/types/SessionHistoryMeta.js.map +1 -0
- package/bin/session/types/SessionHistoryPaths.d.ts.map +1 -0
- package/bin/session/types/SessionHistoryPaths.js.map +1 -0
- package/bin/session/types/SessionLoop.d.ts.map +1 -0
- package/bin/session/types/SessionLoop.js.map +1 -0
- package/bin/session/types/SessionMessages.d.ts +83 -0
- package/bin/session/types/SessionMessages.d.ts.map +1 -0
- package/bin/session/types/SessionMessages.js.map +1 -0
- package/bin/session/types/SessionPrompts.d.ts.map +1 -0
- package/bin/session/types/SessionPrompts.js.map +1 -0
- package/bin/session/types/SessionRun.d.ts +112 -0
- package/bin/session/types/SessionRun.d.ts.map +1 -0
- package/bin/session/types/SessionRun.js.map +1 -0
- package/bin/utils/Id.d.ts.map +1 -0
- package/bin/utils/Id.js.map +1 -0
- package/bin/utils/Template.d.ts +17 -0
- package/bin/utils/Template.d.ts.map +1 -0
- package/bin/utils/Template.js.map +1 -0
- package/bin/utils/Time.d.ts.map +1 -0
- package/bin/utils/Time.js.map +1 -0
- package/bin/utils/cli/Checker.d.ts.map +1 -0
- package/bin/utils/cli/Checker.js.map +1 -0
- package/bin/utils/cli/CliOutput.d.ts.map +1 -0
- package/bin/utils/cli/CliOutput.js +98 -0
- package/bin/utils/cli/CliOutput.js.map +1 -0
- package/bin/utils/cli/PrettyStatus.d.ts.map +1 -0
- package/bin/utils/cli/PrettyStatus.js.map +1 -0
- package/bin/utils/logger/Fetch.d.ts +14 -0
- package/bin/utils/logger/Fetch.d.ts.map +1 -0
- package/bin/utils/logger/Fetch.js.map +1 -0
- package/bin/utils/logger/Format.d.ts.map +1 -0
- package/bin/utils/logger/Format.js.map +1 -0
- package/bin/utils/logger/FormatRequest.d.ts +29 -0
- package/bin/utils/logger/FormatRequest.d.ts.map +1 -0
- package/bin/utils/logger/FormatRequest.js.map +1 -0
- package/bin/utils/logger/FormatResponse.d.ts +46 -0
- package/bin/utils/logger/FormatResponse.d.ts.map +1 -0
- package/bin/utils/logger/FormatResponse.js.map +1 -0
- package/bin/utils/logger/FormatShared.d.ts +33 -0
- package/bin/utils/logger/FormatShared.d.ts.map +1 -0
- package/bin/utils/logger/FormatShared.js.map +1 -0
- package/bin/utils/logger/Logger.d.ts +101 -0
- package/bin/utils/logger/Logger.d.ts.map +1 -0
- package/bin/utils/logger/Logger.js +308 -0
- package/bin/utils/logger/Logger.js.map +1 -0
- package/bin/utils/storage/index.d.ts +5 -0
- package/bin/utils/storage/index.d.ts.map +1 -0
- package/bin/utils/storage/index.js.map +1 -0
- package/bin/utils/types/Json.d.ts.map +1 -0
- package/bin/utils/types/Json.js.map +1 -0
- package/bin/utils/types/Template.d.ts.map +1 -0
- package/bin/utils/types/Template.js.map +1 -0
- package/package.json +4 -4
- package/scripts/agent-compiler.mjs +253 -0
- package/src/agent/AgentContext.ts +3 -3
- package/src/agent/AgentContextTypes.ts +7 -7
- package/src/agent/AgentRuntime.ts +3 -3
- package/src/agent/AgentRuntimeState.ts +2 -2
- package/src/agent/AgentRuntimeTypes.ts +3 -3
- package/src/agent/project/AgentInitializer.ts +54 -7
- package/src/agent/project/ProjectExecutionBinding.ts +2 -2
- package/src/agent/project/types/AgentProject.ts +92 -0
- package/src/config/Config.ts +2 -2
- package/src/config/DowncityDefault.ts +38 -0
- package/src/config/DowncitySchema.ts +377 -0
- package/src/config/types/DowncityConfig.ts +215 -0
- package/src/host/daemon/Api.ts +1 -1
- package/src/host/daemon/Client.ts +2 -2
- package/src/host/daemon/Manager.ts +1 -1
- package/src/host/daemon/ProjectSetup.ts +1 -1
- package/src/host/http/Server.ts +157 -0
- package/src/host/http/control/AuthControlService.ts +161 -0
- package/src/host/http/control/ControlApiRoutes.ts +31 -0
- package/src/host/http/control/ControlAuthorizationRoutes.ts +108 -0
- package/src/host/http/control/ControlRouter.ts +31 -0
- package/src/host/http/control/ExecuteBySession.ts +151 -0
- package/src/host/http/control/ExecuteInput.ts +236 -0
- package/src/host/http/control/MessageTimeline.ts +269 -0
- package/src/host/http/control/ModelRoutes.ts +101 -0
- package/src/host/http/control/OverviewRoutes.ts +106 -0
- package/src/host/http/control/SessionRoutes.ts +414 -0
- package/src/host/http/control/SessionSummaryStore.ts +76 -0
- package/src/host/http/control/TaskRoutes.ts +391 -0
- package/src/host/http/control/TaskStore.ts +222 -0
- package/src/host/http/control/types/AuthControl.ts +38 -0
- package/src/host/http/control/types/ControlViewData.ts +392 -0
- package/src/host/rpc/Client.ts +1 -1
- package/src/host/rpc/Server.ts +6 -6
- package/src/host/rpc/types/LocalRpc.ts +72 -0
- package/src/host/runtime/AgentHostRuntime.ts +3 -3
- package/src/host/runtime/CityRegistry.ts +1 -1
- package/src/host/sdk/Agent.ts +8 -8
- package/src/host/sdk/AgentSdkTypes.ts +4 -4
- package/src/host/sdk/RemoteAgent.ts +1 -1
- package/src/host/sdk/RpcServer.ts +1 -1
- package/src/host/sdk/Session.ts +2 -2
- package/src/host/sdk/SessionMetadata.ts +1 -1
- package/src/host/sdk/StreamEvents.ts +1 -1
- package/src/host/types/AgentHost.ts +208 -0
- package/src/host/types/Store.ts +422 -0
- package/src/index.ts +53 -53
- package/src/model/CreateModel.ts +5 -5
- package/src/model/ModelManager.ts +1 -1
- package/src/plugin/builtins/asr/Dependency.ts +336 -0
- package/src/plugin/builtins/asr/ModelCatalog.ts +43 -0
- package/src/plugin/builtins/asr/Plugin.ts +639 -0
- package/src/plugin/builtins/auth/Plugin.ts +209 -0
- package/src/plugin/builtins/auth/runtime/AuthorizationConfig.ts +265 -0
- package/src/plugin/builtins/auth/runtime/AuthorizationPolicy.ts +168 -0
- package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +219 -0
- package/src/plugin/builtins/skill/Action.ts +159 -0
- package/src/plugin/builtins/skill/Command.ts +98 -0
- package/src/plugin/builtins/skill/Config.ts +51 -0
- package/src/plugin/builtins/skill/PROMPT.ts +9 -0
- package/src/plugin/builtins/skill/Plugin.ts +334 -0
- package/src/plugin/builtins/skill/SkillPromptAssets.ts +14 -0
- package/src/plugin/builtins/skill/runtime/Discovery.ts +141 -0
- package/src/plugin/builtins/skill/runtime/Paths.ts +130 -0
- package/src/plugin/builtins/skill/runtime/Prompt.ts +67 -0
- package/src/plugin/builtins/skill/runtime/Store.ts +95 -0
- package/src/plugin/builtins/skill/runtime/SystemProvider.ts +52 -0
- package/src/plugin/builtins/skill/runtime/Types.ts +22 -0
- package/src/plugin/builtins/skill/types/ClaudeSkill.ts +64 -0
- package/src/plugin/builtins/tts/Dependency.ts +473 -0
- package/src/plugin/builtins/tts/Plugin.ts +553 -0
- package/src/plugin/builtins/tts/runtime/Catalog.ts +97 -0
- package/src/plugin/builtins/tts/runtime/DependencyInstaller.ts +436 -0
- package/src/plugin/builtins/tts/runtime/Installer.ts +297 -0
- package/src/plugin/builtins/tts/runtime/Synthesizer.ts +480 -0
- package/src/plugin/builtins/tts/types/TtsPlugin.ts +164 -0
- package/src/plugin/builtins/voice/Dependency.ts +329 -0
- package/src/plugin/builtins/voice/ModelCatalog.ts +43 -0
- package/src/plugin/builtins/voice/Plugin.ts +599 -0
- package/src/plugin/builtins/voice/runtime/Catalog.ts +68 -0
- package/src/plugin/builtins/voice/runtime/DependencyInstaller.ts +505 -0
- package/src/plugin/builtins/voice/runtime/Installer.ts +324 -0
- package/src/plugin/builtins/voice/runtime/Transcriber.ts +467 -0
- package/src/plugin/builtins/voice/types/VoicePlugin.ts +194 -0
- package/src/plugin/builtins/web/Dependency.ts +17 -0
- package/src/plugin/builtins/web/PROMPT.agent-browser.ts +9 -0
- package/src/plugin/builtins/web/PROMPT.ts +9 -0
- package/src/plugin/builtins/web/PROMPT.web-access.ts +9 -0
- package/src/plugin/builtins/web/Plugin.ts +501 -0
- package/src/plugin/builtins/web/WebPromptAssets.ts +26 -0
- package/src/plugin/builtins/web/runtime/Config.ts +105 -0
- package/src/plugin/builtins/web/runtime/Source.ts +257 -0
- package/src/plugin/builtins/web/types/WebPlugin.ts +141 -0
- package/src/plugin/builtins/workboard/Plugin.ts +81 -0
- package/src/plugin/builtins/workboard/runtime/Collector.ts +78 -0
- package/src/plugin/builtins/workboard/runtime/Normalizer.ts +213 -0
- package/src/plugin/builtins/workboard/runtime/Store.ts +110 -0
- package/src/plugin/core/Activation.ts +26 -0
- package/src/plugin/core/Catalog.ts +118 -0
- package/src/plugin/core/HookRegistry.ts +249 -0
- package/src/plugin/core/HttpRoutes.ts +50 -0
- package/src/plugin/core/LocalExecution.ts +179 -0
- package/src/plugin/core/PluginCommand.ts +219 -0
- package/src/plugin/core/PluginManager.ts +66 -0
- package/src/plugin/core/PluginRegistry.ts +244 -0
- package/src/plugin/core/Plugins.ts +39 -0
- package/src/plugin/core/ProjectConfigStore.ts +58 -0
- package/src/plugin/types/Plugin.ts +748 -0
- package/src/plugin/types/PluginApi.ts +161 -0
- package/src/sandbox/MacOsSeatbeltSandbox.ts +1 -1
- package/src/sandbox/SandboxConfigResolver.ts +1 -1
- package/src/sandbox/SandboxRunner.ts +1 -1
- package/src/sandbox/types/Sandbox.ts +144 -0
- package/src/sandbox/types/SandboxRuntime.ts +377 -0
- package/src/service/builtins/BaseService.ts +2 -2
- package/src/service/builtins/chat/ChatService.ts +4 -4
- package/src/service/builtins/chat/ChatServiceTypes.ts +2 -2
- package/src/service/builtins/chat/PROMPT.direct.ts +9 -0
- package/src/service/builtins/chat/accounts/ChannelAccountService.ts +2 -2
- package/src/service/builtins/chat/channels/BaseChatChannel.ts +1 -1
- package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +1 -1
- package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +2 -2
- package/src/service/builtins/chat/channels/feishu/Feishu.ts +2 -2
- package/src/service/builtins/chat/channels/feishu/FeishuInbound.ts +1 -1
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +1 -1
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +2 -2
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +1 -1
- package/src/service/builtins/chat/channels/feishu/PROMPT.direct.ts +9 -0
- package/src/service/builtins/chat/channels/qq/PROMPT.direct.ts +9 -0
- package/src/service/builtins/chat/channels/qq/QQ.ts +3 -3
- package/src/service/builtins/chat/channels/qq/QQEventCapture.ts +2 -2
- package/src/service/builtins/chat/channels/qq/QQGatewayAuth.ts +2 -2
- package/src/service/builtins/chat/channels/qq/QQGatewayClient.ts +4 -4
- package/src/service/builtins/chat/channels/qq/QQGatewaySend.ts +2 -2
- package/src/service/builtins/chat/channels/qq/QQGatewaySupport.ts +3 -3
- package/src/service/builtins/chat/channels/qq/QQInbound.ts +2 -2
- package/src/service/builtins/chat/channels/qq/QQInboundDedupe.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQSendSupport.ts +1 -1
- package/src/service/builtins/chat/channels/qq/QQSupport.ts +2 -2
- package/src/service/builtins/chat/channels/qq/VoiceInput.ts +1 -1
- package/src/service/builtins/chat/channels/qq/types/QqChannel.ts +501 -0
- package/src/service/builtins/chat/channels/telegram/ApiClient.ts +1 -1
- package/src/service/builtins/chat/channels/telegram/Bot.ts +1 -1
- package/src/service/builtins/chat/channels/telegram/Handlers.ts +1 -1
- package/src/service/builtins/chat/channels/telegram/PROMPT.direct.ts +9 -0
- package/src/service/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +2 -0
- package/src/service/builtins/chat/channels/telegram/StateStore.ts +1 -1
- package/src/service/builtins/chat/runtime/ChannelContextStore.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatActionExecution.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatActionInput.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatChannelActions.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatChannelCore.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatIngressStore.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatPromptAssets.ts +32 -0
- package/src/service/builtins/chat/runtime/ChatQueueReplyDispatch.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +5 -5
- package/src/service/builtins/chat/runtime/ChatQueueWorkerSupport.ts +1 -1
- package/src/service/builtins/chat/runtime/ChatServiceActions.ts +4 -4
- package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +9 -58
- package/src/service/builtins/chat/runtime/ChatSession.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatSessionExecutionComposer.ts +2 -2
- package/src/service/builtins/chat/runtime/ChatSessionTypes.ts +2 -2
- package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/InboundAugment.ts +2 -2
- package/src/service/builtins/chat/runtime/PluginDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/QueuedUserMessage.ts +1 -1
- package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +1 -1
- package/src/service/builtins/chat/runtime/ReplyDispatch.ts +2 -2
- package/src/service/builtins/chat/runtime/SystemPrompt.ts +1 -1
- package/src/service/builtins/chat/runtime/UIMessageTransformer.ts +2 -2
- package/src/service/builtins/chat/runtime/UserVisibleText.ts +1 -1
- package/src/service/builtins/chat/types/ChannelAccount.ts +1 -1
- package/src/service/builtins/chat/types/ChatHistory.ts +1 -1
- package/src/service/builtins/chat/types/ChatPromptContext.ts +139 -0
- package/src/service/builtins/chat/types/ChatQueue.ts +1 -1
- package/src/service/builtins/chat/types/ChatService.ts +165 -0
- package/src/service/builtins/contact/ContactService.ts +2 -2
- package/src/service/builtins/contact/PROMPT.ts +9 -0
- package/src/service/builtins/contact/runtime/ChatRuntime.ts +1 -1
- package/src/service/builtins/contact/runtime/ContactPromptAssets.ts +14 -0
- package/src/service/builtins/contact/runtime/RemoteClient.ts +1 -1
- package/src/service/builtins/contact/runtime/SystemProvider.ts +3 -10
- package/src/service/builtins/memory/Action.ts +2 -2
- package/src/service/builtins/memory/MemoryService.ts +2 -2
- package/src/service/builtins/memory/types/Memory.ts +1 -1
- package/src/service/builtins/shell/ShellRuntimeTypes.ts +1 -1
- package/src/service/builtins/shell/ShellService.ts +1 -1
- package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +1 -1
- package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +1 -1
- package/src/service/builtins/task/Action.ts +1 -1
- package/src/service/builtins/task/PROMPT.ts +9 -0
- package/src/service/builtins/task/Scheduler.ts +1 -1
- package/src/service/builtins/task/TaskService.ts +2 -2
- package/src/service/builtins/task/runtime/Model.ts +1 -1
- package/src/service/builtins/task/runtime/TaskActionExecution.ts +2 -2
- package/src/service/builtins/task/runtime/TaskActionInput.ts +3 -3
- package/src/service/builtins/task/runtime/TaskPromptAssets.ts +14 -0
- package/src/service/builtins/task/runtime/TaskRunnerRound.ts +3 -3
- package/src/service/builtins/task/runtime/TaskRunnerSession.ts +2 -2
- package/src/service/builtins/task/runtime/TaskRunnerTypes.ts +1 -1
- package/src/service/builtins/task/runtime/TaskServiceActions.ts +2 -2
- package/src/service/builtins/task/runtime/TaskServiceSystem.ts +2 -24
- package/src/service/builtins/task/types/TaskService.ts +55 -0
- package/src/service/core/Manager.ts +1 -1
- package/src/service/core/ServiceActionApi.ts +3 -3
- package/src/service/core/ServiceActionRunner.ts +4 -4
- package/src/service/core/ServiceClassRegistry.ts +1 -1
- package/src/service/core/ServiceManager.ts +1 -1
- package/src/service/core/ServiceStateController.ts +2 -2
- package/src/service/schedule/Store.ts +3 -3
- package/src/service/types/Service.ts +223 -0
- package/src/service/types/ServiceSchedule.ts +134 -0
- package/src/service/types/ServiceState.ts +112 -0
- package/src/service/types/Services.ts +100 -0
- package/src/session/Session.ts +4 -4
- package/src/session/SessionRunScope.ts +2 -2
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +4 -4
- package/src/session/composer/execution/LocalSessionExecutionComposer.ts +3 -3
- package/src/session/composer/execution/SessionExecutionComposer.ts +2 -2
- package/src/session/composer/history/SessionHistoryComposer.ts +2 -2
- package/src/session/composer/history/SessionHistoryWriter.ts +2 -2
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +6 -6
- package/src/session/composer/system/default/InitPromptAssets.ts +20 -0
- package/src/session/composer/system/default/InitPrompts.ts +5 -46
- package/src/session/composer/system/default/StaticPromptCatalog.ts +1 -1
- package/src/session/composer/system/default/SystemDomain.ts +10 -43
- package/src/session/composer/system/default/SystemPromptAssets.ts +26 -0
- package/src/session/composer/system/default/assets/core.prompt.ts +9 -0
- package/src/session/composer/system/default/assets/init/PROFILE.md.ts +9 -0
- package/src/session/composer/system/default/assets/init/PROFILE.md.ts.txt +18 -0
- package/src/session/composer/system/default/assets/init/SOUL.md.ts +9 -0
- package/src/session/composer/system/default/assets/init/SOUL.md.ts.txt +89 -0
- package/src/session/composer/system/default/assets/service.prompt.ts +9 -0
- package/src/session/composer/system/default/assets/task.prompt.ts +9 -0
- package/src/session/composer/system/default/variables/VariableReplacer.ts +2 -2
- package/src/session/executors/local/LocalSessionCore.ts +4 -4
- package/src/session/executors/local/LocalSessionExecutor.ts +2 -2
- package/src/session/executors/local/SessionLoopDecision.ts +1 -1
- package/src/session/executors/local/SessionSignals.ts +2 -2
- package/src/session/messages/SessionAttachmentMapper.ts +1 -1
- package/src/session/messages/SessionMessageCodec.ts +1 -1
- package/src/session/messages/SessionMessageLog.ts +2 -2
- package/src/session/messages/SessionStepEventMapper.ts +3 -3
- package/src/session/tools/shell/ShellToolBridge.ts +2 -2
- package/src/session/tools/shell/ShellToolDefinition.ts +2 -2
- package/src/session/tools/shell/ShellToolFormatting.ts +1 -1
- package/src/session/types/SessionExecutor.ts +33 -0
- package/src/session/types/SessionMessages.ts +90 -0
- package/src/session/types/SessionRun.ts +132 -0
- package/src/utils/Template.ts +28 -0
- package/src/utils/cli/CliOutput.ts +128 -0
- package/src/utils/logger/Fetch.ts +93 -0
- package/src/utils/logger/FormatRequest.ts +455 -0
- package/src/utils/logger/FormatResponse.ts +265 -0
- package/src/utils/logger/FormatShared.ts +258 -0
- package/src/utils/logger/Logger.ts +372 -0
- package/src/utils/storage/index.ts +26 -0
- package/tsconfig.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/http/Server.d.ts.map +0 -1
- package/bin/http/Server.js +0 -112
- package/bin/http/Server.js.map +0 -1
- package/bin/http/auth/AuthEnv.d.ts.map +0 -1
- package/bin/http/auth/AuthEnv.js.map +0 -1
- package/bin/http/auth/AuthError.d.ts.map +0 -1
- package/bin/http/auth/AuthError.js.map +0 -1
- package/bin/http/auth/CliAuthStateStore.d.ts.map +0 -1
- package/bin/http/auth/CliAuthStateStore.js.map +0 -1
- package/bin/http/auth/PasswordHasher.d.ts.map +0 -1
- package/bin/http/auth/PasswordHasher.js.map +0 -1
- package/bin/http/auth/TokenService.d.ts.map +0 -1
- package/bin/http/auth/TokenService.js.map +0 -1
- package/bin/http/control/AuthControlService.d.ts +0 -30
- package/bin/http/control/AuthControlService.d.ts.map +0 -1
- package/bin/http/control/AuthControlService.js +0 -120
- package/bin/http/control/AuthControlService.js.map +0 -1
- package/bin/http/control/CommonHelpers.d.ts.map +0 -1
- package/bin/http/control/CommonHelpers.js.map +0 -1
- package/bin/http/control/ControlApiRoutes.d.ts +0 -14
- package/bin/http/control/ControlApiRoutes.d.ts.map +0 -1
- package/bin/http/control/ControlApiRoutes.js +0 -27
- package/bin/http/control/ControlApiRoutes.js.map +0 -1
- package/bin/http/control/ControlAuthorizationRoutes.d.ts +0 -17
- package/bin/http/control/ControlAuthorizationRoutes.d.ts.map +0 -1
- package/bin/http/control/ControlAuthorizationRoutes.js +0 -85
- package/bin/http/control/ControlAuthorizationRoutes.js.map +0 -1
- package/bin/http/control/ControlRouter.d.ts +0 -19
- package/bin/http/control/ControlRouter.d.ts.map +0 -1
- package/bin/http/control/ControlRouter.js +0 -26
- package/bin/http/control/ControlRouter.js.map +0 -1
- package/bin/http/control/ExecuteBySession.d.ts +0 -39
- package/bin/http/control/ExecuteBySession.d.ts.map +0 -1
- package/bin/http/control/ExecuteBySession.js +0 -128
- package/bin/http/control/ExecuteBySession.js.map +0 -1
- package/bin/http/control/ExecuteInput.d.ts +0 -18
- package/bin/http/control/ExecuteInput.d.ts.map +0 -1
- package/bin/http/control/ExecuteInput.js +0 -201
- package/bin/http/control/ExecuteInput.js.map +0 -1
- package/bin/http/control/Helpers.d.ts.map +0 -1
- package/bin/http/control/Helpers.js.map +0 -1
- package/bin/http/control/MessageTimeline.d.ts +0 -22
- package/bin/http/control/MessageTimeline.d.ts.map +0 -1
- package/bin/http/control/MessageTimeline.js +0 -226
- package/bin/http/control/MessageTimeline.js.map +0 -1
- package/bin/http/control/ModelRoutes.d.ts +0 -13
- package/bin/http/control/ModelRoutes.d.ts.map +0 -1
- package/bin/http/control/ModelRoutes.js +0 -87
- package/bin/http/control/ModelRoutes.js.map +0 -1
- package/bin/http/control/OverviewRoutes.d.ts +0 -13
- package/bin/http/control/OverviewRoutes.d.ts.map +0 -1
- package/bin/http/control/OverviewRoutes.js +0 -93
- package/bin/http/control/OverviewRoutes.js.map +0 -1
- package/bin/http/control/SessionRoutes.d.ts +0 -14
- package/bin/http/control/SessionRoutes.d.ts.map +0 -1
- package/bin/http/control/SessionRoutes.js +0 -333
- package/bin/http/control/SessionRoutes.js.map +0 -1
- package/bin/http/control/SessionSummaryStore.d.ts +0 -19
- package/bin/http/control/SessionSummaryStore.d.ts.map +0 -1
- package/bin/http/control/SessionSummaryStore.js +0 -62
- package/bin/http/control/SessionSummaryStore.js.map +0 -1
- package/bin/http/control/TaskRoutes.d.ts +0 -13
- package/bin/http/control/TaskRoutes.d.ts.map +0 -1
- package/bin/http/control/TaskRoutes.js +0 -335
- package/bin/http/control/TaskRoutes.js.map +0 -1
- package/bin/http/control/TaskStore.d.ts +0 -33
- package/bin/http/control/TaskStore.d.ts.map +0 -1
- package/bin/http/control/TaskStore.js +0 -157
- package/bin/http/control/TaskStore.js.map +0 -1
- package/bin/http/execute/execute.d.ts.map +0 -1
- package/bin/http/execute/execute.js +0 -90
- package/bin/http/execute/execute.js.map +0 -1
- package/bin/http/health/health.d.ts.map +0 -1
- package/bin/http/health/health.js.map +0 -1
- package/bin/http/plugins/plugins.d.ts.map +0 -1
- package/bin/http/plugins/plugins.js +0 -55
- package/bin/http/plugins/plugins.js.map +0 -1
- package/bin/http/services/services.d.ts.map +0 -1
- package/bin/http/services/services.js +0 -79
- package/bin/http/services/services.js.map +0 -1
- package/bin/http/static/static.d.ts.map +0 -1
- package/bin/http/static/static.js +0 -97
- package/bin/http/static/static.js.map +0 -1
- package/bin/plugin/Activation.d.ts +0 -19
- package/bin/plugin/Activation.d.ts.map +0 -1
- package/bin/plugin/Activation.js.map +0 -1
- package/bin/plugin/Catalog.d.ts +0 -42
- package/bin/plugin/Catalog.d.ts.map +0 -1
- package/bin/plugin/Catalog.js +0 -92
- package/bin/plugin/Catalog.js.map +0 -1
- package/bin/plugin/HookRegistry.d.ts +0 -68
- package/bin/plugin/HookRegistry.d.ts.map +0 -1
- package/bin/plugin/HookRegistry.js.map +0 -1
- package/bin/plugin/HttpRoutes.d.ts +0 -22
- package/bin/plugin/HttpRoutes.d.ts.map +0 -1
- package/bin/plugin/HttpRoutes.js +0 -37
- package/bin/plugin/HttpRoutes.js.map +0 -1
- package/bin/plugin/LocalExecution.d.ts +0 -32
- package/bin/plugin/LocalExecution.d.ts.map +0 -1
- package/bin/plugin/LocalExecution.js +0 -148
- package/bin/plugin/LocalExecution.js.map +0 -1
- package/bin/plugin/PluginCommand.d.ts.map +0 -1
- package/bin/plugin/PluginCommand.js +0 -188
- package/bin/plugin/PluginCommand.js.map +0 -1
- package/bin/plugin/PluginManager.d.ts +0 -24
- package/bin/plugin/PluginManager.d.ts.map +0 -1
- package/bin/plugin/PluginManager.js +0 -62
- package/bin/plugin/PluginManager.js.map +0 -1
- package/bin/plugin/PluginRegistry.d.ts +0 -66
- package/bin/plugin/PluginRegistry.d.ts.map +0 -1
- package/bin/plugin/PluginRegistry.js +0 -184
- package/bin/plugin/PluginRegistry.js.map +0 -1
- package/bin/plugin/Plugins.d.ts +0 -20
- package/bin/plugin/Plugins.d.ts.map +0 -1
- package/bin/plugin/Plugins.js +0 -33
- package/bin/plugin/Plugins.js.map +0 -1
- package/bin/plugin/ProjectConfigStore.d.ts +0 -30
- package/bin/plugin/ProjectConfigStore.d.ts.map +0 -1
- package/bin/plugin/ProjectConfigStore.js.map +0 -1
- package/bin/plugins/asr/Dependency.d.ts +0 -77
- package/bin/plugins/asr/Dependency.d.ts.map +0 -1
- package/bin/plugins/asr/Dependency.js +0 -238
- package/bin/plugins/asr/Dependency.js.map +0 -1
- package/bin/plugins/asr/ModelCatalog.d.ts.map +0 -1
- package/bin/plugins/asr/ModelCatalog.js +0 -25
- package/bin/plugins/asr/ModelCatalog.js.map +0 -1
- package/bin/plugins/asr/Plugin.d.ts +0 -14
- package/bin/plugins/asr/Plugin.d.ts.map +0 -1
- package/bin/plugins/asr/Plugin.js +0 -585
- package/bin/plugins/asr/Plugin.js.map +0 -1
- package/bin/plugins/auth/Plugin.d.ts +0 -14
- package/bin/plugins/auth/Plugin.d.ts.map +0 -1
- package/bin/plugins/auth/Plugin.js +0 -181
- package/bin/plugins/auth/Plugin.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +0 -41
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.js +0 -187
- package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +0 -30
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js +0 -123
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +0 -29
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.js.map +0 -1
- package/bin/plugins/skill/Action.d.ts +0 -34
- package/bin/plugins/skill/Action.d.ts.map +0 -1
- package/bin/plugins/skill/Action.js +0 -122
- package/bin/plugins/skill/Action.js.map +0 -1
- package/bin/plugins/skill/Command.d.ts.map +0 -1
- package/bin/plugins/skill/Command.js +0 -70
- package/bin/plugins/skill/Command.js.map +0 -1
- package/bin/plugins/skill/Config.d.ts +0 -18
- package/bin/plugins/skill/Config.d.ts.map +0 -1
- package/bin/plugins/skill/Config.js.map +0 -1
- package/bin/plugins/skill/Plugin.d.ts +0 -14
- package/bin/plugins/skill/Plugin.d.ts.map +0 -1
- package/bin/plugins/skill/Plugin.js +0 -315
- package/bin/plugins/skill/Plugin.js.map +0 -1
- package/bin/plugins/skill/runtime/Discovery.d.ts +0 -25
- package/bin/plugins/skill/runtime/Discovery.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Discovery.js.map +0 -1
- package/bin/plugins/skill/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Frontmatter.js.map +0 -1
- package/bin/plugins/skill/runtime/Paths.d.ts +0 -16
- package/bin/plugins/skill/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Paths.js.map +0 -1
- package/bin/plugins/skill/runtime/Prompt.d.ts +0 -19
- package/bin/plugins/skill/runtime/Prompt.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Prompt.js +0 -54
- package/bin/plugins/skill/runtime/Prompt.js.map +0 -1
- package/bin/plugins/skill/runtime/Store.d.ts +0 -25
- package/bin/plugins/skill/runtime/Store.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Store.js.map +0 -1
- package/bin/plugins/skill/runtime/SystemProvider.d.ts +0 -24
- package/bin/plugins/skill/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/SystemProvider.js +0 -33
- package/bin/plugins/skill/runtime/SystemProvider.js.map +0 -1
- package/bin/plugins/skill/runtime/Types.d.ts +0 -21
- package/bin/plugins/skill/runtime/Types.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Types.js.map +0 -1
- package/bin/plugins/skill/runtime/Utils.d.ts.map +0 -1
- package/bin/plugins/skill/runtime/Utils.js.map +0 -1
- package/bin/plugins/tts/Dependency.d.ts +0 -90
- package/bin/plugins/tts/Dependency.d.ts.map +0 -1
- package/bin/plugins/tts/Dependency.js +0 -344
- package/bin/plugins/tts/Dependency.js.map +0 -1
- package/bin/plugins/tts/Plugin.d.ts +0 -13
- package/bin/plugins/tts/Plugin.d.ts.map +0 -1
- package/bin/plugins/tts/Plugin.js +0 -523
- package/bin/plugins/tts/Plugin.js.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.d.ts +0 -21
- package/bin/plugins/tts/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.js.map +0 -1
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts +0 -143
- package/bin/plugins/tts/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugins/tts/runtime/Installer.d.ts +0 -89
- package/bin/plugins/tts/runtime/Installer.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Installer.js.map +0 -1
- package/bin/plugins/tts/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Paths.js.map +0 -1
- package/bin/plugins/tts/runtime/Synthesizer.d.ts +0 -44
- package/bin/plugins/tts/runtime/Synthesizer.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Synthesizer.js +0 -363
- package/bin/plugins/tts/runtime/Synthesizer.js.map +0 -1
- package/bin/plugins/voice/Dependency.d.ts +0 -77
- package/bin/plugins/voice/Dependency.d.ts.map +0 -1
- package/bin/plugins/voice/Dependency.js +0 -237
- package/bin/plugins/voice/Dependency.js.map +0 -1
- package/bin/plugins/voice/ModelCatalog.d.ts.map +0 -1
- package/bin/plugins/voice/ModelCatalog.js +0 -25
- package/bin/plugins/voice/ModelCatalog.js.map +0 -1
- package/bin/plugins/voice/Plugin.d.ts +0 -14
- package/bin/plugins/voice/Plugin.d.ts.map +0 -1
- package/bin/plugins/voice/Plugin.js +0 -546
- package/bin/plugins/voice/Plugin.js.map +0 -1
- package/bin/plugins/voice/runtime/Catalog.d.ts +0 -18
- package/bin/plugins/voice/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Catalog.js.map +0 -1
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts +0 -145
- package/bin/plugins/voice/runtime/DependencyInstaller.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/DependencyInstaller.js.map +0 -1
- package/bin/plugins/voice/runtime/Installer.d.ts +0 -94
- package/bin/plugins/voice/runtime/Installer.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Installer.js.map +0 -1
- package/bin/plugins/voice/runtime/Paths.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Paths.js.map +0 -1
- package/bin/plugins/voice/runtime/Transcriber.d.ts +0 -57
- package/bin/plugins/voice/runtime/Transcriber.d.ts.map +0 -1
- package/bin/plugins/voice/runtime/Transcriber.js.map +0 -1
- package/bin/plugins/web/Dependency.d.ts +0 -10
- package/bin/plugins/web/Dependency.d.ts.map +0 -1
- package/bin/plugins/web/Dependency.js +0 -10
- package/bin/plugins/web/Dependency.js.map +0 -1
- package/bin/plugins/web/Plugin.d.ts +0 -13
- package/bin/plugins/web/Plugin.d.ts.map +0 -1
- package/bin/plugins/web/Plugin.js +0 -481
- package/bin/plugins/web/Plugin.js.map +0 -1
- package/bin/plugins/web/runtime/Config.d.ts +0 -21
- package/bin/plugins/web/runtime/Config.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Config.js +0 -79
- package/bin/plugins/web/runtime/Config.js.map +0 -1
- package/bin/plugins/web/runtime/Source.d.ts +0 -29
- package/bin/plugins/web/runtime/Source.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Source.js +0 -215
- package/bin/plugins/web/runtime/Source.js.map +0 -1
- package/bin/plugins/workboard/Plugin.d.ts +0 -13
- package/bin/plugins/workboard/Plugin.d.ts.map +0 -1
- package/bin/plugins/workboard/Plugin.js +0 -71
- package/bin/plugins/workboard/Plugin.js.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.d.ts +0 -14
- package/bin/plugins/workboard/runtime/Collector.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.js +0 -62
- package/bin/plugins/workboard/runtime/Collector.js.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.d.ts +0 -61
- package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.js.map +0 -1
- package/bin/plugins/workboard/runtime/Store.d.ts +0 -48
- package/bin/plugins/workboard/runtime/Store.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Store.js +0 -84
- package/bin/plugins/workboard/runtime/Store.js.map +0 -1
- package/bin/plugins/workboard/types/Workboard.d.ts.map +0 -1
- package/bin/plugins/workboard/types/Workboard.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.txt +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
- package/bin/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
- package/bin/shared/constants/DowncityDefault.d.ts +0 -3
- package/bin/shared/constants/DowncityDefault.d.ts.map +0 -1
- package/bin/shared/constants/DowncityDefault.js.map +0 -1
- package/bin/shared/constants/DowncitySchema.d.ts +0 -3
- package/bin/shared/constants/DowncitySchema.d.ts.map +0 -1
- package/bin/shared/constants/DowncitySchema.js.map +0 -1
- package/bin/shared/types/AgentHost.d.ts +0 -188
- package/bin/shared/types/AgentHost.d.ts.map +0 -1
- package/bin/shared/types/AgentHost.js.map +0 -1
- package/bin/shared/types/AgentProject.d.ts +0 -80
- package/bin/shared/types/AgentProject.d.ts.map +0 -1
- package/bin/shared/types/AgentProject.js.map +0 -1
- package/bin/shared/types/AuthControl.d.ts +0 -30
- package/bin/shared/types/AuthControl.d.ts.map +0 -1
- package/bin/shared/types/AuthControl.js.map +0 -1
- package/bin/shared/types/AuthPlugin.d.ts +0 -407
- package/bin/shared/types/AuthPlugin.d.ts.map +0 -1
- package/bin/shared/types/AuthPlugin.js +0 -115
- package/bin/shared/types/AuthPlugin.js.map +0 -1
- package/bin/shared/types/ChatPlugin.d.ts +0 -238
- package/bin/shared/types/ChatPlugin.d.ts.map +0 -1
- package/bin/shared/types/ChatPlugin.js.map +0 -1
- package/bin/shared/types/ChatPromptContext.d.ts +0 -125
- package/bin/shared/types/ChatPromptContext.d.ts.map +0 -1
- package/bin/shared/types/ChatPromptContext.js.map +0 -1
- package/bin/shared/types/ChatQueueWorker.d.ts.map +0 -1
- package/bin/shared/types/ChatQueueWorker.js.map +0 -1
- package/bin/shared/types/ChatRuntime.d.ts +0 -32
- package/bin/shared/types/ChatRuntime.d.ts.map +0 -1
- package/bin/shared/types/ChatRuntime.js.map +0 -1
- package/bin/shared/types/ChatService.d.ts +0 -145
- package/bin/shared/types/ChatService.d.ts.map +0 -1
- package/bin/shared/types/ChatService.js.map +0 -1
- package/bin/shared/types/ClaudeSkill.d.ts +0 -63
- package/bin/shared/types/ClaudeSkill.d.ts.map +0 -1
- package/bin/shared/types/ClaudeSkill.js.map +0 -1
- package/bin/shared/types/ControlRoutes.d.ts +0 -28
- package/bin/shared/types/ControlRoutes.d.ts.map +0 -1
- package/bin/shared/types/ControlRoutes.js.map +0 -1
- package/bin/shared/types/ControlSessionExecute.d.ts.map +0 -1
- package/bin/shared/types/ControlSessionExecute.js.map +0 -1
- package/bin/shared/types/ControlViewData.d.ts +0 -320
- package/bin/shared/types/ControlViewData.d.ts.map +0 -1
- package/bin/shared/types/ControlViewData.js.map +0 -1
- package/bin/shared/types/Daemon.d.ts.map +0 -1
- package/bin/shared/types/Daemon.js.map +0 -1
- package/bin/shared/types/DowncityConfig.d.ts +0 -214
- package/bin/shared/types/DowncityConfig.d.ts.map +0 -1
- package/bin/shared/types/DowncityConfig.js.map +0 -1
- package/bin/shared/types/ExecutionBinding.d.ts.map +0 -1
- package/bin/shared/types/ExecutionBinding.js.map +0 -1
- package/bin/shared/types/FeishuChannel.d.ts.map +0 -1
- package/bin/shared/types/FeishuChannel.js.map +0 -1
- package/bin/shared/types/InlineInstant.d.ts.map +0 -1
- package/bin/shared/types/InlineInstant.js.map +0 -1
- package/bin/shared/types/Json.d.ts.map +0 -1
- package/bin/shared/types/Json.js.map +0 -1
- package/bin/shared/types/LlmConfig.d.ts.map +0 -1
- package/bin/shared/types/LlmConfig.js.map +0 -1
- package/bin/shared/types/LocalRpc.d.ts +0 -69
- package/bin/shared/types/LocalRpc.d.ts.map +0 -1
- package/bin/shared/types/LocalRpc.js.map +0 -1
- package/bin/shared/types/ModelBinding.d.ts.map +0 -1
- package/bin/shared/types/ModelBinding.js.map +0 -1
- package/bin/shared/types/Platform.d.ts.map +0 -1
- package/bin/shared/types/Platform.js.map +0 -1
- package/bin/shared/types/PlatformGateway.d.ts.map +0 -1
- package/bin/shared/types/PlatformGateway.js.map +0 -1
- package/bin/shared/types/Plugin.d.ts +0 -697
- package/bin/shared/types/Plugin.d.ts.map +0 -1
- package/bin/shared/types/Plugin.js.map +0 -1
- package/bin/shared/types/PluginApi.d.ts +0 -155
- package/bin/shared/types/PluginApi.d.ts.map +0 -1
- package/bin/shared/types/PluginApi.js.map +0 -1
- package/bin/shared/types/PluginLifecycle.d.ts.map +0 -1
- package/bin/shared/types/PluginLifecycle.js.map +0 -1
- package/bin/shared/types/QqChannel.d.ts +0 -485
- package/bin/shared/types/QqChannel.d.ts.map +0 -1
- package/bin/shared/types/QqChannel.js.map +0 -1
- package/bin/shared/types/QqGatewaySupport.d.ts.map +0 -1
- package/bin/shared/types/QqGatewaySupport.js.map +0 -1
- package/bin/shared/types/Sandbox.d.ts +0 -130
- package/bin/shared/types/Sandbox.d.ts.map +0 -1
- package/bin/shared/types/Sandbox.js +0 -10
- package/bin/shared/types/Sandbox.js.map +0 -1
- package/bin/shared/types/Service.d.ts +0 -205
- package/bin/shared/types/Service.d.ts.map +0 -1
- package/bin/shared/types/Service.js +0 -10
- package/bin/shared/types/Service.js.map +0 -1
- package/bin/shared/types/ServiceSchedule.d.ts +0 -114
- package/bin/shared/types/ServiceSchedule.d.ts.map +0 -1
- package/bin/shared/types/ServiceSchedule.js.map +0 -1
- package/bin/shared/types/ServiceState.d.ts +0 -104
- package/bin/shared/types/ServiceState.d.ts.map +0 -1
- package/bin/shared/types/ServiceState.js.map +0 -1
- package/bin/shared/types/Services.d.ts +0 -94
- package/bin/shared/types/Services.d.ts.map +0 -1
- package/bin/shared/types/Services.js.map +0 -1
- package/bin/shared/types/Shell.d.ts.map +0 -1
- package/bin/shared/types/Shell.js.map +0 -1
- package/bin/shared/types/SkillCommand.d.ts.map +0 -1
- package/bin/shared/types/SkillCommand.js.map +0 -1
- package/bin/shared/types/SkillPlugin.d.ts.map +0 -1
- package/bin/shared/types/SkillPlugin.js.map +0 -1
- package/bin/shared/types/SkillRoot.d.ts.map +0 -1
- package/bin/shared/types/SkillRoot.js.map +0 -1
- package/bin/shared/types/Start.d.ts.map +0 -1
- package/bin/shared/types/Start.js.map +0 -1
- package/bin/shared/types/Store.d.ts +0 -408
- package/bin/shared/types/Store.d.ts.map +0 -1
- package/bin/shared/types/Store.js.map +0 -1
- package/bin/shared/types/TaskService.d.ts +0 -52
- package/bin/shared/types/TaskService.d.ts.map +0 -1
- package/bin/shared/types/TaskService.js +0 -9
- package/bin/shared/types/TaskService.js.map +0 -1
- package/bin/shared/types/Template.d.ts.map +0 -1
- package/bin/shared/types/Template.js.map +0 -1
- package/bin/shared/types/Tts.d.ts.map +0 -1
- package/bin/shared/types/Tts.js.map +0 -1
- package/bin/shared/types/TtsPlugin.d.ts +0 -161
- package/bin/shared/types/TtsPlugin.d.ts.map +0 -1
- package/bin/shared/types/TtsPlugin.js.map +0 -1
- package/bin/shared/types/Voice.d.ts.map +0 -1
- package/bin/shared/types/Voice.js.map +0 -1
- package/bin/shared/types/VoicePlugin.d.ts +0 -190
- package/bin/shared/types/VoicePlugin.d.ts.map +0 -1
- package/bin/shared/types/VoicePlugin.js.map +0 -1
- package/bin/shared/types/WebPlugin.d.ts +0 -133
- package/bin/shared/types/WebPlugin.d.ts.map +0 -1
- package/bin/shared/types/WebPlugin.js.map +0 -1
- package/bin/shared/types/auth/AuthPermission.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthPermission.js.map +0 -1
- package/bin/shared/types/auth/AuthRoute.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthRoute.js.map +0 -1
- package/bin/shared/types/auth/AuthToken.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthToken.js.map +0 -1
- package/bin/shared/types/auth/AuthTypes.d.ts.map +0 -1
- package/bin/shared/types/auth/AuthTypes.js.map +0 -1
- package/bin/shared/utils/Id.d.ts.map +0 -1
- package/bin/shared/utils/Id.js.map +0 -1
- package/bin/shared/utils/Template.d.ts +0 -17
- package/bin/shared/utils/Template.d.ts.map +0 -1
- package/bin/shared/utils/Template.js.map +0 -1
- package/bin/shared/utils/Time.d.ts.map +0 -1
- package/bin/shared/utils/Time.js.map +0 -1
- package/bin/shared/utils/cli/Checker.d.ts.map +0 -1
- package/bin/shared/utils/cli/Checker.js.map +0 -1
- package/bin/shared/utils/cli/CliOutput.d.ts.map +0 -1
- package/bin/shared/utils/cli/CliOutput.js +0 -98
- package/bin/shared/utils/cli/CliOutput.js.map +0 -1
- package/bin/shared/utils/cli/PrettyStatus.d.ts.map +0 -1
- package/bin/shared/utils/cli/PrettyStatus.js.map +0 -1
- package/bin/shared/utils/logger/Fetch.d.ts +0 -14
- package/bin/shared/utils/logger/Fetch.d.ts.map +0 -1
- package/bin/shared/utils/logger/Fetch.js.map +0 -1
- package/bin/shared/utils/logger/Format.d.ts.map +0 -1
- package/bin/shared/utils/logger/Format.js.map +0 -1
- package/bin/shared/utils/logger/FormatRequest.d.ts +0 -29
- package/bin/shared/utils/logger/FormatRequest.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatRequest.js.map +0 -1
- package/bin/shared/utils/logger/FormatResponse.d.ts +0 -46
- package/bin/shared/utils/logger/FormatResponse.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatResponse.js.map +0 -1
- package/bin/shared/utils/logger/FormatShared.d.ts +0 -33
- package/bin/shared/utils/logger/FormatShared.d.ts.map +0 -1
- package/bin/shared/utils/logger/FormatShared.js.map +0 -1
- package/bin/shared/utils/logger/Logger.d.ts +0 -101
- package/bin/shared/utils/logger/Logger.d.ts.map +0 -1
- package/bin/shared/utils/logger/Logger.js +0 -308
- package/bin/shared/utils/logger/Logger.js.map +0 -1
- package/bin/shared/utils/storage/index.d.ts +0 -5
- package/bin/shared/utils/storage/index.d.ts.map +0 -1
- package/bin/shared/utils/storage/index.js.map +0 -1
- package/bin/types/sandbox/SandboxRuntime.d.ts +0 -318
- package/bin/types/sandbox/SandboxRuntime.d.ts.map +0 -1
- package/bin/types/sandbox/SandboxRuntime.js.map +0 -1
- package/bin/types/session/SessionExecutor.d.ts +0 -18
- package/bin/types/session/SessionExecutor.d.ts.map +0 -1
- package/bin/types/session/SessionExecutor.js.map +0 -1
- package/bin/types/session/SessionHistoryMeta.d.ts.map +0 -1
- package/bin/types/session/SessionHistoryMeta.js.map +0 -1
- package/bin/types/session/SessionHistoryPaths.d.ts.map +0 -1
- package/bin/types/session/SessionHistoryPaths.js.map +0 -1
- package/bin/types/session/SessionLoop.d.ts.map +0 -1
- package/bin/types/session/SessionLoop.js.map +0 -1
- package/bin/types/session/SessionMessages.d.ts +0 -83
- package/bin/types/session/SessionMessages.d.ts.map +0 -1
- package/bin/types/session/SessionMessages.js.map +0 -1
- package/bin/types/session/SessionPrompts.d.ts.map +0 -1
- package/bin/types/session/SessionPrompts.js.map +0 -1
- package/bin/types/session/SessionRun.d.ts +0 -112
- package/bin/types/session/SessionRun.d.ts.map +0 -1
- package/bin/types/session/SessionRun.js.map +0 -1
- package/scripts/copy-prompt-assets.mjs +0 -72
- package/src/http/Server.ts +0 -157
- package/src/http/control/AuthControlService.ts +0 -161
- package/src/http/control/ControlApiRoutes.ts +0 -31
- package/src/http/control/ControlAuthorizationRoutes.ts +0 -108
- package/src/http/control/ControlRouter.ts +0 -31
- package/src/http/control/ExecuteBySession.ts +0 -151
- package/src/http/control/ExecuteInput.ts +0 -236
- package/src/http/control/MessageTimeline.ts +0 -269
- package/src/http/control/ModelRoutes.ts +0 -101
- package/src/http/control/OverviewRoutes.ts +0 -106
- package/src/http/control/SessionRoutes.ts +0 -414
- package/src/http/control/SessionSummaryStore.ts +0 -76
- package/src/http/control/TaskRoutes.ts +0 -391
- package/src/http/control/TaskStore.ts +0 -222
- package/src/plugin/Activation.ts +0 -26
- package/src/plugin/Catalog.ts +0 -118
- package/src/plugin/HookRegistry.ts +0 -249
- package/src/plugin/HttpRoutes.ts +0 -50
- package/src/plugin/LocalExecution.ts +0 -179
- package/src/plugin/PluginCommand.ts +0 -219
- package/src/plugin/PluginManager.ts +0 -66
- package/src/plugin/PluginRegistry.ts +0 -244
- package/src/plugin/Plugins.ts +0 -39
- package/src/plugin/ProjectConfigStore.ts +0 -58
- package/src/plugins/asr/Dependency.ts +0 -336
- package/src/plugins/asr/ModelCatalog.ts +0 -43
- package/src/plugins/asr/Plugin.ts +0 -639
- package/src/plugins/auth/Plugin.ts +0 -209
- package/src/plugins/auth/runtime/AuthorizationConfig.ts +0 -265
- package/src/plugins/auth/runtime/AuthorizationPolicy.ts +0 -168
- package/src/plugins/auth/runtime/AuthorizationStore.ts +0 -219
- package/src/plugins/skill/Action.ts +0 -159
- package/src/plugins/skill/Command.ts +0 -98
- package/src/plugins/skill/Config.ts +0 -51
- package/src/plugins/skill/PROMPT.txt +0 -10
- package/src/plugins/skill/Plugin.ts +0 -355
- package/src/plugins/skill/runtime/Discovery.ts +0 -141
- package/src/plugins/skill/runtime/Paths.ts +0 -130
- package/src/plugins/skill/runtime/Prompt.ts +0 -67
- package/src/plugins/skill/runtime/Store.ts +0 -95
- package/src/plugins/skill/runtime/SystemProvider.ts +0 -52
- package/src/plugins/skill/runtime/Types.ts +0 -22
- package/src/plugins/tts/Dependency.ts +0 -473
- package/src/plugins/tts/Plugin.ts +0 -553
- package/src/plugins/tts/runtime/Catalog.ts +0 -97
- package/src/plugins/tts/runtime/DependencyInstaller.ts +0 -436
- package/src/plugins/tts/runtime/Installer.ts +0 -297
- package/src/plugins/tts/runtime/Synthesizer.ts +0 -480
- package/src/plugins/voice/Dependency.ts +0 -329
- package/src/plugins/voice/ModelCatalog.ts +0 -43
- package/src/plugins/voice/Plugin.ts +0 -599
- package/src/plugins/voice/runtime/Catalog.ts +0 -68
- package/src/plugins/voice/runtime/DependencyInstaller.ts +0 -505
- package/src/plugins/voice/runtime/Installer.ts +0 -324
- package/src/plugins/voice/runtime/Transcriber.ts +0 -467
- package/src/plugins/web/Dependency.ts +0 -17
- package/src/plugins/web/PROMPT.agent-browser.txt +0 -17
- package/src/plugins/web/PROMPT.txt +0 -33
- package/src/plugins/web/PROMPT.web-access.txt +0 -13
- package/src/plugins/web/Plugin.ts +0 -515
- package/src/plugins/web/runtime/Config.ts +0 -105
- package/src/plugins/web/runtime/Source.ts +0 -263
- package/src/plugins/workboard/Plugin.ts +0 -81
- package/src/plugins/workboard/runtime/Collector.ts +0 -78
- package/src/plugins/workboard/runtime/Normalizer.ts +0 -213
- package/src/plugins/workboard/runtime/Store.ts +0 -110
- package/src/service/builtins/chat/PROMPT.direct.txt +0 -55
- package/src/service/builtins/chat/channels/feishu/PROMPT.direct.txt +0 -5
- package/src/service/builtins/chat/channels/qq/PROMPT.direct.txt +0 -11
- package/src/service/builtins/chat/channels/telegram/PROMPT.direct.txt +0 -1
- package/src/service/builtins/contact/PROMPT.txt +0 -25
- package/src/service/builtins/task/PROMPT.txt +0 -237
- package/src/session/composer/system/default/assets/core.prompt.txt +0 -39
- package/src/session/composer/system/default/assets/init/PROFILE.md.txt +0 -17
- package/src/session/composer/system/default/assets/init/SOUL.md.txt +0 -88
- package/src/session/composer/system/default/assets/service.prompt.txt +0 -29
- package/src/session/composer/system/default/assets/task.prompt.txt +0 -33
- package/src/shared/constants/DowncityDefault.ts +0 -38
- package/src/shared/constants/DowncitySchema.ts +0 -377
- package/src/shared/types/AgentHost.ts +0 -208
- package/src/shared/types/AgentProject.ts +0 -92
- package/src/shared/types/AuthControl.ts +0 -38
- package/src/shared/types/ChatPromptContext.ts +0 -139
- package/src/shared/types/ChatService.ts +0 -165
- package/src/shared/types/ClaudeSkill.ts +0 -64
- package/src/shared/types/ControlViewData.ts +0 -392
- package/src/shared/types/DowncityConfig.ts +0 -215
- package/src/shared/types/LocalRpc.ts +0 -72
- package/src/shared/types/Plugin.ts +0 -748
- package/src/shared/types/PluginApi.ts +0 -161
- package/src/shared/types/QqChannel.ts +0 -501
- package/src/shared/types/README.md +0 -56
- package/src/shared/types/Sandbox.ts +0 -144
- package/src/shared/types/Service.ts +0 -223
- package/src/shared/types/ServiceSchedule.ts +0 -134
- package/src/shared/types/ServiceState.ts +0 -112
- package/src/shared/types/Services.ts +0 -100
- package/src/shared/types/Store.ts +0 -422
- package/src/shared/types/TaskService.ts +0 -55
- package/src/shared/types/TtsPlugin.ts +0 -164
- package/src/shared/types/VoicePlugin.ts +0 -194
- package/src/shared/types/WebPlugin.ts +0 -141
- package/src/shared/utils/README.md +0 -49
- package/src/shared/utils/Template.ts +0 -28
- package/src/shared/utils/cli/CliOutput.ts +0 -128
- package/src/shared/utils/logger/Fetch.ts +0 -93
- package/src/shared/utils/logger/FormatRequest.ts +0 -455
- package/src/shared/utils/logger/FormatResponse.ts +0 -265
- package/src/shared/utils/logger/FormatShared.ts +0 -258
- package/src/shared/utils/logger/Logger.ts +0 -372
- package/src/shared/utils/storage/index.ts +0 -26
- package/src/types/sandbox/SandboxRuntime.ts +0 -377
- package/src/types/session/SessionExecutor.ts +0 -33
- package/src/types/session/SessionMessages.ts +0 -90
- package/src/types/session/SessionRun.ts +0 -132
- /package/bin/{shared → agent/project}/types/AgentProject.js +0 -0
- /package/bin/{shared/constants → config}/DowncityDefault.js +0 -0
- /package/bin/{shared/constants → config}/DowncitySchema.js +0 -0
- /package/bin/{shared → config}/types/DowncityConfig.js +0 -0
- /package/bin/{shared → config}/types/ExecutionBinding.d.ts +0 -0
- /package/bin/{shared → config}/types/ExecutionBinding.js +0 -0
- /package/bin/{shared → config}/types/LlmConfig.d.ts +0 -0
- /package/bin/{shared → config}/types/LlmConfig.js +0 -0
- /package/bin/{shared → config}/types/ModelBinding.d.ts +0 -0
- /package/bin/{shared → config}/types/ModelBinding.js +0 -0
- /package/bin/{shared → config}/types/Start.d.ts +0 -0
- /package/bin/{shared → config}/types/Start.js +0 -0
- /package/bin/{shared → host/daemon}/types/Daemon.d.ts +0 -0
- /package/bin/{shared → host/daemon}/types/Daemon.js +0 -0
- /package/bin/{http → host/http}/Server.d.ts +0 -0
- /package/bin/{http → host/http}/auth/AuthEnv.d.ts +0 -0
- /package/bin/{http → host/http}/auth/AuthEnv.js +0 -0
- /package/bin/{http → host/http}/auth/AuthError.d.ts +0 -0
- /package/bin/{http → host/http}/auth/AuthError.js +0 -0
- /package/bin/{http → host/http}/auth/CliAuthStateStore.d.ts +0 -0
- /package/bin/{http → host/http}/auth/CliAuthStateStore.js +0 -0
- /package/bin/{http → host/http}/auth/PasswordHasher.d.ts +0 -0
- /package/bin/{http → host/http}/auth/PasswordHasher.js +0 -0
- /package/bin/{http → host/http}/auth/TokenService.d.ts +0 -0
- /package/bin/{http → host/http}/auth/TokenService.js +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthPermission.d.ts +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthPermission.js +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthRoute.d.ts +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthRoute.js +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthToken.d.ts +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthToken.js +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthTypes.d.ts +0 -0
- /package/bin/{shared/types/auth → host/http/auth/types}/AuthTypes.js +0 -0
- /package/bin/{http → host/http}/control/CommonHelpers.d.ts +0 -0
- /package/bin/{http → host/http}/control/CommonHelpers.js +0 -0
- /package/bin/{http → host/http}/control/Helpers.d.ts +0 -0
- /package/bin/{http → host/http}/control/Helpers.js +0 -0
- /package/bin/{shared → host/http/control}/types/AuthControl.js +0 -0
- /package/bin/{shared → host/http/control}/types/ControlRoutes.js +0 -0
- /package/bin/{shared → host/http/control}/types/ControlSessionExecute.d.ts +0 -0
- /package/bin/{shared → host/http/control}/types/ControlSessionExecute.js +0 -0
- /package/bin/{shared → host/http/control}/types/ControlViewData.js +0 -0
- /package/bin/{http → host/http}/execute/execute.d.ts +0 -0
- /package/bin/{shared → host/http/execute}/types/InlineInstant.d.ts +0 -0
- /package/bin/{shared → host/http/execute}/types/InlineInstant.js +0 -0
- /package/bin/{http → host/http}/health/health.d.ts +0 -0
- /package/bin/{http → host/http}/health/health.js +0 -0
- /package/bin/{http → host/http}/plugins/plugins.d.ts +0 -0
- /package/bin/{http → host/http}/services/services.d.ts +0 -0
- /package/bin/{http → host/http}/static/static.d.ts +0 -0
- /package/bin/{shared → host/rpc}/types/LocalRpc.js +0 -0
- /package/bin/{shared → host/runtime}/types/Platform.d.ts +0 -0
- /package/bin/{shared → host/runtime}/types/Platform.js +0 -0
- /package/bin/{shared → host/runtime}/types/PlatformGateway.d.ts +0 -0
- /package/bin/{shared → host/runtime}/types/PlatformGateway.js +0 -0
- /package/bin/{shared → host}/types/AgentHost.js +0 -0
- /package/bin/{shared → host}/types/Store.js +0 -0
- /package/bin/{plugins → plugin/builtins}/asr/ModelCatalog.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/auth/runtime/AuthorizationStore.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/Command.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/Config.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Discovery.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Frontmatter.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Frontmatter.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Paths.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Store.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Types.js +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Utils.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/skill/runtime/Utils.js +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/ClaudeSkill.js +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillCommand.d.ts +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillCommand.js +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillPlugin.d.ts +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillPlugin.js +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillRoot.d.ts +0 -0
- /package/bin/{shared → plugin/builtins/skill}/types/SkillRoot.js +0 -0
- /package/bin/{plugins → plugin/builtins}/tts/runtime/Catalog.js +0 -0
- /package/bin/{plugins → plugin/builtins}/tts/runtime/DependencyInstaller.js +0 -0
- /package/bin/{plugins → plugin/builtins}/tts/runtime/Installer.js +0 -0
- /package/bin/{plugins → plugin/builtins}/tts/runtime/Paths.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/tts/runtime/Paths.js +0 -0
- /package/bin/{shared → plugin/builtins/tts}/types/Tts.d.ts +0 -0
- /package/bin/{shared → plugin/builtins/tts}/types/Tts.js +0 -0
- /package/bin/{shared → plugin/builtins/tts}/types/TtsPlugin.js +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/ModelCatalog.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/Catalog.js +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/DependencyInstaller.js +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/Installer.js +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/Paths.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/Paths.js +0 -0
- /package/bin/{plugins → plugin/builtins}/voice/runtime/Transcriber.js +0 -0
- /package/bin/{shared → plugin/builtins/voice}/types/Voice.d.ts +0 -0
- /package/bin/{shared → plugin/builtins/voice}/types/Voice.js +0 -0
- /package/bin/{shared → plugin/builtins/voice}/types/VoicePlugin.js +0 -0
- /package/bin/{shared → plugin/builtins/web}/types/WebPlugin.js +0 -0
- /package/bin/{plugins → plugin/builtins}/workboard/runtime/Normalizer.js +0 -0
- /package/bin/{plugins → plugin/builtins}/workboard/types/Workboard.d.ts +0 -0
- /package/bin/{plugins → plugin/builtins}/workboard/types/Workboard.js +0 -0
- /package/bin/plugin/{Activation.js → core/Activation.js} +0 -0
- /package/bin/plugin/{HookRegistry.js → core/HookRegistry.js} +0 -0
- /package/bin/plugin/{PluginCommand.d.ts → core/PluginCommand.d.ts} +0 -0
- /package/bin/plugin/{ProjectConfigStore.js → core/ProjectConfigStore.js} +0 -0
- /package/bin/{shared → plugin}/types/Plugin.js +0 -0
- /package/bin/{shared → plugin}/types/PluginApi.js +0 -0
- /package/bin/{shared → plugin}/types/PluginLifecycle.d.ts +0 -0
- /package/bin/{shared → plugin}/types/PluginLifecycle.js +0 -0
- /package/bin/{types/sandbox → sandbox/types}/SandboxRuntime.js +0 -0
- /package/bin/{shared → service/builtins/chat/channels/feishu}/types/FeishuChannel.d.ts +0 -0
- /package/bin/{shared → service/builtins/chat/channels/feishu}/types/FeishuChannel.js +0 -0
- /package/bin/{shared → service/builtins/chat/channels/qq}/types/QqChannel.js +0 -0
- /package/bin/{shared → service/builtins/chat/channels/qq}/types/QqGatewaySupport.d.ts +0 -0
- /package/bin/{shared → service/builtins/chat/channels/qq}/types/QqGatewaySupport.js +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatPlugin.js +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatPromptContext.js +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatQueueWorker.d.ts +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatQueueWorker.js +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatRuntime.js +0 -0
- /package/bin/{shared → service/builtins/chat}/types/ChatService.js +0 -0
- /package/bin/{shared → service/builtins/shell}/types/Shell.d.ts +0 -0
- /package/bin/{shared → service/builtins/shell}/types/Shell.js +0 -0
- /package/bin/{shared → service}/types/ServiceSchedule.js +0 -0
- /package/bin/{shared → service}/types/ServiceState.js +0 -0
- /package/bin/{shared → service}/types/Services.js +0 -0
- /package/bin/{types/session → session/types}/SessionExecutor.js +0 -0
- /package/bin/{types/session → session/types}/SessionHistoryMeta.d.ts +0 -0
- /package/bin/{types/session → session/types}/SessionHistoryMeta.js +0 -0
- /package/bin/{types/session → session/types}/SessionHistoryPaths.d.ts +0 -0
- /package/bin/{types/session → session/types}/SessionHistoryPaths.js +0 -0
- /package/bin/{types/session → session/types}/SessionLoop.d.ts +0 -0
- /package/bin/{types/session → session/types}/SessionLoop.js +0 -0
- /package/bin/{types/session → session/types}/SessionMessages.js +0 -0
- /package/bin/{types/session → session/types}/SessionPrompts.d.ts +0 -0
- /package/bin/{types/session → session/types}/SessionPrompts.js +0 -0
- /package/bin/{types/session → session/types}/SessionRun.js +0 -0
- /package/bin/{shared/utils → utils}/Id.d.ts +0 -0
- /package/bin/{shared/utils → utils}/Id.js +0 -0
- /package/bin/{shared/utils → utils}/Template.js +0 -0
- /package/bin/{shared/utils → utils}/Time.d.ts +0 -0
- /package/bin/{shared/utils → utils}/Time.js +0 -0
- /package/bin/{shared/utils → utils}/cli/Checker.d.ts +0 -0
- /package/bin/{shared/utils → utils}/cli/Checker.js +0 -0
- /package/bin/{shared/utils → utils}/cli/CliOutput.d.ts +0 -0
- /package/bin/{shared/utils → utils}/cli/PrettyStatus.d.ts +0 -0
- /package/bin/{shared/utils → utils}/cli/PrettyStatus.js +0 -0
- /package/bin/{shared/utils → utils}/logger/Fetch.js +0 -0
- /package/bin/{shared/utils → utils}/logger/Format.d.ts +0 -0
- /package/bin/{shared/utils → utils}/logger/Format.js +0 -0
- /package/bin/{shared/utils → utils}/logger/FormatRequest.js +0 -0
- /package/bin/{shared/utils → utils}/logger/FormatResponse.js +0 -0
- /package/bin/{shared/utils → utils}/logger/FormatShared.js +0 -0
- /package/bin/{shared/utils → utils}/storage/index.js +0 -0
- /package/bin/{shared → utils}/types/Json.d.ts +0 -0
- /package/bin/{shared → utils}/types/Json.js +0 -0
- /package/bin/{shared → utils}/types/Template.d.ts +0 -0
- /package/bin/{shared → utils}/types/Template.js +0 -0
- /package/src/{shared → config}/types/ExecutionBinding.ts +0 -0
- /package/src/{shared → config}/types/LlmConfig.ts +0 -0
- /package/src/{shared → config}/types/ModelBinding.ts +0 -0
- /package/src/{shared → config}/types/Start.ts +0 -0
- /package/src/{shared → host/daemon}/types/Daemon.ts +0 -0
- /package/src/{http → host/http}/auth/AuthEnv.ts +0 -0
- /package/src/{http → host/http}/auth/AuthError.ts +0 -0
- /package/src/{http → host/http}/auth/CliAuthStateStore.ts +0 -0
- /package/src/{http → host/http}/auth/PasswordHasher.ts +0 -0
- /package/src/{http → host/http}/auth/TokenService.ts +0 -0
- /package/src/{shared/types/auth → host/http/auth/types}/AuthPermission.ts +0 -0
- /package/src/{shared/types/auth → host/http/auth/types}/AuthRoute.ts +0 -0
- /package/src/{shared/types/auth → host/http/auth/types}/AuthToken.ts +0 -0
- /package/src/{shared/types/auth → host/http/auth/types}/AuthTypes.ts +0 -0
- /package/src/{http → host/http}/control/CommonHelpers.ts +0 -0
- /package/src/{http → host/http}/control/Helpers.ts +0 -0
- /package/src/{shared → host/http/control}/types/ControlRoutes.ts +0 -0
- /package/src/{shared → host/http/control}/types/ControlSessionExecute.ts +0 -0
- /package/src/{http → host/http}/execute/execute.ts +0 -0
- /package/src/{shared → host/http/execute}/types/InlineInstant.ts +0 -0
- /package/src/{http → host/http}/health/health.ts +0 -0
- /package/src/{http → host/http}/plugins/plugins.ts +0 -0
- /package/src/{http → host/http}/services/services.ts +0 -0
- /package/src/{http → host/http}/static/static.ts +0 -0
- /package/src/{shared → host/runtime}/types/Platform.ts +0 -0
- /package/src/{shared → host/runtime}/types/PlatformGateway.ts +0 -0
- /package/src/{shared → plugin/builtins/auth}/types/AuthPlugin.ts +0 -0
- /package/{bin/plugins/skill/PROMPT.txt → src/plugin/builtins/skill/PROMPT.ts.txt} +0 -0
- /package/src/{plugins → plugin/builtins}/skill/runtime/Frontmatter.ts +0 -0
- /package/src/{plugins → plugin/builtins}/skill/runtime/Utils.ts +0 -0
- /package/src/{shared → plugin/builtins/skill}/types/SkillCommand.ts +0 -0
- /package/src/{shared → plugin/builtins/skill}/types/SkillPlugin.ts +0 -0
- /package/src/{shared → plugin/builtins/skill}/types/SkillRoot.ts +0 -0
- /package/src/{plugins → plugin/builtins}/tts/runtime/Paths.ts +0 -0
- /package/src/{shared → plugin/builtins/tts}/types/Tts.ts +0 -0
- /package/src/{plugins → plugin/builtins}/voice/runtime/Paths.ts +0 -0
- /package/src/{shared → plugin/builtins/voice}/types/Voice.ts +0 -0
- /package/{bin/plugins/web/PROMPT.agent-browser.txt → src/plugin/builtins/web/PROMPT.agent-browser.ts.txt} +0 -0
- /package/{bin/plugins/web/PROMPT.txt → src/plugin/builtins/web/PROMPT.ts.txt} +0 -0
- /package/{bin/plugins/web/PROMPT.web-access.txt → src/plugin/builtins/web/PROMPT.web-access.ts.txt} +0 -0
- /package/src/{plugins → plugin/builtins}/workboard/types/Workboard.ts +0 -0
- /package/src/{shared → plugin}/types/PluginLifecycle.ts +0 -0
- /package/{bin/service/builtins/chat/PROMPT.direct.txt → src/service/builtins/chat/PROMPT.direct.ts.txt} +0 -0
- /package/{bin/service/builtins/chat/channels/feishu/PROMPT.direct.txt → src/service/builtins/chat/channels/feishu/PROMPT.direct.ts.txt} +0 -0
- /package/src/{shared → service/builtins/chat/channels/feishu}/types/FeishuChannel.ts +0 -0
- /package/{bin/service/builtins/chat/channels/qq/PROMPT.direct.txt → src/service/builtins/chat/channels/qq/PROMPT.direct.ts.txt} +0 -0
- /package/src/{shared → service/builtins/chat/channels/qq}/types/QqGatewaySupport.ts +0 -0
- /package/src/{shared → service/builtins/chat}/types/ChatPlugin.ts +0 -0
- /package/src/{shared → service/builtins/chat}/types/ChatQueueWorker.ts +0 -0
- /package/src/{shared → service/builtins/chat}/types/ChatRuntime.ts +0 -0
- /package/{bin/service/builtins/contact/PROMPT.txt → src/service/builtins/contact/PROMPT.ts.txt} +0 -0
- /package/src/{shared → service/builtins/shell}/types/Shell.ts +0 -0
- /package/{bin/service/builtins/task/PROMPT.txt → src/service/builtins/task/PROMPT.ts.txt} +0 -0
- /package/{bin/session/composer/system/default/assets/core.prompt.txt → src/session/composer/system/default/assets/core.prompt.ts.txt} +0 -0
- /package/{bin/session/composer/system/default/assets/service.prompt.txt → src/session/composer/system/default/assets/service.prompt.ts.txt} +0 -0
- /package/{bin/session/composer/system/default/assets/task.prompt.txt → src/session/composer/system/default/assets/task.prompt.ts.txt} +0 -0
- /package/src/{types/session → session/types}/SessionHistoryMeta.ts +0 -0
- /package/src/{types/session → session/types}/SessionHistoryPaths.ts +0 -0
- /package/src/{types/session → session/types}/SessionLoop.ts +0 -0
- /package/src/{types/session → session/types}/SessionPrompts.ts +0 -0
- /package/src/{shared/utils → utils}/Id.ts +0 -0
- /package/src/{shared/utils → utils}/Time.ts +0 -0
- /package/src/{shared/utils → utils}/cli/Checker.ts +0 -0
- /package/src/{shared/utils → utils}/cli/PrettyStatus.ts +0 -0
- /package/src/{shared/utils → utils}/logger/Format.ts +0 -0
- /package/src/{shared → utils}/types/Json.ts +0 -0
- /package/src/{shared → utils}/types/Template.ts +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Downcity 配置类型定义。
|
|
3
|
+
*
|
|
4
|
+
* 关键点(中文)
|
|
5
|
+
* - 作为全局共享类型,不挂在 console 目录下。
|
|
6
|
+
* - 供 agent、services、control plane 宿主层多处复用,避免反向类型依赖。
|
|
7
|
+
*/
|
|
8
|
+
import type { LlmConfig } from "../../config/types/LlmConfig.js";
|
|
9
|
+
import type { ExecutionBindingConfig } from "../../config/types/ExecutionBinding.js";
|
|
10
|
+
import type { JsonObject } from "../../utils/types/Json.js";
|
|
11
|
+
import type { SandboxProjectConfig } from "../../sandbox/types/Sandbox.js";
|
|
12
|
+
export interface DowncityConfig {
|
|
13
|
+
$schema?: string;
|
|
14
|
+
name: string;
|
|
15
|
+
version: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Runtime startup configuration used by `downcity agent start`.
|
|
19
|
+
* CLI flags (if provided) take precedence over this config.
|
|
20
|
+
*/
|
|
21
|
+
start?: {
|
|
22
|
+
port?: number;
|
|
23
|
+
host?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* services 配置。
|
|
27
|
+
*
|
|
28
|
+
* 关键点(中文)
|
|
29
|
+
* - 所有服务相关配置统一收敛到 `services` 下,避免顶层散落字段。
|
|
30
|
+
* - 例如:`services.chat.channels`、`services.chat.queue`。
|
|
31
|
+
*/
|
|
32
|
+
services?: {
|
|
33
|
+
/**
|
|
34
|
+
* Chat service 配置。
|
|
35
|
+
*/
|
|
36
|
+
chat?: {
|
|
37
|
+
/**
|
|
38
|
+
* Chat 调度队列(按 chatKey 分 lane)。
|
|
39
|
+
*/
|
|
40
|
+
queue?: {
|
|
41
|
+
/**
|
|
42
|
+
* 全局最大并发(不同 chatKey 之间)。
|
|
43
|
+
* 默认:2
|
|
44
|
+
*/
|
|
45
|
+
maxConcurrency?: number;
|
|
46
|
+
/**
|
|
47
|
+
* 入站消息合并的防抖窗口(毫秒)。
|
|
48
|
+
*
|
|
49
|
+
* 关键点(中文)
|
|
50
|
+
* - 同一 chatKey 在该窗口内连续到达的多条消息,会在一次 run 前一起并入上下文。
|
|
51
|
+
* - 典型场景:用户先发一句话,再紧接着转发链接/卡片。
|
|
52
|
+
* - 设为 `0` 或负数可关闭该能力(立即执行首条消息)。
|
|
53
|
+
*
|
|
54
|
+
* 默认:600
|
|
55
|
+
*/
|
|
56
|
+
mergeDebounceMs?: number;
|
|
57
|
+
/**
|
|
58
|
+
* 入站消息合并的最长等待时间(毫秒)。
|
|
59
|
+
*
|
|
60
|
+
* 关键点(中文)
|
|
61
|
+
* - 即使用户持续发送新消息,也不会无限延期;达到该上限后会立刻启动 run。
|
|
62
|
+
* - 用于平衡“尽量合并上下文”与“响应时延可控”。
|
|
63
|
+
* - 当 `mergeDebounceMs <= 0` 时该字段不会生效。
|
|
64
|
+
*
|
|
65
|
+
* 默认:2000
|
|
66
|
+
*/
|
|
67
|
+
mergeMaxWaitMs?: number;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* 出站(egress)控制:用于限制工具发送、避免重复与无限循环刷屏。
|
|
71
|
+
*/
|
|
72
|
+
egress?: {
|
|
73
|
+
/**
|
|
74
|
+
* 单次 agent run 内,`chat_send` 允许调用的最大次数。
|
|
75
|
+
*/
|
|
76
|
+
chatSendMaxCallsPerRun?: number;
|
|
77
|
+
/**
|
|
78
|
+
* 是否启用 `chat_send` 幂等去重(基于 inbound messageId + 回复内容 hash)。
|
|
79
|
+
*/
|
|
80
|
+
chatSendIdempotency?: boolean;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* 消息平台 channel 配置。
|
|
84
|
+
*/
|
|
85
|
+
channels?: {
|
|
86
|
+
telegram?: {
|
|
87
|
+
enabled: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* 绑定的 channel account id(来源:平台全局 `~/.downcity/downcity.db`)。
|
|
90
|
+
*/
|
|
91
|
+
channelAccountId?: string;
|
|
92
|
+
};
|
|
93
|
+
feishu?: {
|
|
94
|
+
enabled: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* 绑定的 channel account id(来源:平台全局 `~/.downcity/downcity.db`)。
|
|
97
|
+
*/
|
|
98
|
+
channelAccountId?: string;
|
|
99
|
+
};
|
|
100
|
+
qq?: {
|
|
101
|
+
enabled: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* 绑定的 channel account id(来源:平台全局 `~/.downcity/downcity.db`)。
|
|
104
|
+
*/
|
|
105
|
+
channelAccountId?: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* plugins 配置。
|
|
112
|
+
*
|
|
113
|
+
* 关键点(中文)
|
|
114
|
+
* - 新插件体系的行为配置统一收敛到该字段。
|
|
115
|
+
* - plugin 私有配置(例如 `plugins.skill.paths`)也放在这里。
|
|
116
|
+
* - key 为 plugin 名称,value 为对应插件的结构化配置对象。
|
|
117
|
+
* - 当前阶段允许各 plugin 自定义字段,但必须保持 JSON 可序列化。
|
|
118
|
+
*/
|
|
119
|
+
plugins?: {
|
|
120
|
+
/**
|
|
121
|
+
* 插件配置对象映射。
|
|
122
|
+
*/
|
|
123
|
+
[pluginName: string]: JsonObject;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* 项目执行绑定配置。
|
|
127
|
+
*
|
|
128
|
+
* 关键点(中文)
|
|
129
|
+
* - 项目只有一种执行模式:`api`。
|
|
130
|
+
* - 绑定平台全局模型池中的模型 ID。
|
|
131
|
+
*/
|
|
132
|
+
execution?: ExecutionBindingConfig;
|
|
133
|
+
/**
|
|
134
|
+
* shell / CLI 执行 sandbox 配置。
|
|
135
|
+
*
|
|
136
|
+
* 关键点(中文)
|
|
137
|
+
* - 当前只作用于 shell service 这条命令执行链。
|
|
138
|
+
* - 这里不表达审批、用户授权与复杂策略系统,只表达最小边界。
|
|
139
|
+
*/
|
|
140
|
+
sandbox?: SandboxProjectConfig;
|
|
141
|
+
/**
|
|
142
|
+
* LLM 全量配置(通常来自平台全局层合并结果)。
|
|
143
|
+
*
|
|
144
|
+
* 关键点(中文)
|
|
145
|
+
* - 运行时会读取该字段创建真实模型实例。
|
|
146
|
+
* - 对于项目内 `downcity.json`,通常不需要显式写该字段。
|
|
147
|
+
*/
|
|
148
|
+
llm?: LlmConfig;
|
|
149
|
+
/**
|
|
150
|
+
* 上下文管理(工程向配置)。
|
|
151
|
+
*
|
|
152
|
+
* 说明
|
|
153
|
+
* - 对话消息以 UIMessage[] 为唯一事实源(`.downcity/session/<sessionId>/messages/messages.jsonl`)。
|
|
154
|
+
* - Agent 每次执行直接把 UIMessage[] 转成 ModelMessage[] 作为 messages 输入。
|
|
155
|
+
* - 超出上下文窗口时会自动 compact(更早段压缩为摘要 + 保留最近窗口)。
|
|
156
|
+
*/
|
|
157
|
+
context?: {
|
|
158
|
+
/**
|
|
159
|
+
* messages(唯一上下文消息来源)的 compact 策略。
|
|
160
|
+
*/
|
|
161
|
+
messages?: {
|
|
162
|
+
/**
|
|
163
|
+
* 历史兼容字段(保留)。
|
|
164
|
+
*
|
|
165
|
+
* 说明(中文)
|
|
166
|
+
* - 当前默认策略按 `compactRatio` 压缩前段消息。
|
|
167
|
+
* - 该字段仍会写入 compact 元信息,便于观测与旧配置兼容。
|
|
168
|
+
*
|
|
169
|
+
* 默认:30
|
|
170
|
+
*/
|
|
171
|
+
keepLastMessages?: number;
|
|
172
|
+
/**
|
|
173
|
+
* 输入预算(近似 token 数)。
|
|
174
|
+
*
|
|
175
|
+
* 说明(中文)
|
|
176
|
+
* - 这里是近似值,用于在调用 provider 前提前触发 compact
|
|
177
|
+
* - 实际超窗仍会被 provider 拒绝并进入 retry(更激进 compact)
|
|
178
|
+
*
|
|
179
|
+
* 默认:128000
|
|
180
|
+
*/
|
|
181
|
+
maxInputTokensApprox?: number;
|
|
182
|
+
/**
|
|
183
|
+
* compact 时是否归档被折叠的原始消息段(写入 messages/archive/)。
|
|
184
|
+
* 默认:true
|
|
185
|
+
*/
|
|
186
|
+
archiveOnCompact?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* 前段压缩比例(0-1)。
|
|
189
|
+
*
|
|
190
|
+
* 说明(中文)
|
|
191
|
+
* - 触发 compact 后,优先压缩最早一段消息。
|
|
192
|
+
* - `0.5` 代表优先压缩“最早 50% 的 UIMessage”。
|
|
193
|
+
* - 实际切分会做边界保护(至少保留 1 条最近消息)。
|
|
194
|
+
*
|
|
195
|
+
* 默认:0.5
|
|
196
|
+
*/
|
|
197
|
+
compactRatio?: number;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* 记忆管理配置。
|
|
201
|
+
*
|
|
202
|
+
* 设计目标
|
|
203
|
+
* - 默认开启,开箱即用(零配置)
|
|
204
|
+
* - 仅保留总开关,避免复杂配置负担
|
|
205
|
+
*/
|
|
206
|
+
memory?: {
|
|
207
|
+
/**
|
|
208
|
+
* 是否启用 memory service。
|
|
209
|
+
*/
|
|
210
|
+
enabled?: boolean;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=DowncityConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DowncityConfig.d.ts","sourceRoot":"","sources":["../../../src/config/types/DowncityConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,IAAI,CAAC,EAAE;YACL;;eAEG;YACH,KAAK,CAAC,EAAE;gBACN;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,CAAC;YAC9B;;;eAGG;YACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;YAE3B;;;;;;;;;eASG;YACH,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;QACF;;;;;;WAMG;QACH,MAAM,CAAC,EAAE;YACP;;eAEG;YACH,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB,CAAC;KACH,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DowncityConfig.js","sourceRoot":"","sources":["../../../src/config/types/DowncityConfig.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionBinding.d.ts","sourceRoot":"","sources":["../../../src/config/types/ExecutionBinding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IAEZ;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionBinding.js","sourceRoot":"","sources":["../../../src/config/types/ExecutionBinding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LlmConfig.d.ts","sourceRoot":"","sources":["../../../src/config/types/LlmConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,iBAAiB,GACjB,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,WAAW,GACX,KAAK,GACL,aAAa,GACb,YAAY,CAAC;AAEjB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAC7C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACvC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LlmConfig.js","sourceRoot":"","sources":["../../../src/config/types/LlmConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelBinding.d.ts","sourceRoot":"","sources":["../../../src/config/types/ModelBinding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelBinding.js","sourceRoot":"","sources":["../../../src/config/types/ModelBinding.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Start.d.ts","sourceRoot":"","sources":["../../../src/config/types/Start.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Start.js","sourceRoot":"","sources":["../../../src/config/types/Start.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|
package/bin/host/daemon/Api.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - service 等上层模块只依赖这些协议类型,不需要感知 city/daemon 的内部实现细节。
|
|
7
7
|
* - 该文件属于 `main/city/daemon/*` 的协议边界,而不是通用 HTTP 类型目录。
|
|
8
8
|
*/
|
|
9
|
-
import type { JsonValue } from "../../
|
|
9
|
+
import type { JsonValue } from "../../utils/types/Json.js";
|
|
10
10
|
/**
|
|
11
11
|
* Daemon 服务端点。
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Api.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/Api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Api.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/Api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - 地址解析优先级:CLI 参数 > 环境变量 > daemon meta > 默认值。
|
|
7
7
|
*/
|
|
8
8
|
import fs from "fs-extra";
|
|
9
|
-
import { formatCliBearerHeaderValue, resolveCliAuthToken, } from "../../http/auth/CliAuthStateStore.js";
|
|
9
|
+
import { formatCliBearerHeaderValue, resolveCliAuthToken, } from "../../host/http/auth/CliAuthStateStore.js";
|
|
10
10
|
import { getDaemonMetaPath } from "../../host/daemon/Manager.js";
|
|
11
11
|
/**
|
|
12
12
|
* 解析端口值。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../src/host/daemon/Client.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAM1B,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,
|
|
1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OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,KAAK,EAAE,eAAe;aACvB,CAAC;QACJ,CAAC;QAED,OAAO;YACL,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,IAAI,EAAE,IAAS;SAChB,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,kBAAkB,GAAG,KAAK,MAAM,CAAC,KAAK,CAAC,EAAE;SACjD,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - `downcity.daemon.log`:stdout/stderr 合并日志
|
|
12
12
|
* - `downcity.daemon.json`:元数据(启动时间、参数等)
|
|
13
13
|
*/
|
|
14
|
-
import { type DaemonMeta, type DaemonStaleReason } from "../../
|
|
14
|
+
import { type DaemonMeta, type DaemonStaleReason } from "../../host/daemon/types/Daemon.js";
|
|
15
15
|
/**
|
|
16
16
|
* 计算 daemon pid 文件路径。
|
|
17
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Manager.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/Manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACvB,MAAM,
|
|
1
|
+
{"version":3,"file":"Manager.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/Manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAavC;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,KAAG,MACe,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,KAAG,MACe,CAAC;AAEvE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
|
import path from "path";
|
|
16
16
|
import { spawn } from "child_process";
|
|
17
17
|
import { getDowncityDebugDirPath } from "../../config/Paths.js";
|
|
18
|
-
import { DAEMON_LOG_FILENAME, DAEMON_META_FILENAME, DAEMON_PID_FILENAME, } from "../../
|
|
18
|
+
import { DAEMON_LOG_FILENAME, DAEMON_META_FILENAME, DAEMON_PID_FILENAME, } from "../../host/daemon/types/Daemon.js";
|
|
19
19
|
import { markManagedAgentStopped, upsertManagedAgentEntry, } from "../../host/runtime/CityRegistry.js";
|
|
20
20
|
import { signalDetachedProcess } from "../../host/runtime/ProcessSweep.js";
|
|
21
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Manager.js","sourceRoot":"","sources":["../../../src/host/daemon/Manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GAGpB,MAAM,
|
|
1
|
+
{"version":3,"file":"Manager.js","sourceRoot":"","sources":["../../../src/host/daemon/Manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GAGpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MA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必要文件(PROFILE.md / downcity.json)。
|
|
6
6
|
* - 统一确保 `.downcity/*` 目录结构存在,避免调用方重复拼装目录逻辑。
|
|
7
7
|
*/
|
|
8
|
-
import type { AgentPlatformRuntime } from "../../
|
|
8
|
+
import type { AgentPlatformRuntime } from "../../host/types/AgentHost.js";
|
|
9
9
|
/**
|
|
10
10
|
* runtime 启动前准备项目结构。
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectSetup.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/ProjectSetup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ProjectSetup.d.ts","sourceRoot":"","sources":["../../../src/host/daemon/ProjectSetup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AA0DtE;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAGnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,GAChD,IAAI,CAkCN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Daemon.d.ts","sourceRoot":"","sources":["../../../../src/host/daemon/types/Daemon.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,sBAAsB;AACtB,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAClD,oBAAoB;AACpB,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,qBAAqB;AACrB,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6BAA6B;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc;IACd,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EACA,mBAAmB,GACnB,cAAc,GACd,cAAc,GACd,mBAAmB,GACnB,uBAAuB,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Daemon.js","sourceRoot":"","sources":["../../../../src/host/daemon/types/Daemon.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,sBAAsB;AACtB,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAClD,oBAAoB;AACpB,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,qBAAqB;AACrB,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../../src/host/http/Server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,OAAO,IAAI,MAAM,WAAW,CAAC;AAiB7B;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,iBAAiB;IACjB,GAAG,EAAE,IAAI,CAAC;IACV,yBAAyB;IACzB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;IACpB,cAAc;IACd,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CA6BtC;AAED;;GAEG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,cAAc,CAAC,CAyBzB"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent HTTP Server 装配模块。
|
|
3
|
+
*
|
|
4
|
+
* 职责说明:
|
|
5
|
+
* 1. 创建主 Hono 应用并挂载各路由模块。
|
|
6
|
+
* 2. 管理 Node HTTP Server 的启动与停止。
|
|
7
|
+
* 3. 保持 server 层只做协议装配,不混入具体路由实现。
|
|
8
|
+
*/
|
|
9
|
+
import { Hono } from "hono";
|
|
10
|
+
import { cors } from "hono/cors";
|
|
11
|
+
import { logger } from "hono/logger";
|
|
12
|
+
import http from "node:http";
|
|
13
|
+
import { logger as serverLogger } from "../../utils/logger/Logger.js";
|
|
14
|
+
import { executeRouter } from "../../host/http/execute/execute.js";
|
|
15
|
+
import { healthRouter } from "../../host/http/health/health.js";
|
|
16
|
+
import { ensureServiceActionRoutesRegistered, servicesRouter, } from "../../host/http/services/services.js";
|
|
17
|
+
import { pluginsRouter } from "../../host/http/plugins/plugins.js";
|
|
18
|
+
import { staticRouter } from "../../host/http/static/static.js";
|
|
19
|
+
import { controlRouter } from "../../host/http/control/ControlRouter.js";
|
|
20
|
+
import { registerBuiltinPluginHttpRoutes, } from "../../plugin/core/HttpRoutes.js";
|
|
21
|
+
import { getAgentContext } from "../../agent/AgentRuntime.js";
|
|
22
|
+
/**
|
|
23
|
+
* 创建主 Hono 应用。
|
|
24
|
+
*/
|
|
25
|
+
export function createServerApp() {
|
|
26
|
+
const app = new Hono();
|
|
27
|
+
app.use("*", logger());
|
|
28
|
+
app.use("*", cors({
|
|
29
|
+
origin: "*",
|
|
30
|
+
allowMethods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
|
31
|
+
allowHeaders: ["Content-Type", "Authorization"],
|
|
32
|
+
}));
|
|
33
|
+
// 关键点(中文):service action 路由在 runtime ready 后再注册,避免命令级 import 副作用。
|
|
34
|
+
ensureServiceActionRoutesRegistered();
|
|
35
|
+
// 关键点(中文):按路由域挂载,server 模块只保留装配职责。
|
|
36
|
+
app.route("/", staticRouter);
|
|
37
|
+
app.route("/", healthRouter);
|
|
38
|
+
app.route("/", servicesRouter);
|
|
39
|
+
app.route("/", pluginsRouter);
|
|
40
|
+
app.route("/", executeRouter);
|
|
41
|
+
app.route("/", controlRouter);
|
|
42
|
+
registerBuiltinPluginHttpRoutes({
|
|
43
|
+
app,
|
|
44
|
+
getContext: getAgentContext,
|
|
45
|
+
});
|
|
46
|
+
return app;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 启动主 HTTP 服务。
|
|
50
|
+
*/
|
|
51
|
+
export async function startServer(options) {
|
|
52
|
+
const app = createServerApp();
|
|
53
|
+
const server = createNodeServer(app, options);
|
|
54
|
+
await new Promise((resolve) => {
|
|
55
|
+
server.listen(options.port, options.host, () => {
|
|
56
|
+
serverLogger.info(`🚀 Agent Server started: http://${options.host}:${options.port}`);
|
|
57
|
+
serverLogger.info("Available APIs:");
|
|
58
|
+
resolve();
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
app,
|
|
63
|
+
server,
|
|
64
|
+
async stop() {
|
|
65
|
+
await serverLogger.saveAllLogs();
|
|
66
|
+
await new Promise((resolve) => {
|
|
67
|
+
server.close(() => resolve());
|
|
68
|
+
});
|
|
69
|
+
serverLogger.info("Agent Server stopped");
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* 创建 Node HTTP Server 适配层。
|
|
75
|
+
*/
|
|
76
|
+
function createNodeServer(app, options) {
|
|
77
|
+
return http.createServer(async (req, res) => {
|
|
78
|
+
try {
|
|
79
|
+
const url = new URL(req.url || "/", `http://${options.host}:${options.port}`);
|
|
80
|
+
const method = req.method || "GET";
|
|
81
|
+
const bodyBuffer = await readRequestBody(req);
|
|
82
|
+
const request = new Request(url.toString(), {
|
|
83
|
+
method,
|
|
84
|
+
headers: new Headers(req.headers),
|
|
85
|
+
body: bodyBuffer.length > 0 ? bodyBuffer : undefined,
|
|
86
|
+
});
|
|
87
|
+
const response = await app.fetch(request);
|
|
88
|
+
res.statusCode = response.status;
|
|
89
|
+
for (const [key, value] of response.headers.entries()) {
|
|
90
|
+
res.setHeader(key, value);
|
|
91
|
+
}
|
|
92
|
+
const body = await response.text();
|
|
93
|
+
res.end(body);
|
|
94
|
+
}
|
|
95
|
+
catch {
|
|
96
|
+
res.statusCode = 500;
|
|
97
|
+
res.end("Internal Server Error");
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* 读取原生请求体。
|
|
103
|
+
*/
|
|
104
|
+
async function readRequestBody(req) {
|
|
105
|
+
return new Promise((resolve, reject) => {
|
|
106
|
+
const chunks = [];
|
|
107
|
+
req.on("data", (chunk) => chunks.push(chunk));
|
|
108
|
+
req.on("end", () => resolve(Buffer.concat(chunks)));
|
|
109
|
+
req.on("error", reject);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=Server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Server.js","sourceRoot":"","sources":["../../../src/host/http/Server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,IAAI,YAAY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AC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9C,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACpD,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthEnv.d.ts","sourceRoot":"","sources":["../../../../src/host/http/auth/AuthEnv.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AAEtD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAMlE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,GAAE;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,GAAG,SAAS,CAU1B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,CAGzE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAG1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthEnv.js","sourceRoot":"","sources":["../../../../src/host/http/auth/AuthEnv.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC;AAEtD;;;;;;GAMG;AACH,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ot":"","sources":["../../../../src/host/http/auth/AuthError.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAK5C;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAE9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthError.js","sourceRoot":"","sources":["../../../../src/host/http/auth/AuthError.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,KAAK;IAClC;;OAEG;IACM,MAAM,CAAS;IAExB,YAAY,OAAe,EAAE,MAAc;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF;AAED;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,KAAc;IACxC,OAAO,KAAK,YAAY,SAAS,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CliAuthStateStore.d.ts","sourceRoot":"","sources":["../../../../src/host/http/auth/CliAuthStateStore.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,GAAE;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,GAAG,SAAS,CAO1B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CliAuthStateStore.js","sourceRoot":"","sources":["../../../../src/host/http/auth/CliAuthStateStore.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAYtB;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,SAIhC,EAAE;IACJ,OAAO,sBAAsB,CAAC;QAC5B,aAAa,EAAE,MAAM,CAAC,aAAa;QACnC,GAAG,EAAE;YACH,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;SAC/D;KACF,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,UAA8B;IACvE,OAAO,uBAAuB,CAAC,UAAU,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordHasher.d.ts","sourceRoot":"","sources":["../../../../src/host/http/auth/PasswordHasher.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAK1D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAYxF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordHasher.js","sourceRoot":"","sources":["../../../../src/host/http/auth/PasswordHasher.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEvE;;GAEG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AAC3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenService.d.ts","sourceRoot":"","sources":["../../../../src/host/http/auth/TokenService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAOjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenService.js","sourceRoot":"","sources":["../../../../src/host/http/auth/TokenService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEtD;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO,MAAM,WAAW,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,UAAkB;IAChD,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACrF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,WAA+B;IAChE,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAChD,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9C,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC7B,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC9B,OAAO,KAAK,IAAI,IAAI,CAAC;AACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthPermission.d.ts","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthPermission.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,sTAqBvB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAqB1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,0CAA2C,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,iBAAiB,EAAE,CAAC;CAClC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,yBAAyB,EA4BzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthPermission.js","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthPermission.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,YAAY;IACZ,aAAa;IACb,eAAe;IACf,cAAc;IACd,eAAe;IACf,WAAW;IACX,UAAU;IACV,YAAY;IACZ,aAAa;IACb,UAAU;IACV,WAAW;IAC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,WAAW;YACX,YAAY;YACZ,UAAU;YACV,cAAc;YACd,WAAW;YACX,cAAc;YACd,aAAa;SACd;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthRoute.d.ts","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthRoute.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthRoute.js","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthRoute.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthToken.d.ts","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthToken.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthToken.js","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthToken.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthTypes.d.ts","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,EAAE,iBAAiB,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,M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EAAE,cAAc,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,iBAAiB,EAAE,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthTypes.js","sourceRoot":"","sources":["../../../../../src/host/http/auth/types/AuthTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|