@jini-ai/core 0.7.3-next.1 → 0.7.3-next.3

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 (558) hide show
  1. package/CHANGELOG.md +2 -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/config/env-schema.d.ts +31 -0
  7. package/dist/config/env-schema.js +29 -0
  8. package/dist/contracts/agents/definition.d.ts +9 -1
  9. package/dist/contracts/agents/index.d.ts +1 -0
  10. package/dist/contracts/agents/inventory.d.ts +29 -0
  11. package/dist/contracts/agents/inventory.js +8 -0
  12. package/dist/contracts/agents/provider-ports.d.ts +117 -0
  13. package/dist/contracts/agents/provider-ports.js +2 -0
  14. package/dist/contracts/agents/proxy-provider-kit.d.ts +122 -0
  15. package/dist/contracts/agents/proxy-provider-kit.js +119 -0
  16. package/dist/contracts/agents/proxy-provider.d.ts +34 -0
  17. package/dist/contracts/agents/proxy-provider.js +2 -0
  18. package/dist/contracts/blob-gc.d.ts +69 -0
  19. package/dist/contracts/blob-gc.js +13 -0
  20. package/dist/contracts/credentials.d.ts +5 -19
  21. package/dist/contracts/desktop-zoom.d.ts +7 -0
  22. package/dist/contracts/desktop-zoom.js +6 -0
  23. package/dist/contracts/events/change-set.d.ts +12 -3
  24. package/dist/contracts/events/command.d.ts +11 -5
  25. package/dist/contracts/events/ports.d.ts +38 -0
  26. package/dist/contracts/events/ports.js +8 -1
  27. package/dist/contracts/events.d.ts +2 -1
  28. package/dist/contracts/events.js +1 -1
  29. package/dist/contracts/execution.d.ts +541 -0
  30. package/dist/contracts/execution.js +2 -0
  31. package/dist/contracts/find-in-page.d.ts +12 -0
  32. package/dist/contracts/find-in-page.js +7 -0
  33. package/dist/contracts/headless/chart-providers.d.ts +12 -0
  34. package/dist/contracts/headless/chart-providers.js +2 -0
  35. package/dist/contracts/headless/chat-attachment.d.ts +21 -0
  36. package/dist/contracts/headless/chat-attachment.js +9 -0
  37. package/dist/contracts/headless/contracts.d.ts +179 -0
  38. package/dist/contracts/headless/contracts.js +2 -0
  39. package/dist/contracts/headless/form-delivery-status.d.ts +35 -0
  40. package/dist/contracts/headless/form-delivery-status.js +2 -0
  41. package/dist/contracts/headless/member-login.d.ts +3 -0
  42. package/dist/contracts/headless/member-login.js +3 -0
  43. package/dist/contracts/headless/operator-locale.d.ts +17 -0
  44. package/dist/contracts/headless/operator-locale.js +2 -0
  45. package/dist/contracts/headless/plugin-export-catalog.d.ts +21 -0
  46. package/dist/contracts/headless/plugin-export-catalog.js +2 -0
  47. package/dist/contracts/headless/plugin-host.d.ts +128 -0
  48. package/dist/contracts/headless/plugin-host.js +2 -0
  49. package/dist/contracts/headless/plugin-install-source.d.ts +82 -0
  50. package/dist/contracts/headless/plugin-install-source.js +12 -0
  51. package/dist/contracts/headless/site-cookie-consent.d.ts +41 -0
  52. package/dist/contracts/headless/site-cookie-consent.js +2 -0
  53. package/dist/contracts/hosted-mcp/admissions.d.ts +125 -0
  54. package/dist/contracts/hosted-mcp/admissions.js +3 -0
  55. package/dist/contracts/hosted-mcp/record.d.ts +7 -2
  56. package/dist/contracts/hosted-mcp.d.ts +1 -0
  57. package/dist/contracts/mail.d.ts +28 -2
  58. package/dist/contracts/mail.js +3 -0
  59. package/dist/contracts/observability.d.ts +15 -0
  60. package/dist/contracts/observability.js +1 -0
  61. package/dist/contracts/run-attempt.d.ts +14 -0
  62. package/dist/contracts/run-attempt.js +7 -0
  63. package/dist/contracts/server/api-error.js +1 -0
  64. package/dist/contracts/server/client-facing-error.d.ts +25 -0
  65. package/dist/contracts/server/client-facing-error.js +21 -0
  66. package/dist/contracts/server/deferred-body.d.ts +65 -0
  67. package/dist/contracts/server/deferred-body.js +2 -0
  68. package/dist/contracts/server/failure-copy.d.ts +19 -0
  69. package/dist/contracts/server/failure-copy.js +26 -0
  70. package/dist/contracts/server/json-route.d.ts +52 -26
  71. package/dist/contracts/server/json-route.js +128 -32
  72. package/dist/contracts/server/request-body.d.ts +12 -0
  73. package/dist/contracts/server/request-body.js +7 -3
  74. package/dist/contracts/server/route-reply.d.ts +32 -0
  75. package/dist/contracts/server/route-reply.js +26 -0
  76. package/dist/contracts/server.d.ts +4 -0
  77. package/dist/contracts/server.js +4 -0
  78. package/dist/contracts/site/admin-sites.d.ts +134 -0
  79. package/dist/contracts/site/admin-sites.js +7 -0
  80. package/dist/contracts/site/admin-surfaces-connections.d.ts +128 -0
  81. package/dist/contracts/site/admin-surfaces-connections.js +2 -0
  82. package/dist/contracts/site/agent-plugins-admin-surfaces.d.ts +218 -0
  83. package/dist/contracts/site/agent-plugins-admin-surfaces.js +2 -0
  84. package/dist/contracts/site/agent-plugins-connect.d.ts +25 -0
  85. package/dist/contracts/site/agent-plugins-connect.js +2 -0
  86. package/dist/contracts/site/agent-plugins-lifecycle.d.ts +151 -0
  87. package/dist/contracts/site/agent-plugins-lifecycle.js +2 -0
  88. package/dist/contracts/site/agent-plugins-manifest.d.ts +41 -0
  89. package/dist/contracts/site/agent-plugins-manifest.js +11 -0
  90. package/dist/contracts/site/agent-runtime.d.ts +110 -0
  91. package/dist/contracts/site/agent-runtime.js +2 -0
  92. package/dist/contracts/site/agentic-core.d.ts +44 -0
  93. package/dist/contracts/site/agentic-core.js +9 -0
  94. package/dist/contracts/site/agentic-dom.d.ts +27 -0
  95. package/dist/contracts/site/agentic-dom.js +2 -0
  96. package/dist/contracts/site/agentic.d.ts +37 -0
  97. package/dist/contracts/site/agentic.js +8 -0
  98. package/dist/contracts/site/analytics.d.ts +81 -0
  99. package/dist/contracts/site/analytics.js +2 -0
  100. package/dist/contracts/site/api-ai-assistant-api-types.d.ts +182 -0
  101. package/dist/contracts/site/api-ai-assistant-api-types.js +2 -0
  102. package/dist/contracts/site/api-connections-hosted-mcp.d.ts +176 -0
  103. package/dist/contracts/site/api-connections-hosted-mcp.js +2 -0
  104. package/dist/contracts/site/api-security-api-types.d.ts +177 -0
  105. package/dist/contracts/site/api-security-api-types.js +2 -0
  106. package/dist/contracts/site/approval-i18n.d.ts +32 -0
  107. package/dist/contracts/site/approval-i18n.js +156 -0
  108. package/dist/contracts/site/asset-transfer-tool-ports.d.ts +54 -0
  109. package/dist/contracts/site/asset-transfer-tool-ports.js +2 -0
  110. package/dist/contracts/site/assistant-host-ports.d.ts +23 -0
  111. package/dist/contracts/site/assistant-host-ports.js +2 -0
  112. package/dist/contracts/site/assistant-mcp-services.d.ts +26 -0
  113. package/dist/contracts/site/assistant-mcp-services.js +8 -0
  114. package/dist/contracts/site/assistant-tool-contributions.d.ts +45 -0
  115. package/dist/contracts/site/assistant-tool-contributions.js +2 -0
  116. package/dist/contracts/site/chat-core.d.ts +93 -0
  117. package/dist/contracts/site/chat-core.js +13 -0
  118. package/dist/contracts/site/client-directives.d.ts +21 -0
  119. package/dist/contracts/site/client-directives.js +8 -0
  120. package/dist/contracts/site/cms-admin-media.d.ts +61 -0
  121. package/dist/contracts/site/cms-admin-media.js +7 -0
  122. package/dist/contracts/site/cms-agent-plugins.d.ts +114 -0
  123. package/dist/contracts/site/cms-agent-plugins.js +17 -0
  124. package/dist/contracts/site/cms-assistant.d.ts +74 -0
  125. package/dist/contracts/site/cms-assistant.js +17 -0
  126. package/dist/contracts/site/cms-core.d.ts +17 -0
  127. package/dist/contracts/site/cms-core.js +12 -0
  128. package/dist/contracts/site/cms-external-mcp.d.ts +206 -0
  129. package/dist/contracts/site/cms-external-mcp.js +13 -0
  130. package/dist/contracts/site/cms-forms.d.ts +192 -0
  131. package/dist/contracts/site/cms-forms.js +15 -0
  132. package/dist/contracts/site/cms-integrations.d.ts +47 -0
  133. package/dist/contracts/site/cms-integrations.js +8 -0
  134. package/dist/contracts/site/cms-mail.d.ts +39 -0
  135. package/dist/contracts/site/cms-mail.js +12 -0
  136. package/dist/contracts/site/cms-media.d.ts +449 -0
  137. package/dist/contracts/site/cms-media.js +3 -0
  138. package/dist/contracts/site/cms-menus.d.ts +109 -0
  139. package/dist/contracts/site/cms-menus.js +13 -0
  140. package/dist/contracts/site/cms-plugins.d.ts +81 -0
  141. package/dist/contracts/site/cms-plugins.js +13 -0
  142. package/dist/contracts/site/cms-publish-content.d.ts +129 -0
  143. package/dist/contracts/site/cms-publish-content.js +13 -0
  144. package/dist/contracts/site/cms-recovery.d.ts +37 -0
  145. package/dist/contracts/site/cms-recovery.js +13 -0
  146. package/dist/contracts/site/cms-seo.d.ts +124 -0
  147. package/dist/contracts/site/cms-seo.js +17 -0
  148. package/dist/contracts/site/cms-settings.d.ts +47 -0
  149. package/dist/contracts/site/cms-settings.js +15 -0
  150. package/dist/contracts/site/cms-sites.d.ts +24 -0
  151. package/dist/contracts/site/cms-sites.js +12 -0
  152. package/dist/contracts/site/cms-system-deploy.d.ts +37 -0
  153. package/dist/contracts/site/cms-system-deploy.js +9 -0
  154. package/dist/contracts/site/cms-trash.d.ts +235 -0
  155. package/dist/contracts/site/cms-trash.js +10 -0
  156. package/dist/contracts/site/cms-workspace.d.ts +14 -0
  157. package/dist/contracts/site/cms-workspace.js +7 -0
  158. package/dist/contracts/site/comments-providers.d.ts +187 -0
  159. package/dist/contracts/site/comments-providers.js +2 -0
  160. package/dist/contracts/site/commerce.d.ts +35 -0
  161. package/dist/contracts/site/commerce.js +12 -0
  162. package/dist/contracts/site/composition-provider-config-source.d.ts +46 -0
  163. package/dist/contracts/site/composition-provider-config-source.js +2 -0
  164. package/dist/contracts/site/content-editor-ports.d.ts +239 -0
  165. package/dist/contracts/site/content-editor-ports.js +2 -0
  166. package/dist/contracts/site/contracts-resources.d.ts +21 -0
  167. package/dist/contracts/site/contracts-resources.js +7 -0
  168. package/dist/contracts/site/cookie-consent-react.d.ts +44 -0
  169. package/dist/contracts/site/cookie-consent-react.js +8 -0
  170. package/dist/contracts/site/cookie-consent.d.ts +100 -0
  171. package/dist/contracts/site/cookie-consent.js +9 -0
  172. package/dist/contracts/site/core-commands.d.ts +66 -0
  173. package/dist/contracts/site/core-commands.js +15 -0
  174. package/dist/contracts/site/core-consent-refusal.d.ts +7 -0
  175. package/dist/contracts/site/core-consent-refusal.js +2 -0
  176. package/dist/contracts/site/core-custom-credential-categories.d.ts +14 -0
  177. package/dist/contracts/site/core-custom-credential-categories.js +7 -0
  178. package/dist/contracts/site/core-public-page-security-headers.d.ts +13 -0
  179. package/dist/contracts/site/core-public-page-security-headers.js +3 -0
  180. package/dist/contracts/site/core-run-events.d.ts +49 -0
  181. package/dist/contracts/site/core-run-events.js +11 -0
  182. package/dist/contracts/site/core-runtime-mode.d.ts +9 -0
  183. package/dist/contracts/site/core-runtime-mode.js +2 -0
  184. package/dist/contracts/site/core-theme-slots.d.ts +31 -0
  185. package/dist/contracts/site/core-theme-slots.js +3 -0
  186. package/dist/contracts/site/credential-project-half.d.ts +18 -0
  187. package/dist/contracts/site/credential-project-half.js +2 -0
  188. package/dist/contracts/site/custom-credential-publish-compatibility.d.ts +11 -0
  189. package/dist/contracts/site/custom-credential-publish-compatibility.js +2 -0
  190. package/dist/contracts/site/daemon-core-rpc.d.ts +114 -0
  191. package/dist/contracts/site/daemon-core-rpc.js +2 -0
  192. package/dist/contracts/site/daemon-http.d.ts +197 -0
  193. package/dist/contracts/site/daemon-http.js +11 -0
  194. package/dist/contracts/site/daemon-surface-exchanges.d.ts +46 -0
  195. package/dist/contracts/site/daemon-surface-exchanges.js +2 -0
  196. package/dist/contracts/site/daemon-tool-audit.d.ts +43 -0
  197. package/dist/contracts/site/daemon-tool-audit.js +9 -0
  198. package/dist/contracts/site/daemon-tool-recovery.d.ts +36 -0
  199. package/dist/contracts/site/daemon-tool-recovery.js +9 -0
  200. package/dist/contracts/site/daemon.d.ts +45 -0
  201. package/dist/contracts/site/daemon.js +2 -0
  202. package/dist/contracts/site/database-introspection.d.ts +46 -0
  203. package/dist/contracts/site/database-introspection.js +2 -0
  204. package/dist/contracts/site/db-data-modules.d.ts +61 -0
  205. package/dist/contracts/site/db-data-modules.js +6 -0
  206. package/dist/contracts/site/deployment-admin.d.ts +74 -0
  207. package/dist/contracts/site/deployment-admin.js +2 -0
  208. package/dist/contracts/site/dev-supervisor-dev-restart.d.ts +26 -0
  209. package/dist/contracts/site/dev-supervisor-dev-restart.js +10 -0
  210. package/dist/contracts/site/devops-deploy.d.ts +77 -0
  211. package/dist/contracts/site/devops-deploy.js +9 -0
  212. package/dist/contracts/site/diagnostics-domain-dns.d.ts +10 -0
  213. package/dist/contracts/site/diagnostics-domain-dns.js +7 -0
  214. package/dist/contracts/site/diagnostics-observability.d.ts +66 -0
  215. package/dist/contracts/site/diagnostics-observability.js +2 -0
  216. package/dist/contracts/site/events-outbox.d.ts +56 -0
  217. package/dist/contracts/site/events-outbox.js +10 -0
  218. package/dist/contracts/site/export-run.d.ts +54 -0
  219. package/dist/contracts/site/export-run.js +9 -0
  220. package/dist/contracts/site/external-mcp-tool-ports.d.ts +28 -0
  221. package/dist/contracts/site/external-mcp-tool-ports.js +2 -0
  222. package/dist/contracts/site/fs-durable-json.d.ts +22 -0
  223. package/dist/contracts/site/fs-durable-json.js +7 -0
  224. package/dist/contracts/site/gated-mutations/watermark.d.ts +44 -0
  225. package/dist/contracts/site/gated-mutations/watermark.js +37 -0
  226. package/dist/contracts/site/gated-mutations-ports.d.ts +45 -0
  227. package/dist/contracts/site/gated-mutations-ports.js +6 -0
  228. package/dist/contracts/site/gated-results.d.ts +17 -0
  229. package/dist/contracts/site/gated-results.js +8 -0
  230. package/dist/contracts/site/headless-assistant-permanent-deletes-policy.d.ts +16 -0
  231. package/dist/contracts/site/headless-assistant-permanent-deletes-policy.js +8 -0
  232. package/dist/contracts/site/hooks-sites-port-hooks.d.ts +151 -0
  233. package/dist/contracts/site/hooks-sites-port-hooks.js +7 -0
  234. package/dist/contracts/site/host-node.d.ts +213 -0
  235. package/dist/contracts/site/host-node.js +2 -0
  236. package/dist/contracts/site/html-region-ports.d.ts +103 -0
  237. package/dist/contracts/site/html-region-ports.js +2 -0
  238. package/dist/contracts/site/http-kit-rate-limit.d.ts +21 -0
  239. package/dist/contracts/site/http-kit-rate-limit.js +8 -0
  240. package/dist/contracts/site/http-kit-settings.d.ts +12 -0
  241. package/dist/contracts/site/http-kit-settings.js +8 -0
  242. package/dist/contracts/site/human-confirm.d.ts +42 -0
  243. package/dist/contracts/site/human-confirm.js +2 -0
  244. package/dist/contracts/site/installed-skill.d.ts +16 -0
  245. package/dist/contracts/site/installed-skill.js +2 -0
  246. package/dist/contracts/site/integrations-api-connections.d.ts +19 -0
  247. package/dist/contracts/site/integrations-api-connections.js +7 -0
  248. package/dist/contracts/site/integrations-credentialed-http.d.ts +16 -0
  249. package/dist/contracts/site/integrations-credentialed-http.js +8 -0
  250. package/dist/contracts/site/legacy-owner-store.d.ts +15 -0
  251. package/dist/contracts/site/legacy-owner-store.js +5 -0
  252. package/dist/contracts/site/lifecycle-boot-lifecycle.d.ts +27 -0
  253. package/dist/contracts/site/lifecycle-boot-lifecycle.js +10 -0
  254. package/dist/contracts/site/lifecycle-host-tools.d.ts +64 -0
  255. package/dist/contracts/site/lifecycle-host-tools.js +2 -0
  256. package/dist/contracts/site/media-provider-contribution.d.ts +118 -0
  257. package/dist/contracts/site/media-provider-contribution.js +3 -0
  258. package/dist/contracts/site/media-providers-catalog.d.ts +42 -0
  259. package/dist/contracts/site/media-providers-catalog.js +7 -0
  260. package/dist/contracts/site/media-tool-ports.d.ts +166 -0
  261. package/dist/contracts/site/media-tool-ports.js +2 -0
  262. package/dist/contracts/site/media-upload-limits.d.ts +6 -0
  263. package/dist/contracts/site/media-upload-limits.js +7 -0
  264. package/dist/contracts/site/nav.d.ts +46 -0
  265. package/dist/contracts/site/nav.js +10 -0
  266. package/dist/contracts/site/oauth-callback-page.d.ts +47 -0
  267. package/dist/contracts/site/oauth-callback-page.js +31 -0
  268. package/dist/contracts/site/packaging-electron.d.ts +20 -0
  269. package/dist/contracts/site/packaging-electron.js +7 -0
  270. package/dist/contracts/site/page-html-store.d.ts +138 -0
  271. package/dist/contracts/site/page-html-store.js +2 -0
  272. package/dist/contracts/site/platform-mail.d.ts +221 -0
  273. package/dist/contracts/site/platform-mail.js +2 -0
  274. package/dist/contracts/site/platform-process.d.ts +23 -0
  275. package/dist/contracts/site/platform-process.js +7 -0
  276. package/dist/contracts/site/platform-server-logs.d.ts +51 -0
  277. package/dist/contracts/site/platform-server-logs.js +15 -0
  278. package/dist/contracts/site/platform-site-dir.d.ts +58 -0
  279. package/dist/contracts/site/platform-site-dir.js +7 -0
  280. package/dist/contracts/site/plugin-directory.d.ts +29 -0
  281. package/dist/contracts/site/plugin-directory.js +2 -0
  282. package/dist/contracts/site/plugins-host.d.ts +92 -0
  283. package/dist/contracts/site/plugins-host.js +2 -0
  284. package/dist/contracts/site/post-author.d.ts +8 -0
  285. package/dist/contracts/site/post-author.js +5 -0
  286. package/dist/contracts/site/post-kind.d.ts +10 -0
  287. package/dist/contracts/site/post-kind.js +2 -0
  288. package/dist/contracts/site/post-revision-lock.d.ts +17 -0
  289. package/dist/contracts/site/post-revision-lock.js +16 -0
  290. package/dist/contracts/site/project-key-attachments.d.ts +78 -0
  291. package/dist/contracts/site/project-key-attachments.js +2 -0
  292. package/dist/contracts/site/protocol-mcp-ui.d.ts +37 -0
  293. package/dist/contracts/site/protocol-mcp-ui.js +12 -0
  294. package/dist/contracts/site/public-origin.d.ts +9 -0
  295. package/dist/contracts/site/public-origin.js +22 -0
  296. package/dist/contracts/site/publish-ports.d.ts +42 -0
  297. package/dist/contracts/site/publish-ports.js +31 -0
  298. package/dist/contracts/site/recovery-operation-lock.d.ts +27 -0
  299. package/dist/contracts/site/recovery-operation-lock.js +11 -0
  300. package/dist/contracts/site/recovery-reconcile-interrupted-migration.d.ts +16 -0
  301. package/dist/contracts/site/recovery-reconcile-interrupted-migration.js +12 -0
  302. package/dist/contracts/site/request-facts.d.ts +28 -0
  303. package/dist/contracts/site/request-facts.js +28 -0
  304. package/dist/contracts/site/routines.d.ts +64 -0
  305. package/dist/contracts/site/routines.js +2 -0
  306. package/dist/contracts/site/sandbox-node-worker.d.ts +15 -0
  307. package/dist/contracts/site/sandbox-node-worker.js +9 -0
  308. package/dist/contracts/site/search.d.ts +181 -0
  309. package/dist/contracts/site/search.js +2 -0
  310. package/dist/contracts/site/secrets-credential-sets.d.ts +117 -0
  311. package/dist/contracts/site/secrets-credential-sets.js +2 -0
  312. package/dist/contracts/site/secrets-credential-token.d.ts +11 -0
  313. package/dist/contracts/site/secrets-credential-token.js +7 -0
  314. package/dist/contracts/site/seo-content-analysis.d.ts +18 -0
  315. package/dist/contracts/site/seo-content-analysis.js +7 -0
  316. package/dist/contracts/site/site-assistant-visitor-tools-management.d.ts +85 -0
  317. package/dist/contracts/site/site-assistant-visitor-tools-management.js +8 -0
  318. package/dist/contracts/site/site-import-history.d.ts +67 -0
  319. package/dist/contracts/site/site-import-history.js +2 -0
  320. package/dist/contracts/site/site-key.d.ts +133 -0
  321. package/dist/contracts/site/site-key.js +9 -0
  322. package/dist/contracts/site/site-serving-gate.d.ts +13 -0
  323. package/dist/contracts/site/site-serving-gate.js +22 -0
  324. package/dist/contracts/site/skill-install.d.ts +17 -0
  325. package/dist/contracts/site/skill-install.js +2 -0
  326. package/dist/contracts/site/skills-install.d.ts +21 -0
  327. package/dist/contracts/site/skills-install.js +7 -0
  328. package/dist/contracts/site/soft-delete.d.ts +13 -0
  329. package/dist/contracts/site/soft-delete.js +13 -0
  330. package/dist/contracts/site/source-control-credentials.d.ts +197 -0
  331. package/dist/contracts/site/source-control-credentials.js +2 -0
  332. package/dist/contracts/site/strict-base64.d.ts +30 -0
  333. package/dist/contracts/site/strict-base64.js +33 -0
  334. package/dist/contracts/site/tool-metadata-approval-policy.d.ts +13 -0
  335. package/dist/contracts/site/tool-metadata-approval-policy.js +2 -0
  336. package/dist/contracts/site/ui-sections.d.ts +27 -0
  337. package/dist/contracts/site/ui-sections.js +13 -0
  338. package/dist/contracts/site/user-management-react.d.ts +276 -0
  339. package/dist/contracts/site/user-management-react.js +9 -0
  340. package/dist/contracts/site/user-management-server.d.ts +104 -0
  341. package/dist/contracts/site/user-management-server.js +2 -0
  342. package/dist/contracts/site/user-management.d.ts +379 -0
  343. package/dist/contracts/site/user-management.js +2 -0
  344. package/dist/contracts/site/vault-context.d.ts +15 -0
  345. package/dist/contracts/site/vault-context.js +6 -0
  346. package/dist/contracts/site/vendor-credentials.d.ts +37 -0
  347. package/dist/contracts/site/vendor-credentials.js +2 -0
  348. package/dist/contracts/site/web-evidence-capture-budget.d.ts +16 -0
  349. package/dist/contracts/site/web-evidence-capture-budget.js +7 -0
  350. package/dist/contracts/site/web-evidence-playwright.d.ts +38 -0
  351. package/dist/contracts/site/web-evidence-playwright.js +9 -0
  352. package/dist/contracts/site/web-screenshot.d.ts +58 -0
  353. package/dist/contracts/site/web-screenshot.js +7 -0
  354. package/dist/contracts/site/widgets-html.d.ts +40 -0
  355. package/dist/contracts/site/widgets-html.js +7 -0
  356. package/dist/contracts/speech-transcription.d.ts +27 -0
  357. package/dist/contracts/speech-transcription.js +8 -0
  358. package/dist/contracts/standing-draft.d.ts +38 -0
  359. package/dist/contracts/standing-draft.js +2 -0
  360. package/dist/contracts/storage/cleanup-preview.d.ts +23 -0
  361. package/dist/contracts/storage/cleanup-preview.js +2 -0
  362. package/dist/contracts/storage/rows.d.ts +6 -2
  363. package/dist/contracts/storage/rows.js +3 -3
  364. package/dist/contracts/storage/sqlite-compaction.d.ts +108 -0
  365. package/dist/contracts/storage/sqlite-compaction.js +7 -0
  366. package/dist/contracts/storage.d.ts +2 -0
  367. package/dist/contracts/tool-result-block.d.ts +21 -0
  368. package/dist/contracts/tool-result-block.js +8 -0
  369. package/dist/errors/catalog.js +2 -2
  370. package/dist/errors/reporter.d.ts +81 -13
  371. package/dist/errors/reporter.js +220 -32
  372. package/dist/errors/route-refusal.d.ts +29 -0
  373. package/dist/errors/route-refusal.js +25 -0
  374. package/dist/errors/testing.d.ts +6 -7
  375. package/dist/errors/testing.js +7 -4
  376. package/dist/extension-capability-vocabulary.d.ts +29 -0
  377. package/dist/extension-capability-vocabulary.js +31 -0
  378. package/dist/gated-mutations/gateway.d.ts +2 -0
  379. package/dist/gated-mutations/gateway.js +4 -1
  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/redaction-collectors.js +60 -39
  402. package/dist/redaction-exact-secrets.js +4 -4
  403. package/dist/redaction-labels.d.ts +3 -1
  404. package/dist/redaction-labels.js +3 -3
  405. package/dist/redaction-patterns.d.ts +3 -1
  406. package/dist/redaction-patterns.js +1 -1
  407. package/dist/redaction-spans.d.ts +5 -1
  408. package/dist/redaction-spans.js +2 -2
  409. package/dist/registration-kit.d.ts +12 -0
  410. package/dist/registration-kit.js +14 -0
  411. package/dist/scheduled-publish.d.ts +57 -0
  412. package/dist/scheduled-publish.js +33 -0
  413. package/dist/settings/ensure-definitions.d.ts +8 -0
  414. package/dist/settings/guarded-reads.d.ts +58 -0
  415. package/dist/settings/guarded-reads.js +48 -0
  416. package/dist/settings/index.d.ts +3 -2
  417. package/dist/settings/index.js +1 -0
  418. package/dist/settings/settings.d.ts +8 -0
  419. package/dist/settings/write-definition-rename.js +2 -2
  420. package/dist/settings/write-definition-retype.js +4 -4
  421. package/dist/settings/write-definition-status.js +4 -4
  422. package/dist/settings/write-service.d.ts +14 -6
  423. package/dist/settings/write-service.js +2 -2
  424. package/dist/surface-exchanges.d.ts +32 -1
  425. package/dist/text/descriptor-i18n.d.ts +4 -1
  426. package/dist/text/descriptor-i18n.js +4 -1
  427. package/dist/text/index.d.ts +3 -0
  428. package/dist/text/index.js +2 -0
  429. package/dist/text/merge-locale-overlays.d.ts +25 -0
  430. package/dist/text/merge-locale-overlays.js +23 -0
  431. package/dist/text/upload-limit-message.d.ts +19 -0
  432. package/dist/text/upload-limit-message.js +29 -0
  433. package/dist/tool-access-change.d.ts +12 -0
  434. package/dist/tool-access-change.js +6 -0
  435. package/dist/tool-metadata/agent-pause.d.ts +21 -0
  436. package/dist/tool-metadata/agent-pause.js +9 -0
  437. package/dist/tool-metadata/agent-plugins.d.ts +72 -0
  438. package/dist/tool-metadata/agent-plugins.js +54 -0
  439. package/dist/tool-metadata/analytics.d.ts +14 -0
  440. package/dist/tool-metadata/analytics.js +17 -0
  441. package/dist/tool-metadata/change-sets.d.ts +24 -0
  442. package/dist/tool-metadata/change-sets.js +19 -0
  443. package/dist/tool-metadata/comments.d.ts +105 -0
  444. package/dist/tool-metadata/comments.js +106 -0
  445. package/dist/tool-metadata/commerce.d.ts +30 -0
  446. package/dist/tool-metadata/commerce.js +11 -0
  447. package/dist/tool-metadata/consent.d.ts +57 -0
  448. package/dist/tool-metadata/consent.js +16 -0
  449. package/dist/tool-metadata/content-duplication.d.ts +13 -0
  450. package/dist/tool-metadata/content-duplication.js +14 -0
  451. package/dist/tool-metadata/content-types.d.ts +74 -0
  452. package/dist/tool-metadata/content-types.js +96 -0
  453. package/dist/tool-metadata/custom-credentials.d.ts +117 -0
  454. package/dist/tool-metadata/custom-credentials.js +105 -0
  455. package/dist/tool-metadata/database-transfer.d.ts +48 -0
  456. package/dist/tool-metadata/database-transfer.js +32 -0
  457. package/dist/tool-metadata/database.d.ts +90 -0
  458. package/dist/tool-metadata/database.js +111 -0
  459. package/dist/tool-metadata/deploy-ops.d.ts +99 -0
  460. package/dist/tool-metadata/deploy-ops.js +96 -0
  461. package/dist/tool-metadata/deployments.d.ts +101 -0
  462. package/dist/tool-metadata/deployments.js +81 -0
  463. package/dist/tool-metadata/domain-dns.d.ts +84 -0
  464. package/dist/tool-metadata/domain-dns.js +99 -0
  465. package/dist/tool-metadata/email-templates.d.ts +54 -0
  466. package/dist/tool-metadata/email-templates.js +41 -0
  467. package/dist/tool-metadata/entries.d.ts +54 -0
  468. package/dist/tool-metadata/entries.js +70 -0
  469. package/dist/tool-metadata/external-mcp.d.ts +86 -0
  470. package/dist/tool-metadata/external-mcp.js +80 -0
  471. package/dist/tool-metadata/files-copy.d.ts +14 -0
  472. package/dist/tool-metadata/files-copy.js +18 -0
  473. package/dist/tool-metadata/forms.d.ts +94 -0
  474. package/dist/tool-metadata/forms.js +117 -0
  475. package/dist/tool-metadata/frontend-control.d.ts +118 -0
  476. package/dist/tool-metadata/frontend-control.js +78 -0
  477. package/dist/tool-metadata/fs-files.d.ts +36 -0
  478. package/dist/tool-metadata/fs-files.js +46 -0
  479. package/dist/tool-metadata/identity.d.ts +184 -0
  480. package/dist/tool-metadata/identity.js +226 -0
  481. package/dist/tool-metadata/image-transform.d.ts +14 -0
  482. package/dist/tool-metadata/image-transform.js +18 -0
  483. package/dist/tool-metadata/mail-status.d.ts +132 -0
  484. package/dist/tool-metadata/mail-status.js +104 -0
  485. package/dist/tool-metadata/media-generation.d.ts +24 -0
  486. package/dist/tool-metadata/media-generation.js +29 -0
  487. package/dist/tool-metadata/media-import.d.ts +34 -0
  488. package/dist/tool-metadata/media-import.js +40 -0
  489. package/dist/tool-metadata/media-video-conversion.d.ts +19 -0
  490. package/dist/tool-metadata/media-video-conversion.js +20 -0
  491. package/dist/tool-metadata/media.d.ts +106 -0
  492. package/dist/tool-metadata/media.js +103 -0
  493. package/dist/tool-metadata/members.d.ts +71 -0
  494. package/dist/tool-metadata/members.js +69 -0
  495. package/dist/tool-metadata/navigation.d.ts +54 -0
  496. package/dist/tool-metadata/navigation.js +71 -0
  497. package/dist/tool-metadata/newsletter.d.ts +190 -0
  498. package/dist/tool-metadata/newsletter.js +246 -0
  499. package/dist/tool-metadata/observability.d.ts +13 -0
  500. package/dist/tool-metadata/observability.js +8 -0
  501. package/dist/tool-metadata/pages.d.ts +47 -0
  502. package/dist/tool-metadata/pages.js +67 -0
  503. package/dist/tool-metadata/permanent-delete.d.ts +139 -0
  504. package/dist/tool-metadata/permanent-delete.js +121 -0
  505. package/dist/tool-metadata/plugin-runtime.d.ts +144 -0
  506. package/dist/tool-metadata/plugin-runtime.js +88 -0
  507. package/dist/tool-metadata/post.d.ts +87 -0
  508. package/dist/tool-metadata/post.js +117 -0
  509. package/dist/tool-metadata/recovery.d.ts +65 -0
  510. package/dist/tool-metadata/recovery.js +78 -0
  511. package/dist/tool-metadata/redirects.d.ts +73 -0
  512. package/dist/tool-metadata/redirects.js +93 -0
  513. package/dist/tool-metadata/routines.d.ts +61 -0
  514. package/dist/tool-metadata/routines.js +40 -0
  515. package/dist/tool-metadata/search.d.ts +49 -0
  516. package/dist/tool-metadata/search.js +33 -0
  517. package/dist/tool-metadata/seo.d.ts +64 -0
  518. package/dist/tool-metadata/seo.js +83 -0
  519. package/dist/tool-metadata/server-logs.d.ts +14 -0
  520. package/dist/tool-metadata/server-logs.js +11 -0
  521. package/dist/tool-metadata/settings.d.ts +90 -0
  522. package/dist/tool-metadata/settings.js +117 -0
  523. package/dist/tool-metadata/site-backup.d.ts +84 -0
  524. package/dist/tool-metadata/site-backup.js +30 -0
  525. package/dist/tool-metadata/site-evidence.d.ts +13 -0
  526. package/dist/tool-metadata/site-evidence.js +10 -0
  527. package/dist/tool-metadata/site-guide.d.ts +18 -0
  528. package/dist/tool-metadata/site-guide.js +15 -0
  529. package/dist/tool-metadata/site-inspection.d.ts +44 -0
  530. package/dist/tool-metadata/site-inspection.js +53 -0
  531. package/dist/tool-metadata/site-update.d.ts +30 -0
  532. package/dist/tool-metadata/site-update.js +22 -0
  533. package/dist/tool-metadata/sites.d.ts +52 -0
  534. package/dist/tool-metadata/sites.js +55 -0
  535. package/dist/tool-metadata/skills.d.ts +13 -0
  536. package/dist/tool-metadata/skills.js +10 -0
  537. package/dist/tool-metadata/source-control.d.ts +26 -0
  538. package/dist/tool-metadata/source-control.js +23 -0
  539. package/dist/tool-metadata/trash.d.ts +32 -0
  540. package/dist/tool-metadata/trash.js +27 -0
  541. package/dist/tool-metadata/visitor-tools.d.ts +49 -0
  542. package/dist/tool-metadata/visitor-tools.js +12 -0
  543. package/dist/tool-metadata/web-screenshot.d.ts +14 -0
  544. package/dist/tool-metadata/web-screenshot.js +23 -0
  545. package/dist/tool-metadata/web.d.ts +14 -0
  546. package/dist/tool-metadata/web.js +21 -0
  547. package/dist/tool-metadata/webhooks.d.ts +65 -0
  548. package/dist/tool-metadata/webhooks.js +77 -0
  549. package/dist/tool-metadata/widgets.d.ts +124 -0
  550. package/dist/tool-metadata/widgets.js +161 -0
  551. package/dist/tool-metadata/workspace.d.ts +43 -0
  552. package/dist/tool-metadata/workspace.js +49 -0
  553. package/dist/tool-read-cards.d.ts +88 -0
  554. package/dist/tool-read-cards.js +158 -0
  555. package/dist/tool-registry.d.ts +25 -0
  556. package/package.json +1382 -6
  557. package/plugin-directory.d.ts +2 -2
  558. package/plugin-directory.js +16 -10
@@ -0,0 +1,129 @@
1
+ /**
2
+ * @file The admin `publish-content` wire DTOs: the JSON bodies the publish-content admin routes
3
+ * (peers, destination, and the import/export report) answer with and an admin client reads. Declared
4
+ * here, once, so the server serializers (`@jini-ai/cms/admin-http/http/publish-content`, the
5
+ * `@jini-ai/cms/admin-http/routes/publish-content/*` specs) and any client mirror read the same
6
+ * shapes without the client depending on CMS.
7
+ *
8
+ * This module is deliberately neutral: it imports no planner, repository, Node builtin, or UI
9
+ * code. Server HTTP boundaries and the admin client share these DTOs without either depending on
10
+ * the other's implementation graph.
11
+ */
12
+ export type PublishContentOutcomeKindDto = 'created' | 'unchanged' | 'applied' | 'conflict' | 'blocked' | 'forced';
13
+ /** Wire twin of `planner.ts`'s `RetireTarget` — this module imports no planner code (this file's
14
+ * header), so the shape is repeated here rather than shared by import. */
15
+ export interface PublishContentRetireTargetDto {
16
+ readonly entityType: string;
17
+ readonly entityId: string;
18
+ readonly entityLabel: string | null;
19
+ readonly hash: string;
20
+ }
21
+ /** Wire twin of `type-registry.ts`'s `ReferenceHolder` — this module imports no planner or
22
+ * type-registry code (this file's header), so the shape is repeated here rather than shared by
23
+ * import. `plan-publish-repoint-menus-2026-09-24.md` §2.2/R6. */
24
+ export interface PublishContentReferenceHolderDto {
25
+ readonly entityType: string;
26
+ readonly entityId: string;
27
+ readonly entityLabel: string | null;
28
+ readonly referencedId: string;
29
+ }
30
+ export interface PublishContentOutcomeRowDto {
31
+ readonly entityType: string;
32
+ readonly entityId: string;
33
+ /**
34
+ * The entity's human identifier (`planner.ts`'s `entityDisplayLabel`) — a slug, a title — so a
35
+ * client can name the row instead of printing a uuid at the operator.
36
+ *
37
+ * OPTIONAL on the wire, unlike on the planner's own row, precisely because this report can arrive
38
+ * from ANOTHER instance: a peer built before this field existed answers a plan without it, and
39
+ * that response must still render. A reader treats absent exactly like `null` (show a short id),
40
+ * never as a reason to reject the report.
41
+ */
42
+ readonly entityLabel?: string | null;
43
+ readonly outcome: PublishContentOutcomeKindDto;
44
+ readonly writes: boolean;
45
+ readonly reason: string | null;
46
+ /**
47
+ * publish-overwrite-live-plan §4/S6 — whitelisted straight off `planner.ts`'s own `canOverwrite`.
48
+ * OPTIONAL on the wire, the same reasoning as `entityLabel` above: a peer built before S2 answers a
49
+ * plan without it, and a reader must treat absent exactly like `false` (nothing offered), never as
50
+ * a reason to reject the report.
51
+ */
52
+ readonly canOverwrite?: boolean;
53
+ /** publish-overwrite-live-plan §4/S6 — whitelisted straight off `planner.ts`'s own `retires`.
54
+ * OPTIONAL/absent for the same pre-S2-peer reason as {@link canOverwrite}; a reader treats absent
55
+ * exactly like `null`. */
56
+ readonly retires?: PublishContentRetireTargetDto | null;
57
+ /**
58
+ * `plan-publish-repoint-menus-2026-09-24.md` §2.2/R6 — live entities that still link to this row's
59
+ * {@link retires} holder by id, echoed from `planner.ts`'s own `referencedBy`. Present ONLY when
60
+ * non-empty, matching the planner's own row — absent for every row with no retire target and for a
61
+ * retire target with no live references at all — so an operator sees what still points at a holder
62
+ * before choosing to overwrite it.
63
+ */
64
+ readonly referencedBy?: readonly PublishContentReferenceHolderDto[];
65
+ /**
66
+ * Owner decision 2026-09-25 (generalized by plan G3) — present ONLY on a row a scoped run carried
67
+ * along because its in-scope rows use it (an image, an embedded widget, an entry's collection, ...)
68
+ * AND live would write it (created/applied/forced) —
69
+ * `report-labels.ts`'s `keepChangingIncludedEntities`, added by the SOURCE after the peer plans, never
70
+ * by the planner itself: the referrers' `entityKey`s. The dialog renders such a row pre-ticked and
71
+ * untickable. Absent on every other row, including a conflicting/blocked carried row, which stays
72
+ * an ordinary row so the operator sees it.
73
+ */
74
+ readonly includedFor?: readonly string[];
75
+ /**
76
+ * 2026-09-26 — `true` on an update/overwrite row whose item is trashed on the SOURCE: live plans it
77
+ * as an ordinary update, but what it writes is the trash. Added by the source after the peer plans
78
+ * (`report-labels.ts`'s `tagTrashingRows`), never by the planner. Absent on every other row.
79
+ */
80
+ readonly trashes?: boolean;
81
+ }
82
+ /** The only report shape serialized for publish-content clients. */
83
+ export interface PublishContentReportDto {
84
+ readonly refused: boolean;
85
+ readonly refusalReason: string | null;
86
+ readonly applyOrder: readonly string[];
87
+ readonly rows: readonly PublishContentOutcomeRowDto[];
88
+ }
89
+ /**
90
+ * One configured publish target, as `GET .../publish-content/peers` returns it.
91
+ *
92
+ * `masked` and `hasCredential` are the ONLY credential-shaped fields that exist on the client at
93
+ * all. The sealed material behind them never leaves the server — nothing in this folder, in the
94
+ * admin dialog, or in any error path may request, render, log or store it.
95
+ *
96
+ * A publishing destination as it may leave the server: no sealed material can ride on a value of this
97
+ * type, which is how the frozen peers contract keeps secrets out of every response body by construction.
98
+ */
99
+ export interface PublishContentPeerView {
100
+ readonly id: string;
101
+ readonly label: string;
102
+ readonly baseUrl: string;
103
+ readonly remoteWorkspaceId: string;
104
+ /** A display hint derived from the key, never the key. `null` when the peer holds no credential. */
105
+ readonly masked: string | null;
106
+ readonly hasCredential: boolean;
107
+ }
108
+ /** What the zero-setup destination routes (`GET`, `POST /connect`, `POST /disconnect`) answer. */
109
+ export interface PublishDestinationView {
110
+ /** `true` once this computer's grant has been written for a site. */
111
+ readonly connected: boolean;
112
+ /** The connected site, as the publish list already models it. `null` when there is none. */
113
+ readonly site: PublishContentPeerView | null;
114
+ /** Read out of the repo's deploy config — what to offer when nothing is connected yet. */
115
+ readonly candidateUrl: string | null;
116
+ /** One sentence describing where things stand. */
117
+ readonly message: string;
118
+ /** One sentence naming what the owner does next, or `null` when nothing is pending. */
119
+ readonly nextStep: string | null;
120
+ }
121
+ /** `GET .../publish-content/peers`. */
122
+ export interface PublishContentPeerListDto {
123
+ readonly peers: readonly PublishContentPeerView[];
124
+ }
125
+ /** `POST .../peers` and `PATCH .../peers/:peerId`. */
126
+ export interface PublishContentPeerResponseDto {
127
+ readonly peer: PublishContentPeerView;
128
+ }
129
+ //# sourceMappingURL=cms-publish-content.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @file The admin `publish-content` wire DTOs: the JSON bodies the publish-content admin routes
3
+ * (peers, destination, and the import/export report) answer with and an admin client reads. Declared
4
+ * here, once, so the server serializers (`@jini-ai/cms/admin-http/http/publish-content`, the
5
+ * `@jini-ai/cms/admin-http/routes/publish-content/*` specs) and any client mirror read the same
6
+ * shapes without the client depending on CMS.
7
+ *
8
+ * This module is deliberately neutral: it imports no planner, repository, Node builtin, or UI
9
+ * code. Server HTTP boundaries and the admin client share these DTOs without either depending on
10
+ * the other's implementation graph.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=cms-publish-content.js.map
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @file The admin `recovery` status wire DTOs (ADR-045 §4): the body `GET /api/admin/v1/recovery/status`
3
+ * answers with and an admin client reads. Declared here, once, so the route spec
4
+ * (`@jini-ai/cms/admin-http/routes/recovery/status`), the host's banner binding and any client mirror
5
+ * read the same shapes without the client depending on CMS or the database package. Banner
6
+ * precedence stays in the database package; only the declarations sit in Core.
7
+ *
8
+ * Core cannot import the database package, so its `DegradedBanner` and `DegradedBannerCapabilities`
9
+ * are restated structurally here; a host that binds `resolveDegradedBanner` to the status spec
10
+ * compiles only while the two sides agree. Keep them identical.
11
+ */
12
+ /** The restore-point cost class the database reports. */
13
+ export type AdminRecoveryCostClass = 'cheap' | 'expensive' | 'unavailable';
14
+ /** Why the recovery feature itself may be degraded right now, independent of any one restore point. */
15
+ export type AdminDegradedBannerKind = 'migration-interrupted' | 'pending-migration' | 'operation-in-flight' | 'cost-unavailable' | 'watermark-baseline-unavailable';
16
+ /** The one action a degraded banner offers. */
17
+ export type AdminDegradedBannerActionKind = 'deep-link-to-database-migration' | 'unblock-interrupted-migration' | 'none';
18
+ /** The single highest-precedence degraded banner; `accessibleText` is host-composed copy, rendered as-is. */
19
+ export interface AdminDegradedBannerDto {
20
+ kind: AdminDegradedBannerKind;
21
+ accessibleText: string;
22
+ actionKind: AdminDegradedBannerActionKind;
23
+ }
24
+ /** The capability flags the banner precedence reads. */
25
+ export interface AdminRecoveryCapabilities {
26
+ costClass: AdminRecoveryCostClass;
27
+ operationInFlight: boolean;
28
+ pendingMigration: boolean;
29
+ migrationInterrupted: boolean;
30
+ watermarkBaselineAvailable: boolean;
31
+ }
32
+ /** `GET /api/admin/v1/recovery/status`: the cost class and the one banner to show, or `null` for none. */
33
+ export interface AdminRecoveryStatusEnvelope {
34
+ costClass: AdminRecoveryCostClass;
35
+ banner: AdminDegradedBannerDto | null;
36
+ }
37
+ //# sourceMappingURL=cms-recovery.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @file The admin `recovery` status wire DTOs (ADR-045 §4): the body `GET /api/admin/v1/recovery/status`
3
+ * answers with and an admin client reads. Declared here, once, so the route spec
4
+ * (`@jini-ai/cms/admin-http/routes/recovery/status`), the host's banner binding and any client mirror
5
+ * read the same shapes without the client depending on CMS or the database package. Banner
6
+ * precedence stays in the database package; only the declarations sit in Core.
7
+ *
8
+ * Core cannot import the database package, so its `DegradedBanner` and `DegradedBannerCapabilities`
9
+ * are restated structurally here; a host that binds `resolveDegradedBanner` to the status spec
10
+ * compiles only while the two sides agree. Keep them identical.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=cms-recovery.js.map
@@ -0,0 +1,124 @@
1
+ /**
2
+ * @file The admin `seo` settings and sitemap wire DTOs (ADR-029): the JSON bodies the SEO settings
3
+ * and sitemap-regenerate admin routes answer with and an admin client reads. Declared here, once, so
4
+ * the CMS route specs and any client mirror read the same shapes without the client depending on CMS.
5
+ *
6
+ * Core cannot import CMS, so `SeoSettings`/`RobotsRule` are restated structurally here. CMS's
7
+ * `admin-http/http/__tests__/seo.test.ts` pins them in both directions; keep the two sides identical.
8
+ *
9
+ * The per-entry bodies (`{ data: SeoMeta }`, `{ data: SeoAnalysis }`) were first left out: `SeoMeta`
10
+ * is a large CMS resolution type (Open Graph, Twitter card, JSON-LD, robots, field sources), and
11
+ * restating it looked like duplicating the SEO model rather than a wire shape. They are here now
12
+ * (rv1123i) because an admin client mirrored them by hand anyway, and that mirror had already
13
+ * drifted (it lacked the image provenance fields). Only the resolved, answered shapes are restated;
14
+ * the stored override bag and its patch stay CMS-owned, and the same parity test pins these too.
15
+ */
16
+ import type { JsonObject } from "../../primitives/json.js";
17
+ /** One `robots.txt` group (CMS `RobotsRule`). */
18
+ export interface AdminSeoRobotsRuleDto {
19
+ userAgent: string;
20
+ allow?: string[] | undefined;
21
+ disallow?: string[] | undefined;
22
+ }
23
+ /** The resolved, workspace-scoped SEO settings (CMS `SeoSettings`). No `baseUrl` field exists (INV-07). */
24
+ export interface AdminSeoSettingsDto {
25
+ /** e.g. `"%s — My Site"`; `%s` is the per-page title. */
26
+ titleTemplate: string;
27
+ defaultDescription?: string | undefined;
28
+ defaultOgImage?: string | undefined;
29
+ twitterSite?: string | undefined;
30
+ defaultRobots: {
31
+ noindex: boolean;
32
+ nofollow: boolean;
33
+ };
34
+ sitemapEnabled: boolean;
35
+ robotsRules: AdminSeoRobotsRuleDto[];
36
+ }
37
+ /** The settings body (GET and PUT answer the settings as stored). */
38
+ export interface AdminSeoSettingsEnvelope {
39
+ data: AdminSeoSettingsDto;
40
+ }
41
+ /** The sitemap-regenerate body (answered with 202: the rebuild was accepted). */
42
+ export interface AdminSeoSitemapRegenerateEnvelope {
43
+ data: {
44
+ accepted: true;
45
+ };
46
+ }
47
+ /** Twitter/X card kind (CMS `TwitterCardKind`). */
48
+ export type AdminSeoTwitterCardKind = "summary" | "summary_large_image";
49
+ /** Open Graph object type, v1 subset (CMS `OpenGraphType`). */
50
+ export type AdminSeoOpenGraphType = "website" | "article" | "profile";
51
+ /** The resolved Open Graph block of an entry's meta (CMS `OpenGraph`). */
52
+ export interface AdminSeoOpenGraphDto {
53
+ title: string;
54
+ description?: string | undefined;
55
+ type: AdminSeoOpenGraphType;
56
+ url: string;
57
+ image?: string | undefined;
58
+ /** Original selected source for admin diagnostics, before any share-card resize. */
59
+ imageRef?: string | undefined;
60
+ /** Effective image provenance: explicit SEO override, entry content (featured image), or site default. */
61
+ imageSource?: "override" | "content" | "default" | undefined;
62
+ /** Set only when the entry stores its own image override, so an admin can tell an override that
63
+ * happens to equal the site default from an image merely inherited from it. */
64
+ imageOverridden?: true | undefined;
65
+ /** Known output metadata from the selected named transform, omitted for external URLs. */
66
+ imageWidth?: number | undefined;
67
+ imageHeight?: number | undefined;
68
+ imageType?: string | undefined;
69
+ siteName?: string | undefined;
70
+ }
71
+ /** The resolved Twitter/X card block of an entry's meta (CMS `TwitterCard`). */
72
+ export interface AdminSeoTwitterCardDto {
73
+ card: AdminSeoTwitterCardKind;
74
+ title: string;
75
+ description?: string | undefined;
76
+ image?: string | undefined;
77
+ /** Original selected source for admin diagnostics, before any share-card resize. */
78
+ imageRef?: string | undefined;
79
+ site?: string | undefined;
80
+ }
81
+ /**
82
+ * An entry's fully-resolved effective meta (CMS `SeoMeta`): author overrides layered over site
83
+ * defaults layered over values derived from the entry. GET and PUT of an entry both answer this
84
+ * resolved shape, never the raw override bag.
85
+ */
86
+ export interface AdminSeoMetaDto {
87
+ title: string;
88
+ description?: string | undefined;
89
+ canonical: string;
90
+ robots: {
91
+ noindex: boolean;
92
+ nofollow: boolean;
93
+ };
94
+ openGraph: AdminSeoOpenGraphDto;
95
+ twitter: AdminSeoTwitterCardDto;
96
+ /** schema.org JSON-LD object graphs. */
97
+ jsonLd: JsonObject[];
98
+ }
99
+ /** How serious one analysis finding is (CMS `SeoIssueSeverity`). */
100
+ export type AdminSeoIssueSeverity = "error" | "warning" | "info";
101
+ /** One analysis finding (CMS `SeoIssue`). */
102
+ export interface AdminSeoIssueDto {
103
+ code: string;
104
+ severity: AdminSeoIssueSeverity;
105
+ message: string;
106
+ /** Which resolved field the issue is about (e.g. `title`, `description`). */
107
+ field?: keyof AdminSeoMetaDto & string | undefined;
108
+ }
109
+ /** An entry's SEO score and findings over its resolved meta (CMS `SeoAnalysis`). */
110
+ export interface AdminSeoAnalysisDto {
111
+ entryId: string;
112
+ score: number;
113
+ issues: AdminSeoIssueDto[];
114
+ resolved: AdminSeoMetaDto;
115
+ }
116
+ /** The per-entry meta body: the entry's effective meta under `data` (GET and PUT of an entry answer it). */
117
+ export interface AdminSeoEntryMetaEnvelope {
118
+ data: AdminSeoMetaDto;
119
+ }
120
+ /** The per-entry analysis body. */
121
+ export interface AdminSeoEntryAnalysisEnvelope {
122
+ data: AdminSeoAnalysisDto;
123
+ }
124
+ //# sourceMappingURL=cms-seo.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @file The admin `seo` settings and sitemap wire DTOs (ADR-029): the JSON bodies the SEO settings
3
+ * and sitemap-regenerate admin routes answer with and an admin client reads. Declared here, once, so
4
+ * the CMS route specs and any client mirror read the same shapes without the client depending on CMS.
5
+ *
6
+ * Core cannot import CMS, so `SeoSettings`/`RobotsRule` are restated structurally here. CMS's
7
+ * `admin-http/http/__tests__/seo.test.ts` pins them in both directions; keep the two sides identical.
8
+ *
9
+ * The per-entry bodies (`{ data: SeoMeta }`, `{ data: SeoAnalysis }`) were first left out: `SeoMeta`
10
+ * is a large CMS resolution type (Open Graph, Twitter card, JSON-LD, robots, field sources), and
11
+ * restating it looked like duplicating the SEO model rather than a wire shape. They are here now
12
+ * (rv1123i) because an admin client mirrored them by hand anyway, and that mirror had already
13
+ * drifted (it lacked the image provenance fields). Only the resolved, answered shapes are restated;
14
+ * the stored override bag and its patch stay CMS-owned, and the same parity test pins these too.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=cms-seo.js.map
@@ -0,0 +1,47 @@
1
+ /**
2
+ * @file The admin `settings` wire DTOs (SPEC-007 layered settings ledger): the JSON bodies the
3
+ * settings admin routes answer with and an admin client reads. Declared here, once, so the route
4
+ * specs (`@jini-ai/cms/admin-http/routes/settings/*`) and any client mirror read the same shapes
5
+ * without the client depending on CMS. Parsing, authorization and the ledger rules stay in CMS and
6
+ * the settings domain; only the declarations sit here.
7
+ *
8
+ * The row types the read routes list (`EffectiveSettingRow`, `RawSetting`) already live in the
9
+ * settings domain (`@jini-ai/core/settings`), so they are not restated: the list envelope takes its
10
+ * row type as a parameter. The scope union is restated structurally (this file stays outside the
11
+ * settings isolation domain); CMS's `admin-http/routes/settings/__tests__/wire-dtos.test.ts` pins
12
+ * it against `SettingScope` in both directions; keep the two sides identical.
13
+ */
14
+ /** The three layers a setting value lives in (the settings domain's `SettingScope`). */
15
+ export type AdminSettingScopeDto = 'global' | 'workspace' | 'user';
16
+ /** `PUT /settings/value`: the written coordinate, its value and the ledger revision it created. */
17
+ export interface AdminSettingValueDto {
18
+ key: string;
19
+ scope: AdminSettingScopeDto;
20
+ value: unknown;
21
+ revisionSeq: number;
22
+ }
23
+ /** `DELETE /settings/value`: the cleared coordinate reads as unset (`value: null`) again. */
24
+ export interface AdminSettingClearedDto extends AdminSettingValueDto {
25
+ value: null;
26
+ }
27
+ /** `POST /settings/reset`: how many values one namespace reset cleared, and their revisions. */
28
+ export interface AdminSettingsResetDto {
29
+ namespace: string;
30
+ clearedCount: number;
31
+ revisionSeqs: number[];
32
+ }
33
+ /** One definition-batch item's outcome (`op` is the requested operation, `status` its result). */
34
+ export interface AdminSettingDefinitionAppliedDto {
35
+ key: string;
36
+ op: string;
37
+ status: string;
38
+ }
39
+ /** `POST /settings/definitions`: each batch item's outcome, in request order. */
40
+ export interface AdminSettingsRegisterDefinitionsDto {
41
+ applied: AdminSettingDefinitionAppliedDto[];
42
+ }
43
+ /** The `{ data }` envelope the list reads answer (`GET /settings/effective`, `/settings/definitions`). */
44
+ export interface AdminSettingsListDto<Row> {
45
+ data: Row[];
46
+ }
47
+ //# sourceMappingURL=cms-settings.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @file The admin `settings` wire DTOs (SPEC-007 layered settings ledger): the JSON bodies the
3
+ * settings admin routes answer with and an admin client reads. Declared here, once, so the route
4
+ * specs (`@jini-ai/cms/admin-http/routes/settings/*`) and any client mirror read the same shapes
5
+ * without the client depending on CMS. Parsing, authorization and the ledger rules stay in CMS and
6
+ * the settings domain; only the declarations sit here.
7
+ *
8
+ * The row types the read routes list (`EffectiveSettingRow`, `RawSetting`) already live in the
9
+ * settings domain (`@jini-ai/core/settings`), so they are not restated: the list envelope takes its
10
+ * row type as a parameter. The scope union is restated structurally (this file stays outside the
11
+ * settings isolation domain); CMS's `admin-http/routes/settings/__tests__/wire-dtos.test.ts` pins
12
+ * it against `SettingScope` in both directions; keep the two sides identical.
13
+ */
14
+ export {};
15
+ //# sourceMappingURL=cms-settings.js.map
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @file The admin Sites wire DTOs (ADR-029): the JSON envelopes the Sites admin routes
3
+ * (`@jini-ai/cms/admin-http/routes/{sites,system}/*`) answer with and an admin client reads.
4
+ * Declared here, once, so the route specs and any client mirror read the same shapes without the
5
+ * client depending on CMS.
6
+ *
7
+ * The routes pass the host's own site records through unchanged (the created site, the token
8
+ * outcome, a plugin row, the chosen home), so each envelope is generic over that content; the
9
+ * defaults (`unknown`) are what the neutral specs know about it.
10
+ */
11
+ /** `PUT .../system/sites/home` — the creation home the host stored. */
12
+ export interface SitesHomeSetResponse<Home = unknown> {
13
+ readonly home: Home;
14
+ }
15
+ /** `GET .../system/sites/token-sign-in-plugins` — the bundled plugins a new site can connect with a pasted token. */
16
+ export interface SiteTokenSignInPluginsResponse<Plugin = unknown> {
17
+ readonly plugins: readonly Plugin[];
18
+ }
19
+ /** `POST .../system/sites` (201) — the created site and what happened to the request's access tokens. */
20
+ export interface SiteCreateResponse<Site = unknown, AgentPluginTokens = unknown> {
21
+ readonly site: Site;
22
+ readonly agentPluginTokens: AgentPluginTokens;
23
+ }
24
+ //# sourceMappingURL=cms-sites.d.ts.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @file The admin Sites wire DTOs (ADR-029): the JSON envelopes the Sites admin routes
3
+ * (`@jini-ai/cms/admin-http/routes/{sites,system}/*`) answer with and an admin client reads.
4
+ * Declared here, once, so the route specs and any client mirror read the same shapes without the
5
+ * client depending on CMS.
6
+ *
7
+ * The routes pass the host's own site records through unchanged (the created site, the token
8
+ * outcome, a plugin row, the chosen home), so each envelope is generic over that content; the
9
+ * defaults (`unknown`) are what the neutral specs know about it.
10
+ */
11
+ export {};
12
+ //# sourceMappingURL=cms-sites.js.map
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @file The admin deployment-overview wire DTOs: the JSON body `GET .../system/deployment-overview`
3
+ * answers and an admin client reads. Declared here, once, so the server spec
4
+ * (`@jini-ai/cms/admin-http/routes/system/deployment-overview`) and any client mirror read the same
5
+ * shape without the client depending on CMS. The owner-password rule stays in CMS and every
6
+ * process-state read stays in the host; only the declarations sit in Core.
7
+ */
8
+ /** One required-for-production env var's presence, never its value. */
9
+ export interface DeploymentEnvVarStatus {
10
+ name: string;
11
+ set: boolean;
12
+ /** site key row only: where the keyring's material came from. */
13
+ source?: string;
14
+ /** site key row only, present iff material was found but the keyring would reject it. */
15
+ invalid?: true;
16
+ }
17
+ /** The Overview tab's wire body; the host builds every field but `defaultOwnerPasswordUnsafe`'s input. */
18
+ export interface DeploymentOverviewSnapshot {
19
+ /** The host's own two-value runtime mode, echoed in its exact vocabulary rather than translated. */
20
+ mode: 'production' | 'local';
21
+ /** In production a failing readiness gate exits before listening, so reaching this route proves it passed;
22
+ * `applicable: false` in local mode is the honest "this check does not run here" state, not a hidden pass. */
23
+ productionReadinessGate: {
24
+ applicable: boolean;
25
+ passed: boolean;
26
+ };
27
+ /** Whether the owner's STORED hash still verifies against the default password.
28
+ * Computed unconditionally (not gated on production mode) since it is a real, useful warning in local mode too. */
29
+ defaultOwnerPasswordUnsafe: boolean;
30
+ /** A negative signal only: "not known-failed" can also mean "never spawned", never "confirmed alive". */
31
+ daemonKnownFailed: boolean;
32
+ dbPath: string;
33
+ uploadsDir: string;
34
+ /** Presence only, per required env var — never a value. */
35
+ envVars: DeploymentEnvVarStatus[];
36
+ }
37
+ //# sourceMappingURL=cms-system-deploy.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @file The admin deployment-overview wire DTOs: the JSON body `GET .../system/deployment-overview`
3
+ * answers and an admin client reads. Declared here, once, so the server spec
4
+ * (`@jini-ai/cms/admin-http/routes/system/deployment-overview`) and any client mirror read the same
5
+ * shape without the client depending on CMS. The owner-password rule stays in CMS and every
6
+ * process-state read stays in the host; only the declarations sit in Core.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=cms-system-deploy.js.map