@rho-workspace/rho 0.5.5 → 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 (106) 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 +1 -1
  4. package/dist/cli.js +38 -8
  5. package/dist/contract.generated.d.ts +148 -5
  6. package/dist/contract.generated.js +1 -1
  7. package/dist/contracts/owners.generated.js +107 -12
  8. package/dist/conversations.d.ts +157 -4
  9. package/dist/conversations.js +69 -6
  10. package/dist/discovery.js +1 -1
  11. package/dist/protocol.d.ts +1 -0
  12. package/dist/protocol.js +12 -5
  13. package/dist/server.d.ts +2 -10
  14. package/dist/server.js +71 -8
  15. package/dist/web/.vite/manifest.json +61 -61
  16. package/dist/web/assets/{choices-b0XhrGQV.js → choices-D-YfnFP6.js} +1 -1
  17. package/dist/web/assets/{console-BSjLGe0T.js → console-Trqc0swD.js} +1 -1
  18. package/dist/web/assets/{dist-Buk0lwzI.js → dist-DZmszrjG.js} +1 -1
  19. package/dist/web/assets/{dist-Cw8hRIlT.js → dist-DpIHRk3B.js} +1 -1
  20. package/dist/web/assets/{dist-foH9IKc6.js → dist-eMx6b8N1.js} +1 -1
  21. package/dist/web/assets/{dist-Tzoe_zm-.js → dist-pF902jHA.js} +1 -1
  22. package/dist/web/assets/{explore-in-BVUy3ZW_.js → explore-in-BCHqjJ7B.js} +1 -1
  23. package/dist/web/assets/{graph-1OdIJ9l7.js → graph-lENgfQNH.js} +1 -1
  24. package/dist/web/assets/index-B3_OVy91.css +1 -0
  25. package/dist/web/assets/{index-CxmItXqa.js → index-BpL_Kl_s.js} +84 -83
  26. package/dist/web/assets/{notes-meaning-pVbbQUGP.js → notes-meaning-DcVGUBBY.js} +1 -1
  27. package/dist/web/assets/{overview-B9UtVJ32.js → overview-CDnVKlOt.js} +3 -3
  28. package/dist/web/assets/{preview-CksD_5KS.js → preview-BEC1E9MK.js} +1 -1
  29. package/dist/web/assets/{review-CMxQlQ-C.js → review-DYP0aCXb.js} +1 -1
  30. package/dist/web/assets/{skills-BFNSyrnD.js → skills-1ec0Z-jx.js} +1 -1
  31. package/dist/web/assets/{skills-work-BGPSnF_I.js → skills-work-DNexV4OJ.js} +1 -1
  32. package/dist/web/assets/{studio-process-CsRoTHOh.js → studio-process-EYQgikxq.js} +1 -1
  33. package/dist/web/assets/{timeline-events-BbuuFWHV.js → timeline-events-Chj2Gbx7.js} +1 -1
  34. package/dist/web/assets/{work-turns-BvJlIMmA.js → work-turns-CT9RVcWY.js} +1 -1
  35. package/dist/web/assets/{workspace-CWlkjLNx.js → workspace-COmCbGV3.js} +1 -1
  36. package/dist/web/composition.json +58 -58
  37. package/dist/web/index.html +2 -2
  38. package/dist/web/renderer.json +1 -1
  39. package/docs/FRONTEND.md +26 -18
  40. package/docs/HEADLESS.md +37 -27
  41. package/node_modules/@rho-workspace/plugin-agent/README.md +29 -0
  42. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +1 -0
  43. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +9 -1
  44. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
  45. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +10 -0
  46. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +10 -5
  47. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +12 -1
  48. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
  49. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
  50. package/node_modules/@rho-workspace/plugin-agent/package.json +2 -1
  51. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  52. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  53. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  54. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  55. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  56. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  57. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  58. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  59. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  60. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  61. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  62. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  63. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  64. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  65. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  66. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  67. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  68. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  69. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  70. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  71. package/node_modules/hono/dist/jsx/base.js +49 -32
  72. package/node_modules/hono/dist/jsx/components.js +2 -2
  73. package/node_modules/hono/dist/jsx/constants.js +2 -1
  74. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  75. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  76. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  77. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  78. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  79. package/node_modules/hono/dist/utils/cookie.js +2 -2
  80. package/node_modules/hono/dist/utils/mime.js +1 -1
  81. package/node_modules/hono/dist/utils/url.js +1 -1
  82. package/node_modules/hono/package.json +1 -1
  83. package/package.json +2 -2
  84. package/protocol/index.json +39 -33
  85. package/protocol/operations/agent.sessions.list.json +49 -3
  86. package/protocol/operations/agent.sessions.read.json +53 -4
  87. package/protocol/operations/conversation.configure.json +29 -0
  88. package/protocol/operations/conversation.decide.json +29 -0
  89. package/protocol/operations/conversation.list.json +29 -0
  90. package/protocol/operations/conversation.permission.json +29 -0
  91. package/protocol/operations/conversation.read.json +29 -0
  92. package/protocol/operations/conversation.restore.json +29 -0
  93. package/protocol/operations/conversation.send.json +29 -0
  94. package/protocol/operations/conversation.settings.check.json +92 -0
  95. package/protocol/operations/conversation.settings.read.json +92 -0
  96. package/protocol/operations/conversation.settings.update.json +92 -0
  97. package/protocol/operations/conversation.start.json +46 -1
  98. package/protocol/operations/conversation.stop.json +29 -0
  99. package/protocol/operations/conversation.trash.json +29 -0
  100. package/protocol/operations/observation.snapshot.json +29 -0
  101. package/protocol/operations/session.instructions.json +43 -0
  102. package/vendor/composition.json +74 -74
  103. package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
  104. package/web/theme.css +12 -0
  105. package/dist/web/assets/index-CsC3sTRq.css +0 -1
  106. package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
@@ -513,6 +513,98 @@
513
513
  "enabled"
514
514
  ],
515
515
  "additionalProperties": true
516
+ },
517
+ "agents": {
518
+ "type": "object",
519
+ "properties": {
520
+ "claude-acp": {
521
+ "type": "object",
522
+ "properties": {
523
+ "found": {
524
+ "type": "boolean"
525
+ },
526
+ "problem": {
527
+ "type": "string",
528
+ "minLength": 1
529
+ },
530
+ "name": {
531
+ "anyOf": [
532
+ {
533
+ "type": "string",
534
+ "minLength": 1
535
+ },
536
+ {
537
+ "type": "null"
538
+ }
539
+ ]
540
+ }
541
+ },
542
+ "required": [
543
+ "found"
544
+ ],
545
+ "additionalProperties": true
546
+ },
547
+ "codex-acp": {
548
+ "type": "object",
549
+ "properties": {
550
+ "found": {
551
+ "type": "boolean"
552
+ },
553
+ "problem": {
554
+ "type": "string",
555
+ "minLength": 1
556
+ },
557
+ "name": {
558
+ "anyOf": [
559
+ {
560
+ "type": "string",
561
+ "minLength": 1
562
+ },
563
+ {
564
+ "type": "null"
565
+ }
566
+ ]
567
+ }
568
+ },
569
+ "required": [
570
+ "found"
571
+ ],
572
+ "additionalProperties": true
573
+ },
574
+ "acp": {
575
+ "type": "object",
576
+ "properties": {
577
+ "found": {
578
+ "type": "boolean"
579
+ },
580
+ "problem": {
581
+ "type": "string",
582
+ "minLength": 1
583
+ },
584
+ "name": {
585
+ "anyOf": [
586
+ {
587
+ "type": "string",
588
+ "minLength": 1
589
+ },
590
+ {
591
+ "type": "null"
592
+ }
593
+ ]
594
+ }
595
+ },
596
+ "required": [
597
+ "found"
598
+ ],
599
+ "additionalProperties": true
600
+ }
601
+ },
602
+ "required": [
603
+ "claude-acp",
604
+ "codex-acp",
605
+ "acp"
606
+ ],
607
+ "additionalProperties": true
516
608
  }
517
609
  },
518
610
  "required": [
@@ -505,6 +505,98 @@
505
505
  "enabled"
506
506
  ],
507
507
  "additionalProperties": true
508
+ },
509
+ "agents": {
510
+ "type": "object",
511
+ "properties": {
512
+ "claude-acp": {
513
+ "type": "object",
514
+ "properties": {
515
+ "found": {
516
+ "type": "boolean"
517
+ },
518
+ "problem": {
519
+ "type": "string",
520
+ "minLength": 1
521
+ },
522
+ "name": {
523
+ "anyOf": [
524
+ {
525
+ "type": "string",
526
+ "minLength": 1
527
+ },
528
+ {
529
+ "type": "null"
530
+ }
531
+ ]
532
+ }
533
+ },
534
+ "required": [
535
+ "found"
536
+ ],
537
+ "additionalProperties": true
538
+ },
539
+ "codex-acp": {
540
+ "type": "object",
541
+ "properties": {
542
+ "found": {
543
+ "type": "boolean"
544
+ },
545
+ "problem": {
546
+ "type": "string",
547
+ "minLength": 1
548
+ },
549
+ "name": {
550
+ "anyOf": [
551
+ {
552
+ "type": "string",
553
+ "minLength": 1
554
+ },
555
+ {
556
+ "type": "null"
557
+ }
558
+ ]
559
+ }
560
+ },
561
+ "required": [
562
+ "found"
563
+ ],
564
+ "additionalProperties": true
565
+ },
566
+ "acp": {
567
+ "type": "object",
568
+ "properties": {
569
+ "found": {
570
+ "type": "boolean"
571
+ },
572
+ "problem": {
573
+ "type": "string",
574
+ "minLength": 1
575
+ },
576
+ "name": {
577
+ "anyOf": [
578
+ {
579
+ "type": "string",
580
+ "minLength": 1
581
+ },
582
+ {
583
+ "type": "null"
584
+ }
585
+ ]
586
+ }
587
+ },
588
+ "required": [
589
+ "found"
590
+ ],
591
+ "additionalProperties": true
592
+ }
593
+ },
594
+ "required": [
595
+ "claude-acp",
596
+ "codex-acp",
597
+ "acp"
598
+ ],
599
+ "additionalProperties": true
508
600
  }
509
601
  },
510
602
  "required": [
@@ -600,6 +600,98 @@
600
600
  "enabled"
601
601
  ],
602
602
  "additionalProperties": true
603
+ },
604
+ "agents": {
605
+ "type": "object",
606
+ "properties": {
607
+ "claude-acp": {
608
+ "type": "object",
609
+ "properties": {
610
+ "found": {
611
+ "type": "boolean"
612
+ },
613
+ "problem": {
614
+ "type": "string",
615
+ "minLength": 1
616
+ },
617
+ "name": {
618
+ "anyOf": [
619
+ {
620
+ "type": "string",
621
+ "minLength": 1
622
+ },
623
+ {
624
+ "type": "null"
625
+ }
626
+ ]
627
+ }
628
+ },
629
+ "required": [
630
+ "found"
631
+ ],
632
+ "additionalProperties": true
633
+ },
634
+ "codex-acp": {
635
+ "type": "object",
636
+ "properties": {
637
+ "found": {
638
+ "type": "boolean"
639
+ },
640
+ "problem": {
641
+ "type": "string",
642
+ "minLength": 1
643
+ },
644
+ "name": {
645
+ "anyOf": [
646
+ {
647
+ "type": "string",
648
+ "minLength": 1
649
+ },
650
+ {
651
+ "type": "null"
652
+ }
653
+ ]
654
+ }
655
+ },
656
+ "required": [
657
+ "found"
658
+ ],
659
+ "additionalProperties": true
660
+ },
661
+ "acp": {
662
+ "type": "object",
663
+ "properties": {
664
+ "found": {
665
+ "type": "boolean"
666
+ },
667
+ "problem": {
668
+ "type": "string",
669
+ "minLength": 1
670
+ },
671
+ "name": {
672
+ "anyOf": [
673
+ {
674
+ "type": "string",
675
+ "minLength": 1
676
+ },
677
+ {
678
+ "type": "null"
679
+ }
680
+ ]
681
+ }
682
+ },
683
+ "required": [
684
+ "found"
685
+ ],
686
+ "additionalProperties": true
687
+ }
688
+ },
689
+ "required": [
690
+ "claude-acp",
691
+ "codex-acp",
692
+ "acp"
693
+ ],
694
+ "additionalProperties": true
603
695
  }
604
696
  },
605
697
  "required": [
@@ -50,6 +50,22 @@
50
50
  "pattern": "^[a-f0-9]{64}$"
51
51
  },
52
52
  "maxItems": 8
53
+ },
54
+ "continue": {
55
+ "type": "object",
56
+ "additionalProperties": false,
57
+ "properties": {
58
+ "session": {
59
+ "type": "string",
60
+ "pattern": "^x-[a-f0-9]{64}$"
61
+ },
62
+ "copy": {
63
+ "type": "boolean"
64
+ }
65
+ },
66
+ "required": [
67
+ "session"
68
+ ]
53
69
  }
54
70
  },
55
71
  "required": [
@@ -273,6 +289,35 @@
273
289
  "type": "null"
274
290
  }
275
291
  ]
292
+ },
293
+ "origin": {
294
+ "anyOf": [
295
+ {
296
+ "type": "object",
297
+ "properties": {
298
+ "producer": {
299
+ "type": "string",
300
+ "minLength": 1
301
+ },
302
+ "where": {
303
+ "type": "string",
304
+ "minLength": 1
305
+ },
306
+ "copyOf": {
307
+ "type": "string",
308
+ "minLength": 1
309
+ }
310
+ },
311
+ "required": [
312
+ "producer",
313
+ "where"
314
+ ],
315
+ "additionalProperties": true
316
+ },
317
+ {
318
+ "type": "null"
319
+ }
320
+ ]
276
321
  }
277
322
  },
278
323
  "required": [
@@ -1234,5 +1279,5 @@
1234
1279
  ],
1235
1280
  "additionalProperties": true
1236
1281
  },
1237
- "description": "Person at this machine only: start a conversation with the selected Claude Code or Codex Agent in this project. Rho selects the Agent plugin backend, attaches this project's MCP grant and records the message before sending it. Without backend or config, the person's saved Agent and settings are used and recorded with the conversation. A repeated changeId with the same text returns the original conversation and starts nothing."
1282
+ "description": "Person at this machine only: start a conversation with the selected Claude Code or Codex Agent in this project. Rho selects the Agent plugin backend, attaches this project's MCP grant and records the message before sending it. Without backend or config, the person's saved Agent and settings are used and recorded with the conversation. A repeated changeId with the same text returns the original conversation and starts nothing. With continue, the message continues an Agent session listed by agent.sessions.list (one started in a terminal, an editor or the Agent's own app) through that same session, or through a copy of it with copy; a session another live window holds open is refused unless copied."
1238
1283
  }
@@ -238,6 +238,35 @@
238
238
  "type": "null"
239
239
  }
240
240
  ]
241
+ },
242
+ "origin": {
243
+ "anyOf": [
244
+ {
245
+ "type": "object",
246
+ "properties": {
247
+ "producer": {
248
+ "type": "string",
249
+ "minLength": 1
250
+ },
251
+ "where": {
252
+ "type": "string",
253
+ "minLength": 1
254
+ },
255
+ "copyOf": {
256
+ "type": "string",
257
+ "minLength": 1
258
+ }
259
+ },
260
+ "required": [
261
+ "producer",
262
+ "where"
263
+ ],
264
+ "additionalProperties": true
265
+ },
266
+ {
267
+ "type": "null"
268
+ }
269
+ ]
241
270
  }
242
271
  },
243
272
  "required": [
@@ -233,6 +233,35 @@
233
233
  "type": "null"
234
234
  }
235
235
  ]
236
+ },
237
+ "origin": {
238
+ "anyOf": [
239
+ {
240
+ "type": "object",
241
+ "properties": {
242
+ "producer": {
243
+ "type": "string",
244
+ "minLength": 1
245
+ },
246
+ "where": {
247
+ "type": "string",
248
+ "minLength": 1
249
+ },
250
+ "copyOf": {
251
+ "type": "string",
252
+ "minLength": 1
253
+ }
254
+ },
255
+ "required": [
256
+ "producer",
257
+ "where"
258
+ ],
259
+ "additionalProperties": true
260
+ },
261
+ {
262
+ "type": "null"
263
+ }
264
+ ]
236
265
  }
237
266
  },
238
267
  "required": [
@@ -4776,6 +4776,35 @@
4776
4776
  "type": "null"
4777
4777
  }
4778
4778
  ]
4779
+ },
4780
+ "origin": {
4781
+ "anyOf": [
4782
+ {
4783
+ "type": "object",
4784
+ "properties": {
4785
+ "producer": {
4786
+ "type": "string",
4787
+ "minLength": 1
4788
+ },
4789
+ "where": {
4790
+ "type": "string",
4791
+ "minLength": 1
4792
+ },
4793
+ "copyOf": {
4794
+ "type": "string",
4795
+ "minLength": 1
4796
+ }
4797
+ },
4798
+ "required": [
4799
+ "producer",
4800
+ "where"
4801
+ ],
4802
+ "additionalProperties": true
4803
+ },
4804
+ {
4805
+ "type": "null"
4806
+ }
4807
+ ]
4779
4808
  }
4780
4809
  },
4781
4810
  "required": [
@@ -0,0 +1,43 @@
1
+ {
2
+ "method": "session.instructions",
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "projectId": {
8
+ "type": "string",
9
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
10
+ }
11
+ },
12
+ "required": [
13
+ "projectId"
14
+ ]
15
+ },
16
+ "outputSchema": {
17
+ "type": "object",
18
+ "properties": {
19
+ "request": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "prompt": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "command": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ }
33
+ }
34
+ },
35
+ "required": [
36
+ "request",
37
+ "prompt",
38
+ "command"
39
+ ],
40
+ "additionalProperties": true
41
+ },
42
+ "description": "Person at this machine or operator only: read a prompt for the person's own MCP client to connect itself to this existing project. Returns local launcher paths, never credential contents. Reading or copying grants no access, edits no client configuration and starts no runtime."
43
+ }