@jini-ai/core 0.7.3-next.2 → 0.7.4

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 (561) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +68 -0
  3. package/dist/admin-runtime/admin-http.d.ts +43 -0
  4. package/dist/admin-runtime/admin-http.js +11 -0
  5. package/dist/admin-runtime/index.d.ts +1 -0
  6. package/dist/batch-tool-inputs.d.ts +3 -3
  7. package/dist/batch-tool-inputs.js +18 -6
  8. package/dist/config/env-schema.d.ts +31 -0
  9. package/dist/config/env-schema.js +29 -0
  10. package/dist/contracts/agents/definition.d.ts +9 -1
  11. package/dist/contracts/agents/index.d.ts +1 -0
  12. package/dist/contracts/agents/inventory.d.ts +29 -0
  13. package/dist/contracts/agents/inventory.js +8 -0
  14. package/dist/contracts/agents/provider-ports.d.ts +117 -0
  15. package/dist/contracts/agents/provider-ports.js +2 -0
  16. package/dist/contracts/agents/proxy-provider-kit.d.ts +122 -0
  17. package/dist/contracts/agents/proxy-provider-kit.js +119 -0
  18. package/dist/contracts/agents/proxy-provider.d.ts +34 -0
  19. package/dist/contracts/agents/proxy-provider.js +2 -0
  20. package/dist/contracts/blob-gc.d.ts +69 -0
  21. package/dist/contracts/blob-gc.js +13 -0
  22. package/dist/contracts/credentials.d.ts +5 -19
  23. package/dist/contracts/desktop-zoom.d.ts +7 -0
  24. package/dist/contracts/desktop-zoom.js +6 -0
  25. package/dist/contracts/events/change-set.d.ts +12 -3
  26. package/dist/contracts/events/command.d.ts +11 -5
  27. package/dist/contracts/events/ports.d.ts +38 -0
  28. package/dist/contracts/events/ports.js +8 -1
  29. package/dist/contracts/events.d.ts +2 -1
  30. package/dist/contracts/events.js +1 -1
  31. package/dist/contracts/execution.d.ts +541 -0
  32. package/dist/contracts/execution.js +2 -0
  33. package/dist/contracts/find-in-page.d.ts +12 -0
  34. package/dist/contracts/find-in-page.js +7 -0
  35. package/dist/contracts/headless/chart-providers.d.ts +12 -0
  36. package/dist/contracts/headless/chart-providers.js +2 -0
  37. package/dist/contracts/headless/chat-attachment.d.ts +21 -0
  38. package/dist/contracts/headless/chat-attachment.js +9 -0
  39. package/dist/contracts/headless/contracts.d.ts +179 -0
  40. package/dist/contracts/headless/contracts.js +2 -0
  41. package/dist/contracts/headless/form-delivery-status.d.ts +35 -0
  42. package/dist/contracts/headless/form-delivery-status.js +2 -0
  43. package/dist/contracts/headless/member-login.d.ts +3 -0
  44. package/dist/contracts/headless/member-login.js +3 -0
  45. package/dist/contracts/headless/operator-locale.d.ts +17 -0
  46. package/dist/contracts/headless/operator-locale.js +2 -0
  47. package/dist/contracts/headless/plugin-export-catalog.d.ts +21 -0
  48. package/dist/contracts/headless/plugin-export-catalog.js +2 -0
  49. package/dist/contracts/headless/plugin-host.d.ts +128 -0
  50. package/dist/contracts/headless/plugin-host.js +2 -0
  51. package/dist/contracts/headless/plugin-install-source.d.ts +82 -0
  52. package/dist/contracts/headless/plugin-install-source.js +12 -0
  53. package/dist/contracts/headless/site-cookie-consent.d.ts +41 -0
  54. package/dist/contracts/headless/site-cookie-consent.js +2 -0
  55. package/dist/contracts/hosted-mcp/admissions.d.ts +125 -0
  56. package/dist/contracts/hosted-mcp/admissions.js +3 -0
  57. package/dist/contracts/hosted-mcp/record.d.ts +9 -3
  58. package/dist/contracts/hosted-mcp.d.ts +1 -0
  59. package/dist/contracts/mail.d.ts +28 -2
  60. package/dist/contracts/mail.js +3 -0
  61. package/dist/contracts/observability.d.ts +12 -0
  62. package/dist/contracts/run-attempt.d.ts +14 -0
  63. package/dist/contracts/run-attempt.js +7 -0
  64. package/dist/contracts/server/api-error.js +1 -0
  65. package/dist/contracts/server/client-facing-error.d.ts +25 -0
  66. package/dist/contracts/server/client-facing-error.js +21 -0
  67. package/dist/contracts/server/deferred-body.d.ts +65 -0
  68. package/dist/contracts/server/deferred-body.js +2 -0
  69. package/dist/contracts/server/failure-copy.d.ts +19 -0
  70. package/dist/contracts/server/failure-copy.js +26 -0
  71. package/dist/contracts/server/json-route.d.ts +52 -26
  72. package/dist/contracts/server/json-route.js +128 -32
  73. package/dist/contracts/server/request-body.d.ts +12 -0
  74. package/dist/contracts/server/request-body.js +8 -4
  75. package/dist/contracts/server/route-reply.d.ts +32 -0
  76. package/dist/contracts/server/route-reply.js +26 -0
  77. package/dist/contracts/server.d.ts +4 -0
  78. package/dist/contracts/server.js +4 -0
  79. package/dist/contracts/site/admin-sites.d.ts +134 -0
  80. package/dist/contracts/site/admin-sites.js +7 -0
  81. package/dist/contracts/site/admin-surfaces-connections.d.ts +128 -0
  82. package/dist/contracts/site/admin-surfaces-connections.js +2 -0
  83. package/dist/contracts/site/agent-plugins-admin-surfaces.d.ts +218 -0
  84. package/dist/contracts/site/agent-plugins-admin-surfaces.js +2 -0
  85. package/dist/contracts/site/agent-plugins-connect.d.ts +25 -0
  86. package/dist/contracts/site/agent-plugins-connect.js +2 -0
  87. package/dist/contracts/site/agent-plugins-lifecycle.d.ts +151 -0
  88. package/dist/contracts/site/agent-plugins-lifecycle.js +2 -0
  89. package/dist/contracts/site/agent-plugins-manifest.d.ts +41 -0
  90. package/dist/contracts/site/agent-plugins-manifest.js +11 -0
  91. package/dist/contracts/site/agent-runtime.d.ts +110 -0
  92. package/dist/contracts/site/agent-runtime.js +2 -0
  93. package/dist/contracts/site/agentic-core.d.ts +44 -0
  94. package/dist/contracts/site/agentic-core.js +9 -0
  95. package/dist/contracts/site/agentic-dom.d.ts +27 -0
  96. package/dist/contracts/site/agentic-dom.js +2 -0
  97. package/dist/contracts/site/agentic.d.ts +37 -0
  98. package/dist/contracts/site/agentic.js +8 -0
  99. package/dist/contracts/site/analytics.d.ts +81 -0
  100. package/dist/contracts/site/analytics.js +2 -0
  101. package/dist/contracts/site/api-ai-assistant-api-types.d.ts +182 -0
  102. package/dist/contracts/site/api-ai-assistant-api-types.js +2 -0
  103. package/dist/contracts/site/api-connections-hosted-mcp.d.ts +176 -0
  104. package/dist/contracts/site/api-connections-hosted-mcp.js +2 -0
  105. package/dist/contracts/site/api-security-api-types.d.ts +177 -0
  106. package/dist/contracts/site/api-security-api-types.js +2 -0
  107. package/dist/contracts/site/approval-i18n.d.ts +32 -0
  108. package/dist/contracts/site/approval-i18n.js +156 -0
  109. package/dist/contracts/site/asset-transfer-tool-ports.d.ts +54 -0
  110. package/dist/contracts/site/asset-transfer-tool-ports.js +2 -0
  111. package/dist/contracts/site/assistant-host-ports.d.ts +23 -0
  112. package/dist/contracts/site/assistant-host-ports.js +2 -0
  113. package/dist/contracts/site/assistant-mcp-services.d.ts +26 -0
  114. package/dist/contracts/site/assistant-mcp-services.js +8 -0
  115. package/dist/contracts/site/assistant-tool-contributions.d.ts +45 -0
  116. package/dist/contracts/site/assistant-tool-contributions.js +2 -0
  117. package/dist/contracts/site/chat-core.d.ts +93 -0
  118. package/dist/contracts/site/chat-core.js +13 -0
  119. package/dist/contracts/site/client-directives.d.ts +21 -0
  120. package/dist/contracts/site/client-directives.js +8 -0
  121. package/dist/contracts/site/cms-admin-media.d.ts +61 -0
  122. package/dist/contracts/site/cms-admin-media.js +7 -0
  123. package/dist/contracts/site/cms-agent-plugins.d.ts +114 -0
  124. package/dist/contracts/site/cms-agent-plugins.js +17 -0
  125. package/dist/contracts/site/cms-assistant.d.ts +74 -0
  126. package/dist/contracts/site/cms-assistant.js +17 -0
  127. package/dist/contracts/site/cms-core.d.ts +17 -0
  128. package/dist/contracts/site/cms-core.js +12 -0
  129. package/dist/contracts/site/cms-external-mcp.d.ts +206 -0
  130. package/dist/contracts/site/cms-external-mcp.js +13 -0
  131. package/dist/contracts/site/cms-forms.d.ts +192 -0
  132. package/dist/contracts/site/cms-forms.js +15 -0
  133. package/dist/contracts/site/cms-integrations.d.ts +47 -0
  134. package/dist/contracts/site/cms-integrations.js +8 -0
  135. package/dist/contracts/site/cms-mail.d.ts +39 -0
  136. package/dist/contracts/site/cms-mail.js +12 -0
  137. package/dist/contracts/site/cms-media.d.ts +464 -0
  138. package/dist/contracts/site/cms-media.js +3 -0
  139. package/dist/contracts/site/cms-menus.d.ts +109 -0
  140. package/dist/contracts/site/cms-menus.js +13 -0
  141. package/dist/contracts/site/cms-plugins.d.ts +81 -0
  142. package/dist/contracts/site/cms-plugins.js +13 -0
  143. package/dist/contracts/site/cms-publish-content.d.ts +129 -0
  144. package/dist/contracts/site/cms-publish-content.js +13 -0
  145. package/dist/contracts/site/cms-recovery.d.ts +37 -0
  146. package/dist/contracts/site/cms-recovery.js +13 -0
  147. package/dist/contracts/site/cms-seo.d.ts +124 -0
  148. package/dist/contracts/site/cms-seo.js +17 -0
  149. package/dist/contracts/site/cms-settings.d.ts +47 -0
  150. package/dist/contracts/site/cms-settings.js +15 -0
  151. package/dist/contracts/site/cms-sites.d.ts +24 -0
  152. package/dist/contracts/site/cms-sites.js +12 -0
  153. package/dist/contracts/site/cms-system-deploy.d.ts +37 -0
  154. package/dist/contracts/site/cms-system-deploy.js +9 -0
  155. package/dist/contracts/site/cms-trash.d.ts +235 -0
  156. package/dist/contracts/site/cms-trash.js +10 -0
  157. package/dist/contracts/site/cms-workspace.d.ts +14 -0
  158. package/dist/contracts/site/cms-workspace.js +7 -0
  159. package/dist/contracts/site/comments-providers.d.ts +187 -0
  160. package/dist/contracts/site/comments-providers.js +2 -0
  161. package/dist/contracts/site/commerce.d.ts +35 -0
  162. package/dist/contracts/site/commerce.js +12 -0
  163. package/dist/contracts/site/composition-provider-config-source.d.ts +46 -0
  164. package/dist/contracts/site/composition-provider-config-source.js +2 -0
  165. package/dist/contracts/site/content-editor-ports.d.ts +239 -0
  166. package/dist/contracts/site/content-editor-ports.js +2 -0
  167. package/dist/contracts/site/contracts-resources.d.ts +21 -0
  168. package/dist/contracts/site/contracts-resources.js +7 -0
  169. package/dist/contracts/site/cookie-consent-react.d.ts +44 -0
  170. package/dist/contracts/site/cookie-consent-react.js +8 -0
  171. package/dist/contracts/site/cookie-consent.d.ts +100 -0
  172. package/dist/contracts/site/cookie-consent.js +9 -0
  173. package/dist/contracts/site/core-commands.d.ts +66 -0
  174. package/dist/contracts/site/core-commands.js +15 -0
  175. package/dist/contracts/site/core-consent-refusal.d.ts +7 -0
  176. package/dist/contracts/site/core-consent-refusal.js +2 -0
  177. package/dist/contracts/site/core-custom-credential-categories.d.ts +14 -0
  178. package/dist/contracts/site/core-custom-credential-categories.js +7 -0
  179. package/dist/contracts/site/core-public-page-security-headers.d.ts +13 -0
  180. package/dist/contracts/site/core-public-page-security-headers.js +3 -0
  181. package/dist/contracts/site/core-run-events.d.ts +49 -0
  182. package/dist/contracts/site/core-run-events.js +11 -0
  183. package/dist/contracts/site/core-runtime-mode.d.ts +9 -0
  184. package/dist/contracts/site/core-runtime-mode.js +2 -0
  185. package/dist/contracts/site/core-theme-slots.d.ts +31 -0
  186. package/dist/contracts/site/core-theme-slots.js +3 -0
  187. package/dist/contracts/site/credential-project-half.d.ts +18 -0
  188. package/dist/contracts/site/credential-project-half.js +2 -0
  189. package/dist/contracts/site/custom-credential-publish-compatibility.d.ts +11 -0
  190. package/dist/contracts/site/custom-credential-publish-compatibility.js +2 -0
  191. package/dist/contracts/site/daemon-core-rpc.d.ts +114 -0
  192. package/dist/contracts/site/daemon-core-rpc.js +2 -0
  193. package/dist/contracts/site/daemon-http.d.ts +197 -0
  194. package/dist/contracts/site/daemon-http.js +11 -0
  195. package/dist/contracts/site/daemon-surface-exchanges.d.ts +46 -0
  196. package/dist/contracts/site/daemon-surface-exchanges.js +2 -0
  197. package/dist/contracts/site/daemon-tool-audit.d.ts +43 -0
  198. package/dist/contracts/site/daemon-tool-audit.js +9 -0
  199. package/dist/contracts/site/daemon-tool-recovery.d.ts +36 -0
  200. package/dist/contracts/site/daemon-tool-recovery.js +9 -0
  201. package/dist/contracts/site/daemon.d.ts +45 -0
  202. package/dist/contracts/site/daemon.js +2 -0
  203. package/dist/contracts/site/database-introspection.d.ts +46 -0
  204. package/dist/contracts/site/database-introspection.js +2 -0
  205. package/dist/contracts/site/db-data-modules.d.ts +61 -0
  206. package/dist/contracts/site/db-data-modules.js +6 -0
  207. package/dist/contracts/site/deployment-admin.d.ts +74 -0
  208. package/dist/contracts/site/deployment-admin.js +2 -0
  209. package/dist/contracts/site/dev-supervisor-dev-restart.d.ts +26 -0
  210. package/dist/contracts/site/dev-supervisor-dev-restart.js +10 -0
  211. package/dist/contracts/site/devops-deploy.d.ts +77 -0
  212. package/dist/contracts/site/devops-deploy.js +9 -0
  213. package/dist/contracts/site/diagnostics-domain-dns.d.ts +10 -0
  214. package/dist/contracts/site/diagnostics-domain-dns.js +7 -0
  215. package/dist/contracts/site/diagnostics-observability.d.ts +66 -0
  216. package/dist/contracts/site/diagnostics-observability.js +2 -0
  217. package/dist/contracts/site/events-outbox.d.ts +56 -0
  218. package/dist/contracts/site/events-outbox.js +10 -0
  219. package/dist/contracts/site/export-run.d.ts +54 -0
  220. package/dist/contracts/site/export-run.js +9 -0
  221. package/dist/contracts/site/external-mcp-tool-ports.d.ts +30 -0
  222. package/dist/contracts/site/external-mcp-tool-ports.js +2 -0
  223. package/dist/contracts/site/fs-durable-json.d.ts +22 -0
  224. package/dist/contracts/site/fs-durable-json.js +7 -0
  225. package/dist/contracts/site/gated-mutations/watermark.d.ts +44 -0
  226. package/dist/contracts/site/gated-mutations/watermark.js +37 -0
  227. package/dist/contracts/site/gated-mutations-ports.d.ts +45 -0
  228. package/dist/contracts/site/gated-mutations-ports.js +6 -0
  229. package/dist/contracts/site/gated-results.d.ts +17 -0
  230. package/dist/contracts/site/gated-results.js +8 -0
  231. package/dist/contracts/site/headless-assistant-permanent-deletes-policy.d.ts +16 -0
  232. package/dist/contracts/site/headless-assistant-permanent-deletes-policy.js +8 -0
  233. package/dist/contracts/site/hooks-sites-port-hooks.d.ts +151 -0
  234. package/dist/contracts/site/hooks-sites-port-hooks.js +7 -0
  235. package/dist/contracts/site/host-node.d.ts +213 -0
  236. package/dist/contracts/site/host-node.js +2 -0
  237. package/dist/contracts/site/html-region-ports.d.ts +103 -0
  238. package/dist/contracts/site/html-region-ports.js +2 -0
  239. package/dist/contracts/site/http-kit-rate-limit.d.ts +21 -0
  240. package/dist/contracts/site/http-kit-rate-limit.js +8 -0
  241. package/dist/contracts/site/http-kit-settings.d.ts +12 -0
  242. package/dist/contracts/site/http-kit-settings.js +8 -0
  243. package/dist/contracts/site/human-confirm.d.ts +42 -0
  244. package/dist/contracts/site/human-confirm.js +2 -0
  245. package/dist/contracts/site/installed-skill.d.ts +16 -0
  246. package/dist/contracts/site/installed-skill.js +2 -0
  247. package/dist/contracts/site/integrations-api-connections.d.ts +19 -0
  248. package/dist/contracts/site/integrations-api-connections.js +7 -0
  249. package/dist/contracts/site/integrations-credentialed-http.d.ts +16 -0
  250. package/dist/contracts/site/integrations-credentialed-http.js +8 -0
  251. package/dist/contracts/site/legacy-owner-store.d.ts +15 -0
  252. package/dist/contracts/site/legacy-owner-store.js +5 -0
  253. package/dist/contracts/site/lifecycle-boot-lifecycle.d.ts +27 -0
  254. package/dist/contracts/site/lifecycle-boot-lifecycle.js +10 -0
  255. package/dist/contracts/site/lifecycle-host-tools.d.ts +64 -0
  256. package/dist/contracts/site/lifecycle-host-tools.js +2 -0
  257. package/dist/contracts/site/media-provider-contribution.d.ts +118 -0
  258. package/dist/contracts/site/media-provider-contribution.js +3 -0
  259. package/dist/contracts/site/media-providers-catalog.d.ts +42 -0
  260. package/dist/contracts/site/media-providers-catalog.js +7 -0
  261. package/dist/contracts/site/media-tool-ports.d.ts +170 -0
  262. package/dist/contracts/site/media-tool-ports.js +2 -0
  263. package/dist/contracts/site/media-upload-limits.d.ts +6 -0
  264. package/dist/contracts/site/media-upload-limits.js +7 -0
  265. package/dist/contracts/site/nav.d.ts +46 -0
  266. package/dist/contracts/site/nav.js +10 -0
  267. package/dist/contracts/site/oauth-callback-page.d.ts +47 -0
  268. package/dist/contracts/site/oauth-callback-page.js +31 -0
  269. package/dist/contracts/site/packaging-electron.d.ts +20 -0
  270. package/dist/contracts/site/packaging-electron.js +7 -0
  271. package/dist/contracts/site/page-html-store.d.ts +138 -0
  272. package/dist/contracts/site/page-html-store.js +2 -0
  273. package/dist/contracts/site/platform-mail.d.ts +221 -0
  274. package/dist/contracts/site/platform-mail.js +2 -0
  275. package/dist/contracts/site/platform-process.d.ts +23 -0
  276. package/dist/contracts/site/platform-process.js +7 -0
  277. package/dist/contracts/site/platform-server-logs.d.ts +51 -0
  278. package/dist/contracts/site/platform-server-logs.js +15 -0
  279. package/dist/contracts/site/platform-site-dir.d.ts +58 -0
  280. package/dist/contracts/site/platform-site-dir.js +7 -0
  281. package/dist/contracts/site/plugin-directory.d.ts +29 -0
  282. package/dist/contracts/site/plugin-directory.js +2 -0
  283. package/dist/contracts/site/plugins-host.d.ts +92 -0
  284. package/dist/contracts/site/plugins-host.js +2 -0
  285. package/dist/contracts/site/post-author.d.ts +8 -0
  286. package/dist/contracts/site/post-author.js +5 -0
  287. package/dist/contracts/site/post-kind.d.ts +10 -0
  288. package/dist/contracts/site/post-kind.js +2 -0
  289. package/dist/contracts/site/post-revision-lock.d.ts +17 -0
  290. package/dist/contracts/site/post-revision-lock.js +16 -0
  291. package/dist/contracts/site/project-key-attachments.d.ts +78 -0
  292. package/dist/contracts/site/project-key-attachments.js +2 -0
  293. package/dist/contracts/site/protocol-mcp-ui.d.ts +37 -0
  294. package/dist/contracts/site/protocol-mcp-ui.js +12 -0
  295. package/dist/contracts/site/public-origin.d.ts +9 -0
  296. package/dist/contracts/site/public-origin.js +22 -0
  297. package/dist/contracts/site/publish-ports.d.ts +42 -0
  298. package/dist/contracts/site/publish-ports.js +31 -0
  299. package/dist/contracts/site/recovery-operation-lock.d.ts +27 -0
  300. package/dist/contracts/site/recovery-operation-lock.js +11 -0
  301. package/dist/contracts/site/recovery-reconcile-interrupted-migration.d.ts +16 -0
  302. package/dist/contracts/site/recovery-reconcile-interrupted-migration.js +12 -0
  303. package/dist/contracts/site/request-facts.d.ts +28 -0
  304. package/dist/contracts/site/request-facts.js +28 -0
  305. package/dist/contracts/site/routines.d.ts +64 -0
  306. package/dist/contracts/site/routines.js +2 -0
  307. package/dist/contracts/site/sandbox-node-worker.d.ts +15 -0
  308. package/dist/contracts/site/sandbox-node-worker.js +9 -0
  309. package/dist/contracts/site/search.d.ts +181 -0
  310. package/dist/contracts/site/search.js +2 -0
  311. package/dist/contracts/site/secrets-credential-sets.d.ts +117 -0
  312. package/dist/contracts/site/secrets-credential-sets.js +2 -0
  313. package/dist/contracts/site/secrets-credential-token.d.ts +11 -0
  314. package/dist/contracts/site/secrets-credential-token.js +7 -0
  315. package/dist/contracts/site/seo-content-analysis.d.ts +18 -0
  316. package/dist/contracts/site/seo-content-analysis.js +7 -0
  317. package/dist/contracts/site/site-assistant-visitor-tools-management.d.ts +85 -0
  318. package/dist/contracts/site/site-assistant-visitor-tools-management.js +8 -0
  319. package/dist/contracts/site/site-import-history.d.ts +67 -0
  320. package/dist/contracts/site/site-import-history.js +2 -0
  321. package/dist/contracts/site/site-key.d.ts +133 -0
  322. package/dist/contracts/site/site-key.js +9 -0
  323. package/dist/contracts/site/site-serving-gate.d.ts +13 -0
  324. package/dist/contracts/site/site-serving-gate.js +22 -0
  325. package/dist/contracts/site/skill-install.d.ts +17 -0
  326. package/dist/contracts/site/skill-install.js +2 -0
  327. package/dist/contracts/site/skills-install.d.ts +21 -0
  328. package/dist/contracts/site/skills-install.js +7 -0
  329. package/dist/contracts/site/soft-delete.d.ts +13 -0
  330. package/dist/contracts/site/soft-delete.js +13 -0
  331. package/dist/contracts/site/source-control-credentials.d.ts +197 -0
  332. package/dist/contracts/site/source-control-credentials.js +2 -0
  333. package/dist/contracts/site/strict-base64.d.ts +30 -0
  334. package/dist/contracts/site/strict-base64.js +33 -0
  335. package/dist/contracts/site/tool-metadata-approval-policy.d.ts +13 -0
  336. package/dist/contracts/site/tool-metadata-approval-policy.js +2 -0
  337. package/dist/contracts/site/ui-sections.d.ts +27 -0
  338. package/dist/contracts/site/ui-sections.js +13 -0
  339. package/dist/contracts/site/user-management-react.d.ts +276 -0
  340. package/dist/contracts/site/user-management-react.js +9 -0
  341. package/dist/contracts/site/user-management-server.d.ts +104 -0
  342. package/dist/contracts/site/user-management-server.js +2 -0
  343. package/dist/contracts/site/user-management.d.ts +379 -0
  344. package/dist/contracts/site/user-management.js +2 -0
  345. package/dist/contracts/site/vault-context.d.ts +15 -0
  346. package/dist/contracts/site/vault-context.js +6 -0
  347. package/dist/contracts/site/vendor-credentials.d.ts +37 -0
  348. package/dist/contracts/site/vendor-credentials.js +2 -0
  349. package/dist/contracts/site/web-evidence-capture-budget.d.ts +16 -0
  350. package/dist/contracts/site/web-evidence-capture-budget.js +7 -0
  351. package/dist/contracts/site/web-evidence-playwright.d.ts +38 -0
  352. package/dist/contracts/site/web-evidence-playwright.js +9 -0
  353. package/dist/contracts/site/web-screenshot.d.ts +58 -0
  354. package/dist/contracts/site/web-screenshot.js +7 -0
  355. package/dist/contracts/site/widgets-html.d.ts +40 -0
  356. package/dist/contracts/site/widgets-html.js +7 -0
  357. package/dist/contracts/speech-transcription.d.ts +27 -0
  358. package/dist/contracts/speech-transcription.js +8 -0
  359. package/dist/contracts/standing-draft.d.ts +38 -0
  360. package/dist/contracts/standing-draft.js +2 -0
  361. package/dist/contracts/storage/cleanup-preview.d.ts +23 -0
  362. package/dist/contracts/storage/cleanup-preview.js +2 -0
  363. package/dist/contracts/storage/rows.d.ts +6 -2
  364. package/dist/contracts/storage/rows.js +3 -3
  365. package/dist/contracts/storage/sqlite-compaction.d.ts +108 -0
  366. package/dist/contracts/storage/sqlite-compaction.js +7 -0
  367. package/dist/contracts/storage.d.ts +2 -0
  368. package/dist/contracts/tool-result-block.d.ts +21 -0
  369. package/dist/contracts/tool-result-block.js +8 -0
  370. package/dist/contracts/vault/vendor-credential-sets.d.ts +12 -0
  371. package/dist/errors/catalog.js +3 -3
  372. package/dist/errors/reporter.d.ts +81 -13
  373. package/dist/errors/reporter.js +220 -32
  374. package/dist/errors/route-refusal.d.ts +29 -0
  375. package/dist/errors/route-refusal.js +25 -0
  376. package/dist/errors/testing.d.ts +6 -7
  377. package/dist/errors/testing.js +7 -4
  378. package/dist/extension-capability-vocabulary.d.ts +29 -0
  379. package/dist/extension-capability-vocabulary.js +31 -0
  380. package/dist/index.d.ts +2 -1
  381. package/dist/index.js +1 -0
  382. package/dist/keyset-cursor.d.ts +25 -0
  383. package/dist/keyset-cursor.js +20 -0
  384. package/dist/native-approval-memory.d.ts +22 -0
  385. package/dist/native-approval-memory.js +32 -0
  386. package/dist/net/public-dns-vocabulary.d.ts +17 -0
  387. package/dist/net/public-dns-vocabulary.js +14 -0
  388. package/dist/object-store.d.ts +7 -0
  389. package/dist/object-store.js +1 -0
  390. package/dist/operator-locale.d.ts +29 -0
  391. package/dist/operator-locale.js +27 -0
  392. package/dist/optimistic-concurrency.d.ts +23 -0
  393. package/dist/origin-validation.d.ts +7 -0
  394. package/dist/origin-validation.js +8 -1
  395. package/dist/primitives/creator-kind.d.ts +27 -0
  396. package/dist/primitives/creator-kind.js +20 -0
  397. package/dist/primitives/index.d.ts +2 -0
  398. package/dist/primitives/index.js +2 -0
  399. package/dist/primitives/lazy-proxy.d.ts +5 -0
  400. package/dist/primitives/lazy-proxy.js +17 -0
  401. package/dist/records.d.ts +1 -1
  402. package/dist/records.js +1 -1
  403. package/dist/redaction-collectors.js +84 -40
  404. package/dist/redaction-exact-secrets.js +4 -4
  405. package/dist/redaction-labels.d.ts +3 -1
  406. package/dist/redaction-labels.js +3 -3
  407. package/dist/redaction-patterns.d.ts +5 -2
  408. package/dist/redaction-patterns.js +19 -10
  409. package/dist/redaction-spans.d.ts +5 -1
  410. package/dist/redaction-spans.js +2 -2
  411. package/dist/redaction.d.ts +5 -0
  412. package/dist/redaction.js +5 -0
  413. package/dist/registration-kit.d.ts +12 -0
  414. package/dist/registration-kit.js +21 -4
  415. package/dist/scheduled-publish.d.ts +57 -0
  416. package/dist/scheduled-publish.js +33 -0
  417. package/dist/settings/ensure-definitions.d.ts +8 -0
  418. package/dist/settings/guarded-reads.d.ts +58 -0
  419. package/dist/settings/guarded-reads.js +48 -0
  420. package/dist/settings/index.d.ts +3 -2
  421. package/dist/settings/index.js +1 -0
  422. package/dist/settings/settings.d.ts +8 -0
  423. package/dist/settings/write-definition-rename.js +2 -2
  424. package/dist/settings/write-definition-retype.js +4 -4
  425. package/dist/settings/write-definition-status.js +4 -4
  426. package/dist/settings/write-service.d.ts +14 -6
  427. package/dist/settings/write-service.js +2 -2
  428. package/dist/surface-exchanges.d.ts +32 -1
  429. package/dist/text/descriptor-i18n.d.ts +4 -1
  430. package/dist/text/descriptor-i18n.js +4 -1
  431. package/dist/text/format-timestamp.js +3 -2
  432. package/dist/text/index.d.ts +3 -0
  433. package/dist/text/index.js +2 -0
  434. package/dist/text/merge-locale-overlays.d.ts +25 -0
  435. package/dist/text/merge-locale-overlays.js +23 -0
  436. package/dist/text/upload-limit-message.d.ts +19 -0
  437. package/dist/text/upload-limit-message.js +29 -0
  438. package/dist/tool-access-change.d.ts +12 -0
  439. package/dist/tool-access-change.js +6 -0
  440. package/dist/tool-metadata/agent-pause.d.ts +21 -0
  441. package/dist/tool-metadata/agent-pause.js +9 -0
  442. package/dist/tool-metadata/agent-plugins.d.ts +72 -0
  443. package/dist/tool-metadata/agent-plugins.js +54 -0
  444. package/dist/tool-metadata/analytics.d.ts +14 -0
  445. package/dist/tool-metadata/analytics.js +17 -0
  446. package/dist/tool-metadata/change-sets.d.ts +24 -0
  447. package/dist/tool-metadata/change-sets.js +19 -0
  448. package/dist/tool-metadata/comments.d.ts +105 -0
  449. package/dist/tool-metadata/comments.js +106 -0
  450. package/dist/tool-metadata/commerce.d.ts +30 -0
  451. package/dist/tool-metadata/commerce.js +11 -0
  452. package/dist/tool-metadata/consent.d.ts +57 -0
  453. package/dist/tool-metadata/consent.js +16 -0
  454. package/dist/tool-metadata/content-duplication.d.ts +13 -0
  455. package/dist/tool-metadata/content-duplication.js +14 -0
  456. package/dist/tool-metadata/content-types.d.ts +74 -0
  457. package/dist/tool-metadata/content-types.js +96 -0
  458. package/dist/tool-metadata/custom-credentials.d.ts +117 -0
  459. package/dist/tool-metadata/custom-credentials.js +105 -0
  460. package/dist/tool-metadata/database-transfer.d.ts +48 -0
  461. package/dist/tool-metadata/database-transfer.js +32 -0
  462. package/dist/tool-metadata/database.d.ts +90 -0
  463. package/dist/tool-metadata/database.js +111 -0
  464. package/dist/tool-metadata/deploy-ops.d.ts +99 -0
  465. package/dist/tool-metadata/deploy-ops.js +96 -0
  466. package/dist/tool-metadata/deployments.d.ts +101 -0
  467. package/dist/tool-metadata/deployments.js +81 -0
  468. package/dist/tool-metadata/domain-dns.d.ts +84 -0
  469. package/dist/tool-metadata/domain-dns.js +99 -0
  470. package/dist/tool-metadata/email-templates.d.ts +54 -0
  471. package/dist/tool-metadata/email-templates.js +41 -0
  472. package/dist/tool-metadata/entries.d.ts +54 -0
  473. package/dist/tool-metadata/entries.js +70 -0
  474. package/dist/tool-metadata/external-mcp.d.ts +86 -0
  475. package/dist/tool-metadata/external-mcp.js +80 -0
  476. package/dist/tool-metadata/files-copy.d.ts +14 -0
  477. package/dist/tool-metadata/files-copy.js +18 -0
  478. package/dist/tool-metadata/forms.d.ts +94 -0
  479. package/dist/tool-metadata/forms.js +117 -0
  480. package/dist/tool-metadata/frontend-control.d.ts +118 -0
  481. package/dist/tool-metadata/frontend-control.js +78 -0
  482. package/dist/tool-metadata/fs-files.d.ts +36 -0
  483. package/dist/tool-metadata/fs-files.js +46 -0
  484. package/dist/tool-metadata/identity.d.ts +184 -0
  485. package/dist/tool-metadata/identity.js +226 -0
  486. package/dist/tool-metadata/image-transform.d.ts +14 -0
  487. package/dist/tool-metadata/image-transform.js +18 -0
  488. package/dist/tool-metadata/mail-status.d.ts +132 -0
  489. package/dist/tool-metadata/mail-status.js +104 -0
  490. package/dist/tool-metadata/media-generation.d.ts +25 -0
  491. package/dist/tool-metadata/media-generation.js +30 -0
  492. package/dist/tool-metadata/media-import.d.ts +34 -0
  493. package/dist/tool-metadata/media-import.js +40 -0
  494. package/dist/tool-metadata/media-video-conversion.d.ts +19 -0
  495. package/dist/tool-metadata/media-video-conversion.js +20 -0
  496. package/dist/tool-metadata/media.d.ts +106 -0
  497. package/dist/tool-metadata/media.js +103 -0
  498. package/dist/tool-metadata/members.d.ts +71 -0
  499. package/dist/tool-metadata/members.js +69 -0
  500. package/dist/tool-metadata/navigation.d.ts +54 -0
  501. package/dist/tool-metadata/navigation.js +71 -0
  502. package/dist/tool-metadata/newsletter.d.ts +190 -0
  503. package/dist/tool-metadata/newsletter.js +246 -0
  504. package/dist/tool-metadata/observability.d.ts +13 -0
  505. package/dist/tool-metadata/observability.js +8 -0
  506. package/dist/tool-metadata/pages.d.ts +47 -0
  507. package/dist/tool-metadata/pages.js +67 -0
  508. package/dist/tool-metadata/permanent-delete.d.ts +139 -0
  509. package/dist/tool-metadata/permanent-delete.js +121 -0
  510. package/dist/tool-metadata/plugin-runtime.d.ts +144 -0
  511. package/dist/tool-metadata/plugin-runtime.js +88 -0
  512. package/dist/tool-metadata/post.d.ts +87 -0
  513. package/dist/tool-metadata/post.js +117 -0
  514. package/dist/tool-metadata/recovery.d.ts +65 -0
  515. package/dist/tool-metadata/recovery.js +78 -0
  516. package/dist/tool-metadata/redirects.d.ts +73 -0
  517. package/dist/tool-metadata/redirects.js +93 -0
  518. package/dist/tool-metadata/routines.d.ts +61 -0
  519. package/dist/tool-metadata/routines.js +40 -0
  520. package/dist/tool-metadata/search.d.ts +49 -0
  521. package/dist/tool-metadata/search.js +33 -0
  522. package/dist/tool-metadata/seo.d.ts +64 -0
  523. package/dist/tool-metadata/seo.js +83 -0
  524. package/dist/tool-metadata/server-logs.d.ts +14 -0
  525. package/dist/tool-metadata/server-logs.js +11 -0
  526. package/dist/tool-metadata/settings.d.ts +90 -0
  527. package/dist/tool-metadata/settings.js +117 -0
  528. package/dist/tool-metadata/site-backup.d.ts +84 -0
  529. package/dist/tool-metadata/site-backup.js +30 -0
  530. package/dist/tool-metadata/site-evidence.d.ts +13 -0
  531. package/dist/tool-metadata/site-evidence.js +10 -0
  532. package/dist/tool-metadata/site-guide.d.ts +18 -0
  533. package/dist/tool-metadata/site-guide.js +15 -0
  534. package/dist/tool-metadata/site-inspection.d.ts +44 -0
  535. package/dist/tool-metadata/site-inspection.js +53 -0
  536. package/dist/tool-metadata/site-update.d.ts +30 -0
  537. package/dist/tool-metadata/site-update.js +22 -0
  538. package/dist/tool-metadata/sites.d.ts +52 -0
  539. package/dist/tool-metadata/sites.js +55 -0
  540. package/dist/tool-metadata/skills.d.ts +13 -0
  541. package/dist/tool-metadata/skills.js +10 -0
  542. package/dist/tool-metadata/source-control.d.ts +26 -0
  543. package/dist/tool-metadata/source-control.js +23 -0
  544. package/dist/tool-metadata/trash.d.ts +32 -0
  545. package/dist/tool-metadata/trash.js +27 -0
  546. package/dist/tool-metadata/visitor-tools.d.ts +49 -0
  547. package/dist/tool-metadata/visitor-tools.js +12 -0
  548. package/dist/tool-metadata/web-screenshot.d.ts +14 -0
  549. package/dist/tool-metadata/web-screenshot.js +23 -0
  550. package/dist/tool-metadata/web.d.ts +14 -0
  551. package/dist/tool-metadata/web.js +21 -0
  552. package/dist/tool-metadata/webhooks.d.ts +65 -0
  553. package/dist/tool-metadata/webhooks.js +77 -0
  554. package/dist/tool-metadata/widgets.d.ts +124 -0
  555. package/dist/tool-metadata/widgets.js +161 -0
  556. package/dist/tool-metadata/workspace.d.ts +43 -0
  557. package/dist/tool-metadata/workspace.js +49 -0
  558. package/dist/tool-read-cards.d.ts +88 -0
  559. package/dist/tool-read-cards.js +158 -0
  560. package/dist/tool-registry.d.ts +25 -0
  561. package/package.json +1430 -5
@@ -8,7 +8,10 @@
8
8
  * is harmless (never shown), so a reworded English string only loses its translation, never the host.
9
9
  *
10
10
  * Shared by every descriptor parser that has person-facing text (deploy targets,
11
- * `@jini-ai/devops/deploy`'s `parseDeployTargetsFile`; a host's own descriptor parsers).
11
+ * `@jini-ai/devops/deploy`'s `parseDeployTargetsFile`; a host's own descriptor parsers such as its
12
+ * deploy-target registry and its source-control (git host) provider registry). Those host parsers
13
+ * import this module directly: a per-package forwarding wrapper with the same `{ value, at }`
14
+ * signature would add a second public entry for one implementation.
12
15
  */
13
16
  /** A BCP 47-shaped tag as the admin's locales spell them (`es`, `pt-BR`, `zh-TW`). */
14
17
  const LOCALE_PATTERN = /^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/;
@@ -41,8 +41,9 @@ function formatInZone({ iso, timeZone }, _options = {}) {
41
41
  const parts = new Intl.DateTimeFormat("en-US", {
42
42
  timeZone, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", hourCycle: "h23",
43
43
  }).formatToParts(date);
44
- const part = (type) => parts.find(entry => entry.type === type)?.value ?? "";
45
- return `${part("year")}-${part("month")}-${part("day")} ${part("hour")}:${part("minute")}`;
44
+ // This formatter requests all five numeric fields for a valid date in en-US.
45
+ const part = Object.fromEntries(parts.map(({ type, value }) => [type, value]));
46
+ return `${part.year}-${part.month}-${part.day} ${part.hour}:${part.minute}`;
46
47
  }
47
48
  /** Inject 'now' to keep relative-time display deterministic. The fallback wording uses simple
48
49
  * English singular/plural templates; hosts can translate them, but this is not full locale pluralization. */
@@ -9,6 +9,8 @@ export { createTaggedTextSuppressor, emitWithTextSuppressor, possibleTagStart, M
9
9
  export type { TaggedTextMatchers, TaggedTextSuppressor, ArtifactTextSuppressor, ArtifactTextSuppressorStats, StreamTextEvent, StreamEventSink } from './tagged-text-suppression.js';
10
10
  export { createDictionaryTranslator } from './dictionary-translator.js';
11
11
  export type { Translate, DictionaryTranslator, LocaleDictionary } from './dictionary-translator.js';
12
+ export { mergeLocaleOverlays } from './merge-locale-overlays.js';
13
+ export type { MergedLocaleDictionary } from './merge-locale-overlays.js';
12
14
  export { interpolate, splitOnPlaceholders, pickPlural, localeEntry } from './template-i18n.js';
13
15
  export { formatTimestamp, formatRelativeMinutesAgo } from './format-timestamp.js';
14
16
  export { resolveActiveTabId } from './resolve-active-tab-id.js';
@@ -17,4 +19,5 @@ export { isAbortError } from './is-abort-error.js';
17
19
  export { extensionForMimeType } from './mime.js';
18
20
  export { formatByteSize } from './format-byte-size.js';
19
21
  export type { FormatByteSizeOptions } from './format-byte-size.js';
22
+ export { describeUploadOverLimit } from './upload-limit-message.js';
20
23
  //# sourceMappingURL=index.d.ts.map
@@ -5,6 +5,7 @@ export { captureLineTail } from "./line-tail.js";
5
5
  export { parseDescriptorI18n } from "./descriptor-i18n.js";
6
6
  export { createTaggedTextSuppressor, emitWithTextSuppressor, possibleTagStart, MAX_CANDIDATE_LENGTH } from './tagged-text-suppression.js';
7
7
  export { createDictionaryTranslator } from './dictionary-translator.js';
8
+ export { mergeLocaleOverlays } from './merge-locale-overlays.js';
8
9
  export { interpolate, splitOnPlaceholders, pickPlural, localeEntry } from './template-i18n.js';
9
10
  export { formatTimestamp, formatRelativeMinutesAgo } from './format-timestamp.js';
10
11
  export { resolveActiveTabId } from './resolve-active-tab-id.js';
@@ -12,4 +13,5 @@ export { redactOAuthUrls } from './redact-urls.js';
12
13
  export { isAbortError } from './is-abort-error.js';
13
14
  export { extensionForMimeType } from './mime.js';
14
15
  export { formatByteSize } from './format-byte-size.js';
16
+ export { describeUploadOverLimit } from './upload-limit-message.js';
15
17
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @file One shared way for a feature's i18n module to fold per-locale "overlay" tables (audit
3
+ * strings, match-type labels, password-field copy, …) into its main per-locale dictionary.
4
+ *
5
+ * Several `*-i18n.ts` modules each hand-rolled the same `Object.fromEntries(Object.entries(BASE)
6
+ * .map(([locale, entries]) => [locale, { ...entries, ...(OVERLAY[locale] ?? {}) }]))` expression.
7
+ * Hoisting it here keeps the "an overlay may not cover every locale" guard in one tested place
8
+ * instead of an untestable module-level branch in each dictionary file.
9
+ */
10
+ import type { LocaleDictionary } from './dictionary-translator.js';
11
+ /** The merged result: a fresh, caller-owned locale → (English source string → translated string) table. */
12
+ export type MergedLocaleDictionary = Record<string, Record<string, string>>;
13
+ /**
14
+ * Returns a new dictionary with one entry per locale of `base` (overlay-only locales are ignored,
15
+ * matching the hand-rolled expressions this replaced). Each locale's entries are `base[locale]`
16
+ * followed by every overlay's entries for that locale, in argument order, so a later overlay wins
17
+ * on a key collision. An overlay that has no entry for a locale contributes nothing to it.
18
+ * Inputs are never mutated.
19
+ */
20
+ export declare function mergeLocaleOverlays({ base }: {
21
+ base: LocaleDictionary;
22
+ }, { overlays }?: {
23
+ overlays?: readonly LocaleDictionary[];
24
+ }): MergedLocaleDictionary;
25
+ //# sourceMappingURL=merge-locale-overlays.d.ts.map
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @file One shared way for a feature's i18n module to fold per-locale "overlay" tables (audit
3
+ * strings, match-type labels, password-field copy, …) into its main per-locale dictionary.
4
+ *
5
+ * Several `*-i18n.ts` modules each hand-rolled the same `Object.fromEntries(Object.entries(BASE)
6
+ * .map(([locale, entries]) => [locale, { ...entries, ...(OVERLAY[locale] ?? {}) }]))` expression.
7
+ * Hoisting it here keeps the "an overlay may not cover every locale" guard in one tested place
8
+ * instead of an untestable module-level branch in each dictionary file.
9
+ */
10
+ /**
11
+ * Returns a new dictionary with one entry per locale of `base` (overlay-only locales are ignored,
12
+ * matching the hand-rolled expressions this replaced). Each locale's entries are `base[locale]`
13
+ * followed by every overlay's entries for that locale, in argument order, so a later overlay wins
14
+ * on a key collision. An overlay that has no entry for a locale contributes nothing to it.
15
+ * Inputs are never mutated.
16
+ */
17
+ export function mergeLocaleOverlays({ base }, { overlays = [] } = {}) {
18
+ return Object.fromEntries(Object.entries(base).map(([locale, entries]) => [
19
+ locale,
20
+ Object.assign({}, entries, ...overlays.map((overlay) => overlay[locale] ?? {})),
21
+ ]));
22
+ }
23
+ //# sourceMappingURL=merge-locale-overlays.js.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @file The one sentence every upload surface uses when a file is over the limit, so the server, the
3
+ * Library screen and the chat composer all say the same thing in the same words.
4
+ */
5
+ /**
6
+ * "That file is 200 MB; the limit is 50 MB." 1024-based, like every other upload limit here.
7
+ * The file's size is rounded UP to a tenth so a file that is only a byte over never reads as
8
+ * "50 MB; the limit is 50 MB" (which would look like it should have been accepted).
9
+ *
10
+ * @param required.fileBytes - The size of the file that was refused.
11
+ * @param required.limitBytes - The largest size this surface accepts.
12
+ * @returns A plain-words sentence naming both sizes.
13
+ * @complexity O(1).
14
+ */
15
+ export declare function describeUploadOverLimit({ fileBytes, limitBytes }: {
16
+ fileBytes: number;
17
+ limitBytes: number;
18
+ }): string;
19
+ //# sourceMappingURL=upload-limit-message.d.ts.map
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @file The one sentence every upload surface uses when a file is over the limit, so the server, the
3
+ * Library screen and the chat composer all say the same thing in the same words.
4
+ */
5
+ const BYTES_PER_KB = 1024;
6
+ const BYTES_PER_MB = 1024 * 1024;
7
+ /** A size to one decimal in the unit a person reads; `roundUp` keeps an over-limit file above the limit. */
8
+ function plainSize({ bytes, roundUp }) {
9
+ const round = roundUp ? Math.ceil : Math.round;
10
+ if (bytes >= BYTES_PER_MB)
11
+ return `${round((bytes / BYTES_PER_MB) * 10) / 10} MB`;
12
+ if (bytes >= BYTES_PER_KB)
13
+ return `${round((bytes / BYTES_PER_KB) * 10) / 10} KB`;
14
+ return `${bytes} bytes`;
15
+ }
16
+ /**
17
+ * "That file is 200 MB; the limit is 50 MB." 1024-based, like every other upload limit here.
18
+ * The file's size is rounded UP to a tenth so a file that is only a byte over never reads as
19
+ * "50 MB; the limit is 50 MB" (which would look like it should have been accepted).
20
+ *
21
+ * @param required.fileBytes - The size of the file that was refused.
22
+ * @param required.limitBytes - The largest size this surface accepts.
23
+ * @returns A plain-words sentence naming both sizes.
24
+ * @complexity O(1).
25
+ */
26
+ export function describeUploadOverLimit({ fileBytes, limitBytes }) {
27
+ return `That file is ${plainSize({ bytes: fileBytes, roundUp: true })}; the limit is ${plainSize({ bytes: limitBytes, roundUp: false })}.`;
28
+ }
29
+ //# sourceMappingURL=upload-limit-message.js.map
@@ -0,0 +1,12 @@
1
+ /** @file Tool-access lowering seam shared by every host that saves an OFF decision: the notify effect and the error for an unconfirmed stop. */
2
+ import type { ToolAccessChange } from "./contracts/site/daemon.js";
3
+ /** Host effect used after saving a decision that lowers tool access. */
4
+ export type NotifyToolAccessChanged = (input?: {
5
+ readonly lowered?: ToolAccessChange;
6
+ }) => Promise<void>;
7
+ /** A durable OFF decision stands even when cleanup fails; never report an unconfirmed stop. */
8
+ export declare class ToolAccessLoweringError extends Error {
9
+ readonly code = "TOOL_ACCESS_STOP_FAILED";
10
+ constructor();
11
+ }
12
+ //# sourceMappingURL=tool-access-change.d.ts.map
@@ -0,0 +1,6 @@
1
+ /** A durable OFF decision stands even when cleanup fails; never report an unconfirmed stop. */
2
+ export class ToolAccessLoweringError extends Error {
3
+ code = 'TOOL_ACCESS_STOP_FAILED';
4
+ constructor() { super("Tool access changed, but affected answers could not be confirmed stopped."); }
5
+ }
6
+ //# sourceMappingURL=tool-access-change.js.map
@@ -0,0 +1,21 @@
1
+ /** Agent-pause registration declarations (H4); shared placement rationale is in ./index.ts.
2
+ * `direct`: the tool holds its own call open for the approval card, so no second policy prompt. */
3
+ export declare function createResumeAgentWorkMetadata<const Id extends string>({ toolId, search }: {
4
+ toolId: Id;
5
+ search: {
6
+ keywords: string;
7
+ queries: readonly string[];
8
+ };
9
+ }, _optional?: {}): {
10
+ readonly [K in Id]: {
11
+ readonly search: {
12
+ keywords: string;
13
+ queries: readonly string[];
14
+ };
15
+ readonly approval: {
16
+ readonly class: "edit";
17
+ readonly confirmation: "direct";
18
+ };
19
+ };
20
+ };
21
+ //# sourceMappingURL=agent-pause.d.ts.map
@@ -0,0 +1,9 @@
1
+ /** Agent-pause registration declarations (H4); shared placement rationale is in ./index.ts.
2
+ * `direct`: the tool holds its own call open for the approval card, so no second policy prompt. */
3
+ export function createResumeAgentWorkMetadata({ toolId, search }, _optional = {}) {
4
+ const metadata = {
5
+ [toolId]: { search, approval: { class: "edit", confirmation: "direct" } },
6
+ };
7
+ return metadata;
8
+ }
9
+ //# sourceMappingURL=agent-pause.js.map
@@ -0,0 +1,72 @@
1
+ /** agent-plugins registration declarations; shared placement rationale is in the host aggregator.
2
+ * The customize tool's search keywords name the host's bundled theme plugin id, so the host passes it in
3
+ * (`bundledThemePluginId`) and the package never names one. */
4
+ export declare function createAgentPluginsToolMetadata({ bundledThemePluginId }: {
5
+ bundledThemePluginId: string;
6
+ }, _optional?: Record<string, never>): {
7
+ readonly load_agent_plugin: {
8
+ readonly approval: {
9
+ readonly class: "read";
10
+ readonly confirmation: "direct";
11
+ };
12
+ };
13
+ readonly agent_plugin_connect: {
14
+ readonly search: {
15
+ readonly keywords: "connect sign in signin login link account database setup set up enable activate authorize authorization oauth plugin";
16
+ };
17
+ readonly approval: {
18
+ readonly class: "edit";
19
+ readonly confirmation: "direct";
20
+ readonly input: "human-form";
21
+ };
22
+ readonly mcpUi: {
23
+ readonly redeemable: true;
24
+ };
25
+ };
26
+ readonly agent_plugin_write_note: {
27
+ readonly approval: {
28
+ readonly class: "edit";
29
+ readonly confirmation: "direct";
30
+ };
31
+ };
32
+ readonly agent_plugins_update: {
33
+ readonly title: "Change agent plugin access";
34
+ readonly summary: "This changes the selected agent plugin installation or the access it has.";
35
+ readonly search: {
36
+ readonly keywords: "agent plugin update upgrade replace zip folder version digest";
37
+ };
38
+ readonly approval: {
39
+ readonly class: "escalation";
40
+ readonly confirmation: "policy";
41
+ };
42
+ };
43
+ readonly agent_plugins_install: {
44
+ readonly search: {
45
+ readonly keywords: "agent plugin plugins install add upload attachment zip folder bundled bundledId ui-ux-design package agent-plugins plugin.json upgrade replace version";
46
+ };
47
+ readonly approval: {
48
+ readonly class: "edit";
49
+ readonly confirmation: "direct";
50
+ };
51
+ };
52
+ readonly agent_plugins_customize: {
53
+ readonly search: {
54
+ readonly keywords: `edit customize change bundled agent plugin ${string} fork copy skills source EACCES PLUGIN_BUNDLED`;
55
+ };
56
+ readonly approval: {
57
+ readonly class: "edit";
58
+ readonly confirmation: "direct";
59
+ };
60
+ };
61
+ readonly search_agent_plugin_local: {
62
+ readonly search: {
63
+ readonly keywords: "agent plugin plugins agent-plugin agent-plugins search find looking for do I have installed capability capabilities skill skills addon add-on package packages extension extensions bundle available covers supports mcp server marketplace";
64
+ readonly queries: readonly ["Is there a plugin for deploying to my hosting provider?", "What agent plugins do I have installed?", "Do we already have something installed that handles GDPR or cookie consent?", "Find a plugin that can help with accessibility review.", "Is there an installed plugin that declares an MCP server, and what does it cover?"];
65
+ };
66
+ readonly approval: {
67
+ readonly class: "read";
68
+ readonly confirmation: "direct";
69
+ };
70
+ };
71
+ };
72
+ //# sourceMappingURL=agent-plugins.d.ts.map
@@ -0,0 +1,54 @@
1
+ /** agent-plugins registration declarations; shared placement rationale is in the host aggregator.
2
+ * The customize tool's search keywords name the host's bundled theme plugin id, so the host passes it in
3
+ * (`bundledThemePluginId`) and the package never names one. */
4
+ export function createAgentPluginsToolMetadata({ bundledThemePluginId }, _optional = {}) {
5
+ return {
6
+ load_agent_plugin: { approval: { class: 'read', confirmation: 'direct' } },
7
+ // OAuth-authenticated Agent Plugins use the generic connection card.
8
+ "agent_plugin_connect": {
9
+ search: {
10
+ keywords: "connect sign in signin login link account database setup set up enable activate authorize authorization oauth plugin",
11
+ },
12
+ approval: { class: 'edit', confirmation: 'direct', input: 'human-form' },
13
+ mcpUi: { redeemable: true },
14
+ },
15
+ "agent_plugin_write_note": {
16
+ approval: { class: 'edit', confirmation: 'direct' },
17
+ },
18
+ // Always asks: an update keeps an enabled plugin enabled, so without a click an assistant (or a
19
+ // prompt injection) could make a new unverified local/zip package live. Install lands OFF and
20
+ // enabling goes through plugins_set_enabled's own escalation, so install stays direct.
21
+ "agent_plugins_update": {
22
+ title: 'Change agent plugin access',
23
+ summary: 'This changes the selected agent plugin installation or the access it has.',
24
+ search: { keywords: "agent plugin update upgrade replace zip folder version digest" },
25
+ approval: { class: 'escalation', confirmation: 'policy' },
26
+ },
27
+ "agent_plugins_install": {
28
+ search: {
29
+ keywords: "agent plugin plugins install add upload attachment zip folder bundled bundledId ui-ux-design package agent-plugins plugin.json upgrade replace version",
30
+ },
31
+ approval: { class: 'edit', confirmation: 'direct' },
32
+ },
33
+ agent_plugins_customize: {
34
+ search: { keywords: `edit customize change bundled agent plugin ${bundledThemePluginId} fork copy skills source EACCES PLUGIN_BUNDLED` },
35
+ approval: { class: 'edit', confirmation: 'direct' },
36
+ },
37
+ // --- agent plugins (agent-plugins.org packages — a DIFFERENT system from the host plugin system above) -----------
38
+ // Search vocabulary targets discovery intent before an operator knows manifest terminology.
39
+ "search_agent_plugin_local": {
40
+ search: {
41
+ keywords: "agent plugin plugins agent-plugin agent-plugins search find looking for do I have installed capability capabilities skill skills addon add-on package packages extension extensions bundle available covers supports mcp server marketplace",
42
+ queries: [
43
+ "Is there a plugin for deploying to my hosting provider?",
44
+ "What agent plugins do I have installed?",
45
+ "Do we already have something installed that handles GDPR or cookie consent?",
46
+ "Find a plugin that can help with accessibility review.",
47
+ "Is there an installed plugin that declares an MCP server, and what does it cover?",
48
+ ],
49
+ },
50
+ approval: { class: 'read', confirmation: 'direct' },
51
+ },
52
+ };
53
+ }
54
+ //# sourceMappingURL=agent-plugins.js.map
@@ -0,0 +1,14 @@
1
+ /** analytics registration declarations; shared placement rationale is in the host aggregator. */
2
+ export declare const toolMetadata: {
3
+ readonly analytics_list_recent_hits: {
4
+ readonly search: {
5
+ readonly keywords: "analytics traffic visitors visits views page views hits who visited popular pages referrers where from recent";
6
+ readonly queries: readonly ["Show me recent traffic to my site.", "Which pages are getting visits in the recent buffer?", "Summarize recent page views by path and referrer.", "Where did recent visits come from, including Google search, and what devices were used?", "Who visited my site recently? Show anonymous hits, not identities."];
7
+ };
8
+ readonly approval: {
9
+ readonly class: "read";
10
+ readonly confirmation: "direct";
11
+ };
12
+ };
13
+ };
14
+ //# sourceMappingURL=analytics.d.ts.map
@@ -0,0 +1,17 @@
1
+ /** analytics registration declarations; shared placement rationale is in the host aggregator. */
2
+ export const toolMetadata = {
3
+ "analytics_list_recent_hits": {
4
+ search: {
5
+ keywords: "analytics traffic visitors visits views page views hits who visited popular pages referrers where from recent",
6
+ queries: [
7
+ "Show me recent traffic to my site.",
8
+ "Which pages are getting visits in the recent buffer?",
9
+ "Summarize recent page views by path and referrer.",
10
+ "Where did recent visits come from, including Google search, and what devices were used?",
11
+ "Who visited my site recently? Show anonymous hits, not identities.",
12
+ ],
13
+ },
14
+ approval: { class: 'read', confirmation: 'direct' },
15
+ },
16
+ };
17
+ //# sourceMappingURL=analytics.js.map
@@ -0,0 +1,24 @@
1
+ /** change-sets registration declarations; shared placement rationale is in the host aggregator. */
2
+ export declare const toolMetadata: {
3
+ readonly change_sets_list: {
4
+ readonly search: {
5
+ readonly keywords: "change set history recent edits undo list revert log";
6
+ };
7
+ readonly approval: {
8
+ readonly class: "read";
9
+ readonly confirmation: "direct";
10
+ };
11
+ };
12
+ readonly change_sets_revert: {
13
+ readonly title: "Restore the previous content";
14
+ readonly summary: "This replaces the current content with the selected earlier version.";
15
+ readonly search: {
16
+ readonly keywords: "change set undo revert restore rollback previous version post page edit";
17
+ };
18
+ readonly approval: {
19
+ readonly class: "restore-over-existing";
20
+ readonly confirmation: "policy";
21
+ };
22
+ };
23
+ };
24
+ //# sourceMappingURL=change-sets.d.ts.map
@@ -0,0 +1,19 @@
1
+ /** change-sets registration declarations; shared placement rationale is in the host aggregator. */
2
+ export const toolMetadata = {
3
+ // Undo for post/page edits and deletes (F7b option A, S6).
4
+ "change_sets_list": {
5
+ search: {
6
+ keywords: "change set history recent edits undo list revert log",
7
+ },
8
+ approval: { class: 'read', confirmation: 'direct' },
9
+ },
10
+ "change_sets_revert": {
11
+ title: 'Restore the previous content',
12
+ summary: 'This replaces the current content with the selected earlier version.',
13
+ search: {
14
+ keywords: "change set undo revert restore rollback previous version post page edit",
15
+ },
16
+ approval: { class: 'restore-over-existing', confirmation: 'policy' },
17
+ },
18
+ };
19
+ //# sourceMappingURL=change-sets.js.map
@@ -0,0 +1,105 @@
1
+ /** comments registration declarations; shared placement rationale is in the host aggregator. */
2
+ export declare const toolMetadata: {
3
+ readonly comments_get_provider: {
4
+ readonly search: {
5
+ readonly keywords: "comments provider built-in active readiness pending";
6
+ readonly queries: readonly ["Where do my comments live?"];
7
+ };
8
+ readonly approval: {
9
+ readonly class: "read";
10
+ readonly confirmation: "direct";
11
+ };
12
+ };
13
+ readonly comments_set_provider: {
14
+ readonly title: "Change the comments provider";
15
+ readonly summary: "This changes the service that handles comments on this site.";
16
+ readonly search: {
17
+ readonly keywords: "comments provider select switch disable built-in";
18
+ readonly queries: readonly ["Switch my comments provider."];
19
+ };
20
+ readonly approval: {
21
+ readonly class: "escalation";
22
+ readonly confirmation: "plan";
23
+ };
24
+ };
25
+ readonly comments_get_comment: {
26
+ readonly search: {
27
+ readonly keywords: "comment single details read approved spam trash id version";
28
+ };
29
+ readonly approval: {
30
+ readonly class: "read";
31
+ readonly confirmation: "direct";
32
+ };
33
+ };
34
+ readonly comments_approve_comment: {
35
+ readonly search: {
36
+ readonly keywords: "comment approve publish allow accept moderation";
37
+ readonly queries: readonly ["Can you approve this comment so it shows up publicly?", "This comment got flagged as spam but it's legit, can you approve it?", "How do I let this pending comment through?", "Can you make this comment visible to visitors?", "I want to unhide a trashed comment by approving it."];
38
+ };
39
+ readonly approval: {
40
+ readonly class: "edit";
41
+ readonly confirmation: "direct";
42
+ };
43
+ };
44
+ readonly comments_get_settings: {
45
+ readonly search: {
46
+ readonly keywords: "comment settings configuration config current rules how comments work";
47
+ readonly queries: readonly ["What are our current comment moderation settings?", "Is comment approval required before comments show up?", "What is the current per-visitor hourly comment limit?", "What's our spam auto-reject threshold set to?", "Are comments automatically closed after a configured number of days?"];
48
+ };
49
+ readonly approval: {
50
+ readonly class: "read";
51
+ readonly confirmation: "direct";
52
+ };
53
+ };
54
+ readonly comments_list_moderation_queue: {
55
+ readonly search: {
56
+ readonly keywords: "comments waiting approval pending moderate moderation review queue unapproved held";
57
+ readonly queries: readonly ["What comments are waiting for me to approve?", "Show me the pending comments queue.", "Are there any comments stuck in moderation right now?", "I need the id of a comment before I can approve it.", "Can you list comments that were marked as spam so I can review them?"];
58
+ };
59
+ readonly approval: {
60
+ readonly class: "read";
61
+ readonly confirmation: "direct";
62
+ };
63
+ };
64
+ readonly comments_mark_comment_spam: {
65
+ readonly search: {
66
+ readonly keywords: "comment spam junk abusive reported flag";
67
+ readonly queries: readonly ["This comment looks like spam, can you hide it?", "How do I flag a comment as junk?", "Can you mark this as spam so it's not shown publicly?", "I need to hide an obviously fake comment.", "How do I mark a bad comment without deleting it permanently?"];
68
+ };
69
+ readonly approval: {
70
+ readonly class: "edit";
71
+ readonly confirmation: "direct";
72
+ };
73
+ };
74
+ readonly comments_restore_comment: {
75
+ readonly search: {
76
+ readonly keywords: "comment undelete bring back recover unspam un-spam";
77
+ readonly queries: readonly ["I trashed a comment by accident, can you bring it back?", "Can you undo marking this comment as spam?", "How do I restore a comment I deleted?", "Can you make a spam comment approved again?", "I want to recover a comment from the trash."];
78
+ };
79
+ readonly approval: {
80
+ readonly class: "edit";
81
+ readonly confirmation: "direct";
82
+ };
83
+ };
84
+ readonly comments_trash_comment: {
85
+ readonly search: {
86
+ readonly keywords: "comment hide remove delete trash reported abusive";
87
+ readonly queries: readonly ["Can you delete this comment?", "How do I remove a rude comment from the site?", "I want to trash a comment but be able to bring it back later.", "Can you soft-delete this comment?", "How do I hide a comment without permanently losing it?"];
88
+ };
89
+ readonly approval: {
90
+ readonly class: "trash";
91
+ readonly confirmation: "policy";
92
+ };
93
+ };
94
+ readonly comments_update_settings: {
95
+ readonly search: {
96
+ readonly keywords: "comment settings configure change require approval turn on off limit rate moderation rules";
97
+ readonly queries: readonly ["Can you turn on comment moderation for the site?", "I want to change how deep a nested reply thread can go.", "Can you raise the spam score threshold for auto-rejecting comments?", "How do I set comments to close automatically after 30 days?", "Can you limit how many comments one IP can post per hour?"];
98
+ };
99
+ readonly approval: {
100
+ readonly class: "edit";
101
+ readonly confirmation: "direct";
102
+ };
103
+ };
104
+ };
105
+ //# sourceMappingURL=comments.d.ts.map
@@ -0,0 +1,106 @@
1
+ /** comments registration declarations; shared placement rationale is in the host aggregator. */
2
+ export const toolMetadata = {
3
+ comments_get_provider: { search: { keywords: 'comments provider built-in active readiness pending', queries: ['Where do my comments live?'] }, approval: { class: 'read', confirmation: 'direct' } },
4
+ comments_set_provider: {
5
+ title: 'Change the comments provider',
6
+ summary: 'This changes the service that handles comments on this site.',
7
+ search: { keywords: 'comments provider select switch disable built-in', queries: ['Switch my comments provider.'] }, approval: { class: 'escalation', confirmation: 'plan' }
8
+ },
9
+ "comments_get_comment": {
10
+ search: { keywords: "comment single details read approved spam trash id version" },
11
+ approval: { class: 'read', confirmation: 'direct' },
12
+ },
13
+ "comments_approve_comment": {
14
+ search: {
15
+ keywords: "comment approve publish allow accept moderation",
16
+ queries: [
17
+ "Can you approve this comment so it shows up publicly?",
18
+ "This comment got flagged as spam but it's legit, can you approve it?",
19
+ "How do I let this pending comment through?",
20
+ "Can you make this comment visible to visitors?",
21
+ "I want to unhide a trashed comment by approving it.",
22
+ ],
23
+ },
24
+ approval: { class: 'edit', confirmation: 'direct' },
25
+ },
26
+ "comments_get_settings": {
27
+ search: {
28
+ keywords: "comment settings configuration config current rules how comments work",
29
+ queries: [
30
+ "What are our current comment moderation settings?",
31
+ "Is comment approval required before comments show up?",
32
+ "What is the current per-visitor hourly comment limit?",
33
+ "What's our spam auto-reject threshold set to?",
34
+ "Are comments automatically closed after a configured number of days?",
35
+ ],
36
+ },
37
+ approval: { class: 'read', confirmation: 'direct' },
38
+ },
39
+ // --- comments ------------------------------------------------------------------------------
40
+ "comments_list_moderation_queue": {
41
+ search: {
42
+ keywords: "comments waiting approval pending moderate moderation review queue unapproved held",
43
+ queries: [
44
+ "What comments are waiting for me to approve?",
45
+ "Show me the pending comments queue.",
46
+ "Are there any comments stuck in moderation right now?",
47
+ "I need the id of a comment before I can approve it.",
48
+ "Can you list comments that were marked as spam so I can review them?",
49
+ ],
50
+ },
51
+ approval: { class: 'read', confirmation: 'direct' },
52
+ },
53
+ "comments_mark_comment_spam": {
54
+ search: {
55
+ keywords: "comment spam junk abusive reported flag",
56
+ queries: [
57
+ "This comment looks like spam, can you hide it?",
58
+ "How do I flag a comment as junk?",
59
+ "Can you mark this as spam so it's not shown publicly?",
60
+ "I need to hide an obviously fake comment.",
61
+ "How do I mark a bad comment without deleting it permanently?",
62
+ ],
63
+ },
64
+ approval: { class: 'edit', confirmation: 'direct' },
65
+ },
66
+ "comments_restore_comment": {
67
+ search: {
68
+ keywords: "comment undelete bring back recover unspam un-spam",
69
+ queries: [
70
+ "I trashed a comment by accident, can you bring it back?",
71
+ "Can you undo marking this comment as spam?",
72
+ "How do I restore a comment I deleted?",
73
+ "Can you make a spam comment approved again?",
74
+ "I want to recover a comment from the trash.",
75
+ ],
76
+ },
77
+ approval: { class: 'edit', confirmation: 'direct' },
78
+ },
79
+ "comments_trash_comment": {
80
+ search: {
81
+ keywords: "comment hide remove delete trash reported abusive",
82
+ queries: [
83
+ "Can you delete this comment?",
84
+ "How do I remove a rude comment from the site?",
85
+ "I want to trash a comment but be able to bring it back later.",
86
+ "Can you soft-delete this comment?",
87
+ "How do I hide a comment without permanently losing it?",
88
+ ],
89
+ },
90
+ approval: { class: 'trash', confirmation: 'policy' },
91
+ },
92
+ "comments_update_settings": {
93
+ search: {
94
+ keywords: "comment settings configure change require approval turn on off limit rate moderation rules",
95
+ queries: [
96
+ "Can you turn on comment moderation for the site?",
97
+ "I want to change how deep a nested reply thread can go.",
98
+ "Can you raise the spam score threshold for auto-rejecting comments?",
99
+ "How do I set comments to close automatically after 30 days?",
100
+ "Can you limit how many comments one IP can post per hour?",
101
+ ],
102
+ },
103
+ approval: { class: 'edit', confirmation: 'direct' },
104
+ },
105
+ };
106
+ //# sourceMappingURL=comments.js.map