@tencent-ai/agent-harness 0.2.0-beta.6 → 0.2.0-beta.8

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.
Files changed (868) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/cli/CHANGELOG.md +123 -0
  3. package/cli/dist-server/lite/in-memory-session-store.js +1 -1
  4. package/cli/dist-server/shared.cjs +338 -291
  5. package/cli/dist-server/types/node/a2a/a2a-protocol.d.ts +516 -0
  6. package/cli/dist-server/types/node/agent/agent-completion-waiter.d.ts +28 -0
  7. package/cli/dist-server/types/node/agent/agent-controller.d.ts +147 -0
  8. package/cli/dist-server/types/node/agent/agent-display.d.ts +77 -0
  9. package/cli/dist-server/types/node/agent/agent-manager.d.ts +964 -0
  10. package/cli/dist-server/types/node/agent/agent-memory.d.ts +72 -0
  11. package/cli/dist-server/types/node/agent/agent-runtime-adapter.d.ts +71 -0
  12. package/cli/dist-server/types/node/agent/builtin-agent-modes.d.ts +47 -0
  13. package/cli/dist-server/types/node/agent/custom-agent-identity.d.ts +54 -0
  14. package/cli/dist-server/types/node/agent/custom-agent-manager.d.ts +43 -0
  15. package/cli/dist-server/types/node/agent/custom-agent-path-registry.d.ts +19 -0
  16. package/cli/dist-server/types/node/agent/exit-planmode-visibility.d.ts +64 -0
  17. package/cli/dist-server/types/node/agent/index.d.ts +22 -0
  18. package/cli/dist-server/types/node/agent/insights-data-agent-run-interceptor.d.ts +67 -0
  19. package/cli/dist-server/types/node/agent/interceptors/command-interceptors.d.ts +89 -0
  20. package/cli/dist-server/types/node/agent/interceptors/deep-research-pending-interceptor.d.ts +30 -0
  21. package/cli/dist-server/types/node/agent/interceptors/env-interceptor.d.ts +7 -0
  22. package/cli/dist-server/types/node/agent/interceptors/file-interceptors.d.ts +45 -0
  23. package/cli/dist-server/types/node/agent/interceptors/image-interceptors.d.ts +47 -0
  24. package/cli/dist-server/types/node/agent/interceptors/index.d.ts +16 -0
  25. package/cli/dist-server/types/node/agent/interceptors/initial-prompt-interceptor.d.ts +29 -0
  26. package/cli/dist-server/types/node/agent/interceptors/manual-compact-request-handler.d.ts +29 -0
  27. package/cli/dist-server/types/node/agent/interceptors/model-interceptors.d.ts +43 -0
  28. package/cli/dist-server/types/node/agent/interceptors/sandbox-interceptor.d.ts +84 -0
  29. package/cli/dist-server/types/node/agent/interceptors/sensitive-user-input-interceptor.d.ts +7 -0
  30. package/cli/dist-server/types/node/agent/interceptors/system-reminder-interceptor.d.ts +101 -0
  31. package/cli/dist-server/types/node/agent/interceptors/team-resume-intent-interceptor.d.ts +31 -0
  32. package/cli/dist-server/types/node/agent/interceptors/telemetry-interceptors.d.ts +43 -0
  33. package/cli/dist-server/types/node/agent/interceptors/ultracode-effort-reminder-interceptor.d.ts +21 -0
  34. package/cli/dist-server/types/node/agent/interceptors/ultracode-keyword-interceptor.d.ts +34 -0
  35. package/cli/dist-server/types/node/agent/main-agent-policy.d.ts +33 -0
  36. package/cli/dist-server/types/node/agent/main-agent-preset.d.ts +32 -0
  37. package/cli/dist-server/types/node/agent/main-agent-resolver.d.ts +156 -0
  38. package/cli/dist-server/types/node/agent/main-agent-session.d.ts +212 -0
  39. package/cli/dist-server/types/node/agent/memory-context-interceptor.d.ts +84 -0
  40. package/cli/dist-server/types/node/agent/standing-main-agent.d.ts +12 -0
  41. package/cli/dist-server/types/node/agent/stream-json-init-interceptor.d.ts +9 -0
  42. package/cli/dist-server/types/node/agent/subagent-limits.d.ts +90 -0
  43. package/cli/dist-server/types/node/agent/team-context-interceptor.d.ts +42 -0
  44. package/cli/dist-server/types/node/agent/teammate-failure-interceptor.d.ts +67 -0
  45. package/cli/dist-server/types/node/agent-home/agent-home-attachments.d.ts +83 -0
  46. package/cli/dist-server/types/node/agent-home/agent-home-channel-system-event.d.ts +15 -0
  47. package/cli/dist-server/types/node/agent-home/agent-home-channel-task-event.d.ts +24 -0
  48. package/cli/dist-server/types/node/agent-home/agent-home-channel-wake.d.ts +115 -0
  49. package/cli/dist-server/types/node/agent-home/agent-home-channel-widget.d.ts +45 -0
  50. package/cli/dist-server/types/node/agent-home/agent-home-directory.d.ts +304 -0
  51. package/cli/dist-server/types/node/agent-home/agent-home-limits.d.ts +73 -0
  52. package/cli/dist-server/types/node/agent-home/agent-home-membership.d.ts +34 -0
  53. package/cli/dist-server/types/node/agent-home/agent-home-mentions.d.ts +39 -0
  54. package/cli/dist-server/types/node/agent-home/agent-home-room-contacts.d.ts +51 -0
  55. package/cli/dist-server/types/node/agent-home/channel-wake-service.d.ts +69 -0
  56. package/cli/dist-server/types/node/agent-task/agent-task-manager.d.ts +242 -0
  57. package/cli/dist-server/types/node/agent-task/agent-task-output-manager.d.ts +55 -0
  58. package/cli/dist-server/types/node/agent-task/agent-task-protocol.d.ts +687 -0
  59. package/cli/dist-server/types/node/agent-task/agent-task.d.ts +405 -0
  60. package/cli/dist-server/types/node/agent-task/background-task-notifier.d.ts +212 -0
  61. package/cli/dist-server/types/node/agent-task/background-task-tool-approval-service.d.ts +36 -0
  62. package/cli/dist-server/types/node/agent-task/index.d.ts +9 -0
  63. package/cli/dist-server/types/node/agent-task/retained-agent-task.d.ts +11 -0
  64. package/cli/dist-server/types/node/agent-task/stream-json-drain-trigger.d.ts +23 -0
  65. package/cli/dist-server/types/node/agent-task/subagent-output-scanner.d.ts +53 -0
  66. package/cli/dist-server/types/node/agent-team/backends/teammate-backend-protocol.d.ts +119 -0
  67. package/cli/dist-server/types/node/agent-team/team-member.d.ts +391 -0
  68. package/cli/dist-server/types/node/agent-team/team-protocol.d.ts +375 -0
  69. package/cli/dist-server/types/node/agent-view/agent-view-actions.d.ts +209 -0
  70. package/cli/dist-server/types/node/agent-view/agent-view-protocol.d.ts +714 -0
  71. package/cli/dist-server/types/node/agent-view/handoff-policy.d.ts +80 -0
  72. package/cli/dist-server/types/node/agent-view/launch-workspace.d.ts +9 -0
  73. package/cli/dist-server/types/node/agent-view/session-handoff.d.ts +161 -0
  74. package/cli/dist-server/types/node/ask/ask-protoctol.d.ts +102 -0
  75. package/cli/dist-server/types/node/ask/ask-service.d.ts +62 -0
  76. package/cli/dist-server/types/node/ask/index.d.ts +3 -0
  77. package/cli/dist-server/types/node/ask/session-ask-user-question-handler.d.ts +25 -0
  78. package/cli/dist-server/types/node/authentication/api-key-authentication-storage.d.ts +17 -0
  79. package/cli/dist-server/types/node/authentication/custom-token-authentication-storage.d.ts +10 -0
  80. package/cli/dist-server/types/node/authentication/file-authentication-storage.d.ts +71 -0
  81. package/cli/dist-server/types/node/bash-sandbox/bash-sandbox-manager.d.ts +125 -0
  82. package/cli/dist-server/types/node/bash-sandbox/index.d.ts +4 -0
  83. package/cli/dist-server/types/node/bash-sandbox/legacy-sandbox-shell-protocol.d.ts +33 -0
  84. package/cli/dist-server/types/node/bash-sandbox/legacy-sandbox-shell-service.d.ts +33 -0
  85. package/cli/dist-server/types/node/blob-store/blob-store-protocol.d.ts +104 -0
  86. package/cli/dist-server/types/node/blob-store/blob-store-service.d.ts +22 -0
  87. package/cli/dist-server/types/node/blob-store/image-blob-service.d.ts +121 -0
  88. package/cli/dist-server/types/node/blob-store/index.d.ts +4 -0
  89. package/cli/dist-server/types/node/blob-store/tool-result-blob-service.d.ts +109 -0
  90. package/cli/dist-server/types/node/channel/channel-event-service.d.ts +18 -0
  91. package/cli/dist-server/types/node/channel/channel-manager.d.ts +41 -0
  92. package/cli/dist-server/types/node/channel/channel-permission-adapter.d.ts +27 -0
  93. package/cli/dist-server/types/node/channel/channel-protocol.d.ts +192 -0
  94. package/cli/dist-server/types/node/channel/channel-security-manager.d.ts +12 -0
  95. package/cli/dist-server/types/node/channel/index.d.ts +5 -0
  96. package/cli/dist-server/types/node/cli/tui-mode-service.d.ts +20 -0
  97. package/cli/dist-server/types/node/code-ratio/cli-git-commit-watcher.d.ts +142 -0
  98. package/cli/dist-server/types/node/code-ratio/cli-svn-commit-watcher.d.ts +111 -0
  99. package/cli/dist-server/types/node/code-ratio/code-ratio-reporting-service.d.ts +90 -0
  100. package/cli/dist-server/types/node/code-ratio/fs-file-reader.d.ts +26 -0
  101. package/cli/dist-server/types/node/code-ratio/index.d.ts +5 -0
  102. package/cli/dist-server/types/node/code-ratio/vcs-repo-resolver.d.ts +51 -0
  103. package/cli/dist-server/types/node/command/add-dir-command-executor.d.ts +11 -0
  104. package/cli/dist-server/types/node/command/agent-mode-command-executor.d.ts +11 -0
  105. package/cli/dist-server/types/node/command/agents-command-executor.d.ts +9 -0
  106. package/cli/dist-server/types/node/command/auto-compact-command-executor.d.ts +20 -0
  107. package/cli/dist-server/types/node/command/background-command-executor.d.ts +29 -0
  108. package/cli/dist-server/types/node/command/bash-command-executor.d.ts +62 -0
  109. package/cli/dist-server/types/node/command/btw-command-executor.d.ts +13 -0
  110. package/cli/dist-server/types/node/command/clear-command-executor.d.ts +17 -0
  111. package/cli/dist-server/types/node/command/command-manager.d.ts +54 -0
  112. package/cli/dist-server/types/node/command/command-protocol.d.ts +106 -0
  113. package/cli/dist-server/types/node/command/config-command-executor.d.ts +15 -0
  114. package/cli/dist-server/types/node/command/context-command-executor.d.ts +42 -0
  115. package/cli/dist-server/types/node/command/copy-command-executor.d.ts +10 -0
  116. package/cli/dist-server/types/node/command/cost-command-executor.d.ts +13 -0
  117. package/cli/dist-server/types/node/command/custom-command-renderer.d.ts +29 -0
  118. package/cli/dist-server/types/node/command/debug-command-executor.d.ts +15 -0
  119. package/cli/dist-server/types/node/command/deep-research-command-executor.d.ts +27 -0
  120. package/cli/dist-server/types/node/command/doctor-command-executor.d.ts +7 -0
  121. package/cli/dist-server/types/node/command/effort-command-executor.d.ts +68 -0
  122. package/cli/dist-server/types/node/command/exit-command-executor.d.ts +14 -0
  123. package/cli/dist-server/types/node/command/export-command-executor.d.ts +7 -0
  124. package/cli/dist-server/types/node/command/feedback-command-executor.d.ts +9 -0
  125. package/cli/dist-server/types/node/command/fork-bg-command-executor.d.ts +29 -0
  126. package/cli/dist-server/types/node/command/fork-command-executor.d.ts +28 -0
  127. package/cli/dist-server/types/node/command/goal-command-executor.d.ts +50 -0
  128. package/cli/dist-server/types/node/command/handoff-message-adapter.d.ts +9 -0
  129. package/cli/dist-server/types/node/command/help-command-executor.d.ts +9 -0
  130. package/cli/dist-server/types/node/command/hooks-command-executor.d.ts +9 -0
  131. package/cli/dist-server/types/node/command/ide-command-executor.d.ts +11 -0
  132. package/cli/dist-server/types/node/command/index.d.ts +66 -0
  133. package/cli/dist-server/types/node/command/local-shell.d.ts +31 -0
  134. package/cli/dist-server/types/node/command/mcp-command-executor.d.ts +15 -0
  135. package/cli/dist-server/types/node/command/mcp-prompt-renderer.d.ts +44 -0
  136. package/cli/dist-server/types/node/command/memory-command-executor.d.ts +17 -0
  137. package/cli/dist-server/types/node/command/model-command-executor.d.ts +11 -0
  138. package/cli/dist-server/types/node/command/model-image-to-image-command-executor.d.ts +17 -0
  139. package/cli/dist-server/types/node/command/model-image-to-video-command-executor.d.ts +17 -0
  140. package/cli/dist-server/types/node/command/model-lite-command-executor.d.ts +17 -0
  141. package/cli/dist-server/types/node/command/model-reasoning-command-executor.d.ts +17 -0
  142. package/cli/dist-server/types/node/command/model-text-to-image-command-executor.d.ts +17 -0
  143. package/cli/dist-server/types/node/command/model-text-to-video-command-executor.d.ts +17 -0
  144. package/cli/dist-server/types/node/command/multitask-command-executor.d.ts +9 -0
  145. package/cli/dist-server/types/node/command/permissions-command-executor.d.ts +9 -0
  146. package/cli/dist-server/types/node/command/plan-command-executor.d.ts +11 -0
  147. package/cli/dist-server/types/node/command/plugin-command-executor.d.ts +25 -0
  148. package/cli/dist-server/types/node/command/plugin-validate-command-executor.d.ts +21 -0
  149. package/cli/dist-server/types/node/command/release-notes-command-executor.d.ts +18 -0
  150. package/cli/dist-server/types/node/command/reload-plugins-command-executor.d.ts +22 -0
  151. package/cli/dist-server/types/node/command/remote-control-command-executor.d.ts +44 -0
  152. package/cli/dist-server/types/node/command/rename-command-executor.d.ts +11 -0
  153. package/cli/dist-server/types/node/command/reset-command-executor.d.ts +9 -0
  154. package/cli/dist-server/types/node/command/resume-command-executor.d.ts +21 -0
  155. package/cli/dist-server/types/node/command/rewind-command-executor.d.ts +10 -0
  156. package/cli/dist-server/types/node/command/sandbox-command-executor.d.ts +20 -0
  157. package/cli/dist-server/types/node/command/save-workflow-command-executor.d.ts +43 -0
  158. package/cli/dist-server/types/node/command/skills-command-executor.d.ts +9 -0
  159. package/cli/dist-server/types/node/command/stats-command-executor.d.ts +11 -0
  160. package/cli/dist-server/types/node/command/status-command-executor.d.ts +11 -0
  161. package/cli/dist-server/types/node/command/tasks-command-executor.d.ts +9 -0
  162. package/cli/dist-server/types/node/command/terminal-setup-command-executor.d.ts +7 -0
  163. package/cli/dist-server/types/node/command/theme-command-executor.d.ts +7 -0
  164. package/cli/dist-server/types/node/command/todos-command-executor.d.ts +16 -0
  165. package/cli/dist-server/types/node/command/upgrade-command-executor.d.ts +13 -0
  166. package/cli/dist-server/types/node/command/vim-command-executor.d.ts +11 -0
  167. package/cli/dist-server/types/node/command/web-command-executor.d.ts +18 -0
  168. package/cli/dist-server/types/node/command/workflows-command-executor.d.ts +26 -0
  169. package/cli/dist-server/types/node/command-parser/command-parser-protocol.d.ts +81 -0
  170. package/cli/dist-server/types/node/console/console-manager.d.ts +37 -0
  171. package/cli/dist-server/types/node/console/console-protocol.d.ts +112 -0
  172. package/cli/dist-server/types/node/console/index.d.ts +2 -0
  173. package/cli/dist-server/types/node/context/deferred-tools-description-builder.d.ts +145 -0
  174. package/cli/dist-server/types/node/context/token-calculator/token-calculator-protocol.d.ts +27 -0
  175. package/cli/dist-server/types/node/debug/debug-middleware.d.ts +8 -0
  176. package/cli/dist-server/types/node/debug/debug-protocol.d.ts +63 -0
  177. package/cli/dist-server/types/node/debug/debug-service.d.ts +26 -0
  178. package/cli/dist-server/types/node/debug/index.d.ts +3 -0
  179. package/cli/dist-server/types/node/elicitation/elicitation-service.d.ts +100 -0
  180. package/cli/dist-server/types/node/feedback/feedback-protocol.d.ts +32 -0
  181. package/cli/dist-server/types/node/feedback/feedback-service.d.ts +19 -0
  182. package/cli/dist-server/types/node/feedback/index.d.ts +2 -0
  183. package/cli/dist-server/types/node/galileo/agent-metrics-aggregator.d.ts +115 -0
  184. package/cli/dist-server/types/node/galileo/error-category.d.ts +65 -0
  185. package/cli/dist-server/types/node/galileo/galileo-chat-reporter.d.ts +302 -0
  186. package/cli/dist-server/types/node/galileo/galileo-protocol.d.ts +78 -0
  187. package/cli/dist-server/types/node/galileo/galileo-service.d.ts +171 -0
  188. package/cli/dist-server/types/node/galileo/galileo-session-bridge-protocol.d.ts +134 -0
  189. package/cli/dist-server/types/node/galileo/galileo-session-bridge.d.ts +105 -0
  190. package/cli/dist-server/types/node/galileo/galileo-timing-hook.d.ts +115 -0
  191. package/cli/dist-server/types/node/galileo/galileo-tool-error-report-hook.d.ts +32 -0
  192. package/cli/dist-server/types/node/galileo/galileo-tool-post-hook.d.ts +18 -0
  193. package/cli/dist-server/types/node/galileo/galileo-tool-pre-hook.d.ts +16 -0
  194. package/cli/dist-server/types/node/galileo/galileo-tool-start-report-hook.d.ts +14 -0
  195. package/cli/dist-server/types/node/galileo/galileo-tool-success-report-hook.d.ts +14 -0
  196. package/cli/dist-server/types/node/galileo/index.d.ts +15 -0
  197. package/cli/dist-server/types/node/galileo/session-error-tracker.d.ts +44 -0
  198. package/cli/dist-server/types/node/galileo/task-outcome-resolver.d.ts +28 -0
  199. package/cli/dist-server/types/node/galileo/task-outcome.d.ts +35 -0
  200. package/cli/dist-server/types/node/hooks/functional-hooks-protocol.d.ts +78 -0
  201. package/cli/dist-server/types/node/hooks/functional-hooks.d.ts +23 -0
  202. package/cli/dist-server/types/node/http/certificate-manager.d.ts +50 -0
  203. package/cli/dist-server/types/node/http/classify-network-error.d.ts +21 -0
  204. package/cli/dist-server/types/node/http/custom-header-http-interceptor.d.ts +14 -0
  205. package/cli/dist-server/types/node/http/custom-headers-provider.d.ts +26 -0
  206. package/cli/dist-server/types/node/http/fetch-proxy.d.ts +22 -0
  207. package/cli/dist-server/types/node/http/http-proxy-interceptor.d.ts +116 -0
  208. package/cli/dist-server/types/node/http/index.d.ts +6 -0
  209. package/cli/dist-server/types/node/ide-integration/ide-edit-manager.d.ts +53 -0
  210. package/cli/dist-server/types/node/ide-integration/ide-protocol.d.ts +450 -0
  211. package/cli/dist-server/types/node/install/index.d.ts +6 -0
  212. package/cli/dist-server/types/node/install/install-controller.d.ts +15 -0
  213. package/cli/dist-server/types/node/install/install-env.d.ts +12 -0
  214. package/cli/dist-server/types/node/install/install-protocol.d.ts +83 -0
  215. package/cli/dist-server/types/node/install/install-service.d.ts +36 -0
  216. package/cli/dist-server/types/node/install/releases-service.d.ts +29 -0
  217. package/cli/dist-server/types/node/install/shell-setup.d.ts +36 -0
  218. package/cli/dist-server/types/node/library-runtime.d.ts +9 -0
  219. package/cli/dist-server/types/node/loopback/endpoint-provider.d.ts +9 -0
  220. package/cli/dist-server/types/node/loopback/error-provider.d.ts +9 -0
  221. package/cli/dist-server/types/node/loopback/index.d.ts +4 -0
  222. package/cli/dist-server/types/node/loopback/loopback-body-limit.d.ts +52 -0
  223. package/cli/dist-server/types/node/lsp/index.d.ts +6 -0
  224. package/cli/dist-server/types/node/lsp/lsp-client.d.ts +104 -0
  225. package/cli/dist-server/types/node/lsp/lsp-manager.d.ts +90 -0
  226. package/cli/dist-server/types/node/lsp/lsp-protocol.d.ts +245 -0
  227. package/cli/dist-server/types/node/mcp/agent-scoped-mcp-manager.d.ts +38 -0
  228. package/cli/dist-server/types/node/mcp/index.d.ts +32 -0
  229. package/cli/dist-server/types/node/mcp/mcp-cli-config-initializer.d.ts +18 -0
  230. package/cli/dist-server/types/node/mcp/mcp-config-diagnostics-manager.d.ts +29 -0
  231. package/cli/dist-server/types/node/mcp/mcp-config-env-expand-service.d.ts +45 -0
  232. package/cli/dist-server/types/node/mcp/mcp-config-fingerprint.d.ts +28 -0
  233. package/cli/dist-server/types/node/mcp/mcp-config-manager.d.ts +110 -0
  234. package/cli/dist-server/types/node/mcp/mcp-config-store.d.ts +18 -0
  235. package/cli/dist-server/types/node/mcp/mcp-connection-manager.d.ts +35 -0
  236. package/cli/dist-server/types/node/mcp/mcp-controller.d.ts +56 -0
  237. package/cli/dist-server/types/node/mcp/mcp-descriptor-environment.d.ts +5 -0
  238. package/cli/dist-server/types/node/mcp/mcp-first-run-status-service.d.ts +37 -0
  239. package/cli/dist-server/types/node/mcp/mcp-log-service.d.ts +5 -0
  240. package/cli/dist-server/types/node/mcp/mcp-manager.d.ts +339 -0
  241. package/cli/dist-server/types/node/mcp/mcp-oauth-controller.d.ts +26 -0
  242. package/cli/dist-server/types/node/mcp/mcp-oauth-manager.d.ts +33 -0
  243. package/cli/dist-server/types/node/mcp/mcp-oauth-store.d.ts +30 -0
  244. package/cli/dist-server/types/node/mcp/mcp-permissions-manager.d.ts +52 -0
  245. package/cli/dist-server/types/node/mcp/mcp-plugin-registry.d.ts +39 -0
  246. package/cli/dist-server/types/node/mcp/mcp-ready-service.d.ts +94 -0
  247. package/cli/dist-server/types/node/mcp/mcp-resource-catalog-protocol.d.ts +62 -0
  248. package/cli/dist-server/types/node/mcp/mcp-resource-catalog.d.ts +32 -0
  249. package/cli/dist-server/types/node/mcp/mcp-server-manager.d.ts +283 -0
  250. package/cli/dist-server/types/node/mcp/mcp-server-model-manager.d.ts +14 -0
  251. package/cli/dist-server/types/node/mcp/mcp-subagent-tool-manager.d.ts +36 -0
  252. package/cli/dist-server/types/node/mcp/mcp-toggle-manager.d.ts +45 -0
  253. package/cli/dist-server/types/node/mcp/mcp-transport-manager.d.ts +34 -0
  254. package/cli/dist-server/types/node/mcp/mcp-validate-middleware.d.ts +25 -0
  255. package/cli/dist-server/types/node/mcp/node-websocket-transport.d.ts +38 -0
  256. package/cli/dist-server/types/node/mcp/official-mcp-egress-policy.d.ts +17 -0
  257. package/cli/dist-server/types/node/mcp/sdk-mcp-server.d.ts +149 -0
  258. package/cli/dist-server/types/node/mcp/sdk-mcp-transport.d.ts +97 -0
  259. package/cli/dist-server/types/node/memory/conditional-rules-service.d.ts +21 -0
  260. package/cli/dist-server/types/node/memory/glob-matcher.d.ts +16 -0
  261. package/cli/dist-server/types/node/memory/index.d.ts +20 -0
  262. package/cli/dist-server/types/node/memory/memory-age.d.ts +44 -0
  263. package/cli/dist-server/types/node/memory/memory-cache.d.ts +8 -0
  264. package/cli/dist-server/types/node/memory/memory-controller.d.ts +62 -0
  265. package/cli/dist-server/types/node/memory/memory-extraction-prompts.d.ts +11 -0
  266. package/cli/dist-server/types/node/memory/memory-extraction-service.d.ts +56 -0
  267. package/cli/dist-server/types/node/memory/memory-extraction-stop-hook.d.ts +18 -0
  268. package/cli/dist-server/types/node/memory/memory-freshness-post-tool-hook.d.ts +22 -0
  269. package/cli/dist-server/types/node/memory/memory-loader.d.ts +62 -0
  270. package/cli/dist-server/types/node/memory/memory-manager.d.ts +24 -0
  271. package/cli/dist-server/types/node/memory/memory-parser.d.ts +15 -0
  272. package/cli/dist-server/types/node/memory/memory-prompt-builder.d.ts +38 -0
  273. package/cli/dist-server/types/node/memory/memory-protocol.d.ts +235 -0
  274. package/cli/dist-server/types/node/memory/memory-relevance-protocol.d.ts +33 -0
  275. package/cli/dist-server/types/node/memory/memory-relevance-service.d.ts +30 -0
  276. package/cli/dist-server/types/node/memory/memory-scan.d.ts +35 -0
  277. package/cli/dist-server/types/node/memory/memory-types.d.ts +49 -0
  278. package/cli/dist-server/types/node/memory/memory-validator.d.ts +6 -0
  279. package/cli/dist-server/types/node/memory/subdirectory-memory-loader.d.ts +55 -0
  280. package/cli/dist-server/types/node/model/model-protocol.d.ts +22 -0
  281. package/cli/dist-server/types/node/multitask/session-flags.d.ts +110 -0
  282. package/cli/dist-server/types/node/multitask/types.d.ts +123 -0
  283. package/cli/dist-server/types/node/navigation/index.d.ts +2 -0
  284. package/cli/dist-server/types/node/navigation/navigation-manager.d.ts +12 -0
  285. package/cli/dist-server/types/node/navigation/navigation-protocol.d.ts +23 -0
  286. package/cli/dist-server/types/node/notification/notification-protocol.d.ts +19 -0
  287. package/cli/dist-server/types/node/output-style/output-style-protocol.d.ts +60 -0
  288. package/cli/dist-server/types/node/permission/brokered-sandbox/approval-coordinator.d.ts +32 -0
  289. package/cli/dist-server/types/node/permission/brokered-sandbox/host-protocol.d.ts +103 -0
  290. package/cli/dist-server/types/node/permission/canonicalize-command.d.ts +30 -0
  291. package/cli/dist-server/types/node/permission/codebuddy-sandbox-env.d.ts +35 -0
  292. package/cli/dist-server/types/node/permission/directory-trust-service.d.ts +45 -0
  293. package/cli/dist-server/types/node/permission/file-policy-assessment.d.ts +35 -0
  294. package/cli/dist-server/types/node/permission/index.d.ts +16 -0
  295. package/cli/dist-server/types/node/permission/permission-protocol.d.ts +9 -0
  296. package/cli/dist-server/types/node/permission/sandbox-attribution-analyzer.d.ts +108 -0
  297. package/cli/dist-server/types/node/permission/sandbox-audit-service.d.ts +40 -0
  298. package/cli/dist-server/types/node/permission/sandbox-exec-policy-builtin.d.ts +30 -0
  299. package/cli/dist-server/types/node/permission/sandbox-exec-policy-protocol.d.ts +67 -0
  300. package/cli/dist-server/types/node/permission/sandbox-exec-policy.d.ts +13 -0
  301. package/cli/dist-server/types/node/permission/sandbox-orchestrator-protocol.d.ts +239 -0
  302. package/cli/dist-server/types/node/permission/sandbox-orchestrator.d.ts +308 -0
  303. package/cli/dist-server/types/node/permission/sandbox-permission-gateway.d.ts +36 -0
  304. package/cli/dist-server/types/node/permission/sandbox-telemetry-context.d.ts +27 -0
  305. package/cli/dist-server/types/node/permission/sensitive-command-detector.d.ts +71 -0
  306. package/cli/dist-server/types/node/prewarm/prewarm-protocol.d.ts +296 -0
  307. package/cli/dist-server/types/node/product/api-key-helper-product-provider.d.ts +105 -0
  308. package/cli/dist-server/types/node/product/cli-options-product-provider.d.ts +30 -0
  309. package/cli/dist-server/types/node/product/cloud-pre-product-provider.d.ts +76 -0
  310. package/cli/dist-server/types/node/product/config-watch-service.d.ts +201 -0
  311. package/cli/dist-server/types/node/product/craft-to-cli-agent-models-sync-provider.d.ts +16 -0
  312. package/cli/dist-server/types/node/product/custom-agents-product-provider.d.ts +67 -0
  313. package/cli/dist-server/types/node/product/custom-commands-product-provider.d.ts +49 -0
  314. package/cli/dist-server/types/node/product/custom-product-config-provider.d.ts +6 -0
  315. package/cli/dist-server/types/node/product/index.d.ts +21 -0
  316. package/cli/dist-server/types/node/product/internet-enviroment-product-provider.d.ts +61 -0
  317. package/cli/dist-server/types/node/product/mcp-prompt-product-provider.d.ts +17 -0
  318. package/cli/dist-server/types/node/product/mcp-watch-service.d.ts +31 -0
  319. package/cli/dist-server/types/node/product/models-product-provider.d.ts +41 -0
  320. package/cli/dist-server/types/node/product/plugin-product-provider.d.ts +13 -0
  321. package/cli/dist-server/types/node/product/product-capabilities.d.ts +55 -0
  322. package/cli/dist-server/types/node/product/product-config-controller.d.ts +27 -0
  323. package/cli/dist-server/types/node/product/product-env-service.d.ts +20 -0
  324. package/cli/dist-server/types/node/product/product-identity.d.ts +57 -0
  325. package/cli/dist-server/types/node/product/product-protocol.d.ts +7 -0
  326. package/cli/dist-server/types/node/product/sdk-initialize-product-provider.d.ts +17 -0
  327. package/cli/dist-server/types/node/product/settings-endpoint-product-provider.d.ts +20 -0
  328. package/cli/dist-server/types/node/product/skill-product-provider.d.ts +62 -0
  329. package/cli/dist-server/types/node/references/index.d.ts +2 -0
  330. package/cli/dist-server/types/node/references/reference-protocol.d.ts +20 -0
  331. package/cli/dist-server/types/node/references/reference-service.d.ts +42 -0
  332. package/cli/dist-server/types/node/remote-control/remote-control-protocol.d.ts +288 -0
  333. package/cli/dist-server/types/node/runtime/add-dir-middleware.d.ts +13 -0
  334. package/cli/dist-server/types/node/runtime/cli-capabilities.d.ts +28 -0
  335. package/cli/dist-server/types/node/runtime/external-uri-opener.d.ts +8 -0
  336. package/cli/dist-server/types/node/runtime/file-local-storage.d.ts +17 -0
  337. package/cli/dist-server/types/node/runtime/host-capability-provider.d.ts +57 -0
  338. package/cli/dist-server/types/node/runtime/host-detection.d.ts +34 -0
  339. package/cli/dist-server/types/node/runtime/index.d.ts +8 -0
  340. package/cli/dist-server/types/node/runtime/workspace-folder-manager.d.ts +45 -0
  341. package/cli/dist-server/types/node/runtime/workspace.d.ts +5 -0
  342. package/cli/dist-server/types/node/sandbox-cli/sandbox-backend-support.d.ts +7 -0
  343. package/cli/dist-server/types/node/sandbox-cli/sandbox-cli-lifecycle-protocol.d.ts +109 -0
  344. package/cli/dist-server/types/node/sandbox-cli/sandbox-cli-protocol.d.ts +376 -0
  345. package/cli/dist-server/types/node/sandbox-cli/sandbox-rule-sync-service.d.ts +310 -0
  346. package/cli/dist-server/types/node/sandbox-cli/sandbox-session-preparation.d.ts +49 -0
  347. package/cli/dist-server/types/node/sandbox-cli/sandbox-turn-config.d.ts +32 -0
  348. package/cli/dist-server/types/node/sandbox-cli/threat-domain-checker.d.ts +137 -0
  349. package/cli/dist-server/types/node/security-review/gate.d.ts +13 -0
  350. package/cli/dist-server/types/node/security-review/index.d.ts +2 -0
  351. package/cli/dist-server/types/node/security-review/protocol.d.ts +14 -0
  352. package/cli/dist-server/types/node/sensitive-content/index.d.ts +15 -0
  353. package/cli/dist-server/types/node/sensitive-content/managed-cipher-stream-restorer.d.ts +22 -0
  354. package/cli/dist-server/types/node/sensitive-content/sandbox-center-ipc-client-protocol.d.ts +3 -0
  355. package/cli/dist-server/types/node/sensitive-content/sandbox-center-ipc-client.d.ts +7 -0
  356. package/cli/dist-server/types/node/sensitive-content/sandbox-center-port.d.ts +17 -0
  357. package/cli/dist-server/types/node/sensitive-content/sensitive-approval-port.d.ts +22 -0
  358. package/cli/dist-server/types/node/sensitive-content/sensitive-content-mediation.d.ts +6 -0
  359. package/cli/dist-server/types/node/sensitive-content/sensitive-decision-mediation.d.ts +69 -0
  360. package/cli/dist-server/types/node/sensitive-content/sensitive-history-admission.d.ts +42 -0
  361. package/cli/dist-server/types/node/sensitive-content/sensitive-history-replay.d.ts +6 -0
  362. package/cli/dist-server/types/node/sensitive-content/sensitive-local-sideband.d.ts +21 -0
  363. package/cli/dist-server/types/node/sensitive-content/sensitive-model-boundary.d.ts +22 -0
  364. package/cli/dist-server/types/node/sensitive-content/sensitive-protection-metadata.d.ts +7 -0
  365. package/cli/dist-server/types/node/sensitive-content/sensitive-session-grants.d.ts +41 -0
  366. package/cli/dist-server/types/node/sensitive-content/sensitive-tool-egress-guard.d.ts +7 -0
  367. package/cli/dist-server/types/node/sensitive-content/sensitive-user-input-review.d.ts +7 -0
  368. package/cli/dist-server/types/node/sensitive-content/settings-sensitive-protection-policy.d.ts +14 -0
  369. package/cli/dist-server/types/node/server/types.d.ts +11 -2
  370. package/cli/dist-server/types/node/session/index.d.ts +15 -0
  371. package/cli/dist-server/types/node/session/input-history-service.d.ts +47 -0
  372. package/cli/dist-server/types/node/session/input-item-processors.d.ts +70 -0
  373. package/cli/dist-server/types/node/session/session-abort-middleware.d.ts +22 -0
  374. package/cli/dist-server/types/node/session/session-controller.d.ts +126 -0
  375. package/cli/dist-server/types/node/session/session-history-clean-flag.d.ts +2 -0
  376. package/cli/dist-server/types/node/session/session-history-clean-service.d.ts +49 -0
  377. package/cli/dist-server/types/node/session/session-hook-host-adapter.d.ts +21 -0
  378. package/cli/dist-server/types/node/session/session-host-adapter.d.ts +34 -0
  379. package/cli/dist-server/types/node/session/session-http-protocol.d.ts +1 -0
  380. package/cli/dist-server/types/node/session/session-interruption-host-adapter.d.ts +115 -0
  381. package/cli/dist-server/types/node/session/session-manager-host-adapter.d.ts +100 -0
  382. package/cli/dist-server/types/node/session/session-middleware.d.ts +68 -0
  383. package/cli/dist-server/types/node/session/session-response-host-adapter.d.ts +9 -0
  384. package/cli/dist-server/types/node/session/session-store-host-adapter.d.ts +23 -0
  385. package/cli/dist-server/types/node/session/tasks-controller.d.ts +80 -0
  386. package/cli/dist-server/types/node/settings/current-session-model-transition-protocol.d.ts +23 -0
  387. package/cli/dist-server/types/node/settings/current-session-model-transition.d.ts +15 -0
  388. package/cli/dist-server/types/node/settings/index.d.ts +8 -0
  389. package/cli/dist-server/types/node/settings/settings-controller.d.ts +23 -0
  390. package/cli/dist-server/types/node/settings/settings-manager.d.ts +1 -0
  391. package/cli/dist-server/types/node/settings/settings-protocol.d.ts +4 -0
  392. package/cli/dist-server/types/node/settings/settings-validate-middleware.d.ts +9 -0
  393. package/cli/dist-server/types/node/shell/delegating-shell-service.d.ts +44 -0
  394. package/cli/dist-server/types/node/shell/driver-shell-service.d.ts +8 -0
  395. package/cli/dist-server/types/node/shell/index.d.ts +10 -0
  396. package/cli/dist-server/types/node/shell/language-shim-env.d.ts +11 -0
  397. package/cli/dist-server/types/node/shell/output-spiller.d.ts +39 -0
  398. package/cli/dist-server/types/node/shell/powershell-safe-delete.d.ts +16 -0
  399. package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/contract.d.ts +61 -0
  400. package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/index.d.ts +3 -0
  401. package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/marker.d.ts +5 -0
  402. package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/service.d.ts +12 -0
  403. package/cli/dist-server/types/node/shell/safe-delete/index.d.ts +17 -0
  404. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-attribution.d.ts +16 -0
  405. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-bootstrap.d.ts +1 -0
  406. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-env.d.ts +42 -0
  407. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-report.d.ts +18 -0
  408. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-sandbox-helpers.d.ts +39 -0
  409. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-settings.d.ts +42 -0
  410. package/cli/dist-server/types/node/shell/safe-delete/safe-delete-trash-service.d.ts +12 -0
  411. package/cli/dist-server/types/node/shell/shell-protocol.d.ts +287 -0
  412. package/cli/dist-server/types/node/shell/shell-runtime-paths.d.ts +23 -0
  413. package/cli/dist-server/types/node/shell/shell-service.d.ts +257 -0
  414. package/cli/dist-server/types/node/shell/shell-snapshot-protocol.d.ts +75 -0
  415. package/cli/dist-server/types/node/shell/shell-snapshot-service.d.ts +86 -0
  416. package/cli/dist-server/types/node/shell/terminal-serializer.d.ts +26 -0
  417. package/cli/dist-server/types/node/shell/truncate-buffer.d.ts +24 -0
  418. package/cli/dist-server/types/node/shell/windows-process-utils.d.ts +42 -0
  419. package/cli/dist-server/types/node/shortcut/shortcut-protocol.d.ts +41 -0
  420. package/cli/dist-server/types/node/skills/skill-approval.d.ts +31 -0
  421. package/cli/dist-server/types/node/stats/index.d.ts +5 -0
  422. package/cli/dist-server/types/node/stats/insights-protocol.d.ts +59 -0
  423. package/cli/dist-server/types/node/stats/insights-report-service.d.ts +17 -0
  424. package/cli/dist-server/types/node/stats/session-facet-service.d.ts +46 -0
  425. package/cli/dist-server/types/node/stats/stats-protocol.d.ts +145 -0
  426. package/cli/dist-server/types/node/stats/stats-service.d.ts +48 -0
  427. package/cli/dist-server/types/node/telemetry/cost-protocol.d.ts +67 -0
  428. package/cli/dist-server/types/node/telemetry/cost-service.d.ts +21 -0
  429. package/cli/dist-server/types/node/telemetry/extension-info-processor.d.ts +13 -0
  430. package/cli/dist-server/types/node/telemetry/friction-analysis.d.ts +54 -0
  431. package/cli/dist-server/types/node/telemetry/friction-recall-client.d.ts +15 -0
  432. package/cli/dist-server/types/node/telemetry/host-ide-info-processor.d.ts +11 -0
  433. package/cli/dist-server/types/node/telemetry/index.d.ts +21 -0
  434. package/cli/dist-server/types/node/telemetry/logger/index.d.ts +1 -0
  435. package/cli/dist-server/types/node/telemetry/logger/storage-path-provider.d.ts +4 -0
  436. package/cli/dist-server/types/node/telemetry/plugin-telemetry-protocol.d.ts +68 -0
  437. package/cli/dist-server/types/node/telemetry/plugin-telemetry-service.d.ts +31 -0
  438. package/cli/dist-server/types/node/telemetry/qimei-env-detector.d.ts +16 -0
  439. package/cli/dist-server/types/node/telemetry/sandbox-telemetry-protocol.d.ts +164 -0
  440. package/cli/dist-server/types/node/telemetry/sandbox-telemetry-service.d.ts +181 -0
  441. package/cli/dist-server/types/node/telemetry/startup-profiler.d.ts +32 -0
  442. package/cli/dist-server/types/node/telemetry/status-reporter.d.ts +39 -0
  443. package/cli/dist-server/types/node/telemetry/telemetry-client-carrier.d.ts +14 -0
  444. package/cli/dist-server/types/node/telemetry/telemetry-client-info-event-processor.d.ts +8 -0
  445. package/cli/dist-server/types/node/telemetry/telemetry-protocol.d.ts +137 -0
  446. package/cli/dist-server/types/node/telemetry/telemetry-service.d.ts +115 -0
  447. package/cli/dist-server/types/node/telemetry/turn-baggage-processor.d.ts +23 -0
  448. package/cli/dist-server/types/node/telemetry/vcs-event-processor.d.ts +19 -0
  449. package/cli/dist-server/types/node/tips/builtin-tips.d.ts +2 -0
  450. package/cli/dist-server/types/node/tips/index.d.ts +4 -0
  451. package/cli/dist-server/types/node/tips/tips-manager.d.ts +14 -0
  452. package/cli/dist-server/types/node/tips/tips-protocol.d.ts +42 -0
  453. package/cli/dist-server/types/node/tips/user-state-manager.d.ts +25 -0
  454. package/cli/dist-server/types/node/tool-control/index.d.ts +1 -0
  455. package/cli/dist-server/types/node/tool-control/tool-control-policy.d.ts +34 -0
  456. package/cli/dist-server/types/node/tools/a2a-cancel-task-tool.d.ts +55 -0
  457. package/cli/dist-server/types/node/tools/a2a-get-agent-card-tool.d.ts +59 -0
  458. package/cli/dist-server/types/node/tools/a2a-get-task-tool.d.ts +334 -0
  459. package/cli/dist-server/types/node/tools/a2a-send-message-tool.d.ts +168 -0
  460. package/cli/dist-server/types/node/tools/a2a-tool-guards.d.ts +48 -0
  461. package/cli/dist-server/types/node/tools/agent-tool.d.ts +202 -0
  462. package/cli/dist-server/types/node/tools/artifact-control-tool.d.ts +103 -0
  463. package/cli/dist-server/types/node/tools/artifact-tool.d.ts +96 -0
  464. package/cli/dist-server/types/node/tools/ask-user-for-structured-input-tool.d.ts +127 -0
  465. package/cli/dist-server/types/node/tools/ask-user-question-tool.d.ts +237 -0
  466. package/cli/dist-server/types/node/tools/audio-transcribe-service.d.ts +61 -0
  467. package/cli/dist-server/types/node/tools/audio-transcribe-tool.d.ts +66 -0
  468. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-allow-filter.d.ts +33 -0
  469. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-classifier-client.d.ts +230 -0
  470. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-critique-client.d.ts +51 -0
  471. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-defaults.d.ts +16 -0
  472. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-denial-tracker.d.ts +114 -0
  473. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-permission-service.d.ts +51 -0
  474. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-project-instructions.d.ts +26 -0
  475. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-protocol.d.ts +140 -0
  476. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-settings.d.ts +36 -0
  477. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-strategy.d.ts +21 -0
  478. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-system-prompt-builder.d.ts +28 -0
  479. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-timeout.d.ts +16 -0
  480. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-transcript-limit.d.ts +29 -0
  481. package/cli/dist-server/types/node/tools/auto-mode/auto-mode-transcript.d.ts +50 -0
  482. package/cli/dist-server/types/node/tools/auto-mode/index.d.ts +15 -0
  483. package/cli/dist-server/types/node/tools/auto-mode/permission-mode-policy.d.ts +63 -0
  484. package/cli/dist-server/types/node/tools/bash-output-tool.d.ts +34 -0
  485. package/cli/dist-server/types/node/tools/bash-sandbox-approval-requester.d.ts +55 -0
  486. package/cli/dist-server/types/node/tools/bash-tool.d.ts +211 -0
  487. package/cli/dist-server/types/node/tools/brief-mode-service.d.ts +26 -0
  488. package/cli/dist-server/types/node/tools/channel-tasks-tool.d.ts +174 -0
  489. package/cli/dist-server/types/node/tools/computer-use-tool.d.ts +86 -0
  490. package/cli/dist-server/types/node/tools/create-channel-tool.d.ts +82 -0
  491. package/cli/dist-server/types/node/tools/create-colleague-tool.d.ts +64 -0
  492. package/cli/dist-server/types/node/tools/cron-create-tool.d.ts +46 -0
  493. package/cli/dist-server/types/node/tools/cron-delete-tool.d.ts +28 -0
  494. package/cli/dist-server/types/node/tools/cron-list-tool.d.ts +27 -0
  495. package/cli/dist-server/types/node/tools/defer-execute-tool.d.ts +265 -0
  496. package/cli/dist-server/types/node/tools/defer-tool-config-protocol.d.ts +88 -0
  497. package/cli/dist-server/types/node/tools/defer-tool-config-service.d.ts +23 -0
  498. package/cli/dist-server/types/node/tools/deferred-tool-bridge.d.ts +50 -0
  499. package/cli/dist-server/types/node/tools/delegate-tool.d.ts +71 -0
  500. package/cli/dist-server/types/node/tools/edit-tool.d.ts +83 -0
  501. package/cli/dist-server/types/node/tools/enter-planmode-tool.d.ts +29 -0
  502. package/cli/dist-server/types/node/tools/enter-worktree-tool.d.ts +59 -0
  503. package/cli/dist-server/types/node/tools/exit-planmode-tool.d.ts +86 -0
  504. package/cli/dist-server/types/node/tools/file-change-artifact-publisher.d.ts +82 -0
  505. package/cli/dist-server/types/node/tools/glob-tool.d.ts +102 -0
  506. package/cli/dist-server/types/node/tools/grep-tool.d.ts +141 -0
  507. package/cli/dist-server/types/node/tools/image-edit-tool.d.ts +94 -0
  508. package/cli/dist-server/types/node/tools/image-gen-tool.d.ts +107 -0
  509. package/cli/dist-server/types/node/tools/image-service.d.ts +113 -0
  510. package/cli/dist-server/types/node/tools/index.d.ts +109 -0
  511. package/cli/dist-server/types/node/tools/kill-shell-tool.d.ts +27 -0
  512. package/cli/dist-server/types/node/tools/leave-worktree-tool.d.ts +54 -0
  513. package/cli/dist-server/types/node/tools/library-upload-tool.d.ts +70 -0
  514. package/cli/dist-server/types/node/tools/list-colleagues-tool.d.ts +35 -0
  515. package/cli/dist-server/types/node/tools/list-mcp-resources-tool.d.ts +58 -0
  516. package/cli/dist-server/types/node/tools/lsp-tool.d.ts +68 -0
  517. package/cli/dist-server/types/node/tools/main-agent-meta-tools.d.ts +107 -0
  518. package/cli/dist-server/types/node/tools/memory-tool.d.ts +33 -0
  519. package/cli/dist-server/types/node/tools/message-colleague-tool.d.ts +83 -0
  520. package/cli/dist-server/types/node/tools/monitor-tool.d.ts +216 -0
  521. package/cli/dist-server/types/node/tools/multi-edit-tool.d.ts +109 -0
  522. package/cli/dist-server/types/node/tools/notebook-edit-tool.d.ts +75 -0
  523. package/cli/dist-server/types/node/tools/notebook-read-tool.d.ts +55 -0
  524. package/cli/dist-server/types/node/tools/notebook-write-tool.d.ts +7 -0
  525. package/cli/dist-server/types/node/tools/plan-storage-service.d.ts +68 -0
  526. package/cli/dist-server/types/node/tools/powershell-clm-types.d.ts +30 -0
  527. package/cli/dist-server/types/node/tools/powershell-command-semantics.d.ts +23 -0
  528. package/cli/dist-server/types/node/tools/powershell-dangerous-cmdlets.d.ts +72 -0
  529. package/cli/dist-server/types/node/tools/powershell-destructive-warning.d.ts +12 -0
  530. package/cli/dist-server/types/node/tools/powershell-detection.d.ts +51 -0
  531. package/cli/dist-server/types/node/tools/powershell-git-safety.d.ts +60 -0
  532. package/cli/dist-server/types/node/tools/powershell-security.d.ts +93 -0
  533. package/cli/dist-server/types/node/tools/powershell-tool.d.ts +174 -0
  534. package/cli/dist-server/types/node/tools/produced-artifact-report.d.ts +35 -0
  535. package/cli/dist-server/types/node/tools/push-notification-tool.d.ts +55 -0
  536. package/cli/dist-server/types/node/tools/read-file-state-service.d.ts +27 -0
  537. package/cli/dist-server/types/node/tools/read-mcp-resource-tool.d.ts +71 -0
  538. package/cli/dist-server/types/node/tools/read-tool.d.ts +71 -0
  539. package/cli/dist-server/types/node/tools/repl/index.d.ts +10 -0
  540. package/cli/dist-server/types/node/tools/repl/repl-bridge-broker.d.ts +150 -0
  541. package/cli/dist-server/types/node/tools/repl/repl-bridge-host.d.ts +29 -0
  542. package/cli/dist-server/types/node/tools/repl/repl-catalog-protocol.d.ts +149 -0
  543. package/cli/dist-server/types/node/tools/repl/repl-catalog-render.d.ts +56 -0
  544. package/cli/dist-server/types/node/tools/repl/repl-catalog-source.d.ts +108 -0
  545. package/cli/dist-server/types/node/tools/repl/repl-import-rewrite.d.ts +17 -0
  546. package/cli/dist-server/types/node/tools/repl/repl-protocol.d.ts +210 -0
  547. package/cli/dist-server/types/node/tools/repl/repl-tool.d.ts +142 -0
  548. package/cli/dist-server/types/node/tools/repl/repl-worker-manager.d.ts +103 -0
  549. package/cli/dist-server/types/node/tools/repl/repl-worker-source.d.ts +16 -0
  550. package/cli/dist-server/types/node/tools/repl/repl-worker-source.generated.d.ts +2 -0
  551. package/cli/dist-server/types/node/tools/report-findings-tool.d.ts +97 -0
  552. package/cli/dist-server/types/node/tools/sandbox-approval-review.d.ts +40 -0
  553. package/cli/dist-server/types/node/tools/sandbox-permission-file-tool.d.ts +14 -0
  554. package/cli/dist-server/types/node/tools/sandbox-write-rule-guard.d.ts +126 -0
  555. package/cli/dist-server/types/node/tools/send-message-tool.d.ts +116 -0
  556. package/cli/dist-server/types/node/tools/send-user-message-attachments.d.ts +22 -0
  557. package/cli/dist-server/types/node/tools/send-user-message-tool.d.ts +60 -0
  558. package/cli/dist-server/types/node/tools/shell-stream-pusher.d.ts +25 -0
  559. package/cli/dist-server/types/node/tools/skill-manage-tool.d.ts +77 -0
  560. package/cli/dist-server/types/node/tools/skill-tool.d.ts +129 -0
  561. package/cli/dist-server/types/node/tools/slash-command-tool.d.ts +51 -0
  562. package/cli/dist-server/types/node/tools/space-upload/errors.d.ts +14 -0
  563. package/cli/dist-server/types/node/tools/space-upload/index.d.ts +4 -0
  564. package/cli/dist-server/types/node/tools/space-upload/local-file-source.d.ts +33 -0
  565. package/cli/dist-server/types/node/tools/space-upload/types.d.ts +65 -0
  566. package/cli/dist-server/types/node/tools/space-upload/upload-file.d.ts +27 -0
  567. package/cli/dist-server/types/node/tools/speak-in-channel-tool.d.ts +182 -0
  568. package/cli/dist-server/types/node/tools/structured-output-tool.d.ts +43 -0
  569. package/cli/dist-server/types/node/tools/task-create-tool.d.ts +71 -0
  570. package/cli/dist-server/types/node/tools/task-get-tool.d.ts +31 -0
  571. package/cli/dist-server/types/node/tools/task-list-tool.d.ts +20 -0
  572. package/cli/dist-server/types/node/tools/task-output-tool.d.ts +142 -0
  573. package/cli/dist-server/types/node/tools/task-stop-tool.d.ts +61 -0
  574. package/cli/dist-server/types/node/tools/task-storage-service.d.ts +161 -0
  575. package/cli/dist-server/types/node/tools/task-update-tool.d.ts +79 -0
  576. package/cli/dist-server/types/node/tools/team-create-tool.d.ts +84 -0
  577. package/cli/dist-server/types/node/tools/team-delete-tool.d.ts +38 -0
  578. package/cli/dist-server/types/node/tools/todo-storage-service.d.ts +48 -0
  579. package/cli/dist-server/types/node/tools/todo-write-tool.d.ts +117 -0
  580. package/cli/dist-server/types/node/tools/tool-always-approval-service.d.ts +73 -0
  581. package/cli/dist-server/types/node/tools/tool-argument-rewrite-service.d.ts +4 -0
  582. package/cli/dist-server/types/node/tools/tool-error-codes.d.ts +140 -0
  583. package/cli/dist-server/types/node/tools/tool-hook-manager.d.ts +61 -0
  584. package/cli/dist-server/types/node/tools/tool-manager.d.ts +585 -0
  585. package/cli/dist-server/types/node/tools/tool-permission-service.d.ts +145 -0
  586. package/cli/dist-server/types/node/tools/tool-permission-strategy.d.ts +83 -0
  587. package/cli/dist-server/types/node/tools/tool-protocol.d.ts +2 -0
  588. package/cli/dist-server/types/node/tools/tool-risk-review/content-history-admission.d.ts +10 -0
  589. package/cli/dist-server/types/node/tools/tool-risk-review/content-review.d.ts +56 -0
  590. package/cli/dist-server/types/node/tools/tool-risk-review/execution-approval-adapter.d.ts +11 -0
  591. package/cli/dist-server/types/node/tools/tool-risk-review/index.d.ts +7 -0
  592. package/cli/dist-server/types/node/tools/tool-risk-review/mcp-permission-review.d.ts +15 -0
  593. package/cli/dist-server/types/node/tools/tool-risk-review/mcp-projector.d.ts +5 -0
  594. package/cli/dist-server/types/node/tools/tool-risk-review/permission-metadata.d.ts +8 -0
  595. package/cli/dist-server/types/node/tools/tool-risk-review/projector-registry.d.ts +22 -0
  596. package/cli/dist-server/types/node/tools/tool-risk-review/projectors/index.d.ts +5 -0
  597. package/cli/dist-server/types/node/tools/tool-risk-review/prompt.d.ts +6 -0
  598. package/cli/dist-server/types/node/tools/tool-risk-review/protocol.d.ts +231 -0
  599. package/cli/dist-server/types/node/tools/tool-risk-review/review-context-build.d.ts +2 -0
  600. package/cli/dist-server/types/node/tools/tool-risk-review/review-context.d.ts +42 -0
  601. package/cli/dist-server/types/node/tools/tool-risk-review/review-runtime.d.ts +6 -0
  602. package/cli/dist-server/types/node/tools/tool-risk-review/reviewer-client-impl.d.ts +3 -0
  603. package/cli/dist-server/types/node/tools/tool-risk-review/reviewer-client.d.ts +37 -0
  604. package/cli/dist-server/types/node/tools/tool-risk-review/scope.d.ts +6 -0
  605. package/cli/dist-server/types/node/tools/tool-risk-review/service.d.ts +75 -0
  606. package/cli/dist-server/types/node/tools/tool-risk-review/session-state.d.ts +49 -0
  607. package/cli/dist-server/types/node/tools/tool-risk-review/trusted-builtin-code.d.ts +25 -0
  608. package/cli/dist-server/types/node/tools/tool-search-protocol.d.ts +286 -0
  609. package/cli/dist-server/types/node/tools/tool-search-service.d.ts +137 -0
  610. package/cli/dist-server/types/node/tools/tool-search-tool.d.ts +103 -0
  611. package/cli/dist-server/types/node/tools/tool-spec/agent-tool-defer-overlay-cache.d.ts +45 -0
  612. package/cli/dist-server/types/node/tools/tool-spec/index.d.ts +6 -0
  613. package/cli/dist-server/types/node/tools/tool-spec/legacy-ide-tool-names.d.ts +2 -0
  614. package/cli/dist-server/types/node/tools/tool-spec/tool-defer-overlay.d.ts +70 -0
  615. package/cli/dist-server/types/node/tools/tool-spec/tool-spec-augment.d.ts +17 -0
  616. package/cli/dist-server/types/node/tools/tool-spec/tool-spec-parser.d.ts +38 -0
  617. package/cli/dist-server/types/node/tools/tool-spec/tool-spec-protocol.d.ts +83 -0
  618. package/cli/dist-server/types/node/tools/video-gen-tool.d.ts +88 -0
  619. package/cli/dist-server/types/node/tools/video-service.d.ts +57 -0
  620. package/cli/dist-server/types/node/tools/wait-for-mcp-servers-tool.d.ts +79 -0
  621. package/cli/dist-server/types/node/tools/web-fetch-tool.d.ts +164 -0
  622. package/cli/dist-server/types/node/tools/web-search-tool.d.ts +79 -0
  623. package/cli/dist-server/types/node/tools/wechat-reply-tool.d.ts +43 -0
  624. package/cli/dist-server/types/node/tools/wecom-reply-tool.d.ts +65 -0
  625. package/cli/dist-server/types/node/tools/workflow-background-task.d.ts +54 -0
  626. package/cli/dist-server/types/node/tools/workflow-tool.d.ts +83 -0
  627. package/cli/dist-server/types/node/tools/write-tool.d.ts +80 -0
  628. package/cli/dist-server/types/node/trace/trace-collector-protocol.d.ts +203 -0
  629. package/cli/dist-server/types/node/utils/installation-utils.d.ts +35 -0
  630. package/cli/dist-server/types/node/utils/osc-protocol-utils.d.ts +209 -0
  631. package/cli/dist-server/types/node/utils/process-identity.d.ts +40 -0
  632. package/cli/dist-server/types/node/utils/security-audit-log.d.ts +134 -0
  633. package/cli/dist-server/types/node/utils/terminal-detector-utils.d.ts +78 -0
  634. package/cli/dist-server/types/node/vim/index.d.ts +2 -0
  635. package/cli/dist-server/types/node/vim/vim-manager.d.ts +12 -0
  636. package/cli/dist-server/types/node/vim/vim-protocol.d.ts +24 -0
  637. package/cli/dist-server/types/vendor/cbc-core/node/agent/agent-protocol.d.ts +12 -2
  638. package/cli/dist-server/types/vendor/cbc-core/node/agent/reviewer-recovery.d.ts +7 -0
  639. package/cli/dist-server/types/vendor/cbc-core/node/context/mods-bridge.d.ts +38 -2
  640. package/cli/dist-server/types/vendor/cbc-core/node/session/background-task-protocol.d.ts +14 -0
  641. package/cli/dist-server/types/vendor/cbc-core/node/session/interruption-service.d.ts +4 -0
  642. package/cli/dist-server/types/vendor/cbc-core/node/session/session-hook-host-protocol.d.ts +2 -1
  643. package/cli/dist-server/types/vendor/cbc-core/node/session/session-interruption-host-protocol.d.ts +3 -0
  644. package/cli/dist-server/types/vendor/cbc-core/node/session/session-protocol.d.ts +8 -2
  645. package/cli/dist-server/types/vendor/cbc-core/node/session/session-store.d.ts +59 -7
  646. package/cli/dist-server/types/vendor/cbc-core/node/session/truncation-recovery.d.ts +8 -0
  647. package/cli/dist-server/types/vendor/cbc-core/node/session-title/session-title-utils.d.ts +36 -0
  648. package/cli/dist-server/types/vendor/cbc-core/node/utils/history-utils.d.ts +37 -9
  649. package/cli/dist-server/types/vendor/cbc-core/node/utils/input-item-utils.d.ts +28 -0
  650. package/cli/dist-server/types/vendor/cbc-core/node/utils/message-utils.d.ts +1 -0
  651. package/cli/dist-server/types/vendor/cbc-core/node/utils/model-utils.d.ts +9 -5
  652. package/cli/dist-server/types/vendor/cbc-shared/node/agent/custom-input-item-types.d.ts +20 -0
  653. package/cli/dist-server/types/vendor/cbc-shared/node/agent/openai-agents-types.d.ts +2 -2
  654. package/cli/dist-server/types/vendor/cbc-shared/node/index.d.ts +1 -0
  655. package/cli/dist-server/types/vendor/cbc-shared/node/model/model-errors.d.ts +23 -6
  656. package/cli/dist-server/types/vendor/cbc-shared/node/tools/tool-names.d.ts +2 -0
  657. package/cli/dist-server/types/vendor/cbc-shared/node/utils/concurrency-utils.d.ts +5 -0
  658. package/cli/dist-server/types/workspace/agent-client-protocol/lib/common/prompt-codec.d.ts +2 -0
  659. package/cli/dist-server/types/workspace/agent-client-protocol/lib/common/security-review-reason-code.d.ts +0 -10
  660. package/cli/dist-server/types/workspace/cbc-checkpoint/lib/node/checkpoint/checkpoint-path-utils.d.ts +10 -0
  661. package/cli/dist-server/types/workspace/cbc-checkpoint/lib/node/checkpoint/checkpoint-service.d.ts +2 -0
  662. package/cli/dist-server/types/workspace/cbc-core/lib/node/agent/agent-protocol.d.ts +12 -2
  663. package/cli/dist-server/types/workspace/cbc-core/lib/node/agent/reviewer-recovery.d.ts +7 -0
  664. package/cli/dist-server/types/workspace/cbc-core/lib/node/context/mods-bridge.d.ts +38 -2
  665. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/background-task-protocol.d.ts +14 -0
  666. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/interruption-service.d.ts +4 -0
  667. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-hook-host-protocol.d.ts +2 -1
  668. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-interruption-host-protocol.d.ts +3 -0
  669. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-protocol.d.ts +8 -2
  670. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-store.d.ts +59 -7
  671. package/cli/dist-server/types/workspace/cbc-core/lib/node/session/truncation-recovery.d.ts +8 -0
  672. package/cli/dist-server/types/workspace/cbc-core/lib/node/session-title/session-title-utils.d.ts +36 -0
  673. package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/history-utils.d.ts +37 -9
  674. package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/input-item-utils.d.ts +28 -0
  675. package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/message-utils.d.ts +1 -0
  676. package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/model-utils.d.ts +9 -5
  677. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-parser.d.ts +34 -0
  678. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-protocol.d.ts +191 -0
  679. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-scheduler-service.d.ts +131 -0
  680. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-scheduler.d.ts +20 -0
  681. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-state-manager.d.ts +50 -0
  682. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-storage.d.ts +61 -0
  683. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-task-session.d.ts +1 -0
  684. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/index.d.ts +8 -0
  685. package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/loop-skill-provider.d.ts +36 -0
  686. package/cli/dist-server/types/workspace/cbc-cron/lib/node/index.d.ts +10 -0
  687. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/bg-session-handler.d.ts +88 -0
  688. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-auto-restart.d.ts +61 -0
  689. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-channel-autoconnect.d.ts +28 -0
  690. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-enhancements-lifecycle.d.ts +45 -0
  691. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-process.d.ts +77 -0
  692. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-protocol.d.ts +324 -0
  693. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-service.d.ts +45 -0
  694. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/index.d.ts +10 -0
  695. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/session-registry.d.ts +39 -0
  696. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/system-service.d.ts +60 -0
  697. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/wake-detector.d.ts +47 -0
  698. package/cli/dist-server/types/workspace/cbc-daemon/lib/node/index.d.ts +11 -0
  699. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-format.d.ts +25 -0
  700. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-policy.d.ts +55 -0
  701. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-protocol.d.ts +204 -0
  702. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-service.d.ts +353 -0
  703. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-session-start-hook.d.ts +25 -0
  704. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-utils.d.ts +23 -0
  705. package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/index.d.ts +6 -0
  706. package/cli/dist-server/types/workspace/cbc-goal/lib/node/index.d.ts +12 -0
  707. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/index.d.ts +35 -0
  708. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/index.d.ts +14 -0
  709. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/sec-default.d.ts +32 -0
  710. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/telemetry.d.ts +43 -0
  711. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/enable-flag.d.ts +41 -0
  712. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/engine-builder.d.ts +61 -0
  713. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/hooks-registry.d.ts +188 -0
  714. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/index.d.ts +6 -0
  715. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/mods-runtime.d.ts +101 -0
  716. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/op-table.d.ts +37 -0
  717. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/pattern.d.ts +20 -0
  718. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/core-handler.d.ts +78 -0
  719. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/host-bindings.d.ts +215 -0
  720. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/index.d.ts +6 -0
  721. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/plugin-store.d.ts +22 -0
  722. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/render-component.d.ts +115 -0
  723. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/render-registry.d.ts +99 -0
  724. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/terminal-play.d.ts +56 -0
  725. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/index.d.ts +9 -0
  726. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/fan-out.d.ts +23 -0
  727. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/hook-result-mapper.d.ts +27 -0
  728. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/index.d.ts +2 -0
  729. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/bootstrap.d.ts +104 -0
  730. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/bundle-cache.d.ts +59 -0
  731. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/index.d.ts +8 -0
  732. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/isolated-import.d.ts +20 -0
  733. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/load-mod.d.ts +151 -0
  734. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/manifest-dir.d.ts +33 -0
  735. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/mounted-import.d.ts +12 -0
  736. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/ts-runtime.d.ts +64 -0
  737. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/types-emitter.d.ts +105 -0
  738. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/testing/harness.d.ts +84 -0
  739. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/testing/index.d.ts +1 -0
  740. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/agent.d.ts +188 -0
  741. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/command.d.ts +114 -0
  742. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/prompt.d.ts +310 -0
  743. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/tool.d.ts +308 -0
  744. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/upstream.d.ts +8777 -0
  745. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events.d.ts +651 -0
  746. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/index.d.ts +1 -0
  747. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/concurrency.d.ts +1 -0
  748. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/dependency-resolver.d.ts +43 -0
  749. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/directory-plugin-cache-projection.d.ts +2 -0
  750. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/guards/index.d.ts +2 -0
  751. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/guards/weixinpay-integrity-guard.d.ts +48 -0
  752. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/index.d.ts +42 -0
  753. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/git-plugin-installer.d.ts +42 -0
  754. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/git-subdir-plugin-installer.d.ts +19 -0
  755. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/index.d.ts +4 -0
  756. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/local-plugin-installer.d.ts +40 -0
  757. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/npm-plugin-installer.d.ts +23 -0
  758. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/agent-loader.d.ts +43 -0
  759. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/command-loader.d.ts +39 -0
  760. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/hook-loader.d.ts +55 -0
  761. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/index.d.ts +8 -0
  762. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/lsp-loader.d.ts +47 -0
  763. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/mcp-loader.d.ts +75 -0
  764. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/output-style-loader.d.ts +49 -0
  765. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/plugin-loader-manager.d.ts +73 -0
  766. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/skill-loader.d.ts +45 -0
  767. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-name-validator.d.ts +50 -0
  768. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-path-safety.d.ts +86 -0
  769. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/base-marketplace.d.ts +48 -0
  770. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/builtin-marketplace-provider.d.ts +47 -0
  771. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/directory-marketplace.d.ts +19 -0
  772. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-availability-detector.d.ts +62 -0
  773. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-fallback-coordinator.d.ts +42 -0
  774. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-to-zip-url-converter.d.ts +50 -0
  775. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/github-marketplace.d.ts +41 -0
  776. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/http-marketplace.d.ts +47 -0
  777. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/index.d.ts +13 -0
  778. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-config-manager.d.ts +43 -0
  779. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-factory.d.ts +12 -0
  780. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-storage.d.ts +142 -0
  781. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-update-checker.d.ts +41 -0
  782. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/zip-marketplace.d.ts +150 -0
  783. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/mcpb-handler.d.ts +29 -0
  784. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-controller.d.ts +77 -0
  785. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-environment.d.ts +36 -0
  786. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-error-collector.d.ts +17 -0
  787. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-install-stats-service.d.ts +20 -0
  788. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-manager.d.ts +765 -0
  789. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-mcp-snapshot.d.ts +63 -0
  790. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-options-storage.d.ts +87 -0
  791. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-policy-service.d.ts +55 -0
  792. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-protocol.d.ts +1567 -0
  793. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-read-summary.d.ts +61 -0
  794. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-runtime-refresh-service.d.ts +262 -0
  795. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-validator.d.ts +48 -0
  796. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/session-plugin-snapshot.d.ts +5 -0
  797. package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/zip-utils.d.ts +94 -0
  798. package/cli/dist-server/types/workspace/cbc-shared/lib/node/agent/custom-input-item-types.d.ts +20 -0
  799. package/cli/dist-server/types/workspace/cbc-shared/lib/node/agent/openai-agents-types.d.ts +2 -2
  800. package/cli/dist-server/types/workspace/cbc-shared/lib/node/index.d.ts +1 -0
  801. package/cli/dist-server/types/workspace/cbc-shared/lib/node/model/model-errors.d.ts +23 -6
  802. package/cli/dist-server/types/workspace/cbc-shared/lib/node/tools/tool-names.d.ts +2 -0
  803. package/cli/dist-server/types/workspace/cbc-shared/lib/node/utils/concurrency-utils.d.ts +5 -0
  804. package/cli/dist-server/types/workspace/code-ratio/lib/common/code-ratio-protocol.d.ts +124 -0
  805. package/cli/dist-server/types/workspace/code-ratio/lib/common/code-ratio-reporter.d.ts +57 -0
  806. package/cli/dist-server/types/workspace/code-ratio/lib/common/diff/unified-diff.d.ts +37 -0
  807. package/cli/dist-server/types/workspace/code-ratio/lib/common/feature-gate.d.ts +59 -0
  808. package/cli/dist-server/types/workspace/code-ratio/lib/common/filters/file-filter.d.ts +41 -0
  809. package/cli/dist-server/types/workspace/code-ratio/lib/common/index.d.ts +6 -0
  810. package/cli/dist-server/types/workspace/code-ratio/lib/common/vcs-repo-resolver-protocol.d.ts +50 -0
  811. package/cli/dist-server/types/workspace/product/lib/common/index.d.ts +1 -0
  812. package/cli/dist-server/types/workspace/product/lib/common/repo-params.d.ts +14 -0
  813. package/cli/dist-server/types/workspace/product/lib/common/types/features.d.ts +69 -44
  814. package/cli/dist-server/types/workspace/product/lib/common/types/language-model.d.ts +6 -1
  815. package/cli/dist-server/types/workspace/sandbox-cli/lib/common/protocol.generated.d.ts +392 -0
  816. package/cli/dist-server/types/workspace/sandbox-cli/lib/node/file-policy.d.ts +48 -0
  817. package/cli/dist-server/types/workspace/sandbox-cli/lib/node/resolver.d.ts +95 -0
  818. package/cli/dist-server/types/workspace/sandbox-cli/lib/node/sandbox-cli-client.d.ts +78 -0
  819. package/cli/dist-server/types/workspace/telemetry/lib/common/event/types/security-review.d.ts +35 -6
  820. package/cli/dist-server/types/workspace/telemetry/lib/common/tracing/index.d.ts +1 -1
  821. package/cli/dist-server/types/workspace/telemetry/lib/common/tracing/otel-env.d.ts +1 -0
  822. package/cli/package.json +1 -1
  823. package/cli/product.cloudhosted.json +1 -1
  824. package/cli/product.internal.json +1 -1
  825. package/cli/product.ioa.json +1 -1
  826. package/cli/product.json +1 -1
  827. package/cli/product.selfhosted.json +1 -1
  828. package/docs/client.md +62 -0
  829. package/docs/in-process.md +151 -14
  830. package/docs/server.md +40 -1
  831. package/executor/lib/capsule/THIRD_PARTY_LICENSES.md +2 -2
  832. package/executor/lib/capsule/entry.mjs +8 -8
  833. package/executor/lib/capsule/manifest.json +2 -2
  834. package/executor/lib/private-protocol.cjs +33 -2
  835. package/executor/lib/private-protocol.d.cts +21 -1
  836. package/executor/lib/types.d.cts +15 -0
  837. package/lib/agent/v2.d.ts +1 -1
  838. package/lib/agent/v2.js +1 -1
  839. package/lib/application/services.d.ts +13 -1
  840. package/lib/application/services.js +1 -1
  841. package/lib/cli/main.js +3 -3
  842. package/lib/client/rpc.d.ts +16 -0
  843. package/lib/components/functional-hooks.d.mts +4 -0
  844. package/lib/components/functional-hooks.mjs +1 -0
  845. package/lib/harness/create-harness.js +1 -1
  846. package/lib/harness/hooks.d.ts +8 -0
  847. package/lib/harness/hooks.js +1 -0
  848. package/lib/harness/runtime.js +1 -1
  849. package/lib/harness/types.d.ts +7 -2
  850. package/lib/integration/agent-integration.d.ts +5 -1
  851. package/lib/integration/agent-integration.js +1 -1
  852. package/lib/integration/client-mcp-attachment.d.ts +5 -1
  853. package/lib/integration/client-mcp-attachment.js +1 -1
  854. package/lib/integration/executor-supervisor.d.ts +10 -1
  855. package/lib/integration/executor-supervisor.js +1 -1
  856. package/lib/integration/session-mcp-scope.d.ts +5 -1
  857. package/lib/integration/session-mcp-scope.js +1 -1
  858. package/lib/integration/session-mcp-view.d.ts +6 -1
  859. package/lib/integration/session-mcp-view.js +1 -1
  860. package/lib/mcp-server/module.d.ts +22 -2
  861. package/lib/mcp-server/module.js +1 -1
  862. package/lib/mcp-server/rpcs.d.ts +174 -123
  863. package/lib/mcp-server/rpcs.js +1 -1
  864. package/lib/mcp-server/schemas.d.ts +33 -0
  865. package/lib/mcp-server/schemas.js +1 -1
  866. package/lib/protocol/rpc.d.ts +73 -3
  867. package/lib/public.d.ts +1 -1
  868. package/package.json +24 -20
@@ -0,0 +1,124 @@
1
+ import { ChangeType, CodeChangeSource, CommitDiffFile, VcsType } from '../../../telemetry/lib/common/index.js';
2
+ /**
3
+ * AI 代码入库率统一采集入口。
4
+ *
5
+ * 业务侧(completion / NES / Inline Chat / Chat Apply / Agent / agent-cli 等)
6
+ * 在 AI 代码真正进入文件后调用本服务,由它统一完成:
7
+ *
8
+ * 1. 部署层 + 客户层能力开关判断(任一为否直接 return,零开销);
9
+ * 2. 二进制、空变更过滤,大 diff 截断;
10
+ * 3. 用 oldContent / newContent 生成对外协议 v1.0 的 unified diff;
11
+ * 4. 组装并上报 `Events.CodeChangeEvent`(telemetry 通道,最终落 ClickHouse 的 change/codeDiff 行)。
12
+ *
13
+ * 后端归因(T16)只消费 `code_change_event.codeDiff` + `commit_observed.addedLines`,
14
+ * 不再需要端侧维护 ai_edit_log_entry / ai_edit_log_batch。
15
+ *
16
+ * 调用方约定:
17
+ * - 失败由 reporter 内部吞掉(只打日志),绝不抛给业务,避免影响 AI 写代码的主流程。
18
+ * - 入参允许只提供 newContent;oldContent 缺失时 reporter 会尝试用 fileReader 读取(工厂注入)。
19
+ *
20
+ * 参考:
21
+ * - 实施方案 https://iwiki.woa.com/p/4020266859
22
+ * - 任务拆分 https://iwiki.woa.com/p/4020267027 (T3)
23
+ * - T16 归因算法 https://iwiki.woa.com/p/4020543962
24
+ */
25
+ export declare const CodeRatioReporter: unique symbol;
26
+ /**
27
+ * 业务侧上报 AI 代码变更时的入参。
28
+ *
29
+ * - `oldContent` 可省略,未提供时 reporter 会尝试通过注入的 fileReader 读取
30
+ * accept 前的内容(CLI / 没有现成 before 缓存的场景)。
31
+ * - `filePath` 必须是仓库相对路径(POSIX 风格);reporter 不做相对路径换算,
32
+ * 由调用方在已知仓库根目录下完成相对化。
33
+ */
34
+ export interface RecordAIChangeInput {
35
+ /** 端侧 source 枚举,细粒度,最终由 reporter 映射到对外协议 genMethod */
36
+ source: CodeChangeSource;
37
+ /** 仓库相对路径(POSIX 风格),不接受绝对路径 */
38
+ filePath: string;
39
+ /** 文件变更类型,与 oldContent / newContent 的语义保持一致 */
40
+ changeType: ChangeType;
41
+ /** VCS 类型;缺省为 git,SVN 仓库填 svn。 */
42
+ vcsType?: VcsType;
43
+ /** 仓库远端 URL(已脱敏,无 token / 无凭据) */
44
+ repoUrl: string;
45
+ /** 当前分支名 */
46
+ repoBranch: string;
47
+ /** AI 写入前的文件内容;缺省时 reporter 会用 fileReader 兜底读取 */
48
+ oldContent?: string;
49
+ /** AI 写入后的文件内容(必填) */
50
+ newContent: string;
51
+ /** 是否被用户拒绝;reject 路径会被 reporter 直接跳过,不上报 */
52
+ rejected?: boolean;
53
+ /** 关联工具调用 ID(agent / chat apply / inline chat 等可填) */
54
+ toolCallId?: string;
55
+ /** 工具名(agent: writeToFile / replaceInFile / deleteFiles 等) */
56
+ toolName?: string;
57
+ /** 关联会话 ID */
58
+ conversationId?: string;
59
+ /** 模型 ID */
60
+ modelId?: string;
61
+ /** 模型名称 */
62
+ modelName?: string;
63
+ /** trace ID,用于跨事件关联 */
64
+ traceId?: string;
65
+ }
66
+ /**
67
+ * commit observer 输入。watcher 端在监听到 git commit 后调用本入口上报。
68
+ */
69
+ export interface ObserveCommitInput {
70
+ /** VCS 类型;缺省为 git,SVN watcher 填 svn。 */
71
+ vcsType?: VcsType;
72
+ commitId: string;
73
+ /** ISO 8601 带时区,对外协议要求 */
74
+ committedAt: string;
75
+ repoUrl: string;
76
+ repoBranch: string;
77
+ /** 仓库稳定 ID(git first commit SHA) */
78
+ repoFirstCommit?: string;
79
+ files: CommitDiffFile[];
80
+ traceId?: string;
81
+ }
82
+ /**
83
+ * 单次 recordAIChange 的处理结果。reporter 会吞掉异常,但仍通过返回值告诉业务
84
+ * 是否真的上报,方便业务做行为漏斗 / 调试日志(不要求业务消费)。
85
+ */
86
+ export interface RecordAIChangeResult {
87
+ /** 是否触发了实际上报;false 表示被开关、过滤或异常拦下 */
88
+ reported: boolean;
89
+ /** 跳过原因;reported=true 时为 undefined */
90
+ skipReason?: SkipReason;
91
+ }
92
+ export type SkipReason = 'feature-disabled' | 'binary-content' | 'empty-change' | 'invalid-input' | 'rejected' | 'internal-error';
93
+ /**
94
+ * AI 代码入库率统一采集入口。
95
+ */
96
+ export interface CodeRatioReporter {
97
+ /**
98
+ * AI 代码进入文件后立即调用,对应对外协议 `change/codeDiff` 行。
99
+ *
100
+ * 内部链路:
101
+ * feature-gate 判断 → 过滤 → unified diff 生成 → 组装 telemetry payload →
102
+ * 上报 `Events.CodeChangeEvent`。
103
+ *
104
+ * 失败不抛错;业务可忽略返回值。
105
+ */
106
+ recordAIChange(input: RecordAIChangeInput): Promise<RecordAIChangeResult>;
107
+ /**
108
+ * commit 观察入口;T8 接入 git commit watcher 后由 watcher 调用。
109
+ */
110
+ observeCommit(input: ObserveCommitInput): Promise<void>;
111
+ }
112
+ /**
113
+ * 端侧文件读取器抽象。允许在不依赖 vscode / fs 的前提下让 reporter 读 oldContent。
114
+ * 业务能直接传 oldContent 时不会走到这里;只有 oldContent 缺失时 reporter
115
+ * 才会调用 readFile。
116
+ */
117
+ export declare const CodeRatioFileReader: unique symbol;
118
+ export interface CodeRatioFileReader {
119
+ /**
120
+ * 根据仓库相对路径读取当前文件内容;读失败返回 undefined(不抛错),
121
+ * reporter 会按 invalid-input 跳过。
122
+ */
123
+ readFile(filePath: string): Promise<string | undefined>;
124
+ }
@@ -0,0 +1,57 @@
1
+ import { Logger } from '@celljs/core';
2
+ import { ProductManager } from '../../../product/lib/common/index.js';
3
+ import { EventService, GenMethod } from '../../../telemetry/lib/common/index.js';
4
+ import { CodeRatioFileReader, CodeRatioReporter, ObserveCommitInput, RecordAIChangeInput, RecordAIChangeResult } from './code-ratio-protocol.js';
5
+ /**
6
+ * 入库率统一采集入口的实现。
7
+ *
8
+ * 设计原则:
9
+ *
10
+ * 1. **零开销关闭**:`isCodeAdoptionRateEnabled()` 为 false 时,所有入口
11
+ * 首检直接 return,不读文件、不生成 diff、不上报。
12
+ * 2. **绝不打扰主流程**:所有外部调用(fileReader / EventService)
13
+ * 都被 try/catch 包住,失败只记 logger 并返回 reported=false。
14
+ * 3. **类型对齐对外协议**:通过 `@genie/telemetry` 的 `buildCodeChangeEvent`
15
+ * 统一组装 telemetry payload + `genCodeDesc`,避免业务侧拼协议 JSON。
16
+ *
17
+ * T16/S6 之后,归因路径完全靠 `code_change_event.codeDiff` + `commit_observed.addedLines`:
18
+ * 端侧不再写任何 ai_edit_log_entry / ai_edit_log_batch,本类相应移除了 journal 入口。
19
+ */
20
+ export declare class CodeRatioReporterImpl implements CodeRatioReporter {
21
+ protected readonly productManager: ProductManager;
22
+ protected readonly eventService: EventService;
23
+ protected readonly logger: Logger;
24
+ protected readonly fileReader?: CodeRatioFileReader;
25
+ /** unified diff 截断阈值;后续可由远端配置覆盖(T7+) */
26
+ protected readonly maxDiffBytes: number;
27
+ /**
28
+ * 已上报过的 commit 去重集合,key = `${repoUrl}::${commitId}`。
29
+ *
30
+ * 背景:fusion 原生宿主(Xcode/VS/JetBrains)下,同一个 commit 会经【两条路径】
31
+ * 各调一次 {@link observeCommit}:
32
+ * 1) native `$acceptDidCommit` 在 fusion 里的 direct 兜底上报;
33
+ * 2) `MainThreadVscodeGitService.fireDidCommit` → vscode.git `onDidCommit`
34
+ * → plugin-core `GitCommitWatcher` 的上报。
35
+ * 这两条路径各自维护进程内去重 Set,互不知晓,导致 `commit_observed` 被重复上报。
36
+ * 由于所有路径(含 svn `SvnCommitWatcher`、observeCommit 命令)最终都汇聚到本
37
+ * 单例的 {@link observeCommit},这里在统一出口按 (repoUrl, commitId) 收敛:
38
+ * 先到先报、后到的 skip,彻底消除多路径重复。
39
+ */
40
+ private readonly recentlyObservedCommits;
41
+ /** {@link recentlyObservedCommits} 的 LRU 上限,超出后淘汰最早的 key,避免无限增长。 */
42
+ private static readonly MAX_OBSERVED_COMMIT_CACHE;
43
+ protected init(): void;
44
+ /**
45
+ * 打印当前 isCodeAdoptionRateEnabled 判断使用到的全部字段。
46
+ *
47
+ * 仅日志用,不做任何业务判断。便于 SaaS 等部署场景下排查"为什么 /report
48
+ * 没有 code_change_event"——直接看 deploymentType 和 codeAdoptionRateFeature
49
+ * 即可定位是部署层关闭还是特性开关关闭。
50
+ */
51
+ private logFeatureGateState;
52
+ recordAIChange(input: RecordAIChangeInput): Promise<RecordAIChangeResult>;
53
+ observeCommit(input: ObserveCommitInput): Promise<void>;
54
+ /** 维持 {@link recentlyObservedCommits} 在 LRU 上限内,淘汰最早插入的 key。 */
55
+ private trimObservedCommitCache;
56
+ }
57
+ export { GenMethod };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * 生成对外协议 v1.0 要求的 unified diff 文本。
3
+ *
4
+ * 与 packages/core 里的 `PatchUtils.generatePatch` 不同,这里不加任何自定义
5
+ * 头(PatchUtils 会前置 `@@ Line range:` 标记),保证 ClickHouse 落库的
6
+ * `codeDiff` 是标准 unified format,便于客户报表直接消费。
7
+ *
8
+ * 说明:
9
+ * - filePath 同时用于 unified diff 头部和 `--- a/` / `+++ b/` 标记,与
10
+ * 对外协议一致;调用方应当传入仓库相对路径(POSIX 风格)。
11
+ * - 如果 oldContent 与 newContent 完全相同,returns ''(空串),调用方应
12
+ * 视为"无变更"并跳过上报。
13
+ */
14
+ export declare function buildUnifiedDiff(filePath: string, oldContent: string, newContent: string): string;
15
+ /**
16
+ * 在 unified diff 内容超过 maxBytes 时截断,并在末尾追加截断标记。
17
+ *
18
+ * 返回包含两个字段的对象,方便 reporter 同时上报"是否被截断"。
19
+ */
20
+ export declare function truncateDiff(diff: string, maxBytes: number): {
21
+ content: string;
22
+ truncated: boolean;
23
+ };
24
+ /**
25
+ * 计算 oldContent → newContent 的净增/净减统计。
26
+ *
27
+ * 仅做"基于换行的简单统计",不做 myers diff;用于 telemetry payload 的
28
+ * lineCount / characterCount 字段。这是聚合粗粒度数字,不参与对外协议
29
+ * `lineStats.summary`(那个由后端归因聚合器算)。
30
+ *
31
+ * 字符差按 codepoint length 计算(不做 grapheme cluster),与对外协议
32
+ * codeDiff 文本字节数无关,仅用于聚合维度。
33
+ */
34
+ export declare function computeChangeStats(oldContent: string, newContent: string): {
35
+ addedLines: number;
36
+ addedCharacters: number;
37
+ };
@@ -0,0 +1,59 @@
1
+ import { ProductConfiguration, ProductManager } from '../../../product/lib/common/index.js';
2
+ /**
3
+ * 基于已有的 ProductConfiguration 判断入库率能力是否启用(同步)。
4
+ *
5
+ * 适合已经持有 configuration 的调用方,例如业务入口已经走过
6
+ * `productManager.waitConfiguration()` 或拿到 `getCurrentConfiguration()`。
7
+ */
8
+ export declare function isCodeAdoptionRateEnabledFromConfig(configuration: ProductConfiguration | undefined): boolean;
9
+ /**
10
+ * 从 ProductManager 获取当前瞬时配置(同步),判断入库率能力是否启用。
11
+ *
12
+ * 如果 ProductManager 尚未加载完成,`getCurrentConfiguration()` 可能返回 undefined,
13
+ * 此时视为"未启用",避免在配置就绪前误采集。
14
+ */
15
+ export declare function isCodeAdoptionRateEnabled(productManager: ProductManager): boolean;
16
+ /**
17
+ * 异步等待 ProductManager 完成最终配置后,判断入库率能力是否启用。
18
+ *
19
+ * 适合在端侧初始化链路中使用,确保拿到最终生效配置后再决定是否启用采集。
20
+ *
21
+ * 注意:`productManager.waitConfiguration()` 的实现只要 BehaviorSubject 推出
22
+ * 一个 truthy 值就 resolve,但在 cold start 早期会先推出 cache 占位配置(往往
23
+ * 没有 productFeatures),导致这里拿到的可能是中间态,判断为 false。如果你的
24
+ * 调用方是"一次性挂订阅"(例如 GitCommitWatcher 这种 mount 后不再重试),请
25
+ * 改用 {@link waitCodeAdoptionRateEnabledStrict}。
26
+ */
27
+ export declare function waitCodeAdoptionRateEnabled(productManager: ProductManager): Promise<boolean>;
28
+ /**
29
+ * 严格等待 ProductManager 推出"真实可用"的配置后再判断入库率能力是否启用。
30
+ *
31
+ * 与 {@link waitCodeAdoptionRateEnabled} 的差异:
32
+ * - 直接订阅 `productManager.configuration` BehaviorSubject;
33
+ * - 跳过 cache 占位 / 没有 `productFeatures` 字段的中间态,只在第一次拿到
34
+ * `productFeatures` 时才 resolve;
35
+ * - 带超时兜底(默认 30s),超时返回 false(视为未启用),避免一次性
36
+ * mount 链路无限挂起。
37
+ *
38
+ * 适用场景:**一次性挂订阅**的初始化路径,例如:
39
+ * - `GitCommitWatcher.mountWhenReady()`:cold start 期间 waitConfiguration
40
+ * 可能拿到只含 endpoint 的 cache 占位,feature gate 判断为 false 后
41
+ * `return`,后续即使配置加载完整也不会重试,git commit 永远不上报。
42
+ * - 其它 lifecycle activate 一次定型的订阅器。
43
+ *
44
+ * 对于 **可重入** 的判断点(例如每次 `recordAIChange` / `observeCommit` 调用
45
+ * 前都查一次开关),用同步的 {@link isCodeAdoptionRateEnabled} 即可,不需要
46
+ * 走这条路径。
47
+ *
48
+ * 实现细节:手写 subscribe + Promise + setTimeout,避免依赖 rxjs ≥7 才有
49
+ * 的 `firstValueFrom`/`timeout` 操作符(cell 容器内置的 rxjs 版本可能更老)。
50
+ */
51
+ export declare function waitCodeAdoptionRateEnabledStrict(productManager: ProductManager, timeoutMs?: number): Promise<boolean>;
52
+ /**
53
+ * 等到 `productManager.configuration` 推出第一个"含 productFeatures"的非空值。
54
+ *
55
+ * 失败(超时)时 reject,调用方按"未启用"处理。导出以便上层在拿不到入库率
56
+ * 开关时也能拿到完整配置做其它判断;普通调用方优先用
57
+ * {@link waitCodeAdoptionRateEnabledStrict}。
58
+ */
59
+ export declare function waitForRealConfiguration(productManager: ProductManager, timeoutMs?: number): Promise<ProductConfiguration>;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * AI 代码变更过滤器。
3
+ *
4
+ * T3 阶段按 T3 前置确认走"方案 A":只过滤二进制文件和超大 diff。lockfile /
5
+ * generated 目录等扩展过滤留到后续任务,需要按客户反馈再调,避免一上来过
6
+ * 度过滤导致漏数据。
7
+ */
8
+ /**
9
+ * 默认 unified diff 最大字节数;超过后截断而不是丢弃,由 reporter 决定如何处理。
10
+ *
11
+ * 2026-05-21 由 64KB 调到 1MB(见 iWiki 4020543962 §16.6)。
12
+ *
13
+ * 根因:case4 (commit 4a381ddc) 一次 AI 多轮优化产生约 817 行 Java 大文件,
14
+ * 单次 code_change_event 的 unified diff ≈ 70KB,超过原 64KB 阈值被截断。
15
+ * 后果是 commit 后 304 行(约 37%)在 code_change_event 里根本没上报到后端,
16
+ * 后端 Pass 1 exact-text 无命中、Pass 2 退化按相似度匹配 → 误判 Partial
17
+ * (146 行 partial,用户期望 0 行)。
18
+ *
19
+ * 1MB 覆盖率分析:
20
+ * - 典型源码单文件几百 KB(含注释 + 多语言时偏大)
21
+ * - 1MB 覆盖 99%+ 的实际单文件场景
22
+ * - 后端 ClickHouse codeDiff 列无上限,传输无瓶颈
23
+ *
24
+ * 仍保留截断兜底(不是无限大),防止用户误传 build 产物 / 巨型 JSON 配置。
25
+ * 超 1MB 时 reporter 会带 codeDiffTruncated=true 上报,后端可观测。
26
+ */
27
+ export declare const DEFAULT_MAX_DIFF_BYTES: number;
28
+ /**
29
+ * 检测内容是否是二进制。
30
+ *
31
+ * 检查策略:扫描文本前 8 KB(已经足够覆盖 PE / ELF / PNG / PDF 等常见格式
32
+ * 的 magic 区域),出现 NUL 字节即认为是二进制。
33
+ *
34
+ * 注:Windows 下 UTF-16 文件首字节是 BOM(FF FE / FE FF),不会含 NUL 字节,
35
+ * 所以可能误判为文本;这是 T3 阶段的可接受风险,后续可加 BOM 检查再细化。
36
+ */
37
+ export declare function isBinaryContent(content: string | undefined): boolean;
38
+ /**
39
+ * 判断 oldContent / newContent 之一是否会让 reporter 走"二进制跳过"路径。
40
+ */
41
+ export declare function shouldSkipForBinary(oldContent: string | undefined, newContent: string): boolean;
@@ -0,0 +1,6 @@
1
+ export * from './code-ratio-protocol.js';
2
+ export * from './code-ratio-reporter.js';
3
+ export * from './diff/unified-diff.js';
4
+ export * from './feature-gate.js';
5
+ export * from './filters/file-filter.js';
6
+ export * from './vcs-repo-resolver-protocol.js';
@@ -0,0 +1,50 @@
1
+ import { VcsType } from '../../../telemetry/lib/common/index.js';
2
+ /**
3
+ * `CodeRatioRepoResolver` 协议(DI Symbol + 接口 + 工具函数)。
4
+ *
5
+ * 设计目标:
6
+ * - 把 IDE / CLI 各自的实现统一到一个协议下,避免每个调用方再各自重新声明 Symbol
7
+ * (不同 Symbol 会导致 DI 容器解析失败)。
8
+ * - 协议本身只依赖 Node 标准库(path),不依赖 vscode / fs,可放在最底层的
9
+ * `@genie/code-ratio` 包里被任何 IDE / CLI / Web 实现共享。
10
+ *
11
+ * 历史背景:
12
+ * - 协议最初放在 `packages/agent-craft/src/common/code-ratio/`(T4)。
13
+ * - T6 调整为 plugin-core,由 plugin-completion / plugin-chat / agent-craft 共用。
14
+ * - 之后引入 plugin-core ⇄ chat-sdk ⇄ agent-sdk ⇄ agent-craft 的项目引用环,
15
+ * 因此再次下沉到 `@genie/code-ratio` 这一最干净的下层包,作为公共协议。
16
+ * IDE 侧(plugin-core 的 `VCSRepoResolver`)和 CLI 侧(agent-cli 的
17
+ * `CwdRepoResolver`)继续各自 `@Component(CodeRatioRepoResolver)` 注册。
18
+ */
19
+ export interface CodeRatioRepoContext {
20
+ /** VCS 类型;旧实现未返回时调用方按 git 兼容。 */
21
+ vcsType?: VcsType;
22
+ /** 仓库远端 URL(已脱敏) */
23
+ repoUrl: string;
24
+ /** 当前分支名 */
25
+ repoBranch: string;
26
+ /** 文件相对仓库根目录的 POSIX 相对路径 */
27
+ relativeFilePath: string;
28
+ }
29
+ export declare const CodeRatioRepoResolver: unique symbol;
30
+ export interface CodeRatioRepoResolver {
31
+ /**
32
+ * 把绝对文件路径解析到 repo 上下文。
33
+ * 失败(非绝对路径、文件不在任何仓库内、仓库信息不完整)返回 undefined。
34
+ */
35
+ resolve(absoluteFilePath: string): CodeRatioRepoContext | undefined;
36
+ /**
37
+ * 返回当前 workspace 对应仓库的根目录绝对路径(fsPath)。
38
+ * 多仓库场景下返回 `currentRepository` 的 root;没有则 undefined。
39
+ *
40
+ * 主要给 fs-file-reader 做相对路径 → 绝对路径的兜底使用。
41
+ */
42
+ getCurrentRepoRoot(): string | undefined;
43
+ }
44
+ /**
45
+ * 把绝对路径转成相对仓库根的 POSIX 相对路径。
46
+ *
47
+ * - 如果绝对路径在仓库根之外,返回 undefined,让上层跳过上报。
48
+ * - 统一使用 POSIX 分隔符,符合对外协议 `filePath` 的 POSIX 风格要求。
49
+ */
50
+ export declare function toPosixRelative(repoRoot: string, absoluteFilePath: string): string | undefined;
@@ -25,4 +25,5 @@ export * from './abtest-service.js';
25
25
  export * from './tool-control-catalog.js';
26
26
  export * from './static-resource-url.js';
27
27
  export * from './tencent-docs-endpoint.js';
28
+ export * from './repo-params.js';
28
29
  export { AUTO_MODEL_ID, AUTO_MODEL_IDS, AUTO_TIER_MODEL_IDS, AUTO_TIER_MODELS, expandAutoModelIds, isAutoModelId, replaceAutoModelInList, replaceAutoWithTierModels, shouldReplaceAutoWithTierModels, } from './auto-tier-models.js';
@@ -0,0 +1,14 @@
1
+ import { GitInfo } from './repository-protocol.js';
2
+ export declare function stripGitCredentials(rawUrl: string): string;
3
+ /**
4
+ * 构造 /v3/config 的 `repos` 参数:去凭据 -> 按 URL 去重。
5
+ *
6
+ * 去重按 URL 而不是本地路径:同一远端仓库在多个 checkout / worktree 下本地路径不同,
7
+ * 但 URL 相同,服务端只需要按仓库维度判定一次安全等级。
8
+ *
9
+ * 注意:这里绝不做数量截断。服务端 CheckRepositoriesAllowAICoding 的语义是
10
+ * 「任一仓库禁止即整体拒绝」,在安全判定之前丢仓库等于让被丢弃的仓库绕过检查
11
+ * (P1 安全问题)。仓库数多的工作区必须完整上报,query 体积由去重收敛,
12
+ * 服务端已有批量缓存读 + worker pool + 总耗时预算兜底。
13
+ */
14
+ export declare function buildRepoParams(repositories: GitInfo[] | undefined): string[];
@@ -6,6 +6,11 @@ export declare enum ProductFeature {
6
6
  BrowserUse = "BrowserUse",
7
7
  /** Computer Use 产品准入开关;缺省关闭。 */
8
8
  ComputerUse = "ComputerUse",
9
+ /**
10
+ * 远程遥控产品准入开关;缺省关闭。
11
+ * 只控制设置页入口。不要写入本地 product.json,否则会盖过 /v3/config 的灰度结果。
12
+ */
13
+ RemoteDesktop = "RemoteDesktop",
9
14
  /**
10
15
  * 聊天功能
11
16
  */
@@ -607,6 +612,8 @@ export declare enum ProductFeature {
607
612
  * @default false(默认隐藏,命中远端灰度后开启)
608
613
  */
609
614
  EnableTeamIm = "enableTeamIm",
615
+ /** 频道 Buddy 是否允许选择模型;缺省关闭,关闭时优先使用账号授权的 Hy4。 */
616
+ EnableChannelBuddyModelSelection = "EnableChannelBuddyModelSelection",
610
617
  /**
611
618
  * 是否禁用「更多」菜单中的「灵感」入口
612
619
  * 设置为 true 时隐藏会话列表「更多」菜单里的灵感(探索)项,
@@ -749,12 +756,12 @@ export declare enum ProductFeature {
749
756
  * @default false
750
757
  */
751
758
  DisableWecomBotIntegration = "DisableWecomBotIntegration",
752
- /**
753
- * 是否启用微信文件分享(shareFile)路径。
754
- * 启用后,放开分享文件到微信的按钮;
755
- * @default false
756
- */
757
- EnableWechatShareFile = "EnableWechatShareFile",
759
+ /** 总开关:允许分享实体文件;启用后再由渠道开关分别控制微信/企微。 */
760
+ EnableShareFile = "EnableShareFile",
761
+ /** 允许发送实体文件到微信。 */
762
+ EnableShareFileToWechat = "EnableShareFileToWechat",
763
+ /** 允许发送实体文件到企业微信。 */
764
+ EnableShareFileToWecom = "EnableShareFileToWecom",
758
765
  /**
759
766
  * 禁用登录页底部的法务链接(隐私政策、服务条款)
760
767
  * 设置为 true 时,LoginView 不渲染隐私政策和服务条款链接。
@@ -915,6 +922,12 @@ export declare enum ProductFeature {
915
922
  * @default false
916
923
  */
917
924
  Artifact = "Artifact",
925
+ /**
926
+ * 是否开启资料库上传(把本地单个文件上传为资料库节点)能力。
927
+ * 关闭时工具不注册,模型看不到;endpoint / 登录态等其它前置条件由工具自身再校验。
928
+ * @default false
929
+ */
930
+ LibraryUpload = "LibraryUpload",
918
931
  /**
919
932
  * 是否开启 ShareLink(本地 HTML → 上传 → 可分享公网链接)能力
920
933
  * @deprecated 兼容保留,请改用 Artifact key(新 key 优先,本 key 兜底)。
@@ -1095,21 +1108,10 @@ export declare enum ProductFeature {
1095
1108
  */
1096
1109
  ConversationEngine = "ConversationEngine",
1097
1110
  /**
1098
- * TencentDesignX 设计能力开关
1099
- * 设置为 true 时,启用 TencentDesignX 相关功能入口。
1100
- *
1101
- * 版本说明:5.4.0 之前的客户端版本仍使用 `TencentDesignX` 开关控制 Ardot 设计入口;
1102
- * 5.4.0 版本之后 `TencentDesignX` 开关作废,改为使用 `EnableArdot` 开关控制 Ardot 设计入口。
1103
- * @deprecated 新版客户端改用 `EnableArdot` 控制 Ardot 设计入口;本 key 不再参与门控,
1104
- * 仅为兼容历史下发保留 enum 登记。
1105
- * @default false
1106
- */
1107
- TencentDesignX = "TencentDesignX",
1108
- /**
1109
- * Ardot 设计入口特性开关(unleash / product feature flag)。
1110
- * 取代旧的 `TencentDesignX` 成为新版客户端 Ardot「设计创意」入口的唯一门控 key:
1111
+ * Ardot 族(画布设计)能力开关(unleash / product feature flag)。
1111
1112
  * 客户端 product.json 写默认值,后端 `/v3/config` 下发覆盖。
1112
- * 设置为 true 时启用 Ardot 设计入口;缺省 / false 关闭(opt-in)。
1113
+ * 设置为 true 时向设计会话暴露 ardot MCP(含其静默授权)、展示 Ardot 场景胶囊并自动注入 ardot skill;缺省 / false 关闭(opt-in)。
1114
+ * 「设计创意」Tab 不再由本开关决定:Miora 能力恒可用,Tab 始终展示。
1113
1115
  * 各版本默认值:SaaS(个人版 / 旗舰版)= true;专享版 / 专享版私有化 / 海外版 = false。
1114
1116
  *
1115
1117
  * 版本说明:5.4.0 之前的客户端版本仍使用 `TencentDesignX` 开关控制 Ardot 设计入口;
@@ -1117,6 +1119,15 @@ export declare enum ProductFeature {
1117
1119
  * @default false
1118
1120
  */
1119
1121
  EnableArdot = "EnableArdot",
1122
+ /**
1123
+ * Miora 族(AI 生图 / 生视频)能力开关,**仅打包期生效**,运行时没有任何代码读取。
1124
+ * 定制版构建由 `apps/workbuddy-desktop/scripts/apply-brand-patch.js` 读取:显式 false 时
1125
+ * 从产物中裁掉 Miora 设计胶囊、前端路由入口、四个 miora skill 与 mcp-miora,出包即固定,
1126
+ * 后端 `/v3/config` 下发也无法重新打开。
1127
+ * 各版本默认值:缺省 = 可用;专享版 / 专享版私有化(workbuddy-custom)= false。
1128
+ * @default true
1129
+ */
1130
+ EnableMiora = "EnableMiora",
1120
1131
  /**
1121
1132
  * HTML 预览分享按钮开关
1122
1133
  * 启用后,HTML 文件预览面板的 actionbar 中展示分享按钮
@@ -1329,6 +1340,31 @@ export declare enum ProductFeature {
1329
1340
  * @default false(未配置默认不启用云端专家能力)
1330
1341
  */
1331
1342
  EnableExpertToCloud = "EnableExpertToCloud",
1343
+ /**
1344
+ * 客户端是否消费企业「专家页」装配布局(Issue #100136)。
1345
+ *
1346
+ * 开启后客户端专家页的三个区域(顶部推荐槽 / Tab 条 / 分类 chip 栏)
1347
+ * 按 admin 装配的布局渲染;关闭时全部回落客户端本地默认布局。
1348
+ *
1349
+ * 「专享版 / 私有化」的判定依据:该形态下 `enterpriseId` 可能为空或不可靠,
1350
+ * 仅靠 `enterpriseId` 判定会把专享版误判成个人版而丢失企业配置
1351
+ * (与 skill 侧 `EnableSkillPageLayout` 同款实测结论)。故本 flag 随
1352
+ * **专享版包**注入 true,客户端判定为:
1353
+ *
1354
+ * ```
1355
+ * 消费 layout = 本 flag === true
1356
+ * || (enterpriseId 存在 && !isTencentSSO(enterpriseId)) // 旗舰版
1357
+ * ```
1358
+ *
1359
+ * 只在 `build/patches/workbuddy-custom/product.json`(专享版)置 true,
1360
+ * **其余产品配置不写** —— 缺失即 false,判定回落到 enterpriseId 分支。
1361
+ *
1362
+ * ⚠️ 同一变量也决定 admin 侧是否展示「客户端页面装配 / 推荐位 / 分类管理」
1363
+ * 三个 Tab,两端共用同一源以避免判定漂移(对齐 skill 侧 §7.1.2 的结论)。
1364
+ *
1365
+ * @default false(缺省即关闭;仅专享版 product.json 置 true)
1366
+ */
1367
+ EnableExpertPageLayout = "EnableExpertPageLayout",
1332
1368
  /**
1333
1369
  * 禁用对话框中的语音输入(ASR)入口
1334
1370
  * 设置为 true 时,隐藏聊天输入框中的麦克风按钮,
@@ -1421,21 +1457,6 @@ export declare enum ProductFeature {
1421
1457
  * @default false
1422
1458
  */
1423
1459
  EnableClawChannelControl = "EnableClawChannelControl",
1424
- /**
1425
- * 是否隐藏设置面板「助理设置 → 远程渠道」整个区块(含微信助理 / 企微机器人 /
1426
- * QQ 机器人等通道卡片与定时任务企微 bot 推送卡片)。
1427
- *
1428
- * 仅隐藏 UI 入口,不影响「上下文管理」(Session Management)等其他区块。
1429
- * 专享版(Cloud-Hosted)与私有化(Self-Hosted)定制渠道不支持远程助理渠道,
1430
- * 在 workbuddy-custom base 的 productFeatures 配置 true(私有化构建自动继承);
1431
- * 运行期也可经 /v3/config 下发覆盖(如放开某个已部署网关的租户)。
1432
- *
1433
- * - 旗舰版(标准渠道):不配置该 key → 不禁用,远程渠道照常展示(fail-open)
1434
- * - 专享版 / 私有化:配置 true → 隐藏区块;缺省(未配置)同旗舰版展示
1435
- *
1436
- * @default false
1437
- */
1438
- DisableClawRemoteChannels = "DisableClawRemoteChannels",
1439
1460
  /**
1440
1461
  * 是否启用 AI 代码入库率统计能力
1441
1462
  *
@@ -1650,14 +1671,6 @@ export declare enum ProductFeature {
1650
1671
  * @default false(未配置默认不启用云端 Skill 能力)
1651
1672
  */
1652
1673
  EnableSkillToCloud = "EnableSkillToCloud",
1653
- /**
1654
- * 是否禁用侧边栏扩展菜单入口(disable 语义)。#114901
1655
- * 设置为 true 时,侧边栏与「更多」下拉均不渲染扩展(extension)菜单入口。
1656
- * 用于无需暴露扩展导航栏的发行版(如海外版 workbuddy-ai)。
1657
- * 缺省 / false 时行为不变(正常展示扩展入口)。
1658
- * @default false
1659
- */
1660
- DisableExtensionMenuEntries = "DisableExtensionMenuEntries",
1661
1674
  /**
1662
1675
  * 是否禁用「存储扩容/升级」入口(disable 语义)。#73830 #73721
1663
1676
  *
@@ -1915,7 +1928,19 @@ export declare enum ProductFeature {
1915
1928
  * productFeatures 下发(消费方 skill-subscription-gate.isEnabled)。
1916
1929
  * @default true
1917
1930
  */
1918
- SkillSubscriptionGate = "SkillSubscriptionGate"
1931
+ SkillSubscriptionGate = "SkillSubscriptionGate",
1932
+ /**
1933
+ * 是否隐藏 Office 独立窗标题栏「AI 对话」按钮内的官方品牌图标。
1934
+ *
1935
+ * 该图标是 WorkBuddy 吉祥物轮廓,专享版自定义品牌后属于残留的官方标识。
1936
+ * 开启后仅去掉图标,按钮与「AI 对话」文案保留。
1937
+ *
1938
+ * 只作用于这一个图标,不影响登录页 / 聊天页品牌 logo(那些由
1939
+ * `HideCustomBrandingLogos` 控制)。
1940
+ *
1941
+ * @default false
1942
+ */
1943
+ HideOfficeChatBrandIcon = "HideOfficeChatBrandIcon"
1919
1944
  }
1920
1945
  /**
1921
1946
  * 功能配置开关
@@ -104,7 +104,12 @@ export interface ModelReasoning {
104
104
  export type ModelPromotionKind = 'discount' | 'new_model' | 'recommendation' | 'free_trial';
105
105
  export interface ModelPromotionBadge {
106
106
  readonly label: string;
107
- readonly color: string;
107
+ readonly shortLabel?: string;
108
+ /** 英文 badge 文案;缺省回退 label */
109
+ readonly labelEn?: string;
110
+ readonly shortLabelEn?: string;
111
+ readonly icon?: string;
112
+ readonly color?: string;
108
113
  readonly display?: 'always' | 'activeOnly';
109
114
  }
110
115
  export interface ModelPromotionDailyWindow {