@rho-workspace/rho 0.5.5 → 0.5.7

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 (250) hide show
  1. package/dist/agent-connect.d.ts +42 -0
  2. package/dist/agent-connect.js +68 -0
  3. package/dist/answer-board.js +3 -3
  4. package/dist/bridge.js +6 -1
  5. package/dist/browser-access.d.ts +1 -0
  6. package/dist/browser-access.js +5 -3
  7. package/dist/capabilities.d.ts +21 -5
  8. package/dist/capabilities.js +6 -4
  9. package/dist/cli.js +113 -18
  10. package/dist/composition.d.ts +1 -1
  11. package/dist/composition.js +13 -3
  12. package/dist/connect-cli.d.ts +50 -0
  13. package/dist/connect-cli.js +128 -0
  14. package/dist/contract.generated.d.ts +1437 -381
  15. package/dist/contract.generated.js +1 -1
  16. package/dist/contracts/owners.generated.js +1160 -267
  17. package/dist/conversation-presentation.d.ts +9 -2
  18. package/dist/conversation-presentation.js +3 -1
  19. package/dist/conversations.d.ts +306 -7
  20. package/dist/conversations.js +208 -22
  21. package/dist/discovery.js +3 -3
  22. package/dist/extension-contract.d.ts +19 -0
  23. package/dist/extension-contract.js +15 -6
  24. package/dist/extension-markets.d.ts +74 -0
  25. package/dist/extension-markets.js +166 -0
  26. package/dist/extensions.d.ts +29 -1
  27. package/dist/extensions.js +13 -4
  28. package/dist/external-work.d.ts +22 -0
  29. package/dist/external-work.js +91 -0
  30. package/dist/plugin-cli.js +75 -3
  31. package/dist/plugin-inventory.d.ts +56 -0
  32. package/dist/plugin-inventory.js +41 -0
  33. package/dist/plugin-inventory.json +1581 -102
  34. package/dist/plugin-presentation.d.ts +105 -2
  35. package/dist/plugin-presentation.js +59 -5
  36. package/dist/plugins.d.ts +14 -3
  37. package/dist/plugins.js +12 -6
  38. package/dist/project-notes.js +1 -1
  39. package/dist/protocol.d.ts +7 -0
  40. package/dist/protocol.js +40 -15
  41. package/dist/replay.js +4 -0
  42. package/dist/response-contracts.js +26 -11
  43. package/dist/running.d.ts +10 -0
  44. package/dist/running.js +45 -0
  45. package/dist/server.d.ts +4 -10
  46. package/dist/server.js +140 -14
  47. package/dist/state.d.ts +8 -0
  48. package/dist/state.js +8 -0
  49. package/dist/studio-layout.js +3 -3
  50. package/dist/task-frame.d.ts +1 -1
  51. package/dist/timeline-events.d.ts +1 -0
  52. package/dist/timeline-events.js +8 -1
  53. package/dist/ui-context.d.ts +73 -0
  54. package/dist/ui-context.js +98 -0
  55. package/dist/ui-contract.d.ts +23 -0
  56. package/dist/web/.vite/manifest.json +135 -76
  57. package/dist/web/assets/answer-board-CeYS8k8y.js +1 -0
  58. package/dist/web/assets/choices-D8vGwsl2.js +1 -0
  59. package/dist/web/assets/{console-BSjLGe0T.js → console-Dyuo1q4N.js} +4 -4
  60. package/dist/web/assets/{dist-Tzoe_zm-.js → dist-CSiCyBml.js} +1 -1
  61. package/dist/web/assets/{dist-Cw8hRIlT.js → dist-D9FLb9Hm.js} +1 -1
  62. package/dist/web/assets/{dist-foH9IKc6.js → dist-FXbTBwML.js} +1 -1
  63. package/dist/web/assets/{dist-Buk0lwzI.js → dist-l3DUhbw5.js} +1 -1
  64. package/dist/web/assets/{explore-in-BVUy3ZW_.js → explore-in-BfSFGRh2.js} +1 -1
  65. package/dist/web/assets/graph-BU2_o5uA.js +2 -0
  66. package/dist/web/assets/index-C16mXVvk.css +1 -0
  67. package/dist/web/assets/index-CWg9XYXx.js +952 -0
  68. package/dist/web/assets/markdown.reader-Ct2-e2Zt.png +0 -0
  69. package/dist/web/assets/{notes-meaning-pVbbQUGP.js → notes-meaning-T2m5zQfv.js} +1 -1
  70. package/dist/web/assets/overview-PzfLJCo-.js +6 -0
  71. package/dist/web/assets/preview-BguEdsza.js +1 -0
  72. package/dist/web/assets/previews-pWNik-2g.js +3 -0
  73. package/dist/web/assets/{review-CMxQlQ-C.js → review-Dy_85lcH.js} +1 -1
  74. package/dist/web/assets/rho.editor-CCJeyHma.png +0 -0
  75. package/dist/web/assets/rho.flow-WkMj6fRS.png +0 -0
  76. package/dist/web/assets/rho.media-Cc6amodO.png +0 -0
  77. package/dist/web/assets/rho.notebook-6vsZKGDq.png +0 -0
  78. package/dist/web/assets/rho.object-BGoeXjte.png +0 -0
  79. package/dist/web/assets/rho.plots-yIiISCkb.png +0 -0
  80. package/dist/web/assets/rho.scatter-DwHxesCs.png +0 -0
  81. package/dist/web/assets/rho.servers-DKf_mnNq.png +0 -0
  82. package/dist/web/assets/rho.table-DWOGaWDa.png +0 -0
  83. package/dist/web/assets/rho.variables-CKcWczhQ.png +0 -0
  84. package/dist/web/assets/{skills-BFNSyrnD.js → skills-Dyz7mBlc.js} +1 -1
  85. package/dist/web/assets/{skills-work-BGPSnF_I.js → skills-work-BEGqlCkx.js} +1 -1
  86. package/dist/web/assets/studio-process-D-ykbC4D.js +2 -0
  87. package/dist/web/assets/timeline-events-DKTho9fU.js +1 -0
  88. package/dist/web/assets/work-turns-DSabCogR.js +1 -0
  89. package/dist/web/assets/{workspace-CWlkjLNx.js → workspace-DfjBL--r.js} +2 -2
  90. package/dist/web/composition.json +135 -80
  91. package/dist/web/index.html +3 -3
  92. package/dist/web/renderer.json +1 -1
  93. package/dist/web-assets.js +2 -2
  94. package/dist/work-graph.d.ts +11 -1
  95. package/dist/work-graph.js +16 -5
  96. package/dist/workspace.d.ts +2 -2
  97. package/dist/workspace.js +8 -7
  98. package/docs/FRONTEND.md +71 -21
  99. package/docs/HEADLESS.md +127 -24
  100. package/docs/THIRD-PARTY-PLUGINS.md +75 -3
  101. package/node_modules/@rho-workspace/plugin-agent/README.md +34 -0
  102. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +32 -0
  103. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +54 -11
  104. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
  105. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +29 -3
  106. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +11 -5
  107. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +12 -1
  108. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +8 -0
  109. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +3 -2
  110. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.d.ts +13 -0
  111. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.js +13 -0
  112. package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +16 -8
  113. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
  114. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
  115. package/node_modules/@rho-workspace/plugin-agent/package.json +2 -1
  116. package/node_modules/@rho-workspace/plugin-figures/LICENSE +661 -0
  117. package/node_modules/@rho-workspace/plugin-figures/README.md +191 -0
  118. package/node_modules/@rho-workspace/plugin-figures/dist/index.d.ts +236 -0
  119. package/node_modules/@rho-workspace/plugin-figures/dist/index.js +165 -0
  120. package/node_modules/@rho-workspace/plugin-figures/dist/operations.d.ts +44 -0
  121. package/node_modules/@rho-workspace/plugin-figures/dist/operations.js +39 -0
  122. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.d.ts +19 -0
  123. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.js +26 -0
  124. package/node_modules/@rho-workspace/plugin-figures/dist/record.d.ts +188 -0
  125. package/node_modules/@rho-workspace/plugin-figures/dist/record.js +143 -0
  126. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.d.ts +1 -0
  127. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.js +68 -0
  128. package/node_modules/@rho-workspace/plugin-figures/dist/ui.d.ts +56 -0
  129. package/node_modules/@rho-workspace/plugin-figures/dist/ui.js +363 -0
  130. package/node_modules/@rho-workspace/plugin-figures/package.json +41 -0
  131. package/node_modules/@rho-workspace/plugin-figures/py/figures.py +856 -0
  132. package/node_modules/@rho-workspace/plugin-figures/r/figures.R +775 -0
  133. package/node_modules/@rho-workspace/plugin-kernel/README.md +27 -3
  134. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.d.ts +12 -0
  135. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +8 -1
  136. package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +61 -0
  137. package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +125 -9
  138. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.d.ts +14 -0
  139. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.js +9 -0
  140. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +23 -5
  141. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -1
  142. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +6 -4
  143. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +44 -17
  144. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +6 -0
  145. package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
  146. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +144 -4
  147. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +106 -1
  148. package/node_modules/@rho-workspace/plugin-tables/README.md +5 -0
  149. package/node_modules/@rho-workspace/plugin-tables/dist/index.d.ts +1 -0
  150. package/node_modules/@rho-workspace/plugin-tables/dist/index.js +19 -3
  151. package/node_modules/@rho-workspace/plugin-tables/dist/ui.js +1 -1
  152. package/node_modules/@rho-workspace/plugin-tables/package.json +1 -1
  153. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  154. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  155. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  156. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  157. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  158. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  159. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  160. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  161. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  162. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  163. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  164. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  165. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  166. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  167. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  168. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  169. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  170. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  171. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  172. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  173. package/node_modules/hono/dist/jsx/base.js +49 -32
  174. package/node_modules/hono/dist/jsx/components.js +2 -2
  175. package/node_modules/hono/dist/jsx/constants.js +2 -1
  176. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  177. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  178. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  179. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  180. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  181. package/node_modules/hono/dist/utils/cookie.js +2 -2
  182. package/node_modules/hono/dist/utils/mime.js +1 -1
  183. package/node_modules/hono/dist/utils/url.js +1 -1
  184. package/node_modules/hono/package.json +1 -1
  185. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  186. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  187. package/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  188. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  189. package/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  190. package/node_modules/jose/package.json +1 -1
  191. package/package.json +6 -4
  192. package/protocol/index.json +106 -64
  193. package/protocol/operations/agent.sessions.list.json +57 -3
  194. package/protocol/operations/agent.sessions.read.json +61 -4
  195. package/protocol/operations/capability.list.json +382 -6
  196. package/protocol/operations/composition.apply.json +10 -2
  197. package/protocol/operations/composition.delete.json +845 -0
  198. package/protocol/operations/composition.read.json +10 -2
  199. package/protocol/operations/composition.undo.json +10 -2
  200. package/protocol/operations/conversation.agents.add.json +346 -0
  201. package/protocol/operations/conversation.agents.remove.json +340 -0
  202. package/protocol/operations/conversation.configure.json +29 -0
  203. package/protocol/operations/conversation.decide.json +225 -0
  204. package/protocol/operations/conversation.list.json +29 -0
  205. package/protocol/operations/conversation.permission.json +225 -0
  206. package/protocol/operations/conversation.read.json +225 -0
  207. package/protocol/operations/conversation.restore.json +29 -0
  208. package/protocol/operations/conversation.send.json +294 -0
  209. package/protocol/operations/conversation.settings.check.json +226 -416
  210. package/protocol/operations/conversation.settings.read.json +224 -411
  211. package/protocol/operations/conversation.settings.update.json +248 -475
  212. package/protocol/operations/conversation.start.json +313 -6
  213. package/protocol/operations/conversation.stop.json +225 -0
  214. package/protocol/operations/conversation.trash.json +29 -0
  215. package/protocol/operations/extension.describe.json +39 -0
  216. package/protocol/operations/extension.install.json +62 -0
  217. package/protocol/operations/extension.list.json +164 -1
  218. package/protocol/operations/extension.market.change.json +210 -0
  219. package/protocol/operations/figure.read.json +265 -0
  220. package/protocol/operations/figure.select.json +157 -0
  221. package/protocol/operations/kernel.interrupt.json +119 -0
  222. package/protocol/operations/kernel.read.json +119 -0
  223. package/protocol/operations/kernel.run.json +119 -0
  224. package/protocol/operations/observation.snapshot.json +445 -8
  225. package/protocol/operations/project.openFile.json +10 -2
  226. package/protocol/operations/session.grant.json +4 -0
  227. package/protocol/operations/session.instructions.json +43 -0
  228. package/protocol/operations/shared.json +1 -0
  229. package/protocol/operations/view.close.json +10 -2
  230. package/protocol/operations/view.protection.set.json +10 -2
  231. package/vendor/composition.json +174 -109
  232. package/vendor/rho-workspace-plugin-agent-0.4.33.tgz +0 -0
  233. package/vendor/rho-workspace-plugin-figures-0.5.1.tgz +0 -0
  234. package/vendor/rho-workspace-plugin-kernel-0.5.13.tgz +0 -0
  235. package/vendor/rho-workspace-plugin-tables-0.5.2.tgz +0 -0
  236. package/web/theme.css +17 -0
  237. package/dist/web/assets/answer-board-CBkGbSLD.js +0 -1
  238. package/dist/web/assets/canvas-D8rDdfDz.js +0 -1
  239. package/dist/web/assets/choices-b0XhrGQV.js +0 -1
  240. package/dist/web/assets/graph-1OdIJ9l7.js +0 -2
  241. package/dist/web/assets/index-CsC3sTRq.css +0 -1
  242. package/dist/web/assets/index-CxmItXqa.js +0 -891
  243. package/dist/web/assets/overview-B9UtVJ32.js +0 -6
  244. package/dist/web/assets/preview-CksD_5KS.js +0 -1
  245. package/dist/web/assets/studio-process-CsRoTHOh.js +0 -2
  246. package/dist/web/assets/timeline-events-BbuuFWHV.js +0 -1
  247. package/dist/web/assets/work-turns-BvJlIMmA.js +0 -1
  248. package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
  249. package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
  250. package/vendor/rho-workspace-plugin-tables-0.5.0.tgz +0 -0
@@ -1915,21 +1915,31 @@ export interface AgentSessionsListInput {
1915
1915
  export interface AgentSessionsListOutput {
1916
1916
  omitted: number;
1917
1917
  /**
1918
- * @maxItems 64
1918
+ * @maxItems 128
1919
1919
  */
1920
1920
  sessions: {
1921
+ bytes?: number;
1922
+ continueWith?: ('claude-acp' | 'codex-acp' | 'acp' | null) | string;
1923
+ conversationId?: string;
1921
1924
  id: string;
1922
- inputOwner: 'external';
1925
+ inputOwner?: 'external';
1923
1926
  lastAt: string;
1924
1927
  observedAt: string;
1925
1928
  omittedTurns: number;
1929
+ open?: null | {
1930
+ pid?: number;
1931
+ since?: string;
1932
+ where: string;
1933
+ };
1926
1934
  problem?: string;
1927
1935
  producer: string;
1936
+ resume?: string;
1928
1937
  sessionId: string;
1929
1938
  sourceCursor: number;
1930
1939
  state: 'running' | 'completed' | 'failed' | 'stopped' | 'unknown';
1931
1940
  title: string;
1932
1941
  turns: number;
1942
+ where?: string;
1933
1943
  }[];
1934
1944
  }
1935
1945
  export interface AgentSessionsReadInput {
@@ -1941,21 +1951,31 @@ export interface AgentSessionsReadInput {
1941
1951
  export interface AgentSessionsReadOutput {
1942
1952
  first: number;
1943
1953
  session: {
1954
+ bytes?: number;
1955
+ continueWith?: ('claude-acp' | 'codex-acp' | 'acp' | null) | string;
1956
+ conversationId?: string;
1944
1957
  id: string;
1945
- inputOwner: 'external';
1958
+ inputOwner?: 'external';
1946
1959
  lastAt: string;
1947
1960
  observedAt: string;
1948
1961
  omittedTurns: number;
1962
+ open?: null | {
1963
+ pid?: number;
1964
+ since?: string;
1965
+ where: string;
1966
+ };
1949
1967
  problem?: string;
1950
1968
  producer: string;
1969
+ resume?: string;
1951
1970
  sessionId: string;
1952
1971
  sourceCursor: number;
1953
1972
  state: 'running' | 'completed' | 'failed' | 'stopped' | 'unknown';
1954
1973
  title: string;
1955
1974
  turns: number;
1975
+ where?: string;
1956
1976
  };
1957
1977
  /**
1958
- * @maxItems 20
1978
+ * @maxItems 50
1959
1979
  */
1960
1980
  turns: {
1961
1981
  at: string;
@@ -1999,6 +2019,7 @@ export interface AgentSessionsReadOutput {
1999
2019
  */
2000
2020
  paths: string[];
2001
2021
  }[];
2022
+ where?: string;
2002
2023
  }[];
2003
2024
  }
2004
2025
  export interface AnnotationCreateInput {
@@ -3223,6 +3244,7 @@ export interface CapabilityListOutput {
3223
3244
  id: string;
3224
3245
  package: string;
3225
3246
  version?: string;
3247
+ packageVersion?: string;
3226
3248
  requires?: string[];
3227
3249
  selected: boolean;
3228
3250
  packagePresent: boolean;
@@ -3248,12 +3270,52 @@ export interface CapabilityListOutput {
3248
3270
  readOnly?: boolean;
3249
3271
  runsCode?: boolean;
3250
3272
  };
3273
+ intent?: string;
3274
+ /**
3275
+ * @maxItems 64
3276
+ */
3277
+ requires?: string[];
3278
+ example?: {
3279
+ method: string;
3280
+ input: {};
3281
+ };
3282
+ /**
3283
+ * @maxItems 32
3284
+ */
3285
+ failureRecipes?: {
3286
+ kind: string;
3287
+ message: string;
3288
+ next: string;
3289
+ }[];
3290
+ verify?: {
3291
+ command: string;
3292
+ description: string;
3293
+ };
3294
+ }[];
3295
+ /**
3296
+ * @maxItems 64
3297
+ */
3298
+ operations?: {
3299
+ method: string;
3300
+ version: string;
3301
+ effect: 'read' | 'metadata' | 'document' | 'file' | 'native';
3302
+ requires: string[];
3303
+ presentation?: {
3304
+ displayName?: string;
3305
+ description?: string;
3306
+ order?: number;
3307
+ readOnly?: boolean;
3308
+ runsCode?: boolean;
3309
+ };
3251
3310
  }[];
3252
3311
  /**
3253
3312
  * @maxItems 64
3254
3313
  */
3255
3314
  actions?: {
3256
- presentation: {
3315
+ id?: string;
3316
+ version?: string;
3317
+ requires?: string[];
3318
+ presentation?: {
3257
3319
  displayName?: string;
3258
3320
  description?: string;
3259
3321
  order?: number;
@@ -3268,6 +3330,9 @@ export interface CapabilityListOutput {
3268
3330
  id: string;
3269
3331
  version: string;
3270
3332
  ui: string;
3333
+ bindings?: {
3334
+ [k: string]: string;
3335
+ };
3271
3336
  presentation?: {
3272
3337
  displayName?: string;
3273
3338
  description?: string;
@@ -3276,6 +3341,41 @@ export interface CapabilityListOutput {
3276
3341
  runsCode?: boolean;
3277
3342
  };
3278
3343
  }[];
3344
+ /**
3345
+ * @maxItems 16
3346
+ */
3347
+ cli?: string[];
3348
+ mcp?: {
3349
+ entry: string;
3350
+ transport: string;
3351
+ /**
3352
+ * @maxItems 32
3353
+ */
3354
+ tools: {
3355
+ name: string;
3356
+ description: string;
3357
+ }[];
3358
+ };
3359
+ claudeCode?: {
3360
+ /**
3361
+ * @maxItems 64
3362
+ */
3363
+ skills?: {
3364
+ skill: string;
3365
+ name: string;
3366
+ description: string;
3367
+ }[];
3368
+ /**
3369
+ * @maxItems 64
3370
+ */
3371
+ hooks?: {
3372
+ id?: string;
3373
+ event: string;
3374
+ matcher: string;
3375
+ entry: string;
3376
+ timeoutSeconds?: number;
3377
+ }[];
3378
+ };
3279
3379
  };
3280
3380
  presentation?: {
3281
3381
  displayName?: string;
@@ -3341,6 +3441,9 @@ export interface CapabilityListOutput {
3341
3441
  operations: {
3342
3442
  method: string;
3343
3443
  owner?: string;
3444
+ effect?: string;
3445
+ inputSchema?: {};
3446
+ outputSchema?: {};
3344
3447
  packagePresent?: boolean;
3345
3448
  projectEnabled?: boolean;
3346
3449
  dependenciesSatisfied?: boolean;
@@ -3401,6 +3504,8 @@ export interface CapabilityListOutput {
3401
3504
  owner?: string;
3402
3505
  pluginId?: string;
3403
3506
  ui: string;
3507
+ uiPackage?: string;
3508
+ uiPackageVersion?: string;
3404
3509
  bindings: {
3405
3510
  [k: string]: string;
3406
3511
  };
@@ -3421,7 +3526,6 @@ export interface CapabilityListOutput {
3421
3526
  id: string;
3422
3527
  version: string;
3423
3528
  digest: string;
3424
- content?: string;
3425
3529
  presentation?: {
3426
3530
  displayName?: string;
3427
3531
  description?: string;
@@ -3429,6 +3533,29 @@ export interface CapabilityListOutput {
3429
3533
  readOnly?: boolean;
3430
3534
  runsCode?: boolean;
3431
3535
  };
3536
+ intent?: string;
3537
+ /**
3538
+ * @maxItems 64
3539
+ */
3540
+ requires?: string[];
3541
+ example?: {
3542
+ method: string;
3543
+ input: {};
3544
+ };
3545
+ /**
3546
+ * @maxItems 32
3547
+ */
3548
+ failureRecipes?: {
3549
+ kind: string;
3550
+ message: string;
3551
+ next: string;
3552
+ }[];
3553
+ verify?: {
3554
+ command: string;
3555
+ description: string;
3556
+ };
3557
+ owner?: string;
3558
+ content?: string;
3432
3559
  }[];
3433
3560
  agent?: {};
3434
3561
  host: {
@@ -3617,6 +3744,7 @@ export interface CompositionApplyOutput {
3617
3744
  format: 'rho.composition/1';
3618
3745
  compositionId: string;
3619
3746
  rootId: string;
3747
+ deleted?: boolean;
3620
3748
  /**
3621
3749
  * @maxItems 256
3622
3750
  */
@@ -3753,6 +3881,7 @@ export interface CompositionApplyOutput {
3753
3881
  protected?: boolean;
3754
3882
  kind: 'view';
3755
3883
  })[];
3884
+ deleted?: boolean;
3756
3885
  };
3757
3886
  }[];
3758
3887
  /**
@@ -3764,7 +3893,7 @@ export interface CompositionApplyOutput {
3764
3893
  version: number;
3765
3894
  author: string;
3766
3895
  at: string;
3767
- kind?: 'apply' | 'undo' | 'protect' | 'close';
3896
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
3768
3897
  }[];
3769
3898
  retainedFromVersion: number;
3770
3899
  undoRetainedFromVersion: number;
@@ -3774,7 +3903,7 @@ export interface CompositionApplyOutput {
3774
3903
  version: number;
3775
3904
  requestDigest: string;
3776
3905
  at: string;
3777
- kind: 'apply' | 'undo' | 'protect';
3906
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
3778
3907
  };
3779
3908
  witness?: {
3780
3909
  witnessId: string;
@@ -3809,118 +3938,17 @@ export interface CompositionApplyOutput {
3809
3938
  commitVersion?: number;
3810
3939
  currentVersion?: number;
3811
3940
  }
3812
- export interface CompositionPutInput {
3941
+ export interface CompositionDeleteInput {
3813
3942
  projectId: string;
3814
3943
  compositionId: string;
3815
3944
  expectedVersion: number;
3816
- /**
3817
- * @maxItems 32
3818
- */
3819
- views: {
3820
- id: string;
3821
- component: string;
3822
- version: string;
3823
- props: {};
3824
- bindings: {
3825
- [k: string]: {
3826
- id: string;
3827
- version: string;
3828
- } | {
3829
- documentId: string;
3830
- version: number;
3831
- } | {
3832
- kind: 'live-document';
3833
- documentId: string;
3834
- };
3835
- };
3836
- /**
3837
- * @maxItems 1000
3838
- */
3839
- selection?: string[];
3840
- presentation?: {
3841
- emphasis: 'normal' | 'highlight';
3842
- };
3843
- }[];
3844
- layout: {};
3845
- }
3846
- export interface CompositionPutOutput {
3847
- compositionId: string;
3848
- version: number;
3849
- /**
3850
- * @maxItems 32
3851
- */
3852
- views: {
3853
- id: string;
3854
- component: string;
3855
- version: string;
3856
- props: {};
3857
- bindings: {
3858
- [k: string]: {
3859
- id: string;
3860
- version: string;
3861
- } | {
3862
- documentId: string;
3863
- version: number;
3864
- } | {
3865
- kind: 'live-document';
3866
- documentId: string;
3867
- };
3868
- };
3869
- /**
3870
- * @maxItems 1000
3871
- */
3872
- selection?: string[];
3873
- presentation?: {
3874
- emphasis: 'normal' | 'highlight';
3875
- };
3876
- }[];
3877
- layout: {};
3878
- availability: {};
3879
- acknowledgedAt: string;
3880
- }
3881
- export interface CompositionReadInput {
3882
- projectId: string;
3883
- compositionId: string;
3945
+ changeId: string;
3884
3946
  }
3885
- export type CompositionReadOutput = {
3886
- compositionId: string;
3887
- version: number;
3888
- /**
3889
- * @maxItems 32
3890
- */
3891
- views: {
3892
- id: string;
3893
- component: string;
3894
- version: string;
3895
- props: {};
3896
- bindings: {
3897
- [k: string]: {
3898
- id: string;
3899
- version: string;
3900
- } | {
3901
- documentId: string;
3902
- version: number;
3903
- } | {
3904
- kind: 'live-document';
3905
- documentId: string;
3906
- };
3907
- };
3908
- /**
3909
- * @maxItems 1000
3910
- */
3911
- selection?: string[];
3912
- presentation?: {
3913
- emphasis: 'normal' | 'highlight';
3914
- };
3915
- protected?: boolean;
3916
- }[];
3917
- layout?: {};
3918
- availability?: {};
3919
- acknowledgedAt?: string;
3920
- } | {
3947
+ export interface CompositionDeleteOutput {
3921
3948
  format: 'rho.composition/1';
3922
3949
  compositionId: string;
3923
3950
  rootId: string;
3951
+ deleted?: boolean;
3924
3952
  /**
3925
3953
  * @maxItems 256
3926
3954
  */
@@ -4057,6 +4085,7 @@ export type CompositionReadOutput = {
4057
4085
  protected?: boolean;
4058
4086
  kind: 'view';
4059
4087
  })[];
4088
+ deleted?: boolean;
4060
4089
  };
4061
4090
  }[];
4062
4091
  /**
@@ -4068,7 +4097,7 @@ export type CompositionReadOutput = {
4068
4097
  version: number;
4069
4098
  author: string;
4070
4099
  at: string;
4071
- kind?: 'apply' | 'undo' | 'protect' | 'close';
4100
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4072
4101
  }[];
4073
4102
  retainedFromVersion: number;
4074
4103
  undoRetainedFromVersion: number;
@@ -4078,7 +4107,7 @@ export type CompositionReadOutput = {
4078
4107
  version: number;
4079
4108
  requestDigest: string;
4080
4109
  at: string;
4081
- kind: 'apply' | 'undo' | 'protect';
4110
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
4082
4111
  };
4083
4112
  witness?: {
4084
4113
  witnessId: string;
@@ -4112,36 +4141,48 @@ export type CompositionReadOutput = {
4112
4141
  witnessState?: 'retained' | 'expired' | 'pending';
4113
4142
  commitVersion?: number;
4114
4143
  currentVersion?: number;
4115
- };
4116
- export interface CompositionUndoInput {
4144
+ }
4145
+ export interface CompositionPutInput {
4117
4146
  projectId: string;
4118
4147
  compositionId: string;
4119
4148
  expectedVersion: number;
4120
- changeId: string;
4121
- }
4122
- export interface CompositionUndoOutput {
4123
- format: 'rho.composition/1';
4124
- compositionId: string;
4125
- rootId: string;
4126
4149
  /**
4127
- * @maxItems 256
4150
+ * @maxItems 32
4128
4151
  */
4129
- nodes: ({
4152
+ views: {
4130
4153
  id: string;
4131
- kind: 'group';
4154
+ component: string;
4155
+ version: string;
4156
+ props: {};
4157
+ bindings: {
4158
+ [k: string]: {
4159
+ id: string;
4160
+ version: string;
4161
+ } | {
4162
+ documentId: string;
4163
+ version: number;
4164
+ } | {
4165
+ kind: 'live-document';
4166
+ documentId: string;
4167
+ };
4168
+ };
4132
4169
  /**
4133
- * @maxItems 256
4170
+ * @maxItems 1000
4134
4171
  */
4135
- children: string[];
4172
+ selection?: string[];
4136
4173
  presentation?: {
4137
- mode: 'tabs' | 'split';
4138
- axis?: 'horizontal' | 'vertical';
4139
- /**
4140
- * @maxItems 32
4141
- */
4142
- weights?: number[];
4174
+ emphasis: 'normal' | 'highlight';
4143
4175
  };
4144
- } | {
4176
+ }[];
4177
+ layout: {};
4178
+ }
4179
+ export interface CompositionPutOutput {
4180
+ compositionId: string;
4181
+ version: number;
4182
+ /**
4183
+ * @maxItems 32
4184
+ */
4185
+ views: {
4145
4186
  id: string;
4146
4187
  component: string;
4147
4188
  version: string;
@@ -4165,9 +4206,18 @@ export interface CompositionUndoOutput {
4165
4206
  presentation?: {
4166
4207
  emphasis: 'normal' | 'highlight';
4167
4208
  };
4168
- protected?: boolean;
4169
- kind: 'view';
4170
- })[];
4209
+ }[];
4210
+ layout: {};
4211
+ availability: {};
4212
+ acknowledgedAt: string;
4213
+ }
4214
+ export interface CompositionReadInput {
4215
+ projectId: string;
4216
+ compositionId: string;
4217
+ }
4218
+ export type CompositionReadOutput = {
4219
+ compositionId: string;
4220
+ version: number;
4171
4221
  /**
4172
4222
  * @maxItems 32
4173
4223
  */
@@ -4197,19 +4247,101 @@ export interface CompositionUndoOutput {
4197
4247
  };
4198
4248
  protected?: boolean;
4199
4249
  }[];
4200
- availability: {
4201
- [k: string]: {
4202
- state: 'entry-installed' | 'unavailable';
4203
- visibility?: 'unobserved';
4204
- reason?: string;
4205
- };
4206
- };
4207
- version: number;
4208
- author: string;
4209
- acknowledgedAt: string;
4210
- /**
4211
- * @maxItems 256
4212
- */
4250
+ layout?: {};
4251
+ availability?: {};
4252
+ acknowledgedAt?: string;
4253
+ } | {
4254
+ format: 'rho.composition/1';
4255
+ compositionId: string;
4256
+ rootId: string;
4257
+ deleted?: boolean;
4258
+ /**
4259
+ * @maxItems 256
4260
+ */
4261
+ nodes: ({
4262
+ id: string;
4263
+ kind: 'group';
4264
+ /**
4265
+ * @maxItems 256
4266
+ */
4267
+ children: string[];
4268
+ presentation?: {
4269
+ mode: 'tabs' | 'split';
4270
+ axis?: 'horizontal' | 'vertical';
4271
+ /**
4272
+ * @maxItems 32
4273
+ */
4274
+ weights?: number[];
4275
+ };
4276
+ } | {
4277
+ id: string;
4278
+ component: string;
4279
+ version: string;
4280
+ props: {};
4281
+ bindings: {
4282
+ [k: string]: {
4283
+ id: string;
4284
+ version: string;
4285
+ } | {
4286
+ documentId: string;
4287
+ version: number;
4288
+ } | {
4289
+ kind: 'live-document';
4290
+ documentId: string;
4291
+ };
4292
+ };
4293
+ /**
4294
+ * @maxItems 1000
4295
+ */
4296
+ selection?: string[];
4297
+ presentation?: {
4298
+ emphasis: 'normal' | 'highlight';
4299
+ };
4300
+ protected?: boolean;
4301
+ kind: 'view';
4302
+ })[];
4303
+ /**
4304
+ * @maxItems 32
4305
+ */
4306
+ views: {
4307
+ id: string;
4308
+ component: string;
4309
+ version: string;
4310
+ props: {};
4311
+ bindings: {
4312
+ [k: string]: {
4313
+ id: string;
4314
+ version: string;
4315
+ } | {
4316
+ documentId: string;
4317
+ version: number;
4318
+ } | {
4319
+ kind: 'live-document';
4320
+ documentId: string;
4321
+ };
4322
+ };
4323
+ /**
4324
+ * @maxItems 1000
4325
+ */
4326
+ selection?: string[];
4327
+ presentation?: {
4328
+ emphasis: 'normal' | 'highlight';
4329
+ };
4330
+ protected?: boolean;
4331
+ }[];
4332
+ availability: {
4333
+ [k: string]: {
4334
+ state: 'entry-installed' | 'unavailable';
4335
+ visibility?: 'unobserved';
4336
+ reason?: string;
4337
+ };
4338
+ };
4339
+ version: number;
4340
+ author: string;
4341
+ acknowledgedAt: string;
4342
+ /**
4343
+ * @maxItems 256
4344
+ */
4213
4345
  history: {
4214
4346
  version: number;
4215
4347
  snapshot: {
@@ -4259,6 +4391,7 @@ export interface CompositionUndoOutput {
4259
4391
  protected?: boolean;
4260
4392
  kind: 'view';
4261
4393
  })[];
4394
+ deleted?: boolean;
4262
4395
  };
4263
4396
  }[];
4264
4397
  /**
@@ -4270,7 +4403,7 @@ export interface CompositionUndoOutput {
4270
4403
  version: number;
4271
4404
  author: string;
4272
4405
  at: string;
4273
- kind?: 'apply' | 'undo' | 'protect' | 'close';
4406
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4274
4407
  }[];
4275
4408
  retainedFromVersion: number;
4276
4409
  undoRetainedFromVersion: number;
@@ -4280,7 +4413,211 @@ export interface CompositionUndoOutput {
4280
4413
  version: number;
4281
4414
  requestDigest: string;
4282
4415
  at: string;
4283
- kind: 'apply' | 'undo' | 'protect';
4416
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
4417
+ };
4418
+ witness?: {
4419
+ witnessId: string;
4420
+ projectId: string;
4421
+ taskId: string;
4422
+ compositionId: string;
4423
+ compositionVersion: number;
4424
+ sourceEvent?: {
4425
+ [k: string]: unknown;
4426
+ };
4427
+ policyRef?: string;
4428
+ /**
4429
+ * @maxItems 32
4430
+ */
4431
+ views: {
4432
+ viewId: string;
4433
+ component?: string;
4434
+ componentVersion?: string;
4435
+ resource: {
4436
+ id: string;
4437
+ version: string;
4438
+ };
4439
+ }[];
4440
+ dataValidation?: {
4441
+ integrity: 'hash-verified';
4442
+ shape: 'typed-table-read';
4443
+ domain: 'not-judged';
4444
+ };
4445
+ at?: string;
4446
+ } | null;
4447
+ witnessState?: 'retained' | 'expired' | 'pending';
4448
+ commitVersion?: number;
4449
+ currentVersion?: number;
4450
+ };
4451
+ export interface CompositionUndoInput {
4452
+ projectId: string;
4453
+ compositionId: string;
4454
+ expectedVersion: number;
4455
+ changeId: string;
4456
+ }
4457
+ export interface CompositionUndoOutput {
4458
+ format: 'rho.composition/1';
4459
+ compositionId: string;
4460
+ rootId: string;
4461
+ deleted?: boolean;
4462
+ /**
4463
+ * @maxItems 256
4464
+ */
4465
+ nodes: ({
4466
+ id: string;
4467
+ kind: 'group';
4468
+ /**
4469
+ * @maxItems 256
4470
+ */
4471
+ children: string[];
4472
+ presentation?: {
4473
+ mode: 'tabs' | 'split';
4474
+ axis?: 'horizontal' | 'vertical';
4475
+ /**
4476
+ * @maxItems 32
4477
+ */
4478
+ weights?: number[];
4479
+ };
4480
+ } | {
4481
+ id: string;
4482
+ component: string;
4483
+ version: string;
4484
+ props: {};
4485
+ bindings: {
4486
+ [k: string]: {
4487
+ id: string;
4488
+ version: string;
4489
+ } | {
4490
+ documentId: string;
4491
+ version: number;
4492
+ } | {
4493
+ kind: 'live-document';
4494
+ documentId: string;
4495
+ };
4496
+ };
4497
+ /**
4498
+ * @maxItems 1000
4499
+ */
4500
+ selection?: string[];
4501
+ presentation?: {
4502
+ emphasis: 'normal' | 'highlight';
4503
+ };
4504
+ protected?: boolean;
4505
+ kind: 'view';
4506
+ })[];
4507
+ /**
4508
+ * @maxItems 32
4509
+ */
4510
+ views: {
4511
+ id: string;
4512
+ component: string;
4513
+ version: string;
4514
+ props: {};
4515
+ bindings: {
4516
+ [k: string]: {
4517
+ id: string;
4518
+ version: string;
4519
+ } | {
4520
+ documentId: string;
4521
+ version: number;
4522
+ } | {
4523
+ kind: 'live-document';
4524
+ documentId: string;
4525
+ };
4526
+ };
4527
+ /**
4528
+ * @maxItems 1000
4529
+ */
4530
+ selection?: string[];
4531
+ presentation?: {
4532
+ emphasis: 'normal' | 'highlight';
4533
+ };
4534
+ protected?: boolean;
4535
+ }[];
4536
+ availability: {
4537
+ [k: string]: {
4538
+ state: 'entry-installed' | 'unavailable';
4539
+ visibility?: 'unobserved';
4540
+ reason?: string;
4541
+ };
4542
+ };
4543
+ version: number;
4544
+ author: string;
4545
+ acknowledgedAt: string;
4546
+ /**
4547
+ * @maxItems 256
4548
+ */
4549
+ history: {
4550
+ version: number;
4551
+ snapshot: {
4552
+ rootId: string;
4553
+ /**
4554
+ * @maxItems 256
4555
+ */
4556
+ nodes: ({
4557
+ id: string;
4558
+ kind: 'group';
4559
+ /**
4560
+ * @maxItems 256
4561
+ */
4562
+ children: string[];
4563
+ presentation?: {
4564
+ mode: 'tabs' | 'split';
4565
+ axis?: 'horizontal' | 'vertical';
4566
+ /**
4567
+ * @maxItems 32
4568
+ */
4569
+ weights?: number[];
4570
+ };
4571
+ } | {
4572
+ id: string;
4573
+ component: string;
4574
+ version: string;
4575
+ props: {};
4576
+ bindings: {
4577
+ [k: string]: {
4578
+ id: string;
4579
+ version: string;
4580
+ } | {
4581
+ documentId: string;
4582
+ version: number;
4583
+ } | {
4584
+ kind: 'live-document';
4585
+ documentId: string;
4586
+ };
4587
+ };
4588
+ /**
4589
+ * @maxItems 1000
4590
+ */
4591
+ selection?: string[];
4592
+ presentation?: {
4593
+ emphasis: 'normal' | 'highlight';
4594
+ };
4595
+ protected?: boolean;
4596
+ kind: 'view';
4597
+ })[];
4598
+ deleted?: boolean;
4599
+ };
4600
+ }[];
4601
+ /**
4602
+ * @maxItems 256
4603
+ */
4604
+ receipts: {
4605
+ changeId: string;
4606
+ requestDigest?: string;
4607
+ version: number;
4608
+ author: string;
4609
+ at: string;
4610
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4611
+ }[];
4612
+ retainedFromVersion: number;
4613
+ undoRetainedFromVersion: number;
4614
+ receipt: {
4615
+ changeId: string;
4616
+ author: string;
4617
+ version: number;
4618
+ requestDigest: string;
4619
+ at: string;
4620
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
4284
4621
  };
4285
4622
  witness?: {
4286
4623
  witnessId: string;
@@ -4639,6 +4976,140 @@ export interface ContextReadOutput {
4639
4976
  data: string;
4640
4977
  };
4641
4978
  }
4979
+ export interface ConversationAgentsAddInput {
4980
+ projectId: string;
4981
+ /**
4982
+ * @minItems 1
4983
+ * @maxItems 32
4984
+ */
4985
+ command: string[];
4986
+ }
4987
+ export interface ConversationAgentsAddOutput {
4988
+ version: number;
4989
+ updatedAt: string | null;
4990
+ backend: string | null;
4991
+ serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
4992
+ choices: {
4993
+ [k: string]: {
4994
+ [k: string]: string | boolean;
4995
+ };
4996
+ };
4997
+ offered: {
4998
+ [k: string]: {
4999
+ at: string;
5000
+ source: 'check' | 'conversation';
5001
+ adapter: {
5002
+ name: string;
5003
+ version?: string;
5004
+ } | null;
5005
+ options: {
5006
+ category?: string;
5007
+ current: string | boolean;
5008
+ description?: string;
5009
+ id: string;
5010
+ name: string;
5011
+ type: 'select' | 'boolean';
5012
+ /**
5013
+ * @maxItems 256
5014
+ */
5015
+ values?: {
5016
+ description?: string;
5017
+ group?: string;
5018
+ name: string;
5019
+ value: string;
5020
+ }[];
5021
+ }[];
5022
+ omitted: number;
5023
+ };
5024
+ };
5025
+ checking: string[];
5026
+ describe?: {
5027
+ enabled: boolean;
5028
+ };
5029
+ agents?: {
5030
+ [k: string]: {
5031
+ found: boolean;
5032
+ problem?: string;
5033
+ name?: string | null;
5034
+ };
5035
+ };
5036
+ added?: {
5037
+ backend: string;
5038
+ name: string;
5039
+ command: string[];
5040
+ addedAt: string;
5041
+ }[];
5042
+ installed?: {
5043
+ id: string;
5044
+ name: string;
5045
+ command: string[];
5046
+ }[];
5047
+ }
5048
+ export interface ConversationAgentsRemoveInput {
5049
+ projectId: string;
5050
+ backend: string;
5051
+ }
5052
+ export interface ConversationAgentsRemoveOutput {
5053
+ version: number;
5054
+ updatedAt: string | null;
5055
+ backend: string | null;
5056
+ serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
5057
+ choices: {
5058
+ [k: string]: {
5059
+ [k: string]: string | boolean;
5060
+ };
5061
+ };
5062
+ offered: {
5063
+ [k: string]: {
5064
+ at: string;
5065
+ source: 'check' | 'conversation';
5066
+ adapter: {
5067
+ name: string;
5068
+ version?: string;
5069
+ } | null;
5070
+ options: {
5071
+ category?: string;
5072
+ current: string | boolean;
5073
+ description?: string;
5074
+ id: string;
5075
+ name: string;
5076
+ type: 'select' | 'boolean';
5077
+ /**
5078
+ * @maxItems 256
5079
+ */
5080
+ values?: {
5081
+ description?: string;
5082
+ group?: string;
5083
+ name: string;
5084
+ value: string;
5085
+ }[];
5086
+ }[];
5087
+ omitted: number;
5088
+ };
5089
+ };
5090
+ checking: string[];
5091
+ describe?: {
5092
+ enabled: boolean;
5093
+ };
5094
+ agents?: {
5095
+ [k: string]: {
5096
+ found: boolean;
5097
+ problem?: string;
5098
+ name?: string | null;
5099
+ };
5100
+ };
5101
+ added?: {
5102
+ backend: string;
5103
+ name: string;
5104
+ command: string[];
5105
+ addedAt: string;
5106
+ }[];
5107
+ installed?: {
5108
+ id: string;
5109
+ name: string;
5110
+ command: string[];
5111
+ }[];
5112
+ }
4642
5113
  export interface ConversationConfigureInput {
4643
5114
  projectId: string;
4644
5115
  conversationId: string;
@@ -4680,6 +5151,11 @@ export interface ConversationConfigureOutput {
4680
5151
  costUsd?: number | null;
4681
5152
  sessionId?: string | null;
4682
5153
  trashedAt?: string | null;
5154
+ origin?: {
5155
+ producer: string;
5156
+ where: string;
5157
+ copyOf?: string;
5158
+ } | null;
4683
5159
  };
4684
5160
  observation: {
4685
5161
  at: string;
@@ -4811,6 +5287,11 @@ export interface ConversationDecideOutput {
4811
5287
  costUsd?: number | null;
4812
5288
  sessionId?: string | null;
4813
5289
  trashedAt?: string | null;
5290
+ origin?: {
5291
+ producer: string;
5292
+ where: string;
5293
+ copyOf?: string;
5294
+ } | null;
4814
5295
  };
4815
5296
  turn: {
4816
5297
  id: string;
@@ -4881,6 +5362,41 @@ export interface ConversationDecideOutput {
4881
5362
  snapshots: number;
4882
5363
  };
4883
5364
  contexts?: string[];
5365
+ uiContext?: {
5366
+ page: string;
5367
+ compositionId?: string;
5368
+ compositionVersion?: number;
5369
+ replayAt?: number | null;
5370
+ path?: string;
5371
+ figure?: {
5372
+ cellId?: string;
5373
+ plot?: number;
5374
+ path?: string;
5375
+ sha256?: string;
5376
+ selectionId: string;
5377
+ };
5378
+ capturedAt: string;
5379
+ project: {
5380
+ id: string;
5381
+ name: string;
5382
+ };
5383
+ workspace?: {
5384
+ compositionId: string;
5385
+ title: string;
5386
+ observedVersion: number | null;
5387
+ currentVersion: number | null;
5388
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
5389
+ empty: boolean | null;
5390
+ viewCount: number | null;
5391
+ omittedViews: number;
5392
+ views: {
5393
+ id: string;
5394
+ component: string;
5395
+ title: string;
5396
+ }[];
5397
+ };
5398
+ figureSelection?: {};
5399
+ };
4884
5400
  descriptions?: {
4885
5401
  path: string;
4886
5402
  version: string;
@@ -5026,6 +5542,11 @@ export interface ConversationListOutput {
5026
5542
  costUsd?: number | null;
5027
5543
  sessionId?: string | null;
5028
5544
  trashedAt?: string | null;
5545
+ origin?: {
5546
+ producer: string;
5547
+ where: string;
5548
+ copyOf?: string;
5549
+ } | null;
5029
5550
  }[];
5030
5551
  }
5031
5552
  export interface ConversationPermissionInput {
@@ -5070,6 +5591,11 @@ export interface ConversationPermissionOutput {
5070
5591
  costUsd?: number | null;
5071
5592
  sessionId?: string | null;
5072
5593
  trashedAt?: string | null;
5594
+ origin?: {
5595
+ producer: string;
5596
+ where: string;
5597
+ copyOf?: string;
5598
+ } | null;
5073
5599
  };
5074
5600
  turn: {
5075
5601
  id: string;
@@ -5140,6 +5666,41 @@ export interface ConversationPermissionOutput {
5140
5666
  snapshots: number;
5141
5667
  };
5142
5668
  contexts?: string[];
5669
+ uiContext?: {
5670
+ page: string;
5671
+ compositionId?: string;
5672
+ compositionVersion?: number;
5673
+ replayAt?: number | null;
5674
+ path?: string;
5675
+ figure?: {
5676
+ cellId?: string;
5677
+ plot?: number;
5678
+ path?: string;
5679
+ sha256?: string;
5680
+ selectionId: string;
5681
+ };
5682
+ capturedAt: string;
5683
+ project: {
5684
+ id: string;
5685
+ name: string;
5686
+ };
5687
+ workspace?: {
5688
+ compositionId: string;
5689
+ title: string;
5690
+ observedVersion: number | null;
5691
+ currentVersion: number | null;
5692
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
5693
+ empty: boolean | null;
5694
+ viewCount: number | null;
5695
+ omittedViews: number;
5696
+ views: {
5697
+ id: string;
5698
+ component: string;
5699
+ title: string;
5700
+ }[];
5701
+ };
5702
+ figureSelection?: {};
5703
+ };
5143
5704
  descriptions?: {
5144
5705
  path: string;
5145
5706
  version: string;
@@ -5276,6 +5837,11 @@ export interface ConversationReadOutput {
5276
5837
  costUsd?: number | null;
5277
5838
  sessionId?: string | null;
5278
5839
  trashedAt?: string | null;
5840
+ origin?: {
5841
+ producer: string;
5842
+ where: string;
5843
+ copyOf?: string;
5844
+ } | null;
5279
5845
  };
5280
5846
  observation?: {
5281
5847
  at: string;
@@ -5433,6 +5999,41 @@ export interface ConversationReadOutput {
5433
5999
  snapshots: number;
5434
6000
  };
5435
6001
  contexts?: string[];
6002
+ uiContext?: {
6003
+ page: string;
6004
+ compositionId?: string;
6005
+ compositionVersion?: number;
6006
+ replayAt?: number | null;
6007
+ path?: string;
6008
+ figure?: {
6009
+ cellId?: string;
6010
+ plot?: number;
6011
+ path?: string;
6012
+ sha256?: string;
6013
+ selectionId: string;
6014
+ };
6015
+ capturedAt: string;
6016
+ project: {
6017
+ id: string;
6018
+ name: string;
6019
+ };
6020
+ workspace?: {
6021
+ compositionId: string;
6022
+ title: string;
6023
+ observedVersion: number | null;
6024
+ currentVersion: number | null;
6025
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
6026
+ empty: boolean | null;
6027
+ viewCount: number | null;
6028
+ omittedViews: number;
6029
+ views: {
6030
+ id: string;
6031
+ component: string;
6032
+ title: string;
6033
+ }[];
6034
+ };
6035
+ figureSelection?: {};
6036
+ };
5436
6037
  descriptions?: {
5437
6038
  path: string;
5438
6039
  version: string;
@@ -5567,6 +6168,11 @@ export interface ConversationRestoreOutput {
5567
6168
  costUsd?: number | null;
5568
6169
  sessionId?: string | null;
5569
6170
  trashedAt?: string | null;
6171
+ origin?: {
6172
+ producer: string;
6173
+ where: string;
6174
+ copyOf?: string;
6175
+ } | null;
5570
6176
  };
5571
6177
  }
5572
6178
  export interface ConversationSendInput {
@@ -5578,6 +6184,20 @@ export interface ConversationSendInput {
5578
6184
  * @maxItems 8
5579
6185
  */
5580
6186
  contexts?: string[];
6187
+ uiContext?: {
6188
+ page: string;
6189
+ compositionId?: string;
6190
+ compositionVersion?: number;
6191
+ replayAt?: number | null;
6192
+ path?: string;
6193
+ figure?: {
6194
+ cellId?: string;
6195
+ plot?: number;
6196
+ path?: string;
6197
+ sha256?: string;
6198
+ selectionId: string;
6199
+ };
6200
+ };
5581
6201
  continuationOf?: string;
5582
6202
  }
5583
6203
  export interface ConversationSendOutput {
@@ -5615,6 +6235,11 @@ export interface ConversationSendOutput {
5615
6235
  costUsd?: number | null;
5616
6236
  sessionId?: string | null;
5617
6237
  trashedAt?: string | null;
6238
+ origin?: {
6239
+ producer: string;
6240
+ where: string;
6241
+ copyOf?: string;
6242
+ } | null;
5618
6243
  };
5619
6244
  turn: {
5620
6245
  id: string;
@@ -5685,6 +6310,41 @@ export interface ConversationSendOutput {
5685
6310
  snapshots: number;
5686
6311
  };
5687
6312
  contexts?: string[];
6313
+ uiContext?: {
6314
+ page: string;
6315
+ compositionId?: string;
6316
+ compositionVersion?: number;
6317
+ replayAt?: number | null;
6318
+ path?: string;
6319
+ figure?: {
6320
+ cellId?: string;
6321
+ plot?: number;
6322
+ path?: string;
6323
+ sha256?: string;
6324
+ selectionId: string;
6325
+ };
6326
+ capturedAt: string;
6327
+ project: {
6328
+ id: string;
6329
+ name: string;
6330
+ };
6331
+ workspace?: {
6332
+ compositionId: string;
6333
+ title: string;
6334
+ observedVersion: number | null;
6335
+ currentVersion: number | null;
6336
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
6337
+ empty: boolean | null;
6338
+ viewCount: number | null;
6339
+ omittedViews: number;
6340
+ views: {
6341
+ id: string;
6342
+ component: string;
6343
+ title: string;
6344
+ }[];
6345
+ };
6346
+ figureSelection?: {};
6347
+ };
5688
6348
  descriptions?: {
5689
6349
  path: string;
5690
6350
  version: string;
@@ -5782,78 +6442,20 @@ export interface ConversationSendOutput {
5782
6442
  }
5783
6443
  export interface ConversationSettingsCheckInput {
5784
6444
  projectId: string;
5785
- backend: 'claude-acp' | 'codex-acp' | 'acp';
6445
+ backend: string;
5786
6446
  }
5787
6447
  export interface ConversationSettingsCheckOutput {
5788
6448
  version: number;
5789
6449
  updatedAt: string | null;
5790
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6450
+ backend: string | null;
5791
6451
  serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
5792
6452
  choices: {
5793
- 'claude-acp'?: {
5794
- [k: string]: string | boolean;
5795
- };
5796
- 'codex-acp'?: {
5797
- [k: string]: string | boolean;
5798
- };
5799
- acp?: {
6453
+ [k: string]: {
5800
6454
  [k: string]: string | boolean;
5801
6455
  };
5802
6456
  };
5803
6457
  offered: {
5804
- 'claude-acp'?: {
5805
- at: string;
5806
- source: 'check' | 'conversation';
5807
- adapter: {
5808
- name: string;
5809
- version?: string;
5810
- } | null;
5811
- options: {
5812
- category?: string;
5813
- current: string | boolean;
5814
- description?: string;
5815
- id: string;
5816
- name: string;
5817
- type: 'select' | 'boolean';
5818
- /**
5819
- * @maxItems 256
5820
- */
5821
- values?: {
5822
- description?: string;
5823
- group?: string;
5824
- name: string;
5825
- value: string;
5826
- }[];
5827
- }[];
5828
- omitted: number;
5829
- };
5830
- 'codex-acp'?: {
5831
- at: string;
5832
- source: 'check' | 'conversation';
5833
- adapter: {
5834
- name: string;
5835
- version?: string;
5836
- } | null;
5837
- options: {
5838
- category?: string;
5839
- current: string | boolean;
5840
- description?: string;
5841
- id: string;
5842
- name: string;
5843
- type: 'select' | 'boolean';
5844
- /**
5845
- * @maxItems 256
5846
- */
5847
- values?: {
5848
- description?: string;
5849
- group?: string;
5850
- name: string;
5851
- value: string;
5852
- }[];
5853
- }[];
5854
- omitted: number;
5855
- };
5856
- acp?: {
6458
+ [k: string]: {
5857
6459
  at: string;
5858
6460
  source: 'check' | 'conversation';
5859
6461
  adapter: {
@@ -5880,10 +6482,28 @@ export interface ConversationSettingsCheckOutput {
5880
6482
  omitted: number;
5881
6483
  };
5882
6484
  };
5883
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
6485
+ checking: string[];
5884
6486
  describe?: {
5885
6487
  enabled: boolean;
5886
6488
  };
6489
+ agents?: {
6490
+ [k: string]: {
6491
+ found: boolean;
6492
+ problem?: string;
6493
+ name?: string | null;
6494
+ };
6495
+ };
6496
+ added?: {
6497
+ backend: string;
6498
+ name: string;
6499
+ command: string[];
6500
+ addedAt: string;
6501
+ }[];
6502
+ installed?: {
6503
+ id: string;
6504
+ name: string;
6505
+ command: string[];
6506
+ }[];
5887
6507
  }
5888
6508
  export interface ConversationSettingsReadInput {
5889
6509
  projectId: string;
@@ -5891,73 +6511,15 @@ export interface ConversationSettingsReadInput {
5891
6511
  export interface ConversationSettingsReadOutput {
5892
6512
  version: number;
5893
6513
  updatedAt: string | null;
5894
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6514
+ backend: string | null;
5895
6515
  serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
5896
6516
  choices: {
5897
- 'claude-acp'?: {
5898
- [k: string]: string | boolean;
5899
- };
5900
- 'codex-acp'?: {
5901
- [k: string]: string | boolean;
5902
- };
5903
- acp?: {
6517
+ [k: string]: {
5904
6518
  [k: string]: string | boolean;
5905
6519
  };
5906
6520
  };
5907
6521
  offered: {
5908
- 'claude-acp'?: {
5909
- at: string;
5910
- source: 'check' | 'conversation';
5911
- adapter: {
5912
- name: string;
5913
- version?: string;
5914
- } | null;
5915
- options: {
5916
- category?: string;
5917
- current: string | boolean;
5918
- description?: string;
5919
- id: string;
5920
- name: string;
5921
- type: 'select' | 'boolean';
5922
- /**
5923
- * @maxItems 256
5924
- */
5925
- values?: {
5926
- description?: string;
5927
- group?: string;
5928
- name: string;
5929
- value: string;
5930
- }[];
5931
- }[];
5932
- omitted: number;
5933
- };
5934
- 'codex-acp'?: {
5935
- at: string;
5936
- source: 'check' | 'conversation';
5937
- adapter: {
5938
- name: string;
5939
- version?: string;
5940
- } | null;
5941
- options: {
5942
- category?: string;
5943
- current: string | boolean;
5944
- description?: string;
5945
- id: string;
5946
- name: string;
5947
- type: 'select' | 'boolean';
5948
- /**
5949
- * @maxItems 256
5950
- */
5951
- values?: {
5952
- description?: string;
5953
- group?: string;
5954
- name: string;
5955
- value: string;
5956
- }[];
5957
- }[];
5958
- omitted: number;
5959
- };
5960
- acp?: {
6522
+ [k: string]: {
5961
6523
  at: string;
5962
6524
  source: 'check' | 'conversation';
5963
6525
  adapter: {
@@ -5984,100 +6546,54 @@ export interface ConversationSettingsReadOutput {
5984
6546
  omitted: number;
5985
6547
  };
5986
6548
  };
5987
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
5988
- describe?: {
5989
- enabled: boolean;
5990
- };
5991
- }
5992
- export interface ConversationSettingsUpdateInput {
5993
- projectId: string;
5994
- expectedVersion: number;
5995
- backend?: ('claude-acp' | 'codex-acp' | 'acp') | null;
5996
- choices?: {
5997
- 'claude-acp'?: {
5998
- [k: string]: string | boolean;
5999
- };
6000
- 'codex-acp'?: {
6001
- [k: string]: string | boolean;
6002
- };
6003
- acp?: {
6004
- [k: string]: string | boolean;
6005
- };
6006
- };
6549
+ checking: string[];
6007
6550
  describe?: {
6008
6551
  enabled: boolean;
6009
6552
  };
6010
- }
6011
- export interface ConversationSettingsUpdateOutput {
6012
- version: number;
6013
- updatedAt: string | null;
6014
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6015
- serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
6016
- choices: {
6017
- 'claude-acp'?: {
6018
- [k: string]: string | boolean;
6019
- };
6020
- 'codex-acp'?: {
6021
- [k: string]: string | boolean;
6022
- };
6023
- acp?: {
6024
- [k: string]: string | boolean;
6025
- };
6026
- };
6027
- offered: {
6028
- 'claude-acp'?: {
6029
- at: string;
6030
- source: 'check' | 'conversation';
6031
- adapter: {
6032
- name: string;
6033
- version?: string;
6034
- } | null;
6035
- options: {
6036
- category?: string;
6037
- current: string | boolean;
6038
- description?: string;
6039
- id: string;
6040
- name: string;
6041
- type: 'select' | 'boolean';
6042
- /**
6043
- * @maxItems 256
6044
- */
6045
- values?: {
6046
- description?: string;
6047
- group?: string;
6048
- name: string;
6049
- value: string;
6050
- }[];
6051
- }[];
6052
- omitted: number;
6053
- };
6054
- 'codex-acp'?: {
6055
- at: string;
6056
- source: 'check' | 'conversation';
6057
- adapter: {
6058
- name: string;
6059
- version?: string;
6060
- } | null;
6061
- options: {
6062
- category?: string;
6063
- current: string | boolean;
6064
- description?: string;
6065
- id: string;
6066
- name: string;
6067
- type: 'select' | 'boolean';
6068
- /**
6069
- * @maxItems 256
6070
- */
6071
- values?: {
6072
- description?: string;
6073
- group?: string;
6074
- name: string;
6075
- value: string;
6076
- }[];
6077
- }[];
6078
- omitted: number;
6553
+ agents?: {
6554
+ [k: string]: {
6555
+ found: boolean;
6556
+ problem?: string;
6557
+ name?: string | null;
6558
+ };
6559
+ };
6560
+ added?: {
6561
+ backend: string;
6562
+ name: string;
6563
+ command: string[];
6564
+ addedAt: string;
6565
+ }[];
6566
+ installed?: {
6567
+ id: string;
6568
+ name: string;
6569
+ command: string[];
6570
+ }[];
6571
+ }
6572
+ export interface ConversationSettingsUpdateInput {
6573
+ projectId: string;
6574
+ expectedVersion: number;
6575
+ backend?: string | null;
6576
+ choices?: {
6577
+ [k: string]: {
6578
+ [k: string]: string | boolean;
6079
6579
  };
6080
- acp?: {
6580
+ };
6581
+ describe?: {
6582
+ enabled: boolean;
6583
+ };
6584
+ }
6585
+ export interface ConversationSettingsUpdateOutput {
6586
+ version: number;
6587
+ updatedAt: string | null;
6588
+ backend: string | null;
6589
+ serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
6590
+ choices: {
6591
+ [k: string]: {
6592
+ [k: string]: string | boolean;
6593
+ };
6594
+ };
6595
+ offered: {
6596
+ [k: string]: {
6081
6597
  at: string;
6082
6598
  source: 'check' | 'conversation';
6083
6599
  adapter: {
@@ -6104,16 +6620,34 @@ export interface ConversationSettingsUpdateOutput {
6104
6620
  omitted: number;
6105
6621
  };
6106
6622
  };
6107
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
6623
+ checking: string[];
6108
6624
  describe?: {
6109
6625
  enabled: boolean;
6110
6626
  };
6627
+ agents?: {
6628
+ [k: string]: {
6629
+ found: boolean;
6630
+ problem?: string;
6631
+ name?: string | null;
6632
+ };
6633
+ };
6634
+ added?: {
6635
+ backend: string;
6636
+ name: string;
6637
+ command: string[];
6638
+ addedAt: string;
6639
+ }[];
6640
+ installed?: {
6641
+ id: string;
6642
+ name: string;
6643
+ command: string[];
6644
+ }[];
6111
6645
  }
6112
6646
  export interface ConversationStartInput {
6113
6647
  projectId: string;
6114
6648
  changeId: string;
6115
6649
  text: string;
6116
- backend?: 'claude-acp' | 'codex-acp' | 'acp';
6650
+ backend?: string;
6117
6651
  config?: {
6118
6652
  [k: string]: string | boolean;
6119
6653
  };
@@ -6121,6 +6655,24 @@ export interface ConversationStartInput {
6121
6655
  * @maxItems 8
6122
6656
  */
6123
6657
  contexts?: string[];
6658
+ uiContext?: {
6659
+ page: string;
6660
+ compositionId?: string;
6661
+ compositionVersion?: number;
6662
+ replayAt?: number | null;
6663
+ path?: string;
6664
+ figure?: {
6665
+ cellId?: string;
6666
+ plot?: number;
6667
+ path?: string;
6668
+ sha256?: string;
6669
+ selectionId: string;
6670
+ };
6671
+ };
6672
+ continue?: {
6673
+ session: string;
6674
+ copy?: boolean;
6675
+ };
6124
6676
  }
6125
6677
  export interface ConversationStartOutput {
6126
6678
  conversation: {
@@ -6157,6 +6709,11 @@ export interface ConversationStartOutput {
6157
6709
  costUsd?: number | null;
6158
6710
  sessionId?: string | null;
6159
6711
  trashedAt?: string | null;
6712
+ origin?: {
6713
+ producer: string;
6714
+ where: string;
6715
+ copyOf?: string;
6716
+ } | null;
6160
6717
  };
6161
6718
  turn: {
6162
6719
  id: string;
@@ -6227,6 +6784,41 @@ export interface ConversationStartOutput {
6227
6784
  snapshots: number;
6228
6785
  };
6229
6786
  contexts?: string[];
6787
+ uiContext?: {
6788
+ page: string;
6789
+ compositionId?: string;
6790
+ compositionVersion?: number;
6791
+ replayAt?: number | null;
6792
+ path?: string;
6793
+ figure?: {
6794
+ cellId?: string;
6795
+ plot?: number;
6796
+ path?: string;
6797
+ sha256?: string;
6798
+ selectionId: string;
6799
+ };
6800
+ capturedAt: string;
6801
+ project: {
6802
+ id: string;
6803
+ name: string;
6804
+ };
6805
+ workspace?: {
6806
+ compositionId: string;
6807
+ title: string;
6808
+ observedVersion: number | null;
6809
+ currentVersion: number | null;
6810
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
6811
+ empty: boolean | null;
6812
+ viewCount: number | null;
6813
+ omittedViews: number;
6814
+ views: {
6815
+ id: string;
6816
+ component: string;
6817
+ title: string;
6818
+ }[];
6819
+ };
6820
+ figureSelection?: {};
6821
+ };
6230
6822
  descriptions?: {
6231
6823
  path: string;
6232
6824
  version: string;
@@ -6362,6 +6954,11 @@ export interface ConversationStopOutput {
6362
6954
  costUsd?: number | null;
6363
6955
  sessionId?: string | null;
6364
6956
  trashedAt?: string | null;
6957
+ origin?: {
6958
+ producer: string;
6959
+ where: string;
6960
+ copyOf?: string;
6961
+ } | null;
6365
6962
  };
6366
6963
  turn: {
6367
6964
  id: string;
@@ -6432,6 +7029,41 @@ export interface ConversationStopOutput {
6432
7029
  snapshots: number;
6433
7030
  };
6434
7031
  contexts?: string[];
7032
+ uiContext?: {
7033
+ page: string;
7034
+ compositionId?: string;
7035
+ compositionVersion?: number;
7036
+ replayAt?: number | null;
7037
+ path?: string;
7038
+ figure?: {
7039
+ cellId?: string;
7040
+ plot?: number;
7041
+ path?: string;
7042
+ sha256?: string;
7043
+ selectionId: string;
7044
+ };
7045
+ capturedAt: string;
7046
+ project: {
7047
+ id: string;
7048
+ name: string;
7049
+ };
7050
+ workspace?: {
7051
+ compositionId: string;
7052
+ title: string;
7053
+ observedVersion: number | null;
7054
+ currentVersion: number | null;
7055
+ state: 'current' | 'changed' | 'deleted' | 'not-created' | 'derived' | 'unavailable';
7056
+ empty: boolean | null;
7057
+ viewCount: number | null;
7058
+ omittedViews: number;
7059
+ views: {
7060
+ id: string;
7061
+ component: string;
7062
+ title: string;
7063
+ }[];
7064
+ };
7065
+ figureSelection?: {};
7066
+ };
6435
7067
  descriptions?: {
6436
7068
  path: string;
6437
7069
  version: string;
@@ -6566,6 +7198,11 @@ export interface ConversationTrashOutput {
6566
7198
  costUsd?: number | null;
6567
7199
  sessionId?: string | null;
6568
7200
  trashedAt?: string | null;
7201
+ origin?: {
7202
+ producer: string;
7203
+ where: string;
7204
+ copyOf?: string;
7205
+ } | null;
6569
7206
  };
6570
7207
  }
6571
7208
  export interface DataCompareInput {
@@ -7470,6 +8107,16 @@ export interface ExtensionDescribeOutput {
7470
8107
  digest: string;
7471
8108
  source: string;
7472
8109
  sourceCommit?: string;
8110
+ market?: {
8111
+ id: string;
8112
+ title: string;
8113
+ url: string;
8114
+ digest: string;
8115
+ /**
8116
+ * @maxItems 16
8117
+ */
8118
+ keywords?: string[];
8119
+ };
7473
8120
  enabled: boolean;
7474
8121
  installedAt: string;
7475
8122
  manifest: {
@@ -7504,6 +8151,11 @@ export interface ExtensionInstallInput {
7504
8151
  source: string;
7505
8152
  replace?: string;
7506
8153
  expectedDigest?: string;
8154
+ market?: {
8155
+ id: string;
8156
+ expectedDigest: string;
8157
+ pluginId: string;
8158
+ };
7507
8159
  }
7508
8160
  export interface ExtensionInstallOutput {
7509
8161
  id: string;
@@ -7514,6 +8166,16 @@ export interface ExtensionInstallOutput {
7514
8166
  digest: string;
7515
8167
  source: string;
7516
8168
  sourceCommit?: string;
8169
+ market?: {
8170
+ id: string;
8171
+ title: string;
8172
+ url: string;
8173
+ digest: string;
8174
+ /**
8175
+ * @maxItems 16
8176
+ */
8177
+ keywords?: string[];
8178
+ };
7517
8179
  enabled: boolean;
7518
8180
  installedAt: string;
7519
8181
  manifest: {
@@ -7557,6 +8219,16 @@ export interface ExtensionListOutput {
7557
8219
  digest: string;
7558
8220
  source: string;
7559
8221
  sourceCommit?: string;
8222
+ market?: {
8223
+ id: string;
8224
+ title: string;
8225
+ url: string;
8226
+ digest: string;
8227
+ /**
8228
+ * @maxItems 16
8229
+ */
8230
+ keywords?: string[];
8231
+ };
7560
8232
  enabled: boolean;
7561
8233
  installedAt: string;
7562
8234
  }[];
@@ -7569,6 +8241,29 @@ export interface ExtensionListOutput {
7569
8241
  repository: string;
7570
8242
  needs: string;
7571
8243
  }[];
8244
+ markets: {
8245
+ id: string;
8246
+ url: string;
8247
+ title: string;
8248
+ revision: number;
8249
+ digest: string;
8250
+ fetchedAt: string;
8251
+ checkedAt: string;
8252
+ error: string | null;
8253
+ plugins: {
8254
+ id: string;
8255
+ title: string;
8256
+ version: string;
8257
+ description: string;
8258
+ source: string;
8259
+ repository: string;
8260
+ needs: string;
8261
+ /**
8262
+ * @maxItems 16
8263
+ */
8264
+ keywords?: string[];
8265
+ }[];
8266
+ }[];
7572
8267
  limits: {
7573
8268
  [k: string]: unknown;
7574
8269
  };
@@ -7583,6 +8278,44 @@ export interface ExtensionManageOutput {
7583
8278
  action: 'enable' | 'disable' | 'remove';
7584
8279
  retained: string;
7585
8280
  }
8281
+ export type ExtensionMarketChangeInput = {
8282
+ action: 'add' | 'refresh' | 'remove';
8283
+ url?: string;
8284
+ id?: string;
8285
+ expectedRevision?: number;
8286
+ } & ({
8287
+ action: 'add';
8288
+ url: string;
8289
+ } | {
8290
+ action: 'refresh' | 'remove';
8291
+ id: string;
8292
+ expectedRevision: number;
8293
+ });
8294
+ export interface ExtensionMarketChangeOutput {
8295
+ markets: {
8296
+ id: string;
8297
+ url: string;
8298
+ title: string;
8299
+ revision: number;
8300
+ digest: string;
8301
+ fetchedAt: string;
8302
+ checkedAt: string;
8303
+ error: string | null;
8304
+ plugins: {
8305
+ id: string;
8306
+ title: string;
8307
+ version: string;
8308
+ description: string;
8309
+ source: string;
8310
+ repository: string;
8311
+ needs: string;
8312
+ /**
8313
+ * @maxItems 16
8314
+ */
8315
+ keywords?: string[];
8316
+ }[];
8317
+ }[];
8318
+ }
7586
8319
  export interface ExtensionReadInput {
7587
8320
  projectId: string;
7588
8321
  invocationId: string;
@@ -7857,6 +8590,92 @@ export interface FeedbackSubmitOutput {
7857
8590
  };
7858
8591
  submissionId: string;
7859
8592
  }
8593
+ export interface FigureReadInput {
8594
+ projectId: string;
8595
+ cellId?: string;
8596
+ form?: 'summary' | 'view' | 'selections';
8597
+ limit?: number;
8598
+ /**
8599
+ * @maxItems 5000
8600
+ */
8601
+ marks?: string[];
8602
+ path?: string;
8603
+ plot?: number;
8604
+ selection?: string;
8605
+ sha256?: string;
8606
+ /**
8607
+ * @minItems 1
8608
+ * @maxItems 8
8609
+ */
8610
+ where?: {
8611
+ column: string;
8612
+ layer?: number;
8613
+ op: 'eq' | 'ne' | 'lt' | 'le' | 'gt' | 'ge' | 'in' | 'contains';
8614
+ value: (string | number | boolean | null) | (string | number | boolean | null)[];
8615
+ }[];
8616
+ }
8617
+ export interface FigureReadOutput {
8618
+ figure: {};
8619
+ matched?: {};
8620
+ record?: {};
8621
+ rows?: {}[];
8622
+ rowsTotal?: number;
8623
+ selections: {
8624
+ at: string;
8625
+ by: string;
8626
+ cellId: string;
8627
+ changeId: string;
8628
+ count: number;
8629
+ digest: string;
8630
+ layers: {
8631
+ geom: string;
8632
+ layer: number;
8633
+ marks: number;
8634
+ }[];
8635
+ marks?: string[];
8636
+ note: string;
8637
+ path?: string;
8638
+ plot?: number;
8639
+ selectionId: string;
8640
+ sha256?: string;
8641
+ }[];
8642
+ summary?: {};
8643
+ }
8644
+ export interface FigureSelectInput {
8645
+ projectId: string;
8646
+ cellId?: string;
8647
+ changeId: string;
8648
+ /**
8649
+ * @minItems 1
8650
+ * @maxItems 5000
8651
+ */
8652
+ marks: string[];
8653
+ note?: string;
8654
+ path?: string;
8655
+ plot?: number;
8656
+ sha256?: string;
8657
+ }
8658
+ export interface FigureSelectOutput {
8659
+ selection: {
8660
+ at: string;
8661
+ by: string;
8662
+ cellId: string;
8663
+ changeId: string;
8664
+ count: number;
8665
+ digest: string;
8666
+ layers: {
8667
+ geom: string;
8668
+ layer: number;
8669
+ marks: number;
8670
+ }[];
8671
+ marks?: string[];
8672
+ note: string;
8673
+ path?: string;
8674
+ plot?: number;
8675
+ selectionId: string;
8676
+ sha256?: string;
8677
+ };
8678
+ }
7860
8679
  export interface InteractionSelectionReadInput {
7861
8680
  projectId: string;
7862
8681
  scope: {
@@ -8114,6 +8933,16 @@ export interface KernelInterruptOutput {
8114
8933
  language: 'r' | 'python';
8115
8934
  number: number;
8116
8935
  outputs: {
8936
+ figure?: {
8937
+ bound: number;
8938
+ describer: string;
8939
+ geoms: string[];
8940
+ kind?: string;
8941
+ layers: number;
8942
+ marks: number;
8943
+ title?: string;
8944
+ };
8945
+ figureProblem?: string;
8117
8946
  height?: number;
8118
8947
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8119
8948
  plot?: number;
@@ -8125,6 +8954,22 @@ export interface KernelInterruptOutput {
8125
8954
  purpose: string | null;
8126
8955
  queuedAt: string;
8127
8956
  removed?: string[];
8957
+ saved?: {
8958
+ bytes: number;
8959
+ figure?: {
8960
+ bound: number;
8961
+ describer: string;
8962
+ geoms: string[];
8963
+ kind?: string;
8964
+ layers: number;
8965
+ marks: number;
8966
+ title?: string;
8967
+ };
8968
+ figureProblem?: string;
8969
+ number: number;
8970
+ path: string;
8971
+ sha256: string;
8972
+ }[];
8128
8973
  sessionId: string;
8129
8974
  startedAt: string | null;
8130
8975
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8326,6 +9171,16 @@ export interface KernelReadOutput {
8326
9171
  language: 'r' | 'python';
8327
9172
  number: number;
8328
9173
  outputs: {
9174
+ figure?: {
9175
+ bound: number;
9176
+ describer: string;
9177
+ geoms: string[];
9178
+ kind?: string;
9179
+ layers: number;
9180
+ marks: number;
9181
+ title?: string;
9182
+ };
9183
+ figureProblem?: string;
8329
9184
  height?: number;
8330
9185
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8331
9186
  plot?: number;
@@ -8337,6 +9192,22 @@ export interface KernelReadOutput {
8337
9192
  purpose: string | null;
8338
9193
  queuedAt: string;
8339
9194
  removed?: string[];
9195
+ saved?: {
9196
+ bytes: number;
9197
+ figure?: {
9198
+ bound: number;
9199
+ describer: string;
9200
+ geoms: string[];
9201
+ kind?: string;
9202
+ layers: number;
9203
+ marks: number;
9204
+ title?: string;
9205
+ };
9206
+ figureProblem?: string;
9207
+ number: number;
9208
+ path: string;
9209
+ sha256: string;
9210
+ }[];
8340
9211
  sessionId: string;
8341
9212
  startedAt: string | null;
8342
9213
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8411,6 +9282,16 @@ export interface KernelRunOutput {
8411
9282
  language: 'r' | 'python';
8412
9283
  number: number;
8413
9284
  outputs: {
9285
+ figure?: {
9286
+ bound: number;
9287
+ describer: string;
9288
+ geoms: string[];
9289
+ kind?: string;
9290
+ layers: number;
9291
+ marks: number;
9292
+ title?: string;
9293
+ };
9294
+ figureProblem?: string;
8414
9295
  height?: number;
8415
9296
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8416
9297
  plot?: number;
@@ -8422,6 +9303,22 @@ export interface KernelRunOutput {
8422
9303
  purpose: string | null;
8423
9304
  queuedAt: string;
8424
9305
  removed?: string[];
9306
+ saved?: {
9307
+ bytes: number;
9308
+ figure?: {
9309
+ bound: number;
9310
+ describer: string;
9311
+ geoms: string[];
9312
+ kind?: string;
9313
+ layers: number;
9314
+ marks: number;
9315
+ title?: string;
9316
+ };
9317
+ figureProblem?: string;
9318
+ number: number;
9319
+ path: string;
9320
+ sha256: string;
9321
+ }[];
8425
9322
  sessionId: string;
8426
9323
  startedAt: string | null;
8427
9324
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8660,6 +9557,7 @@ export interface ObservationSnapshotOutput {
8660
9557
  id: string;
8661
9558
  package: string;
8662
9559
  version?: string;
9560
+ packageVersion?: string;
8663
9561
  requires?: string[];
8664
9562
  selected: boolean;
8665
9563
  packagePresent: boolean;
@@ -8685,12 +9583,52 @@ export interface ObservationSnapshotOutput {
8685
9583
  readOnly?: boolean;
8686
9584
  runsCode?: boolean;
8687
9585
  };
9586
+ intent?: string;
9587
+ /**
9588
+ * @maxItems 64
9589
+ */
9590
+ requires?: string[];
9591
+ example?: {
9592
+ method: string;
9593
+ input: {};
9594
+ };
9595
+ /**
9596
+ * @maxItems 32
9597
+ */
9598
+ failureRecipes?: {
9599
+ kind: string;
9600
+ message: string;
9601
+ next: string;
9602
+ }[];
9603
+ verify?: {
9604
+ command: string;
9605
+ description: string;
9606
+ };
9607
+ }[];
9608
+ /**
9609
+ * @maxItems 64
9610
+ */
9611
+ operations?: {
9612
+ method: string;
9613
+ version: string;
9614
+ effect: 'read' | 'metadata' | 'document' | 'file' | 'native';
9615
+ requires: string[];
9616
+ presentation?: {
9617
+ displayName?: string;
9618
+ description?: string;
9619
+ order?: number;
9620
+ readOnly?: boolean;
9621
+ runsCode?: boolean;
9622
+ };
8688
9623
  }[];
8689
9624
  /**
8690
9625
  * @maxItems 64
8691
9626
  */
8692
9627
  actions?: {
8693
- presentation: {
9628
+ id?: string;
9629
+ version?: string;
9630
+ requires?: string[];
9631
+ presentation?: {
8694
9632
  displayName?: string;
8695
9633
  description?: string;
8696
9634
  order?: number;
@@ -8705,6 +9643,9 @@ export interface ObservationSnapshotOutput {
8705
9643
  id: string;
8706
9644
  version: string;
8707
9645
  ui: string;
9646
+ bindings?: {
9647
+ [k: string]: string;
9648
+ };
8708
9649
  presentation?: {
8709
9650
  displayName?: string;
8710
9651
  description?: string;
@@ -8713,6 +9654,41 @@ export interface ObservationSnapshotOutput {
8713
9654
  runsCode?: boolean;
8714
9655
  };
8715
9656
  }[];
9657
+ /**
9658
+ * @maxItems 16
9659
+ */
9660
+ cli?: string[];
9661
+ mcp?: {
9662
+ entry: string;
9663
+ transport: string;
9664
+ /**
9665
+ * @maxItems 32
9666
+ */
9667
+ tools: {
9668
+ name: string;
9669
+ description: string;
9670
+ }[];
9671
+ };
9672
+ claudeCode?: {
9673
+ /**
9674
+ * @maxItems 64
9675
+ */
9676
+ skills?: {
9677
+ skill: string;
9678
+ name: string;
9679
+ description: string;
9680
+ }[];
9681
+ /**
9682
+ * @maxItems 64
9683
+ */
9684
+ hooks?: {
9685
+ id?: string;
9686
+ event: string;
9687
+ matcher: string;
9688
+ entry: string;
9689
+ timeoutSeconds?: number;
9690
+ }[];
9691
+ };
8716
9692
  };
8717
9693
  presentation?: {
8718
9694
  displayName?: string;
@@ -8778,6 +9754,9 @@ export interface ObservationSnapshotOutput {
8778
9754
  operations: {
8779
9755
  method: string;
8780
9756
  owner?: string;
9757
+ effect?: string;
9758
+ inputSchema?: {};
9759
+ outputSchema?: {};
8781
9760
  packagePresent?: boolean;
8782
9761
  projectEnabled?: boolean;
8783
9762
  dependenciesSatisfied?: boolean;
@@ -8838,6 +9817,8 @@ export interface ObservationSnapshotOutput {
8838
9817
  owner?: string;
8839
9818
  pluginId?: string;
8840
9819
  ui: string;
9820
+ uiPackage?: string;
9821
+ uiPackageVersion?: string;
8841
9822
  bindings: {
8842
9823
  [k: string]: string;
8843
9824
  };
@@ -8858,7 +9839,6 @@ export interface ObservationSnapshotOutput {
8858
9839
  id: string;
8859
9840
  version: string;
8860
9841
  digest: string;
8861
- content?: string;
8862
9842
  presentation?: {
8863
9843
  displayName?: string;
8864
9844
  description?: string;
@@ -8866,6 +9846,29 @@ export interface ObservationSnapshotOutput {
8866
9846
  readOnly?: boolean;
8867
9847
  runsCode?: boolean;
8868
9848
  };
9849
+ intent?: string;
9850
+ /**
9851
+ * @maxItems 64
9852
+ */
9853
+ requires?: string[];
9854
+ example?: {
9855
+ method: string;
9856
+ input: {};
9857
+ };
9858
+ /**
9859
+ * @maxItems 32
9860
+ */
9861
+ failureRecipes?: {
9862
+ kind: string;
9863
+ message: string;
9864
+ next: string;
9865
+ }[];
9866
+ verify?: {
9867
+ command: string;
9868
+ description: string;
9869
+ };
9870
+ owner?: string;
9871
+ content?: string;
8869
9872
  }[];
8870
9873
  agent?: {};
8871
9874
  };
@@ -9224,6 +10227,7 @@ export interface ObservationSnapshotOutput {
9224
10227
  format: 'rho.composition/1';
9225
10228
  compositionId: string;
9226
10229
  rootId: string;
10230
+ deleted?: boolean;
9227
10231
  /**
9228
10232
  * @maxItems 256
9229
10233
  */
@@ -9360,6 +10364,7 @@ export interface ObservationSnapshotOutput {
9360
10364
  protected?: boolean;
9361
10365
  kind: 'view';
9362
10366
  })[];
10367
+ deleted?: boolean;
9363
10368
  };
9364
10369
  }[];
9365
10370
  /**
@@ -9371,7 +10376,7 @@ export interface ObservationSnapshotOutput {
9371
10376
  version: number;
9372
10377
  author: string;
9373
10378
  at: string;
9374
- kind?: 'apply' | 'undo' | 'protect' | 'close';
10379
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
9375
10380
  }[];
9376
10381
  retainedFromVersion: number;
9377
10382
  undoRetainedFromVersion: number;
@@ -9381,7 +10386,7 @@ export interface ObservationSnapshotOutput {
9381
10386
  version: number;
9382
10387
  requestDigest: string;
9383
10388
  at: string;
9384
- kind: 'apply' | 'undo' | 'protect';
10389
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
9385
10390
  };
9386
10391
  witness?: {
9387
10392
  witnessId: string;
@@ -9694,6 +10699,10 @@ export interface ObservationSnapshotOutput {
9694
10699
  scope: 'folder' | 'user';
9695
10700
  at: string;
9696
10701
  } | null;
10702
+ client?: null | {
10703
+ name: string;
10704
+ version?: string;
10705
+ };
9697
10706
  last: null | {
9698
10707
  at: string;
9699
10708
  method: string;
@@ -9738,6 +10747,11 @@ export interface ObservationSnapshotOutput {
9738
10747
  costUsd?: number | null;
9739
10748
  sessionId?: string | null;
9740
10749
  trashedAt?: string | null;
10750
+ origin?: {
10751
+ producer: string;
10752
+ where: string;
10753
+ copyOf?: string;
10754
+ } | null;
9741
10755
  }[];
9742
10756
  selection: {
9743
10757
  resource: {
@@ -9987,6 +11001,7 @@ export interface ProjectOpenFileOutput {
9987
11001
  format: 'rho.composition/1';
9988
11002
  compositionId: string;
9989
11003
  rootId: string;
11004
+ deleted?: boolean;
9990
11005
  /**
9991
11006
  * @maxItems 256
9992
11007
  */
@@ -10123,6 +11138,7 @@ export interface ProjectOpenFileOutput {
10123
11138
  protected?: boolean;
10124
11139
  kind: 'view';
10125
11140
  })[];
11141
+ deleted?: boolean;
10126
11142
  };
10127
11143
  }[];
10128
11144
  /**
@@ -10134,7 +11150,7 @@ export interface ProjectOpenFileOutput {
10134
11150
  version: number;
10135
11151
  author: string;
10136
11152
  at: string;
10137
- kind?: 'apply' | 'undo' | 'protect' | 'close';
11153
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
10138
11154
  }[];
10139
11155
  retainedFromVersion: number;
10140
11156
  undoRetainedFromVersion: number;
@@ -10144,7 +11160,7 @@ export interface ProjectOpenFileOutput {
10144
11160
  version: number;
10145
11161
  requestDigest: string;
10146
11162
  at: string;
10147
- kind: 'apply' | 'undo' | 'protect';
11163
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
10148
11164
  };
10149
11165
  witness?: {
10150
11166
  witnessId: string;
@@ -11086,7 +12102,7 @@ export interface SessionGrantInput {
11086
12102
  /**
11087
12103
  * @maxItems 64
11088
12104
  */
11089
- methods?: ('action.cancel' | 'action.export' | 'action.list' | 'action.lookup' | 'action.observe' | 'action.output' | 'action.retry' | 'action.submit' | 'agent.activity.capture' | 'agent.activity.outputs' | 'agent.activity.read' | 'agent.sessions.list' | 'agent.sessions.read' | 'annotation.create' | 'annotation.decide' | 'annotation.list' | 'annotation.read' | 'annotation.reply' | 'artifact.check' | 'binding.activity' | 'binding.activity.append' | 'binding.close' | 'binding.list' | 'binding.open' | 'capability.configure' | 'capability.index' | 'capability.list' | 'capability.resolve' | 'composition.apply' | 'composition.put' | 'composition.read' | 'composition.undo' | 'console.events' | 'console.list' | 'console.output' | 'console.run' | 'console.stop' | 'context.create' | 'context.read' | 'data.compare' | 'data.page' | 'data.plot' | 'document.abandonSave' | 'document.change.read' | 'document.edit' | 'document.history' | 'document.open' | 'document.read' | 'document.revert' | 'document.save' | 'document.undo' | 'document.undoOwn' | 'evidence.export' | 'evidence.preview' | 'extension.call' | 'extension.content' | 'extension.describe' | 'extension.install' | 'extension.list' | 'extension.manage' | 'extension.read' | 'feedback.read' | 'feedback.status' | 'feedback.submit' | 'interaction.selection.read' | 'interaction.selection.set' | 'kernel.events' | 'kernel.inspect' | 'kernel.interrupt' | 'kernel.place.check' | 'kernel.place.copy' | 'kernel.place.list' | 'kernel.place.set' | 'kernel.places' | 'kernel.plot' | 'kernel.read' | 'kernel.run' | 'kernel.server.skill' | 'kernel.servers' | 'kernel.stop' | 'media.describe' | 'object.read' | 'observation.snapshot' | 'project.entries' | 'protocol.describe' | 'protocol.validate' | 'requirements.check' | 'requirements.prepare' | 'resource.capture' | 'resource.list' | 'resource.read' | 'resource.register' | 'selection.set' | 'skill.list' | 'skill.read' | 'skills.change' | 'skills.list' | 'skills.read' | 'skills.undo' | 'task.map.declare' | 'task.map.present' | 'task.map.read' | 'task.map.respond' | 'task.routing.put' | 'view.close' | 'view.observations.read' | 'view.observe' | 'view.protection.set' | 'workspace.enhance' | 'workspace.export' | 'workspace.observe' | 'workspace.restore' | 'workspace.save')[];
12105
+ methods?: ('action.cancel' | 'action.export' | 'action.list' | 'action.lookup' | 'action.observe' | 'action.output' | 'action.retry' | 'action.submit' | 'agent.activity.capture' | 'agent.activity.outputs' | 'agent.activity.read' | 'agent.sessions.list' | 'agent.sessions.read' | 'annotation.create' | 'annotation.decide' | 'annotation.list' | 'annotation.read' | 'annotation.reply' | 'artifact.check' | 'binding.activity' | 'binding.activity.append' | 'binding.close' | 'binding.list' | 'binding.open' | 'capability.configure' | 'capability.index' | 'capability.list' | 'capability.resolve' | 'composition.apply' | 'composition.delete' | 'composition.put' | 'composition.read' | 'composition.undo' | 'console.events' | 'console.list' | 'console.output' | 'console.run' | 'console.stop' | 'context.create' | 'context.read' | 'data.compare' | 'data.page' | 'data.plot' | 'document.abandonSave' | 'document.change.read' | 'document.edit' | 'document.history' | 'document.open' | 'document.read' | 'document.revert' | 'document.save' | 'document.undo' | 'document.undoOwn' | 'evidence.export' | 'evidence.preview' | 'extension.call' | 'extension.content' | 'extension.describe' | 'extension.install' | 'extension.list' | 'extension.manage' | 'extension.market.change' | 'extension.read' | 'feedback.read' | 'feedback.status' | 'feedback.submit' | 'figure.read' | 'figure.select' | 'interaction.selection.read' | 'interaction.selection.set' | 'kernel.events' | 'kernel.inspect' | 'kernel.interrupt' | 'kernel.place.check' | 'kernel.place.copy' | 'kernel.place.list' | 'kernel.place.set' | 'kernel.places' | 'kernel.plot' | 'kernel.read' | 'kernel.run' | 'kernel.server.skill' | 'kernel.servers' | 'kernel.stop' | 'media.describe' | 'object.read' | 'observation.snapshot' | 'project.entries' | 'protocol.describe' | 'protocol.validate' | 'requirements.check' | 'requirements.prepare' | 'resource.capture' | 'resource.list' | 'resource.read' | 'resource.register' | 'selection.set' | 'skill.list' | 'skill.read' | 'skills.change' | 'skills.list' | 'skills.read' | 'skills.undo' | 'task.map.declare' | 'task.map.present' | 'task.map.read' | 'task.map.respond' | 'task.routing.put' | 'view.close' | 'view.observations.read' | 'view.observe' | 'view.protection.set' | 'workspace.enhance' | 'workspace.export' | 'workspace.observe' | 'workspace.restore' | 'workspace.save')[];
11090
12106
  profile?: 'layered-business' | 'layered-presentation';
11091
12107
  }
11092
12108
  export interface SessionGrantOutput {
@@ -11097,6 +12113,14 @@ export interface SessionGrantOutput {
11097
12113
  externalSessionId: string;
11098
12114
  profile?: 'layered-business' | 'layered-presentation';
11099
12115
  }
12116
+ export interface SessionInstructionsInput {
12117
+ projectId: string;
12118
+ }
12119
+ export interface SessionInstructionsOutput {
12120
+ request: string;
12121
+ prompt: string;
12122
+ command: string[];
12123
+ }
11100
12124
  export interface SkillListInput {
11101
12125
  projectId: string;
11102
12126
  }
@@ -12101,6 +13125,7 @@ export type ViewCloseOutput = {
12101
13125
  format: 'rho.composition/1';
12102
13126
  compositionId: string;
12103
13127
  rootId: string;
13128
+ deleted?: boolean;
12104
13129
  /**
12105
13130
  * @maxItems 256
12106
13131
  */
@@ -12237,6 +13262,7 @@ export type ViewCloseOutput = {
12237
13262
  protected?: boolean;
12238
13263
  kind: 'view';
12239
13264
  })[];
13265
+ deleted?: boolean;
12240
13266
  };
12241
13267
  }[];
12242
13268
  /**
@@ -12248,7 +13274,7 @@ export type ViewCloseOutput = {
12248
13274
  version: number;
12249
13275
  author: string;
12250
13276
  at: string;
12251
- kind?: 'apply' | 'undo' | 'protect' | 'close';
13277
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
12252
13278
  }[];
12253
13279
  retainedFromVersion: number;
12254
13280
  undoRetainedFromVersion: number;
@@ -12258,7 +13284,7 @@ export type ViewCloseOutput = {
12258
13284
  version: number;
12259
13285
  requestDigest: string;
12260
13286
  at: string;
12261
- kind: 'apply' | 'undo' | 'protect';
13287
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
12262
13288
  };
12263
13289
  witness?: {
12264
13290
  witnessId: string;
@@ -12464,6 +13490,7 @@ export interface ViewProtectionSetOutput {
12464
13490
  format: 'rho.composition/1';
12465
13491
  compositionId: string;
12466
13492
  rootId: string;
13493
+ deleted?: boolean;
12467
13494
  /**
12468
13495
  * @maxItems 256
12469
13496
  */
@@ -12600,6 +13627,7 @@ export interface ViewProtectionSetOutput {
12600
13627
  protected?: boolean;
12601
13628
  kind: 'view';
12602
13629
  })[];
13630
+ deleted?: boolean;
12603
13631
  };
12604
13632
  }[];
12605
13633
  /**
@@ -12611,7 +13639,7 @@ export interface ViewProtectionSetOutput {
12611
13639
  version: number;
12612
13640
  author: string;
12613
13641
  at: string;
12614
- kind?: 'apply' | 'undo' | 'protect' | 'close';
13642
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
12615
13643
  }[];
12616
13644
  retainedFromVersion: number;
12617
13645
  undoRetainedFromVersion: number;
@@ -12621,7 +13649,7 @@ export interface ViewProtectionSetOutput {
12621
13649
  version: number;
12622
13650
  requestDigest: string;
12623
13651
  at: string;
12624
- kind: 'apply' | 'undo' | 'protect';
13652
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
12625
13653
  };
12626
13654
  witness?: {
12627
13655
  witnessId: string;
@@ -13065,6 +14093,10 @@ export interface RhoOperations {
13065
14093
  input: CompositionApplyInput;
13066
14094
  output: CompositionApplyOutput;
13067
14095
  };
14096
+ "composition.delete": {
14097
+ input: CompositionDeleteInput;
14098
+ output: CompositionDeleteOutput;
14099
+ };
13068
14100
  "composition.put": {
13069
14101
  input: CompositionPutInput;
13070
14102
  output: CompositionPutOutput;
@@ -13105,6 +14137,14 @@ export interface RhoOperations {
13105
14137
  input: ContextReadInput;
13106
14138
  output: ContextReadOutput;
13107
14139
  };
14140
+ "conversation.agents.add": {
14141
+ input: ConversationAgentsAddInput;
14142
+ output: ConversationAgentsAddOutput;
14143
+ };
14144
+ "conversation.agents.remove": {
14145
+ input: ConversationAgentsRemoveInput;
14146
+ output: ConversationAgentsRemoveOutput;
14147
+ };
13108
14148
  "conversation.configure": {
13109
14149
  input: ConversationConfigureInput;
13110
14150
  output: ConversationConfigureOutput;
@@ -13245,6 +14285,10 @@ export interface RhoOperations {
13245
14285
  input: ExtensionManageInput;
13246
14286
  output: ExtensionManageOutput;
13247
14287
  };
14288
+ "extension.market.change": {
14289
+ input: ExtensionMarketChangeInput;
14290
+ output: ExtensionMarketChangeOutput;
14291
+ };
13248
14292
  "extension.read": {
13249
14293
  input: ExtensionReadInput;
13250
14294
  output: ExtensionReadOutput;
@@ -13261,6 +14305,14 @@ export interface RhoOperations {
13261
14305
  input: FeedbackSubmitInput;
13262
14306
  output: FeedbackSubmitOutput;
13263
14307
  };
14308
+ "figure.read": {
14309
+ input: FigureReadInput;
14310
+ output: FigureReadOutput;
14311
+ };
14312
+ "figure.select": {
14313
+ input: FigureSelectInput;
14314
+ output: FigureSelectOutput;
14315
+ };
13264
14316
  "interaction.selection.read": {
13265
14317
  input: InteractionSelectionReadInput;
13266
14318
  output: InteractionSelectionReadOutput;
@@ -13437,6 +14489,10 @@ export interface RhoOperations {
13437
14489
  input: SessionGrantInput;
13438
14490
  output: SessionGrantOutput;
13439
14491
  };
14492
+ "session.instructions": {
14493
+ input: SessionInstructionsInput;
14494
+ output: SessionInstructionsOutput;
14495
+ };
13440
14496
  "skill.list": {
13441
14497
  input: SkillListInput;
13442
14498
  output: SkillListOutput;
@@ -13522,5 +14578,5 @@ export type RhoMethod = keyof RhoOperations;
13522
14578
  export type RhoInput<M extends RhoMethod> = RhoOperations[M]['input'];
13523
14579
  export type RhoOutput<M extends RhoMethod> = RhoOperations[M]['output'];
13524
14580
  /** The names a caller may pass to protocol.describe / protocol.validate. */
13525
- export declare const rhoMethods: readonly ["action.cancel", "action.export", "action.list", "action.lookup", "action.observe", "action.output", "action.retry", "action.submit", "agent.activity.capture", "agent.activity.outputs", "agent.activity.read", "agent.sessions.list", "agent.sessions.read", "annotation.create", "annotation.decide", "annotation.list", "annotation.read", "annotation.reply", "artifact.check", "binding.activity", "binding.activity.append", "binding.close", "binding.list", "binding.open", "capability.configure", "capability.index", "capability.list", "capability.resolve", "composition.apply", "composition.put", "composition.read", "composition.undo", "console.events", "console.list", "console.output", "console.run", "console.stop", "context.create", "context.read", "conversation.configure", "conversation.decide", "conversation.delete", "conversation.list", "conversation.permission", "conversation.read", "conversation.restore", "conversation.send", "conversation.settings.check", "conversation.settings.read", "conversation.settings.update", "conversation.start", "conversation.stop", "conversation.trash", "data.compare", "data.page", "data.plot", "document.abandonSave", "document.change.read", "document.edit", "document.history", "document.open", "document.read", "document.revert", "document.save", "document.undo", "document.undoOwn", "evidence.export", "evidence.preview", "extension.call", "extension.content", "extension.describe", "extension.install", "extension.list", "extension.manage", "extension.read", "feedback.read", "feedback.status", "feedback.submit", "interaction.selection.read", "interaction.selection.set", "kernel.events", "kernel.inspect", "kernel.interrupt", "kernel.place.check", "kernel.place.copy", "kernel.place.list", "kernel.place.set", "kernel.places", "kernel.plot", "kernel.read", "kernel.run", "kernel.server.skill", "kernel.servers", "kernel.stop", "media.describe", "object.read", "observation.snapshot", "project.create", "project.createWorkspace", "project.doctor", "project.entries", "project.list", "project.open", "project.openFile", "project.pick", "project.runs", "project.source.add", "project.source.pick", "project.work.read", "protocol.describe", "protocol.validate", "requirements.check", "requirements.prepare", "resource.capture", "resource.list", "resource.read", "resource.register", "selection.set", "session.browser.pair", "session.browser.revoke", "session.connect", "session.grant", "skill.list", "skill.read", "skills.change", "skills.list", "skills.read", "skills.undo", "task.map.declare", "task.map.present", "task.map.read", "task.map.respond", "task.routing.put", "view.close", "view.observations.read", "view.observe", "view.protection.set", "workspace.enhance", "workspace.export", "workspace.observe", "workspace.restore", "workspace.save"];
14581
+ export declare const rhoMethods: readonly ["action.cancel", "action.export", "action.list", "action.lookup", "action.observe", "action.output", "action.retry", "action.submit", "agent.activity.capture", "agent.activity.outputs", "agent.activity.read", "agent.sessions.list", "agent.sessions.read", "annotation.create", "annotation.decide", "annotation.list", "annotation.read", "annotation.reply", "artifact.check", "binding.activity", "binding.activity.append", "binding.close", "binding.list", "binding.open", "capability.configure", "capability.index", "capability.list", "capability.resolve", "composition.apply", "composition.delete", "composition.put", "composition.read", "composition.undo", "console.events", "console.list", "console.output", "console.run", "console.stop", "context.create", "context.read", "conversation.agents.add", "conversation.agents.remove", "conversation.configure", "conversation.decide", "conversation.delete", "conversation.list", "conversation.permission", "conversation.read", "conversation.restore", "conversation.send", "conversation.settings.check", "conversation.settings.read", "conversation.settings.update", "conversation.start", "conversation.stop", "conversation.trash", "data.compare", "data.page", "data.plot", "document.abandonSave", "document.change.read", "document.edit", "document.history", "document.open", "document.read", "document.revert", "document.save", "document.undo", "document.undoOwn", "evidence.export", "evidence.preview", "extension.call", "extension.content", "extension.describe", "extension.install", "extension.list", "extension.manage", "extension.market.change", "extension.read", "feedback.read", "feedback.status", "feedback.submit", "figure.read", "figure.select", "interaction.selection.read", "interaction.selection.set", "kernel.events", "kernel.inspect", "kernel.interrupt", "kernel.place.check", "kernel.place.copy", "kernel.place.list", "kernel.place.set", "kernel.places", "kernel.plot", "kernel.read", "kernel.run", "kernel.server.skill", "kernel.servers", "kernel.stop", "media.describe", "object.read", "observation.snapshot", "project.create", "project.createWorkspace", "project.doctor", "project.entries", "project.list", "project.open", "project.openFile", "project.pick", "project.runs", "project.source.add", "project.source.pick", "project.work.read", "protocol.describe", "protocol.validate", "requirements.check", "requirements.prepare", "resource.capture", "resource.list", "resource.read", "resource.register", "selection.set", "session.browser.pair", "session.browser.revoke", "session.connect", "session.grant", "session.instructions", "skill.list", "skill.read", "skills.change", "skills.list", "skills.read", "skills.undo", "task.map.declare", "task.map.present", "task.map.read", "task.map.respond", "task.routing.put", "view.close", "view.observations.read", "view.observe", "view.protection.set", "workspace.enhance", "workspace.export", "workspace.observe", "workspace.restore", "workspace.save"];
13526
14582
  export type RhoInputFor<M extends RhoMethod> = RhoOperations[M]['input'];