@rho-workspace/rho 0.5.6 → 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 (211) hide show
  1. package/dist/agent-connect.d.ts +36 -2
  2. package/dist/agent-connect.js +64 -11
  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 +76 -11
  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 +1191 -278
  15. package/dist/contract.generated.js +1 -1
  16. package/dist/contracts/owners.generated.js +845 -47
  17. package/dist/conversation-presentation.d.ts +9 -2
  18. package/dist/conversation-presentation.js +3 -1
  19. package/dist/conversations.d.ts +154 -8
  20. package/dist/conversations.js +147 -24
  21. package/dist/discovery.js +2 -2
  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 +6 -0
  40. package/dist/protocol.js +30 -12
  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 +2 -0
  46. package/dist/server.js +71 -8
  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 +133 -74
  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-Trqc0swD.js → console-Dyuo1q4N.js} +4 -4
  60. package/dist/web/assets/{dist-pF902jHA.js → dist-CSiCyBml.js} +1 -1
  61. package/dist/web/assets/{dist-DpIHRk3B.js → dist-D9FLb9Hm.js} +1 -1
  62. package/dist/web/assets/{dist-eMx6b8N1.js → dist-FXbTBwML.js} +1 -1
  63. package/dist/web/assets/{dist-DZmszrjG.js → dist-l3DUhbw5.js} +1 -1
  64. package/dist/web/assets/{explore-in-BCHqjJ7B.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-DcVGUBBY.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-DYP0aCXb.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-1ec0Z-jx.js → skills-Dyz7mBlc.js} +1 -1
  85. package/dist/web/assets/{skills-work-DNexV4OJ.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-COmCbGV3.js → workspace-DfjBL--r.js} +2 -2
  90. package/dist/web/composition.json +138 -83
  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 +53 -11
  99. package/docs/HEADLESS.md +104 -11
  100. package/docs/THIRD-PARTY-PLUGINS.md +75 -3
  101. package/node_modules/@rho-workspace/plugin-agent/README.md +5 -0
  102. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +31 -0
  103. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +45 -10
  104. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +19 -3
  105. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +3 -2
  106. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +1 -1
  107. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +8 -0
  108. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +3 -2
  109. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.d.ts +13 -0
  110. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.js +13 -0
  111. package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +16 -8
  112. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +1 -1
  113. package/node_modules/@rho-workspace/plugin-agent/package.json +1 -1
  114. package/node_modules/@rho-workspace/plugin-figures/LICENSE +661 -0
  115. package/node_modules/@rho-workspace/plugin-figures/README.md +191 -0
  116. package/node_modules/@rho-workspace/plugin-figures/dist/index.d.ts +236 -0
  117. package/node_modules/@rho-workspace/plugin-figures/dist/index.js +165 -0
  118. package/node_modules/@rho-workspace/plugin-figures/dist/operations.d.ts +44 -0
  119. package/node_modules/@rho-workspace/plugin-figures/dist/operations.js +39 -0
  120. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.d.ts +19 -0
  121. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.js +26 -0
  122. package/node_modules/@rho-workspace/plugin-figures/dist/record.d.ts +188 -0
  123. package/node_modules/@rho-workspace/plugin-figures/dist/record.js +143 -0
  124. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.d.ts +1 -0
  125. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.js +68 -0
  126. package/node_modules/@rho-workspace/plugin-figures/dist/ui.d.ts +56 -0
  127. package/node_modules/@rho-workspace/plugin-figures/dist/ui.js +363 -0
  128. package/node_modules/@rho-workspace/plugin-figures/package.json +41 -0
  129. package/node_modules/@rho-workspace/plugin-figures/py/figures.py +856 -0
  130. package/node_modules/@rho-workspace/plugin-figures/r/figures.R +775 -0
  131. package/node_modules/@rho-workspace/plugin-kernel/README.md +27 -3
  132. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.d.ts +12 -0
  133. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +8 -1
  134. package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +61 -0
  135. package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +125 -9
  136. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.d.ts +14 -0
  137. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.js +9 -0
  138. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +23 -5
  139. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -1
  140. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +6 -4
  141. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +44 -17
  142. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +6 -0
  143. package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
  144. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +144 -4
  145. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +106 -1
  146. package/node_modules/@rho-workspace/plugin-tables/README.md +5 -0
  147. package/node_modules/@rho-workspace/plugin-tables/dist/index.d.ts +1 -0
  148. package/node_modules/@rho-workspace/plugin-tables/dist/index.js +19 -3
  149. package/node_modules/@rho-workspace/plugin-tables/dist/ui.js +1 -1
  150. package/node_modules/@rho-workspace/plugin-tables/package.json +1 -1
  151. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  152. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  153. package/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  154. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  155. package/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  156. package/node_modules/jose/package.json +1 -1
  157. package/package.json +6 -4
  158. package/protocol/index.json +91 -55
  159. package/protocol/operations/agent.sessions.list.json +13 -5
  160. package/protocol/operations/agent.sessions.read.json +13 -5
  161. package/protocol/operations/capability.list.json +382 -6
  162. package/protocol/operations/composition.apply.json +10 -2
  163. package/protocol/operations/composition.delete.json +845 -0
  164. package/protocol/operations/composition.read.json +10 -2
  165. package/protocol/operations/composition.undo.json +10 -2
  166. package/protocol/operations/conversation.agents.add.json +346 -0
  167. package/protocol/operations/conversation.agents.remove.json +340 -0
  168. package/protocol/operations/conversation.decide.json +196 -0
  169. package/protocol/operations/conversation.permission.json +196 -0
  170. package/protocol/operations/conversation.read.json +196 -0
  171. package/protocol/operations/conversation.send.json +265 -0
  172. package/protocol/operations/conversation.settings.check.json +213 -495
  173. package/protocol/operations/conversation.settings.read.json +211 -490
  174. package/protocol/operations/conversation.settings.update.json +235 -554
  175. package/protocol/operations/conversation.start.json +267 -5
  176. package/protocol/operations/conversation.stop.json +196 -0
  177. package/protocol/operations/extension.describe.json +39 -0
  178. package/protocol/operations/extension.install.json +62 -0
  179. package/protocol/operations/extension.list.json +164 -1
  180. package/protocol/operations/extension.market.change.json +210 -0
  181. package/protocol/operations/figure.read.json +265 -0
  182. package/protocol/operations/figure.select.json +157 -0
  183. package/protocol/operations/kernel.interrupt.json +119 -0
  184. package/protocol/operations/kernel.read.json +119 -0
  185. package/protocol/operations/kernel.run.json +119 -0
  186. package/protocol/operations/observation.snapshot.json +416 -8
  187. package/protocol/operations/project.openFile.json +10 -2
  188. package/protocol/operations/session.grant.json +4 -0
  189. package/protocol/operations/shared.json +1 -0
  190. package/protocol/operations/view.close.json +10 -2
  191. package/protocol/operations/view.protection.set.json +10 -2
  192. package/vendor/composition.json +177 -112
  193. package/vendor/rho-workspace-plugin-agent-0.4.33.tgz +0 -0
  194. package/vendor/rho-workspace-plugin-figures-0.5.1.tgz +0 -0
  195. package/vendor/rho-workspace-plugin-kernel-0.5.13.tgz +0 -0
  196. package/vendor/rho-workspace-plugin-tables-0.5.2.tgz +0 -0
  197. package/web/theme.css +5 -0
  198. package/dist/web/assets/answer-board-CBkGbSLD.js +0 -1
  199. package/dist/web/assets/canvas-D8rDdfDz.js +0 -1
  200. package/dist/web/assets/choices-D-YfnFP6.js +0 -1
  201. package/dist/web/assets/graph-lENgfQNH.js +0 -2
  202. package/dist/web/assets/index-B3_OVy91.css +0 -1
  203. package/dist/web/assets/index-BpL_Kl_s.js +0 -892
  204. package/dist/web/assets/overview-CDnVKlOt.js +0 -6
  205. package/dist/web/assets/preview-BEC1E9MK.js +0 -1
  206. package/dist/web/assets/studio-process-EYQgikxq.js +0 -2
  207. package/dist/web/assets/timeline-events-Chj2Gbx7.js +0 -1
  208. package/dist/web/assets/work-turns-CT9RVcWY.js +0 -1
  209. package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
  210. package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
  211. package/vendor/rho-workspace-plugin-tables-0.5.0.tgz +0 -0
@@ -1919,7 +1919,7 @@ export interface AgentSessionsListOutput {
1919
1919
  */
1920
1920
  sessions: {
1921
1921
  bytes?: number;
1922
- continueWith?: 'claude-acp' | 'codex-acp' | 'acp' | null;
1922
+ continueWith?: ('claude-acp' | 'codex-acp' | 'acp' | null) | string;
1923
1923
  conversationId?: string;
1924
1924
  id: string;
1925
1925
  inputOwner?: 'external';
@@ -1952,7 +1952,7 @@ export interface AgentSessionsReadOutput {
1952
1952
  first: number;
1953
1953
  session: {
1954
1954
  bytes?: number;
1955
- continueWith?: 'claude-acp' | 'codex-acp' | 'acp' | null;
1955
+ continueWith?: ('claude-acp' | 'codex-acp' | 'acp' | null) | string;
1956
1956
  conversationId?: string;
1957
1957
  id: string;
1958
1958
  inputOwner?: 'external';
@@ -3244,6 +3244,7 @@ export interface CapabilityListOutput {
3244
3244
  id: string;
3245
3245
  package: string;
3246
3246
  version?: string;
3247
+ packageVersion?: string;
3247
3248
  requires?: string[];
3248
3249
  selected: boolean;
3249
3250
  packagePresent: boolean;
@@ -3269,12 +3270,52 @@ export interface CapabilityListOutput {
3269
3270
  readOnly?: boolean;
3270
3271
  runsCode?: boolean;
3271
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
+ };
3272
3310
  }[];
3273
3311
  /**
3274
3312
  * @maxItems 64
3275
3313
  */
3276
3314
  actions?: {
3277
- presentation: {
3315
+ id?: string;
3316
+ version?: string;
3317
+ requires?: string[];
3318
+ presentation?: {
3278
3319
  displayName?: string;
3279
3320
  description?: string;
3280
3321
  order?: number;
@@ -3289,6 +3330,9 @@ export interface CapabilityListOutput {
3289
3330
  id: string;
3290
3331
  version: string;
3291
3332
  ui: string;
3333
+ bindings?: {
3334
+ [k: string]: string;
3335
+ };
3292
3336
  presentation?: {
3293
3337
  displayName?: string;
3294
3338
  description?: string;
@@ -3297,6 +3341,41 @@ export interface CapabilityListOutput {
3297
3341
  runsCode?: boolean;
3298
3342
  };
3299
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
+ };
3300
3379
  };
3301
3380
  presentation?: {
3302
3381
  displayName?: string;
@@ -3362,6 +3441,9 @@ export interface CapabilityListOutput {
3362
3441
  operations: {
3363
3442
  method: string;
3364
3443
  owner?: string;
3444
+ effect?: string;
3445
+ inputSchema?: {};
3446
+ outputSchema?: {};
3365
3447
  packagePresent?: boolean;
3366
3448
  projectEnabled?: boolean;
3367
3449
  dependenciesSatisfied?: boolean;
@@ -3422,6 +3504,8 @@ export interface CapabilityListOutput {
3422
3504
  owner?: string;
3423
3505
  pluginId?: string;
3424
3506
  ui: string;
3507
+ uiPackage?: string;
3508
+ uiPackageVersion?: string;
3425
3509
  bindings: {
3426
3510
  [k: string]: string;
3427
3511
  };
@@ -3442,7 +3526,6 @@ export interface CapabilityListOutput {
3442
3526
  id: string;
3443
3527
  version: string;
3444
3528
  digest: string;
3445
- content?: string;
3446
3529
  presentation?: {
3447
3530
  displayName?: string;
3448
3531
  description?: string;
@@ -3450,6 +3533,29 @@ export interface CapabilityListOutput {
3450
3533
  readOnly?: boolean;
3451
3534
  runsCode?: boolean;
3452
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;
3453
3559
  }[];
3454
3560
  agent?: {};
3455
3561
  host: {
@@ -3638,6 +3744,7 @@ export interface CompositionApplyOutput {
3638
3744
  format: 'rho.composition/1';
3639
3745
  compositionId: string;
3640
3746
  rootId: string;
3747
+ deleted?: boolean;
3641
3748
  /**
3642
3749
  * @maxItems 256
3643
3750
  */
@@ -3774,6 +3881,7 @@ export interface CompositionApplyOutput {
3774
3881
  protected?: boolean;
3775
3882
  kind: 'view';
3776
3883
  })[];
3884
+ deleted?: boolean;
3777
3885
  };
3778
3886
  }[];
3779
3887
  /**
@@ -3785,7 +3893,7 @@ export interface CompositionApplyOutput {
3785
3893
  version: number;
3786
3894
  author: string;
3787
3895
  at: string;
3788
- kind?: 'apply' | 'undo' | 'protect' | 'close';
3896
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
3789
3897
  }[];
3790
3898
  retainedFromVersion: number;
3791
3899
  undoRetainedFromVersion: number;
@@ -3795,7 +3903,211 @@ export interface CompositionApplyOutput {
3795
3903
  version: number;
3796
3904
  requestDigest: string;
3797
3905
  at: string;
3798
- kind: 'apply' | 'undo' | 'protect';
3906
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
3907
+ };
3908
+ witness?: {
3909
+ witnessId: string;
3910
+ projectId: string;
3911
+ taskId: string;
3912
+ compositionId: string;
3913
+ compositionVersion: number;
3914
+ sourceEvent?: {
3915
+ [k: string]: unknown;
3916
+ };
3917
+ policyRef?: string;
3918
+ /**
3919
+ * @maxItems 32
3920
+ */
3921
+ views: {
3922
+ viewId: string;
3923
+ component?: string;
3924
+ componentVersion?: string;
3925
+ resource: {
3926
+ id: string;
3927
+ version: string;
3928
+ };
3929
+ }[];
3930
+ dataValidation?: {
3931
+ integrity: 'hash-verified';
3932
+ shape: 'typed-table-read';
3933
+ domain: 'not-judged';
3934
+ };
3935
+ at?: string;
3936
+ } | null;
3937
+ witnessState?: 'retained' | 'expired' | 'pending';
3938
+ commitVersion?: number;
3939
+ currentVersion?: number;
3940
+ }
3941
+ export interface CompositionDeleteInput {
3942
+ projectId: string;
3943
+ compositionId: string;
3944
+ expectedVersion: number;
3945
+ changeId: string;
3946
+ }
3947
+ export interface CompositionDeleteOutput {
3948
+ format: 'rho.composition/1';
3949
+ compositionId: string;
3950
+ rootId: string;
3951
+ deleted?: boolean;
3952
+ /**
3953
+ * @maxItems 256
3954
+ */
3955
+ nodes: ({
3956
+ id: string;
3957
+ kind: 'group';
3958
+ /**
3959
+ * @maxItems 256
3960
+ */
3961
+ children: string[];
3962
+ presentation?: {
3963
+ mode: 'tabs' | 'split';
3964
+ axis?: 'horizontal' | 'vertical';
3965
+ /**
3966
+ * @maxItems 32
3967
+ */
3968
+ weights?: number[];
3969
+ };
3970
+ } | {
3971
+ id: string;
3972
+ component: string;
3973
+ version: string;
3974
+ props: {};
3975
+ bindings: {
3976
+ [k: string]: {
3977
+ id: string;
3978
+ version: string;
3979
+ } | {
3980
+ documentId: string;
3981
+ version: number;
3982
+ } | {
3983
+ kind: 'live-document';
3984
+ documentId: string;
3985
+ };
3986
+ };
3987
+ /**
3988
+ * @maxItems 1000
3989
+ */
3990
+ selection?: string[];
3991
+ presentation?: {
3992
+ emphasis: 'normal' | 'highlight';
3993
+ };
3994
+ protected?: boolean;
3995
+ kind: 'view';
3996
+ })[];
3997
+ /**
3998
+ * @maxItems 32
3999
+ */
4000
+ views: {
4001
+ id: string;
4002
+ component: string;
4003
+ version: string;
4004
+ props: {};
4005
+ bindings: {
4006
+ [k: string]: {
4007
+ id: string;
4008
+ version: string;
4009
+ } | {
4010
+ documentId: string;
4011
+ version: number;
4012
+ } | {
4013
+ kind: 'live-document';
4014
+ documentId: string;
4015
+ };
4016
+ };
4017
+ /**
4018
+ * @maxItems 1000
4019
+ */
4020
+ selection?: string[];
4021
+ presentation?: {
4022
+ emphasis: 'normal' | 'highlight';
4023
+ };
4024
+ protected?: boolean;
4025
+ }[];
4026
+ availability: {
4027
+ [k: string]: {
4028
+ state: 'entry-installed' | 'unavailable';
4029
+ visibility?: 'unobserved';
4030
+ reason?: string;
4031
+ };
4032
+ };
4033
+ version: number;
4034
+ author: string;
4035
+ acknowledgedAt: string;
4036
+ /**
4037
+ * @maxItems 256
4038
+ */
4039
+ history: {
4040
+ version: number;
4041
+ snapshot: {
4042
+ rootId: string;
4043
+ /**
4044
+ * @maxItems 256
4045
+ */
4046
+ nodes: ({
4047
+ id: string;
4048
+ kind: 'group';
4049
+ /**
4050
+ * @maxItems 256
4051
+ */
4052
+ children: string[];
4053
+ presentation?: {
4054
+ mode: 'tabs' | 'split';
4055
+ axis?: 'horizontal' | 'vertical';
4056
+ /**
4057
+ * @maxItems 32
4058
+ */
4059
+ weights?: number[];
4060
+ };
4061
+ } | {
4062
+ id: string;
4063
+ component: string;
4064
+ version: string;
4065
+ props: {};
4066
+ bindings: {
4067
+ [k: string]: {
4068
+ id: string;
4069
+ version: string;
4070
+ } | {
4071
+ documentId: string;
4072
+ version: number;
4073
+ } | {
4074
+ kind: 'live-document';
4075
+ documentId: string;
4076
+ };
4077
+ };
4078
+ /**
4079
+ * @maxItems 1000
4080
+ */
4081
+ selection?: string[];
4082
+ presentation?: {
4083
+ emphasis: 'normal' | 'highlight';
4084
+ };
4085
+ protected?: boolean;
4086
+ kind: 'view';
4087
+ })[];
4088
+ deleted?: boolean;
4089
+ };
4090
+ }[];
4091
+ /**
4092
+ * @maxItems 256
4093
+ */
4094
+ receipts: {
4095
+ changeId: string;
4096
+ requestDigest?: string;
4097
+ version: number;
4098
+ author: string;
4099
+ at: string;
4100
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4101
+ }[];
4102
+ retainedFromVersion: number;
4103
+ undoRetainedFromVersion: number;
4104
+ receipt: {
4105
+ changeId: string;
4106
+ author: string;
4107
+ version: number;
4108
+ requestDigest: string;
4109
+ at: string;
4110
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
3799
4111
  };
3800
4112
  witness?: {
3801
4113
  witnessId: string;
@@ -3942,6 +4254,7 @@ export type CompositionReadOutput = {
3942
4254
  format: 'rho.composition/1';
3943
4255
  compositionId: string;
3944
4256
  rootId: string;
4257
+ deleted?: boolean;
3945
4258
  /**
3946
4259
  * @maxItems 256
3947
4260
  */
@@ -4078,6 +4391,7 @@ export type CompositionReadOutput = {
4078
4391
  protected?: boolean;
4079
4392
  kind: 'view';
4080
4393
  })[];
4394
+ deleted?: boolean;
4081
4395
  };
4082
4396
  }[];
4083
4397
  /**
@@ -4089,7 +4403,7 @@ export type CompositionReadOutput = {
4089
4403
  version: number;
4090
4404
  author: string;
4091
4405
  at: string;
4092
- kind?: 'apply' | 'undo' | 'protect' | 'close';
4406
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4093
4407
  }[];
4094
4408
  retainedFromVersion: number;
4095
4409
  undoRetainedFromVersion: number;
@@ -4099,7 +4413,7 @@ export type CompositionReadOutput = {
4099
4413
  version: number;
4100
4414
  requestDigest: string;
4101
4415
  at: string;
4102
- kind: 'apply' | 'undo' | 'protect';
4416
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
4103
4417
  };
4104
4418
  witness?: {
4105
4419
  witnessId: string;
@@ -4144,6 +4458,7 @@ export interface CompositionUndoOutput {
4144
4458
  format: 'rho.composition/1';
4145
4459
  compositionId: string;
4146
4460
  rootId: string;
4461
+ deleted?: boolean;
4147
4462
  /**
4148
4463
  * @maxItems 256
4149
4464
  */
@@ -4280,6 +4595,7 @@ export interface CompositionUndoOutput {
4280
4595
  protected?: boolean;
4281
4596
  kind: 'view';
4282
4597
  })[];
4598
+ deleted?: boolean;
4283
4599
  };
4284
4600
  }[];
4285
4601
  /**
@@ -4291,7 +4607,7 @@ export interface CompositionUndoOutput {
4291
4607
  version: number;
4292
4608
  author: string;
4293
4609
  at: string;
4294
- kind?: 'apply' | 'undo' | 'protect' | 'close';
4610
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
4295
4611
  }[];
4296
4612
  retainedFromVersion: number;
4297
4613
  undoRetainedFromVersion: number;
@@ -4301,7 +4617,7 @@ export interface CompositionUndoOutput {
4301
4617
  version: number;
4302
4618
  requestDigest: string;
4303
4619
  at: string;
4304
- kind: 'apply' | 'undo' | 'protect';
4620
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
4305
4621
  };
4306
4622
  witness?: {
4307
4623
  witnessId: string;
@@ -4660,6 +4976,140 @@ export interface ContextReadOutput {
4660
4976
  data: string;
4661
4977
  };
4662
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
+ }
4663
5113
  export interface ConversationConfigureInput {
4664
5114
  projectId: string;
4665
5115
  conversationId: string;
@@ -4912,6 +5362,41 @@ export interface ConversationDecideOutput {
4912
5362
  snapshots: number;
4913
5363
  };
4914
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
+ };
4915
5400
  descriptions?: {
4916
5401
  path: string;
4917
5402
  version: string;
@@ -5181,6 +5666,41 @@ export interface ConversationPermissionOutput {
5181
5666
  snapshots: number;
5182
5667
  };
5183
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
+ };
5184
5704
  descriptions?: {
5185
5705
  path: string;
5186
5706
  version: string;
@@ -5479,6 +5999,41 @@ export interface ConversationReadOutput {
5479
5999
  snapshots: number;
5480
6000
  };
5481
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
+ };
5482
6037
  descriptions?: {
5483
6038
  path: string;
5484
6039
  version: string;
@@ -5629,6 +6184,20 @@ export interface ConversationSendInput {
5629
6184
  * @maxItems 8
5630
6185
  */
5631
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
+ };
5632
6201
  continuationOf?: string;
5633
6202
  }
5634
6203
  export interface ConversationSendOutput {
@@ -5741,6 +6310,41 @@ export interface ConversationSendOutput {
5741
6310
  snapshots: number;
5742
6311
  };
5743
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
+ };
5744
6348
  descriptions?: {
5745
6349
  path: string;
5746
6350
  version: string;
@@ -5838,78 +6442,20 @@ export interface ConversationSendOutput {
5838
6442
  }
5839
6443
  export interface ConversationSettingsCheckInput {
5840
6444
  projectId: string;
5841
- backend: 'claude-acp' | 'codex-acp' | 'acp';
6445
+ backend: string;
5842
6446
  }
5843
6447
  export interface ConversationSettingsCheckOutput {
5844
6448
  version: number;
5845
6449
  updatedAt: string | null;
5846
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6450
+ backend: string | null;
5847
6451
  serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
5848
6452
  choices: {
5849
- 'claude-acp'?: {
5850
- [k: string]: string | boolean;
5851
- };
5852
- 'codex-acp'?: {
5853
- [k: string]: string | boolean;
5854
- };
5855
- acp?: {
6453
+ [k: string]: {
5856
6454
  [k: string]: string | boolean;
5857
6455
  };
5858
6456
  };
5859
6457
  offered: {
5860
- 'claude-acp'?: {
5861
- at: string;
5862
- source: 'check' | 'conversation';
5863
- adapter: {
5864
- name: string;
5865
- version?: string;
5866
- } | null;
5867
- options: {
5868
- category?: string;
5869
- current: string | boolean;
5870
- description?: string;
5871
- id: string;
5872
- name: string;
5873
- type: 'select' | 'boolean';
5874
- /**
5875
- * @maxItems 256
5876
- */
5877
- values?: {
5878
- description?: string;
5879
- group?: string;
5880
- name: string;
5881
- value: string;
5882
- }[];
5883
- }[];
5884
- omitted: number;
5885
- };
5886
- 'codex-acp'?: {
5887
- at: string;
5888
- source: 'check' | 'conversation';
5889
- adapter: {
5890
- name: string;
5891
- version?: string;
5892
- } | null;
5893
- options: {
5894
- category?: string;
5895
- current: string | boolean;
5896
- description?: string;
5897
- id: string;
5898
- name: string;
5899
- type: 'select' | 'boolean';
5900
- /**
5901
- * @maxItems 256
5902
- */
5903
- values?: {
5904
- description?: string;
5905
- group?: string;
5906
- name: string;
5907
- value: string;
5908
- }[];
5909
- }[];
5910
- omitted: number;
5911
- };
5912
- acp?: {
6458
+ [k: string]: {
5913
6459
  at: string;
5914
6460
  source: 'check' | 'conversation';
5915
6461
  adapter: {
@@ -5936,27 +6482,28 @@ export interface ConversationSettingsCheckOutput {
5936
6482
  omitted: number;
5937
6483
  };
5938
6484
  };
5939
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
6485
+ checking: string[];
5940
6486
  describe?: {
5941
6487
  enabled: boolean;
5942
6488
  };
5943
6489
  agents?: {
5944
- 'claude-acp': {
5945
- found: boolean;
5946
- problem?: string;
5947
- name?: string | null;
5948
- };
5949
- 'codex-acp': {
5950
- found: boolean;
5951
- problem?: string;
5952
- name?: string | null;
5953
- };
5954
- acp: {
6490
+ [k: string]: {
5955
6491
  found: boolean;
5956
6492
  problem?: string;
5957
6493
  name?: string | null;
5958
6494
  };
5959
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
+ }[];
5960
6507
  }
5961
6508
  export interface ConversationSettingsReadInput {
5962
6509
  projectId: string;
@@ -5964,73 +6511,15 @@ export interface ConversationSettingsReadInput {
5964
6511
  export interface ConversationSettingsReadOutput {
5965
6512
  version: number;
5966
6513
  updatedAt: string | null;
5967
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6514
+ backend: string | null;
5968
6515
  serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
5969
6516
  choices: {
5970
- 'claude-acp'?: {
5971
- [k: string]: string | boolean;
5972
- };
5973
- 'codex-acp'?: {
5974
- [k: string]: string | boolean;
5975
- };
5976
- acp?: {
6517
+ [k: string]: {
5977
6518
  [k: string]: string | boolean;
5978
6519
  };
5979
6520
  };
5980
6521
  offered: {
5981
- 'claude-acp'?: {
5982
- at: string;
5983
- source: 'check' | 'conversation';
5984
- adapter: {
5985
- name: string;
5986
- version?: string;
5987
- } | null;
5988
- options: {
5989
- category?: string;
5990
- current: string | boolean;
5991
- description?: string;
5992
- id: string;
5993
- name: string;
5994
- type: 'select' | 'boolean';
5995
- /**
5996
- * @maxItems 256
5997
- */
5998
- values?: {
5999
- description?: string;
6000
- group?: string;
6001
- name: string;
6002
- value: string;
6003
- }[];
6004
- }[];
6005
- omitted: number;
6006
- };
6007
- 'codex-acp'?: {
6008
- at: string;
6009
- source: 'check' | 'conversation';
6010
- adapter: {
6011
- name: string;
6012
- version?: string;
6013
- } | null;
6014
- options: {
6015
- category?: string;
6016
- current: string | boolean;
6017
- description?: string;
6018
- id: string;
6019
- name: string;
6020
- type: 'select' | 'boolean';
6021
- /**
6022
- * @maxItems 256
6023
- */
6024
- values?: {
6025
- description?: string;
6026
- group?: string;
6027
- name: string;
6028
- value: string;
6029
- }[];
6030
- }[];
6031
- omitted: number;
6032
- };
6033
- acp?: {
6522
+ [k: string]: {
6034
6523
  at: string;
6035
6524
  source: 'check' | 'conversation';
6036
6525
  adapter: {
@@ -6057,117 +6546,54 @@ export interface ConversationSettingsReadOutput {
6057
6546
  omitted: number;
6058
6547
  };
6059
6548
  };
6060
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
6061
- describe?: {
6062
- enabled: boolean;
6063
- };
6064
- agents?: {
6065
- 'claude-acp': {
6066
- found: boolean;
6067
- problem?: string;
6068
- name?: string | null;
6069
- };
6070
- 'codex-acp': {
6071
- found: boolean;
6072
- problem?: string;
6073
- name?: string | null;
6074
- };
6075
- acp: {
6076
- found: boolean;
6077
- problem?: string;
6078
- name?: string | null;
6079
- };
6080
- };
6081
- }
6082
- export interface ConversationSettingsUpdateInput {
6083
- projectId: string;
6084
- expectedVersion: number;
6085
- backend?: ('claude-acp' | 'codex-acp' | 'acp') | null;
6086
- choices?: {
6087
- 'claude-acp'?: {
6088
- [k: string]: string | boolean;
6089
- };
6090
- 'codex-acp'?: {
6091
- [k: string]: string | boolean;
6092
- };
6093
- acp?: {
6094
- [k: string]: string | boolean;
6095
- };
6096
- };
6549
+ checking: string[];
6097
6550
  describe?: {
6098
6551
  enabled: boolean;
6099
- };
6100
- }
6101
- export interface ConversationSettingsUpdateOutput {
6102
- version: number;
6103
- updatedAt: string | null;
6104
- backend: ('claude-acp' | 'codex-acp' | 'acp') | null;
6105
- serviceBackend: 'claude-acp' | 'codex-acp' | 'claude-cli' | 'acp';
6106
- choices: {
6107
- 'claude-acp'?: {
6108
- [k: string]: string | boolean;
6109
- };
6110
- 'codex-acp'?: {
6111
- [k: string]: string | boolean;
6112
- };
6113
- acp?: {
6114
- [k: string]: string | boolean;
6115
- };
6116
- };
6117
- offered: {
6118
- 'claude-acp'?: {
6119
- at: string;
6120
- source: 'check' | 'conversation';
6121
- adapter: {
6122
- name: string;
6123
- version?: string;
6124
- } | null;
6125
- options: {
6126
- category?: string;
6127
- current: string | boolean;
6128
- description?: string;
6129
- id: string;
6130
- name: string;
6131
- type: 'select' | 'boolean';
6132
- /**
6133
- * @maxItems 256
6134
- */
6135
- values?: {
6136
- description?: string;
6137
- group?: string;
6138
- name: string;
6139
- value: string;
6140
- }[];
6141
- }[];
6142
- omitted: number;
6143
- };
6144
- 'codex-acp'?: {
6145
- at: string;
6146
- source: 'check' | 'conversation';
6147
- adapter: {
6148
- name: string;
6149
- version?: string;
6150
- } | null;
6151
- options: {
6152
- category?: string;
6153
- current: string | boolean;
6154
- description?: string;
6155
- id: string;
6156
- name: string;
6157
- type: 'select' | 'boolean';
6158
- /**
6159
- * @maxItems 256
6160
- */
6161
- values?: {
6162
- description?: string;
6163
- group?: string;
6164
- name: string;
6165
- value: string;
6166
- }[];
6167
- }[];
6168
- omitted: number;
6552
+ };
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;
6579
+ };
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;
6169
6593
  };
6170
- acp?: {
6594
+ };
6595
+ offered: {
6596
+ [k: string]: {
6171
6597
  at: string;
6172
6598
  source: 'check' | 'conversation';
6173
6599
  adapter: {
@@ -6194,33 +6620,34 @@ export interface ConversationSettingsUpdateOutput {
6194
6620
  omitted: number;
6195
6621
  };
6196
6622
  };
6197
- checking: ('claude-acp' | 'codex-acp' | 'acp')[];
6623
+ checking: string[];
6198
6624
  describe?: {
6199
6625
  enabled: boolean;
6200
6626
  };
6201
6627
  agents?: {
6202
- 'claude-acp': {
6203
- found: boolean;
6204
- problem?: string;
6205
- name?: string | null;
6206
- };
6207
- 'codex-acp': {
6208
- found: boolean;
6209
- problem?: string;
6210
- name?: string | null;
6211
- };
6212
- acp: {
6628
+ [k: string]: {
6213
6629
  found: boolean;
6214
6630
  problem?: string;
6215
6631
  name?: string | null;
6216
6632
  };
6217
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
+ }[];
6218
6645
  }
6219
6646
  export interface ConversationStartInput {
6220
6647
  projectId: string;
6221
6648
  changeId: string;
6222
6649
  text: string;
6223
- backend?: 'claude-acp' | 'codex-acp' | 'acp';
6650
+ backend?: string;
6224
6651
  config?: {
6225
6652
  [k: string]: string | boolean;
6226
6653
  };
@@ -6228,6 +6655,20 @@ export interface ConversationStartInput {
6228
6655
  * @maxItems 8
6229
6656
  */
6230
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
+ };
6231
6672
  continue?: {
6232
6673
  session: string;
6233
6674
  copy?: boolean;
@@ -6343,6 +6784,41 @@ export interface ConversationStartOutput {
6343
6784
  snapshots: number;
6344
6785
  };
6345
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
+ };
6346
6822
  descriptions?: {
6347
6823
  path: string;
6348
6824
  version: string;
@@ -6553,6 +7029,41 @@ export interface ConversationStopOutput {
6553
7029
  snapshots: number;
6554
7030
  };
6555
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
+ };
6556
7067
  descriptions?: {
6557
7068
  path: string;
6558
7069
  version: string;
@@ -7596,6 +8107,16 @@ export interface ExtensionDescribeOutput {
7596
8107
  digest: string;
7597
8108
  source: string;
7598
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
+ };
7599
8120
  enabled: boolean;
7600
8121
  installedAt: string;
7601
8122
  manifest: {
@@ -7630,6 +8151,11 @@ export interface ExtensionInstallInput {
7630
8151
  source: string;
7631
8152
  replace?: string;
7632
8153
  expectedDigest?: string;
8154
+ market?: {
8155
+ id: string;
8156
+ expectedDigest: string;
8157
+ pluginId: string;
8158
+ };
7633
8159
  }
7634
8160
  export interface ExtensionInstallOutput {
7635
8161
  id: string;
@@ -7640,6 +8166,16 @@ export interface ExtensionInstallOutput {
7640
8166
  digest: string;
7641
8167
  source: string;
7642
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
+ };
7643
8179
  enabled: boolean;
7644
8180
  installedAt: string;
7645
8181
  manifest: {
@@ -7683,6 +8219,16 @@ export interface ExtensionListOutput {
7683
8219
  digest: string;
7684
8220
  source: string;
7685
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
+ };
7686
8232
  enabled: boolean;
7687
8233
  installedAt: string;
7688
8234
  }[];
@@ -7695,6 +8241,29 @@ export interface ExtensionListOutput {
7695
8241
  repository: string;
7696
8242
  needs: string;
7697
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
+ }[];
7698
8267
  limits: {
7699
8268
  [k: string]: unknown;
7700
8269
  };
@@ -7709,6 +8278,44 @@ export interface ExtensionManageOutput {
7709
8278
  action: 'enable' | 'disable' | 'remove';
7710
8279
  retained: string;
7711
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
+ }
7712
8319
  export interface ExtensionReadInput {
7713
8320
  projectId: string;
7714
8321
  invocationId: string;
@@ -7983,6 +8590,92 @@ export interface FeedbackSubmitOutput {
7983
8590
  };
7984
8591
  submissionId: string;
7985
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
+ }
7986
8679
  export interface InteractionSelectionReadInput {
7987
8680
  projectId: string;
7988
8681
  scope: {
@@ -8240,6 +8933,16 @@ export interface KernelInterruptOutput {
8240
8933
  language: 'r' | 'python';
8241
8934
  number: number;
8242
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;
8243
8946
  height?: number;
8244
8947
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8245
8948
  plot?: number;
@@ -8251,6 +8954,22 @@ export interface KernelInterruptOutput {
8251
8954
  purpose: string | null;
8252
8955
  queuedAt: string;
8253
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
+ }[];
8254
8973
  sessionId: string;
8255
8974
  startedAt: string | null;
8256
8975
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8452,6 +9171,16 @@ export interface KernelReadOutput {
8452
9171
  language: 'r' | 'python';
8453
9172
  number: number;
8454
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;
8455
9184
  height?: number;
8456
9185
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8457
9186
  plot?: number;
@@ -8463,6 +9192,22 @@ export interface KernelReadOutput {
8463
9192
  purpose: string | null;
8464
9193
  queuedAt: string;
8465
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
+ }[];
8466
9211
  sessionId: string;
8467
9212
  startedAt: string | null;
8468
9213
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8537,6 +9282,16 @@ export interface KernelRunOutput {
8537
9282
  language: 'r' | 'python';
8538
9283
  number: number;
8539
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;
8540
9295
  height?: number;
8541
9296
  kind: 'stdout' | 'stderr' | 'warning' | 'error' | 'plot';
8542
9297
  plot?: number;
@@ -8548,6 +9303,22 @@ export interface KernelRunOutput {
8548
9303
  purpose: string | null;
8549
9304
  queuedAt: string;
8550
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
+ }[];
8551
9322
  sessionId: string;
8552
9323
  startedAt: string | null;
8553
9324
  state: 'queued' | 'running' | 'done' | 'error' | 'interrupted' | 'not-run' | 'unknown';
@@ -8786,6 +9557,7 @@ export interface ObservationSnapshotOutput {
8786
9557
  id: string;
8787
9558
  package: string;
8788
9559
  version?: string;
9560
+ packageVersion?: string;
8789
9561
  requires?: string[];
8790
9562
  selected: boolean;
8791
9563
  packagePresent: boolean;
@@ -8811,12 +9583,52 @@ export interface ObservationSnapshotOutput {
8811
9583
  readOnly?: boolean;
8812
9584
  runsCode?: boolean;
8813
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
+ };
8814
9623
  }[];
8815
9624
  /**
8816
9625
  * @maxItems 64
8817
9626
  */
8818
9627
  actions?: {
8819
- presentation: {
9628
+ id?: string;
9629
+ version?: string;
9630
+ requires?: string[];
9631
+ presentation?: {
8820
9632
  displayName?: string;
8821
9633
  description?: string;
8822
9634
  order?: number;
@@ -8831,6 +9643,9 @@ export interface ObservationSnapshotOutput {
8831
9643
  id: string;
8832
9644
  version: string;
8833
9645
  ui: string;
9646
+ bindings?: {
9647
+ [k: string]: string;
9648
+ };
8834
9649
  presentation?: {
8835
9650
  displayName?: string;
8836
9651
  description?: string;
@@ -8839,6 +9654,41 @@ export interface ObservationSnapshotOutput {
8839
9654
  runsCode?: boolean;
8840
9655
  };
8841
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
+ };
8842
9692
  };
8843
9693
  presentation?: {
8844
9694
  displayName?: string;
@@ -8904,6 +9754,9 @@ export interface ObservationSnapshotOutput {
8904
9754
  operations: {
8905
9755
  method: string;
8906
9756
  owner?: string;
9757
+ effect?: string;
9758
+ inputSchema?: {};
9759
+ outputSchema?: {};
8907
9760
  packagePresent?: boolean;
8908
9761
  projectEnabled?: boolean;
8909
9762
  dependenciesSatisfied?: boolean;
@@ -8964,6 +9817,8 @@ export interface ObservationSnapshotOutput {
8964
9817
  owner?: string;
8965
9818
  pluginId?: string;
8966
9819
  ui: string;
9820
+ uiPackage?: string;
9821
+ uiPackageVersion?: string;
8967
9822
  bindings: {
8968
9823
  [k: string]: string;
8969
9824
  };
@@ -8984,7 +9839,6 @@ export interface ObservationSnapshotOutput {
8984
9839
  id: string;
8985
9840
  version: string;
8986
9841
  digest: string;
8987
- content?: string;
8988
9842
  presentation?: {
8989
9843
  displayName?: string;
8990
9844
  description?: string;
@@ -8992,6 +9846,29 @@ export interface ObservationSnapshotOutput {
8992
9846
  readOnly?: boolean;
8993
9847
  runsCode?: boolean;
8994
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;
8995
9872
  }[];
8996
9873
  agent?: {};
8997
9874
  };
@@ -9350,6 +10227,7 @@ export interface ObservationSnapshotOutput {
9350
10227
  format: 'rho.composition/1';
9351
10228
  compositionId: string;
9352
10229
  rootId: string;
10230
+ deleted?: boolean;
9353
10231
  /**
9354
10232
  * @maxItems 256
9355
10233
  */
@@ -9486,6 +10364,7 @@ export interface ObservationSnapshotOutput {
9486
10364
  protected?: boolean;
9487
10365
  kind: 'view';
9488
10366
  })[];
10367
+ deleted?: boolean;
9489
10368
  };
9490
10369
  }[];
9491
10370
  /**
@@ -9497,7 +10376,7 @@ export interface ObservationSnapshotOutput {
9497
10376
  version: number;
9498
10377
  author: string;
9499
10378
  at: string;
9500
- kind?: 'apply' | 'undo' | 'protect' | 'close';
10379
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
9501
10380
  }[];
9502
10381
  retainedFromVersion: number;
9503
10382
  undoRetainedFromVersion: number;
@@ -9507,7 +10386,7 @@ export interface ObservationSnapshotOutput {
9507
10386
  version: number;
9508
10387
  requestDigest: string;
9509
10388
  at: string;
9510
- kind: 'apply' | 'undo' | 'protect';
10389
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
9511
10390
  };
9512
10391
  witness?: {
9513
10392
  witnessId: string;
@@ -9820,6 +10699,10 @@ export interface ObservationSnapshotOutput {
9820
10699
  scope: 'folder' | 'user';
9821
10700
  at: string;
9822
10701
  } | null;
10702
+ client?: null | {
10703
+ name: string;
10704
+ version?: string;
10705
+ };
9823
10706
  last: null | {
9824
10707
  at: string;
9825
10708
  method: string;
@@ -10118,6 +11001,7 @@ export interface ProjectOpenFileOutput {
10118
11001
  format: 'rho.composition/1';
10119
11002
  compositionId: string;
10120
11003
  rootId: string;
11004
+ deleted?: boolean;
10121
11005
  /**
10122
11006
  * @maxItems 256
10123
11007
  */
@@ -10254,6 +11138,7 @@ export interface ProjectOpenFileOutput {
10254
11138
  protected?: boolean;
10255
11139
  kind: 'view';
10256
11140
  })[];
11141
+ deleted?: boolean;
10257
11142
  };
10258
11143
  }[];
10259
11144
  /**
@@ -10265,7 +11150,7 @@ export interface ProjectOpenFileOutput {
10265
11150
  version: number;
10266
11151
  author: string;
10267
11152
  at: string;
10268
- kind?: 'apply' | 'undo' | 'protect' | 'close';
11153
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
10269
11154
  }[];
10270
11155
  retainedFromVersion: number;
10271
11156
  undoRetainedFromVersion: number;
@@ -10275,7 +11160,7 @@ export interface ProjectOpenFileOutput {
10275
11160
  version: number;
10276
11161
  requestDigest: string;
10277
11162
  at: string;
10278
- kind: 'apply' | 'undo' | 'protect';
11163
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
10279
11164
  };
10280
11165
  witness?: {
10281
11166
  witnessId: string;
@@ -11217,7 +12102,7 @@ export interface SessionGrantInput {
11217
12102
  /**
11218
12103
  * @maxItems 64
11219
12104
  */
11220
- 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')[];
11221
12106
  profile?: 'layered-business' | 'layered-presentation';
11222
12107
  }
11223
12108
  export interface SessionGrantOutput {
@@ -12240,6 +13125,7 @@ export type ViewCloseOutput = {
12240
13125
  format: 'rho.composition/1';
12241
13126
  compositionId: string;
12242
13127
  rootId: string;
13128
+ deleted?: boolean;
12243
13129
  /**
12244
13130
  * @maxItems 256
12245
13131
  */
@@ -12376,6 +13262,7 @@ export type ViewCloseOutput = {
12376
13262
  protected?: boolean;
12377
13263
  kind: 'view';
12378
13264
  })[];
13265
+ deleted?: boolean;
12379
13266
  };
12380
13267
  }[];
12381
13268
  /**
@@ -12387,7 +13274,7 @@ export type ViewCloseOutput = {
12387
13274
  version: number;
12388
13275
  author: string;
12389
13276
  at: string;
12390
- kind?: 'apply' | 'undo' | 'protect' | 'close';
13277
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
12391
13278
  }[];
12392
13279
  retainedFromVersion: number;
12393
13280
  undoRetainedFromVersion: number;
@@ -12397,7 +13284,7 @@ export type ViewCloseOutput = {
12397
13284
  version: number;
12398
13285
  requestDigest: string;
12399
13286
  at: string;
12400
- kind: 'apply' | 'undo' | 'protect';
13287
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
12401
13288
  };
12402
13289
  witness?: {
12403
13290
  witnessId: string;
@@ -12603,6 +13490,7 @@ export interface ViewProtectionSetOutput {
12603
13490
  format: 'rho.composition/1';
12604
13491
  compositionId: string;
12605
13492
  rootId: string;
13493
+ deleted?: boolean;
12606
13494
  /**
12607
13495
  * @maxItems 256
12608
13496
  */
@@ -12739,6 +13627,7 @@ export interface ViewProtectionSetOutput {
12739
13627
  protected?: boolean;
12740
13628
  kind: 'view';
12741
13629
  })[];
13630
+ deleted?: boolean;
12742
13631
  };
12743
13632
  }[];
12744
13633
  /**
@@ -12750,7 +13639,7 @@ export interface ViewProtectionSetOutput {
12750
13639
  version: number;
12751
13640
  author: string;
12752
13641
  at: string;
12753
- kind?: 'apply' | 'undo' | 'protect' | 'close';
13642
+ kind?: 'apply' | 'undo' | 'protect' | 'close' | 'delete';
12754
13643
  }[];
12755
13644
  retainedFromVersion: number;
12756
13645
  undoRetainedFromVersion: number;
@@ -12760,7 +13649,7 @@ export interface ViewProtectionSetOutput {
12760
13649
  version: number;
12761
13650
  requestDigest: string;
12762
13651
  at: string;
12763
- kind: 'apply' | 'undo' | 'protect';
13652
+ kind: 'apply' | 'undo' | 'protect' | 'delete';
12764
13653
  };
12765
13654
  witness?: {
12766
13655
  witnessId: string;
@@ -13204,6 +14093,10 @@ export interface RhoOperations {
13204
14093
  input: CompositionApplyInput;
13205
14094
  output: CompositionApplyOutput;
13206
14095
  };
14096
+ "composition.delete": {
14097
+ input: CompositionDeleteInput;
14098
+ output: CompositionDeleteOutput;
14099
+ };
13207
14100
  "composition.put": {
13208
14101
  input: CompositionPutInput;
13209
14102
  output: CompositionPutOutput;
@@ -13244,6 +14137,14 @@ export interface RhoOperations {
13244
14137
  input: ContextReadInput;
13245
14138
  output: ContextReadOutput;
13246
14139
  };
14140
+ "conversation.agents.add": {
14141
+ input: ConversationAgentsAddInput;
14142
+ output: ConversationAgentsAddOutput;
14143
+ };
14144
+ "conversation.agents.remove": {
14145
+ input: ConversationAgentsRemoveInput;
14146
+ output: ConversationAgentsRemoveOutput;
14147
+ };
13247
14148
  "conversation.configure": {
13248
14149
  input: ConversationConfigureInput;
13249
14150
  output: ConversationConfigureOutput;
@@ -13384,6 +14285,10 @@ export interface RhoOperations {
13384
14285
  input: ExtensionManageInput;
13385
14286
  output: ExtensionManageOutput;
13386
14287
  };
14288
+ "extension.market.change": {
14289
+ input: ExtensionMarketChangeInput;
14290
+ output: ExtensionMarketChangeOutput;
14291
+ };
13387
14292
  "extension.read": {
13388
14293
  input: ExtensionReadInput;
13389
14294
  output: ExtensionReadOutput;
@@ -13400,6 +14305,14 @@ export interface RhoOperations {
13400
14305
  input: FeedbackSubmitInput;
13401
14306
  output: FeedbackSubmitOutput;
13402
14307
  };
14308
+ "figure.read": {
14309
+ input: FigureReadInput;
14310
+ output: FigureReadOutput;
14311
+ };
14312
+ "figure.select": {
14313
+ input: FigureSelectInput;
14314
+ output: FigureSelectOutput;
14315
+ };
13403
14316
  "interaction.selection.read": {
13404
14317
  input: InteractionSelectionReadInput;
13405
14318
  output: InteractionSelectionReadOutput;
@@ -13665,5 +14578,5 @@ export type RhoMethod = keyof RhoOperations;
13665
14578
  export type RhoInput<M extends RhoMethod> = RhoOperations[M]['input'];
13666
14579
  export type RhoOutput<M extends RhoMethod> = RhoOperations[M]['output'];
13667
14580
  /** The names a caller may pass to protocol.describe / protocol.validate. */
13668
- 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", "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"];
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"];
13669
14582
  export type RhoInputFor<M extends RhoMethod> = RhoOperations[M]['input'];