@downcity/agent 1.1.7 → 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.d.ts.map +1 -1
- package/bin/agent/AgentContext.js +2 -1
- package/bin/agent/AgentContext.js.map +1 -1
- package/bin/agent/AgentContextTypes.d.ts +11 -7
- package/bin/agent/AgentContextTypes.d.ts.map +1 -1
- package/bin/agent/AgentRuntime.d.ts +6 -1
- package/bin/agent/AgentRuntime.d.ts.map +1 -1
- package/bin/agent/AgentRuntime.js +24 -5
- package/bin/agent/AgentRuntime.js.map +1 -1
- package/bin/agent/AgentRuntimeState.d.ts +1 -1
- package/bin/agent/AgentRuntimeState.d.ts.map +1 -1
- package/bin/agent/AgentRuntimeState.js +58 -2
- package/bin/agent/AgentRuntimeState.js.map +1 -1
- package/bin/agent/AgentRuntimeTypes.d.ts +7 -3
- package/bin/agent/AgentRuntimeTypes.d.ts.map +1 -1
- package/bin/agent/project/AgentInitializer.d.ts +4 -3
- package/bin/agent/project/AgentInitializer.d.ts.map +1 -1
- package/bin/agent/project/AgentInitializer.js +79 -48
- 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/Config.d.ts.map +1 -1
- package/bin/config/Config.js +2 -21
- package/bin/config/Config.js.map +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/Paths.d.ts +1 -5
- package/bin/config/Paths.d.ts.map +1 -1
- package/bin/config/Paths.js +2 -8
- package/bin/config/Paths.js.map +1 -1
- 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 +2 -1
- package/bin/host/daemon/ProjectSetup.d.ts.map +1 -1
- package/bin/host/daemon/ProjectSetup.js +14 -21
- package/bin/host/daemon/ProjectSetup.js.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 +36 -0
- package/bin/host/http/auth/AuthEnv.d.ts.map +1 -0
- package/bin/host/http/auth/AuthEnv.js +54 -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 +29 -0
- package/bin/host/http/auth/CliAuthStateStore.d.ts.map +1 -0
- package/bin/host/http/auth/CliAuthStateStore.js +26 -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 +2 -3
- package/bin/host/runtime/AgentHostRuntime.js.map +1 -1
- package/bin/host/runtime/CityPaths.d.ts +0 -3
- package/bin/host/runtime/CityPaths.d.ts.map +1 -1
- package/bin/host/runtime/CityPaths.js +0 -3
- package/bin/host/runtime/CityPaths.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 +2 -1
- package/bin/host/sdk/Agent.d.ts.map +1 -1
- package/bin/host/sdk/Agent.js +28 -6
- package/bin/host/sdk/Agent.js.map +1 -1
- package/bin/host/sdk/AgentSdkTypes.d.ts +12 -3
- 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 +54 -58
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +52 -56
- package/bin/index.js.map +1 -1
- package/bin/model/CreateModel.d.ts +3 -3
- package/bin/model/CreateModel.d.ts.map +1 -1
- package/bin/model/CreateModel.js +15 -14
- 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 +178 -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 +20 -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 +4 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +1 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js +64 -91
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js.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/ChatChannelActions.js +11 -18
- package/bin/service/builtins/chat/runtime/ChatChannelActions.js.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 +3 -3
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -1
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js +9 -17
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js.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 +3 -7
- package/bin/service/builtins/memory/Action.d.ts.map +1 -1
- package/bin/service/builtins/memory/Action.js +4 -42
- package/bin/service/builtins/memory/Action.js.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/MemoryService.js +2 -32
- package/bin/service/builtins/memory/MemoryService.js.map +1 -1
- package/bin/service/builtins/memory/runtime/Search.d.ts +7 -3
- package/bin/service/builtins/memory/runtime/Search.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Search.js +220 -16
- package/bin/service/builtins/memory/runtime/Search.js.map +1 -1
- package/bin/service/builtins/memory/runtime/Store.d.ts +9 -50
- package/bin/service/builtins/memory/runtime/Store.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Store.js +10 -130
- package/bin/service/builtins/memory/runtime/Store.js.map +1 -1
- package/bin/service/builtins/memory/runtime/Writer.d.ts.map +1 -1
- package/bin/service/builtins/memory/runtime/Writer.js +1 -2
- package/bin/service/builtins/memory/runtime/Writer.js.map +1 -1
- package/bin/service/builtins/memory/types/Memory.d.ts +4 -58
- 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 +23 -26
- package/bin/service/schedule/Store.d.ts.map +1 -1
- package/bin/service/schedule/Store.js +173 -155
- 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 +6 -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 -7
- package/scripts/agent-compiler.mjs +253 -0
- package/src/agent/AgentContext.ts +4 -3
- package/src/agent/AgentContextTypes.ts +12 -7
- package/src/agent/AgentRuntime.ts +34 -5
- package/src/agent/AgentRuntimeState.ts +68 -4
- package/src/agent/AgentRuntimeTypes.ts +8 -3
- package/src/agent/project/AgentInitializer.ts +93 -48
- package/src/agent/project/ProjectExecutionBinding.ts +2 -2
- package/src/agent/project/types/AgentProject.ts +92 -0
- package/src/config/Config.ts +4 -19
- package/src/config/DowncityDefault.ts +38 -0
- package/src/config/DowncitySchema.ts +377 -0
- package/src/config/Paths.ts +2 -9
- 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 +19 -21
- package/src/host/http/Server.ts +157 -0
- package/src/host/http/auth/AuthEnv.ts +62 -0
- package/src/host/http/auth/CliAuthStateStore.ts +46 -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 -5
- package/src/host/runtime/CityPaths.ts +0 -3
- package/src/host/runtime/CityRegistry.ts +1 -1
- package/src/host/sdk/Agent.ts +33 -9
- package/src/host/sdk/AgentSdkTypes.ts +13 -3
- 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 +54 -64
- package/src/model/CreateModel.ts +19 -17
- 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 +43 -63
- 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 +14 -20
- package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +3 -3
- package/src/service/builtins/chat/runtime/ChatChannelCore.ts +11 -16
- 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 +8 -49
- package/src/service/builtins/memory/MemoryService.ts +3 -35
- package/src/service/builtins/memory/runtime/Search.ts +256 -16
- package/src/service/builtins/memory/runtime/Store.ts +13 -185
- package/src/service/builtins/memory/runtime/Writer.ts +1 -2
- package/src/service/builtins/memory/types/Memory.ts +3 -60
- 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 +218 -178
- 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 +11 -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 -122
- package/bin/http/Server.js.map +0 -1
- package/bin/http/auth/AuthEnv.d.ts +0 -45
- package/bin/http/auth/AuthEnv.d.ts.map +0 -1
- package/bin/http/auth/AuthEnv.js +0 -63
- 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/AuthMiddleware.d.ts +0 -36
- package/bin/http/auth/AuthMiddleware.d.ts.map +0 -1
- package/bin/http/auth/AuthMiddleware.js +0 -37
- package/bin/http/auth/AuthMiddleware.js.map +0 -1
- package/bin/http/auth/AuthRoutes.d.ts +0 -17
- package/bin/http/auth/AuthRoutes.d.ts.map +0 -1
- package/bin/http/auth/AuthRoutes.js +0 -78
- package/bin/http/auth/AuthRoutes.js.map +0 -1
- package/bin/http/auth/AuthService.d.ts +0 -119
- package/bin/http/auth/AuthService.d.ts.map +0 -1
- package/bin/http/auth/AuthService.js +0 -307
- package/bin/http/auth/AuthService.js.map +0 -1
- package/bin/http/auth/AuthStore.d.ts +0 -165
- package/bin/http/auth/AuthStore.d.ts.map +0 -1
- package/bin/http/auth/AuthStore.js +0 -442
- package/bin/http/auth/AuthStore.js.map +0 -1
- package/bin/http/auth/CliAuthStateStore.d.ts +0 -33
- package/bin/http/auth/CliAuthStateStore.d.ts.map +0 -1
- package/bin/http/auth/CliAuthStateStore.js +0 -30
- 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/RoutePolicy.d.ts +0 -30
- package/bin/http/auth/RoutePolicy.d.ts.map +0 -1
- package/bin/http/auth/RoutePolicy.js +0 -229
- package/bin/http/auth/RoutePolicy.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 -92
- 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 -15
- package/bin/plugin/Activation.d.ts.map +0 -1
- package/bin/plugin/Activation.js +0 -20
- package/bin/plugin/Activation.js.map +0 -1
- package/bin/plugin/Catalog.d.ts +0 -42
- package/bin/plugin/Catalog.d.ts.map +0 -1
- package/bin/plugin/Catalog.js +0 -92
- package/bin/plugin/Catalog.js.map +0 -1
- package/bin/plugin/HookRegistry.d.ts +0 -68
- package/bin/plugin/HookRegistry.d.ts.map +0 -1
- package/bin/plugin/HookRegistry.js.map +0 -1
- package/bin/plugin/HttpRoutes.d.ts +0 -22
- package/bin/plugin/HttpRoutes.d.ts.map +0 -1
- package/bin/plugin/HttpRoutes.js +0 -37
- package/bin/plugin/HttpRoutes.js.map +0 -1
- package/bin/plugin/Lifecycle.d.ts +0 -33
- package/bin/plugin/Lifecycle.d.ts.map +0 -1
- package/bin/plugin/Lifecycle.js +0 -102
- package/bin/plugin/Lifecycle.js.map +0 -1
- package/bin/plugin/LocalExecution.d.ts +0 -32
- package/bin/plugin/LocalExecution.d.ts.map +0 -1
- package/bin/plugin/LocalExecution.js +0 -127
- package/bin/plugin/LocalExecution.js.map +0 -1
- package/bin/plugin/PluginCommand.d.ts.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 -586
- package/bin/plugins/asr/Plugin.js.map +0 -1
- package/bin/plugins/auth/Plugin.d.ts +0 -14
- package/bin/plugins/auth/Plugin.d.ts.map +0 -1
- package/bin/plugins/auth/Plugin.js +0 -180
- package/bin/plugins/auth/Plugin.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts +0 -41
- package/bin/plugins/auth/runtime/AuthorizationConfig.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationConfig.js +0 -185
- package/bin/plugins/auth/runtime/AuthorizationConfig.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts +0 -28
- package/bin/plugins/auth/runtime/AuthorizationPolicy.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js +0 -122
- package/bin/plugins/auth/runtime/AuthorizationPolicy.js.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts +0 -29
- package/bin/plugins/auth/runtime/AuthorizationStore.d.ts.map +0 -1
- package/bin/plugins/auth/runtime/AuthorizationStore.js +0 -179
- package/bin/plugins/auth/runtime/AuthorizationStore.js.map +0 -1
- package/bin/plugins/skill/Action.d.ts +0 -34
- package/bin/plugins/skill/Action.d.ts.map +0 -1
- package/bin/plugins/skill/Action.js +0 -122
- package/bin/plugins/skill/Action.js.map +0 -1
- package/bin/plugins/skill/Command.d.ts.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 -524
- package/bin/plugins/tts/Plugin.js.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.d.ts +0 -21
- package/bin/plugins/tts/runtime/Catalog.d.ts.map +0 -1
- package/bin/plugins/tts/runtime/Catalog.js.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 -482
- package/bin/plugins/web/Plugin.js.map +0 -1
- package/bin/plugins/web/runtime/Config.d.ts +0 -21
- package/bin/plugins/web/runtime/Config.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Config.js +0 -79
- package/bin/plugins/web/runtime/Config.js.map +0 -1
- package/bin/plugins/web/runtime/Source.d.ts +0 -29
- package/bin/plugins/web/runtime/Source.d.ts.map +0 -1
- package/bin/plugins/web/runtime/Source.js +0 -215
- package/bin/plugins/web/runtime/Source.js.map +0 -1
- package/bin/plugins/workboard/Plugin.d.ts +0 -13
- package/bin/plugins/workboard/Plugin.d.ts.map +0 -1
- package/bin/plugins/workboard/Plugin.js +0 -71
- package/bin/plugins/workboard/Plugin.js.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.d.ts +0 -14
- package/bin/plugins/workboard/runtime/Collector.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Collector.js +0 -62
- package/bin/plugins/workboard/runtime/Collector.js.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.d.ts +0 -61
- package/bin/plugins/workboard/runtime/Normalizer.d.ts.map +0 -1
- package/bin/plugins/workboard/runtime/Normalizer.js.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/service/builtins/memory/runtime/Indexer.d.ts +0 -71
- package/bin/service/builtins/memory/runtime/Indexer.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/Indexer.js +0 -345
- package/bin/service/builtins/memory/runtime/Indexer.js.map +0 -1
- package/bin/service/schedule/Schema.d.ts +0 -171
- package/bin/service/schedule/Schema.d.ts.map +0 -1
- package/bin/service/schedule/Schema.js +0 -26
- package/bin/service/schedule/Schema.js.map +0 -1
- package/bin/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 -72
- 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 -693
- 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/shared/utils/store/StoreChannelAccountRepository.d.ts +0 -34
- package/bin/shared/utils/store/StoreChannelAccountRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreChannelAccountRepository.js +0 -198
- package/bin/shared/utils/store/StoreChannelAccountRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreEnvRepository.d.ts +0 -98
- package/bin/shared/utils/store/StoreEnvRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreEnvRepository.js +0 -334
- package/bin/shared/utils/store/StoreEnvRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.d.ts +0 -61
- package/bin/shared/utils/store/StoreModelRepository.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreModelRepository.js +0 -278
- package/bin/shared/utils/store/StoreModelRepository.js.map +0 -1
- package/bin/shared/utils/store/StoreSchema.d.ts +0 -13
- package/bin/shared/utils/store/StoreSchema.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSchema.js +0 -319
- package/bin/shared/utils/store/StoreSchema.js.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.d.ts +0 -33
- package/bin/shared/utils/store/StoreSecureSettings.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreSecureSettings.js +0 -91
- package/bin/shared/utils/store/StoreSecureSettings.js.map +0 -1
- package/bin/shared/utils/store/StoreShared.d.ts +0 -44
- package/bin/shared/utils/store/StoreShared.d.ts.map +0 -1
- package/bin/shared/utils/store/StoreShared.js +0 -40
- package/bin/shared/utils/store/StoreShared.js.map +0 -1
- package/bin/shared/utils/store/crypto.d.ts +0 -24
- package/bin/shared/utils/store/crypto.d.ts.map +0 -1
- package/bin/shared/utils/store/crypto.js +0 -101
- package/bin/shared/utils/store/crypto.js.map +0 -1
- package/bin/shared/utils/store/index.d.ts +0 -230
- package/bin/shared/utils/store/index.d.ts.map +0 -1
- package/bin/shared/utils/store/index.js +0 -360
- package/bin/shared/utils/store/index.js.map +0 -1
- package/bin/shared/utils/store/schema.d.ts +0 -690
- package/bin/shared/utils/store/schema.d.ts.map +0 -1
- package/bin/shared/utils/store/schema.js +0 -81
- package/bin/shared/utils/store/schema.js.map +0 -1
- package/bin/types/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 -170
- package/src/http/auth/AuthEnv.ts +0 -71
- package/src/http/auth/AuthMiddleware.ts +0 -61
- package/src/http/auth/AuthRoutes.ts +0 -100
- package/src/http/auth/AuthService.ts +0 -367
- package/src/http/auth/AuthStore.ts +0 -572
- package/src/http/auth/CliAuthStateStore.ts +0 -50
- package/src/http/auth/RoutePolicy.ts +0 -255
- 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 -107
- 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 -22
- package/src/plugin/Catalog.ts +0 -118
- package/src/plugin/HookRegistry.ts +0 -249
- package/src/plugin/HttpRoutes.ts +0 -50
- package/src/plugin/Lifecycle.ts +0 -116
- package/src/plugin/LocalExecution.ts +0 -157
- package/src/plugin/PluginCommand.ts +0 -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 -640
- package/src/plugins/auth/Plugin.ts +0 -208
- package/src/plugins/auth/runtime/AuthorizationConfig.ts +0 -255
- package/src/plugins/auth/runtime/AuthorizationPolicy.ts +0 -165
- package/src/plugins/auth/runtime/AuthorizationStore.ts +0 -218
- package/src/plugins/skill/Action.ts +0 -159
- package/src/plugins/skill/Command.ts +0 -98
- package/src/plugins/skill/Config.ts +0 -51
- package/src/plugins/skill/PROMPT.txt +0 -10
- package/src/plugins/skill/Plugin.ts +0 -355
- package/src/plugins/skill/runtime/Discovery.ts +0 -141
- package/src/plugins/skill/runtime/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 -554
- package/src/plugins/tts/runtime/Catalog.ts +0 -97
- package/src/plugins/tts/runtime/DependencyInstaller.ts +0 -436
- package/src/plugins/tts/runtime/Installer.ts +0 -297
- package/src/plugins/tts/runtime/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 -516
- package/src/plugins/web/runtime/Config.ts +0 -105
- package/src/plugins/web/runtime/Source.ts +0 -263
- package/src/plugins/workboard/Plugin.ts +0 -81
- package/src/plugins/workboard/runtime/Collector.ts +0 -78
- package/src/plugins/workboard/runtime/Normalizer.ts +0 -213
- package/src/plugins/workboard/runtime/Store.ts +0 -110
- package/src/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/memory/runtime/Indexer.ts +0 -466
- package/src/service/builtins/task/PROMPT.txt +0 -237
- package/src/service/schedule/Schema.ts +0 -34
- 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 -74
- 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 -743
- 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/shared/utils/store/StoreChannelAccountRepository.ts +0 -269
- package/src/shared/utils/store/StoreEnvRepository.ts +0 -452
- package/src/shared/utils/store/StoreModelRepository.ts +0 -324
- package/src/shared/utils/store/StoreSchema.ts +0 -344
- package/src/shared/utils/store/StoreSecureSettings.ts +0 -126
- package/src/shared/utils/store/StoreShared.ts +0 -67
- package/src/shared/utils/store/crypto.ts +0 -112
- package/src/shared/utils/store/index.ts +0 -497
- package/src/shared/utils/store/schema.ts +0 -103
- 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/AuthError.d.ts +0 -0
- /package/bin/{http → host/http}/auth/AuthError.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}/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/{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/AuthError.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseService.d.ts","sourceRoot":"","sources":["../../../src/service/builtins/BaseService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"BaseService.d.ts","sourceRoot":"","sources":["../../../src/service/builtins/BaseService.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E;;;;;;GAMG;AACH,8BAAsB,WAAY,YAAW,OAAO;IAClD;;;;;;OAMG;IACH,SAAgB,kBAAkB,EAAE,kBAAkB,CAIpD;IAEF;;;;;;OAMG;IACH,SAAS,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;gBAEzB,KAAK,GAAE,YAAY,GAAG,IAAW;IAI7C;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IAE1C;;OAEG;IACH,MAAM,CAAC,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAExD;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI;IAK3C;;;;;;OAMG;IACH,SAAS,CAAC,YAAY,IAAI,YAAY;CAMvC"}
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { AgentRuntime } from "../../../agent/AgentRuntimeTypes.js";
|
|
11
11
|
import { BaseService } from "../../../service/builtins/BaseService.js";
|
|
12
|
-
import type { ServiceActions } from "../../../
|
|
12
|
+
import type { ServiceActions } from "../../../service/types/Service.js";
|
|
13
13
|
import type { AgentContext } from "../../../agent/AgentContextTypes.js";
|
|
14
|
-
import type { ChatChannelState } from "../../../
|
|
15
|
-
import type { StoredChannelAccount } from "../../../
|
|
16
|
-
import type { ChatQueueWorkerConfig } from "../../../
|
|
14
|
+
import type { ChatChannelState } from "../../../service/builtins/chat/types/ChatRuntime.js";
|
|
15
|
+
import type { StoredChannelAccount } from "../../../host/types/Store.js";
|
|
16
|
+
import type { ChatQueueWorkerConfig } from "../../../service/builtins/chat/types/ChatQueueWorker.js";
|
|
17
17
|
import type { ChatServiceOptions } from "../../../service/builtins/chat/ChatServiceTypes.js";
|
|
18
18
|
import type { ChatChannelName } from "../../../service/builtins/chat/types/ChannelStatus.js";
|
|
19
19
|
import { ChatQueueWorker } from "./runtime/ChatQueueWorker.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatService.d.ts","sourceRoot":"","sources":["../../../../src/service/builtins/chat/ChatService.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatService.d.ts","sourceRoot":"","sources":["../../../../src/service/builtins/chat/ChatService.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,KAAK,EAEV,kBAAkB,EAGnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAOtF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,IAAI,UAAU;IAEvB;;OAEG;IACH,SAAgB,YAAY,EAAE,gBAAgB,CAA4B;IAE1E;;;;;;OAMG;IACI,WAAW,EAAE,eAAe,GAAG,IAAI,CAAQ;IAElD;;;;;;OAMG;IACH,SAAgB,UAAU,iBAAwB;IAElD;;OAEG;IACH,SAAgB,OAAO,EAAE,kBAAkB,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,MAAM,GAAU,SAAS,YAAY,KAAG,OAAO,CAAC,MAAM,CAAC,CAE9D;IAEF;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IAEjC;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;OAEG;IACH,OAAO,CAAC,eAAe;gBAOX,cAAc,CAAC,EAAE,kBAAkB,GAAG,YAAY,GAAG,IAAI;IAoBrE;;OAEG;IACH,oBAAoB,CAClB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS;IAI7C;;OAEG;IACH,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO;IAQ1E;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,eAAe,GACvB,MAAM;IAUT;;OAEG;IACH,qBAAqB,CACnB,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,eAAe,GACvB,oBAAoB,GAAG,IAAI;IAe9B,OAAO,CAAC,yBAAyB;IAQjC,OAAO,CAAC,2BAA2B;CAqDpC"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* - 若未显式注入,则 ChatService 仍可回退到现有 `downcity.json + PlatformStore` 读取路径。
|
|
8
8
|
*/
|
|
9
9
|
import type { AgentContext } from "../../../agent/AgentContextTypes.js";
|
|
10
|
-
import type { ChatQueueWorkerConfig } from "../../../
|
|
11
|
-
import type { StoredChannelAccount } from "../../../
|
|
10
|
+
import type { ChatQueueWorkerConfig } from "../../../service/builtins/chat/types/ChatQueueWorker.js";
|
|
11
|
+
import type { StoredChannelAccount } from "../../../host/types/Store.js";
|
|
12
12
|
import type { ChatChannelName } from "../../../service/builtins/chat/types/ChannelStatus.js";
|
|
13
13
|
/**
|
|
14
14
|
* Telegram 显式渠道配置。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatServiceTypes.d.ts","sourceRoot":"","sources":["../../../../src/service/builtins/chat/ChatServiceTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChatServiceTypes.d.ts","sourceRoot":"","sources":["../../../../src/service/builtins/chat/ChatServiceTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEtF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;I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|
+
*/
|
|
5
|
+
declare const TEXT_MODULE_CONTENT = "# Chat Service \u4F7F\u7528\u8BF4\u660E\n\n## \u7528\u6237\u53EF\u89C1\u56DE\u590D\u89C4\u5219\n\n- \u5F53\u524D\u6A21\u5F0F\u4E0B\uFF0C\u76F4\u63A5\u8F93\u51FA\uFF0C\u5373\u4F1A\u53D1\u9001\u6D88\u606F\u7ED9\u5230\u7528\u6237\u5BF9\u5E94\u7684channel\n\n## \u8F93\u51FA\u534F\u8BAE\n\n- \u9700\u8981\u666E\u901A\u56DE\u590D\u65F6\uFF0C\u76F4\u63A5\u8F93\u51FA\u6587\u672C\u5373\u53EF\u3002\u6587\u672C\u9876\u90E8\u53EF\u7528 frontmatter metadata (optional)\uFF0C\u5B57\u6BB5\u8BED\u4E49\u4E0E `city chat send` \u4FDD\u6301\u4E00\u81F4\uFF1A\n\n- `delay` / `delayMs`\uFF1A\u5EF6\u8FDF\u53D1\u9001\u6BEB\u79D2\u6570\u3002\n- `time` / `sendAt` / `sendAtMs`\uFF1A\u5B9A\u65F6\u53D1\u9001\u65F6\u95F4\u3002\n- `reply`\uFF1A\u662F\u5426\u4F7F\u7528 reply \u8BED\u4E49\u53D1\u9001\u3002\n- `messageId`\uFF1A\u76EE\u6807 `message_id`\uFF08\u7FA4\u804A\u63A8\u8350\uFF09\u3002\n- `react`\uFF1A\u53D1\u9001\u8868\u60C5\u53CD\u5E94\u3002\n - \u5355\u4E2A\u5B57\u7B26\u4E32\uFF1A`react: \"\uD83D\uDC4D\"`\n - \u6216\u5BF9\u8C61/\u6570\u7EC4\uFF1A`emoji/big`\n - \u8BBE\u7F6E `messageId` \u65F6\uFF0C`react` \u4F1A\u4F18\u5148\u590D\u7528\u8BE5\u6D88\u606F\u4F5C\u4E3A\u76EE\u6807\u6D88\u606F\u3002\n- \u9644\u4EF6\u4F7F\u7528 `<file type=\"...\">path</file>`\uFF08\u652F\u6301 `document/photo/voice/audio/video`\uFF09\u3002\n- \u9644\u4EF6\u8DEF\u5F84\u5FC5\u987B\u662F\u9879\u76EE\u5185\u53EF\u8BBF\u95EE\u7684\u76F8\u5BF9\u8DEF\u5F84\u3002\u591A\u9644\u4EF6\u53EF\u8F93\u51FA\u591A\u4E2A `<file>` \u6807\u7B7E\u3002\n\n### \u793A\u4F8B\n\n```text\n---\nreply: true\nmessageId: \"128\"\nreact:\n - emoji: \"\u2705\"\n---\n\u8FD9\u662F\u4ECA\u5929\u7684\u62A5\u544A\u3002\n<file type=\"document\">reports/daily.md</file>\n```\n\n### \u534F\u8BAE\u7EA6\u675F\n\n- frontmatter \u5FC5\u987B\u4F4D\u4E8E\u6587\u672C\u6700\u5F00\u5934\uFF08`---` \u5305\u88F9\uFF09\u3002\n- \u9664 `<file>` \u9644\u4EF6\u6807\u7B7E\u5916\uFF0C\u4E0D\u8981\u4F7F\u7528\u5C16\u62EC\u53F7\u683C\u5F0F\u505A\u63A7\u5236\u53C2\u6570\u3002\n\n## \u8DE8\u534F\u8BAE/\u8DE8\u5E73\u53F0\u64CD\u4F5C\n\n- \u5F53\u4EFB\u52A1\u9700\u8981\u8DE8\u4F1A\u8BDD\u3001\u8DE8\u5E73\u53F0\u6216\u590D\u6742\u8DEF\u7531\uFF0C\u5FC5\u987B\u4F7F\u7528 `city chat send` / `city chat react`\u3002\n- metadata \u53EA\u9002\u7528\u4E8E\u5F53\u524D\u4F1A\u8BDD\u5185\u7684 direct \u51FA\u7AD9\uFF0C\u4E0D\u8981\u62FF metadata \u505A\u8DE8 chat \u8DEF\u7531\u3002\n- \u5982\u679C\u9700\u8981\u8DE8 chat \u53D1\u9001\uFF0C\u6216\u8005\u4E0D\u6E05\u695A\u600E\u4E48\u53D1\u9001\uFF0C\u76F4\u63A5\u5148\u8C03\u7528 `city chat --help` \u67E5\u770B\u65B9\u6CD5\u3002\n- \u5982\u4E0D\u786E\u5B9A\u53C2\u6570\u6216\u6B63\u6587\u534F\u8BAE\uFF0C\u5148\u81EA\u884C\u8C03\u7528\uFF1A\n - `city chat --help`\n - `city chat send --help`\n - `city chat react --help`\n\n## \u5165\u7AD9\u6D88\u606F\u7ED3\u6784\uFF08\u4EC5\u4F9B\u5185\u90E8\u7406\u89E3\uFF09\n\n- \u6BCF\u6761\u5165\u961F\u7528\u6237\u6D88\u606F\u5305\u542B `<info>...</info>` \u5143\u4FE1\u606F\u5757 + \u7528\u6237\u6B63\u6587\u3002\n- `<info>` \u4EC5\u4FDD\u7559 user/request \u5143\u4FE1\u606F\uFF0C\u4F8B\u5982 `user_id`\u3001`username`\u3001`message_id`\u3001`permissions`\u3001`received_at`\u3002\n- \u5F53\u524D chat \u8DEF\u7531\u73AF\u5883\uFF08\u4F8B\u5982 `channel`\u3001`session_id`\u3001`chat_key`\u3001`chat_id`\uFF09\u4F1A\u901A\u8FC7 system prompt \u5355\u72EC\u6CE8\u5165\uFF0C\u4E0D\u518D\u6DF7\u5728 `<info>` \u91CC\u3002\n- `<info>` \u4E0D\u8981\u539F\u6837\u56DE\u4F20\u7ED9\u7528\u6237\u3002\n";
|
|
6
|
+
export default TEXT_MODULE_CONTENT;
|
|
7
|
+
//# sourceMappingURL=PROMPT.direct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PROMPT.direct.d.ts","sourceRoot":"","sources":["../../../../src/service/builtins/chat/PROMPT.direct.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,QAAA,MAAM,mBAAmB,+7GAAu3C,CAAC;AAEj5C,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 自动生成文件,请勿手改。
|
|
3
|
+
* 源文件:由同路径 `*.ts.txt` 生成。
|
|
4
|
+
*/
|
|
5
|
+
// Source: src/service/builtins/chat/PROMPT.direct.ts.txt
|
|
6
|
+
const TEXT_MODULE_CONTENT = "# Chat Service 使用说明\n\n## 用户可见回复规则\n\n- 当前模式下,直接输出,即会发送消息给到用户对应的channel\n\n## 输出协议\n\n- 需要普通回复时,直接输出文本即可。文本顶部可用 frontmatter metadata (optional),字段语义与 `city chat send` 保持一致:\n\n- `delay` / `delayMs`:延迟发送毫秒数。\n- `time` / `sendAt` / `sendAtMs`:定时发送时间。\n- `reply`:是否使用 reply 语义发送。\n- `messageId`:目标 `message_id`(群聊推荐)。\n- `react`:发送表情反应。\n - 单个字符串:`react: \"👍\"`\n - 或对象/数组:`emoji/big`\n - 设置 `messageId` 时,`react` 会优先复用该消息作为目标消息。\n- 附件使用 `<file type=\"...\">path</file>`(支持 `document/photo/voice/audio/video`)。\n- 附件路径必须是项目内可访问的相对路径。多附件可输出多个 `<file>` 标签。\n\n### 示例\n\n```text\n---\nreply: true\nmessageId: \"128\"\nreact:\n - emoji: \"✅\"\n---\n这是今天的报告。\n<file type=\"document\">reports/daily.md</file>\n```\n\n### 协议约束\n\n- frontmatter 必须位于文本最开头(`---` 包裹)。\n- 除 `<file>` 附件标签外,不要使用尖括号格式做控制参数。\n\n## 跨协议/跨平台操作\n\n- 当任务需要跨会话、跨平台或复杂路由,必须使用 `city chat send` / `city chat react`。\n- metadata 只适用于当前会话内的 direct 出站,不要拿 metadata 做跨 chat 路由。\n- 如果需要跨 chat 发送,或者不清楚怎么发送,直接先调用 `city chat --help` 查看方法。\n- 如不确定参数或正文协议,先自行调用:\n - `city chat --help`\n - `city chat send --help`\n - `city chat react --help`\n\n## 入站消息结构(仅供内部理解)\n\n- 每条入队用户消息包含 `<info>...</info>` 元信息块 + 用户正文。\n- `<info>` 仅保留 user/request 元信息,例如 `user_id`、`username`、`message_id`、`permissions`、`received_at`。\n- 当前 chat 路由环境(例如 `channel`、`session_id`、`chat_key`、`chat_id`)会通过 system prompt 单独注入,不再混在 `<info>` 里。\n- `<info>` 不要原样回传给用户。\n";
|
|
7
|
+
export default TEXT_MODULE_CONTENT;
|
|
8
|
+
//# sourceMappingURL=PROMPT.direct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PROMPT.direct.js","sourceRoot":"","sources":["../../../../src/service/builtins/chat/PROMPT.direct.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,yDAAyD;AACzD,MAAM,mBAAmB,GAAG,o3CAAo3C,CAAC;AAEj5C,eAAe,mBAAmB,CAAC"}
|
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
* - 账号凭据只在写入路径接收明文;列表与读取路径返回脱敏结果。
|
|
7
7
|
* - city / vibecape 等上层产品都应直接复用这个实现,而不是各自维护副本。
|
|
8
8
|
*/
|
|
9
|
+
import type { AgentPlatformRuntime } from "../../../../host/types/AgentHost.js";
|
|
9
10
|
import type { ChatChannelAccountCreateInput, ChatChannelAccountListResult, ChatChannelAccountProbeResult, ChatChannelAccountUpsertInput } from "../../../../service/builtins/chat/types/ChannelAccount.js";
|
|
10
11
|
/**
|
|
11
12
|
* ChatChannelAccountService。
|
|
12
13
|
*/
|
|
13
14
|
export declare class ChatChannelAccountService {
|
|
15
|
+
private readonly platform;
|
|
16
|
+
constructor(platform: AgentPlatformRuntime);
|
|
14
17
|
/**
|
|
15
18
|
* 生成唯一 channel account id。
|
|
16
19
|
*
|
|
@@ -55,6 +58,6 @@ export declare class ChatChannelAccountService {
|
|
|
55
58
|
/**
|
|
56
59
|
* 删除账号。
|
|
57
60
|
*/
|
|
58
|
-
remove(idInput: string): void
|
|
61
|
+
remove(idInput: string): Promise<void>;
|
|
59
62
|
}
|
|
60
63
|
//# sourceMappingURL=ChannelAccountService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelAccountService.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/accounts/ChannelAccountService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"ChannelAccountService.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/accounts/ChannelAccountService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGtE,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC9B,MAAM,iDAAiD,CAAC;AAiDzD;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAuB;gBAEpC,QAAQ,EAAE,oBAAoB;IAI1C;;;;;;OAMG;YACW,uBAAuB;IAerC;;OAEG;IACG,KAAK,CAAC,KAAK,EAAE;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAmC1C;;;;;;OAMG;IACG,MAAM,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC;QAC1D,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAiDF;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAUnD;;OAEG;IACG,MAAM,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IAgE3E;;OAEG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAS7C"}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* - city / vibecape 等上层产品都应直接复用这个实现,而不是各自维护副本。
|
|
8
8
|
*/
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
|
-
import { PlatformStore } from "../../../../shared/utils/store/index.js";
|
|
11
10
|
import { resolveChatChannelBotInfo } from "../../../../service/builtins/chat/channels/BotInfoProvider.js";
|
|
12
11
|
const SUPPORTED_CHANNELS = [
|
|
13
12
|
"telegram",
|
|
@@ -55,6 +54,10 @@ function pickFirstNonEmpty(inputs) {
|
|
|
55
54
|
* ChatChannelAccountService。
|
|
56
55
|
*/
|
|
57
56
|
export class ChatChannelAccountService {
|
|
57
|
+
platform;
|
|
58
|
+
constructor(platform) {
|
|
59
|
+
this.platform = platform;
|
|
60
|
+
}
|
|
58
61
|
/**
|
|
59
62
|
* 生成唯一 channel account id。
|
|
60
63
|
*
|
|
@@ -65,20 +68,14 @@ export class ChatChannelAccountService {
|
|
|
65
68
|
async generateUniqueAccountId(params) {
|
|
66
69
|
const seed = normalizeChannelAccountIdToken(params.seed || "");
|
|
67
70
|
const prefix = `${params.channel}-${seed}`.slice(0, 36);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
if (!existing)
|
|
75
|
-
return candidate;
|
|
76
|
-
}
|
|
77
|
-
return `${params.channel}-${Date.now().toString(36)}`;
|
|
78
|
-
}
|
|
79
|
-
finally {
|
|
80
|
-
store.close();
|
|
71
|
+
for (let index = 0; index < 8; index += 1) {
|
|
72
|
+
const suffix = crypto.randomBytes(3).toString("hex");
|
|
73
|
+
const candidate = `${prefix}-${suffix}`.slice(0, 64);
|
|
74
|
+
const existing = this.platform.getChannelAccount(candidate);
|
|
75
|
+
if (!existing)
|
|
76
|
+
return candidate;
|
|
81
77
|
}
|
|
78
|
+
return `${params.channel}-${Date.now().toString(36)}`;
|
|
82
79
|
}
|
|
83
80
|
/**
|
|
84
81
|
* 探测 bot 凭据并返回自动填充信息。
|
|
@@ -172,33 +169,13 @@ export class ChatChannelAccountService {
|
|
|
172
169
|
* 列出账户池(脱敏)。
|
|
173
170
|
*/
|
|
174
171
|
async list() {
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
return {
|
|
179
|
-
items: rows.map((item) => ({
|
|
180
|
-
id: item.id,
|
|
181
|
-
channel: item.channel,
|
|
182
|
-
name: item.name,
|
|
183
|
-
identity: item.identity,
|
|
184
|
-
owner: item.owner,
|
|
185
|
-
creator: item.creator,
|
|
186
|
-
domain: item.domain,
|
|
187
|
-
sandbox: item.sandbox === true,
|
|
188
|
-
hasBotToken: !!String(item.botToken || "").trim(),
|
|
189
|
-
hasAppId: !!String(item.appId || "").trim(),
|
|
190
|
-
hasAppSecret: !!String(item.appSecret || "").trim(),
|
|
191
|
-
botTokenMasked: item.botToken ? maskSecret(item.botToken) : undefined,
|
|
192
|
-
appIdMasked: item.appId ? maskSecret(item.appId) : undefined,
|
|
193
|
-
appSecretMasked: item.appSecret ? maskSecret(item.appSecret) : undefined,
|
|
194
|
-
createdAt: item.createdAt,
|
|
195
|
-
updatedAt: item.updatedAt,
|
|
196
|
-
})),
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
finally {
|
|
200
|
-
store.close();
|
|
172
|
+
const list = this.platform.listChannelAccounts;
|
|
173
|
+
if (!list) {
|
|
174
|
+
throw new Error("Channel account listing is not available in this runtime");
|
|
201
175
|
}
|
|
176
|
+
return {
|
|
177
|
+
items: await list(),
|
|
178
|
+
};
|
|
202
179
|
}
|
|
203
180
|
/**
|
|
204
181
|
* 新增或更新账号。
|
|
@@ -220,66 +197,62 @@ export class ChatChannelAccountService {
|
|
|
220
197
|
if (input.appSecret !== undefined && input.clearAppSecret === true) {
|
|
221
198
|
throw new Error("appSecret and clearAppSecret cannot be used together");
|
|
222
199
|
}
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
?
|
|
228
|
-
:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
?
|
|
233
|
-
:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
?
|
|
238
|
-
:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
id,
|
|
252
|
-
channel,
|
|
253
|
-
name,
|
|
254
|
-
identity: nextIdentity,
|
|
255
|
-
owner: nextOwner,
|
|
256
|
-
creator: nextCreator,
|
|
257
|
-
botToken: nextBotToken,
|
|
258
|
-
appId: nextAppId,
|
|
259
|
-
appSecret: nextAppSecret,
|
|
260
|
-
domain: normalizeOptionalText(input.domain),
|
|
261
|
-
sandbox: input.sandbox === true,
|
|
262
|
-
});
|
|
263
|
-
return { id };
|
|
264
|
-
}
|
|
265
|
-
finally {
|
|
266
|
-
store.close();
|
|
200
|
+
const current = this.platform.getChannelAccount(id);
|
|
201
|
+
const nextBotToken = input.clearBotToken
|
|
202
|
+
? undefined
|
|
203
|
+
: input.botToken !== undefined
|
|
204
|
+
? normalizeOptionalText(input.botToken)
|
|
205
|
+
: current?.botToken;
|
|
206
|
+
const nextAppId = input.clearAppId
|
|
207
|
+
? undefined
|
|
208
|
+
: input.appId !== undefined
|
|
209
|
+
? normalizeOptionalText(input.appId)
|
|
210
|
+
: current?.appId;
|
|
211
|
+
const nextAppSecret = input.clearAppSecret
|
|
212
|
+
? undefined
|
|
213
|
+
: input.appSecret !== undefined
|
|
214
|
+
? normalizeOptionalText(input.appSecret)
|
|
215
|
+
: current?.appSecret;
|
|
216
|
+
const nextIdentity = Object.prototype.hasOwnProperty.call(input, "identity")
|
|
217
|
+
? normalizeOptionalText(input.identity)
|
|
218
|
+
: current?.identity;
|
|
219
|
+
const nextOwner = Object.prototype.hasOwnProperty.call(input, "owner")
|
|
220
|
+
? normalizeOptionalText(input.owner)
|
|
221
|
+
: current?.owner;
|
|
222
|
+
const nextCreator = Object.prototype.hasOwnProperty.call(input, "creator")
|
|
223
|
+
? normalizeOptionalText(input.creator)
|
|
224
|
+
: current?.creator;
|
|
225
|
+
const updateChannelAccount = this.platform.updateChannelAccount;
|
|
226
|
+
if (!updateChannelAccount) {
|
|
227
|
+
throw new Error("Channel account update is not available in this runtime");
|
|
267
228
|
}
|
|
229
|
+
await updateChannelAccount({
|
|
230
|
+
id,
|
|
231
|
+
channel,
|
|
232
|
+
name,
|
|
233
|
+
identity: nextIdentity,
|
|
234
|
+
owner: nextOwner,
|
|
235
|
+
creator: nextCreator,
|
|
236
|
+
botToken: nextBotToken,
|
|
237
|
+
appId: nextAppId,
|
|
238
|
+
appSecret: nextAppSecret,
|
|
239
|
+
domain: normalizeOptionalText(input.domain),
|
|
240
|
+
sandbox: input.sandbox === true,
|
|
241
|
+
});
|
|
242
|
+
return { id };
|
|
268
243
|
}
|
|
269
244
|
/**
|
|
270
245
|
* 删除账号。
|
|
271
246
|
*/
|
|
272
|
-
remove(idInput) {
|
|
247
|
+
async remove(idInput) {
|
|
273
248
|
const id = String(idInput || "").trim();
|
|
274
249
|
if (!id)
|
|
275
250
|
throw new Error("channel account id cannot be empty");
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
finally {
|
|
281
|
-
store.close();
|
|
251
|
+
const removeChannelAccount = this.platform.removeChannelAccount;
|
|
252
|
+
if (!removeChannelAccount) {
|
|
253
|
+
throw new Error("Channel account removal is not available in this runtime");
|
|
282
254
|
}
|
|
255
|
+
await removeChannelAccount(id);
|
|
283
256
|
}
|
|
284
257
|
}
|
|
285
258
|
//# sourceMappingURL=ChannelAccountService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelAccountService.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/accounts/ChannelAccountService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,MAAM,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelAccountService.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/accounts/ChannelAccountService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,MAAM,MAAM,aAAa,CAAC;AAG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 +7,7 @@
|
|
|
7
7
|
* - 基类只保留授权、工具发送与入站编排;存储/队列细节已下沉到辅助模块。
|
|
8
8
|
*/
|
|
9
9
|
import type { ChatDispatchAction, ChatDispatchChannel, ChatDispatchSendActionParams } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
10
|
-
import type { Logger } from "../../../../
|
|
10
|
+
import type { Logger } from "../../../../utils/logger/Logger.js";
|
|
11
11
|
import type { AgentContext } from "../../../../agent/AgentContextTypes.js";
|
|
12
12
|
import { type ChannelUserMessageMeta } from "./BaseChatChannelSupport.js";
|
|
13
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseChatChannel.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/channels/BaseChatChannel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BaseChatChannel.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/channels/BaseChatChannel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAOjE,OAAO,EAGL,KAAK,sBAAsB,EAC5B,MAAM,6BAA6B,CAAC;AAMrC;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CAC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E,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IA6BhD;;;;;;OAMG;IACG,cAAc,CAClB,MAAM,EAAE,4BAA4B,GACnC,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IA4BhD;;;;;;OAMG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAclC;;OAEG;cACa,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IA0C9E;;OAEG;cACa,mBAAmB,CAAC,MAAM,EAAE;QAC1C,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,sBAAsB,CAAC;KAC/B,GAAG,OAAO,CAAC,IAAI,CAAC;IAYjB;;;;;;OAMG;cACa,cAAc,CAC5B,GAAG,EAAE,mBAAmB,GACvB,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAOlD"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* - `BaseChatChannel` 保留编排职责,避免基类继续承担过多存储细节。
|
|
7
7
|
*/
|
|
8
8
|
import type { ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
9
|
-
import type { Logger } from "../../../../
|
|
9
|
+
import type { Logger } from "../../../../utils/logger/Logger.js";
|
|
10
10
|
import type { AgentContext } from "../../../../agent/AgentContextTypes.js";
|
|
11
|
-
import type { JsonObject, JsonValue } from "../../../../
|
|
11
|
+
import type { JsonObject, JsonValue } from "../../../../utils/types/Json.js";
|
|
12
12
|
/**
|
|
13
13
|
* 渠道附加元信息。
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseChatChannelSupport.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/channels/BaseChatChannelSupport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BaseChatChannelSupport.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/channels/BaseChatChannelSupport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAWnE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC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+BAA+B,CACnD,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAYxB;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAYxB;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAaf;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,IAAI,CAAC,CAyBf;AAED;;GAEG;AACH,wBAAsB,gCAAgC,CACpD,MAAM,EAAE,gCAAgC,GACvC,OAAO,CAAC,IAAI,CAAC,CAkCf"}
|
|
@@ -11,7 +11,7 @@ import type { ChannelChatKeyParams, ChannelSendTextParams } from "../../../../..
|
|
|
11
11
|
import type { AgentContext } from "../../../../../agent/AgentContextTypes.js";
|
|
12
12
|
import type { ChatChannelTestResult } from "../../../../../service/builtins/chat/types/ChannelStatus.js";
|
|
13
13
|
import type { ParsedFeishuAttachmentCommand } from "../../../../../service/builtins/chat/types/FeishuAttachment.js";
|
|
14
|
-
import type { FeishuConfig, FeishuMessagePayloadType } from "../../../../../
|
|
14
|
+
import type { FeishuConfig, FeishuMessagePayloadType } from "../../../../../service/builtins/chat/channels/feishu/types/FeishuChannel.js";
|
|
15
15
|
/**
|
|
16
16
|
* 飞书入站确认 reaction 类型。
|
|
17
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feishu.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/Feishu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EA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,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GACxC,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;YACW,gBAAgB;IAS9B;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAK3B;;OAEG;IACH,OAAO,CAAC,YAAY;CAGrB;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAM3B"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - 只做发送者身份提取、mention 清理等纯逻辑。
|
|
6
6
|
* - 不依赖 Feishu SDK client,也不承担授权/入队/回复职责。
|
|
7
7
|
*/
|
|
8
|
-
import type { FeishuMessageEvent, FeishuSenderIdentity } from "../../../../../
|
|
8
|
+
import type { FeishuMessageEvent, FeishuSenderIdentity } from "../../../../../service/builtins/chat/channels/feishu/types/FeishuChannel.js";
|
|
9
9
|
/**
|
|
10
10
|
* 抽取发送者主身份。
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeishuInbound.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuInbound.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FeishuInbound.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuInbound.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAE/H;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,kBAAkB,GACvB,oBAAoB,CAiBtB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM1D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE3D"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - `FeishuBot` 只调用这里暴露的平台能力,不再直接持有底层 Feishu 连接细节。
|
|
8
8
|
*/
|
|
9
9
|
import type { AgentContext } from "../../../../../agent/AgentContextTypes.js";
|
|
10
|
-
import type { FeishuConfig, FeishuDownloadedAttachment, FeishuMessageEvent, FeishuMessagePayloadType } from "../../../../../
|
|
10
|
+
import type { FeishuConfig, FeishuDownloadedAttachment, FeishuMessageEvent, FeishuMessagePayloadType } from "../../../../../service/builtins/chat/channels/feishu/types/FeishuChannel.js";
|
|
11
11
|
import type { ChatChannelTestResult } from "../../../../../service/builtins/chat/types/ChannelStatus.js";
|
|
12
12
|
import type { ParsedFeishuAttachmentCommand } from "../../../../../service/builtins/chat/types/FeishuAttachment.js";
|
|
13
13
|
import type { FeishuIncomingAttachmentDescriptor } from "../../../../../service/builtins/chat/types/FeishuInboundAttachment.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeishuPlatformClient.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,
|
|
1
|
+
{"version":3,"file":"FeishuPlatformClient.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG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M,EAAE;QACxC,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,kCAAkC,EAAE,CAAC;KACnD,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAIzC;;OAEG;IACG,cAAc,CAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,UAAU,EAAE,6BAA6B,GACxC,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;IACG,mBAAmB,CACvB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GACxC,OAAO,CAAC,IAAI,CAAC;IAWhB;;OAEG;YACW,iBAAiB;IAoD/B;;OAEG;IACH,OAAO,CAAC,aAAa;IAarB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAUxB;;OAEG;IACH,OAAO,CAAC,mBAAmB;CAG5B"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* - `FeishuPlatformClient` 只保留运行时状态与 token 管理,这里负责具体 OpenAPI 查询细节。
|
|
7
7
|
*/
|
|
8
8
|
import * as Lark from "@larksuiteoapi/node-sdk";
|
|
9
|
-
import type { JsonObject } from "../../../../../
|
|
10
|
-
import type { FeishuDownloadedAttachment } from "../../../../../
|
|
9
|
+
import type { JsonObject } from "../../../../../utils/types/Json.js";
|
|
10
|
+
import type { FeishuDownloadedAttachment } from "../../../../../service/builtins/chat/channels/feishu/types/FeishuChannel.js";
|
|
11
11
|
import type { FeishuIncomingAttachmentDescriptor } from "../../../../../service/builtins/chat/types/FeishuInboundAttachment.js";
|
|
12
12
|
import type { InboundReplyContext } from "../../../../../service/builtins/chat/types/ReplyContext.js";
|
|
13
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeishuPlatformLookup.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAGhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FeishuPlatformLookup.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAGhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EACV,0BAA0B,EAC3B,MAAM,gEAAgE,CAAC;AACxE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0DAA0D,CAAC;AACnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAIzF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;QAC/C;;WAEG;QACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;KACjD,CAAC;IACF;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,mBAAmB,EAAE,MAAM,MAAM,CAAC;IAClC;;OAEG;IACH,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC7B;AAwHD;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE;IACN;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GACA,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA4G7B;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAiE7B;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE;IACN;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GACA,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAiE1C;AAED;;GAEG;AACH,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE;IACN;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,kCAAkC,EAAE,CAAC;CACnD,GACA,OAAO,CAAC,0BAA0B,EAAE,CAAC,CA0CvC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - `FeishuPlatformClient` 只保留统一入口和状态,不再直接承载全部细节。
|
|
7
7
|
*/
|
|
8
8
|
import * as Lark from "@larksuiteoapi/node-sdk";
|
|
9
|
-
import type { FeishuMessagePayloadType } from "../../../../../
|
|
9
|
+
import type { FeishuMessagePayloadType } from "../../../../../service/builtins/chat/channels/feishu/types/FeishuChannel.js";
|
|
10
10
|
import type { ParsedFeishuAttachmentCommand } from "../../../../../service/builtins/chat/types/FeishuAttachment.js";
|
|
11
11
|
/**
|
|
12
12
|
* Feishu 发送类依赖。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeishuPlatformMessaging.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAGhD,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,
|
|
1
|
+
{"version":3,"file":"FeishuPlatformMessaging.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAGhD,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,gEAAgE,CAAC;AACxE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAEvG;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;KAC9D,CAAC;IACF;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,mBAAmB,EAAE,MAAM,MAAM,CAAC;CACnC;AA4FD;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GACxC,OAAO,CAAC,IAAI,CAAC,CAwCf;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,UAAU,EAAE,6BAA6B,GACxC,OAAO,CAAC,IAAI,CAAC,CAoBf"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 自动生成文件,请勿手改。
|
|
3
|
+
* 源文件:由同路径 `*.ts.txt` 生成。
|
|
4
|
+
*/
|
|
5
|
+
declare const TEXT_MODULE_CONTENT = "# Feishu Channel\n\n## \u4F7F\u7528\u7EA6\u675F\n\n- \u4F60\u7684\u76F4\u63A5\u8F93\u51FA\u81EA\u52A8\u53D1\u9001\u5230\u5F53\u524D\u98DE\u4E66\u4F1A\u8BDD\u3002\n";
|
|
6
|
+
export default TEXT_MODULE_CONTENT;
|
|
7
|
+
//# sourceMappingURL=PROMPT.direct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PROMPT.direct.d.ts","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/PROMPT.direct.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,QAAA,MAAM,mBAAmB,wKAA0D,CAAC;AAEpF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 自动生成文件,请勿手改。
|
|
3
|
+
* 源文件:由同路径 `*.ts.txt` 生成。
|
|
4
|
+
*/
|
|
5
|
+
// Source: src/service/builtins/chat/channels/feishu/PROMPT.direct.ts.txt
|
|
6
|
+
const TEXT_MODULE_CONTENT = "# Feishu Channel\n\n## 使用约束\n\n- 你的直接输出自动发送到当前飞书会话。\n";
|
|
7
|
+
export default TEXT_MODULE_CONTENT;
|
|
8
|
+
//# sourceMappingURL=PROMPT.direct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PROMPT.direct.js","sourceRoot":"","sources":["../../../../../../src/service/builtins/chat/channels/feishu/PROMPT.direct.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,yEAAyE;AACzE,MAAM,mBAAmB,GAAG,uDAAuD,CAAC;AAEpF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeishuChannel.d.ts","sourceRoot":"","sources":["../../../../../../../src/service/builtins/chat/channels/feishu/types/FeishuChannel.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,SAAS,CAAC,EAAE;YACV;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,CAAC;IACF;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QACrB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IACzD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeishuChannel.js","sourceRoot":"","sources":["../../../../../../../src/service/builtins/chat/channels/feishu/types/FeishuChannel.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 自动生成文件,请勿手改。
|
|
3
|
+
* 源文件:由同路径 `*.ts.txt` 生成。
|
|
4
|
+
*/
|
|
5
|
+
declare const TEXT_MODULE_CONTENT = "# QQ Adapter \u4F7F\u7528\u8BF4\u660E\uFF08direct \u6A21\u5F0F\uFF09\n\n## \u80FD\u529B\u8303\u56F4\n- \u8D1F\u8D23 QQ \u5B98\u65B9\u673A\u5668\u4EBA\u7F51\u5173\uFF08WebSocket\uFF09\u6D88\u606F\u63A5\u5165\u4E0E\u53D1\u9001\u3002\n- \u5165\u7AD9\u6D88\u606F\u4F1A\u7531 chat service \u6620\u5C04\u5230\u5185\u90E8 `sessionId`\uFF08\u968F\u673A\u5206\u914D\u5E76\u6301\u4E45\u5316\uFF09\u3002\n\n## \u4F7F\u7528\u7EA6\u675F\n- \u5728 direct \u6A21\u5F0F\u4E0B\uFF0C\u4F60\u8F93\u51FA\u7684 assistant \u6587\u672C\u4F1A\u81EA\u52A8\u53D1\u9001\u5230\u5F53\u524D QQ \u4F1A\u8BDD\u3002\n- QQ \u51FA\u7AD9\u56DE\u590D\u4F9D\u8D56\u5165\u7AD9\u6D88\u606F\u4E0A\u4E0B\u6587\uFF08\u5982 `chatType` \u4E0E `messageId`\uFF09\uFF1B\u8DE8\u4F1A\u8BDD\u53D1\u9001\u8BF7\u4F7F\u7528 `city chat send --chat-key ...`\uFF0C\u4E0D\u8981\u5728 direct metadata \u4E2D\u5199 `chatKey`\u3002\n- \u7FA4\u804A\u6D88\u606F\u9ED8\u8BA4\u5168\u91CF\u63A5\u5165\uFF0C\u4E0D\u9700\u8981 `@` \u89E6\u53D1\u3002\n- \u9002\u914D\u5668\u4F1A\u8FC7\u6EE4\u673A\u5668\u4EBA\u81EA\u56DE\u73AF\u6D88\u606F\u5E76\u505A\u5165\u7AD9\u53BB\u91CD\uFF0C\u907F\u514D\u201C\u81EA\u5DF1\u56DE\u590D\u81EA\u5DF1\u201D\u7684\u5FAA\u73AF\u3002\n";
|
|
6
|
+
export default TEXT_MODULE_CONTENT;
|
|
7
|
+
//# sourceMappingURL=PROMPT.direct.d.ts.map
|