@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.
- package/dist/agent-connect.d.ts +8 -0
- package/dist/agent-connect.js +15 -0
- package/dist/browser-access.js +3 -2
- package/dist/capabilities.d.ts +2 -2
- package/dist/capabilities.js +6 -1
- package/dist/cli.js +219 -176
- package/dist/contract.generated.d.ts +472 -4
- package/dist/contract.generated.js +1 -1
- package/dist/contracts/owners.generated.js +455 -6
- package/dist/conversations.d.ts +157 -4
- package/dist/conversations.js +69 -6
- package/dist/discovery.d.ts +1 -0
- package/dist/discovery.js +3 -3
- package/dist/extension-contract.d.ts +99 -0
- package/dist/extension-contract.js +52 -0
- package/dist/extension-directory.d.ts +9 -0
- package/dist/extension-directory.js +11 -0
- package/dist/extension-worker.d.ts +1 -0
- package/dist/extension-worker.js +36 -0
- package/dist/extensions.d.ts +157 -0
- package/dist/extensions.js +349 -0
- package/dist/plugin-cli.d.ts +1 -0
- package/dist/plugin-cli.js +139 -0
- package/dist/plugin-inventory.json +18 -0
- package/dist/plugins.d.ts +3 -3
- package/dist/project-work.d.ts +3 -1
- package/dist/project-work.js +15 -2
- package/dist/protocol.d.ts +8 -0
- package/dist/protocol.js +16 -7
- package/dist/server.d.ts +5 -10
- package/dist/server.js +122 -12
- package/dist/web/.vite/manifest.json +67 -67
- package/dist/web/assets/{canvas-BXhC8RDZ.js → canvas-D8rDdfDz.js} +1 -1
- package/dist/web/assets/choices-D-YfnFP6.js +1 -0
- package/dist/web/assets/{console-Dbdo-5oO.js → console-Trqc0swD.js} +1 -1
- package/dist/web/assets/{dist-B2V0VDO0.js → dist-DZmszrjG.js} +2 -2
- package/dist/web/assets/dist-DpIHRk3B.js +1 -0
- package/dist/web/assets/{dist-D25Vn17i.js → dist-eMx6b8N1.js} +1 -1
- package/dist/web/assets/dist-pF902jHA.js +3 -0
- package/dist/web/assets/explore-in-BCHqjJ7B.js +1 -0
- package/dist/web/assets/graph-lENgfQNH.js +2 -0
- package/dist/web/assets/index-B3_OVy91.css +1 -0
- package/dist/web/assets/{index-BHQIaDsx.js → index-BpL_Kl_s.js} +87 -86
- package/dist/web/assets/{notes-meaning-DdPbtNzJ.js → notes-meaning-DcVGUBBY.js} +1 -1
- package/dist/web/assets/overview-CDnVKlOt.js +6 -0
- package/dist/web/assets/preview-BEC1E9MK.js +1 -0
- package/dist/web/assets/{review-CmWou4Iv.js → review-DYP0aCXb.js} +1 -1
- package/dist/web/assets/{skills-Dy7n3L9d.js → skills-1ec0Z-jx.js} +1 -1
- package/dist/web/assets/{skills-work-Cj0W6b-I.js → skills-work-DNexV4OJ.js} +1 -1
- package/dist/web/assets/{studio-process-QOY_n2_8.js → studio-process-EYQgikxq.js} +2 -2
- package/dist/web/assets/{timeline-events-DmX1BCh3.js → timeline-events-Chj2Gbx7.js} +1 -1
- package/dist/web/assets/{work-turns-Co0C71rJ.js → work-turns-CT9RVcWY.js} +1 -1
- package/dist/web/assets/workspace-COmCbGV3.js +5 -0
- package/dist/web/composition.json +65 -65
- package/dist/web/index.html +3 -3
- package/dist/web/renderer.json +1 -1
- package/dist/web-assets.d.ts +2 -1
- package/dist/web-assets.js +3 -2
- package/dist/work-contract.js +2 -2
- package/docs/FRONTEND.md +26 -18
- package/docs/HEADLESS.md +38 -28
- package/docs/PLUGIN-AUTHORING.md +4 -0
- package/docs/THIRD-PARTY-PLUGINS.md +190 -0
- package/node_modules/@rho-workspace/plugin-agent/README.md +68 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +9 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +10 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.js +2 -2
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.d.ts +6 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.js +174 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.d.ts +82 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +20 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +84 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.js +190 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +373 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.js +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.d.ts +33 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.js +3 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.d.ts +14 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.js +2 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.d.ts +15 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.js +37 -0
- package/node_modules/@rho-workspace/plugin-agent/package.json +6 -1
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
- package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
- package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
- package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
- package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
- package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
- package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
- package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
- package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
- package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
- package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
- package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
- package/node_modules/hono/dist/cjs/utils/url.js +1 -1
- package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
- package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
- package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
- package/node_modules/hono/dist/jsx/base.js +49 -32
- package/node_modules/hono/dist/jsx/components.js +2 -2
- package/node_modules/hono/dist/jsx/constants.js +2 -1
- package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
- package/node_modules/hono/dist/middleware/etag/index.js +3 -1
- package/node_modules/hono/dist/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
- package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
- package/node_modules/hono/dist/utils/cookie.js +2 -2
- package/node_modules/hono/dist/utils/mime.js +1 -1
- package/node_modules/hono/dist/utils/url.js +1 -1
- package/node_modules/hono/package.json +1 -1
- package/package.json +5 -3
- package/protocol/index.json +93 -33
- package/protocol/operations/agent.sessions.list.json +146 -0
- package/protocol/operations/agent.sessions.read.json +315 -0
- package/protocol/operations/conversation.configure.json +29 -0
- package/protocol/operations/conversation.decide.json +29 -0
- package/protocol/operations/conversation.list.json +29 -0
- package/protocol/operations/conversation.permission.json +29 -0
- package/protocol/operations/conversation.read.json +29 -0
- package/protocol/operations/conversation.restore.json +29 -0
- package/protocol/operations/conversation.send.json +29 -0
- package/protocol/operations/conversation.settings.check.json +92 -0
- package/protocol/operations/conversation.settings.read.json +92 -0
- package/protocol/operations/conversation.settings.update.json +92 -0
- package/protocol/operations/conversation.start.json +46 -1
- package/protocol/operations/conversation.stop.json +29 -0
- package/protocol/operations/conversation.trash.json +29 -0
- package/protocol/operations/extension.call.json +132 -0
- package/protocol/operations/extension.content.json +78 -0
- package/protocol/operations/extension.describe.json +195 -0
- package/protocol/operations/extension.install.json +198 -0
- package/protocol/operations/extension.list.json +123 -0
- package/protocol/operations/extension.manage.json +55 -0
- package/protocol/operations/extension.read.json +112 -0
- package/protocol/operations/observation.snapshot.json +29 -0
- package/protocol/operations/project.work.read.json +3 -2
- package/protocol/operations/session.grant.json +9 -0
- package/protocol/operations/session.instructions.json +43 -0
- package/scripts/third-party-acceptance.mjs +77 -0
- package/vendor/composition.json +83 -83
- package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
- package/web/theme.css +12 -0
- package/dist/web/assets/choices-DU9kHlyQ.js +0 -1
- package/dist/web/assets/dist-BV3hWfn_.js +0 -3
- package/dist/web/assets/dist-CLNF2g-E.js +0 -1
- package/dist/web/assets/explore-in-8Q5ftt-E.js +0 -1
- package/dist/web/assets/graph-hS2kvHTI.js +0 -2
- package/dist/web/assets/index-Cj1_iqyK.css +0 -1
- package/dist/web/assets/overview-BV6ZO5TO.js +0 -6
- package/dist/web/assets/preview-n5lOOdjN.js +0 -1
- package/dist/web/assets/workspace-BKFefRfJ.js +0 -5
- package/vendor/rho-workspace-plugin-agent-0.4.28.tgz +0 -0
|
@@ -141,6 +141,18 @@ export declare const plugin: {
|
|
|
141
141
|
description: string;
|
|
142
142
|
readOnly: true;
|
|
143
143
|
runsCode: false;
|
|
144
|
+
} | {
|
|
145
|
+
order: number;
|
|
146
|
+
displayName: string;
|
|
147
|
+
description: string;
|
|
148
|
+
readOnly: true;
|
|
149
|
+
runsCode: false;
|
|
150
|
+
} | {
|
|
151
|
+
order: number;
|
|
152
|
+
displayName: string;
|
|
153
|
+
description: string;
|
|
154
|
+
readOnly: true;
|
|
155
|
+
runsCode: false;
|
|
144
156
|
} | {
|
|
145
157
|
order: number;
|
|
146
158
|
displayName: string;
|
|
@@ -237,6 +249,18 @@ export declare const plugin: {
|
|
|
237
249
|
description: string;
|
|
238
250
|
readOnly: true;
|
|
239
251
|
runsCode: false;
|
|
252
|
+
} | {
|
|
253
|
+
order: number;
|
|
254
|
+
displayName: string;
|
|
255
|
+
description: string;
|
|
256
|
+
readOnly: true;
|
|
257
|
+
runsCode: false;
|
|
258
|
+
} | {
|
|
259
|
+
order: number;
|
|
260
|
+
displayName: string;
|
|
261
|
+
description: string;
|
|
262
|
+
readOnly: true;
|
|
263
|
+
runsCode: false;
|
|
240
264
|
} | {
|
|
241
265
|
order: number;
|
|
242
266
|
displayName: string;
|
|
@@ -333,6 +357,234 @@ export declare const plugin: {
|
|
|
333
357
|
description: string;
|
|
334
358
|
readOnly: true;
|
|
335
359
|
runsCode: false;
|
|
360
|
+
} | {
|
|
361
|
+
order: number;
|
|
362
|
+
displayName: string;
|
|
363
|
+
description: string;
|
|
364
|
+
readOnly: true;
|
|
365
|
+
runsCode: false;
|
|
366
|
+
} | {
|
|
367
|
+
order: number;
|
|
368
|
+
displayName: string;
|
|
369
|
+
description: string;
|
|
370
|
+
readOnly: true;
|
|
371
|
+
runsCode: false;
|
|
372
|
+
} | {
|
|
373
|
+
order: number;
|
|
374
|
+
displayName: string;
|
|
375
|
+
description: string;
|
|
376
|
+
readOnly: false;
|
|
377
|
+
runsCode: false;
|
|
378
|
+
} | {
|
|
379
|
+
order: number;
|
|
380
|
+
displayName: string;
|
|
381
|
+
description: string;
|
|
382
|
+
readOnly: false;
|
|
383
|
+
runsCode: false;
|
|
384
|
+
} | {
|
|
385
|
+
order: number;
|
|
386
|
+
displayName: string;
|
|
387
|
+
description: string;
|
|
388
|
+
readOnly: false;
|
|
389
|
+
runsCode: false;
|
|
390
|
+
} | {
|
|
391
|
+
order: number;
|
|
392
|
+
displayName: string;
|
|
393
|
+
description: string;
|
|
394
|
+
readOnly: true;
|
|
395
|
+
runsCode: false;
|
|
396
|
+
} | {
|
|
397
|
+
order: number;
|
|
398
|
+
displayName: string;
|
|
399
|
+
description: string;
|
|
400
|
+
readOnly: false;
|
|
401
|
+
runsCode: false;
|
|
402
|
+
} | {
|
|
403
|
+
order: number;
|
|
404
|
+
displayName: string;
|
|
405
|
+
description: string;
|
|
406
|
+
readOnly: true;
|
|
407
|
+
runsCode: false;
|
|
408
|
+
} | {
|
|
409
|
+
order: number;
|
|
410
|
+
displayName: string;
|
|
411
|
+
description: string;
|
|
412
|
+
readOnly: true;
|
|
413
|
+
runsCode: false;
|
|
414
|
+
} | {
|
|
415
|
+
order: number;
|
|
416
|
+
displayName: string;
|
|
417
|
+
description: string;
|
|
418
|
+
readOnly: false;
|
|
419
|
+
runsCode: false;
|
|
420
|
+
} | {
|
|
421
|
+
order: number;
|
|
422
|
+
displayName: string;
|
|
423
|
+
description: string;
|
|
424
|
+
readOnly: false;
|
|
425
|
+
runsCode: false;
|
|
426
|
+
} | {
|
|
427
|
+
order: number;
|
|
428
|
+
displayName: string;
|
|
429
|
+
description: string;
|
|
430
|
+
readOnly: false;
|
|
431
|
+
runsCode: false;
|
|
432
|
+
} | {
|
|
433
|
+
order: number;
|
|
434
|
+
displayName: string;
|
|
435
|
+
description: string;
|
|
436
|
+
readOnly: true;
|
|
437
|
+
runsCode: false;
|
|
438
|
+
};
|
|
439
|
+
version: "2.0";
|
|
440
|
+
} | {
|
|
441
|
+
requires: string[];
|
|
442
|
+
inputSchema: {
|
|
443
|
+
type: string;
|
|
444
|
+
properties: Record<string, any>;
|
|
445
|
+
required: string[];
|
|
446
|
+
additionalProperties: boolean;
|
|
447
|
+
};
|
|
448
|
+
outputSchema: {
|
|
449
|
+
type: string;
|
|
450
|
+
properties: Record<string, any>;
|
|
451
|
+
required: string[];
|
|
452
|
+
additionalProperties: boolean;
|
|
453
|
+
};
|
|
454
|
+
effect: "read";
|
|
455
|
+
method: string;
|
|
456
|
+
presentation: {
|
|
457
|
+
order: number;
|
|
458
|
+
displayName: string;
|
|
459
|
+
description: string;
|
|
460
|
+
readOnly: true;
|
|
461
|
+
runsCode: false;
|
|
462
|
+
} | {
|
|
463
|
+
order: number;
|
|
464
|
+
displayName: string;
|
|
465
|
+
description: string;
|
|
466
|
+
readOnly: true;
|
|
467
|
+
runsCode: false;
|
|
468
|
+
} | {
|
|
469
|
+
order: number;
|
|
470
|
+
displayName: string;
|
|
471
|
+
description: string;
|
|
472
|
+
readOnly: true;
|
|
473
|
+
runsCode: false;
|
|
474
|
+
} | {
|
|
475
|
+
order: number;
|
|
476
|
+
displayName: string;
|
|
477
|
+
description: string;
|
|
478
|
+
readOnly: true;
|
|
479
|
+
runsCode: false;
|
|
480
|
+
} | {
|
|
481
|
+
order: number;
|
|
482
|
+
displayName: string;
|
|
483
|
+
description: string;
|
|
484
|
+
readOnly: false;
|
|
485
|
+
runsCode: false;
|
|
486
|
+
} | {
|
|
487
|
+
order: number;
|
|
488
|
+
displayName: string;
|
|
489
|
+
description: string;
|
|
490
|
+
readOnly: false;
|
|
491
|
+
runsCode: false;
|
|
492
|
+
} | {
|
|
493
|
+
order: number;
|
|
494
|
+
displayName: string;
|
|
495
|
+
description: string;
|
|
496
|
+
readOnly: false;
|
|
497
|
+
runsCode: false;
|
|
498
|
+
} | {
|
|
499
|
+
order: number;
|
|
500
|
+
displayName: string;
|
|
501
|
+
description: string;
|
|
502
|
+
readOnly: true;
|
|
503
|
+
runsCode: false;
|
|
504
|
+
} | {
|
|
505
|
+
order: number;
|
|
506
|
+
displayName: string;
|
|
507
|
+
description: string;
|
|
508
|
+
readOnly: false;
|
|
509
|
+
runsCode: false;
|
|
510
|
+
} | {
|
|
511
|
+
order: number;
|
|
512
|
+
displayName: string;
|
|
513
|
+
description: string;
|
|
514
|
+
readOnly: true;
|
|
515
|
+
runsCode: false;
|
|
516
|
+
} | {
|
|
517
|
+
order: number;
|
|
518
|
+
displayName: string;
|
|
519
|
+
description: string;
|
|
520
|
+
readOnly: true;
|
|
521
|
+
runsCode: false;
|
|
522
|
+
} | {
|
|
523
|
+
order: number;
|
|
524
|
+
displayName: string;
|
|
525
|
+
description: string;
|
|
526
|
+
readOnly: false;
|
|
527
|
+
runsCode: false;
|
|
528
|
+
} | {
|
|
529
|
+
order: number;
|
|
530
|
+
displayName: string;
|
|
531
|
+
description: string;
|
|
532
|
+
readOnly: false;
|
|
533
|
+
runsCode: false;
|
|
534
|
+
} | {
|
|
535
|
+
order: number;
|
|
536
|
+
displayName: string;
|
|
537
|
+
description: string;
|
|
538
|
+
readOnly: false;
|
|
539
|
+
runsCode: false;
|
|
540
|
+
} | {
|
|
541
|
+
order: number;
|
|
542
|
+
displayName: string;
|
|
543
|
+
description: string;
|
|
544
|
+
readOnly: true;
|
|
545
|
+
runsCode: false;
|
|
546
|
+
};
|
|
547
|
+
version: "2.0";
|
|
548
|
+
} | {
|
|
549
|
+
requires: string[];
|
|
550
|
+
inputSchema: {
|
|
551
|
+
type: string;
|
|
552
|
+
properties: Record<string, any>;
|
|
553
|
+
required: string[];
|
|
554
|
+
additionalProperties: boolean;
|
|
555
|
+
};
|
|
556
|
+
outputSchema: {
|
|
557
|
+
type: string;
|
|
558
|
+
properties: Record<string, any>;
|
|
559
|
+
required: string[];
|
|
560
|
+
additionalProperties: boolean;
|
|
561
|
+
};
|
|
562
|
+
effect: "read";
|
|
563
|
+
method: string;
|
|
564
|
+
presentation: {
|
|
565
|
+
order: number;
|
|
566
|
+
displayName: string;
|
|
567
|
+
description: string;
|
|
568
|
+
readOnly: true;
|
|
569
|
+
runsCode: false;
|
|
570
|
+
} | {
|
|
571
|
+
order: number;
|
|
572
|
+
displayName: string;
|
|
573
|
+
description: string;
|
|
574
|
+
readOnly: true;
|
|
575
|
+
runsCode: false;
|
|
576
|
+
} | {
|
|
577
|
+
order: number;
|
|
578
|
+
displayName: string;
|
|
579
|
+
description: string;
|
|
580
|
+
readOnly: true;
|
|
581
|
+
runsCode: false;
|
|
582
|
+
} | {
|
|
583
|
+
order: number;
|
|
584
|
+
displayName: string;
|
|
585
|
+
description: string;
|
|
586
|
+
readOnly: true;
|
|
587
|
+
runsCode: false;
|
|
336
588
|
} | {
|
|
337
589
|
order: number;
|
|
338
590
|
displayName: string;
|
|
@@ -541,6 +793,18 @@ export declare const plugin: {
|
|
|
541
793
|
description: string;
|
|
542
794
|
readOnly: true;
|
|
543
795
|
runsCode: false;
|
|
796
|
+
} | {
|
|
797
|
+
order: number;
|
|
798
|
+
displayName: string;
|
|
799
|
+
description: string;
|
|
800
|
+
readOnly: true;
|
|
801
|
+
runsCode: false;
|
|
802
|
+
} | {
|
|
803
|
+
order: number;
|
|
804
|
+
displayName: string;
|
|
805
|
+
description: string;
|
|
806
|
+
readOnly: true;
|
|
807
|
+
runsCode: false;
|
|
544
808
|
} | {
|
|
545
809
|
order: number;
|
|
546
810
|
displayName: string;
|
|
@@ -639,6 +903,18 @@ export declare const plugin: {
|
|
|
639
903
|
description: string;
|
|
640
904
|
readOnly: true;
|
|
641
905
|
runsCode: false;
|
|
906
|
+
} | {
|
|
907
|
+
order: number;
|
|
908
|
+
displayName: string;
|
|
909
|
+
description: string;
|
|
910
|
+
readOnly: true;
|
|
911
|
+
runsCode: false;
|
|
912
|
+
} | {
|
|
913
|
+
order: number;
|
|
914
|
+
displayName: string;
|
|
915
|
+
description: string;
|
|
916
|
+
readOnly: true;
|
|
917
|
+
runsCode: false;
|
|
642
918
|
} | {
|
|
643
919
|
order: number;
|
|
644
920
|
displayName: string;
|
|
@@ -765,6 +1041,18 @@ export declare const plugin: {
|
|
|
765
1041
|
description: string;
|
|
766
1042
|
readOnly: true;
|
|
767
1043
|
runsCode: false;
|
|
1044
|
+
} | {
|
|
1045
|
+
order: number;
|
|
1046
|
+
displayName: string;
|
|
1047
|
+
description: string;
|
|
1048
|
+
readOnly: true;
|
|
1049
|
+
runsCode: false;
|
|
1050
|
+
} | {
|
|
1051
|
+
order: number;
|
|
1052
|
+
displayName: string;
|
|
1053
|
+
description: string;
|
|
1054
|
+
readOnly: true;
|
|
1055
|
+
runsCode: false;
|
|
768
1056
|
} | {
|
|
769
1057
|
order: number;
|
|
770
1058
|
displayName: string;
|
|
@@ -893,6 +1181,18 @@ export declare const plugin: {
|
|
|
893
1181
|
description: string;
|
|
894
1182
|
readOnly: true;
|
|
895
1183
|
runsCode: false;
|
|
1184
|
+
} | {
|
|
1185
|
+
order: number;
|
|
1186
|
+
displayName: string;
|
|
1187
|
+
description: string;
|
|
1188
|
+
readOnly: true;
|
|
1189
|
+
runsCode: false;
|
|
1190
|
+
} | {
|
|
1191
|
+
order: number;
|
|
1192
|
+
displayName: string;
|
|
1193
|
+
description: string;
|
|
1194
|
+
readOnly: true;
|
|
1195
|
+
runsCode: false;
|
|
896
1196
|
} | {
|
|
897
1197
|
order: number;
|
|
898
1198
|
displayName: string;
|
|
@@ -979,6 +1279,18 @@ export declare const plugin: {
|
|
|
979
1279
|
description: string;
|
|
980
1280
|
readOnly: true;
|
|
981
1281
|
runsCode: false;
|
|
1282
|
+
} | {
|
|
1283
|
+
order: number;
|
|
1284
|
+
displayName: string;
|
|
1285
|
+
description: string;
|
|
1286
|
+
readOnly: true;
|
|
1287
|
+
runsCode: false;
|
|
1288
|
+
} | {
|
|
1289
|
+
order: number;
|
|
1290
|
+
displayName: string;
|
|
1291
|
+
description: string;
|
|
1292
|
+
readOnly: true;
|
|
1293
|
+
runsCode: false;
|
|
982
1294
|
} | {
|
|
983
1295
|
order: number;
|
|
984
1296
|
displayName: string;
|
|
@@ -1065,6 +1377,18 @@ export declare const plugin: {
|
|
|
1065
1377
|
description: string;
|
|
1066
1378
|
readOnly: true;
|
|
1067
1379
|
runsCode: false;
|
|
1380
|
+
} | {
|
|
1381
|
+
order: number;
|
|
1382
|
+
displayName: string;
|
|
1383
|
+
description: string;
|
|
1384
|
+
readOnly: true;
|
|
1385
|
+
runsCode: false;
|
|
1386
|
+
} | {
|
|
1387
|
+
order: number;
|
|
1388
|
+
displayName: string;
|
|
1389
|
+
description: string;
|
|
1390
|
+
readOnly: true;
|
|
1391
|
+
runsCode: false;
|
|
1068
1392
|
} | {
|
|
1069
1393
|
order: number;
|
|
1070
1394
|
displayName: string;
|
|
@@ -1151,6 +1475,18 @@ export declare const plugin: {
|
|
|
1151
1475
|
description: string;
|
|
1152
1476
|
readOnly: true;
|
|
1153
1477
|
runsCode: false;
|
|
1478
|
+
} | {
|
|
1479
|
+
order: number;
|
|
1480
|
+
displayName: string;
|
|
1481
|
+
description: string;
|
|
1482
|
+
readOnly: true;
|
|
1483
|
+
runsCode: false;
|
|
1484
|
+
} | {
|
|
1485
|
+
order: number;
|
|
1486
|
+
displayName: string;
|
|
1487
|
+
description: string;
|
|
1488
|
+
readOnly: true;
|
|
1489
|
+
runsCode: false;
|
|
1154
1490
|
} | {
|
|
1155
1491
|
order: number;
|
|
1156
1492
|
displayName: string;
|
|
@@ -1239,6 +1575,18 @@ export declare const plugin: {
|
|
|
1239
1575
|
description: string;
|
|
1240
1576
|
readOnly: true;
|
|
1241
1577
|
runsCode: false;
|
|
1578
|
+
} | {
|
|
1579
|
+
order: number;
|
|
1580
|
+
displayName: string;
|
|
1581
|
+
description: string;
|
|
1582
|
+
readOnly: true;
|
|
1583
|
+
runsCode: false;
|
|
1584
|
+
} | {
|
|
1585
|
+
order: number;
|
|
1586
|
+
displayName: string;
|
|
1587
|
+
description: string;
|
|
1588
|
+
readOnly: true;
|
|
1589
|
+
runsCode: false;
|
|
1242
1590
|
} | {
|
|
1243
1591
|
order: number;
|
|
1244
1592
|
displayName: string;
|
|
@@ -1327,6 +1675,18 @@ export declare const plugin: {
|
|
|
1327
1675
|
description: string;
|
|
1328
1676
|
readOnly: true;
|
|
1329
1677
|
runsCode: false;
|
|
1678
|
+
} | {
|
|
1679
|
+
order: number;
|
|
1680
|
+
displayName: string;
|
|
1681
|
+
description: string;
|
|
1682
|
+
readOnly: true;
|
|
1683
|
+
runsCode: false;
|
|
1684
|
+
} | {
|
|
1685
|
+
order: number;
|
|
1686
|
+
displayName: string;
|
|
1687
|
+
description: string;
|
|
1688
|
+
readOnly: true;
|
|
1689
|
+
runsCode: false;
|
|
1330
1690
|
} | {
|
|
1331
1691
|
order: number;
|
|
1332
1692
|
displayName: string;
|
|
@@ -1413,6 +1773,18 @@ export declare const plugin: {
|
|
|
1413
1773
|
description: string;
|
|
1414
1774
|
readOnly: true;
|
|
1415
1775
|
runsCode: false;
|
|
1776
|
+
} | {
|
|
1777
|
+
order: number;
|
|
1778
|
+
displayName: string;
|
|
1779
|
+
description: string;
|
|
1780
|
+
readOnly: true;
|
|
1781
|
+
runsCode: false;
|
|
1782
|
+
} | {
|
|
1783
|
+
order: number;
|
|
1784
|
+
displayName: string;
|
|
1785
|
+
description: string;
|
|
1786
|
+
readOnly: true;
|
|
1787
|
+
runsCode: false;
|
|
1416
1788
|
} | {
|
|
1417
1789
|
order: number;
|
|
1418
1790
|
displayName: string;
|
|
@@ -1601,3 +1973,4 @@ export declare const plugin: {
|
|
|
1601
1973
|
proactivePush: string;
|
|
1602
1974
|
};
|
|
1603
1975
|
};
|
|
1976
|
+
export { listExternalSessions, readExternalSession } from './external-session.js';
|
|
@@ -307,3 +307,4 @@ export const plugin = { entryVersion: '1.0', id: 'agent', package: '@rho-workspa
|
|
|
307
307
|
components: [{ id: 'rho.agent-note', version: '0.2.0', owner: 'rho-plugins.agent', bindings: {}, propsSchema: layeredSchemas.AgentNoteProps, ui: './ui', presentation: { displayName: 'Agent note', description: 'A plain presentation explanation with authenticated author and binding basis.', readOnly: true, runsCode: false } }],
|
|
308
308
|
skills: [{ ...agentSkill, presentation: skillPresentation }, { ...feedbackSkill, presentation: { displayName: 'Business feedback', description: 'Reads original feedback, preserves current human edits and links an explicit reply.' } }, { ...presentationSkill, presentation: { displayName: 'Presentation', description: 'Enhances the assigned visible layout without business feedback or document access.' } }],
|
|
309
309
|
agent: { id: 'claude-code-mcp', transport: 'stdio', modelLoop: 'external-client', contextDelivery: 'pull-tool-result', proactivePush: 'unsupported' } };
|
|
310
|
+
export { listExternalSessions, readExternalSession } from './external-session.js';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type ExternalSessionSummary, type ExternalTurn } from './external-session.js';
|
|
2
|
+
export declare const nativeSessionLimits: {
|
|
3
|
+
maxSessions: number;
|
|
4
|
+
maxScanFiles: number;
|
|
5
|
+
maxHeadBytes: number;
|
|
6
|
+
maxTailBytes: number;
|
|
7
|
+
maxReadBytes: number;
|
|
8
|
+
maxTurns: number;
|
|
9
|
+
maxTools: number;
|
|
10
|
+
maxTextChars: number;
|
|
11
|
+
maxDetailChars: number;
|
|
12
|
+
activeMs: number;
|
|
13
|
+
};
|
|
14
|
+
export type NativeProducer = 'claude-code' | 'codex';
|
|
15
|
+
export interface NativeSessionSources {
|
|
16
|
+
claudeConfigDir?: string;
|
|
17
|
+
codexHome?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface NativeSessionSummary extends ExternalSessionSummary {
|
|
20
|
+
producer: NativeProducer;
|
|
21
|
+
where: string;
|
|
22
|
+
open: {
|
|
23
|
+
where: string;
|
|
24
|
+
since?: string;
|
|
25
|
+
pid?: number;
|
|
26
|
+
} | null;
|
|
27
|
+
resume: string;
|
|
28
|
+
bytes: number;
|
|
29
|
+
}
|
|
30
|
+
export declare function nativeSources(env?: NodeJS.ProcessEnv): Required<NativeSessionSources>;
|
|
31
|
+
/** The Agents' own sessions whose working folder is `root`, newest first. Reads files only. */
|
|
32
|
+
export declare function listNativeSessions(root: string, sources?: NativeSessionSources): {
|
|
33
|
+
sessions: NativeSessionSummary[];
|
|
34
|
+
omitted: number;
|
|
35
|
+
};
|
|
36
|
+
/** One session's turns, read through its file (its last maxReadBytes when larger). */
|
|
37
|
+
export declare function readNativeSession(root: string, input: {
|
|
38
|
+
session: string;
|
|
39
|
+
before?: number;
|
|
40
|
+
limit?: number;
|
|
41
|
+
}, sources?: NativeSessionSources): Promise<{
|
|
42
|
+
session: {
|
|
43
|
+
turns: number;
|
|
44
|
+
omittedTurns: number;
|
|
45
|
+
producer: NativeProducer;
|
|
46
|
+
where: string;
|
|
47
|
+
open: {
|
|
48
|
+
where: string;
|
|
49
|
+
since?: string;
|
|
50
|
+
pid?: number;
|
|
51
|
+
} | null;
|
|
52
|
+
resume: string;
|
|
53
|
+
bytes: number;
|
|
54
|
+
id: string;
|
|
55
|
+
sessionId: string;
|
|
56
|
+
title: string;
|
|
57
|
+
lastAt: string;
|
|
58
|
+
observedAt: string;
|
|
59
|
+
state: ExternalTurn["state"];
|
|
60
|
+
sourceCursor: number;
|
|
61
|
+
problem?: string;
|
|
62
|
+
inputOwner?: "external";
|
|
63
|
+
continueWith?: "claude-acp" | "codex-acp" | "acp" | null;
|
|
64
|
+
conversationId?: string;
|
|
65
|
+
};
|
|
66
|
+
first: number;
|
|
67
|
+
turns: ExternalTurn[];
|
|
68
|
+
} | null>;
|
|
69
|
+
/** Whether `sessionId` names a session of this Agent in `root`, and its summary. */
|
|
70
|
+
export declare function nativeSession(root: string, producer: NativeProducer, sessionId: string, sources?: NativeSessionSources): NativeSessionSummary | null;
|