@otto-code/protocol 0.6.3 → 0.6.4
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-types.d.ts +7 -0
- package/dist/generated/validation/ws-outbound.aot.js +15008 -12713
- package/dist/messages.d.ts +2199 -8
- package/dist/messages.js +373 -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 +398 -1
- package/package.json +2 -1
package/dist/messages.d.ts
CHANGED
|
@@ -118,10 +118,25 @@ export type ModelTierOverride = z.infer<typeof ModelTierOverrideSchema>;
|
|
|
118
118
|
export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
119
119
|
mcp: z.ZodObject<{
|
|
120
120
|
injectIntoAgents: z.ZodBoolean;
|
|
121
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
122
|
+
artifacts: "artifacts";
|
|
123
|
+
preview: "preview";
|
|
124
|
+
browser: "browser";
|
|
125
|
+
web: "web";
|
|
126
|
+
agents: "agents";
|
|
127
|
+
terminals: "terminals";
|
|
128
|
+
schedules: "schedules";
|
|
129
|
+
workspace: "workspace";
|
|
130
|
+
}>>>;
|
|
121
131
|
}, z.core.$loose>;
|
|
122
132
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
123
133
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
124
134
|
}, z.core.$loose>>;
|
|
135
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
136
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
137
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
138
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
139
|
+
}, z.core.$loose>>;
|
|
125
140
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
126
141
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
127
142
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -147,6 +162,8 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
147
162
|
model: z.ZodOptional<z.ZodString>;
|
|
148
163
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
149
164
|
}, z.core.$loose>>>;
|
|
165
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
166
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
150
167
|
}, z.core.$loose>>;
|
|
151
168
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
152
169
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -242,10 +259,25 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
242
259
|
export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
243
260
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
244
261
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
263
|
+
artifacts: "artifacts";
|
|
264
|
+
preview: "preview";
|
|
265
|
+
browser: "browser";
|
|
266
|
+
web: "web";
|
|
267
|
+
agents: "agents";
|
|
268
|
+
terminals: "terminals";
|
|
269
|
+
schedules: "schedules";
|
|
270
|
+
workspace: "workspace";
|
|
271
|
+
}>>>>;
|
|
245
272
|
}, z.core.$loose>>>;
|
|
246
273
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
247
274
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
248
275
|
}, z.core.$loose>>>;
|
|
276
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
277
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
278
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
279
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
280
|
+
}, z.core.$loose>>>;
|
|
249
281
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
250
282
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
251
283
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -271,6 +303,8 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
271
303
|
model: z.ZodOptional<z.ZodString>;
|
|
272
304
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
273
305
|
}, z.core.$loose>>>>;
|
|
306
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
307
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
274
308
|
}, z.core.$loose>>>;
|
|
275
309
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
276
310
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1291,10 +1325,25 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1291
1325
|
config: z.ZodObject<{
|
|
1292
1326
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1293
1327
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
1328
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1329
|
+
artifacts: "artifacts";
|
|
1330
|
+
preview: "preview";
|
|
1331
|
+
browser: "browser";
|
|
1332
|
+
web: "web";
|
|
1333
|
+
agents: "agents";
|
|
1334
|
+
terminals: "terminals";
|
|
1335
|
+
schedules: "schedules";
|
|
1336
|
+
workspace: "workspace";
|
|
1337
|
+
}>>>>;
|
|
1294
1338
|
}, z.core.$loose>>>;
|
|
1295
1339
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1296
1340
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1297
1341
|
}, z.core.$loose>>>;
|
|
1342
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1343
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1344
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1345
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1346
|
+
}, z.core.$loose>>>;
|
|
1298
1347
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
1299
1348
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1300
1349
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1320,6 +1369,8 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1320
1369
|
model: z.ZodOptional<z.ZodString>;
|
|
1321
1370
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
1322
1371
|
}, z.core.$loose>>>>;
|
|
1372
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1373
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1323
1374
|
}, z.core.$loose>>>;
|
|
1324
1375
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1325
1376
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1734,6 +1785,20 @@ export declare const ActivityCountersSchema: z.ZodObject<{
|
|
|
1734
1785
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1735
1786
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1736
1787
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1788
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1789
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1790
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1791
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1792
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1793
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1794
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1795
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1796
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1797
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1798
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1799
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1800
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1801
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1737
1802
|
}, z.core.$strip>;
|
|
1738
1803
|
export declare const StatsActivityGetRequestMessageSchema: z.ZodObject<{
|
|
1739
1804
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
@@ -1756,6 +1821,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1756
1821
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1757
1822
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1758
1823
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1824
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1825
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1826
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1827
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1828
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1829
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1830
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1831
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1832
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1833
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1834
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1835
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1836
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1837
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1759
1838
|
}, z.core.$strip>;
|
|
1760
1839
|
yesterday: z.ZodObject<{
|
|
1761
1840
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1770,6 +1849,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1770
1849
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1771
1850
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1772
1851
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1852
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1853
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1854
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1855
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1856
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1857
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1858
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1859
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1860
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1861
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1862
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1863
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1864
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1865
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1773
1866
|
}, z.core.$strip>;
|
|
1774
1867
|
last7Days: z.ZodObject<{
|
|
1775
1868
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1784,6 +1877,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1784
1877
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1785
1878
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1786
1879
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1880
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1881
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1882
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1883
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1884
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1885
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1886
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1887
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1888
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1889
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1890
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1891
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1892
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1893
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1787
1894
|
}, z.core.$strip>;
|
|
1788
1895
|
last30Days: z.ZodObject<{
|
|
1789
1896
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1798,6 +1905,20 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1798
1905
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1799
1906
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1800
1907
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1908
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1909
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1910
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1911
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1912
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1913
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1914
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1915
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1916
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1917
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1918
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1919
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1920
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1921
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1801
1922
|
}, z.core.$strip>;
|
|
1802
1923
|
allTime: z.ZodObject<{
|
|
1803
1924
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1812,12 +1933,87 @@ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
|
|
|
1812
1933
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
1813
1934
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
1814
1935
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
1936
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1937
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1938
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1939
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1940
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1941
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1942
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1943
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1944
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1945
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1946
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1947
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1948
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1949
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1815
1950
|
}, z.core.$strip>;
|
|
1816
1951
|
}, z.core.$strip>;
|
|
1817
1952
|
}, z.core.$strip>;
|
|
1818
1953
|
export declare const ActivityStatsChangedSchema: z.ZodObject<{
|
|
1819
1954
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
1820
1955
|
}, z.core.$strip>;
|
|
1956
|
+
export declare const UsageEventSchema: z.ZodObject<{
|
|
1957
|
+
id: z.ZodString;
|
|
1958
|
+
at: z.ZodNumber;
|
|
1959
|
+
kind: z.ZodString;
|
|
1960
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
provider: z.ZodString;
|
|
1962
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1963
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1964
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
1965
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1966
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1967
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
1968
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
1969
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
1971
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
1972
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
}, z.core.$strip>;
|
|
1975
|
+
export declare const UsageLogGetRequestMessageSchema: z.ZodObject<{
|
|
1976
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
1977
|
+
requestId: z.ZodString;
|
|
1978
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1979
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
1980
|
+
}, z.core.$strip>;
|
|
1981
|
+
export declare const UsageLogGetResponseMessageSchema: z.ZodObject<{
|
|
1982
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
1983
|
+
payload: z.ZodObject<{
|
|
1984
|
+
requestId: z.ZodString;
|
|
1985
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1986
|
+
id: z.ZodString;
|
|
1987
|
+
at: z.ZodNumber;
|
|
1988
|
+
kind: z.ZodString;
|
|
1989
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
provider: z.ZodString;
|
|
1991
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1992
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
1993
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
1994
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
1995
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
1996
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
1997
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
1998
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1999
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
2000
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
2001
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
2002
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
}, z.core.$strip>>>;
|
|
2004
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
2005
|
+
}, z.core.$strip>;
|
|
2006
|
+
}, z.core.$strip>;
|
|
2007
|
+
export declare const StatsActivityResetRequestMessageSchema: z.ZodObject<{
|
|
2008
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
2009
|
+
requestId: z.ZodString;
|
|
2010
|
+
}, z.core.$strip>;
|
|
2011
|
+
export declare const StatsActivityResetResponseMessageSchema: z.ZodObject<{
|
|
2012
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
2013
|
+
payload: z.ZodObject<{
|
|
2014
|
+
requestId: z.ZodString;
|
|
2015
|
+
}, z.core.$strip>;
|
|
2016
|
+
}, z.core.$strip>;
|
|
1821
2017
|
export declare const AgentContextGetUsageRequestMessageSchema: z.ZodObject<{
|
|
1822
2018
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
1823
2019
|
agentId: z.ZodString;
|
|
@@ -1905,8 +2101,8 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
|
|
|
1905
2101
|
agentId: z.ZodString;
|
|
1906
2102
|
requestId: z.ZodString;
|
|
1907
2103
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1908
|
-
tail: "tail";
|
|
1909
2104
|
before: "before";
|
|
2105
|
+
tail: "tail";
|
|
1910
2106
|
after: "after";
|
|
1911
2107
|
}>>;
|
|
1912
2108
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -2131,6 +2327,562 @@ export declare const SuggestedTasksChangedSchema: z.ZodObject<{
|
|
|
2131
2327
|
}, z.core.$strip>>;
|
|
2132
2328
|
}, z.core.$strip>;
|
|
2133
2329
|
}, z.core.$strip>;
|
|
2330
|
+
export declare const ContextScopeSchema: z.ZodEnum<{
|
|
2331
|
+
local: "local";
|
|
2332
|
+
enterprise: "enterprise";
|
|
2333
|
+
global: "global";
|
|
2334
|
+
project: "project";
|
|
2335
|
+
subdirectory: "subdirectory";
|
|
2336
|
+
runtime: "runtime";
|
|
2337
|
+
}>;
|
|
2338
|
+
export declare const ContextCategorySchema: z.ZodEnum<{
|
|
2339
|
+
context_files: "context_files";
|
|
2340
|
+
memory_index: "memory_index";
|
|
2341
|
+
skills_roster: "skills_roster";
|
|
2342
|
+
mcp_tools: "mcp_tools";
|
|
2343
|
+
otto_injected: "otto_injected";
|
|
2344
|
+
system_prompt: "system_prompt";
|
|
2345
|
+
}>;
|
|
2346
|
+
export declare const ContextCostClassSchema: z.ZodEnum<{
|
|
2347
|
+
fixed: "fixed";
|
|
2348
|
+
conditional: "conditional";
|
|
2349
|
+
referenced: "referenced";
|
|
2350
|
+
}>;
|
|
2351
|
+
export declare const ContextSeveritySchema: z.ZodEnum<{
|
|
2352
|
+
ok: "ok";
|
|
2353
|
+
notice: "notice";
|
|
2354
|
+
warn: "warn";
|
|
2355
|
+
critical: "critical";
|
|
2356
|
+
}>;
|
|
2357
|
+
export declare const ContextConfidenceSchema: z.ZodEnum<{
|
|
2358
|
+
exact: "exact";
|
|
2359
|
+
convention: "convention";
|
|
2360
|
+
unverified: "unverified";
|
|
2361
|
+
}>;
|
|
2362
|
+
export declare const ContextFindingKindSchema: z.ZodEnum<{
|
|
2363
|
+
dead_import: "dead_import";
|
|
2364
|
+
dead_reference: "dead_reference";
|
|
2365
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2366
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2367
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2368
|
+
import_cycle: "import_cycle";
|
|
2369
|
+
depth_capped: "depth_capped";
|
|
2370
|
+
}>;
|
|
2371
|
+
export declare const ContextRangeSchema: z.ZodObject<{
|
|
2372
|
+
start: z.ZodNumber;
|
|
2373
|
+
end: z.ZodNumber;
|
|
2374
|
+
}, z.core.$strip>;
|
|
2375
|
+
export declare const ContextFindingSchema: z.ZodObject<{
|
|
2376
|
+
kind: z.ZodEnum<{
|
|
2377
|
+
dead_import: "dead_import";
|
|
2378
|
+
dead_reference: "dead_reference";
|
|
2379
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2380
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2381
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2382
|
+
import_cycle: "import_cycle";
|
|
2383
|
+
depth_capped: "depth_capped";
|
|
2384
|
+
}>;
|
|
2385
|
+
message: z.ZodString;
|
|
2386
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2387
|
+
start: z.ZodNumber;
|
|
2388
|
+
end: z.ZodNumber;
|
|
2389
|
+
}, z.core.$strip>>;
|
|
2390
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2391
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2393
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2394
|
+
}, z.core.$strip>;
|
|
2395
|
+
export declare const ContextNodeSchema: z.ZodObject<{
|
|
2396
|
+
id: z.ZodString;
|
|
2397
|
+
path: z.ZodString;
|
|
2398
|
+
relPath: z.ZodString;
|
|
2399
|
+
scope: z.ZodEnum<{
|
|
2400
|
+
local: "local";
|
|
2401
|
+
enterprise: "enterprise";
|
|
2402
|
+
global: "global";
|
|
2403
|
+
project: "project";
|
|
2404
|
+
subdirectory: "subdirectory";
|
|
2405
|
+
runtime: "runtime";
|
|
2406
|
+
}>;
|
|
2407
|
+
category: z.ZodEnum<{
|
|
2408
|
+
context_files: "context_files";
|
|
2409
|
+
memory_index: "memory_index";
|
|
2410
|
+
skills_roster: "skills_roster";
|
|
2411
|
+
mcp_tools: "mcp_tools";
|
|
2412
|
+
otto_injected: "otto_injected";
|
|
2413
|
+
system_prompt: "system_prompt";
|
|
2414
|
+
}>;
|
|
2415
|
+
costClass: z.ZodEnum<{
|
|
2416
|
+
fixed: "fixed";
|
|
2417
|
+
conditional: "conditional";
|
|
2418
|
+
referenced: "referenced";
|
|
2419
|
+
}>;
|
|
2420
|
+
bytes: z.ZodNumber;
|
|
2421
|
+
estTokens: z.ZodNumber;
|
|
2422
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2423
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2424
|
+
kind: z.ZodEnum<{
|
|
2425
|
+
dead_import: "dead_import";
|
|
2426
|
+
dead_reference: "dead_reference";
|
|
2427
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2428
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2429
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2430
|
+
import_cycle: "import_cycle";
|
|
2431
|
+
depth_capped: "depth_capped";
|
|
2432
|
+
}>;
|
|
2433
|
+
message: z.ZodString;
|
|
2434
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2435
|
+
start: z.ZodNumber;
|
|
2436
|
+
end: z.ZodNumber;
|
|
2437
|
+
}, z.core.$strip>>;
|
|
2438
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2439
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2440
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2441
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2442
|
+
}, z.core.$strip>>;
|
|
2443
|
+
}, z.core.$strip>;
|
|
2444
|
+
export declare const ContextEdgeSchema: z.ZodObject<{
|
|
2445
|
+
fromNodeId: z.ZodString;
|
|
2446
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2447
|
+
kind: z.ZodEnum<{
|
|
2448
|
+
import: "import";
|
|
2449
|
+
reference: "reference";
|
|
2450
|
+
}>;
|
|
2451
|
+
rawTarget: z.ZodString;
|
|
2452
|
+
range: z.ZodObject<{
|
|
2453
|
+
start: z.ZodNumber;
|
|
2454
|
+
end: z.ZodNumber;
|
|
2455
|
+
}, z.core.$strip>;
|
|
2456
|
+
}, z.core.$strip>;
|
|
2457
|
+
export declare const ContextCategoryTotalSchema: z.ZodObject<{
|
|
2458
|
+
category: z.ZodEnum<{
|
|
2459
|
+
context_files: "context_files";
|
|
2460
|
+
memory_index: "memory_index";
|
|
2461
|
+
skills_roster: "skills_roster";
|
|
2462
|
+
mcp_tools: "mcp_tools";
|
|
2463
|
+
otto_injected: "otto_injected";
|
|
2464
|
+
system_prompt: "system_prompt";
|
|
2465
|
+
}>;
|
|
2466
|
+
estTokens: z.ZodNumber;
|
|
2467
|
+
sharePercent: z.ZodNumber;
|
|
2468
|
+
severity: z.ZodEnum<{
|
|
2469
|
+
ok: "ok";
|
|
2470
|
+
notice: "notice";
|
|
2471
|
+
warn: "warn";
|
|
2472
|
+
critical: "critical";
|
|
2473
|
+
}>;
|
|
2474
|
+
}, z.core.$strip>;
|
|
2475
|
+
export declare const ContextReportSchema: z.ZodObject<{
|
|
2476
|
+
workspaceId: z.ZodString;
|
|
2477
|
+
provider: z.ZodString;
|
|
2478
|
+
windowTokens: z.ZodNumber;
|
|
2479
|
+
scannedAt: z.ZodString;
|
|
2480
|
+
confidence: z.ZodEnum<{
|
|
2481
|
+
exact: "exact";
|
|
2482
|
+
convention: "convention";
|
|
2483
|
+
unverified: "unverified";
|
|
2484
|
+
}>;
|
|
2485
|
+
supported: z.ZodBoolean;
|
|
2486
|
+
supportsImports: z.ZodBoolean;
|
|
2487
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2488
|
+
id: z.ZodString;
|
|
2489
|
+
path: z.ZodString;
|
|
2490
|
+
relPath: z.ZodString;
|
|
2491
|
+
scope: z.ZodEnum<{
|
|
2492
|
+
local: "local";
|
|
2493
|
+
enterprise: "enterprise";
|
|
2494
|
+
global: "global";
|
|
2495
|
+
project: "project";
|
|
2496
|
+
subdirectory: "subdirectory";
|
|
2497
|
+
runtime: "runtime";
|
|
2498
|
+
}>;
|
|
2499
|
+
category: z.ZodEnum<{
|
|
2500
|
+
context_files: "context_files";
|
|
2501
|
+
memory_index: "memory_index";
|
|
2502
|
+
skills_roster: "skills_roster";
|
|
2503
|
+
mcp_tools: "mcp_tools";
|
|
2504
|
+
otto_injected: "otto_injected";
|
|
2505
|
+
system_prompt: "system_prompt";
|
|
2506
|
+
}>;
|
|
2507
|
+
costClass: z.ZodEnum<{
|
|
2508
|
+
fixed: "fixed";
|
|
2509
|
+
conditional: "conditional";
|
|
2510
|
+
referenced: "referenced";
|
|
2511
|
+
}>;
|
|
2512
|
+
bytes: z.ZodNumber;
|
|
2513
|
+
estTokens: z.ZodNumber;
|
|
2514
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2515
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2516
|
+
kind: z.ZodEnum<{
|
|
2517
|
+
dead_import: "dead_import";
|
|
2518
|
+
dead_reference: "dead_reference";
|
|
2519
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2520
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2521
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2522
|
+
import_cycle: "import_cycle";
|
|
2523
|
+
depth_capped: "depth_capped";
|
|
2524
|
+
}>;
|
|
2525
|
+
message: z.ZodString;
|
|
2526
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2527
|
+
start: z.ZodNumber;
|
|
2528
|
+
end: z.ZodNumber;
|
|
2529
|
+
}, z.core.$strip>>;
|
|
2530
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2531
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2532
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2533
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2534
|
+
}, z.core.$strip>>;
|
|
2535
|
+
}, z.core.$strip>>;
|
|
2536
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2537
|
+
fromNodeId: z.ZodString;
|
|
2538
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2539
|
+
kind: z.ZodEnum<{
|
|
2540
|
+
import: "import";
|
|
2541
|
+
reference: "reference";
|
|
2542
|
+
}>;
|
|
2543
|
+
rawTarget: z.ZodString;
|
|
2544
|
+
range: z.ZodObject<{
|
|
2545
|
+
start: z.ZodNumber;
|
|
2546
|
+
end: z.ZodNumber;
|
|
2547
|
+
}, z.core.$strip>;
|
|
2548
|
+
}, z.core.$strip>>;
|
|
2549
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2550
|
+
category: z.ZodEnum<{
|
|
2551
|
+
context_files: "context_files";
|
|
2552
|
+
memory_index: "memory_index";
|
|
2553
|
+
skills_roster: "skills_roster";
|
|
2554
|
+
mcp_tools: "mcp_tools";
|
|
2555
|
+
otto_injected: "otto_injected";
|
|
2556
|
+
system_prompt: "system_prompt";
|
|
2557
|
+
}>;
|
|
2558
|
+
estTokens: z.ZodNumber;
|
|
2559
|
+
sharePercent: z.ZodNumber;
|
|
2560
|
+
severity: z.ZodEnum<{
|
|
2561
|
+
ok: "ok";
|
|
2562
|
+
notice: "notice";
|
|
2563
|
+
warn: "warn";
|
|
2564
|
+
critical: "critical";
|
|
2565
|
+
}>;
|
|
2566
|
+
}, z.core.$strip>>;
|
|
2567
|
+
fixedTotal: z.ZodNumber;
|
|
2568
|
+
conditionalTotal: z.ZodNumber;
|
|
2569
|
+
referencedTotal: z.ZodNumber;
|
|
2570
|
+
workingRoom: z.ZodNumber;
|
|
2571
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2572
|
+
ok: "ok";
|
|
2573
|
+
notice: "notice";
|
|
2574
|
+
warn: "warn";
|
|
2575
|
+
critical: "critical";
|
|
2576
|
+
}>;
|
|
2577
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2578
|
+
kind: z.ZodEnum<{
|
|
2579
|
+
dead_import: "dead_import";
|
|
2580
|
+
dead_reference: "dead_reference";
|
|
2581
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2582
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2583
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2584
|
+
import_cycle: "import_cycle";
|
|
2585
|
+
depth_capped: "depth_capped";
|
|
2586
|
+
}>;
|
|
2587
|
+
message: z.ZodString;
|
|
2588
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2589
|
+
start: z.ZodNumber;
|
|
2590
|
+
end: z.ZodNumber;
|
|
2591
|
+
}, z.core.$strip>>;
|
|
2592
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2593
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2595
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2596
|
+
}, z.core.$strip>>;
|
|
2597
|
+
}, z.core.$strip>;
|
|
2598
|
+
export declare const ContextReportChangedSchema: z.ZodObject<{
|
|
2599
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
2600
|
+
payload: z.ZodObject<{
|
|
2601
|
+
workspaceId: z.ZodString;
|
|
2602
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
2603
|
+
workspaceId: z.ZodString;
|
|
2604
|
+
provider: z.ZodString;
|
|
2605
|
+
windowTokens: z.ZodNumber;
|
|
2606
|
+
scannedAt: z.ZodString;
|
|
2607
|
+
confidence: z.ZodEnum<{
|
|
2608
|
+
exact: "exact";
|
|
2609
|
+
convention: "convention";
|
|
2610
|
+
unverified: "unverified";
|
|
2611
|
+
}>;
|
|
2612
|
+
supported: z.ZodBoolean;
|
|
2613
|
+
supportsImports: z.ZodBoolean;
|
|
2614
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2615
|
+
id: z.ZodString;
|
|
2616
|
+
path: z.ZodString;
|
|
2617
|
+
relPath: z.ZodString;
|
|
2618
|
+
scope: z.ZodEnum<{
|
|
2619
|
+
local: "local";
|
|
2620
|
+
enterprise: "enterprise";
|
|
2621
|
+
global: "global";
|
|
2622
|
+
project: "project";
|
|
2623
|
+
subdirectory: "subdirectory";
|
|
2624
|
+
runtime: "runtime";
|
|
2625
|
+
}>;
|
|
2626
|
+
category: z.ZodEnum<{
|
|
2627
|
+
context_files: "context_files";
|
|
2628
|
+
memory_index: "memory_index";
|
|
2629
|
+
skills_roster: "skills_roster";
|
|
2630
|
+
mcp_tools: "mcp_tools";
|
|
2631
|
+
otto_injected: "otto_injected";
|
|
2632
|
+
system_prompt: "system_prompt";
|
|
2633
|
+
}>;
|
|
2634
|
+
costClass: z.ZodEnum<{
|
|
2635
|
+
fixed: "fixed";
|
|
2636
|
+
conditional: "conditional";
|
|
2637
|
+
referenced: "referenced";
|
|
2638
|
+
}>;
|
|
2639
|
+
bytes: z.ZodNumber;
|
|
2640
|
+
estTokens: z.ZodNumber;
|
|
2641
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2642
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2643
|
+
kind: z.ZodEnum<{
|
|
2644
|
+
dead_import: "dead_import";
|
|
2645
|
+
dead_reference: "dead_reference";
|
|
2646
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2647
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2648
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2649
|
+
import_cycle: "import_cycle";
|
|
2650
|
+
depth_capped: "depth_capped";
|
|
2651
|
+
}>;
|
|
2652
|
+
message: z.ZodString;
|
|
2653
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2654
|
+
start: z.ZodNumber;
|
|
2655
|
+
end: z.ZodNumber;
|
|
2656
|
+
}, z.core.$strip>>;
|
|
2657
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2658
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2659
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2660
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2661
|
+
}, z.core.$strip>>;
|
|
2662
|
+
}, z.core.$strip>>;
|
|
2663
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2664
|
+
fromNodeId: z.ZodString;
|
|
2665
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2666
|
+
kind: z.ZodEnum<{
|
|
2667
|
+
import: "import";
|
|
2668
|
+
reference: "reference";
|
|
2669
|
+
}>;
|
|
2670
|
+
rawTarget: z.ZodString;
|
|
2671
|
+
range: z.ZodObject<{
|
|
2672
|
+
start: z.ZodNumber;
|
|
2673
|
+
end: z.ZodNumber;
|
|
2674
|
+
}, z.core.$strip>;
|
|
2675
|
+
}, z.core.$strip>>;
|
|
2676
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2677
|
+
category: z.ZodEnum<{
|
|
2678
|
+
context_files: "context_files";
|
|
2679
|
+
memory_index: "memory_index";
|
|
2680
|
+
skills_roster: "skills_roster";
|
|
2681
|
+
mcp_tools: "mcp_tools";
|
|
2682
|
+
otto_injected: "otto_injected";
|
|
2683
|
+
system_prompt: "system_prompt";
|
|
2684
|
+
}>;
|
|
2685
|
+
estTokens: z.ZodNumber;
|
|
2686
|
+
sharePercent: z.ZodNumber;
|
|
2687
|
+
severity: z.ZodEnum<{
|
|
2688
|
+
ok: "ok";
|
|
2689
|
+
notice: "notice";
|
|
2690
|
+
warn: "warn";
|
|
2691
|
+
critical: "critical";
|
|
2692
|
+
}>;
|
|
2693
|
+
}, z.core.$strip>>;
|
|
2694
|
+
fixedTotal: z.ZodNumber;
|
|
2695
|
+
conditionalTotal: z.ZodNumber;
|
|
2696
|
+
referencedTotal: z.ZodNumber;
|
|
2697
|
+
workingRoom: z.ZodNumber;
|
|
2698
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2699
|
+
ok: "ok";
|
|
2700
|
+
notice: "notice";
|
|
2701
|
+
warn: "warn";
|
|
2702
|
+
critical: "critical";
|
|
2703
|
+
}>;
|
|
2704
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2705
|
+
kind: z.ZodEnum<{
|
|
2706
|
+
dead_import: "dead_import";
|
|
2707
|
+
dead_reference: "dead_reference";
|
|
2708
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2709
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2710
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2711
|
+
import_cycle: "import_cycle";
|
|
2712
|
+
depth_capped: "depth_capped";
|
|
2713
|
+
}>;
|
|
2714
|
+
message: z.ZodString;
|
|
2715
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2716
|
+
start: z.ZodNumber;
|
|
2717
|
+
end: z.ZodNumber;
|
|
2718
|
+
}, z.core.$strip>>;
|
|
2719
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2720
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2722
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2723
|
+
}, z.core.$strip>>;
|
|
2724
|
+
}, z.core.$strip>>;
|
|
2725
|
+
}, z.core.$strip>;
|
|
2726
|
+
}, z.core.$strip>;
|
|
2727
|
+
export declare const ContextReportGetRequestMessageSchema: z.ZodObject<{
|
|
2728
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
2729
|
+
requestId: z.ZodString;
|
|
2730
|
+
workspaceId: z.ZodString;
|
|
2731
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
2733
|
+
}, z.core.$strip>;
|
|
2734
|
+
export declare const ContextReportGetResponseMessageSchema: z.ZodObject<{
|
|
2735
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
2736
|
+
payload: z.ZodObject<{
|
|
2737
|
+
requestId: z.ZodString;
|
|
2738
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
2739
|
+
workspaceId: z.ZodString;
|
|
2740
|
+
provider: z.ZodString;
|
|
2741
|
+
windowTokens: z.ZodNumber;
|
|
2742
|
+
scannedAt: z.ZodString;
|
|
2743
|
+
confidence: z.ZodEnum<{
|
|
2744
|
+
exact: "exact";
|
|
2745
|
+
convention: "convention";
|
|
2746
|
+
unverified: "unverified";
|
|
2747
|
+
}>;
|
|
2748
|
+
supported: z.ZodBoolean;
|
|
2749
|
+
supportsImports: z.ZodBoolean;
|
|
2750
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
2751
|
+
id: z.ZodString;
|
|
2752
|
+
path: z.ZodString;
|
|
2753
|
+
relPath: z.ZodString;
|
|
2754
|
+
scope: z.ZodEnum<{
|
|
2755
|
+
local: "local";
|
|
2756
|
+
enterprise: "enterprise";
|
|
2757
|
+
global: "global";
|
|
2758
|
+
project: "project";
|
|
2759
|
+
subdirectory: "subdirectory";
|
|
2760
|
+
runtime: "runtime";
|
|
2761
|
+
}>;
|
|
2762
|
+
category: z.ZodEnum<{
|
|
2763
|
+
context_files: "context_files";
|
|
2764
|
+
memory_index: "memory_index";
|
|
2765
|
+
skills_roster: "skills_roster";
|
|
2766
|
+
mcp_tools: "mcp_tools";
|
|
2767
|
+
otto_injected: "otto_injected";
|
|
2768
|
+
system_prompt: "system_prompt";
|
|
2769
|
+
}>;
|
|
2770
|
+
costClass: z.ZodEnum<{
|
|
2771
|
+
fixed: "fixed";
|
|
2772
|
+
conditional: "conditional";
|
|
2773
|
+
referenced: "referenced";
|
|
2774
|
+
}>;
|
|
2775
|
+
bytes: z.ZodNumber;
|
|
2776
|
+
estTokens: z.ZodNumber;
|
|
2777
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
2778
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2779
|
+
kind: z.ZodEnum<{
|
|
2780
|
+
dead_import: "dead_import";
|
|
2781
|
+
dead_reference: "dead_reference";
|
|
2782
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2783
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2784
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2785
|
+
import_cycle: "import_cycle";
|
|
2786
|
+
depth_capped: "depth_capped";
|
|
2787
|
+
}>;
|
|
2788
|
+
message: z.ZodString;
|
|
2789
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2790
|
+
start: z.ZodNumber;
|
|
2791
|
+
end: z.ZodNumber;
|
|
2792
|
+
}, z.core.$strip>>;
|
|
2793
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2794
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2796
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2797
|
+
}, z.core.$strip>>;
|
|
2798
|
+
}, z.core.$strip>>;
|
|
2799
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
2800
|
+
fromNodeId: z.ZodString;
|
|
2801
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
2802
|
+
kind: z.ZodEnum<{
|
|
2803
|
+
import: "import";
|
|
2804
|
+
reference: "reference";
|
|
2805
|
+
}>;
|
|
2806
|
+
rawTarget: z.ZodString;
|
|
2807
|
+
range: z.ZodObject<{
|
|
2808
|
+
start: z.ZodNumber;
|
|
2809
|
+
end: z.ZodNumber;
|
|
2810
|
+
}, z.core.$strip>;
|
|
2811
|
+
}, z.core.$strip>>;
|
|
2812
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
2813
|
+
category: z.ZodEnum<{
|
|
2814
|
+
context_files: "context_files";
|
|
2815
|
+
memory_index: "memory_index";
|
|
2816
|
+
skills_roster: "skills_roster";
|
|
2817
|
+
mcp_tools: "mcp_tools";
|
|
2818
|
+
otto_injected: "otto_injected";
|
|
2819
|
+
system_prompt: "system_prompt";
|
|
2820
|
+
}>;
|
|
2821
|
+
estTokens: z.ZodNumber;
|
|
2822
|
+
sharePercent: z.ZodNumber;
|
|
2823
|
+
severity: z.ZodEnum<{
|
|
2824
|
+
ok: "ok";
|
|
2825
|
+
notice: "notice";
|
|
2826
|
+
warn: "warn";
|
|
2827
|
+
critical: "critical";
|
|
2828
|
+
}>;
|
|
2829
|
+
}, z.core.$strip>>;
|
|
2830
|
+
fixedTotal: z.ZodNumber;
|
|
2831
|
+
conditionalTotal: z.ZodNumber;
|
|
2832
|
+
referencedTotal: z.ZodNumber;
|
|
2833
|
+
workingRoom: z.ZodNumber;
|
|
2834
|
+
aggregateSeverity: z.ZodEnum<{
|
|
2835
|
+
ok: "ok";
|
|
2836
|
+
notice: "notice";
|
|
2837
|
+
warn: "warn";
|
|
2838
|
+
critical: "critical";
|
|
2839
|
+
}>;
|
|
2840
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2841
|
+
kind: z.ZodEnum<{
|
|
2842
|
+
dead_import: "dead_import";
|
|
2843
|
+
dead_reference: "dead_reference";
|
|
2844
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
2845
|
+
duplicate_within_file: "duplicate_within_file";
|
|
2846
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
2847
|
+
import_cycle: "import_cycle";
|
|
2848
|
+
depth_capped: "depth_capped";
|
|
2849
|
+
}>;
|
|
2850
|
+
message: z.ZodString;
|
|
2851
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
2852
|
+
start: z.ZodNumber;
|
|
2853
|
+
end: z.ZodNumber;
|
|
2854
|
+
}, z.core.$strip>>;
|
|
2855
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2856
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2858
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
2859
|
+
}, z.core.$strip>>;
|
|
2860
|
+
}, z.core.$strip>>;
|
|
2861
|
+
}, z.core.$strip>;
|
|
2862
|
+
}, z.core.$strip>;
|
|
2863
|
+
export declare const ContextEdgeConvertRequestMessageSchema: z.ZodObject<{
|
|
2864
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
2865
|
+
requestId: z.ZodString;
|
|
2866
|
+
workspaceId: z.ZodString;
|
|
2867
|
+
filePath: z.ZodString;
|
|
2868
|
+
rawTarget: z.ZodString;
|
|
2869
|
+
range: z.ZodObject<{
|
|
2870
|
+
start: z.ZodNumber;
|
|
2871
|
+
end: z.ZodNumber;
|
|
2872
|
+
}, z.core.$strip>;
|
|
2873
|
+
target: z.ZodEnum<{
|
|
2874
|
+
import: "import";
|
|
2875
|
+
reference: "reference";
|
|
2876
|
+
}>;
|
|
2877
|
+
}, z.core.$strip>;
|
|
2878
|
+
export declare const ContextEdgeConvertResponseMessageSchema: z.ZodObject<{
|
|
2879
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
2880
|
+
payload: z.ZodObject<{
|
|
2881
|
+
requestId: z.ZodString;
|
|
2882
|
+
ok: z.ZodBoolean;
|
|
2883
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2884
|
+
}, z.core.$strip>;
|
|
2885
|
+
}, z.core.$strip>;
|
|
2134
2886
|
export declare const TasksSuggestedStartModeSchema: z.ZodEnum<{
|
|
2135
2887
|
worktree: "worktree";
|
|
2136
2888
|
new_chat: "new_chat";
|
|
@@ -4073,10 +4825,25 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4073
4825
|
config: z.ZodObject<{
|
|
4074
4826
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4075
4827
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
4828
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4829
|
+
artifacts: "artifacts";
|
|
4830
|
+
preview: "preview";
|
|
4831
|
+
browser: "browser";
|
|
4832
|
+
web: "web";
|
|
4833
|
+
agents: "agents";
|
|
4834
|
+
terminals: "terminals";
|
|
4835
|
+
schedules: "schedules";
|
|
4836
|
+
workspace: "workspace";
|
|
4837
|
+
}>>>>;
|
|
4076
4838
|
}, z.core.$loose>>>;
|
|
4077
4839
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4078
4840
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4079
4841
|
}, z.core.$loose>>>;
|
|
4842
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4843
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4844
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4845
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4846
|
+
}, z.core.$loose>>>;
|
|
4080
4847
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
4081
4848
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4082
4849
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4102,6 +4869,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4102
4869
|
model: z.ZodOptional<z.ZodString>;
|
|
4103
4870
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
4104
4871
|
}, z.core.$loose>>>>;
|
|
4872
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4873
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4105
4874
|
}, z.core.$loose>>>;
|
|
4106
4875
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4107
4876
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -4472,6 +5241,34 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4472
5241
|
}, z.core.$strip>, z.ZodObject<{
|
|
4473
5242
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
4474
5243
|
requestId: z.ZodString;
|
|
5244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5245
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
5246
|
+
requestId: z.ZodString;
|
|
5247
|
+
workspaceId: z.ZodString;
|
|
5248
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
5249
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
5250
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5251
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
5252
|
+
requestId: z.ZodString;
|
|
5253
|
+
workspaceId: z.ZodString;
|
|
5254
|
+
filePath: z.ZodString;
|
|
5255
|
+
rawTarget: z.ZodString;
|
|
5256
|
+
range: z.ZodObject<{
|
|
5257
|
+
start: z.ZodNumber;
|
|
5258
|
+
end: z.ZodNumber;
|
|
5259
|
+
}, z.core.$strip>;
|
|
5260
|
+
target: z.ZodEnum<{
|
|
5261
|
+
import: "import";
|
|
5262
|
+
reference: "reference";
|
|
5263
|
+
}>;
|
|
5264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5265
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
5266
|
+
requestId: z.ZodString;
|
|
5267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5268
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
5269
|
+
requestId: z.ZodString;
|
|
5270
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5271
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
4475
5272
|
}, z.core.$strip>, z.ZodObject<{
|
|
4476
5273
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
4477
5274
|
agentId: z.ZodString;
|
|
@@ -4547,8 +5344,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4547
5344
|
agentId: z.ZodString;
|
|
4548
5345
|
requestId: z.ZodString;
|
|
4549
5346
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
4550
|
-
tail: "tail";
|
|
4551
5347
|
before: "before";
|
|
5348
|
+
tail: "tail";
|
|
4552
5349
|
after: "after";
|
|
4553
5350
|
}>>;
|
|
4554
5351
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -5793,7 +6590,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5793
6590
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
5794
6591
|
observedSubagents: z.ZodOptional<z.ZodBoolean>;
|
|
5795
6592
|
backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
|
|
6593
|
+
retainedTranscripts: z.ZodOptional<z.ZodBoolean>;
|
|
5796
6594
|
suggestedTasks: z.ZodOptional<z.ZodBoolean>;
|
|
6595
|
+
contextManagement: z.ZodOptional<z.ZodBoolean>;
|
|
5797
6596
|
textEditor: z.ZodOptional<z.ZodBoolean>;
|
|
5798
6597
|
projectSearch: z.ZodOptional<z.ZodBoolean>;
|
|
5799
6598
|
codeIndex: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5817,6 +6616,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5817
6616
|
fileOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5818
6617
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
5819
6618
|
rateLimitEvents: z.ZodOptional<z.ZodBoolean>;
|
|
6619
|
+
openaiCompatMaxToolRounds: z.ZodOptional<z.ZodBoolean>;
|
|
6620
|
+
mcpToolGroups: z.ZodOptional<z.ZodBoolean>;
|
|
6621
|
+
agentBehaviorToggles: z.ZodOptional<z.ZodBoolean>;
|
|
6622
|
+
metadataGenerationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6623
|
+
usageCostCategories: z.ZodOptional<z.ZodBoolean>;
|
|
6624
|
+
usageLog: z.ZodOptional<z.ZodBoolean>;
|
|
6625
|
+
statsReset: z.ZodOptional<z.ZodBoolean>;
|
|
5820
6626
|
}, z.core.$strip>>;
|
|
5821
6627
|
}, z.core.$loose>, z.ZodTransform<{
|
|
5822
6628
|
hostname: string | null;
|
|
@@ -5858,7 +6664,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5858
6664
|
artifacts?: boolean | undefined;
|
|
5859
6665
|
observedSubagents?: boolean | undefined;
|
|
5860
6666
|
backgroundShellTasks?: boolean | undefined;
|
|
6667
|
+
retainedTranscripts?: boolean | undefined;
|
|
5861
6668
|
suggestedTasks?: boolean | undefined;
|
|
6669
|
+
contextManagement?: boolean | undefined;
|
|
5862
6670
|
textEditor?: boolean | undefined;
|
|
5863
6671
|
projectSearch?: boolean | undefined;
|
|
5864
6672
|
codeIndex?: boolean | undefined;
|
|
@@ -5882,6 +6690,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5882
6690
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5883
6691
|
promptSuggestions?: boolean | undefined;
|
|
5884
6692
|
rateLimitEvents?: boolean | undefined;
|
|
6693
|
+
openaiCompatMaxToolRounds?: boolean | undefined;
|
|
6694
|
+
mcpToolGroups?: boolean | undefined;
|
|
6695
|
+
agentBehaviorToggles?: boolean | undefined;
|
|
6696
|
+
metadataGenerationEnabled?: boolean | undefined;
|
|
6697
|
+
usageCostCategories?: boolean | undefined;
|
|
6698
|
+
usageLog?: boolean | undefined;
|
|
6699
|
+
statsReset?: boolean | undefined;
|
|
5885
6700
|
} | undefined;
|
|
5886
6701
|
}, {
|
|
5887
6702
|
[x: string]: unknown;
|
|
@@ -5924,7 +6739,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5924
6739
|
artifacts?: boolean | undefined;
|
|
5925
6740
|
observedSubagents?: boolean | undefined;
|
|
5926
6741
|
backgroundShellTasks?: boolean | undefined;
|
|
6742
|
+
retainedTranscripts?: boolean | undefined;
|
|
5927
6743
|
suggestedTasks?: boolean | undefined;
|
|
6744
|
+
contextManagement?: boolean | undefined;
|
|
5928
6745
|
textEditor?: boolean | undefined;
|
|
5929
6746
|
projectSearch?: boolean | undefined;
|
|
5930
6747
|
codeIndex?: boolean | undefined;
|
|
@@ -5948,6 +6765,13 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5948
6765
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5949
6766
|
promptSuggestions?: boolean | undefined;
|
|
5950
6767
|
rateLimitEvents?: boolean | undefined;
|
|
6768
|
+
openaiCompatMaxToolRounds?: boolean | undefined;
|
|
6769
|
+
mcpToolGroups?: boolean | undefined;
|
|
6770
|
+
agentBehaviorToggles?: boolean | undefined;
|
|
6771
|
+
metadataGenerationEnabled?: boolean | undefined;
|
|
6772
|
+
usageCostCategories?: boolean | undefined;
|
|
6773
|
+
usageLog?: boolean | undefined;
|
|
6774
|
+
statsReset?: boolean | undefined;
|
|
5951
6775
|
} | undefined;
|
|
5952
6776
|
}>>;
|
|
5953
6777
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -6159,10 +6983,25 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6159
6983
|
config: z.ZodObject<{
|
|
6160
6984
|
mcp: z.ZodObject<{
|
|
6161
6985
|
injectIntoAgents: z.ZodBoolean;
|
|
6986
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6987
|
+
artifacts: "artifacts";
|
|
6988
|
+
preview: "preview";
|
|
6989
|
+
browser: "browser";
|
|
6990
|
+
web: "web";
|
|
6991
|
+
agents: "agents";
|
|
6992
|
+
terminals: "terminals";
|
|
6993
|
+
schedules: "schedules";
|
|
6994
|
+
workspace: "workspace";
|
|
6995
|
+
}>>>;
|
|
6162
6996
|
}, z.core.$loose>;
|
|
6163
6997
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
6164
6998
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
6165
6999
|
}, z.core.$loose>>;
|
|
7000
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
7001
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
7002
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
7003
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
7004
|
+
}, z.core.$loose>>;
|
|
6166
7005
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6167
7006
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6168
7007
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6188,6 +7027,8 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6188
7027
|
model: z.ZodOptional<z.ZodString>;
|
|
6189
7028
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
6190
7029
|
}, z.core.$loose>>>;
|
|
7030
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7031
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
6191
7032
|
}, z.core.$loose>>;
|
|
6192
7033
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
6193
7034
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6460,10 +7301,25 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6460
7301
|
config: z.ZodObject<{
|
|
6461
7302
|
mcp: z.ZodObject<{
|
|
6462
7303
|
injectIntoAgents: z.ZodBoolean;
|
|
7304
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7305
|
+
artifacts: "artifacts";
|
|
7306
|
+
preview: "preview";
|
|
7307
|
+
browser: "browser";
|
|
7308
|
+
web: "web";
|
|
7309
|
+
agents: "agents";
|
|
7310
|
+
terminals: "terminals";
|
|
7311
|
+
schedules: "schedules";
|
|
7312
|
+
workspace: "workspace";
|
|
7313
|
+
}>>>;
|
|
6463
7314
|
}, z.core.$loose>;
|
|
6464
7315
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
6465
7316
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
6466
7317
|
}, z.core.$loose>>;
|
|
7318
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
7319
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
7320
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
7321
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
7322
|
+
}, z.core.$loose>>;
|
|
6467
7323
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6468
7324
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6469
7325
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6489,6 +7345,8 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6489
7345
|
model: z.ZodOptional<z.ZodString>;
|
|
6490
7346
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
6491
7347
|
}, z.core.$loose>>>;
|
|
7348
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7349
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
6492
7350
|
}, z.core.$loose>>;
|
|
6493
7351
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
6494
7352
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -9752,8 +10610,8 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
|
9752
10610
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
9753
10611
|
}, z.core.$strip>>;
|
|
9754
10612
|
direction: z.ZodEnum<{
|
|
9755
|
-
tail: "tail";
|
|
9756
10613
|
before: "before";
|
|
10614
|
+
tail: "tail";
|
|
9757
10615
|
after: "after";
|
|
9758
10616
|
}>;
|
|
9759
10617
|
projection: z.ZodEnum<{
|
|
@@ -10520,10 +11378,25 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10520
11378
|
config: z.ZodObject<{
|
|
10521
11379
|
mcp: z.ZodObject<{
|
|
10522
11380
|
injectIntoAgents: z.ZodBoolean;
|
|
11381
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11382
|
+
artifacts: "artifacts";
|
|
11383
|
+
preview: "preview";
|
|
11384
|
+
browser: "browser";
|
|
11385
|
+
web: "web";
|
|
11386
|
+
agents: "agents";
|
|
11387
|
+
terminals: "terminals";
|
|
11388
|
+
schedules: "schedules";
|
|
11389
|
+
workspace: "workspace";
|
|
11390
|
+
}>>>;
|
|
10523
11391
|
}, z.core.$loose>;
|
|
10524
11392
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
10525
11393
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
10526
11394
|
}, z.core.$loose>>;
|
|
11395
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
11396
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
11397
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
11398
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
11399
|
+
}, z.core.$loose>>;
|
|
10527
11400
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10528
11401
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
10529
11402
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10549,6 +11422,8 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10549
11422
|
model: z.ZodOptional<z.ZodString>;
|
|
10550
11423
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
10551
11424
|
}, z.core.$loose>>>;
|
|
11425
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
11426
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
10552
11427
|
}, z.core.$loose>>;
|
|
10553
11428
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
10554
11429
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -10759,10 +11634,25 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10759
11634
|
config: z.ZodObject<{
|
|
10760
11635
|
mcp: z.ZodObject<{
|
|
10761
11636
|
injectIntoAgents: z.ZodBoolean;
|
|
11637
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11638
|
+
artifacts: "artifacts";
|
|
11639
|
+
preview: "preview";
|
|
11640
|
+
browser: "browser";
|
|
11641
|
+
web: "web";
|
|
11642
|
+
agents: "agents";
|
|
11643
|
+
terminals: "terminals";
|
|
11644
|
+
schedules: "schedules";
|
|
11645
|
+
workspace: "workspace";
|
|
11646
|
+
}>>>;
|
|
10762
11647
|
}, z.core.$loose>;
|
|
10763
11648
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
10764
11649
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
10765
11650
|
}, z.core.$loose>>;
|
|
11651
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
11652
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
11653
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
11654
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
11655
|
+
}, z.core.$loose>>;
|
|
10766
11656
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10767
11657
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
10768
11658
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10788,6 +11678,8 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10788
11678
|
model: z.ZodOptional<z.ZodString>;
|
|
10789
11679
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
10790
11680
|
}, z.core.$loose>>>;
|
|
11681
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
11682
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
10791
11683
|
}, z.core.$loose>>;
|
|
10792
11684
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
10793
11685
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -16311,8 +17203,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16311
17203
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
16312
17204
|
}, z.core.$strip>>;
|
|
16313
17205
|
direction: z.ZodEnum<{
|
|
16314
|
-
tail: "tail";
|
|
16315
17206
|
before: "before";
|
|
17207
|
+
tail: "tail";
|
|
16316
17208
|
after: "after";
|
|
16317
17209
|
}>;
|
|
16318
17210
|
projection: z.ZodEnum<{
|
|
@@ -17034,10 +17926,25 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17034
17926
|
config: z.ZodObject<{
|
|
17035
17927
|
mcp: z.ZodObject<{
|
|
17036
17928
|
injectIntoAgents: z.ZodBoolean;
|
|
17929
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
17930
|
+
artifacts: "artifacts";
|
|
17931
|
+
preview: "preview";
|
|
17932
|
+
browser: "browser";
|
|
17933
|
+
web: "web";
|
|
17934
|
+
agents: "agents";
|
|
17935
|
+
terminals: "terminals";
|
|
17936
|
+
schedules: "schedules";
|
|
17937
|
+
workspace: "workspace";
|
|
17938
|
+
}>>>;
|
|
17037
17939
|
}, z.core.$loose>;
|
|
17038
17940
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
17039
17941
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17040
17942
|
}, z.core.$loose>>;
|
|
17943
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
17944
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
17945
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
17946
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
17947
|
+
}, z.core.$loose>>;
|
|
17041
17948
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17042
17949
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17043
17950
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -17063,6 +17970,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17063
17970
|
model: z.ZodOptional<z.ZodString>;
|
|
17064
17971
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
17065
17972
|
}, z.core.$loose>>>;
|
|
17973
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17974
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
17066
17975
|
}, z.core.$loose>>;
|
|
17067
17976
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
17068
17977
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -17163,10 +18072,25 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17163
18072
|
config: z.ZodObject<{
|
|
17164
18073
|
mcp: z.ZodObject<{
|
|
17165
18074
|
injectIntoAgents: z.ZodBoolean;
|
|
18075
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18076
|
+
artifacts: "artifacts";
|
|
18077
|
+
preview: "preview";
|
|
18078
|
+
browser: "browser";
|
|
18079
|
+
web: "web";
|
|
18080
|
+
agents: "agents";
|
|
18081
|
+
terminals: "terminals";
|
|
18082
|
+
schedules: "schedules";
|
|
18083
|
+
workspace: "workspace";
|
|
18084
|
+
}>>>;
|
|
17166
18085
|
}, z.core.$loose>;
|
|
17167
18086
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
17168
18087
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
17169
18088
|
}, z.core.$loose>>;
|
|
18089
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
18090
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
18091
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
18092
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
18093
|
+
}, z.core.$loose>>;
|
|
17170
18094
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17171
18095
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17172
18096
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -17192,6 +18116,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17192
18116
|
model: z.ZodOptional<z.ZodString>;
|
|
17193
18117
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
17194
18118
|
}, z.core.$loose>>>;
|
|
18119
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
18120
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
17195
18121
|
}, z.core.$loose>>;
|
|
17196
18122
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
17197
18123
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -17594,6 +18520,134 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17594
18520
|
updatedAt: z.ZodString;
|
|
17595
18521
|
}, z.core.$strip>>;
|
|
17596
18522
|
}, z.core.$strip>;
|
|
18523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18524
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
18525
|
+
payload: z.ZodObject<{
|
|
18526
|
+
workspaceId: z.ZodString;
|
|
18527
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
18528
|
+
workspaceId: z.ZodString;
|
|
18529
|
+
provider: z.ZodString;
|
|
18530
|
+
windowTokens: z.ZodNumber;
|
|
18531
|
+
scannedAt: z.ZodString;
|
|
18532
|
+
confidence: z.ZodEnum<{
|
|
18533
|
+
exact: "exact";
|
|
18534
|
+
convention: "convention";
|
|
18535
|
+
unverified: "unverified";
|
|
18536
|
+
}>;
|
|
18537
|
+
supported: z.ZodBoolean;
|
|
18538
|
+
supportsImports: z.ZodBoolean;
|
|
18539
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
18540
|
+
id: z.ZodString;
|
|
18541
|
+
path: z.ZodString;
|
|
18542
|
+
relPath: z.ZodString;
|
|
18543
|
+
scope: z.ZodEnum<{
|
|
18544
|
+
local: "local";
|
|
18545
|
+
enterprise: "enterprise";
|
|
18546
|
+
global: "global";
|
|
18547
|
+
project: "project";
|
|
18548
|
+
subdirectory: "subdirectory";
|
|
18549
|
+
runtime: "runtime";
|
|
18550
|
+
}>;
|
|
18551
|
+
category: z.ZodEnum<{
|
|
18552
|
+
context_files: "context_files";
|
|
18553
|
+
memory_index: "memory_index";
|
|
18554
|
+
skills_roster: "skills_roster";
|
|
18555
|
+
mcp_tools: "mcp_tools";
|
|
18556
|
+
otto_injected: "otto_injected";
|
|
18557
|
+
system_prompt: "system_prompt";
|
|
18558
|
+
}>;
|
|
18559
|
+
costClass: z.ZodEnum<{
|
|
18560
|
+
fixed: "fixed";
|
|
18561
|
+
conditional: "conditional";
|
|
18562
|
+
referenced: "referenced";
|
|
18563
|
+
}>;
|
|
18564
|
+
bytes: z.ZodNumber;
|
|
18565
|
+
estTokens: z.ZodNumber;
|
|
18566
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
18567
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
18568
|
+
kind: z.ZodEnum<{
|
|
18569
|
+
dead_import: "dead_import";
|
|
18570
|
+
dead_reference: "dead_reference";
|
|
18571
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
18572
|
+
duplicate_within_file: "duplicate_within_file";
|
|
18573
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
18574
|
+
import_cycle: "import_cycle";
|
|
18575
|
+
depth_capped: "depth_capped";
|
|
18576
|
+
}>;
|
|
18577
|
+
message: z.ZodString;
|
|
18578
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
18579
|
+
start: z.ZodNumber;
|
|
18580
|
+
end: z.ZodNumber;
|
|
18581
|
+
}, z.core.$strip>>;
|
|
18582
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18583
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
18584
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
18585
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
18586
|
+
}, z.core.$strip>>;
|
|
18587
|
+
}, z.core.$strip>>;
|
|
18588
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
18589
|
+
fromNodeId: z.ZodString;
|
|
18590
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
18591
|
+
kind: z.ZodEnum<{
|
|
18592
|
+
import: "import";
|
|
18593
|
+
reference: "reference";
|
|
18594
|
+
}>;
|
|
18595
|
+
rawTarget: z.ZodString;
|
|
18596
|
+
range: z.ZodObject<{
|
|
18597
|
+
start: z.ZodNumber;
|
|
18598
|
+
end: z.ZodNumber;
|
|
18599
|
+
}, z.core.$strip>;
|
|
18600
|
+
}, z.core.$strip>>;
|
|
18601
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
18602
|
+
category: z.ZodEnum<{
|
|
18603
|
+
context_files: "context_files";
|
|
18604
|
+
memory_index: "memory_index";
|
|
18605
|
+
skills_roster: "skills_roster";
|
|
18606
|
+
mcp_tools: "mcp_tools";
|
|
18607
|
+
otto_injected: "otto_injected";
|
|
18608
|
+
system_prompt: "system_prompt";
|
|
18609
|
+
}>;
|
|
18610
|
+
estTokens: z.ZodNumber;
|
|
18611
|
+
sharePercent: z.ZodNumber;
|
|
18612
|
+
severity: z.ZodEnum<{
|
|
18613
|
+
ok: "ok";
|
|
18614
|
+
notice: "notice";
|
|
18615
|
+
warn: "warn";
|
|
18616
|
+
critical: "critical";
|
|
18617
|
+
}>;
|
|
18618
|
+
}, z.core.$strip>>;
|
|
18619
|
+
fixedTotal: z.ZodNumber;
|
|
18620
|
+
conditionalTotal: z.ZodNumber;
|
|
18621
|
+
referencedTotal: z.ZodNumber;
|
|
18622
|
+
workingRoom: z.ZodNumber;
|
|
18623
|
+
aggregateSeverity: z.ZodEnum<{
|
|
18624
|
+
ok: "ok";
|
|
18625
|
+
notice: "notice";
|
|
18626
|
+
warn: "warn";
|
|
18627
|
+
critical: "critical";
|
|
18628
|
+
}>;
|
|
18629
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
18630
|
+
kind: z.ZodEnum<{
|
|
18631
|
+
dead_import: "dead_import";
|
|
18632
|
+
dead_reference: "dead_reference";
|
|
18633
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
18634
|
+
duplicate_within_file: "duplicate_within_file";
|
|
18635
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
18636
|
+
import_cycle: "import_cycle";
|
|
18637
|
+
depth_capped: "depth_capped";
|
|
18638
|
+
}>;
|
|
18639
|
+
message: z.ZodString;
|
|
18640
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
18641
|
+
start: z.ZodNumber;
|
|
18642
|
+
end: z.ZodNumber;
|
|
18643
|
+
}, z.core.$strip>>;
|
|
18644
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18645
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
18646
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
18647
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
18648
|
+
}, z.core.$strip>>;
|
|
18649
|
+
}, z.core.$strip>>;
|
|
18650
|
+
}, z.core.$strip>;
|
|
17597
18651
|
}, z.core.$strip>, z.ZodObject<{
|
|
17598
18652
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
17599
18653
|
payload: z.ZodObject<{
|
|
@@ -19849,6 +20903,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19849
20903
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19850
20904
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19851
20905
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
20906
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20907
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20908
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20909
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20910
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20911
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20912
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20913
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20914
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20915
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20916
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20917
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20918
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20919
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19852
20920
|
}, z.core.$strip>;
|
|
19853
20921
|
yesterday: z.ZodObject<{
|
|
19854
20922
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19863,6 +20931,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19863
20931
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19864
20932
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19865
20933
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
20934
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20935
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20936
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20937
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20938
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20939
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20940
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20941
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20942
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20943
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20944
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20945
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20946
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20947
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19866
20948
|
}, z.core.$strip>;
|
|
19867
20949
|
last7Days: z.ZodObject<{
|
|
19868
20950
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19877,6 +20959,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19877
20959
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19878
20960
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19879
20961
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
20962
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20963
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20964
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20965
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20966
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20967
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20968
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20969
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20970
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20971
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20972
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20973
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20974
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20975
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19880
20976
|
}, z.core.$strip>;
|
|
19881
20977
|
last30Days: z.ZodObject<{
|
|
19882
20978
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19891,6 +20987,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19891
20987
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19892
20988
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19893
20989
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
20990
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20991
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20992
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20993
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20994
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20995
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20996
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
20997
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
20998
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
20999
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21000
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21001
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21002
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21003
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19894
21004
|
}, z.core.$strip>;
|
|
19895
21005
|
allTime: z.ZodObject<{
|
|
19896
21006
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -19905,8 +21015,187 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19905
21015
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
19906
21016
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
19907
21017
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
21018
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21019
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21020
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21021
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21022
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21023
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21024
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21025
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21026
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21027
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21028
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21029
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21030
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21031
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
19908
21032
|
}, z.core.$strip>;
|
|
19909
21033
|
}, z.core.$strip>;
|
|
21034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21035
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
21036
|
+
payload: z.ZodObject<{
|
|
21037
|
+
requestId: z.ZodString;
|
|
21038
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
21039
|
+
workspaceId: z.ZodString;
|
|
21040
|
+
provider: z.ZodString;
|
|
21041
|
+
windowTokens: z.ZodNumber;
|
|
21042
|
+
scannedAt: z.ZodString;
|
|
21043
|
+
confidence: z.ZodEnum<{
|
|
21044
|
+
exact: "exact";
|
|
21045
|
+
convention: "convention";
|
|
21046
|
+
unverified: "unverified";
|
|
21047
|
+
}>;
|
|
21048
|
+
supported: z.ZodBoolean;
|
|
21049
|
+
supportsImports: z.ZodBoolean;
|
|
21050
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
21051
|
+
id: z.ZodString;
|
|
21052
|
+
path: z.ZodString;
|
|
21053
|
+
relPath: z.ZodString;
|
|
21054
|
+
scope: z.ZodEnum<{
|
|
21055
|
+
local: "local";
|
|
21056
|
+
enterprise: "enterprise";
|
|
21057
|
+
global: "global";
|
|
21058
|
+
project: "project";
|
|
21059
|
+
subdirectory: "subdirectory";
|
|
21060
|
+
runtime: "runtime";
|
|
21061
|
+
}>;
|
|
21062
|
+
category: z.ZodEnum<{
|
|
21063
|
+
context_files: "context_files";
|
|
21064
|
+
memory_index: "memory_index";
|
|
21065
|
+
skills_roster: "skills_roster";
|
|
21066
|
+
mcp_tools: "mcp_tools";
|
|
21067
|
+
otto_injected: "otto_injected";
|
|
21068
|
+
system_prompt: "system_prompt";
|
|
21069
|
+
}>;
|
|
21070
|
+
costClass: z.ZodEnum<{
|
|
21071
|
+
fixed: "fixed";
|
|
21072
|
+
conditional: "conditional";
|
|
21073
|
+
referenced: "referenced";
|
|
21074
|
+
}>;
|
|
21075
|
+
bytes: z.ZodNumber;
|
|
21076
|
+
estTokens: z.ZodNumber;
|
|
21077
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
21078
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
21079
|
+
kind: z.ZodEnum<{
|
|
21080
|
+
dead_import: "dead_import";
|
|
21081
|
+
dead_reference: "dead_reference";
|
|
21082
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
21083
|
+
duplicate_within_file: "duplicate_within_file";
|
|
21084
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
21085
|
+
import_cycle: "import_cycle";
|
|
21086
|
+
depth_capped: "depth_capped";
|
|
21087
|
+
}>;
|
|
21088
|
+
message: z.ZodString;
|
|
21089
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
21090
|
+
start: z.ZodNumber;
|
|
21091
|
+
end: z.ZodNumber;
|
|
21092
|
+
}, z.core.$strip>>;
|
|
21093
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21094
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
21095
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
21096
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
21097
|
+
}, z.core.$strip>>;
|
|
21098
|
+
}, z.core.$strip>>;
|
|
21099
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
21100
|
+
fromNodeId: z.ZodString;
|
|
21101
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
21102
|
+
kind: z.ZodEnum<{
|
|
21103
|
+
import: "import";
|
|
21104
|
+
reference: "reference";
|
|
21105
|
+
}>;
|
|
21106
|
+
rawTarget: z.ZodString;
|
|
21107
|
+
range: z.ZodObject<{
|
|
21108
|
+
start: z.ZodNumber;
|
|
21109
|
+
end: z.ZodNumber;
|
|
21110
|
+
}, z.core.$strip>;
|
|
21111
|
+
}, z.core.$strip>>;
|
|
21112
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
21113
|
+
category: z.ZodEnum<{
|
|
21114
|
+
context_files: "context_files";
|
|
21115
|
+
memory_index: "memory_index";
|
|
21116
|
+
skills_roster: "skills_roster";
|
|
21117
|
+
mcp_tools: "mcp_tools";
|
|
21118
|
+
otto_injected: "otto_injected";
|
|
21119
|
+
system_prompt: "system_prompt";
|
|
21120
|
+
}>;
|
|
21121
|
+
estTokens: z.ZodNumber;
|
|
21122
|
+
sharePercent: z.ZodNumber;
|
|
21123
|
+
severity: z.ZodEnum<{
|
|
21124
|
+
ok: "ok";
|
|
21125
|
+
notice: "notice";
|
|
21126
|
+
warn: "warn";
|
|
21127
|
+
critical: "critical";
|
|
21128
|
+
}>;
|
|
21129
|
+
}, z.core.$strip>>;
|
|
21130
|
+
fixedTotal: z.ZodNumber;
|
|
21131
|
+
conditionalTotal: z.ZodNumber;
|
|
21132
|
+
referencedTotal: z.ZodNumber;
|
|
21133
|
+
workingRoom: z.ZodNumber;
|
|
21134
|
+
aggregateSeverity: z.ZodEnum<{
|
|
21135
|
+
ok: "ok";
|
|
21136
|
+
notice: "notice";
|
|
21137
|
+
warn: "warn";
|
|
21138
|
+
critical: "critical";
|
|
21139
|
+
}>;
|
|
21140
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
21141
|
+
kind: z.ZodEnum<{
|
|
21142
|
+
dead_import: "dead_import";
|
|
21143
|
+
dead_reference: "dead_reference";
|
|
21144
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
21145
|
+
duplicate_within_file: "duplicate_within_file";
|
|
21146
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
21147
|
+
import_cycle: "import_cycle";
|
|
21148
|
+
depth_capped: "depth_capped";
|
|
21149
|
+
}>;
|
|
21150
|
+
message: z.ZodString;
|
|
21151
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
21152
|
+
start: z.ZodNumber;
|
|
21153
|
+
end: z.ZodNumber;
|
|
21154
|
+
}, z.core.$strip>>;
|
|
21155
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21156
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
21157
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
21158
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
21159
|
+
}, z.core.$strip>>;
|
|
21160
|
+
}, z.core.$strip>>;
|
|
21161
|
+
}, z.core.$strip>;
|
|
21162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21163
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
21164
|
+
payload: z.ZodObject<{
|
|
21165
|
+
requestId: z.ZodString;
|
|
21166
|
+
ok: z.ZodBoolean;
|
|
21167
|
+
error: z.ZodOptional<z.ZodString>;
|
|
21168
|
+
}, z.core.$strip>;
|
|
21169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21170
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
21171
|
+
payload: z.ZodObject<{
|
|
21172
|
+
requestId: z.ZodString;
|
|
21173
|
+
}, z.core.$strip>;
|
|
21174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21175
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
21176
|
+
payload: z.ZodObject<{
|
|
21177
|
+
requestId: z.ZodString;
|
|
21178
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
21179
|
+
id: z.ZodString;
|
|
21180
|
+
at: z.ZodNumber;
|
|
21181
|
+
kind: z.ZodString;
|
|
21182
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
21183
|
+
provider: z.ZodString;
|
|
21184
|
+
model: z.ZodOptional<z.ZodString>;
|
|
21185
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
21186
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
21187
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
21188
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
21189
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
21190
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
21191
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
21192
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
21193
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
21194
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
21195
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
21196
|
+
}, z.core.$strip>>>;
|
|
21197
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
21198
|
+
}, z.core.$strip>;
|
|
19910
21199
|
}, z.core.$strip>, z.ZodObject<{
|
|
19911
21200
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
19912
21201
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -21532,6 +22821,17 @@ export type AgentBackgroundTaskClearResponseMessage = z.infer<typeof AgentBackgr
|
|
|
21532
22821
|
export type SuggestedTaskInfo = z.infer<typeof SuggestedTaskInfoSchema>;
|
|
21533
22822
|
export type SuggestedTaskState = z.infer<typeof SuggestedTaskStateSchema>;
|
|
21534
22823
|
export type SuggestedTasksChanged = z.infer<typeof SuggestedTasksChangedSchema>;
|
|
22824
|
+
export type ContextScope = z.infer<typeof ContextScopeSchema>;
|
|
22825
|
+
export type ContextCategory = z.infer<typeof ContextCategorySchema>;
|
|
22826
|
+
export type ContextCostClass = z.infer<typeof ContextCostClassSchema>;
|
|
22827
|
+
export type ContextSeverity = z.infer<typeof ContextSeveritySchema>;
|
|
22828
|
+
export type ContextConfidence = z.infer<typeof ContextConfidenceSchema>;
|
|
22829
|
+
export type ContextFinding = z.infer<typeof ContextFindingSchema>;
|
|
22830
|
+
export type ContextNode = z.infer<typeof ContextNodeSchema>;
|
|
22831
|
+
export type ContextEdge = z.infer<typeof ContextEdgeSchema>;
|
|
22832
|
+
export type ContextCategoryTotal = z.infer<typeof ContextCategoryTotalSchema>;
|
|
22833
|
+
export type ContextReport = z.infer<typeof ContextReportSchema>;
|
|
22834
|
+
export type ContextReportChanged = z.infer<typeof ContextReportChangedSchema>;
|
|
21535
22835
|
export type TasksSuggestedStartMode = z.infer<typeof TasksSuggestedStartModeSchema>;
|
|
21536
22836
|
export type TasksSuggestedStartResponseMessage = z.infer<typeof TasksSuggestedStartResponseMessageSchema>;
|
|
21537
22837
|
export type TasksSuggestedDismissResponseMessage = z.infer<typeof TasksSuggestedDismissResponseMessageSchema>;
|
|
@@ -21580,7 +22880,14 @@ export type AgentContextGetUsageResponseMessage = z.infer<typeof AgentContextGet
|
|
|
21580
22880
|
export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListResponseMessageSchema>;
|
|
21581
22881
|
export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
|
|
21582
22882
|
export type StatsActivityGetResponseMessage = z.infer<typeof StatsActivityGetResponseMessageSchema>;
|
|
22883
|
+
export type ContextReportGetResponseMessage = z.infer<typeof ContextReportGetResponseMessageSchema>;
|
|
22884
|
+
export type ContextEdgeConvertResponseMessage = z.infer<typeof ContextEdgeConvertResponseMessageSchema>;
|
|
22885
|
+
export type StatsActivityResetRequestMessage = z.infer<typeof StatsActivityResetRequestMessageSchema>;
|
|
22886
|
+
export type StatsActivityResetResponseMessage = z.infer<typeof StatsActivityResetResponseMessageSchema>;
|
|
21583
22887
|
export type ActivityStatsChanged = z.infer<typeof ActivityStatsChangedSchema>;
|
|
22888
|
+
export type UsageEvent = z.infer<typeof UsageEventSchema>;
|
|
22889
|
+
export type UsageLogGetRequestMessage = z.infer<typeof UsageLogGetRequestMessageSchema>;
|
|
22890
|
+
export type UsageLogGetResponseMessage = z.infer<typeof UsageLogGetResponseMessageSchema>;
|
|
21584
22891
|
export type ChatCreateResponse = z.infer<typeof ChatCreateResponseSchema>;
|
|
21585
22892
|
export type ChatListResponse = z.infer<typeof ChatListResponseSchema>;
|
|
21586
22893
|
export type ChatInspectResponse = z.infer<typeof ChatInspectResponseSchema>;
|
|
@@ -22431,10 +23738,25 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22431
23738
|
config: z.ZodObject<{
|
|
22432
23739
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
22433
23740
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
23741
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23742
|
+
artifacts: "artifacts";
|
|
23743
|
+
preview: "preview";
|
|
23744
|
+
browser: "browser";
|
|
23745
|
+
web: "web";
|
|
23746
|
+
agents: "agents";
|
|
23747
|
+
terminals: "terminals";
|
|
23748
|
+
schedules: "schedules";
|
|
23749
|
+
workspace: "workspace";
|
|
23750
|
+
}>>>>;
|
|
22434
23751
|
}, z.core.$loose>>>;
|
|
22435
23752
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
22436
23753
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22437
23754
|
}, z.core.$loose>>>;
|
|
23755
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
23756
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23757
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23758
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23759
|
+
}, z.core.$loose>>>;
|
|
22438
23760
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
22439
23761
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22440
23762
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -22460,6 +23782,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22460
23782
|
model: z.ZodOptional<z.ZodString>;
|
|
22461
23783
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
22462
23784
|
}, z.core.$loose>>>>;
|
|
23785
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23786
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22463
23787
|
}, z.core.$loose>>>;
|
|
22464
23788
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22465
23789
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -22830,6 +24154,34 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22830
24154
|
}, z.core.$strip>, z.ZodObject<{
|
|
22831
24155
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
22832
24156
|
requestId: z.ZodString;
|
|
24157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24158
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
24159
|
+
requestId: z.ZodString;
|
|
24160
|
+
workspaceId: z.ZodString;
|
|
24161
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
24162
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
24163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24164
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
24165
|
+
requestId: z.ZodString;
|
|
24166
|
+
workspaceId: z.ZodString;
|
|
24167
|
+
filePath: z.ZodString;
|
|
24168
|
+
rawTarget: z.ZodString;
|
|
24169
|
+
range: z.ZodObject<{
|
|
24170
|
+
start: z.ZodNumber;
|
|
24171
|
+
end: z.ZodNumber;
|
|
24172
|
+
}, z.core.$strip>;
|
|
24173
|
+
target: z.ZodEnum<{
|
|
24174
|
+
import: "import";
|
|
24175
|
+
reference: "reference";
|
|
24176
|
+
}>;
|
|
24177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24178
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
24179
|
+
requestId: z.ZodString;
|
|
24180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24181
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
24182
|
+
requestId: z.ZodString;
|
|
24183
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
24184
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
22833
24185
|
}, z.core.$strip>, z.ZodObject<{
|
|
22834
24186
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
22835
24187
|
agentId: z.ZodString;
|
|
@@ -22905,8 +24257,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22905
24257
|
agentId: z.ZodString;
|
|
22906
24258
|
requestId: z.ZodString;
|
|
22907
24259
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
22908
|
-
tail: "tail";
|
|
22909
24260
|
before: "before";
|
|
24261
|
+
tail: "tail";
|
|
22910
24262
|
after: "after";
|
|
22911
24263
|
}>>;
|
|
22912
24264
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -26648,8 +28000,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26648
28000
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
26649
28001
|
}, z.core.$strip>>;
|
|
26650
28002
|
direction: z.ZodEnum<{
|
|
26651
|
-
tail: "tail";
|
|
26652
28003
|
before: "before";
|
|
28004
|
+
tail: "tail";
|
|
26653
28005
|
after: "after";
|
|
26654
28006
|
}>;
|
|
26655
28007
|
projection: z.ZodEnum<{
|
|
@@ -27371,10 +28723,25 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27371
28723
|
config: z.ZodObject<{
|
|
27372
28724
|
mcp: z.ZodObject<{
|
|
27373
28725
|
injectIntoAgents: z.ZodBoolean;
|
|
28726
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28727
|
+
artifacts: "artifacts";
|
|
28728
|
+
preview: "preview";
|
|
28729
|
+
browser: "browser";
|
|
28730
|
+
web: "web";
|
|
28731
|
+
agents: "agents";
|
|
28732
|
+
terminals: "terminals";
|
|
28733
|
+
schedules: "schedules";
|
|
28734
|
+
workspace: "workspace";
|
|
28735
|
+
}>>>;
|
|
27374
28736
|
}, z.core.$loose>;
|
|
27375
28737
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
27376
28738
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
27377
28739
|
}, z.core.$loose>>;
|
|
28740
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
28741
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
28742
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
28743
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
28744
|
+
}, z.core.$loose>>;
|
|
27378
28745
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27379
28746
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27380
28747
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -27400,6 +28767,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27400
28767
|
model: z.ZodOptional<z.ZodString>;
|
|
27401
28768
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
27402
28769
|
}, z.core.$loose>>>;
|
|
28770
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
28771
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
27403
28772
|
}, z.core.$loose>>;
|
|
27404
28773
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
27405
28774
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -27500,10 +28869,25 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27500
28869
|
config: z.ZodObject<{
|
|
27501
28870
|
mcp: z.ZodObject<{
|
|
27502
28871
|
injectIntoAgents: z.ZodBoolean;
|
|
28872
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28873
|
+
artifacts: "artifacts";
|
|
28874
|
+
preview: "preview";
|
|
28875
|
+
browser: "browser";
|
|
28876
|
+
web: "web";
|
|
28877
|
+
agents: "agents";
|
|
28878
|
+
terminals: "terminals";
|
|
28879
|
+
schedules: "schedules";
|
|
28880
|
+
workspace: "workspace";
|
|
28881
|
+
}>>>;
|
|
27503
28882
|
}, z.core.$loose>;
|
|
27504
28883
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
27505
28884
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
27506
28885
|
}, z.core.$loose>>;
|
|
28886
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
28887
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
28888
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
28889
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
28890
|
+
}, z.core.$loose>>;
|
|
27507
28891
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27508
28892
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27509
28893
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -27529,6 +28913,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27529
28913
|
model: z.ZodOptional<z.ZodString>;
|
|
27530
28914
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
27531
28915
|
}, z.core.$loose>>>;
|
|
28916
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
28917
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
27532
28918
|
}, z.core.$loose>>;
|
|
27533
28919
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
27534
28920
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -27931,6 +29317,134 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27931
29317
|
updatedAt: z.ZodString;
|
|
27932
29318
|
}, z.core.$strip>>;
|
|
27933
29319
|
}, z.core.$strip>;
|
|
29320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29321
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
29322
|
+
payload: z.ZodObject<{
|
|
29323
|
+
workspaceId: z.ZodString;
|
|
29324
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
29325
|
+
workspaceId: z.ZodString;
|
|
29326
|
+
provider: z.ZodString;
|
|
29327
|
+
windowTokens: z.ZodNumber;
|
|
29328
|
+
scannedAt: z.ZodString;
|
|
29329
|
+
confidence: z.ZodEnum<{
|
|
29330
|
+
exact: "exact";
|
|
29331
|
+
convention: "convention";
|
|
29332
|
+
unverified: "unverified";
|
|
29333
|
+
}>;
|
|
29334
|
+
supported: z.ZodBoolean;
|
|
29335
|
+
supportsImports: z.ZodBoolean;
|
|
29336
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
29337
|
+
id: z.ZodString;
|
|
29338
|
+
path: z.ZodString;
|
|
29339
|
+
relPath: z.ZodString;
|
|
29340
|
+
scope: z.ZodEnum<{
|
|
29341
|
+
local: "local";
|
|
29342
|
+
enterprise: "enterprise";
|
|
29343
|
+
global: "global";
|
|
29344
|
+
project: "project";
|
|
29345
|
+
subdirectory: "subdirectory";
|
|
29346
|
+
runtime: "runtime";
|
|
29347
|
+
}>;
|
|
29348
|
+
category: z.ZodEnum<{
|
|
29349
|
+
context_files: "context_files";
|
|
29350
|
+
memory_index: "memory_index";
|
|
29351
|
+
skills_roster: "skills_roster";
|
|
29352
|
+
mcp_tools: "mcp_tools";
|
|
29353
|
+
otto_injected: "otto_injected";
|
|
29354
|
+
system_prompt: "system_prompt";
|
|
29355
|
+
}>;
|
|
29356
|
+
costClass: z.ZodEnum<{
|
|
29357
|
+
fixed: "fixed";
|
|
29358
|
+
conditional: "conditional";
|
|
29359
|
+
referenced: "referenced";
|
|
29360
|
+
}>;
|
|
29361
|
+
bytes: z.ZodNumber;
|
|
29362
|
+
estTokens: z.ZodNumber;
|
|
29363
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
29364
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
29365
|
+
kind: z.ZodEnum<{
|
|
29366
|
+
dead_import: "dead_import";
|
|
29367
|
+
dead_reference: "dead_reference";
|
|
29368
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
29369
|
+
duplicate_within_file: "duplicate_within_file";
|
|
29370
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
29371
|
+
import_cycle: "import_cycle";
|
|
29372
|
+
depth_capped: "depth_capped";
|
|
29373
|
+
}>;
|
|
29374
|
+
message: z.ZodString;
|
|
29375
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
29376
|
+
start: z.ZodNumber;
|
|
29377
|
+
end: z.ZodNumber;
|
|
29378
|
+
}, z.core.$strip>>;
|
|
29379
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29380
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
29381
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
29382
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
29383
|
+
}, z.core.$strip>>;
|
|
29384
|
+
}, z.core.$strip>>;
|
|
29385
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
29386
|
+
fromNodeId: z.ZodString;
|
|
29387
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
29388
|
+
kind: z.ZodEnum<{
|
|
29389
|
+
import: "import";
|
|
29390
|
+
reference: "reference";
|
|
29391
|
+
}>;
|
|
29392
|
+
rawTarget: z.ZodString;
|
|
29393
|
+
range: z.ZodObject<{
|
|
29394
|
+
start: z.ZodNumber;
|
|
29395
|
+
end: z.ZodNumber;
|
|
29396
|
+
}, z.core.$strip>;
|
|
29397
|
+
}, z.core.$strip>>;
|
|
29398
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
29399
|
+
category: z.ZodEnum<{
|
|
29400
|
+
context_files: "context_files";
|
|
29401
|
+
memory_index: "memory_index";
|
|
29402
|
+
skills_roster: "skills_roster";
|
|
29403
|
+
mcp_tools: "mcp_tools";
|
|
29404
|
+
otto_injected: "otto_injected";
|
|
29405
|
+
system_prompt: "system_prompt";
|
|
29406
|
+
}>;
|
|
29407
|
+
estTokens: z.ZodNumber;
|
|
29408
|
+
sharePercent: z.ZodNumber;
|
|
29409
|
+
severity: z.ZodEnum<{
|
|
29410
|
+
ok: "ok";
|
|
29411
|
+
notice: "notice";
|
|
29412
|
+
warn: "warn";
|
|
29413
|
+
critical: "critical";
|
|
29414
|
+
}>;
|
|
29415
|
+
}, z.core.$strip>>;
|
|
29416
|
+
fixedTotal: z.ZodNumber;
|
|
29417
|
+
conditionalTotal: z.ZodNumber;
|
|
29418
|
+
referencedTotal: z.ZodNumber;
|
|
29419
|
+
workingRoom: z.ZodNumber;
|
|
29420
|
+
aggregateSeverity: z.ZodEnum<{
|
|
29421
|
+
ok: "ok";
|
|
29422
|
+
notice: "notice";
|
|
29423
|
+
warn: "warn";
|
|
29424
|
+
critical: "critical";
|
|
29425
|
+
}>;
|
|
29426
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
29427
|
+
kind: z.ZodEnum<{
|
|
29428
|
+
dead_import: "dead_import";
|
|
29429
|
+
dead_reference: "dead_reference";
|
|
29430
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
29431
|
+
duplicate_within_file: "duplicate_within_file";
|
|
29432
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
29433
|
+
import_cycle: "import_cycle";
|
|
29434
|
+
depth_capped: "depth_capped";
|
|
29435
|
+
}>;
|
|
29436
|
+
message: z.ZodString;
|
|
29437
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
29438
|
+
start: z.ZodNumber;
|
|
29439
|
+
end: z.ZodNumber;
|
|
29440
|
+
}, z.core.$strip>>;
|
|
29441
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29442
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
29443
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
29444
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
29445
|
+
}, z.core.$strip>>;
|
|
29446
|
+
}, z.core.$strip>>;
|
|
29447
|
+
}, z.core.$strip>;
|
|
27934
29448
|
}, z.core.$strip>, z.ZodObject<{
|
|
27935
29449
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
27936
29450
|
payload: z.ZodObject<{
|
|
@@ -30186,6 +31700,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30186
31700
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30187
31701
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30188
31702
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31703
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31704
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31705
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31706
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31707
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31708
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31709
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31710
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31711
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31712
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31713
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31714
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31715
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31716
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30189
31717
|
}, z.core.$strip>;
|
|
30190
31718
|
yesterday: z.ZodObject<{
|
|
30191
31719
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30200,6 +31728,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30200
31728
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30201
31729
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30202
31730
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31731
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31732
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31733
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31734
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31735
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31736
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31737
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31738
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31739
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31740
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31741
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31742
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31743
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31744
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30203
31745
|
}, z.core.$strip>;
|
|
30204
31746
|
last7Days: z.ZodObject<{
|
|
30205
31747
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30214,6 +31756,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30214
31756
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30215
31757
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30216
31758
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31759
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31760
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31761
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31762
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31763
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31764
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31765
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31766
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31767
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31768
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31769
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31770
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31771
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31772
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30217
31773
|
}, z.core.$strip>;
|
|
30218
31774
|
last30Days: z.ZodObject<{
|
|
30219
31775
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30228,6 +31784,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30228
31784
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30229
31785
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30230
31786
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31787
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31788
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31789
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31790
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31791
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31792
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31793
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31794
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31795
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31796
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31797
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31798
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31799
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31800
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30231
31801
|
}, z.core.$strip>;
|
|
30232
31802
|
allTime: z.ZodObject<{
|
|
30233
31803
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -30242,8 +31812,187 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
30242
31812
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
30243
31813
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
30244
31814
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
31815
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31816
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31817
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31818
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31819
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31820
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31821
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31822
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31823
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31824
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31825
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31826
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31827
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31828
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
30245
31829
|
}, z.core.$strip>;
|
|
30246
31830
|
}, z.core.$strip>;
|
|
31831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31832
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
31833
|
+
payload: z.ZodObject<{
|
|
31834
|
+
requestId: z.ZodString;
|
|
31835
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
31836
|
+
workspaceId: z.ZodString;
|
|
31837
|
+
provider: z.ZodString;
|
|
31838
|
+
windowTokens: z.ZodNumber;
|
|
31839
|
+
scannedAt: z.ZodString;
|
|
31840
|
+
confidence: z.ZodEnum<{
|
|
31841
|
+
exact: "exact";
|
|
31842
|
+
convention: "convention";
|
|
31843
|
+
unverified: "unverified";
|
|
31844
|
+
}>;
|
|
31845
|
+
supported: z.ZodBoolean;
|
|
31846
|
+
supportsImports: z.ZodBoolean;
|
|
31847
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
31848
|
+
id: z.ZodString;
|
|
31849
|
+
path: z.ZodString;
|
|
31850
|
+
relPath: z.ZodString;
|
|
31851
|
+
scope: z.ZodEnum<{
|
|
31852
|
+
local: "local";
|
|
31853
|
+
enterprise: "enterprise";
|
|
31854
|
+
global: "global";
|
|
31855
|
+
project: "project";
|
|
31856
|
+
subdirectory: "subdirectory";
|
|
31857
|
+
runtime: "runtime";
|
|
31858
|
+
}>;
|
|
31859
|
+
category: z.ZodEnum<{
|
|
31860
|
+
context_files: "context_files";
|
|
31861
|
+
memory_index: "memory_index";
|
|
31862
|
+
skills_roster: "skills_roster";
|
|
31863
|
+
mcp_tools: "mcp_tools";
|
|
31864
|
+
otto_injected: "otto_injected";
|
|
31865
|
+
system_prompt: "system_prompt";
|
|
31866
|
+
}>;
|
|
31867
|
+
costClass: z.ZodEnum<{
|
|
31868
|
+
fixed: "fixed";
|
|
31869
|
+
conditional: "conditional";
|
|
31870
|
+
referenced: "referenced";
|
|
31871
|
+
}>;
|
|
31872
|
+
bytes: z.ZodNumber;
|
|
31873
|
+
estTokens: z.ZodNumber;
|
|
31874
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
31875
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
31876
|
+
kind: z.ZodEnum<{
|
|
31877
|
+
dead_import: "dead_import";
|
|
31878
|
+
dead_reference: "dead_reference";
|
|
31879
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
31880
|
+
duplicate_within_file: "duplicate_within_file";
|
|
31881
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
31882
|
+
import_cycle: "import_cycle";
|
|
31883
|
+
depth_capped: "depth_capped";
|
|
31884
|
+
}>;
|
|
31885
|
+
message: z.ZodString;
|
|
31886
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
31887
|
+
start: z.ZodNumber;
|
|
31888
|
+
end: z.ZodNumber;
|
|
31889
|
+
}, z.core.$strip>>;
|
|
31890
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31891
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
31892
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
31893
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
31894
|
+
}, z.core.$strip>>;
|
|
31895
|
+
}, z.core.$strip>>;
|
|
31896
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
31897
|
+
fromNodeId: z.ZodString;
|
|
31898
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
31899
|
+
kind: z.ZodEnum<{
|
|
31900
|
+
import: "import";
|
|
31901
|
+
reference: "reference";
|
|
31902
|
+
}>;
|
|
31903
|
+
rawTarget: z.ZodString;
|
|
31904
|
+
range: z.ZodObject<{
|
|
31905
|
+
start: z.ZodNumber;
|
|
31906
|
+
end: z.ZodNumber;
|
|
31907
|
+
}, z.core.$strip>;
|
|
31908
|
+
}, z.core.$strip>>;
|
|
31909
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
31910
|
+
category: z.ZodEnum<{
|
|
31911
|
+
context_files: "context_files";
|
|
31912
|
+
memory_index: "memory_index";
|
|
31913
|
+
skills_roster: "skills_roster";
|
|
31914
|
+
mcp_tools: "mcp_tools";
|
|
31915
|
+
otto_injected: "otto_injected";
|
|
31916
|
+
system_prompt: "system_prompt";
|
|
31917
|
+
}>;
|
|
31918
|
+
estTokens: z.ZodNumber;
|
|
31919
|
+
sharePercent: z.ZodNumber;
|
|
31920
|
+
severity: z.ZodEnum<{
|
|
31921
|
+
ok: "ok";
|
|
31922
|
+
notice: "notice";
|
|
31923
|
+
warn: "warn";
|
|
31924
|
+
critical: "critical";
|
|
31925
|
+
}>;
|
|
31926
|
+
}, z.core.$strip>>;
|
|
31927
|
+
fixedTotal: z.ZodNumber;
|
|
31928
|
+
conditionalTotal: z.ZodNumber;
|
|
31929
|
+
referencedTotal: z.ZodNumber;
|
|
31930
|
+
workingRoom: z.ZodNumber;
|
|
31931
|
+
aggregateSeverity: z.ZodEnum<{
|
|
31932
|
+
ok: "ok";
|
|
31933
|
+
notice: "notice";
|
|
31934
|
+
warn: "warn";
|
|
31935
|
+
critical: "critical";
|
|
31936
|
+
}>;
|
|
31937
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
31938
|
+
kind: z.ZodEnum<{
|
|
31939
|
+
dead_import: "dead_import";
|
|
31940
|
+
dead_reference: "dead_reference";
|
|
31941
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
31942
|
+
duplicate_within_file: "duplicate_within_file";
|
|
31943
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
31944
|
+
import_cycle: "import_cycle";
|
|
31945
|
+
depth_capped: "depth_capped";
|
|
31946
|
+
}>;
|
|
31947
|
+
message: z.ZodString;
|
|
31948
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
31949
|
+
start: z.ZodNumber;
|
|
31950
|
+
end: z.ZodNumber;
|
|
31951
|
+
}, z.core.$strip>>;
|
|
31952
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31953
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
31954
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
31955
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
31956
|
+
}, z.core.$strip>>;
|
|
31957
|
+
}, z.core.$strip>>;
|
|
31958
|
+
}, z.core.$strip>;
|
|
31959
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31960
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
31961
|
+
payload: z.ZodObject<{
|
|
31962
|
+
requestId: z.ZodString;
|
|
31963
|
+
ok: z.ZodBoolean;
|
|
31964
|
+
error: z.ZodOptional<z.ZodString>;
|
|
31965
|
+
}, z.core.$strip>;
|
|
31966
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31967
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
31968
|
+
payload: z.ZodObject<{
|
|
31969
|
+
requestId: z.ZodString;
|
|
31970
|
+
}, z.core.$strip>;
|
|
31971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31972
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
31973
|
+
payload: z.ZodObject<{
|
|
31974
|
+
requestId: z.ZodString;
|
|
31975
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
31976
|
+
id: z.ZodString;
|
|
31977
|
+
at: z.ZodNumber;
|
|
31978
|
+
kind: z.ZodString;
|
|
31979
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
31980
|
+
provider: z.ZodString;
|
|
31981
|
+
model: z.ZodOptional<z.ZodString>;
|
|
31982
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
31983
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
31984
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
31985
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
31986
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
31987
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
31988
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
31989
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
31990
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
31991
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
31992
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
31993
|
+
}, z.core.$strip>>>;
|
|
31994
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
31995
|
+
}, z.core.$strip>;
|
|
30247
31996
|
}, z.core.$strip>, z.ZodObject<{
|
|
30248
31997
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
30249
31998
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -32399,10 +34148,25 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32399
34148
|
config: z.ZodObject<{
|
|
32400
34149
|
mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
32401
34150
|
injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
|
|
34151
|
+
toolGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34152
|
+
artifacts: "artifacts";
|
|
34153
|
+
preview: "preview";
|
|
34154
|
+
browser: "browser";
|
|
34155
|
+
web: "web";
|
|
34156
|
+
agents: "agents";
|
|
34157
|
+
terminals: "terminals";
|
|
34158
|
+
schedules: "schedules";
|
|
34159
|
+
workspace: "workspace";
|
|
34160
|
+
}>>>>;
|
|
32402
34161
|
}, z.core.$loose>>>;
|
|
32403
34162
|
browserTools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
32404
34163
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
32405
34164
|
}, z.core.$loose>>>;
|
|
34165
|
+
agentBehaviors: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
34166
|
+
promptSuggestions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34167
|
+
agentProgressSummaries: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34168
|
+
notifyOnFinishDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34169
|
+
}, z.core.$loose>>>;
|
|
32406
34170
|
providers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
32407
34171
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
32408
34172
|
additionalModels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -32428,6 +34192,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32428
34192
|
model: z.ZodOptional<z.ZodString>;
|
|
32429
34193
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
32430
34194
|
}, z.core.$loose>>>>;
|
|
34195
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34196
|
+
preferWriterPersonalities: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
32431
34197
|
}, z.core.$loose>>>;
|
|
32432
34198
|
autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
32433
34199
|
enableTerminalAgentHooks: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -32798,6 +34564,34 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32798
34564
|
}, z.core.$strip>, z.ZodObject<{
|
|
32799
34565
|
type: z.ZodLiteral<"stats.activity.get.request">;
|
|
32800
34566
|
requestId: z.ZodString;
|
|
34567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34568
|
+
type: z.ZodLiteral<"context.report.get.request">;
|
|
34569
|
+
requestId: z.ZodString;
|
|
34570
|
+
workspaceId: z.ZodString;
|
|
34571
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
34572
|
+
windowTokens: z.ZodOptional<z.ZodNumber>;
|
|
34573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34574
|
+
type: z.ZodLiteral<"context.edge.convert.request">;
|
|
34575
|
+
requestId: z.ZodString;
|
|
34576
|
+
workspaceId: z.ZodString;
|
|
34577
|
+
filePath: z.ZodString;
|
|
34578
|
+
rawTarget: z.ZodString;
|
|
34579
|
+
range: z.ZodObject<{
|
|
34580
|
+
start: z.ZodNumber;
|
|
34581
|
+
end: z.ZodNumber;
|
|
34582
|
+
}, z.core.$strip>;
|
|
34583
|
+
target: z.ZodEnum<{
|
|
34584
|
+
import: "import";
|
|
34585
|
+
reference: "reference";
|
|
34586
|
+
}>;
|
|
34587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34588
|
+
type: z.ZodLiteral<"stats.activity.reset.request">;
|
|
34589
|
+
requestId: z.ZodString;
|
|
34590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34591
|
+
type: z.ZodLiteral<"usage.log.get.request">;
|
|
34592
|
+
requestId: z.ZodString;
|
|
34593
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
34594
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
32801
34595
|
}, z.core.$strip>, z.ZodObject<{
|
|
32802
34596
|
type: z.ZodLiteral<"agent.context.get_usage.request">;
|
|
32803
34597
|
agentId: z.ZodString;
|
|
@@ -32873,8 +34667,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32873
34667
|
agentId: z.ZodString;
|
|
32874
34668
|
requestId: z.ZodString;
|
|
32875
34669
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
32876
|
-
tail: "tail";
|
|
32877
34670
|
before: "before";
|
|
34671
|
+
tail: "tail";
|
|
32878
34672
|
after: "after";
|
|
32879
34673
|
}>>;
|
|
32880
34674
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
@@ -36618,8 +38412,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36618
38412
|
personalityId: z.ZodOptional<z.ZodString>;
|
|
36619
38413
|
}, z.core.$strip>>;
|
|
36620
38414
|
direction: z.ZodEnum<{
|
|
36621
|
-
tail: "tail";
|
|
36622
38415
|
before: "before";
|
|
38416
|
+
tail: "tail";
|
|
36623
38417
|
after: "after";
|
|
36624
38418
|
}>;
|
|
36625
38419
|
projection: z.ZodEnum<{
|
|
@@ -37341,10 +39135,25 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37341
39135
|
config: z.ZodObject<{
|
|
37342
39136
|
mcp: z.ZodObject<{
|
|
37343
39137
|
injectIntoAgents: z.ZodBoolean;
|
|
39138
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39139
|
+
artifacts: "artifacts";
|
|
39140
|
+
preview: "preview";
|
|
39141
|
+
browser: "browser";
|
|
39142
|
+
web: "web";
|
|
39143
|
+
agents: "agents";
|
|
39144
|
+
terminals: "terminals";
|
|
39145
|
+
schedules: "schedules";
|
|
39146
|
+
workspace: "workspace";
|
|
39147
|
+
}>>>;
|
|
37344
39148
|
}, z.core.$loose>;
|
|
37345
39149
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
37346
39150
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
37347
39151
|
}, z.core.$loose>>;
|
|
39152
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
39153
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
39154
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
39155
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
39156
|
+
}, z.core.$loose>>;
|
|
37348
39157
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37349
39158
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
37350
39159
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -37370,6 +39179,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37370
39179
|
model: z.ZodOptional<z.ZodString>;
|
|
37371
39180
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
37372
39181
|
}, z.core.$loose>>>;
|
|
39182
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
39183
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
37373
39184
|
}, z.core.$loose>>;
|
|
37374
39185
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
37375
39186
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -37470,10 +39281,25 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37470
39281
|
config: z.ZodObject<{
|
|
37471
39282
|
mcp: z.ZodObject<{
|
|
37472
39283
|
injectIntoAgents: z.ZodBoolean;
|
|
39284
|
+
toolGroups: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39285
|
+
artifacts: "artifacts";
|
|
39286
|
+
preview: "preview";
|
|
39287
|
+
browser: "browser";
|
|
39288
|
+
web: "web";
|
|
39289
|
+
agents: "agents";
|
|
39290
|
+
terminals: "terminals";
|
|
39291
|
+
schedules: "schedules";
|
|
39292
|
+
workspace: "workspace";
|
|
39293
|
+
}>>>;
|
|
37473
39294
|
}, z.core.$loose>;
|
|
37474
39295
|
browserTools: z.ZodDefault<z.ZodObject<{
|
|
37475
39296
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
37476
39297
|
}, z.core.$loose>>;
|
|
39298
|
+
agentBehaviors: z.ZodDefault<z.ZodObject<{
|
|
39299
|
+
promptSuggestions: z.ZodDefault<z.ZodBoolean>;
|
|
39300
|
+
agentProgressSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
39301
|
+
notifyOnFinishDefault: z.ZodDefault<z.ZodBoolean>;
|
|
39302
|
+
}, z.core.$loose>>;
|
|
37477
39303
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37478
39304
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
37479
39305
|
additionalModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -37499,6 +39325,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37499
39325
|
model: z.ZodOptional<z.ZodString>;
|
|
37500
39326
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
37501
39327
|
}, z.core.$loose>>>;
|
|
39328
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
39329
|
+
preferWriterPersonalities: z.ZodDefault<z.ZodBoolean>;
|
|
37502
39330
|
}, z.core.$loose>>;
|
|
37503
39331
|
autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
|
|
37504
39332
|
enableTerminalAgentHooks: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -37901,6 +39729,134 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37901
39729
|
updatedAt: z.ZodString;
|
|
37902
39730
|
}, z.core.$strip>>;
|
|
37903
39731
|
}, z.core.$strip>;
|
|
39732
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39733
|
+
type: z.ZodLiteral<"context_report_changed">;
|
|
39734
|
+
payload: z.ZodObject<{
|
|
39735
|
+
workspaceId: z.ZodString;
|
|
39736
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
39737
|
+
workspaceId: z.ZodString;
|
|
39738
|
+
provider: z.ZodString;
|
|
39739
|
+
windowTokens: z.ZodNumber;
|
|
39740
|
+
scannedAt: z.ZodString;
|
|
39741
|
+
confidence: z.ZodEnum<{
|
|
39742
|
+
exact: "exact";
|
|
39743
|
+
convention: "convention";
|
|
39744
|
+
unverified: "unverified";
|
|
39745
|
+
}>;
|
|
39746
|
+
supported: z.ZodBoolean;
|
|
39747
|
+
supportsImports: z.ZodBoolean;
|
|
39748
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
39749
|
+
id: z.ZodString;
|
|
39750
|
+
path: z.ZodString;
|
|
39751
|
+
relPath: z.ZodString;
|
|
39752
|
+
scope: z.ZodEnum<{
|
|
39753
|
+
local: "local";
|
|
39754
|
+
enterprise: "enterprise";
|
|
39755
|
+
global: "global";
|
|
39756
|
+
project: "project";
|
|
39757
|
+
subdirectory: "subdirectory";
|
|
39758
|
+
runtime: "runtime";
|
|
39759
|
+
}>;
|
|
39760
|
+
category: z.ZodEnum<{
|
|
39761
|
+
context_files: "context_files";
|
|
39762
|
+
memory_index: "memory_index";
|
|
39763
|
+
skills_roster: "skills_roster";
|
|
39764
|
+
mcp_tools: "mcp_tools";
|
|
39765
|
+
otto_injected: "otto_injected";
|
|
39766
|
+
system_prompt: "system_prompt";
|
|
39767
|
+
}>;
|
|
39768
|
+
costClass: z.ZodEnum<{
|
|
39769
|
+
fixed: "fixed";
|
|
39770
|
+
conditional: "conditional";
|
|
39771
|
+
referenced: "referenced";
|
|
39772
|
+
}>;
|
|
39773
|
+
bytes: z.ZodNumber;
|
|
39774
|
+
estTokens: z.ZodNumber;
|
|
39775
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
39776
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
39777
|
+
kind: z.ZodEnum<{
|
|
39778
|
+
dead_import: "dead_import";
|
|
39779
|
+
dead_reference: "dead_reference";
|
|
39780
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
39781
|
+
duplicate_within_file: "duplicate_within_file";
|
|
39782
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
39783
|
+
import_cycle: "import_cycle";
|
|
39784
|
+
depth_capped: "depth_capped";
|
|
39785
|
+
}>;
|
|
39786
|
+
message: z.ZodString;
|
|
39787
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
39788
|
+
start: z.ZodNumber;
|
|
39789
|
+
end: z.ZodNumber;
|
|
39790
|
+
}, z.core.$strip>>;
|
|
39791
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39792
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
39793
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
39794
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
39795
|
+
}, z.core.$strip>>;
|
|
39796
|
+
}, z.core.$strip>>;
|
|
39797
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
39798
|
+
fromNodeId: z.ZodString;
|
|
39799
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
39800
|
+
kind: z.ZodEnum<{
|
|
39801
|
+
import: "import";
|
|
39802
|
+
reference: "reference";
|
|
39803
|
+
}>;
|
|
39804
|
+
rawTarget: z.ZodString;
|
|
39805
|
+
range: z.ZodObject<{
|
|
39806
|
+
start: z.ZodNumber;
|
|
39807
|
+
end: z.ZodNumber;
|
|
39808
|
+
}, z.core.$strip>;
|
|
39809
|
+
}, z.core.$strip>>;
|
|
39810
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
39811
|
+
category: z.ZodEnum<{
|
|
39812
|
+
context_files: "context_files";
|
|
39813
|
+
memory_index: "memory_index";
|
|
39814
|
+
skills_roster: "skills_roster";
|
|
39815
|
+
mcp_tools: "mcp_tools";
|
|
39816
|
+
otto_injected: "otto_injected";
|
|
39817
|
+
system_prompt: "system_prompt";
|
|
39818
|
+
}>;
|
|
39819
|
+
estTokens: z.ZodNumber;
|
|
39820
|
+
sharePercent: z.ZodNumber;
|
|
39821
|
+
severity: z.ZodEnum<{
|
|
39822
|
+
ok: "ok";
|
|
39823
|
+
notice: "notice";
|
|
39824
|
+
warn: "warn";
|
|
39825
|
+
critical: "critical";
|
|
39826
|
+
}>;
|
|
39827
|
+
}, z.core.$strip>>;
|
|
39828
|
+
fixedTotal: z.ZodNumber;
|
|
39829
|
+
conditionalTotal: z.ZodNumber;
|
|
39830
|
+
referencedTotal: z.ZodNumber;
|
|
39831
|
+
workingRoom: z.ZodNumber;
|
|
39832
|
+
aggregateSeverity: z.ZodEnum<{
|
|
39833
|
+
ok: "ok";
|
|
39834
|
+
notice: "notice";
|
|
39835
|
+
warn: "warn";
|
|
39836
|
+
critical: "critical";
|
|
39837
|
+
}>;
|
|
39838
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
39839
|
+
kind: z.ZodEnum<{
|
|
39840
|
+
dead_import: "dead_import";
|
|
39841
|
+
dead_reference: "dead_reference";
|
|
39842
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
39843
|
+
duplicate_within_file: "duplicate_within_file";
|
|
39844
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
39845
|
+
import_cycle: "import_cycle";
|
|
39846
|
+
depth_capped: "depth_capped";
|
|
39847
|
+
}>;
|
|
39848
|
+
message: z.ZodString;
|
|
39849
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
39850
|
+
start: z.ZodNumber;
|
|
39851
|
+
end: z.ZodNumber;
|
|
39852
|
+
}, z.core.$strip>>;
|
|
39853
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39854
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
39855
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
39856
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
39857
|
+
}, z.core.$strip>>;
|
|
39858
|
+
}, z.core.$strip>>;
|
|
39859
|
+
}, z.core.$strip>;
|
|
37904
39860
|
}, z.core.$strip>, z.ZodObject<{
|
|
37905
39861
|
type: z.ZodLiteral<"agent.personality.set.response">;
|
|
37906
39862
|
payload: z.ZodObject<{
|
|
@@ -40156,6 +42112,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40156
42112
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40157
42113
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40158
42114
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42115
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42116
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42117
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42118
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42119
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42120
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42121
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42122
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42123
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42124
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42125
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42126
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42127
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42128
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40159
42129
|
}, z.core.$strip>;
|
|
40160
42130
|
yesterday: z.ZodObject<{
|
|
40161
42131
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40170,6 +42140,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40170
42140
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40171
42141
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40172
42142
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42143
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42144
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42145
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42146
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42147
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42148
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42149
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42150
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42151
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42152
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42153
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42154
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42155
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42156
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40173
42157
|
}, z.core.$strip>;
|
|
40174
42158
|
last7Days: z.ZodObject<{
|
|
40175
42159
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40184,6 +42168,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40184
42168
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40185
42169
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40186
42170
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42171
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42172
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42173
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42174
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42175
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42176
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42177
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42178
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42179
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42180
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42181
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42182
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42183
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42184
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40187
42185
|
}, z.core.$strip>;
|
|
40188
42186
|
last30Days: z.ZodObject<{
|
|
40189
42187
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40198,6 +42196,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40198
42196
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40199
42197
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40200
42198
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42199
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42200
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42201
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42202
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42203
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42204
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42205
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42206
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42207
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42208
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42209
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42210
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42211
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42212
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40201
42213
|
}, z.core.$strip>;
|
|
40202
42214
|
allTime: z.ZodObject<{
|
|
40203
42215
|
messagesSent: z.ZodDefault<z.ZodNumber>;
|
|
@@ -40212,8 +42224,187 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
40212
42224
|
toolsCalled: z.ZodDefault<z.ZodNumber>;
|
|
40213
42225
|
artifactsCreated: z.ZodDefault<z.ZodNumber>;
|
|
40214
42226
|
schedulesExecuted: z.ZodDefault<z.ZodNumber>;
|
|
42227
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42228
|
+
mainChatTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42229
|
+
mainChatTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42230
|
+
mainChatCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42231
|
+
generationsTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42232
|
+
generationsTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42233
|
+
generationsCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42234
|
+
subagentTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42235
|
+
subagentTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42236
|
+
subagentCostMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42237
|
+
compactionTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42238
|
+
compactionTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42239
|
+
claudeTokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42240
|
+
claudeTokensOut: z.ZodDefault<z.ZodNumber>;
|
|
40215
42241
|
}, z.core.$strip>;
|
|
40216
42242
|
}, z.core.$strip>;
|
|
42243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42244
|
+
type: z.ZodLiteral<"context.report.get.response">;
|
|
42245
|
+
payload: z.ZodObject<{
|
|
42246
|
+
requestId: z.ZodString;
|
|
42247
|
+
report: z.ZodNullable<z.ZodObject<{
|
|
42248
|
+
workspaceId: z.ZodString;
|
|
42249
|
+
provider: z.ZodString;
|
|
42250
|
+
windowTokens: z.ZodNumber;
|
|
42251
|
+
scannedAt: z.ZodString;
|
|
42252
|
+
confidence: z.ZodEnum<{
|
|
42253
|
+
exact: "exact";
|
|
42254
|
+
convention: "convention";
|
|
42255
|
+
unverified: "unverified";
|
|
42256
|
+
}>;
|
|
42257
|
+
supported: z.ZodBoolean;
|
|
42258
|
+
supportsImports: z.ZodBoolean;
|
|
42259
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
42260
|
+
id: z.ZodString;
|
|
42261
|
+
path: z.ZodString;
|
|
42262
|
+
relPath: z.ZodString;
|
|
42263
|
+
scope: z.ZodEnum<{
|
|
42264
|
+
local: "local";
|
|
42265
|
+
enterprise: "enterprise";
|
|
42266
|
+
global: "global";
|
|
42267
|
+
project: "project";
|
|
42268
|
+
subdirectory: "subdirectory";
|
|
42269
|
+
runtime: "runtime";
|
|
42270
|
+
}>;
|
|
42271
|
+
category: z.ZodEnum<{
|
|
42272
|
+
context_files: "context_files";
|
|
42273
|
+
memory_index: "memory_index";
|
|
42274
|
+
skills_roster: "skills_roster";
|
|
42275
|
+
mcp_tools: "mcp_tools";
|
|
42276
|
+
otto_injected: "otto_injected";
|
|
42277
|
+
system_prompt: "system_prompt";
|
|
42278
|
+
}>;
|
|
42279
|
+
costClass: z.ZodEnum<{
|
|
42280
|
+
fixed: "fixed";
|
|
42281
|
+
conditional: "conditional";
|
|
42282
|
+
referenced: "referenced";
|
|
42283
|
+
}>;
|
|
42284
|
+
bytes: z.ZodNumber;
|
|
42285
|
+
estTokens: z.ZodNumber;
|
|
42286
|
+
alsoImportedByNodeIds: z.ZodArray<z.ZodString>;
|
|
42287
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
42288
|
+
kind: z.ZodEnum<{
|
|
42289
|
+
dead_import: "dead_import";
|
|
42290
|
+
dead_reference: "dead_reference";
|
|
42291
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
42292
|
+
duplicate_within_file: "duplicate_within_file";
|
|
42293
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
42294
|
+
import_cycle: "import_cycle";
|
|
42295
|
+
depth_capped: "depth_capped";
|
|
42296
|
+
}>;
|
|
42297
|
+
message: z.ZodString;
|
|
42298
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
42299
|
+
start: z.ZodNumber;
|
|
42300
|
+
end: z.ZodNumber;
|
|
42301
|
+
}, z.core.$strip>>;
|
|
42302
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42303
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
42304
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
42305
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
42306
|
+
}, z.core.$strip>>;
|
|
42307
|
+
}, z.core.$strip>>;
|
|
42308
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
42309
|
+
fromNodeId: z.ZodString;
|
|
42310
|
+
toNodeId: z.ZodNullable<z.ZodString>;
|
|
42311
|
+
kind: z.ZodEnum<{
|
|
42312
|
+
import: "import";
|
|
42313
|
+
reference: "reference";
|
|
42314
|
+
}>;
|
|
42315
|
+
rawTarget: z.ZodString;
|
|
42316
|
+
range: z.ZodObject<{
|
|
42317
|
+
start: z.ZodNumber;
|
|
42318
|
+
end: z.ZodNumber;
|
|
42319
|
+
}, z.core.$strip>;
|
|
42320
|
+
}, z.core.$strip>>;
|
|
42321
|
+
categoryTotals: z.ZodArray<z.ZodObject<{
|
|
42322
|
+
category: z.ZodEnum<{
|
|
42323
|
+
context_files: "context_files";
|
|
42324
|
+
memory_index: "memory_index";
|
|
42325
|
+
skills_roster: "skills_roster";
|
|
42326
|
+
mcp_tools: "mcp_tools";
|
|
42327
|
+
otto_injected: "otto_injected";
|
|
42328
|
+
system_prompt: "system_prompt";
|
|
42329
|
+
}>;
|
|
42330
|
+
estTokens: z.ZodNumber;
|
|
42331
|
+
sharePercent: z.ZodNumber;
|
|
42332
|
+
severity: z.ZodEnum<{
|
|
42333
|
+
ok: "ok";
|
|
42334
|
+
notice: "notice";
|
|
42335
|
+
warn: "warn";
|
|
42336
|
+
critical: "critical";
|
|
42337
|
+
}>;
|
|
42338
|
+
}, z.core.$strip>>;
|
|
42339
|
+
fixedTotal: z.ZodNumber;
|
|
42340
|
+
conditionalTotal: z.ZodNumber;
|
|
42341
|
+
referencedTotal: z.ZodNumber;
|
|
42342
|
+
workingRoom: z.ZodNumber;
|
|
42343
|
+
aggregateSeverity: z.ZodEnum<{
|
|
42344
|
+
ok: "ok";
|
|
42345
|
+
notice: "notice";
|
|
42346
|
+
warn: "warn";
|
|
42347
|
+
critical: "critical";
|
|
42348
|
+
}>;
|
|
42349
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
42350
|
+
kind: z.ZodEnum<{
|
|
42351
|
+
dead_import: "dead_import";
|
|
42352
|
+
dead_reference: "dead_reference";
|
|
42353
|
+
duplicate_across_scope: "duplicate_across_scope";
|
|
42354
|
+
duplicate_within_file: "duplicate_within_file";
|
|
42355
|
+
oversized_memory_entry: "oversized_memory_entry";
|
|
42356
|
+
import_cycle: "import_cycle";
|
|
42357
|
+
depth_capped: "depth_capped";
|
|
42358
|
+
}>;
|
|
42359
|
+
message: z.ZodString;
|
|
42360
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
42361
|
+
start: z.ZodNumber;
|
|
42362
|
+
end: z.ZodNumber;
|
|
42363
|
+
}, z.core.$strip>>;
|
|
42364
|
+
relatedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42365
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
42366
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
42367
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
42368
|
+
}, z.core.$strip>>;
|
|
42369
|
+
}, z.core.$strip>>;
|
|
42370
|
+
}, z.core.$strip>;
|
|
42371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42372
|
+
type: z.ZodLiteral<"context.edge.convert.response">;
|
|
42373
|
+
payload: z.ZodObject<{
|
|
42374
|
+
requestId: z.ZodString;
|
|
42375
|
+
ok: z.ZodBoolean;
|
|
42376
|
+
error: z.ZodOptional<z.ZodString>;
|
|
42377
|
+
}, z.core.$strip>;
|
|
42378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42379
|
+
type: z.ZodLiteral<"stats.activity.reset.response">;
|
|
42380
|
+
payload: z.ZodObject<{
|
|
42381
|
+
requestId: z.ZodString;
|
|
42382
|
+
}, z.core.$strip>;
|
|
42383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42384
|
+
type: z.ZodLiteral<"usage.log.get.response">;
|
|
42385
|
+
payload: z.ZodObject<{
|
|
42386
|
+
requestId: z.ZodString;
|
|
42387
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
42388
|
+
id: z.ZodString;
|
|
42389
|
+
at: z.ZodNumber;
|
|
42390
|
+
kind: z.ZodString;
|
|
42391
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
42392
|
+
provider: z.ZodString;
|
|
42393
|
+
model: z.ZodOptional<z.ZodString>;
|
|
42394
|
+
tokensIn: z.ZodDefault<z.ZodNumber>;
|
|
42395
|
+
cachedTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
42396
|
+
tokensOut: z.ZodDefault<z.ZodNumber>;
|
|
42397
|
+
costMicroUsd: z.ZodDefault<z.ZodNumber>;
|
|
42398
|
+
compactionTokensIn: z.ZodOptional<z.ZodNumber>;
|
|
42399
|
+
compactionTokensOut: z.ZodOptional<z.ZodNumber>;
|
|
42400
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
42401
|
+
rounds: z.ZodOptional<z.ZodNumber>;
|
|
42402
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
42403
|
+
subagentKey: z.ZodOptional<z.ZodString>;
|
|
42404
|
+
parentSubagentKey: z.ZodOptional<z.ZodString>;
|
|
42405
|
+
}, z.core.$strip>>>;
|
|
42406
|
+
hasMore: z.ZodDefault<z.ZodBoolean>;
|
|
42407
|
+
}, z.core.$strip>;
|
|
40217
42408
|
}, z.core.$strip>, z.ZodObject<{
|
|
40218
42409
|
type: z.ZodLiteral<"activity_stats_changed">;
|
|
40219
42410
|
}, z.core.$strip>, z.ZodObject<{
|