@rho-workspace/rho 0.5.4 → 0.5.6

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 (161) hide show
  1. package/dist/agent-connect.d.ts +8 -0
  2. package/dist/agent-connect.js +15 -0
  3. package/dist/browser-access.js +3 -2
  4. package/dist/capabilities.d.ts +2 -2
  5. package/dist/capabilities.js +6 -1
  6. package/dist/cli.js +219 -176
  7. package/dist/contract.generated.d.ts +472 -4
  8. package/dist/contract.generated.js +1 -1
  9. package/dist/contracts/owners.generated.js +455 -6
  10. package/dist/conversations.d.ts +157 -4
  11. package/dist/conversations.js +69 -6
  12. package/dist/discovery.d.ts +1 -0
  13. package/dist/discovery.js +3 -3
  14. package/dist/extension-contract.d.ts +99 -0
  15. package/dist/extension-contract.js +52 -0
  16. package/dist/extension-directory.d.ts +9 -0
  17. package/dist/extension-directory.js +11 -0
  18. package/dist/extension-worker.d.ts +1 -0
  19. package/dist/extension-worker.js +36 -0
  20. package/dist/extensions.d.ts +157 -0
  21. package/dist/extensions.js +349 -0
  22. package/dist/plugin-cli.d.ts +1 -0
  23. package/dist/plugin-cli.js +139 -0
  24. package/dist/plugin-inventory.json +18 -0
  25. package/dist/plugins.d.ts +3 -3
  26. package/dist/project-work.d.ts +3 -1
  27. package/dist/project-work.js +15 -2
  28. package/dist/protocol.d.ts +8 -0
  29. package/dist/protocol.js +16 -7
  30. package/dist/server.d.ts +5 -10
  31. package/dist/server.js +122 -12
  32. package/dist/web/.vite/manifest.json +67 -67
  33. package/dist/web/assets/{canvas-BXhC8RDZ.js → canvas-D8rDdfDz.js} +1 -1
  34. package/dist/web/assets/choices-D-YfnFP6.js +1 -0
  35. package/dist/web/assets/{console-Dbdo-5oO.js → console-Trqc0swD.js} +1 -1
  36. package/dist/web/assets/{dist-B2V0VDO0.js → dist-DZmszrjG.js} +2 -2
  37. package/dist/web/assets/dist-DpIHRk3B.js +1 -0
  38. package/dist/web/assets/{dist-D25Vn17i.js → dist-eMx6b8N1.js} +1 -1
  39. package/dist/web/assets/dist-pF902jHA.js +3 -0
  40. package/dist/web/assets/explore-in-BCHqjJ7B.js +1 -0
  41. package/dist/web/assets/graph-lENgfQNH.js +2 -0
  42. package/dist/web/assets/index-B3_OVy91.css +1 -0
  43. package/dist/web/assets/{index-BHQIaDsx.js → index-BpL_Kl_s.js} +87 -86
  44. package/dist/web/assets/{notes-meaning-DdPbtNzJ.js → notes-meaning-DcVGUBBY.js} +1 -1
  45. package/dist/web/assets/overview-CDnVKlOt.js +6 -0
  46. package/dist/web/assets/preview-BEC1E9MK.js +1 -0
  47. package/dist/web/assets/{review-CmWou4Iv.js → review-DYP0aCXb.js} +1 -1
  48. package/dist/web/assets/{skills-Dy7n3L9d.js → skills-1ec0Z-jx.js} +1 -1
  49. package/dist/web/assets/{skills-work-Cj0W6b-I.js → skills-work-DNexV4OJ.js} +1 -1
  50. package/dist/web/assets/{studio-process-QOY_n2_8.js → studio-process-EYQgikxq.js} +2 -2
  51. package/dist/web/assets/{timeline-events-DmX1BCh3.js → timeline-events-Chj2Gbx7.js} +1 -1
  52. package/dist/web/assets/{work-turns-Co0C71rJ.js → work-turns-CT9RVcWY.js} +1 -1
  53. package/dist/web/assets/workspace-COmCbGV3.js +5 -0
  54. package/dist/web/composition.json +65 -65
  55. package/dist/web/index.html +3 -3
  56. package/dist/web/renderer.json +1 -1
  57. package/dist/web-assets.d.ts +2 -1
  58. package/dist/web-assets.js +3 -2
  59. package/dist/work-contract.js +2 -2
  60. package/docs/FRONTEND.md +26 -18
  61. package/docs/HEADLESS.md +38 -28
  62. package/docs/PLUGIN-AUTHORING.md +4 -0
  63. package/docs/THIRD-PARTY-PLUGINS.md +190 -0
  64. package/node_modules/@rho-workspace/plugin-agent/README.md +68 -0
  65. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +1 -0
  66. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +9 -1
  67. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
  68. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +10 -0
  69. package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.d.ts +1 -0
  70. package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.js +2 -2
  71. package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.d.ts +6 -0
  72. package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.js +174 -0
  73. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.d.ts +82 -0
  74. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +20 -0
  75. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +84 -0
  76. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.js +190 -0
  77. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +373 -0
  78. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +1 -0
  79. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
  80. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
  81. package/node_modules/@rho-workspace/plugin-agent/dist/operations.d.ts +33 -0
  82. package/node_modules/@rho-workspace/plugin-agent/dist/operations.js +3 -0
  83. package/node_modules/@rho-workspace/plugin-agent/dist/presentation.d.ts +14 -0
  84. package/node_modules/@rho-workspace/plugin-agent/dist/presentation.js +2 -0
  85. package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.d.ts +15 -0
  86. package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.js +37 -0
  87. package/node_modules/@rho-workspace/plugin-agent/package.json +6 -1
  88. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  89. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  90. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  91. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  92. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  93. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  94. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  95. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  96. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  97. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  98. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  99. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  100. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  101. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  102. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  103. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  104. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  105. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  106. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  107. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  108. package/node_modules/hono/dist/jsx/base.js +49 -32
  109. package/node_modules/hono/dist/jsx/components.js +2 -2
  110. package/node_modules/hono/dist/jsx/constants.js +2 -1
  111. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  112. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  113. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  114. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  115. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  116. package/node_modules/hono/dist/utils/cookie.js +2 -2
  117. package/node_modules/hono/dist/utils/mime.js +1 -1
  118. package/node_modules/hono/dist/utils/url.js +1 -1
  119. package/node_modules/hono/package.json +1 -1
  120. package/package.json +5 -3
  121. package/protocol/index.json +93 -33
  122. package/protocol/operations/agent.sessions.list.json +146 -0
  123. package/protocol/operations/agent.sessions.read.json +315 -0
  124. package/protocol/operations/conversation.configure.json +29 -0
  125. package/protocol/operations/conversation.decide.json +29 -0
  126. package/protocol/operations/conversation.list.json +29 -0
  127. package/protocol/operations/conversation.permission.json +29 -0
  128. package/protocol/operations/conversation.read.json +29 -0
  129. package/protocol/operations/conversation.restore.json +29 -0
  130. package/protocol/operations/conversation.send.json +29 -0
  131. package/protocol/operations/conversation.settings.check.json +92 -0
  132. package/protocol/operations/conversation.settings.read.json +92 -0
  133. package/protocol/operations/conversation.settings.update.json +92 -0
  134. package/protocol/operations/conversation.start.json +46 -1
  135. package/protocol/operations/conversation.stop.json +29 -0
  136. package/protocol/operations/conversation.trash.json +29 -0
  137. package/protocol/operations/extension.call.json +132 -0
  138. package/protocol/operations/extension.content.json +78 -0
  139. package/protocol/operations/extension.describe.json +195 -0
  140. package/protocol/operations/extension.install.json +198 -0
  141. package/protocol/operations/extension.list.json +123 -0
  142. package/protocol/operations/extension.manage.json +55 -0
  143. package/protocol/operations/extension.read.json +112 -0
  144. package/protocol/operations/observation.snapshot.json +29 -0
  145. package/protocol/operations/project.work.read.json +3 -2
  146. package/protocol/operations/session.grant.json +9 -0
  147. package/protocol/operations/session.instructions.json +43 -0
  148. package/scripts/third-party-acceptance.mjs +77 -0
  149. package/vendor/composition.json +83 -83
  150. package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
  151. package/web/theme.css +12 -0
  152. package/dist/web/assets/choices-DU9kHlyQ.js +0 -1
  153. package/dist/web/assets/dist-BV3hWfn_.js +0 -3
  154. package/dist/web/assets/dist-CLNF2g-E.js +0 -1
  155. package/dist/web/assets/explore-in-8Q5ftt-E.js +0 -1
  156. package/dist/web/assets/graph-hS2kvHTI.js +0 -2
  157. package/dist/web/assets/index-Cj1_iqyK.css +0 -1
  158. package/dist/web/assets/overview-BV6ZO5TO.js +0 -6
  159. package/dist/web/assets/preview-n5lOOdjN.js +0 -1
  160. package/dist/web/assets/workspace-BKFefRfJ.js +0 -5
  161. package/vendor/rho-workspace-plugin-agent-0.4.28.tgz +0 -0
@@ -1909,6 +1909,119 @@ export interface AgentActivityReadOutput {
1909
1909
  sessionId: string;
1910
1910
  }[];
1911
1911
  }
1912
+ export interface AgentSessionsListInput {
1913
+ projectId: string;
1914
+ }
1915
+ export interface AgentSessionsListOutput {
1916
+ omitted: number;
1917
+ /**
1918
+ * @maxItems 128
1919
+ */
1920
+ sessions: {
1921
+ bytes?: number;
1922
+ continueWith?: 'claude-acp' | 'codex-acp' | 'acp' | null;
1923
+ conversationId?: string;
1924
+ id: string;
1925
+ inputOwner?: 'external';
1926
+ lastAt: string;
1927
+ observedAt: string;
1928
+ omittedTurns: number;
1929
+ open?: null | {
1930
+ pid?: number;
1931
+ since?: string;
1932
+ where: string;
1933
+ };
1934
+ problem?: string;
1935
+ producer: string;
1936
+ resume?: string;
1937
+ sessionId: string;
1938
+ sourceCursor: number;
1939
+ state: 'running' | 'completed' | 'failed' | 'stopped' | 'unknown';
1940
+ title: string;
1941
+ turns: number;
1942
+ where?: string;
1943
+ }[];
1944
+ }
1945
+ export interface AgentSessionsReadInput {
1946
+ projectId: string;
1947
+ before?: number;
1948
+ limit?: number;
1949
+ session: string;
1950
+ }
1951
+ export interface AgentSessionsReadOutput {
1952
+ first: number;
1953
+ session: {
1954
+ bytes?: number;
1955
+ continueWith?: 'claude-acp' | 'codex-acp' | 'acp' | null;
1956
+ conversationId?: string;
1957
+ id: string;
1958
+ inputOwner?: 'external';
1959
+ lastAt: string;
1960
+ observedAt: string;
1961
+ omittedTurns: number;
1962
+ open?: null | {
1963
+ pid?: number;
1964
+ since?: string;
1965
+ where: string;
1966
+ };
1967
+ problem?: string;
1968
+ producer: string;
1969
+ resume?: string;
1970
+ sessionId: string;
1971
+ sourceCursor: number;
1972
+ state: 'running' | 'completed' | 'failed' | 'stopped' | 'unknown';
1973
+ title: string;
1974
+ turns: number;
1975
+ where?: string;
1976
+ };
1977
+ /**
1978
+ * @maxItems 50
1979
+ */
1980
+ turns: {
1981
+ at: string;
1982
+ endedAt?: string;
1983
+ id: string;
1984
+ /**
1985
+ * @maxItems 200
1986
+ */
1987
+ messages: {
1988
+ at: string;
1989
+ text: string;
1990
+ }[];
1991
+ omittedChars: number;
1992
+ omittedTools: number;
1993
+ prompt: string;
1994
+ reply: string;
1995
+ /**
1996
+ * @maxItems 64
1997
+ */
1998
+ results: {
1999
+ id?: string;
2000
+ path: string;
2001
+ projectId?: string;
2002
+ toolId: string;
2003
+ version?: string;
2004
+ }[];
2005
+ state: 'running' | 'completed' | 'failed' | 'stopped' | 'unknown';
2006
+ /**
2007
+ * @maxItems 256
2008
+ */
2009
+ tools: {
2010
+ at: string;
2011
+ detail: string;
2012
+ exitCode?: number;
2013
+ id: string;
2014
+ name: string;
2015
+ outcome: 'requested' | 'returned' | 'failed' | 'unknown';
2016
+ output: string;
2017
+ /**
2018
+ * @maxItems 32
2019
+ */
2020
+ paths: string[];
2021
+ }[];
2022
+ where?: string;
2023
+ }[];
2024
+ }
1912
2025
  export interface AnnotationCreateInput {
1913
2026
  projectId: string;
1914
2027
  anchor: {
@@ -4588,6 +4701,11 @@ export interface ConversationConfigureOutput {
4588
4701
  costUsd?: number | null;
4589
4702
  sessionId?: string | null;
4590
4703
  trashedAt?: string | null;
4704
+ origin?: {
4705
+ producer: string;
4706
+ where: string;
4707
+ copyOf?: string;
4708
+ } | null;
4591
4709
  };
4592
4710
  observation: {
4593
4711
  at: string;
@@ -4719,6 +4837,11 @@ export interface ConversationDecideOutput {
4719
4837
  costUsd?: number | null;
4720
4838
  sessionId?: string | null;
4721
4839
  trashedAt?: string | null;
4840
+ origin?: {
4841
+ producer: string;
4842
+ where: string;
4843
+ copyOf?: string;
4844
+ } | null;
4722
4845
  };
4723
4846
  turn: {
4724
4847
  id: string;
@@ -4934,6 +5057,11 @@ export interface ConversationListOutput {
4934
5057
  costUsd?: number | null;
4935
5058
  sessionId?: string | null;
4936
5059
  trashedAt?: string | null;
5060
+ origin?: {
5061
+ producer: string;
5062
+ where: string;
5063
+ copyOf?: string;
5064
+ } | null;
4937
5065
  }[];
4938
5066
  }
4939
5067
  export interface ConversationPermissionInput {
@@ -4978,6 +5106,11 @@ export interface ConversationPermissionOutput {
4978
5106
  costUsd?: number | null;
4979
5107
  sessionId?: string | null;
4980
5108
  trashedAt?: string | null;
5109
+ origin?: {
5110
+ producer: string;
5111
+ where: string;
5112
+ copyOf?: string;
5113
+ } | null;
4981
5114
  };
4982
5115
  turn: {
4983
5116
  id: string;
@@ -5184,6 +5317,11 @@ export interface ConversationReadOutput {
5184
5317
  costUsd?: number | null;
5185
5318
  sessionId?: string | null;
5186
5319
  trashedAt?: string | null;
5320
+ origin?: {
5321
+ producer: string;
5322
+ where: string;
5323
+ copyOf?: string;
5324
+ } | null;
5187
5325
  };
5188
5326
  observation?: {
5189
5327
  at: string;
@@ -5475,6 +5613,11 @@ export interface ConversationRestoreOutput {
5475
5613
  costUsd?: number | null;
5476
5614
  sessionId?: string | null;
5477
5615
  trashedAt?: string | null;
5616
+ origin?: {
5617
+ producer: string;
5618
+ where: string;
5619
+ copyOf?: string;
5620
+ } | null;
5478
5621
  };
5479
5622
  }
5480
5623
  export interface ConversationSendInput {
@@ -5523,6 +5666,11 @@ export interface ConversationSendOutput {
5523
5666
  costUsd?: number | null;
5524
5667
  sessionId?: string | null;
5525
5668
  trashedAt?: string | null;
5669
+ origin?: {
5670
+ producer: string;
5671
+ where: string;
5672
+ copyOf?: string;
5673
+ } | null;
5526
5674
  };
5527
5675
  turn: {
5528
5676
  id: string;
@@ -5792,6 +5940,23 @@ export interface ConversationSettingsCheckOutput {
5792
5940
  describe?: {
5793
5941
  enabled: boolean;
5794
5942
  };
5943
+ 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: {
5955
+ found: boolean;
5956
+ problem?: string;
5957
+ name?: string | null;
5958
+ };
5959
+ };
5795
5960
  }
5796
5961
  export interface ConversationSettingsReadInput {
5797
5962
  projectId: string;
@@ -5896,6 +6061,23 @@ export interface ConversationSettingsReadOutput {
5896
6061
  describe?: {
5897
6062
  enabled: boolean;
5898
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
+ };
5899
6081
  }
5900
6082
  export interface ConversationSettingsUpdateInput {
5901
6083
  projectId: string;
@@ -6016,6 +6198,23 @@ export interface ConversationSettingsUpdateOutput {
6016
6198
  describe?: {
6017
6199
  enabled: boolean;
6018
6200
  };
6201
+ 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: {
6213
+ found: boolean;
6214
+ problem?: string;
6215
+ name?: string | null;
6216
+ };
6217
+ };
6019
6218
  }
6020
6219
  export interface ConversationStartInput {
6021
6220
  projectId: string;
@@ -6029,6 +6228,10 @@ export interface ConversationStartInput {
6029
6228
  * @maxItems 8
6030
6229
  */
6031
6230
  contexts?: string[];
6231
+ continue?: {
6232
+ session: string;
6233
+ copy?: boolean;
6234
+ };
6032
6235
  }
6033
6236
  export interface ConversationStartOutput {
6034
6237
  conversation: {
@@ -6065,6 +6268,11 @@ export interface ConversationStartOutput {
6065
6268
  costUsd?: number | null;
6066
6269
  sessionId?: string | null;
6067
6270
  trashedAt?: string | null;
6271
+ origin?: {
6272
+ producer: string;
6273
+ where: string;
6274
+ copyOf?: string;
6275
+ } | null;
6068
6276
  };
6069
6277
  turn: {
6070
6278
  id: string;
@@ -6270,6 +6478,11 @@ export interface ConversationStopOutput {
6270
6478
  costUsd?: number | null;
6271
6479
  sessionId?: string | null;
6272
6480
  trashedAt?: string | null;
6481
+ origin?: {
6482
+ producer: string;
6483
+ where: string;
6484
+ copyOf?: string;
6485
+ } | null;
6273
6486
  };
6274
6487
  turn: {
6275
6488
  id: string;
@@ -6474,6 +6687,11 @@ export interface ConversationTrashOutput {
6474
6687
  costUsd?: number | null;
6475
6688
  sessionId?: string | null;
6476
6689
  trashedAt?: string | null;
6690
+ origin?: {
6691
+ producer: string;
6692
+ where: string;
6693
+ copyOf?: string;
6694
+ } | null;
6477
6695
  };
6478
6696
  }
6479
6697
  export interface DataCompareInput {
@@ -7319,6 +7537,203 @@ export interface EvidencePreviewOutput {
7319
7537
  gaps: string[];
7320
7538
  bytes: number;
7321
7539
  }
7540
+ export interface ExtensionCallInput {
7541
+ projectId: string;
7542
+ pluginId: string;
7543
+ expectedDigest: string;
7544
+ operation: string;
7545
+ input: {
7546
+ [k: string]: unknown;
7547
+ };
7548
+ changeId: string;
7549
+ }
7550
+ export interface ExtensionCallOutput {
7551
+ invocationId: string;
7552
+ caller: string;
7553
+ projectId: string;
7554
+ pluginId: string;
7555
+ packageDigest: string;
7556
+ operation: string;
7557
+ requestDigest: string;
7558
+ state: 'pending' | 'completed' | 'unknown';
7559
+ startedAt: string;
7560
+ endedAt?: string;
7561
+ value?: unknown;
7562
+ error?: string;
7563
+ delegations?: {
7564
+ method: string;
7565
+ request: unknown;
7566
+ state: 'pending' | 'completed' | 'unknown';
7567
+ value?: unknown;
7568
+ error?: string;
7569
+ }[];
7570
+ }
7571
+ export interface ExtensionContentInput {
7572
+ projectId: string;
7573
+ pluginId: string;
7574
+ expectedDigest: string;
7575
+ kind: 'skill' | 'view';
7576
+ entryId: string;
7577
+ }
7578
+ export interface ExtensionContentOutput {
7579
+ pluginId: string;
7580
+ packageDigest: string;
7581
+ entryId: string;
7582
+ kind: 'skill' | 'view';
7583
+ title: string;
7584
+ text: string;
7585
+ }
7586
+ export interface ExtensionDescribeInput {
7587
+ projectId: string;
7588
+ pluginId: string;
7589
+ }
7590
+ export interface ExtensionDescribeOutput {
7591
+ id: string;
7592
+ name: string;
7593
+ version: string;
7594
+ title: string;
7595
+ description: string;
7596
+ digest: string;
7597
+ source: string;
7598
+ sourceCommit?: string;
7599
+ enabled: boolean;
7600
+ installedAt: string;
7601
+ manifest: {
7602
+ apiVersion: 1;
7603
+ id: string;
7604
+ title: string;
7605
+ description: string;
7606
+ host?: string;
7607
+ operations: {
7608
+ id: string;
7609
+ title: string;
7610
+ description: string;
7611
+ effect: 'read' | 'native';
7612
+ methods: string[];
7613
+ inputSchema: {
7614
+ [k: string]: unknown;
7615
+ };
7616
+ }[];
7617
+ skills: {
7618
+ id: string;
7619
+ title: string;
7620
+ file: string;
7621
+ }[];
7622
+ views: {
7623
+ id: string;
7624
+ title: string;
7625
+ file: string;
7626
+ }[];
7627
+ };
7628
+ }
7629
+ export interface ExtensionInstallInput {
7630
+ source: string;
7631
+ replace?: string;
7632
+ expectedDigest?: string;
7633
+ }
7634
+ export interface ExtensionInstallOutput {
7635
+ id: string;
7636
+ name: string;
7637
+ version: string;
7638
+ title: string;
7639
+ description: string;
7640
+ digest: string;
7641
+ source: string;
7642
+ sourceCommit?: string;
7643
+ enabled: boolean;
7644
+ installedAt: string;
7645
+ manifest: {
7646
+ apiVersion: 1;
7647
+ id: string;
7648
+ title: string;
7649
+ description: string;
7650
+ host?: string;
7651
+ operations: {
7652
+ id: string;
7653
+ title: string;
7654
+ description: string;
7655
+ effect: 'read' | 'native';
7656
+ methods: string[];
7657
+ inputSchema: {
7658
+ [k: string]: unknown;
7659
+ };
7660
+ }[];
7661
+ skills: {
7662
+ id: string;
7663
+ title: string;
7664
+ file: string;
7665
+ }[];
7666
+ views: {
7667
+ id: string;
7668
+ title: string;
7669
+ file: string;
7670
+ }[];
7671
+ };
7672
+ }
7673
+ export interface ExtensionListInput {
7674
+ projectId?: string;
7675
+ }
7676
+ export interface ExtensionListOutput {
7677
+ plugins: {
7678
+ id: string;
7679
+ name: string;
7680
+ version: string;
7681
+ title: string;
7682
+ description: string;
7683
+ digest: string;
7684
+ source: string;
7685
+ sourceCommit?: string;
7686
+ enabled: boolean;
7687
+ installedAt: string;
7688
+ }[];
7689
+ directory: {
7690
+ id: string;
7691
+ title: string;
7692
+ version: string;
7693
+ description: string;
7694
+ source: string;
7695
+ repository: string;
7696
+ needs: string;
7697
+ }[];
7698
+ limits: {
7699
+ [k: string]: unknown;
7700
+ };
7701
+ }
7702
+ export interface ExtensionManageInput {
7703
+ pluginId: string;
7704
+ expectedDigest: string;
7705
+ action: 'enable' | 'disable' | 'remove';
7706
+ }
7707
+ export interface ExtensionManageOutput {
7708
+ pluginId: string;
7709
+ action: 'enable' | 'disable' | 'remove';
7710
+ retained: string;
7711
+ }
7712
+ export interface ExtensionReadInput {
7713
+ projectId: string;
7714
+ invocationId: string;
7715
+ }
7716
+ export interface ExtensionReadOutput {
7717
+ invocationId: string;
7718
+ caller: string;
7719
+ projectId: string;
7720
+ pluginId: string;
7721
+ packageDigest: string;
7722
+ operation: string;
7723
+ requestDigest: string;
7724
+ state: 'pending' | 'completed' | 'unknown';
7725
+ startedAt: string;
7726
+ endedAt?: string;
7727
+ value?: unknown;
7728
+ error?: string;
7729
+ delegations?: {
7730
+ method: string;
7731
+ request: unknown;
7732
+ state: 'pending' | 'completed' | 'unknown';
7733
+ value?: unknown;
7734
+ error?: string;
7735
+ }[];
7736
+ }
7322
7737
  export interface FeedbackReadInput {
7323
7738
  projectId: string;
7324
7739
  contextId: string;
@@ -9449,6 +9864,11 @@ export interface ObservationSnapshotOutput {
9449
9864
  costUsd?: number | null;
9450
9865
  sessionId?: string | null;
9451
9866
  trashedAt?: string | null;
9867
+ origin?: {
9868
+ producer: string;
9869
+ where: string;
9870
+ copyOf?: string;
9871
+ } | null;
9452
9872
  }[];
9453
9873
  selection: {
9454
9874
  resource: {
@@ -9997,11 +10417,11 @@ export interface ProjectWorkReadOutput {
9997
10417
  dirty?: boolean;
9998
10418
  };
9999
10419
  /**
10000
- * @maxItems 80
10420
+ * @maxItems 88
10001
10421
  */
10002
10422
  sessions: {
10003
10423
  id: string;
10004
- source: 'acp' | 'claude-cli' | 'native-transcript' | 'external-acp';
10424
+ source: 'acp' | 'claude-cli' | 'native-transcript' | 'external-acp' | 'external-session';
10005
10425
  sessionId: string | null;
10006
10426
  title: string;
10007
10427
  agent?: string;
@@ -10797,7 +11217,7 @@ export interface SessionGrantInput {
10797
11217
  /**
10798
11218
  * @maxItems 64
10799
11219
  */
10800
- 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' | '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' | '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')[];
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')[];
10801
11221
  profile?: 'layered-business' | 'layered-presentation';
10802
11222
  }
10803
11223
  export interface SessionGrantOutput {
@@ -10808,6 +11228,14 @@ export interface SessionGrantOutput {
10808
11228
  externalSessionId: string;
10809
11229
  profile?: 'layered-business' | 'layered-presentation';
10810
11230
  }
11231
+ export interface SessionInstructionsInput {
11232
+ projectId: string;
11233
+ }
11234
+ export interface SessionInstructionsOutput {
11235
+ request: string;
11236
+ prompt: string;
11237
+ command: string[];
11238
+ }
10811
11239
  export interface SkillListInput {
10812
11240
  projectId: string;
10813
11241
  }
@@ -12704,6 +13132,14 @@ export interface RhoOperations {
12704
13132
  input: AgentActivityReadInput;
12705
13133
  output: AgentActivityReadOutput;
12706
13134
  };
13135
+ "agent.sessions.list": {
13136
+ input: AgentSessionsListInput;
13137
+ output: AgentSessionsListOutput;
13138
+ };
13139
+ "agent.sessions.read": {
13140
+ input: AgentSessionsReadInput;
13141
+ output: AgentSessionsReadOutput;
13142
+ };
12707
13143
  "annotation.create": {
12708
13144
  input: AnnotationCreateInput;
12709
13145
  output: AnnotationCreateOutput;
@@ -12924,6 +13360,34 @@ export interface RhoOperations {
12924
13360
  input: EvidencePreviewInput;
12925
13361
  output: EvidencePreviewOutput;
12926
13362
  };
13363
+ "extension.call": {
13364
+ input: ExtensionCallInput;
13365
+ output: ExtensionCallOutput;
13366
+ };
13367
+ "extension.content": {
13368
+ input: ExtensionContentInput;
13369
+ output: ExtensionContentOutput;
13370
+ };
13371
+ "extension.describe": {
13372
+ input: ExtensionDescribeInput;
13373
+ output: ExtensionDescribeOutput;
13374
+ };
13375
+ "extension.install": {
13376
+ input: ExtensionInstallInput;
13377
+ output: ExtensionInstallOutput;
13378
+ };
13379
+ "extension.list": {
13380
+ input: ExtensionListInput;
13381
+ output: ExtensionListOutput;
13382
+ };
13383
+ "extension.manage": {
13384
+ input: ExtensionManageInput;
13385
+ output: ExtensionManageOutput;
13386
+ };
13387
+ "extension.read": {
13388
+ input: ExtensionReadInput;
13389
+ output: ExtensionReadOutput;
13390
+ };
12927
13391
  "feedback.read": {
12928
13392
  input: FeedbackReadInput;
12929
13393
  output: FeedbackReadOutput;
@@ -13112,6 +13576,10 @@ export interface RhoOperations {
13112
13576
  input: SessionGrantInput;
13113
13577
  output: SessionGrantOutput;
13114
13578
  };
13579
+ "session.instructions": {
13580
+ input: SessionInstructionsInput;
13581
+ output: SessionInstructionsOutput;
13582
+ };
13115
13583
  "skill.list": {
13116
13584
  input: SkillListInput;
13117
13585
  output: SkillListOutput;
@@ -13197,5 +13665,5 @@ export type RhoMethod = keyof RhoOperations;
13197
13665
  export type RhoInput<M extends RhoMethod> = RhoOperations[M]['input'];
13198
13666
  export type RhoOutput<M extends RhoMethod> = RhoOperations[M]['output'];
13199
13667
  /** The names a caller may pass to protocol.describe / protocol.validate. */
13200
- 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", "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", "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"];
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"];
13201
13669
  export type RhoInputFor<M extends RhoMethod> = RhoOperations[M]['input'];
@@ -1,2 +1,2 @@
1
1
  /** The names a caller may pass to protocol.describe / protocol.validate. */
2
- export const rhoMethods = ["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", "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", "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"];
2
+ export const rhoMethods = ["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"];