@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
@@ -0,0 +1,464 @@
1
+ import type { ISODateTime, UUID } from "../../primitives/index.js";
2
+ /**
3
+ * @file Media repo, transform-parameter and image-codec port contracts. Types only.
4
+ *
5
+ * Additive copy of the declarations in `@jini-ai/cms/media` (`ports.ts`, `types.ts`,
6
+ * `transform-types.ts`, `image-codec.ts`) and `@jini-ai/cms`'s `core/transform-format.ts`, with the
7
+ * structural closure they need. The services, the in-memory repo, the MIME map and the codec
8
+ * adapters stay in cms.
9
+ */
10
+ /** Deletion ladder status (mirrored from `navigation`'s menu ladder). */
11
+ export type MediaStatus = "active" | "trashed";
12
+ export type MediaKind = "media" | "document";
13
+ /**
14
+ * Write-once source binding — the edge from a media record to its bytes.
15
+ * "Settable-once-from-absent" (absent -> set exactly once, then
16
+ * immutable). In this bespoke-table build every `MediaRecord` gets its
17
+ * `source` set at creation time by `uploadMedia` (never a row without bytes),
18
+ * so in practice the absent state is transient/internal
19
+ * to `uploadMedia`, not something the write-once guard needs to police at the
20
+ * repo/API boundary. The guard exists anyway (`assertSourceUnchanged` in
21
+ * `media-service.ts`) as the enforced invariant for any future write path.
22
+ */
23
+ export interface MediaSource {
24
+ /** Private ingress such as submitted files; never exposed by public media routes. */
25
+ private?: true;
26
+ sha256: string;
27
+ /** Sniffed media MIME (document policy MIME for private documents); absent for legacy rows. */
28
+ contentType?: string | undefined;
29
+ /** Origin of this editorial item, independent of the deduplicated blob's creator. */
30
+ provenance?: MediaProvenance | undefined;
31
+ }
32
+ export type MediaProvenance = {
33
+ kind: 'url';
34
+ url: string;
35
+ } | {
36
+ kind: 'picked-folder';
37
+ path: string;
38
+ } | {
39
+ kind: 'upload';
40
+ path?: string | undefined;
41
+ }
42
+ /** `model`/`provider` name the exact image model id and vendor id that produced the bytes, so the
43
+ * library and the assistant can say which generator made an asset. Optional: rows written before
44
+ * 2026-11-13 carry neither and still parse. */
45
+ | {
46
+ kind: 'generated';
47
+ path?: string | undefined;
48
+ model?: string | undefined;
49
+ provider?: string | undefined;
50
+ };
51
+ export interface MediaRecord {
52
+ /** Absent only in legacy callers/serialized records; persistent adapters default to media. */
53
+ kind?: MediaKind | undefined;
54
+ /** Immutable upload name; editable title is the display stem. Never a storage path. */
55
+ originalFilename?: string | null | undefined;
56
+ id: UUID;
57
+ workspaceId: UUID;
58
+ /** Acting principal at asset creation, independent of the producer/model and editable credit.
59
+ * Optional/null for records written before attribution existed. Never inferred from a shared
60
+ * blob's owner: identical bytes may have been uploaded by different principals. */
61
+ createdBy?: string | null | undefined;
62
+ title: string;
63
+ /**
64
+ * Human-memorable, unique-per-workspace lookup key (owner-directed, 2026-09-07) — an ADDITIONAL
65
+ * key alongside `id`, never a replacement: `id` stays the canonical primary key every existing
66
+ * embed/reference resolves by, and this column only gives a second, human-typeable way to reach
67
+ * the same row (`findMediaByIdOrSlug` in `media-service.ts` tries this first, `id` second).
68
+ *
69
+ * Derived from `title` at upload time (`deriveMediaSlug`), then independently editable afterward
70
+ * — renaming `title` does NOT recompute this field; it changes only on an explicit `slug` write.
71
+ * Unique per `(workspaceId, slug)`, enforced by the host's own DB index (see the host's
72
+ * `idx_media_workspace_slug`) — `updateMediaMetadata`'s own `findBySlug` check is a friendly-error
73
+ * courtesy on top of that, not the enforcement itself, the same split `posts_workspace_slug_unique`
74
+ * already establishes for `post`'s identical `slug` field.
75
+ */
76
+ slug: string;
77
+ alt: string;
78
+ caption: string;
79
+ credit: string;
80
+ /** Plain-language description of what the media shows, written for search. Optional: absent means
81
+ * "never described"; an empty string is its cleared form. Mirrors `@jini-ai/cms` `MediaRecord.description`. */
82
+ description?: string | undefined;
83
+ /** Write-once (see {@link MediaSource} doc). Always set by the time a row exists. */
84
+ source: MediaSource;
85
+ status: MediaStatus;
86
+ createdAt: ISODateTime;
87
+ updatedAt: ISODateTime;
88
+ version: number;
89
+ /**
90
+ * Quick-and-dirty public-render sizing fields (owner-directed skip-the-ADR fix — "should we have
91
+ * more lines on the upload/edit media page for css tags and height and width?"). An operator-set
92
+ * per-asset override the public site's renderer threads onto the `<img>` tag so an inserted image
93
+ * stops rendering at full native pixel width with nothing constraining it. `null` means "not set"
94
+ * — a host renderer must omit the corresponding attribute entirely rather than emit `width="null"`
95
+ * or coerce to `0`. Always present (never `undefined`) so every existing `MediaRecord` construction
96
+ * site is forced to make an explicit choice; `uploadMedia` defaults all three to `null`.
97
+ */
98
+ width: number | null;
99
+ height: number | null;
100
+ cssClass: string | null;
101
+ /**
102
+ * Owner-directed (2026-09-07) free-text HTML attributes threaded onto this asset's public
103
+ * `<img>`/`<video>` tag (stated uses: animations, custom WebMCP hooks) — raw, ALREADY-VALIDATED
104
+ * source text (e.g. `data-motion="fade-in" loading="lazy"`), the same "one string column, `null`
105
+ * means not set" shape {@link cssClass} already establishes; `null` by default. This is a stored-
106
+ * XSS boundary: `updateMediaMetadata` validates it against `html-attributes.ts`'s allowlist before
107
+ * ever writing it (`on*` handlers, `javascript:` values, and any name not on the allowlist are
108
+ * rejected outright, never sanitized), and a host's render path must re-validate before emitting
109
+ * it onto a real tag rather than trusting a stored value was never written by an older code path
110
+ * or a direct DB edit.
111
+ */
112
+ htmlAttributes: string | null;
113
+ }
114
+ export interface MediaRepoPort {
115
+ findById(required: {
116
+ workspaceId: UUID;
117
+ id: UUID;
118
+ }): Promise<MediaRecord | null>;
119
+ /** Second lookup key (2026-09-07) — `MediaRecord.slug`'s own doc has the full identity-model
120
+ * rationale. Mirrors `AssetBlobRepoPort.findByHash`'s shape: one indexed field, one row or `null`. */
121
+ findBySlug(required: {
122
+ workspaceId: UUID;
123
+ slug: string;
124
+ }): Promise<MediaRecord | null>;
125
+ list(required: {
126
+ workspaceId: UUID;
127
+ }): Promise<MediaRecord[]>;
128
+ save(record: MediaRecord): Promise<void>;
129
+ /** Hard delete — called by `purgeMedia` after the trash guard passes, and by
130
+ * `rollbackUploadedMedia` as an unconditional compensating rollback for a failed upload. */
131
+ remove(required: {
132
+ workspaceId: UUID;
133
+ id: UUID;
134
+ }): Promise<void>;
135
+ }
136
+ /**
137
+ * Output re-encode format. Matches `media-service.ts`'s
138
+ * `DEFAULT_ALLOWED_MIME_TYPES` image set minus SVG (never a transform output —
139
+ * SVG has no raster pixels to resize).
140
+ */
141
+ export type TransformFormat = "jpeg" | "png" | "webp" | "gif";
142
+ /** Resize behavior, mirrors `sharp`'s `fit` vocabulary (a deliberately small subset). */
143
+ export type TransformFit = "cover" | "contain" | "fill" | "inside" | "outside";
144
+ /**
145
+ * Declarative transform parameters (named definitions only, never
146
+ * caller-supplied dimensions). `width`/`height` are optional so a
147
+ * format-only re-encode (no resize) is a valid definition; `fit` only
148
+ * matters when both `width` and `height` are given.
149
+ */
150
+ export interface TransformParams {
151
+ width?: number | undefined;
152
+ height?: number | undefined;
153
+ fit?: TransformFit | undefined;
154
+ format: TransformFormat;
155
+ /** Encoder quality, 1–100; omitted preserves the codec default. */
156
+ quality?: number | undefined;
157
+ }
158
+ /** Vendor-neutral pixel operations. Hosts inject the codec; importing this port loads no native binary. */
159
+ export interface ImageCodecLimits {
160
+ maxInputPixels?: number;
161
+ timeoutSeconds?: number;
162
+ }
163
+ export interface ImageMetadata {
164
+ format?: string;
165
+ width: number;
166
+ height: number;
167
+ hasAlpha: boolean;
168
+ orientation?: number;
169
+ autoOrient: {
170
+ width: number;
171
+ height: number;
172
+ };
173
+ }
174
+ export interface EncodedImage {
175
+ bytes: Uint8Array;
176
+ width: number;
177
+ height: number;
178
+ }
179
+ export interface ImageGeometry {
180
+ autoOrient?: boolean;
181
+ extract?: {
182
+ left: number;
183
+ top: number;
184
+ width: number;
185
+ height: number;
186
+ };
187
+ rotate?: number;
188
+ flip?: boolean;
189
+ flop?: boolean;
190
+ background?: string;
191
+ resize?: {
192
+ width?: number;
193
+ height?: number;
194
+ fit?: "cover" | "contain" | "inside" | "outside" | "fill";
195
+ position?: string;
196
+ withoutEnlargement?: boolean;
197
+ };
198
+ }
199
+ export interface ImageEncodeInput extends ImageGeometry {
200
+ source: Uint8Array;
201
+ format: "png" | "jpeg" | "webp" | "avif";
202
+ quality?: number;
203
+ stripMetadata?: boolean;
204
+ flatten?: {
205
+ background: string;
206
+ };
207
+ }
208
+ export interface ImageTileInput {
209
+ source: Uint8Array;
210
+ maxWidth: number;
211
+ tileHeight: number;
212
+ }
213
+ export interface ImageCodecPort {
214
+ inspect(input: {
215
+ source: Uint8Array;
216
+ }, options?: ImageCodecLimits): Promise<ImageMetadata>;
217
+ encode(input: ImageEncodeInput, options?: ImageCodecLimits): Promise<EncodedImage>;
218
+ encodeTiles(input: ImageTileInput, options?: {
219
+ quality?: number;
220
+ }): Promise<(EncodedImage & {
221
+ top: number;
222
+ })[]>;
223
+ }
224
+ /**
225
+ * The admin `media` wire DTOs (second section of this module) (ADR-029): the JSON bodies the media admin routes answer with and
226
+ * an admin client reads. Declared here, once, so the server serializer
227
+ * (`@jini-ai/cms/admin-http/http/media`) and any client mirror read the same shapes without the client
228
+ * depending on CMS. Serialization rules (document display names, sniffed content types, public URLs)
229
+ * stay in CMS; only the declarations sit in Core.
230
+ *
231
+ * Core cannot import CMS, so the media record's `status` and `kind` unions are restated structurally
232
+ * here. CMS's `admin-http/http/__tests__/media.test.ts` pins them against `MediaStatus` and
233
+ * `MediaKind` in both directions; keep the two sides identical.
234
+ */
235
+ /** Deletion-ladder status of an asset (CMS `MediaStatus`). */
236
+ export type AdminMediaStatus = 'active' | 'trashed';
237
+ /** `"document"` for a private Library document, `"media"` for ordinary media (CMS `MediaKind`). */
238
+ export type AdminMediaKind = 'media' | 'document';
239
+ /** Compatibility hint for a stored video, read from its decoded stream metadata. `other` is a
240
+ * confirmed codec outside the named ones; an unknown codec is an absent hint, never a guess. */
241
+ export type VideoCodec = 'hevc' | 'h264' | 'other';
242
+ /** Host-bound codec probe over admitted, byte-sniffed video bytes. Resolves `undefined` when the
243
+ * codec cannot be confirmed (missing tool, unsupported metadata, timeout, abort); callers treat a
244
+ * rejection the same way, so probing never changes whether bytes are accepted. */
245
+ export interface VideoCodecProbePort {
246
+ probe(required: {
247
+ bytes: Uint8Array;
248
+ contentType: string;
249
+ }, optional?: {
250
+ signal?: AbortSignal;
251
+ }): Promise<VideoCodec | undefined>;
252
+ }
253
+ /** Static wire code for a single file over its upload byte limit. */
254
+ export declare const MEDIA_UPLOAD_TOO_LARGE = "MEDIA_UPLOAD_TOO_LARGE";
255
+ /** The admin upload/replace refusal body for one file over its byte limit (status 400): the plain
256
+ * sentence plus the measured size and the limit that applied, so a client need not parse words. */
257
+ export interface AdminMediaUploadTooLargeRefusal {
258
+ error: string;
259
+ code: typeof MEDIA_UPLOAD_TOO_LARGE;
260
+ fileBytes: number;
261
+ limitBytes: number;
262
+ }
263
+ /** One asset as the admin API answers it. */
264
+ export interface AdminMediaDto {
265
+ id: string;
266
+ kind: AdminMediaKind;
267
+ originalFilename: string | null;
268
+ displayFilename: string;
269
+ /** Stable creation principal ID; NULL means unknown legacy/pre-migration attribution. */
270
+ createdBy: string | null;
271
+ /** Sanitized recorded origin, separate from the acting principal and editorial prose. Omitted
272
+ * for legacy/invalid origins; generated model/provider IDs are never inferred from captions. */
273
+ provenance?: MediaProvenance;
274
+ workspaceId: string;
275
+ title: string;
276
+ /** Human-memorable, unique-per-workspace lookup key (2026-09-07) — see `MediaRecord.slug`'s own
277
+ * doc (`@jini-ai/cms/media`) for the full identity model. */
278
+ slug: string;
279
+ alt: string;
280
+ caption: string;
281
+ credit: string;
282
+ description?: string;
283
+ sha256: string;
284
+ /** Original blob bytes; null when storage is missing or cannot report a size. */
285
+ byteSize: number | null;
286
+ status: AdminMediaStatus;
287
+ createdAt: string;
288
+ updatedAt: string;
289
+ version: number;
290
+ width: number | null;
291
+ height: number | null;
292
+ cssClass: string | null;
293
+ /** Free-text HTML attributes threaded onto this asset's public tag (2026-09-07) — see
294
+ * `MediaRecord.htmlAttributes`'s own doc (`@jini-ai/cms/media`) for the full identity/security
295
+ * model. Already validated by the time it reaches here; this DTO does not re-validate. */
296
+ htmlAttributes: string | null;
297
+ /**
298
+ * The asset's real media type — always `sniffContentType(bytes)` from the stored bytes, never
299
+ * the client's declared upload string (see `media/content-type-store.ts` for why). Drives the
300
+ * admin Media screen's "Images"/"Videos" tabs.
301
+ *
302
+ * `null` means "not sniffed yet", NOT "unknown format" — an unrecognized blob reports the real
303
+ * answer `"application/octet-stream"`. A `null` is only ever seen for a blob whose bytes could
304
+ * not be read at list time; the list route backfills every other pre-existing row on read. The
305
+ * admin UI must keep `null` rows visible somewhere rather than filtering them into oblivion.
306
+ */
307
+ contentType: string | null;
308
+ /**
309
+ * The asset's real, public, readable `/m/...` URL (readable-slugs S5a, 2026-09-23) — the same
310
+ * `mediaUrlKey`/`mediaPublicPath` contract `seo/media.ts` and the
311
+ * host's own public-URL resolver (`resolveMediaPublicUrls`) already use, keyed by the
312
+ * asset's current slug when it has a valid one, otherwise its id. `null` for every case
313
+ * `resolveMediaPublicUrls` itself returns `null` for — a trashed asset (never a link a visitor
314
+ * would 404 on), or no "public" core transform registered yet — never a partially-built or
315
+ * fabricated guess.
316
+ */
317
+ publicUrl: string | null;
318
+ /** Confirmed video codec of the current source bytes; omitted when unknown or not a video. */
319
+ videoCodec?: VideoCodec;
320
+ }
321
+ export type MediaConversionNotice = "web-copy-unavailable";
322
+ /** Request outcome, separate from editorial text and production provenance. Hosts localize codes. */
323
+ export type MediaDescriptionCapture = {
324
+ status: "saved";
325
+ } | {
326
+ status: "skipped";
327
+ reason: "description-present" | "not-image" | "private-image" | "inactive";
328
+ } | {
329
+ status: "failed";
330
+ reason: "permission-denied" | "authorization-unavailable" | "version-conflict" | "image-bytes-unavailable" | "description-unavailable" | "invalid-description" | "cancelled" | "conditional-write-unavailable" | "metadata-write-unavailable";
331
+ };
332
+ export type MediaUploadResult<Media> = {
333
+ media: Media;
334
+ conversionNotice?: MediaConversionNotice;
335
+ /** Omitted when the host has not configured automatic description capture. */
336
+ descriptionCapture?: MediaDescriptionCapture;
337
+ };
338
+ /** The single-asset body (update, trash). */
339
+ export interface AdminMediaEnvelope {
340
+ media: AdminMediaDto;
341
+ }
342
+ /** The list body. */
343
+ export interface AdminMediaListEnvelope {
344
+ media: AdminMediaDto[];
345
+ }
346
+ /** The hard-purge body: `purged` is always `true` (a refused purge answers a 4xx instead). */
347
+ export interface AdminMediaPurgeEnvelope {
348
+ purged: true;
349
+ }
350
+ /**
351
+ * The media-generation vendor credentials, keyed by provider id, as markers only (that a key exists,
352
+ * its last characters) — never key material. A bare map, not a `{ data }` envelope: `{}` means
353
+ * "reached, manages nothing".
354
+ */
355
+ export type AdminMediaProviderMarkers = Record<string, unknown>;
356
+ /** `GET …/media/:mediaId/where-used`: the stored asset id and the host's usage report for it. */
357
+ export interface AdminMediaWhereUsedEnvelope {
358
+ readonly mediaId: string;
359
+ readonly whereUsed: unknown;
360
+ }
361
+ /** One resolved asset's public-render sizing override — see `SiteRenderContext.mediaAssetMetadata`'s
362
+ * own doc. `null` on any field means "not set", not "zero"/"empty string". */
363
+ export interface MediaAssetRenderMeta {
364
+ sha256?: string;
365
+ width: number | null;
366
+ height: number | null;
367
+ cssClass: string | null;
368
+ /** Same "not set, not empty" contract as `cssClass` — see `MediaRecord.htmlAttributes`'s own doc
369
+ * (`@jini-ai/cms/media`) for the full identity/security model. */
370
+ htmlAttributes: string | null;
371
+ /**
372
+ * The asset's sniffed content type (`image/png`, `video/mp4`, …), or `null` when not (yet) known
373
+ * — added 2026-09-11 for the generic `media` doc node's dispatch ({@link renderDocMedia}'s own
374
+ * doc). `MediaRecord` (`@jini-ai/cms/media`) has no such field of its own; this is populated from
375
+ * the host-supplied `MediaContentTypeStorePort` side channel (`@jini-ai/cms/media/site/content-type-store`
376
+ * — see that port's own file header for why), keyed by the asset's blob sha256, the SAME source
377
+ * `resolver-service.ts`'s `resolveOneMediaEmbed` already reads for the sibling widget-embed media
378
+ * path. Populated by `resolveMediaAssetMetadataForRender` (`routes/site/pages.ts`) for the direct
379
+ * render path this file's own `renderDocNode`/`renderSite` reach, AND (also 2026-09-11, closing
380
+ * what was briefly a disclosed gap) by `resolver-service.ts`'s `resolvePostContentMediaContext` —
381
+ * shared by both `"post-content"` IR builders, `resolvePostTypeEmbeds` and
382
+ * `resolveContentTypeEmbeds` — reconstructed on this side by {@link parseMediaAssetMeta}. That
383
+ * shared path is NOT limited to "a post rendered because a PAGE embeds it": `routes/site/pages.ts`'s
384
+ * `renderViaTemplate` reaches it via `resolveContentTypeEmbeds`'s DB branch for a post rendered at
385
+ * its OWN public URL through a static-tier theme template too (see
386
+ * `resolve-html-page-embeds.integration.test.ts`'s own doc on this — "the exact path both the
387
+ * admin template-preview route AND any live post rendered through a static-tier theme's own
388
+ * template go through"). A missing entry (mediaContentTypeStore not supplied, or a sha256 never
389
+ * sniffed) degrades to `null` here, read as "not video" the same way every other unresolved ref on
390
+ * this render path degrades, never a crash or a wrong guess at the asset's kind. Every
391
+ * PRE-EXISTING reader of `MediaAssetRenderMeta` ({@link tryRenderRefImage}/
392
+ * {@link resolveMediaAssetOverrides}, the `image` node's own path) never reads this field, so
393
+ * adding it changes nothing about how `image` nodes render.
394
+ */
395
+ contentType: string | null;
396
+ /**
397
+ * The asset's CURRENT slug, or `null` when it has none (never uploaded through a path that
398
+ * derives one, or a genuinely legacy row) — readable-slugs plan S3 (2026-09-23). This is the one
399
+ * field {@link renderImageTag}/{@link renderVideoTag} read to decide the `/m/...` URL's key
400
+ * (`mediaUrlKey`, `@jini-ai/cms/media/site/public-path`): a present, valid slug wins, otherwise the
401
+ * asset's `id` is used, same fallback `mediaUrlKey` itself implements. Rename safety
402
+ * (`media_slug_history`, S2a/S2b) is what makes emitting a slug here safe — a slug this render
403
+ * captures can be renamed later without breaking the URL already baked into this HTML.
404
+ */
405
+ slug: string | null;
406
+ /**
407
+ * G7-9: the asset's resolved WebVTT captions track (`src` is the sibling `.vtt` asset's public
408
+ * `/m/.../original.vtt` path), or `null`/absent for none. The renderer never trusts it: a non-`.vtt`
409
+ * or off-origin `src` renders the uncaptioned player (`@jini-ai/cms` `caption-track.ts`).
410
+ */
411
+ captionsTrack?: {
412
+ readonly src: string;
413
+ readonly srclang: string;
414
+ readonly label?: string | null;
415
+ } | null;
416
+ }
417
+ /** The only encoding a host converter is asked for: a web-safe MP4 that streams before it finishes loading. */
418
+ export type VideoTranscodeTarget = "mp4-h264-aac-faststart";
419
+ export type VideoTranscodeFailureReason = "unavailable" | "busy" | "too-large" | "timeout" | "canceled" | "invalid";
420
+ export type VideoTranscodeResult = {
421
+ readonly ok: true;
422
+ readonly bytes: Uint8Array;
423
+ } | {
424
+ readonly ok: false;
425
+ readonly reason: VideoTranscodeFailureReason;
426
+ readonly message: string;
427
+ };
428
+ /** Turns authorized video bytes into the requested web-safe encoding. Inputs are bytes, never
429
+ * caller paths. Implementations report expected failures as results and keep the original intact. */
430
+ export interface MediaTranscoderPort {
431
+ transcode(required: {
432
+ input: Uint8Array;
433
+ target: VideoTranscodeTarget;
434
+ }, optional?: {
435
+ signal?: AbortSignal | undefined;
436
+ maxOutputBytes?: number | undefined;
437
+ }): Promise<VideoTranscodeResult>;
438
+ }
439
+ export interface StagedMediaFile {
440
+ readonly path: string;
441
+ readonly root: string;
442
+ readonly byteLength: number;
443
+ readonly sha256: string;
444
+ readonly contentType: string;
445
+ openChunks(required: Record<string, never>, optional?: {
446
+ signal?: AbortSignal;
447
+ }): AsyncIterable<Uint8Array>;
448
+ }
449
+ export interface StagedMediaTranscoderPort {
450
+ transcodeStaged<T>(required: {
451
+ input: StagedMediaFile;
452
+ target: VideoTranscodeTarget;
453
+ consume: (output: StagedMediaFile) => Promise<T>;
454
+ }, optional?: {
455
+ signal?: AbortSignal | undefined;
456
+ maxOutputBytes?: number | undefined;
457
+ }): Promise<{
458
+ readonly ok: true;
459
+ readonly value: T;
460
+ } | Extract<VideoTranscodeResult, {
461
+ ok: false;
462
+ }>>;
463
+ }
464
+ //# sourceMappingURL=cms-media.d.ts.map
@@ -0,0 +1,3 @@
1
+ /** Static wire code for a single file over its upload byte limit. */
2
+ export const MEDIA_UPLOAD_TOO_LARGE = 'MEDIA_UPLOAD_TOO_LARGE';
3
+ //# sourceMappingURL=cms-media.js.map
@@ -0,0 +1,109 @@
1
+ /**
2
+ * @file The admin `menus` wire DTOs (ADR-029): the JSON bodies the menus admin routes answer with
3
+ * and an admin client reads. Declared here, once, so the server serializer
4
+ * (`@jini-ai/cms/admin-http/http/menus`) and any client mirror read the same shapes without the
5
+ * client depending on CMS. Serialization and navigation rules stay in CMS; only the declarations
6
+ * sit in Core.
7
+ *
8
+ * Core cannot import CMS, so the navigation unions are restated structurally here. CMS's
9
+ * `admin-http/http/__tests__/menus.test.ts` pins them against `NavTarget`, `NavItemAttrs`,
10
+ * `NavMenuMode` and `MenuStatus` in both directions; keep the two sides identical.
11
+ */
12
+ import type { JsonObject } from '../../primitives/json.js';
13
+ /** A link to a content entry (navigation's `NavEntryTarget`). */
14
+ export interface AdminMenuEntryTargetDto {
15
+ readonly kind: 'entryRef';
16
+ readonly entryType?: string;
17
+ readonly lastKnownHref?: string;
18
+ readonly entryId: string;
19
+ }
20
+ /** A link to a taxonomy term (navigation's `NavTermTarget`). */
21
+ export interface AdminMenuTermTargetDto {
22
+ readonly kind: 'termRef';
23
+ readonly termId: string;
24
+ readonly taxonomy: string;
25
+ }
26
+ /** An absolute or site-relative URL (navigation's `NavUrlTarget`). */
27
+ export interface AdminMenuUrlTargetDto {
28
+ readonly kind: 'url';
29
+ readonly href: string;
30
+ }
31
+ /** A named core route (navigation's `NavRouteTarget`) with its optional static params. */
32
+ export interface AdminMenuRouteTargetDto {
33
+ readonly kind: 'route';
34
+ readonly route: string;
35
+ readonly params?: JsonObject | undefined;
36
+ }
37
+ /** Wire-format link target, as stored and answered — structurally identical to navigation's `NavTarget`. */
38
+ export type AdminMenuTargetDto = AdminMenuEntryTargetDto | AdminMenuTermTargetDto | AdminMenuUrlTargetDto | AdminMenuRouteTargetDto;
39
+ /** Presentational item attributes (navigation's `NavItemAttrs`), passed through uninterpreted. */
40
+ export interface AdminMenuAttrsDto {
41
+ readonly openInNewTab?: boolean | undefined;
42
+ readonly rel?: string | undefined;
43
+ readonly cssClass?: string | undefined;
44
+ readonly description?: string | undefined;
45
+ readonly icon?: string | undefined;
46
+ }
47
+ /** `"items"` renders the item tree; `"html"` renders the author's own markup. */
48
+ export type AdminMenuMode = 'items' | 'html';
49
+ /** A menu's lifecycle state as answered. */
50
+ export type AdminMenuStatus = 'draft' | 'published' | 'trash';
51
+ /**
52
+ * One tree node. `Target` defaults to the stored union; a client editor that builds targets field by
53
+ * field may widen it to its own draft shape without restating the rest of the node.
54
+ * `| undefined`: the serializer writes these keys even when empty (JSON drops them on the wire).
55
+ */
56
+ export interface AdminMenuItemDto<Target = AdminMenuTargetDto> {
57
+ id: string;
58
+ label?: string | undefined;
59
+ target: Target;
60
+ attrs?: AdminMenuAttrsDto | undefined;
61
+ children?: AdminMenuItemDto<Target>[] | undefined;
62
+ }
63
+ /** One menu as the admin reads it. `mode`/`html` are absent on a menu that never used HTML mode. */
64
+ export interface AdminMenuDto<Target = AdminMenuTargetDto> {
65
+ id: string;
66
+ workspaceId: string;
67
+ slug: string;
68
+ title: string;
69
+ status: AdminMenuStatus;
70
+ items: AdminMenuItemDto<Target>[];
71
+ mode?: AdminMenuMode;
72
+ html?: string;
73
+ locations: string[];
74
+ updatedAt: string;
75
+ version: number;
76
+ }
77
+ /** The optional HTML-mode fields a create/update body sends; an omitted field keeps the stored value. */
78
+ export interface AdminMenuAuthoringDto {
79
+ mode?: AdminMenuMode;
80
+ html?: string;
81
+ }
82
+ /** `GET/POST/PUT …/menus[/:id]` body. */
83
+ export interface AdminMenuEnvelope {
84
+ menu: AdminMenuDto;
85
+ }
86
+ /** `GET …/menus` body. */
87
+ export interface AdminMenuListEnvelope {
88
+ menus: AdminMenuDto[];
89
+ }
90
+ /** A location binding row as answered. */
91
+ export interface AdminMenuBindingDto {
92
+ workspaceId: string;
93
+ locationKey: string;
94
+ menuId: string;
95
+ boundAt: string;
96
+ }
97
+ /** `PUT …/menus/:id/location` body: the bound menu, its binding and the menu it displaced, if any. */
98
+ export interface AdminAssignLocationEnvelope {
99
+ menu: AdminMenuDto;
100
+ binding: AdminMenuBindingDto;
101
+ displacedMenu: AdminMenuDto | null;
102
+ }
103
+ /** `DELETE …/menus/:id` body: the trash acknowledgement. */
104
+ export interface AdminTrashMenuEnvelope {
105
+ trashed: true;
106
+ id: string;
107
+ version: number | null;
108
+ }
109
+ //# sourceMappingURL=cms-menus.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @file The admin `menus` wire DTOs (ADR-029): the JSON bodies the menus admin routes answer with
3
+ * and an admin client reads. Declared here, once, so the server serializer
4
+ * (`@jini-ai/cms/admin-http/http/menus`) and any client mirror read the same shapes without the
5
+ * client depending on CMS. Serialization and navigation rules stay in CMS; only the declarations
6
+ * sit in Core.
7
+ *
8
+ * Core cannot import CMS, so the navigation unions are restated structurally here. CMS's
9
+ * `admin-http/http/__tests__/menus.test.ts` pins them against `NavTarget`, `NavItemAttrs`,
10
+ * `NavMenuMode` and `MenuStatus` in both directions; keep the two sides identical.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=cms-menus.js.map
@@ -0,0 +1,81 @@
1
+ /**
2
+ * @file The admin `plugins` wire DTOs (ADR-029): the JSON bodies the plugins admin routes (list,
3
+ * set-enabled) answer with and an admin client reads. Declared here, once, so the route specs
4
+ * (`@jini-ai/cms/admin-http/routes/plugins/*`), the host's serializer and any client mirror read
5
+ * the same shapes without the client depending on CMS or the plugin engine. Serialization stays
6
+ * with the plugin engine's `toAdminPluginResponse`; only the declarations sit in Core.
7
+ *
8
+ * Core cannot import the plugin engine, so its `AdminPluginEnvelope` is restated structurally
9
+ * here; a host that binds `toAdminPluginResponse` to these specs compiles only while the engine's
10
+ * envelope is assignable to {@link AdminPluginDto}. Keep the two sides identical.
11
+ */
12
+ import type { PluginPackageFile } from './host-node.js';
13
+ import type { PluginConflict } from './plugins-host.js';
14
+ /** Where a plugin was discovered: shipped with the host, or installed on this site. */
15
+ export type AdminPluginSource = 'built-in' | 'site';
16
+ /** The manifest-declared trust tier; a record without one is reported as `"tier-3"`. */
17
+ export type AdminPluginTier = 'tier-1' | 'tier-2' | 'tier-3';
18
+ /** The discovery-time integrity verdict. */
19
+ export type AdminPluginStatus = 'valid' | 'invalid' | 'incompatible';
20
+ /** One discovery-time problem with a plugin package (`file` is `null` when no one file is at fault). */
21
+ export interface AdminPluginErrorDto {
22
+ readonly code: string;
23
+ readonly file: string | null;
24
+ readonly message: string;
25
+ }
26
+ /** Why a plugin is quarantined; present only when the activation row carries all three fields. */
27
+ export interface AdminPluginQuarantineDto {
28
+ readonly at: string;
29
+ readonly reason: string;
30
+ readonly consecutiveFailures: number;
31
+ }
32
+ /**
33
+ * One admin plugin row (api.spec.md §5). Key order is the serialized wire order.
34
+ * `providerSettings` is absent, never `false`, for a plugin whose manifest declares no provider
35
+ * settings.
36
+ */
37
+ export interface AdminPluginDto {
38
+ readonly id: string;
39
+ readonly name: string;
40
+ readonly version: string;
41
+ readonly source: AdminPluginSource;
42
+ readonly tier: AdminPluginTier;
43
+ readonly status: AdminPluginStatus;
44
+ /** Projected from the activation row; an absent row means disabled. */
45
+ readonly enabled: boolean;
46
+ readonly quarantine: AdminPluginQuarantineDto | null;
47
+ readonly errors: readonly AdminPluginErrorDto[];
48
+ /** Names this plugin claims that core or an earlier-enabled plugin already holds; empty when clear. */
49
+ readonly conflicts: readonly PluginConflict[];
50
+ readonly providerSettings?: true;
51
+ }
52
+ /** `GET …/plugins`: every discovered plugin plus the local install sources this server takes. */
53
+ export interface AdminPluginListEnvelope {
54
+ plugins: AdminPluginDto[];
55
+ installSources: string[];
56
+ }
57
+ /** `PATCH …/plugins/:pluginId`: the updated row and the change set that recorded the write. */
58
+ export interface AdminPluginSetEnabledEnvelope {
59
+ plugin: AdminPluginDto;
60
+ changeSetId: string;
61
+ }
62
+ /** The listing bounds the server applied to a package-files read, echoed so a viewer never hardcodes them. */
63
+ export interface AdminPluginFileLimitsDto {
64
+ readonly maxFiles: number;
65
+ readonly maxEntries: number;
66
+ readonly maxFileBytes: number;
67
+ readonly maxTotalBytes: number;
68
+ }
69
+ /**
70
+ * `GET …/plugins/:pluginId/files` (`PLUGIN_FILES`): the files in one plugin's own directory, whether
71
+ * the server's caps cut the listing short, and those caps. A file's `content` is `null` exactly when
72
+ * its `omitted` reason is set.
73
+ */
74
+ export interface AdminPluginFilesEnvelope {
75
+ readonly pluginId: string;
76
+ readonly source: AdminPluginSource;
77
+ readonly files: readonly PluginPackageFile[];
78
+ readonly truncated: boolean;
79
+ readonly limits: AdminPluginFileLimitsDto;
80
+ }
81
+ //# sourceMappingURL=cms-plugins.d.ts.map