aimeat 2.1.0 → 2.2.0

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 (422) hide show
  1. package/dist/.env.example +9 -4
  2. package/dist/locales/en.json +28 -0
  3. package/dist/locales/fi.json +28 -0
  4. package/dist/public/cortex-bundled/aimeat-charts.js +158 -10
  5. package/dist/public/cortex-bundled/aimeat-charts.yaml +1 -1
  6. package/dist/public/cortex-bundled/aimeat-dag.js +515 -173
  7. package/dist/public/cortex-bundled/aimeat-dag.yaml +1 -1
  8. package/dist/public/cortex-bundled/aimeat-i18n.js +6 -1
  9. package/dist/public/cortex-bundled/aimeat-i18n.yaml +1 -1
  10. package/dist/public/cortex-bundled/aimeat-surface.js +577 -0
  11. package/dist/public/cortex-bundled/aimeat-surface.yaml +107 -0
  12. package/dist/public/cortex-bundled/aimeat-viewport.js +405 -0
  13. package/dist/public/cortex-bundled/aimeat-viewport.yaml +100 -0
  14. package/dist/public/css/views/inbox.css +1 -1
  15. package/dist/public/css/views/profile.css +9 -0
  16. package/dist/public/lib/VENDORED.md +6 -3
  17. package/dist/public/lib/aimeat-daisyui-bridge.css +39 -2
  18. package/dist/public/lib/aimeat-theme.css +538 -0
  19. package/dist/public/lib/fonts/LICENSE.md +11 -4
  20. package/dist/public/lib/fonts/fraunces-var-latin-ext.woff2 +0 -0
  21. package/dist/public/lib/fonts/fraunces-var-latin.woff2 +0 -0
  22. package/dist/public/lib/fonts/inter-var-latin-ext.woff2 +0 -0
  23. package/dist/public/lib/fonts/inter-var-latin.woff2 +0 -0
  24. package/dist/public/lib/fonts/jetbrains-mono-var-latin-ext.woff2 +0 -0
  25. package/dist/public/lib/fonts/jetbrains-mono-var-latin.woff2 +0 -0
  26. package/dist/public/lib/fonts/space-grotesk-var-latin-ext.woff2 +0 -0
  27. package/dist/public/lib/fonts/space-grotesk-var-latin.woff2 +0 -0
  28. package/dist/public/lib/samples/theme-check.html +92 -0
  29. package/dist/public/lib/samples/themes-boot.js +20 -0
  30. package/dist/public/lib/samples/themes.html +154 -0
  31. package/dist/public/lib/samples/themes.js +60 -0
  32. package/dist/public/views/profile/access-tab/connected-apps.js +81 -5
  33. package/dist/public/views/profile/extensions-tab.maturity.js +4 -1
  34. package/dist/public/views/profile/inbox-tab/components.js +17 -1
  35. package/dist/public/views/profile/inbox-tab/use-thread-ux.js +29 -2
  36. package/dist/public/views/profile/libraries-tab.js +10 -2
  37. package/dist/public/views/profile/wallet-tab.js +64 -0
  38. package/dist/scripts/check-openapi.d.ts +2 -0
  39. package/dist/scripts/check-openapi.d.ts.map +1 -0
  40. package/dist/scripts/check-openapi.js +139 -0
  41. package/dist/scripts/check-openapi.js.map +1 -0
  42. package/dist/scripts/embed-viewport.d.ts +23 -0
  43. package/dist/scripts/embed-viewport.d.ts.map +1 -0
  44. package/dist/scripts/embed-viewport.js +116 -0
  45. package/dist/scripts/embed-viewport.js.map +1 -0
  46. package/dist/src/auth/sse-domain-scopes.d.ts +50 -0
  47. package/dist/src/auth/sse-domain-scopes.d.ts.map +1 -0
  48. package/dist/src/auth/sse-domain-scopes.js +111 -0
  49. package/dist/src/auth/sse-domain-scopes.js.map +1 -0
  50. package/dist/src/cli/connect/mcp/tools/agent-tasks.d.ts.map +1 -1
  51. package/dist/src/cli/connect/mcp/tools/agent-tasks.js +4 -1
  52. package/dist/src/cli/connect/mcp/tools/agent-tasks.js.map +1 -1
  53. package/dist/src/cli/connect/mcp/tools/core.d.ts.map +1 -1
  54. package/dist/src/cli/connect/mcp/tools/core.js +14 -3
  55. package/dist/src/cli/connect/mcp/tools/core.js.map +1 -1
  56. package/dist/src/cli/connect/mcp/tools/workspaces.d.ts +3 -0
  57. package/dist/src/cli/connect/mcp/tools/workspaces.d.ts.map +1 -1
  58. package/dist/src/cli/connect/mcp/tools/workspaces.js +4 -2
  59. package/dist/src/cli/connect/mcp/tools/workspaces.js.map +1 -1
  60. package/dist/src/cli/connect/tool-call-defs-core.d.ts.map +1 -1
  61. package/dist/src/cli/connect/tool-call-defs-core.js +13 -1
  62. package/dist/src/cli/connect/tool-call-defs-core.js.map +1 -1
  63. package/dist/src/commerce/__tests__/x402-registry.test.d.ts +2 -0
  64. package/dist/src/commerce/__tests__/x402-registry.test.d.ts.map +1 -0
  65. package/dist/src/commerce/__tests__/x402-registry.test.js +105 -0
  66. package/dist/src/commerce/__tests__/x402-registry.test.js.map +1 -0
  67. package/dist/src/commerce/evm-address.d.ts +21 -0
  68. package/dist/src/commerce/evm-address.d.ts.map +1 -0
  69. package/dist/src/commerce/evm-address.js +94 -0
  70. package/dist/src/commerce/evm-address.js.map +1 -0
  71. package/dist/src/commerce/money.d.ts +18 -5
  72. package/dist/src/commerce/money.d.ts.map +1 -1
  73. package/dist/src/commerce/money.js +27 -6
  74. package/dist/src/commerce/money.js.map +1 -1
  75. package/dist/src/commerce/x402-facilitator.d.ts +64 -13
  76. package/dist/src/commerce/x402-facilitator.d.ts.map +1 -1
  77. package/dist/src/commerce/x402-facilitator.js +71 -19
  78. package/dist/src/commerce/x402-facilitator.js.map +1 -1
  79. package/dist/src/commerce/x402-handler.d.ts +13 -7
  80. package/dist/src/commerce/x402-handler.d.ts.map +1 -1
  81. package/dist/src/commerce/x402-handler.js +23 -10
  82. package/dist/src/commerce/x402-handler.js.map +1 -1
  83. package/dist/src/commerce/x402.d.ts +11 -6
  84. package/dist/src/commerce/x402.d.ts.map +1 -1
  85. package/dist/src/commerce/x402.js +10 -7
  86. package/dist/src/commerce/x402.js.map +1 -1
  87. package/dist/src/config-types.d.ts +12 -0
  88. package/dist/src/config-types.d.ts.map +1 -1
  89. package/dist/src/config.d.ts.map +1 -1
  90. package/dist/src/config.js +8 -0
  91. package/dist/src/config.js.map +1 -1
  92. package/dist/src/data/app-templates/shells.d.ts +11 -3
  93. package/dist/src/data/app-templates/shells.d.ts.map +1 -1
  94. package/dist/src/data/app-templates/shells.js +87 -6
  95. package/dist/src/data/app-templates/shells.js.map +1 -1
  96. package/dist/src/data/app-templates.js +2 -2
  97. package/dist/src/data/app-templates.js.map +1 -1
  98. package/dist/src/data/library-packs/cortex.d.ts.map +1 -1
  99. package/dist/src/data/library-packs/cortex.js +108 -5
  100. package/dist/src/data/library-packs/cortex.js.map +1 -1
  101. package/dist/src/data/library-packs/sdk.d.ts.map +1 -1
  102. package/dist/src/data/library-packs/sdk.js +32 -8
  103. package/dist/src/data/library-packs/sdk.js.map +1 -1
  104. package/dist/src/data/library-packs/vendored.d.ts.map +1 -1
  105. package/dist/src/data/library-packs/vendored.js +83 -6
  106. package/dist/src/data/library-packs/vendored.js.map +1 -1
  107. package/dist/src/generated/api-types.d.ts +478 -19
  108. package/dist/src/generated/api-types.d.ts.map +1 -1
  109. package/dist/src/mcp/agent-tasks.d.ts +4 -0
  110. package/dist/src/mcp/agent-tasks.d.ts.map +1 -1
  111. package/dist/src/mcp/agent-tasks.js +20 -2
  112. package/dist/src/mcp/agent-tasks.js.map +1 -1
  113. package/dist/src/mcp/capabilities.d.ts +7 -1
  114. package/dist/src/mcp/capabilities.d.ts.map +1 -1
  115. package/dist/src/mcp/capabilities.js +5 -2
  116. package/dist/src/mcp/capabilities.js.map +1 -1
  117. package/dist/src/mcp/catalog/definitions/commerce.d.ts.map +1 -1
  118. package/dist/src/mcp/catalog/definitions/commerce.js +4 -2
  119. package/dist/src/mcp/catalog/definitions/commerce.js.map +1 -1
  120. package/dist/src/mcp/catalog/definitions/discovery-work-boards.d.ts.map +1 -1
  121. package/dist/src/mcp/catalog/definitions/discovery-work-boards.js +4 -3
  122. package/dist/src/mcp/catalog/definitions/discovery-work-boards.js.map +1 -1
  123. package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js +1 -1
  124. package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js.map +1 -1
  125. package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.d.ts.map +1 -1
  126. package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js +3 -2
  127. package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js.map +1 -1
  128. package/dist/src/mcp/catalog/output-schemas.d.ts +6 -1
  129. package/dist/src/mcp/catalog/output-schemas.d.ts.map +1 -1
  130. package/dist/src/mcp/catalog/output-schemas.js +6 -1
  131. package/dist/src/mcp/catalog/output-schemas.js.map +1 -1
  132. package/dist/src/mcp/commerce.d.ts.map +1 -1
  133. package/dist/src/mcp/commerce.js +15 -3
  134. package/dist/src/mcp/commerce.js.map +1 -1
  135. package/dist/src/mcp/core-storage.d.ts +23 -0
  136. package/dist/src/mcp/core-storage.d.ts.map +1 -0
  137. package/dist/src/mcp/core-storage.js +157 -0
  138. package/dist/src/mcp/core-storage.js.map +1 -0
  139. package/dist/src/mcp/core.d.ts +16 -0
  140. package/dist/src/mcp/core.d.ts.map +1 -1
  141. package/dist/src/mcp/core.js +75 -119
  142. package/dist/src/mcp/core.js.map +1 -1
  143. package/dist/src/mcp/dm-messages.d.ts +4 -0
  144. package/dist/src/mcp/dm-messages.d.ts.map +1 -1
  145. package/dist/src/mcp/dm-messages.js +43 -2
  146. package/dist/src/mcp/dm-messages.js.map +1 -1
  147. package/dist/src/mcp/exchange.d.ts.map +1 -1
  148. package/dist/src/mcp/exchange.js +3 -2
  149. package/dist/src/mcp/exchange.js.map +1 -1
  150. package/dist/src/mcp/extensions.d.ts.map +1 -1
  151. package/dist/src/mcp/extensions.js +6 -2
  152. package/dist/src/mcp/extensions.js.map +1 -1
  153. package/dist/src/mcp/index.d.ts +5 -0
  154. package/dist/src/mcp/index.d.ts.map +1 -1
  155. package/dist/src/mcp/index.js +23 -4
  156. package/dist/src/mcp/index.js.map +1 -1
  157. package/dist/src/mcp/memory-namespace-hints.d.ts +33 -0
  158. package/dist/src/mcp/memory-namespace-hints.d.ts.map +1 -0
  159. package/dist/src/mcp/memory-namespace-hints.js +60 -0
  160. package/dist/src/mcp/memory-namespace-hints.js.map +1 -0
  161. package/dist/src/mcp/workspaces.d.ts +5 -0
  162. package/dist/src/mcp/workspaces.d.ts.map +1 -1
  163. package/dist/src/mcp/workspaces.js +5 -3
  164. package/dist/src/mcp/workspaces.js.map +1 -1
  165. package/dist/src/models/agent-task-schemas.d.ts +25 -3
  166. package/dist/src/models/agent-task-schemas.d.ts.map +1 -1
  167. package/dist/src/models/agent-task-schemas.js +16 -0
  168. package/dist/src/models/agent-task-schemas.js.map +1 -1
  169. package/dist/src/models/app-tool-schemas.d.ts +518 -1
  170. package/dist/src/models/app-tool-schemas.d.ts.map +1 -1
  171. package/dist/src/models/app-tool-schemas.js +53 -1
  172. package/dist/src/models/app-tool-schemas.js.map +1 -1
  173. package/dist/src/models/odps-schemas.d.ts +305 -0
  174. package/dist/src/models/odps-schemas.d.ts.map +1 -0
  175. package/dist/src/models/odps-schemas.js +182 -0
  176. package/dist/src/models/odps-schemas.js.map +1 -0
  177. package/dist/src/models/offer-schemas.d.ts +357 -2
  178. package/dist/src/models/offer-schemas.d.ts.map +1 -1
  179. package/dist/src/models/offer-schemas.js +37 -0
  180. package/dist/src/models/offer-schemas.js.map +1 -1
  181. package/dist/src/models/schemas.d.ts +6 -3
  182. package/dist/src/models/schemas.d.ts.map +1 -1
  183. package/dist/src/models/schemas.js +10 -1
  184. package/dist/src/models/schemas.js.map +1 -1
  185. package/dist/src/models/webhook-schemas.d.ts +8 -8
  186. package/dist/src/routes/agent-tasks/create-read.d.ts +4 -0
  187. package/dist/src/routes/agent-tasks/create-read.d.ts.map +1 -1
  188. package/dist/src/routes/agent-tasks/create-read.js +20 -1
  189. package/dist/src/routes/agent-tasks/create-read.js.map +1 -1
  190. package/dist/src/routes/agent-tasks/lifecycle.d.ts.map +1 -1
  191. package/dist/src/routes/agent-tasks/lifecycle.js +10 -0
  192. package/dist/src/routes/agent-tasks/lifecycle.js.map +1 -1
  193. package/dist/src/routes/agents/offers.d.ts +2 -0
  194. package/dist/src/routes/agents/offers.d.ts.map +1 -1
  195. package/dist/src/routes/agents/offers.js +0 -0
  196. package/dist/src/routes/agents/offers.js.map +1 -1
  197. package/dist/src/routes/app-grants.d.ts +6 -0
  198. package/dist/src/routes/app-grants.d.ts.map +1 -1
  199. package/dist/src/routes/app-grants.js +55 -25
  200. package/dist/src/routes/app-grants.js.map +1 -1
  201. package/dist/src/routes/apps/drafts.d.ts +3 -0
  202. package/dist/src/routes/apps/drafts.d.ts.map +1 -1
  203. package/dist/src/routes/apps/drafts.js +63 -1
  204. package/dist/src/routes/apps/drafts.js.map +1 -1
  205. package/dist/src/routes/apps/publish.d.ts +2 -0
  206. package/dist/src/routes/apps/publish.d.ts.map +1 -1
  207. package/dist/src/routes/apps/publish.js +17 -2
  208. package/dist/src/routes/apps/publish.js.map +1 -1
  209. package/dist/src/routes/commerce.d.ts.map +1 -1
  210. package/dist/src/routes/commerce.js +122 -2
  211. package/dist/src/routes/commerce.js.map +1 -1
  212. package/dist/src/routes/exchange-market.d.ts +6 -2
  213. package/dist/src/routes/exchange-market.d.ts.map +1 -1
  214. package/dist/src/routes/exchange-market.js +154 -28
  215. package/dist/src/routes/exchange-market.js.map +1 -1
  216. package/dist/src/routes/exchange.d.ts.map +1 -1
  217. package/dist/src/routes/exchange.js +5 -2
  218. package/dist/src/routes/exchange.js.map +1 -1
  219. package/dist/src/routes/extensions/actions.d.ts.map +1 -1
  220. package/dist/src/routes/extensions/actions.js +18 -0
  221. package/dist/src/routes/extensions/actions.js.map +1 -1
  222. package/dist/src/routes/extensions/crud.d.ts.map +1 -1
  223. package/dist/src/routes/extensions/crud.js +36 -3
  224. package/dist/src/routes/extensions/crud.js.map +1 -1
  225. package/dist/src/routes/extensions/entitlement-gate.d.ts.map +1 -1
  226. package/dist/src/routes/extensions/entitlement-gate.js +13 -0
  227. package/dist/src/routes/extensions/entitlement-gate.js.map +1 -1
  228. package/dist/src/routes/extensions/manifest.d.ts +6 -0
  229. package/dist/src/routes/extensions/manifest.d.ts.map +1 -1
  230. package/dist/src/routes/extensions/manifest.js +68 -1
  231. package/dist/src/routes/extensions/manifest.js.map +1 -1
  232. package/dist/src/routes/extensions/pacing.d.ts +31 -0
  233. package/dist/src/routes/extensions/pacing.d.ts.map +1 -0
  234. package/dist/src/routes/extensions/pacing.js +73 -0
  235. package/dist/src/routes/extensions/pacing.js.map +1 -0
  236. package/dist/src/routes/extensions/paywall.d.ts.map +1 -1
  237. package/dist/src/routes/extensions/paywall.js +17 -17
  238. package/dist/src/routes/extensions/paywall.js.map +1 -1
  239. package/dist/src/routes/memory/crud.d.ts.map +1 -1
  240. package/dist/src/routes/memory/crud.js +10 -0
  241. package/dist/src/routes/memory/crud.js.map +1 -1
  242. package/dist/src/routes/organisms/crud.d.ts +3 -0
  243. package/dist/src/routes/organisms/crud.d.ts.map +1 -1
  244. package/dist/src/routes/organisms/crud.js +5 -2
  245. package/dist/src/routes/organisms/crud.js.map +1 -1
  246. package/dist/src/routes/organisms/workspace-read.d.ts.map +1 -1
  247. package/dist/src/routes/organisms/workspace-read.js +7 -2
  248. package/dist/src/routes/organisms/workspace-read.js.map +1 -1
  249. package/dist/src/routes/public-stats.d.ts +7 -0
  250. package/dist/src/routes/public-stats.d.ts.map +1 -1
  251. package/dist/src/routes/public-stats.js +28 -7
  252. package/dist/src/routes/public-stats.js.map +1 -1
  253. package/dist/src/routes/sse.d.ts +7 -0
  254. package/dist/src/routes/sse.d.ts.map +1 -1
  255. package/dist/src/routes/sse.js +36 -6
  256. package/dist/src/routes/sse.js.map +1 -1
  257. package/dist/src/routes/storage-files.d.ts +11 -0
  258. package/dist/src/routes/storage-files.d.ts.map +1 -1
  259. package/dist/src/routes/storage-files.js +58 -51
  260. package/dist/src/routes/storage-files.js.map +1 -1
  261. package/dist/src/routes/subdomains.d.ts +4 -0
  262. package/dist/src/routes/subdomains.d.ts.map +1 -1
  263. package/dist/src/routes/subdomains.js +42 -5
  264. package/dist/src/routes/subdomains.js.map +1 -1
  265. package/dist/src/routes/upload.d.ts +11 -0
  266. package/dist/src/routes/upload.d.ts.map +1 -1
  267. package/dist/src/routes/upload.js +108 -28
  268. package/dist/src/routes/upload.js.map +1 -1
  269. package/dist/src/routes/webmcp.d.ts.map +1 -1
  270. package/dist/src/routes/webmcp.js +4 -0
  271. package/dist/src/routes/webmcp.js.map +1 -1
  272. package/dist/src/schemas/knowledge-package.d.ts +1 -1
  273. package/dist/src/server-bootstrap/static-files.d.ts +4 -0
  274. package/dist/src/server-bootstrap/static-files.d.ts.map +1 -1
  275. package/dist/src/server-bootstrap/static-files.js +11 -0
  276. package/dist/src/server-bootstrap/static-files.js.map +1 -1
  277. package/dist/src/services/build-app-prompt.d.ts +19 -0
  278. package/dist/src/services/build-app-prompt.d.ts.map +1 -1
  279. package/dist/src/services/build-app-prompt.js +97 -11
  280. package/dist/src/services/build-app-prompt.js.map +1 -1
  281. package/dist/src/services/call-timing.d.ts +51 -0
  282. package/dist/src/services/call-timing.d.ts.map +1 -0
  283. package/dist/src/services/call-timing.js +91 -0
  284. package/dist/src/services/call-timing.js.map +1 -0
  285. package/dist/src/services/capability-invoke.d.ts +2 -0
  286. package/dist/src/services/capability-invoke.d.ts.map +1 -1
  287. package/dist/src/services/capability-invoke.js +10 -0
  288. package/dist/src/services/capability-invoke.js.map +1 -1
  289. package/dist/src/services/config-schema.d.ts.map +1 -1
  290. package/dist/src/services/config-schema.js +6 -0
  291. package/dist/src/services/config-schema.js.map +1 -1
  292. package/dist/src/services/draft-token.d.ts +22 -2
  293. package/dist/src/services/draft-token.d.ts.map +1 -1
  294. package/dist/src/services/draft-token.js +52 -3
  295. package/dist/src/services/draft-token.js.map +1 -1
  296. package/dist/src/services/exchange-market.d.ts +41 -8
  297. package/dist/src/services/exchange-market.d.ts.map +1 -1
  298. package/dist/src/services/exchange-market.js +24 -2
  299. package/dist/src/services/exchange-market.js.map +1 -1
  300. package/dist/src/services/exchange-odps.d.ts +58 -0
  301. package/dist/src/services/exchange-odps.d.ts.map +1 -0
  302. package/dist/src/services/exchange-odps.js +400 -0
  303. package/dist/src/services/exchange-odps.js.map +1 -0
  304. package/dist/src/services/exchange-projection.d.ts +61 -0
  305. package/dist/src/services/exchange-projection.d.ts.map +1 -0
  306. package/dist/src/services/exchange-projection.js +504 -0
  307. package/dist/src/services/exchange-projection.js.map +1 -0
  308. package/dist/src/services/exchange-proposals.d.ts.map +1 -1
  309. package/dist/src/services/exchange-proposals.js +2 -0
  310. package/dist/src/services/exchange-proposals.js.map +1 -1
  311. package/dist/src/services/extension-files.d.ts +64 -0
  312. package/dist/src/services/extension-files.d.ts.map +1 -0
  313. package/dist/src/services/extension-files.js +88 -0
  314. package/dist/src/services/extension-files.js.map +1 -0
  315. package/dist/src/services/extension-runtime.d.ts +33 -0
  316. package/dist/src/services/extension-runtime.d.ts.map +1 -1
  317. package/dist/src/services/extension-runtime.js +52 -0
  318. package/dist/src/services/extension-runtime.js.map +1 -1
  319. package/dist/src/services/file-refs.d.ts +105 -0
  320. package/dist/src/services/file-refs.d.ts.map +1 -0
  321. package/dist/src/services/file-refs.js +106 -0
  322. package/dist/src/services/file-refs.js.map +1 -0
  323. package/dist/src/services/metered-entitlements.d.ts +7 -0
  324. package/dist/src/services/metered-entitlements.d.ts.map +1 -1
  325. package/dist/src/services/metered-entitlements.js +4 -0
  326. package/dist/src/services/metered-entitlements.js.map +1 -1
  327. package/dist/src/services/owner-memory.d.ts +14 -1
  328. package/dist/src/services/owner-memory.d.ts.map +1 -1
  329. package/dist/src/services/owner-memory.js +8 -14
  330. package/dist/src/services/owner-memory.js.map +1 -1
  331. package/dist/src/services/task-files.d.ts +51 -0
  332. package/dist/src/services/task-files.d.ts.map +1 -0
  333. package/dist/src/services/task-files.js +58 -0
  334. package/dist/src/services/task-files.js.map +1 -0
  335. package/dist/src/services/upload-token.d.ts +29 -0
  336. package/dist/src/services/upload-token.d.ts.map +1 -1
  337. package/dist/src/services/upload-token.js +37 -0
  338. package/dist/src/services/upload-token.js.map +1 -1
  339. package/dist/src/services/upload-zip.d.ts +2 -0
  340. package/dist/src/services/upload-zip.d.ts.map +1 -1
  341. package/dist/src/services/upload-zip.js +5 -1
  342. package/dist/src/services/upload-zip.js.map +1 -1
  343. package/dist/src/services/workspace-meta.d.ts +15 -0
  344. package/dist/src/services/workspace-meta.d.ts.map +1 -1
  345. package/dist/src/services/workspace-meta.js +17 -0
  346. package/dist/src/services/workspace-meta.js.map +1 -1
  347. package/dist/src/services/workspace-provision.d.ts +3 -0
  348. package/dist/src/services/workspace-provision.d.ts.map +1 -1
  349. package/dist/src/services/workspace-provision.js +5 -3
  350. package/dist/src/services/workspace-provision.js.map +1 -1
  351. package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts +1 -0
  352. package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts.map +1 -1
  353. package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js +10 -0
  354. package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js.map +1 -1
  355. package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts +2 -0
  356. package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts.map +1 -1
  357. package/dist/src/storage/providers/postgres-kysely/methods/memory.js +12 -1
  358. package/dist/src/storage/providers/postgres-kysely/methods/memory.js.map +1 -1
  359. package/dist/src/storage/providers/postgres-kysely/methods/organisms.d.ts.map +1 -1
  360. package/dist/src/storage/providers/postgres-kysely/methods/organisms.js +5 -1
  361. package/dist/src/storage/providers/postgres-kysely/methods/organisms.js.map +1 -1
  362. package/dist/src/storage/providers/postgres-kysely/migrations/0012_unique_live_app_grant.sql +29 -0
  363. package/dist/src/storage/providers/sqlite/methods/apps.d.ts +3 -0
  364. package/dist/src/storage/providers/sqlite/methods/apps.d.ts.map +1 -1
  365. package/dist/src/storage/providers/sqlite/methods/apps.js +7 -0
  366. package/dist/src/storage/providers/sqlite/methods/apps.js.map +1 -1
  367. package/dist/src/storage/providers/sqlite/methods/governance.d.ts +1 -0
  368. package/dist/src/storage/providers/sqlite/methods/governance.d.ts.map +1 -1
  369. package/dist/src/storage/providers/sqlite/methods/governance.js +4 -1
  370. package/dist/src/storage/providers/sqlite/methods/governance.js.map +1 -1
  371. package/dist/src/storage/providers/sqlite/methods/owner.d.ts +5 -0
  372. package/dist/src/storage/providers/sqlite/methods/owner.d.ts.map +1 -1
  373. package/dist/src/storage/providers/sqlite/methods/owner.js +8 -0
  374. package/dist/src/storage/providers/sqlite/methods/owner.js.map +1 -1
  375. package/dist/src/storage/providers/sqlite/schema.d.ts +3 -0
  376. package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
  377. package/dist/src/storage/providers/sqlite/schema.js +20 -0
  378. package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
  379. package/dist/src/storage/repositories/app-grant.repository.d.ts +9 -1
  380. package/dist/src/storage/repositories/app-grant.repository.d.ts.map +1 -1
  381. package/dist/src/storage/repositories/memory.repository.d.ts +14 -0
  382. package/dist/src/storage/repositories/memory.repository.d.ts.map +1 -1
  383. package/dist/src/storage/repositories-impl/memory-repository.d.ts +8 -1
  384. package/dist/src/storage/repositories-impl/memory-repository.d.ts.map +1 -1
  385. package/dist/src/storage/repositories-impl/memory-repository.js +15 -4
  386. package/dist/src/storage/repositories-impl/memory-repository.js.map +1 -1
  387. package/dist/src/storage/types/agents-messaging.d.ts +19 -0
  388. package/dist/src/storage/types/agents-messaging.d.ts.map +1 -1
  389. package/dist/src/storage/types/agents-messaging.js.map +1 -1
  390. package/dist/src/storage/types/organisms-federation.d.ts +29 -0
  391. package/dist/src/storage/types/organisms-federation.d.ts.map +1 -1
  392. package/dist/src/utils/app-badge.d.ts.map +1 -1
  393. package/dist/src/utils/app-badge.js +7 -3
  394. package/dist/src/utils/app-badge.js.map +1 -1
  395. package/dist/static/app-catalog/_template.html +6 -5
  396. package/dist/static/app-catalog/js/cortex.js +3 -1
  397. package/dist/static/app-catalog/js/detail.js +411 -36
  398. package/dist/static/app-catalog/js/i18n-data.js +279 -3
  399. package/dist/static/app-catalog/js/main.js +28 -37
  400. package/dist/static/app-catalog/js/monetize.js +204 -16
  401. package/dist/static/app-catalog/js/odps.js +489 -0
  402. package/dist/static/app-catalog/js/render.js +3 -0
  403. package/dist/static/app-catalog/js/workcopy.js +198 -0
  404. package/dist/static/app-catalog/styles/app-catalog.css +60 -0
  405. package/dist/static/app-catalog.html +1450 -137
  406. package/dist/static/sdk-libs/agents/index.js +45 -7
  407. package/dist/static/sdk-libs/auth/cluster.js +97 -0
  408. package/dist/static/sdk-libs/auth/index.js +25 -1
  409. package/dist/static/sdk-libs/auth/locale.js +151 -0
  410. package/dist/static/sdk-libs/auth/modal.js +11 -2
  411. package/dist/static/sdk-libs/auth/palette.js +172 -0
  412. package/dist/static/sdk-libs/auth/pill.js +37 -6
  413. package/dist/static/sdk-libs/auth/theme.js +61 -20
  414. package/dist/static/sdk-libs/data/index.js +70 -8
  415. package/dist/static/sdk-libs/dist/aimeat-agents.js +41 -8
  416. package/dist/static/sdk-libs/dist/aimeat-auth.js +422 -21
  417. package/dist/static/sdk-libs/dist/aimeat-data.js +50 -8
  418. package/dist/static/sdk-libs/dist/aimeat-live.js +54 -2
  419. package/dist/static/sdk-libs/dist/aimeat-markdown.js +32 -1
  420. package/dist/static/sdk-libs/live/index.js +71 -4
  421. package/dist/static/sdk-libs/markdown/index.js +49 -1
  422. package/package.json +6 -2
@@ -2516,18 +2516,81 @@ export interface paths {
2516
2516
  };
2517
2517
  /**
2518
2518
  * One EXCHANGE offering's full detail — I/O schema, call recipe, usage stats (public) (TARGET-045)
2519
- * @description Everything a human or agent needs to judge fit and integrate: the offering, the capability's `input_schema`/`output_schema`, a `call_recipe` (the contract IS the access — you call `POST /v1/ext/{ext}/{action}` as yourself, no separate API key), and usage `stats` (reputation). Public. Returns `{ offering, capability, call_recipe, stats }`.
2519
+ * @description Everything a human or agent needs to judge fit and integrate: the offering, the capability's `input_schema`/`output_schema`, a `call_recipe` (the contract IS the access — you call `POST /v1/ext/{ext}/{action}` as yourself, no separate API key), and usage `stats` (reputation). Public. Returns `{ offering, capability, call_recipe, stats, pacing, odps }`. `pacing.toll_morsels` is the morsel BURN each call costs the consumer to bound consumption rate — not a price: nobody is credited it, and calling your own capability is free. `pacing.source` is `capability` when the provider declared it (`tollMorsels` on the tool/action/offer) and `node` when the node default applies. `odps` points at the same listing rendered as an Open Data Product Specification v4.1 document.
2520
2520
  */
2521
2521
  get: operations["exchangeOfferingDetail"];
2522
2522
  put?: never;
2523
2523
  post?: never;
2524
- /** Delist one of your EXCHANGE offerings (TARGET-045) */
2524
+ /**
2525
+ * Delist one of your EXCHANGE offerings (TARGET-045)
2526
+ * @description Delists a hand-authored listing. A PROJECTED listing (`auto: true`, TARGET-050) exists because its SOURCE says so — the app-tool manifest's `exchange` flag, the extension action's `commercial.exchange`, or the agent offer's `exchange` — so delisting it here would simply come back on the next reconcile: this returns 409 `SOURCE_MANAGED` and names the source to turn off instead. Pass `?force=1` to delist anyway (until the next reconcile). Delisting never affects a CONTRACT.
2527
+ */
2525
2528
  delete: operations["exchangeDelistOffering"];
2526
2529
  options?: never;
2527
2530
  head?: never;
2528
2531
  patch?: never;
2529
2532
  trace?: never;
2530
2533
  };
2534
+ "/v1/exchange/offerings/{id}/odps": {
2535
+ parameters: {
2536
+ query?: never;
2537
+ header?: never;
2538
+ path?: never;
2539
+ cookie?: never;
2540
+ };
2541
+ /**
2542
+ * One EXCHANGE offering as an Open Data Product Specification v4.1 document (public) (TARGET-045)
2543
+ * @description The listing rendered in the Linux Foundation's **Open Data Product Specification** (ODPS) v4.1 — the interoperable descriptor an outside catalogue or a negotiating agent can read without knowing anything about AIMEAT. Derived on read from the offering (never stored in ODPS form), so it cannot drift from the listing it describes. Carries `product.details`, `dataAccess` (the metered REST call plus the MCP surface), `pricingPlans` (base price + every bundle/subscription plan), `license` (AIMEAT usage terms as ODPS rights + restrictions), `dataHolder`, `paymentGateways`, and — when the provider committed to them — `SLA` and `dataQuality`. AIMEAT-specific truth (metered coordinate, pinned interface + I/O schema, call recipe, provenance, projection source, OBSERVED usage) travels under `product.x-aimeat`, which keeps the document valid against the official ODPS schema. Returns `{ odps_version, odps }` in the AIMEAT envelope; `?format=yaml` serves the raw YAML instead.
2544
+ */
2545
+ get: operations["exchangeOfferingOdps"];
2546
+ put?: never;
2547
+ post?: never;
2548
+ delete?: never;
2549
+ options?: never;
2550
+ head?: never;
2551
+ patch?: never;
2552
+ trace?: never;
2553
+ };
2554
+ "/v1/exchange/offerings/{id}/odps.yaml": {
2555
+ parameters: {
2556
+ query?: never;
2557
+ header?: never;
2558
+ path?: never;
2559
+ cookie?: never;
2560
+ };
2561
+ /**
2562
+ * One EXCHANGE offering as an ODPS v4.1 YAML document (public) (TARGET-045)
2563
+ * @description Same document as `GET /v1/exchange/offerings/{id}/odps`, served raw as `text/yaml` — the format the Open Data Product Specification leads with, so the URL can be handed straight to an ODPS-aware tool.
2564
+ */
2565
+ get: operations["exchangeOfferingOdpsYaml"];
2566
+ put?: never;
2567
+ post?: never;
2568
+ delete?: never;
2569
+ options?: never;
2570
+ head?: never;
2571
+ patch?: never;
2572
+ trace?: never;
2573
+ };
2574
+ "/v1/exchange/reconcile": {
2575
+ parameters: {
2576
+ query?: never;
2577
+ header?: never;
2578
+ path?: never;
2579
+ cookie?: never;
2580
+ };
2581
+ get?: never;
2582
+ put?: never;
2583
+ /**
2584
+ * Reconcile your EXCHANGE listings against their sources (TARGET-050)
2585
+ * @description The EXCHANGE listing is a PROJECTION of its source: an app-tool manifest entry with `exchange: true`, an extension action with `commercial.exchange: true`, or an agent offer with `exchange: true` (and visibility `public`). Writing any of those projects it automatically — this is the explicit handle. `dry_run` reports what WOULD change and writes nothing (not even an interface snapshot). `migrate` adopts hand-authored listings into the model: it flips the flag ON in their source and keeps their `offeringId`, so existing entitlements referencing `offering:{id}` keep resolving; a listing whose source is gone is reported as an orphan and left untouched. Scope a run with `app_id`/`ext`/`agent`. Idempotent. A CONTRACT is never touched — entitlements keep the interface version and the price they were signed at. Returns `{ owner, dryRun, changes[], created, updated, adopted, delisted, unchanged, skipped }` (+ `orphans`, `flagged` when migrating); each change carries `action`, `offeringId`, `kind`, `label`, `unit`, `currency` and, for a skip, the `reason` (SCHEMA_REQUIRED, NOT_PRICED, TOOL_UNBOUND, NOT_PUBLIC, INVALID_TOOL_MANIFEST, INVALID_OFFERS_DOC).
2586
+ */
2587
+ post: operations["exchangeReconcileOfferings"];
2588
+ delete?: never;
2589
+ options?: never;
2590
+ head?: never;
2591
+ patch?: never;
2592
+ trace?: never;
2593
+ };
2531
2594
  "/v1/exchange/offerings/{id}/consumers": {
2532
2595
  parameters: {
2533
2596
  query?: never;
@@ -3322,6 +3385,8 @@ export interface paths {
3322
3385
  /**
3323
3386
  * Download file
3324
3387
  * @description Returns raw bytes by default (supports Range headers for partial downloads). With `mode=handle`, returns a JSON handle (resource_uri + presigned, TTL-limited download_url + metadata) instead of bytes — used by MCP clients so binary content never enters the model context. With `mode=inline`, returns small (<= 32 KB) text files inline as JSON; larger or non-text files are rejected with 413.
3388
+ *
3389
+ * Scope: this route reads the CALLER's own namespace only — files are keyed by (owner, key), so a file owned by anyone else is absent here and answers 404. To read a file someone else owns (an owner's upload for one of their agents, a DM or task attachment, a group/workspace share) use `GET /v1/pub/{gaii}/{key}`, which runs the consent/visibility guard.
3325
3390
  */
3326
3391
  get: operations["downloadFile"];
3327
3392
  put?: never;
@@ -4514,6 +4579,50 @@ export interface paths {
4514
4579
  patch?: never;
4515
4580
  trace?: never;
4516
4581
  };
4582
+ "/v1/commerce/payout": {
4583
+ parameters: {
4584
+ query?: never;
4585
+ header?: never;
4586
+ path?: never;
4587
+ cookie?: never;
4588
+ };
4589
+ /**
4590
+ * Which payout rails can pay you, and what each needs (owner) (TARGET-042)
4591
+ * @description The seller's settlement rails reported apart, because they are different things: **Stripe** moves real currency (EUR/USD) to a connected account through a provider that holds the funds, while **x402** settles a stablecoin on-chain straight to an address you control, non-custodially, with the node holding no key. Returns `{ x402: { enabled, network, testnet, configured, address, currencies, assets, note }, stripe: { configured, provider, currencies, note } }`. `currencies` and `assets` are READ FROM THE NODE'S NETWORK REGISTRY, so they list only what this node can really settle: `assets` carries `{ currency, symbol, address, decimals }` per settleable currency (USD → USDC, EUR → EURC on the Base networks). ONE payout address receives every asset. A money sale over x402 with no address fails with SELLER_NO_X402_ADDRESS — this is the read that tells you before it happens.
4592
+ */
4593
+ get: operations["commercePayoutStatus"];
4594
+ put?: never;
4595
+ post?: never;
4596
+ delete?: never;
4597
+ options?: never;
4598
+ head?: never;
4599
+ patch?: never;
4600
+ trace?: never;
4601
+ };
4602
+ "/v1/commerce/payout/x402": {
4603
+ parameters: {
4604
+ query?: never;
4605
+ header?: never;
4606
+ path?: never;
4607
+ cookie?: never;
4608
+ };
4609
+ get?: never;
4610
+ /**
4611
+ * Set your stablecoin (x402) payout address (owner) (TARGET-042)
4612
+ * @description Stores the EVM account address a stablecoin sale settles to. ONE address receives every settlement asset the node's network carries (USDC for a USD price, EURC for a EUR one), so there is no per-currency setting. MERGED into your payment-settings record: your Stripe credentials in the same record are untouched (and the reverse holds — setting Stripe no longer clears this). 400 INVALID_ADDRESS unless the value is `0x` + 40 hex characters. Responds `{ configured, address, network, currencies, enabled, checked }`, where `currencies` is what this node can actually settle to that address.
4613
+ */
4614
+ put: operations["commercePayoutX402Set"];
4615
+ post?: never;
4616
+ /**
4617
+ * Remove your stablecoin (x402) payout address (owner) (TARGET-042)
4618
+ * @description Clears only the payout address. Card and invoice settlement through your Stripe credentials is unaffected; stablecoin sales (USDC and EURC alike) fail until an address is set again.
4619
+ */
4620
+ delete: operations["commercePayoutX402Clear"];
4621
+ options?: never;
4622
+ head?: never;
4623
+ patch?: never;
4624
+ trace?: never;
4625
+ };
4517
4626
  "/v1/commerce/checkout-sessions": {
4518
4627
  parameters: {
4519
4628
  query?: never;
@@ -6103,7 +6212,16 @@ export interface paths {
6103
6212
  path?: never;
6104
6213
  cookie?: never;
6105
6214
  };
6106
- get?: never;
6215
+ /**
6216
+ * Read the app's unpublished draft (staging) content
6217
+ * @description Returns the current draft slot for `{owner}/{filename}` — the base64 content plus its size,
6218
+ * mime type and manifest. Owner-only; the caller is resolved from the token, so a draft is
6219
+ * never readable by anyone else. This is the read side of the draft slot: an editing client
6220
+ * that reloads must be able to load the working copy BACK, otherwise it can only re-fetch the
6221
+ * LIVE bytes and would silently overwrite the draft on its next save. The `?preview=` URL is
6222
+ * not usable for this — on an app-origin node it redirects to the isolated (CORS-less) origin.
6223
+ */
6224
+ get: operations["getAppDraft"];
6107
6225
  /**
6108
6226
  * Save the app's unpublished draft (staging)
6109
6227
  * @description Upserts the single draft slot for `{owner}/{filename}` — the staging copy of the NEXT version.
@@ -6150,6 +6268,37 @@ export interface paths {
6150
6268
  patch?: never;
6151
6269
  trace?: never;
6152
6270
  };
6271
+ "/v1/apps/{owner}/{filename}/frame-token": {
6272
+ parameters: {
6273
+ query?: never;
6274
+ header?: never;
6275
+ path?: never;
6276
+ cookie?: never;
6277
+ };
6278
+ get?: never;
6279
+ put?: never;
6280
+ /**
6281
+ * Mint a frame grant letting ONE origin embed this app
6282
+ * @description Returns a `frame_url` usable as an `iframe` src. An app origin refuses framing by default
6283
+ * (`frame-ancestors 'self' <apex>`); a frame grant widens that by exactly the ONE origin named
6284
+ * in the token, and only for responses carrying it.
6285
+ *
6286
+ * The grant is issued to the CALLING page's `Origin` header — never to an origin supplied in the
6287
+ * body, which would let a page request permission on someone else's behalf. Owner-only: a grant
6288
+ * to frame an app you do not own is a clickjacking primitive. A malformed, expired or
6289
+ * wrong-app grant simply leaves the strict policy in place, so framing fails closed.
6290
+ *
6291
+ * Deliberately one origin per grant rather than a list of allowed origins on the app: a list
6292
+ * grows with how many apps the owner has, and past roughly seventy it overruns a typical reverse
6293
+ * proxy's header buffer and every app origin starts answering 502.
6294
+ */
6295
+ post: operations["mintAppFrameToken"];
6296
+ delete?: never;
6297
+ options?: never;
6298
+ head?: never;
6299
+ patch?: never;
6300
+ trace?: never;
6301
+ };
6153
6302
  "/v1/apps/{owner}/{filename}/publish-draft": {
6154
6303
  parameters: {
6155
6304
  query?: never;
@@ -11172,14 +11321,23 @@ export interface paths {
11172
11321
  };
11173
11322
  /**
11174
11323
  * Download public file
11175
- * @description Download a file by owner GAII and key. Public files need no auth.
11176
- * Non-public files apply the same consent/visibility rules as memory:
11177
- * the caller must hold a matching consent grant or (for `visibility:'group'`)
11178
- * be a member of the file's sharing group; `organism.{id}` grants resolve for
11179
- * active organism members. Every read is written to the consent audit log.
11180
- * An authenticated caller without access gets 403; anonymous/unauthenticated
11181
- * callers get 404 (file existence is hidden on public URLs).
11324
+ * @description Download a file by owner GAII and key. This is the ONE door for reading a file the caller
11325
+ * does not own `GET /v1/storage/{key}` is namespaced to the caller and cannot reach it.
11326
+ * Public files need no auth. Non-public files apply the same consent/visibility rules as
11327
+ * memory: `visibility:'owner'` admits every agent and app of the SAME owner (this is how a
11328
+ * document an owner uploads reaches that owner's own agent upload with `visibility: owner`,
11329
+ * then the agent reads it with its own token), `members` any authenticated node user,
11330
+ * `group`/`workspace` their members, and a private file only with a matching consent grant;
11331
+ * `organism.{id}` grants resolve for active organism members. Denied reads are written to the
11332
+ * consent audit log. An authenticated caller without access gets 403; anonymous/
11333
+ * unauthenticated callers get 404 (file existence is hidden on public URLs).
11182
11334
  * Supports wildcard keys with path separators.
11335
+ *
11336
+ * With `mode=handle` the response is a presigned, TTL-limited `download_url` plus metadata
11337
+ * instead of the bytes, so an agent or liaison can hand the URL to a fetch or a document
11338
+ * parser without pulling binary through a tool result. The access decision is identical. A
11339
+ * handle for someone else's file expires sooner (15 min) than one for your own (1 h), so it
11340
+ * cannot long outlive a revoked grant.
11183
11341
  */
11184
11342
  get: operations["getPublicFile"];
11185
11343
  put?: never;
@@ -17595,6 +17753,12 @@ export interface components {
17595
17753
  flagCount: number;
17596
17754
  /** @description GAII of the entry owner (included in public reads via /v1/memory/{gaii}/{key}) */
17597
17755
  owner_gaii?: string;
17756
+ /**
17757
+ * @description Owner-scope listings only. Other same-owner identities holding this SAME key. Memory is
17758
+ * keyed by the writer, and an owner-scope read resolves GHII-first, so those copies are
17759
+ * absent from the response — this names them instead of letting the collision be invisible.
17760
+ */
17761
+ also_under?: string[];
17598
17762
  /** @description Data Decision Context — structured metadata for agent decision-making */
17599
17763
  _ddc?: {
17600
17764
  flagCount?: number;
@@ -18971,6 +19135,31 @@ export interface components {
18971
19135
  * @enum {string}
18972
19136
  */
18973
19137
  TaskStatus: "draft" | "queued" | "revision_requested" | "active" | "paused" | "done" | "failed" | "stalled";
19138
+ /** @description One file handed to the agent WITH the task. Only a REFERENCE is stored, never the bytes. On create, `ref` (and optionally `name`) is supplied; the server verifies the file exists and that the CREATOR can read it, then fills `mime` and `size` from the stored file. On read, the entry is authorized again as the READING principal and carries `access` plus a presigned `download_url` when granted — so a revoked grant stops handing out URLs on the next read. */
19139
+ AgentTaskFileRef: {
19140
+ /**
19141
+ * @description "<ownerGaii>/<storage key>" (a bare key means the caller's own storage).
19142
+ * @example alice@aimeat-fi-001-genesis/invoices/2026-07.pdf
19143
+ */
19144
+ ref: string;
19145
+ name?: string;
19146
+ readonly mime?: string;
19147
+ readonly size?: number;
19148
+ /** @enum {string} */
19149
+ readonly access?: "granted" | "denied" | "missing";
19150
+ /** @description Why a non-granted read was refused (e.g. consent_denied, not_found). */
19151
+ readonly reason?: string;
19152
+ /** @description Presigned, TTL-limited GET. Present only when access is granted. */
19153
+ readonly download_url?: string;
19154
+ readonly expires_in_seconds?: number;
19155
+ };
19156
+ /** @description What the agent needs in order to do the task — knowledge, memory, and files. */
19157
+ AgentTaskResources: {
19158
+ knowledge_packages?: string[];
19159
+ memory_keys?: string[];
19160
+ memory_prefixes?: string[];
19161
+ files?: components["schemas"]["AgentTaskFileRef"][];
19162
+ };
18974
19163
  AgentTask: {
18975
19164
  /** Format: uuid */
18976
19165
  id: string;
@@ -18988,6 +19177,7 @@ export interface components {
18988
19177
  createdAt: string;
18989
19178
  /** Format: date-time */
18990
19179
  updatedAt: string;
19180
+ resources?: components["schemas"]["AgentTaskResources"];
18991
19181
  /** @description Memory key (agent namespace) where the task's deliverable was published, if any. */
18992
19182
  deliverableKey?: string;
18993
19183
  rating?: components["schemas"]["AgentTaskRating"];
@@ -24154,7 +24344,18 @@ export interface operations {
24154
24344
  plans?: Record<string, never>[];
24155
24345
  title?: string;
24156
24346
  description?: string;
24157
- provenance?: Record<string, never>;
24347
+ /** @description Provider attestation, validated (400 INVALID_PROVENANCE): { source, legalBasis, consentStatus, retention, transformations, snapshotHash (SHA-256), lineage[{source,transform,at}] }. The node stamps odpsVersion. */
24348
+ provenance?: {
24349
+ source?: string;
24350
+ legalBasis?: string;
24351
+ consentStatus?: string;
24352
+ retention?: string;
24353
+ transformations?: string;
24354
+ snapshotHash?: string;
24355
+ lineage?: Record<string, never>[];
24356
+ };
24357
+ /** @description ODPS v4.1 fields the node cannot derive, validated (400 INVALID_ODPS): productType, valueProposition, categories, standards, useCases, contentSample, logoURL, sla[{dimension,objective,unit}], dataQuality[{dimension,objective,unit}], dataHolder{legalName,…}, license{geographicalArea,applicableLaws,exclusive,…}. Surfaced at GET /v1/exchange/offerings/{id}/odps.yaml. */
24358
+ odps?: Record<string, never>;
24158
24359
  tags?: string[];
24159
24360
  usage_terms: {
24160
24361
  derivatives?: boolean;
@@ -24189,7 +24390,10 @@ export interface operations {
24189
24390
  };
24190
24391
  exchangeDelistOffering: {
24191
24392
  parameters: {
24192
- query?: never;
24393
+ query?: {
24394
+ /** @description Delist a source-managed listing anyway (it returns on the next reconcile). */
24395
+ force?: "1";
24396
+ };
24193
24397
  header?: never;
24194
24398
  path: {
24195
24399
  id: string;
@@ -24200,6 +24404,79 @@ export interface operations {
24200
24404
  responses: {
24201
24405
  200: components["responses"]["AimeatSuccess"];
24202
24406
  404: components["responses"]["AimeatError"];
24407
+ 409: components["responses"]["AimeatError"];
24408
+ };
24409
+ };
24410
+ exchangeOfferingOdps: {
24411
+ parameters: {
24412
+ query?: {
24413
+ /** @description Serve the raw ODPS YAML document instead of the JSON envelope. */
24414
+ format?: "yaml";
24415
+ };
24416
+ header?: never;
24417
+ path: {
24418
+ id: string;
24419
+ };
24420
+ cookie?: never;
24421
+ };
24422
+ requestBody?: never;
24423
+ responses: {
24424
+ 200: components["responses"]["AimeatSuccess"];
24425
+ 404: components["responses"]["AimeatError"];
24426
+ };
24427
+ };
24428
+ exchangeOfferingOdpsYaml: {
24429
+ parameters: {
24430
+ query?: never;
24431
+ header?: never;
24432
+ path: {
24433
+ id: string;
24434
+ };
24435
+ cookie?: never;
24436
+ };
24437
+ requestBody?: never;
24438
+ responses: {
24439
+ /** @description The ODPS v4.1 document. */
24440
+ 200: {
24441
+ headers: {
24442
+ [name: string]: unknown;
24443
+ };
24444
+ content: {
24445
+ "text/yaml": string;
24446
+ };
24447
+ };
24448
+ 404: components["responses"]["AimeatError"];
24449
+ };
24450
+ };
24451
+ exchangeReconcileOfferings: {
24452
+ parameters: {
24453
+ query?: {
24454
+ dry_run?: "1";
24455
+ migrate?: "1";
24456
+ };
24457
+ header?: never;
24458
+ path?: never;
24459
+ cookie?: never;
24460
+ };
24461
+ requestBody?: {
24462
+ content: {
24463
+ "application/json": {
24464
+ /** @description Report only; write nothing. */
24465
+ dry_run?: boolean;
24466
+ /** @description Adopt hand-authored listings (flag their source, keep the offeringId). */
24467
+ migrate?: boolean;
24468
+ /** @description Reconcile only this app's tool manifest. */
24469
+ app_id?: string;
24470
+ /** @description Reconcile only this extension's actions. */
24471
+ ext?: string;
24472
+ /** @description Reconcile only this agent's offers. */
24473
+ agent?: string;
24474
+ };
24475
+ };
24476
+ };
24477
+ responses: {
24478
+ 200: components["responses"]["AimeatSuccess"];
24479
+ 401: components["responses"]["AimeatError"];
24203
24480
  };
24204
24481
  };
24205
24482
  exchangeOfferingConsumers: {
@@ -26965,6 +27242,53 @@ export interface operations {
26965
27242
  200: components["responses"]["AimeatSuccess"];
26966
27243
  };
26967
27244
  };
27245
+ commercePayoutStatus: {
27246
+ parameters: {
27247
+ query?: never;
27248
+ header?: never;
27249
+ path?: never;
27250
+ cookie?: never;
27251
+ };
27252
+ requestBody?: never;
27253
+ responses: {
27254
+ 200: components["responses"]["AimeatSuccess"];
27255
+ 401: components["responses"]["AimeatError"];
27256
+ };
27257
+ };
27258
+ commercePayoutX402Set: {
27259
+ parameters: {
27260
+ query?: never;
27261
+ header?: never;
27262
+ path?: never;
27263
+ cookie?: never;
27264
+ };
27265
+ requestBody: {
27266
+ content: {
27267
+ "application/json": {
27268
+ /** @description EVM account address: 0x followed by 40 hex characters. */
27269
+ address: string;
27270
+ };
27271
+ };
27272
+ };
27273
+ responses: {
27274
+ 200: components["responses"]["AimeatSuccess"];
27275
+ 400: components["responses"]["AimeatError"];
27276
+ 401: components["responses"]["AimeatError"];
27277
+ };
27278
+ };
27279
+ commercePayoutX402Clear: {
27280
+ parameters: {
27281
+ query?: never;
27282
+ header?: never;
27283
+ path?: never;
27284
+ cookie?: never;
27285
+ };
27286
+ requestBody?: never;
27287
+ responses: {
27288
+ 200: components["responses"]["AimeatSuccess"];
27289
+ 401: components["responses"]["AimeatError"];
27290
+ };
27291
+ };
26968
27292
  listCheckoutSessions: {
26969
27293
  parameters: {
26970
27294
  query?: {
@@ -29653,6 +29977,48 @@ export interface operations {
29653
29977
  404: components["responses"]["NotFound"];
29654
29978
  };
29655
29979
  };
29980
+ getAppDraft: {
29981
+ parameters: {
29982
+ query?: never;
29983
+ header?: never;
29984
+ path: {
29985
+ owner: string;
29986
+ filename: string;
29987
+ };
29988
+ cookie?: never;
29989
+ };
29990
+ requestBody?: never;
29991
+ responses: {
29992
+ /** @description The draft content */
29993
+ 200: {
29994
+ headers: {
29995
+ [name: string]: unknown;
29996
+ };
29997
+ content: {
29998
+ "application/json": components["schemas"]["AimeatEnvelope"] & {
29999
+ data?: {
30000
+ filename?: string;
30001
+ /** @description base64-encoded draft HTML */
30002
+ content?: string;
30003
+ mime_type?: string;
30004
+ size?: number;
30005
+ /** Format: date-time */
30006
+ updated_at?: string;
30007
+ manifest?: Record<string, never>;
30008
+ };
30009
+ };
30010
+ };
30011
+ };
30012
+ 401: components["responses"]["Unauthorized"];
30013
+ /** @description No draft exists for this app */
30014
+ 404: {
30015
+ headers: {
30016
+ [name: string]: unknown;
30017
+ };
30018
+ content?: never;
30019
+ };
30020
+ };
30021
+ };
29656
30022
  saveAppDraft: {
29657
30023
  parameters: {
29658
30024
  query?: never;
@@ -29789,6 +30155,62 @@ export interface operations {
29789
30155
  };
29790
30156
  };
29791
30157
  };
30158
+ mintAppFrameToken: {
30159
+ parameters: {
30160
+ query?: never;
30161
+ header?: never;
30162
+ path: {
30163
+ owner: string;
30164
+ filename: string;
30165
+ };
30166
+ cookie?: never;
30167
+ };
30168
+ requestBody?: never;
30169
+ responses: {
30170
+ /** @description Frame grant minted */
30171
+ 200: {
30172
+ headers: {
30173
+ [name: string]: unknown;
30174
+ };
30175
+ content: {
30176
+ "application/json": components["schemas"]["AimeatEnvelope"] & {
30177
+ data?: {
30178
+ /** @description Use as an iframe src */
30179
+ frame_url?: string;
30180
+ /** @description The app's own origin */
30181
+ app_origin_url?: string;
30182
+ /** @description The one origin this grant names */
30183
+ granted_to?: string;
30184
+ expires_in_seconds?: number;
30185
+ note?: string;
30186
+ };
30187
+ };
30188
+ };
30189
+ };
30190
+ /** @description The request carried no usable Origin header */
30191
+ 400: {
30192
+ headers: {
30193
+ [name: string]: unknown;
30194
+ };
30195
+ content?: never;
30196
+ };
30197
+ 401: components["responses"]["Unauthorized"];
30198
+ /** @description No such app owned by the caller */
30199
+ 404: {
30200
+ headers: {
30201
+ [name: string]: unknown;
30202
+ };
30203
+ content?: never;
30204
+ };
30205
+ /** @description App origins are disabled on this node */
30206
+ 409: {
30207
+ headers: {
30208
+ [name: string]: unknown;
30209
+ };
30210
+ content?: never;
30211
+ };
30212
+ };
30213
+ };
29792
30214
  publishAppDraft: {
29793
30215
  parameters: {
29794
30216
  query?: never;
@@ -36772,12 +37194,27 @@ export interface operations {
36772
37194
  requestBody: {
36773
37195
  content: {
36774
37196
  "application/json": {
36775
- /** @description YAML manifest defining the extension metadata, actions, and limits */
36776
- manifest: string;
37197
+ /**
37198
+ * @description Presigned mode: omit `manifest`/`scripts` and receive an `upload_url`; PUT a ZIP
37199
+ * (manifest.yaml at root, scripts in scripts/) to it. Lets the mint and the upload
37200
+ * happen in one command so the upload token is never transcribed.
37201
+ * @enum {string}
37202
+ */
37203
+ mode?: "presigned";
37204
+ /** @description YAML manifest defining the extension metadata, actions, and limits (required unless mode=presigned) */
37205
+ manifest?: string;
36777
37206
  /** @description Key-value map of script filenames to JavaScript source code */
36778
- scripts: {
37207
+ scripts?: {
36779
37208
  [key: string]: string;
36780
37209
  };
37210
+ /**
37211
+ * @description Presigned only. Upsert an already-installed extension instead of 409. Activation
37212
+ * status, lifecycle stamps and the ext:{name} memory are preserved. Carried in the
37213
+ * upload token meta.
37214
+ */
37215
+ update?: boolean;
37216
+ /** @description Presigned only. Activate immediately after install/update. */
37217
+ activate?: boolean;
36781
37218
  };
36782
37219
  };
36783
37220
  };
@@ -38646,10 +39083,13 @@ export interface operations {
38646
39083
  };
38647
39084
  getPublicFile: {
38648
39085
  parameters: {
38649
- query?: never;
39086
+ query?: {
39087
+ /** @description Omit for raw bytes; `handle` returns a presigned download_url + metadata. */
39088
+ mode?: "handle";
39089
+ };
38650
39090
  header?: never;
38651
39091
  path: {
38652
- /** @description URL-encoded agent GAII */
39092
+ /** @description URL-encoded owner GHII / agent GAII that owns the file */
38653
39093
  gaii: string;
38654
39094
  /** @description File key (may contain path separators) */
38655
39095
  key: string;
@@ -38658,12 +39098,30 @@ export interface operations {
38658
39098
  };
38659
39099
  requestBody?: never;
38660
39100
  responses: {
38661
- /** @description File content with appropriate Content-Type */
39101
+ /** @description File bytes, or a JSON handle when `mode=handle` */
38662
39102
  200: {
38663
39103
  headers: {
38664
39104
  [name: string]: unknown;
38665
39105
  };
38666
- content?: never;
39106
+ content: {
39107
+ "application/octet-stream": string;
39108
+ "application/json": components["schemas"]["AimeatEnvelope"] & {
39109
+ data?: {
39110
+ ref?: string;
39111
+ owner_gaii?: string;
39112
+ key?: string;
39113
+ /** @enum {string} */
39114
+ mode?: "handle";
39115
+ mime_type?: string;
39116
+ size?: number;
39117
+ visibility?: string;
39118
+ download_url?: string;
39119
+ /** @enum {string} */
39120
+ download_method?: "GET";
39121
+ expires_in_seconds?: number;
39122
+ };
39123
+ };
39124
+ };
38667
39125
  };
38668
39126
  403: components["responses"]["Forbidden"];
38669
39127
  404: components["responses"]["NotFound"];
@@ -41345,6 +41803,7 @@ export interface operations {
41345
41803
  /** @default false */
41346
41804
  done?: boolean;
41347
41805
  }[];
41806
+ resources?: components["schemas"]["AgentTaskResources"];
41348
41807
  };
41349
41808
  };
41350
41809
  };