@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.
- package/dist/agent-connect.d.ts +8 -0
- package/dist/agent-connect.js +15 -0
- package/dist/browser-access.js +1 -1
- package/dist/cli.js +38 -8
- package/dist/contract.generated.d.ts +148 -5
- package/dist/contract.generated.js +1 -1
- package/dist/contracts/owners.generated.js +107 -12
- package/dist/conversations.d.ts +157 -4
- package/dist/conversations.js +69 -6
- package/dist/discovery.js +1 -1
- package/dist/protocol.d.ts +1 -0
- package/dist/protocol.js +12 -5
- package/dist/server.d.ts +2 -10
- package/dist/server.js +71 -8
- package/dist/web/.vite/manifest.json +61 -61
- package/dist/web/assets/{choices-b0XhrGQV.js → choices-D-YfnFP6.js} +1 -1
- package/dist/web/assets/{console-BSjLGe0T.js → console-Trqc0swD.js} +1 -1
- package/dist/web/assets/{dist-Buk0lwzI.js → dist-DZmszrjG.js} +1 -1
- package/dist/web/assets/{dist-Cw8hRIlT.js → dist-DpIHRk3B.js} +1 -1
- package/dist/web/assets/{dist-foH9IKc6.js → dist-eMx6b8N1.js} +1 -1
- package/dist/web/assets/{dist-Tzoe_zm-.js → dist-pF902jHA.js} +1 -1
- package/dist/web/assets/{explore-in-BVUy3ZW_.js → explore-in-BCHqjJ7B.js} +1 -1
- package/dist/web/assets/{graph-1OdIJ9l7.js → graph-lENgfQNH.js} +1 -1
- package/dist/web/assets/index-B3_OVy91.css +1 -0
- package/dist/web/assets/{index-CxmItXqa.js → index-BpL_Kl_s.js} +84 -83
- package/dist/web/assets/{notes-meaning-pVbbQUGP.js → notes-meaning-DcVGUBBY.js} +1 -1
- package/dist/web/assets/{overview-B9UtVJ32.js → overview-CDnVKlOt.js} +3 -3
- package/dist/web/assets/{preview-CksD_5KS.js → preview-BEC1E9MK.js} +1 -1
- package/dist/web/assets/{review-CMxQlQ-C.js → review-DYP0aCXb.js} +1 -1
- package/dist/web/assets/{skills-BFNSyrnD.js → skills-1ec0Z-jx.js} +1 -1
- package/dist/web/assets/{skills-work-BGPSnF_I.js → skills-work-DNexV4OJ.js} +1 -1
- package/dist/web/assets/{studio-process-CsRoTHOh.js → studio-process-EYQgikxq.js} +1 -1
- package/dist/web/assets/{timeline-events-BbuuFWHV.js → timeline-events-Chj2Gbx7.js} +1 -1
- package/dist/web/assets/{work-turns-BvJlIMmA.js → work-turns-CT9RVcWY.js} +1 -1
- package/dist/web/assets/{workspace-CWlkjLNx.js → workspace-COmCbGV3.js} +1 -1
- package/dist/web/composition.json +58 -58
- package/dist/web/index.html +2 -2
- package/dist/web/renderer.json +1 -1
- package/docs/FRONTEND.md +26 -18
- package/docs/HEADLESS.md +37 -27
- package/node_modules/@rho-workspace/plugin-agent/README.md +29 -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/external-session-contract.js +10 -5
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +12 -1
- 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/package.json +2 -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 +2 -2
- package/protocol/index.json +39 -33
- package/protocol/operations/agent.sessions.list.json +49 -3
- package/protocol/operations/agent.sessions.read.json +53 -4
- 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/observation.snapshot.json +29 -0
- package/protocol/operations/session.instructions.json +43 -0
- package/vendor/composition.json +74 -74
- package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
- package/web/theme.css +12 -0
- package/dist/web/assets/index-CsC3sTRq.css +0 -1
- package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
|
@@ -7278,6 +7278,21 @@ export const ownerContracts = {
|
|
|
7278
7278
|
"items": {
|
|
7279
7279
|
"additionalProperties": false,
|
|
7280
7280
|
"properties": {
|
|
7281
|
+
"bytes": {
|
|
7282
|
+
"minimum": 0,
|
|
7283
|
+
"type": "integer"
|
|
7284
|
+
},
|
|
7285
|
+
"continueWith": {
|
|
7286
|
+
"enum": [
|
|
7287
|
+
"claude-acp",
|
|
7288
|
+
"codex-acp",
|
|
7289
|
+
"acp",
|
|
7290
|
+
null
|
|
7291
|
+
]
|
|
7292
|
+
},
|
|
7293
|
+
"conversationId": {
|
|
7294
|
+
"type": "string"
|
|
7295
|
+
},
|
|
7281
7296
|
"id": {
|
|
7282
7297
|
"pattern": "^x-[a-f0-9]{64}$",
|
|
7283
7298
|
"type": "string"
|
|
@@ -7295,12 +7310,41 @@ export const ownerContracts = {
|
|
|
7295
7310
|
"minimum": 0,
|
|
7296
7311
|
"type": "integer"
|
|
7297
7312
|
},
|
|
7313
|
+
"open": {
|
|
7314
|
+
"anyOf": [
|
|
7315
|
+
{
|
|
7316
|
+
"type": "null"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"additionalProperties": false,
|
|
7320
|
+
"properties": {
|
|
7321
|
+
"pid": {
|
|
7322
|
+
"minimum": 0,
|
|
7323
|
+
"type": "integer"
|
|
7324
|
+
},
|
|
7325
|
+
"since": {
|
|
7326
|
+
"type": "string"
|
|
7327
|
+
},
|
|
7328
|
+
"where": {
|
|
7329
|
+
"type": "string"
|
|
7330
|
+
}
|
|
7331
|
+
},
|
|
7332
|
+
"required": [
|
|
7333
|
+
"where"
|
|
7334
|
+
],
|
|
7335
|
+
"type": "object"
|
|
7336
|
+
}
|
|
7337
|
+
]
|
|
7338
|
+
},
|
|
7298
7339
|
"problem": {
|
|
7299
7340
|
"type": "string"
|
|
7300
7341
|
},
|
|
7301
7342
|
"producer": {
|
|
7302
7343
|
"type": "string"
|
|
7303
7344
|
},
|
|
7345
|
+
"resume": {
|
|
7346
|
+
"type": "string"
|
|
7347
|
+
},
|
|
7304
7348
|
"sessionId": {
|
|
7305
7349
|
"type": "string"
|
|
7306
7350
|
},
|
|
@@ -7323,6 +7367,9 @@ export const ownerContracts = {
|
|
|
7323
7367
|
"turns": {
|
|
7324
7368
|
"minimum": 0,
|
|
7325
7369
|
"type": "integer"
|
|
7370
|
+
},
|
|
7371
|
+
"where": {
|
|
7372
|
+
"type": "string"
|
|
7326
7373
|
}
|
|
7327
7374
|
},
|
|
7328
7375
|
"required": [
|
|
@@ -7335,12 +7382,11 @@ export const ownerContracts = {
|
|
|
7335
7382
|
"state",
|
|
7336
7383
|
"turns",
|
|
7337
7384
|
"sourceCursor",
|
|
7338
|
-
"omittedTurns"
|
|
7339
|
-
"inputOwner"
|
|
7385
|
+
"omittedTurns"
|
|
7340
7386
|
],
|
|
7341
7387
|
"type": "object"
|
|
7342
7388
|
},
|
|
7343
|
-
"maxItems":
|
|
7389
|
+
"maxItems": 128,
|
|
7344
7390
|
"type": "array"
|
|
7345
7391
|
}
|
|
7346
7392
|
},
|
|
@@ -7362,7 +7408,7 @@ export const ownerContracts = {
|
|
|
7362
7408
|
"type": "integer"
|
|
7363
7409
|
},
|
|
7364
7410
|
"limit": {
|
|
7365
|
-
"maximum":
|
|
7411
|
+
"maximum": 50,
|
|
7366
7412
|
"minimum": 1,
|
|
7367
7413
|
"type": "integer"
|
|
7368
7414
|
},
|
|
@@ -7386,6 +7432,21 @@ export const ownerContracts = {
|
|
|
7386
7432
|
"session": {
|
|
7387
7433
|
"additionalProperties": false,
|
|
7388
7434
|
"properties": {
|
|
7435
|
+
"bytes": {
|
|
7436
|
+
"minimum": 0,
|
|
7437
|
+
"type": "integer"
|
|
7438
|
+
},
|
|
7439
|
+
"continueWith": {
|
|
7440
|
+
"enum": [
|
|
7441
|
+
"claude-acp",
|
|
7442
|
+
"codex-acp",
|
|
7443
|
+
"acp",
|
|
7444
|
+
null
|
|
7445
|
+
]
|
|
7446
|
+
},
|
|
7447
|
+
"conversationId": {
|
|
7448
|
+
"type": "string"
|
|
7449
|
+
},
|
|
7389
7450
|
"id": {
|
|
7390
7451
|
"pattern": "^x-[a-f0-9]{64}$",
|
|
7391
7452
|
"type": "string"
|
|
@@ -7403,12 +7464,41 @@ export const ownerContracts = {
|
|
|
7403
7464
|
"minimum": 0,
|
|
7404
7465
|
"type": "integer"
|
|
7405
7466
|
},
|
|
7467
|
+
"open": {
|
|
7468
|
+
"anyOf": [
|
|
7469
|
+
{
|
|
7470
|
+
"type": "null"
|
|
7471
|
+
},
|
|
7472
|
+
{
|
|
7473
|
+
"additionalProperties": false,
|
|
7474
|
+
"properties": {
|
|
7475
|
+
"pid": {
|
|
7476
|
+
"minimum": 0,
|
|
7477
|
+
"type": "integer"
|
|
7478
|
+
},
|
|
7479
|
+
"since": {
|
|
7480
|
+
"type": "string"
|
|
7481
|
+
},
|
|
7482
|
+
"where": {
|
|
7483
|
+
"type": "string"
|
|
7484
|
+
}
|
|
7485
|
+
},
|
|
7486
|
+
"required": [
|
|
7487
|
+
"where"
|
|
7488
|
+
],
|
|
7489
|
+
"type": "object"
|
|
7490
|
+
}
|
|
7491
|
+
]
|
|
7492
|
+
},
|
|
7406
7493
|
"problem": {
|
|
7407
7494
|
"type": "string"
|
|
7408
7495
|
},
|
|
7409
7496
|
"producer": {
|
|
7410
7497
|
"type": "string"
|
|
7411
7498
|
},
|
|
7499
|
+
"resume": {
|
|
7500
|
+
"type": "string"
|
|
7501
|
+
},
|
|
7412
7502
|
"sessionId": {
|
|
7413
7503
|
"type": "string"
|
|
7414
7504
|
},
|
|
@@ -7431,6 +7521,9 @@ export const ownerContracts = {
|
|
|
7431
7521
|
"turns": {
|
|
7432
7522
|
"minimum": 0,
|
|
7433
7523
|
"type": "integer"
|
|
7524
|
+
},
|
|
7525
|
+
"where": {
|
|
7526
|
+
"type": "string"
|
|
7434
7527
|
}
|
|
7435
7528
|
},
|
|
7436
7529
|
"required": [
|
|
@@ -7443,8 +7536,7 @@ export const ownerContracts = {
|
|
|
7443
7536
|
"state",
|
|
7444
7537
|
"turns",
|
|
7445
7538
|
"sourceCursor",
|
|
7446
|
-
"omittedTurns"
|
|
7447
|
-
"inputOwner"
|
|
7539
|
+
"omittedTurns"
|
|
7448
7540
|
],
|
|
7449
7541
|
"type": "object"
|
|
7450
7542
|
},
|
|
@@ -7584,6 +7676,9 @@ export const ownerContracts = {
|
|
|
7584
7676
|
},
|
|
7585
7677
|
"maxItems": 256,
|
|
7586
7678
|
"type": "array"
|
|
7679
|
+
},
|
|
7680
|
+
"where": {
|
|
7681
|
+
"type": "string"
|
|
7587
7682
|
}
|
|
7588
7683
|
},
|
|
7589
7684
|
"required": [
|
|
@@ -7600,7 +7695,7 @@ export const ownerContracts = {
|
|
|
7600
7695
|
],
|
|
7601
7696
|
"type": "object"
|
|
7602
7697
|
},
|
|
7603
|
-
"maxItems":
|
|
7698
|
+
"maxItems": 50,
|
|
7604
7699
|
"type": "array"
|
|
7605
7700
|
}
|
|
7606
7701
|
},
|
|
@@ -25203,17 +25298,17 @@ export const ownerContracts = {
|
|
|
25203
25298
|
},
|
|
25204
25299
|
"agent": {
|
|
25205
25300
|
"package": "@rho-workspace/plugin-agent",
|
|
25206
|
-
"packageVersion": "0.4.
|
|
25301
|
+
"packageVersion": "0.4.30",
|
|
25207
25302
|
"entry": "./operations",
|
|
25208
25303
|
"entryPath": "@rho-workspace/plugin-agent/dist/operations.js",
|
|
25209
25304
|
"entrySha256": "3fd6d6999950895852bea81e744e74a5c9104c8f97c2c90ff0d4dbd54a990a57",
|
|
25210
25305
|
"exports": {
|
|
25211
|
-
"operationContracts": "
|
|
25306
|
+
"operationContracts": "56e2d050a1ea6ea946a1f07123a932ee312a74cef7970e4228b061cb63fcf12d"
|
|
25212
25307
|
}
|
|
25213
25308
|
},
|
|
25214
25309
|
"agent-feedback": {
|
|
25215
25310
|
"package": "@rho-workspace/plugin-agent",
|
|
25216
|
-
"packageVersion": "0.4.
|
|
25311
|
+
"packageVersion": "0.4.30",
|
|
25217
25312
|
"entry": "./feedback-contract",
|
|
25218
25313
|
"entryPath": "@rho-workspace/plugin-agent/dist/feedback-contract.js",
|
|
25219
25314
|
"entrySha256": "ecb1561d92b5953d2b786d29cfb57f6f8085d214dc1dec76f6e7bd7a5257cb75",
|
|
@@ -25223,7 +25318,7 @@ export const ownerContracts = {
|
|
|
25223
25318
|
},
|
|
25224
25319
|
"agent-native": {
|
|
25225
25320
|
"package": "@rho-workspace/plugin-agent",
|
|
25226
|
-
"packageVersion": "0.4.
|
|
25321
|
+
"packageVersion": "0.4.30",
|
|
25227
25322
|
"entry": "./contract",
|
|
25228
25323
|
"entryPath": "@rho-workspace/plugin-agent/dist/contract.js",
|
|
25229
25324
|
"entrySha256": "9e926081cb755a98d2b00d2a8488d8f4c6d25b3d5f1ec526d334ade633fe8a65",
|
|
@@ -25233,7 +25328,7 @@ export const ownerContracts = {
|
|
|
25233
25328
|
},
|
|
25234
25329
|
"agent-session": {
|
|
25235
25330
|
"package": "@rho-workspace/plugin-agent",
|
|
25236
|
-
"packageVersion": "0.4.
|
|
25331
|
+
"packageVersion": "0.4.30",
|
|
25237
25332
|
"entry": "./session-contract",
|
|
25238
25333
|
"entryPath": "@rho-workspace/plugin-agent/dist/session-contract.js",
|
|
25239
25334
|
"entrySha256": "bb5b118f965e208617781af3e8ad6b6739869bcc19f0092eab14468824693123",
|
package/dist/conversations.d.ts
CHANGED
|
@@ -165,6 +165,22 @@ export interface ConversationPorts {
|
|
|
165
165
|
listed: string;
|
|
166
166
|
} | null>;
|
|
167
167
|
notebook?(): boolean;
|
|
168
|
+
nativeSession?(project: Project, producer: 'claude-code' | 'codex', sessionId: string): Promise<{
|
|
169
|
+
open: {
|
|
170
|
+
where: string;
|
|
171
|
+
since?: string;
|
|
172
|
+
pid?: number;
|
|
173
|
+
} | null;
|
|
174
|
+
lastAt: string;
|
|
175
|
+
} | null>;
|
|
176
|
+
}
|
|
177
|
+
export interface ContinueSession {
|
|
178
|
+
producer: 'claude-code' | 'codex' | 'dsh';
|
|
179
|
+
sessionId: string;
|
|
180
|
+
title: string;
|
|
181
|
+
where: string;
|
|
182
|
+
copy: boolean;
|
|
183
|
+
backend: 'claude-acp' | 'codex-acp' | 'acp';
|
|
168
184
|
}
|
|
169
185
|
export interface DescribeRequest {
|
|
170
186
|
path: string;
|
|
@@ -256,6 +272,11 @@ export declare class Conversations {
|
|
|
256
272
|
costUsd?: number | null;
|
|
257
273
|
sessionId?: string | null;
|
|
258
274
|
trashedAt?: string | null;
|
|
275
|
+
origin?: {
|
|
276
|
+
producer: string;
|
|
277
|
+
where: string;
|
|
278
|
+
copyOf?: string;
|
|
279
|
+
} | null;
|
|
259
280
|
}[]>;
|
|
260
281
|
private relist;
|
|
261
282
|
reviewEvidence(project: Project, annotationId: string): Promise<{
|
|
@@ -319,6 +340,11 @@ export declare class Conversations {
|
|
|
319
340
|
costUsd?: number | null;
|
|
320
341
|
sessionId?: string | null;
|
|
321
342
|
trashedAt?: string | null;
|
|
343
|
+
origin?: {
|
|
344
|
+
producer: string;
|
|
345
|
+
where: string;
|
|
346
|
+
copyOf?: string;
|
|
347
|
+
} | null;
|
|
322
348
|
};
|
|
323
349
|
}>;
|
|
324
350
|
restore(project: Project, input: {
|
|
@@ -356,6 +382,11 @@ export declare class Conversations {
|
|
|
356
382
|
costUsd?: number | null;
|
|
357
383
|
sessionId?: string | null;
|
|
358
384
|
trashedAt?: string | null;
|
|
385
|
+
origin?: {
|
|
386
|
+
producer: string;
|
|
387
|
+
where: string;
|
|
388
|
+
copyOf?: string;
|
|
389
|
+
} | null;
|
|
359
390
|
};
|
|
360
391
|
}>;
|
|
361
392
|
delete(project: Project, by: string, input: {
|
|
@@ -401,6 +432,11 @@ export declare class Conversations {
|
|
|
401
432
|
costUsd?: number | null;
|
|
402
433
|
sessionId?: string | null;
|
|
403
434
|
trashedAt?: string | null;
|
|
435
|
+
origin?: {
|
|
436
|
+
producer: string;
|
|
437
|
+
where: string;
|
|
438
|
+
copyOf?: string;
|
|
439
|
+
} | null;
|
|
404
440
|
};
|
|
405
441
|
observation: SessionObservation | null;
|
|
406
442
|
config: Choices;
|
|
@@ -410,7 +446,7 @@ export declare class Conversations {
|
|
|
410
446
|
private sessionObservation;
|
|
411
447
|
work(project: Project, limit?: number): Promise<{
|
|
412
448
|
sessions: {
|
|
413
|
-
backend: "acp" | "
|
|
449
|
+
backend: "claude-acp" | "codex-acp" | "acp" | "claude-cli";
|
|
414
450
|
sessionId: string | null;
|
|
415
451
|
observation: SessionObservation | null;
|
|
416
452
|
state: string;
|
|
@@ -442,6 +478,11 @@ export declare class Conversations {
|
|
|
442
478
|
} | null;
|
|
443
479
|
costUsd?: number | null;
|
|
444
480
|
trashedAt?: string | null;
|
|
481
|
+
origin?: {
|
|
482
|
+
producer: string;
|
|
483
|
+
where: string;
|
|
484
|
+
copyOf?: string;
|
|
485
|
+
} | null;
|
|
445
486
|
}[];
|
|
446
487
|
omitted: number;
|
|
447
488
|
}>;
|
|
@@ -451,6 +492,7 @@ export declare class Conversations {
|
|
|
451
492
|
contexts?: string[];
|
|
452
493
|
backend?: Backend;
|
|
453
494
|
config?: Choices;
|
|
495
|
+
continue?: ContinueSession;
|
|
454
496
|
}): Promise<{
|
|
455
497
|
conversation: {
|
|
456
498
|
state: string;
|
|
@@ -484,9 +526,18 @@ export declare class Conversations {
|
|
|
484
526
|
costUsd?: number | null;
|
|
485
527
|
sessionId?: string | null;
|
|
486
528
|
trashedAt?: string | null;
|
|
529
|
+
origin?: {
|
|
530
|
+
producer: string;
|
|
531
|
+
where: string;
|
|
532
|
+
copyOf?: string;
|
|
533
|
+
} | null;
|
|
487
534
|
};
|
|
488
535
|
turn: Turn;
|
|
489
536
|
}>;
|
|
537
|
+
/** Whether a process holding a session open is Rho's own connection to this conversation: the
|
|
538
|
+
* Agent its adapter started. */
|
|
539
|
+
owns(project: Project, conversationId: string, pid: number | undefined): Promise<boolean>;
|
|
540
|
+
private notHeld;
|
|
490
541
|
send(project: Project, by: string, input: {
|
|
491
542
|
conversationId: string;
|
|
492
543
|
changeId: string;
|
|
@@ -526,6 +577,11 @@ export declare class Conversations {
|
|
|
526
577
|
costUsd?: number | null;
|
|
527
578
|
sessionId?: string | null;
|
|
528
579
|
trashedAt?: string | null;
|
|
580
|
+
origin?: {
|
|
581
|
+
producer: string;
|
|
582
|
+
where: string;
|
|
583
|
+
copyOf?: string;
|
|
584
|
+
} | null;
|
|
529
585
|
};
|
|
530
586
|
turn: Turn;
|
|
531
587
|
}>;
|
|
@@ -566,6 +622,11 @@ export declare class Conversations {
|
|
|
566
622
|
costUsd?: number | null;
|
|
567
623
|
sessionId?: string | null;
|
|
568
624
|
trashedAt?: string | null;
|
|
625
|
+
origin?: {
|
|
626
|
+
producer: string;
|
|
627
|
+
where: string;
|
|
628
|
+
copyOf?: string;
|
|
629
|
+
} | null;
|
|
569
630
|
};
|
|
570
631
|
observation: SessionObservation | null;
|
|
571
632
|
config: Choices;
|
|
@@ -574,17 +635,43 @@ export declare class Conversations {
|
|
|
574
635
|
private offers;
|
|
575
636
|
private readSettings;
|
|
576
637
|
private settingsView;
|
|
638
|
+
private agents;
|
|
577
639
|
settings(): Promise<{
|
|
578
640
|
version: number;
|
|
579
641
|
updatedAt: string | null;
|
|
580
642
|
backend: Backend | null;
|
|
581
|
-
serviceBackend: "acp" | "
|
|
643
|
+
serviceBackend: "claude-acp" | "codex-acp" | "acp" | "claude-cli";
|
|
582
644
|
choices: Partial<Record<Backend, Choices>>;
|
|
583
645
|
offered: Partial<Record<Backend, Offered>>;
|
|
584
646
|
checking: Backend[];
|
|
585
647
|
describe: {
|
|
586
648
|
enabled: boolean;
|
|
587
649
|
};
|
|
650
|
+
agents: {
|
|
651
|
+
'claude-acp': {
|
|
652
|
+
found: boolean;
|
|
653
|
+
problem: string;
|
|
654
|
+
} | {
|
|
655
|
+
found: boolean;
|
|
656
|
+
problem?: undefined;
|
|
657
|
+
};
|
|
658
|
+
'codex-acp': {
|
|
659
|
+
found: boolean;
|
|
660
|
+
problem: string;
|
|
661
|
+
} | {
|
|
662
|
+
found: boolean;
|
|
663
|
+
problem?: undefined;
|
|
664
|
+
};
|
|
665
|
+
acp: {
|
|
666
|
+
found: boolean;
|
|
667
|
+
name: string | null;
|
|
668
|
+
problem?: undefined;
|
|
669
|
+
} | {
|
|
670
|
+
found: boolean;
|
|
671
|
+
problem: string;
|
|
672
|
+
name?: undefined;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
588
675
|
}>;
|
|
589
676
|
updateSettings(input: {
|
|
590
677
|
expectedVersion: number;
|
|
@@ -597,13 +684,38 @@ export declare class Conversations {
|
|
|
597
684
|
version: number;
|
|
598
685
|
updatedAt: string | null;
|
|
599
686
|
backend: Backend | null;
|
|
600
|
-
serviceBackend: "acp" | "
|
|
687
|
+
serviceBackend: "claude-acp" | "codex-acp" | "acp" | "claude-cli";
|
|
601
688
|
choices: Partial<Record<Backend, Choices>>;
|
|
602
689
|
offered: Partial<Record<Backend, Offered>>;
|
|
603
690
|
checking: Backend[];
|
|
604
691
|
describe: {
|
|
605
692
|
enabled: boolean;
|
|
606
693
|
};
|
|
694
|
+
agents: {
|
|
695
|
+
'claude-acp': {
|
|
696
|
+
found: boolean;
|
|
697
|
+
problem: string;
|
|
698
|
+
} | {
|
|
699
|
+
found: boolean;
|
|
700
|
+
problem?: undefined;
|
|
701
|
+
};
|
|
702
|
+
'codex-acp': {
|
|
703
|
+
found: boolean;
|
|
704
|
+
problem: string;
|
|
705
|
+
} | {
|
|
706
|
+
found: boolean;
|
|
707
|
+
problem?: undefined;
|
|
708
|
+
};
|
|
709
|
+
acp: {
|
|
710
|
+
found: boolean;
|
|
711
|
+
name: string | null;
|
|
712
|
+
problem?: undefined;
|
|
713
|
+
} | {
|
|
714
|
+
found: boolean;
|
|
715
|
+
problem: string;
|
|
716
|
+
name?: undefined;
|
|
717
|
+
};
|
|
718
|
+
};
|
|
607
719
|
}>;
|
|
608
720
|
check(project: Project, input: {
|
|
609
721
|
backend: Backend;
|
|
@@ -611,13 +723,38 @@ export declare class Conversations {
|
|
|
611
723
|
version: number;
|
|
612
724
|
updatedAt: string | null;
|
|
613
725
|
backend: Backend | null;
|
|
614
|
-
serviceBackend: "acp" | "
|
|
726
|
+
serviceBackend: "claude-acp" | "codex-acp" | "acp" | "claude-cli";
|
|
615
727
|
choices: Partial<Record<Backend, Choices>>;
|
|
616
728
|
offered: Partial<Record<Backend, Offered>>;
|
|
617
729
|
checking: Backend[];
|
|
618
730
|
describe: {
|
|
619
731
|
enabled: boolean;
|
|
620
732
|
};
|
|
733
|
+
agents: {
|
|
734
|
+
'claude-acp': {
|
|
735
|
+
found: boolean;
|
|
736
|
+
problem: string;
|
|
737
|
+
} | {
|
|
738
|
+
found: boolean;
|
|
739
|
+
problem?: undefined;
|
|
740
|
+
};
|
|
741
|
+
'codex-acp': {
|
|
742
|
+
found: boolean;
|
|
743
|
+
problem: string;
|
|
744
|
+
} | {
|
|
745
|
+
found: boolean;
|
|
746
|
+
problem?: undefined;
|
|
747
|
+
};
|
|
748
|
+
acp: {
|
|
749
|
+
found: boolean;
|
|
750
|
+
name: string | null;
|
|
751
|
+
problem?: undefined;
|
|
752
|
+
} | {
|
|
753
|
+
found: boolean;
|
|
754
|
+
problem: string;
|
|
755
|
+
name?: undefined;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
621
758
|
}>;
|
|
622
759
|
private inspect;
|
|
623
760
|
private offer;
|
|
@@ -657,6 +794,11 @@ export declare class Conversations {
|
|
|
657
794
|
costUsd?: number | null;
|
|
658
795
|
sessionId?: string | null;
|
|
659
796
|
trashedAt?: string | null;
|
|
797
|
+
origin?: {
|
|
798
|
+
producer: string;
|
|
799
|
+
where: string;
|
|
800
|
+
copyOf?: string;
|
|
801
|
+
} | null;
|
|
660
802
|
};
|
|
661
803
|
turn: Turn;
|
|
662
804
|
}>;
|
|
@@ -699,6 +841,11 @@ export declare class Conversations {
|
|
|
699
841
|
costUsd?: number | null;
|
|
700
842
|
sessionId?: string | null;
|
|
701
843
|
trashedAt?: string | null;
|
|
844
|
+
origin?: {
|
|
845
|
+
producer: string;
|
|
846
|
+
where: string;
|
|
847
|
+
copyOf?: string;
|
|
848
|
+
} | null;
|
|
702
849
|
};
|
|
703
850
|
turn: Turn;
|
|
704
851
|
}>;
|
|
@@ -740,6 +887,11 @@ export declare class Conversations {
|
|
|
740
887
|
costUsd?: number | null;
|
|
741
888
|
sessionId?: string | null;
|
|
742
889
|
trashedAt?: string | null;
|
|
890
|
+
origin?: {
|
|
891
|
+
producer: string;
|
|
892
|
+
where: string;
|
|
893
|
+
copyOf?: string;
|
|
894
|
+
} | null;
|
|
743
895
|
};
|
|
744
896
|
turn: Turn;
|
|
745
897
|
}>;
|
|
@@ -747,6 +899,7 @@ export declare class Conversations {
|
|
|
747
899
|
private retire;
|
|
748
900
|
private cancelPermissions;
|
|
749
901
|
private launch;
|
|
902
|
+
private changedElsewhere;
|
|
750
903
|
private driver;
|
|
751
904
|
private capture;
|
|
752
905
|
private observe;
|