linkshell-cli 0.3.14 → 0.3.16
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/index.js +0 -0
- package/dist/cli/src/runtime/acp/agent-workspace.d.ts +4 -0
- package/dist/cli/src/runtime/acp/agent-workspace.js +65 -7
- package/dist/cli/src/runtime/acp/agent-workspace.js.map +1 -1
- package/dist/cli/src/runtime/acp/claude-sdk-client.d.ts +1 -0
- package/dist/cli/src/runtime/acp/claude-sdk-client.js +45 -7
- package/dist/cli/src/runtime/acp/claude-sdk-client.js.map +1 -1
- package/dist/cli/src/runtime/acp/claude-stream-json-client.js +22 -2
- package/dist/cli/src/runtime/acp/claude-stream-json-client.js.map +1 -1
- package/dist/cli/src/runtime/acp/codex-rpc-bridge.d.ts +16 -0
- package/dist/cli/src/runtime/acp/codex-rpc-bridge.js +53 -0
- package/dist/cli/src/runtime/acp/codex-rpc-bridge.js.map +1 -0
- package/dist/cli/src/runtime/acp/json-rpc.d.ts +25 -1
- package/dist/cli/src/runtime/acp/json-rpc.js +9 -1
- package/dist/cli/src/runtime/acp/json-rpc.js.map +1 -1
- package/dist/cli/src/runtime/bridge-session.js +25 -0
- 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 +939 -459
- package/dist/shared-protocol/src/index.js +56 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +13 -13
- package/src/runtime/acp/agent-workspace.ts +66 -7
- package/src/runtime/acp/claude-sdk-client.ts +50 -7
- package/src/runtime/acp/claude-stream-json-client.ts +25 -2
- package/src/runtime/acp/codex-rpc-bridge.ts +70 -0
- package/src/runtime/acp/json-rpc.ts +13 -4
- package/src/runtime/bridge-session.ts +27 -0
|
@@ -529,7 +529,7 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
|
|
|
529
529
|
pendingPermissionCount: z.ZodOptional<z.ZodNumber>;
|
|
530
530
|
machineId: z.ZodOptional<z.ZodString>;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
|
-
phase: "error" | "idle" | "thinking" | "
|
|
532
|
+
phase: "error" | "idle" | "thinking" | "waiting" | "tool_use" | "outputting";
|
|
533
533
|
summary?: string | undefined;
|
|
534
534
|
toolName?: string | undefined;
|
|
535
535
|
toolInput?: string | undefined;
|
|
@@ -551,7 +551,7 @@ export declare const terminalStatusPayloadSchema: z.ZodObject<{
|
|
|
551
551
|
} | undefined;
|
|
552
552
|
pendingPermissionCount?: number | undefined;
|
|
553
553
|
}, {
|
|
554
|
-
phase: "error" | "idle" | "thinking" | "
|
|
554
|
+
phase: "error" | "idle" | "thinking" | "waiting" | "tool_use" | "outputting";
|
|
555
555
|
summary?: string | undefined;
|
|
556
556
|
toolName?: string | undefined;
|
|
557
557
|
toolInput?: string | undefined;
|
|
@@ -881,6 +881,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
881
881
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
882
882
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
883
883
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
884
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
885
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
886
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
884
887
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
885
888
|
id: z.ZodString;
|
|
886
889
|
label: z.ZodString;
|
|
@@ -978,6 +981,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
978
981
|
supportsPermission?: boolean | undefined;
|
|
979
982
|
supportsPlan?: boolean | undefined;
|
|
980
983
|
supportsCancel?: boolean | undefined;
|
|
984
|
+
providerProtocol?: string | undefined;
|
|
985
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
986
|
+
modelListError?: string | undefined;
|
|
981
987
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
982
988
|
modes?: {
|
|
983
989
|
id: string;
|
|
@@ -1015,6 +1021,9 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
|
|
|
1015
1021
|
supportsPermission?: boolean | undefined;
|
|
1016
1022
|
supportsPlan?: boolean | undefined;
|
|
1017
1023
|
supportsCancel?: boolean | undefined;
|
|
1024
|
+
providerProtocol?: string | undefined;
|
|
1025
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
1026
|
+
modelListError?: string | undefined;
|
|
1018
1027
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1019
1028
|
modes?: {
|
|
1020
1029
|
id: string;
|
|
@@ -1037,6 +1046,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1037
1046
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1038
1047
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
1039
1048
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
1049
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
1051
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
1040
1052
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1041
1053
|
id: z.ZodString;
|
|
1042
1054
|
label: z.ZodString;
|
|
@@ -1134,6 +1146,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1134
1146
|
supportsPermission?: boolean | undefined;
|
|
1135
1147
|
supportsPlan?: boolean | undefined;
|
|
1136
1148
|
supportsCancel?: boolean | undefined;
|
|
1149
|
+
providerProtocol?: string | undefined;
|
|
1150
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
1151
|
+
modelListError?: string | undefined;
|
|
1137
1152
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1138
1153
|
modes?: {
|
|
1139
1154
|
id: string;
|
|
@@ -1171,6 +1186,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1171
1186
|
supportsPermission?: boolean | undefined;
|
|
1172
1187
|
supportsPlan?: boolean | undefined;
|
|
1173
1188
|
supportsCancel?: boolean | undefined;
|
|
1189
|
+
providerProtocol?: string | undefined;
|
|
1190
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
1191
|
+
modelListError?: string | undefined;
|
|
1174
1192
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1175
1193
|
modes?: {
|
|
1176
1194
|
id: string;
|
|
@@ -1181,6 +1199,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1181
1199
|
features?: Record<string, boolean> | undefined;
|
|
1182
1200
|
}>, "many">>;
|
|
1183
1201
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
1184
1203
|
error: z.ZodOptional<z.ZodString>;
|
|
1185
1204
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
1186
1205
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1228,6 +1247,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1228
1247
|
supportsPermission?: boolean | undefined;
|
|
1229
1248
|
supportsPlan?: boolean | undefined;
|
|
1230
1249
|
supportsCancel?: boolean | undefined;
|
|
1250
|
+
providerProtocol?: string | undefined;
|
|
1251
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
1252
|
+
modelListError?: string | undefined;
|
|
1231
1253
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1232
1254
|
modes?: {
|
|
1233
1255
|
id: string;
|
|
@@ -1240,6 +1262,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1240
1262
|
protocolVersion?: number | undefined;
|
|
1241
1263
|
machineId?: string | undefined;
|
|
1242
1264
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
1265
|
+
capabilitiesRevision?: number | undefined;
|
|
1243
1266
|
}, {
|
|
1244
1267
|
enabled: boolean;
|
|
1245
1268
|
error?: string | undefined;
|
|
@@ -1272,6 +1295,9 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1272
1295
|
supportsPermission?: boolean | undefined;
|
|
1273
1296
|
supportsPlan?: boolean | undefined;
|
|
1274
1297
|
supportsCancel?: boolean | undefined;
|
|
1298
|
+
providerProtocol?: string | undefined;
|
|
1299
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
1300
|
+
modelListError?: string | undefined;
|
|
1275
1301
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
1276
1302
|
modes?: {
|
|
1277
1303
|
id: string;
|
|
@@ -1288,6 +1314,7 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
1288
1314
|
supportsPermission?: boolean | undefined;
|
|
1289
1315
|
supportsPlan?: boolean | undefined;
|
|
1290
1316
|
supportsCancel?: boolean | undefined;
|
|
1317
|
+
capabilitiesRevision?: number | undefined;
|
|
1291
1318
|
supportsSessionList?: boolean | undefined;
|
|
1292
1319
|
supportsSessionLoad?: boolean | undefined;
|
|
1293
1320
|
supportsAudio?: boolean | undefined;
|
|
@@ -1966,6 +1993,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1966
1993
|
text: string;
|
|
1967
1994
|
}[] | undefined;
|
|
1968
1995
|
updatedAt?: number | undefined;
|
|
1996
|
+
turnId?: string | undefined;
|
|
1969
1997
|
text?: string | undefined;
|
|
1970
1998
|
permission?: {
|
|
1971
1999
|
options: {
|
|
@@ -1978,6 +2006,12 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1978
2006
|
toolInput?: string | undefined;
|
|
1979
2007
|
context?: string | undefined;
|
|
1980
2008
|
} | undefined;
|
|
2009
|
+
content?: {
|
|
2010
|
+
type: "image" | "text";
|
|
2011
|
+
text?: string | undefined;
|
|
2012
|
+
data?: string | undefined;
|
|
2013
|
+
mimeType?: string | undefined;
|
|
2014
|
+
}[] | undefined;
|
|
1981
2015
|
commandExecution?: {
|
|
1982
2016
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
1983
2017
|
command?: string | undefined;
|
|
@@ -1998,12 +2032,6 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
1998
2032
|
changeSetId?: string | undefined;
|
|
1999
2033
|
} | undefined;
|
|
2000
2034
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
2001
|
-
content?: {
|
|
2002
|
-
type: "image" | "text";
|
|
2003
|
-
text?: string | undefined;
|
|
2004
|
-
data?: string | undefined;
|
|
2005
|
-
mimeType?: string | undefined;
|
|
2006
|
-
}[] | undefined;
|
|
2007
2035
|
role?: "user" | "assistant" | "system" | undefined;
|
|
2008
2036
|
toolCall?: {
|
|
2009
2037
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -2036,7 +2064,6 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2036
2064
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2037
2065
|
canonical?: boolean | undefined;
|
|
2038
2066
|
revision?: number | undefined;
|
|
2039
|
-
turnId?: string | undefined;
|
|
2040
2067
|
itemId?: string | undefined;
|
|
2041
2068
|
structuredInput?: {
|
|
2042
2069
|
questions: {
|
|
@@ -2069,6 +2096,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2069
2096
|
text: string;
|
|
2070
2097
|
}[] | undefined;
|
|
2071
2098
|
updatedAt?: number | undefined;
|
|
2099
|
+
turnId?: string | undefined;
|
|
2072
2100
|
text?: string | undefined;
|
|
2073
2101
|
permission?: {
|
|
2074
2102
|
requestId: string;
|
|
@@ -2081,6 +2109,12 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2081
2109
|
}[] | undefined;
|
|
2082
2110
|
context?: string | undefined;
|
|
2083
2111
|
} | undefined;
|
|
2112
|
+
content?: {
|
|
2113
|
+
type: "image" | "text";
|
|
2114
|
+
text?: string | undefined;
|
|
2115
|
+
data?: string | undefined;
|
|
2116
|
+
mimeType?: string | undefined;
|
|
2117
|
+
}[] | undefined;
|
|
2084
2118
|
commandExecution?: {
|
|
2085
2119
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
2086
2120
|
command?: string | undefined;
|
|
@@ -2101,12 +2135,6 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2101
2135
|
changeSetId?: string | undefined;
|
|
2102
2136
|
} | undefined;
|
|
2103
2137
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
2104
|
-
content?: {
|
|
2105
|
-
type: "image" | "text";
|
|
2106
|
-
text?: string | undefined;
|
|
2107
|
-
data?: string | undefined;
|
|
2108
|
-
mimeType?: string | undefined;
|
|
2109
|
-
}[] | undefined;
|
|
2110
2138
|
role?: "user" | "assistant" | "system" | undefined;
|
|
2111
2139
|
toolCall?: {
|
|
2112
2140
|
name: string;
|
|
@@ -2139,7 +2167,6 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
|
|
|
2139
2167
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2140
2168
|
canonical?: boolean | undefined;
|
|
2141
2169
|
revision?: number | undefined;
|
|
2142
|
-
turnId?: string | undefined;
|
|
2143
2170
|
itemId?: string | undefined;
|
|
2144
2171
|
structuredInput?: {
|
|
2145
2172
|
requestId: string;
|
|
@@ -2190,6 +2217,7 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2190
2217
|
provider: "codex" | "claude" | "custom";
|
|
2191
2218
|
agentSessionId?: string | undefined;
|
|
2192
2219
|
title?: string | undefined;
|
|
2220
|
+
runningTurnId?: string | undefined;
|
|
2193
2221
|
model?: string | undefined;
|
|
2194
2222
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2195
2223
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -2197,7 +2225,6 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2197
2225
|
collaborationMode?: "default" | "plan" | undefined;
|
|
2198
2226
|
timelineRevision?: number | undefined;
|
|
2199
2227
|
historyComplete?: boolean | undefined;
|
|
2200
|
-
runningTurnId?: string | undefined;
|
|
2201
2228
|
canonical?: boolean | undefined;
|
|
2202
2229
|
lastMessagePreview?: string | undefined;
|
|
2203
2230
|
}, {
|
|
@@ -2209,6 +2236,7 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2209
2236
|
agentSessionId?: string | undefined;
|
|
2210
2237
|
title?: string | undefined;
|
|
2211
2238
|
archived?: boolean | undefined;
|
|
2239
|
+
runningTurnId?: string | undefined;
|
|
2212
2240
|
model?: string | undefined;
|
|
2213
2241
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2214
2242
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -2217,7 +2245,6 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
|
|
|
2217
2245
|
collaborationMode?: "default" | "plan" | undefined;
|
|
2218
2246
|
timelineRevision?: number | undefined;
|
|
2219
2247
|
historyComplete?: boolean | undefined;
|
|
2220
|
-
runningTurnId?: string | undefined;
|
|
2221
2248
|
canonical?: boolean | undefined;
|
|
2222
2249
|
lastMessagePreview?: string | undefined;
|
|
2223
2250
|
}>;
|
|
@@ -2235,6 +2262,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2235
2262
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
2236
2263
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
2237
2264
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
2265
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
2267
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
2238
2268
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2239
2269
|
id: z.ZodString;
|
|
2240
2270
|
label: z.ZodString;
|
|
@@ -2332,6 +2362,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2332
2362
|
supportsPermission?: boolean | undefined;
|
|
2333
2363
|
supportsPlan?: boolean | undefined;
|
|
2334
2364
|
supportsCancel?: boolean | undefined;
|
|
2365
|
+
providerProtocol?: string | undefined;
|
|
2366
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
2367
|
+
modelListError?: string | undefined;
|
|
2335
2368
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
2336
2369
|
modes?: {
|
|
2337
2370
|
id: string;
|
|
@@ -2369,6 +2402,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2369
2402
|
supportsPermission?: boolean | undefined;
|
|
2370
2403
|
supportsPlan?: boolean | undefined;
|
|
2371
2404
|
supportsCancel?: boolean | undefined;
|
|
2405
|
+
providerProtocol?: string | undefined;
|
|
2406
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
2407
|
+
modelListError?: string | undefined;
|
|
2372
2408
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
2373
2409
|
modes?: {
|
|
2374
2410
|
id: string;
|
|
@@ -2379,6 +2415,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2379
2415
|
features?: Record<string, boolean> | undefined;
|
|
2380
2416
|
}>, "many">>;
|
|
2381
2417
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
2418
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
2382
2419
|
error: z.ZodOptional<z.ZodString>;
|
|
2383
2420
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
2384
2421
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2429,6 +2466,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2429
2466
|
supportsPermission?: boolean | undefined;
|
|
2430
2467
|
supportsPlan?: boolean | undefined;
|
|
2431
2468
|
supportsCancel?: boolean | undefined;
|
|
2469
|
+
providerProtocol?: string | undefined;
|
|
2470
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
2471
|
+
modelListError?: string | undefined;
|
|
2432
2472
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
2433
2473
|
modes?: {
|
|
2434
2474
|
id: string;
|
|
@@ -2441,6 +2481,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2441
2481
|
protocolVersion?: number | undefined;
|
|
2442
2482
|
machineId?: string | undefined;
|
|
2443
2483
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
2484
|
+
capabilitiesRevision?: number | undefined;
|
|
2444
2485
|
}, {
|
|
2445
2486
|
enabled: boolean;
|
|
2446
2487
|
error?: string | undefined;
|
|
@@ -2473,6 +2514,9 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2473
2514
|
supportsPermission?: boolean | undefined;
|
|
2474
2515
|
supportsPlan?: boolean | undefined;
|
|
2475
2516
|
supportsCancel?: boolean | undefined;
|
|
2517
|
+
providerProtocol?: string | undefined;
|
|
2518
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
2519
|
+
modelListError?: string | undefined;
|
|
2476
2520
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
2477
2521
|
modes?: {
|
|
2478
2522
|
id: string;
|
|
@@ -2489,6 +2533,7 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
|
|
|
2489
2533
|
supportsPermission?: boolean | undefined;
|
|
2490
2534
|
supportsPlan?: boolean | undefined;
|
|
2491
2535
|
supportsCancel?: boolean | undefined;
|
|
2536
|
+
capabilitiesRevision?: number | undefined;
|
|
2492
2537
|
supportsSessionList?: boolean | undefined;
|
|
2493
2538
|
supportsSessionLoad?: boolean | undefined;
|
|
2494
2539
|
supportsAudio?: boolean | undefined;
|
|
@@ -2556,6 +2601,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2556
2601
|
provider: "codex" | "claude" | "custom";
|
|
2557
2602
|
agentSessionId?: string | undefined;
|
|
2558
2603
|
title?: string | undefined;
|
|
2604
|
+
runningTurnId?: string | undefined;
|
|
2559
2605
|
model?: string | undefined;
|
|
2560
2606
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2561
2607
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -2563,7 +2609,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2563
2609
|
collaborationMode?: "default" | "plan" | undefined;
|
|
2564
2610
|
timelineRevision?: number | undefined;
|
|
2565
2611
|
historyComplete?: boolean | undefined;
|
|
2566
|
-
runningTurnId?: string | undefined;
|
|
2567
2612
|
canonical?: boolean | undefined;
|
|
2568
2613
|
lastMessagePreview?: string | undefined;
|
|
2569
2614
|
}, {
|
|
@@ -2575,6 +2620,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2575
2620
|
agentSessionId?: string | undefined;
|
|
2576
2621
|
title?: string | undefined;
|
|
2577
2622
|
archived?: boolean | undefined;
|
|
2623
|
+
runningTurnId?: string | undefined;
|
|
2578
2624
|
model?: string | undefined;
|
|
2579
2625
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
2580
2626
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -2583,7 +2629,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2583
2629
|
collaborationMode?: "default" | "plan" | undefined;
|
|
2584
2630
|
timelineRevision?: number | undefined;
|
|
2585
2631
|
historyComplete?: boolean | undefined;
|
|
2586
|
-
runningTurnId?: string | undefined;
|
|
2587
2632
|
canonical?: boolean | undefined;
|
|
2588
2633
|
lastMessagePreview?: string | undefined;
|
|
2589
2634
|
}>;
|
|
@@ -2929,6 +2974,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2929
2974
|
text: string;
|
|
2930
2975
|
}[] | undefined;
|
|
2931
2976
|
updatedAt?: number | undefined;
|
|
2977
|
+
turnId?: string | undefined;
|
|
2932
2978
|
text?: string | undefined;
|
|
2933
2979
|
permission?: {
|
|
2934
2980
|
options: {
|
|
@@ -2941,6 +2987,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2941
2987
|
toolInput?: string | undefined;
|
|
2942
2988
|
context?: string | undefined;
|
|
2943
2989
|
} | undefined;
|
|
2990
|
+
content?: {
|
|
2991
|
+
type: "image" | "text";
|
|
2992
|
+
text?: string | undefined;
|
|
2993
|
+
data?: string | undefined;
|
|
2994
|
+
mimeType?: string | undefined;
|
|
2995
|
+
}[] | undefined;
|
|
2944
2996
|
commandExecution?: {
|
|
2945
2997
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
2946
2998
|
command?: string | undefined;
|
|
@@ -2961,12 +3013,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2961
3013
|
changeSetId?: string | undefined;
|
|
2962
3014
|
} | undefined;
|
|
2963
3015
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
2964
|
-
content?: {
|
|
2965
|
-
type: "image" | "text";
|
|
2966
|
-
text?: string | undefined;
|
|
2967
|
-
data?: string | undefined;
|
|
2968
|
-
mimeType?: string | undefined;
|
|
2969
|
-
}[] | undefined;
|
|
2970
3016
|
role?: "user" | "assistant" | "system" | undefined;
|
|
2971
3017
|
toolCall?: {
|
|
2972
3018
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -2999,7 +3045,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
2999
3045
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3000
3046
|
canonical?: boolean | undefined;
|
|
3001
3047
|
revision?: number | undefined;
|
|
3002
|
-
turnId?: string | undefined;
|
|
3003
3048
|
itemId?: string | undefined;
|
|
3004
3049
|
structuredInput?: {
|
|
3005
3050
|
questions: {
|
|
@@ -3032,6 +3077,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3032
3077
|
text: string;
|
|
3033
3078
|
}[] | undefined;
|
|
3034
3079
|
updatedAt?: number | undefined;
|
|
3080
|
+
turnId?: string | undefined;
|
|
3035
3081
|
text?: string | undefined;
|
|
3036
3082
|
permission?: {
|
|
3037
3083
|
requestId: string;
|
|
@@ -3044,6 +3090,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3044
3090
|
}[] | undefined;
|
|
3045
3091
|
context?: string | undefined;
|
|
3046
3092
|
} | undefined;
|
|
3093
|
+
content?: {
|
|
3094
|
+
type: "image" | "text";
|
|
3095
|
+
text?: string | undefined;
|
|
3096
|
+
data?: string | undefined;
|
|
3097
|
+
mimeType?: string | undefined;
|
|
3098
|
+
}[] | undefined;
|
|
3047
3099
|
commandExecution?: {
|
|
3048
3100
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
3049
3101
|
command?: string | undefined;
|
|
@@ -3064,12 +3116,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3064
3116
|
changeSetId?: string | undefined;
|
|
3065
3117
|
} | undefined;
|
|
3066
3118
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
3067
|
-
content?: {
|
|
3068
|
-
type: "image" | "text";
|
|
3069
|
-
text?: string | undefined;
|
|
3070
|
-
data?: string | undefined;
|
|
3071
|
-
mimeType?: string | undefined;
|
|
3072
|
-
}[] | undefined;
|
|
3073
3119
|
role?: "user" | "assistant" | "system" | undefined;
|
|
3074
3120
|
toolCall?: {
|
|
3075
3121
|
name: string;
|
|
@@ -3102,7 +3148,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3102
3148
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3103
3149
|
canonical?: boolean | undefined;
|
|
3104
3150
|
revision?: number | undefined;
|
|
3105
|
-
turnId?: string | undefined;
|
|
3106
3151
|
itemId?: string | undefined;
|
|
3107
3152
|
structuredInput?: {
|
|
3108
3153
|
requestId: string;
|
|
@@ -3139,6 +3184,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3139
3184
|
provider: "codex" | "claude" | "custom";
|
|
3140
3185
|
agentSessionId?: string | undefined;
|
|
3141
3186
|
title?: string | undefined;
|
|
3187
|
+
runningTurnId?: string | undefined;
|
|
3142
3188
|
model?: string | undefined;
|
|
3143
3189
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3144
3190
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -3146,7 +3192,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3146
3192
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3147
3193
|
timelineRevision?: number | undefined;
|
|
3148
3194
|
historyComplete?: boolean | undefined;
|
|
3149
|
-
runningTurnId?: string | undefined;
|
|
3150
3195
|
canonical?: boolean | undefined;
|
|
3151
3196
|
lastMessagePreview?: string | undefined;
|
|
3152
3197
|
};
|
|
@@ -3163,6 +3208,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3163
3208
|
text: string;
|
|
3164
3209
|
}[] | undefined;
|
|
3165
3210
|
updatedAt?: number | undefined;
|
|
3211
|
+
turnId?: string | undefined;
|
|
3166
3212
|
text?: string | undefined;
|
|
3167
3213
|
permission?: {
|
|
3168
3214
|
options: {
|
|
@@ -3175,6 +3221,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3175
3221
|
toolInput?: string | undefined;
|
|
3176
3222
|
context?: string | undefined;
|
|
3177
3223
|
} | undefined;
|
|
3224
|
+
content?: {
|
|
3225
|
+
type: "image" | "text";
|
|
3226
|
+
text?: string | undefined;
|
|
3227
|
+
data?: string | undefined;
|
|
3228
|
+
mimeType?: string | undefined;
|
|
3229
|
+
}[] | undefined;
|
|
3178
3230
|
commandExecution?: {
|
|
3179
3231
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
3180
3232
|
command?: string | undefined;
|
|
@@ -3195,12 +3247,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3195
3247
|
changeSetId?: string | undefined;
|
|
3196
3248
|
} | undefined;
|
|
3197
3249
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
3198
|
-
content?: {
|
|
3199
|
-
type: "image" | "text";
|
|
3200
|
-
text?: string | undefined;
|
|
3201
|
-
data?: string | undefined;
|
|
3202
|
-
mimeType?: string | undefined;
|
|
3203
|
-
}[] | undefined;
|
|
3204
3250
|
role?: "user" | "assistant" | "system" | undefined;
|
|
3205
3251
|
toolCall?: {
|
|
3206
3252
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -3233,7 +3279,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3233
3279
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3234
3280
|
canonical?: boolean | undefined;
|
|
3235
3281
|
revision?: number | undefined;
|
|
3236
|
-
turnId?: string | undefined;
|
|
3237
3282
|
itemId?: string | undefined;
|
|
3238
3283
|
structuredInput?: {
|
|
3239
3284
|
questions: {
|
|
@@ -3269,6 +3314,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3269
3314
|
agentSessionId?: string | undefined;
|
|
3270
3315
|
title?: string | undefined;
|
|
3271
3316
|
archived?: boolean | undefined;
|
|
3317
|
+
runningTurnId?: string | undefined;
|
|
3272
3318
|
model?: string | undefined;
|
|
3273
3319
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3274
3320
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -3277,7 +3323,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3277
3323
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3278
3324
|
timelineRevision?: number | undefined;
|
|
3279
3325
|
historyComplete?: boolean | undefined;
|
|
3280
|
-
runningTurnId?: string | undefined;
|
|
3281
3326
|
canonical?: boolean | undefined;
|
|
3282
3327
|
lastMessagePreview?: string | undefined;
|
|
3283
3328
|
};
|
|
@@ -3297,6 +3342,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3297
3342
|
text: string;
|
|
3298
3343
|
}[] | undefined;
|
|
3299
3344
|
updatedAt?: number | undefined;
|
|
3345
|
+
turnId?: string | undefined;
|
|
3300
3346
|
text?: string | undefined;
|
|
3301
3347
|
permission?: {
|
|
3302
3348
|
requestId: string;
|
|
@@ -3309,6 +3355,12 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3309
3355
|
}[] | undefined;
|
|
3310
3356
|
context?: string | undefined;
|
|
3311
3357
|
} | undefined;
|
|
3358
|
+
content?: {
|
|
3359
|
+
type: "image" | "text";
|
|
3360
|
+
text?: string | undefined;
|
|
3361
|
+
data?: string | undefined;
|
|
3362
|
+
mimeType?: string | undefined;
|
|
3363
|
+
}[] | undefined;
|
|
3312
3364
|
commandExecution?: {
|
|
3313
3365
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
3314
3366
|
command?: string | undefined;
|
|
@@ -3329,12 +3381,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3329
3381
|
changeSetId?: string | undefined;
|
|
3330
3382
|
} | undefined;
|
|
3331
3383
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
3332
|
-
content?: {
|
|
3333
|
-
type: "image" | "text";
|
|
3334
|
-
text?: string | undefined;
|
|
3335
|
-
data?: string | undefined;
|
|
3336
|
-
mimeType?: string | undefined;
|
|
3337
|
-
}[] | undefined;
|
|
3338
3384
|
role?: "user" | "assistant" | "system" | undefined;
|
|
3339
3385
|
toolCall?: {
|
|
3340
3386
|
name: string;
|
|
@@ -3367,7 +3413,6 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
|
|
|
3367
3413
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3368
3414
|
canonical?: boolean | undefined;
|
|
3369
3415
|
revision?: number | undefined;
|
|
3370
|
-
turnId?: string | undefined;
|
|
3371
3416
|
itemId?: string | undefined;
|
|
3372
3417
|
structuredInput?: {
|
|
3373
3418
|
requestId: string;
|
|
@@ -3429,6 +3474,7 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3429
3474
|
provider: "codex" | "claude" | "custom";
|
|
3430
3475
|
agentSessionId?: string | undefined;
|
|
3431
3476
|
title?: string | undefined;
|
|
3477
|
+
runningTurnId?: string | undefined;
|
|
3432
3478
|
model?: string | undefined;
|
|
3433
3479
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3434
3480
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -3436,7 +3482,6 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3436
3482
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3437
3483
|
timelineRevision?: number | undefined;
|
|
3438
3484
|
historyComplete?: boolean | undefined;
|
|
3439
|
-
runningTurnId?: string | undefined;
|
|
3440
3485
|
canonical?: boolean | undefined;
|
|
3441
3486
|
lastMessagePreview?: string | undefined;
|
|
3442
3487
|
}, {
|
|
@@ -3448,6 +3493,7 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3448
3493
|
agentSessionId?: string | undefined;
|
|
3449
3494
|
title?: string | undefined;
|
|
3450
3495
|
archived?: boolean | undefined;
|
|
3496
|
+
runningTurnId?: string | undefined;
|
|
3451
3497
|
model?: string | undefined;
|
|
3452
3498
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3453
3499
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -3456,7 +3502,6 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3456
3502
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3457
3503
|
timelineRevision?: number | undefined;
|
|
3458
3504
|
historyComplete?: boolean | undefined;
|
|
3459
|
-
runningTurnId?: string | undefined;
|
|
3460
3505
|
canonical?: boolean | undefined;
|
|
3461
3506
|
lastMessagePreview?: string | undefined;
|
|
3462
3507
|
}>, "many">;
|
|
@@ -3471,6 +3516,7 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3471
3516
|
provider: "codex" | "claude" | "custom";
|
|
3472
3517
|
agentSessionId?: string | undefined;
|
|
3473
3518
|
title?: string | undefined;
|
|
3519
|
+
runningTurnId?: string | undefined;
|
|
3474
3520
|
model?: string | undefined;
|
|
3475
3521
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3476
3522
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -3478,7 +3524,6 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3478
3524
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3479
3525
|
timelineRevision?: number | undefined;
|
|
3480
3526
|
historyComplete?: boolean | undefined;
|
|
3481
|
-
runningTurnId?: string | undefined;
|
|
3482
3527
|
canonical?: boolean | undefined;
|
|
3483
3528
|
lastMessagePreview?: string | undefined;
|
|
3484
3529
|
}[];
|
|
@@ -3492,6 +3537,7 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3492
3537
|
agentSessionId?: string | undefined;
|
|
3493
3538
|
title?: string | undefined;
|
|
3494
3539
|
archived?: boolean | undefined;
|
|
3540
|
+
runningTurnId?: string | undefined;
|
|
3495
3541
|
model?: string | undefined;
|
|
3496
3542
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3497
3543
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -3500,7 +3546,6 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
|
|
|
3500
3546
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3501
3547
|
timelineRevision?: number | undefined;
|
|
3502
3548
|
historyComplete?: boolean | undefined;
|
|
3503
|
-
runningTurnId?: string | undefined;
|
|
3504
3549
|
canonical?: boolean | undefined;
|
|
3505
3550
|
lastMessagePreview?: string | undefined;
|
|
3506
3551
|
}[];
|
|
@@ -3648,6 +3693,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3648
3693
|
provider: "codex" | "claude" | "custom";
|
|
3649
3694
|
agentSessionId?: string | undefined;
|
|
3650
3695
|
title?: string | undefined;
|
|
3696
|
+
runningTurnId?: string | undefined;
|
|
3651
3697
|
model?: string | undefined;
|
|
3652
3698
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3653
3699
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -3655,7 +3701,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3655
3701
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3656
3702
|
timelineRevision?: number | undefined;
|
|
3657
3703
|
historyComplete?: boolean | undefined;
|
|
3658
|
-
runningTurnId?: string | undefined;
|
|
3659
3704
|
canonical?: boolean | undefined;
|
|
3660
3705
|
lastMessagePreview?: string | undefined;
|
|
3661
3706
|
}, {
|
|
@@ -3667,6 +3712,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3667
3712
|
agentSessionId?: string | undefined;
|
|
3668
3713
|
title?: string | undefined;
|
|
3669
3714
|
archived?: boolean | undefined;
|
|
3715
|
+
runningTurnId?: string | undefined;
|
|
3670
3716
|
model?: string | undefined;
|
|
3671
3717
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
3672
3718
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -3675,7 +3721,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
3675
3721
|
collaborationMode?: "default" | "plan" | undefined;
|
|
3676
3722
|
timelineRevision?: number | undefined;
|
|
3677
3723
|
historyComplete?: boolean | undefined;
|
|
3678
|
-
runningTurnId?: string | undefined;
|
|
3679
3724
|
canonical?: boolean | undefined;
|
|
3680
3725
|
lastMessagePreview?: string | undefined;
|
|
3681
3726
|
}>, "many">>;
|
|
@@ -4022,6 +4067,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4022
4067
|
text: string;
|
|
4023
4068
|
}[] | undefined;
|
|
4024
4069
|
updatedAt?: number | undefined;
|
|
4070
|
+
turnId?: string | undefined;
|
|
4025
4071
|
text?: string | undefined;
|
|
4026
4072
|
permission?: {
|
|
4027
4073
|
options: {
|
|
@@ -4034,6 +4080,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4034
4080
|
toolInput?: string | undefined;
|
|
4035
4081
|
context?: string | undefined;
|
|
4036
4082
|
} | undefined;
|
|
4083
|
+
content?: {
|
|
4084
|
+
type: "image" | "text";
|
|
4085
|
+
text?: string | undefined;
|
|
4086
|
+
data?: string | undefined;
|
|
4087
|
+
mimeType?: string | undefined;
|
|
4088
|
+
}[] | undefined;
|
|
4037
4089
|
commandExecution?: {
|
|
4038
4090
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
4039
4091
|
command?: string | undefined;
|
|
@@ -4054,12 +4106,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4054
4106
|
changeSetId?: string | undefined;
|
|
4055
4107
|
} | undefined;
|
|
4056
4108
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
4057
|
-
content?: {
|
|
4058
|
-
type: "image" | "text";
|
|
4059
|
-
text?: string | undefined;
|
|
4060
|
-
data?: string | undefined;
|
|
4061
|
-
mimeType?: string | undefined;
|
|
4062
|
-
}[] | undefined;
|
|
4063
4109
|
role?: "user" | "assistant" | "system" | undefined;
|
|
4064
4110
|
toolCall?: {
|
|
4065
4111
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -4092,7 +4138,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4092
4138
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4093
4139
|
canonical?: boolean | undefined;
|
|
4094
4140
|
revision?: number | undefined;
|
|
4095
|
-
turnId?: string | undefined;
|
|
4096
4141
|
itemId?: string | undefined;
|
|
4097
4142
|
structuredInput?: {
|
|
4098
4143
|
questions: {
|
|
@@ -4125,6 +4170,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4125
4170
|
text: string;
|
|
4126
4171
|
}[] | undefined;
|
|
4127
4172
|
updatedAt?: number | undefined;
|
|
4173
|
+
turnId?: string | undefined;
|
|
4128
4174
|
text?: string | undefined;
|
|
4129
4175
|
permission?: {
|
|
4130
4176
|
requestId: string;
|
|
@@ -4137,6 +4183,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4137
4183
|
}[] | undefined;
|
|
4138
4184
|
context?: string | undefined;
|
|
4139
4185
|
} | undefined;
|
|
4186
|
+
content?: {
|
|
4187
|
+
type: "image" | "text";
|
|
4188
|
+
text?: string | undefined;
|
|
4189
|
+
data?: string | undefined;
|
|
4190
|
+
mimeType?: string | undefined;
|
|
4191
|
+
}[] | undefined;
|
|
4140
4192
|
commandExecution?: {
|
|
4141
4193
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
4142
4194
|
command?: string | undefined;
|
|
@@ -4157,12 +4209,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4157
4209
|
changeSetId?: string | undefined;
|
|
4158
4210
|
} | undefined;
|
|
4159
4211
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
4160
|
-
content?: {
|
|
4161
|
-
type: "image" | "text";
|
|
4162
|
-
text?: string | undefined;
|
|
4163
|
-
data?: string | undefined;
|
|
4164
|
-
mimeType?: string | undefined;
|
|
4165
|
-
}[] | undefined;
|
|
4166
4212
|
role?: "user" | "assistant" | "system" | undefined;
|
|
4167
4213
|
toolCall?: {
|
|
4168
4214
|
name: string;
|
|
@@ -4195,7 +4241,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4195
4241
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4196
4242
|
canonical?: boolean | undefined;
|
|
4197
4243
|
revision?: number | undefined;
|
|
4198
|
-
turnId?: string | undefined;
|
|
4199
4244
|
itemId?: string | undefined;
|
|
4200
4245
|
structuredInput?: {
|
|
4201
4246
|
requestId: string;
|
|
@@ -4236,6 +4281,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4236
4281
|
text: string;
|
|
4237
4282
|
}[] | undefined;
|
|
4238
4283
|
updatedAt?: number | undefined;
|
|
4284
|
+
turnId?: string | undefined;
|
|
4239
4285
|
text?: string | undefined;
|
|
4240
4286
|
permission?: {
|
|
4241
4287
|
options: {
|
|
@@ -4248,6 +4294,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4248
4294
|
toolInput?: string | undefined;
|
|
4249
4295
|
context?: string | undefined;
|
|
4250
4296
|
} | undefined;
|
|
4297
|
+
content?: {
|
|
4298
|
+
type: "image" | "text";
|
|
4299
|
+
text?: string | undefined;
|
|
4300
|
+
data?: string | undefined;
|
|
4301
|
+
mimeType?: string | undefined;
|
|
4302
|
+
}[] | undefined;
|
|
4251
4303
|
commandExecution?: {
|
|
4252
4304
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
4253
4305
|
command?: string | undefined;
|
|
@@ -4268,12 +4320,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4268
4320
|
changeSetId?: string | undefined;
|
|
4269
4321
|
} | undefined;
|
|
4270
4322
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
4271
|
-
content?: {
|
|
4272
|
-
type: "image" | "text";
|
|
4273
|
-
text?: string | undefined;
|
|
4274
|
-
data?: string | undefined;
|
|
4275
|
-
mimeType?: string | undefined;
|
|
4276
|
-
}[] | undefined;
|
|
4277
4323
|
role?: "user" | "assistant" | "system" | undefined;
|
|
4278
4324
|
toolCall?: {
|
|
4279
4325
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -4306,7 +4352,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4306
4352
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4307
4353
|
canonical?: boolean | undefined;
|
|
4308
4354
|
revision?: number | undefined;
|
|
4309
|
-
turnId?: string | undefined;
|
|
4310
4355
|
itemId?: string | undefined;
|
|
4311
4356
|
structuredInput?: {
|
|
4312
4357
|
questions: {
|
|
@@ -4337,6 +4382,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4337
4382
|
provider: "codex" | "claude" | "custom";
|
|
4338
4383
|
agentSessionId?: string | undefined;
|
|
4339
4384
|
title?: string | undefined;
|
|
4385
|
+
runningTurnId?: string | undefined;
|
|
4340
4386
|
model?: string | undefined;
|
|
4341
4387
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4342
4388
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -4344,7 +4390,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4344
4390
|
collaborationMode?: "default" | "plan" | undefined;
|
|
4345
4391
|
timelineRevision?: number | undefined;
|
|
4346
4392
|
historyComplete?: boolean | undefined;
|
|
4347
|
-
runningTurnId?: string | undefined;
|
|
4348
4393
|
canonical?: boolean | undefined;
|
|
4349
4394
|
lastMessagePreview?: string | undefined;
|
|
4350
4395
|
}[];
|
|
@@ -4369,6 +4414,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4369
4414
|
text: string;
|
|
4370
4415
|
}[] | undefined;
|
|
4371
4416
|
updatedAt?: number | undefined;
|
|
4417
|
+
turnId?: string | undefined;
|
|
4372
4418
|
text?: string | undefined;
|
|
4373
4419
|
permission?: {
|
|
4374
4420
|
requestId: string;
|
|
@@ -4381,6 +4427,12 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4381
4427
|
}[] | undefined;
|
|
4382
4428
|
context?: string | undefined;
|
|
4383
4429
|
} | undefined;
|
|
4430
|
+
content?: {
|
|
4431
|
+
type: "image" | "text";
|
|
4432
|
+
text?: string | undefined;
|
|
4433
|
+
data?: string | undefined;
|
|
4434
|
+
mimeType?: string | undefined;
|
|
4435
|
+
}[] | undefined;
|
|
4384
4436
|
commandExecution?: {
|
|
4385
4437
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
4386
4438
|
command?: string | undefined;
|
|
@@ -4401,12 +4453,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4401
4453
|
changeSetId?: string | undefined;
|
|
4402
4454
|
} | undefined;
|
|
4403
4455
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
4404
|
-
content?: {
|
|
4405
|
-
type: "image" | "text";
|
|
4406
|
-
text?: string | undefined;
|
|
4407
|
-
data?: string | undefined;
|
|
4408
|
-
mimeType?: string | undefined;
|
|
4409
|
-
}[] | undefined;
|
|
4410
4456
|
role?: "user" | "assistant" | "system" | undefined;
|
|
4411
4457
|
toolCall?: {
|
|
4412
4458
|
name: string;
|
|
@@ -4439,7 +4485,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4439
4485
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4440
4486
|
canonical?: boolean | undefined;
|
|
4441
4487
|
revision?: number | undefined;
|
|
4442
|
-
turnId?: string | undefined;
|
|
4443
4488
|
itemId?: string | undefined;
|
|
4444
4489
|
structuredInput?: {
|
|
4445
4490
|
requestId: string;
|
|
@@ -4475,6 +4520,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4475
4520
|
agentSessionId?: string | undefined;
|
|
4476
4521
|
title?: string | undefined;
|
|
4477
4522
|
archived?: boolean | undefined;
|
|
4523
|
+
runningTurnId?: string | undefined;
|
|
4478
4524
|
model?: string | undefined;
|
|
4479
4525
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4480
4526
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -4483,7 +4529,6 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
|
|
|
4483
4529
|
collaborationMode?: "default" | "plan" | undefined;
|
|
4484
4530
|
timelineRevision?: number | undefined;
|
|
4485
4531
|
historyComplete?: boolean | undefined;
|
|
4486
|
-
runningTurnId?: string | undefined;
|
|
4487
4532
|
canonical?: boolean | undefined;
|
|
4488
4533
|
lastMessagePreview?: string | undefined;
|
|
4489
4534
|
}[] | undefined;
|
|
@@ -4537,6 +4582,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4537
4582
|
provider: "codex" | "claude" | "custom";
|
|
4538
4583
|
agentSessionId?: string | undefined;
|
|
4539
4584
|
title?: string | undefined;
|
|
4585
|
+
runningTurnId?: string | undefined;
|
|
4540
4586
|
model?: string | undefined;
|
|
4541
4587
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4542
4588
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -4544,7 +4590,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4544
4590
|
collaborationMode?: "default" | "plan" | undefined;
|
|
4545
4591
|
timelineRevision?: number | undefined;
|
|
4546
4592
|
historyComplete?: boolean | undefined;
|
|
4547
|
-
runningTurnId?: string | undefined;
|
|
4548
4593
|
canonical?: boolean | undefined;
|
|
4549
4594
|
lastMessagePreview?: string | undefined;
|
|
4550
4595
|
}, {
|
|
@@ -4556,6 +4601,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4556
4601
|
agentSessionId?: string | undefined;
|
|
4557
4602
|
title?: string | undefined;
|
|
4558
4603
|
archived?: boolean | undefined;
|
|
4604
|
+
runningTurnId?: string | undefined;
|
|
4559
4605
|
model?: string | undefined;
|
|
4560
4606
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4561
4607
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -4564,7 +4610,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4564
4610
|
collaborationMode?: "default" | "plan" | undefined;
|
|
4565
4611
|
timelineRevision?: number | undefined;
|
|
4566
4612
|
historyComplete?: boolean | undefined;
|
|
4567
|
-
runningTurnId?: string | undefined;
|
|
4568
4613
|
canonical?: boolean | undefined;
|
|
4569
4614
|
lastMessagePreview?: string | undefined;
|
|
4570
4615
|
}>>;
|
|
@@ -4910,6 +4955,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4910
4955
|
text: string;
|
|
4911
4956
|
}[] | undefined;
|
|
4912
4957
|
updatedAt?: number | undefined;
|
|
4958
|
+
turnId?: string | undefined;
|
|
4913
4959
|
text?: string | undefined;
|
|
4914
4960
|
permission?: {
|
|
4915
4961
|
options: {
|
|
@@ -4922,6 +4968,12 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4922
4968
|
toolInput?: string | undefined;
|
|
4923
4969
|
context?: string | undefined;
|
|
4924
4970
|
} | undefined;
|
|
4971
|
+
content?: {
|
|
4972
|
+
type: "image" | "text";
|
|
4973
|
+
text?: string | undefined;
|
|
4974
|
+
data?: string | undefined;
|
|
4975
|
+
mimeType?: string | undefined;
|
|
4976
|
+
}[] | undefined;
|
|
4925
4977
|
commandExecution?: {
|
|
4926
4978
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
4927
4979
|
command?: string | undefined;
|
|
@@ -4942,12 +4994,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4942
4994
|
changeSetId?: string | undefined;
|
|
4943
4995
|
} | undefined;
|
|
4944
4996
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
4945
|
-
content?: {
|
|
4946
|
-
type: "image" | "text";
|
|
4947
|
-
text?: string | undefined;
|
|
4948
|
-
data?: string | undefined;
|
|
4949
|
-
mimeType?: string | undefined;
|
|
4950
|
-
}[] | undefined;
|
|
4951
4997
|
role?: "user" | "assistant" | "system" | undefined;
|
|
4952
4998
|
toolCall?: {
|
|
4953
4999
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -4980,7 +5026,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
4980
5026
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
4981
5027
|
canonical?: boolean | undefined;
|
|
4982
5028
|
revision?: number | undefined;
|
|
4983
|
-
turnId?: string | undefined;
|
|
4984
5029
|
itemId?: string | undefined;
|
|
4985
5030
|
structuredInput?: {
|
|
4986
5031
|
questions: {
|
|
@@ -5013,6 +5058,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5013
5058
|
text: string;
|
|
5014
5059
|
}[] | undefined;
|
|
5015
5060
|
updatedAt?: number | undefined;
|
|
5061
|
+
turnId?: string | undefined;
|
|
5016
5062
|
text?: string | undefined;
|
|
5017
5063
|
permission?: {
|
|
5018
5064
|
requestId: string;
|
|
@@ -5025,6 +5071,12 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5025
5071
|
}[] | undefined;
|
|
5026
5072
|
context?: string | undefined;
|
|
5027
5073
|
} | undefined;
|
|
5074
|
+
content?: {
|
|
5075
|
+
type: "image" | "text";
|
|
5076
|
+
text?: string | undefined;
|
|
5077
|
+
data?: string | undefined;
|
|
5078
|
+
mimeType?: string | undefined;
|
|
5079
|
+
}[] | undefined;
|
|
5028
5080
|
commandExecution?: {
|
|
5029
5081
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
5030
5082
|
command?: string | undefined;
|
|
@@ -5045,12 +5097,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5045
5097
|
changeSetId?: string | undefined;
|
|
5046
5098
|
} | undefined;
|
|
5047
5099
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
5048
|
-
content?: {
|
|
5049
|
-
type: "image" | "text";
|
|
5050
|
-
text?: string | undefined;
|
|
5051
|
-
data?: string | undefined;
|
|
5052
|
-
mimeType?: string | undefined;
|
|
5053
|
-
}[] | undefined;
|
|
5054
5100
|
role?: "user" | "assistant" | "system" | undefined;
|
|
5055
5101
|
toolCall?: {
|
|
5056
5102
|
name: string;
|
|
@@ -5083,7 +5129,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5083
5129
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5084
5130
|
canonical?: boolean | undefined;
|
|
5085
5131
|
revision?: number | undefined;
|
|
5086
|
-
turnId?: string | undefined;
|
|
5087
5132
|
itemId?: string | undefined;
|
|
5088
5133
|
structuredInput?: {
|
|
5089
5134
|
requestId: string;
|
|
@@ -5123,6 +5168,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5123
5168
|
text: string;
|
|
5124
5169
|
}[] | undefined;
|
|
5125
5170
|
updatedAt?: number | undefined;
|
|
5171
|
+
turnId?: string | undefined;
|
|
5126
5172
|
text?: string | undefined;
|
|
5127
5173
|
permission?: {
|
|
5128
5174
|
options: {
|
|
@@ -5135,6 +5181,12 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5135
5181
|
toolInput?: string | undefined;
|
|
5136
5182
|
context?: string | undefined;
|
|
5137
5183
|
} | undefined;
|
|
5184
|
+
content?: {
|
|
5185
|
+
type: "image" | "text";
|
|
5186
|
+
text?: string | undefined;
|
|
5187
|
+
data?: string | undefined;
|
|
5188
|
+
mimeType?: string | undefined;
|
|
5189
|
+
}[] | undefined;
|
|
5138
5190
|
commandExecution?: {
|
|
5139
5191
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
5140
5192
|
command?: string | undefined;
|
|
@@ -5155,12 +5207,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5155
5207
|
changeSetId?: string | undefined;
|
|
5156
5208
|
} | undefined;
|
|
5157
5209
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
5158
|
-
content?: {
|
|
5159
|
-
type: "image" | "text";
|
|
5160
|
-
text?: string | undefined;
|
|
5161
|
-
data?: string | undefined;
|
|
5162
|
-
mimeType?: string | undefined;
|
|
5163
|
-
}[] | undefined;
|
|
5164
5210
|
role?: "user" | "assistant" | "system" | undefined;
|
|
5165
5211
|
toolCall?: {
|
|
5166
5212
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -5193,7 +5239,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5193
5239
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5194
5240
|
canonical?: boolean | undefined;
|
|
5195
5241
|
revision?: number | undefined;
|
|
5196
|
-
turnId?: string | undefined;
|
|
5197
5242
|
itemId?: string | undefined;
|
|
5198
5243
|
structuredInput?: {
|
|
5199
5244
|
questions: {
|
|
@@ -5229,6 +5274,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5229
5274
|
provider: "codex" | "claude" | "custom";
|
|
5230
5275
|
agentSessionId?: string | undefined;
|
|
5231
5276
|
title?: string | undefined;
|
|
5277
|
+
runningTurnId?: string | undefined;
|
|
5232
5278
|
model?: string | undefined;
|
|
5233
5279
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5234
5280
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -5236,7 +5282,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5236
5282
|
collaborationMode?: "default" | "plan" | undefined;
|
|
5237
5283
|
timelineRevision?: number | undefined;
|
|
5238
5284
|
historyComplete?: boolean | undefined;
|
|
5239
|
-
runningTurnId?: string | undefined;
|
|
5240
5285
|
canonical?: boolean | undefined;
|
|
5241
5286
|
lastMessagePreview?: string | undefined;
|
|
5242
5287
|
} | undefined;
|
|
@@ -5257,6 +5302,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5257
5302
|
text: string;
|
|
5258
5303
|
}[] | undefined;
|
|
5259
5304
|
updatedAt?: number | undefined;
|
|
5305
|
+
turnId?: string | undefined;
|
|
5260
5306
|
text?: string | undefined;
|
|
5261
5307
|
permission?: {
|
|
5262
5308
|
requestId: string;
|
|
@@ -5269,6 +5315,12 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5269
5315
|
}[] | undefined;
|
|
5270
5316
|
context?: string | undefined;
|
|
5271
5317
|
} | undefined;
|
|
5318
|
+
content?: {
|
|
5319
|
+
type: "image" | "text";
|
|
5320
|
+
text?: string | undefined;
|
|
5321
|
+
data?: string | undefined;
|
|
5322
|
+
mimeType?: string | undefined;
|
|
5323
|
+
}[] | undefined;
|
|
5272
5324
|
commandExecution?: {
|
|
5273
5325
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
5274
5326
|
command?: string | undefined;
|
|
@@ -5289,12 +5341,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5289
5341
|
changeSetId?: string | undefined;
|
|
5290
5342
|
} | undefined;
|
|
5291
5343
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
5292
|
-
content?: {
|
|
5293
|
-
type: "image" | "text";
|
|
5294
|
-
text?: string | undefined;
|
|
5295
|
-
data?: string | undefined;
|
|
5296
|
-
mimeType?: string | undefined;
|
|
5297
|
-
}[] | undefined;
|
|
5298
5344
|
role?: "user" | "assistant" | "system" | undefined;
|
|
5299
5345
|
toolCall?: {
|
|
5300
5346
|
name: string;
|
|
@@ -5327,7 +5373,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5327
5373
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5328
5374
|
canonical?: boolean | undefined;
|
|
5329
5375
|
revision?: number | undefined;
|
|
5330
|
-
turnId?: string | undefined;
|
|
5331
5376
|
itemId?: string | undefined;
|
|
5332
5377
|
structuredInput?: {
|
|
5333
5378
|
requestId: string;
|
|
@@ -5359,6 +5404,7 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5359
5404
|
agentSessionId?: string | undefined;
|
|
5360
5405
|
title?: string | undefined;
|
|
5361
5406
|
archived?: boolean | undefined;
|
|
5407
|
+
runningTurnId?: string | undefined;
|
|
5362
5408
|
model?: string | undefined;
|
|
5363
5409
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5364
5410
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -5367,7 +5413,6 @@ export declare const agentV2HistoryPagePayloadSchema: z.ZodObject<{
|
|
|
5367
5413
|
collaborationMode?: "default" | "plan" | undefined;
|
|
5368
5414
|
timelineRevision?: number | undefined;
|
|
5369
5415
|
historyComplete?: boolean | undefined;
|
|
5370
|
-
runningTurnId?: string | undefined;
|
|
5371
5416
|
canonical?: boolean | undefined;
|
|
5372
5417
|
lastMessagePreview?: string | undefined;
|
|
5373
5418
|
} | undefined;
|
|
@@ -5419,6 +5464,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5419
5464
|
provider: "codex" | "claude" | "custom";
|
|
5420
5465
|
agentSessionId?: string | undefined;
|
|
5421
5466
|
title?: string | undefined;
|
|
5467
|
+
runningTurnId?: string | undefined;
|
|
5422
5468
|
model?: string | undefined;
|
|
5423
5469
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5424
5470
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -5426,7 +5472,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5426
5472
|
collaborationMode?: "default" | "plan" | undefined;
|
|
5427
5473
|
timelineRevision?: number | undefined;
|
|
5428
5474
|
historyComplete?: boolean | undefined;
|
|
5429
|
-
runningTurnId?: string | undefined;
|
|
5430
5475
|
canonical?: boolean | undefined;
|
|
5431
5476
|
lastMessagePreview?: string | undefined;
|
|
5432
5477
|
}, {
|
|
@@ -5438,6 +5483,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5438
5483
|
agentSessionId?: string | undefined;
|
|
5439
5484
|
title?: string | undefined;
|
|
5440
5485
|
archived?: boolean | undefined;
|
|
5486
|
+
runningTurnId?: string | undefined;
|
|
5441
5487
|
model?: string | undefined;
|
|
5442
5488
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5443
5489
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -5446,7 +5492,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5446
5492
|
collaborationMode?: "default" | "plan" | undefined;
|
|
5447
5493
|
timelineRevision?: number | undefined;
|
|
5448
5494
|
historyComplete?: boolean | undefined;
|
|
5449
|
-
runningTurnId?: string | undefined;
|
|
5450
5495
|
canonical?: boolean | undefined;
|
|
5451
5496
|
lastMessagePreview?: string | undefined;
|
|
5452
5497
|
}>>;
|
|
@@ -5792,6 +5837,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5792
5837
|
text: string;
|
|
5793
5838
|
}[] | undefined;
|
|
5794
5839
|
updatedAt?: number | undefined;
|
|
5840
|
+
turnId?: string | undefined;
|
|
5795
5841
|
text?: string | undefined;
|
|
5796
5842
|
permission?: {
|
|
5797
5843
|
options: {
|
|
@@ -5804,6 +5850,12 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5804
5850
|
toolInput?: string | undefined;
|
|
5805
5851
|
context?: string | undefined;
|
|
5806
5852
|
} | undefined;
|
|
5853
|
+
content?: {
|
|
5854
|
+
type: "image" | "text";
|
|
5855
|
+
text?: string | undefined;
|
|
5856
|
+
data?: string | undefined;
|
|
5857
|
+
mimeType?: string | undefined;
|
|
5858
|
+
}[] | undefined;
|
|
5807
5859
|
commandExecution?: {
|
|
5808
5860
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
5809
5861
|
command?: string | undefined;
|
|
@@ -5824,12 +5876,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5824
5876
|
changeSetId?: string | undefined;
|
|
5825
5877
|
} | undefined;
|
|
5826
5878
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
5827
|
-
content?: {
|
|
5828
|
-
type: "image" | "text";
|
|
5829
|
-
text?: string | undefined;
|
|
5830
|
-
data?: string | undefined;
|
|
5831
|
-
mimeType?: string | undefined;
|
|
5832
|
-
}[] | undefined;
|
|
5833
5879
|
role?: "user" | "assistant" | "system" | undefined;
|
|
5834
5880
|
toolCall?: {
|
|
5835
5881
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -5862,7 +5908,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5862
5908
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5863
5909
|
canonical?: boolean | undefined;
|
|
5864
5910
|
revision?: number | undefined;
|
|
5865
|
-
turnId?: string | undefined;
|
|
5866
5911
|
itemId?: string | undefined;
|
|
5867
5912
|
structuredInput?: {
|
|
5868
5913
|
questions: {
|
|
@@ -5895,6 +5940,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5895
5940
|
text: string;
|
|
5896
5941
|
}[] | undefined;
|
|
5897
5942
|
updatedAt?: number | undefined;
|
|
5943
|
+
turnId?: string | undefined;
|
|
5898
5944
|
text?: string | undefined;
|
|
5899
5945
|
permission?: {
|
|
5900
5946
|
requestId: string;
|
|
@@ -5907,11 +5953,17 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5907
5953
|
}[] | undefined;
|
|
5908
5954
|
context?: string | undefined;
|
|
5909
5955
|
} | undefined;
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5956
|
+
content?: {
|
|
5957
|
+
type: "image" | "text";
|
|
5958
|
+
text?: string | undefined;
|
|
5959
|
+
data?: string | undefined;
|
|
5960
|
+
mimeType?: string | undefined;
|
|
5961
|
+
}[] | undefined;
|
|
5962
|
+
commandExecution?: {
|
|
5963
|
+
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
5964
|
+
command?: string | undefined;
|
|
5965
|
+
output?: string | undefined;
|
|
5966
|
+
cwd?: string | undefined;
|
|
5915
5967
|
exitCode?: number | null | undefined;
|
|
5916
5968
|
} | undefined;
|
|
5917
5969
|
fileChange?: {
|
|
@@ -5927,12 +5979,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5927
5979
|
changeSetId?: string | undefined;
|
|
5928
5980
|
} | undefined;
|
|
5929
5981
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
5930
|
-
content?: {
|
|
5931
|
-
type: "image" | "text";
|
|
5932
|
-
text?: string | undefined;
|
|
5933
|
-
data?: string | undefined;
|
|
5934
|
-
mimeType?: string | undefined;
|
|
5935
|
-
}[] | undefined;
|
|
5936
5982
|
role?: "user" | "assistant" | "system" | undefined;
|
|
5937
5983
|
toolCall?: {
|
|
5938
5984
|
name: string;
|
|
@@ -5965,7 +6011,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
5965
6011
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
5966
6012
|
canonical?: boolean | undefined;
|
|
5967
6013
|
revision?: number | undefined;
|
|
5968
|
-
turnId?: string | undefined;
|
|
5969
6014
|
itemId?: string | undefined;
|
|
5970
6015
|
structuredInput?: {
|
|
5971
6016
|
requestId: string;
|
|
@@ -6007,6 +6052,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6007
6052
|
text: string;
|
|
6008
6053
|
}[] | undefined;
|
|
6009
6054
|
updatedAt?: number | undefined;
|
|
6055
|
+
turnId?: string | undefined;
|
|
6010
6056
|
text?: string | undefined;
|
|
6011
6057
|
permission?: {
|
|
6012
6058
|
options: {
|
|
@@ -6019,6 +6065,12 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6019
6065
|
toolInput?: string | undefined;
|
|
6020
6066
|
context?: string | undefined;
|
|
6021
6067
|
} | undefined;
|
|
6068
|
+
content?: {
|
|
6069
|
+
type: "image" | "text";
|
|
6070
|
+
text?: string | undefined;
|
|
6071
|
+
data?: string | undefined;
|
|
6072
|
+
mimeType?: string | undefined;
|
|
6073
|
+
}[] | undefined;
|
|
6022
6074
|
commandExecution?: {
|
|
6023
6075
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
6024
6076
|
command?: string | undefined;
|
|
@@ -6039,12 +6091,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6039
6091
|
changeSetId?: string | undefined;
|
|
6040
6092
|
} | undefined;
|
|
6041
6093
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
6042
|
-
content?: {
|
|
6043
|
-
type: "image" | "text";
|
|
6044
|
-
text?: string | undefined;
|
|
6045
|
-
data?: string | undefined;
|
|
6046
|
-
mimeType?: string | undefined;
|
|
6047
|
-
}[] | undefined;
|
|
6048
6094
|
role?: "user" | "assistant" | "system" | undefined;
|
|
6049
6095
|
toolCall?: {
|
|
6050
6096
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -6077,7 +6123,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6077
6123
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6078
6124
|
canonical?: boolean | undefined;
|
|
6079
6125
|
revision?: number | undefined;
|
|
6080
|
-
turnId?: string | undefined;
|
|
6081
6126
|
itemId?: string | undefined;
|
|
6082
6127
|
structuredInput?: {
|
|
6083
6128
|
questions: {
|
|
@@ -6114,6 +6159,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6114
6159
|
provider: "codex" | "claude" | "custom";
|
|
6115
6160
|
agentSessionId?: string | undefined;
|
|
6116
6161
|
title?: string | undefined;
|
|
6162
|
+
runningTurnId?: string | undefined;
|
|
6117
6163
|
model?: string | undefined;
|
|
6118
6164
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6119
6165
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -6121,7 +6167,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6121
6167
|
collaborationMode?: "default" | "plan" | undefined;
|
|
6122
6168
|
timelineRevision?: number | undefined;
|
|
6123
6169
|
historyComplete?: boolean | undefined;
|
|
6124
|
-
runningTurnId?: string | undefined;
|
|
6125
6170
|
canonical?: boolean | undefined;
|
|
6126
6171
|
lastMessagePreview?: string | undefined;
|
|
6127
6172
|
} | undefined;
|
|
@@ -6143,6 +6188,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6143
6188
|
text: string;
|
|
6144
6189
|
}[] | undefined;
|
|
6145
6190
|
updatedAt?: number | undefined;
|
|
6191
|
+
turnId?: string | undefined;
|
|
6146
6192
|
text?: string | undefined;
|
|
6147
6193
|
permission?: {
|
|
6148
6194
|
requestId: string;
|
|
@@ -6155,6 +6201,12 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6155
6201
|
}[] | undefined;
|
|
6156
6202
|
context?: string | undefined;
|
|
6157
6203
|
} | undefined;
|
|
6204
|
+
content?: {
|
|
6205
|
+
type: "image" | "text";
|
|
6206
|
+
text?: string | undefined;
|
|
6207
|
+
data?: string | undefined;
|
|
6208
|
+
mimeType?: string | undefined;
|
|
6209
|
+
}[] | undefined;
|
|
6158
6210
|
commandExecution?: {
|
|
6159
6211
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
6160
6212
|
command?: string | undefined;
|
|
@@ -6175,12 +6227,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6175
6227
|
changeSetId?: string | undefined;
|
|
6176
6228
|
} | undefined;
|
|
6177
6229
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
6178
|
-
content?: {
|
|
6179
|
-
type: "image" | "text";
|
|
6180
|
-
text?: string | undefined;
|
|
6181
|
-
data?: string | undefined;
|
|
6182
|
-
mimeType?: string | undefined;
|
|
6183
|
-
}[] | undefined;
|
|
6184
6230
|
role?: "user" | "assistant" | "system" | undefined;
|
|
6185
6231
|
toolCall?: {
|
|
6186
6232
|
name: string;
|
|
@@ -6213,7 +6259,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6213
6259
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6214
6260
|
canonical?: boolean | undefined;
|
|
6215
6261
|
revision?: number | undefined;
|
|
6216
|
-
turnId?: string | undefined;
|
|
6217
6262
|
itemId?: string | undefined;
|
|
6218
6263
|
structuredInput?: {
|
|
6219
6264
|
requestId: string;
|
|
@@ -6246,6 +6291,7 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6246
6291
|
agentSessionId?: string | undefined;
|
|
6247
6292
|
title?: string | undefined;
|
|
6248
6293
|
archived?: boolean | undefined;
|
|
6294
|
+
runningTurnId?: string | undefined;
|
|
6249
6295
|
model?: string | undefined;
|
|
6250
6296
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6251
6297
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -6254,7 +6300,6 @@ export declare const agentV2DeltaPayloadSchema: z.ZodObject<{
|
|
|
6254
6300
|
collaborationMode?: "default" | "plan" | undefined;
|
|
6255
6301
|
timelineRevision?: number | undefined;
|
|
6256
6302
|
historyComplete?: boolean | undefined;
|
|
6257
|
-
runningTurnId?: string | undefined;
|
|
6258
6303
|
canonical?: boolean | undefined;
|
|
6259
6304
|
lastMessagePreview?: string | undefined;
|
|
6260
6305
|
} | undefined;
|
|
@@ -6285,8 +6330,8 @@ export declare const agentV2RunningStatePayloadSchema: z.ZodObject<{
|
|
|
6285
6330
|
updatedAt: number;
|
|
6286
6331
|
conversationId: string;
|
|
6287
6332
|
error?: string | undefined;
|
|
6288
|
-
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6289
6333
|
runningTurnId?: string | undefined;
|
|
6334
|
+
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6290
6335
|
canonical?: boolean | undefined;
|
|
6291
6336
|
revision?: number | undefined;
|
|
6292
6337
|
}>;
|
|
@@ -6322,6 +6367,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6322
6367
|
provider: "codex" | "claude" | "custom";
|
|
6323
6368
|
agentSessionId?: string | undefined;
|
|
6324
6369
|
title?: string | undefined;
|
|
6370
|
+
runningTurnId?: string | undefined;
|
|
6325
6371
|
model?: string | undefined;
|
|
6326
6372
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6327
6373
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -6329,7 +6375,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6329
6375
|
collaborationMode?: "default" | "plan" | undefined;
|
|
6330
6376
|
timelineRevision?: number | undefined;
|
|
6331
6377
|
historyComplete?: boolean | undefined;
|
|
6332
|
-
runningTurnId?: string | undefined;
|
|
6333
6378
|
canonical?: boolean | undefined;
|
|
6334
6379
|
lastMessagePreview?: string | undefined;
|
|
6335
6380
|
}, {
|
|
@@ -6341,6 +6386,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6341
6386
|
agentSessionId?: string | undefined;
|
|
6342
6387
|
title?: string | undefined;
|
|
6343
6388
|
archived?: boolean | undefined;
|
|
6389
|
+
runningTurnId?: string | undefined;
|
|
6344
6390
|
model?: string | undefined;
|
|
6345
6391
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6346
6392
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -6349,7 +6395,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6349
6395
|
collaborationMode?: "default" | "plan" | undefined;
|
|
6350
6396
|
timelineRevision?: number | undefined;
|
|
6351
6397
|
historyComplete?: boolean | undefined;
|
|
6352
|
-
runningTurnId?: string | undefined;
|
|
6353
6398
|
canonical?: boolean | undefined;
|
|
6354
6399
|
lastMessagePreview?: string | undefined;
|
|
6355
6400
|
}>>;
|
|
@@ -6695,6 +6740,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6695
6740
|
text: string;
|
|
6696
6741
|
}[] | undefined;
|
|
6697
6742
|
updatedAt?: number | undefined;
|
|
6743
|
+
turnId?: string | undefined;
|
|
6698
6744
|
text?: string | undefined;
|
|
6699
6745
|
permission?: {
|
|
6700
6746
|
options: {
|
|
@@ -6707,6 +6753,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6707
6753
|
toolInput?: string | undefined;
|
|
6708
6754
|
context?: string | undefined;
|
|
6709
6755
|
} | undefined;
|
|
6756
|
+
content?: {
|
|
6757
|
+
type: "image" | "text";
|
|
6758
|
+
text?: string | undefined;
|
|
6759
|
+
data?: string | undefined;
|
|
6760
|
+
mimeType?: string | undefined;
|
|
6761
|
+
}[] | undefined;
|
|
6710
6762
|
commandExecution?: {
|
|
6711
6763
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
6712
6764
|
command?: string | undefined;
|
|
@@ -6727,12 +6779,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6727
6779
|
changeSetId?: string | undefined;
|
|
6728
6780
|
} | undefined;
|
|
6729
6781
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
6730
|
-
content?: {
|
|
6731
|
-
type: "image" | "text";
|
|
6732
|
-
text?: string | undefined;
|
|
6733
|
-
data?: string | undefined;
|
|
6734
|
-
mimeType?: string | undefined;
|
|
6735
|
-
}[] | undefined;
|
|
6736
6782
|
role?: "user" | "assistant" | "system" | undefined;
|
|
6737
6783
|
toolCall?: {
|
|
6738
6784
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -6765,7 +6811,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6765
6811
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6766
6812
|
canonical?: boolean | undefined;
|
|
6767
6813
|
revision?: number | undefined;
|
|
6768
|
-
turnId?: string | undefined;
|
|
6769
6814
|
itemId?: string | undefined;
|
|
6770
6815
|
structuredInput?: {
|
|
6771
6816
|
questions: {
|
|
@@ -6798,6 +6843,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6798
6843
|
text: string;
|
|
6799
6844
|
}[] | undefined;
|
|
6800
6845
|
updatedAt?: number | undefined;
|
|
6846
|
+
turnId?: string | undefined;
|
|
6801
6847
|
text?: string | undefined;
|
|
6802
6848
|
permission?: {
|
|
6803
6849
|
requestId: string;
|
|
@@ -6810,6 +6856,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6810
6856
|
}[] | undefined;
|
|
6811
6857
|
context?: string | undefined;
|
|
6812
6858
|
} | undefined;
|
|
6859
|
+
content?: {
|
|
6860
|
+
type: "image" | "text";
|
|
6861
|
+
text?: string | undefined;
|
|
6862
|
+
data?: string | undefined;
|
|
6863
|
+
mimeType?: string | undefined;
|
|
6864
|
+
}[] | undefined;
|
|
6813
6865
|
commandExecution?: {
|
|
6814
6866
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
6815
6867
|
command?: string | undefined;
|
|
@@ -6830,12 +6882,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6830
6882
|
changeSetId?: string | undefined;
|
|
6831
6883
|
} | undefined;
|
|
6832
6884
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
6833
|
-
content?: {
|
|
6834
|
-
type: "image" | "text";
|
|
6835
|
-
text?: string | undefined;
|
|
6836
|
-
data?: string | undefined;
|
|
6837
|
-
mimeType?: string | undefined;
|
|
6838
|
-
}[] | undefined;
|
|
6839
6885
|
role?: "user" | "assistant" | "system" | undefined;
|
|
6840
6886
|
toolCall?: {
|
|
6841
6887
|
name: string;
|
|
@@ -6868,7 +6914,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
6868
6914
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
6869
6915
|
canonical?: boolean | undefined;
|
|
6870
6916
|
revision?: number | undefined;
|
|
6871
|
-
turnId?: string | undefined;
|
|
6872
6917
|
itemId?: string | undefined;
|
|
6873
6918
|
structuredInput?: {
|
|
6874
6919
|
requestId: string;
|
|
@@ -7236,6 +7281,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7236
7281
|
toolInput?: string | undefined;
|
|
7237
7282
|
context?: string | undefined;
|
|
7238
7283
|
} | undefined;
|
|
7284
|
+
content?: {
|
|
7285
|
+
type: "image" | "text";
|
|
7286
|
+
text?: string | undefined;
|
|
7287
|
+
data?: string | undefined;
|
|
7288
|
+
mimeType?: string | undefined;
|
|
7289
|
+
}[] | undefined;
|
|
7239
7290
|
commandExecution?: {
|
|
7240
7291
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7241
7292
|
command?: string | undefined;
|
|
@@ -7256,12 +7307,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7256
7307
|
changeSetId?: string | undefined;
|
|
7257
7308
|
} | undefined;
|
|
7258
7309
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7259
|
-
content?: {
|
|
7260
|
-
type: "image" | "text";
|
|
7261
|
-
text?: string | undefined;
|
|
7262
|
-
data?: string | undefined;
|
|
7263
|
-
mimeType?: string | undefined;
|
|
7264
|
-
}[] | undefined;
|
|
7265
7310
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7266
7311
|
toolCall?: {
|
|
7267
7312
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -7332,6 +7377,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7332
7377
|
}[] | undefined;
|
|
7333
7378
|
context?: string | undefined;
|
|
7334
7379
|
} | undefined;
|
|
7380
|
+
content?: {
|
|
7381
|
+
type: "image" | "text";
|
|
7382
|
+
text?: string | undefined;
|
|
7383
|
+
data?: string | undefined;
|
|
7384
|
+
mimeType?: string | undefined;
|
|
7385
|
+
}[] | undefined;
|
|
7335
7386
|
commandExecution?: {
|
|
7336
7387
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7337
7388
|
command?: string | undefined;
|
|
@@ -7352,12 +7403,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7352
7403
|
changeSetId?: string | undefined;
|
|
7353
7404
|
} | undefined;
|
|
7354
7405
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7355
|
-
content?: {
|
|
7356
|
-
type: "image" | "text";
|
|
7357
|
-
text?: string | undefined;
|
|
7358
|
-
data?: string | undefined;
|
|
7359
|
-
mimeType?: string | undefined;
|
|
7360
|
-
}[] | undefined;
|
|
7361
7406
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7362
7407
|
toolCall?: {
|
|
7363
7408
|
name: string;
|
|
@@ -7422,6 +7467,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7422
7467
|
text: string;
|
|
7423
7468
|
}[] | undefined;
|
|
7424
7469
|
updatedAt?: number | undefined;
|
|
7470
|
+
turnId?: string | undefined;
|
|
7425
7471
|
text?: string | undefined;
|
|
7426
7472
|
permission?: {
|
|
7427
7473
|
options: {
|
|
@@ -7434,6 +7480,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7434
7480
|
toolInput?: string | undefined;
|
|
7435
7481
|
context?: string | undefined;
|
|
7436
7482
|
} | undefined;
|
|
7483
|
+
content?: {
|
|
7484
|
+
type: "image" | "text";
|
|
7485
|
+
text?: string | undefined;
|
|
7486
|
+
data?: string | undefined;
|
|
7487
|
+
mimeType?: string | undefined;
|
|
7488
|
+
}[] | undefined;
|
|
7437
7489
|
commandExecution?: {
|
|
7438
7490
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7439
7491
|
command?: string | undefined;
|
|
@@ -7454,12 +7506,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7454
7506
|
changeSetId?: string | undefined;
|
|
7455
7507
|
} | undefined;
|
|
7456
7508
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7457
|
-
content?: {
|
|
7458
|
-
type: "image" | "text";
|
|
7459
|
-
text?: string | undefined;
|
|
7460
|
-
data?: string | undefined;
|
|
7461
|
-
mimeType?: string | undefined;
|
|
7462
|
-
}[] | undefined;
|
|
7463
7509
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7464
7510
|
toolCall?: {
|
|
7465
7511
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -7492,7 +7538,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7492
7538
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
7493
7539
|
canonical?: boolean | undefined;
|
|
7494
7540
|
revision?: number | undefined;
|
|
7495
|
-
turnId?: string | undefined;
|
|
7496
7541
|
itemId?: string | undefined;
|
|
7497
7542
|
structuredInput?: {
|
|
7498
7543
|
questions: {
|
|
@@ -7535,6 +7580,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7535
7580
|
toolInput?: string | undefined;
|
|
7536
7581
|
context?: string | undefined;
|
|
7537
7582
|
} | undefined;
|
|
7583
|
+
content?: {
|
|
7584
|
+
type: "image" | "text";
|
|
7585
|
+
text?: string | undefined;
|
|
7586
|
+
data?: string | undefined;
|
|
7587
|
+
mimeType?: string | undefined;
|
|
7588
|
+
}[] | undefined;
|
|
7538
7589
|
commandExecution?: {
|
|
7539
7590
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7540
7591
|
command?: string | undefined;
|
|
@@ -7555,12 +7606,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7555
7606
|
changeSetId?: string | undefined;
|
|
7556
7607
|
} | undefined;
|
|
7557
7608
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7558
|
-
content?: {
|
|
7559
|
-
type: "image" | "text";
|
|
7560
|
-
text?: string | undefined;
|
|
7561
|
-
data?: string | undefined;
|
|
7562
|
-
mimeType?: string | undefined;
|
|
7563
|
-
}[] | undefined;
|
|
7564
7609
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7565
7610
|
toolCall?: {
|
|
7566
7611
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -7622,6 +7667,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7622
7667
|
provider: "codex" | "claude" | "custom";
|
|
7623
7668
|
agentSessionId?: string | undefined;
|
|
7624
7669
|
title?: string | undefined;
|
|
7670
|
+
runningTurnId?: string | undefined;
|
|
7625
7671
|
model?: string | undefined;
|
|
7626
7672
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
7627
7673
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -7629,7 +7675,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7629
7675
|
collaborationMode?: "default" | "plan" | undefined;
|
|
7630
7676
|
timelineRevision?: number | undefined;
|
|
7631
7677
|
historyComplete?: boolean | undefined;
|
|
7632
|
-
runningTurnId?: string | undefined;
|
|
7633
7678
|
canonical?: boolean | undefined;
|
|
7634
7679
|
lastMessagePreview?: string | undefined;
|
|
7635
7680
|
} | undefined;
|
|
@@ -7649,6 +7694,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7649
7694
|
text: string;
|
|
7650
7695
|
}[] | undefined;
|
|
7651
7696
|
updatedAt?: number | undefined;
|
|
7697
|
+
turnId?: string | undefined;
|
|
7652
7698
|
text?: string | undefined;
|
|
7653
7699
|
permission?: {
|
|
7654
7700
|
requestId: string;
|
|
@@ -7661,6 +7707,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7661
7707
|
}[] | undefined;
|
|
7662
7708
|
context?: string | undefined;
|
|
7663
7709
|
} | undefined;
|
|
7710
|
+
content?: {
|
|
7711
|
+
type: "image" | "text";
|
|
7712
|
+
text?: string | undefined;
|
|
7713
|
+
data?: string | undefined;
|
|
7714
|
+
mimeType?: string | undefined;
|
|
7715
|
+
}[] | undefined;
|
|
7664
7716
|
commandExecution?: {
|
|
7665
7717
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7666
7718
|
command?: string | undefined;
|
|
@@ -7681,12 +7733,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7681
7733
|
changeSetId?: string | undefined;
|
|
7682
7734
|
} | undefined;
|
|
7683
7735
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7684
|
-
content?: {
|
|
7685
|
-
type: "image" | "text";
|
|
7686
|
-
text?: string | undefined;
|
|
7687
|
-
data?: string | undefined;
|
|
7688
|
-
mimeType?: string | undefined;
|
|
7689
|
-
}[] | undefined;
|
|
7690
7736
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7691
7737
|
toolCall?: {
|
|
7692
7738
|
name: string;
|
|
@@ -7719,7 +7765,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7719
7765
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
7720
7766
|
canonical?: boolean | undefined;
|
|
7721
7767
|
revision?: number | undefined;
|
|
7722
|
-
turnId?: string | undefined;
|
|
7723
7768
|
itemId?: string | undefined;
|
|
7724
7769
|
structuredInput?: {
|
|
7725
7770
|
requestId: string;
|
|
@@ -7762,6 +7807,12 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7762
7807
|
}[] | undefined;
|
|
7763
7808
|
context?: string | undefined;
|
|
7764
7809
|
} | undefined;
|
|
7810
|
+
content?: {
|
|
7811
|
+
type: "image" | "text";
|
|
7812
|
+
text?: string | undefined;
|
|
7813
|
+
data?: string | undefined;
|
|
7814
|
+
mimeType?: string | undefined;
|
|
7815
|
+
}[] | undefined;
|
|
7765
7816
|
commandExecution?: {
|
|
7766
7817
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
7767
7818
|
command?: string | undefined;
|
|
@@ -7782,12 +7833,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7782
7833
|
changeSetId?: string | undefined;
|
|
7783
7834
|
} | undefined;
|
|
7784
7835
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
7785
|
-
content?: {
|
|
7786
|
-
type: "image" | "text";
|
|
7787
|
-
text?: string | undefined;
|
|
7788
|
-
data?: string | undefined;
|
|
7789
|
-
mimeType?: string | undefined;
|
|
7790
|
-
}[] | undefined;
|
|
7791
7836
|
role?: "user" | "assistant" | "system" | undefined;
|
|
7792
7837
|
toolCall?: {
|
|
7793
7838
|
name: string;
|
|
@@ -7848,6 +7893,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7848
7893
|
agentSessionId?: string | undefined;
|
|
7849
7894
|
title?: string | undefined;
|
|
7850
7895
|
archived?: boolean | undefined;
|
|
7896
|
+
runningTurnId?: string | undefined;
|
|
7851
7897
|
model?: string | undefined;
|
|
7852
7898
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
7853
7899
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -7856,7 +7902,6 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
|
|
|
7856
7902
|
collaborationMode?: "default" | "plan" | undefined;
|
|
7857
7903
|
timelineRevision?: number | undefined;
|
|
7858
7904
|
historyComplete?: boolean | undefined;
|
|
7859
|
-
runningTurnId?: string | undefined;
|
|
7860
7905
|
canonical?: boolean | undefined;
|
|
7861
7906
|
lastMessagePreview?: string | undefined;
|
|
7862
7907
|
} | undefined;
|
|
@@ -8224,6 +8269,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8224
8269
|
text: string;
|
|
8225
8270
|
}[] | undefined;
|
|
8226
8271
|
updatedAt?: number | undefined;
|
|
8272
|
+
turnId?: string | undefined;
|
|
8227
8273
|
text?: string | undefined;
|
|
8228
8274
|
permission?: {
|
|
8229
8275
|
options: {
|
|
@@ -8236,6 +8282,12 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8236
8282
|
toolInput?: string | undefined;
|
|
8237
8283
|
context?: string | undefined;
|
|
8238
8284
|
} | undefined;
|
|
8285
|
+
content?: {
|
|
8286
|
+
type: "image" | "text";
|
|
8287
|
+
text?: string | undefined;
|
|
8288
|
+
data?: string | undefined;
|
|
8289
|
+
mimeType?: string | undefined;
|
|
8290
|
+
}[] | undefined;
|
|
8239
8291
|
commandExecution?: {
|
|
8240
8292
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
8241
8293
|
command?: string | undefined;
|
|
@@ -8256,12 +8308,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8256
8308
|
changeSetId?: string | undefined;
|
|
8257
8309
|
} | undefined;
|
|
8258
8310
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
8259
|
-
content?: {
|
|
8260
|
-
type: "image" | "text";
|
|
8261
|
-
text?: string | undefined;
|
|
8262
|
-
data?: string | undefined;
|
|
8263
|
-
mimeType?: string | undefined;
|
|
8264
|
-
}[] | undefined;
|
|
8265
8311
|
role?: "user" | "assistant" | "system" | undefined;
|
|
8266
8312
|
toolCall?: {
|
|
8267
8313
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -8294,7 +8340,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8294
8340
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
8295
8341
|
canonical?: boolean | undefined;
|
|
8296
8342
|
revision?: number | undefined;
|
|
8297
|
-
turnId?: string | undefined;
|
|
8298
8343
|
itemId?: string | undefined;
|
|
8299
8344
|
structuredInput?: {
|
|
8300
8345
|
questions: {
|
|
@@ -8327,6 +8372,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8327
8372
|
text: string;
|
|
8328
8373
|
}[] | undefined;
|
|
8329
8374
|
updatedAt?: number | undefined;
|
|
8375
|
+
turnId?: string | undefined;
|
|
8330
8376
|
text?: string | undefined;
|
|
8331
8377
|
permission?: {
|
|
8332
8378
|
requestId: string;
|
|
@@ -8339,6 +8385,12 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8339
8385
|
}[] | undefined;
|
|
8340
8386
|
context?: string | undefined;
|
|
8341
8387
|
} | undefined;
|
|
8388
|
+
content?: {
|
|
8389
|
+
type: "image" | "text";
|
|
8390
|
+
text?: string | undefined;
|
|
8391
|
+
data?: string | undefined;
|
|
8392
|
+
mimeType?: string | undefined;
|
|
8393
|
+
}[] | undefined;
|
|
8342
8394
|
commandExecution?: {
|
|
8343
8395
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
8344
8396
|
command?: string | undefined;
|
|
@@ -8359,12 +8411,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8359
8411
|
changeSetId?: string | undefined;
|
|
8360
8412
|
} | undefined;
|
|
8361
8413
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
8362
|
-
content?: {
|
|
8363
|
-
type: "image" | "text";
|
|
8364
|
-
text?: string | undefined;
|
|
8365
|
-
data?: string | undefined;
|
|
8366
|
-
mimeType?: string | undefined;
|
|
8367
|
-
}[] | undefined;
|
|
8368
8414
|
role?: "user" | "assistant" | "system" | undefined;
|
|
8369
8415
|
toolCall?: {
|
|
8370
8416
|
name: string;
|
|
@@ -8397,7 +8443,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8397
8443
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
8398
8444
|
canonical?: boolean | undefined;
|
|
8399
8445
|
revision?: number | undefined;
|
|
8400
|
-
turnId?: string | undefined;
|
|
8401
8446
|
itemId?: string | undefined;
|
|
8402
8447
|
structuredInput?: {
|
|
8403
8448
|
requestId: string;
|
|
@@ -8439,6 +8484,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8439
8484
|
text: string;
|
|
8440
8485
|
}[] | undefined;
|
|
8441
8486
|
updatedAt?: number | undefined;
|
|
8487
|
+
turnId?: string | undefined;
|
|
8442
8488
|
text?: string | undefined;
|
|
8443
8489
|
permission?: {
|
|
8444
8490
|
options: {
|
|
@@ -8451,6 +8497,12 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8451
8497
|
toolInput?: string | undefined;
|
|
8452
8498
|
context?: string | undefined;
|
|
8453
8499
|
} | undefined;
|
|
8500
|
+
content?: {
|
|
8501
|
+
type: "image" | "text";
|
|
8502
|
+
text?: string | undefined;
|
|
8503
|
+
data?: string | undefined;
|
|
8504
|
+
mimeType?: string | undefined;
|
|
8505
|
+
}[] | undefined;
|
|
8454
8506
|
commandExecution?: {
|
|
8455
8507
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
8456
8508
|
command?: string | undefined;
|
|
@@ -8471,12 +8523,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8471
8523
|
changeSetId?: string | undefined;
|
|
8472
8524
|
} | undefined;
|
|
8473
8525
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
8474
|
-
content?: {
|
|
8475
|
-
type: "image" | "text";
|
|
8476
|
-
text?: string | undefined;
|
|
8477
|
-
data?: string | undefined;
|
|
8478
|
-
mimeType?: string | undefined;
|
|
8479
|
-
}[] | undefined;
|
|
8480
8526
|
role?: "user" | "assistant" | "system" | undefined;
|
|
8481
8527
|
toolCall?: {
|
|
8482
8528
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -8509,7 +8555,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8509
8555
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
8510
8556
|
canonical?: boolean | undefined;
|
|
8511
8557
|
revision?: number | undefined;
|
|
8512
|
-
turnId?: string | undefined;
|
|
8513
8558
|
itemId?: string | undefined;
|
|
8514
8559
|
structuredInput?: {
|
|
8515
8560
|
questions: {
|
|
@@ -8549,6 +8594,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8549
8594
|
text: string;
|
|
8550
8595
|
}[] | undefined;
|
|
8551
8596
|
updatedAt?: number | undefined;
|
|
8597
|
+
turnId?: string | undefined;
|
|
8552
8598
|
text?: string | undefined;
|
|
8553
8599
|
permission?: {
|
|
8554
8600
|
requestId: string;
|
|
@@ -8561,6 +8607,12 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8561
8607
|
}[] | undefined;
|
|
8562
8608
|
context?: string | undefined;
|
|
8563
8609
|
} | undefined;
|
|
8610
|
+
content?: {
|
|
8611
|
+
type: "image" | "text";
|
|
8612
|
+
text?: string | undefined;
|
|
8613
|
+
data?: string | undefined;
|
|
8614
|
+
mimeType?: string | undefined;
|
|
8615
|
+
}[] | undefined;
|
|
8564
8616
|
commandExecution?: {
|
|
8565
8617
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
8566
8618
|
command?: string | undefined;
|
|
@@ -8581,12 +8633,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8581
8633
|
changeSetId?: string | undefined;
|
|
8582
8634
|
} | undefined;
|
|
8583
8635
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
8584
|
-
content?: {
|
|
8585
|
-
type: "image" | "text";
|
|
8586
|
-
text?: string | undefined;
|
|
8587
|
-
data?: string | undefined;
|
|
8588
|
-
mimeType?: string | undefined;
|
|
8589
|
-
}[] | undefined;
|
|
8590
8636
|
role?: "user" | "assistant" | "system" | undefined;
|
|
8591
8637
|
toolCall?: {
|
|
8592
8638
|
name: string;
|
|
@@ -8619,7 +8665,6 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8619
8665
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
8620
8666
|
canonical?: boolean | undefined;
|
|
8621
8667
|
revision?: number | undefined;
|
|
8622
|
-
turnId?: string | undefined;
|
|
8623
8668
|
itemId?: string | undefined;
|
|
8624
8669
|
structuredInput?: {
|
|
8625
8670
|
requestId: string;
|
|
@@ -8649,6 +8694,227 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
|
|
|
8649
8694
|
}[] | undefined;
|
|
8650
8695
|
context?: string | undefined;
|
|
8651
8696
|
}>;
|
|
8697
|
+
export declare const codexJsonRpcErrorSchema: z.ZodObject<{
|
|
8698
|
+
code: z.ZodNumber;
|
|
8699
|
+
message: z.ZodString;
|
|
8700
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8701
|
+
[key: string]: unknown;
|
|
8702
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8703
|
+
[key: string]: unknown;
|
|
8704
|
+
} | null>>;
|
|
8705
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8706
|
+
code: z.ZodNumber;
|
|
8707
|
+
message: z.ZodString;
|
|
8708
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8709
|
+
[key: string]: unknown;
|
|
8710
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8711
|
+
[key: string]: unknown;
|
|
8712
|
+
} | null>>;
|
|
8713
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8714
|
+
code: z.ZodNumber;
|
|
8715
|
+
message: z.ZodString;
|
|
8716
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8717
|
+
[key: string]: unknown;
|
|
8718
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8719
|
+
[key: string]: unknown;
|
|
8720
|
+
} | null>>;
|
|
8721
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8722
|
+
export declare const agentCodexRpcPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
8723
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8724
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8725
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8726
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8727
|
+
[key: string]: unknown;
|
|
8728
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8729
|
+
[key: string]: unknown;
|
|
8730
|
+
} | null>>;
|
|
8731
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8732
|
+
[key: string]: unknown;
|
|
8733
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8734
|
+
[key: string]: unknown;
|
|
8735
|
+
} | null>>;
|
|
8736
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8737
|
+
code: z.ZodNumber;
|
|
8738
|
+
message: z.ZodString;
|
|
8739
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8740
|
+
[key: string]: unknown;
|
|
8741
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8742
|
+
[key: string]: unknown;
|
|
8743
|
+
} | null>>;
|
|
8744
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8745
|
+
code: z.ZodNumber;
|
|
8746
|
+
message: z.ZodString;
|
|
8747
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8748
|
+
[key: string]: unknown;
|
|
8749
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8750
|
+
[key: string]: unknown;
|
|
8751
|
+
} | null>>;
|
|
8752
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8753
|
+
code: z.ZodNumber;
|
|
8754
|
+
message: z.ZodString;
|
|
8755
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8756
|
+
[key: string]: unknown;
|
|
8757
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8758
|
+
[key: string]: unknown;
|
|
8759
|
+
} | null>>;
|
|
8760
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8761
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8762
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8763
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8764
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8765
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8766
|
+
[key: string]: unknown;
|
|
8767
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8768
|
+
[key: string]: unknown;
|
|
8769
|
+
} | null>>;
|
|
8770
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8771
|
+
[key: string]: unknown;
|
|
8772
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8773
|
+
[key: string]: unknown;
|
|
8774
|
+
} | null>>;
|
|
8775
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8776
|
+
code: z.ZodNumber;
|
|
8777
|
+
message: z.ZodString;
|
|
8778
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8779
|
+
[key: string]: unknown;
|
|
8780
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8781
|
+
[key: string]: unknown;
|
|
8782
|
+
} | null>>;
|
|
8783
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8784
|
+
code: z.ZodNumber;
|
|
8785
|
+
message: z.ZodString;
|
|
8786
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8787
|
+
[key: string]: unknown;
|
|
8788
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8789
|
+
[key: string]: unknown;
|
|
8790
|
+
} | null>>;
|
|
8791
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8792
|
+
code: z.ZodNumber;
|
|
8793
|
+
message: z.ZodString;
|
|
8794
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8795
|
+
[key: string]: unknown;
|
|
8796
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8797
|
+
[key: string]: unknown;
|
|
8798
|
+
} | null>>;
|
|
8799
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8800
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8801
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8802
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8803
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8804
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8805
|
+
[key: string]: unknown;
|
|
8806
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8807
|
+
[key: string]: unknown;
|
|
8808
|
+
} | null>>;
|
|
8809
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8810
|
+
[key: string]: unknown;
|
|
8811
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8812
|
+
[key: string]: unknown;
|
|
8813
|
+
} | null>>;
|
|
8814
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8815
|
+
code: z.ZodNumber;
|
|
8816
|
+
message: z.ZodString;
|
|
8817
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8818
|
+
[key: string]: unknown;
|
|
8819
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8820
|
+
[key: string]: unknown;
|
|
8821
|
+
} | null>>;
|
|
8822
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8823
|
+
code: z.ZodNumber;
|
|
8824
|
+
message: z.ZodString;
|
|
8825
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8826
|
+
[key: string]: unknown;
|
|
8827
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8828
|
+
[key: string]: unknown;
|
|
8829
|
+
} | null>>;
|
|
8830
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8831
|
+
code: z.ZodNumber;
|
|
8832
|
+
message: z.ZodString;
|
|
8833
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8834
|
+
[key: string]: unknown;
|
|
8835
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8836
|
+
[key: string]: unknown;
|
|
8837
|
+
} | null>>;
|
|
8838
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8839
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
8840
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8841
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8842
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8843
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8844
|
+
[key: string]: unknown;
|
|
8845
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8846
|
+
[key: string]: unknown;
|
|
8847
|
+
} | null>>;
|
|
8848
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8849
|
+
[key: string]: unknown;
|
|
8850
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8851
|
+
[key: string]: unknown;
|
|
8852
|
+
} | null>>;
|
|
8853
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8854
|
+
code: z.ZodNumber;
|
|
8855
|
+
message: z.ZodString;
|
|
8856
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8857
|
+
[key: string]: unknown;
|
|
8858
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8859
|
+
[key: string]: unknown;
|
|
8860
|
+
} | null>>;
|
|
8861
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8862
|
+
code: z.ZodNumber;
|
|
8863
|
+
message: z.ZodString;
|
|
8864
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8865
|
+
[key: string]: unknown;
|
|
8866
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8867
|
+
[key: string]: unknown;
|
|
8868
|
+
} | null>>;
|
|
8869
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8870
|
+
code: z.ZodNumber;
|
|
8871
|
+
message: z.ZodString;
|
|
8872
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8873
|
+
[key: string]: unknown;
|
|
8874
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8875
|
+
[key: string]: unknown;
|
|
8876
|
+
} | null>>;
|
|
8877
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8878
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8879
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
8880
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
8881
|
+
method: z.ZodOptional<z.ZodString>;
|
|
8882
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8883
|
+
[key: string]: unknown;
|
|
8884
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8885
|
+
[key: string]: unknown;
|
|
8886
|
+
} | null>>;
|
|
8887
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8888
|
+
[key: string]: unknown;
|
|
8889
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8890
|
+
[key: string]: unknown;
|
|
8891
|
+
} | null>>;
|
|
8892
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
8893
|
+
code: z.ZodNumber;
|
|
8894
|
+
message: z.ZodString;
|
|
8895
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8896
|
+
[key: string]: unknown;
|
|
8897
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8898
|
+
[key: string]: unknown;
|
|
8899
|
+
} | null>>;
|
|
8900
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8901
|
+
code: z.ZodNumber;
|
|
8902
|
+
message: z.ZodString;
|
|
8903
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8904
|
+
[key: string]: unknown;
|
|
8905
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8906
|
+
[key: string]: unknown;
|
|
8907
|
+
} | null>>;
|
|
8908
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8909
|
+
code: z.ZodNumber;
|
|
8910
|
+
message: z.ZodString;
|
|
8911
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
8912
|
+
[key: string]: unknown;
|
|
8913
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
8914
|
+
[key: string]: unknown;
|
|
8915
|
+
} | null>>;
|
|
8916
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
8917
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8652
8918
|
export declare const protocolMessageSchemas: {
|
|
8653
8919
|
readonly "device.connect": z.ZodObject<{
|
|
8654
8920
|
role: z.ZodEnum<["host", "client"]>;
|
|
@@ -9129,7 +9395,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9129
9395
|
pendingPermissionCount: z.ZodOptional<z.ZodNumber>;
|
|
9130
9396
|
machineId: z.ZodOptional<z.ZodString>;
|
|
9131
9397
|
}, "strip", z.ZodTypeAny, {
|
|
9132
|
-
phase: "error" | "idle" | "thinking" | "
|
|
9398
|
+
phase: "error" | "idle" | "thinking" | "waiting" | "tool_use" | "outputting";
|
|
9133
9399
|
summary?: string | undefined;
|
|
9134
9400
|
toolName?: string | undefined;
|
|
9135
9401
|
toolInput?: string | undefined;
|
|
@@ -9151,7 +9417,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9151
9417
|
} | undefined;
|
|
9152
9418
|
pendingPermissionCount?: number | undefined;
|
|
9153
9419
|
}, {
|
|
9154
|
-
phase: "error" | "idle" | "thinking" | "
|
|
9420
|
+
phase: "error" | "idle" | "thinking" | "waiting" | "tool_use" | "outputting";
|
|
9155
9421
|
summary?: string | undefined;
|
|
9156
9422
|
toolName?: string | undefined;
|
|
9157
9423
|
toolInput?: string | undefined;
|
|
@@ -9303,6 +9569,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9303
9569
|
supportsPermission: z.ZodOptional<z.ZodBoolean>;
|
|
9304
9570
|
supportsPlan: z.ZodOptional<z.ZodBoolean>;
|
|
9305
9571
|
supportsCancel: z.ZodOptional<z.ZodBoolean>;
|
|
9572
|
+
providerProtocol: z.ZodOptional<z.ZodString>;
|
|
9573
|
+
modelsSource: z.ZodOptional<z.ZodEnum<["runtime", "fallback", "static", "unavailable"]>>;
|
|
9574
|
+
modelListError: z.ZodOptional<z.ZodString>;
|
|
9306
9575
|
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9307
9576
|
id: z.ZodString;
|
|
9308
9577
|
label: z.ZodString;
|
|
@@ -9400,6 +9669,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9400
9669
|
supportsPermission?: boolean | undefined;
|
|
9401
9670
|
supportsPlan?: boolean | undefined;
|
|
9402
9671
|
supportsCancel?: boolean | undefined;
|
|
9672
|
+
providerProtocol?: string | undefined;
|
|
9673
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
9674
|
+
modelListError?: string | undefined;
|
|
9403
9675
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9404
9676
|
modes?: {
|
|
9405
9677
|
id: string;
|
|
@@ -9437,6 +9709,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9437
9709
|
supportsPermission?: boolean | undefined;
|
|
9438
9710
|
supportsPlan?: boolean | undefined;
|
|
9439
9711
|
supportsCancel?: boolean | undefined;
|
|
9712
|
+
providerProtocol?: string | undefined;
|
|
9713
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
9714
|
+
modelListError?: string | undefined;
|
|
9440
9715
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9441
9716
|
modes?: {
|
|
9442
9717
|
id: string;
|
|
@@ -9447,6 +9722,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9447
9722
|
features?: Record<string, boolean> | undefined;
|
|
9448
9723
|
}>, "many">>;
|
|
9449
9724
|
protocolVersion: z.ZodOptional<z.ZodNumber>;
|
|
9725
|
+
capabilitiesRevision: z.ZodOptional<z.ZodNumber>;
|
|
9450
9726
|
error: z.ZodOptional<z.ZodString>;
|
|
9451
9727
|
supportsSessionList: z.ZodDefault<z.ZodBoolean>;
|
|
9452
9728
|
supportsSessionLoad: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -9497,6 +9773,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9497
9773
|
supportsPermission?: boolean | undefined;
|
|
9498
9774
|
supportsPlan?: boolean | undefined;
|
|
9499
9775
|
supportsCancel?: boolean | undefined;
|
|
9776
|
+
providerProtocol?: string | undefined;
|
|
9777
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
9778
|
+
modelListError?: string | undefined;
|
|
9500
9779
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9501
9780
|
modes?: {
|
|
9502
9781
|
id: string;
|
|
@@ -9509,6 +9788,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9509
9788
|
protocolVersion?: number | undefined;
|
|
9510
9789
|
machineId?: string | undefined;
|
|
9511
9790
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
9791
|
+
capabilitiesRevision?: number | undefined;
|
|
9512
9792
|
}, {
|
|
9513
9793
|
enabled: boolean;
|
|
9514
9794
|
error?: string | undefined;
|
|
@@ -9541,6 +9821,9 @@ export declare const protocolMessageSchemas: {
|
|
|
9541
9821
|
supportsPermission?: boolean | undefined;
|
|
9542
9822
|
supportsPlan?: boolean | undefined;
|
|
9543
9823
|
supportsCancel?: boolean | undefined;
|
|
9824
|
+
providerProtocol?: string | undefined;
|
|
9825
|
+
modelsSource?: "unavailable" | "fallback" | "runtime" | "static" | undefined;
|
|
9826
|
+
modelListError?: string | undefined;
|
|
9544
9827
|
permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
|
|
9545
9828
|
modes?: {
|
|
9546
9829
|
id: string;
|
|
@@ -9557,6 +9840,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9557
9840
|
supportsPermission?: boolean | undefined;
|
|
9558
9841
|
supportsPlan?: boolean | undefined;
|
|
9559
9842
|
supportsCancel?: boolean | undefined;
|
|
9843
|
+
capabilitiesRevision?: number | undefined;
|
|
9560
9844
|
supportsSessionList?: boolean | undefined;
|
|
9561
9845
|
supportsSessionLoad?: boolean | undefined;
|
|
9562
9846
|
supportsAudio?: boolean | undefined;
|
|
@@ -9624,6 +9908,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9624
9908
|
provider: "codex" | "claude" | "custom";
|
|
9625
9909
|
agentSessionId?: string | undefined;
|
|
9626
9910
|
title?: string | undefined;
|
|
9911
|
+
runningTurnId?: string | undefined;
|
|
9627
9912
|
model?: string | undefined;
|
|
9628
9913
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
9629
9914
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -9631,7 +9916,6 @@ export declare const protocolMessageSchemas: {
|
|
|
9631
9916
|
collaborationMode?: "default" | "plan" | undefined;
|
|
9632
9917
|
timelineRevision?: number | undefined;
|
|
9633
9918
|
historyComplete?: boolean | undefined;
|
|
9634
|
-
runningTurnId?: string | undefined;
|
|
9635
9919
|
canonical?: boolean | undefined;
|
|
9636
9920
|
lastMessagePreview?: string | undefined;
|
|
9637
9921
|
}, {
|
|
@@ -9643,6 +9927,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9643
9927
|
agentSessionId?: string | undefined;
|
|
9644
9928
|
title?: string | undefined;
|
|
9645
9929
|
archived?: boolean | undefined;
|
|
9930
|
+
runningTurnId?: string | undefined;
|
|
9646
9931
|
model?: string | undefined;
|
|
9647
9932
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
9648
9933
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -9651,7 +9936,6 @@ export declare const protocolMessageSchemas: {
|
|
|
9651
9936
|
collaborationMode?: "default" | "plan" | undefined;
|
|
9652
9937
|
timelineRevision?: number | undefined;
|
|
9653
9938
|
historyComplete?: boolean | undefined;
|
|
9654
|
-
runningTurnId?: string | undefined;
|
|
9655
9939
|
canonical?: boolean | undefined;
|
|
9656
9940
|
lastMessagePreview?: string | undefined;
|
|
9657
9941
|
}>;
|
|
@@ -9997,6 +10281,7 @@ export declare const protocolMessageSchemas: {
|
|
|
9997
10281
|
text: string;
|
|
9998
10282
|
}[] | undefined;
|
|
9999
10283
|
updatedAt?: number | undefined;
|
|
10284
|
+
turnId?: string | undefined;
|
|
10000
10285
|
text?: string | undefined;
|
|
10001
10286
|
permission?: {
|
|
10002
10287
|
options: {
|
|
@@ -10009,6 +10294,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10009
10294
|
toolInput?: string | undefined;
|
|
10010
10295
|
context?: string | undefined;
|
|
10011
10296
|
} | undefined;
|
|
10297
|
+
content?: {
|
|
10298
|
+
type: "image" | "text";
|
|
10299
|
+
text?: string | undefined;
|
|
10300
|
+
data?: string | undefined;
|
|
10301
|
+
mimeType?: string | undefined;
|
|
10302
|
+
}[] | undefined;
|
|
10012
10303
|
commandExecution?: {
|
|
10013
10304
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
10014
10305
|
command?: string | undefined;
|
|
@@ -10029,12 +10320,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10029
10320
|
changeSetId?: string | undefined;
|
|
10030
10321
|
} | undefined;
|
|
10031
10322
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
10032
|
-
content?: {
|
|
10033
|
-
type: "image" | "text";
|
|
10034
|
-
text?: string | undefined;
|
|
10035
|
-
data?: string | undefined;
|
|
10036
|
-
mimeType?: string | undefined;
|
|
10037
|
-
}[] | undefined;
|
|
10038
10323
|
role?: "user" | "assistant" | "system" | undefined;
|
|
10039
10324
|
toolCall?: {
|
|
10040
10325
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -10067,7 +10352,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10067
10352
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10068
10353
|
canonical?: boolean | undefined;
|
|
10069
10354
|
revision?: number | undefined;
|
|
10070
|
-
turnId?: string | undefined;
|
|
10071
10355
|
itemId?: string | undefined;
|
|
10072
10356
|
structuredInput?: {
|
|
10073
10357
|
questions: {
|
|
@@ -10100,6 +10384,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10100
10384
|
text: string;
|
|
10101
10385
|
}[] | undefined;
|
|
10102
10386
|
updatedAt?: number | undefined;
|
|
10387
|
+
turnId?: string | undefined;
|
|
10103
10388
|
text?: string | undefined;
|
|
10104
10389
|
permission?: {
|
|
10105
10390
|
requestId: string;
|
|
@@ -10112,6 +10397,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10112
10397
|
}[] | undefined;
|
|
10113
10398
|
context?: string | undefined;
|
|
10114
10399
|
} | undefined;
|
|
10400
|
+
content?: {
|
|
10401
|
+
type: "image" | "text";
|
|
10402
|
+
text?: string | undefined;
|
|
10403
|
+
data?: string | undefined;
|
|
10404
|
+
mimeType?: string | undefined;
|
|
10405
|
+
}[] | undefined;
|
|
10115
10406
|
commandExecution?: {
|
|
10116
10407
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
10117
10408
|
command?: string | undefined;
|
|
@@ -10132,12 +10423,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10132
10423
|
changeSetId?: string | undefined;
|
|
10133
10424
|
} | undefined;
|
|
10134
10425
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
10135
|
-
content?: {
|
|
10136
|
-
type: "image" | "text";
|
|
10137
|
-
text?: string | undefined;
|
|
10138
|
-
data?: string | undefined;
|
|
10139
|
-
mimeType?: string | undefined;
|
|
10140
|
-
}[] | undefined;
|
|
10141
10426
|
role?: "user" | "assistant" | "system" | undefined;
|
|
10142
10427
|
toolCall?: {
|
|
10143
10428
|
name: string;
|
|
@@ -10170,7 +10455,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10170
10455
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10171
10456
|
canonical?: boolean | undefined;
|
|
10172
10457
|
revision?: number | undefined;
|
|
10173
|
-
turnId?: string | undefined;
|
|
10174
10458
|
itemId?: string | undefined;
|
|
10175
10459
|
structuredInput?: {
|
|
10176
10460
|
requestId: string;
|
|
@@ -10207,6 +10491,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10207
10491
|
provider: "codex" | "claude" | "custom";
|
|
10208
10492
|
agentSessionId?: string | undefined;
|
|
10209
10493
|
title?: string | undefined;
|
|
10494
|
+
runningTurnId?: string | undefined;
|
|
10210
10495
|
model?: string | undefined;
|
|
10211
10496
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10212
10497
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -10214,7 +10499,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10214
10499
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10215
10500
|
timelineRevision?: number | undefined;
|
|
10216
10501
|
historyComplete?: boolean | undefined;
|
|
10217
|
-
runningTurnId?: string | undefined;
|
|
10218
10502
|
canonical?: boolean | undefined;
|
|
10219
10503
|
lastMessagePreview?: string | undefined;
|
|
10220
10504
|
};
|
|
@@ -10231,6 +10515,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10231
10515
|
text: string;
|
|
10232
10516
|
}[] | undefined;
|
|
10233
10517
|
updatedAt?: number | undefined;
|
|
10518
|
+
turnId?: string | undefined;
|
|
10234
10519
|
text?: string | undefined;
|
|
10235
10520
|
permission?: {
|
|
10236
10521
|
options: {
|
|
@@ -10243,6 +10528,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10243
10528
|
toolInput?: string | undefined;
|
|
10244
10529
|
context?: string | undefined;
|
|
10245
10530
|
} | undefined;
|
|
10531
|
+
content?: {
|
|
10532
|
+
type: "image" | "text";
|
|
10533
|
+
text?: string | undefined;
|
|
10534
|
+
data?: string | undefined;
|
|
10535
|
+
mimeType?: string | undefined;
|
|
10536
|
+
}[] | undefined;
|
|
10246
10537
|
commandExecution?: {
|
|
10247
10538
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
10248
10539
|
command?: string | undefined;
|
|
@@ -10263,12 +10554,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10263
10554
|
changeSetId?: string | undefined;
|
|
10264
10555
|
} | undefined;
|
|
10265
10556
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
10266
|
-
content?: {
|
|
10267
|
-
type: "image" | "text";
|
|
10268
|
-
text?: string | undefined;
|
|
10269
|
-
data?: string | undefined;
|
|
10270
|
-
mimeType?: string | undefined;
|
|
10271
|
-
}[] | undefined;
|
|
10272
10557
|
role?: "user" | "assistant" | "system" | undefined;
|
|
10273
10558
|
toolCall?: {
|
|
10274
10559
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -10301,7 +10586,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10301
10586
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10302
10587
|
canonical?: boolean | undefined;
|
|
10303
10588
|
revision?: number | undefined;
|
|
10304
|
-
turnId?: string | undefined;
|
|
10305
10589
|
itemId?: string | undefined;
|
|
10306
10590
|
structuredInput?: {
|
|
10307
10591
|
questions: {
|
|
@@ -10337,6 +10621,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10337
10621
|
agentSessionId?: string | undefined;
|
|
10338
10622
|
title?: string | undefined;
|
|
10339
10623
|
archived?: boolean | undefined;
|
|
10624
|
+
runningTurnId?: string | undefined;
|
|
10340
10625
|
model?: string | undefined;
|
|
10341
10626
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10342
10627
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -10345,7 +10630,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10345
10630
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10346
10631
|
timelineRevision?: number | undefined;
|
|
10347
10632
|
historyComplete?: boolean | undefined;
|
|
10348
|
-
runningTurnId?: string | undefined;
|
|
10349
10633
|
canonical?: boolean | undefined;
|
|
10350
10634
|
lastMessagePreview?: string | undefined;
|
|
10351
10635
|
};
|
|
@@ -10365,6 +10649,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10365
10649
|
text: string;
|
|
10366
10650
|
}[] | undefined;
|
|
10367
10651
|
updatedAt?: number | undefined;
|
|
10652
|
+
turnId?: string | undefined;
|
|
10368
10653
|
text?: string | undefined;
|
|
10369
10654
|
permission?: {
|
|
10370
10655
|
requestId: string;
|
|
@@ -10377,6 +10662,12 @@ export declare const protocolMessageSchemas: {
|
|
|
10377
10662
|
}[] | undefined;
|
|
10378
10663
|
context?: string | undefined;
|
|
10379
10664
|
} | undefined;
|
|
10665
|
+
content?: {
|
|
10666
|
+
type: "image" | "text";
|
|
10667
|
+
text?: string | undefined;
|
|
10668
|
+
data?: string | undefined;
|
|
10669
|
+
mimeType?: string | undefined;
|
|
10670
|
+
}[] | undefined;
|
|
10380
10671
|
commandExecution?: {
|
|
10381
10672
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
10382
10673
|
command?: string | undefined;
|
|
@@ -10397,12 +10688,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10397
10688
|
changeSetId?: string | undefined;
|
|
10398
10689
|
} | undefined;
|
|
10399
10690
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
10400
|
-
content?: {
|
|
10401
|
-
type: "image" | "text";
|
|
10402
|
-
text?: string | undefined;
|
|
10403
|
-
data?: string | undefined;
|
|
10404
|
-
mimeType?: string | undefined;
|
|
10405
|
-
}[] | undefined;
|
|
10406
10691
|
role?: "user" | "assistant" | "system" | undefined;
|
|
10407
10692
|
toolCall?: {
|
|
10408
10693
|
name: string;
|
|
@@ -10435,7 +10720,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10435
10720
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10436
10721
|
canonical?: boolean | undefined;
|
|
10437
10722
|
revision?: number | undefined;
|
|
10438
|
-
turnId?: string | undefined;
|
|
10439
10723
|
itemId?: string | undefined;
|
|
10440
10724
|
structuredInput?: {
|
|
10441
10725
|
requestId: string;
|
|
@@ -10497,6 +10781,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10497
10781
|
provider: "codex" | "claude" | "custom";
|
|
10498
10782
|
agentSessionId?: string | undefined;
|
|
10499
10783
|
title?: string | undefined;
|
|
10784
|
+
runningTurnId?: string | undefined;
|
|
10500
10785
|
model?: string | undefined;
|
|
10501
10786
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10502
10787
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -10504,7 +10789,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10504
10789
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10505
10790
|
timelineRevision?: number | undefined;
|
|
10506
10791
|
historyComplete?: boolean | undefined;
|
|
10507
|
-
runningTurnId?: string | undefined;
|
|
10508
10792
|
canonical?: boolean | undefined;
|
|
10509
10793
|
lastMessagePreview?: string | undefined;
|
|
10510
10794
|
}, {
|
|
@@ -10516,6 +10800,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10516
10800
|
agentSessionId?: string | undefined;
|
|
10517
10801
|
title?: string | undefined;
|
|
10518
10802
|
archived?: boolean | undefined;
|
|
10803
|
+
runningTurnId?: string | undefined;
|
|
10519
10804
|
model?: string | undefined;
|
|
10520
10805
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10521
10806
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -10524,7 +10809,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10524
10809
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10525
10810
|
timelineRevision?: number | undefined;
|
|
10526
10811
|
historyComplete?: boolean | undefined;
|
|
10527
|
-
runningTurnId?: string | undefined;
|
|
10528
10812
|
canonical?: boolean | undefined;
|
|
10529
10813
|
lastMessagePreview?: string | undefined;
|
|
10530
10814
|
}>, "many">;
|
|
@@ -10539,6 +10823,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10539
10823
|
provider: "codex" | "claude" | "custom";
|
|
10540
10824
|
agentSessionId?: string | undefined;
|
|
10541
10825
|
title?: string | undefined;
|
|
10826
|
+
runningTurnId?: string | undefined;
|
|
10542
10827
|
model?: string | undefined;
|
|
10543
10828
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10544
10829
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -10546,7 +10831,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10546
10831
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10547
10832
|
timelineRevision?: number | undefined;
|
|
10548
10833
|
historyComplete?: boolean | undefined;
|
|
10549
|
-
runningTurnId?: string | undefined;
|
|
10550
10834
|
canonical?: boolean | undefined;
|
|
10551
10835
|
lastMessagePreview?: string | undefined;
|
|
10552
10836
|
}[];
|
|
@@ -10560,6 +10844,7 @@ export declare const protocolMessageSchemas: {
|
|
|
10560
10844
|
agentSessionId?: string | undefined;
|
|
10561
10845
|
title?: string | undefined;
|
|
10562
10846
|
archived?: boolean | undefined;
|
|
10847
|
+
runningTurnId?: string | undefined;
|
|
10563
10848
|
model?: string | undefined;
|
|
10564
10849
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
10565
10850
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -10568,7 +10853,6 @@ export declare const protocolMessageSchemas: {
|
|
|
10568
10853
|
collaborationMode?: "default" | "plan" | undefined;
|
|
10569
10854
|
timelineRevision?: number | undefined;
|
|
10570
10855
|
historyComplete?: boolean | undefined;
|
|
10571
|
-
runningTurnId?: string | undefined;
|
|
10572
10856
|
canonical?: boolean | undefined;
|
|
10573
10857
|
lastMessagePreview?: string | undefined;
|
|
10574
10858
|
}[];
|
|
@@ -11027,6 +11311,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11027
11311
|
text: string;
|
|
11028
11312
|
}[] | undefined;
|
|
11029
11313
|
updatedAt?: number | undefined;
|
|
11314
|
+
turnId?: string | undefined;
|
|
11030
11315
|
text?: string | undefined;
|
|
11031
11316
|
permission?: {
|
|
11032
11317
|
options: {
|
|
@@ -11039,6 +11324,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11039
11324
|
toolInput?: string | undefined;
|
|
11040
11325
|
context?: string | undefined;
|
|
11041
11326
|
} | undefined;
|
|
11327
|
+
content?: {
|
|
11328
|
+
type: "image" | "text";
|
|
11329
|
+
text?: string | undefined;
|
|
11330
|
+
data?: string | undefined;
|
|
11331
|
+
mimeType?: string | undefined;
|
|
11332
|
+
}[] | undefined;
|
|
11042
11333
|
commandExecution?: {
|
|
11043
11334
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11044
11335
|
command?: string | undefined;
|
|
@@ -11059,12 +11350,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11059
11350
|
changeSetId?: string | undefined;
|
|
11060
11351
|
} | undefined;
|
|
11061
11352
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
11062
|
-
content?: {
|
|
11063
|
-
type: "image" | "text";
|
|
11064
|
-
text?: string | undefined;
|
|
11065
|
-
data?: string | undefined;
|
|
11066
|
-
mimeType?: string | undefined;
|
|
11067
|
-
}[] | undefined;
|
|
11068
11353
|
role?: "user" | "assistant" | "system" | undefined;
|
|
11069
11354
|
toolCall?: {
|
|
11070
11355
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -11097,7 +11382,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11097
11382
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11098
11383
|
canonical?: boolean | undefined;
|
|
11099
11384
|
revision?: number | undefined;
|
|
11100
|
-
turnId?: string | undefined;
|
|
11101
11385
|
itemId?: string | undefined;
|
|
11102
11386
|
structuredInput?: {
|
|
11103
11387
|
questions: {
|
|
@@ -11130,6 +11414,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11130
11414
|
text: string;
|
|
11131
11415
|
}[] | undefined;
|
|
11132
11416
|
updatedAt?: number | undefined;
|
|
11417
|
+
turnId?: string | undefined;
|
|
11133
11418
|
text?: string | undefined;
|
|
11134
11419
|
permission?: {
|
|
11135
11420
|
requestId: string;
|
|
@@ -11142,6 +11427,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11142
11427
|
}[] | undefined;
|
|
11143
11428
|
context?: string | undefined;
|
|
11144
11429
|
} | undefined;
|
|
11430
|
+
content?: {
|
|
11431
|
+
type: "image" | "text";
|
|
11432
|
+
text?: string | undefined;
|
|
11433
|
+
data?: string | undefined;
|
|
11434
|
+
mimeType?: string | undefined;
|
|
11435
|
+
}[] | undefined;
|
|
11145
11436
|
commandExecution?: {
|
|
11146
11437
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11147
11438
|
command?: string | undefined;
|
|
@@ -11162,12 +11453,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11162
11453
|
changeSetId?: string | undefined;
|
|
11163
11454
|
} | undefined;
|
|
11164
11455
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
11165
|
-
content?: {
|
|
11166
|
-
type: "image" | "text";
|
|
11167
|
-
text?: string | undefined;
|
|
11168
|
-
data?: string | undefined;
|
|
11169
|
-
mimeType?: string | undefined;
|
|
11170
|
-
}[] | undefined;
|
|
11171
11456
|
role?: "user" | "assistant" | "system" | undefined;
|
|
11172
11457
|
toolCall?: {
|
|
11173
11458
|
name: string;
|
|
@@ -11200,7 +11485,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11200
11485
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11201
11486
|
canonical?: boolean | undefined;
|
|
11202
11487
|
revision?: number | undefined;
|
|
11203
|
-
turnId?: string | undefined;
|
|
11204
11488
|
itemId?: string | undefined;
|
|
11205
11489
|
structuredInput?: {
|
|
11206
11490
|
requestId: string;
|
|
@@ -11242,6 +11526,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11242
11526
|
text: string;
|
|
11243
11527
|
}[] | undefined;
|
|
11244
11528
|
updatedAt?: number | undefined;
|
|
11529
|
+
turnId?: string | undefined;
|
|
11245
11530
|
text?: string | undefined;
|
|
11246
11531
|
permission?: {
|
|
11247
11532
|
options: {
|
|
@@ -11254,6 +11539,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11254
11539
|
toolInput?: string | undefined;
|
|
11255
11540
|
context?: string | undefined;
|
|
11256
11541
|
} | undefined;
|
|
11542
|
+
content?: {
|
|
11543
|
+
type: "image" | "text";
|
|
11544
|
+
text?: string | undefined;
|
|
11545
|
+
data?: string | undefined;
|
|
11546
|
+
mimeType?: string | undefined;
|
|
11547
|
+
}[] | undefined;
|
|
11257
11548
|
commandExecution?: {
|
|
11258
11549
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11259
11550
|
command?: string | undefined;
|
|
@@ -11274,12 +11565,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11274
11565
|
changeSetId?: string | undefined;
|
|
11275
11566
|
} | undefined;
|
|
11276
11567
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
11277
|
-
content?: {
|
|
11278
|
-
type: "image" | "text";
|
|
11279
|
-
text?: string | undefined;
|
|
11280
|
-
data?: string | undefined;
|
|
11281
|
-
mimeType?: string | undefined;
|
|
11282
|
-
}[] | undefined;
|
|
11283
11568
|
role?: "user" | "assistant" | "system" | undefined;
|
|
11284
11569
|
toolCall?: {
|
|
11285
11570
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -11312,7 +11597,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11312
11597
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11313
11598
|
canonical?: boolean | undefined;
|
|
11314
11599
|
revision?: number | undefined;
|
|
11315
|
-
turnId?: string | undefined;
|
|
11316
11600
|
itemId?: string | undefined;
|
|
11317
11601
|
structuredInput?: {
|
|
11318
11602
|
questions: {
|
|
@@ -11352,6 +11636,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11352
11636
|
text: string;
|
|
11353
11637
|
}[] | undefined;
|
|
11354
11638
|
updatedAt?: number | undefined;
|
|
11639
|
+
turnId?: string | undefined;
|
|
11355
11640
|
text?: string | undefined;
|
|
11356
11641
|
permission?: {
|
|
11357
11642
|
requestId: string;
|
|
@@ -11364,6 +11649,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11364
11649
|
}[] | undefined;
|
|
11365
11650
|
context?: string | undefined;
|
|
11366
11651
|
} | undefined;
|
|
11652
|
+
content?: {
|
|
11653
|
+
type: "image" | "text";
|
|
11654
|
+
text?: string | undefined;
|
|
11655
|
+
data?: string | undefined;
|
|
11656
|
+
mimeType?: string | undefined;
|
|
11657
|
+
}[] | undefined;
|
|
11367
11658
|
commandExecution?: {
|
|
11368
11659
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11369
11660
|
command?: string | undefined;
|
|
@@ -11384,12 +11675,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11384
11675
|
changeSetId?: string | undefined;
|
|
11385
11676
|
} | undefined;
|
|
11386
11677
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
11387
|
-
content?: {
|
|
11388
|
-
type: "image" | "text";
|
|
11389
|
-
text?: string | undefined;
|
|
11390
|
-
data?: string | undefined;
|
|
11391
|
-
mimeType?: string | undefined;
|
|
11392
|
-
}[] | undefined;
|
|
11393
11678
|
role?: "user" | "assistant" | "system" | undefined;
|
|
11394
11679
|
toolCall?: {
|
|
11395
11680
|
name: string;
|
|
@@ -11422,7 +11707,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11422
11707
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11423
11708
|
canonical?: boolean | undefined;
|
|
11424
11709
|
revision?: number | undefined;
|
|
11425
|
-
turnId?: string | undefined;
|
|
11426
11710
|
itemId?: string | undefined;
|
|
11427
11711
|
structuredInput?: {
|
|
11428
11712
|
requestId: string;
|
|
@@ -11503,6 +11787,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11503
11787
|
provider: "codex" | "claude" | "custom";
|
|
11504
11788
|
agentSessionId?: string | undefined;
|
|
11505
11789
|
title?: string | undefined;
|
|
11790
|
+
runningTurnId?: string | undefined;
|
|
11506
11791
|
model?: string | undefined;
|
|
11507
11792
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11508
11793
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -11510,7 +11795,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11510
11795
|
collaborationMode?: "default" | "plan" | undefined;
|
|
11511
11796
|
timelineRevision?: number | undefined;
|
|
11512
11797
|
historyComplete?: boolean | undefined;
|
|
11513
|
-
runningTurnId?: string | undefined;
|
|
11514
11798
|
canonical?: boolean | undefined;
|
|
11515
11799
|
lastMessagePreview?: string | undefined;
|
|
11516
11800
|
}, {
|
|
@@ -11522,6 +11806,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11522
11806
|
agentSessionId?: string | undefined;
|
|
11523
11807
|
title?: string | undefined;
|
|
11524
11808
|
archived?: boolean | undefined;
|
|
11809
|
+
runningTurnId?: string | undefined;
|
|
11525
11810
|
model?: string | undefined;
|
|
11526
11811
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11527
11812
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -11530,7 +11815,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11530
11815
|
collaborationMode?: "default" | "plan" | undefined;
|
|
11531
11816
|
timelineRevision?: number | undefined;
|
|
11532
11817
|
historyComplete?: boolean | undefined;
|
|
11533
|
-
runningTurnId?: string | undefined;
|
|
11534
11818
|
canonical?: boolean | undefined;
|
|
11535
11819
|
lastMessagePreview?: string | undefined;
|
|
11536
11820
|
}>, "many">>;
|
|
@@ -11877,6 +12161,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11877
12161
|
text: string;
|
|
11878
12162
|
}[] | undefined;
|
|
11879
12163
|
updatedAt?: number | undefined;
|
|
12164
|
+
turnId?: string | undefined;
|
|
11880
12165
|
text?: string | undefined;
|
|
11881
12166
|
permission?: {
|
|
11882
12167
|
options: {
|
|
@@ -11889,6 +12174,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11889
12174
|
toolInput?: string | undefined;
|
|
11890
12175
|
context?: string | undefined;
|
|
11891
12176
|
} | undefined;
|
|
12177
|
+
content?: {
|
|
12178
|
+
type: "image" | "text";
|
|
12179
|
+
text?: string | undefined;
|
|
12180
|
+
data?: string | undefined;
|
|
12181
|
+
mimeType?: string | undefined;
|
|
12182
|
+
}[] | undefined;
|
|
11892
12183
|
commandExecution?: {
|
|
11893
12184
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11894
12185
|
command?: string | undefined;
|
|
@@ -11909,12 +12200,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11909
12200
|
changeSetId?: string | undefined;
|
|
11910
12201
|
} | undefined;
|
|
11911
12202
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
11912
|
-
content?: {
|
|
11913
|
-
type: "image" | "text";
|
|
11914
|
-
text?: string | undefined;
|
|
11915
|
-
data?: string | undefined;
|
|
11916
|
-
mimeType?: string | undefined;
|
|
11917
|
-
}[] | undefined;
|
|
11918
12203
|
role?: "user" | "assistant" | "system" | undefined;
|
|
11919
12204
|
toolCall?: {
|
|
11920
12205
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -11947,7 +12232,6 @@ export declare const protocolMessageSchemas: {
|
|
|
11947
12232
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
11948
12233
|
canonical?: boolean | undefined;
|
|
11949
12234
|
revision?: number | undefined;
|
|
11950
|
-
turnId?: string | undefined;
|
|
11951
12235
|
itemId?: string | undefined;
|
|
11952
12236
|
structuredInput?: {
|
|
11953
12237
|
questions: {
|
|
@@ -11980,6 +12264,7 @@ export declare const protocolMessageSchemas: {
|
|
|
11980
12264
|
text: string;
|
|
11981
12265
|
}[] | undefined;
|
|
11982
12266
|
updatedAt?: number | undefined;
|
|
12267
|
+
turnId?: string | undefined;
|
|
11983
12268
|
text?: string | undefined;
|
|
11984
12269
|
permission?: {
|
|
11985
12270
|
requestId: string;
|
|
@@ -11992,6 +12277,12 @@ export declare const protocolMessageSchemas: {
|
|
|
11992
12277
|
}[] | undefined;
|
|
11993
12278
|
context?: string | undefined;
|
|
11994
12279
|
} | undefined;
|
|
12280
|
+
content?: {
|
|
12281
|
+
type: "image" | "text";
|
|
12282
|
+
text?: string | undefined;
|
|
12283
|
+
data?: string | undefined;
|
|
12284
|
+
mimeType?: string | undefined;
|
|
12285
|
+
}[] | undefined;
|
|
11995
12286
|
commandExecution?: {
|
|
11996
12287
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
11997
12288
|
command?: string | undefined;
|
|
@@ -12012,12 +12303,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12012
12303
|
changeSetId?: string | undefined;
|
|
12013
12304
|
} | undefined;
|
|
12014
12305
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
12015
|
-
content?: {
|
|
12016
|
-
type: "image" | "text";
|
|
12017
|
-
text?: string | undefined;
|
|
12018
|
-
data?: string | undefined;
|
|
12019
|
-
mimeType?: string | undefined;
|
|
12020
|
-
}[] | undefined;
|
|
12021
12306
|
role?: "user" | "assistant" | "system" | undefined;
|
|
12022
12307
|
toolCall?: {
|
|
12023
12308
|
name: string;
|
|
@@ -12050,7 +12335,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12050
12335
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12051
12336
|
canonical?: boolean | undefined;
|
|
12052
12337
|
revision?: number | undefined;
|
|
12053
|
-
turnId?: string | undefined;
|
|
12054
12338
|
itemId?: string | undefined;
|
|
12055
12339
|
structuredInput?: {
|
|
12056
12340
|
requestId: string;
|
|
@@ -12091,6 +12375,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12091
12375
|
text: string;
|
|
12092
12376
|
}[] | undefined;
|
|
12093
12377
|
updatedAt?: number | undefined;
|
|
12378
|
+
turnId?: string | undefined;
|
|
12094
12379
|
text?: string | undefined;
|
|
12095
12380
|
permission?: {
|
|
12096
12381
|
options: {
|
|
@@ -12103,6 +12388,12 @@ export declare const protocolMessageSchemas: {
|
|
|
12103
12388
|
toolInput?: string | undefined;
|
|
12104
12389
|
context?: string | undefined;
|
|
12105
12390
|
} | undefined;
|
|
12391
|
+
content?: {
|
|
12392
|
+
type: "image" | "text";
|
|
12393
|
+
text?: string | undefined;
|
|
12394
|
+
data?: string | undefined;
|
|
12395
|
+
mimeType?: string | undefined;
|
|
12396
|
+
}[] | undefined;
|
|
12106
12397
|
commandExecution?: {
|
|
12107
12398
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
12108
12399
|
command?: string | undefined;
|
|
@@ -12123,12 +12414,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12123
12414
|
changeSetId?: string | undefined;
|
|
12124
12415
|
} | undefined;
|
|
12125
12416
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
12126
|
-
content?: {
|
|
12127
|
-
type: "image" | "text";
|
|
12128
|
-
text?: string | undefined;
|
|
12129
|
-
data?: string | undefined;
|
|
12130
|
-
mimeType?: string | undefined;
|
|
12131
|
-
}[] | undefined;
|
|
12132
12417
|
role?: "user" | "assistant" | "system" | undefined;
|
|
12133
12418
|
toolCall?: {
|
|
12134
12419
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -12161,7 +12446,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12161
12446
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12162
12447
|
canonical?: boolean | undefined;
|
|
12163
12448
|
revision?: number | undefined;
|
|
12164
|
-
turnId?: string | undefined;
|
|
12165
12449
|
itemId?: string | undefined;
|
|
12166
12450
|
structuredInput?: {
|
|
12167
12451
|
questions: {
|
|
@@ -12192,6 +12476,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12192
12476
|
provider: "codex" | "claude" | "custom";
|
|
12193
12477
|
agentSessionId?: string | undefined;
|
|
12194
12478
|
title?: string | undefined;
|
|
12479
|
+
runningTurnId?: string | undefined;
|
|
12195
12480
|
model?: string | undefined;
|
|
12196
12481
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12197
12482
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -12199,7 +12484,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12199
12484
|
collaborationMode?: "default" | "plan" | undefined;
|
|
12200
12485
|
timelineRevision?: number | undefined;
|
|
12201
12486
|
historyComplete?: boolean | undefined;
|
|
12202
|
-
runningTurnId?: string | undefined;
|
|
12203
12487
|
canonical?: boolean | undefined;
|
|
12204
12488
|
lastMessagePreview?: string | undefined;
|
|
12205
12489
|
}[];
|
|
@@ -12224,6 +12508,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12224
12508
|
text: string;
|
|
12225
12509
|
}[] | undefined;
|
|
12226
12510
|
updatedAt?: number | undefined;
|
|
12511
|
+
turnId?: string | undefined;
|
|
12227
12512
|
text?: string | undefined;
|
|
12228
12513
|
permission?: {
|
|
12229
12514
|
requestId: string;
|
|
@@ -12236,6 +12521,12 @@ export declare const protocolMessageSchemas: {
|
|
|
12236
12521
|
}[] | undefined;
|
|
12237
12522
|
context?: string | undefined;
|
|
12238
12523
|
} | undefined;
|
|
12524
|
+
content?: {
|
|
12525
|
+
type: "image" | "text";
|
|
12526
|
+
text?: string | undefined;
|
|
12527
|
+
data?: string | undefined;
|
|
12528
|
+
mimeType?: string | undefined;
|
|
12529
|
+
}[] | undefined;
|
|
12239
12530
|
commandExecution?: {
|
|
12240
12531
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
12241
12532
|
command?: string | undefined;
|
|
@@ -12256,12 +12547,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12256
12547
|
changeSetId?: string | undefined;
|
|
12257
12548
|
} | undefined;
|
|
12258
12549
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
12259
|
-
content?: {
|
|
12260
|
-
type: "image" | "text";
|
|
12261
|
-
text?: string | undefined;
|
|
12262
|
-
data?: string | undefined;
|
|
12263
|
-
mimeType?: string | undefined;
|
|
12264
|
-
}[] | undefined;
|
|
12265
12550
|
role?: "user" | "assistant" | "system" | undefined;
|
|
12266
12551
|
toolCall?: {
|
|
12267
12552
|
name: string;
|
|
@@ -12294,7 +12579,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12294
12579
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12295
12580
|
canonical?: boolean | undefined;
|
|
12296
12581
|
revision?: number | undefined;
|
|
12297
|
-
turnId?: string | undefined;
|
|
12298
12582
|
itemId?: string | undefined;
|
|
12299
12583
|
structuredInput?: {
|
|
12300
12584
|
requestId: string;
|
|
@@ -12330,6 +12614,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12330
12614
|
agentSessionId?: string | undefined;
|
|
12331
12615
|
title?: string | undefined;
|
|
12332
12616
|
archived?: boolean | undefined;
|
|
12617
|
+
runningTurnId?: string | undefined;
|
|
12333
12618
|
model?: string | undefined;
|
|
12334
12619
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12335
12620
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -12338,7 +12623,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12338
12623
|
collaborationMode?: "default" | "plan" | undefined;
|
|
12339
12624
|
timelineRevision?: number | undefined;
|
|
12340
12625
|
historyComplete?: boolean | undefined;
|
|
12341
|
-
runningTurnId?: string | undefined;
|
|
12342
12626
|
canonical?: boolean | undefined;
|
|
12343
12627
|
lastMessagePreview?: string | undefined;
|
|
12344
12628
|
}[] | undefined;
|
|
@@ -12392,6 +12676,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12392
12676
|
provider: "codex" | "claude" | "custom";
|
|
12393
12677
|
agentSessionId?: string | undefined;
|
|
12394
12678
|
title?: string | undefined;
|
|
12679
|
+
runningTurnId?: string | undefined;
|
|
12395
12680
|
model?: string | undefined;
|
|
12396
12681
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12397
12682
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -12399,7 +12684,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12399
12684
|
collaborationMode?: "default" | "plan" | undefined;
|
|
12400
12685
|
timelineRevision?: number | undefined;
|
|
12401
12686
|
historyComplete?: boolean | undefined;
|
|
12402
|
-
runningTurnId?: string | undefined;
|
|
12403
12687
|
canonical?: boolean | undefined;
|
|
12404
12688
|
lastMessagePreview?: string | undefined;
|
|
12405
12689
|
}, {
|
|
@@ -12411,6 +12695,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12411
12695
|
agentSessionId?: string | undefined;
|
|
12412
12696
|
title?: string | undefined;
|
|
12413
12697
|
archived?: boolean | undefined;
|
|
12698
|
+
runningTurnId?: string | undefined;
|
|
12414
12699
|
model?: string | undefined;
|
|
12415
12700
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12416
12701
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -12419,7 +12704,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12419
12704
|
collaborationMode?: "default" | "plan" | undefined;
|
|
12420
12705
|
timelineRevision?: number | undefined;
|
|
12421
12706
|
historyComplete?: boolean | undefined;
|
|
12422
|
-
runningTurnId?: string | undefined;
|
|
12423
12707
|
canonical?: boolean | undefined;
|
|
12424
12708
|
lastMessagePreview?: string | undefined;
|
|
12425
12709
|
}>>;
|
|
@@ -12765,6 +13049,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12765
13049
|
text: string;
|
|
12766
13050
|
}[] | undefined;
|
|
12767
13051
|
updatedAt?: number | undefined;
|
|
13052
|
+
turnId?: string | undefined;
|
|
12768
13053
|
text?: string | undefined;
|
|
12769
13054
|
permission?: {
|
|
12770
13055
|
options: {
|
|
@@ -12777,6 +13062,12 @@ export declare const protocolMessageSchemas: {
|
|
|
12777
13062
|
toolInput?: string | undefined;
|
|
12778
13063
|
context?: string | undefined;
|
|
12779
13064
|
} | undefined;
|
|
13065
|
+
content?: {
|
|
13066
|
+
type: "image" | "text";
|
|
13067
|
+
text?: string | undefined;
|
|
13068
|
+
data?: string | undefined;
|
|
13069
|
+
mimeType?: string | undefined;
|
|
13070
|
+
}[] | undefined;
|
|
12780
13071
|
commandExecution?: {
|
|
12781
13072
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
12782
13073
|
command?: string | undefined;
|
|
@@ -12797,12 +13088,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12797
13088
|
changeSetId?: string | undefined;
|
|
12798
13089
|
} | undefined;
|
|
12799
13090
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
12800
|
-
content?: {
|
|
12801
|
-
type: "image" | "text";
|
|
12802
|
-
text?: string | undefined;
|
|
12803
|
-
data?: string | undefined;
|
|
12804
|
-
mimeType?: string | undefined;
|
|
12805
|
-
}[] | undefined;
|
|
12806
13091
|
role?: "user" | "assistant" | "system" | undefined;
|
|
12807
13092
|
toolCall?: {
|
|
12808
13093
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -12835,7 +13120,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12835
13120
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12836
13121
|
canonical?: boolean | undefined;
|
|
12837
13122
|
revision?: number | undefined;
|
|
12838
|
-
turnId?: string | undefined;
|
|
12839
13123
|
itemId?: string | undefined;
|
|
12840
13124
|
structuredInput?: {
|
|
12841
13125
|
questions: {
|
|
@@ -12868,6 +13152,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12868
13152
|
text: string;
|
|
12869
13153
|
}[] | undefined;
|
|
12870
13154
|
updatedAt?: number | undefined;
|
|
13155
|
+
turnId?: string | undefined;
|
|
12871
13156
|
text?: string | undefined;
|
|
12872
13157
|
permission?: {
|
|
12873
13158
|
requestId: string;
|
|
@@ -12880,6 +13165,12 @@ export declare const protocolMessageSchemas: {
|
|
|
12880
13165
|
}[] | undefined;
|
|
12881
13166
|
context?: string | undefined;
|
|
12882
13167
|
} | undefined;
|
|
13168
|
+
content?: {
|
|
13169
|
+
type: "image" | "text";
|
|
13170
|
+
text?: string | undefined;
|
|
13171
|
+
data?: string | undefined;
|
|
13172
|
+
mimeType?: string | undefined;
|
|
13173
|
+
}[] | undefined;
|
|
12883
13174
|
commandExecution?: {
|
|
12884
13175
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
12885
13176
|
command?: string | undefined;
|
|
@@ -12900,12 +13191,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12900
13191
|
changeSetId?: string | undefined;
|
|
12901
13192
|
} | undefined;
|
|
12902
13193
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
12903
|
-
content?: {
|
|
12904
|
-
type: "image" | "text";
|
|
12905
|
-
text?: string | undefined;
|
|
12906
|
-
data?: string | undefined;
|
|
12907
|
-
mimeType?: string | undefined;
|
|
12908
|
-
}[] | undefined;
|
|
12909
13194
|
role?: "user" | "assistant" | "system" | undefined;
|
|
12910
13195
|
toolCall?: {
|
|
12911
13196
|
name: string;
|
|
@@ -12938,7 +13223,6 @@ export declare const protocolMessageSchemas: {
|
|
|
12938
13223
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
12939
13224
|
canonical?: boolean | undefined;
|
|
12940
13225
|
revision?: number | undefined;
|
|
12941
|
-
turnId?: string | undefined;
|
|
12942
13226
|
itemId?: string | undefined;
|
|
12943
13227
|
structuredInput?: {
|
|
12944
13228
|
requestId: string;
|
|
@@ -12978,6 +13262,7 @@ export declare const protocolMessageSchemas: {
|
|
|
12978
13262
|
text: string;
|
|
12979
13263
|
}[] | undefined;
|
|
12980
13264
|
updatedAt?: number | undefined;
|
|
13265
|
+
turnId?: string | undefined;
|
|
12981
13266
|
text?: string | undefined;
|
|
12982
13267
|
permission?: {
|
|
12983
13268
|
options: {
|
|
@@ -12990,6 +13275,12 @@ export declare const protocolMessageSchemas: {
|
|
|
12990
13275
|
toolInput?: string | undefined;
|
|
12991
13276
|
context?: string | undefined;
|
|
12992
13277
|
} | undefined;
|
|
13278
|
+
content?: {
|
|
13279
|
+
type: "image" | "text";
|
|
13280
|
+
text?: string | undefined;
|
|
13281
|
+
data?: string | undefined;
|
|
13282
|
+
mimeType?: string | undefined;
|
|
13283
|
+
}[] | undefined;
|
|
12993
13284
|
commandExecution?: {
|
|
12994
13285
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
12995
13286
|
command?: string | undefined;
|
|
@@ -13010,12 +13301,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13010
13301
|
changeSetId?: string | undefined;
|
|
13011
13302
|
} | undefined;
|
|
13012
13303
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
13013
|
-
content?: {
|
|
13014
|
-
type: "image" | "text";
|
|
13015
|
-
text?: string | undefined;
|
|
13016
|
-
data?: string | undefined;
|
|
13017
|
-
mimeType?: string | undefined;
|
|
13018
|
-
}[] | undefined;
|
|
13019
13304
|
role?: "user" | "assistant" | "system" | undefined;
|
|
13020
13305
|
toolCall?: {
|
|
13021
13306
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -13048,7 +13333,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13048
13333
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13049
13334
|
canonical?: boolean | undefined;
|
|
13050
13335
|
revision?: number | undefined;
|
|
13051
|
-
turnId?: string | undefined;
|
|
13052
13336
|
itemId?: string | undefined;
|
|
13053
13337
|
structuredInput?: {
|
|
13054
13338
|
questions: {
|
|
@@ -13084,6 +13368,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13084
13368
|
provider: "codex" | "claude" | "custom";
|
|
13085
13369
|
agentSessionId?: string | undefined;
|
|
13086
13370
|
title?: string | undefined;
|
|
13371
|
+
runningTurnId?: string | undefined;
|
|
13087
13372
|
model?: string | undefined;
|
|
13088
13373
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13089
13374
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -13091,7 +13376,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13091
13376
|
collaborationMode?: "default" | "plan" | undefined;
|
|
13092
13377
|
timelineRevision?: number | undefined;
|
|
13093
13378
|
historyComplete?: boolean | undefined;
|
|
13094
|
-
runningTurnId?: string | undefined;
|
|
13095
13379
|
canonical?: boolean | undefined;
|
|
13096
13380
|
lastMessagePreview?: string | undefined;
|
|
13097
13381
|
} | undefined;
|
|
@@ -13112,6 +13396,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13112
13396
|
text: string;
|
|
13113
13397
|
}[] | undefined;
|
|
13114
13398
|
updatedAt?: number | undefined;
|
|
13399
|
+
turnId?: string | undefined;
|
|
13115
13400
|
text?: string | undefined;
|
|
13116
13401
|
permission?: {
|
|
13117
13402
|
requestId: string;
|
|
@@ -13124,6 +13409,12 @@ export declare const protocolMessageSchemas: {
|
|
|
13124
13409
|
}[] | undefined;
|
|
13125
13410
|
context?: string | undefined;
|
|
13126
13411
|
} | undefined;
|
|
13412
|
+
content?: {
|
|
13413
|
+
type: "image" | "text";
|
|
13414
|
+
text?: string | undefined;
|
|
13415
|
+
data?: string | undefined;
|
|
13416
|
+
mimeType?: string | undefined;
|
|
13417
|
+
}[] | undefined;
|
|
13127
13418
|
commandExecution?: {
|
|
13128
13419
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
13129
13420
|
command?: string | undefined;
|
|
@@ -13144,12 +13435,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13144
13435
|
changeSetId?: string | undefined;
|
|
13145
13436
|
} | undefined;
|
|
13146
13437
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
13147
|
-
content?: {
|
|
13148
|
-
type: "image" | "text";
|
|
13149
|
-
text?: string | undefined;
|
|
13150
|
-
data?: string | undefined;
|
|
13151
|
-
mimeType?: string | undefined;
|
|
13152
|
-
}[] | undefined;
|
|
13153
13438
|
role?: "user" | "assistant" | "system" | undefined;
|
|
13154
13439
|
toolCall?: {
|
|
13155
13440
|
name: string;
|
|
@@ -13182,7 +13467,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13182
13467
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13183
13468
|
canonical?: boolean | undefined;
|
|
13184
13469
|
revision?: number | undefined;
|
|
13185
|
-
turnId?: string | undefined;
|
|
13186
13470
|
itemId?: string | undefined;
|
|
13187
13471
|
structuredInput?: {
|
|
13188
13472
|
requestId: string;
|
|
@@ -13214,6 +13498,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13214
13498
|
agentSessionId?: string | undefined;
|
|
13215
13499
|
title?: string | undefined;
|
|
13216
13500
|
archived?: boolean | undefined;
|
|
13501
|
+
runningTurnId?: string | undefined;
|
|
13217
13502
|
model?: string | undefined;
|
|
13218
13503
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13219
13504
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -13222,7 +13507,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13222
13507
|
collaborationMode?: "default" | "plan" | undefined;
|
|
13223
13508
|
timelineRevision?: number | undefined;
|
|
13224
13509
|
historyComplete?: boolean | undefined;
|
|
13225
|
-
runningTurnId?: string | undefined;
|
|
13226
13510
|
canonical?: boolean | undefined;
|
|
13227
13511
|
lastMessagePreview?: string | undefined;
|
|
13228
13512
|
} | undefined;
|
|
@@ -13274,6 +13558,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13274
13558
|
provider: "codex" | "claude" | "custom";
|
|
13275
13559
|
agentSessionId?: string | undefined;
|
|
13276
13560
|
title?: string | undefined;
|
|
13561
|
+
runningTurnId?: string | undefined;
|
|
13277
13562
|
model?: string | undefined;
|
|
13278
13563
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13279
13564
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -13281,7 +13566,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13281
13566
|
collaborationMode?: "default" | "plan" | undefined;
|
|
13282
13567
|
timelineRevision?: number | undefined;
|
|
13283
13568
|
historyComplete?: boolean | undefined;
|
|
13284
|
-
runningTurnId?: string | undefined;
|
|
13285
13569
|
canonical?: boolean | undefined;
|
|
13286
13570
|
lastMessagePreview?: string | undefined;
|
|
13287
13571
|
}, {
|
|
@@ -13293,6 +13577,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13293
13577
|
agentSessionId?: string | undefined;
|
|
13294
13578
|
title?: string | undefined;
|
|
13295
13579
|
archived?: boolean | undefined;
|
|
13580
|
+
runningTurnId?: string | undefined;
|
|
13296
13581
|
model?: string | undefined;
|
|
13297
13582
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13298
13583
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -13301,7 +13586,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13301
13586
|
collaborationMode?: "default" | "plan" | undefined;
|
|
13302
13587
|
timelineRevision?: number | undefined;
|
|
13303
13588
|
historyComplete?: boolean | undefined;
|
|
13304
|
-
runningTurnId?: string | undefined;
|
|
13305
13589
|
canonical?: boolean | undefined;
|
|
13306
13590
|
lastMessagePreview?: string | undefined;
|
|
13307
13591
|
}>>;
|
|
@@ -13647,6 +13931,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13647
13931
|
text: string;
|
|
13648
13932
|
}[] | undefined;
|
|
13649
13933
|
updatedAt?: number | undefined;
|
|
13934
|
+
turnId?: string | undefined;
|
|
13650
13935
|
text?: string | undefined;
|
|
13651
13936
|
permission?: {
|
|
13652
13937
|
options: {
|
|
@@ -13659,6 +13944,12 @@ export declare const protocolMessageSchemas: {
|
|
|
13659
13944
|
toolInput?: string | undefined;
|
|
13660
13945
|
context?: string | undefined;
|
|
13661
13946
|
} | undefined;
|
|
13947
|
+
content?: {
|
|
13948
|
+
type: "image" | "text";
|
|
13949
|
+
text?: string | undefined;
|
|
13950
|
+
data?: string | undefined;
|
|
13951
|
+
mimeType?: string | undefined;
|
|
13952
|
+
}[] | undefined;
|
|
13662
13953
|
commandExecution?: {
|
|
13663
13954
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
13664
13955
|
command?: string | undefined;
|
|
@@ -13679,12 +13970,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13679
13970
|
changeSetId?: string | undefined;
|
|
13680
13971
|
} | undefined;
|
|
13681
13972
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
13682
|
-
content?: {
|
|
13683
|
-
type: "image" | "text";
|
|
13684
|
-
text?: string | undefined;
|
|
13685
|
-
data?: string | undefined;
|
|
13686
|
-
mimeType?: string | undefined;
|
|
13687
|
-
}[] | undefined;
|
|
13688
13973
|
role?: "user" | "assistant" | "system" | undefined;
|
|
13689
13974
|
toolCall?: {
|
|
13690
13975
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -13717,7 +14002,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13717
14002
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13718
14003
|
canonical?: boolean | undefined;
|
|
13719
14004
|
revision?: number | undefined;
|
|
13720
|
-
turnId?: string | undefined;
|
|
13721
14005
|
itemId?: string | undefined;
|
|
13722
14006
|
structuredInput?: {
|
|
13723
14007
|
questions: {
|
|
@@ -13750,6 +14034,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13750
14034
|
text: string;
|
|
13751
14035
|
}[] | undefined;
|
|
13752
14036
|
updatedAt?: number | undefined;
|
|
14037
|
+
turnId?: string | undefined;
|
|
13753
14038
|
text?: string | undefined;
|
|
13754
14039
|
permission?: {
|
|
13755
14040
|
requestId: string;
|
|
@@ -13762,6 +14047,12 @@ export declare const protocolMessageSchemas: {
|
|
|
13762
14047
|
}[] | undefined;
|
|
13763
14048
|
context?: string | undefined;
|
|
13764
14049
|
} | undefined;
|
|
14050
|
+
content?: {
|
|
14051
|
+
type: "image" | "text";
|
|
14052
|
+
text?: string | undefined;
|
|
14053
|
+
data?: string | undefined;
|
|
14054
|
+
mimeType?: string | undefined;
|
|
14055
|
+
}[] | undefined;
|
|
13765
14056
|
commandExecution?: {
|
|
13766
14057
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
13767
14058
|
command?: string | undefined;
|
|
@@ -13782,12 +14073,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13782
14073
|
changeSetId?: string | undefined;
|
|
13783
14074
|
} | undefined;
|
|
13784
14075
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
13785
|
-
content?: {
|
|
13786
|
-
type: "image" | "text";
|
|
13787
|
-
text?: string | undefined;
|
|
13788
|
-
data?: string | undefined;
|
|
13789
|
-
mimeType?: string | undefined;
|
|
13790
|
-
}[] | undefined;
|
|
13791
14076
|
role?: "user" | "assistant" | "system" | undefined;
|
|
13792
14077
|
toolCall?: {
|
|
13793
14078
|
name: string;
|
|
@@ -13820,7 +14105,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13820
14105
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13821
14106
|
canonical?: boolean | undefined;
|
|
13822
14107
|
revision?: number | undefined;
|
|
13823
|
-
turnId?: string | undefined;
|
|
13824
14108
|
itemId?: string | undefined;
|
|
13825
14109
|
structuredInput?: {
|
|
13826
14110
|
requestId: string;
|
|
@@ -13862,6 +14146,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13862
14146
|
text: string;
|
|
13863
14147
|
}[] | undefined;
|
|
13864
14148
|
updatedAt?: number | undefined;
|
|
14149
|
+
turnId?: string | undefined;
|
|
13865
14150
|
text?: string | undefined;
|
|
13866
14151
|
permission?: {
|
|
13867
14152
|
options: {
|
|
@@ -13874,6 +14159,12 @@ export declare const protocolMessageSchemas: {
|
|
|
13874
14159
|
toolInput?: string | undefined;
|
|
13875
14160
|
context?: string | undefined;
|
|
13876
14161
|
} | undefined;
|
|
14162
|
+
content?: {
|
|
14163
|
+
type: "image" | "text";
|
|
14164
|
+
text?: string | undefined;
|
|
14165
|
+
data?: string | undefined;
|
|
14166
|
+
mimeType?: string | undefined;
|
|
14167
|
+
}[] | undefined;
|
|
13877
14168
|
commandExecution?: {
|
|
13878
14169
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
13879
14170
|
command?: string | undefined;
|
|
@@ -13894,12 +14185,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13894
14185
|
changeSetId?: string | undefined;
|
|
13895
14186
|
} | undefined;
|
|
13896
14187
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
13897
|
-
content?: {
|
|
13898
|
-
type: "image" | "text";
|
|
13899
|
-
text?: string | undefined;
|
|
13900
|
-
data?: string | undefined;
|
|
13901
|
-
mimeType?: string | undefined;
|
|
13902
|
-
}[] | undefined;
|
|
13903
14188
|
role?: "user" | "assistant" | "system" | undefined;
|
|
13904
14189
|
toolCall?: {
|
|
13905
14190
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -13932,7 +14217,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13932
14217
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13933
14218
|
canonical?: boolean | undefined;
|
|
13934
14219
|
revision?: number | undefined;
|
|
13935
|
-
turnId?: string | undefined;
|
|
13936
14220
|
itemId?: string | undefined;
|
|
13937
14221
|
structuredInput?: {
|
|
13938
14222
|
questions: {
|
|
@@ -13969,6 +14253,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13969
14253
|
provider: "codex" | "claude" | "custom";
|
|
13970
14254
|
agentSessionId?: string | undefined;
|
|
13971
14255
|
title?: string | undefined;
|
|
14256
|
+
runningTurnId?: string | undefined;
|
|
13972
14257
|
model?: string | undefined;
|
|
13973
14258
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
13974
14259
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -13976,7 +14261,6 @@ export declare const protocolMessageSchemas: {
|
|
|
13976
14261
|
collaborationMode?: "default" | "plan" | undefined;
|
|
13977
14262
|
timelineRevision?: number | undefined;
|
|
13978
14263
|
historyComplete?: boolean | undefined;
|
|
13979
|
-
runningTurnId?: string | undefined;
|
|
13980
14264
|
canonical?: boolean | undefined;
|
|
13981
14265
|
lastMessagePreview?: string | undefined;
|
|
13982
14266
|
} | undefined;
|
|
@@ -13998,6 +14282,7 @@ export declare const protocolMessageSchemas: {
|
|
|
13998
14282
|
text: string;
|
|
13999
14283
|
}[] | undefined;
|
|
14000
14284
|
updatedAt?: number | undefined;
|
|
14285
|
+
turnId?: string | undefined;
|
|
14001
14286
|
text?: string | undefined;
|
|
14002
14287
|
permission?: {
|
|
14003
14288
|
requestId: string;
|
|
@@ -14010,6 +14295,12 @@ export declare const protocolMessageSchemas: {
|
|
|
14010
14295
|
}[] | undefined;
|
|
14011
14296
|
context?: string | undefined;
|
|
14012
14297
|
} | undefined;
|
|
14298
|
+
content?: {
|
|
14299
|
+
type: "image" | "text";
|
|
14300
|
+
text?: string | undefined;
|
|
14301
|
+
data?: string | undefined;
|
|
14302
|
+
mimeType?: string | undefined;
|
|
14303
|
+
}[] | undefined;
|
|
14013
14304
|
commandExecution?: {
|
|
14014
14305
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
14015
14306
|
command?: string | undefined;
|
|
@@ -14030,12 +14321,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14030
14321
|
changeSetId?: string | undefined;
|
|
14031
14322
|
} | undefined;
|
|
14032
14323
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
14033
|
-
content?: {
|
|
14034
|
-
type: "image" | "text";
|
|
14035
|
-
text?: string | undefined;
|
|
14036
|
-
data?: string | undefined;
|
|
14037
|
-
mimeType?: string | undefined;
|
|
14038
|
-
}[] | undefined;
|
|
14039
14324
|
role?: "user" | "assistant" | "system" | undefined;
|
|
14040
14325
|
toolCall?: {
|
|
14041
14326
|
name: string;
|
|
@@ -14068,7 +14353,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14068
14353
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14069
14354
|
canonical?: boolean | undefined;
|
|
14070
14355
|
revision?: number | undefined;
|
|
14071
|
-
turnId?: string | undefined;
|
|
14072
14356
|
itemId?: string | undefined;
|
|
14073
14357
|
structuredInput?: {
|
|
14074
14358
|
requestId: string;
|
|
@@ -14101,6 +14385,7 @@ export declare const protocolMessageSchemas: {
|
|
|
14101
14385
|
agentSessionId?: string | undefined;
|
|
14102
14386
|
title?: string | undefined;
|
|
14103
14387
|
archived?: boolean | undefined;
|
|
14388
|
+
runningTurnId?: string | undefined;
|
|
14104
14389
|
model?: string | undefined;
|
|
14105
14390
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14106
14391
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -14109,7 +14394,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14109
14394
|
collaborationMode?: "default" | "plan" | undefined;
|
|
14110
14395
|
timelineRevision?: number | undefined;
|
|
14111
14396
|
historyComplete?: boolean | undefined;
|
|
14112
|
-
runningTurnId?: string | undefined;
|
|
14113
14397
|
canonical?: boolean | undefined;
|
|
14114
14398
|
lastMessagePreview?: string | undefined;
|
|
14115
14399
|
} | undefined;
|
|
@@ -14140,8 +14424,8 @@ export declare const protocolMessageSchemas: {
|
|
|
14140
14424
|
updatedAt: number;
|
|
14141
14425
|
conversationId: string;
|
|
14142
14426
|
error?: string | undefined;
|
|
14143
|
-
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14144
14427
|
runningTurnId?: string | undefined;
|
|
14428
|
+
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14145
14429
|
canonical?: boolean | undefined;
|
|
14146
14430
|
revision?: number | undefined;
|
|
14147
14431
|
}>;
|
|
@@ -14177,6 +14461,7 @@ export declare const protocolMessageSchemas: {
|
|
|
14177
14461
|
provider: "codex" | "claude" | "custom";
|
|
14178
14462
|
agentSessionId?: string | undefined;
|
|
14179
14463
|
title?: string | undefined;
|
|
14464
|
+
runningTurnId?: string | undefined;
|
|
14180
14465
|
model?: string | undefined;
|
|
14181
14466
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14182
14467
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -14184,7 +14469,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14184
14469
|
collaborationMode?: "default" | "plan" | undefined;
|
|
14185
14470
|
timelineRevision?: number | undefined;
|
|
14186
14471
|
historyComplete?: boolean | undefined;
|
|
14187
|
-
runningTurnId?: string | undefined;
|
|
14188
14472
|
canonical?: boolean | undefined;
|
|
14189
14473
|
lastMessagePreview?: string | undefined;
|
|
14190
14474
|
}, {
|
|
@@ -14196,6 +14480,7 @@ export declare const protocolMessageSchemas: {
|
|
|
14196
14480
|
agentSessionId?: string | undefined;
|
|
14197
14481
|
title?: string | undefined;
|
|
14198
14482
|
archived?: boolean | undefined;
|
|
14483
|
+
runningTurnId?: string | undefined;
|
|
14199
14484
|
model?: string | undefined;
|
|
14200
14485
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14201
14486
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -14204,7 +14489,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14204
14489
|
collaborationMode?: "default" | "plan" | undefined;
|
|
14205
14490
|
timelineRevision?: number | undefined;
|
|
14206
14491
|
historyComplete?: boolean | undefined;
|
|
14207
|
-
runningTurnId?: string | undefined;
|
|
14208
14492
|
canonical?: boolean | undefined;
|
|
14209
14493
|
lastMessagePreview?: string | undefined;
|
|
14210
14494
|
}>>;
|
|
@@ -14550,6 +14834,7 @@ export declare const protocolMessageSchemas: {
|
|
|
14550
14834
|
text: string;
|
|
14551
14835
|
}[] | undefined;
|
|
14552
14836
|
updatedAt?: number | undefined;
|
|
14837
|
+
turnId?: string | undefined;
|
|
14553
14838
|
text?: string | undefined;
|
|
14554
14839
|
permission?: {
|
|
14555
14840
|
options: {
|
|
@@ -14562,6 +14847,12 @@ export declare const protocolMessageSchemas: {
|
|
|
14562
14847
|
toolInput?: string | undefined;
|
|
14563
14848
|
context?: string | undefined;
|
|
14564
14849
|
} | undefined;
|
|
14850
|
+
content?: {
|
|
14851
|
+
type: "image" | "text";
|
|
14852
|
+
text?: string | undefined;
|
|
14853
|
+
data?: string | undefined;
|
|
14854
|
+
mimeType?: string | undefined;
|
|
14855
|
+
}[] | undefined;
|
|
14565
14856
|
commandExecution?: {
|
|
14566
14857
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
14567
14858
|
command?: string | undefined;
|
|
@@ -14582,12 +14873,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14582
14873
|
changeSetId?: string | undefined;
|
|
14583
14874
|
} | undefined;
|
|
14584
14875
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
14585
|
-
content?: {
|
|
14586
|
-
type: "image" | "text";
|
|
14587
|
-
text?: string | undefined;
|
|
14588
|
-
data?: string | undefined;
|
|
14589
|
-
mimeType?: string | undefined;
|
|
14590
|
-
}[] | undefined;
|
|
14591
14876
|
role?: "user" | "assistant" | "system" | undefined;
|
|
14592
14877
|
toolCall?: {
|
|
14593
14878
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -14620,7 +14905,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14620
14905
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14621
14906
|
canonical?: boolean | undefined;
|
|
14622
14907
|
revision?: number | undefined;
|
|
14623
|
-
turnId?: string | undefined;
|
|
14624
14908
|
itemId?: string | undefined;
|
|
14625
14909
|
structuredInput?: {
|
|
14626
14910
|
questions: {
|
|
@@ -14653,6 +14937,7 @@ export declare const protocolMessageSchemas: {
|
|
|
14653
14937
|
text: string;
|
|
14654
14938
|
}[] | undefined;
|
|
14655
14939
|
updatedAt?: number | undefined;
|
|
14940
|
+
turnId?: string | undefined;
|
|
14656
14941
|
text?: string | undefined;
|
|
14657
14942
|
permission?: {
|
|
14658
14943
|
requestId: string;
|
|
@@ -14665,6 +14950,12 @@ export declare const protocolMessageSchemas: {
|
|
|
14665
14950
|
}[] | undefined;
|
|
14666
14951
|
context?: string | undefined;
|
|
14667
14952
|
} | undefined;
|
|
14953
|
+
content?: {
|
|
14954
|
+
type: "image" | "text";
|
|
14955
|
+
text?: string | undefined;
|
|
14956
|
+
data?: string | undefined;
|
|
14957
|
+
mimeType?: string | undefined;
|
|
14958
|
+
}[] | undefined;
|
|
14668
14959
|
commandExecution?: {
|
|
14669
14960
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
14670
14961
|
command?: string | undefined;
|
|
@@ -14685,12 +14976,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14685
14976
|
changeSetId?: string | undefined;
|
|
14686
14977
|
} | undefined;
|
|
14687
14978
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
14688
|
-
content?: {
|
|
14689
|
-
type: "image" | "text";
|
|
14690
|
-
text?: string | undefined;
|
|
14691
|
-
data?: string | undefined;
|
|
14692
|
-
mimeType?: string | undefined;
|
|
14693
|
-
}[] | undefined;
|
|
14694
14979
|
role?: "user" | "assistant" | "system" | undefined;
|
|
14695
14980
|
toolCall?: {
|
|
14696
14981
|
name: string;
|
|
@@ -14723,7 +15008,6 @@ export declare const protocolMessageSchemas: {
|
|
|
14723
15008
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
14724
15009
|
canonical?: boolean | undefined;
|
|
14725
15010
|
revision?: number | undefined;
|
|
14726
|
-
turnId?: string | undefined;
|
|
14727
15011
|
itemId?: string | undefined;
|
|
14728
15012
|
structuredInput?: {
|
|
14729
15013
|
requestId: string;
|
|
@@ -15091,6 +15375,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15091
15375
|
toolInput?: string | undefined;
|
|
15092
15376
|
context?: string | undefined;
|
|
15093
15377
|
} | undefined;
|
|
15378
|
+
content?: {
|
|
15379
|
+
type: "image" | "text";
|
|
15380
|
+
text?: string | undefined;
|
|
15381
|
+
data?: string | undefined;
|
|
15382
|
+
mimeType?: string | undefined;
|
|
15383
|
+
}[] | undefined;
|
|
15094
15384
|
commandExecution?: {
|
|
15095
15385
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15096
15386
|
command?: string | undefined;
|
|
@@ -15111,12 +15401,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15111
15401
|
changeSetId?: string | undefined;
|
|
15112
15402
|
} | undefined;
|
|
15113
15403
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15114
|
-
content?: {
|
|
15115
|
-
type: "image" | "text";
|
|
15116
|
-
text?: string | undefined;
|
|
15117
|
-
data?: string | undefined;
|
|
15118
|
-
mimeType?: string | undefined;
|
|
15119
|
-
}[] | undefined;
|
|
15120
15404
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15121
15405
|
toolCall?: {
|
|
15122
15406
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -15187,6 +15471,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15187
15471
|
}[] | undefined;
|
|
15188
15472
|
context?: string | undefined;
|
|
15189
15473
|
} | undefined;
|
|
15474
|
+
content?: {
|
|
15475
|
+
type: "image" | "text";
|
|
15476
|
+
text?: string | undefined;
|
|
15477
|
+
data?: string | undefined;
|
|
15478
|
+
mimeType?: string | undefined;
|
|
15479
|
+
}[] | undefined;
|
|
15190
15480
|
commandExecution?: {
|
|
15191
15481
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15192
15482
|
command?: string | undefined;
|
|
@@ -15207,12 +15497,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15207
15497
|
changeSetId?: string | undefined;
|
|
15208
15498
|
} | undefined;
|
|
15209
15499
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15210
|
-
content?: {
|
|
15211
|
-
type: "image" | "text";
|
|
15212
|
-
text?: string | undefined;
|
|
15213
|
-
data?: string | undefined;
|
|
15214
|
-
mimeType?: string | undefined;
|
|
15215
|
-
}[] | undefined;
|
|
15216
15500
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15217
15501
|
toolCall?: {
|
|
15218
15502
|
name: string;
|
|
@@ -15277,6 +15561,7 @@ export declare const protocolMessageSchemas: {
|
|
|
15277
15561
|
text: string;
|
|
15278
15562
|
}[] | undefined;
|
|
15279
15563
|
updatedAt?: number | undefined;
|
|
15564
|
+
turnId?: string | undefined;
|
|
15280
15565
|
text?: string | undefined;
|
|
15281
15566
|
permission?: {
|
|
15282
15567
|
options: {
|
|
@@ -15289,6 +15574,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15289
15574
|
toolInput?: string | undefined;
|
|
15290
15575
|
context?: string | undefined;
|
|
15291
15576
|
} | undefined;
|
|
15577
|
+
content?: {
|
|
15578
|
+
type: "image" | "text";
|
|
15579
|
+
text?: string | undefined;
|
|
15580
|
+
data?: string | undefined;
|
|
15581
|
+
mimeType?: string | undefined;
|
|
15582
|
+
}[] | undefined;
|
|
15292
15583
|
commandExecution?: {
|
|
15293
15584
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15294
15585
|
command?: string | undefined;
|
|
@@ -15309,12 +15600,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15309
15600
|
changeSetId?: string | undefined;
|
|
15310
15601
|
} | undefined;
|
|
15311
15602
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15312
|
-
content?: {
|
|
15313
|
-
type: "image" | "text";
|
|
15314
|
-
text?: string | undefined;
|
|
15315
|
-
data?: string | undefined;
|
|
15316
|
-
mimeType?: string | undefined;
|
|
15317
|
-
}[] | undefined;
|
|
15318
15603
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15319
15604
|
toolCall?: {
|
|
15320
15605
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -15347,7 +15632,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15347
15632
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
15348
15633
|
canonical?: boolean | undefined;
|
|
15349
15634
|
revision?: number | undefined;
|
|
15350
|
-
turnId?: string | undefined;
|
|
15351
15635
|
itemId?: string | undefined;
|
|
15352
15636
|
structuredInput?: {
|
|
15353
15637
|
questions: {
|
|
@@ -15390,6 +15674,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15390
15674
|
toolInput?: string | undefined;
|
|
15391
15675
|
context?: string | undefined;
|
|
15392
15676
|
} | undefined;
|
|
15677
|
+
content?: {
|
|
15678
|
+
type: "image" | "text";
|
|
15679
|
+
text?: string | undefined;
|
|
15680
|
+
data?: string | undefined;
|
|
15681
|
+
mimeType?: string | undefined;
|
|
15682
|
+
}[] | undefined;
|
|
15393
15683
|
commandExecution?: {
|
|
15394
15684
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15395
15685
|
command?: string | undefined;
|
|
@@ -15410,12 +15700,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15410
15700
|
changeSetId?: string | undefined;
|
|
15411
15701
|
} | undefined;
|
|
15412
15702
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15413
|
-
content?: {
|
|
15414
|
-
type: "image" | "text";
|
|
15415
|
-
text?: string | undefined;
|
|
15416
|
-
data?: string | undefined;
|
|
15417
|
-
mimeType?: string | undefined;
|
|
15418
|
-
}[] | undefined;
|
|
15419
15703
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15420
15704
|
toolCall?: {
|
|
15421
15705
|
status: "running" | "pending" | "completed" | "failed";
|
|
@@ -15477,6 +15761,7 @@ export declare const protocolMessageSchemas: {
|
|
|
15477
15761
|
provider: "codex" | "claude" | "custom";
|
|
15478
15762
|
agentSessionId?: string | undefined;
|
|
15479
15763
|
title?: string | undefined;
|
|
15764
|
+
runningTurnId?: string | undefined;
|
|
15480
15765
|
model?: string | undefined;
|
|
15481
15766
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
15482
15767
|
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
@@ -15484,7 +15769,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15484
15769
|
collaborationMode?: "default" | "plan" | undefined;
|
|
15485
15770
|
timelineRevision?: number | undefined;
|
|
15486
15771
|
historyComplete?: boolean | undefined;
|
|
15487
|
-
runningTurnId?: string | undefined;
|
|
15488
15772
|
canonical?: boolean | undefined;
|
|
15489
15773
|
lastMessagePreview?: string | undefined;
|
|
15490
15774
|
} | undefined;
|
|
@@ -15504,6 +15788,7 @@ export declare const protocolMessageSchemas: {
|
|
|
15504
15788
|
text: string;
|
|
15505
15789
|
}[] | undefined;
|
|
15506
15790
|
updatedAt?: number | undefined;
|
|
15791
|
+
turnId?: string | undefined;
|
|
15507
15792
|
text?: string | undefined;
|
|
15508
15793
|
permission?: {
|
|
15509
15794
|
requestId: string;
|
|
@@ -15516,6 +15801,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15516
15801
|
}[] | undefined;
|
|
15517
15802
|
context?: string | undefined;
|
|
15518
15803
|
} | undefined;
|
|
15804
|
+
content?: {
|
|
15805
|
+
type: "image" | "text";
|
|
15806
|
+
text?: string | undefined;
|
|
15807
|
+
data?: string | undefined;
|
|
15808
|
+
mimeType?: string | undefined;
|
|
15809
|
+
}[] | undefined;
|
|
15519
15810
|
commandExecution?: {
|
|
15520
15811
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15521
15812
|
command?: string | undefined;
|
|
@@ -15536,12 +15827,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15536
15827
|
changeSetId?: string | undefined;
|
|
15537
15828
|
} | undefined;
|
|
15538
15829
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15539
|
-
content?: {
|
|
15540
|
-
type: "image" | "text";
|
|
15541
|
-
text?: string | undefined;
|
|
15542
|
-
data?: string | undefined;
|
|
15543
|
-
mimeType?: string | undefined;
|
|
15544
|
-
}[] | undefined;
|
|
15545
15830
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15546
15831
|
toolCall?: {
|
|
15547
15832
|
name: string;
|
|
@@ -15574,7 +15859,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15574
15859
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
15575
15860
|
canonical?: boolean | undefined;
|
|
15576
15861
|
revision?: number | undefined;
|
|
15577
|
-
turnId?: string | undefined;
|
|
15578
15862
|
itemId?: string | undefined;
|
|
15579
15863
|
structuredInput?: {
|
|
15580
15864
|
requestId: string;
|
|
@@ -15617,6 +15901,12 @@ export declare const protocolMessageSchemas: {
|
|
|
15617
15901
|
}[] | undefined;
|
|
15618
15902
|
context?: string | undefined;
|
|
15619
15903
|
} | undefined;
|
|
15904
|
+
content?: {
|
|
15905
|
+
type: "image" | "text";
|
|
15906
|
+
text?: string | undefined;
|
|
15907
|
+
data?: string | undefined;
|
|
15908
|
+
mimeType?: string | undefined;
|
|
15909
|
+
}[] | undefined;
|
|
15620
15910
|
commandExecution?: {
|
|
15621
15911
|
status?: "running" | "pending" | "completed" | "failed" | undefined;
|
|
15622
15912
|
command?: string | undefined;
|
|
@@ -15637,12 +15927,6 @@ export declare const protocolMessageSchemas: {
|
|
|
15637
15927
|
changeSetId?: string | undefined;
|
|
15638
15928
|
} | undefined;
|
|
15639
15929
|
kind?: "plan" | "chat" | "thinking" | "tool_activity" | "command_execution" | "file_change" | "subagent_action" | "user_input_prompt" | "review" | "context_compaction" | undefined;
|
|
15640
|
-
content?: {
|
|
15641
|
-
type: "image" | "text";
|
|
15642
|
-
text?: string | undefined;
|
|
15643
|
-
data?: string | undefined;
|
|
15644
|
-
mimeType?: string | undefined;
|
|
15645
|
-
}[] | undefined;
|
|
15646
15930
|
role?: "user" | "assistant" | "system" | undefined;
|
|
15647
15931
|
toolCall?: {
|
|
15648
15932
|
name: string;
|
|
@@ -15703,6 +15987,7 @@ export declare const protocolMessageSchemas: {
|
|
|
15703
15987
|
agentSessionId?: string | undefined;
|
|
15704
15988
|
title?: string | undefined;
|
|
15705
15989
|
archived?: boolean | undefined;
|
|
15990
|
+
runningTurnId?: string | undefined;
|
|
15706
15991
|
model?: string | undefined;
|
|
15707
15992
|
source?: "device" | "device-history" | "device-live" | "app-server" | "cache" | undefined;
|
|
15708
15993
|
provider?: "codex" | "claude" | "custom" | undefined;
|
|
@@ -15711,12 +15996,207 @@ export declare const protocolMessageSchemas: {
|
|
|
15711
15996
|
collaborationMode?: "default" | "plan" | undefined;
|
|
15712
15997
|
timelineRevision?: number | undefined;
|
|
15713
15998
|
historyComplete?: boolean | undefined;
|
|
15714
|
-
runningTurnId?: string | undefined;
|
|
15715
15999
|
canonical?: boolean | undefined;
|
|
15716
16000
|
lastMessagePreview?: string | undefined;
|
|
15717
16001
|
} | undefined;
|
|
15718
16002
|
revision?: number | undefined;
|
|
15719
16003
|
}>;
|
|
16004
|
+
readonly "agent.codex.rpc": z.ZodEffects<z.ZodObject<{
|
|
16005
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16006
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16007
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16008
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16009
|
+
[key: string]: unknown;
|
|
16010
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16011
|
+
[key: string]: unknown;
|
|
16012
|
+
} | null>>;
|
|
16013
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16014
|
+
[key: string]: unknown;
|
|
16015
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16016
|
+
[key: string]: unknown;
|
|
16017
|
+
} | null>>;
|
|
16018
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16019
|
+
code: z.ZodNumber;
|
|
16020
|
+
message: z.ZodString;
|
|
16021
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16022
|
+
[key: string]: unknown;
|
|
16023
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16024
|
+
[key: string]: unknown;
|
|
16025
|
+
} | null>>;
|
|
16026
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16027
|
+
code: z.ZodNumber;
|
|
16028
|
+
message: z.ZodString;
|
|
16029
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16030
|
+
[key: string]: unknown;
|
|
16031
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16032
|
+
[key: string]: unknown;
|
|
16033
|
+
} | null>>;
|
|
16034
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16035
|
+
code: z.ZodNumber;
|
|
16036
|
+
message: z.ZodString;
|
|
16037
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16038
|
+
[key: string]: unknown;
|
|
16039
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16040
|
+
[key: string]: unknown;
|
|
16041
|
+
} | null>>;
|
|
16042
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16043
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16044
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16045
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16046
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16047
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16048
|
+
[key: string]: unknown;
|
|
16049
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16050
|
+
[key: string]: unknown;
|
|
16051
|
+
} | null>>;
|
|
16052
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16053
|
+
[key: string]: unknown;
|
|
16054
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16055
|
+
[key: string]: unknown;
|
|
16056
|
+
} | null>>;
|
|
16057
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16058
|
+
code: z.ZodNumber;
|
|
16059
|
+
message: z.ZodString;
|
|
16060
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16061
|
+
[key: string]: unknown;
|
|
16062
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16063
|
+
[key: string]: unknown;
|
|
16064
|
+
} | null>>;
|
|
16065
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16066
|
+
code: z.ZodNumber;
|
|
16067
|
+
message: z.ZodString;
|
|
16068
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16069
|
+
[key: string]: unknown;
|
|
16070
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16071
|
+
[key: string]: unknown;
|
|
16072
|
+
} | null>>;
|
|
16073
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16074
|
+
code: z.ZodNumber;
|
|
16075
|
+
message: z.ZodString;
|
|
16076
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16077
|
+
[key: string]: unknown;
|
|
16078
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16079
|
+
[key: string]: unknown;
|
|
16080
|
+
} | null>>;
|
|
16081
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16082
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16083
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16084
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16085
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16086
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16087
|
+
[key: string]: unknown;
|
|
16088
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16089
|
+
[key: string]: unknown;
|
|
16090
|
+
} | null>>;
|
|
16091
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16092
|
+
[key: string]: unknown;
|
|
16093
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16094
|
+
[key: string]: unknown;
|
|
16095
|
+
} | null>>;
|
|
16096
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16097
|
+
code: z.ZodNumber;
|
|
16098
|
+
message: z.ZodString;
|
|
16099
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16100
|
+
[key: string]: unknown;
|
|
16101
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16102
|
+
[key: string]: unknown;
|
|
16103
|
+
} | null>>;
|
|
16104
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16105
|
+
code: z.ZodNumber;
|
|
16106
|
+
message: z.ZodString;
|
|
16107
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16108
|
+
[key: string]: unknown;
|
|
16109
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16110
|
+
[key: string]: unknown;
|
|
16111
|
+
} | null>>;
|
|
16112
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16113
|
+
code: z.ZodNumber;
|
|
16114
|
+
message: z.ZodString;
|
|
16115
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16116
|
+
[key: string]: unknown;
|
|
16117
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16118
|
+
[key: string]: unknown;
|
|
16119
|
+
} | null>>;
|
|
16120
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16121
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
16122
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16123
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16124
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16125
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16126
|
+
[key: string]: unknown;
|
|
16127
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16128
|
+
[key: string]: unknown;
|
|
16129
|
+
} | null>>;
|
|
16130
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16131
|
+
[key: string]: unknown;
|
|
16132
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16133
|
+
[key: string]: unknown;
|
|
16134
|
+
} | null>>;
|
|
16135
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16136
|
+
code: z.ZodNumber;
|
|
16137
|
+
message: z.ZodString;
|
|
16138
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16139
|
+
[key: string]: unknown;
|
|
16140
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16141
|
+
[key: string]: unknown;
|
|
16142
|
+
} | null>>;
|
|
16143
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16144
|
+
code: z.ZodNumber;
|
|
16145
|
+
message: z.ZodString;
|
|
16146
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16147
|
+
[key: string]: unknown;
|
|
16148
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16149
|
+
[key: string]: unknown;
|
|
16150
|
+
} | null>>;
|
|
16151
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16152
|
+
code: z.ZodNumber;
|
|
16153
|
+
message: z.ZodString;
|
|
16154
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16155
|
+
[key: string]: unknown;
|
|
16156
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16157
|
+
[key: string]: unknown;
|
|
16158
|
+
} | null>>;
|
|
16159
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16160
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16161
|
+
jsonrpc: z.ZodOptional<z.ZodString>;
|
|
16162
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
16163
|
+
method: z.ZodOptional<z.ZodString>;
|
|
16164
|
+
params: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16165
|
+
[key: string]: unknown;
|
|
16166
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16167
|
+
[key: string]: unknown;
|
|
16168
|
+
} | null>>;
|
|
16169
|
+
result: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16170
|
+
[key: string]: unknown;
|
|
16171
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16172
|
+
[key: string]: unknown;
|
|
16173
|
+
} | null>>;
|
|
16174
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
16175
|
+
code: z.ZodNumber;
|
|
16176
|
+
message: z.ZodString;
|
|
16177
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16178
|
+
[key: string]: unknown;
|
|
16179
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16180
|
+
[key: string]: unknown;
|
|
16181
|
+
} | null>>;
|
|
16182
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16183
|
+
code: z.ZodNumber;
|
|
16184
|
+
message: z.ZodString;
|
|
16185
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16186
|
+
[key: string]: unknown;
|
|
16187
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16188
|
+
[key: string]: unknown;
|
|
16189
|
+
} | null>>;
|
|
16190
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16191
|
+
code: z.ZodNumber;
|
|
16192
|
+
message: z.ZodString;
|
|
16193
|
+
data: z.ZodOptional<z.ZodType<string | number | boolean | unknown[] | {
|
|
16194
|
+
[key: string]: unknown;
|
|
16195
|
+
} | null, z.ZodTypeDef, string | number | boolean | unknown[] | {
|
|
16196
|
+
[key: string]: unknown;
|
|
16197
|
+
} | null>>;
|
|
16198
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
16199
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
15720
16200
|
};
|
|
15721
16201
|
export type ProtocolMessageType = keyof typeof protocolMessageSchemas;
|
|
15722
16202
|
export declare function createEnvelope<T>(input: {
|