@nikcli-ai/sdk 1.297.0 → 1.298.0
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/httpapi/generated/types.d.ts +518 -303
- package/package.json +1 -1
|
@@ -570,11 +570,11 @@ export type Model = {
|
|
|
570
570
|
providerID: string;
|
|
571
571
|
api: {
|
|
572
572
|
id: string;
|
|
573
|
-
url?: string
|
|
573
|
+
url?: string;
|
|
574
574
|
npm: string;
|
|
575
575
|
};
|
|
576
576
|
name: string;
|
|
577
|
-
family?: string
|
|
577
|
+
family?: string;
|
|
578
578
|
capabilities: {
|
|
579
579
|
temperature: boolean;
|
|
580
580
|
reasoning: boolean;
|
|
@@ -612,11 +612,11 @@ export type Model = {
|
|
|
612
612
|
read: number;
|
|
613
613
|
write: number;
|
|
614
614
|
};
|
|
615
|
-
}
|
|
615
|
+
};
|
|
616
616
|
};
|
|
617
617
|
limit: {
|
|
618
618
|
context: number;
|
|
619
|
-
input?: number
|
|
619
|
+
input?: number;
|
|
620
620
|
output: number;
|
|
621
621
|
};
|
|
622
622
|
status: "alpha" | "beta" | "deprecated" | "active";
|
|
@@ -631,7 +631,7 @@ export type Model = {
|
|
|
631
631
|
[x: string]: {
|
|
632
632
|
[x: string]: any;
|
|
633
633
|
};
|
|
634
|
-
}
|
|
634
|
+
};
|
|
635
635
|
};
|
|
636
636
|
export type ConnectorStatus = {
|
|
637
637
|
status: "connected";
|
|
@@ -1019,6 +1019,34 @@ export type SessionStatus = {
|
|
|
1019
1019
|
} | {
|
|
1020
1020
|
type: "busy";
|
|
1021
1021
|
};
|
|
1022
|
+
export type SessionWorktree4 = {
|
|
1023
|
+
name: string;
|
|
1024
|
+
branch: string;
|
|
1025
|
+
directory: string;
|
|
1026
|
+
repositoryDirectory?: string;
|
|
1027
|
+
cleanedAt?: number;
|
|
1028
|
+
};
|
|
1029
|
+
export type SessionWorktree5 = {
|
|
1030
|
+
name: string;
|
|
1031
|
+
branch: string;
|
|
1032
|
+
directory: string;
|
|
1033
|
+
repositoryDirectory?: string;
|
|
1034
|
+
cleanedAt?: number;
|
|
1035
|
+
};
|
|
1036
|
+
export type SessionMobile2 = {
|
|
1037
|
+
platforms: Array<"ios" | "android" | "expo" | "flutter" | "react-native">;
|
|
1038
|
+
primaryPlatform: string;
|
|
1039
|
+
method: string;
|
|
1040
|
+
detectedAt: number;
|
|
1041
|
+
buildStatus?: "unknown" | "building" | "succeeded" | "failed";
|
|
1042
|
+
lastBuildAt?: number;
|
|
1043
|
+
artifacts?: Array<{
|
|
1044
|
+
platform: string;
|
|
1045
|
+
path: string;
|
|
1046
|
+
size?: number;
|
|
1047
|
+
createdAt?: number;
|
|
1048
|
+
}>;
|
|
1049
|
+
};
|
|
1022
1050
|
export type OutputFormatText = {
|
|
1023
1051
|
type: "text";
|
|
1024
1052
|
};
|
|
@@ -1284,21 +1312,60 @@ export type QuestionOption = {
|
|
|
1284
1312
|
export type JSONSchema1 = {
|
|
1285
1313
|
[x: string]: any;
|
|
1286
1314
|
};
|
|
1315
|
+
export type MessageContextOverflowError1 = {
|
|
1316
|
+
name: "MessageContextOverflowError";
|
|
1317
|
+
data: {
|
|
1318
|
+
message: string;
|
|
1319
|
+
statusCode?: number;
|
|
1320
|
+
responseBody?: string;
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
export type APIError2 = {
|
|
1324
|
+
name: "APIError";
|
|
1325
|
+
data: {
|
|
1326
|
+
message: string;
|
|
1327
|
+
statusCode?: number;
|
|
1328
|
+
isRetryable: boolean;
|
|
1329
|
+
responseHeaders?: {
|
|
1330
|
+
[x: string]: string;
|
|
1331
|
+
};
|
|
1332
|
+
responseBody?: string;
|
|
1333
|
+
metadata?: {
|
|
1334
|
+
[x: string]: string;
|
|
1335
|
+
};
|
|
1336
|
+
classification?: "payload-too-large";
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1287
1339
|
export type TextPart1 = {
|
|
1288
1340
|
id: string;
|
|
1289
1341
|
sessionID: string;
|
|
1290
1342
|
messageID: string;
|
|
1291
1343
|
type: "text";
|
|
1292
1344
|
text: string;
|
|
1293
|
-
synthetic?: boolean
|
|
1294
|
-
ignored?: boolean
|
|
1345
|
+
synthetic?: boolean;
|
|
1346
|
+
ignored?: boolean;
|
|
1295
1347
|
time?: {
|
|
1296
1348
|
start: number;
|
|
1297
|
-
end?: number
|
|
1298
|
-
}
|
|
1349
|
+
end?: number;
|
|
1350
|
+
};
|
|
1299
1351
|
metadata?: {
|
|
1300
1352
|
[x: string]: any;
|
|
1301
|
-
}
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
export type SubtaskPart1 = {
|
|
1356
|
+
id: string;
|
|
1357
|
+
sessionID: string;
|
|
1358
|
+
messageID: string;
|
|
1359
|
+
type: "subtask";
|
|
1360
|
+
prompt: string;
|
|
1361
|
+
description: string;
|
|
1362
|
+
agent: string;
|
|
1363
|
+
model?: {
|
|
1364
|
+
providerID: string;
|
|
1365
|
+
modelID: string;
|
|
1366
|
+
};
|
|
1367
|
+
command?: string;
|
|
1368
|
+
background?: boolean;
|
|
1302
1369
|
};
|
|
1303
1370
|
export type ReasoningPart1 = {
|
|
1304
1371
|
id: string;
|
|
@@ -1308,10 +1375,10 @@ export type ReasoningPart1 = {
|
|
|
1308
1375
|
text: string;
|
|
1309
1376
|
metadata?: {
|
|
1310
1377
|
[x: string]: any;
|
|
1311
|
-
}
|
|
1378
|
+
};
|
|
1312
1379
|
time: {
|
|
1313
1380
|
start: number;
|
|
1314
|
-
end?: number
|
|
1381
|
+
end?: number;
|
|
1315
1382
|
};
|
|
1316
1383
|
};
|
|
1317
1384
|
export type FilePartSourceText6 = {
|
|
@@ -1331,13 +1398,13 @@ export type ToolStateRunning1 = {
|
|
|
1331
1398
|
input: {
|
|
1332
1399
|
[x: string]: any;
|
|
1333
1400
|
};
|
|
1334
|
-
title?: string
|
|
1401
|
+
title?: string;
|
|
1335
1402
|
metadata?: {
|
|
1336
1403
|
[x: string]: any;
|
|
1337
|
-
}
|
|
1404
|
+
};
|
|
1338
1405
|
structured?: {
|
|
1339
1406
|
[x: string]: any;
|
|
1340
|
-
}
|
|
1407
|
+
};
|
|
1341
1408
|
content?: Array<{
|
|
1342
1409
|
type: "text";
|
|
1343
1410
|
text: string;
|
|
@@ -1345,8 +1412,8 @@ export type ToolStateRunning1 = {
|
|
|
1345
1412
|
type: "file";
|
|
1346
1413
|
data: string;
|
|
1347
1414
|
mime: string;
|
|
1348
|
-
name?: string
|
|
1349
|
-
}
|
|
1415
|
+
name?: string;
|
|
1416
|
+
}>;
|
|
1350
1417
|
time: {
|
|
1351
1418
|
start: number;
|
|
1352
1419
|
};
|
|
@@ -1359,12 +1426,38 @@ export type ToolStateError1 = {
|
|
|
1359
1426
|
error: string;
|
|
1360
1427
|
metadata?: {
|
|
1361
1428
|
[x: string]: any;
|
|
1362
|
-
}
|
|
1429
|
+
};
|
|
1363
1430
|
time: {
|
|
1364
1431
|
start: number;
|
|
1365
1432
|
end: number;
|
|
1366
1433
|
};
|
|
1367
1434
|
};
|
|
1435
|
+
export type StepStartPart1 = {
|
|
1436
|
+
id: string;
|
|
1437
|
+
sessionID: string;
|
|
1438
|
+
messageID: string;
|
|
1439
|
+
type: "step-start";
|
|
1440
|
+
snapshot?: string;
|
|
1441
|
+
};
|
|
1442
|
+
export type StepFinishPart1 = {
|
|
1443
|
+
id: string;
|
|
1444
|
+
sessionID: string;
|
|
1445
|
+
messageID: string;
|
|
1446
|
+
type: "step-finish";
|
|
1447
|
+
reason: string;
|
|
1448
|
+
snapshot?: string;
|
|
1449
|
+
cost: number;
|
|
1450
|
+
tokens: {
|
|
1451
|
+
total?: number;
|
|
1452
|
+
input: number;
|
|
1453
|
+
output: number;
|
|
1454
|
+
reasoning: number;
|
|
1455
|
+
cache: {
|
|
1456
|
+
read: number;
|
|
1457
|
+
write: number;
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1368
1461
|
export type AgentPart1 = {
|
|
1369
1462
|
id: string;
|
|
1370
1463
|
sessionID: string;
|
|
@@ -1375,7 +1468,7 @@ export type AgentPart1 = {
|
|
|
1375
1468
|
value: string;
|
|
1376
1469
|
start: number;
|
|
1377
1470
|
end: number;
|
|
1378
|
-
}
|
|
1471
|
+
};
|
|
1379
1472
|
};
|
|
1380
1473
|
export type MobileGithubPublishResult = {
|
|
1381
1474
|
commitSha: string;
|
|
@@ -1664,15 +1757,15 @@ export type BooleanResult = boolean;
|
|
|
1664
1757
|
export type TextPartInput = {
|
|
1665
1758
|
type: "text";
|
|
1666
1759
|
text: string;
|
|
1667
|
-
synthetic?: boolean
|
|
1668
|
-
ignored?: boolean
|
|
1760
|
+
synthetic?: boolean;
|
|
1761
|
+
ignored?: boolean;
|
|
1669
1762
|
time?: {
|
|
1670
1763
|
start: number;
|
|
1671
|
-
end?: number
|
|
1672
|
-
}
|
|
1764
|
+
end?: number;
|
|
1765
|
+
};
|
|
1673
1766
|
metadata?: {
|
|
1674
1767
|
[x: string]: any;
|
|
1675
|
-
}
|
|
1768
|
+
};
|
|
1676
1769
|
id?: string | undefined;
|
|
1677
1770
|
};
|
|
1678
1771
|
export type AgentPartInput = {
|
|
@@ -1682,7 +1775,7 @@ export type AgentPartInput = {
|
|
|
1682
1775
|
value: string;
|
|
1683
1776
|
start: number;
|
|
1684
1777
|
end: number;
|
|
1685
|
-
}
|
|
1778
|
+
};
|
|
1686
1779
|
id?: string | undefined;
|
|
1687
1780
|
};
|
|
1688
1781
|
export type SubtaskPartInput = {
|
|
@@ -1693,9 +1786,9 @@ export type SubtaskPartInput = {
|
|
|
1693
1786
|
model?: {
|
|
1694
1787
|
providerID: string;
|
|
1695
1788
|
modelID: string;
|
|
1696
|
-
}
|
|
1697
|
-
command?: string
|
|
1698
|
-
background?: boolean
|
|
1789
|
+
};
|
|
1790
|
+
command?: string;
|
|
1791
|
+
background?: boolean;
|
|
1699
1792
|
id?: string | undefined;
|
|
1700
1793
|
};
|
|
1701
1794
|
export type SessionV2EntryList = Array<unknown>;
|
|
@@ -1721,7 +1814,7 @@ export type SessionGoalState = {
|
|
|
1721
1814
|
goalID: string;
|
|
1722
1815
|
objective: string;
|
|
1723
1816
|
status: "active" | "paused" | "blocked" | "usage_limited" | "budget_limited" | "complete";
|
|
1724
|
-
tokenBudget?: number
|
|
1817
|
+
tokenBudget?: number;
|
|
1725
1818
|
tokensUsed: number;
|
|
1726
1819
|
timeUsedSeconds: number;
|
|
1727
1820
|
iterationCount: number;
|
|
@@ -1753,17 +1846,17 @@ export type SessionMonitorOutput2 = {
|
|
|
1753
1846
|
sessionID: string;
|
|
1754
1847
|
messageID: string;
|
|
1755
1848
|
callID: string;
|
|
1756
|
-
partID?: string
|
|
1849
|
+
partID?: string;
|
|
1757
1850
|
title: string;
|
|
1758
1851
|
command: string;
|
|
1759
1852
|
cwd: string;
|
|
1760
1853
|
agent: string;
|
|
1761
1854
|
wake: boolean;
|
|
1762
|
-
timeoutMs?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1855
|
+
timeoutMs?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1763
1856
|
status: "running" | "complete" | "error" | "timeout" | "cancelled";
|
|
1764
|
-
pid?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1765
|
-
exitCode?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1766
|
-
signal?: string
|
|
1857
|
+
pid?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1858
|
+
exitCode?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1859
|
+
signal?: string;
|
|
1767
1860
|
logPath: string;
|
|
1768
1861
|
commandPath: string;
|
|
1769
1862
|
pidPath: string;
|
|
@@ -1773,7 +1866,7 @@ export type SessionMonitorOutput2 = {
|
|
|
1773
1866
|
time: {
|
|
1774
1867
|
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
1775
1868
|
updated: number | "Infinity" | "-Infinity" | "NaN";
|
|
1776
|
-
completed?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1869
|
+
completed?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1777
1870
|
};
|
|
1778
1871
|
} | null;
|
|
1779
1872
|
export type SessionMonitorLogOutput2 = {
|
|
@@ -1782,17 +1875,17 @@ export type SessionMonitorLogOutput2 = {
|
|
|
1782
1875
|
sessionID: string;
|
|
1783
1876
|
messageID: string;
|
|
1784
1877
|
callID: string;
|
|
1785
|
-
partID?: string
|
|
1878
|
+
partID?: string;
|
|
1786
1879
|
title: string;
|
|
1787
1880
|
command: string;
|
|
1788
1881
|
cwd: string;
|
|
1789
1882
|
agent: string;
|
|
1790
1883
|
wake: boolean;
|
|
1791
|
-
timeoutMs?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1884
|
+
timeoutMs?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1792
1885
|
status: "running" | "complete" | "error" | "timeout" | "cancelled";
|
|
1793
|
-
pid?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1794
|
-
exitCode?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1795
|
-
signal?: string
|
|
1886
|
+
pid?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1887
|
+
exitCode?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1888
|
+
signal?: string;
|
|
1796
1889
|
logPath: string;
|
|
1797
1890
|
commandPath: string;
|
|
1798
1891
|
pidPath: string;
|
|
@@ -1802,7 +1895,7 @@ export type SessionMonitorLogOutput2 = {
|
|
|
1802
1895
|
time: {
|
|
1803
1896
|
created: number | "Infinity" | "-Infinity" | "NaN";
|
|
1804
1897
|
updated: number | "Infinity" | "-Infinity" | "NaN";
|
|
1805
|
-
completed?: number | "Infinity" | "-Infinity" | "NaN"
|
|
1898
|
+
completed?: number | "Infinity" | "-Infinity" | "NaN";
|
|
1806
1899
|
};
|
|
1807
1900
|
};
|
|
1808
1901
|
output: string;
|
|
@@ -1979,6 +2072,30 @@ export type EventLspUpdated = {
|
|
|
1979
2072
|
type: "lsp.updated";
|
|
1980
2073
|
properties: {};
|
|
1981
2074
|
};
|
|
2075
|
+
export type MessageContextOverflowError2 = {
|
|
2076
|
+
name: "MessageContextOverflowError";
|
|
2077
|
+
data: {
|
|
2078
|
+
message: string;
|
|
2079
|
+
statusCode?: number;
|
|
2080
|
+
responseBody?: string;
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
export type APIError3 = {
|
|
2084
|
+
name: "APIError";
|
|
2085
|
+
data: {
|
|
2086
|
+
message: string;
|
|
2087
|
+
statusCode?: number;
|
|
2088
|
+
isRetryable: boolean;
|
|
2089
|
+
responseHeaders?: {
|
|
2090
|
+
[x: string]: string;
|
|
2091
|
+
};
|
|
2092
|
+
responseBody?: string;
|
|
2093
|
+
metadata?: {
|
|
2094
|
+
[x: string]: string;
|
|
2095
|
+
};
|
|
2096
|
+
classification?: "payload-too-large";
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
1982
2099
|
export type EventMessageRemoved = {
|
|
1983
2100
|
type: "message.removed";
|
|
1984
2101
|
properties: {
|
|
@@ -1992,15 +2109,15 @@ export type TextPart2 = {
|
|
|
1992
2109
|
messageID: string;
|
|
1993
2110
|
type: "text";
|
|
1994
2111
|
text: string;
|
|
1995
|
-
synthetic?: boolean
|
|
1996
|
-
ignored?: boolean
|
|
2112
|
+
synthetic?: boolean;
|
|
2113
|
+
ignored?: boolean;
|
|
1997
2114
|
time?: {
|
|
1998
2115
|
start: number;
|
|
1999
|
-
end?: number
|
|
2000
|
-
}
|
|
2116
|
+
end?: number;
|
|
2117
|
+
};
|
|
2001
2118
|
metadata?: {
|
|
2002
2119
|
[x: string]: any;
|
|
2003
|
-
}
|
|
2120
|
+
};
|
|
2004
2121
|
};
|
|
2005
2122
|
export type ReasoningPart2 = {
|
|
2006
2123
|
id: string;
|
|
@@ -2010,10 +2127,10 @@ export type ReasoningPart2 = {
|
|
|
2010
2127
|
text: string;
|
|
2011
2128
|
metadata?: {
|
|
2012
2129
|
[x: string]: any;
|
|
2013
|
-
}
|
|
2130
|
+
};
|
|
2014
2131
|
time: {
|
|
2015
2132
|
start: number;
|
|
2016
|
-
end?: number
|
|
2133
|
+
end?: number;
|
|
2017
2134
|
};
|
|
2018
2135
|
};
|
|
2019
2136
|
export type ToolStateRunning2 = {
|
|
@@ -2021,13 +2138,13 @@ export type ToolStateRunning2 = {
|
|
|
2021
2138
|
input: {
|
|
2022
2139
|
[x: string]: any;
|
|
2023
2140
|
};
|
|
2024
|
-
title?: string
|
|
2141
|
+
title?: string;
|
|
2025
2142
|
metadata?: {
|
|
2026
2143
|
[x: string]: any;
|
|
2027
|
-
}
|
|
2144
|
+
};
|
|
2028
2145
|
structured?: {
|
|
2029
2146
|
[x: string]: any;
|
|
2030
|
-
}
|
|
2147
|
+
};
|
|
2031
2148
|
content?: Array<{
|
|
2032
2149
|
type: "text";
|
|
2033
2150
|
text: string;
|
|
@@ -2035,8 +2152,8 @@ export type ToolStateRunning2 = {
|
|
|
2035
2152
|
type: "file";
|
|
2036
2153
|
data: string;
|
|
2037
2154
|
mime: string;
|
|
2038
|
-
name?: string
|
|
2039
|
-
}
|
|
2155
|
+
name?: string;
|
|
2156
|
+
}>;
|
|
2040
2157
|
time: {
|
|
2041
2158
|
start: number;
|
|
2042
2159
|
};
|
|
@@ -2049,23 +2166,30 @@ export type ToolStateError2 = {
|
|
|
2049
2166
|
error: string;
|
|
2050
2167
|
metadata?: {
|
|
2051
2168
|
[x: string]: any;
|
|
2052
|
-
}
|
|
2169
|
+
};
|
|
2053
2170
|
time: {
|
|
2054
2171
|
start: number;
|
|
2055
2172
|
end: number;
|
|
2056
2173
|
};
|
|
2057
2174
|
};
|
|
2058
|
-
export type
|
|
2175
|
+
export type StepFinishPart2 = {
|
|
2059
2176
|
id: string;
|
|
2060
2177
|
sessionID: string;
|
|
2061
2178
|
messageID: string;
|
|
2062
|
-
type: "
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2179
|
+
type: "step-finish";
|
|
2180
|
+
reason: string;
|
|
2181
|
+
snapshot?: string;
|
|
2182
|
+
cost: number;
|
|
2183
|
+
tokens: {
|
|
2184
|
+
total?: number;
|
|
2185
|
+
input: number;
|
|
2186
|
+
output: number;
|
|
2187
|
+
reasoning: number;
|
|
2188
|
+
cache: {
|
|
2189
|
+
read: number;
|
|
2190
|
+
write: number;
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2069
2193
|
};
|
|
2070
2194
|
export type EventMessagePartRemoved = {
|
|
2071
2195
|
type: "message.part.removed";
|
|
@@ -2075,6 +2199,34 @@ export type EventMessagePartRemoved = {
|
|
|
2075
2199
|
partID: string;
|
|
2076
2200
|
};
|
|
2077
2201
|
};
|
|
2202
|
+
export type SessionWorktree8 = {
|
|
2203
|
+
name: string;
|
|
2204
|
+
branch: string;
|
|
2205
|
+
directory: string;
|
|
2206
|
+
repositoryDirectory?: string;
|
|
2207
|
+
cleanedAt?: number;
|
|
2208
|
+
};
|
|
2209
|
+
export type SessionWorktree9 = {
|
|
2210
|
+
name: string;
|
|
2211
|
+
branch: string;
|
|
2212
|
+
directory: string;
|
|
2213
|
+
repositoryDirectory?: string;
|
|
2214
|
+
cleanedAt?: number;
|
|
2215
|
+
};
|
|
2216
|
+
export type SessionMobile4 = {
|
|
2217
|
+
platforms: Array<"ios" | "android" | "expo" | "flutter" | "react-native">;
|
|
2218
|
+
primaryPlatform: string;
|
|
2219
|
+
method: string;
|
|
2220
|
+
detectedAt: number;
|
|
2221
|
+
buildStatus?: "unknown" | "building" | "succeeded" | "failed";
|
|
2222
|
+
lastBuildAt?: number;
|
|
2223
|
+
artifacts?: Array<{
|
|
2224
|
+
platform: string;
|
|
2225
|
+
path: string;
|
|
2226
|
+
size?: number;
|
|
2227
|
+
createdAt?: number;
|
|
2228
|
+
}>;
|
|
2229
|
+
};
|
|
2078
2230
|
export type EventSessionPendingPromoted = {
|
|
2079
2231
|
type: "session.pending.promoted";
|
|
2080
2232
|
properties: {
|
|
@@ -2204,17 +2356,17 @@ export type EventMonitorCreated = {
|
|
|
2204
2356
|
sessionID: string;
|
|
2205
2357
|
messageID: string;
|
|
2206
2358
|
callID: string;
|
|
2207
|
-
partID?: string
|
|
2359
|
+
partID?: string;
|
|
2208
2360
|
title: string;
|
|
2209
2361
|
command: string;
|
|
2210
2362
|
cwd: string;
|
|
2211
2363
|
agent: string;
|
|
2212
2364
|
wake: boolean;
|
|
2213
|
-
timeoutMs?: number
|
|
2365
|
+
timeoutMs?: number;
|
|
2214
2366
|
status: "running" | "complete" | "error" | "timeout" | "cancelled";
|
|
2215
|
-
pid?: number
|
|
2216
|
-
exitCode?: number
|
|
2217
|
-
signal?: string
|
|
2367
|
+
pid?: number;
|
|
2368
|
+
exitCode?: number;
|
|
2369
|
+
signal?: string;
|
|
2218
2370
|
logPath: string;
|
|
2219
2371
|
commandPath: string;
|
|
2220
2372
|
pidPath: string;
|
|
@@ -2224,7 +2376,7 @@ export type EventMonitorCreated = {
|
|
|
2224
2376
|
time: {
|
|
2225
2377
|
created: number;
|
|
2226
2378
|
updated: number;
|
|
2227
|
-
completed?: number
|
|
2379
|
+
completed?: number;
|
|
2228
2380
|
};
|
|
2229
2381
|
};
|
|
2230
2382
|
};
|
|
@@ -2238,17 +2390,17 @@ export type EventMonitorUpdated = {
|
|
|
2238
2390
|
sessionID: string;
|
|
2239
2391
|
messageID: string;
|
|
2240
2392
|
callID: string;
|
|
2241
|
-
partID?: string
|
|
2393
|
+
partID?: string;
|
|
2242
2394
|
title: string;
|
|
2243
2395
|
command: string;
|
|
2244
2396
|
cwd: string;
|
|
2245
2397
|
agent: string;
|
|
2246
2398
|
wake: boolean;
|
|
2247
|
-
timeoutMs?: number
|
|
2399
|
+
timeoutMs?: number;
|
|
2248
2400
|
status: "running" | "complete" | "error" | "timeout" | "cancelled";
|
|
2249
|
-
pid?: number
|
|
2250
|
-
exitCode?: number
|
|
2251
|
-
signal?: string
|
|
2401
|
+
pid?: number;
|
|
2402
|
+
exitCode?: number;
|
|
2403
|
+
signal?: string;
|
|
2252
2404
|
logPath: string;
|
|
2253
2405
|
commandPath: string;
|
|
2254
2406
|
pidPath: string;
|
|
@@ -2258,7 +2410,7 @@ export type EventMonitorUpdated = {
|
|
|
2258
2410
|
time: {
|
|
2259
2411
|
created: number;
|
|
2260
2412
|
updated: number;
|
|
2261
|
-
completed?: number
|
|
2413
|
+
completed?: number;
|
|
2262
2414
|
};
|
|
2263
2415
|
};
|
|
2264
2416
|
};
|
|
@@ -2705,6 +2857,26 @@ export type EventSessionStatus = {
|
|
|
2705
2857
|
status: SessionStatus;
|
|
2706
2858
|
};
|
|
2707
2859
|
};
|
|
2860
|
+
export type SessionGithub2 = {
|
|
2861
|
+
owner: string;
|
|
2862
|
+
repo: string;
|
|
2863
|
+
fullName: string;
|
|
2864
|
+
baseBranch: string;
|
|
2865
|
+
headBranch: string;
|
|
2866
|
+
repositoryDirectory?: string;
|
|
2867
|
+
cloneUrl?: string;
|
|
2868
|
+
htmlUrl?: string;
|
|
2869
|
+
private?: boolean;
|
|
2870
|
+
worktree: SessionWorktree4;
|
|
2871
|
+
pullRequest?: {
|
|
2872
|
+
number: number;
|
|
2873
|
+
url: string;
|
|
2874
|
+
title: string;
|
|
2875
|
+
};
|
|
2876
|
+
lastCommitSha?: string;
|
|
2877
|
+
publishedAt?: number;
|
|
2878
|
+
publishError?: string;
|
|
2879
|
+
};
|
|
2708
2880
|
export type OutputFormatJsonSchema = {
|
|
2709
2881
|
type: "json_schema";
|
|
2710
2882
|
schema: JSONSchema;
|
|
@@ -2754,79 +2926,6 @@ export type RetryPart = {
|
|
|
2754
2926
|
created: number;
|
|
2755
2927
|
};
|
|
2756
2928
|
};
|
|
2757
|
-
export type AssistantMessage1 = {
|
|
2758
|
-
id: string;
|
|
2759
|
-
sessionID: string;
|
|
2760
|
-
role: "assistant";
|
|
2761
|
-
time: {
|
|
2762
|
-
created: number;
|
|
2763
|
-
completed?: number | undefined;
|
|
2764
|
-
};
|
|
2765
|
-
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError | MessageAbortedError | StructuredOutputError | APIError | undefined;
|
|
2766
|
-
parentID: string;
|
|
2767
|
-
modelID: string;
|
|
2768
|
-
providerID: string;
|
|
2769
|
-
mode: string;
|
|
2770
|
-
agent: string;
|
|
2771
|
-
path: {
|
|
2772
|
-
cwd: string;
|
|
2773
|
-
root: string;
|
|
2774
|
-
};
|
|
2775
|
-
summary?: boolean | undefined;
|
|
2776
|
-
cost: number;
|
|
2777
|
-
tokens: {
|
|
2778
|
-
total?: number | undefined;
|
|
2779
|
-
input: number;
|
|
2780
|
-
output: number;
|
|
2781
|
-
reasoning: number;
|
|
2782
|
-
cache: {
|
|
2783
|
-
read: number;
|
|
2784
|
-
write: number;
|
|
2785
|
-
};
|
|
2786
|
-
};
|
|
2787
|
-
structured?: any | undefined;
|
|
2788
|
-
finish?: string | undefined;
|
|
2789
|
-
};
|
|
2790
|
-
export type AssistantMessage2 = {
|
|
2791
|
-
id: string;
|
|
2792
|
-
sessionID: string;
|
|
2793
|
-
role: "assistant";
|
|
2794
|
-
time: {
|
|
2795
|
-
created: number;
|
|
2796
|
-
completed?: number | undefined;
|
|
2797
|
-
};
|
|
2798
|
-
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError | MessageAbortedError | StructuredOutputError | APIError | undefined;
|
|
2799
|
-
parentID: string;
|
|
2800
|
-
modelID: string;
|
|
2801
|
-
providerID: string;
|
|
2802
|
-
mode: string;
|
|
2803
|
-
agent: string;
|
|
2804
|
-
path: {
|
|
2805
|
-
cwd: string;
|
|
2806
|
-
root: string;
|
|
2807
|
-
};
|
|
2808
|
-
summary?: boolean | undefined;
|
|
2809
|
-
cost: number;
|
|
2810
|
-
tokens: {
|
|
2811
|
-
total?: number | undefined;
|
|
2812
|
-
input: number;
|
|
2813
|
-
output: number;
|
|
2814
|
-
reasoning: number;
|
|
2815
|
-
cache: {
|
|
2816
|
-
read: number;
|
|
2817
|
-
write: number;
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
|
-
structured?: any | undefined;
|
|
2821
|
-
finish?: string | undefined;
|
|
2822
|
-
};
|
|
2823
|
-
export type EventSessionError = {
|
|
2824
|
-
type: "session.error";
|
|
2825
|
-
properties: {
|
|
2826
|
-
sessionID?: string | undefined;
|
|
2827
|
-
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError | MessageAbortedError | StructuredOutputError | APIError | undefined;
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
2929
|
export type FileSource = {
|
|
2831
2930
|
text: FilePartSourceText;
|
|
2832
2931
|
type: "file";
|
|
@@ -2858,6 +2957,50 @@ export type OutputFormatJsonSchema1 = {
|
|
|
2858
2957
|
schema: JSONSchema1;
|
|
2859
2958
|
retryCount: number;
|
|
2860
2959
|
};
|
|
2960
|
+
export type AssistantMessage1 = {
|
|
2961
|
+
id: string;
|
|
2962
|
+
sessionID: string;
|
|
2963
|
+
role: "assistant";
|
|
2964
|
+
time: {
|
|
2965
|
+
created: number;
|
|
2966
|
+
completed?: number;
|
|
2967
|
+
};
|
|
2968
|
+
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError1 | MessageAbortedError | StructuredOutputError | APIError2;
|
|
2969
|
+
parentID: string;
|
|
2970
|
+
modelID: string;
|
|
2971
|
+
providerID: string;
|
|
2972
|
+
mode: string;
|
|
2973
|
+
agent: string;
|
|
2974
|
+
path: {
|
|
2975
|
+
cwd: string;
|
|
2976
|
+
root: string;
|
|
2977
|
+
};
|
|
2978
|
+
summary?: boolean;
|
|
2979
|
+
cost: number;
|
|
2980
|
+
tokens: {
|
|
2981
|
+
total?: number;
|
|
2982
|
+
input: number;
|
|
2983
|
+
output: number;
|
|
2984
|
+
reasoning: number;
|
|
2985
|
+
cache: {
|
|
2986
|
+
read: number;
|
|
2987
|
+
write: number;
|
|
2988
|
+
};
|
|
2989
|
+
};
|
|
2990
|
+
structured?: any;
|
|
2991
|
+
finish?: string;
|
|
2992
|
+
};
|
|
2993
|
+
export type RetryPart1 = {
|
|
2994
|
+
id: string;
|
|
2995
|
+
sessionID: string;
|
|
2996
|
+
messageID: string;
|
|
2997
|
+
type: "retry";
|
|
2998
|
+
attempt: number;
|
|
2999
|
+
error: APIError2;
|
|
3000
|
+
time: {
|
|
3001
|
+
created: number;
|
|
3002
|
+
};
|
|
3003
|
+
};
|
|
2861
3004
|
export type FileSource2 = {
|
|
2862
3005
|
text: FilePartSourceText6;
|
|
2863
3006
|
type: "file";
|
|
@@ -3032,6 +3175,77 @@ export type EventQuestionReplied = {
|
|
|
3032
3175
|
answers: Array<QuestionAnswer>;
|
|
3033
3176
|
};
|
|
3034
3177
|
};
|
|
3178
|
+
export type AssistantMessage2 = {
|
|
3179
|
+
id: string;
|
|
3180
|
+
sessionID: string;
|
|
3181
|
+
role: "assistant";
|
|
3182
|
+
time: {
|
|
3183
|
+
created: number;
|
|
3184
|
+
completed?: number;
|
|
3185
|
+
};
|
|
3186
|
+
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError2 | MessageAbortedError | StructuredOutputError | APIError3;
|
|
3187
|
+
parentID: string;
|
|
3188
|
+
modelID: string;
|
|
3189
|
+
providerID: string;
|
|
3190
|
+
mode: string;
|
|
3191
|
+
agent: string;
|
|
3192
|
+
path: {
|
|
3193
|
+
cwd: string;
|
|
3194
|
+
root: string;
|
|
3195
|
+
};
|
|
3196
|
+
summary?: boolean;
|
|
3197
|
+
cost: number;
|
|
3198
|
+
tokens: {
|
|
3199
|
+
total?: number;
|
|
3200
|
+
input: number;
|
|
3201
|
+
output: number;
|
|
3202
|
+
reasoning: number;
|
|
3203
|
+
cache: {
|
|
3204
|
+
read: number;
|
|
3205
|
+
write: number;
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3208
|
+
structured?: any;
|
|
3209
|
+
finish?: string;
|
|
3210
|
+
};
|
|
3211
|
+
export type RetryPart2 = {
|
|
3212
|
+
id: string;
|
|
3213
|
+
sessionID: string;
|
|
3214
|
+
messageID: string;
|
|
3215
|
+
type: "retry";
|
|
3216
|
+
attempt: number;
|
|
3217
|
+
error: APIError3;
|
|
3218
|
+
time: {
|
|
3219
|
+
created: number;
|
|
3220
|
+
};
|
|
3221
|
+
};
|
|
3222
|
+
export type EventSessionError = {
|
|
3223
|
+
type: "session.error";
|
|
3224
|
+
properties: {
|
|
3225
|
+
sessionID?: string | undefined;
|
|
3226
|
+
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError2 | MessageAbortedError | StructuredOutputError | APIError3 | undefined;
|
|
3227
|
+
};
|
|
3228
|
+
};
|
|
3229
|
+
export type SessionGithub4 = {
|
|
3230
|
+
owner: string;
|
|
3231
|
+
repo: string;
|
|
3232
|
+
fullName: string;
|
|
3233
|
+
baseBranch: string;
|
|
3234
|
+
headBranch: string;
|
|
3235
|
+
repositoryDirectory?: string;
|
|
3236
|
+
cloneUrl?: string;
|
|
3237
|
+
htmlUrl?: string;
|
|
3238
|
+
private?: boolean;
|
|
3239
|
+
worktree: SessionWorktree8;
|
|
3240
|
+
pullRequest?: {
|
|
3241
|
+
number: number;
|
|
3242
|
+
url: string;
|
|
3243
|
+
title: string;
|
|
3244
|
+
};
|
|
3245
|
+
lastCommitSha?: string;
|
|
3246
|
+
publishedAt?: number;
|
|
3247
|
+
publishError?: string;
|
|
3248
|
+
};
|
|
3035
3249
|
export type UserSession = {
|
|
3036
3250
|
token: string;
|
|
3037
3251
|
user: PublicUser;
|
|
@@ -3095,6 +3309,7 @@ export type QuestionRequest = {
|
|
|
3095
3309
|
} | undefined;
|
|
3096
3310
|
};
|
|
3097
3311
|
export type OutputFormat1 = OutputFormatText | OutputFormatJsonSchema1;
|
|
3312
|
+
export type OutputFormat2 = OutputFormatText | OutputFormatJsonSchema1;
|
|
3098
3313
|
export type FilePartSource2 = FileSource2 | SymbolSource2 | ResourceSource2;
|
|
3099
3314
|
export type FilePartSource3 = FileSource2 | SymbolSource3 | ResourceSource2;
|
|
3100
3315
|
export type LoopListOutput2 = {
|
|
@@ -3336,90 +3551,90 @@ export type Session2 = {
|
|
|
3336
3551
|
slug: string;
|
|
3337
3552
|
projectID: string;
|
|
3338
3553
|
directory: string;
|
|
3339
|
-
parentID?: string
|
|
3340
|
-
workspaceID?: string
|
|
3554
|
+
parentID?: string;
|
|
3555
|
+
workspaceID?: string;
|
|
3341
3556
|
summary?: {
|
|
3342
3557
|
additions: number;
|
|
3343
3558
|
deletions: number;
|
|
3344
3559
|
files: number;
|
|
3345
|
-
diffs?: Array<FileDiff
|
|
3346
|
-
}
|
|
3560
|
+
diffs?: Array<FileDiff>;
|
|
3561
|
+
};
|
|
3347
3562
|
share?: {
|
|
3348
3563
|
url: string;
|
|
3349
|
-
}
|
|
3350
|
-
github?:
|
|
3351
|
-
worktree?:
|
|
3352
|
-
mobile?:
|
|
3564
|
+
};
|
|
3565
|
+
github?: SessionGithub2;
|
|
3566
|
+
worktree?: SessionWorktree5;
|
|
3567
|
+
mobile?: SessionMobile2;
|
|
3353
3568
|
title: string;
|
|
3354
|
-
activeCommand?: string
|
|
3569
|
+
activeCommand?: string;
|
|
3355
3570
|
version: string;
|
|
3356
3571
|
time: {
|
|
3357
3572
|
created: number;
|
|
3358
3573
|
updated: number;
|
|
3359
|
-
compacting?: number
|
|
3360
|
-
archived?: number
|
|
3574
|
+
compacting?: number;
|
|
3575
|
+
archived?: number;
|
|
3361
3576
|
};
|
|
3362
|
-
permission?: PermissionRuleset
|
|
3363
|
-
skills?: Array<string
|
|
3364
|
-
disabledInstructions?: Array<string
|
|
3577
|
+
permission?: PermissionRuleset;
|
|
3578
|
+
skills?: Array<string>;
|
|
3579
|
+
disabledInstructions?: Array<string>;
|
|
3365
3580
|
disabledTools?: {
|
|
3366
3581
|
[x: string]: boolean;
|
|
3367
|
-
}
|
|
3582
|
+
};
|
|
3368
3583
|
revert?: {
|
|
3369
3584
|
messageID: string;
|
|
3370
|
-
partID?: string
|
|
3371
|
-
snapshot?: string
|
|
3372
|
-
diff?: string
|
|
3373
|
-
}
|
|
3585
|
+
partID?: string;
|
|
3586
|
+
snapshot?: string;
|
|
3587
|
+
diff?: string;
|
|
3588
|
+
};
|
|
3374
3589
|
lastModel?: {
|
|
3375
3590
|
providerID: string;
|
|
3376
3591
|
modelID: string;
|
|
3377
|
-
}
|
|
3592
|
+
};
|
|
3378
3593
|
};
|
|
3379
3594
|
export type Session4 = {
|
|
3380
3595
|
id: string;
|
|
3381
3596
|
slug: string;
|
|
3382
3597
|
projectID: string;
|
|
3383
3598
|
directory: string;
|
|
3384
|
-
parentID?: string
|
|
3385
|
-
workspaceID?: string
|
|
3599
|
+
parentID?: string;
|
|
3600
|
+
workspaceID?: string;
|
|
3386
3601
|
summary?: {
|
|
3387
3602
|
additions: number;
|
|
3388
3603
|
deletions: number;
|
|
3389
3604
|
files: number;
|
|
3390
|
-
diffs?: Array<FileDiff
|
|
3391
|
-
}
|
|
3605
|
+
diffs?: Array<FileDiff>;
|
|
3606
|
+
};
|
|
3392
3607
|
share?: {
|
|
3393
3608
|
url: string;
|
|
3394
|
-
}
|
|
3395
|
-
github?:
|
|
3396
|
-
worktree?:
|
|
3397
|
-
mobile?:
|
|
3609
|
+
};
|
|
3610
|
+
github?: SessionGithub4;
|
|
3611
|
+
worktree?: SessionWorktree9;
|
|
3612
|
+
mobile?: SessionMobile4;
|
|
3398
3613
|
title: string;
|
|
3399
|
-
activeCommand?: string
|
|
3614
|
+
activeCommand?: string;
|
|
3400
3615
|
version: string;
|
|
3401
3616
|
time: {
|
|
3402
3617
|
created: number;
|
|
3403
3618
|
updated: number;
|
|
3404
|
-
compacting?: number
|
|
3405
|
-
archived?: number
|
|
3619
|
+
compacting?: number;
|
|
3620
|
+
archived?: number;
|
|
3406
3621
|
};
|
|
3407
|
-
permission?: PermissionRuleset
|
|
3408
|
-
skills?: Array<string
|
|
3409
|
-
disabledInstructions?: Array<string
|
|
3622
|
+
permission?: PermissionRuleset;
|
|
3623
|
+
skills?: Array<string>;
|
|
3624
|
+
disabledInstructions?: Array<string>;
|
|
3410
3625
|
disabledTools?: {
|
|
3411
3626
|
[x: string]: boolean;
|
|
3412
|
-
}
|
|
3627
|
+
};
|
|
3413
3628
|
revert?: {
|
|
3414
3629
|
messageID: string;
|
|
3415
|
-
partID?: string
|
|
3416
|
-
snapshot?: string
|
|
3417
|
-
diff?: string
|
|
3418
|
-
}
|
|
3630
|
+
partID?: string;
|
|
3631
|
+
snapshot?: string;
|
|
3632
|
+
diff?: string;
|
|
3633
|
+
};
|
|
3419
3634
|
lastModel?: {
|
|
3420
3635
|
providerID: string;
|
|
3421
3636
|
modelID: string;
|
|
3422
|
-
}
|
|
3637
|
+
};
|
|
3423
3638
|
};
|
|
3424
3639
|
export type UserMessage = {
|
|
3425
3640
|
id: string;
|
|
@@ -3462,22 +3677,22 @@ export type UserMessage1 = {
|
|
|
3462
3677
|
time: {
|
|
3463
3678
|
created: number;
|
|
3464
3679
|
};
|
|
3465
|
-
format?: OutputFormat1
|
|
3680
|
+
format?: OutputFormat1;
|
|
3466
3681
|
summary?: {
|
|
3467
|
-
title?: string
|
|
3468
|
-
body?: string
|
|
3682
|
+
title?: string;
|
|
3683
|
+
body?: string;
|
|
3469
3684
|
diffs: Array<FileDiff>;
|
|
3470
|
-
}
|
|
3685
|
+
};
|
|
3471
3686
|
agent: string;
|
|
3472
3687
|
model: {
|
|
3473
3688
|
providerID: string;
|
|
3474
3689
|
modelID: string;
|
|
3475
3690
|
};
|
|
3476
|
-
system?: string
|
|
3691
|
+
system?: string;
|
|
3477
3692
|
tools?: {
|
|
3478
3693
|
[x: string]: boolean;
|
|
3479
|
-
}
|
|
3480
|
-
variant?: string
|
|
3694
|
+
};
|
|
3695
|
+
variant?: string;
|
|
3481
3696
|
};
|
|
3482
3697
|
export type UserMessage2 = {
|
|
3483
3698
|
id: string;
|
|
@@ -3486,22 +3701,22 @@ export type UserMessage2 = {
|
|
|
3486
3701
|
time: {
|
|
3487
3702
|
created: number;
|
|
3488
3703
|
};
|
|
3489
|
-
format?: OutputFormat1
|
|
3704
|
+
format?: OutputFormat1;
|
|
3490
3705
|
summary?: {
|
|
3491
|
-
title?: string
|
|
3492
|
-
body?: string
|
|
3706
|
+
title?: string;
|
|
3707
|
+
body?: string;
|
|
3493
3708
|
diffs: Array<FileDiff>;
|
|
3494
|
-
}
|
|
3709
|
+
};
|
|
3495
3710
|
agent: string;
|
|
3496
3711
|
model: {
|
|
3497
3712
|
providerID: string;
|
|
3498
3713
|
modelID: string;
|
|
3499
3714
|
};
|
|
3500
|
-
system?: string
|
|
3715
|
+
system?: string;
|
|
3501
3716
|
tools?: {
|
|
3502
3717
|
[x: string]: boolean;
|
|
3503
|
-
}
|
|
3504
|
-
variant?: string
|
|
3718
|
+
};
|
|
3719
|
+
variant?: string;
|
|
3505
3720
|
};
|
|
3506
3721
|
export type FilePart2 = {
|
|
3507
3722
|
id: string;
|
|
@@ -3509,16 +3724,16 @@ export type FilePart2 = {
|
|
|
3509
3724
|
messageID: string;
|
|
3510
3725
|
type: "file";
|
|
3511
3726
|
mime: string;
|
|
3512
|
-
filename?: string
|
|
3727
|
+
filename?: string;
|
|
3513
3728
|
url: string;
|
|
3514
|
-
source?: FilePartSource2
|
|
3729
|
+
source?: FilePartSource2;
|
|
3515
3730
|
};
|
|
3516
3731
|
export type FilePartInput = {
|
|
3517
3732
|
type: "file";
|
|
3518
3733
|
mime: string;
|
|
3519
|
-
filename?: string
|
|
3734
|
+
filename?: string;
|
|
3520
3735
|
url: string;
|
|
3521
|
-
source?: FilePartSource2
|
|
3736
|
+
source?: FilePartSource2;
|
|
3522
3737
|
id?: string | undefined;
|
|
3523
3738
|
};
|
|
3524
3739
|
export type FilePart3 = {
|
|
@@ -3527,9 +3742,9 @@ export type FilePart3 = {
|
|
|
3527
3742
|
messageID: string;
|
|
3528
3743
|
type: "file";
|
|
3529
3744
|
mime: string;
|
|
3530
|
-
filename?: string
|
|
3745
|
+
filename?: string;
|
|
3531
3746
|
url: string;
|
|
3532
|
-
source?: FilePartSource3
|
|
3747
|
+
source?: FilePartSource3;
|
|
3533
3748
|
};
|
|
3534
3749
|
export type EventQuestionAsked = {
|
|
3535
3750
|
type: "question.asked";
|
|
@@ -3622,9 +3837,9 @@ export type ToolStateCompleted1 = {
|
|
|
3622
3837
|
time: {
|
|
3623
3838
|
start: number;
|
|
3624
3839
|
end: number;
|
|
3625
|
-
compacted?: number
|
|
3840
|
+
compacted?: number;
|
|
3626
3841
|
};
|
|
3627
|
-
attachments?: Array<FilePart2
|
|
3842
|
+
attachments?: Array<FilePart2>;
|
|
3628
3843
|
};
|
|
3629
3844
|
export type PromptPartInput = TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput;
|
|
3630
3845
|
export type ToolStateCompleted2 = {
|
|
@@ -3640,9 +3855,9 @@ export type ToolStateCompleted2 = {
|
|
|
3640
3855
|
time: {
|
|
3641
3856
|
start: number;
|
|
3642
3857
|
end: number;
|
|
3643
|
-
compacted?: number
|
|
3858
|
+
compacted?: number;
|
|
3644
3859
|
};
|
|
3645
|
-
attachments?: Array<FilePart3
|
|
3860
|
+
attachments?: Array<FilePart3>;
|
|
3646
3861
|
};
|
|
3647
3862
|
export type Config = {
|
|
3648
3863
|
$schema?: string | undefined;
|
|
@@ -4197,20 +4412,20 @@ export type EventMessageUpdated = {
|
|
|
4197
4412
|
export type ToolState1 = ToolStatePending1 | ToolStateRunning1 | ToolStateCompleted1 | ToolStateError1;
|
|
4198
4413
|
export type SessionPendingPromptInput = {
|
|
4199
4414
|
sessionID: string;
|
|
4200
|
-
messageID?: string
|
|
4201
|
-
delivery?: "steer" | "queue"
|
|
4415
|
+
messageID?: string;
|
|
4416
|
+
delivery?: "steer" | "queue";
|
|
4202
4417
|
model?: {
|
|
4203
4418
|
providerID: string;
|
|
4204
4419
|
modelID: string;
|
|
4205
|
-
}
|
|
4206
|
-
agent?: string
|
|
4207
|
-
noReply?: boolean
|
|
4420
|
+
};
|
|
4421
|
+
agent?: string;
|
|
4422
|
+
noReply?: boolean;
|
|
4208
4423
|
tools?: {
|
|
4209
4424
|
[x: string]: boolean;
|
|
4210
|
-
}
|
|
4211
|
-
format?:
|
|
4212
|
-
system?: string
|
|
4213
|
-
variant?: string
|
|
4425
|
+
};
|
|
4426
|
+
format?: OutputFormat2;
|
|
4427
|
+
system?: string;
|
|
4428
|
+
variant?: string;
|
|
4214
4429
|
parts: Array<PromptPartInput>;
|
|
4215
4430
|
};
|
|
4216
4431
|
export type ToolState2 = ToolStatePending1 | ToolStateRunning2 | ToolStateCompleted2 | ToolStateError2;
|
|
@@ -4236,7 +4451,7 @@ export type ToolPart1 = {
|
|
|
4236
4451
|
state: ToolState1;
|
|
4237
4452
|
metadata?: {
|
|
4238
4453
|
[x: string]: any;
|
|
4239
|
-
}
|
|
4454
|
+
};
|
|
4240
4455
|
};
|
|
4241
4456
|
export type SessionPendingInput2 = {
|
|
4242
4457
|
id: string;
|
|
@@ -4256,12 +4471,12 @@ export type ToolPart2 = {
|
|
|
4256
4471
|
state: ToolState2;
|
|
4257
4472
|
metadata?: {
|
|
4258
4473
|
[x: string]: any;
|
|
4259
|
-
}
|
|
4474
|
+
};
|
|
4260
4475
|
};
|
|
4261
4476
|
export type Part = TextPart | SubtaskPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | RetryPart | CompactionPart;
|
|
4262
|
-
export type Part1 = TextPart1 |
|
|
4477
|
+
export type Part1 = TextPart1 | SubtaskPart1 | ReasoningPart1 | FilePart2 | ToolPart1 | StepStartPart1 | StepFinishPart1 | SnapshotPart | PatchPart | AgentPart1 | RetryPart1 | CompactionPart;
|
|
4263
4478
|
export type SessionPendingInputList = Array<SessionPendingInput2>;
|
|
4264
|
-
export type Part2 = TextPart2 |
|
|
4479
|
+
export type Part2 = TextPart2 | SubtaskPart1 | ReasoningPart2 | FilePart3 | ToolPart2 | StepStartPart1 | StepFinishPart2 | SnapshotPart | PatchPart | AgentPart1 | RetryPart2 | CompactionPart;
|
|
4265
4480
|
export type MobileSessionDetail = {
|
|
4266
4481
|
info: Session;
|
|
4267
4482
|
status?: SessionStatus | undefined;
|
|
@@ -4305,7 +4520,7 @@ export type EventMessagePartUpdated = {
|
|
|
4305
4520
|
type: "message.part.updated";
|
|
4306
4521
|
properties: {
|
|
4307
4522
|
part: Part2;
|
|
4308
|
-
delta?: string
|
|
4523
|
+
delta?: string;
|
|
4309
4524
|
};
|
|
4310
4525
|
};
|
|
4311
4526
|
export type Event = EventProjectUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventPermissionAsked | EventPermissionReplied | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionPendingPromoted | EventSessionInstructionsUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventFileWatcherUpdated | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventSessionGoal | EventIdeInstalled | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventSessionV2Updated | EventSessionEntryUpdated | EventSessionEntryRemoved | EventFileEdited | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted | EventWorkspaceStatus | EventWorkspaceReady | EventWorkspaceFailed | EventDelegationCompleted;
|
|
@@ -5929,18 +6144,18 @@ export type ConfigManagementProfileCreatePayload = {
|
|
|
5929
6144
|
readonly name: string;
|
|
5930
6145
|
};
|
|
5931
6146
|
export type SessionPromptPromptPayload = {
|
|
5932
|
-
readonly messageID?: string
|
|
5933
|
-
readonly delivery?: "steer" | "queue"
|
|
6147
|
+
readonly messageID?: string;
|
|
6148
|
+
readonly delivery?: "steer" | "queue";
|
|
5934
6149
|
readonly model?: {
|
|
5935
6150
|
readonly providerID: string;
|
|
5936
6151
|
readonly modelID: string;
|
|
5937
|
-
}
|
|
5938
|
-
readonly agent?: string
|
|
5939
|
-
readonly noReply?: boolean
|
|
6152
|
+
};
|
|
6153
|
+
readonly agent?: string;
|
|
6154
|
+
readonly noReply?: boolean;
|
|
5940
6155
|
readonly tools?: {
|
|
5941
6156
|
readonly [x: string]: boolean;
|
|
5942
|
-
}
|
|
5943
|
-
readonly format?:
|
|
6157
|
+
};
|
|
6158
|
+
readonly format?: {
|
|
5944
6159
|
readonly type: "text";
|
|
5945
6160
|
} | {
|
|
5946
6161
|
readonly type: "json_schema";
|
|
@@ -5948,28 +6163,28 @@ export type SessionPromptPromptPayload = {
|
|
|
5948
6163
|
readonly [x: string]: any;
|
|
5949
6164
|
};
|
|
5950
6165
|
readonly retryCount: number;
|
|
5951
|
-
}
|
|
5952
|
-
readonly system?: string
|
|
5953
|
-
readonly variant?: string
|
|
6166
|
+
};
|
|
6167
|
+
readonly system?: string;
|
|
6168
|
+
readonly variant?: string;
|
|
5954
6169
|
readonly parts: ReadonlyArray<{
|
|
5955
6170
|
readonly type: "text";
|
|
5956
6171
|
readonly text: string;
|
|
5957
|
-
readonly synthetic?: boolean
|
|
5958
|
-
readonly ignored?: boolean
|
|
6172
|
+
readonly synthetic?: boolean;
|
|
6173
|
+
readonly ignored?: boolean;
|
|
5959
6174
|
readonly time?: {
|
|
5960
6175
|
readonly start: number;
|
|
5961
|
-
readonly end?: number
|
|
5962
|
-
}
|
|
6176
|
+
readonly end?: number;
|
|
6177
|
+
};
|
|
5963
6178
|
readonly metadata?: {
|
|
5964
6179
|
readonly [x: string]: any;
|
|
5965
|
-
}
|
|
6180
|
+
};
|
|
5966
6181
|
readonly id?: string | undefined;
|
|
5967
6182
|
} | {
|
|
5968
6183
|
readonly type: "file";
|
|
5969
6184
|
readonly mime: string;
|
|
5970
|
-
readonly filename?: string
|
|
6185
|
+
readonly filename?: string;
|
|
5971
6186
|
readonly url: string;
|
|
5972
|
-
readonly source?:
|
|
6187
|
+
readonly source?: {
|
|
5973
6188
|
readonly text: {
|
|
5974
6189
|
readonly value: string;
|
|
5975
6190
|
readonly start: number;
|
|
@@ -6006,7 +6221,7 @@ export type SessionPromptPromptPayload = {
|
|
|
6006
6221
|
readonly type: "resource";
|
|
6007
6222
|
readonly clientName: string;
|
|
6008
6223
|
readonly uri: string;
|
|
6009
|
-
}
|
|
6224
|
+
};
|
|
6010
6225
|
readonly id?: string | undefined;
|
|
6011
6226
|
} | {
|
|
6012
6227
|
readonly type: "agent";
|
|
@@ -6015,7 +6230,7 @@ export type SessionPromptPromptPayload = {
|
|
|
6015
6230
|
readonly value: string;
|
|
6016
6231
|
readonly start: number;
|
|
6017
6232
|
readonly end: number;
|
|
6018
|
-
}
|
|
6233
|
+
};
|
|
6019
6234
|
readonly id?: string | undefined;
|
|
6020
6235
|
} | {
|
|
6021
6236
|
readonly type: "subtask";
|
|
@@ -6025,25 +6240,25 @@ export type SessionPromptPromptPayload = {
|
|
|
6025
6240
|
readonly model?: {
|
|
6026
6241
|
readonly providerID: string;
|
|
6027
6242
|
readonly modelID: string;
|
|
6028
|
-
}
|
|
6029
|
-
readonly command?: string
|
|
6030
|
-
readonly background?: boolean
|
|
6243
|
+
};
|
|
6244
|
+
readonly command?: string;
|
|
6245
|
+
readonly background?: boolean;
|
|
6031
6246
|
readonly id?: string | undefined;
|
|
6032
6247
|
}>;
|
|
6033
6248
|
};
|
|
6034
6249
|
export type SessionPromptPromptAsyncPayload = {
|
|
6035
|
-
readonly messageID?: string
|
|
6036
|
-
readonly delivery?: "steer" | "queue"
|
|
6250
|
+
readonly messageID?: string;
|
|
6251
|
+
readonly delivery?: "steer" | "queue";
|
|
6037
6252
|
readonly model?: {
|
|
6038
6253
|
readonly providerID: string;
|
|
6039
6254
|
readonly modelID: string;
|
|
6040
|
-
}
|
|
6041
|
-
readonly agent?: string
|
|
6042
|
-
readonly noReply?: boolean
|
|
6255
|
+
};
|
|
6256
|
+
readonly agent?: string;
|
|
6257
|
+
readonly noReply?: boolean;
|
|
6043
6258
|
readonly tools?: {
|
|
6044
6259
|
readonly [x: string]: boolean;
|
|
6045
|
-
}
|
|
6046
|
-
readonly format?:
|
|
6260
|
+
};
|
|
6261
|
+
readonly format?: {
|
|
6047
6262
|
readonly type: "text";
|
|
6048
6263
|
} | {
|
|
6049
6264
|
readonly type: "json_schema";
|
|
@@ -6051,28 +6266,28 @@ export type SessionPromptPromptAsyncPayload = {
|
|
|
6051
6266
|
readonly [x: string]: any;
|
|
6052
6267
|
};
|
|
6053
6268
|
readonly retryCount: number;
|
|
6054
|
-
}
|
|
6055
|
-
readonly system?: string
|
|
6056
|
-
readonly variant?: string
|
|
6269
|
+
};
|
|
6270
|
+
readonly system?: string;
|
|
6271
|
+
readonly variant?: string;
|
|
6057
6272
|
readonly parts: ReadonlyArray<{
|
|
6058
6273
|
readonly type: "text";
|
|
6059
6274
|
readonly text: string;
|
|
6060
|
-
readonly synthetic?: boolean
|
|
6061
|
-
readonly ignored?: boolean
|
|
6275
|
+
readonly synthetic?: boolean;
|
|
6276
|
+
readonly ignored?: boolean;
|
|
6062
6277
|
readonly time?: {
|
|
6063
6278
|
readonly start: number;
|
|
6064
|
-
readonly end?: number
|
|
6065
|
-
}
|
|
6279
|
+
readonly end?: number;
|
|
6280
|
+
};
|
|
6066
6281
|
readonly metadata?: {
|
|
6067
6282
|
readonly [x: string]: any;
|
|
6068
|
-
}
|
|
6283
|
+
};
|
|
6069
6284
|
readonly id?: string | undefined;
|
|
6070
6285
|
} | {
|
|
6071
6286
|
readonly type: "file";
|
|
6072
6287
|
readonly mime: string;
|
|
6073
|
-
readonly filename?: string
|
|
6288
|
+
readonly filename?: string;
|
|
6074
6289
|
readonly url: string;
|
|
6075
|
-
readonly source?:
|
|
6290
|
+
readonly source?: {
|
|
6076
6291
|
readonly text: {
|
|
6077
6292
|
readonly value: string;
|
|
6078
6293
|
readonly start: number;
|
|
@@ -6109,7 +6324,7 @@ export type SessionPromptPromptAsyncPayload = {
|
|
|
6109
6324
|
readonly type: "resource";
|
|
6110
6325
|
readonly clientName: string;
|
|
6111
6326
|
readonly uri: string;
|
|
6112
|
-
}
|
|
6327
|
+
};
|
|
6113
6328
|
readonly id?: string | undefined;
|
|
6114
6329
|
} | {
|
|
6115
6330
|
readonly type: "agent";
|
|
@@ -6118,7 +6333,7 @@ export type SessionPromptPromptAsyncPayload = {
|
|
|
6118
6333
|
readonly value: string;
|
|
6119
6334
|
readonly start: number;
|
|
6120
6335
|
readonly end: number;
|
|
6121
|
-
}
|
|
6336
|
+
};
|
|
6122
6337
|
readonly id?: string | undefined;
|
|
6123
6338
|
} | {
|
|
6124
6339
|
readonly type: "subtask";
|
|
@@ -6128,9 +6343,9 @@ export type SessionPromptPromptAsyncPayload = {
|
|
|
6128
6343
|
readonly model?: {
|
|
6129
6344
|
readonly providerID: string;
|
|
6130
6345
|
readonly modelID: string;
|
|
6131
|
-
}
|
|
6132
|
-
readonly command?: string
|
|
6133
|
-
readonly background?: boolean
|
|
6346
|
+
};
|
|
6347
|
+
readonly command?: string;
|
|
6348
|
+
readonly background?: boolean;
|
|
6134
6349
|
readonly id?: string | undefined;
|
|
6135
6350
|
}>;
|
|
6136
6351
|
};
|
|
@@ -8778,15 +8993,15 @@ export type SessionPartUpdateInput = {
|
|
|
8778
8993
|
readonly messageID: string;
|
|
8779
8994
|
readonly type: "text";
|
|
8780
8995
|
readonly text: string;
|
|
8781
|
-
readonly synthetic?: boolean
|
|
8782
|
-
readonly ignored?: boolean
|
|
8996
|
+
readonly synthetic?: boolean;
|
|
8997
|
+
readonly ignored?: boolean;
|
|
8783
8998
|
readonly time?: {
|
|
8784
8999
|
readonly start: number;
|
|
8785
|
-
readonly end?: number
|
|
8786
|
-
}
|
|
9000
|
+
readonly end?: number;
|
|
9001
|
+
};
|
|
8787
9002
|
readonly metadata?: {
|
|
8788
9003
|
readonly [x: string]: any;
|
|
8789
|
-
}
|
|
9004
|
+
};
|
|
8790
9005
|
} | {
|
|
8791
9006
|
readonly id: string;
|
|
8792
9007
|
readonly sessionID: string;
|
|
@@ -8798,9 +9013,9 @@ export type SessionPartUpdateInput = {
|
|
|
8798
9013
|
readonly model?: {
|
|
8799
9014
|
readonly providerID: string;
|
|
8800
9015
|
readonly modelID: string;
|
|
8801
|
-
}
|
|
8802
|
-
readonly command?: string
|
|
8803
|
-
readonly background?: boolean
|
|
9016
|
+
};
|
|
9017
|
+
readonly command?: string;
|
|
9018
|
+
readonly background?: boolean;
|
|
8804
9019
|
} | {
|
|
8805
9020
|
readonly id: string;
|
|
8806
9021
|
readonly sessionID: string;
|
|
@@ -8809,10 +9024,10 @@ export type SessionPartUpdateInput = {
|
|
|
8809
9024
|
readonly text: string;
|
|
8810
9025
|
readonly metadata?: {
|
|
8811
9026
|
readonly [x: string]: any;
|
|
8812
|
-
}
|
|
9027
|
+
};
|
|
8813
9028
|
readonly time: {
|
|
8814
9029
|
readonly start: number;
|
|
8815
|
-
readonly end?: number
|
|
9030
|
+
readonly end?: number;
|
|
8816
9031
|
};
|
|
8817
9032
|
} | {
|
|
8818
9033
|
readonly id: string;
|
|
@@ -8820,9 +9035,9 @@ export type SessionPartUpdateInput = {
|
|
|
8820
9035
|
readonly messageID: string;
|
|
8821
9036
|
readonly type: "file";
|
|
8822
9037
|
readonly mime: string;
|
|
8823
|
-
readonly filename?: string
|
|
9038
|
+
readonly filename?: string;
|
|
8824
9039
|
readonly url: string;
|
|
8825
|
-
readonly source?:
|
|
9040
|
+
readonly source?: {
|
|
8826
9041
|
readonly text: {
|
|
8827
9042
|
readonly value: string;
|
|
8828
9043
|
readonly start: number;
|
|
@@ -8859,7 +9074,7 @@ export type SessionPartUpdateInput = {
|
|
|
8859
9074
|
readonly type: "resource";
|
|
8860
9075
|
readonly clientName: string;
|
|
8861
9076
|
readonly uri: string;
|
|
8862
|
-
}
|
|
9077
|
+
};
|
|
8863
9078
|
} | {
|
|
8864
9079
|
readonly id: string;
|
|
8865
9080
|
readonly sessionID: string;
|
|
@@ -8878,13 +9093,13 @@ export type SessionPartUpdateInput = {
|
|
|
8878
9093
|
readonly input: {
|
|
8879
9094
|
readonly [x: string]: any;
|
|
8880
9095
|
};
|
|
8881
|
-
readonly title?: string
|
|
9096
|
+
readonly title?: string;
|
|
8882
9097
|
readonly metadata?: {
|
|
8883
9098
|
readonly [x: string]: any;
|
|
8884
|
-
}
|
|
9099
|
+
};
|
|
8885
9100
|
readonly structured?: {
|
|
8886
9101
|
readonly [x: string]: any;
|
|
8887
|
-
}
|
|
9102
|
+
};
|
|
8888
9103
|
readonly content?: ReadonlyArray<{
|
|
8889
9104
|
readonly type: "text";
|
|
8890
9105
|
readonly text: string;
|
|
@@ -8892,8 +9107,8 @@ export type SessionPartUpdateInput = {
|
|
|
8892
9107
|
readonly type: "file";
|
|
8893
9108
|
readonly data: string;
|
|
8894
9109
|
readonly mime: string;
|
|
8895
|
-
readonly name?: string
|
|
8896
|
-
}
|
|
9110
|
+
readonly name?: string;
|
|
9111
|
+
}>;
|
|
8897
9112
|
readonly time: {
|
|
8898
9113
|
readonly start: number;
|
|
8899
9114
|
};
|
|
@@ -8910,7 +9125,7 @@ export type SessionPartUpdateInput = {
|
|
|
8910
9125
|
readonly time: {
|
|
8911
9126
|
readonly start: number;
|
|
8912
9127
|
readonly end: number;
|
|
8913
|
-
readonly compacted?: number
|
|
9128
|
+
readonly compacted?: number;
|
|
8914
9129
|
};
|
|
8915
9130
|
readonly attachments?: ReadonlyArray<{
|
|
8916
9131
|
readonly id: string;
|
|
@@ -8918,9 +9133,9 @@ export type SessionPartUpdateInput = {
|
|
|
8918
9133
|
readonly messageID: string;
|
|
8919
9134
|
readonly type: "file";
|
|
8920
9135
|
readonly mime: string;
|
|
8921
|
-
readonly filename?: string
|
|
9136
|
+
readonly filename?: string;
|
|
8922
9137
|
readonly url: string;
|
|
8923
|
-
readonly source?:
|
|
9138
|
+
readonly source?: {
|
|
8924
9139
|
readonly text: {
|
|
8925
9140
|
readonly value: string;
|
|
8926
9141
|
readonly start: number;
|
|
@@ -8957,8 +9172,8 @@ export type SessionPartUpdateInput = {
|
|
|
8957
9172
|
readonly type: "resource";
|
|
8958
9173
|
readonly clientName: string;
|
|
8959
9174
|
readonly uri: string;
|
|
8960
|
-
}
|
|
8961
|
-
}
|
|
9175
|
+
};
|
|
9176
|
+
}>;
|
|
8962
9177
|
} | {
|
|
8963
9178
|
readonly status: "error";
|
|
8964
9179
|
readonly input: {
|
|
@@ -8967,7 +9182,7 @@ export type SessionPartUpdateInput = {
|
|
|
8967
9182
|
readonly error: string;
|
|
8968
9183
|
readonly metadata?: {
|
|
8969
9184
|
readonly [x: string]: any;
|
|
8970
|
-
}
|
|
9185
|
+
};
|
|
8971
9186
|
readonly time: {
|
|
8972
9187
|
readonly start: number;
|
|
8973
9188
|
readonly end: number;
|
|
@@ -8975,23 +9190,23 @@ export type SessionPartUpdateInput = {
|
|
|
8975
9190
|
};
|
|
8976
9191
|
readonly metadata?: {
|
|
8977
9192
|
readonly [x: string]: any;
|
|
8978
|
-
}
|
|
9193
|
+
};
|
|
8979
9194
|
} | {
|
|
8980
9195
|
readonly id: string;
|
|
8981
9196
|
readonly sessionID: string;
|
|
8982
9197
|
readonly messageID: string;
|
|
8983
9198
|
readonly type: "step-start";
|
|
8984
|
-
readonly snapshot?: string
|
|
9199
|
+
readonly snapshot?: string;
|
|
8985
9200
|
} | {
|
|
8986
9201
|
readonly id: string;
|
|
8987
9202
|
readonly sessionID: string;
|
|
8988
9203
|
readonly messageID: string;
|
|
8989
9204
|
readonly type: "step-finish";
|
|
8990
9205
|
readonly reason: string;
|
|
8991
|
-
readonly snapshot?: string
|
|
9206
|
+
readonly snapshot?: string;
|
|
8992
9207
|
readonly cost: number;
|
|
8993
9208
|
readonly tokens: {
|
|
8994
|
-
readonly total?: number
|
|
9209
|
+
readonly total?: number;
|
|
8995
9210
|
readonly input: number;
|
|
8996
9211
|
readonly output: number;
|
|
8997
9212
|
readonly reasoning: number;
|
|
@@ -9023,7 +9238,7 @@ export type SessionPartUpdateInput = {
|
|
|
9023
9238
|
readonly value: string;
|
|
9024
9239
|
readonly start: number;
|
|
9025
9240
|
readonly end: number;
|
|
9026
|
-
}
|
|
9241
|
+
};
|
|
9027
9242
|
} | {
|
|
9028
9243
|
readonly id: string;
|
|
9029
9244
|
readonly sessionID: string;
|
|
@@ -9034,16 +9249,16 @@ export type SessionPartUpdateInput = {
|
|
|
9034
9249
|
readonly name: "APIError";
|
|
9035
9250
|
readonly data: {
|
|
9036
9251
|
readonly message: string;
|
|
9037
|
-
readonly statusCode?: number
|
|
9252
|
+
readonly statusCode?: number;
|
|
9038
9253
|
readonly isRetryable: boolean;
|
|
9039
9254
|
readonly responseHeaders?: {
|
|
9040
9255
|
readonly [x: string]: string;
|
|
9041
|
-
}
|
|
9042
|
-
readonly responseBody?: string
|
|
9256
|
+
};
|
|
9257
|
+
readonly responseBody?: string;
|
|
9043
9258
|
readonly metadata?: {
|
|
9044
9259
|
readonly [x: string]: string;
|
|
9045
|
-
}
|
|
9046
|
-
readonly classification?: "payload-too-large"
|
|
9260
|
+
};
|
|
9261
|
+
readonly classification?: "payload-too-large";
|
|
9047
9262
|
};
|
|
9048
9263
|
};
|
|
9049
9264
|
readonly time: {
|