@myagentroam/protocol 0.1.6 → 0.1.8
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/index.d.ts +139 -138
- package/dist/index.js +23 -1
- package/dist/skill.d.ts +370 -0
- package/dist/skill.js +175 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export * from './enterprise.js';
|
|
3
|
+
export * from './skill.js';
|
|
3
4
|
export declare const healthStatusSchema: z.ZodObject<{
|
|
4
5
|
status: z.ZodLiteral<"ok">;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -785,44 +786,44 @@ export declare const runnerCommandDescriptorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
786
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
786
787
|
}, "strip", z.ZodTypeAny, {
|
|
787
788
|
id: string;
|
|
789
|
+
description: string;
|
|
788
790
|
available: boolean;
|
|
789
791
|
runner: "codex" | "claude-code" | "opencode";
|
|
790
792
|
reasonCode: string | null;
|
|
791
793
|
label: string;
|
|
792
|
-
description: string;
|
|
793
794
|
inputHint: string;
|
|
794
795
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
795
796
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
796
797
|
stateLabel?: string | undefined;
|
|
797
798
|
}, {
|
|
798
799
|
id: string;
|
|
800
|
+
description: string;
|
|
799
801
|
available: boolean;
|
|
800
802
|
runner: "codex" | "claude-code" | "opencode";
|
|
801
803
|
reasonCode: string | null;
|
|
802
804
|
label: string;
|
|
803
|
-
description: string;
|
|
804
805
|
inputHint: string;
|
|
805
806
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
806
807
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
807
808
|
stateLabel?: string | undefined;
|
|
808
809
|
}>, {
|
|
809
810
|
id: string;
|
|
811
|
+
description: string;
|
|
810
812
|
available: boolean;
|
|
811
813
|
runner: "codex" | "claude-code" | "opencode";
|
|
812
814
|
reasonCode: string | null;
|
|
813
815
|
label: string;
|
|
814
|
-
description: string;
|
|
815
816
|
inputHint: string;
|
|
816
817
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
817
818
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
818
819
|
stateLabel?: string | undefined;
|
|
819
820
|
}, {
|
|
820
821
|
id: string;
|
|
822
|
+
description: string;
|
|
821
823
|
available: boolean;
|
|
822
824
|
runner: "codex" | "claude-code" | "opencode";
|
|
823
825
|
reasonCode: string | null;
|
|
824
826
|
label: string;
|
|
825
|
-
description: string;
|
|
826
827
|
inputHint: string;
|
|
827
828
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
828
829
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -892,12 +893,12 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
892
893
|
description: z.ZodString;
|
|
893
894
|
}, "strip", z.ZodTypeAny, {
|
|
894
895
|
id: string;
|
|
895
|
-
label: string;
|
|
896
896
|
description: string;
|
|
897
|
+
label: string;
|
|
897
898
|
}, {
|
|
898
899
|
id: string;
|
|
899
|
-
label: string;
|
|
900
900
|
description: string;
|
|
901
|
+
label: string;
|
|
901
902
|
}>, "many">;
|
|
902
903
|
commands: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
903
904
|
id: z.ZodString;
|
|
@@ -913,44 +914,44 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
913
914
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
914
915
|
}, "strip", z.ZodTypeAny, {
|
|
915
916
|
id: string;
|
|
917
|
+
description: string;
|
|
916
918
|
available: boolean;
|
|
917
919
|
runner: "codex" | "claude-code" | "opencode";
|
|
918
920
|
reasonCode: string | null;
|
|
919
921
|
label: string;
|
|
920
|
-
description: string;
|
|
921
922
|
inputHint: string;
|
|
922
923
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
923
924
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
924
925
|
stateLabel?: string | undefined;
|
|
925
926
|
}, {
|
|
926
927
|
id: string;
|
|
928
|
+
description: string;
|
|
927
929
|
available: boolean;
|
|
928
930
|
runner: "codex" | "claude-code" | "opencode";
|
|
929
931
|
reasonCode: string | null;
|
|
930
932
|
label: string;
|
|
931
|
-
description: string;
|
|
932
933
|
inputHint: string;
|
|
933
934
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
934
935
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
935
936
|
stateLabel?: string | undefined;
|
|
936
937
|
}>, {
|
|
937
938
|
id: string;
|
|
939
|
+
description: string;
|
|
938
940
|
available: boolean;
|
|
939
941
|
runner: "codex" | "claude-code" | "opencode";
|
|
940
942
|
reasonCode: string | null;
|
|
941
943
|
label: string;
|
|
942
|
-
description: string;
|
|
943
944
|
inputHint: string;
|
|
944
945
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
945
946
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
946
947
|
stateLabel?: string | undefined;
|
|
947
948
|
}, {
|
|
948
949
|
id: string;
|
|
950
|
+
description: string;
|
|
949
951
|
available: boolean;
|
|
950
952
|
runner: "codex" | "claude-code" | "opencode";
|
|
951
953
|
reasonCode: string | null;
|
|
952
954
|
label: string;
|
|
953
|
-
description: string;
|
|
954
955
|
inputHint: string;
|
|
955
956
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
956
957
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -967,16 +968,16 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
967
968
|
}[];
|
|
968
969
|
accessOptions: {
|
|
969
970
|
id: string;
|
|
970
|
-
label: string;
|
|
971
971
|
description: string;
|
|
972
|
+
label: string;
|
|
972
973
|
}[];
|
|
973
974
|
commands: {
|
|
974
975
|
id: string;
|
|
976
|
+
description: string;
|
|
975
977
|
available: boolean;
|
|
976
978
|
runner: "codex" | "claude-code" | "opencode";
|
|
977
979
|
reasonCode: string | null;
|
|
978
980
|
label: string;
|
|
979
|
-
description: string;
|
|
980
981
|
inputHint: string;
|
|
981
982
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
982
983
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -992,16 +993,16 @@ export declare const runnerProfileSchema: z.ZodObject<{
|
|
|
992
993
|
}[];
|
|
993
994
|
accessOptions: {
|
|
994
995
|
id: string;
|
|
995
|
-
label: string;
|
|
996
996
|
description: string;
|
|
997
|
+
label: string;
|
|
997
998
|
}[];
|
|
998
999
|
commands: {
|
|
999
1000
|
id: string;
|
|
1001
|
+
description: string;
|
|
1000
1002
|
available: boolean;
|
|
1001
1003
|
runner: "codex" | "claude-code" | "opencode";
|
|
1002
1004
|
reasonCode: string | null;
|
|
1003
1005
|
label: string;
|
|
1004
|
-
description: string;
|
|
1005
1006
|
inputHint: string;
|
|
1006
1007
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1007
1008
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1132,12 +1133,12 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1132
1133
|
description: z.ZodString;
|
|
1133
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1134
1135
|
id: string;
|
|
1135
|
-
label: string;
|
|
1136
1136
|
description: string;
|
|
1137
|
+
label: string;
|
|
1137
1138
|
}, {
|
|
1138
1139
|
id: string;
|
|
1139
|
-
label: string;
|
|
1140
1140
|
description: string;
|
|
1141
|
+
label: string;
|
|
1141
1142
|
}>, "many">;
|
|
1142
1143
|
commands: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1143
1144
|
id: z.ZodString;
|
|
@@ -1153,44 +1154,44 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1153
1154
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
1154
1155
|
}, "strip", z.ZodTypeAny, {
|
|
1155
1156
|
id: string;
|
|
1157
|
+
description: string;
|
|
1156
1158
|
available: boolean;
|
|
1157
1159
|
runner: "codex" | "claude-code" | "opencode";
|
|
1158
1160
|
reasonCode: string | null;
|
|
1159
1161
|
label: string;
|
|
1160
|
-
description: string;
|
|
1161
1162
|
inputHint: string;
|
|
1162
1163
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1163
1164
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1164
1165
|
stateLabel?: string | undefined;
|
|
1165
1166
|
}, {
|
|
1166
1167
|
id: string;
|
|
1168
|
+
description: string;
|
|
1167
1169
|
available: boolean;
|
|
1168
1170
|
runner: "codex" | "claude-code" | "opencode";
|
|
1169
1171
|
reasonCode: string | null;
|
|
1170
1172
|
label: string;
|
|
1171
|
-
description: string;
|
|
1172
1173
|
inputHint: string;
|
|
1173
1174
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1174
1175
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1175
1176
|
stateLabel?: string | undefined;
|
|
1176
1177
|
}>, {
|
|
1177
1178
|
id: string;
|
|
1179
|
+
description: string;
|
|
1178
1180
|
available: boolean;
|
|
1179
1181
|
runner: "codex" | "claude-code" | "opencode";
|
|
1180
1182
|
reasonCode: string | null;
|
|
1181
1183
|
label: string;
|
|
1182
|
-
description: string;
|
|
1183
1184
|
inputHint: string;
|
|
1184
1185
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1185
1186
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
1186
1187
|
stateLabel?: string | undefined;
|
|
1187
1188
|
}, {
|
|
1188
1189
|
id: string;
|
|
1190
|
+
description: string;
|
|
1189
1191
|
available: boolean;
|
|
1190
1192
|
runner: "codex" | "claude-code" | "opencode";
|
|
1191
1193
|
reasonCode: string | null;
|
|
1192
1194
|
label: string;
|
|
1193
|
-
description: string;
|
|
1194
1195
|
inputHint: string;
|
|
1195
1196
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1196
1197
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1207,16 +1208,16 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1207
1208
|
}[];
|
|
1208
1209
|
accessOptions: {
|
|
1209
1210
|
id: string;
|
|
1210
|
-
label: string;
|
|
1211
1211
|
description: string;
|
|
1212
|
+
label: string;
|
|
1212
1213
|
}[];
|
|
1213
1214
|
commands: {
|
|
1214
1215
|
id: string;
|
|
1216
|
+
description: string;
|
|
1215
1217
|
available: boolean;
|
|
1216
1218
|
runner: "codex" | "claude-code" | "opencode";
|
|
1217
1219
|
reasonCode: string | null;
|
|
1218
1220
|
label: string;
|
|
1219
|
-
description: string;
|
|
1220
1221
|
inputHint: string;
|
|
1221
1222
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1222
1223
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1232,16 +1233,16 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1232
1233
|
}[];
|
|
1233
1234
|
accessOptions: {
|
|
1234
1235
|
id: string;
|
|
1235
|
-
label: string;
|
|
1236
1236
|
description: string;
|
|
1237
|
+
label: string;
|
|
1237
1238
|
}[];
|
|
1238
1239
|
commands: {
|
|
1239
1240
|
id: string;
|
|
1241
|
+
description: string;
|
|
1240
1242
|
available: boolean;
|
|
1241
1243
|
runner: "codex" | "claude-code" | "opencode";
|
|
1242
1244
|
reasonCode: string | null;
|
|
1243
1245
|
label: string;
|
|
1244
|
-
description: string;
|
|
1245
1246
|
inputHint: string;
|
|
1246
1247
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1247
1248
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1389,16 +1390,16 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1389
1390
|
}[];
|
|
1390
1391
|
accessOptions: {
|
|
1391
1392
|
id: string;
|
|
1392
|
-
label: string;
|
|
1393
1393
|
description: string;
|
|
1394
|
+
label: string;
|
|
1394
1395
|
}[];
|
|
1395
1396
|
commands: {
|
|
1396
1397
|
id: string;
|
|
1398
|
+
description: string;
|
|
1397
1399
|
available: boolean;
|
|
1398
1400
|
runner: "codex" | "claude-code" | "opencode";
|
|
1399
1401
|
reasonCode: string | null;
|
|
1400
1402
|
label: string;
|
|
1401
|
-
description: string;
|
|
1402
1403
|
inputHint: string;
|
|
1403
1404
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1404
1405
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1433,16 +1434,16 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
1433
1434
|
}[];
|
|
1434
1435
|
accessOptions: {
|
|
1435
1436
|
id: string;
|
|
1436
|
-
label: string;
|
|
1437
1437
|
description: string;
|
|
1438
|
+
label: string;
|
|
1438
1439
|
}[];
|
|
1439
1440
|
commands: {
|
|
1440
1441
|
id: string;
|
|
1442
|
+
description: string;
|
|
1441
1443
|
available: boolean;
|
|
1442
1444
|
runner: "codex" | "claude-code" | "opencode";
|
|
1443
1445
|
reasonCode: string | null;
|
|
1444
1446
|
label: string;
|
|
1445
|
-
description: string;
|
|
1446
1447
|
inputHint: string;
|
|
1447
1448
|
source: "CODEX_APP_SERVER" | "CLAUDE_AGENT_SDK" | "OPENCODE_SERVER";
|
|
1448
1449
|
interaction: "RUNNER_TEXT" | "IMMEDIATE_ACTION" | "TOGGLE" | "VALUE";
|
|
@@ -1468,11 +1469,11 @@ export declare const sessionRuntimeCapabilitiesSchema: z.ZodObject<{
|
|
|
1468
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1469
1470
|
reasonCode: string | null;
|
|
1470
1471
|
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.remove" | "session.pin")[];
|
|
1471
|
-
level: "
|
|
1472
|
+
level: "UNAVAILABLE" | "MANAGED" | "SHARED_CONTROL" | "OBSERVE_ONLY" | "RESUMABLE";
|
|
1472
1473
|
}, {
|
|
1473
1474
|
reasonCode: string | null;
|
|
1474
1475
|
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.remove" | "session.pin")[];
|
|
1475
|
-
level: "
|
|
1476
|
+
level: "UNAVAILABLE" | "MANAGED" | "SHARED_CONTROL" | "OBSERVE_ONLY" | "RESUMABLE";
|
|
1476
1477
|
}>;
|
|
1477
1478
|
export type SessionRuntimeCapabilities = z.infer<typeof sessionRuntimeCapabilitiesSchema>;
|
|
1478
1479
|
export declare const sessionActivityStateSchema: z.ZodEnum<["MANAGED_ACTIVE", "EXTERNAL_ACTIVE", "IDLE", "UNAVAILABLE"]>;
|
|
@@ -1544,6 +1545,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1544
1545
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1545
1546
|
id: string;
|
|
1546
1547
|
runId: string | null;
|
|
1548
|
+
kind: "assistant_message";
|
|
1547
1549
|
sessionId: string;
|
|
1548
1550
|
payload: {
|
|
1549
1551
|
model: string | null;
|
|
@@ -1556,11 +1558,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1556
1558
|
sourceSequence: number | null;
|
|
1557
1559
|
startedAt: number | null;
|
|
1558
1560
|
completedAt: number | null;
|
|
1559
|
-
kind: "assistant_message";
|
|
1560
1561
|
}, {
|
|
1561
1562
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1562
1563
|
id: string;
|
|
1563
1564
|
runId: string | null;
|
|
1565
|
+
kind: "assistant_message";
|
|
1564
1566
|
sessionId: string;
|
|
1565
1567
|
payload: {
|
|
1566
1568
|
model: string | null;
|
|
@@ -1573,7 +1575,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1573
1575
|
sourceSequence: number | null;
|
|
1574
1576
|
startedAt: number | null;
|
|
1575
1577
|
completedAt: number | null;
|
|
1576
|
-
kind: "assistant_message";
|
|
1577
1578
|
}>, z.ZodObject<{
|
|
1578
1579
|
id: z.ZodString;
|
|
1579
1580
|
sessionId: z.ZodString;
|
|
@@ -1642,6 +1643,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1642
1643
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1643
1644
|
id: string;
|
|
1644
1645
|
runId: string | null;
|
|
1646
|
+
kind: "user_message";
|
|
1645
1647
|
sessionId: string;
|
|
1646
1648
|
payload: {
|
|
1647
1649
|
clientMessageId: string | null;
|
|
@@ -1662,11 +1664,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1662
1664
|
sourceSequence: number | null;
|
|
1663
1665
|
startedAt: number | null;
|
|
1664
1666
|
completedAt: number | null;
|
|
1665
|
-
kind: "user_message";
|
|
1666
1667
|
}, {
|
|
1667
1668
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1668
1669
|
id: string;
|
|
1669
1670
|
runId: string | null;
|
|
1671
|
+
kind: "user_message";
|
|
1670
1672
|
sessionId: string;
|
|
1671
1673
|
payload: {
|
|
1672
1674
|
clientMessageId: string | null;
|
|
@@ -1687,7 +1689,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1687
1689
|
sourceSequence: number | null;
|
|
1688
1690
|
startedAt: number | null;
|
|
1689
1691
|
completedAt: number | null;
|
|
1690
|
-
kind: "user_message";
|
|
1691
1692
|
}>, z.ZodObject<{
|
|
1692
1693
|
id: z.ZodString;
|
|
1693
1694
|
sessionId: z.ZodString;
|
|
@@ -1727,6 +1728,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1727
1728
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1728
1729
|
id: string;
|
|
1729
1730
|
runId: string | null;
|
|
1731
|
+
kind: "reasoning_summary";
|
|
1730
1732
|
sessionId: string;
|
|
1731
1733
|
payload: {
|
|
1732
1734
|
sections: {
|
|
@@ -1740,11 +1742,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1740
1742
|
sourceSequence: number | null;
|
|
1741
1743
|
startedAt: number | null;
|
|
1742
1744
|
completedAt: number | null;
|
|
1743
|
-
kind: "reasoning_summary";
|
|
1744
1745
|
}, {
|
|
1745
1746
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1746
1747
|
id: string;
|
|
1747
1748
|
runId: string | null;
|
|
1749
|
+
kind: "reasoning_summary";
|
|
1748
1750
|
sessionId: string;
|
|
1749
1751
|
payload: {
|
|
1750
1752
|
sections: {
|
|
@@ -1758,7 +1760,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1758
1760
|
sourceSequence: number | null;
|
|
1759
1761
|
startedAt: number | null;
|
|
1760
1762
|
completedAt: number | null;
|
|
1761
|
-
kind: "reasoning_summary";
|
|
1762
1763
|
}>, z.ZodObject<{
|
|
1763
1764
|
id: z.ZodString;
|
|
1764
1765
|
sessionId: z.ZodString;
|
|
@@ -1806,6 +1807,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1806
1807
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1807
1808
|
id: string;
|
|
1808
1809
|
runId: string | null;
|
|
1810
|
+
kind: "plan";
|
|
1809
1811
|
sessionId: string;
|
|
1810
1812
|
payload: {
|
|
1811
1813
|
explanation: string | null;
|
|
@@ -1821,11 +1823,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1821
1823
|
sourceSequence: number | null;
|
|
1822
1824
|
startedAt: number | null;
|
|
1823
1825
|
completedAt: number | null;
|
|
1824
|
-
kind: "plan";
|
|
1825
1826
|
}, {
|
|
1826
1827
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1827
1828
|
id: string;
|
|
1828
1829
|
runId: string | null;
|
|
1830
|
+
kind: "plan";
|
|
1829
1831
|
sessionId: string;
|
|
1830
1832
|
payload: {
|
|
1831
1833
|
explanation: string | null;
|
|
@@ -1841,7 +1843,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1841
1843
|
sourceSequence: number | null;
|
|
1842
1844
|
startedAt: number | null;
|
|
1843
1845
|
completedAt: number | null;
|
|
1844
|
-
kind: "plan";
|
|
1845
1846
|
}>, z.ZodObject<{
|
|
1846
1847
|
id: z.ZodString;
|
|
1847
1848
|
sessionId: z.ZodString;
|
|
@@ -1887,6 +1888,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1887
1888
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1888
1889
|
id: string;
|
|
1889
1890
|
runId: string | null;
|
|
1891
|
+
kind: "tool_call";
|
|
1890
1892
|
sessionId: string;
|
|
1891
1893
|
payload: {
|
|
1892
1894
|
errorCode: string | null;
|
|
@@ -1904,11 +1906,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1904
1906
|
sourceSequence: number | null;
|
|
1905
1907
|
startedAt: number | null;
|
|
1906
1908
|
completedAt: number | null;
|
|
1907
|
-
kind: "tool_call";
|
|
1908
1909
|
}, {
|
|
1909
1910
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1910
1911
|
id: string;
|
|
1911
1912
|
runId: string | null;
|
|
1913
|
+
kind: "tool_call";
|
|
1912
1914
|
sessionId: string;
|
|
1913
1915
|
payload: {
|
|
1914
1916
|
errorCode: string | null;
|
|
@@ -1926,7 +1928,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1926
1928
|
sourceSequence: number | null;
|
|
1927
1929
|
startedAt: number | null;
|
|
1928
1930
|
completedAt: number | null;
|
|
1929
|
-
kind: "tool_call";
|
|
1930
1931
|
}>, z.ZodObject<{
|
|
1931
1932
|
id: z.ZodString;
|
|
1932
1933
|
sessionId: z.ZodString;
|
|
@@ -1969,6 +1970,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1969
1970
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1970
1971
|
id: string;
|
|
1971
1972
|
runId: string | null;
|
|
1973
|
+
kind: "command_execution";
|
|
1972
1974
|
sessionId: string;
|
|
1973
1975
|
payload: {
|
|
1974
1976
|
durationMs: number | null;
|
|
@@ -1985,11 +1987,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1985
1987
|
sourceSequence: number | null;
|
|
1986
1988
|
startedAt: number | null;
|
|
1987
1989
|
completedAt: number | null;
|
|
1988
|
-
kind: "command_execution";
|
|
1989
1990
|
}, {
|
|
1990
1991
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
1991
1992
|
id: string;
|
|
1992
1993
|
runId: string | null;
|
|
1994
|
+
kind: "command_execution";
|
|
1993
1995
|
sessionId: string;
|
|
1994
1996
|
payload: {
|
|
1995
1997
|
durationMs: number | null;
|
|
@@ -2006,7 +2008,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2006
2008
|
sourceSequence: number | null;
|
|
2007
2009
|
startedAt: number | null;
|
|
2008
2010
|
completedAt: number | null;
|
|
2009
|
-
kind: "command_execution";
|
|
2010
2011
|
}>, z.ZodObject<{
|
|
2011
2012
|
id: z.ZodString;
|
|
2012
2013
|
sessionId: z.ZodString;
|
|
@@ -2061,6 +2062,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2061
2062
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2062
2063
|
id: string;
|
|
2063
2064
|
runId: string | null;
|
|
2065
|
+
kind: "file_change";
|
|
2064
2066
|
sessionId: string;
|
|
2065
2067
|
payload: {
|
|
2066
2068
|
changes: {
|
|
@@ -2077,11 +2079,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2077
2079
|
sourceSequence: number | null;
|
|
2078
2080
|
startedAt: number | null;
|
|
2079
2081
|
completedAt: number | null;
|
|
2080
|
-
kind: "file_change";
|
|
2081
2082
|
}, {
|
|
2082
2083
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2083
2084
|
id: string;
|
|
2084
2085
|
runId: string | null;
|
|
2086
|
+
kind: "file_change";
|
|
2085
2087
|
sessionId: string;
|
|
2086
2088
|
payload: {
|
|
2087
2089
|
changes: {
|
|
@@ -2098,7 +2100,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2098
2100
|
sourceSequence: number | null;
|
|
2099
2101
|
startedAt: number | null;
|
|
2100
2102
|
completedAt: number | null;
|
|
2101
|
-
kind: "file_change";
|
|
2102
2103
|
}>, z.ZodObject<{
|
|
2103
2104
|
id: z.ZodString;
|
|
2104
2105
|
sessionId: z.ZodString;
|
|
@@ -2135,6 +2136,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2135
2136
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2136
2137
|
id: string;
|
|
2137
2138
|
runId: string | null;
|
|
2139
|
+
kind: "approval";
|
|
2138
2140
|
sessionId: string;
|
|
2139
2141
|
payload: {
|
|
2140
2142
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -2149,11 +2151,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2149
2151
|
sourceSequence: number | null;
|
|
2150
2152
|
startedAt: number | null;
|
|
2151
2153
|
completedAt: number | null;
|
|
2152
|
-
kind: "approval";
|
|
2153
2154
|
}, {
|
|
2154
2155
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2155
2156
|
id: string;
|
|
2156
2157
|
runId: string | null;
|
|
2158
|
+
kind: "approval";
|
|
2157
2159
|
sessionId: string;
|
|
2158
2160
|
payload: {
|
|
2159
2161
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -2168,7 +2170,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2168
2170
|
sourceSequence: number | null;
|
|
2169
2171
|
startedAt: number | null;
|
|
2170
2172
|
completedAt: number | null;
|
|
2171
|
-
kind: "approval";
|
|
2172
2173
|
}>, z.ZodObject<{
|
|
2173
2174
|
id: z.ZodString;
|
|
2174
2175
|
sessionId: z.ZodString;
|
|
@@ -2194,20 +2195,20 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2194
2195
|
description: z.ZodNullable<z.ZodString>;
|
|
2195
2196
|
}, "strip", z.ZodTypeAny, {
|
|
2196
2197
|
value: string;
|
|
2197
|
-
label: string;
|
|
2198
2198
|
description: string | null;
|
|
2199
|
+
label: string;
|
|
2199
2200
|
}, {
|
|
2200
2201
|
value: string;
|
|
2201
|
-
label: string;
|
|
2202
2202
|
description: string | null;
|
|
2203
|
+
label: string;
|
|
2203
2204
|
}>, "many">;
|
|
2204
2205
|
allowOther: z.ZodBoolean;
|
|
2205
2206
|
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
2206
2207
|
}, "strip", z.ZodTypeAny, {
|
|
2207
2208
|
options: {
|
|
2208
2209
|
value: string;
|
|
2209
|
-
label: string;
|
|
2210
2210
|
description: string | null;
|
|
2211
|
+
label: string;
|
|
2211
2212
|
}[];
|
|
2212
2213
|
id: string;
|
|
2213
2214
|
prompt: string;
|
|
@@ -2217,8 +2218,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2217
2218
|
}, {
|
|
2218
2219
|
options: {
|
|
2219
2220
|
value: string;
|
|
2220
|
-
label: string;
|
|
2221
2221
|
description: string | null;
|
|
2222
|
+
label: string;
|
|
2222
2223
|
}[];
|
|
2223
2224
|
id: string;
|
|
2224
2225
|
prompt: string;
|
|
@@ -2231,8 +2232,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2231
2232
|
questions: {
|
|
2232
2233
|
options: {
|
|
2233
2234
|
value: string;
|
|
2234
|
-
label: string;
|
|
2235
2235
|
description: string | null;
|
|
2236
|
+
label: string;
|
|
2236
2237
|
}[];
|
|
2237
2238
|
id: string;
|
|
2238
2239
|
prompt: string;
|
|
@@ -2245,8 +2246,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2245
2246
|
questions: {
|
|
2246
2247
|
options: {
|
|
2247
2248
|
value: string;
|
|
2248
|
-
label: string;
|
|
2249
2249
|
description: string | null;
|
|
2250
|
+
label: string;
|
|
2250
2251
|
}[];
|
|
2251
2252
|
id: string;
|
|
2252
2253
|
prompt: string;
|
|
@@ -2259,14 +2260,15 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2259
2260
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2260
2261
|
id: string;
|
|
2261
2262
|
runId: string | null;
|
|
2263
|
+
kind: "user_input_request";
|
|
2262
2264
|
sessionId: string;
|
|
2263
2265
|
payload: {
|
|
2264
2266
|
requestId: string;
|
|
2265
2267
|
questions: {
|
|
2266
2268
|
options: {
|
|
2267
2269
|
value: string;
|
|
2268
|
-
label: string;
|
|
2269
2270
|
description: string | null;
|
|
2271
|
+
label: string;
|
|
2270
2272
|
}[];
|
|
2271
2273
|
id: string;
|
|
2272
2274
|
prompt: string;
|
|
@@ -2281,19 +2283,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2281
2283
|
sourceSequence: number | null;
|
|
2282
2284
|
startedAt: number | null;
|
|
2283
2285
|
completedAt: number | null;
|
|
2284
|
-
kind: "user_input_request";
|
|
2285
2286
|
}, {
|
|
2286
2287
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2287
2288
|
id: string;
|
|
2288
2289
|
runId: string | null;
|
|
2290
|
+
kind: "user_input_request";
|
|
2289
2291
|
sessionId: string;
|
|
2290
2292
|
payload: {
|
|
2291
2293
|
requestId: string;
|
|
2292
2294
|
questions: {
|
|
2293
2295
|
options: {
|
|
2294
2296
|
value: string;
|
|
2295
|
-
label: string;
|
|
2296
2297
|
description: string | null;
|
|
2298
|
+
label: string;
|
|
2297
2299
|
}[];
|
|
2298
2300
|
id: string;
|
|
2299
2301
|
prompt: string;
|
|
@@ -2308,7 +2310,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2308
2310
|
sourceSequence: number | null;
|
|
2309
2311
|
startedAt: number | null;
|
|
2310
2312
|
completedAt: number | null;
|
|
2311
|
-
kind: "user_input_request";
|
|
2312
2313
|
}>, z.ZodObject<{
|
|
2313
2314
|
id: z.ZodString;
|
|
2314
2315
|
sessionId: z.ZodString;
|
|
@@ -2336,6 +2337,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2336
2337
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2337
2338
|
id: string;
|
|
2338
2339
|
runId: string | null;
|
|
2340
|
+
kind: "context_compaction";
|
|
2339
2341
|
sessionId: string;
|
|
2340
2342
|
payload: {
|
|
2341
2343
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -2347,11 +2349,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2347
2349
|
sourceSequence: number | null;
|
|
2348
2350
|
startedAt: number | null;
|
|
2349
2351
|
completedAt: number | null;
|
|
2350
|
-
kind: "context_compaction";
|
|
2351
2352
|
}, {
|
|
2352
2353
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2353
2354
|
id: string;
|
|
2354
2355
|
runId: string | null;
|
|
2356
|
+
kind: "context_compaction";
|
|
2355
2357
|
sessionId: string;
|
|
2356
2358
|
payload: {
|
|
2357
2359
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -2363,7 +2365,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2363
2365
|
sourceSequence: number | null;
|
|
2364
2366
|
startedAt: number | null;
|
|
2365
2367
|
completedAt: number | null;
|
|
2366
|
-
kind: "context_compaction";
|
|
2367
2368
|
}>, z.ZodObject<{
|
|
2368
2369
|
id: z.ZodString;
|
|
2369
2370
|
sessionId: z.ZodString;
|
|
@@ -2394,6 +2395,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2394
2395
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2395
2396
|
id: string;
|
|
2396
2397
|
runId: string | null;
|
|
2398
|
+
kind: "warning";
|
|
2397
2399
|
sessionId: string;
|
|
2398
2400
|
payload: {
|
|
2399
2401
|
code: string;
|
|
@@ -2406,11 +2408,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2406
2408
|
sourceSequence: number | null;
|
|
2407
2409
|
startedAt: number | null;
|
|
2408
2410
|
completedAt: number | null;
|
|
2409
|
-
kind: "warning";
|
|
2410
2411
|
}, {
|
|
2411
2412
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2412
2413
|
id: string;
|
|
2413
2414
|
runId: string | null;
|
|
2415
|
+
kind: "warning";
|
|
2414
2416
|
sessionId: string;
|
|
2415
2417
|
payload: {
|
|
2416
2418
|
code: string;
|
|
@@ -2423,7 +2425,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2423
2425
|
sourceSequence: number | null;
|
|
2424
2426
|
startedAt: number | null;
|
|
2425
2427
|
completedAt: number | null;
|
|
2426
|
-
kind: "warning";
|
|
2427
2428
|
}>, z.ZodObject<{
|
|
2428
2429
|
id: z.ZodString;
|
|
2429
2430
|
sessionId: z.ZodString;
|
|
@@ -2457,6 +2458,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2457
2458
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2458
2459
|
id: string;
|
|
2459
2460
|
runId: string | null;
|
|
2461
|
+
kind: "error";
|
|
2460
2462
|
sessionId: string;
|
|
2461
2463
|
payload: {
|
|
2462
2464
|
code: string;
|
|
@@ -2470,11 +2472,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2470
2472
|
sourceSequence: number | null;
|
|
2471
2473
|
startedAt: number | null;
|
|
2472
2474
|
completedAt: number | null;
|
|
2473
|
-
kind: "error";
|
|
2474
2475
|
}, {
|
|
2475
2476
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2476
2477
|
id: string;
|
|
2477
2478
|
runId: string | null;
|
|
2479
|
+
kind: "error";
|
|
2478
2480
|
sessionId: string;
|
|
2479
2481
|
payload: {
|
|
2480
2482
|
code: string;
|
|
@@ -2488,7 +2490,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2488
2490
|
sourceSequence: number | null;
|
|
2489
2491
|
startedAt: number | null;
|
|
2490
2492
|
completedAt: number | null;
|
|
2491
|
-
kind: "error";
|
|
2492
2493
|
}>, z.ZodObject<{
|
|
2493
2494
|
id: z.ZodString;
|
|
2494
2495
|
sessionId: z.ZodString;
|
|
@@ -2516,6 +2517,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2516
2517
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2517
2518
|
id: string;
|
|
2518
2519
|
runId: string | null;
|
|
2520
|
+
kind: "turn_summary";
|
|
2519
2521
|
sessionId: string;
|
|
2520
2522
|
payload: {
|
|
2521
2523
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -2527,11 +2529,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2527
2529
|
sourceSequence: number | null;
|
|
2528
2530
|
startedAt: number | null;
|
|
2529
2531
|
completedAt: number | null;
|
|
2530
|
-
kind: "turn_summary";
|
|
2531
2532
|
}, {
|
|
2532
2533
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2533
2534
|
id: string;
|
|
2534
2535
|
runId: string | null;
|
|
2536
|
+
kind: "turn_summary";
|
|
2535
2537
|
sessionId: string;
|
|
2536
2538
|
payload: {
|
|
2537
2539
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -2543,7 +2545,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2543
2545
|
sourceSequence: number | null;
|
|
2544
2546
|
startedAt: number | null;
|
|
2545
2547
|
completedAt: number | null;
|
|
2546
|
-
kind: "turn_summary";
|
|
2547
2548
|
}>, z.ZodObject<{
|
|
2548
2549
|
id: z.ZodString;
|
|
2549
2550
|
sessionId: z.ZodString;
|
|
@@ -2571,6 +2572,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2571
2572
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2572
2573
|
id: string;
|
|
2573
2574
|
runId: string | null;
|
|
2575
|
+
kind: "unknown";
|
|
2574
2576
|
sessionId: string;
|
|
2575
2577
|
payload: {
|
|
2576
2578
|
label: string;
|
|
@@ -2582,11 +2584,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2582
2584
|
sourceSequence: number | null;
|
|
2583
2585
|
startedAt: number | null;
|
|
2584
2586
|
completedAt: number | null;
|
|
2585
|
-
kind: "unknown";
|
|
2586
2587
|
}, {
|
|
2587
2588
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2588
2589
|
id: string;
|
|
2589
2590
|
runId: string | null;
|
|
2591
|
+
kind: "unknown";
|
|
2590
2592
|
sessionId: string;
|
|
2591
2593
|
payload: {
|
|
2592
2594
|
label: string;
|
|
@@ -2598,7 +2600,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2598
2600
|
sourceSequence: number | null;
|
|
2599
2601
|
startedAt: number | null;
|
|
2600
2602
|
completedAt: number | null;
|
|
2601
|
-
kind: "unknown";
|
|
2602
2603
|
}>]>;
|
|
2603
2604
|
export type ConversationItem = z.infer<typeof conversationItemSchema>;
|
|
2604
2605
|
export declare const conversationTurnSchema: z.ZodObject<{
|
|
@@ -2650,6 +2651,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2650
2651
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2651
2652
|
id: string;
|
|
2652
2653
|
runId: string | null;
|
|
2654
|
+
kind: "assistant_message";
|
|
2653
2655
|
sessionId: string;
|
|
2654
2656
|
payload: {
|
|
2655
2657
|
model: string | null;
|
|
@@ -2662,11 +2664,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2662
2664
|
sourceSequence: number | null;
|
|
2663
2665
|
startedAt: number | null;
|
|
2664
2666
|
completedAt: number | null;
|
|
2665
|
-
kind: "assistant_message";
|
|
2666
2667
|
}, {
|
|
2667
2668
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2668
2669
|
id: string;
|
|
2669
2670
|
runId: string | null;
|
|
2671
|
+
kind: "assistant_message";
|
|
2670
2672
|
sessionId: string;
|
|
2671
2673
|
payload: {
|
|
2672
2674
|
model: string | null;
|
|
@@ -2679,7 +2681,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2679
2681
|
sourceSequence: number | null;
|
|
2680
2682
|
startedAt: number | null;
|
|
2681
2683
|
completedAt: number | null;
|
|
2682
|
-
kind: "assistant_message";
|
|
2683
2684
|
}>, z.ZodObject<{
|
|
2684
2685
|
id: z.ZodString;
|
|
2685
2686
|
sessionId: z.ZodString;
|
|
@@ -2748,6 +2749,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2748
2749
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2749
2750
|
id: string;
|
|
2750
2751
|
runId: string | null;
|
|
2752
|
+
kind: "user_message";
|
|
2751
2753
|
sessionId: string;
|
|
2752
2754
|
payload: {
|
|
2753
2755
|
clientMessageId: string | null;
|
|
@@ -2768,11 +2770,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2768
2770
|
sourceSequence: number | null;
|
|
2769
2771
|
startedAt: number | null;
|
|
2770
2772
|
completedAt: number | null;
|
|
2771
|
-
kind: "user_message";
|
|
2772
2773
|
}, {
|
|
2773
2774
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2774
2775
|
id: string;
|
|
2775
2776
|
runId: string | null;
|
|
2777
|
+
kind: "user_message";
|
|
2776
2778
|
sessionId: string;
|
|
2777
2779
|
payload: {
|
|
2778
2780
|
clientMessageId: string | null;
|
|
@@ -2793,7 +2795,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2793
2795
|
sourceSequence: number | null;
|
|
2794
2796
|
startedAt: number | null;
|
|
2795
2797
|
completedAt: number | null;
|
|
2796
|
-
kind: "user_message";
|
|
2797
2798
|
}>, z.ZodObject<{
|
|
2798
2799
|
id: z.ZodString;
|
|
2799
2800
|
sessionId: z.ZodString;
|
|
@@ -2833,6 +2834,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2833
2834
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2834
2835
|
id: string;
|
|
2835
2836
|
runId: string | null;
|
|
2837
|
+
kind: "reasoning_summary";
|
|
2836
2838
|
sessionId: string;
|
|
2837
2839
|
payload: {
|
|
2838
2840
|
sections: {
|
|
@@ -2846,11 +2848,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2846
2848
|
sourceSequence: number | null;
|
|
2847
2849
|
startedAt: number | null;
|
|
2848
2850
|
completedAt: number | null;
|
|
2849
|
-
kind: "reasoning_summary";
|
|
2850
2851
|
}, {
|
|
2851
2852
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2852
2853
|
id: string;
|
|
2853
2854
|
runId: string | null;
|
|
2855
|
+
kind: "reasoning_summary";
|
|
2854
2856
|
sessionId: string;
|
|
2855
2857
|
payload: {
|
|
2856
2858
|
sections: {
|
|
@@ -2864,7 +2866,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2864
2866
|
sourceSequence: number | null;
|
|
2865
2867
|
startedAt: number | null;
|
|
2866
2868
|
completedAt: number | null;
|
|
2867
|
-
kind: "reasoning_summary";
|
|
2868
2869
|
}>, z.ZodObject<{
|
|
2869
2870
|
id: z.ZodString;
|
|
2870
2871
|
sessionId: z.ZodString;
|
|
@@ -2912,6 +2913,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2912
2913
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2913
2914
|
id: string;
|
|
2914
2915
|
runId: string | null;
|
|
2916
|
+
kind: "plan";
|
|
2915
2917
|
sessionId: string;
|
|
2916
2918
|
payload: {
|
|
2917
2919
|
explanation: string | null;
|
|
@@ -2927,11 +2929,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2927
2929
|
sourceSequence: number | null;
|
|
2928
2930
|
startedAt: number | null;
|
|
2929
2931
|
completedAt: number | null;
|
|
2930
|
-
kind: "plan";
|
|
2931
2932
|
}, {
|
|
2932
2933
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2933
2934
|
id: string;
|
|
2934
2935
|
runId: string | null;
|
|
2936
|
+
kind: "plan";
|
|
2935
2937
|
sessionId: string;
|
|
2936
2938
|
payload: {
|
|
2937
2939
|
explanation: string | null;
|
|
@@ -2947,7 +2949,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2947
2949
|
sourceSequence: number | null;
|
|
2948
2950
|
startedAt: number | null;
|
|
2949
2951
|
completedAt: number | null;
|
|
2950
|
-
kind: "plan";
|
|
2951
2952
|
}>, z.ZodObject<{
|
|
2952
2953
|
id: z.ZodString;
|
|
2953
2954
|
sessionId: z.ZodString;
|
|
@@ -2993,6 +2994,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2993
2994
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
2994
2995
|
id: string;
|
|
2995
2996
|
runId: string | null;
|
|
2997
|
+
kind: "tool_call";
|
|
2996
2998
|
sessionId: string;
|
|
2997
2999
|
payload: {
|
|
2998
3000
|
errorCode: string | null;
|
|
@@ -3010,11 +3012,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3010
3012
|
sourceSequence: number | null;
|
|
3011
3013
|
startedAt: number | null;
|
|
3012
3014
|
completedAt: number | null;
|
|
3013
|
-
kind: "tool_call";
|
|
3014
3015
|
}, {
|
|
3015
3016
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3016
3017
|
id: string;
|
|
3017
3018
|
runId: string | null;
|
|
3019
|
+
kind: "tool_call";
|
|
3018
3020
|
sessionId: string;
|
|
3019
3021
|
payload: {
|
|
3020
3022
|
errorCode: string | null;
|
|
@@ -3032,7 +3034,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3032
3034
|
sourceSequence: number | null;
|
|
3033
3035
|
startedAt: number | null;
|
|
3034
3036
|
completedAt: number | null;
|
|
3035
|
-
kind: "tool_call";
|
|
3036
3037
|
}>, z.ZodObject<{
|
|
3037
3038
|
id: z.ZodString;
|
|
3038
3039
|
sessionId: z.ZodString;
|
|
@@ -3075,6 +3076,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3075
3076
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3076
3077
|
id: string;
|
|
3077
3078
|
runId: string | null;
|
|
3079
|
+
kind: "command_execution";
|
|
3078
3080
|
sessionId: string;
|
|
3079
3081
|
payload: {
|
|
3080
3082
|
durationMs: number | null;
|
|
@@ -3091,11 +3093,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3091
3093
|
sourceSequence: number | null;
|
|
3092
3094
|
startedAt: number | null;
|
|
3093
3095
|
completedAt: number | null;
|
|
3094
|
-
kind: "command_execution";
|
|
3095
3096
|
}, {
|
|
3096
3097
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3097
3098
|
id: string;
|
|
3098
3099
|
runId: string | null;
|
|
3100
|
+
kind: "command_execution";
|
|
3099
3101
|
sessionId: string;
|
|
3100
3102
|
payload: {
|
|
3101
3103
|
durationMs: number | null;
|
|
@@ -3112,7 +3114,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3112
3114
|
sourceSequence: number | null;
|
|
3113
3115
|
startedAt: number | null;
|
|
3114
3116
|
completedAt: number | null;
|
|
3115
|
-
kind: "command_execution";
|
|
3116
3117
|
}>, z.ZodObject<{
|
|
3117
3118
|
id: z.ZodString;
|
|
3118
3119
|
sessionId: z.ZodString;
|
|
@@ -3167,6 +3168,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3167
3168
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3168
3169
|
id: string;
|
|
3169
3170
|
runId: string | null;
|
|
3171
|
+
kind: "file_change";
|
|
3170
3172
|
sessionId: string;
|
|
3171
3173
|
payload: {
|
|
3172
3174
|
changes: {
|
|
@@ -3183,11 +3185,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3183
3185
|
sourceSequence: number | null;
|
|
3184
3186
|
startedAt: number | null;
|
|
3185
3187
|
completedAt: number | null;
|
|
3186
|
-
kind: "file_change";
|
|
3187
3188
|
}, {
|
|
3188
3189
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3189
3190
|
id: string;
|
|
3190
3191
|
runId: string | null;
|
|
3192
|
+
kind: "file_change";
|
|
3191
3193
|
sessionId: string;
|
|
3192
3194
|
payload: {
|
|
3193
3195
|
changes: {
|
|
@@ -3204,7 +3206,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3204
3206
|
sourceSequence: number | null;
|
|
3205
3207
|
startedAt: number | null;
|
|
3206
3208
|
completedAt: number | null;
|
|
3207
|
-
kind: "file_change";
|
|
3208
3209
|
}>, z.ZodObject<{
|
|
3209
3210
|
id: z.ZodString;
|
|
3210
3211
|
sessionId: z.ZodString;
|
|
@@ -3241,6 +3242,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3241
3242
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3242
3243
|
id: string;
|
|
3243
3244
|
runId: string | null;
|
|
3245
|
+
kind: "approval";
|
|
3244
3246
|
sessionId: string;
|
|
3245
3247
|
payload: {
|
|
3246
3248
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -3255,11 +3257,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3255
3257
|
sourceSequence: number | null;
|
|
3256
3258
|
startedAt: number | null;
|
|
3257
3259
|
completedAt: number | null;
|
|
3258
|
-
kind: "approval";
|
|
3259
3260
|
}, {
|
|
3260
3261
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3261
3262
|
id: string;
|
|
3262
3263
|
runId: string | null;
|
|
3264
|
+
kind: "approval";
|
|
3263
3265
|
sessionId: string;
|
|
3264
3266
|
payload: {
|
|
3265
3267
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -3274,7 +3276,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3274
3276
|
sourceSequence: number | null;
|
|
3275
3277
|
startedAt: number | null;
|
|
3276
3278
|
completedAt: number | null;
|
|
3277
|
-
kind: "approval";
|
|
3278
3279
|
}>, z.ZodObject<{
|
|
3279
3280
|
id: z.ZodString;
|
|
3280
3281
|
sessionId: z.ZodString;
|
|
@@ -3300,20 +3301,20 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3300
3301
|
description: z.ZodNullable<z.ZodString>;
|
|
3301
3302
|
}, "strip", z.ZodTypeAny, {
|
|
3302
3303
|
value: string;
|
|
3303
|
-
label: string;
|
|
3304
3304
|
description: string | null;
|
|
3305
|
+
label: string;
|
|
3305
3306
|
}, {
|
|
3306
3307
|
value: string;
|
|
3307
|
-
label: string;
|
|
3308
3308
|
description: string | null;
|
|
3309
|
+
label: string;
|
|
3309
3310
|
}>, "many">;
|
|
3310
3311
|
allowOther: z.ZodBoolean;
|
|
3311
3312
|
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
3312
3313
|
}, "strip", z.ZodTypeAny, {
|
|
3313
3314
|
options: {
|
|
3314
3315
|
value: string;
|
|
3315
|
-
label: string;
|
|
3316
3316
|
description: string | null;
|
|
3317
|
+
label: string;
|
|
3317
3318
|
}[];
|
|
3318
3319
|
id: string;
|
|
3319
3320
|
prompt: string;
|
|
@@ -3323,8 +3324,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3323
3324
|
}, {
|
|
3324
3325
|
options: {
|
|
3325
3326
|
value: string;
|
|
3326
|
-
label: string;
|
|
3327
3327
|
description: string | null;
|
|
3328
|
+
label: string;
|
|
3328
3329
|
}[];
|
|
3329
3330
|
id: string;
|
|
3330
3331
|
prompt: string;
|
|
@@ -3337,8 +3338,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3337
3338
|
questions: {
|
|
3338
3339
|
options: {
|
|
3339
3340
|
value: string;
|
|
3340
|
-
label: string;
|
|
3341
3341
|
description: string | null;
|
|
3342
|
+
label: string;
|
|
3342
3343
|
}[];
|
|
3343
3344
|
id: string;
|
|
3344
3345
|
prompt: string;
|
|
@@ -3351,8 +3352,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3351
3352
|
questions: {
|
|
3352
3353
|
options: {
|
|
3353
3354
|
value: string;
|
|
3354
|
-
label: string;
|
|
3355
3355
|
description: string | null;
|
|
3356
|
+
label: string;
|
|
3356
3357
|
}[];
|
|
3357
3358
|
id: string;
|
|
3358
3359
|
prompt: string;
|
|
@@ -3365,14 +3366,15 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3365
3366
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3366
3367
|
id: string;
|
|
3367
3368
|
runId: string | null;
|
|
3369
|
+
kind: "user_input_request";
|
|
3368
3370
|
sessionId: string;
|
|
3369
3371
|
payload: {
|
|
3370
3372
|
requestId: string;
|
|
3371
3373
|
questions: {
|
|
3372
3374
|
options: {
|
|
3373
3375
|
value: string;
|
|
3374
|
-
label: string;
|
|
3375
3376
|
description: string | null;
|
|
3377
|
+
label: string;
|
|
3376
3378
|
}[];
|
|
3377
3379
|
id: string;
|
|
3378
3380
|
prompt: string;
|
|
@@ -3387,19 +3389,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3387
3389
|
sourceSequence: number | null;
|
|
3388
3390
|
startedAt: number | null;
|
|
3389
3391
|
completedAt: number | null;
|
|
3390
|
-
kind: "user_input_request";
|
|
3391
3392
|
}, {
|
|
3392
3393
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3393
3394
|
id: string;
|
|
3394
3395
|
runId: string | null;
|
|
3396
|
+
kind: "user_input_request";
|
|
3395
3397
|
sessionId: string;
|
|
3396
3398
|
payload: {
|
|
3397
3399
|
requestId: string;
|
|
3398
3400
|
questions: {
|
|
3399
3401
|
options: {
|
|
3400
3402
|
value: string;
|
|
3401
|
-
label: string;
|
|
3402
3403
|
description: string | null;
|
|
3404
|
+
label: string;
|
|
3403
3405
|
}[];
|
|
3404
3406
|
id: string;
|
|
3405
3407
|
prompt: string;
|
|
@@ -3414,7 +3416,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3414
3416
|
sourceSequence: number | null;
|
|
3415
3417
|
startedAt: number | null;
|
|
3416
3418
|
completedAt: number | null;
|
|
3417
|
-
kind: "user_input_request";
|
|
3418
3419
|
}>, z.ZodObject<{
|
|
3419
3420
|
id: z.ZodString;
|
|
3420
3421
|
sessionId: z.ZodString;
|
|
@@ -3442,6 +3443,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3442
3443
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3443
3444
|
id: string;
|
|
3444
3445
|
runId: string | null;
|
|
3446
|
+
kind: "context_compaction";
|
|
3445
3447
|
sessionId: string;
|
|
3446
3448
|
payload: {
|
|
3447
3449
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -3453,11 +3455,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3453
3455
|
sourceSequence: number | null;
|
|
3454
3456
|
startedAt: number | null;
|
|
3455
3457
|
completedAt: number | null;
|
|
3456
|
-
kind: "context_compaction";
|
|
3457
3458
|
}, {
|
|
3458
3459
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3459
3460
|
id: string;
|
|
3460
3461
|
runId: string | null;
|
|
3462
|
+
kind: "context_compaction";
|
|
3461
3463
|
sessionId: string;
|
|
3462
3464
|
payload: {
|
|
3463
3465
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -3469,7 +3471,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3469
3471
|
sourceSequence: number | null;
|
|
3470
3472
|
startedAt: number | null;
|
|
3471
3473
|
completedAt: number | null;
|
|
3472
|
-
kind: "context_compaction";
|
|
3473
3474
|
}>, z.ZodObject<{
|
|
3474
3475
|
id: z.ZodString;
|
|
3475
3476
|
sessionId: z.ZodString;
|
|
@@ -3500,6 +3501,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3500
3501
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3501
3502
|
id: string;
|
|
3502
3503
|
runId: string | null;
|
|
3504
|
+
kind: "warning";
|
|
3503
3505
|
sessionId: string;
|
|
3504
3506
|
payload: {
|
|
3505
3507
|
code: string;
|
|
@@ -3512,11 +3514,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3512
3514
|
sourceSequence: number | null;
|
|
3513
3515
|
startedAt: number | null;
|
|
3514
3516
|
completedAt: number | null;
|
|
3515
|
-
kind: "warning";
|
|
3516
3517
|
}, {
|
|
3517
3518
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3518
3519
|
id: string;
|
|
3519
3520
|
runId: string | null;
|
|
3521
|
+
kind: "warning";
|
|
3520
3522
|
sessionId: string;
|
|
3521
3523
|
payload: {
|
|
3522
3524
|
code: string;
|
|
@@ -3529,7 +3531,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3529
3531
|
sourceSequence: number | null;
|
|
3530
3532
|
startedAt: number | null;
|
|
3531
3533
|
completedAt: number | null;
|
|
3532
|
-
kind: "warning";
|
|
3533
3534
|
}>, z.ZodObject<{
|
|
3534
3535
|
id: z.ZodString;
|
|
3535
3536
|
sessionId: z.ZodString;
|
|
@@ -3563,6 +3564,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3563
3564
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3564
3565
|
id: string;
|
|
3565
3566
|
runId: string | null;
|
|
3567
|
+
kind: "error";
|
|
3566
3568
|
sessionId: string;
|
|
3567
3569
|
payload: {
|
|
3568
3570
|
code: string;
|
|
@@ -3576,11 +3578,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3576
3578
|
sourceSequence: number | null;
|
|
3577
3579
|
startedAt: number | null;
|
|
3578
3580
|
completedAt: number | null;
|
|
3579
|
-
kind: "error";
|
|
3580
3581
|
}, {
|
|
3581
3582
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3582
3583
|
id: string;
|
|
3583
3584
|
runId: string | null;
|
|
3585
|
+
kind: "error";
|
|
3584
3586
|
sessionId: string;
|
|
3585
3587
|
payload: {
|
|
3586
3588
|
code: string;
|
|
@@ -3594,7 +3596,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3594
3596
|
sourceSequence: number | null;
|
|
3595
3597
|
startedAt: number | null;
|
|
3596
3598
|
completedAt: number | null;
|
|
3597
|
-
kind: "error";
|
|
3598
3599
|
}>, z.ZodObject<{
|
|
3599
3600
|
id: z.ZodString;
|
|
3600
3601
|
sessionId: z.ZodString;
|
|
@@ -3622,6 +3623,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3622
3623
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3623
3624
|
id: string;
|
|
3624
3625
|
runId: string | null;
|
|
3626
|
+
kind: "turn_summary";
|
|
3625
3627
|
sessionId: string;
|
|
3626
3628
|
payload: {
|
|
3627
3629
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -3633,11 +3635,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3633
3635
|
sourceSequence: number | null;
|
|
3634
3636
|
startedAt: number | null;
|
|
3635
3637
|
completedAt: number | null;
|
|
3636
|
-
kind: "turn_summary";
|
|
3637
3638
|
}, {
|
|
3638
3639
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3639
3640
|
id: string;
|
|
3640
3641
|
runId: string | null;
|
|
3642
|
+
kind: "turn_summary";
|
|
3641
3643
|
sessionId: string;
|
|
3642
3644
|
payload: {
|
|
3643
3645
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -3649,7 +3651,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3649
3651
|
sourceSequence: number | null;
|
|
3650
3652
|
startedAt: number | null;
|
|
3651
3653
|
completedAt: number | null;
|
|
3652
|
-
kind: "turn_summary";
|
|
3653
3654
|
}>, z.ZodObject<{
|
|
3654
3655
|
id: z.ZodString;
|
|
3655
3656
|
sessionId: z.ZodString;
|
|
@@ -3677,6 +3678,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3677
3678
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3678
3679
|
id: string;
|
|
3679
3680
|
runId: string | null;
|
|
3681
|
+
kind: "unknown";
|
|
3680
3682
|
sessionId: string;
|
|
3681
3683
|
payload: {
|
|
3682
3684
|
label: string;
|
|
@@ -3688,11 +3690,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3688
3690
|
sourceSequence: number | null;
|
|
3689
3691
|
startedAt: number | null;
|
|
3690
3692
|
completedAt: number | null;
|
|
3691
|
-
kind: "unknown";
|
|
3692
3693
|
}, {
|
|
3693
3694
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3694
3695
|
id: string;
|
|
3695
3696
|
runId: string | null;
|
|
3697
|
+
kind: "unknown";
|
|
3696
3698
|
sessionId: string;
|
|
3697
3699
|
payload: {
|
|
3698
3700
|
label: string;
|
|
@@ -3704,7 +3706,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3704
3706
|
sourceSequence: number | null;
|
|
3705
3707
|
startedAt: number | null;
|
|
3706
3708
|
completedAt: number | null;
|
|
3707
|
-
kind: "unknown";
|
|
3708
3709
|
}>]>, "many">;
|
|
3709
3710
|
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
3710
3711
|
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3717,6 +3718,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3717
3718
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3718
3719
|
id: string;
|
|
3719
3720
|
runId: string | null;
|
|
3721
|
+
kind: "assistant_message";
|
|
3720
3722
|
sessionId: string;
|
|
3721
3723
|
payload: {
|
|
3722
3724
|
model: string | null;
|
|
@@ -3729,11 +3731,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3729
3731
|
sourceSequence: number | null;
|
|
3730
3732
|
startedAt: number | null;
|
|
3731
3733
|
completedAt: number | null;
|
|
3732
|
-
kind: "assistant_message";
|
|
3733
3734
|
} | {
|
|
3734
3735
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3735
3736
|
id: string;
|
|
3736
3737
|
runId: string | null;
|
|
3738
|
+
kind: "user_message";
|
|
3737
3739
|
sessionId: string;
|
|
3738
3740
|
payload: {
|
|
3739
3741
|
clientMessageId: string | null;
|
|
@@ -3754,11 +3756,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3754
3756
|
sourceSequence: number | null;
|
|
3755
3757
|
startedAt: number | null;
|
|
3756
3758
|
completedAt: number | null;
|
|
3757
|
-
kind: "user_message";
|
|
3758
3759
|
} | {
|
|
3759
3760
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3760
3761
|
id: string;
|
|
3761
3762
|
runId: string | null;
|
|
3763
|
+
kind: "plan";
|
|
3762
3764
|
sessionId: string;
|
|
3763
3765
|
payload: {
|
|
3764
3766
|
explanation: string | null;
|
|
@@ -3774,11 +3776,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3774
3776
|
sourceSequence: number | null;
|
|
3775
3777
|
startedAt: number | null;
|
|
3776
3778
|
completedAt: number | null;
|
|
3777
|
-
kind: "plan";
|
|
3778
3779
|
} | {
|
|
3779
3780
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3780
3781
|
id: string;
|
|
3781
3782
|
runId: string | null;
|
|
3783
|
+
kind: "approval";
|
|
3782
3784
|
sessionId: string;
|
|
3783
3785
|
payload: {
|
|
3784
3786
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -3793,11 +3795,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3793
3795
|
sourceSequence: number | null;
|
|
3794
3796
|
startedAt: number | null;
|
|
3795
3797
|
completedAt: number | null;
|
|
3796
|
-
kind: "approval";
|
|
3797
3798
|
} | {
|
|
3798
3799
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3799
3800
|
id: string;
|
|
3800
3801
|
runId: string | null;
|
|
3802
|
+
kind: "turn_summary";
|
|
3801
3803
|
sessionId: string;
|
|
3802
3804
|
payload: {
|
|
3803
3805
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -3809,11 +3811,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3809
3811
|
sourceSequence: number | null;
|
|
3810
3812
|
startedAt: number | null;
|
|
3811
3813
|
completedAt: number | null;
|
|
3812
|
-
kind: "turn_summary";
|
|
3813
3814
|
} | {
|
|
3814
3815
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3815
3816
|
id: string;
|
|
3816
3817
|
runId: string | null;
|
|
3818
|
+
kind: "reasoning_summary";
|
|
3817
3819
|
sessionId: string;
|
|
3818
3820
|
payload: {
|
|
3819
3821
|
sections: {
|
|
@@ -3827,11 +3829,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3827
3829
|
sourceSequence: number | null;
|
|
3828
3830
|
startedAt: number | null;
|
|
3829
3831
|
completedAt: number | null;
|
|
3830
|
-
kind: "reasoning_summary";
|
|
3831
3832
|
} | {
|
|
3832
3833
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3833
3834
|
id: string;
|
|
3834
3835
|
runId: string | null;
|
|
3836
|
+
kind: "tool_call";
|
|
3835
3837
|
sessionId: string;
|
|
3836
3838
|
payload: {
|
|
3837
3839
|
errorCode: string | null;
|
|
@@ -3849,11 +3851,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3849
3851
|
sourceSequence: number | null;
|
|
3850
3852
|
startedAt: number | null;
|
|
3851
3853
|
completedAt: number | null;
|
|
3852
|
-
kind: "tool_call";
|
|
3853
3854
|
} | {
|
|
3854
3855
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3855
3856
|
id: string;
|
|
3856
3857
|
runId: string | null;
|
|
3858
|
+
kind: "command_execution";
|
|
3857
3859
|
sessionId: string;
|
|
3858
3860
|
payload: {
|
|
3859
3861
|
durationMs: number | null;
|
|
@@ -3870,11 +3872,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3870
3872
|
sourceSequence: number | null;
|
|
3871
3873
|
startedAt: number | null;
|
|
3872
3874
|
completedAt: number | null;
|
|
3873
|
-
kind: "command_execution";
|
|
3874
3875
|
} | {
|
|
3875
3876
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3876
3877
|
id: string;
|
|
3877
3878
|
runId: string | null;
|
|
3879
|
+
kind: "file_change";
|
|
3878
3880
|
sessionId: string;
|
|
3879
3881
|
payload: {
|
|
3880
3882
|
changes: {
|
|
@@ -3891,19 +3893,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3891
3893
|
sourceSequence: number | null;
|
|
3892
3894
|
startedAt: number | null;
|
|
3893
3895
|
completedAt: number | null;
|
|
3894
|
-
kind: "file_change";
|
|
3895
3896
|
} | {
|
|
3896
3897
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3897
3898
|
id: string;
|
|
3898
3899
|
runId: string | null;
|
|
3900
|
+
kind: "user_input_request";
|
|
3899
3901
|
sessionId: string;
|
|
3900
3902
|
payload: {
|
|
3901
3903
|
requestId: string;
|
|
3902
3904
|
questions: {
|
|
3903
3905
|
options: {
|
|
3904
3906
|
value: string;
|
|
3905
|
-
label: string;
|
|
3906
3907
|
description: string | null;
|
|
3908
|
+
label: string;
|
|
3907
3909
|
}[];
|
|
3908
3910
|
id: string;
|
|
3909
3911
|
prompt: string;
|
|
@@ -3918,11 +3920,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3918
3920
|
sourceSequence: number | null;
|
|
3919
3921
|
startedAt: number | null;
|
|
3920
3922
|
completedAt: number | null;
|
|
3921
|
-
kind: "user_input_request";
|
|
3922
3923
|
} | {
|
|
3923
3924
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3924
3925
|
id: string;
|
|
3925
3926
|
runId: string | null;
|
|
3927
|
+
kind: "context_compaction";
|
|
3926
3928
|
sessionId: string;
|
|
3927
3929
|
payload: {
|
|
3928
3930
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -3934,11 +3936,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3934
3936
|
sourceSequence: number | null;
|
|
3935
3937
|
startedAt: number | null;
|
|
3936
3938
|
completedAt: number | null;
|
|
3937
|
-
kind: "context_compaction";
|
|
3938
3939
|
} | {
|
|
3939
3940
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3940
3941
|
id: string;
|
|
3941
3942
|
runId: string | null;
|
|
3943
|
+
kind: "warning";
|
|
3942
3944
|
sessionId: string;
|
|
3943
3945
|
payload: {
|
|
3944
3946
|
code: string;
|
|
@@ -3951,11 +3953,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3951
3953
|
sourceSequence: number | null;
|
|
3952
3954
|
startedAt: number | null;
|
|
3953
3955
|
completedAt: number | null;
|
|
3954
|
-
kind: "warning";
|
|
3955
3956
|
} | {
|
|
3956
3957
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3957
3958
|
id: string;
|
|
3958
3959
|
runId: string | null;
|
|
3960
|
+
kind: "error";
|
|
3959
3961
|
sessionId: string;
|
|
3960
3962
|
payload: {
|
|
3961
3963
|
code: string;
|
|
@@ -3969,11 +3971,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3969
3971
|
sourceSequence: number | null;
|
|
3970
3972
|
startedAt: number | null;
|
|
3971
3973
|
completedAt: number | null;
|
|
3972
|
-
kind: "error";
|
|
3973
3974
|
} | {
|
|
3974
3975
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
3975
3976
|
id: string;
|
|
3976
3977
|
runId: string | null;
|
|
3978
|
+
kind: "unknown";
|
|
3977
3979
|
sessionId: string;
|
|
3978
3980
|
payload: {
|
|
3979
3981
|
label: string;
|
|
@@ -3985,7 +3987,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3985
3987
|
sourceSequence: number | null;
|
|
3986
3988
|
startedAt: number | null;
|
|
3987
3989
|
completedAt: number | null;
|
|
3988
|
-
kind: "unknown";
|
|
3989
3990
|
})[];
|
|
3990
3991
|
model: string | null;
|
|
3991
3992
|
effort: string | null;
|
|
@@ -4006,6 +4007,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4006
4007
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4007
4008
|
id: string;
|
|
4008
4009
|
runId: string | null;
|
|
4010
|
+
kind: "assistant_message";
|
|
4009
4011
|
sessionId: string;
|
|
4010
4012
|
payload: {
|
|
4011
4013
|
model: string | null;
|
|
@@ -4018,11 +4020,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4018
4020
|
sourceSequence: number | null;
|
|
4019
4021
|
startedAt: number | null;
|
|
4020
4022
|
completedAt: number | null;
|
|
4021
|
-
kind: "assistant_message";
|
|
4022
4023
|
} | {
|
|
4023
4024
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4024
4025
|
id: string;
|
|
4025
4026
|
runId: string | null;
|
|
4027
|
+
kind: "user_message";
|
|
4026
4028
|
sessionId: string;
|
|
4027
4029
|
payload: {
|
|
4028
4030
|
clientMessageId: string | null;
|
|
@@ -4043,11 +4045,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4043
4045
|
sourceSequence: number | null;
|
|
4044
4046
|
startedAt: number | null;
|
|
4045
4047
|
completedAt: number | null;
|
|
4046
|
-
kind: "user_message";
|
|
4047
4048
|
} | {
|
|
4048
4049
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4049
4050
|
id: string;
|
|
4050
4051
|
runId: string | null;
|
|
4052
|
+
kind: "plan";
|
|
4051
4053
|
sessionId: string;
|
|
4052
4054
|
payload: {
|
|
4053
4055
|
explanation: string | null;
|
|
@@ -4063,11 +4065,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4063
4065
|
sourceSequence: number | null;
|
|
4064
4066
|
startedAt: number | null;
|
|
4065
4067
|
completedAt: number | null;
|
|
4066
|
-
kind: "plan";
|
|
4067
4068
|
} | {
|
|
4068
4069
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4069
4070
|
id: string;
|
|
4070
4071
|
runId: string | null;
|
|
4072
|
+
kind: "approval";
|
|
4071
4073
|
sessionId: string;
|
|
4072
4074
|
payload: {
|
|
4073
4075
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
@@ -4082,11 +4084,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4082
4084
|
sourceSequence: number | null;
|
|
4083
4085
|
startedAt: number | null;
|
|
4084
4086
|
completedAt: number | null;
|
|
4085
|
-
kind: "approval";
|
|
4086
4087
|
} | {
|
|
4087
4088
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4088
4089
|
id: string;
|
|
4089
4090
|
runId: string | null;
|
|
4091
|
+
kind: "turn_summary";
|
|
4090
4092
|
sessionId: string;
|
|
4091
4093
|
payload: {
|
|
4092
4094
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
@@ -4098,11 +4100,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4098
4100
|
sourceSequence: number | null;
|
|
4099
4101
|
startedAt: number | null;
|
|
4100
4102
|
completedAt: number | null;
|
|
4101
|
-
kind: "turn_summary";
|
|
4102
4103
|
} | {
|
|
4103
4104
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4104
4105
|
id: string;
|
|
4105
4106
|
runId: string | null;
|
|
4107
|
+
kind: "reasoning_summary";
|
|
4106
4108
|
sessionId: string;
|
|
4107
4109
|
payload: {
|
|
4108
4110
|
sections: {
|
|
@@ -4116,11 +4118,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4116
4118
|
sourceSequence: number | null;
|
|
4117
4119
|
startedAt: number | null;
|
|
4118
4120
|
completedAt: number | null;
|
|
4119
|
-
kind: "reasoning_summary";
|
|
4120
4121
|
} | {
|
|
4121
4122
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4122
4123
|
id: string;
|
|
4123
4124
|
runId: string | null;
|
|
4125
|
+
kind: "tool_call";
|
|
4124
4126
|
sessionId: string;
|
|
4125
4127
|
payload: {
|
|
4126
4128
|
errorCode: string | null;
|
|
@@ -4138,11 +4140,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4138
4140
|
sourceSequence: number | null;
|
|
4139
4141
|
startedAt: number | null;
|
|
4140
4142
|
completedAt: number | null;
|
|
4141
|
-
kind: "tool_call";
|
|
4142
4143
|
} | {
|
|
4143
4144
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4144
4145
|
id: string;
|
|
4145
4146
|
runId: string | null;
|
|
4147
|
+
kind: "command_execution";
|
|
4146
4148
|
sessionId: string;
|
|
4147
4149
|
payload: {
|
|
4148
4150
|
durationMs: number | null;
|
|
@@ -4159,11 +4161,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4159
4161
|
sourceSequence: number | null;
|
|
4160
4162
|
startedAt: number | null;
|
|
4161
4163
|
completedAt: number | null;
|
|
4162
|
-
kind: "command_execution";
|
|
4163
4164
|
} | {
|
|
4164
4165
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4165
4166
|
id: string;
|
|
4166
4167
|
runId: string | null;
|
|
4168
|
+
kind: "file_change";
|
|
4167
4169
|
sessionId: string;
|
|
4168
4170
|
payload: {
|
|
4169
4171
|
changes: {
|
|
@@ -4180,19 +4182,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4180
4182
|
sourceSequence: number | null;
|
|
4181
4183
|
startedAt: number | null;
|
|
4182
4184
|
completedAt: number | null;
|
|
4183
|
-
kind: "file_change";
|
|
4184
4185
|
} | {
|
|
4185
4186
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4186
4187
|
id: string;
|
|
4187
4188
|
runId: string | null;
|
|
4189
|
+
kind: "user_input_request";
|
|
4188
4190
|
sessionId: string;
|
|
4189
4191
|
payload: {
|
|
4190
4192
|
requestId: string;
|
|
4191
4193
|
questions: {
|
|
4192
4194
|
options: {
|
|
4193
4195
|
value: string;
|
|
4194
|
-
label: string;
|
|
4195
4196
|
description: string | null;
|
|
4197
|
+
label: string;
|
|
4196
4198
|
}[];
|
|
4197
4199
|
id: string;
|
|
4198
4200
|
prompt: string;
|
|
@@ -4207,11 +4209,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4207
4209
|
sourceSequence: number | null;
|
|
4208
4210
|
startedAt: number | null;
|
|
4209
4211
|
completedAt: number | null;
|
|
4210
|
-
kind: "user_input_request";
|
|
4211
4212
|
} | {
|
|
4212
4213
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4213
4214
|
id: string;
|
|
4214
4215
|
runId: string | null;
|
|
4216
|
+
kind: "context_compaction";
|
|
4215
4217
|
sessionId: string;
|
|
4216
4218
|
payload: {
|
|
4217
4219
|
phase: "COMPLETED" | "STARTED";
|
|
@@ -4223,11 +4225,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4223
4225
|
sourceSequence: number | null;
|
|
4224
4226
|
startedAt: number | null;
|
|
4225
4227
|
completedAt: number | null;
|
|
4226
|
-
kind: "context_compaction";
|
|
4227
4228
|
} | {
|
|
4228
4229
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4229
4230
|
id: string;
|
|
4230
4231
|
runId: string | null;
|
|
4232
|
+
kind: "warning";
|
|
4231
4233
|
sessionId: string;
|
|
4232
4234
|
payload: {
|
|
4233
4235
|
code: string;
|
|
@@ -4240,11 +4242,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4240
4242
|
sourceSequence: number | null;
|
|
4241
4243
|
startedAt: number | null;
|
|
4242
4244
|
completedAt: number | null;
|
|
4243
|
-
kind: "warning";
|
|
4244
4245
|
} | {
|
|
4245
4246
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4246
4247
|
id: string;
|
|
4247
4248
|
runId: string | null;
|
|
4249
|
+
kind: "error";
|
|
4248
4250
|
sessionId: string;
|
|
4249
4251
|
payload: {
|
|
4250
4252
|
code: string;
|
|
@@ -4258,11 +4260,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4258
4260
|
sourceSequence: number | null;
|
|
4259
4261
|
startedAt: number | null;
|
|
4260
4262
|
completedAt: number | null;
|
|
4261
|
-
kind: "error";
|
|
4262
4263
|
} | {
|
|
4263
4264
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4264
4265
|
id: string;
|
|
4265
4266
|
runId: string | null;
|
|
4267
|
+
kind: "unknown";
|
|
4266
4268
|
sessionId: string;
|
|
4267
4269
|
payload: {
|
|
4268
4270
|
label: string;
|
|
@@ -4274,7 +4276,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4274
4276
|
sourceSequence: number | null;
|
|
4275
4277
|
startedAt: number | null;
|
|
4276
4278
|
completedAt: number | null;
|
|
4277
|
-
kind: "unknown";
|
|
4278
4279
|
})[];
|
|
4279
4280
|
model: string | null;
|
|
4280
4281
|
effort: string | null;
|
|
@@ -4344,13 +4345,13 @@ export declare const conversationItemDeltaSchema: z.ZodDiscriminatedUnion<"kind"
|
|
|
4344
4345
|
itemRevision: z.ZodNumber;
|
|
4345
4346
|
label: z.ZodString;
|
|
4346
4347
|
}, "strip", z.ZodTypeAny, {
|
|
4347
|
-
label: string;
|
|
4348
4348
|
kind: "tool_progress_replace";
|
|
4349
|
+
label: string;
|
|
4349
4350
|
itemId: string;
|
|
4350
4351
|
itemRevision: number;
|
|
4351
4352
|
}, {
|
|
4352
|
-
label: string;
|
|
4353
4353
|
kind: "tool_progress_replace";
|
|
4354
|
+
label: string;
|
|
4354
4355
|
itemId: string;
|
|
4355
4356
|
itemRevision: number;
|
|
4356
4357
|
}>]>;
|
|
@@ -4936,7 +4937,7 @@ export declare const gitHistoryFileSchema: z.ZodObject<{
|
|
|
4936
4937
|
previousPath?: string | undefined;
|
|
4937
4938
|
}>;
|
|
4938
4939
|
export type GitHistoryFile = z.infer<typeof gitHistoryFileSchema>;
|
|
4939
|
-
export declare const workbenchNodeOperationSchema: z.ZodEnum<["node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.remove", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "workspace.activity.read", "runner.profiles.list", "runner.defaults.save", "workspace.files.list", "workspace.file.read", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "run.image.read", "terminal.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "node.upgrade.request", "node.upgrade.cancel"]>;
|
|
4940
|
+
export declare const workbenchNodeOperationSchema: z.ZodEnum<["node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.remove", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "workspace.activity.read", "runner.profiles.list", "runner.defaults.save", "workspace.files.list", "workspace.file.read", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "run.image.read", "terminal.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get"]>;
|
|
4940
4941
|
export type WorkbenchNodeOperation = z.infer<typeof workbenchNodeOperationSchema>;
|
|
4941
4942
|
/**
|
|
4942
4943
|
* A small, explicit envelope keeps WebSocket messages independently parseable
|
|
@@ -4963,11 +4964,11 @@ export declare const nodeEnvelopeSchema: z.ZodObject<{
|
|
|
4963
4964
|
}>;
|
|
4964
4965
|
export type NodeEnvelope = z.infer<typeof nodeEnvelopeSchema>;
|
|
4965
4966
|
export declare const nodeErrorSchema: z.ZodObject<{
|
|
4966
|
-
code: z.ZodEnum<["PROTOCOL_VERSION_UNSUPPORTED", "MESSAGE_TYPE_UNKNOWN", "MESSAGE_INVALID", "NODE_UNAUTHENTICATED", "NODE_DISABLED", "REGISTRATION_TOKEN_INVALID", "WORKSPACE_INVALID", "RUN_NOT_FOUND", "RUN_STATE_INVALID", "RUN_LOST", "APPROVAL_NOT_FOUND", "APPROVAL_EXPIRED", "APPROVAL_ALREADY_DECIDED", "APPROVAL_ALREADY_EXISTS", "WORKBENCH_PROTOCOL_UNSUPPORTED", "CAPABILITY_UNAVAILABLE", "CAPABILITY_VERSION_UNSUPPORTED", "CAPABILITY_STALE", "EVENT_CURSOR_INVALID", "EVENT_CURSOR_GAP", "ITEM_REVISION_CONFLICT", "RUNNER_PROFILE_INVALID", "RUNNER_COMMAND_UNSUPPORTED", "FILE_NOT_FOUND", "FILE_NOT_REGULAR", "FILE_TOO_LARGE", "FILE_ENCODING_UNSUPPORTED", "FILE_PATH_ESCAPE", "DIRECTORY_CURSOR_INVALID", "FILE_SEARCH_LIMIT_EXCEEDED", "GIT_CHANGE_RESTORE_UNAVAILABLE", "TERMINAL_UNAVAILABLE", "TERMINAL_LIMIT_REACHED", "TERMINAL_NOT_FOUND", "TERMINAL_ATTACH_CONFLICT", "TERMINAL_REPLAY_GAP", "TERMINAL_DATA_CHANNEL_UNAVAILABLE", "INTERNAL_ERROR"]>;
|
|
4967
|
+
code: z.ZodEnum<["PROTOCOL_VERSION_UNSUPPORTED", "MESSAGE_TYPE_UNKNOWN", "MESSAGE_INVALID", "NODE_UNAUTHENTICATED", "NODE_DISABLED", "REGISTRATION_TOKEN_INVALID", "WORKSPACE_INVALID", "RUN_NOT_FOUND", "RUN_STATE_INVALID", "RUN_LOST", "APPROVAL_NOT_FOUND", "APPROVAL_EXPIRED", "APPROVAL_ALREADY_DECIDED", "APPROVAL_ALREADY_EXISTS", "WORKBENCH_PROTOCOL_UNSUPPORTED", "CAPABILITY_UNAVAILABLE", "CAPABILITY_VERSION_UNSUPPORTED", "CAPABILITY_STALE", "EVENT_CURSOR_INVALID", "EVENT_CURSOR_GAP", "ITEM_REVISION_CONFLICT", "RUNNER_PROFILE_INVALID", "RUNNER_COMMAND_UNSUPPORTED", "FILE_NOT_FOUND", "FILE_NOT_REGULAR", "FILE_TOO_LARGE", "FILE_ENCODING_UNSUPPORTED", "FILE_PATH_ESCAPE", "DIRECTORY_CURSOR_INVALID", "FILE_SEARCH_LIMIT_EXCEEDED", "GIT_CHANGE_RESTORE_UNAVAILABLE", "TERMINAL_UNAVAILABLE", "TERMINAL_LIMIT_REACHED", "TERMINAL_NOT_FOUND", "TERMINAL_ATTACH_CONFLICT", "TERMINAL_REPLAY_GAP", "TERMINAL_DATA_CHANNEL_UNAVAILABLE", "SKILL_TARGET_OFFLINE", "SKILL_TARGET_LIMIT_EXCEEDED", "SKILL_NAME_CONFLICT", "SKILL_PATH_UNSAFE", "SKILL_CONTENT_INVALID", "SKILL_INSTALL_PARTIAL", "SKILL_INSTALL_FAILED", "SKILL_INSTALL_VERSION_UNKNOWN", "SKILL_INSTALL_RECOVERY_REQUIRED", "SKILL_INSTALL_INVALID_LINK", "NODE_SKILL_LINK_UNAVAILABLE", "WORKSPACE_SKILL_GIT_EXCLUDE_FAILED", "WORKSPACE_SKILL_TRACKED_CONFIRM_REQUIRED", "INTERNAL_ERROR"]>;
|
|
4967
4968
|
}, "strip", z.ZodTypeAny, {
|
|
4968
|
-
code: "PROTOCOL_VERSION_UNSUPPORTED" | "MESSAGE_TYPE_UNKNOWN" | "MESSAGE_INVALID" | "NODE_UNAUTHENTICATED" | "NODE_DISABLED" | "REGISTRATION_TOKEN_INVALID" | "WORKSPACE_INVALID" | "RUN_NOT_FOUND" | "RUN_STATE_INVALID" | "RUN_LOST" | "APPROVAL_NOT_FOUND" | "APPROVAL_EXPIRED" | "APPROVAL_ALREADY_DECIDED" | "APPROVAL_ALREADY_EXISTS" | "WORKBENCH_PROTOCOL_UNSUPPORTED" | "CAPABILITY_UNAVAILABLE" | "CAPABILITY_VERSION_UNSUPPORTED" | "CAPABILITY_STALE" | "EVENT_CURSOR_INVALID" | "EVENT_CURSOR_GAP" | "ITEM_REVISION_CONFLICT" | "RUNNER_PROFILE_INVALID" | "RUNNER_COMMAND_UNSUPPORTED" | "FILE_NOT_FOUND" | "FILE_NOT_REGULAR" | "FILE_TOO_LARGE" | "FILE_ENCODING_UNSUPPORTED" | "FILE_PATH_ESCAPE" | "DIRECTORY_CURSOR_INVALID" | "FILE_SEARCH_LIMIT_EXCEEDED" | "GIT_CHANGE_RESTORE_UNAVAILABLE" | "TERMINAL_UNAVAILABLE" | "TERMINAL_LIMIT_REACHED" | "TERMINAL_NOT_FOUND" | "TERMINAL_ATTACH_CONFLICT" | "TERMINAL_REPLAY_GAP" | "TERMINAL_DATA_CHANNEL_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4969
|
+
code: "PROTOCOL_VERSION_UNSUPPORTED" | "MESSAGE_TYPE_UNKNOWN" | "MESSAGE_INVALID" | "NODE_UNAUTHENTICATED" | "NODE_DISABLED" | "REGISTRATION_TOKEN_INVALID" | "WORKSPACE_INVALID" | "RUN_NOT_FOUND" | "RUN_STATE_INVALID" | "RUN_LOST" | "APPROVAL_NOT_FOUND" | "APPROVAL_EXPIRED" | "APPROVAL_ALREADY_DECIDED" | "APPROVAL_ALREADY_EXISTS" | "WORKBENCH_PROTOCOL_UNSUPPORTED" | "CAPABILITY_UNAVAILABLE" | "CAPABILITY_VERSION_UNSUPPORTED" | "CAPABILITY_STALE" | "EVENT_CURSOR_INVALID" | "EVENT_CURSOR_GAP" | "ITEM_REVISION_CONFLICT" | "RUNNER_PROFILE_INVALID" | "RUNNER_COMMAND_UNSUPPORTED" | "FILE_NOT_FOUND" | "FILE_NOT_REGULAR" | "FILE_TOO_LARGE" | "FILE_ENCODING_UNSUPPORTED" | "FILE_PATH_ESCAPE" | "DIRECTORY_CURSOR_INVALID" | "FILE_SEARCH_LIMIT_EXCEEDED" | "GIT_CHANGE_RESTORE_UNAVAILABLE" | "TERMINAL_UNAVAILABLE" | "TERMINAL_LIMIT_REACHED" | "TERMINAL_NOT_FOUND" | "TERMINAL_ATTACH_CONFLICT" | "TERMINAL_REPLAY_GAP" | "TERMINAL_DATA_CHANNEL_UNAVAILABLE" | "SKILL_TARGET_OFFLINE" | "SKILL_TARGET_LIMIT_EXCEEDED" | "SKILL_NAME_CONFLICT" | "SKILL_PATH_UNSAFE" | "SKILL_CONTENT_INVALID" | "SKILL_INSTALL_PARTIAL" | "SKILL_INSTALL_FAILED" | "SKILL_INSTALL_VERSION_UNKNOWN" | "SKILL_INSTALL_RECOVERY_REQUIRED" | "SKILL_INSTALL_INVALID_LINK" | "NODE_SKILL_LINK_UNAVAILABLE" | "WORKSPACE_SKILL_GIT_EXCLUDE_FAILED" | "WORKSPACE_SKILL_TRACKED_CONFIRM_REQUIRED" | "INTERNAL_ERROR";
|
|
4969
4970
|
}, {
|
|
4970
|
-
code: "PROTOCOL_VERSION_UNSUPPORTED" | "MESSAGE_TYPE_UNKNOWN" | "MESSAGE_INVALID" | "NODE_UNAUTHENTICATED" | "NODE_DISABLED" | "REGISTRATION_TOKEN_INVALID" | "WORKSPACE_INVALID" | "RUN_NOT_FOUND" | "RUN_STATE_INVALID" | "RUN_LOST" | "APPROVAL_NOT_FOUND" | "APPROVAL_EXPIRED" | "APPROVAL_ALREADY_DECIDED" | "APPROVAL_ALREADY_EXISTS" | "WORKBENCH_PROTOCOL_UNSUPPORTED" | "CAPABILITY_UNAVAILABLE" | "CAPABILITY_VERSION_UNSUPPORTED" | "CAPABILITY_STALE" | "EVENT_CURSOR_INVALID" | "EVENT_CURSOR_GAP" | "ITEM_REVISION_CONFLICT" | "RUNNER_PROFILE_INVALID" | "RUNNER_COMMAND_UNSUPPORTED" | "FILE_NOT_FOUND" | "FILE_NOT_REGULAR" | "FILE_TOO_LARGE" | "FILE_ENCODING_UNSUPPORTED" | "FILE_PATH_ESCAPE" | "DIRECTORY_CURSOR_INVALID" | "FILE_SEARCH_LIMIT_EXCEEDED" | "GIT_CHANGE_RESTORE_UNAVAILABLE" | "TERMINAL_UNAVAILABLE" | "TERMINAL_LIMIT_REACHED" | "TERMINAL_NOT_FOUND" | "TERMINAL_ATTACH_CONFLICT" | "TERMINAL_REPLAY_GAP" | "TERMINAL_DATA_CHANNEL_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4971
|
+
code: "PROTOCOL_VERSION_UNSUPPORTED" | "MESSAGE_TYPE_UNKNOWN" | "MESSAGE_INVALID" | "NODE_UNAUTHENTICATED" | "NODE_DISABLED" | "REGISTRATION_TOKEN_INVALID" | "WORKSPACE_INVALID" | "RUN_NOT_FOUND" | "RUN_STATE_INVALID" | "RUN_LOST" | "APPROVAL_NOT_FOUND" | "APPROVAL_EXPIRED" | "APPROVAL_ALREADY_DECIDED" | "APPROVAL_ALREADY_EXISTS" | "WORKBENCH_PROTOCOL_UNSUPPORTED" | "CAPABILITY_UNAVAILABLE" | "CAPABILITY_VERSION_UNSUPPORTED" | "CAPABILITY_STALE" | "EVENT_CURSOR_INVALID" | "EVENT_CURSOR_GAP" | "ITEM_REVISION_CONFLICT" | "RUNNER_PROFILE_INVALID" | "RUNNER_COMMAND_UNSUPPORTED" | "FILE_NOT_FOUND" | "FILE_NOT_REGULAR" | "FILE_TOO_LARGE" | "FILE_ENCODING_UNSUPPORTED" | "FILE_PATH_ESCAPE" | "DIRECTORY_CURSOR_INVALID" | "FILE_SEARCH_LIMIT_EXCEEDED" | "GIT_CHANGE_RESTORE_UNAVAILABLE" | "TERMINAL_UNAVAILABLE" | "TERMINAL_LIMIT_REACHED" | "TERMINAL_NOT_FOUND" | "TERMINAL_ATTACH_CONFLICT" | "TERMINAL_REPLAY_GAP" | "TERMINAL_DATA_CHANNEL_UNAVAILABLE" | "SKILL_TARGET_OFFLINE" | "SKILL_TARGET_LIMIT_EXCEEDED" | "SKILL_NAME_CONFLICT" | "SKILL_PATH_UNSAFE" | "SKILL_CONTENT_INVALID" | "SKILL_INSTALL_PARTIAL" | "SKILL_INSTALL_FAILED" | "SKILL_INSTALL_VERSION_UNKNOWN" | "SKILL_INSTALL_RECOVERY_REQUIRED" | "SKILL_INSTALL_INVALID_LINK" | "NODE_SKILL_LINK_UNAVAILABLE" | "WORKSPACE_SKILL_GIT_EXCLUDE_FAILED" | "WORKSPACE_SKILL_TRACKED_CONFIRM_REQUIRED" | "INTERNAL_ERROR";
|
|
4971
4972
|
}>;
|
|
4972
4973
|
export declare function createEnvelope(type: string, payload: unknown, options?: {
|
|
4973
4974
|
id?: string;
|