@otto-code/protocol 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-teams.d.ts +10 -0
- package/dist/agent-teams.js +18 -0
- package/dist/agent-types.d.ts +7 -0
- package/dist/generated/validation/ws-outbound.aot.js +15400 -12953
- package/dist/messages.d.ts +2356 -8
- package/dist/messages.js +408 -1
- package/dist/provider-config.d.ts +12 -0
- package/dist/provider-config.js +15 -0
- package/dist/provider-manifest.js +13 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +416 -1
- package/package.json +2 -1
package/dist/messages.d.ts
CHANGED
|
@@ -115,13 +115,38 @@ export declare const ModelTierOverrideSchema: z.ZodObject<{
|
|
|
115
115
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
116
116
|
}, z.core.$loose>;
|
|
117
117
|
export type ModelTierOverride = z.infer<typeof ModelTierOverrideSchema>;
|
|
118
|
+
export declare const SavedProviderEndpointSchema: z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
baseUrlKey: z.ZodString;
|
|
121
|
+
apiKeyKey: z.ZodString;
|
|
122
|
+
baseUrl: z.ZodString;
|
|
123
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
124
|
+
label: z.ZodOptional<z.ZodString>;
|
|
125
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
}, z.core.$loose>;
|
|
127
|
+
export type SavedProviderEndpoint = z.infer<typeof SavedProviderEndpointSchema>;
|
|
118
128
|
export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
119
129
|
mcp: z.ZodObject<{
|
|
120
130
|
injectIntoAgents: z.ZodBoolean;
|
|
131
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
132
|
+
artifacts: "artifacts";
|
|
133
|
+
preview: "preview";
|
|
134
|
+
browser: "browser";
|
|
135
|
+
web: "web";
|
|
136
|
+
agents: "agents";
|
|
137
|
+
terminals: "terminals";
|
|
138
|
+
schedules: "schedules";
|
|
139
|
+
workspace: "workspace";
|
|
140
|
+
}>>>;
|
|
121
141
|
}, z.core.$loose>;
|
|
122
142
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
123
143
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
124
144
|
}, z.core.$loose>>;
|
|
145
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
146
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
147
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
149
|
+
}, z.core.$loose>>;
|
|
125
150
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
126
151
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
127
152
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -147,6 +172,8 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
147
172
|
model: z.ZodOptional<z.ZodString>;
|
|
148
173
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
149
174
|
}, z.core.$loose>>>;
|
|
175
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
176
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
150
177
|
}, z.core.$loose>>;
|
|
151
178
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
152
179
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -238,14 +265,38 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
238
265
|
modelId: z.ZodString;
|
|
239
266
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
240
267
|
}, z.core.$loose>>>;
|
|
268
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
269
|
+
id: z.ZodString;
|
|
270
|
+
baseUrlKey: z.ZodString;
|
|
271
|
+
apiKeyKey: z.ZodString;
|
|
272
|
+
baseUrl: z.ZodString;
|
|
273
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
274
|
+
label: z.ZodOptional<z.ZodString>;
|
|
275
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
}, z.core.$loose>>>;
|
|
241
277
|
}, z.core.$loose>;
|
|
242
278
|
export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
243
279
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
244
280
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
282
|
+
artifacts: "artifacts";
|
|
283
|
+
preview: "preview";
|
|
284
|
+
browser: "browser";
|
|
285
|
+
web: "web";
|
|
286
|
+
agents: "agents";
|
|
287
|
+
terminals: "terminals";
|
|
288
|
+
schedules: "schedules";
|
|
289
|
+
workspace: "workspace";
|
|
290
|
+
}>>>>;
|
|
245
291
|
}, z.core.$loose>>>;
|
|
246
292
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
247
293
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
248
294
|
}, z.core.$loose>>>;
|
|
295
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
296
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
297
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
298
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
299
|
+
}, z.core.$loose>>>;
|
|
249
300
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
250
301
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
251
302
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -271,6 +322,8 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
271
322
|
model: z.ZodOptional<z.ZodString>;
|
|
272
323
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
273
324
|
}, z.core.$loose>>>>;
|
|
325
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
326
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
274
327
|
}, z.core.$loose>>>;
|
|
275
328
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
276
329
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -362,6 +415,15 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
362
415
|
modelId: z.ZodString;
|
|
363
416
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
364
417
|
}, z.core.$loose>>>>;
|
|
418
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
|
+
id: z.ZodString;
|
|
420
|
+
baseUrlKey: z.ZodString;
|
|
421
|
+
apiKeyKey: z.ZodString;
|
|
422
|
+
baseUrl: z.ZodString;
|
|
423
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
424
|
+
label: z.ZodOptional<z.ZodString>;
|
|
425
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
}, z.core.$loose>>>>;
|
|
365
427
|
}, z.core.$loose>;
|
|
366
428
|
export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
|
|
367
429
|
export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
|
|
@@ -1291,10 +1353,25 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1291
1353
|
config: z.ZodObject<{
|
|
1292
1354
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1293
1355
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
1356
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1357
|
+
artifacts: "artifacts";
|
|
1358
|
+
preview: "preview";
|
|
1359
|
+
browser: "browser";
|
|
1360
|
+
web: "web";
|
|
1361
|
+
agents: "agents";
|
|
1362
|
+
terminals: "terminals";
|
|
1363
|
+
schedules: "schedules";
|
|
1364
|
+
workspace: "workspace";
|
|
1365
|
+
}>>>>;
|
|
1294
1366
|
}, z.core.$loose>>>;
|
|
1295
1367
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1296
1368
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1297
1369
|
}, z.core.$loose>>>;
|
|
1370
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1371
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1372
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1373
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1374
|
+
}, z.core.$loose>>>;
|
|
1298
1375
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
1299
1376
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1300
1377
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1320,6 +1397,8 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1320
1397
|
model: z.ZodOptional<z.ZodString>;
|
|
1321
1398
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
1322
1399
|
}, z.core.$loose>>>>;
|
|
1400
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1401
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1323
1402
|
}, z.core.$loose>>>;
|
|
1324
1403
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1325
1404
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1411,6 +1490,15 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1411
1490
|
modelId: z.ZodString;
|
|
1412
1491
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
1413
1492
|
}, z.core.$loose>>>>;
|
|
1493
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1494
|
+
id: z.ZodString;
|
|
1495
|
+
baseUrlKey: z.ZodString;
|
|
1496
|
+
apiKeyKey: z.ZodString;
|
|
1497
|
+
baseUrl: z.ZodString;
|
|
1498
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
1499
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1500
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
1501
|
+
}, z.core.$loose>>>>;
|
|
1414
1502
|
}, z.core.$loose>;
|
|
1415
1503
|
}, z.core.$strip>;
|
|
1416
1504
|
export declare const SpeechSettingsGetOptionsRequestSchema: z.ZodObject<{
|
|
@@ -1734,6 +1822,20 @@ export declare const ActivityCountersSchema: z.ZodObject<{
|
|
|
1734
1822
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1735
1823
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1736
1824
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1825
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1826
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1827
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1828
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1829
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1830
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1831
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1832
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1833
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1834
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1835
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1836
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1837
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1838
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1737
1839
|
}, z.core.$strip>;
|
|
1738
1840
|
export declare const StatsActivityGetRequestMessageSchema: z.ZodObject<{
|
|
1739
1841
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
@@ -1756,6 +1858,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1756
1858
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1757
1859
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1758
1860
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1861
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1862
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1863
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1864
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1865
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1866
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1867
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1868
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1869
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1870
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1871
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1872
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1873
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1874
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1759
1875
|
}, z.core.$strip>;
|
|
1760
1876
|
yesterday: z.ZodObject<{
|
|
1761
1877
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1770,6 +1886,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1770
1886
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1771
1887
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1772
1888
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1889
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1890
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1891
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1892
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1893
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1894
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1895
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1896
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1897
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1898
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1899
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1900
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1901
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1902
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1773
1903
|
}, z.core.$strip>;
|
|
1774
1904
|
last7Days: z.ZodObject<{
|
|
1775
1905
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1784,6 +1914,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1784
1914
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1785
1915
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1786
1916
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1917
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1918
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1919
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1920
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1921
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1922
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1923
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1924
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1925
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1926
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1927
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1928
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1929
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1930
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1787
1931
|
}, z.core.$strip>;
|
|
1788
1932
|
last30Days: z.ZodObject<{
|
|
1789
1933
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1798,6 +1942,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1798
1942
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1799
1943
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1800
1944
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1945
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1946
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1947
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1948
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1949
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1950
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1951
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1952
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1953
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1954
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1955
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1956
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1957
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1958
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1801
1959
|
}, z.core.$strip>;
|
|
1802
1960
|
allTime: z.ZodObject<{
|
|
1803
1961
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1812,12 +1970,87 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1812
1970
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1813
1971
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1814
1972
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1973
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1974
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1975
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1976
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1977
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1978
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1979
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1980
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1981
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1982
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1983
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1984
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1985
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1986
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1815
1987
|
}, z.core.$strip>;
|
|
1816
1988
|
}, z.core.$strip>;
|
|
1817
1989
|
}, z.core.$strip>;
|
|
1818
1990
|
export declare const ActivityStatsChangedSchema: z.ZodObject<{
|
|
1819
1991
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
1820
1992
|
}, z.core.$strip>;
|
|
1993
|
+
export declare const UsageEventSchema: z.ZodObject<{
|
|
1994
|
+
id: z.ZodString;
|
|
1995
|
+
at: z.ZodNumber;
|
|
1996
|
+
kind: z.ZodString;
|
|
1997
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
provider: z.ZodString;
|
|
1999
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
2001
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
2002
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
2003
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
2004
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
2005
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2007
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
2008
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
2009
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
}, z.core.$strip>;
|
|
2012
|
+
export declare const UsageLogGetRequestMessageSchema: z.ZodObject<{
|
|
2013
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
2014
|
+
requestId: z.ZodString;
|
|
2015
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2016
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
2017
|
+
}, z.core.$strip>;
|
|
2018
|
+
export declare const UsageLogGetResponseMessageSchema: z.ZodObject<{
|
|
2019
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
2020
|
+
payload: z.ZodObject<{
|
|
2021
|
+
requestId: z.ZodString;
|
|
2022
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2023
|
+
id: z.ZodString;
|
|
2024
|
+
at: z.ZodNumber;
|
|
2025
|
+
kind: z.ZodString;
|
|
2026
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
2027
|
+
provider: z.ZodString;
|
|
2028
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2029
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
2030
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
2031
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
2032
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
2033
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
2034
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
2035
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
2037
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
2038
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
2039
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
}, z.core.$strip>>>;
|
|
2041
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
2042
|
+
}, z.core.$strip>;
|
|
2043
|
+
}, z.core.$strip>;
|
|
2044
|
+
export declare const StatsActivityResetRequestMessageSchema: z.ZodObject<{
|
|
2045
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
2046
|
+
requestId: z.ZodString;
|
|
2047
|
+
}, z.core.$strip>;
|
|
2048
|
+
export declare const StatsActivityResetResponseMessageSchema: z.ZodObject<{
|
|
2049
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
2050
|
+
payload: z.ZodObject<{
|
|
2051
|
+
requestId: z.ZodString;
|
|
2052
|
+
}, z.core.$strip>;
|
|
2053
|
+
}, z.core.$strip>;
|
|
1821
2054
|
export declare const AgentContextGetUsageRequestMessageSchema: z.ZodObject<{
|
|
1822
2055
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
1823
2056
|
agentId: z.ZodString;
|
|
@@ -1905,8 +2138,8 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
|
|
|
1905
2138
|
agentId: z.ZodString;
|
|
1906
2139
|
requestId: z.ZodString;
|
|
1907
2140
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1908
|
-
tail: "tail";
|
|
1909
2141
|
before: "before";
|
|
2142
|
+
tail: "tail";
|
|
1910
2143
|
after: "after";
|
|
1911
2144
|
}>>;
|
|
1912
2145
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -2131,6 +2364,562 @@ export declare const SuggestedTasksChangedSchema: z.ZodObject<{
|
|
|
2131
2364
|
}, z.core.$strip>>;
|
|
2132
2365
|
}, z.core.$strip>;
|
|
2133
2366
|
}, z.core.$strip>;
|
|
2367
|
+
export declare const ContextScopeSchema: z.ZodEnum<{
|
|
2368
|
+
local: "local";
|
|
2369
|
+
enterprise: "enterprise";
|
|
2370
|
+
global: "global";
|
|
2371
|
+
project: "project";
|
|
2372
|
+
subdirectory: "subdirectory";
|
|
2373
|
+
runtime: "runtime";
|
|
2374
|
+
}>;
|
|
2375
|
+
export declare const ContextCategorySchema: z.ZodEnum<{
|
|
2376
|
+
context_files: "context_files";
|
|
2377
|
+
memory_index: "memory_index";
|
|
2378
|
+
skills_roster: "skills_roster";
|
|
2379
|
+
mcp_tools: "mcp_tools";
|
|
2380
|
+
otto_injected: "otto_injected";
|
|
2381
|
+
system_prompt: "system_prompt";
|
|
2382
|
+
}>;
|
|
2383
|
+
export declare const ContextCostClassSchema: z.ZodEnum<{
|
|
2384
|
+
fixed: "fixed";
|
|
2385
|
+
conditional: "conditional";
|
|
2386
|
+
referenced: "referenced";
|
|
2387
|
+
}>;
|
|
2388
|
+
export declare const ContextSeveritySchema: z.ZodEnum<{
|
|
2389
|
+
ok: "ok";
|
|
2390
|
+
notice: "notice";
|
|
2391
|
+
warn: "warn";
|
|
2392
|
+
critical: "critical";
|
|
2393
|
+
}>;
|
|
2394
|
+
export declare const ContextConfidenceSchema: z.ZodEnum<{
|
|
2395
|
+
exact: "exact";
|
|
2396
|
+
convention: "convention";
|
|
2397
|
+
unverified: "unverified";
|
|
2398
|
+
}>;
|
|
2399
|
+
export declare const ContextFindingKindSchema: z.ZodEnum<{
|
|
2400
|
+
dead_import: "dead_import";
|
|
2401
|
+
dead_reference: "dead_reference";
|
|
2402
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2403
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2404
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2405
|
+
import_cycle: "import_cycle";
|
|
2406
|
+
depth_capped: "depth_capped";
|
|
2407
|
+
}>;
|
|
2408
|
+
export declare const ContextRangeSchema: z.ZodObject<{
|
|
2409
|
+
start: z.ZodNumber;
|
|
2410
|
+
end: z.ZodNumber;
|
|
2411
|
+
}, z.core.$strip>;
|
|
2412
|
+
export declare const ContextFindingSchema: z.ZodObject<{
|
|
2413
|
+
kind: z.ZodEnum<{
|
|
2414
|
+
dead_import: "dead_import";
|
|
2415
|
+
dead_reference: "dead_reference";
|
|
2416
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2417
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2418
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2419
|
+
import_cycle: "import_cycle";
|
|
2420
|
+
depth_capped: "depth_capped";
|
|
2421
|
+
}>;
|
|
2422
|
+
message: z.ZodString;
|
|
2423
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2424
|
+
start: z.ZodNumber;
|
|
2425
|
+
end: z.ZodNumber;
|
|
2426
|
+
}, z.core.$strip>>;
|
|
2427
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2428
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2430
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2431
|
+
}, z.core.$strip>;
|
|
2432
|
+
export declare const ContextNodeSchema: z.ZodObject<{
|
|
2433
|
+
id: z.ZodString;
|
|
2434
|
+
path: z.ZodString;
|
|
2435
|
+
relPath: z.ZodString;
|
|
2436
|
+
scope: z.ZodEnum<{
|
|
2437
|
+
local: "local";
|
|
2438
|
+
enterprise: "enterprise";
|
|
2439
|
+
global: "global";
|
|
2440
|
+
project: "project";
|
|
2441
|
+
subdirectory: "subdirectory";
|
|
2442
|
+
runtime: "runtime";
|
|
2443
|
+
}>;
|
|
2444
|
+
category: z.ZodEnum<{
|
|
2445
|
+
context_files: "context_files";
|
|
2446
|
+
memory_index: "memory_index";
|
|
2447
|
+
skills_roster: "skills_roster";
|
|
2448
|
+
mcp_tools: "mcp_tools";
|
|
2449
|
+
otto_injected: "otto_injected";
|
|
2450
|
+
system_prompt: "system_prompt";
|
|
2451
|
+
}>;
|
|
2452
|
+
costClass: z.ZodEnum<{
|
|
2453
|
+
fixed: "fixed";
|
|
2454
|
+
conditional: "conditional";
|
|
2455
|
+
referenced: "referenced";
|
|
2456
|
+
}>;
|
|
2457
|
+
bytes: z.ZodNumber;
|
|
2458
|
+
estTokens: z.ZodNumber;
|
|
2459
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2460
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2461
|
+
kind: z.ZodEnum<{
|
|
2462
|
+
dead_import: "dead_import";
|
|
2463
|
+
dead_reference: "dead_reference";
|
|
2464
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2465
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2466
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2467
|
+
import_cycle: "import_cycle";
|
|
2468
|
+
depth_capped: "depth_capped";
|
|
2469
|
+
}>;
|
|
2470
|
+
message: z.ZodString;
|
|
2471
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2472
|
+
start: z.ZodNumber;
|
|
2473
|
+
end: z.ZodNumber;
|
|
2474
|
+
}, z.core.$strip>>;
|
|
2475
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2476
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2478
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2479
|
+
}, z.core.$strip>>;
|
|
2480
|
+
}, z.core.$strip>;
|
|
2481
|
+
export declare const ContextEdgeSchema: z.ZodObject<{
|
|
2482
|
+
fromNodeId: z.ZodString;
|
|
2483
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2484
|
+
kind: z.ZodEnum<{
|
|
2485
|
+
import: "import";
|
|
2486
|
+
reference: "reference";
|
|
2487
|
+
}>;
|
|
2488
|
+
rawTarget: z.ZodString;
|
|
2489
|
+
range: z.ZodObject<{
|
|
2490
|
+
start: z.ZodNumber;
|
|
2491
|
+
end: z.ZodNumber;
|
|
2492
|
+
}, z.core.$strip>;
|
|
2493
|
+
}, z.core.$strip>;
|
|
2494
|
+
export declare const ContextCategoryTotalSchema: z.ZodObject<{
|
|
2495
|
+
category: z.ZodEnum<{
|
|
2496
|
+
context_files: "context_files";
|
|
2497
|
+
memory_index: "memory_index";
|
|
2498
|
+
skills_roster: "skills_roster";
|
|
2499
|
+
mcp_tools: "mcp_tools";
|
|
2500
|
+
otto_injected: "otto_injected";
|
|
2501
|
+
system_prompt: "system_prompt";
|
|
2502
|
+
}>;
|
|
2503
|
+
estTokens: z.ZodNumber;
|
|
2504
|
+
sharePercent: z.ZodNumber;
|
|
2505
|
+
severity: z.ZodEnum<{
|
|
2506
|
+
ok: "ok";
|
|
2507
|
+
notice: "notice";
|
|
2508
|
+
warn: "warn";
|
|
2509
|
+
critical: "critical";
|
|
2510
|
+
}>;
|
|
2511
|
+
}, z.core.$strip>;
|
|
2512
|
+
export declare const ContextReportSchema: z.ZodObject<{
|
|
2513
|
+
workspaceId: z.ZodString;
|
|
2514
|
+
provider: z.ZodString;
|
|
2515
|
+
windowTokens: z.ZodNumber;
|
|
2516
|
+
scannedAt: z.ZodString;
|
|
2517
|
+
confidence: z.ZodEnum<{
|
|
2518
|
+
exact: "exact";
|
|
2519
|
+
convention: "convention";
|
|
2520
|
+
unverified: "unverified";
|
|
2521
|
+
}>;
|
|
2522
|
+
supported: z.ZodBoolean;
|
|
2523
|
+
supportsImports: z.ZodBoolean;
|
|
2524
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2525
|
+
id: z.ZodString;
|
|
2526
|
+
path: z.ZodString;
|
|
2527
|
+
relPath: z.ZodString;
|
|
2528
|
+
scope: z.ZodEnum<{
|
|
2529
|
+
local: "local";
|
|
2530
|
+
enterprise: "enterprise";
|
|
2531
|
+
global: "global";
|
|
2532
|
+
project: "project";
|
|
2533
|
+
subdirectory: "subdirectory";
|
|
2534
|
+
runtime: "runtime";
|
|
2535
|
+
}>;
|
|
2536
|
+
category: z.ZodEnum<{
|
|
2537
|
+
context_files: "context_files";
|
|
2538
|
+
memory_index: "memory_index";
|
|
2539
|
+
skills_roster: "skills_roster";
|
|
2540
|
+
mcp_tools: "mcp_tools";
|
|
2541
|
+
otto_injected: "otto_injected";
|
|
2542
|
+
system_prompt: "system_prompt";
|
|
2543
|
+
}>;
|
|
2544
|
+
costClass: z.ZodEnum<{
|
|
2545
|
+
fixed: "fixed";
|
|
2546
|
+
conditional: "conditional";
|
|
2547
|
+
referenced: "referenced";
|
|
2548
|
+
}>;
|
|
2549
|
+
bytes: z.ZodNumber;
|
|
2550
|
+
estTokens: z.ZodNumber;
|
|
2551
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2552
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2553
|
+
kind: z.ZodEnum<{
|
|
2554
|
+
dead_import: "dead_import";
|
|
2555
|
+
dead_reference: "dead_reference";
|
|
2556
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2557
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2558
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2559
|
+
import_cycle: "import_cycle";
|
|
2560
|
+
depth_capped: "depth_capped";
|
|
2561
|
+
}>;
|
|
2562
|
+
message: z.ZodString;
|
|
2563
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2564
|
+
start: z.ZodNumber;
|
|
2565
|
+
end: z.ZodNumber;
|
|
2566
|
+
}, z.core.$strip>>;
|
|
2567
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2568
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2569
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2570
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2571
|
+
}, z.core.$strip>>;
|
|
2572
|
+
}, z.core.$strip>>;
|
|
2573
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2574
|
+
fromNodeId: z.ZodString;
|
|
2575
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2576
|
+
kind: z.ZodEnum<{
|
|
2577
|
+
import: "import";
|
|
2578
|
+
reference: "reference";
|
|
2579
|
+
}>;
|
|
2580
|
+
rawTarget: z.ZodString;
|
|
2581
|
+
range: z.ZodObject<{
|
|
2582
|
+
start: z.ZodNumber;
|
|
2583
|
+
end: z.ZodNumber;
|
|
2584
|
+
}, z.core.$strip>;
|
|
2585
|
+
}, z.core.$strip>>;
|
|
2586
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2587
|
+
category: z.ZodEnum<{
|
|
2588
|
+
context_files: "context_files";
|
|
2589
|
+
memory_index: "memory_index";
|
|
2590
|
+
skills_roster: "skills_roster";
|
|
2591
|
+
mcp_tools: "mcp_tools";
|
|
2592
|
+
otto_injected: "otto_injected";
|
|
2593
|
+
system_prompt: "system_prompt";
|
|
2594
|
+
}>;
|
|
2595
|
+
estTokens: z.ZodNumber;
|
|
2596
|
+
sharePercent: z.ZodNumber;
|
|
2597
|
+
severity: z.ZodEnum<{
|
|
2598
|
+
ok: "ok";
|
|
2599
|
+
notice: "notice";
|
|
2600
|
+
warn: "warn";
|
|
2601
|
+
critical: "critical";
|
|
2602
|
+
}>;
|
|
2603
|
+
}, z.core.$strip>>;
|
|
2604
|
+
fixedTotal: z.ZodNumber;
|
|
2605
|
+
conditionalTotal: z.ZodNumber;
|
|
2606
|
+
referencedTotal: z.ZodNumber;
|
|
2607
|
+
workingRoom: z.ZodNumber;
|
|
2608
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2609
|
+
ok: "ok";
|
|
2610
|
+
notice: "notice";
|
|
2611
|
+
warn: "warn";
|
|
2612
|
+
critical: "critical";
|
|
2613
|
+
}>;
|
|
2614
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2615
|
+
kind: z.ZodEnum<{
|
|
2616
|
+
dead_import: "dead_import";
|
|
2617
|
+
dead_reference: "dead_reference";
|
|
2618
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2619
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2620
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2621
|
+
import_cycle: "import_cycle";
|
|
2622
|
+
depth_capped: "depth_capped";
|
|
2623
|
+
}>;
|
|
2624
|
+
message: z.ZodString;
|
|
2625
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2626
|
+
start: z.ZodNumber;
|
|
2627
|
+
end: z.ZodNumber;
|
|
2628
|
+
}, z.core.$strip>>;
|
|
2629
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2630
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2632
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2633
|
+
}, z.core.$strip>>;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2635
|
+
export declare const ContextReportChangedSchema: z.ZodObject<{
|
|
2636
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
2637
|
+
payload: z.ZodObject<{
|
|
2638
|
+
workspaceId: z.ZodString;
|
|
2639
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
2640
|
+
workspaceId: z.ZodString;
|
|
2641
|
+
provider: z.ZodString;
|
|
2642
|
+
windowTokens: z.ZodNumber;
|
|
2643
|
+
scannedAt: z.ZodString;
|
|
2644
|
+
confidence: z.ZodEnum<{
|
|
2645
|
+
exact: "exact";
|
|
2646
|
+
convention: "convention";
|
|
2647
|
+
unverified: "unverified";
|
|
2648
|
+
}>;
|
|
2649
|
+
supported: z.ZodBoolean;
|
|
2650
|
+
supportsImports: z.ZodBoolean;
|
|
2651
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2652
|
+
id: z.ZodString;
|
|
2653
|
+
path: z.ZodString;
|
|
2654
|
+
relPath: z.ZodString;
|
|
2655
|
+
scope: z.ZodEnum<{
|
|
2656
|
+
local: "local";
|
|
2657
|
+
enterprise: "enterprise";
|
|
2658
|
+
global: "global";
|
|
2659
|
+
project: "project";
|
|
2660
|
+
subdirectory: "subdirectory";
|
|
2661
|
+
runtime: "runtime";
|
|
2662
|
+
}>;
|
|
2663
|
+
category: z.ZodEnum<{
|
|
2664
|
+
context_files: "context_files";
|
|
2665
|
+
memory_index: "memory_index";
|
|
2666
|
+
skills_roster: "skills_roster";
|
|
2667
|
+
mcp_tools: "mcp_tools";
|
|
2668
|
+
otto_injected: "otto_injected";
|
|
2669
|
+
system_prompt: "system_prompt";
|
|
2670
|
+
}>;
|
|
2671
|
+
costClass: z.ZodEnum<{
|
|
2672
|
+
fixed: "fixed";
|
|
2673
|
+
conditional: "conditional";
|
|
2674
|
+
referenced: "referenced";
|
|
2675
|
+
}>;
|
|
2676
|
+
bytes: z.ZodNumber;
|
|
2677
|
+
estTokens: z.ZodNumber;
|
|
2678
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2679
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2680
|
+
kind: z.ZodEnum<{
|
|
2681
|
+
dead_import: "dead_import";
|
|
2682
|
+
dead_reference: "dead_reference";
|
|
2683
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2684
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2685
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2686
|
+
import_cycle: "import_cycle";
|
|
2687
|
+
depth_capped: "depth_capped";
|
|
2688
|
+
}>;
|
|
2689
|
+
message: z.ZodString;
|
|
2690
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2691
|
+
start: z.ZodNumber;
|
|
2692
|
+
end: z.ZodNumber;
|
|
2693
|
+
}, z.core.$strip>>;
|
|
2694
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2695
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2696
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2697
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2698
|
+
}, z.core.$strip>>;
|
|
2699
|
+
}, z.core.$strip>>;
|
|
2700
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2701
|
+
fromNodeId: z.ZodString;
|
|
2702
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2703
|
+
kind: z.ZodEnum<{
|
|
2704
|
+
import: "import";
|
|
2705
|
+
reference: "reference";
|
|
2706
|
+
}>;
|
|
2707
|
+
rawTarget: z.ZodString;
|
|
2708
|
+
range: z.ZodObject<{
|
|
2709
|
+
start: z.ZodNumber;
|
|
2710
|
+
end: z.ZodNumber;
|
|
2711
|
+
}, z.core.$strip>;
|
|
2712
|
+
}, z.core.$strip>>;
|
|
2713
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2714
|
+
category: z.ZodEnum<{
|
|
2715
|
+
context_files: "context_files";
|
|
2716
|
+
memory_index: "memory_index";
|
|
2717
|
+
skills_roster: "skills_roster";
|
|
2718
|
+
mcp_tools: "mcp_tools";
|
|
2719
|
+
otto_injected: "otto_injected";
|
|
2720
|
+
system_prompt: "system_prompt";
|
|
2721
|
+
}>;
|
|
2722
|
+
estTokens: z.ZodNumber;
|
|
2723
|
+
sharePercent: z.ZodNumber;
|
|
2724
|
+
severity: z.ZodEnum<{
|
|
2725
|
+
ok: "ok";
|
|
2726
|
+
notice: "notice";
|
|
2727
|
+
warn: "warn";
|
|
2728
|
+
critical: "critical";
|
|
2729
|
+
}>;
|
|
2730
|
+
}, z.core.$strip>>;
|
|
2731
|
+
fixedTotal: z.ZodNumber;
|
|
2732
|
+
conditionalTotal: z.ZodNumber;
|
|
2733
|
+
referencedTotal: z.ZodNumber;
|
|
2734
|
+
workingRoom: z.ZodNumber;
|
|
2735
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2736
|
+
ok: "ok";
|
|
2737
|
+
notice: "notice";
|
|
2738
|
+
warn: "warn";
|
|
2739
|
+
critical: "critical";
|
|
2740
|
+
}>;
|
|
2741
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2742
|
+
kind: z.ZodEnum<{
|
|
2743
|
+
dead_import: "dead_import";
|
|
2744
|
+
dead_reference: "dead_reference";
|
|
2745
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2746
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2747
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2748
|
+
import_cycle: "import_cycle";
|
|
2749
|
+
depth_capped: "depth_capped";
|
|
2750
|
+
}>;
|
|
2751
|
+
message: z.ZodString;
|
|
2752
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2753
|
+
start: z.ZodNumber;
|
|
2754
|
+
end: z.ZodNumber;
|
|
2755
|
+
}, z.core.$strip>>;
|
|
2756
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2757
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2758
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2759
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2760
|
+
}, z.core.$strip>>;
|
|
2761
|
+
}, z.core.$strip>>;
|
|
2762
|
+
}, z.core.$strip>;
|
|
2763
|
+
}, z.core.$strip>;
|
|
2764
|
+
export declare const ContextReportGetRequestMessageSchema: z.ZodObject<{
|
|
2765
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
2766
|
+
requestId: z.ZodString;
|
|
2767
|
+
workspaceId: z.ZodString;
|
|
2768
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
2770
|
+
}, z.core.$strip>;
|
|
2771
|
+
export declare const ContextReportGetResponseMessageSchema: z.ZodObject<{
|
|
2772
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
2773
|
+
payload: z.ZodObject<{
|
|
2774
|
+
requestId: z.ZodString;
|
|
2775
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
2776
|
+
workspaceId: z.ZodString;
|
|
2777
|
+
provider: z.ZodString;
|
|
2778
|
+
windowTokens: z.ZodNumber;
|
|
2779
|
+
scannedAt: z.ZodString;
|
|
2780
|
+
confidence: z.ZodEnum<{
|
|
2781
|
+
exact: "exact";
|
|
2782
|
+
convention: "convention";
|
|
2783
|
+
unverified: "unverified";
|
|
2784
|
+
}>;
|
|
2785
|
+
supported: z.ZodBoolean;
|
|
2786
|
+
supportsImports: z.ZodBoolean;
|
|
2787
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2788
|
+
id: z.ZodString;
|
|
2789
|
+
path: z.ZodString;
|
|
2790
|
+
relPath: z.ZodString;
|
|
2791
|
+
scope: z.ZodEnum<{
|
|
2792
|
+
local: "local";
|
|
2793
|
+
enterprise: "enterprise";
|
|
2794
|
+
global: "global";
|
|
2795
|
+
project: "project";
|
|
2796
|
+
subdirectory: "subdirectory";
|
|
2797
|
+
runtime: "runtime";
|
|
2798
|
+
}>;
|
|
2799
|
+
category: z.ZodEnum<{
|
|
2800
|
+
context_files: "context_files";
|
|
2801
|
+
memory_index: "memory_index";
|
|
2802
|
+
skills_roster: "skills_roster";
|
|
2803
|
+
mcp_tools: "mcp_tools";
|
|
2804
|
+
otto_injected: "otto_injected";
|
|
2805
|
+
system_prompt: "system_prompt";
|
|
2806
|
+
}>;
|
|
2807
|
+
costClass: z.ZodEnum<{
|
|
2808
|
+
fixed: "fixed";
|
|
2809
|
+
conditional: "conditional";
|
|
2810
|
+
referenced: "referenced";
|
|
2811
|
+
}>;
|
|
2812
|
+
bytes: z.ZodNumber;
|
|
2813
|
+
estTokens: z.ZodNumber;
|
|
2814
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2815
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2816
|
+
kind: z.ZodEnum<{
|
|
2817
|
+
dead_import: "dead_import";
|
|
2818
|
+
dead_reference: "dead_reference";
|
|
2819
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2820
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2821
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2822
|
+
import_cycle: "import_cycle";
|
|
2823
|
+
depth_capped: "depth_capped";
|
|
2824
|
+
}>;
|
|
2825
|
+
message: z.ZodString;
|
|
2826
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2827
|
+
start: z.ZodNumber;
|
|
2828
|
+
end: z.ZodNumber;
|
|
2829
|
+
}, z.core.$strip>>;
|
|
2830
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2831
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2832
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2833
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2834
|
+
}, z.core.$strip>>;
|
|
2835
|
+
}, z.core.$strip>>;
|
|
2836
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2837
|
+
fromNodeId: z.ZodString;
|
|
2838
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2839
|
+
kind: z.ZodEnum<{
|
|
2840
|
+
import: "import";
|
|
2841
|
+
reference: "reference";
|
|
2842
|
+
}>;
|
|
2843
|
+
rawTarget: z.ZodString;
|
|
2844
|
+
range: z.ZodObject<{
|
|
2845
|
+
start: z.ZodNumber;
|
|
2846
|
+
end: z.ZodNumber;
|
|
2847
|
+
}, z.core.$strip>;
|
|
2848
|
+
}, z.core.$strip>>;
|
|
2849
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2850
|
+
category: z.ZodEnum<{
|
|
2851
|
+
context_files: "context_files";
|
|
2852
|
+
memory_index: "memory_index";
|
|
2853
|
+
skills_roster: "skills_roster";
|
|
2854
|
+
mcp_tools: "mcp_tools";
|
|
2855
|
+
otto_injected: "otto_injected";
|
|
2856
|
+
system_prompt: "system_prompt";
|
|
2857
|
+
}>;
|
|
2858
|
+
estTokens: z.ZodNumber;
|
|
2859
|
+
sharePercent: z.ZodNumber;
|
|
2860
|
+
severity: z.ZodEnum<{
|
|
2861
|
+
ok: "ok";
|
|
2862
|
+
notice: "notice";
|
|
2863
|
+
warn: "warn";
|
|
2864
|
+
critical: "critical";
|
|
2865
|
+
}>;
|
|
2866
|
+
}, z.core.$strip>>;
|
|
2867
|
+
fixedTotal: z.ZodNumber;
|
|
2868
|
+
conditionalTotal: z.ZodNumber;
|
|
2869
|
+
referencedTotal: z.ZodNumber;
|
|
2870
|
+
workingRoom: z.ZodNumber;
|
|
2871
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2872
|
+
ok: "ok";
|
|
2873
|
+
notice: "notice";
|
|
2874
|
+
warn: "warn";
|
|
2875
|
+
critical: "critical";
|
|
2876
|
+
}>;
|
|
2877
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2878
|
+
kind: z.ZodEnum<{
|
|
2879
|
+
dead_import: "dead_import";
|
|
2880
|
+
dead_reference: "dead_reference";
|
|
2881
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2882
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2883
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2884
|
+
import_cycle: "import_cycle";
|
|
2885
|
+
depth_capped: "depth_capped";
|
|
2886
|
+
}>;
|
|
2887
|
+
message: z.ZodString;
|
|
2888
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2889
|
+
start: z.ZodNumber;
|
|
2890
|
+
end: z.ZodNumber;
|
|
2891
|
+
}, z.core.$strip>>;
|
|
2892
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2893
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2894
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2895
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2896
|
+
}, z.core.$strip>>;
|
|
2897
|
+
}, z.core.$strip>>;
|
|
2898
|
+
}, z.core.$strip>;
|
|
2899
|
+
}, z.core.$strip>;
|
|
2900
|
+
export declare const ContextEdgeConvertRequestMessageSchema: z.ZodObject<{
|
|
2901
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
2902
|
+
requestId: z.ZodString;
|
|
2903
|
+
workspaceId: z.ZodString;
|
|
2904
|
+
filePath: z.ZodString;
|
|
2905
|
+
rawTarget: z.ZodString;
|
|
2906
|
+
range: z.ZodObject<{
|
|
2907
|
+
start: z.ZodNumber;
|
|
2908
|
+
end: z.ZodNumber;
|
|
2909
|
+
}, z.core.$strip>;
|
|
2910
|
+
target: z.ZodEnum<{
|
|
2911
|
+
import: "import";
|
|
2912
|
+
reference: "reference";
|
|
2913
|
+
}>;
|
|
2914
|
+
}, z.core.$strip>;
|
|
2915
|
+
export declare const ContextEdgeConvertResponseMessageSchema: z.ZodObject<{
|
|
2916
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
2917
|
+
payload: z.ZodObject<{
|
|
2918
|
+
requestId: z.ZodString;
|
|
2919
|
+
ok: z.ZodBoolean;
|
|
2920
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
}, z.core.$strip>;
|
|
2922
|
+
}, z.core.$strip>;
|
|
2134
2923
|
export declare const TasksSuggestedStartModeSchema: z.ZodEnum<{
|
|
2135
2924
|
worktree: "worktree";
|
|
2136
2925
|
new_chat: "new_chat";
|
|
@@ -4073,10 +4862,25 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4073
4862
|
config: z.ZodObject<{
|
|
4074
4863
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4075
4864
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
4865
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4866
|
+
artifacts: "artifacts";
|
|
4867
|
+
preview: "preview";
|
|
4868
|
+
browser: "browser";
|
|
4869
|
+
web: "web";
|
|
4870
|
+
agents: "agents";
|
|
4871
|
+
terminals: "terminals";
|
|
4872
|
+
schedules: "schedules";
|
|
4873
|
+
workspace: "workspace";
|
|
4874
|
+
}>>>>;
|
|
4076
4875
|
}, z.core.$loose>>>;
|
|
4077
4876
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4078
4877
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4079
4878
|
}, z.core.$loose>>>;
|
|
4879
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4880
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4881
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4882
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4883
|
+
}, z.core.$loose>>>;
|
|
4080
4884
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
4081
4885
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4082
4886
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4102,6 +4906,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4102
4906
|
model: z.ZodOptional<z.ZodString>;
|
|
4103
4907
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
4104
4908
|
}, z.core.$loose>>>>;
|
|
4909
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4910
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4105
4911
|
}, z.core.$loose>>>;
|
|
4106
4912
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4107
4913
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -4193,6 +4999,15 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4193
4999
|
modelId: z.ZodString;
|
|
4194
5000
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
4195
5001
|
}, z.core.$loose>>>>;
|
|
5002
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5003
|
+
id: z.ZodString;
|
|
5004
|
+
baseUrlKey: z.ZodString;
|
|
5005
|
+
apiKeyKey: z.ZodString;
|
|
5006
|
+
baseUrl: z.ZodString;
|
|
5007
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
5008
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5009
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
5010
|
+
}, z.core.$loose>>>>;
|
|
4196
5011
|
}, z.core.$loose>;
|
|
4197
5012
|
}, z.core.$strip>, z.ZodObject<{
|
|
4198
5013
|
type: z.ZodLiteral<"speech.settings.get_options.request">;
|
|
@@ -4472,6 +5287,34 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4472
5287
|
}, z.core.$strip>, z.ZodObject<{
|
|
4473
5288
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
4474
5289
|
requestId: z.ZodString;
|
|
5290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5291
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
5292
|
+
requestId: z.ZodString;
|
|
5293
|
+
workspaceId: z.ZodString;
|
|
5294
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
5295
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
5296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5297
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
5298
|
+
requestId: z.ZodString;
|
|
5299
|
+
workspaceId: z.ZodString;
|
|
5300
|
+
filePath: z.ZodString;
|
|
5301
|
+
rawTarget: z.ZodString;
|
|
5302
|
+
range: z.ZodObject<{
|
|
5303
|
+
start: z.ZodNumber;
|
|
5304
|
+
end: z.ZodNumber;
|
|
5305
|
+
}, z.core.$strip>;
|
|
5306
|
+
target: z.ZodEnum<{
|
|
5307
|
+
import: "import";
|
|
5308
|
+
reference: "reference";
|
|
5309
|
+
}>;
|
|
5310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5311
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
5312
|
+
requestId: z.ZodString;
|
|
5313
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5314
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
5315
|
+
requestId: z.ZodString;
|
|
5316
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5317
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
4475
5318
|
}, z.core.$strip>, z.ZodObject<{
|
|
4476
5319
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
4477
5320
|
agentId: z.ZodString;
|
|
@@ -4547,8 +5390,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4547
5390
|
agentId: z.ZodString;
|
|
4548
5391
|
requestId: z.ZodString;
|
|
4549
5392
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
4550
|
-
tail: "tail";
|
|
4551
5393
|
before: "before";
|
|
5394
|
+
tail: "tail";
|
|
4552
5395
|
after: "after";
|
|
4553
5396
|
}>>;
|
|
4554
5397
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -5793,7 +6636,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5793
6636
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
5794
6637
|
observedSubagents: z.ZodOptional<z.ZodBoolean>;
|
|
5795
6638
|
backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
|
|
6639
|
+
retainedTranscripts: z.ZodOptional<z.ZodBoolean>;
|
|
5796
6640
|
suggestedTasks: z.ZodOptional<z.ZodBoolean>;
|
|
6641
|
+
contextManagement: z.ZodOptional<z.ZodBoolean>;
|
|
5797
6642
|
textEditor: z.ZodOptional<z.ZodBoolean>;
|
|
5798
6643
|
projectSearch: z.ZodOptional<z.ZodBoolean>;
|
|
5799
6644
|
codeIndex: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5810,6 +6655,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5810
6655
|
checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
|
|
5811
6656
|
agentTeams: z.ZodOptional<z.ZodBoolean>;
|
|
5812
6657
|
modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
6658
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodBoolean>;
|
|
5813
6659
|
agentOrchestration: z.ZodOptional<z.ZodBoolean>;
|
|
5814
6660
|
activityStats: z.ZodOptional<z.ZodBoolean>;
|
|
5815
6661
|
runsClear: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5817,6 +6663,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5817
6663
|
fileOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5818
6664
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
5819
6665
|
rateLimitEvents: z.ZodOptional<z.ZodBoolean>;
|
|
6666
|
+
openaiCompatMaxToolRounds: z.ZodOptional<z.ZodBoolean>;
|
|
6667
|
+
mcpToolGroups: z.ZodOptional<z.ZodBoolean>;
|
|
6668
|
+
agentBehaviorToggles: z.ZodOptional<z.ZodBoolean>;
|
|
6669
|
+
metadataGenerationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6670
|
+
usageCostCategories: z.ZodOptional<z.ZodBoolean>;
|
|
6671
|
+
usageLog: z.ZodOptional<z.ZodBoolean>;
|
|
6672
|
+
statsReset: z.ZodOptional<z.ZodBoolean>;
|
|
5820
6673
|
}, z.core.$strip>>;
|
|
5821
6674
|
}, z.core.$loose>, z.ZodTransform<{
|
|
5822
6675
|
hostname: string | null;
|
|
@@ -5858,7 +6711,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5858
6711
|
artifacts?: boolean | undefined;
|
|
5859
6712
|
observedSubagents?: boolean | undefined;
|
|
5860
6713
|
backgroundShellTasks?: boolean | undefined;
|
|
6714
|
+
retainedTranscripts?: boolean | undefined;
|
|
5861
6715
|
suggestedTasks?: boolean | undefined;
|
|
6716
|
+
contextManagement?: boolean | undefined;
|
|
5862
6717
|
textEditor?: boolean | undefined;
|
|
5863
6718
|
projectSearch?: boolean | undefined;
|
|
5864
6719
|
codeIndex?: boolean | undefined;
|
|
@@ -5875,6 +6730,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5875
6730
|
checkoutGitLog?: boolean | undefined;
|
|
5876
6731
|
agentTeams?: boolean | undefined;
|
|
5877
6732
|
modelTierOverrides?: boolean | undefined;
|
|
6733
|
+
savedProviderEndpoints?: boolean | undefined;
|
|
5878
6734
|
agentOrchestration?: boolean | undefined;
|
|
5879
6735
|
activityStats?: boolean | undefined;
|
|
5880
6736
|
runsClear?: boolean | undefined;
|
|
@@ -5882,6 +6738,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5882
6738
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5883
6739
|
promptSuggestions?: boolean | undefined;
|
|
5884
6740
|
rateLimitEvents?: boolean | undefined;
|
|
6741
|
+
openaiCompatMaxToolRounds?: boolean | undefined;
|
|
6742
|
+
mcpToolGroups?: boolean | undefined;
|
|
6743
|
+
agentBehaviorToggles?: boolean | undefined;
|
|
6744
|
+
metadataGenerationEnabled?: boolean | undefined;
|
|
6745
|
+
usageCostCategories?: boolean | undefined;
|
|
6746
|
+
usageLog?: boolean | undefined;
|
|
6747
|
+
statsReset?: boolean | undefined;
|
|
5885
6748
|
} | undefined;
|
|
5886
6749
|
}, {
|
|
5887
6750
|
[x: string]: unknown;
|
|
@@ -5924,7 +6787,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5924
6787
|
artifacts?: boolean | undefined;
|
|
5925
6788
|
observedSubagents?: boolean | undefined;
|
|
5926
6789
|
backgroundShellTasks?: boolean | undefined;
|
|
6790
|
+
retainedTranscripts?: boolean | undefined;
|
|
5927
6791
|
suggestedTasks?: boolean | undefined;
|
|
6792
|
+
contextManagement?: boolean | undefined;
|
|
5928
6793
|
textEditor?: boolean | undefined;
|
|
5929
6794
|
projectSearch?: boolean | undefined;
|
|
5930
6795
|
codeIndex?: boolean | undefined;
|
|
@@ -5941,6 +6806,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5941
6806
|
checkoutGitLog?: boolean | undefined;
|
|
5942
6807
|
agentTeams?: boolean | undefined;
|
|
5943
6808
|
modelTierOverrides?: boolean | undefined;
|
|
6809
|
+
savedProviderEndpoints?: boolean | undefined;
|
|
5944
6810
|
agentOrchestration?: boolean | undefined;
|
|
5945
6811
|
activityStats?: boolean | undefined;
|
|
5946
6812
|
runsClear?: boolean | undefined;
|
|
@@ -5948,6 +6814,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5948
6814
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5949
6815
|
promptSuggestions?: boolean | undefined;
|
|
5950
6816
|
rateLimitEvents?: boolean | undefined;
|
|
6817
|
+
openaiCompatMaxToolRounds?: boolean | undefined;
|
|
6818
|
+
mcpToolGroups?: boolean | undefined;
|
|
6819
|
+
agentBehaviorToggles?: boolean | undefined;
|
|
6820
|
+
metadataGenerationEnabled?: boolean | undefined;
|
|
6821
|
+
usageCostCategories?: boolean | undefined;
|
|
6822
|
+
usageLog?: boolean | undefined;
|
|
6823
|
+
statsReset?: boolean | undefined;
|
|
5951
6824
|
} | undefined;
|
|
5952
6825
|
}>>;
|
|
5953
6826
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -6159,10 +7032,25 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6159
7032
|
config: z.ZodObject<{
|
|
6160
7033
|
mcp: z.ZodObject<{
|
|
6161
7034
|
injectIntoAgents: z.ZodBoolean;
|
|
7035
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7036
|
+
artifacts: "artifacts";
|
|
7037
|
+
preview: "preview";
|
|
7038
|
+
browser: "browser";
|
|
7039
|
+
web: "web";
|
|
7040
|
+
agents: "agents";
|
|
7041
|
+
terminals: "terminals";
|
|
7042
|
+
schedules: "schedules";
|
|
7043
|
+
workspace: "workspace";
|
|
7044
|
+
}>>>;
|
|
6162
7045
|
}, z.core.$loose>;
|
|
6163
7046
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
6164
7047
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
6165
7048
|
}, z.core.$loose>>;
|
|
7049
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
7050
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
7051
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
7052
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
7053
|
+
}, z.core.$loose>>;
|
|
6166
7054
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6167
7055
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6168
7056
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6188,6 +7076,8 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6188
7076
|
model: z.ZodOptional<z.ZodString>;
|
|
6189
7077
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
6190
7078
|
}, z.core.$loose>>>;
|
|
7079
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7080
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
6191
7081
|
}, z.core.$loose>>;
|
|
6192
7082
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
6193
7083
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6279,6 +7169,15 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6279
7169
|
modelId: z.ZodString;
|
|
6280
7170
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
6281
7171
|
}, z.core.$loose>>>;
|
|
7172
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7173
|
+
id: z.ZodString;
|
|
7174
|
+
baseUrlKey: z.ZodString;
|
|
7175
|
+
apiKeyKey: z.ZodString;
|
|
7176
|
+
baseUrl: z.ZodString;
|
|
7177
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
7178
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7179
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
7180
|
+
}, z.core.$loose>>>;
|
|
6282
7181
|
}, z.core.$loose>;
|
|
6283
7182
|
}, z.core.$loose>;
|
|
6284
7183
|
export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6460,10 +7359,25 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6460
7359
|
config: z.ZodObject<{
|
|
6461
7360
|
mcp: z.ZodObject<{
|
|
6462
7361
|
injectIntoAgents: z.ZodBoolean;
|
|
7362
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7363
|
+
artifacts: "artifacts";
|
|
7364
|
+
preview: "preview";
|
|
7365
|
+
browser: "browser";
|
|
7366
|
+
web: "web";
|
|
7367
|
+
agents: "agents";
|
|
7368
|
+
terminals: "terminals";
|
|
7369
|
+
schedules: "schedules";
|
|
7370
|
+
workspace: "workspace";
|
|
7371
|
+
}>>>;
|
|
6463
7372
|
}, z.core.$loose>;
|
|
6464
7373
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
6465
7374
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
6466
7375
|
}, z.core.$loose>>;
|
|
7376
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
7377
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
7378
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
7379
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
7380
|
+
}, z.core.$loose>>;
|
|
6467
7381
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6468
7382
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6469
7383
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6489,6 +7403,8 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6489
7403
|
model: z.ZodOptional<z.ZodString>;
|
|
6490
7404
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
6491
7405
|
}, z.core.$loose>>>;
|
|
7406
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7407
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
6492
7408
|
}, z.core.$loose>>;
|
|
6493
7409
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
6494
7410
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6580,6 +7496,15 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6580
7496
|
modelId: z.ZodString;
|
|
6581
7497
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
6582
7498
|
}, z.core.$loose>>>;
|
|
7499
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7500
|
+
id: z.ZodString;
|
|
7501
|
+
baseUrlKey: z.ZodString;
|
|
7502
|
+
apiKeyKey: z.ZodString;
|
|
7503
|
+
baseUrl: z.ZodString;
|
|
7504
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
7505
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7506
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
7507
|
+
}, z.core.$loose>>>;
|
|
6583
7508
|
}, z.core.$loose>;
|
|
6584
7509
|
}, z.core.$loose>], "status">;
|
|
6585
7510
|
export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
|
|
@@ -9752,8 +10677,8 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
|
9752
10677
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
9753
10678
|
}, z.core.$strip>>;
|
|
9754
10679
|
direction: z.ZodEnum<{
|
|
9755
|
-
tail: "tail";
|
|
9756
10680
|
before: "before";
|
|
10681
|
+
tail: "tail";
|
|
9757
10682
|
after: "after";
|
|
9758
10683
|
}>;
|
|
9759
10684
|
projection: z.ZodEnum<{
|
|
@@ -10520,10 +11445,25 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10520
11445
|
config: z.ZodObject<{
|
|
10521
11446
|
mcp: z.ZodObject<{
|
|
10522
11447
|
injectIntoAgents: z.ZodBoolean;
|
|
11448
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11449
|
+
artifacts: "artifacts";
|
|
11450
|
+
preview: "preview";
|
|
11451
|
+
browser: "browser";
|
|
11452
|
+
web: "web";
|
|
11453
|
+
agents: "agents";
|
|
11454
|
+
terminals: "terminals";
|
|
11455
|
+
schedules: "schedules";
|
|
11456
|
+
workspace: "workspace";
|
|
11457
|
+
}>>>;
|
|
10523
11458
|
}, z.core.$loose>;
|
|
10524
11459
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
10525
11460
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
10526
11461
|
}, z.core.$loose>>;
|
|
11462
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
11463
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
11464
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
11465
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
11466
|
+
}, z.core.$loose>>;
|
|
10527
11467
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10528
11468
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
10529
11469
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10549,6 +11489,8 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10549
11489
|
model: z.ZodOptional<z.ZodString>;
|
|
10550
11490
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
10551
11491
|
}, z.core.$loose>>>;
|
|
11492
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
11493
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
10552
11494
|
}, z.core.$loose>>;
|
|
10553
11495
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
10554
11496
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -10640,6 +11582,15 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10640
11582
|
modelId: z.ZodString;
|
|
10641
11583
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
10642
11584
|
}, z.core.$loose>>>;
|
|
11585
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
11586
|
+
id: z.ZodString;
|
|
11587
|
+
baseUrlKey: z.ZodString;
|
|
11588
|
+
apiKeyKey: z.ZodString;
|
|
11589
|
+
baseUrl: z.ZodString;
|
|
11590
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
11591
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11592
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
11593
|
+
}, z.core.$loose>>>;
|
|
10643
11594
|
}, z.core.$loose>;
|
|
10644
11595
|
}, z.core.$loose>;
|
|
10645
11596
|
}, z.core.$strip>;
|
|
@@ -10759,10 +11710,25 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10759
11710
|
config: z.ZodObject<{
|
|
10760
11711
|
mcp: z.ZodObject<{
|
|
10761
11712
|
injectIntoAgents: z.ZodBoolean;
|
|
11713
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11714
|
+
artifacts: "artifacts";
|
|
11715
|
+
preview: "preview";
|
|
11716
|
+
browser: "browser";
|
|
11717
|
+
web: "web";
|
|
11718
|
+
agents: "agents";
|
|
11719
|
+
terminals: "terminals";
|
|
11720
|
+
schedules: "schedules";
|
|
11721
|
+
workspace: "workspace";
|
|
11722
|
+
}>>>;
|
|
10762
11723
|
}, z.core.$loose>;
|
|
10763
11724
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
10764
11725
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
10765
11726
|
}, z.core.$loose>>;
|
|
11727
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
11728
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
11729
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
11730
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
11731
|
+
}, z.core.$loose>>;
|
|
10766
11732
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10767
11733
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
10768
11734
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10788,6 +11754,8 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10788
11754
|
model: z.ZodOptional<z.ZodString>;
|
|
10789
11755
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
10790
11756
|
}, z.core.$loose>>>;
|
|
11757
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
11758
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
10791
11759
|
}, z.core.$loose>>;
|
|
10792
11760
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
10793
11761
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -10879,6 +11847,15 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10879
11847
|
modelId: z.ZodString;
|
|
10880
11848
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
10881
11849
|
}, z.core.$loose>>>;
|
|
11850
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
11851
|
+
id: z.ZodString;
|
|
11852
|
+
baseUrlKey: z.ZodString;
|
|
11853
|
+
apiKeyKey: z.ZodString;
|
|
11854
|
+
baseUrl: z.ZodString;
|
|
11855
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
11856
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11857
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
11858
|
+
}, z.core.$loose>>>;
|
|
10882
11859
|
}, z.core.$loose>;
|
|
10883
11860
|
}, z.core.$loose>;
|
|
10884
11861
|
}, z.core.$strip>;
|
|
@@ -16311,8 +17288,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16311
17288
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
16312
17289
|
}, z.core.$strip>>;
|
|
16313
17290
|
direction: z.ZodEnum<{
|
|
16314
|
-
tail: "tail";
|
|
16315
17291
|
before: "before";
|
|
17292
|
+
tail: "tail";
|
|
16316
17293
|
after: "after";
|
|
16317
17294
|
}>;
|
|
16318
17295
|
projection: z.ZodEnum<{
|
|
@@ -17034,10 +18011,25 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17034
18011
|
config: z.ZodObject<{
|
|
17035
18012
|
mcp: z.ZodObject<{
|
|
17036
18013
|
injectIntoAgents: z.ZodBoolean;
|
|
18014
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18015
|
+
artifacts: "artifacts";
|
|
18016
|
+
preview: "preview";
|
|
18017
|
+
browser: "browser";
|
|
18018
|
+
web: "web";
|
|
18019
|
+
agents: "agents";
|
|
18020
|
+
terminals: "terminals";
|
|
18021
|
+
schedules: "schedules";
|
|
18022
|
+
workspace: "workspace";
|
|
18023
|
+
}>>>;
|
|
17037
18024
|
}, z.core.$loose>;
|
|
17038
18025
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
17039
18026
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17040
18027
|
}, z.core.$loose>>;
|
|
18028
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
18029
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
18030
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
18031
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
18032
|
+
}, z.core.$loose>>;
|
|
17041
18033
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17042
18034
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17043
18035
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -17063,6 +18055,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17063
18055
|
model: z.ZodOptional<z.ZodString>;
|
|
17064
18056
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
17065
18057
|
}, z.core.$loose>>>;
|
|
18058
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
18059
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
17066
18060
|
}, z.core.$loose>>;
|
|
17067
18061
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
17068
18062
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -17154,6 +18148,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17154
18148
|
modelId: z.ZodString;
|
|
17155
18149
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
17156
18150
|
}, z.core.$loose>>>;
|
|
18151
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18152
|
+
id: z.ZodString;
|
|
18153
|
+
baseUrlKey: z.ZodString;
|
|
18154
|
+
apiKeyKey: z.ZodString;
|
|
18155
|
+
baseUrl: z.ZodString;
|
|
18156
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
18157
|
+
label: z.ZodOptional<z.ZodString>;
|
|
18158
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
18159
|
+
}, z.core.$loose>>>;
|
|
17157
18160
|
}, z.core.$loose>;
|
|
17158
18161
|
}, z.core.$loose>;
|
|
17159
18162
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17163,10 +18166,25 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17163
18166
|
config: z.ZodObject<{
|
|
17164
18167
|
mcp: z.ZodObject<{
|
|
17165
18168
|
injectIntoAgents: z.ZodBoolean;
|
|
18169
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18170
|
+
artifacts: "artifacts";
|
|
18171
|
+
preview: "preview";
|
|
18172
|
+
browser: "browser";
|
|
18173
|
+
web: "web";
|
|
18174
|
+
agents: "agents";
|
|
18175
|
+
terminals: "terminals";
|
|
18176
|
+
schedules: "schedules";
|
|
18177
|
+
workspace: "workspace";
|
|
18178
|
+
}>>>;
|
|
17166
18179
|
}, z.core.$loose>;
|
|
17167
18180
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
17168
18181
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17169
18182
|
}, z.core.$loose>>;
|
|
18183
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
18184
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
18185
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
18186
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
18187
|
+
}, z.core.$loose>>;
|
|
17170
18188
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17171
18189
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17172
18190
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -17192,6 +18210,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17192
18210
|
model: z.ZodOptional<z.ZodString>;
|
|
17193
18211
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
17194
18212
|
}, z.core.$loose>>>;
|
|
18213
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
18214
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
17195
18215
|
}, z.core.$loose>>;
|
|
17196
18216
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
17197
18217
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -17283,6 +18303,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17283
18303
|
modelId: z.ZodString;
|
|
17284
18304
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
17285
18305
|
}, z.core.$loose>>>;
|
|
18306
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18307
|
+
id: z.ZodString;
|
|
18308
|
+
baseUrlKey: z.ZodString;
|
|
18309
|
+
apiKeyKey: z.ZodString;
|
|
18310
|
+
baseUrl: z.ZodString;
|
|
18311
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
18312
|
+
label: z.ZodOptional<z.ZodString>;
|
|
18313
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
18314
|
+
}, z.core.$loose>>>;
|
|
17286
18315
|
}, z.core.$loose>;
|
|
17287
18316
|
}, z.core.$loose>;
|
|
17288
18317
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17594,6 +18623,134 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17594
18623
|
updatedAt: z.ZodString;
|
|
17595
18624
|
}, z.core.$strip>>;
|
|
17596
18625
|
}, z.core.$strip>;
|
|
18626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18627
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
18628
|
+
payload: z.ZodObject<{
|
|
18629
|
+
workspaceId: z.ZodString;
|
|
18630
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
18631
|
+
workspaceId: z.ZodString;
|
|
18632
|
+
provider: z.ZodString;
|
|
18633
|
+
windowTokens: z.ZodNumber;
|
|
18634
|
+
scannedAt: z.ZodString;
|
|
18635
|
+
confidence: z.ZodEnum<{
|
|
18636
|
+
exact: "exact";
|
|
18637
|
+
convention: "convention";
|
|
18638
|
+
unverified: "unverified";
|
|
18639
|
+
}>;
|
|
18640
|
+
supported: z.ZodBoolean;
|
|
18641
|
+
supportsImports: z.ZodBoolean;
|
|
18642
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
18643
|
+
id: z.ZodString;
|
|
18644
|
+
path: z.ZodString;
|
|
18645
|
+
relPath: z.ZodString;
|
|
18646
|
+
scope: z.ZodEnum<{
|
|
18647
|
+
local: "local";
|
|
18648
|
+
enterprise: "enterprise";
|
|
18649
|
+
global: "global";
|
|
18650
|
+
project: "project";
|
|
18651
|
+
subdirectory: "subdirectory";
|
|
18652
|
+
runtime: "runtime";
|
|
18653
|
+
}>;
|
|
18654
|
+
category: z.ZodEnum<{
|
|
18655
|
+
context_files: "context_files";
|
|
18656
|
+
memory_index: "memory_index";
|
|
18657
|
+
skills_roster: "skills_roster";
|
|
18658
|
+
mcp_tools: "mcp_tools";
|
|
18659
|
+
otto_injected: "otto_injected";
|
|
18660
|
+
system_prompt: "system_prompt";
|
|
18661
|
+
}>;
|
|
18662
|
+
costClass: z.ZodEnum<{
|
|
18663
|
+
fixed: "fixed";
|
|
18664
|
+
conditional: "conditional";
|
|
18665
|
+
referenced: "referenced";
|
|
18666
|
+
}>;
|
|
18667
|
+
bytes: z.ZodNumber;
|
|
18668
|
+
estTokens: z.ZodNumber;
|
|
18669
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
18670
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
18671
|
+
kind: z.ZodEnum<{
|
|
18672
|
+
dead_import: "dead_import";
|
|
18673
|
+
dead_reference: "dead_reference";
|
|
18674
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
18675
|
+
duplicate_within_file: "duplicate_within_file";
|
|
18676
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
18677
|
+
import_cycle: "import_cycle";
|
|
18678
|
+
depth_capped: "depth_capped";
|
|
18679
|
+
}>;
|
|
18680
|
+
message: z.ZodString;
|
|
18681
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
18682
|
+
start: z.ZodNumber;
|
|
18683
|
+
end: z.ZodNumber;
|
|
18684
|
+
}, z.core.$strip>>;
|
|
18685
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18686
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
18687
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
18688
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
18689
|
+
}, z.core.$strip>>;
|
|
18690
|
+
}, z.core.$strip>>;
|
|
18691
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
18692
|
+
fromNodeId: z.ZodString;
|
|
18693
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
18694
|
+
kind: z.ZodEnum<{
|
|
18695
|
+
import: "import";
|
|
18696
|
+
reference: "reference";
|
|
18697
|
+
}>;
|
|
18698
|
+
rawTarget: z.ZodString;
|
|
18699
|
+
range: z.ZodObject<{
|
|
18700
|
+
start: z.ZodNumber;
|
|
18701
|
+
end: z.ZodNumber;
|
|
18702
|
+
}, z.core.$strip>;
|
|
18703
|
+
}, z.core.$strip>>;
|
|
18704
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
18705
|
+
category: z.ZodEnum<{
|
|
18706
|
+
context_files: "context_files";
|
|
18707
|
+
memory_index: "memory_index";
|
|
18708
|
+
skills_roster: "skills_roster";
|
|
18709
|
+
mcp_tools: "mcp_tools";
|
|
18710
|
+
otto_injected: "otto_injected";
|
|
18711
|
+
system_prompt: "system_prompt";
|
|
18712
|
+
}>;
|
|
18713
|
+
estTokens: z.ZodNumber;
|
|
18714
|
+
sharePercent: z.ZodNumber;
|
|
18715
|
+
severity: z.ZodEnum<{
|
|
18716
|
+
ok: "ok";
|
|
18717
|
+
notice: "notice";
|
|
18718
|
+
warn: "warn";
|
|
18719
|
+
critical: "critical";
|
|
18720
|
+
}>;
|
|
18721
|
+
}, z.core.$strip>>;
|
|
18722
|
+
fixedTotal: z.ZodNumber;
|
|
18723
|
+
conditionalTotal: z.ZodNumber;
|
|
18724
|
+
referencedTotal: z.ZodNumber;
|
|
18725
|
+
workingRoom: z.ZodNumber;
|
|
18726
|
+
aggregateSeverity: z.ZodEnum<{
|
|
18727
|
+
ok: "ok";
|
|
18728
|
+
notice: "notice";
|
|
18729
|
+
warn: "warn";
|
|
18730
|
+
critical: "critical";
|
|
18731
|
+
}>;
|
|
18732
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
18733
|
+
kind: z.ZodEnum<{
|
|
18734
|
+
dead_import: "dead_import";
|
|
18735
|
+
dead_reference: "dead_reference";
|
|
18736
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
18737
|
+
duplicate_within_file: "duplicate_within_file";
|
|
18738
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
18739
|
+
import_cycle: "import_cycle";
|
|
18740
|
+
depth_capped: "depth_capped";
|
|
18741
|
+
}>;
|
|
18742
|
+
message: z.ZodString;
|
|
18743
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
18744
|
+
start: z.ZodNumber;
|
|
18745
|
+
end: z.ZodNumber;
|
|
18746
|
+
}, z.core.$strip>>;
|
|
18747
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18748
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
18749
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
18750
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
18751
|
+
}, z.core.$strip>>;
|
|
18752
|
+
}, z.core.$strip>>;
|
|
18753
|
+
}, z.core.$strip>;
|
|
17597
18754
|
}, z.core.$strip>, z.ZodObject<{
|
|
17598
18755
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
17599
18756
|
payload: z.ZodObject<{
|
|
@@ -19849,6 +21006,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19849
21006
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19850
21007
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19851
21008
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21009
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21010
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21011
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21012
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21013
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21014
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21015
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21016
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21017
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21018
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21019
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21020
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21021
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21022
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19852
21023
|
}, z.core.$strip>;
|
|
19853
21024
|
yesterday: z.ZodObject<{
|
|
19854
21025
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19863,6 +21034,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19863
21034
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19864
21035
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19865
21036
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21037
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21038
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21039
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21040
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21041
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21042
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21043
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21044
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21045
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21046
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21047
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21048
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21049
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21050
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19866
21051
|
}, z.core.$strip>;
|
|
19867
21052
|
last7Days: z.ZodObject<{
|
|
19868
21053
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19877,6 +21062,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19877
21062
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19878
21063
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19879
21064
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21065
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21066
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21067
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21068
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21069
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21070
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21071
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21072
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21073
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21074
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21075
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21076
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21077
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21078
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19880
21079
|
}, z.core.$strip>;
|
|
19881
21080
|
last30Days: z.ZodObject<{
|
|
19882
21081
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19891,6 +21090,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19891
21090
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19892
21091
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19893
21092
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21093
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21094
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21095
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21096
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21097
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21098
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21099
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21100
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21101
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21102
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21103
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21104
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21105
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21106
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19894
21107
|
}, z.core.$strip>;
|
|
19895
21108
|
allTime: z.ZodObject<{
|
|
19896
21109
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19905,8 +21118,187 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19905
21118
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19906
21119
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19907
21120
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21121
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21122
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21123
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21124
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21125
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21126
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21127
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21128
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21129
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21130
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21131
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21132
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21133
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21134
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19908
21135
|
}, z.core.$strip>;
|
|
19909
21136
|
}, z.core.$strip>;
|
|
21137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21138
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
21139
|
+
payload: z.ZodObject<{
|
|
21140
|
+
requestId: z.ZodString;
|
|
21141
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
21142
|
+
workspaceId: z.ZodString;
|
|
21143
|
+
provider: z.ZodString;
|
|
21144
|
+
windowTokens: z.ZodNumber;
|
|
21145
|
+
scannedAt: z.ZodString;
|
|
21146
|
+
confidence: z.ZodEnum<{
|
|
21147
|
+
exact: "exact";
|
|
21148
|
+
convention: "convention";
|
|
21149
|
+
unverified: "unverified";
|
|
21150
|
+
}>;
|
|
21151
|
+
supported: z.ZodBoolean;
|
|
21152
|
+
supportsImports: z.ZodBoolean;
|
|
21153
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
21154
|
+
id: z.ZodString;
|
|
21155
|
+
path: z.ZodString;
|
|
21156
|
+
relPath: z.ZodString;
|
|
21157
|
+
scope: z.ZodEnum<{
|
|
21158
|
+
local: "local";
|
|
21159
|
+
enterprise: "enterprise";
|
|
21160
|
+
global: "global";
|
|
21161
|
+
project: "project";
|
|
21162
|
+
subdirectory: "subdirectory";
|
|
21163
|
+
runtime: "runtime";
|
|
21164
|
+
}>;
|
|
21165
|
+
category: z.ZodEnum<{
|
|
21166
|
+
context_files: "context_files";
|
|
21167
|
+
memory_index: "memory_index";
|
|
21168
|
+
skills_roster: "skills_roster";
|
|
21169
|
+
mcp_tools: "mcp_tools";
|
|
21170
|
+
otto_injected: "otto_injected";
|
|
21171
|
+
system_prompt: "system_prompt";
|
|
21172
|
+
}>;
|
|
21173
|
+
costClass: z.ZodEnum<{
|
|
21174
|
+
fixed: "fixed";
|
|
21175
|
+
conditional: "conditional";
|
|
21176
|
+
referenced: "referenced";
|
|
21177
|
+
}>;
|
|
21178
|
+
bytes: z.ZodNumber;
|
|
21179
|
+
estTokens: z.ZodNumber;
|
|
21180
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
21181
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
21182
|
+
kind: z.ZodEnum<{
|
|
21183
|
+
dead_import: "dead_import";
|
|
21184
|
+
dead_reference: "dead_reference";
|
|
21185
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
21186
|
+
duplicate_within_file: "duplicate_within_file";
|
|
21187
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
21188
|
+
import_cycle: "import_cycle";
|
|
21189
|
+
depth_capped: "depth_capped";
|
|
21190
|
+
}>;
|
|
21191
|
+
message: z.ZodString;
|
|
21192
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
21193
|
+
start: z.ZodNumber;
|
|
21194
|
+
end: z.ZodNumber;
|
|
21195
|
+
}, z.core.$strip>>;
|
|
21196
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21197
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
21198
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
21199
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
21200
|
+
}, z.core.$strip>>;
|
|
21201
|
+
}, z.core.$strip>>;
|
|
21202
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
21203
|
+
fromNodeId: z.ZodString;
|
|
21204
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
21205
|
+
kind: z.ZodEnum<{
|
|
21206
|
+
import: "import";
|
|
21207
|
+
reference: "reference";
|
|
21208
|
+
}>;
|
|
21209
|
+
rawTarget: z.ZodString;
|
|
21210
|
+
range: z.ZodObject<{
|
|
21211
|
+
start: z.ZodNumber;
|
|
21212
|
+
end: z.ZodNumber;
|
|
21213
|
+
}, z.core.$strip>;
|
|
21214
|
+
}, z.core.$strip>>;
|
|
21215
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
21216
|
+
category: z.ZodEnum<{
|
|
21217
|
+
context_files: "context_files";
|
|
21218
|
+
memory_index: "memory_index";
|
|
21219
|
+
skills_roster: "skills_roster";
|
|
21220
|
+
mcp_tools: "mcp_tools";
|
|
21221
|
+
otto_injected: "otto_injected";
|
|
21222
|
+
system_prompt: "system_prompt";
|
|
21223
|
+
}>;
|
|
21224
|
+
estTokens: z.ZodNumber;
|
|
21225
|
+
sharePercent: z.ZodNumber;
|
|
21226
|
+
severity: z.ZodEnum<{
|
|
21227
|
+
ok: "ok";
|
|
21228
|
+
notice: "notice";
|
|
21229
|
+
warn: "warn";
|
|
21230
|
+
critical: "critical";
|
|
21231
|
+
}>;
|
|
21232
|
+
}, z.core.$strip>>;
|
|
21233
|
+
fixedTotal: z.ZodNumber;
|
|
21234
|
+
conditionalTotal: z.ZodNumber;
|
|
21235
|
+
referencedTotal: z.ZodNumber;
|
|
21236
|
+
workingRoom: z.ZodNumber;
|
|
21237
|
+
aggregateSeverity: z.ZodEnum<{
|
|
21238
|
+
ok: "ok";
|
|
21239
|
+
notice: "notice";
|
|
21240
|
+
warn: "warn";
|
|
21241
|
+
critical: "critical";
|
|
21242
|
+
}>;
|
|
21243
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
21244
|
+
kind: z.ZodEnum<{
|
|
21245
|
+
dead_import: "dead_import";
|
|
21246
|
+
dead_reference: "dead_reference";
|
|
21247
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
21248
|
+
duplicate_within_file: "duplicate_within_file";
|
|
21249
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
21250
|
+
import_cycle: "import_cycle";
|
|
21251
|
+
depth_capped: "depth_capped";
|
|
21252
|
+
}>;
|
|
21253
|
+
message: z.ZodString;
|
|
21254
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
21255
|
+
start: z.ZodNumber;
|
|
21256
|
+
end: z.ZodNumber;
|
|
21257
|
+
}, z.core.$strip>>;
|
|
21258
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21259
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
21260
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
21261
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
21262
|
+
}, z.core.$strip>>;
|
|
21263
|
+
}, z.core.$strip>>;
|
|
21264
|
+
}, z.core.$strip>;
|
|
21265
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21266
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
21267
|
+
payload: z.ZodObject<{
|
|
21268
|
+
requestId: z.ZodString;
|
|
21269
|
+
ok: z.ZodBoolean;
|
|
21270
|
+
error: z.ZodOptional<z.ZodString>;
|
|
21271
|
+
}, z.core.$strip>;
|
|
21272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21273
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
21274
|
+
payload: z.ZodObject<{
|
|
21275
|
+
requestId: z.ZodString;
|
|
21276
|
+
}, z.core.$strip>;
|
|
21277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21278
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
21279
|
+
payload: z.ZodObject<{
|
|
21280
|
+
requestId: z.ZodString;
|
|
21281
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
21282
|
+
id: z.ZodString;
|
|
21283
|
+
at: z.ZodNumber;
|
|
21284
|
+
kind: z.ZodString;
|
|
21285
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
21286
|
+
provider: z.ZodString;
|
|
21287
|
+
model: z.ZodOptional<z.ZodString>;
|
|
21288
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21289
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
21290
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21291
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21292
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
21293
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
21294
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
21295
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
21296
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
21297
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
21298
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
21299
|
+
}, z.core.$strip>>>;
|
|
21300
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
21301
|
+
}, z.core.$strip>;
|
|
19910
21302
|
}, z.core.$strip>, z.ZodObject<{
|
|
19911
21303
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
19912
21304
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -21532,6 +22924,17 @@ export type AgentBackgroundTaskClearResponseMessage = z.infer<typeof AgentBackgr
|
|
|
21532
22924
|
export type SuggestedTaskInfo = z.infer<typeof SuggestedTaskInfoSchema>;
|
|
21533
22925
|
export type SuggestedTaskState = z.infer<typeof SuggestedTaskStateSchema>;
|
|
21534
22926
|
export type SuggestedTasksChanged = z.infer<typeof SuggestedTasksChangedSchema>;
|
|
22927
|
+
export type ContextScope = z.infer<typeof ContextScopeSchema>;
|
|
22928
|
+
export type ContextCategory = z.infer<typeof ContextCategorySchema>;
|
|
22929
|
+
export type ContextCostClass = z.infer<typeof ContextCostClassSchema>;
|
|
22930
|
+
export type ContextSeverity = z.infer<typeof ContextSeveritySchema>;
|
|
22931
|
+
export type ContextConfidence = z.infer<typeof ContextConfidenceSchema>;
|
|
22932
|
+
export type ContextFinding = z.infer<typeof ContextFindingSchema>;
|
|
22933
|
+
export type ContextNode = z.infer<typeof ContextNodeSchema>;
|
|
22934
|
+
export type ContextEdge = z.infer<typeof ContextEdgeSchema>;
|
|
22935
|
+
export type ContextCategoryTotal = z.infer<typeof ContextCategoryTotalSchema>;
|
|
22936
|
+
export type ContextReport = z.infer<typeof ContextReportSchema>;
|
|
22937
|
+
export type ContextReportChanged = z.infer<typeof ContextReportChangedSchema>;
|
|
21535
22938
|
export type TasksSuggestedStartMode = z.infer<typeof TasksSuggestedStartModeSchema>;
|
|
21536
22939
|
export type TasksSuggestedStartResponseMessage = z.infer<typeof TasksSuggestedStartResponseMessageSchema>;
|
|
21537
22940
|
export type TasksSuggestedDismissResponseMessage = z.infer<typeof TasksSuggestedDismissResponseMessageSchema>;
|
|
@@ -21580,7 +22983,14 @@ export type AgentContextGetUsageResponseMessage = z.infer<typeof AgentContextGet
|
|
|
21580
22983
|
export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListResponseMessageSchema>;
|
|
21581
22984
|
export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
|
|
21582
22985
|
export type StatsActivityGetResponseMessage = z.infer<typeof StatsActivityGetResponseMessageSchema>;
|
|
22986
|
+
export type ContextReportGetResponseMessage = z.infer<typeof ContextReportGetResponseMessageSchema>;
|
|
22987
|
+
export type ContextEdgeConvertResponseMessage = z.infer<typeof ContextEdgeConvertResponseMessageSchema>;
|
|
22988
|
+
export type StatsActivityResetRequestMessage = z.infer<typeof StatsActivityResetRequestMessageSchema>;
|
|
22989
|
+
export type StatsActivityResetResponseMessage = z.infer<typeof StatsActivityResetResponseMessageSchema>;
|
|
21583
22990
|
export type ActivityStatsChanged = z.infer<typeof ActivityStatsChangedSchema>;
|
|
22991
|
+
export type UsageEvent = z.infer<typeof UsageEventSchema>;
|
|
22992
|
+
export type UsageLogGetRequestMessage = z.infer<typeof UsageLogGetRequestMessageSchema>;
|
|
22993
|
+
export type UsageLogGetResponseMessage = z.infer<typeof UsageLogGetResponseMessageSchema>;
|
|
21584
22994
|
export type ChatCreateResponse = z.infer<typeof ChatCreateResponseSchema>;
|
|
21585
22995
|
export type ChatListResponse = z.infer<typeof ChatListResponseSchema>;
|
|
21586
22996
|
export type ChatInspectResponse = z.infer<typeof ChatInspectResponseSchema>;
|
|
@@ -22431,10 +23841,25 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22431
23841
|
config: z.ZodObject<{
|
|
22432
23842
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
22433
23843
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
23844
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23845
|
+
artifacts: "artifacts";
|
|
23846
|
+
preview: "preview";
|
|
23847
|
+
browser: "browser";
|
|
23848
|
+
web: "web";
|
|
23849
|
+
agents: "agents";
|
|
23850
|
+
terminals: "terminals";
|
|
23851
|
+
schedules: "schedules";
|
|
23852
|
+
workspace: "workspace";
|
|
23853
|
+
}>>>>;
|
|
22434
23854
|
}, z.core.$loose>>>;
|
|
22435
23855
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
22436
23856
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22437
23857
|
}, z.core.$loose>>>;
|
|
23858
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
23859
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23860
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23861
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23862
|
+
}, z.core.$loose>>>;
|
|
22438
23863
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
22439
23864
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22440
23865
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -22460,6 +23885,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22460
23885
|
model: z.ZodOptional<z.ZodString>;
|
|
22461
23886
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
22462
23887
|
}, z.core.$loose>>>>;
|
|
23888
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23889
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22463
23890
|
}, z.core.$loose>>>;
|
|
22464
23891
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22465
23892
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -22551,6 +23978,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22551
23978
|
modelId: z.ZodString;
|
|
22552
23979
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
22553
23980
|
}, z.core.$loose>>>>;
|
|
23981
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23982
|
+
id: z.ZodString;
|
|
23983
|
+
baseUrlKey: z.ZodString;
|
|
23984
|
+
apiKeyKey: z.ZodString;
|
|
23985
|
+
baseUrl: z.ZodString;
|
|
23986
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
23987
|
+
label: z.ZodOptional<z.ZodString>;
|
|
23988
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
23989
|
+
}, z.core.$loose>>>>;
|
|
22554
23990
|
}, z.core.$loose>;
|
|
22555
23991
|
}, z.core.$strip>, z.ZodObject<{
|
|
22556
23992
|
type: z.ZodLiteral<"speech.settings.get_options.request">;
|
|
@@ -22830,6 +24266,34 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22830
24266
|
}, z.core.$strip>, z.ZodObject<{
|
|
22831
24267
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
22832
24268
|
requestId: z.ZodString;
|
|
24269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24270
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
24271
|
+
requestId: z.ZodString;
|
|
24272
|
+
workspaceId: z.ZodString;
|
|
24273
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
24274
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
24275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24276
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
24277
|
+
requestId: z.ZodString;
|
|
24278
|
+
workspaceId: z.ZodString;
|
|
24279
|
+
filePath: z.ZodString;
|
|
24280
|
+
rawTarget: z.ZodString;
|
|
24281
|
+
range: z.ZodObject<{
|
|
24282
|
+
start: z.ZodNumber;
|
|
24283
|
+
end: z.ZodNumber;
|
|
24284
|
+
}, z.core.$strip>;
|
|
24285
|
+
target: z.ZodEnum<{
|
|
24286
|
+
import: "import";
|
|
24287
|
+
reference: "reference";
|
|
24288
|
+
}>;
|
|
24289
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24290
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
24291
|
+
requestId: z.ZodString;
|
|
24292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24293
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
24294
|
+
requestId: z.ZodString;
|
|
24295
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
24296
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
22833
24297
|
}, z.core.$strip>, z.ZodObject<{
|
|
22834
24298
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
22835
24299
|
agentId: z.ZodString;
|
|
@@ -22905,8 +24369,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22905
24369
|
agentId: z.ZodString;
|
|
22906
24370
|
requestId: z.ZodString;
|
|
22907
24371
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
22908
|
-
tail: "tail";
|
|
22909
24372
|
before: "before";
|
|
24373
|
+
tail: "tail";
|
|
22910
24374
|
after: "after";
|
|
22911
24375
|
}>>;
|
|
22912
24376
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -26648,8 +28112,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26648
28112
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
26649
28113
|
}, z.core.$strip>>;
|
|
26650
28114
|
direction: z.ZodEnum<{
|
|
26651
|
-
tail: "tail";
|
|
26652
28115
|
before: "before";
|
|
28116
|
+
tail: "tail";
|
|
26653
28117
|
after: "after";
|
|
26654
28118
|
}>;
|
|
26655
28119
|
projection: z.ZodEnum<{
|
|
@@ -27371,10 +28835,25 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27371
28835
|
config: z.ZodObject<{
|
|
27372
28836
|
mcp: z.ZodObject<{
|
|
27373
28837
|
injectIntoAgents: z.ZodBoolean;
|
|
28838
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28839
|
+
artifacts: "artifacts";
|
|
28840
|
+
preview: "preview";
|
|
28841
|
+
browser: "browser";
|
|
28842
|
+
web: "web";
|
|
28843
|
+
agents: "agents";
|
|
28844
|
+
terminals: "terminals";
|
|
28845
|
+
schedules: "schedules";
|
|
28846
|
+
workspace: "workspace";
|
|
28847
|
+
}>>>;
|
|
27374
28848
|
}, z.core.$loose>;
|
|
27375
28849
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
27376
28850
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
27377
28851
|
}, z.core.$loose>>;
|
|
28852
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
28853
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
28854
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
28855
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
28856
|
+
}, z.core.$loose>>;
|
|
27378
28857
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27379
28858
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27380
28859
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -27400,6 +28879,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27400
28879
|
model: z.ZodOptional<z.ZodString>;
|
|
27401
28880
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
27402
28881
|
}, z.core.$loose>>>;
|
|
28882
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
28883
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
27403
28884
|
}, z.core.$loose>>;
|
|
27404
28885
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
27405
28886
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -27491,6 +28972,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27491
28972
|
modelId: z.ZodString;
|
|
27492
28973
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
27493
28974
|
}, z.core.$loose>>>;
|
|
28975
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28976
|
+
id: z.ZodString;
|
|
28977
|
+
baseUrlKey: z.ZodString;
|
|
28978
|
+
apiKeyKey: z.ZodString;
|
|
28979
|
+
baseUrl: z.ZodString;
|
|
28980
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
28981
|
+
label: z.ZodOptional<z.ZodString>;
|
|
28982
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
28983
|
+
}, z.core.$loose>>>;
|
|
27494
28984
|
}, z.core.$loose>;
|
|
27495
28985
|
}, z.core.$loose>;
|
|
27496
28986
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -27500,10 +28990,25 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27500
28990
|
config: z.ZodObject<{
|
|
27501
28991
|
mcp: z.ZodObject<{
|
|
27502
28992
|
injectIntoAgents: z.ZodBoolean;
|
|
28993
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28994
|
+
artifacts: "artifacts";
|
|
28995
|
+
preview: "preview";
|
|
28996
|
+
browser: "browser";
|
|
28997
|
+
web: "web";
|
|
28998
|
+
agents: "agents";
|
|
28999
|
+
terminals: "terminals";
|
|
29000
|
+
schedules: "schedules";
|
|
29001
|
+
workspace: "workspace";
|
|
29002
|
+
}>>>;
|
|
27503
29003
|
}, z.core.$loose>;
|
|
27504
29004
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
27505
29005
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
27506
29006
|
}, z.core.$loose>>;
|
|
29007
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
29008
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
29009
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
29010
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
29011
|
+
}, z.core.$loose>>;
|
|
27507
29012
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27508
29013
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27509
29014
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -27529,6 +29034,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27529
29034
|
model: z.ZodOptional<z.ZodString>;
|
|
27530
29035
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
27531
29036
|
}, z.core.$loose>>>;
|
|
29037
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
29038
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
27532
29039
|
}, z.core.$loose>>;
|
|
27533
29040
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
27534
29041
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -27620,6 +29127,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27620
29127
|
modelId: z.ZodString;
|
|
27621
29128
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
27622
29129
|
}, z.core.$loose>>>;
|
|
29130
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
29131
|
+
id: z.ZodString;
|
|
29132
|
+
baseUrlKey: z.ZodString;
|
|
29133
|
+
apiKeyKey: z.ZodString;
|
|
29134
|
+
baseUrl: z.ZodString;
|
|
29135
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
29136
|
+
label: z.ZodOptional<z.ZodString>;
|
|
29137
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
29138
|
+
}, z.core.$loose>>>;
|
|
27623
29139
|
}, z.core.$loose>;
|
|
27624
29140
|
}, z.core.$loose>;
|
|
27625
29141
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -27931,6 +29447,134 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27931
29447
|
updatedAt: z.ZodString;
|
|
27932
29448
|
}, z.core.$strip>>;
|
|
27933
29449
|
}, z.core.$strip>;
|
|
29450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29451
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
29452
|
+
payload: z.ZodObject<{
|
|
29453
|
+
workspaceId: z.ZodString;
|
|
29454
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
29455
|
+
workspaceId: z.ZodString;
|
|
29456
|
+
provider: z.ZodString;
|
|
29457
|
+
windowTokens: z.ZodNumber;
|
|
29458
|
+
scannedAt: z.ZodString;
|
|
29459
|
+
confidence: z.ZodEnum<{
|
|
29460
|
+
exact: "exact";
|
|
29461
|
+
convention: "convention";
|
|
29462
|
+
unverified: "unverified";
|
|
29463
|
+
}>;
|
|
29464
|
+
supported: z.ZodBoolean;
|
|
29465
|
+
supportsImports: z.ZodBoolean;
|
|
29466
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
29467
|
+
id: z.ZodString;
|
|
29468
|
+
path: z.ZodString;
|
|
29469
|
+
relPath: z.ZodString;
|
|
29470
|
+
scope: z.ZodEnum<{
|
|
29471
|
+
local: "local";
|
|
29472
|
+
enterprise: "enterprise";
|
|
29473
|
+
global: "global";
|
|
29474
|
+
project: "project";
|
|
29475
|
+
subdirectory: "subdirectory";
|
|
29476
|
+
runtime: "runtime";
|
|
29477
|
+
}>;
|
|
29478
|
+
category: z.ZodEnum<{
|
|
29479
|
+
context_files: "context_files";
|
|
29480
|
+
memory_index: "memory_index";
|
|
29481
|
+
skills_roster: "skills_roster";
|
|
29482
|
+
mcp_tools: "mcp_tools";
|
|
29483
|
+
otto_injected: "otto_injected";
|
|
29484
|
+
system_prompt: "system_prompt";
|
|
29485
|
+
}>;
|
|
29486
|
+
costClass: z.ZodEnum<{
|
|
29487
|
+
fixed: "fixed";
|
|
29488
|
+
conditional: "conditional";
|
|
29489
|
+
referenced: "referenced";
|
|
29490
|
+
}>;
|
|
29491
|
+
bytes: z.ZodNumber;
|
|
29492
|
+
estTokens: z.ZodNumber;
|
|
29493
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
29494
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
29495
|
+
kind: z.ZodEnum<{
|
|
29496
|
+
dead_import: "dead_import";
|
|
29497
|
+
dead_reference: "dead_reference";
|
|
29498
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
29499
|
+
duplicate_within_file: "duplicate_within_file";
|
|
29500
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
29501
|
+
import_cycle: "import_cycle";
|
|
29502
|
+
depth_capped: "depth_capped";
|
|
29503
|
+
}>;
|
|
29504
|
+
message: z.ZodString;
|
|
29505
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
29506
|
+
start: z.ZodNumber;
|
|
29507
|
+
end: z.ZodNumber;
|
|
29508
|
+
}, z.core.$strip>>;
|
|
29509
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29510
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
29511
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
29512
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
29513
|
+
}, z.core.$strip>>;
|
|
29514
|
+
}, z.core.$strip>>;
|
|
29515
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
29516
|
+
fromNodeId: z.ZodString;
|
|
29517
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
29518
|
+
kind: z.ZodEnum<{
|
|
29519
|
+
import: "import";
|
|
29520
|
+
reference: "reference";
|
|
29521
|
+
}>;
|
|
29522
|
+
rawTarget: z.ZodString;
|
|
29523
|
+
range: z.ZodObject<{
|
|
29524
|
+
start: z.ZodNumber;
|
|
29525
|
+
end: z.ZodNumber;
|
|
29526
|
+
}, z.core.$strip>;
|
|
29527
|
+
}, z.core.$strip>>;
|
|
29528
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
29529
|
+
category: z.ZodEnum<{
|
|
29530
|
+
context_files: "context_files";
|
|
29531
|
+
memory_index: "memory_index";
|
|
29532
|
+
skills_roster: "skills_roster";
|
|
29533
|
+
mcp_tools: "mcp_tools";
|
|
29534
|
+
otto_injected: "otto_injected";
|
|
29535
|
+
system_prompt: "system_prompt";
|
|
29536
|
+
}>;
|
|
29537
|
+
estTokens: z.ZodNumber;
|
|
29538
|
+
sharePercent: z.ZodNumber;
|
|
29539
|
+
severity: z.ZodEnum<{
|
|
29540
|
+
ok: "ok";
|
|
29541
|
+
notice: "notice";
|
|
29542
|
+
warn: "warn";
|
|
29543
|
+
critical: "critical";
|
|
29544
|
+
}>;
|
|
29545
|
+
}, z.core.$strip>>;
|
|
29546
|
+
fixedTotal: z.ZodNumber;
|
|
29547
|
+
conditionalTotal: z.ZodNumber;
|
|
29548
|
+
referencedTotal: z.ZodNumber;
|
|
29549
|
+
workingRoom: z.ZodNumber;
|
|
29550
|
+
aggregateSeverity: z.ZodEnum<{
|
|
29551
|
+
ok: "ok";
|
|
29552
|
+
notice: "notice";
|
|
29553
|
+
warn: "warn";
|
|
29554
|
+
critical: "critical";
|
|
29555
|
+
}>;
|
|
29556
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
29557
|
+
kind: z.ZodEnum<{
|
|
29558
|
+
dead_import: "dead_import";
|
|
29559
|
+
dead_reference: "dead_reference";
|
|
29560
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
29561
|
+
duplicate_within_file: "duplicate_within_file";
|
|
29562
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
29563
|
+
import_cycle: "import_cycle";
|
|
29564
|
+
depth_capped: "depth_capped";
|
|
29565
|
+
}>;
|
|
29566
|
+
message: z.ZodString;
|
|
29567
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
29568
|
+
start: z.ZodNumber;
|
|
29569
|
+
end: z.ZodNumber;
|
|
29570
|
+
}, z.core.$strip>>;
|
|
29571
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29572
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
29573
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
29574
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
29575
|
+
}, z.core.$strip>>;
|
|
29576
|
+
}, z.core.$strip>>;
|
|
29577
|
+
}, z.core.$strip>;
|
|
27934
29578
|
}, z.core.$strip>, z.ZodObject<{
|
|
27935
29579
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
27936
29580
|
payload: z.ZodObject<{
|
|
@@ -30186,6 +31830,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30186
31830
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30187
31831
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30188
31832
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31833
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31834
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31835
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31836
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31837
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31838
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31839
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31840
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31841
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31842
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31843
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31844
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31845
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31846
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30189
31847
|
}, z.core.$strip>;
|
|
30190
31848
|
yesterday: z.ZodObject<{
|
|
30191
31849
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30200,6 +31858,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30200
31858
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30201
31859
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30202
31860
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31861
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31862
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31863
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31864
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31865
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31866
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31867
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31868
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31869
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31870
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31871
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31872
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31873
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31874
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30203
31875
|
}, z.core.$strip>;
|
|
30204
31876
|
last7Days: z.ZodObject<{
|
|
30205
31877
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30214,6 +31886,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30214
31886
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30215
31887
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30216
31888
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31889
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31890
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31891
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31892
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31893
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31894
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31895
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31896
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31897
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31898
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31899
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31900
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31901
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31902
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30217
31903
|
}, z.core.$strip>;
|
|
30218
31904
|
last30Days: z.ZodObject<{
|
|
30219
31905
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30228,6 +31914,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30228
31914
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30229
31915
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30230
31916
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31917
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31918
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31919
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31920
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31921
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31922
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31923
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31924
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31925
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31926
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31927
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31928
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31929
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31930
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30231
31931
|
}, z.core.$strip>;
|
|
30232
31932
|
allTime: z.ZodObject<{
|
|
30233
31933
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30242,8 +31942,187 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30242
31942
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30243
31943
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30244
31944
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31945
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31946
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31947
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31948
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31949
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31950
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31951
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31952
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31953
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31954
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31955
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31956
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31957
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31958
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30245
31959
|
}, z.core.$strip>;
|
|
30246
31960
|
}, z.core.$strip>;
|
|
31961
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31962
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
31963
|
+
payload: z.ZodObject<{
|
|
31964
|
+
requestId: z.ZodString;
|
|
31965
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
31966
|
+
workspaceId: z.ZodString;
|
|
31967
|
+
provider: z.ZodString;
|
|
31968
|
+
windowTokens: z.ZodNumber;
|
|
31969
|
+
scannedAt: z.ZodString;
|
|
31970
|
+
confidence: z.ZodEnum<{
|
|
31971
|
+
exact: "exact";
|
|
31972
|
+
convention: "convention";
|
|
31973
|
+
unverified: "unverified";
|
|
31974
|
+
}>;
|
|
31975
|
+
supported: z.ZodBoolean;
|
|
31976
|
+
supportsImports: z.ZodBoolean;
|
|
31977
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
31978
|
+
id: z.ZodString;
|
|
31979
|
+
path: z.ZodString;
|
|
31980
|
+
relPath: z.ZodString;
|
|
31981
|
+
scope: z.ZodEnum<{
|
|
31982
|
+
local: "local";
|
|
31983
|
+
enterprise: "enterprise";
|
|
31984
|
+
global: "global";
|
|
31985
|
+
project: "project";
|
|
31986
|
+
subdirectory: "subdirectory";
|
|
31987
|
+
runtime: "runtime";
|
|
31988
|
+
}>;
|
|
31989
|
+
category: z.ZodEnum<{
|
|
31990
|
+
context_files: "context_files";
|
|
31991
|
+
memory_index: "memory_index";
|
|
31992
|
+
skills_roster: "skills_roster";
|
|
31993
|
+
mcp_tools: "mcp_tools";
|
|
31994
|
+
otto_injected: "otto_injected";
|
|
31995
|
+
system_prompt: "system_prompt";
|
|
31996
|
+
}>;
|
|
31997
|
+
costClass: z.ZodEnum<{
|
|
31998
|
+
fixed: "fixed";
|
|
31999
|
+
conditional: "conditional";
|
|
32000
|
+
referenced: "referenced";
|
|
32001
|
+
}>;
|
|
32002
|
+
bytes: z.ZodNumber;
|
|
32003
|
+
estTokens: z.ZodNumber;
|
|
32004
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
32005
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
32006
|
+
kind: z.ZodEnum<{
|
|
32007
|
+
dead_import: "dead_import";
|
|
32008
|
+
dead_reference: "dead_reference";
|
|
32009
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
32010
|
+
duplicate_within_file: "duplicate_within_file";
|
|
32011
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
32012
|
+
import_cycle: "import_cycle";
|
|
32013
|
+
depth_capped: "depth_capped";
|
|
32014
|
+
}>;
|
|
32015
|
+
message: z.ZodString;
|
|
32016
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
32017
|
+
start: z.ZodNumber;
|
|
32018
|
+
end: z.ZodNumber;
|
|
32019
|
+
}, z.core.$strip>>;
|
|
32020
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32021
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
32022
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
32023
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
32024
|
+
}, z.core.$strip>>;
|
|
32025
|
+
}, z.core.$strip>>;
|
|
32026
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
32027
|
+
fromNodeId: z.ZodString;
|
|
32028
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
32029
|
+
kind: z.ZodEnum<{
|
|
32030
|
+
import: "import";
|
|
32031
|
+
reference: "reference";
|
|
32032
|
+
}>;
|
|
32033
|
+
rawTarget: z.ZodString;
|
|
32034
|
+
range: z.ZodObject<{
|
|
32035
|
+
start: z.ZodNumber;
|
|
32036
|
+
end: z.ZodNumber;
|
|
32037
|
+
}, z.core.$strip>;
|
|
32038
|
+
}, z.core.$strip>>;
|
|
32039
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
32040
|
+
category: z.ZodEnum<{
|
|
32041
|
+
context_files: "context_files";
|
|
32042
|
+
memory_index: "memory_index";
|
|
32043
|
+
skills_roster: "skills_roster";
|
|
32044
|
+
mcp_tools: "mcp_tools";
|
|
32045
|
+
otto_injected: "otto_injected";
|
|
32046
|
+
system_prompt: "system_prompt";
|
|
32047
|
+
}>;
|
|
32048
|
+
estTokens: z.ZodNumber;
|
|
32049
|
+
sharePercent: z.ZodNumber;
|
|
32050
|
+
severity: z.ZodEnum<{
|
|
32051
|
+
ok: "ok";
|
|
32052
|
+
notice: "notice";
|
|
32053
|
+
warn: "warn";
|
|
32054
|
+
critical: "critical";
|
|
32055
|
+
}>;
|
|
32056
|
+
}, z.core.$strip>>;
|
|
32057
|
+
fixedTotal: z.ZodNumber;
|
|
32058
|
+
conditionalTotal: z.ZodNumber;
|
|
32059
|
+
referencedTotal: z.ZodNumber;
|
|
32060
|
+
workingRoom: z.ZodNumber;
|
|
32061
|
+
aggregateSeverity: z.ZodEnum<{
|
|
32062
|
+
ok: "ok";
|
|
32063
|
+
notice: "notice";
|
|
32064
|
+
warn: "warn";
|
|
32065
|
+
critical: "critical";
|
|
32066
|
+
}>;
|
|
32067
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
32068
|
+
kind: z.ZodEnum<{
|
|
32069
|
+
dead_import: "dead_import";
|
|
32070
|
+
dead_reference: "dead_reference";
|
|
32071
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
32072
|
+
duplicate_within_file: "duplicate_within_file";
|
|
32073
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
32074
|
+
import_cycle: "import_cycle";
|
|
32075
|
+
depth_capped: "depth_capped";
|
|
32076
|
+
}>;
|
|
32077
|
+
message: z.ZodString;
|
|
32078
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
32079
|
+
start: z.ZodNumber;
|
|
32080
|
+
end: z.ZodNumber;
|
|
32081
|
+
}, z.core.$strip>>;
|
|
32082
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32083
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
32084
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
32085
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
32086
|
+
}, z.core.$strip>>;
|
|
32087
|
+
}, z.core.$strip>>;
|
|
32088
|
+
}, z.core.$strip>;
|
|
32089
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32090
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
32091
|
+
payload: z.ZodObject<{
|
|
32092
|
+
requestId: z.ZodString;
|
|
32093
|
+
ok: z.ZodBoolean;
|
|
32094
|
+
error: z.ZodOptional<z.ZodString>;
|
|
32095
|
+
}, z.core.$strip>;
|
|
32096
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32097
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
32098
|
+
payload: z.ZodObject<{
|
|
32099
|
+
requestId: z.ZodString;
|
|
32100
|
+
}, z.core.$strip>;
|
|
32101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32102
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
32103
|
+
payload: z.ZodObject<{
|
|
32104
|
+
requestId: z.ZodString;
|
|
32105
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
32106
|
+
id: z.ZodString;
|
|
32107
|
+
at: z.ZodNumber;
|
|
32108
|
+
kind: z.ZodString;
|
|
32109
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
32110
|
+
provider: z.ZodString;
|
|
32111
|
+
model: z.ZodOptional<z.ZodString>;
|
|
32112
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
32113
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
32114
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
32115
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
32116
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
32117
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
32118
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
32119
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
32120
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
32121
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
32122
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
32123
|
+
}, z.core.$strip>>>;
|
|
32124
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
32125
|
+
}, z.core.$strip>;
|
|
30247
32126
|
}, z.core.$strip>, z.ZodObject<{
|
|
30248
32127
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
30249
32128
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -32399,10 +34278,25 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32399
34278
|
config: z.ZodObject<{
|
|
32400
34279
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
32401
34280
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
34281
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34282
|
+
artifacts: "artifacts";
|
|
34283
|
+
preview: "preview";
|
|
34284
|
+
browser: "browser";
|
|
34285
|
+
web: "web";
|
|
34286
|
+
agents: "agents";
|
|
34287
|
+
terminals: "terminals";
|
|
34288
|
+
schedules: "schedules";
|
|
34289
|
+
workspace: "workspace";
|
|
34290
|
+
}>>>>;
|
|
32402
34291
|
}, z.core.$loose>>>;
|
|
32403
34292
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
32404
34293
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
32405
34294
|
}, z.core.$loose>>>;
|
|
34295
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
34296
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34297
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34298
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34299
|
+
}, z.core.$loose>>>;
|
|
32406
34300
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
32407
34301
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
32408
34302
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -32428,6 +34322,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32428
34322
|
model: z.ZodOptional<z.ZodString>;
|
|
32429
34323
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
32430
34324
|
}, z.core.$loose>>>>;
|
|
34325
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34326
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
32431
34327
|
}, z.core.$loose>>>;
|
|
32432
34328
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
32433
34329
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -32519,6 +34415,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32519
34415
|
modelId: z.ZodString;
|
|
32520
34416
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
32521
34417
|
}, z.core.$loose>>>>;
|
|
34418
|
+
savedProviderEndpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34419
|
+
id: z.ZodString;
|
|
34420
|
+
baseUrlKey: z.ZodString;
|
|
34421
|
+
apiKeyKey: z.ZodString;
|
|
34422
|
+
baseUrl: z.ZodString;
|
|
34423
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
34424
|
+
label: z.ZodOptional<z.ZodString>;
|
|
34425
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
34426
|
+
}, z.core.$loose>>>>;
|
|
32522
34427
|
}, z.core.$loose>;
|
|
32523
34428
|
}, z.core.$strip>, z.ZodObject<{
|
|
32524
34429
|
type: z.ZodLiteral<"speech.settings.get_options.request">;
|
|
@@ -32798,6 +34703,34 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32798
34703
|
}, z.core.$strip>, z.ZodObject<{
|
|
32799
34704
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
32800
34705
|
requestId: z.ZodString;
|
|
34706
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34707
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
34708
|
+
requestId: z.ZodString;
|
|
34709
|
+
workspaceId: z.ZodString;
|
|
34710
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
34711
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
34712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34713
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
34714
|
+
requestId: z.ZodString;
|
|
34715
|
+
workspaceId: z.ZodString;
|
|
34716
|
+
filePath: z.ZodString;
|
|
34717
|
+
rawTarget: z.ZodString;
|
|
34718
|
+
range: z.ZodObject<{
|
|
34719
|
+
start: z.ZodNumber;
|
|
34720
|
+
end: z.ZodNumber;
|
|
34721
|
+
}, z.core.$strip>;
|
|
34722
|
+
target: z.ZodEnum<{
|
|
34723
|
+
import: "import";
|
|
34724
|
+
reference: "reference";
|
|
34725
|
+
}>;
|
|
34726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34727
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
34728
|
+
requestId: z.ZodString;
|
|
34729
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34730
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
34731
|
+
requestId: z.ZodString;
|
|
34732
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
34733
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
32801
34734
|
}, z.core.$strip>, z.ZodObject<{
|
|
32802
34735
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
32803
34736
|
agentId: z.ZodString;
|
|
@@ -32873,8 +34806,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32873
34806
|
agentId: z.ZodString;
|
|
32874
34807
|
requestId: z.ZodString;
|
|
32875
34808
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
32876
|
-
tail: "tail";
|
|
32877
34809
|
before: "before";
|
|
34810
|
+
tail: "tail";
|
|
32878
34811
|
after: "after";
|
|
32879
34812
|
}>>;
|
|
32880
34813
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -36618,8 +38551,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36618
38551
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
36619
38552
|
}, z.core.$strip>>;
|
|
36620
38553
|
direction: z.ZodEnum<{
|
|
36621
|
-
tail: "tail";
|
|
36622
38554
|
before: "before";
|
|
38555
|
+
tail: "tail";
|
|
36623
38556
|
after: "after";
|
|
36624
38557
|
}>;
|
|
36625
38558
|
projection: z.ZodEnum<{
|
|
@@ -37341,10 +39274,25 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37341
39274
|
config: z.ZodObject<{
|
|
37342
39275
|
mcp: z.ZodObject<{
|
|
37343
39276
|
injectIntoAgents: z.ZodBoolean;
|
|
39277
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39278
|
+
artifacts: "artifacts";
|
|
39279
|
+
preview: "preview";
|
|
39280
|
+
browser: "browser";
|
|
39281
|
+
web: "web";
|
|
39282
|
+
agents: "agents";
|
|
39283
|
+
terminals: "terminals";
|
|
39284
|
+
schedules: "schedules";
|
|
39285
|
+
workspace: "workspace";
|
|
39286
|
+
}>>>;
|
|
37344
39287
|
}, z.core.$loose>;
|
|
37345
39288
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
37346
39289
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
37347
39290
|
}, z.core.$loose>>;
|
|
39291
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
39292
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
39293
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
39294
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
39295
|
+
}, z.core.$loose>>;
|
|
37348
39296
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37349
39297
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
37350
39298
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -37370,6 +39318,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37370
39318
|
model: z.ZodOptional<z.ZodString>;
|
|
37371
39319
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
37372
39320
|
}, z.core.$loose>>>;
|
|
39321
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
39322
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
37373
39323
|
}, z.core.$loose>>;
|
|
37374
39324
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
37375
39325
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -37461,6 +39411,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37461
39411
|
modelId: z.ZodString;
|
|
37462
39412
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
37463
39413
|
}, z.core.$loose>>>;
|
|
39414
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
39415
|
+
id: z.ZodString;
|
|
39416
|
+
baseUrlKey: z.ZodString;
|
|
39417
|
+
apiKeyKey: z.ZodString;
|
|
39418
|
+
baseUrl: z.ZodString;
|
|
39419
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
39420
|
+
label: z.ZodOptional<z.ZodString>;
|
|
39421
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
39422
|
+
}, z.core.$loose>>>;
|
|
37464
39423
|
}, z.core.$loose>;
|
|
37465
39424
|
}, z.core.$loose>;
|
|
37466
39425
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -37470,10 +39429,25 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37470
39429
|
config: z.ZodObject<{
|
|
37471
39430
|
mcp: z.ZodObject<{
|
|
37472
39431
|
injectIntoAgents: z.ZodBoolean;
|
|
39432
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39433
|
+
artifacts: "artifacts";
|
|
39434
|
+
preview: "preview";
|
|
39435
|
+
browser: "browser";
|
|
39436
|
+
web: "web";
|
|
39437
|
+
agents: "agents";
|
|
39438
|
+
terminals: "terminals";
|
|
39439
|
+
schedules: "schedules";
|
|
39440
|
+
workspace: "workspace";
|
|
39441
|
+
}>>>;
|
|
37473
39442
|
}, z.core.$loose>;
|
|
37474
39443
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
37475
39444
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
37476
39445
|
}, z.core.$loose>>;
|
|
39446
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
39447
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
39448
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
39449
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
39450
|
+
}, z.core.$loose>>;
|
|
37477
39451
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37478
39452
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
37479
39453
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -37499,6 +39473,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37499
39473
|
model: z.ZodOptional<z.ZodString>;
|
|
37500
39474
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
37501
39475
|
}, z.core.$loose>>>;
|
|
39476
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
39477
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
37502
39478
|
}, z.core.$loose>>;
|
|
37503
39479
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
37504
39480
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -37590,6 +39566,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37590
39566
|
modelId: z.ZodString;
|
|
37591
39567
|
tier: z.ZodType<ModelTier, unknown, z.core.$ZodTypeInternals<ModelTier, unknown>>;
|
|
37592
39568
|
}, z.core.$loose>>>;
|
|
39569
|
+
savedProviderEndpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
39570
|
+
id: z.ZodString;
|
|
39571
|
+
baseUrlKey: z.ZodString;
|
|
39572
|
+
apiKeyKey: z.ZodString;
|
|
39573
|
+
baseUrl: z.ZodString;
|
|
39574
|
+
apiKey: z.ZodDefault<z.ZodString>;
|
|
39575
|
+
label: z.ZodOptional<z.ZodString>;
|
|
39576
|
+
savedAt: z.ZodOptional<z.ZodNumber>;
|
|
39577
|
+
}, z.core.$loose>>>;
|
|
37593
39578
|
}, z.core.$loose>;
|
|
37594
39579
|
}, z.core.$loose>;
|
|
37595
39580
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -37901,6 +39886,134 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37901
39886
|
updatedAt: z.ZodString;
|
|
37902
39887
|
}, z.core.$strip>>;
|
|
37903
39888
|
}, z.core.$strip>;
|
|
39889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39890
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
39891
|
+
payload: z.ZodObject<{
|
|
39892
|
+
workspaceId: z.ZodString;
|
|
39893
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
39894
|
+
workspaceId: z.ZodString;
|
|
39895
|
+
provider: z.ZodString;
|
|
39896
|
+
windowTokens: z.ZodNumber;
|
|
39897
|
+
scannedAt: z.ZodString;
|
|
39898
|
+
confidence: z.ZodEnum<{
|
|
39899
|
+
exact: "exact";
|
|
39900
|
+
convention: "convention";
|
|
39901
|
+
unverified: "unverified";
|
|
39902
|
+
}>;
|
|
39903
|
+
supported: z.ZodBoolean;
|
|
39904
|
+
supportsImports: z.ZodBoolean;
|
|
39905
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
39906
|
+
id: z.ZodString;
|
|
39907
|
+
path: z.ZodString;
|
|
39908
|
+
relPath: z.ZodString;
|
|
39909
|
+
scope: z.ZodEnum<{
|
|
39910
|
+
local: "local";
|
|
39911
|
+
enterprise: "enterprise";
|
|
39912
|
+
global: "global";
|
|
39913
|
+
project: "project";
|
|
39914
|
+
subdirectory: "subdirectory";
|
|
39915
|
+
runtime: "runtime";
|
|
39916
|
+
}>;
|
|
39917
|
+
category: z.ZodEnum<{
|
|
39918
|
+
context_files: "context_files";
|
|
39919
|
+
memory_index: "memory_index";
|
|
39920
|
+
skills_roster: "skills_roster";
|
|
39921
|
+
mcp_tools: "mcp_tools";
|
|
39922
|
+
otto_injected: "otto_injected";
|
|
39923
|
+
system_prompt: "system_prompt";
|
|
39924
|
+
}>;
|
|
39925
|
+
costClass: z.ZodEnum<{
|
|
39926
|
+
fixed: "fixed";
|
|
39927
|
+
conditional: "conditional";
|
|
39928
|
+
referenced: "referenced";
|
|
39929
|
+
}>;
|
|
39930
|
+
bytes: z.ZodNumber;
|
|
39931
|
+
estTokens: z.ZodNumber;
|
|
39932
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
39933
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
39934
|
+
kind: z.ZodEnum<{
|
|
39935
|
+
dead_import: "dead_import";
|
|
39936
|
+
dead_reference: "dead_reference";
|
|
39937
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
39938
|
+
duplicate_within_file: "duplicate_within_file";
|
|
39939
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
39940
|
+
import_cycle: "import_cycle";
|
|
39941
|
+
depth_capped: "depth_capped";
|
|
39942
|
+
}>;
|
|
39943
|
+
message: z.ZodString;
|
|
39944
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
39945
|
+
start: z.ZodNumber;
|
|
39946
|
+
end: z.ZodNumber;
|
|
39947
|
+
}, z.core.$strip>>;
|
|
39948
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39949
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
39950
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
39951
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
39952
|
+
}, z.core.$strip>>;
|
|
39953
|
+
}, z.core.$strip>>;
|
|
39954
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
39955
|
+
fromNodeId: z.ZodString;
|
|
39956
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
39957
|
+
kind: z.ZodEnum<{
|
|
39958
|
+
import: "import";
|
|
39959
|
+
reference: "reference";
|
|
39960
|
+
}>;
|
|
39961
|
+
rawTarget: z.ZodString;
|
|
39962
|
+
range: z.ZodObject<{
|
|
39963
|
+
start: z.ZodNumber;
|
|
39964
|
+
end: z.ZodNumber;
|
|
39965
|
+
}, z.core.$strip>;
|
|
39966
|
+
}, z.core.$strip>>;
|
|
39967
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
39968
|
+
category: z.ZodEnum<{
|
|
39969
|
+
context_files: "context_files";
|
|
39970
|
+
memory_index: "memory_index";
|
|
39971
|
+
skills_roster: "skills_roster";
|
|
39972
|
+
mcp_tools: "mcp_tools";
|
|
39973
|
+
otto_injected: "otto_injected";
|
|
39974
|
+
system_prompt: "system_prompt";
|
|
39975
|
+
}>;
|
|
39976
|
+
estTokens: z.ZodNumber;
|
|
39977
|
+
sharePercent: z.ZodNumber;
|
|
39978
|
+
severity: z.ZodEnum<{
|
|
39979
|
+
ok: "ok";
|
|
39980
|
+
notice: "notice";
|
|
39981
|
+
warn: "warn";
|
|
39982
|
+
critical: "critical";
|
|
39983
|
+
}>;
|
|
39984
|
+
}, z.core.$strip>>;
|
|
39985
|
+
fixedTotal: z.ZodNumber;
|
|
39986
|
+
conditionalTotal: z.ZodNumber;
|
|
39987
|
+
referencedTotal: z.ZodNumber;
|
|
39988
|
+
workingRoom: z.ZodNumber;
|
|
39989
|
+
aggregateSeverity: z.ZodEnum<{
|
|
39990
|
+
ok: "ok";
|
|
39991
|
+
notice: "notice";
|
|
39992
|
+
warn: "warn";
|
|
39993
|
+
critical: "critical";
|
|
39994
|
+
}>;
|
|
39995
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
39996
|
+
kind: z.ZodEnum<{
|
|
39997
|
+
dead_import: "dead_import";
|
|
39998
|
+
dead_reference: "dead_reference";
|
|
39999
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
40000
|
+
duplicate_within_file: "duplicate_within_file";
|
|
40001
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
40002
|
+
import_cycle: "import_cycle";
|
|
40003
|
+
depth_capped: "depth_capped";
|
|
40004
|
+
}>;
|
|
40005
|
+
message: z.ZodString;
|
|
40006
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
40007
|
+
start: z.ZodNumber;
|
|
40008
|
+
end: z.ZodNumber;
|
|
40009
|
+
}, z.core.$strip>>;
|
|
40010
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40011
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
40012
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
40013
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
40014
|
+
}, z.core.$strip>>;
|
|
40015
|
+
}, z.core.$strip>>;
|
|
40016
|
+
}, z.core.$strip>;
|
|
37904
40017
|
}, z.core.$strip>, z.ZodObject<{
|
|
37905
40018
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
37906
40019
|
payload: z.ZodObject<{
|
|
@@ -40156,6 +42269,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40156
42269
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40157
42270
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40158
42271
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42272
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42273
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42274
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42275
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42276
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42277
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42278
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42279
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42280
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42281
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42282
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42283
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42284
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42285
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40159
42286
|
}, z.core.$strip>;
|
|
40160
42287
|
yesterday: z.ZodObject<{
|
|
40161
42288
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40170,6 +42297,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40170
42297
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40171
42298
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40172
42299
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42300
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42301
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42302
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42303
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42304
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42305
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42306
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42307
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42308
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42309
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42310
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42311
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42312
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42313
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40173
42314
|
}, z.core.$strip>;
|
|
40174
42315
|
last7Days: z.ZodObject<{
|
|
40175
42316
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40184,6 +42325,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40184
42325
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40185
42326
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40186
42327
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42328
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42329
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42330
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42331
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42332
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42333
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42334
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42335
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42336
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42337
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42338
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42339
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42340
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42341
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40187
42342
|
}, z.core.$strip>;
|
|
40188
42343
|
last30Days: z.ZodObject<{
|
|
40189
42344
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40198,6 +42353,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40198
42353
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40199
42354
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40200
42355
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42356
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42357
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42358
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42359
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42360
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42361
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42362
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42363
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42364
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42365
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42366
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42367
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42368
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42369
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40201
42370
|
}, z.core.$strip>;
|
|
40202
42371
|
allTime: z.ZodObject<{
|
|
40203
42372
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40212,8 +42381,187 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40212
42381
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40213
42382
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40214
42383
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42384
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42385
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42386
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42387
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42388
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42389
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42390
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42391
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42392
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42393
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42394
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42395
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42396
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42397
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40215
42398
|
}, z.core.$strip>;
|
|
40216
42399
|
}, z.core.$strip>;
|
|
42400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42401
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
42402
|
+
payload: z.ZodObject<{
|
|
42403
|
+
requestId: z.ZodString;
|
|
42404
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
42405
|
+
workspaceId: z.ZodString;
|
|
42406
|
+
provider: z.ZodString;
|
|
42407
|
+
windowTokens: z.ZodNumber;
|
|
42408
|
+
scannedAt: z.ZodString;
|
|
42409
|
+
confidence: z.ZodEnum<{
|
|
42410
|
+
exact: "exact";
|
|
42411
|
+
convention: "convention";
|
|
42412
|
+
unverified: "unverified";
|
|
42413
|
+
}>;
|
|
42414
|
+
supported: z.ZodBoolean;
|
|
42415
|
+
supportsImports: z.ZodBoolean;
|
|
42416
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
42417
|
+
id: z.ZodString;
|
|
42418
|
+
path: z.ZodString;
|
|
42419
|
+
relPath: z.ZodString;
|
|
42420
|
+
scope: z.ZodEnum<{
|
|
42421
|
+
local: "local";
|
|
42422
|
+
enterprise: "enterprise";
|
|
42423
|
+
global: "global";
|
|
42424
|
+
project: "project";
|
|
42425
|
+
subdirectory: "subdirectory";
|
|
42426
|
+
runtime: "runtime";
|
|
42427
|
+
}>;
|
|
42428
|
+
category: z.ZodEnum<{
|
|
42429
|
+
context_files: "context_files";
|
|
42430
|
+
memory_index: "memory_index";
|
|
42431
|
+
skills_roster: "skills_roster";
|
|
42432
|
+
mcp_tools: "mcp_tools";
|
|
42433
|
+
otto_injected: "otto_injected";
|
|
42434
|
+
system_prompt: "system_prompt";
|
|
42435
|
+
}>;
|
|
42436
|
+
costClass: z.ZodEnum<{
|
|
42437
|
+
fixed: "fixed";
|
|
42438
|
+
conditional: "conditional";
|
|
42439
|
+
referenced: "referenced";
|
|
42440
|
+
}>;
|
|
42441
|
+
bytes: z.ZodNumber;
|
|
42442
|
+
estTokens: z.ZodNumber;
|
|
42443
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
42444
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
42445
|
+
kind: z.ZodEnum<{
|
|
42446
|
+
dead_import: "dead_import";
|
|
42447
|
+
dead_reference: "dead_reference";
|
|
42448
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
42449
|
+
duplicate_within_file: "duplicate_within_file";
|
|
42450
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
42451
|
+
import_cycle: "import_cycle";
|
|
42452
|
+
depth_capped: "depth_capped";
|
|
42453
|
+
}>;
|
|
42454
|
+
message: z.ZodString;
|
|
42455
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
42456
|
+
start: z.ZodNumber;
|
|
42457
|
+
end: z.ZodNumber;
|
|
42458
|
+
}, z.core.$strip>>;
|
|
42459
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42460
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
42461
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
42462
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
42463
|
+
}, z.core.$strip>>;
|
|
42464
|
+
}, z.core.$strip>>;
|
|
42465
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
42466
|
+
fromNodeId: z.ZodString;
|
|
42467
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
42468
|
+
kind: z.ZodEnum<{
|
|
42469
|
+
import: "import";
|
|
42470
|
+
reference: "reference";
|
|
42471
|
+
}>;
|
|
42472
|
+
rawTarget: z.ZodString;
|
|
42473
|
+
range: z.ZodObject<{
|
|
42474
|
+
start: z.ZodNumber;
|
|
42475
|
+
end: z.ZodNumber;
|
|
42476
|
+
}, z.core.$strip>;
|
|
42477
|
+
}, z.core.$strip>>;
|
|
42478
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
42479
|
+
category: z.ZodEnum<{
|
|
42480
|
+
context_files: "context_files";
|
|
42481
|
+
memory_index: "memory_index";
|
|
42482
|
+
skills_roster: "skills_roster";
|
|
42483
|
+
mcp_tools: "mcp_tools";
|
|
42484
|
+
otto_injected: "otto_injected";
|
|
42485
|
+
system_prompt: "system_prompt";
|
|
42486
|
+
}>;
|
|
42487
|
+
estTokens: z.ZodNumber;
|
|
42488
|
+
sharePercent: z.ZodNumber;
|
|
42489
|
+
severity: z.ZodEnum<{
|
|
42490
|
+
ok: "ok";
|
|
42491
|
+
notice: "notice";
|
|
42492
|
+
warn: "warn";
|
|
42493
|
+
critical: "critical";
|
|
42494
|
+
}>;
|
|
42495
|
+
}, z.core.$strip>>;
|
|
42496
|
+
fixedTotal: z.ZodNumber;
|
|
42497
|
+
conditionalTotal: z.ZodNumber;
|
|
42498
|
+
referencedTotal: z.ZodNumber;
|
|
42499
|
+
workingRoom: z.ZodNumber;
|
|
42500
|
+
aggregateSeverity: z.ZodEnum<{
|
|
42501
|
+
ok: "ok";
|
|
42502
|
+
notice: "notice";
|
|
42503
|
+
warn: "warn";
|
|
42504
|
+
critical: "critical";
|
|
42505
|
+
}>;
|
|
42506
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
42507
|
+
kind: z.ZodEnum<{
|
|
42508
|
+
dead_import: "dead_import";
|
|
42509
|
+
dead_reference: "dead_reference";
|
|
42510
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
42511
|
+
duplicate_within_file: "duplicate_within_file";
|
|
42512
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
42513
|
+
import_cycle: "import_cycle";
|
|
42514
|
+
depth_capped: "depth_capped";
|
|
42515
|
+
}>;
|
|
42516
|
+
message: z.ZodString;
|
|
42517
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
42518
|
+
start: z.ZodNumber;
|
|
42519
|
+
end: z.ZodNumber;
|
|
42520
|
+
}, z.core.$strip>>;
|
|
42521
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42522
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
42523
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
42524
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
42525
|
+
}, z.core.$strip>>;
|
|
42526
|
+
}, z.core.$strip>>;
|
|
42527
|
+
}, z.core.$strip>;
|
|
42528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42529
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
42530
|
+
payload: z.ZodObject<{
|
|
42531
|
+
requestId: z.ZodString;
|
|
42532
|
+
ok: z.ZodBoolean;
|
|
42533
|
+
error: z.ZodOptional<z.ZodString>;
|
|
42534
|
+
}, z.core.$strip>;
|
|
42535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42536
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
42537
|
+
payload: z.ZodObject<{
|
|
42538
|
+
requestId: z.ZodString;
|
|
42539
|
+
}, z.core.$strip>;
|
|
42540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42541
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
42542
|
+
payload: z.ZodObject<{
|
|
42543
|
+
requestId: z.ZodString;
|
|
42544
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
42545
|
+
id: z.ZodString;
|
|
42546
|
+
at: z.ZodNumber;
|
|
42547
|
+
kind: z.ZodString;
|
|
42548
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
42549
|
+
provider: z.ZodString;
|
|
42550
|
+
model: z.ZodOptional<z.ZodString>;
|
|
42551
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42552
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
42553
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42554
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42555
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
42556
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
42557
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
42558
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
42559
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
42560
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
42561
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
42562
|
+
}, z.core.$strip>>>;
|
|
42563
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
42564
|
+
}, z.core.$strip>;
|
|
40217
42565
|
}, z.core.$strip>, z.ZodObject<{
|
|
40218
42566
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
40219
42567
|
}, z.core.$strip>, z.ZodObject<{
|