linkshell-cli 0.2.103 → 0.2.105
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/cli/src/machine-id.d.ts +6 -0
- package/dist/cli/src/machine-id.js +50 -0
- package/dist/cli/src/machine-id.js.map +1 -0
- package/dist/cli/src/runtime/bridge-session.d.ts +1 -0
- package/dist/cli/src/runtime/bridge-session.js +22 -1
- package/dist/cli/src/runtime/bridge-session.js.map +1 -1
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +140 -94
- package/dist/shared-protocol/src/index.js +5 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +11 -11
- package/src/machine-id.ts +61 -0
- package/src/runtime/bridge-session.ts +24 -1
|
@@ -48,9 +48,9 @@ export declare const terminalOutputPayloadSchema: z.ZodObject<{
|
|
|
48
48
|
isReplay: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
isFinal: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
encoding: "utf8";
|
|
51
52
|
stream: "stdout" | "stderr";
|
|
52
53
|
data: string;
|
|
53
|
-
encoding: "utf8";
|
|
54
54
|
isReplay: boolean;
|
|
55
55
|
isFinal: boolean;
|
|
56
56
|
}, {
|
|
@@ -82,6 +82,7 @@ export declare const sessionConnectPayloadSchema: z.ZodObject<{
|
|
|
82
82
|
clientName: z.ZodString;
|
|
83
83
|
provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
|
|
84
84
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
85
86
|
hostname: z.ZodOptional<z.ZodString>;
|
|
86
87
|
platform: z.ZodOptional<z.ZodString>;
|
|
87
88
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -89,19 +90,21 @@ export declare const sessionConnectPayloadSchema: z.ZodObject<{
|
|
|
89
90
|
}, "strip", z.ZodTypeAny, {
|
|
90
91
|
role: "host" | "client";
|
|
91
92
|
clientName: string;
|
|
93
|
+
machineId?: string | undefined;
|
|
94
|
+
hostname?: string | undefined;
|
|
92
95
|
cwd?: string | undefined;
|
|
93
96
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
94
97
|
protocolVersion?: number | undefined;
|
|
95
|
-
hostname?: string | undefined;
|
|
96
98
|
platform?: string | undefined;
|
|
97
99
|
projectName?: string | undefined;
|
|
98
100
|
}, {
|
|
99
101
|
role: "host" | "client";
|
|
100
102
|
clientName: string;
|
|
103
|
+
machineId?: string | undefined;
|
|
104
|
+
hostname?: string | undefined;
|
|
101
105
|
cwd?: string | undefined;
|
|
102
106
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
103
107
|
protocolVersion?: number | undefined;
|
|
104
|
-
hostname?: string | undefined;
|
|
105
108
|
platform?: string | undefined;
|
|
106
109
|
projectName?: string | undefined;
|
|
107
110
|
}>;
|
|
@@ -125,10 +128,13 @@ export declare const sessionAckPayloadSchema: z.ZodObject<{
|
|
|
125
128
|
export declare const sessionResumePayloadSchema: z.ZodObject<{
|
|
126
129
|
lastAckedSeq: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
127
130
|
lastAckedSeqByTerminal: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
131
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
128
132
|
}, "strip", z.ZodTypeAny, {
|
|
129
133
|
lastAckedSeq: number;
|
|
130
134
|
lastAckedSeqByTerminal: Record<string, number>;
|
|
135
|
+
machineId?: string | undefined;
|
|
131
136
|
}, {
|
|
137
|
+
machineId?: string | undefined;
|
|
132
138
|
lastAckedSeq?: number | undefined;
|
|
133
139
|
lastAckedSeqByTerminal?: Record<string, number> | undefined;
|
|
134
140
|
}>;
|
|
@@ -246,8 +252,8 @@ export declare const screenStatusPayloadSchema: z.ZodObject<{
|
|
|
246
252
|
mode: z.ZodDefault<z.ZodEnum<["webrtc", "fallback", "off"]>>;
|
|
247
253
|
error: z.ZodOptional<z.ZodString>;
|
|
248
254
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
active: boolean;
|
|
250
255
|
mode: "webrtc" | "fallback" | "off";
|
|
256
|
+
active: boolean;
|
|
251
257
|
error?: string | undefined;
|
|
252
258
|
}, {
|
|
253
259
|
active: boolean;
|
|
@@ -457,8 +463,10 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
|
|
|
457
463
|
requestId: string;
|
|
458
464
|
}>>;
|
|
459
465
|
pendingPermissionCount: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
460
467
|
}, "strip", z.ZodTypeAny, {
|
|
461
468
|
phase: "error" | "idle" | "thinking" | "tool_use" | "outputting" | "waiting";
|
|
469
|
+
machineId?: string | undefined;
|
|
462
470
|
toolName?: string | undefined;
|
|
463
471
|
toolInput?: string | undefined;
|
|
464
472
|
seq?: number | undefined;
|
|
@@ -474,6 +482,7 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
|
|
|
474
482
|
pendingPermissionCount?: number | undefined;
|
|
475
483
|
}, {
|
|
476
484
|
phase: "error" | "idle" | "thinking" | "tool_use" | "outputting" | "waiting";
|
|
485
|
+
machineId?: string | undefined;
|
|
477
486
|
toolName?: string | undefined;
|
|
478
487
|
toolInput?: string | undefined;
|
|
479
488
|
seq?: number | undefined;
|
|
@@ -628,16 +637,16 @@ export declare const agentMessageSchema: z.ZodObject<{
|
|
|
628
637
|
createdAt: z.ZodNumber;
|
|
629
638
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
630
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
createdAt: number;
|
|
631
641
|
id: string;
|
|
632
642
|
role: "user" | "assistant" | "system";
|
|
633
643
|
content: string;
|
|
634
|
-
createdAt: number;
|
|
635
644
|
isStreaming?: boolean | undefined;
|
|
636
645
|
}, {
|
|
646
|
+
createdAt: number;
|
|
637
647
|
id: string;
|
|
638
648
|
role: "user" | "assistant" | "system";
|
|
639
649
|
content: string;
|
|
640
|
-
createdAt: number;
|
|
641
650
|
isStreaming?: boolean | undefined;
|
|
642
651
|
}>;
|
|
643
652
|
export declare const agentToolCallSchema: z.ZodObject<{
|
|
@@ -772,6 +781,7 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
772
781
|
export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
773
782
|
enabled: z.ZodBoolean;
|
|
774
783
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
784
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
775
785
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
776
786
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
777
787
|
label: z.ZodString;
|
|
@@ -849,6 +859,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
849
859
|
supportsSessionLoad: boolean;
|
|
850
860
|
supportsAudio: boolean;
|
|
851
861
|
error?: string | undefined;
|
|
862
|
+
machineId?: string | undefined;
|
|
852
863
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
853
864
|
protocolVersion?: number | undefined;
|
|
854
865
|
providers?: {
|
|
@@ -872,6 +883,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
872
883
|
}, {
|
|
873
884
|
enabled: boolean;
|
|
874
885
|
error?: string | undefined;
|
|
886
|
+
machineId?: string | undefined;
|
|
875
887
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
876
888
|
protocolVersion?: number | undefined;
|
|
877
889
|
supportsImages?: boolean | undefined;
|
|
@@ -989,16 +1001,16 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
|
|
|
989
1001
|
createdAt: z.ZodNumber;
|
|
990
1002
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
991
1003
|
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
createdAt: number;
|
|
992
1005
|
id: string;
|
|
993
1006
|
role: "user" | "assistant" | "system";
|
|
994
1007
|
content: string;
|
|
995
|
-
createdAt: number;
|
|
996
1008
|
isStreaming?: boolean | undefined;
|
|
997
1009
|
}, {
|
|
1010
|
+
createdAt: number;
|
|
998
1011
|
id: string;
|
|
999
1012
|
role: "user" | "assistant" | "system";
|
|
1000
1013
|
content: string;
|
|
1001
|
-
createdAt: number;
|
|
1002
1014
|
isStreaming?: boolean | undefined;
|
|
1003
1015
|
}>>;
|
|
1004
1016
|
delta: z.ZodOptional<z.ZodString>;
|
|
@@ -1044,10 +1056,10 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
|
|
|
1044
1056
|
status?: "error" | "idle" | "running" | "waiting_permission" | undefined;
|
|
1045
1057
|
error?: string | undefined;
|
|
1046
1058
|
message?: {
|
|
1059
|
+
createdAt: number;
|
|
1047
1060
|
id: string;
|
|
1048
1061
|
role: "user" | "assistant" | "system";
|
|
1049
1062
|
content: string;
|
|
1050
|
-
createdAt: number;
|
|
1051
1063
|
isStreaming?: boolean | undefined;
|
|
1052
1064
|
} | undefined;
|
|
1053
1065
|
plan?: {
|
|
@@ -1070,10 +1082,10 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
|
|
|
1070
1082
|
status?: "error" | "idle" | "running" | "waiting_permission" | undefined;
|
|
1071
1083
|
error?: string | undefined;
|
|
1072
1084
|
message?: {
|
|
1085
|
+
createdAt: number;
|
|
1073
1086
|
id: string;
|
|
1074
1087
|
role: "user" | "assistant" | "system";
|
|
1075
1088
|
content: string;
|
|
1076
|
-
createdAt: number;
|
|
1077
1089
|
isStreaming?: boolean | undefined;
|
|
1078
1090
|
} | undefined;
|
|
1079
1091
|
plan?: {
|
|
@@ -1156,6 +1168,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1156
1168
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1157
1169
|
enabled: z.ZodBoolean;
|
|
1158
1170
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
1171
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
1159
1172
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1160
1173
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
1161
1174
|
label: z.ZodString;
|
|
@@ -1233,6 +1246,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1233
1246
|
supportsSessionLoad: boolean;
|
|
1234
1247
|
supportsAudio: boolean;
|
|
1235
1248
|
error?: string | undefined;
|
|
1249
|
+
machineId?: string | undefined;
|
|
1236
1250
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1237
1251
|
protocolVersion?: number | undefined;
|
|
1238
1252
|
providers?: {
|
|
@@ -1256,6 +1270,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1256
1270
|
}, {
|
|
1257
1271
|
enabled: boolean;
|
|
1258
1272
|
error?: string | undefined;
|
|
1273
|
+
machineId?: string | undefined;
|
|
1259
1274
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1260
1275
|
protocolVersion?: number | undefined;
|
|
1261
1276
|
supportsImages?: boolean | undefined;
|
|
@@ -1291,16 +1306,16 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1291
1306
|
createdAt: z.ZodNumber;
|
|
1292
1307
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1293
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1309
|
+
createdAt: number;
|
|
1294
1310
|
id: string;
|
|
1295
1311
|
role: "user" | "assistant" | "system";
|
|
1296
1312
|
content: string;
|
|
1297
|
-
createdAt: number;
|
|
1298
1313
|
isStreaming?: boolean | undefined;
|
|
1299
1314
|
}, {
|
|
1315
|
+
createdAt: number;
|
|
1300
1316
|
id: string;
|
|
1301
1317
|
role: "user" | "assistant" | "system";
|
|
1302
1318
|
content: string;
|
|
1303
|
-
createdAt: number;
|
|
1304
1319
|
isStreaming?: boolean | undefined;
|
|
1305
1320
|
}>, "many">>;
|
|
1306
1321
|
toolCalls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1369,10 +1384,10 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1369
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1370
1385
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
1371
1386
|
messages: {
|
|
1387
|
+
createdAt: number;
|
|
1372
1388
|
id: string;
|
|
1373
1389
|
role: "user" | "assistant" | "system";
|
|
1374
1390
|
content: string;
|
|
1375
|
-
createdAt: number;
|
|
1376
1391
|
isStreaming?: boolean | undefined;
|
|
1377
1392
|
}[];
|
|
1378
1393
|
toolCalls: {
|
|
@@ -1406,6 +1421,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1406
1421
|
supportsSessionLoad: boolean;
|
|
1407
1422
|
supportsAudio: boolean;
|
|
1408
1423
|
error?: string | undefined;
|
|
1424
|
+
machineId?: string | undefined;
|
|
1409
1425
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1410
1426
|
protocolVersion?: number | undefined;
|
|
1411
1427
|
providers?: {
|
|
@@ -1434,6 +1450,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1434
1450
|
capabilities?: {
|
|
1435
1451
|
enabled: boolean;
|
|
1436
1452
|
error?: string | undefined;
|
|
1453
|
+
machineId?: string | undefined;
|
|
1437
1454
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
1438
1455
|
protocolVersion?: number | undefined;
|
|
1439
1456
|
supportsImages?: boolean | undefined;
|
|
@@ -1463,10 +1480,10 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
1463
1480
|
supportsAudio?: boolean | undefined;
|
|
1464
1481
|
} | undefined;
|
|
1465
1482
|
messages?: {
|
|
1483
|
+
createdAt: number;
|
|
1466
1484
|
id: string;
|
|
1467
1485
|
role: "user" | "assistant" | "system";
|
|
1468
1486
|
content: string;
|
|
1469
|
-
createdAt: number;
|
|
1470
1487
|
isStreaming?: boolean | undefined;
|
|
1471
1488
|
}[] | undefined;
|
|
1472
1489
|
toolCalls?: {
|
|
@@ -2148,9 +2165,9 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2148
2165
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2149
2166
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2150
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2168
|
+
createdAt: number;
|
|
2151
2169
|
id: string;
|
|
2152
2170
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
2153
|
-
createdAt: number;
|
|
2154
2171
|
conversationId: string;
|
|
2155
2172
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
2156
2173
|
error?: string | undefined;
|
|
@@ -2248,9 +2265,9 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2248
2265
|
metadata?: Record<string, unknown> | undefined;
|
|
2249
2266
|
updatedAt?: number | undefined;
|
|
2250
2267
|
}, {
|
|
2268
|
+
createdAt: number;
|
|
2251
2269
|
id: string;
|
|
2252
2270
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
2253
|
-
createdAt: number;
|
|
2254
2271
|
conversationId: string;
|
|
2255
2272
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
2256
2273
|
error?: string | undefined;
|
|
@@ -2364,10 +2381,10 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2364
2381
|
createdAt: z.ZodNumber;
|
|
2365
2382
|
}, "strip", z.ZodTypeAny, {
|
|
2366
2383
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
2384
|
+
createdAt: number;
|
|
2367
2385
|
id: string;
|
|
2368
2386
|
cwd: string;
|
|
2369
2387
|
provider: "claude" | "codex" | "custom";
|
|
2370
|
-
createdAt: number;
|
|
2371
2388
|
archived: boolean;
|
|
2372
2389
|
lastActivityAt: number;
|
|
2373
2390
|
title?: string | undefined;
|
|
@@ -2377,9 +2394,9 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2377
2394
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2378
2395
|
lastMessagePreview?: string | undefined;
|
|
2379
2396
|
}, {
|
|
2397
|
+
createdAt: number;
|
|
2380
2398
|
id: string;
|
|
2381
2399
|
cwd: string;
|
|
2382
|
-
createdAt: number;
|
|
2383
2400
|
lastActivityAt: number;
|
|
2384
2401
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
2385
2402
|
title?: string | undefined;
|
|
@@ -2395,6 +2412,7 @@ export declare const agentV2CapabilitiesRequestPayloadSchema: z.ZodObject<{}, "s
|
|
|
2395
2412
|
export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
2396
2413
|
enabled: z.ZodBoolean;
|
|
2397
2414
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
2415
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
2398
2416
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2399
2417
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
2400
2418
|
label: z.ZodString;
|
|
@@ -2475,6 +2493,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2475
2493
|
supportsAudio: boolean;
|
|
2476
2494
|
workspaceProtocolVersion: number;
|
|
2477
2495
|
error?: string | undefined;
|
|
2496
|
+
machineId?: string | undefined;
|
|
2478
2497
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2479
2498
|
protocolVersion?: number | undefined;
|
|
2480
2499
|
providers?: {
|
|
@@ -2498,6 +2517,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2498
2517
|
}, {
|
|
2499
2518
|
enabled: boolean;
|
|
2500
2519
|
error?: string | undefined;
|
|
2520
|
+
machineId?: string | undefined;
|
|
2501
2521
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
2502
2522
|
protocolVersion?: number | undefined;
|
|
2503
2523
|
supportsImages?: boolean | undefined;
|
|
@@ -2572,10 +2592,10 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2572
2592
|
createdAt: z.ZodNumber;
|
|
2573
2593
|
}, "strip", z.ZodTypeAny, {
|
|
2574
2594
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
2595
|
+
createdAt: number;
|
|
2575
2596
|
id: string;
|
|
2576
2597
|
cwd: string;
|
|
2577
2598
|
provider: "claude" | "codex" | "custom";
|
|
2578
|
-
createdAt: number;
|
|
2579
2599
|
archived: boolean;
|
|
2580
2600
|
lastActivityAt: number;
|
|
2581
2601
|
title?: string | undefined;
|
|
@@ -2585,9 +2605,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2585
2605
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
2586
2606
|
lastMessagePreview?: string | undefined;
|
|
2587
2607
|
}, {
|
|
2608
|
+
createdAt: number;
|
|
2588
2609
|
id: string;
|
|
2589
2610
|
cwd: string;
|
|
2590
|
-
createdAt: number;
|
|
2591
2611
|
lastActivityAt: number;
|
|
2592
2612
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
2593
2613
|
title?: string | undefined;
|
|
@@ -2926,9 +2946,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2926
2946
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2927
2947
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2928
2948
|
}, "strip", z.ZodTypeAny, {
|
|
2949
|
+
createdAt: number;
|
|
2929
2950
|
id: string;
|
|
2930
2951
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
2931
|
-
createdAt: number;
|
|
2932
2952
|
conversationId: string;
|
|
2933
2953
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
2934
2954
|
error?: string | undefined;
|
|
@@ -3026,9 +3046,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3026
3046
|
metadata?: Record<string, unknown> | undefined;
|
|
3027
3047
|
updatedAt?: number | undefined;
|
|
3028
3048
|
}, {
|
|
3049
|
+
createdAt: number;
|
|
3029
3050
|
id: string;
|
|
3030
3051
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
3031
|
-
createdAt: number;
|
|
3032
3052
|
conversationId: string;
|
|
3033
3053
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3034
3054
|
error?: string | undefined;
|
|
@@ -3129,10 +3149,10 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3129
3149
|
}, "strip", z.ZodTypeAny, {
|
|
3130
3150
|
conversation: {
|
|
3131
3151
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
3152
|
+
createdAt: number;
|
|
3132
3153
|
id: string;
|
|
3133
3154
|
cwd: string;
|
|
3134
3155
|
provider: "claude" | "codex" | "custom";
|
|
3135
|
-
createdAt: number;
|
|
3136
3156
|
archived: boolean;
|
|
3137
3157
|
lastActivityAt: number;
|
|
3138
3158
|
title?: string | undefined;
|
|
@@ -3143,9 +3163,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3143
3163
|
lastMessagePreview?: string | undefined;
|
|
3144
3164
|
};
|
|
3145
3165
|
snapshot: {
|
|
3166
|
+
createdAt: number;
|
|
3146
3167
|
id: string;
|
|
3147
3168
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
3148
|
-
createdAt: number;
|
|
3149
3169
|
conversationId: string;
|
|
3150
3170
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3151
3171
|
error?: string | undefined;
|
|
@@ -3245,9 +3265,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3245
3265
|
}[];
|
|
3246
3266
|
}, {
|
|
3247
3267
|
conversation: {
|
|
3268
|
+
createdAt: number;
|
|
3248
3269
|
id: string;
|
|
3249
3270
|
cwd: string;
|
|
3250
|
-
createdAt: number;
|
|
3251
3271
|
lastActivityAt: number;
|
|
3252
3272
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3253
3273
|
title?: string | undefined;
|
|
@@ -3260,9 +3280,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3260
3280
|
lastMessagePreview?: string | undefined;
|
|
3261
3281
|
};
|
|
3262
3282
|
snapshot?: {
|
|
3283
|
+
createdAt: number;
|
|
3263
3284
|
id: string;
|
|
3264
3285
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
3265
|
-
createdAt: number;
|
|
3266
3286
|
conversationId: string;
|
|
3267
3287
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3268
3288
|
error?: string | undefined;
|
|
@@ -3385,10 +3405,10 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3385
3405
|
createdAt: z.ZodNumber;
|
|
3386
3406
|
}, "strip", z.ZodTypeAny, {
|
|
3387
3407
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
3408
|
+
createdAt: number;
|
|
3388
3409
|
id: string;
|
|
3389
3410
|
cwd: string;
|
|
3390
3411
|
provider: "claude" | "codex" | "custom";
|
|
3391
|
-
createdAt: number;
|
|
3392
3412
|
archived: boolean;
|
|
3393
3413
|
lastActivityAt: number;
|
|
3394
3414
|
title?: string | undefined;
|
|
@@ -3398,9 +3418,9 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3398
3418
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3399
3419
|
lastMessagePreview?: string | undefined;
|
|
3400
3420
|
}, {
|
|
3421
|
+
createdAt: number;
|
|
3401
3422
|
id: string;
|
|
3402
3423
|
cwd: string;
|
|
3403
|
-
createdAt: number;
|
|
3404
3424
|
lastActivityAt: number;
|
|
3405
3425
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3406
3426
|
title?: string | undefined;
|
|
@@ -3415,10 +3435,10 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3415
3435
|
}, "strip", z.ZodTypeAny, {
|
|
3416
3436
|
conversations: {
|
|
3417
3437
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
3438
|
+
createdAt: number;
|
|
3418
3439
|
id: string;
|
|
3419
3440
|
cwd: string;
|
|
3420
3441
|
provider: "claude" | "codex" | "custom";
|
|
3421
|
-
createdAt: number;
|
|
3422
3442
|
archived: boolean;
|
|
3423
3443
|
lastActivityAt: number;
|
|
3424
3444
|
title?: string | undefined;
|
|
@@ -3430,9 +3450,9 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3430
3450
|
}[];
|
|
3431
3451
|
}, {
|
|
3432
3452
|
conversations: {
|
|
3453
|
+
createdAt: number;
|
|
3433
3454
|
id: string;
|
|
3434
3455
|
cwd: string;
|
|
3435
|
-
createdAt: number;
|
|
3436
3456
|
lastActivityAt: number;
|
|
3437
3457
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3438
3458
|
title?: string | undefined;
|
|
@@ -3552,10 +3572,10 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3552
3572
|
createdAt: z.ZodNumber;
|
|
3553
3573
|
}, "strip", z.ZodTypeAny, {
|
|
3554
3574
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
3575
|
+
createdAt: number;
|
|
3555
3576
|
id: string;
|
|
3556
3577
|
cwd: string;
|
|
3557
3578
|
provider: "claude" | "codex" | "custom";
|
|
3558
|
-
createdAt: number;
|
|
3559
3579
|
archived: boolean;
|
|
3560
3580
|
lastActivityAt: number;
|
|
3561
3581
|
title?: string | undefined;
|
|
@@ -3565,9 +3585,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3565
3585
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
3566
3586
|
lastMessagePreview?: string | undefined;
|
|
3567
3587
|
}, {
|
|
3588
|
+
createdAt: number;
|
|
3568
3589
|
id: string;
|
|
3569
3590
|
cwd: string;
|
|
3570
|
-
createdAt: number;
|
|
3571
3591
|
lastActivityAt: number;
|
|
3572
3592
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3573
3593
|
title?: string | undefined;
|
|
@@ -3907,9 +3927,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3907
3927
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3908
3928
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3909
3929
|
}, "strip", z.ZodTypeAny, {
|
|
3930
|
+
createdAt: number;
|
|
3910
3931
|
id: string;
|
|
3911
3932
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
3912
|
-
createdAt: number;
|
|
3913
3933
|
conversationId: string;
|
|
3914
3934
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
3915
3935
|
error?: string | undefined;
|
|
@@ -4007,9 +4027,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4007
4027
|
metadata?: Record<string, unknown> | undefined;
|
|
4008
4028
|
updatedAt?: number | undefined;
|
|
4009
4029
|
}, {
|
|
4030
|
+
createdAt: number;
|
|
4010
4031
|
id: string;
|
|
4011
4032
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
4012
|
-
createdAt: number;
|
|
4013
4033
|
conversationId: string;
|
|
4014
4034
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4015
4035
|
error?: string | undefined;
|
|
@@ -4107,13 +4127,14 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4107
4127
|
metadata?: Record<string, unknown> | undefined;
|
|
4108
4128
|
updatedAt?: number | undefined;
|
|
4109
4129
|
}>, "many">>;
|
|
4130
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
4110
4131
|
}, "strip", z.ZodTypeAny, {
|
|
4111
4132
|
conversations: {
|
|
4112
4133
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
4134
|
+
createdAt: number;
|
|
4113
4135
|
id: string;
|
|
4114
4136
|
cwd: string;
|
|
4115
4137
|
provider: "claude" | "codex" | "custom";
|
|
4116
|
-
createdAt: number;
|
|
4117
4138
|
archived: boolean;
|
|
4118
4139
|
lastActivityAt: number;
|
|
4119
4140
|
title?: string | undefined;
|
|
@@ -4124,9 +4145,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4124
4145
|
lastMessagePreview?: string | undefined;
|
|
4125
4146
|
}[];
|
|
4126
4147
|
items: {
|
|
4148
|
+
createdAt: number;
|
|
4127
4149
|
id: string;
|
|
4128
4150
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
4129
|
-
createdAt: number;
|
|
4130
4151
|
conversationId: string;
|
|
4131
4152
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4132
4153
|
error?: string | undefined;
|
|
@@ -4224,12 +4245,14 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4224
4245
|
metadata?: Record<string, unknown> | undefined;
|
|
4225
4246
|
updatedAt?: number | undefined;
|
|
4226
4247
|
}[];
|
|
4248
|
+
machineId?: string | undefined;
|
|
4227
4249
|
activeConversationId?: string | undefined;
|
|
4228
4250
|
}, {
|
|
4251
|
+
machineId?: string | undefined;
|
|
4229
4252
|
conversations?: {
|
|
4253
|
+
createdAt: number;
|
|
4230
4254
|
id: string;
|
|
4231
4255
|
cwd: string;
|
|
4232
|
-
createdAt: number;
|
|
4233
4256
|
lastActivityAt: number;
|
|
4234
4257
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4235
4258
|
title?: string | undefined;
|
|
@@ -4243,9 +4266,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4243
4266
|
}[] | undefined;
|
|
4244
4267
|
activeConversationId?: string | undefined;
|
|
4245
4268
|
items?: {
|
|
4269
|
+
createdAt: number;
|
|
4246
4270
|
id: string;
|
|
4247
4271
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
4248
|
-
createdAt: number;
|
|
4249
4272
|
conversationId: string;
|
|
4250
4273
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4251
4274
|
error?: string | undefined;
|
|
@@ -4362,10 +4385,10 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4362
4385
|
createdAt: z.ZodNumber;
|
|
4363
4386
|
}, "strip", z.ZodTypeAny, {
|
|
4364
4387
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
4388
|
+
createdAt: number;
|
|
4365
4389
|
id: string;
|
|
4366
4390
|
cwd: string;
|
|
4367
4391
|
provider: "claude" | "codex" | "custom";
|
|
4368
|
-
createdAt: number;
|
|
4369
4392
|
archived: boolean;
|
|
4370
4393
|
lastActivityAt: number;
|
|
4371
4394
|
title?: string | undefined;
|
|
@@ -4375,9 +4398,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4375
4398
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
4376
4399
|
lastMessagePreview?: string | undefined;
|
|
4377
4400
|
}, {
|
|
4401
|
+
createdAt: number;
|
|
4378
4402
|
id: string;
|
|
4379
4403
|
cwd: string;
|
|
4380
|
-
createdAt: number;
|
|
4381
4404
|
lastActivityAt: number;
|
|
4382
4405
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4383
4406
|
title?: string | undefined;
|
|
@@ -4716,9 +4739,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4716
4739
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
4717
4740
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4718
4741
|
}, "strip", z.ZodTypeAny, {
|
|
4742
|
+
createdAt: number;
|
|
4719
4743
|
id: string;
|
|
4720
4744
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
4721
|
-
createdAt: number;
|
|
4722
4745
|
conversationId: string;
|
|
4723
4746
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4724
4747
|
error?: string | undefined;
|
|
@@ -4816,9 +4839,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
4816
4839
|
metadata?: Record<string, unknown> | undefined;
|
|
4817
4840
|
updatedAt?: number | undefined;
|
|
4818
4841
|
}, {
|
|
4842
|
+
createdAt: number;
|
|
4819
4843
|
id: string;
|
|
4820
4844
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
4821
|
-
createdAt: number;
|
|
4822
4845
|
conversationId: string;
|
|
4823
4846
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
4824
4847
|
error?: string | undefined;
|
|
@@ -5434,9 +5457,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5434
5457
|
}, "strip", z.ZodTypeAny, {
|
|
5435
5458
|
conversationId: string;
|
|
5436
5459
|
item?: {
|
|
5460
|
+
createdAt: number;
|
|
5437
5461
|
id: string;
|
|
5438
5462
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
5439
|
-
createdAt: number;
|
|
5440
5463
|
conversationId: string;
|
|
5441
5464
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
5442
5465
|
error?: string | undefined;
|
|
@@ -5633,10 +5656,10 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5633
5656
|
} | undefined;
|
|
5634
5657
|
conversation?: {
|
|
5635
5658
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
5659
|
+
createdAt: number;
|
|
5636
5660
|
id: string;
|
|
5637
5661
|
cwd: string;
|
|
5638
5662
|
provider: "claude" | "codex" | "custom";
|
|
5639
|
-
createdAt: number;
|
|
5640
5663
|
archived: boolean;
|
|
5641
5664
|
lastActivityAt: number;
|
|
5642
5665
|
title?: string | undefined;
|
|
@@ -5649,9 +5672,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5649
5672
|
}, {
|
|
5650
5673
|
conversationId: string;
|
|
5651
5674
|
item?: {
|
|
5675
|
+
createdAt: number;
|
|
5652
5676
|
id: string;
|
|
5653
5677
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
5654
|
-
createdAt: number;
|
|
5655
5678
|
conversationId: string;
|
|
5656
5679
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
5657
5680
|
error?: string | undefined;
|
|
@@ -5847,9 +5870,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
5847
5870
|
textDelta?: string | undefined;
|
|
5848
5871
|
} | undefined;
|
|
5849
5872
|
conversation?: {
|
|
5873
|
+
createdAt: number;
|
|
5850
5874
|
id: string;
|
|
5851
5875
|
cwd: string;
|
|
5852
|
-
createdAt: number;
|
|
5853
5876
|
lastActivityAt: number;
|
|
5854
5877
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
5855
5878
|
title?: string | undefined;
|
|
@@ -6209,9 +6232,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6209
6232
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
6210
6233
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
6211
6234
|
}, "strip", z.ZodTypeAny, {
|
|
6235
|
+
createdAt: number;
|
|
6212
6236
|
id: string;
|
|
6213
6237
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
6214
|
-
createdAt: number;
|
|
6215
6238
|
conversationId: string;
|
|
6216
6239
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
6217
6240
|
error?: string | undefined;
|
|
@@ -6309,9 +6332,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6309
6332
|
metadata?: Record<string, unknown> | undefined;
|
|
6310
6333
|
updatedAt?: number | undefined;
|
|
6311
6334
|
}, {
|
|
6335
|
+
createdAt: number;
|
|
6312
6336
|
id: string;
|
|
6313
6337
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
6314
|
-
createdAt: number;
|
|
6315
6338
|
conversationId: string;
|
|
6316
6339
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
6317
6340
|
error?: string | undefined;
|
|
@@ -6418,9 +6441,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6418
6441
|
requestId: string;
|
|
6419
6442
|
conversationId: string;
|
|
6420
6443
|
item?: {
|
|
6444
|
+
createdAt: number;
|
|
6421
6445
|
id: string;
|
|
6422
6446
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
6423
|
-
createdAt: number;
|
|
6424
6447
|
conversationId: string;
|
|
6425
6448
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
6426
6449
|
error?: string | undefined;
|
|
@@ -6525,9 +6548,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
6525
6548
|
requestId: string;
|
|
6526
6549
|
conversationId: string;
|
|
6527
6550
|
item?: {
|
|
6551
|
+
createdAt: number;
|
|
6528
6552
|
id: string;
|
|
6529
6553
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
6530
|
-
createdAt: number;
|
|
6531
6554
|
conversationId: string;
|
|
6532
6555
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
6533
6556
|
error?: string | undefined;
|
|
@@ -6640,6 +6663,7 @@ export declare const protocolMessageSchemas: {
|
|
|
6640
6663
|
clientName: z.ZodString;
|
|
6641
6664
|
provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
|
|
6642
6665
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
6666
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
6643
6667
|
hostname: z.ZodOptional<z.ZodString>;
|
|
6644
6668
|
platform: z.ZodOptional<z.ZodString>;
|
|
6645
6669
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -6647,19 +6671,21 @@ export declare const protocolMessageSchemas: {
|
|
|
6647
6671
|
}, "strip", z.ZodTypeAny, {
|
|
6648
6672
|
role: "host" | "client";
|
|
6649
6673
|
clientName: string;
|
|
6674
|
+
machineId?: string | undefined;
|
|
6675
|
+
hostname?: string | undefined;
|
|
6650
6676
|
cwd?: string | undefined;
|
|
6651
6677
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
6652
6678
|
protocolVersion?: number | undefined;
|
|
6653
|
-
hostname?: string | undefined;
|
|
6654
6679
|
platform?: string | undefined;
|
|
6655
6680
|
projectName?: string | undefined;
|
|
6656
6681
|
}, {
|
|
6657
6682
|
role: "host" | "client";
|
|
6658
6683
|
clientName: string;
|
|
6684
|
+
machineId?: string | undefined;
|
|
6685
|
+
hostname?: string | undefined;
|
|
6659
6686
|
cwd?: string | undefined;
|
|
6660
6687
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
6661
6688
|
protocolVersion?: number | undefined;
|
|
6662
|
-
hostname?: string | undefined;
|
|
6663
6689
|
platform?: string | undefined;
|
|
6664
6690
|
projectName?: string | undefined;
|
|
6665
6691
|
}>;
|
|
@@ -6673,10 +6699,13 @@ export declare const protocolMessageSchemas: {
|
|
|
6673
6699
|
readonly "session.resume": z.ZodObject<{
|
|
6674
6700
|
lastAckedSeq: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6675
6701
|
lastAckedSeqByTerminal: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
6702
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
6676
6703
|
}, "strip", z.ZodTypeAny, {
|
|
6677
6704
|
lastAckedSeq: number;
|
|
6678
6705
|
lastAckedSeqByTerminal: Record<string, number>;
|
|
6706
|
+
machineId?: string | undefined;
|
|
6679
6707
|
}, {
|
|
6708
|
+
machineId?: string | undefined;
|
|
6680
6709
|
lastAckedSeq?: number | undefined;
|
|
6681
6710
|
lastAckedSeqByTerminal?: Record<string, number> | undefined;
|
|
6682
6711
|
}>;
|
|
@@ -6704,9 +6733,9 @@ export declare const protocolMessageSchemas: {
|
|
|
6704
6733
|
isReplay: z.ZodDefault<z.ZodBoolean>;
|
|
6705
6734
|
isFinal: z.ZodDefault<z.ZodBoolean>;
|
|
6706
6735
|
}, "strip", z.ZodTypeAny, {
|
|
6736
|
+
encoding: "utf8";
|
|
6707
6737
|
stream: "stdout" | "stderr";
|
|
6708
6738
|
data: string;
|
|
6709
|
-
encoding: "utf8";
|
|
6710
6739
|
isReplay: boolean;
|
|
6711
6740
|
isFinal: boolean;
|
|
6712
6741
|
}, {
|
|
@@ -6850,8 +6879,8 @@ export declare const protocolMessageSchemas: {
|
|
|
6850
6879
|
mode: z.ZodDefault<z.ZodEnum<["webrtc", "fallback", "off"]>>;
|
|
6851
6880
|
error: z.ZodOptional<z.ZodString>;
|
|
6852
6881
|
}, "strip", z.ZodTypeAny, {
|
|
6853
|
-
active: boolean;
|
|
6854
6882
|
mode: "webrtc" | "fallback" | "off";
|
|
6883
|
+
active: boolean;
|
|
6855
6884
|
error?: string | undefined;
|
|
6856
6885
|
}, {
|
|
6857
6886
|
active: boolean;
|
|
@@ -7039,8 +7068,10 @@ export declare const protocolMessageSchemas: {
|
|
|
7039
7068
|
requestId: string;
|
|
7040
7069
|
}>>;
|
|
7041
7070
|
pendingPermissionCount: z.ZodOptional<z.ZodNumber>;
|
|
7071
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
7042
7072
|
}, "strip", z.ZodTypeAny, {
|
|
7043
7073
|
phase: "error" | "idle" | "thinking" | "tool_use" | "outputting" | "waiting";
|
|
7074
|
+
machineId?: string | undefined;
|
|
7044
7075
|
toolName?: string | undefined;
|
|
7045
7076
|
toolInput?: string | undefined;
|
|
7046
7077
|
seq?: number | undefined;
|
|
@@ -7056,6 +7087,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7056
7087
|
pendingPermissionCount?: number | undefined;
|
|
7057
7088
|
}, {
|
|
7058
7089
|
phase: "error" | "idle" | "thinking" | "tool_use" | "outputting" | "waiting";
|
|
7090
|
+
machineId?: string | undefined;
|
|
7059
7091
|
toolName?: string | undefined;
|
|
7060
7092
|
toolInput?: string | undefined;
|
|
7061
7093
|
seq?: number | undefined;
|
|
@@ -7168,6 +7200,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7168
7200
|
readonly "agent.capabilities": z.ZodObject<{
|
|
7169
7201
|
enabled: z.ZodBoolean;
|
|
7170
7202
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
7203
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
7171
7204
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7172
7205
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
7173
7206
|
label: z.ZodString;
|
|
@@ -7245,6 +7278,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7245
7278
|
supportsSessionLoad: boolean;
|
|
7246
7279
|
supportsAudio: boolean;
|
|
7247
7280
|
error?: string | undefined;
|
|
7281
|
+
machineId?: string | undefined;
|
|
7248
7282
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7249
7283
|
protocolVersion?: number | undefined;
|
|
7250
7284
|
providers?: {
|
|
@@ -7268,6 +7302,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7268
7302
|
}, {
|
|
7269
7303
|
enabled: boolean;
|
|
7270
7304
|
error?: string | undefined;
|
|
7305
|
+
machineId?: string | undefined;
|
|
7271
7306
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7272
7307
|
protocolVersion?: number | undefined;
|
|
7273
7308
|
supportsImages?: boolean | undefined;
|
|
@@ -7384,16 +7419,16 @@ export declare const protocolMessageSchemas: {
|
|
|
7384
7419
|
createdAt: z.ZodNumber;
|
|
7385
7420
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
7386
7421
|
}, "strip", z.ZodTypeAny, {
|
|
7422
|
+
createdAt: number;
|
|
7387
7423
|
id: string;
|
|
7388
7424
|
role: "user" | "assistant" | "system";
|
|
7389
7425
|
content: string;
|
|
7390
|
-
createdAt: number;
|
|
7391
7426
|
isStreaming?: boolean | undefined;
|
|
7392
7427
|
}, {
|
|
7428
|
+
createdAt: number;
|
|
7393
7429
|
id: string;
|
|
7394
7430
|
role: "user" | "assistant" | "system";
|
|
7395
7431
|
content: string;
|
|
7396
|
-
createdAt: number;
|
|
7397
7432
|
isStreaming?: boolean | undefined;
|
|
7398
7433
|
}>>;
|
|
7399
7434
|
delta: z.ZodOptional<z.ZodString>;
|
|
@@ -7439,10 +7474,10 @@ export declare const protocolMessageSchemas: {
|
|
|
7439
7474
|
status?: "error" | "idle" | "running" | "waiting_permission" | undefined;
|
|
7440
7475
|
error?: string | undefined;
|
|
7441
7476
|
message?: {
|
|
7477
|
+
createdAt: number;
|
|
7442
7478
|
id: string;
|
|
7443
7479
|
role: "user" | "assistant" | "system";
|
|
7444
7480
|
content: string;
|
|
7445
|
-
createdAt: number;
|
|
7446
7481
|
isStreaming?: boolean | undefined;
|
|
7447
7482
|
} | undefined;
|
|
7448
7483
|
plan?: {
|
|
@@ -7465,10 +7500,10 @@ export declare const protocolMessageSchemas: {
|
|
|
7465
7500
|
status?: "error" | "idle" | "running" | "waiting_permission" | undefined;
|
|
7466
7501
|
error?: string | undefined;
|
|
7467
7502
|
message?: {
|
|
7503
|
+
createdAt: number;
|
|
7468
7504
|
id: string;
|
|
7469
7505
|
role: "user" | "assistant" | "system";
|
|
7470
7506
|
content: string;
|
|
7471
|
-
createdAt: number;
|
|
7472
7507
|
isStreaming?: boolean | undefined;
|
|
7473
7508
|
} | undefined;
|
|
7474
7509
|
plan?: {
|
|
@@ -7551,6 +7586,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7551
7586
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
7552
7587
|
enabled: z.ZodBoolean;
|
|
7553
7588
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
7589
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
7554
7590
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7555
7591
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
7556
7592
|
label: z.ZodString;
|
|
@@ -7628,6 +7664,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7628
7664
|
supportsSessionLoad: boolean;
|
|
7629
7665
|
supportsAudio: boolean;
|
|
7630
7666
|
error?: string | undefined;
|
|
7667
|
+
machineId?: string | undefined;
|
|
7631
7668
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7632
7669
|
protocolVersion?: number | undefined;
|
|
7633
7670
|
providers?: {
|
|
@@ -7651,6 +7688,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7651
7688
|
}, {
|
|
7652
7689
|
enabled: boolean;
|
|
7653
7690
|
error?: string | undefined;
|
|
7691
|
+
machineId?: string | undefined;
|
|
7654
7692
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7655
7693
|
protocolVersion?: number | undefined;
|
|
7656
7694
|
supportsImages?: boolean | undefined;
|
|
@@ -7686,16 +7724,16 @@ export declare const protocolMessageSchemas: {
|
|
|
7686
7724
|
createdAt: z.ZodNumber;
|
|
7687
7725
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
7688
7726
|
}, "strip", z.ZodTypeAny, {
|
|
7727
|
+
createdAt: number;
|
|
7689
7728
|
id: string;
|
|
7690
7729
|
role: "user" | "assistant" | "system";
|
|
7691
7730
|
content: string;
|
|
7692
|
-
createdAt: number;
|
|
7693
7731
|
isStreaming?: boolean | undefined;
|
|
7694
7732
|
}, {
|
|
7733
|
+
createdAt: number;
|
|
7695
7734
|
id: string;
|
|
7696
7735
|
role: "user" | "assistant" | "system";
|
|
7697
7736
|
content: string;
|
|
7698
|
-
createdAt: number;
|
|
7699
7737
|
isStreaming?: boolean | undefined;
|
|
7700
7738
|
}>, "many">>;
|
|
7701
7739
|
toolCalls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -7764,10 +7802,10 @@ export declare const protocolMessageSchemas: {
|
|
|
7764
7802
|
}, "strip", z.ZodTypeAny, {
|
|
7765
7803
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
7766
7804
|
messages: {
|
|
7805
|
+
createdAt: number;
|
|
7767
7806
|
id: string;
|
|
7768
7807
|
role: "user" | "assistant" | "system";
|
|
7769
7808
|
content: string;
|
|
7770
|
-
createdAt: number;
|
|
7771
7809
|
isStreaming?: boolean | undefined;
|
|
7772
7810
|
}[];
|
|
7773
7811
|
toolCalls: {
|
|
@@ -7801,6 +7839,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7801
7839
|
supportsSessionLoad: boolean;
|
|
7802
7840
|
supportsAudio: boolean;
|
|
7803
7841
|
error?: string | undefined;
|
|
7842
|
+
machineId?: string | undefined;
|
|
7804
7843
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7805
7844
|
protocolVersion?: number | undefined;
|
|
7806
7845
|
providers?: {
|
|
@@ -7829,6 +7868,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7829
7868
|
capabilities?: {
|
|
7830
7869
|
enabled: boolean;
|
|
7831
7870
|
error?: string | undefined;
|
|
7871
|
+
machineId?: string | undefined;
|
|
7832
7872
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7833
7873
|
protocolVersion?: number | undefined;
|
|
7834
7874
|
supportsImages?: boolean | undefined;
|
|
@@ -7858,10 +7898,10 @@ export declare const protocolMessageSchemas: {
|
|
|
7858
7898
|
supportsAudio?: boolean | undefined;
|
|
7859
7899
|
} | undefined;
|
|
7860
7900
|
messages?: {
|
|
7901
|
+
createdAt: number;
|
|
7861
7902
|
id: string;
|
|
7862
7903
|
role: "user" | "assistant" | "system";
|
|
7863
7904
|
content: string;
|
|
7864
|
-
createdAt: number;
|
|
7865
7905
|
isStreaming?: boolean | undefined;
|
|
7866
7906
|
}[] | undefined;
|
|
7867
7907
|
toolCalls?: {
|
|
@@ -7888,6 +7928,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7888
7928
|
readonly "agent.v2.capabilities": z.ZodObject<{
|
|
7889
7929
|
enabled: z.ZodBoolean;
|
|
7890
7930
|
provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
|
|
7931
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
7891
7932
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7892
7933
|
id: z.ZodEnum<["codex", "claude", "custom"]>;
|
|
7893
7934
|
label: z.ZodString;
|
|
@@ -7968,6 +8009,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7968
8009
|
supportsAudio: boolean;
|
|
7969
8010
|
workspaceProtocolVersion: number;
|
|
7970
8011
|
error?: string | undefined;
|
|
8012
|
+
machineId?: string | undefined;
|
|
7971
8013
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7972
8014
|
protocolVersion?: number | undefined;
|
|
7973
8015
|
providers?: {
|
|
@@ -7991,6 +8033,7 @@ export declare const protocolMessageSchemas: {
|
|
|
7991
8033
|
}, {
|
|
7992
8034
|
enabled: boolean;
|
|
7993
8035
|
error?: string | undefined;
|
|
8036
|
+
machineId?: string | undefined;
|
|
7994
8037
|
provider?: "claude" | "codex" | "custom" | undefined;
|
|
7995
8038
|
protocolVersion?: number | undefined;
|
|
7996
8039
|
supportsImages?: boolean | undefined;
|
|
@@ -8065,10 +8108,10 @@ export declare const protocolMessageSchemas: {
|
|
|
8065
8108
|
createdAt: z.ZodNumber;
|
|
8066
8109
|
}, "strip", z.ZodTypeAny, {
|
|
8067
8110
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
8111
|
+
createdAt: number;
|
|
8068
8112
|
id: string;
|
|
8069
8113
|
cwd: string;
|
|
8070
8114
|
provider: "claude" | "codex" | "custom";
|
|
8071
|
-
createdAt: number;
|
|
8072
8115
|
archived: boolean;
|
|
8073
8116
|
lastActivityAt: number;
|
|
8074
8117
|
title?: string | undefined;
|
|
@@ -8078,9 +8121,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8078
8121
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8079
8122
|
lastMessagePreview?: string | undefined;
|
|
8080
8123
|
}, {
|
|
8124
|
+
createdAt: number;
|
|
8081
8125
|
id: string;
|
|
8082
8126
|
cwd: string;
|
|
8083
|
-
createdAt: number;
|
|
8084
8127
|
lastActivityAt: number;
|
|
8085
8128
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8086
8129
|
title?: string | undefined;
|
|
@@ -8419,9 +8462,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8419
8462
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
8420
8463
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
8421
8464
|
}, "strip", z.ZodTypeAny, {
|
|
8465
|
+
createdAt: number;
|
|
8422
8466
|
id: string;
|
|
8423
8467
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
8424
|
-
createdAt: number;
|
|
8425
8468
|
conversationId: string;
|
|
8426
8469
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8427
8470
|
error?: string | undefined;
|
|
@@ -8519,9 +8562,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8519
8562
|
metadata?: Record<string, unknown> | undefined;
|
|
8520
8563
|
updatedAt?: number | undefined;
|
|
8521
8564
|
}, {
|
|
8565
|
+
createdAt: number;
|
|
8522
8566
|
id: string;
|
|
8523
8567
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
8524
|
-
createdAt: number;
|
|
8525
8568
|
conversationId: string;
|
|
8526
8569
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8527
8570
|
error?: string | undefined;
|
|
@@ -8622,10 +8665,10 @@ export declare const protocolMessageSchemas: {
|
|
|
8622
8665
|
}, "strip", z.ZodTypeAny, {
|
|
8623
8666
|
conversation: {
|
|
8624
8667
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
8668
|
+
createdAt: number;
|
|
8625
8669
|
id: string;
|
|
8626
8670
|
cwd: string;
|
|
8627
8671
|
provider: "claude" | "codex" | "custom";
|
|
8628
|
-
createdAt: number;
|
|
8629
8672
|
archived: boolean;
|
|
8630
8673
|
lastActivityAt: number;
|
|
8631
8674
|
title?: string | undefined;
|
|
@@ -8636,9 +8679,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8636
8679
|
lastMessagePreview?: string | undefined;
|
|
8637
8680
|
};
|
|
8638
8681
|
snapshot: {
|
|
8682
|
+
createdAt: number;
|
|
8639
8683
|
id: string;
|
|
8640
8684
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
8641
|
-
createdAt: number;
|
|
8642
8685
|
conversationId: string;
|
|
8643
8686
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8644
8687
|
error?: string | undefined;
|
|
@@ -8738,9 +8781,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8738
8781
|
}[];
|
|
8739
8782
|
}, {
|
|
8740
8783
|
conversation: {
|
|
8784
|
+
createdAt: number;
|
|
8741
8785
|
id: string;
|
|
8742
8786
|
cwd: string;
|
|
8743
|
-
createdAt: number;
|
|
8744
8787
|
lastActivityAt: number;
|
|
8745
8788
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8746
8789
|
title?: string | undefined;
|
|
@@ -8753,9 +8796,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8753
8796
|
lastMessagePreview?: string | undefined;
|
|
8754
8797
|
};
|
|
8755
8798
|
snapshot?: {
|
|
8799
|
+
createdAt: number;
|
|
8756
8800
|
id: string;
|
|
8757
8801
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
8758
|
-
createdAt: number;
|
|
8759
8802
|
conversationId: string;
|
|
8760
8803
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8761
8804
|
error?: string | undefined;
|
|
@@ -8878,10 +8921,10 @@ export declare const protocolMessageSchemas: {
|
|
|
8878
8921
|
createdAt: z.ZodNumber;
|
|
8879
8922
|
}, "strip", z.ZodTypeAny, {
|
|
8880
8923
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
8924
|
+
createdAt: number;
|
|
8881
8925
|
id: string;
|
|
8882
8926
|
cwd: string;
|
|
8883
8927
|
provider: "claude" | "codex" | "custom";
|
|
8884
|
-
createdAt: number;
|
|
8885
8928
|
archived: boolean;
|
|
8886
8929
|
lastActivityAt: number;
|
|
8887
8930
|
title?: string | undefined;
|
|
@@ -8891,9 +8934,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8891
8934
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
8892
8935
|
lastMessagePreview?: string | undefined;
|
|
8893
8936
|
}, {
|
|
8937
|
+
createdAt: number;
|
|
8894
8938
|
id: string;
|
|
8895
8939
|
cwd: string;
|
|
8896
|
-
createdAt: number;
|
|
8897
8940
|
lastActivityAt: number;
|
|
8898
8941
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8899
8942
|
title?: string | undefined;
|
|
@@ -8908,10 +8951,10 @@ export declare const protocolMessageSchemas: {
|
|
|
8908
8951
|
}, "strip", z.ZodTypeAny, {
|
|
8909
8952
|
conversations: {
|
|
8910
8953
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
8954
|
+
createdAt: number;
|
|
8911
8955
|
id: string;
|
|
8912
8956
|
cwd: string;
|
|
8913
8957
|
provider: "claude" | "codex" | "custom";
|
|
8914
|
-
createdAt: number;
|
|
8915
8958
|
archived: boolean;
|
|
8916
8959
|
lastActivityAt: number;
|
|
8917
8960
|
title?: string | undefined;
|
|
@@ -8923,9 +8966,9 @@ export declare const protocolMessageSchemas: {
|
|
|
8923
8966
|
}[];
|
|
8924
8967
|
}, {
|
|
8925
8968
|
conversations: {
|
|
8969
|
+
createdAt: number;
|
|
8926
8970
|
id: string;
|
|
8927
8971
|
cwd: string;
|
|
8928
|
-
createdAt: number;
|
|
8929
8972
|
lastActivityAt: number;
|
|
8930
8973
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
8931
8974
|
title?: string | undefined;
|
|
@@ -9355,9 +9398,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9355
9398
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
9356
9399
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
9357
9400
|
}, "strip", z.ZodTypeAny, {
|
|
9401
|
+
createdAt: number;
|
|
9358
9402
|
id: string;
|
|
9359
9403
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
9360
|
-
createdAt: number;
|
|
9361
9404
|
conversationId: string;
|
|
9362
9405
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
9363
9406
|
error?: string | undefined;
|
|
@@ -9455,9 +9498,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9455
9498
|
metadata?: Record<string, unknown> | undefined;
|
|
9456
9499
|
updatedAt?: number | undefined;
|
|
9457
9500
|
}, {
|
|
9501
|
+
createdAt: number;
|
|
9458
9502
|
id: string;
|
|
9459
9503
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
9460
|
-
createdAt: number;
|
|
9461
9504
|
conversationId: string;
|
|
9462
9505
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
9463
9506
|
error?: string | undefined;
|
|
@@ -9564,9 +9607,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9564
9607
|
requestId: string;
|
|
9565
9608
|
conversationId: string;
|
|
9566
9609
|
item?: {
|
|
9610
|
+
createdAt: number;
|
|
9567
9611
|
id: string;
|
|
9568
9612
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
9569
|
-
createdAt: number;
|
|
9570
9613
|
conversationId: string;
|
|
9571
9614
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
9572
9615
|
error?: string | undefined;
|
|
@@ -9671,9 +9714,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9671
9714
|
requestId: string;
|
|
9672
9715
|
conversationId: string;
|
|
9673
9716
|
item?: {
|
|
9717
|
+
createdAt: number;
|
|
9674
9718
|
id: string;
|
|
9675
9719
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
9676
|
-
createdAt: number;
|
|
9677
9720
|
conversationId: string;
|
|
9678
9721
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
9679
9722
|
error?: string | undefined;
|
|
@@ -9817,10 +9860,10 @@ export declare const protocolMessageSchemas: {
|
|
|
9817
9860
|
createdAt: z.ZodNumber;
|
|
9818
9861
|
}, "strip", z.ZodTypeAny, {
|
|
9819
9862
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
9863
|
+
createdAt: number;
|
|
9820
9864
|
id: string;
|
|
9821
9865
|
cwd: string;
|
|
9822
9866
|
provider: "claude" | "codex" | "custom";
|
|
9823
|
-
createdAt: number;
|
|
9824
9867
|
archived: boolean;
|
|
9825
9868
|
lastActivityAt: number;
|
|
9826
9869
|
title?: string | undefined;
|
|
@@ -9830,9 +9873,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9830
9873
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
9831
9874
|
lastMessagePreview?: string | undefined;
|
|
9832
9875
|
}, {
|
|
9876
|
+
createdAt: number;
|
|
9833
9877
|
id: string;
|
|
9834
9878
|
cwd: string;
|
|
9835
|
-
createdAt: number;
|
|
9836
9879
|
lastActivityAt: number;
|
|
9837
9880
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
9838
9881
|
title?: string | undefined;
|
|
@@ -10172,9 +10215,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10172
10215
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
10173
10216
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
10174
10217
|
}, "strip", z.ZodTypeAny, {
|
|
10218
|
+
createdAt: number;
|
|
10175
10219
|
id: string;
|
|
10176
10220
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
10177
|
-
createdAt: number;
|
|
10178
10221
|
conversationId: string;
|
|
10179
10222
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10180
10223
|
error?: string | undefined;
|
|
@@ -10272,9 +10315,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10272
10315
|
metadata?: Record<string, unknown> | undefined;
|
|
10273
10316
|
updatedAt?: number | undefined;
|
|
10274
10317
|
}, {
|
|
10318
|
+
createdAt: number;
|
|
10275
10319
|
id: string;
|
|
10276
10320
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
10277
|
-
createdAt: number;
|
|
10278
10321
|
conversationId: string;
|
|
10279
10322
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10280
10323
|
error?: string | undefined;
|
|
@@ -10372,13 +10415,14 @@ export declare const protocolMessageSchemas: {
|
|
|
10372
10415
|
metadata?: Record<string, unknown> | undefined;
|
|
10373
10416
|
updatedAt?: number | undefined;
|
|
10374
10417
|
}>, "many">>;
|
|
10418
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
10375
10419
|
}, "strip", z.ZodTypeAny, {
|
|
10376
10420
|
conversations: {
|
|
10377
10421
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
10422
|
+
createdAt: number;
|
|
10378
10423
|
id: string;
|
|
10379
10424
|
cwd: string;
|
|
10380
10425
|
provider: "claude" | "codex" | "custom";
|
|
10381
|
-
createdAt: number;
|
|
10382
10426
|
archived: boolean;
|
|
10383
10427
|
lastActivityAt: number;
|
|
10384
10428
|
title?: string | undefined;
|
|
@@ -10389,9 +10433,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10389
10433
|
lastMessagePreview?: string | undefined;
|
|
10390
10434
|
}[];
|
|
10391
10435
|
items: {
|
|
10436
|
+
createdAt: number;
|
|
10392
10437
|
id: string;
|
|
10393
10438
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
10394
|
-
createdAt: number;
|
|
10395
10439
|
conversationId: string;
|
|
10396
10440
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10397
10441
|
error?: string | undefined;
|
|
@@ -10489,12 +10533,14 @@ export declare const protocolMessageSchemas: {
|
|
|
10489
10533
|
metadata?: Record<string, unknown> | undefined;
|
|
10490
10534
|
updatedAt?: number | undefined;
|
|
10491
10535
|
}[];
|
|
10536
|
+
machineId?: string | undefined;
|
|
10492
10537
|
activeConversationId?: string | undefined;
|
|
10493
10538
|
}, {
|
|
10539
|
+
machineId?: string | undefined;
|
|
10494
10540
|
conversations?: {
|
|
10541
|
+
createdAt: number;
|
|
10495
10542
|
id: string;
|
|
10496
10543
|
cwd: string;
|
|
10497
|
-
createdAt: number;
|
|
10498
10544
|
lastActivityAt: number;
|
|
10499
10545
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10500
10546
|
title?: string | undefined;
|
|
@@ -10508,9 +10554,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10508
10554
|
}[] | undefined;
|
|
10509
10555
|
activeConversationId?: string | undefined;
|
|
10510
10556
|
items?: {
|
|
10557
|
+
createdAt: number;
|
|
10511
10558
|
id: string;
|
|
10512
10559
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
10513
|
-
createdAt: number;
|
|
10514
10560
|
conversationId: string;
|
|
10515
10561
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10516
10562
|
error?: string | undefined;
|
|
@@ -10627,10 +10673,10 @@ export declare const protocolMessageSchemas: {
|
|
|
10627
10673
|
createdAt: z.ZodNumber;
|
|
10628
10674
|
}, "strip", z.ZodTypeAny, {
|
|
10629
10675
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
10676
|
+
createdAt: number;
|
|
10630
10677
|
id: string;
|
|
10631
10678
|
cwd: string;
|
|
10632
10679
|
provider: "claude" | "codex" | "custom";
|
|
10633
|
-
createdAt: number;
|
|
10634
10680
|
archived: boolean;
|
|
10635
10681
|
lastActivityAt: number;
|
|
10636
10682
|
title?: string | undefined;
|
|
@@ -10640,9 +10686,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10640
10686
|
permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
|
|
10641
10687
|
lastMessagePreview?: string | undefined;
|
|
10642
10688
|
}, {
|
|
10689
|
+
createdAt: number;
|
|
10643
10690
|
id: string;
|
|
10644
10691
|
cwd: string;
|
|
10645
|
-
createdAt: number;
|
|
10646
10692
|
lastActivityAt: number;
|
|
10647
10693
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10648
10694
|
title?: string | undefined;
|
|
@@ -10981,9 +11027,9 @@ export declare const protocolMessageSchemas: {
|
|
|
10981
11027
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
10982
11028
|
isStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
10983
11029
|
}, "strip", z.ZodTypeAny, {
|
|
11030
|
+
createdAt: number;
|
|
10984
11031
|
id: string;
|
|
10985
11032
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
10986
|
-
createdAt: number;
|
|
10987
11033
|
conversationId: string;
|
|
10988
11034
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
10989
11035
|
error?: string | undefined;
|
|
@@ -11081,9 +11127,9 @@ export declare const protocolMessageSchemas: {
|
|
|
11081
11127
|
metadata?: Record<string, unknown> | undefined;
|
|
11082
11128
|
updatedAt?: number | undefined;
|
|
11083
11129
|
}, {
|
|
11130
|
+
createdAt: number;
|
|
11084
11131
|
id: string;
|
|
11085
11132
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
11086
|
-
createdAt: number;
|
|
11087
11133
|
conversationId: string;
|
|
11088
11134
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
11089
11135
|
error?: string | undefined;
|
|
@@ -11699,9 +11745,9 @@ export declare const protocolMessageSchemas: {
|
|
|
11699
11745
|
}, "strip", z.ZodTypeAny, {
|
|
11700
11746
|
conversationId: string;
|
|
11701
11747
|
item?: {
|
|
11748
|
+
createdAt: number;
|
|
11702
11749
|
id: string;
|
|
11703
11750
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
11704
|
-
createdAt: number;
|
|
11705
11751
|
conversationId: string;
|
|
11706
11752
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
11707
11753
|
error?: string | undefined;
|
|
@@ -11898,10 +11944,10 @@ export declare const protocolMessageSchemas: {
|
|
|
11898
11944
|
} | undefined;
|
|
11899
11945
|
conversation?: {
|
|
11900
11946
|
status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
|
|
11947
|
+
createdAt: number;
|
|
11901
11948
|
id: string;
|
|
11902
11949
|
cwd: string;
|
|
11903
11950
|
provider: "claude" | "codex" | "custom";
|
|
11904
|
-
createdAt: number;
|
|
11905
11951
|
archived: boolean;
|
|
11906
11952
|
lastActivityAt: number;
|
|
11907
11953
|
title?: string | undefined;
|
|
@@ -11914,9 +11960,9 @@ export declare const protocolMessageSchemas: {
|
|
|
11914
11960
|
}, {
|
|
11915
11961
|
conversationId: string;
|
|
11916
11962
|
item?: {
|
|
11963
|
+
createdAt: number;
|
|
11917
11964
|
id: string;
|
|
11918
11965
|
type: "status" | "error" | "message" | "plan" | "tool_call" | "permission";
|
|
11919
|
-
createdAt: number;
|
|
11920
11966
|
conversationId: string;
|
|
11921
11967
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
11922
11968
|
error?: string | undefined;
|
|
@@ -12112,9 +12158,9 @@ export declare const protocolMessageSchemas: {
|
|
|
12112
12158
|
textDelta?: string | undefined;
|
|
12113
12159
|
} | undefined;
|
|
12114
12160
|
conversation?: {
|
|
12161
|
+
createdAt: number;
|
|
12115
12162
|
id: string;
|
|
12116
12163
|
cwd: string;
|
|
12117
|
-
createdAt: number;
|
|
12118
12164
|
lastActivityAt: number;
|
|
12119
12165
|
status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
|
|
12120
12166
|
title?: string | undefined;
|