@nekro-nxt/contracts 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +436 -109
- package/dist/index.mjs.map +1 -1
- package/lib/types/extension-capabilities.d.ts +109 -4
- package/lib/types/extension-capabilities.d.ts.map +1 -1
- package/lib/types/extension-ui.d.ts +75 -6
- package/lib/types/extension-ui.d.ts.map +1 -1
- package/lib/types/host-api.d.ts +1352 -524
- package/lib/types/host-api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/extension-capabilities.ts +208 -6
- package/src/extension-ui.ts +13 -1
- package/src/host-api.ts +271 -97
package/lib/types/host-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const HostApiErrorSchema: z.ZodObject<{
|
|
|
13
13
|
export declare const ExtensionPermissionRequirementSchema: z.ZodObject<{
|
|
14
14
|
declaration: z.ZodObject<{
|
|
15
15
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
16
|
+
"assets.read": "assets.read";
|
|
16
17
|
"agents.read": "agents.read";
|
|
17
18
|
"channels.read": "channels.read";
|
|
18
19
|
"connections.read": "connections.read";
|
|
@@ -20,7 +21,6 @@ export declare const ExtensionPermissionRequirementSchema: z.ZodObject<{
|
|
|
20
21
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
21
22
|
"runtime.read": "runtime.read";
|
|
22
23
|
"messages.read": "messages.read";
|
|
23
|
-
"assets.read": "assets.read";
|
|
24
24
|
"agents.manage": "agents.manage";
|
|
25
25
|
"channels.manage": "channels.manage";
|
|
26
26
|
"connections.manage": "connections.manage";
|
|
@@ -55,6 +55,24 @@ export declare const ExtensionPermissionRequirementSchema: z.ZodObject<{
|
|
|
55
55
|
library: z.ZodOptional<z.ZodObject<{
|
|
56
56
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
}, z.core.$strict>>;
|
|
58
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
highDetail: z.ZodLiteral<true>;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
68
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
70
|
+
ffmpeg: "ffmpeg";
|
|
71
|
+
ffprobe: "ffprobe";
|
|
72
|
+
}>>;
|
|
73
|
+
}, z.core.$strict>>;
|
|
74
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
58
76
|
}, z.core.$strict>>;
|
|
59
77
|
index: z.ZodOptional<z.ZodObject<{
|
|
60
78
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -332,6 +350,11 @@ export declare const ModelFallbackReasonSchema: z.ZodEnum<{
|
|
|
332
350
|
}>;
|
|
333
351
|
export type ModelFallbackReason = z.output<typeof ModelFallbackReasonSchema>;
|
|
334
352
|
/** How long a model that failed is passed over before conversations try it again. */
|
|
353
|
+
/** 设置 → 存储 → 扩展下载上限: the most one extension download (`files.fromUrl`) may write. */
|
|
354
|
+
export declare const ExtensionDownloadSettingsSchema: z.ZodObject<{
|
|
355
|
+
maxBytes: z.ZodNumber;
|
|
356
|
+
}, z.core.$strict>;
|
|
357
|
+
export type ExtensionDownloadSettings = z.output<typeof ExtensionDownloadSettingsSchema>;
|
|
335
358
|
export declare const ModelFallbackSettingsSchema: z.ZodObject<{
|
|
336
359
|
unavailableCooldownMinutes: z.ZodNumber;
|
|
337
360
|
quotaCooldownMinutes: z.ZodNumber;
|
|
@@ -575,6 +598,10 @@ export declare const HostSnapshotMessageSchema: z.ZodObject<{
|
|
|
575
598
|
}>;
|
|
576
599
|
hidden: z.ZodBoolean;
|
|
577
600
|
annotation: z.ZodOptional<z.ZodString>;
|
|
601
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
602
|
+
label: z.ZodString;
|
|
603
|
+
text: z.ZodString;
|
|
604
|
+
}, z.core.$strict>>>;
|
|
578
605
|
extensions: z.ZodArray<z.ZodString>;
|
|
579
606
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
580
607
|
}, z.core.$strict>>;
|
|
@@ -857,6 +884,10 @@ export declare const ChannelFactSseItemSchema: z.ZodObject<{
|
|
|
857
884
|
}>;
|
|
858
885
|
hidden: z.ZodBoolean;
|
|
859
886
|
annotation: z.ZodOptional<z.ZodString>;
|
|
887
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
888
|
+
label: z.ZodString;
|
|
889
|
+
text: z.ZodString;
|
|
890
|
+
}, z.core.$strict>>>;
|
|
860
891
|
extensions: z.ZodArray<z.ZodString>;
|
|
861
892
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
862
893
|
}, z.core.$strict>>;
|
|
@@ -1084,6 +1115,10 @@ export declare const ChannelFactSseDataSchema: z.ZodObject<{
|
|
|
1084
1115
|
}>;
|
|
1085
1116
|
hidden: z.ZodBoolean;
|
|
1086
1117
|
annotation: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1119
|
+
label: z.ZodString;
|
|
1120
|
+
text: z.ZodString;
|
|
1121
|
+
}, z.core.$strict>>>;
|
|
1087
1122
|
extensions: z.ZodArray<z.ZodString>;
|
|
1088
1123
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1089
1124
|
}, z.core.$strict>>;
|
|
@@ -1124,6 +1159,12 @@ export declare const ChannelRuntimeUsageSchema: z.ZodObject<{
|
|
|
1124
1159
|
cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
|
|
1125
1160
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1126
1161
|
}, z.core.$strict>;
|
|
1162
|
+
/** The latest progress a running extension tool reported. */
|
|
1163
|
+
export declare const ChannelRuntimeToolProgressSchema: z.ZodObject<{
|
|
1164
|
+
text: z.ZodString;
|
|
1165
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1166
|
+
}, z.core.$strict>;
|
|
1167
|
+
export type ChannelRuntimeToolProgress = z.output<typeof ChannelRuntimeToolProgressSchema>;
|
|
1127
1168
|
export declare const ChannelRuntimeToolSchema: z.ZodObject<{
|
|
1128
1169
|
code: z.ZodOptional<z.ZodString>;
|
|
1129
1170
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1146,6 +1187,10 @@ export declare const ChannelRuntimeToolSchema: z.ZodObject<{
|
|
|
1146
1187
|
cancelled: "cancelled";
|
|
1147
1188
|
}>>;
|
|
1148
1189
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1190
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1191
|
+
text: z.ZodString;
|
|
1192
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1193
|
+
}, z.core.$strict>>;
|
|
1149
1194
|
}, z.core.$strict>>>;
|
|
1150
1195
|
callId: z.ZodString;
|
|
1151
1196
|
name: z.ZodString;
|
|
@@ -1166,6 +1211,10 @@ export declare const ChannelRuntimeToolSchema: z.ZodObject<{
|
|
|
1166
1211
|
cancelled: "cancelled";
|
|
1167
1212
|
}>>;
|
|
1168
1213
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1214
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1215
|
+
text: z.ZodString;
|
|
1216
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1217
|
+
}, z.core.$strict>>;
|
|
1169
1218
|
}, z.core.$strict>;
|
|
1170
1219
|
export declare const ChannelRuntimeStepSchema: z.ZodObject<{
|
|
1171
1220
|
step: z.ZodNumber;
|
|
@@ -1191,6 +1240,10 @@ export declare const ChannelRuntimeStepSchema: z.ZodObject<{
|
|
|
1191
1240
|
cancelled: "cancelled";
|
|
1192
1241
|
}>>;
|
|
1193
1242
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1243
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1244
|
+
text: z.ZodString;
|
|
1245
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1246
|
+
}, z.core.$strict>>;
|
|
1194
1247
|
}, z.core.$strict>>>;
|
|
1195
1248
|
callId: z.ZodString;
|
|
1196
1249
|
name: z.ZodString;
|
|
@@ -1211,6 +1264,10 @@ export declare const ChannelRuntimeStepSchema: z.ZodObject<{
|
|
|
1211
1264
|
cancelled: "cancelled";
|
|
1212
1265
|
}>>;
|
|
1213
1266
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1267
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1268
|
+
text: z.ZodString;
|
|
1269
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
+
}, z.core.$strict>>;
|
|
1214
1271
|
}, z.core.$strict>>;
|
|
1215
1272
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
1216
1273
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -1284,6 +1341,10 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
|
|
|
1284
1341
|
cancelled: "cancelled";
|
|
1285
1342
|
}>>;
|
|
1286
1343
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1344
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1345
|
+
text: z.ZodString;
|
|
1346
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1347
|
+
}, z.core.$strict>>;
|
|
1287
1348
|
}, z.core.$strict>>>;
|
|
1288
1349
|
callId: z.ZodString;
|
|
1289
1350
|
name: z.ZodString;
|
|
@@ -1304,6 +1365,10 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
|
|
|
1304
1365
|
cancelled: "cancelled";
|
|
1305
1366
|
}>>;
|
|
1306
1367
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1368
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1369
|
+
text: z.ZodString;
|
|
1370
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
}, z.core.$strict>>;
|
|
1307
1372
|
}, z.core.$strict>>;
|
|
1308
1373
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
1309
1374
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -1610,6 +1675,10 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
1610
1675
|
cancelled: "cancelled";
|
|
1611
1676
|
}>>;
|
|
1612
1677
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1679
|
+
text: z.ZodString;
|
|
1680
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1681
|
+
}, z.core.$strict>>;
|
|
1613
1682
|
}, z.core.$strict>>>;
|
|
1614
1683
|
callId: z.ZodString;
|
|
1615
1684
|
name: z.ZodString;
|
|
@@ -1630,6 +1699,10 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
1630
1699
|
cancelled: "cancelled";
|
|
1631
1700
|
}>>;
|
|
1632
1701
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1702
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1703
|
+
text: z.ZodString;
|
|
1704
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1705
|
+
}, z.core.$strict>>;
|
|
1633
1706
|
}, z.core.$strict>>;
|
|
1634
1707
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
1635
1708
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -1831,6 +1904,10 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
1831
1904
|
cancelled: "cancelled";
|
|
1832
1905
|
}>>;
|
|
1833
1906
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1907
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1908
|
+
text: z.ZodString;
|
|
1909
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1910
|
+
}, z.core.$strict>>;
|
|
1834
1911
|
}, z.core.$strict>>>;
|
|
1835
1912
|
callId: z.ZodString;
|
|
1836
1913
|
name: z.ZodString;
|
|
@@ -1851,6 +1928,10 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
1851
1928
|
cancelled: "cancelled";
|
|
1852
1929
|
}>>;
|
|
1853
1930
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1931
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
1932
|
+
text: z.ZodString;
|
|
1933
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1934
|
+
}, z.core.$strict>>;
|
|
1854
1935
|
}, z.core.$strict>>;
|
|
1855
1936
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
1856
1937
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -2072,6 +2153,23 @@ export declare const ChannelContextPolicyViewSchema: z.ZodObject<{
|
|
|
2072
2153
|
custom: z.ZodBoolean;
|
|
2073
2154
|
}, z.core.$strict>;
|
|
2074
2155
|
export type ChannelContextPolicyView = z.output<typeof ChannelContextPolicyViewSchema>;
|
|
2156
|
+
/** One desktop installer of a release; `urls` lists the sources to try in order. */
|
|
2157
|
+
export declare const ProductDownloadSchema: z.ZodObject<{
|
|
2158
|
+
platform: z.ZodEnum<{
|
|
2159
|
+
mac: "mac";
|
|
2160
|
+
win: "win";
|
|
2161
|
+
linux: "linux";
|
|
2162
|
+
}>;
|
|
2163
|
+
arch: z.ZodEnum<{
|
|
2164
|
+
arm64: "arm64";
|
|
2165
|
+
x64: "x64";
|
|
2166
|
+
}>;
|
|
2167
|
+
name: z.ZodString;
|
|
2168
|
+
size: z.ZodNumber;
|
|
2169
|
+
sha256: z.ZodString;
|
|
2170
|
+
urls: z.ZodArray<z.ZodString>;
|
|
2171
|
+
}, z.core.$strict>;
|
|
2172
|
+
export type ProductDownload = z.output<typeof ProductDownloadSchema>;
|
|
2075
2173
|
/** Whether a newer release exists on the build's own channel; development builds are never compared. */
|
|
2076
2174
|
export declare const ProductUpdateStatusSchema: z.ZodObject<{
|
|
2077
2175
|
channel: z.ZodEnum<{
|
|
@@ -2093,6 +2191,21 @@ export declare const ProductUpdateStatusSchema: z.ZodObject<{
|
|
|
2093
2191
|
commit: z.ZodOptional<z.ZodString>;
|
|
2094
2192
|
url: z.ZodString;
|
|
2095
2193
|
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
+
downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2195
|
+
platform: z.ZodEnum<{
|
|
2196
|
+
mac: "mac";
|
|
2197
|
+
win: "win";
|
|
2198
|
+
linux: "linux";
|
|
2199
|
+
}>;
|
|
2200
|
+
arch: z.ZodEnum<{
|
|
2201
|
+
arm64: "arm64";
|
|
2202
|
+
x64: "x64";
|
|
2203
|
+
}>;
|
|
2204
|
+
name: z.ZodString;
|
|
2205
|
+
size: z.ZodNumber;
|
|
2206
|
+
sha256: z.ZodString;
|
|
2207
|
+
urls: z.ZodArray<z.ZodString>;
|
|
2208
|
+
}, z.core.$strict>>>;
|
|
2096
2209
|
}, z.core.$strict>>;
|
|
2097
2210
|
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
2098
2211
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -2182,29 +2295,12 @@ export declare const RetrievalModeSchema: z.ZodEnum<{
|
|
|
2182
2295
|
keyword: "keyword";
|
|
2183
2296
|
}>;
|
|
2184
2297
|
export type RetrievalMode = z.output<typeof RetrievalModeSchema>;
|
|
2185
|
-
/** Search used by extension indexes (表情包与扩展素材能力 §6.4). */
|
|
2298
|
+
/** Search used by extension indexes (表情包与扩展素材能力 §6.4); the model itself is the `retrieval` add-on. */
|
|
2186
2299
|
export declare const RetrievalStatusSchema: z.ZodObject<{
|
|
2187
2300
|
mode: z.ZodEnum<{
|
|
2188
2301
|
builtin: "builtin";
|
|
2189
2302
|
keyword: "keyword";
|
|
2190
2303
|
}>;
|
|
2191
|
-
builtin: z.ZodObject<{
|
|
2192
|
-
model: z.ZodString;
|
|
2193
|
-
supported: z.ZodBoolean;
|
|
2194
|
-
downloadBytes: z.ZodNumber;
|
|
2195
|
-
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2196
|
-
state: z.ZodLiteral<"not-installed">;
|
|
2197
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2198
|
-
state: z.ZodLiteral<"downloading">;
|
|
2199
|
-
receivedBytes: z.ZodNumber;
|
|
2200
|
-
totalBytes: z.ZodNumber;
|
|
2201
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2202
|
-
state: z.ZodLiteral<"installed">;
|
|
2203
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2204
|
-
state: z.ZodLiteral<"failed">;
|
|
2205
|
-
error: z.ZodString;
|
|
2206
|
-
}, z.core.$strict>], "state">;
|
|
2207
|
-
}, z.core.$strict>;
|
|
2208
2304
|
vectors: z.ZodObject<{
|
|
2209
2305
|
documents: z.ZodNumber;
|
|
2210
2306
|
embedded: z.ZodNumber;
|
|
@@ -2348,6 +2444,10 @@ export declare const AttentionItemSchema: z.ZodObject<{
|
|
|
2348
2444
|
}>;
|
|
2349
2445
|
label: z.ZodString;
|
|
2350
2446
|
}, z.core.$strict>;
|
|
2447
|
+
cause: z.ZodOptional<z.ZodObject<{
|
|
2448
|
+
key: z.ZodString;
|
|
2449
|
+
label: z.ZodString;
|
|
2450
|
+
}, z.core.$strict>>;
|
|
2351
2451
|
occurredAt: z.ZodNumber;
|
|
2352
2452
|
}, z.core.$strict>;
|
|
2353
2453
|
export type AttentionItem = z.output<typeof AttentionItemSchema>;
|
|
@@ -2407,6 +2507,10 @@ export declare const AttentionListSchema: z.ZodObject<{
|
|
|
2407
2507
|
}>;
|
|
2408
2508
|
label: z.ZodString;
|
|
2409
2509
|
}, z.core.$strict>;
|
|
2510
|
+
cause: z.ZodOptional<z.ZodObject<{
|
|
2511
|
+
key: z.ZodString;
|
|
2512
|
+
label: z.ZodString;
|
|
2513
|
+
}, z.core.$strict>>;
|
|
2410
2514
|
occurredAt: z.ZodNumber;
|
|
2411
2515
|
}, z.core.$strict>>;
|
|
2412
2516
|
}, z.core.$strict>;
|
|
@@ -2484,98 +2588,223 @@ export declare const ScheduledTaskSchema: z.ZodObject<{
|
|
|
2484
2588
|
createdAt: z.ZodNumber;
|
|
2485
2589
|
}, z.core.$strict>;
|
|
2486
2590
|
export type ScheduledTask = z.output<typeof ScheduledTaskSchema>;
|
|
2487
|
-
/**
|
|
2488
|
-
export declare const
|
|
2489
|
-
|
|
2591
|
+
/** Programs and models NekroNXT installs on request (附加功能); `<data root>/runtimes`, left out of backups. */
|
|
2592
|
+
export declare const AddonIdSchema: z.ZodEnum<{
|
|
2593
|
+
node: "node";
|
|
2594
|
+
media: "media";
|
|
2595
|
+
speech: "speech";
|
|
2596
|
+
retrieval: "retrieval";
|
|
2597
|
+
"github-cli": "github-cli";
|
|
2598
|
+
browser: "browser";
|
|
2599
|
+
}>;
|
|
2600
|
+
export type AddonId = z.output<typeof AddonIdSchema>;
|
|
2601
|
+
/** `extension`: used by extensions; `agent`: used by agents' commands; `host`: used by NekroNXT itself. */
|
|
2602
|
+
export declare const AddonGroupSchema: z.ZodEnum<{
|
|
2603
|
+
extension: "extension";
|
|
2604
|
+
host: "host";
|
|
2605
|
+
agent: "agent";
|
|
2606
|
+
}>;
|
|
2607
|
+
export type AddonGroup = z.output<typeof AddonGroupSchema>;
|
|
2608
|
+
/**
|
|
2609
|
+
* `installed`: downloaded and ready; `available`: usable without installing (bundled, found on this device, cloud);
|
|
2610
|
+
* `needs-config`: usable once configured (cloud).
|
|
2611
|
+
*/
|
|
2612
|
+
export declare const AddonStateSchema: z.ZodEnum<{
|
|
2613
|
+
failed: "failed";
|
|
2614
|
+
installed: "installed";
|
|
2615
|
+
available: "available";
|
|
2616
|
+
unsupported: "unsupported";
|
|
2617
|
+
"not-installed": "not-installed";
|
|
2618
|
+
installing: "installing";
|
|
2619
|
+
"needs-config": "needs-config";
|
|
2620
|
+
}>;
|
|
2621
|
+
export type AddonState = z.output<typeof AddonStateSchema>;
|
|
2622
|
+
/** One way an add-on can be provided, such as a program found on this device or one NekroNXT downloads. */
|
|
2623
|
+
export declare const AddonProviderStatusSchema: z.ZodObject<{
|
|
2624
|
+
id: z.ZodString;
|
|
2625
|
+
title: z.ZodString;
|
|
2626
|
+
summary: z.ZodString;
|
|
2627
|
+
state: z.ZodEnum<{
|
|
2628
|
+
failed: "failed";
|
|
2629
|
+
installed: "installed";
|
|
2630
|
+
available: "available";
|
|
2631
|
+
unsupported: "unsupported";
|
|
2632
|
+
"not-installed": "not-installed";
|
|
2633
|
+
installing: "installing";
|
|
2634
|
+
"needs-config": "needs-config";
|
|
2635
|
+
}>;
|
|
2490
2636
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2491
|
-
host: "host";
|
|
2492
2637
|
system: "system";
|
|
2638
|
+
bundled: "bundled";
|
|
2493
2639
|
downloaded: "downloaded";
|
|
2640
|
+
cloud: "cloud";
|
|
2494
2641
|
}>>;
|
|
2495
2642
|
version: z.ZodOptional<z.ZodString>;
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2643
|
+
resources: z.ZodObject<{
|
|
2644
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
2645
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2646
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
2647
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2648
|
+
}, z.core.$strict>;
|
|
2649
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2650
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
name: z.ZodString;
|
|
2652
|
+
url: z.ZodURL;
|
|
2653
|
+
}, z.core.$strict>>>;
|
|
2654
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2655
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
2656
|
+
receivedBytes: z.ZodNumber;
|
|
2504
2657
|
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2505
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2506
2658
|
}, z.core.$strict>>;
|
|
2659
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2661
|
+
node: "node";
|
|
2662
|
+
media: "media";
|
|
2663
|
+
speech: "speech";
|
|
2664
|
+
retrieval: "retrieval";
|
|
2665
|
+
"github-cli": "github-cli";
|
|
2666
|
+
browser: "browser";
|
|
2667
|
+
}>>>;
|
|
2668
|
+
installable: z.ZodBoolean;
|
|
2669
|
+
removable: z.ZodBoolean;
|
|
2507
2670
|
}, z.core.$strict>;
|
|
2508
|
-
export type
|
|
2509
|
-
/**
|
|
2510
|
-
export declare const
|
|
2511
|
-
|
|
2512
|
-
|
|
2671
|
+
export type AddonProviderStatus = z.output<typeof AddonProviderStatusSchema>;
|
|
2672
|
+
/** One add-on (a capability) as 设置 → 附加功能 shows it; the registry on the server is its only source. */
|
|
2673
|
+
export declare const AddonStatusSchema: z.ZodObject<{
|
|
2674
|
+
id: z.ZodEnum<{
|
|
2675
|
+
node: "node";
|
|
2676
|
+
media: "media";
|
|
2677
|
+
speech: "speech";
|
|
2678
|
+
retrieval: "retrieval";
|
|
2679
|
+
"github-cli": "github-cli";
|
|
2680
|
+
browser: "browser";
|
|
2681
|
+
}>;
|
|
2682
|
+
group: z.ZodEnum<{
|
|
2683
|
+
extension: "extension";
|
|
2513
2684
|
host: "host";
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2685
|
+
agent: "agent";
|
|
2686
|
+
}>;
|
|
2687
|
+
title: z.ZodString;
|
|
2688
|
+
summary: z.ZodString;
|
|
2689
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
2690
|
+
state: z.ZodEnum<{
|
|
2691
|
+
failed: "failed";
|
|
2692
|
+
installed: "installed";
|
|
2693
|
+
available: "available";
|
|
2694
|
+
unsupported: "unsupported";
|
|
2695
|
+
"not-installed": "not-installed";
|
|
2696
|
+
installing: "installing";
|
|
2697
|
+
"needs-config": "needs-config";
|
|
2698
|
+
}>;
|
|
2699
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
2700
|
+
receivedBytes: z.ZodNumber;
|
|
2701
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2702
|
+
}, z.core.$strict>>;
|
|
2703
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
2704
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
2705
|
+
id: z.ZodString;
|
|
2706
|
+
title: z.ZodString;
|
|
2707
|
+
summary: z.ZodString;
|
|
2520
2708
|
state: z.ZodEnum<{
|
|
2521
2709
|
failed: "failed";
|
|
2522
|
-
|
|
2523
|
-
|
|
2710
|
+
installed: "installed";
|
|
2711
|
+
available: "available";
|
|
2712
|
+
unsupported: "unsupported";
|
|
2713
|
+
"not-installed": "not-installed";
|
|
2714
|
+
installing: "installing";
|
|
2715
|
+
"needs-config": "needs-config";
|
|
2524
2716
|
}>;
|
|
2525
|
-
|
|
2526
|
-
|
|
2717
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2718
|
+
system: "system";
|
|
2719
|
+
bundled: "bundled";
|
|
2720
|
+
downloaded: "downloaded";
|
|
2721
|
+
cloud: "cloud";
|
|
2722
|
+
}>>;
|
|
2723
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
resources: z.ZodObject<{
|
|
2725
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
2726
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2727
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
2728
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2729
|
+
}, z.core.$strict>;
|
|
2730
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2731
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
name: z.ZodString;
|
|
2733
|
+
url: z.ZodURL;
|
|
2734
|
+
}, z.core.$strict>>>;
|
|
2735
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2736
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
2737
|
+
receivedBytes: z.ZodNumber;
|
|
2738
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2739
|
+
}, z.core.$strict>>;
|
|
2527
2740
|
error: z.ZodOptional<z.ZodString>;
|
|
2741
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2742
|
+
node: "node";
|
|
2743
|
+
media: "media";
|
|
2744
|
+
speech: "speech";
|
|
2745
|
+
retrieval: "retrieval";
|
|
2746
|
+
"github-cli": "github-cli";
|
|
2747
|
+
browser: "browser";
|
|
2748
|
+
}>>>;
|
|
2749
|
+
installable: z.ZodBoolean;
|
|
2750
|
+
removable: z.ZodBoolean;
|
|
2528
2751
|
}, z.core.$strict>>;
|
|
2529
2752
|
}, z.core.$strict>;
|
|
2530
|
-
export type
|
|
2531
|
-
/**
|
|
2532
|
-
export declare const
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2753
|
+
export type AddonStatus = z.output<typeof AddonStatusSchema>;
|
|
2754
|
+
/** Languages speech recognition can be asked for; `auto` lets the provider tell. */
|
|
2755
|
+
export declare const SpeechLanguageSchema: z.ZodEnum<{
|
|
2756
|
+
auto: "auto";
|
|
2757
|
+
zh: "zh";
|
|
2758
|
+
en: "en";
|
|
2759
|
+
ja: "ja";
|
|
2760
|
+
ko: "ko";
|
|
2761
|
+
yue: "yue";
|
|
2762
|
+
}>;
|
|
2763
|
+
export type SpeechLanguage = z.output<typeof SpeechLanguageSchema>;
|
|
2764
|
+
/** The cloud provider of the `speech` add-on: a provider from 设置 → 模型 and the transcription model it serves. */
|
|
2765
|
+
export declare const SpeechCloudSettingsSchema: z.ZodObject<{
|
|
2766
|
+
provider: z.ZodString;
|
|
2767
|
+
model: z.ZodString;
|
|
2768
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
2769
|
+
auto: "auto";
|
|
2770
|
+
zh: "zh";
|
|
2771
|
+
en: "en";
|
|
2772
|
+
ja: "ja";
|
|
2773
|
+
ko: "ko";
|
|
2774
|
+
yue: "yue";
|
|
2538
2775
|
}>>;
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2776
|
+
}, z.core.$strict>;
|
|
2777
|
+
export type SpeechCloudSettings = z.output<typeof SpeechCloudSettingsSchema>;
|
|
2778
|
+
export declare const SpeechSettingsSchema: z.ZodObject<{
|
|
2779
|
+
cloud: z.ZodNullable<z.ZodObject<{
|
|
2780
|
+
provider: z.ZodString;
|
|
2781
|
+
model: z.ZodString;
|
|
2782
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
2783
|
+
auto: "auto";
|
|
2784
|
+
zh: "zh";
|
|
2785
|
+
en: "en";
|
|
2786
|
+
ja: "ja";
|
|
2787
|
+
ko: "ko";
|
|
2788
|
+
yue: "yue";
|
|
2789
|
+
}>>;
|
|
2550
2790
|
}, z.core.$strict>>;
|
|
2791
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
2792
|
+
provider: z.ZodString;
|
|
2793
|
+
displayName: z.ZodString;
|
|
2794
|
+
}, z.core.$strict>>;
|
|
2795
|
+
}, z.core.$strict>;
|
|
2796
|
+
export type SpeechSettings = z.output<typeof SpeechSettingsSchema>;
|
|
2797
|
+
/** Whether a capability that needs an add-on can run now; details live in `addons`. */
|
|
2798
|
+
export declare const AddonAvailabilitySchema: z.ZodObject<{
|
|
2799
|
+
available: z.ZodBoolean;
|
|
2551
2800
|
}, z.core.$strict>;
|
|
2552
|
-
export type
|
|
2801
|
+
export type AddonAvailability = z.output<typeof AddonAvailabilitySchema>;
|
|
2553
2802
|
/** A platform's own program that linked accounts work through, such as the GitHub CLI. */
|
|
2554
2803
|
export declare const LinkedAccountPlatformToolSchema: z.ZodObject<{
|
|
2555
2804
|
id: z.ZodEnum<{
|
|
2556
2805
|
"github-cli": "github-cli";
|
|
2557
2806
|
}>;
|
|
2558
2807
|
name: z.ZodString;
|
|
2559
|
-
availability: z.ZodObject<{
|
|
2560
|
-
available: z.ZodBoolean;
|
|
2561
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2562
|
-
host: "host";
|
|
2563
|
-
system: "system";
|
|
2564
|
-
downloaded: "downloaded";
|
|
2565
|
-
}>>;
|
|
2566
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2567
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2568
|
-
version: z.ZodString;
|
|
2569
|
-
state: z.ZodEnum<{
|
|
2570
|
-
failed: "failed";
|
|
2571
|
-
idle: "idle";
|
|
2572
|
-
downloading: "downloading";
|
|
2573
|
-
}>;
|
|
2574
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2575
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2576
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2577
|
-
}, z.core.$strict>>;
|
|
2578
|
-
}, z.core.$strict>;
|
|
2579
2808
|
}, z.core.$strict>;
|
|
2580
2809
|
/** 设置 → 关联账号: every platform the host supports, with its accounts and tools. */
|
|
2581
2810
|
export declare const LinkedAccountsViewSchema: z.ZodObject<{
|
|
@@ -2593,26 +2822,6 @@ export declare const LinkedAccountsViewSchema: z.ZodObject<{
|
|
|
2593
2822
|
"github-cli": "github-cli";
|
|
2594
2823
|
}>;
|
|
2595
2824
|
name: z.ZodString;
|
|
2596
|
-
availability: z.ZodObject<{
|
|
2597
|
-
available: z.ZodBoolean;
|
|
2598
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2599
|
-
host: "host";
|
|
2600
|
-
system: "system";
|
|
2601
|
-
downloaded: "downloaded";
|
|
2602
|
-
}>>;
|
|
2603
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2604
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2605
|
-
version: z.ZodString;
|
|
2606
|
-
state: z.ZodEnum<{
|
|
2607
|
-
failed: "failed";
|
|
2608
|
-
idle: "idle";
|
|
2609
|
-
downloading: "downloading";
|
|
2610
|
-
}>;
|
|
2611
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2612
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2613
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2614
|
-
}, z.core.$strict>>;
|
|
2615
|
-
}, z.core.$strict>;
|
|
2616
2825
|
}, z.core.$strict>>;
|
|
2617
2826
|
accounts: z.ZodArray<z.ZodObject<{
|
|
2618
2827
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -2655,26 +2864,6 @@ export declare const RemoveLinkedAccountResultSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2655
2864
|
"github-cli": "github-cli";
|
|
2656
2865
|
}>;
|
|
2657
2866
|
name: z.ZodString;
|
|
2658
|
-
availability: z.ZodObject<{
|
|
2659
|
-
available: z.ZodBoolean;
|
|
2660
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2661
|
-
host: "host";
|
|
2662
|
-
system: "system";
|
|
2663
|
-
downloaded: "downloaded";
|
|
2664
|
-
}>>;
|
|
2665
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2666
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2667
|
-
version: z.ZodString;
|
|
2668
|
-
state: z.ZodEnum<{
|
|
2669
|
-
failed: "failed";
|
|
2670
|
-
idle: "idle";
|
|
2671
|
-
downloading: "downloading";
|
|
2672
|
-
}>;
|
|
2673
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2674
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2676
|
-
}, z.core.$strict>>;
|
|
2677
|
-
}, z.core.$strict>;
|
|
2678
2867
|
}, z.core.$strict>>;
|
|
2679
2868
|
accounts: z.ZodArray<z.ZodObject<{
|
|
2680
2869
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -2715,10 +2904,12 @@ export declare const ExtensionRequestSchema: z.ZodObject<{
|
|
|
2715
2904
|
status: z.ZodEnum<{
|
|
2716
2905
|
failed: "failed";
|
|
2717
2906
|
pending: "pending";
|
|
2907
|
+
withdrawn: "withdrawn";
|
|
2718
2908
|
rejected: "rejected";
|
|
2719
2909
|
approved: "approved";
|
|
2720
2910
|
expired: "expired";
|
|
2721
2911
|
completed: "completed";
|
|
2912
|
+
superseded: "superseded";
|
|
2722
2913
|
}>;
|
|
2723
2914
|
autonomous: z.ZodBoolean;
|
|
2724
2915
|
resultMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -2807,63 +2998,15 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2807
2998
|
}, z.core.$strict>;
|
|
2808
2999
|
codeRun: z.ZodOptional<z.ZodObject<{
|
|
2809
3000
|
available: z.ZodBoolean;
|
|
2810
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2811
|
-
host: "host";
|
|
2812
|
-
system: "system";
|
|
2813
|
-
downloaded: "downloaded";
|
|
2814
|
-
}>>;
|
|
2815
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2816
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2817
|
-
version: z.ZodString;
|
|
2818
|
-
state: z.ZodEnum<{
|
|
2819
|
-
failed: "failed";
|
|
2820
|
-
idle: "idle";
|
|
2821
|
-
downloading: "downloading";
|
|
2822
|
-
}>;
|
|
2823
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2824
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2825
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2826
|
-
}, z.core.$strict>>;
|
|
2827
3001
|
}, z.core.$strict>>;
|
|
2828
3002
|
githubCli: z.ZodOptional<z.ZodObject<{
|
|
2829
3003
|
available: z.ZodBoolean;
|
|
2830
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
2831
|
-
host: "host";
|
|
2832
|
-
system: "system";
|
|
2833
|
-
downloaded: "downloaded";
|
|
2834
|
-
}>>;
|
|
2835
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2836
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2837
|
-
version: z.ZodString;
|
|
2838
|
-
state: z.ZodEnum<{
|
|
2839
|
-
failed: "failed";
|
|
2840
|
-
idle: "idle";
|
|
2841
|
-
downloading: "downloading";
|
|
2842
|
-
}>;
|
|
2843
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2844
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2845
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2846
|
-
}, z.core.$strict>>;
|
|
2847
3004
|
}, z.core.$strict>>;
|
|
2848
3005
|
verificationBrowser: z.ZodOptional<z.ZodObject<{
|
|
2849
3006
|
available: z.ZodBoolean;
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
downloaded: "downloaded";
|
|
2854
|
-
}>>;
|
|
2855
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2856
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
2857
|
-
version: z.ZodString;
|
|
2858
|
-
state: z.ZodEnum<{
|
|
2859
|
-
failed: "failed";
|
|
2860
|
-
idle: "idle";
|
|
2861
|
-
downloading: "downloading";
|
|
2862
|
-
}>;
|
|
2863
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
2864
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
2865
|
-
error: z.ZodOptional<z.ZodString>;
|
|
2866
|
-
}, z.core.$strict>>;
|
|
3007
|
+
}, z.core.$strict>>;
|
|
3008
|
+
speechRecognition: z.ZodOptional<z.ZodObject<{
|
|
3009
|
+
available: z.ZodBoolean;
|
|
2867
3010
|
}, z.core.$strict>>;
|
|
2868
3011
|
commandConfinement: z.ZodOptional<z.ZodObject<{
|
|
2869
3012
|
readScope: z.ZodBoolean;
|
|
@@ -3042,6 +3185,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3042
3185
|
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
3043
3186
|
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
3044
3187
|
communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
|
|
3188
|
+
voiceTranscription: z.ZodDefault<z.ZodBoolean>;
|
|
3045
3189
|
commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3046
3190
|
service: z.ZodEnum<{
|
|
3047
3191
|
github: "github";
|
|
@@ -3476,6 +3620,10 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3476
3620
|
}>;
|
|
3477
3621
|
hidden: z.ZodBoolean;
|
|
3478
3622
|
annotation: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3624
|
+
label: z.ZodString;
|
|
3625
|
+
text: z.ZodString;
|
|
3626
|
+
}, z.core.$strict>>>;
|
|
3479
3627
|
extensions: z.ZodArray<z.ZodString>;
|
|
3480
3628
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3481
3629
|
}, z.core.$strict>>;
|
|
@@ -3841,6 +3989,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3841
3989
|
}, z.core.$strict>>>;
|
|
3842
3990
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
3843
3991
|
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3992
|
+
"assets.read": "assets.read";
|
|
3844
3993
|
"agents.read": "agents.read";
|
|
3845
3994
|
"channels.read": "channels.read";
|
|
3846
3995
|
"connections.read": "connections.read";
|
|
@@ -3848,7 +3997,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3848
3997
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
3849
3998
|
"runtime.read": "runtime.read";
|
|
3850
3999
|
"messages.read": "messages.read";
|
|
3851
|
-
"assets.read": "assets.read";
|
|
3852
4000
|
"agents.manage": "agents.manage";
|
|
3853
4001
|
"channels.manage": "channels.manage";
|
|
3854
4002
|
"connections.manage": "connections.manage";
|
|
@@ -3873,9 +4021,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3873
4021
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3874
4022
|
}, z.core.$strict>>;
|
|
3875
4023
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3876
|
-
library: z.ZodObject<{
|
|
4024
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
3877
4025
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3878
|
-
}, z.core.$strict
|
|
4026
|
+
}, z.core.$strict>>;
|
|
4027
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4028
|
+
}, z.core.$strict>>;
|
|
4029
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
4030
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4031
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4032
|
+
}, z.core.$strict>>;
|
|
4033
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4034
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
4035
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
4036
|
+
ffmpeg: "ffmpeg";
|
|
4037
|
+
ffprobe: "ffprobe";
|
|
4038
|
+
}>>;
|
|
4039
|
+
}, z.core.$strict>>;
|
|
4040
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
4041
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
3879
4042
|
}, z.core.$strict>>;
|
|
3880
4043
|
index: z.ZodOptional<z.ZodObject<{
|
|
3881
4044
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -3917,6 +4080,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
3917
4080
|
library: z.ZodOptional<z.ZodObject<{
|
|
3918
4081
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
3919
4082
|
}, z.core.$strict>>;
|
|
4083
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4084
|
+
}, z.core.$strict>>;
|
|
4085
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
4086
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4087
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4088
|
+
}, z.core.$strict>>;
|
|
4089
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
4090
|
+
highDetail: z.ZodLiteral<true>;
|
|
4091
|
+
}, z.core.$strict>>;
|
|
4092
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4093
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
4094
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
4095
|
+
ffmpeg: "ffmpeg";
|
|
4096
|
+
ffprobe: "ffprobe";
|
|
4097
|
+
}>>;
|
|
4098
|
+
}, z.core.$strict>>;
|
|
4099
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
4100
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
3920
4101
|
}, z.core.$strict>>;
|
|
3921
4102
|
index: z.ZodOptional<z.ZodObject<{
|
|
3922
4103
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -4011,6 +4192,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4011
4192
|
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
4012
4193
|
declaration: z.ZodObject<{
|
|
4013
4194
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
4195
|
+
"assets.read": "assets.read";
|
|
4014
4196
|
"agents.read": "agents.read";
|
|
4015
4197
|
"channels.read": "channels.read";
|
|
4016
4198
|
"connections.read": "connections.read";
|
|
@@ -4018,7 +4200,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4018
4200
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
4019
4201
|
"runtime.read": "runtime.read";
|
|
4020
4202
|
"messages.read": "messages.read";
|
|
4021
|
-
"assets.read": "assets.read";
|
|
4022
4203
|
"agents.manage": "agents.manage";
|
|
4023
4204
|
"channels.manage": "channels.manage";
|
|
4024
4205
|
"connections.manage": "connections.manage";
|
|
@@ -4053,6 +4234,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4053
4234
|
library: z.ZodOptional<z.ZodObject<{
|
|
4054
4235
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4055
4236
|
}, z.core.$strict>>;
|
|
4237
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4238
|
+
}, z.core.$strict>>;
|
|
4239
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
4240
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4241
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4242
|
+
}, z.core.$strict>>;
|
|
4243
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
4244
|
+
highDetail: z.ZodLiteral<true>;
|
|
4245
|
+
}, z.core.$strict>>;
|
|
4246
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4247
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
4248
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
4249
|
+
ffmpeg: "ffmpeg";
|
|
4250
|
+
ffprobe: "ffprobe";
|
|
4251
|
+
}>>;
|
|
4252
|
+
}, z.core.$strict>>;
|
|
4253
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
4254
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
4056
4255
|
}, z.core.$strict>>;
|
|
4057
4256
|
index: z.ZodOptional<z.ZodObject<{
|
|
4058
4257
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -4150,6 +4349,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4150
4349
|
agentPermission: z.ZodOptional<z.ZodObject<{
|
|
4151
4350
|
declaration: z.ZodObject<{
|
|
4152
4351
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
4352
|
+
"assets.read": "assets.read";
|
|
4153
4353
|
"agents.read": "agents.read";
|
|
4154
4354
|
"channels.read": "channels.read";
|
|
4155
4355
|
"connections.read": "connections.read";
|
|
@@ -4157,7 +4357,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4157
4357
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
4158
4358
|
"runtime.read": "runtime.read";
|
|
4159
4359
|
"messages.read": "messages.read";
|
|
4160
|
-
"assets.read": "assets.read";
|
|
4161
4360
|
"agents.manage": "agents.manage";
|
|
4162
4361
|
"channels.manage": "channels.manage";
|
|
4163
4362
|
"connections.manage": "connections.manage";
|
|
@@ -4192,6 +4391,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4192
4391
|
library: z.ZodOptional<z.ZodObject<{
|
|
4193
4392
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4194
4393
|
}, z.core.$strict>>;
|
|
4394
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4395
|
+
}, z.core.$strict>>;
|
|
4396
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
4397
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4398
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4399
|
+
}, z.core.$strict>>;
|
|
4400
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
4401
|
+
highDetail: z.ZodLiteral<true>;
|
|
4402
|
+
}, z.core.$strict>>;
|
|
4403
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4404
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
4405
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
4406
|
+
ffmpeg: "ffmpeg";
|
|
4407
|
+
ffprobe: "ffprobe";
|
|
4408
|
+
}>>;
|
|
4409
|
+
}, z.core.$strict>>;
|
|
4410
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
4411
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
4195
4412
|
}, z.core.$strict>>;
|
|
4196
4413
|
index: z.ZodOptional<z.ZodObject<{
|
|
4197
4414
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -4365,6 +4582,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4365
4582
|
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
4366
4583
|
declaration: z.ZodObject<{
|
|
4367
4584
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
4585
|
+
"assets.read": "assets.read";
|
|
4368
4586
|
"agents.read": "agents.read";
|
|
4369
4587
|
"channels.read": "channels.read";
|
|
4370
4588
|
"connections.read": "connections.read";
|
|
@@ -4372,7 +4590,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4372
4590
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
4373
4591
|
"runtime.read": "runtime.read";
|
|
4374
4592
|
"messages.read": "messages.read";
|
|
4375
|
-
"assets.read": "assets.read";
|
|
4376
4593
|
"agents.manage": "agents.manage";
|
|
4377
4594
|
"channels.manage": "channels.manage";
|
|
4378
4595
|
"connections.manage": "connections.manage";
|
|
@@ -4407,6 +4624,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4407
4624
|
library: z.ZodOptional<z.ZodObject<{
|
|
4408
4625
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4409
4626
|
}, z.core.$strict>>;
|
|
4627
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4628
|
+
}, z.core.$strict>>;
|
|
4629
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
4630
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4631
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4632
|
+
}, z.core.$strict>>;
|
|
4633
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
4634
|
+
highDetail: z.ZodLiteral<true>;
|
|
4635
|
+
}, z.core.$strict>>;
|
|
4636
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4637
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
4638
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
4639
|
+
ffmpeg: "ffmpeg";
|
|
4640
|
+
ffprobe: "ffprobe";
|
|
4641
|
+
}>>;
|
|
4642
|
+
}, z.core.$strict>>;
|
|
4643
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
4644
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
4410
4645
|
}, z.core.$strict>>;
|
|
4411
4646
|
index: z.ZodOptional<z.ZodObject<{
|
|
4412
4647
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -4948,6 +5183,86 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4948
5183
|
createdAt: z.ZodNumber;
|
|
4949
5184
|
closedAt: z.ZodOptional<z.ZodNumber>;
|
|
4950
5185
|
}, z.core.$strict>>>;
|
|
5186
|
+
addons: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5187
|
+
id: z.ZodEnum<{
|
|
5188
|
+
node: "node";
|
|
5189
|
+
media: "media";
|
|
5190
|
+
speech: "speech";
|
|
5191
|
+
retrieval: "retrieval";
|
|
5192
|
+
"github-cli": "github-cli";
|
|
5193
|
+
browser: "browser";
|
|
5194
|
+
}>;
|
|
5195
|
+
group: z.ZodEnum<{
|
|
5196
|
+
extension: "extension";
|
|
5197
|
+
host: "host";
|
|
5198
|
+
agent: "agent";
|
|
5199
|
+
}>;
|
|
5200
|
+
title: z.ZodString;
|
|
5201
|
+
summary: z.ZodString;
|
|
5202
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
5203
|
+
state: z.ZodEnum<{
|
|
5204
|
+
failed: "failed";
|
|
5205
|
+
installed: "installed";
|
|
5206
|
+
available: "available";
|
|
5207
|
+
unsupported: "unsupported";
|
|
5208
|
+
"not-installed": "not-installed";
|
|
5209
|
+
installing: "installing";
|
|
5210
|
+
"needs-config": "needs-config";
|
|
5211
|
+
}>;
|
|
5212
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
5213
|
+
receivedBytes: z.ZodNumber;
|
|
5214
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
5215
|
+
}, z.core.$strict>>;
|
|
5216
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
5217
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
5218
|
+
id: z.ZodString;
|
|
5219
|
+
title: z.ZodString;
|
|
5220
|
+
summary: z.ZodString;
|
|
5221
|
+
state: z.ZodEnum<{
|
|
5222
|
+
failed: "failed";
|
|
5223
|
+
installed: "installed";
|
|
5224
|
+
available: "available";
|
|
5225
|
+
unsupported: "unsupported";
|
|
5226
|
+
"not-installed": "not-installed";
|
|
5227
|
+
installing: "installing";
|
|
5228
|
+
"needs-config": "needs-config";
|
|
5229
|
+
}>;
|
|
5230
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
5231
|
+
system: "system";
|
|
5232
|
+
bundled: "bundled";
|
|
5233
|
+
downloaded: "downloaded";
|
|
5234
|
+
cloud: "cloud";
|
|
5235
|
+
}>>;
|
|
5236
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5237
|
+
resources: z.ZodObject<{
|
|
5238
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
5239
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
5240
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
5241
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5242
|
+
}, z.core.$strict>;
|
|
5243
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5244
|
+
component: z.ZodOptional<z.ZodString>;
|
|
5245
|
+
name: z.ZodString;
|
|
5246
|
+
url: z.ZodURL;
|
|
5247
|
+
}, z.core.$strict>>>;
|
|
5248
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5249
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
5250
|
+
receivedBytes: z.ZodNumber;
|
|
5251
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
5252
|
+
}, z.core.$strict>>;
|
|
5253
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5254
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5255
|
+
node: "node";
|
|
5256
|
+
media: "media";
|
|
5257
|
+
speech: "speech";
|
|
5258
|
+
retrieval: "retrieval";
|
|
5259
|
+
"github-cli": "github-cli";
|
|
5260
|
+
browser: "browser";
|
|
5261
|
+
}>>>;
|
|
5262
|
+
installable: z.ZodBoolean;
|
|
5263
|
+
removable: z.ZodBoolean;
|
|
5264
|
+
}, z.core.$strict>>;
|
|
5265
|
+
}, z.core.$strict>>>;
|
|
4951
5266
|
scheduledTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4952
5267
|
id: z.ZodString;
|
|
4953
5268
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -4989,10 +5304,12 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
4989
5304
|
status: z.ZodEnum<{
|
|
4990
5305
|
failed: "failed";
|
|
4991
5306
|
pending: "pending";
|
|
5307
|
+
withdrawn: "withdrawn";
|
|
4992
5308
|
rejected: "rejected";
|
|
4993
5309
|
approved: "approved";
|
|
4994
5310
|
expired: "expired";
|
|
4995
5311
|
completed: "completed";
|
|
5312
|
+
superseded: "superseded";
|
|
4996
5313
|
}>;
|
|
4997
5314
|
autonomous: z.ZodBoolean;
|
|
4998
5315
|
resultMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -5025,6 +5342,7 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
5025
5342
|
imported: "imported";
|
|
5026
5343
|
}>>;
|
|
5027
5344
|
official: z.ZodOptional<z.ZodBoolean>;
|
|
5345
|
+
imageSubmission: z.ZodOptional<z.ZodBoolean>;
|
|
5028
5346
|
installedAt: z.ZodOptional<z.ZodNumber>;
|
|
5029
5347
|
clientUiDetected: z.ZodOptional<z.ZodBoolean>;
|
|
5030
5348
|
hostUi: z.ZodOptional<z.ZodObject<{
|
|
@@ -5070,6 +5388,7 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
5070
5388
|
}, z.core.$strict>>;
|
|
5071
5389
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
5072
5390
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
5391
|
+
"assets.read": "assets.read";
|
|
5073
5392
|
"agents.read": "agents.read";
|
|
5074
5393
|
"channels.read": "channels.read";
|
|
5075
5394
|
"connections.read": "connections.read";
|
|
@@ -5077,7 +5396,6 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
5077
5396
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
5078
5397
|
"runtime.read": "runtime.read";
|
|
5079
5398
|
"messages.read": "messages.read";
|
|
5080
|
-
"assets.read": "assets.read";
|
|
5081
5399
|
"agents.manage": "agents.manage";
|
|
5082
5400
|
"channels.manage": "channels.manage";
|
|
5083
5401
|
"connections.manage": "connections.manage";
|
|
@@ -5112,6 +5430,24 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
5112
5430
|
library: z.ZodOptional<z.ZodObject<{
|
|
5113
5431
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5114
5432
|
}, z.core.$strict>>;
|
|
5433
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5434
|
+
}, z.core.$strict>>;
|
|
5435
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
5436
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5437
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5438
|
+
}, z.core.$strict>>;
|
|
5439
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
5440
|
+
highDetail: z.ZodLiteral<true>;
|
|
5441
|
+
}, z.core.$strict>>;
|
|
5442
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5443
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
5444
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
5445
|
+
ffmpeg: "ffmpeg";
|
|
5446
|
+
ffprobe: "ffprobe";
|
|
5447
|
+
}>>;
|
|
5448
|
+
}, z.core.$strict>>;
|
|
5449
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
5450
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
5115
5451
|
}, z.core.$strict>>;
|
|
5116
5452
|
index: z.ZodOptional<z.ZodObject<{
|
|
5117
5453
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -5324,8 +5660,8 @@ export declare const DshPluginOperationSseDataSchema: z.ZodObject<{
|
|
|
5324
5660
|
inspect: "inspect";
|
|
5325
5661
|
}>;
|
|
5326
5662
|
phase: z.ZodEnum<{
|
|
5327
|
-
download: "download";
|
|
5328
5663
|
publish: "publish";
|
|
5664
|
+
download: "download";
|
|
5329
5665
|
dependencies: "dependencies";
|
|
5330
5666
|
"build-scripts": "build-scripts";
|
|
5331
5667
|
validation: "validation";
|
|
@@ -5548,6 +5884,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5548
5884
|
}>;
|
|
5549
5885
|
hidden: z.ZodBoolean;
|
|
5550
5886
|
annotation: z.ZodOptional<z.ZodString>;
|
|
5887
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5888
|
+
label: z.ZodString;
|
|
5889
|
+
text: z.ZodString;
|
|
5890
|
+
}, z.core.$strict>>>;
|
|
5551
5891
|
extensions: z.ZodArray<z.ZodString>;
|
|
5552
5892
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5553
5893
|
}, z.core.$strict>>;
|
|
@@ -5762,6 +6102,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5762
6102
|
cancelled: "cancelled";
|
|
5763
6103
|
}>>;
|
|
5764
6104
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
6105
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
6106
|
+
text: z.ZodString;
|
|
6107
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
6108
|
+
}, z.core.$strict>>;
|
|
5765
6109
|
}, z.core.$strict>>>;
|
|
5766
6110
|
callId: z.ZodString;
|
|
5767
6111
|
name: z.ZodString;
|
|
@@ -5782,6 +6126,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5782
6126
|
cancelled: "cancelled";
|
|
5783
6127
|
}>>;
|
|
5784
6128
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
6129
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
6130
|
+
text: z.ZodString;
|
|
6131
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
6132
|
+
}, z.core.$strict>>;
|
|
5785
6133
|
}, z.core.$strict>>;
|
|
5786
6134
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
5787
6135
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -5833,8 +6181,8 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5833
6181
|
inspect: "inspect";
|
|
5834
6182
|
}>;
|
|
5835
6183
|
phase: z.ZodEnum<{
|
|
5836
|
-
download: "download";
|
|
5837
6184
|
publish: "publish";
|
|
6185
|
+
download: "download";
|
|
5838
6186
|
dependencies: "dependencies";
|
|
5839
6187
|
"build-scripts": "build-scripts";
|
|
5840
6188
|
validation: "validation";
|
|
@@ -6176,6 +6524,21 @@ export declare const AgentRevisionHistorySchema: z.ZodObject<{
|
|
|
6176
6524
|
}, z.core.$strict>>;
|
|
6177
6525
|
}, z.core.$strict>;
|
|
6178
6526
|
export type AgentRevisionHistory = z.output<typeof AgentRevisionHistorySchema>;
|
|
6527
|
+
/**
|
|
6528
|
+
* What keeps a version from being cleaned up: in use, enabled for an agent, released to a community, kept by hand,
|
|
6529
|
+
* the start of a branch, the base of an open revision, needed by 回到上一个版本, or named by a pending request.
|
|
6530
|
+
*/
|
|
6531
|
+
export declare const ExtensionRevisionProtectionSchema: z.ZodEnum<{
|
|
6532
|
+
installed: "installed";
|
|
6533
|
+
active: "active";
|
|
6534
|
+
request: "request";
|
|
6535
|
+
branch: "branch";
|
|
6536
|
+
released: "released";
|
|
6537
|
+
kept: "kept";
|
|
6538
|
+
revising: "revising";
|
|
6539
|
+
undo: "undo";
|
|
6540
|
+
}>;
|
|
6541
|
+
export type ExtensionRevisionProtection = z.output<typeof ExtensionRevisionProtectionSchema>;
|
|
6179
6542
|
/** One version of one line in the lineage view of an extension family. */
|
|
6180
6543
|
export declare const ExtensionLineageNodeSchema: z.ZodObject<{
|
|
6181
6544
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
@@ -6191,6 +6554,17 @@ export declare const ExtensionLineageNodeSchema: z.ZodObject<{
|
|
|
6191
6554
|
createdAt: z.ZodNumber;
|
|
6192
6555
|
current: z.ZodBoolean;
|
|
6193
6556
|
releaseNumbers: z.ZodArray<z.ZodNumber>;
|
|
6557
|
+
kept: z.ZodBoolean;
|
|
6558
|
+
protectedBy: z.ZodOptional<z.ZodEnum<{
|
|
6559
|
+
installed: "installed";
|
|
6560
|
+
active: "active";
|
|
6561
|
+
request: "request";
|
|
6562
|
+
branch: "branch";
|
|
6563
|
+
released: "released";
|
|
6564
|
+
kept: "kept";
|
|
6565
|
+
revising: "revising";
|
|
6566
|
+
undo: "undo";
|
|
6567
|
+
}>>;
|
|
6194
6568
|
}, z.core.$strict>;
|
|
6195
6569
|
/** Every line of the family an extension belongs to: the original and every branch of a branch on this machine. */
|
|
6196
6570
|
export declare const ExtensionLineageSchema: z.ZodObject<{
|
|
@@ -6215,6 +6589,17 @@ export declare const ExtensionLineageSchema: z.ZodObject<{
|
|
|
6215
6589
|
createdAt: z.ZodNumber;
|
|
6216
6590
|
current: z.ZodBoolean;
|
|
6217
6591
|
releaseNumbers: z.ZodArray<z.ZodNumber>;
|
|
6592
|
+
kept: z.ZodBoolean;
|
|
6593
|
+
protectedBy: z.ZodOptional<z.ZodEnum<{
|
|
6594
|
+
installed: "installed";
|
|
6595
|
+
active: "active";
|
|
6596
|
+
request: "request";
|
|
6597
|
+
branch: "branch";
|
|
6598
|
+
released: "released";
|
|
6599
|
+
kept: "kept";
|
|
6600
|
+
revising: "revising";
|
|
6601
|
+
undo: "undo";
|
|
6602
|
+
}>>;
|
|
6218
6603
|
}, z.core.$strict>>;
|
|
6219
6604
|
}, z.core.$strict>>;
|
|
6220
6605
|
}, z.core.$strict>;
|
|
@@ -7122,63 +7507,15 @@ export declare const HostApiContracts: {
|
|
|
7122
7507
|
}, z.core.$strict>;
|
|
7123
7508
|
codeRun: z.ZodOptional<z.ZodObject<{
|
|
7124
7509
|
available: z.ZodBoolean;
|
|
7125
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
7126
|
-
host: "host";
|
|
7127
|
-
system: "system";
|
|
7128
|
-
downloaded: "downloaded";
|
|
7129
|
-
}>>;
|
|
7130
|
-
version: z.ZodOptional<z.ZodString>;
|
|
7131
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
7132
|
-
version: z.ZodString;
|
|
7133
|
-
state: z.ZodEnum<{
|
|
7134
|
-
failed: "failed";
|
|
7135
|
-
idle: "idle";
|
|
7136
|
-
downloading: "downloading";
|
|
7137
|
-
}>;
|
|
7138
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
7139
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
7140
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7141
|
-
}, z.core.$strict>>;
|
|
7142
7510
|
}, z.core.$strict>>;
|
|
7143
7511
|
githubCli: z.ZodOptional<z.ZodObject<{
|
|
7144
7512
|
available: z.ZodBoolean;
|
|
7145
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
7146
|
-
host: "host";
|
|
7147
|
-
system: "system";
|
|
7148
|
-
downloaded: "downloaded";
|
|
7149
|
-
}>>;
|
|
7150
|
-
version: z.ZodOptional<z.ZodString>;
|
|
7151
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
7152
|
-
version: z.ZodString;
|
|
7153
|
-
state: z.ZodEnum<{
|
|
7154
|
-
failed: "failed";
|
|
7155
|
-
idle: "idle";
|
|
7156
|
-
downloading: "downloading";
|
|
7157
|
-
}>;
|
|
7158
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
7159
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
7160
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7161
|
-
}, z.core.$strict>>;
|
|
7162
7513
|
}, z.core.$strict>>;
|
|
7163
7514
|
verificationBrowser: z.ZodOptional<z.ZodObject<{
|
|
7164
7515
|
available: z.ZodBoolean;
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
downloaded: "downloaded";
|
|
7169
|
-
}>>;
|
|
7170
|
-
version: z.ZodOptional<z.ZodString>;
|
|
7171
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
7172
|
-
version: z.ZodString;
|
|
7173
|
-
state: z.ZodEnum<{
|
|
7174
|
-
failed: "failed";
|
|
7175
|
-
idle: "idle";
|
|
7176
|
-
downloading: "downloading";
|
|
7177
|
-
}>;
|
|
7178
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
7179
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
7180
|
-
error: z.ZodOptional<z.ZodString>;
|
|
7181
|
-
}, z.core.$strict>>;
|
|
7516
|
+
}, z.core.$strict>>;
|
|
7517
|
+
speechRecognition: z.ZodOptional<z.ZodObject<{
|
|
7518
|
+
available: z.ZodBoolean;
|
|
7182
7519
|
}, z.core.$strict>>;
|
|
7183
7520
|
commandConfinement: z.ZodOptional<z.ZodObject<{
|
|
7184
7521
|
readScope: z.ZodBoolean;
|
|
@@ -7357,6 +7694,7 @@ export declare const HostApiContracts: {
|
|
|
7357
7694
|
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
7358
7695
|
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
7359
7696
|
communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
|
|
7697
|
+
voiceTranscription: z.ZodDefault<z.ZodBoolean>;
|
|
7360
7698
|
commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7361
7699
|
service: z.ZodEnum<{
|
|
7362
7700
|
github: "github";
|
|
@@ -7791,6 +8129,10 @@ export declare const HostApiContracts: {
|
|
|
7791
8129
|
}>;
|
|
7792
8130
|
hidden: z.ZodBoolean;
|
|
7793
8131
|
annotation: z.ZodOptional<z.ZodString>;
|
|
8132
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8133
|
+
label: z.ZodString;
|
|
8134
|
+
text: z.ZodString;
|
|
8135
|
+
}, z.core.$strict>>>;
|
|
7794
8136
|
extensions: z.ZodArray<z.ZodString>;
|
|
7795
8137
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7796
8138
|
}, z.core.$strict>>;
|
|
@@ -8156,6 +8498,7 @@ export declare const HostApiContracts: {
|
|
|
8156
8498
|
}, z.core.$strict>>>;
|
|
8157
8499
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
8158
8500
|
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
8501
|
+
"assets.read": "assets.read";
|
|
8159
8502
|
"agents.read": "agents.read";
|
|
8160
8503
|
"channels.read": "channels.read";
|
|
8161
8504
|
"connections.read": "connections.read";
|
|
@@ -8163,7 +8506,6 @@ export declare const HostApiContracts: {
|
|
|
8163
8506
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
8164
8507
|
"runtime.read": "runtime.read";
|
|
8165
8508
|
"messages.read": "messages.read";
|
|
8166
|
-
"assets.read": "assets.read";
|
|
8167
8509
|
"agents.manage": "agents.manage";
|
|
8168
8510
|
"channels.manage": "channels.manage";
|
|
8169
8511
|
"connections.manage": "connections.manage";
|
|
@@ -8188,9 +8530,24 @@ export declare const HostApiContracts: {
|
|
|
8188
8530
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8189
8531
|
}, z.core.$strict>>;
|
|
8190
8532
|
assets: z.ZodOptional<z.ZodObject<{
|
|
8191
|
-
library: z.ZodObject<{
|
|
8533
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
8192
8534
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8193
|
-
}, z.core.$strict
|
|
8535
|
+
}, z.core.$strict>>;
|
|
8536
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8537
|
+
}, z.core.$strict>>;
|
|
8538
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
8539
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8540
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8541
|
+
}, z.core.$strict>>;
|
|
8542
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8543
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
8544
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
8545
|
+
ffmpeg: "ffmpeg";
|
|
8546
|
+
ffprobe: "ffprobe";
|
|
8547
|
+
}>>;
|
|
8548
|
+
}, z.core.$strict>>;
|
|
8549
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
8550
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
8194
8551
|
}, z.core.$strict>>;
|
|
8195
8552
|
index: z.ZodOptional<z.ZodObject<{
|
|
8196
8553
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -8232,6 +8589,24 @@ export declare const HostApiContracts: {
|
|
|
8232
8589
|
library: z.ZodOptional<z.ZodObject<{
|
|
8233
8590
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8234
8591
|
}, z.core.$strict>>;
|
|
8592
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8593
|
+
}, z.core.$strict>>;
|
|
8594
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
8595
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8596
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8597
|
+
}, z.core.$strict>>;
|
|
8598
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
8599
|
+
highDetail: z.ZodLiteral<true>;
|
|
8600
|
+
}, z.core.$strict>>;
|
|
8601
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8602
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
8603
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
8604
|
+
ffmpeg: "ffmpeg";
|
|
8605
|
+
ffprobe: "ffprobe";
|
|
8606
|
+
}>>;
|
|
8607
|
+
}, z.core.$strict>>;
|
|
8608
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
8609
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
8235
8610
|
}, z.core.$strict>>;
|
|
8236
8611
|
index: z.ZodOptional<z.ZodObject<{
|
|
8237
8612
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -8326,6 +8701,7 @@ export declare const HostApiContracts: {
|
|
|
8326
8701
|
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
8327
8702
|
declaration: z.ZodObject<{
|
|
8328
8703
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
8704
|
+
"assets.read": "assets.read";
|
|
8329
8705
|
"agents.read": "agents.read";
|
|
8330
8706
|
"channels.read": "channels.read";
|
|
8331
8707
|
"connections.read": "connections.read";
|
|
@@ -8333,7 +8709,6 @@ export declare const HostApiContracts: {
|
|
|
8333
8709
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
8334
8710
|
"runtime.read": "runtime.read";
|
|
8335
8711
|
"messages.read": "messages.read";
|
|
8336
|
-
"assets.read": "assets.read";
|
|
8337
8712
|
"agents.manage": "agents.manage";
|
|
8338
8713
|
"channels.manage": "channels.manage";
|
|
8339
8714
|
"connections.manage": "connections.manage";
|
|
@@ -8368,6 +8743,24 @@ export declare const HostApiContracts: {
|
|
|
8368
8743
|
library: z.ZodOptional<z.ZodObject<{
|
|
8369
8744
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8370
8745
|
}, z.core.$strict>>;
|
|
8746
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8747
|
+
}, z.core.$strict>>;
|
|
8748
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
8749
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8750
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8751
|
+
}, z.core.$strict>>;
|
|
8752
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
8753
|
+
highDetail: z.ZodLiteral<true>;
|
|
8754
|
+
}, z.core.$strict>>;
|
|
8755
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8756
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
8757
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
8758
|
+
ffmpeg: "ffmpeg";
|
|
8759
|
+
ffprobe: "ffprobe";
|
|
8760
|
+
}>>;
|
|
8761
|
+
}, z.core.$strict>>;
|
|
8762
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
8763
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
8371
8764
|
}, z.core.$strict>>;
|
|
8372
8765
|
index: z.ZodOptional<z.ZodObject<{
|
|
8373
8766
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -8465,6 +8858,7 @@ export declare const HostApiContracts: {
|
|
|
8465
8858
|
agentPermission: z.ZodOptional<z.ZodObject<{
|
|
8466
8859
|
declaration: z.ZodObject<{
|
|
8467
8860
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
8861
|
+
"assets.read": "assets.read";
|
|
8468
8862
|
"agents.read": "agents.read";
|
|
8469
8863
|
"channels.read": "channels.read";
|
|
8470
8864
|
"connections.read": "connections.read";
|
|
@@ -8472,7 +8866,6 @@ export declare const HostApiContracts: {
|
|
|
8472
8866
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
8473
8867
|
"runtime.read": "runtime.read";
|
|
8474
8868
|
"messages.read": "messages.read";
|
|
8475
|
-
"assets.read": "assets.read";
|
|
8476
8869
|
"agents.manage": "agents.manage";
|
|
8477
8870
|
"channels.manage": "channels.manage";
|
|
8478
8871
|
"connections.manage": "connections.manage";
|
|
@@ -8507,6 +8900,24 @@ export declare const HostApiContracts: {
|
|
|
8507
8900
|
library: z.ZodOptional<z.ZodObject<{
|
|
8508
8901
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8509
8902
|
}, z.core.$strict>>;
|
|
8903
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8904
|
+
}, z.core.$strict>>;
|
|
8905
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
8906
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8907
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8908
|
+
}, z.core.$strict>>;
|
|
8909
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
8910
|
+
highDetail: z.ZodLiteral<true>;
|
|
8911
|
+
}, z.core.$strict>>;
|
|
8912
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8913
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
8914
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
8915
|
+
ffmpeg: "ffmpeg";
|
|
8916
|
+
ffprobe: "ffprobe";
|
|
8917
|
+
}>>;
|
|
8918
|
+
}, z.core.$strict>>;
|
|
8919
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
8920
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
8510
8921
|
}, z.core.$strict>>;
|
|
8511
8922
|
index: z.ZodOptional<z.ZodObject<{
|
|
8512
8923
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -8680,6 +9091,7 @@ export declare const HostApiContracts: {
|
|
|
8680
9091
|
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
8681
9092
|
declaration: z.ZodObject<{
|
|
8682
9093
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
9094
|
+
"assets.read": "assets.read";
|
|
8683
9095
|
"agents.read": "agents.read";
|
|
8684
9096
|
"channels.read": "channels.read";
|
|
8685
9097
|
"connections.read": "connections.read";
|
|
@@ -8687,7 +9099,6 @@ export declare const HostApiContracts: {
|
|
|
8687
9099
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
8688
9100
|
"runtime.read": "runtime.read";
|
|
8689
9101
|
"messages.read": "messages.read";
|
|
8690
|
-
"assets.read": "assets.read";
|
|
8691
9102
|
"agents.manage": "agents.manage";
|
|
8692
9103
|
"channels.manage": "channels.manage";
|
|
8693
9104
|
"connections.manage": "connections.manage";
|
|
@@ -8722,6 +9133,24 @@ export declare const HostApiContracts: {
|
|
|
8722
9133
|
library: z.ZodOptional<z.ZodObject<{
|
|
8723
9134
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
8724
9135
|
}, z.core.$strict>>;
|
|
9136
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9137
|
+
}, z.core.$strict>>;
|
|
9138
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
9139
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
9140
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
9141
|
+
}, z.core.$strict>>;
|
|
9142
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
9143
|
+
highDetail: z.ZodLiteral<true>;
|
|
9144
|
+
}, z.core.$strict>>;
|
|
9145
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
9146
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
9147
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
9148
|
+
ffmpeg: "ffmpeg";
|
|
9149
|
+
ffprobe: "ffprobe";
|
|
9150
|
+
}>>;
|
|
9151
|
+
}, z.core.$strict>>;
|
|
9152
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
9153
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
8725
9154
|
}, z.core.$strict>>;
|
|
8726
9155
|
index: z.ZodOptional<z.ZodObject<{
|
|
8727
9156
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -9263,6 +9692,86 @@ export declare const HostApiContracts: {
|
|
|
9263
9692
|
createdAt: z.ZodNumber;
|
|
9264
9693
|
closedAt: z.ZodOptional<z.ZodNumber>;
|
|
9265
9694
|
}, z.core.$strict>>>;
|
|
9695
|
+
addons: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9696
|
+
id: z.ZodEnum<{
|
|
9697
|
+
node: "node";
|
|
9698
|
+
media: "media";
|
|
9699
|
+
speech: "speech";
|
|
9700
|
+
retrieval: "retrieval";
|
|
9701
|
+
"github-cli": "github-cli";
|
|
9702
|
+
browser: "browser";
|
|
9703
|
+
}>;
|
|
9704
|
+
group: z.ZodEnum<{
|
|
9705
|
+
extension: "extension";
|
|
9706
|
+
host: "host";
|
|
9707
|
+
agent: "agent";
|
|
9708
|
+
}>;
|
|
9709
|
+
title: z.ZodString;
|
|
9710
|
+
summary: z.ZodString;
|
|
9711
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
9712
|
+
state: z.ZodEnum<{
|
|
9713
|
+
failed: "failed";
|
|
9714
|
+
installed: "installed";
|
|
9715
|
+
available: "available";
|
|
9716
|
+
unsupported: "unsupported";
|
|
9717
|
+
"not-installed": "not-installed";
|
|
9718
|
+
installing: "installing";
|
|
9719
|
+
"needs-config": "needs-config";
|
|
9720
|
+
}>;
|
|
9721
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
9722
|
+
receivedBytes: z.ZodNumber;
|
|
9723
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
9724
|
+
}, z.core.$strict>>;
|
|
9725
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
9726
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
9727
|
+
id: z.ZodString;
|
|
9728
|
+
title: z.ZodString;
|
|
9729
|
+
summary: z.ZodString;
|
|
9730
|
+
state: z.ZodEnum<{
|
|
9731
|
+
failed: "failed";
|
|
9732
|
+
installed: "installed";
|
|
9733
|
+
available: "available";
|
|
9734
|
+
unsupported: "unsupported";
|
|
9735
|
+
"not-installed": "not-installed";
|
|
9736
|
+
installing: "installing";
|
|
9737
|
+
"needs-config": "needs-config";
|
|
9738
|
+
}>;
|
|
9739
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
9740
|
+
system: "system";
|
|
9741
|
+
bundled: "bundled";
|
|
9742
|
+
downloaded: "downloaded";
|
|
9743
|
+
cloud: "cloud";
|
|
9744
|
+
}>>;
|
|
9745
|
+
version: z.ZodOptional<z.ZodString>;
|
|
9746
|
+
resources: z.ZodObject<{
|
|
9747
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
9748
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
9749
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
9750
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9751
|
+
}, z.core.$strict>;
|
|
9752
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9753
|
+
component: z.ZodOptional<z.ZodString>;
|
|
9754
|
+
name: z.ZodString;
|
|
9755
|
+
url: z.ZodURL;
|
|
9756
|
+
}, z.core.$strict>>>;
|
|
9757
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9758
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
9759
|
+
receivedBytes: z.ZodNumber;
|
|
9760
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
9761
|
+
}, z.core.$strict>>;
|
|
9762
|
+
error: z.ZodOptional<z.ZodString>;
|
|
9763
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
9764
|
+
node: "node";
|
|
9765
|
+
media: "media";
|
|
9766
|
+
speech: "speech";
|
|
9767
|
+
retrieval: "retrieval";
|
|
9768
|
+
"github-cli": "github-cli";
|
|
9769
|
+
browser: "browser";
|
|
9770
|
+
}>>>;
|
|
9771
|
+
installable: z.ZodBoolean;
|
|
9772
|
+
removable: z.ZodBoolean;
|
|
9773
|
+
}, z.core.$strict>>;
|
|
9774
|
+
}, z.core.$strict>>>;
|
|
9266
9775
|
scheduledTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9267
9776
|
id: z.ZodString;
|
|
9268
9777
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -9304,10 +9813,12 @@ export declare const HostApiContracts: {
|
|
|
9304
9813
|
status: z.ZodEnum<{
|
|
9305
9814
|
failed: "failed";
|
|
9306
9815
|
pending: "pending";
|
|
9816
|
+
withdrawn: "withdrawn";
|
|
9307
9817
|
rejected: "rejected";
|
|
9308
9818
|
approved: "approved";
|
|
9309
9819
|
expired: "expired";
|
|
9310
9820
|
completed: "completed";
|
|
9821
|
+
superseded: "superseded";
|
|
9311
9822
|
}>;
|
|
9312
9823
|
autonomous: z.ZodBoolean;
|
|
9313
9824
|
resultMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -10541,6 +11052,7 @@ export declare const HostApiContracts: {
|
|
|
10541
11052
|
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
10542
11053
|
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
10543
11054
|
communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
|
|
11055
|
+
voiceTranscription: z.ZodDefault<z.ZodBoolean>;
|
|
10544
11056
|
commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10545
11057
|
service: z.ZodEnum<{
|
|
10546
11058
|
github: "github";
|
|
@@ -10700,6 +11212,7 @@ export declare const HostApiContracts: {
|
|
|
10700
11212
|
codeRun: z.ZodOptional<z.ZodBoolean>;
|
|
10701
11213
|
commandNetwork: z.ZodOptional<z.ZodBoolean>;
|
|
10702
11214
|
communityFeedbackAuto: z.ZodOptional<z.ZodBoolean>;
|
|
11215
|
+
voiceTranscription: z.ZodOptional<z.ZodBoolean>;
|
|
10703
11216
|
commandAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10704
11217
|
service: z.ZodEnum<{
|
|
10705
11218
|
github: "github";
|
|
@@ -10738,6 +11251,7 @@ export declare const HostApiContracts: {
|
|
|
10738
11251
|
codeRun: z.ZodDefault<z.ZodBoolean>;
|
|
10739
11252
|
commandNetwork: z.ZodDefault<z.ZodBoolean>;
|
|
10740
11253
|
communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
|
|
11254
|
+
voiceTranscription: z.ZodDefault<z.ZodBoolean>;
|
|
10741
11255
|
commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10742
11256
|
service: z.ZodEnum<{
|
|
10743
11257
|
github: "github";
|
|
@@ -11129,6 +11643,10 @@ export declare const HostApiContracts: {
|
|
|
11129
11643
|
}>;
|
|
11130
11644
|
hidden: z.ZodBoolean;
|
|
11131
11645
|
annotation: z.ZodOptional<z.ZodString>;
|
|
11646
|
+
hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11647
|
+
label: z.ZodString;
|
|
11648
|
+
text: z.ZodString;
|
|
11649
|
+
}, z.core.$strict>>>;
|
|
11132
11650
|
extensions: z.ZodArray<z.ZodString>;
|
|
11133
11651
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11134
11652
|
}, z.core.$strict>>;
|
|
@@ -11411,6 +11929,10 @@ export declare const HostApiContracts: {
|
|
|
11411
11929
|
cancelled: "cancelled";
|
|
11412
11930
|
}>>;
|
|
11413
11931
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
11932
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
11933
|
+
text: z.ZodString;
|
|
11934
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
11935
|
+
}, z.core.$strict>>;
|
|
11414
11936
|
}, z.core.$strict>>>;
|
|
11415
11937
|
callId: z.ZodString;
|
|
11416
11938
|
name: z.ZodString;
|
|
@@ -11431,6 +11953,10 @@ export declare const HostApiContracts: {
|
|
|
11431
11953
|
cancelled: "cancelled";
|
|
11432
11954
|
}>>;
|
|
11433
11955
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
11956
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
11957
|
+
text: z.ZodString;
|
|
11958
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
11959
|
+
}, z.core.$strict>>;
|
|
11434
11960
|
}, z.core.$strict>>;
|
|
11435
11961
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
11436
11962
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -11781,6 +12307,10 @@ export declare const HostApiContracts: {
|
|
|
11781
12307
|
cancelled: "cancelled";
|
|
11782
12308
|
}>>;
|
|
11783
12309
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
12310
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
12311
|
+
text: z.ZodString;
|
|
12312
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
12313
|
+
}, z.core.$strict>>;
|
|
11784
12314
|
}, z.core.$strict>>>;
|
|
11785
12315
|
callId: z.ZodString;
|
|
11786
12316
|
name: z.ZodString;
|
|
@@ -11801,6 +12331,10 @@ export declare const HostApiContracts: {
|
|
|
11801
12331
|
cancelled: "cancelled";
|
|
11802
12332
|
}>>;
|
|
11803
12333
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
12334
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
12335
|
+
text: z.ZodString;
|
|
12336
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
12337
|
+
}, z.core.$strict>>;
|
|
11804
12338
|
}, z.core.$strict>>;
|
|
11805
12339
|
internalOutput: z.ZodOptional<z.ZodObject<{
|
|
11806
12340
|
kind: z.ZodLiteral<"internal-output">;
|
|
@@ -12255,6 +12789,21 @@ export declare const HostApiContracts: {
|
|
|
12255
12789
|
commit: z.ZodOptional<z.ZodString>;
|
|
12256
12790
|
url: z.ZodString;
|
|
12257
12791
|
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
12792
|
+
downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12793
|
+
platform: z.ZodEnum<{
|
|
12794
|
+
mac: "mac";
|
|
12795
|
+
win: "win";
|
|
12796
|
+
linux: "linux";
|
|
12797
|
+
}>;
|
|
12798
|
+
arch: z.ZodEnum<{
|
|
12799
|
+
arm64: "arm64";
|
|
12800
|
+
x64: "x64";
|
|
12801
|
+
}>;
|
|
12802
|
+
name: z.ZodString;
|
|
12803
|
+
size: z.ZodNumber;
|
|
12804
|
+
sha256: z.ZodString;
|
|
12805
|
+
urls: z.ZodArray<z.ZodString>;
|
|
12806
|
+
}, z.core.$strict>>>;
|
|
12258
12807
|
}, z.core.$strict>>;
|
|
12259
12808
|
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
12260
12809
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -12285,6 +12834,21 @@ export declare const HostApiContracts: {
|
|
|
12285
12834
|
commit: z.ZodOptional<z.ZodString>;
|
|
12286
12835
|
url: z.ZodString;
|
|
12287
12836
|
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
12837
|
+
downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12838
|
+
platform: z.ZodEnum<{
|
|
12839
|
+
mac: "mac";
|
|
12840
|
+
win: "win";
|
|
12841
|
+
linux: "linux";
|
|
12842
|
+
}>;
|
|
12843
|
+
arch: z.ZodEnum<{
|
|
12844
|
+
arm64: "arm64";
|
|
12845
|
+
x64: "x64";
|
|
12846
|
+
}>;
|
|
12847
|
+
name: z.ZodString;
|
|
12848
|
+
size: z.ZodNumber;
|
|
12849
|
+
sha256: z.ZodString;
|
|
12850
|
+
urls: z.ZodArray<z.ZodString>;
|
|
12851
|
+
}, z.core.$strict>>>;
|
|
12288
12852
|
}, z.core.$strict>>;
|
|
12289
12853
|
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
12290
12854
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -12317,6 +12881,21 @@ export declare const HostApiContracts: {
|
|
|
12317
12881
|
commit: z.ZodOptional<z.ZodString>;
|
|
12318
12882
|
url: z.ZodString;
|
|
12319
12883
|
publishedAt: z.ZodOptional<z.ZodNumber>;
|
|
12884
|
+
downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12885
|
+
platform: z.ZodEnum<{
|
|
12886
|
+
mac: "mac";
|
|
12887
|
+
win: "win";
|
|
12888
|
+
linux: "linux";
|
|
12889
|
+
}>;
|
|
12890
|
+
arch: z.ZodEnum<{
|
|
12891
|
+
arm64: "arm64";
|
|
12892
|
+
x64: "x64";
|
|
12893
|
+
}>;
|
|
12894
|
+
name: z.ZodString;
|
|
12895
|
+
size: z.ZodNumber;
|
|
12896
|
+
sha256: z.ZodString;
|
|
12897
|
+
urls: z.ZodArray<z.ZodString>;
|
|
12898
|
+
}, z.core.$strict>>>;
|
|
12320
12899
|
}, z.core.$strict>>;
|
|
12321
12900
|
checkedAt: z.ZodOptional<z.ZodNumber>;
|
|
12322
12901
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -12411,6 +12990,24 @@ export declare const HostApiContracts: {
|
|
|
12411
12990
|
message: z.ZodString;
|
|
12412
12991
|
}, z.core.$strict>;
|
|
12413
12992
|
}, z.core.$strict>>;
|
|
12993
|
+
readonly getExtensionDownloadSettings: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
12994
|
+
maxBytes: z.ZodNumber;
|
|
12995
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12996
|
+
error: z.ZodObject<{
|
|
12997
|
+
code: z.ZodString;
|
|
12998
|
+
message: z.ZodString;
|
|
12999
|
+
}, z.core.$strict>;
|
|
13000
|
+
}, z.core.$strict>>;
|
|
13001
|
+
readonly updateExtensionDownloadSettings: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
13002
|
+
maxBytes: z.ZodNumber;
|
|
13003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13004
|
+
maxBytes: z.ZodNumber;
|
|
13005
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13006
|
+
error: z.ZodObject<{
|
|
13007
|
+
code: z.ZodString;
|
|
13008
|
+
message: z.ZodString;
|
|
13009
|
+
}, z.core.$strict>;
|
|
13010
|
+
}, z.core.$strict>>;
|
|
12414
13011
|
readonly getModelFallbackSettings: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
12415
13012
|
unavailableCooldownMinutes: z.ZodNumber;
|
|
12416
13013
|
quotaCooldownMinutes: z.ZodNumber;
|
|
@@ -12482,23 +13079,6 @@ export declare const HostApiContracts: {
|
|
|
12482
13079
|
builtin: "builtin";
|
|
12483
13080
|
keyword: "keyword";
|
|
12484
13081
|
}>;
|
|
12485
|
-
builtin: z.ZodObject<{
|
|
12486
|
-
model: z.ZodString;
|
|
12487
|
-
supported: z.ZodBoolean;
|
|
12488
|
-
downloadBytes: z.ZodNumber;
|
|
12489
|
-
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12490
|
-
state: z.ZodLiteral<"not-installed">;
|
|
12491
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12492
|
-
state: z.ZodLiteral<"downloading">;
|
|
12493
|
-
receivedBytes: z.ZodNumber;
|
|
12494
|
-
totalBytes: z.ZodNumber;
|
|
12495
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12496
|
-
state: z.ZodLiteral<"installed">;
|
|
12497
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12498
|
-
state: z.ZodLiteral<"failed">;
|
|
12499
|
-
error: z.ZodString;
|
|
12500
|
-
}, z.core.$strict>], "state">;
|
|
12501
|
-
}, z.core.$strict>;
|
|
12502
13082
|
vectors: z.ZodObject<{
|
|
12503
13083
|
documents: z.ZodNumber;
|
|
12504
13084
|
embedded: z.ZodNumber;
|
|
@@ -12525,23 +13105,6 @@ export declare const HostApiContracts: {
|
|
|
12525
13105
|
builtin: "builtin";
|
|
12526
13106
|
keyword: "keyword";
|
|
12527
13107
|
}>;
|
|
12528
|
-
builtin: z.ZodObject<{
|
|
12529
|
-
model: z.ZodString;
|
|
12530
|
-
supported: z.ZodBoolean;
|
|
12531
|
-
downloadBytes: z.ZodNumber;
|
|
12532
|
-
install: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12533
|
-
state: z.ZodLiteral<"not-installed">;
|
|
12534
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12535
|
-
state: z.ZodLiteral<"downloading">;
|
|
12536
|
-
receivedBytes: z.ZodNumber;
|
|
12537
|
-
totalBytes: z.ZodNumber;
|
|
12538
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12539
|
-
state: z.ZodLiteral<"installed">;
|
|
12540
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12541
|
-
state: z.ZodLiteral<"failed">;
|
|
12542
|
-
error: z.ZodString;
|
|
12543
|
-
}, z.core.$strict>], "state">;
|
|
12544
|
-
}, z.core.$strict>;
|
|
12545
13108
|
vectors: z.ZodObject<{
|
|
12546
13109
|
documents: z.ZodNumber;
|
|
12547
13110
|
embedded: z.ZodNumber;
|
|
@@ -12558,100 +13121,58 @@ export declare const HostApiContracts: {
|
|
|
12558
13121
|
message: z.ZodString;
|
|
12559
13122
|
}, z.core.$strict>;
|
|
12560
13123
|
}, z.core.$strict>>;
|
|
12561
|
-
readonly
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
keyword: "keyword";
|
|
12565
|
-
}>;
|
|
12566
|
-
builtin: z.ZodObject<{
|
|
13124
|
+
readonly getSpeechSettings: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
13125
|
+
cloud: z.ZodNullable<z.ZodObject<{
|
|
13126
|
+
provider: z.ZodString;
|
|
12567
13127
|
model: z.ZodString;
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
}, z.core.$strict>], "state">;
|
|
12582
|
-
}, z.core.$strict>;
|
|
12583
|
-
vectors: z.ZodObject<{
|
|
12584
|
-
documents: z.ZodNumber;
|
|
12585
|
-
embedded: z.ZodNumber;
|
|
12586
|
-
state: z.ZodEnum<{
|
|
12587
|
-
running: "running";
|
|
12588
|
-
ready: "ready";
|
|
12589
|
-
idle: "idle";
|
|
12590
|
-
}>;
|
|
12591
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12592
|
-
}, z.core.$strict>;
|
|
13128
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
13129
|
+
auto: "auto";
|
|
13130
|
+
zh: "zh";
|
|
13131
|
+
en: "en";
|
|
13132
|
+
ja: "ja";
|
|
13133
|
+
ko: "ko";
|
|
13134
|
+
yue: "yue";
|
|
13135
|
+
}>>;
|
|
13136
|
+
}, z.core.$strict>>;
|
|
13137
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13138
|
+
provider: z.ZodString;
|
|
13139
|
+
displayName: z.ZodString;
|
|
13140
|
+
}, z.core.$strict>>;
|
|
12593
13141
|
}, z.core.$strict>, z.ZodObject<{
|
|
12594
13142
|
error: z.ZodObject<{
|
|
12595
13143
|
code: z.ZodString;
|
|
12596
13144
|
message: z.ZodString;
|
|
12597
13145
|
}, z.core.$strict>;
|
|
12598
13146
|
}, z.core.$strict>>;
|
|
12599
|
-
readonly
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
keyword: "keyword";
|
|
12603
|
-
}>;
|
|
12604
|
-
builtin: z.ZodObject<{
|
|
13147
|
+
readonly updateSpeechSettings: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
13148
|
+
cloud: z.ZodNullable<z.ZodObject<{
|
|
13149
|
+
provider: z.ZodString;
|
|
12605
13150
|
model: z.ZodString;
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
state: z.ZodLiteral<"installed">;
|
|
12616
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
12617
|
-
state: z.ZodLiteral<"failed">;
|
|
12618
|
-
error: z.ZodString;
|
|
12619
|
-
}, z.core.$strict>], "state">;
|
|
12620
|
-
}, z.core.$strict>;
|
|
12621
|
-
vectors: z.ZodObject<{
|
|
12622
|
-
documents: z.ZodNumber;
|
|
12623
|
-
embedded: z.ZodNumber;
|
|
12624
|
-
state: z.ZodEnum<{
|
|
12625
|
-
running: "running";
|
|
12626
|
-
ready: "ready";
|
|
12627
|
-
idle: "idle";
|
|
12628
|
-
}>;
|
|
12629
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12630
|
-
}, z.core.$strict>;
|
|
13151
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
13152
|
+
auto: "auto";
|
|
13153
|
+
zh: "zh";
|
|
13154
|
+
en: "en";
|
|
13155
|
+
ja: "ja";
|
|
13156
|
+
ko: "ko";
|
|
13157
|
+
yue: "yue";
|
|
13158
|
+
}>>;
|
|
13159
|
+
}, z.core.$strict>>;
|
|
12631
13160
|
}, z.core.$strict>, z.ZodObject<{
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
}>>;
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
state: z.ZodEnum<{
|
|
12648
|
-
failed: "failed";
|
|
12649
|
-
idle: "idle";
|
|
12650
|
-
downloading: "downloading";
|
|
12651
|
-
}>;
|
|
12652
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
12653
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
12654
|
-
error: z.ZodOptional<z.ZodString>;
|
|
13161
|
+
cloud: z.ZodNullable<z.ZodObject<{
|
|
13162
|
+
provider: z.ZodString;
|
|
13163
|
+
model: z.ZodString;
|
|
13164
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
13165
|
+
auto: "auto";
|
|
13166
|
+
zh: "zh";
|
|
13167
|
+
en: "en";
|
|
13168
|
+
ja: "ja";
|
|
13169
|
+
ko: "ko";
|
|
13170
|
+
yue: "yue";
|
|
13171
|
+
}>>;
|
|
13172
|
+
}, z.core.$strict>>;
|
|
13173
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13174
|
+
provider: z.ZodString;
|
|
13175
|
+
displayName: z.ZodString;
|
|
12655
13176
|
}, z.core.$strict>>;
|
|
12656
13177
|
}, z.core.$strict>, z.ZodObject<{
|
|
12657
13178
|
error: z.ZodObject<{
|
|
@@ -12659,24 +13180,86 @@ export declare const HostApiContracts: {
|
|
|
12659
13180
|
message: z.ZodString;
|
|
12660
13181
|
}, z.core.$strict>;
|
|
12661
13182
|
}, z.core.$strict>>;
|
|
12662
|
-
readonly
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
13183
|
+
readonly listAddons: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
13184
|
+
addons: z.ZodArray<z.ZodObject<{
|
|
13185
|
+
id: z.ZodEnum<{
|
|
13186
|
+
node: "node";
|
|
13187
|
+
media: "media";
|
|
13188
|
+
speech: "speech";
|
|
13189
|
+
retrieval: "retrieval";
|
|
13190
|
+
"github-cli": "github-cli";
|
|
13191
|
+
browser: "browser";
|
|
13192
|
+
}>;
|
|
13193
|
+
group: z.ZodEnum<{
|
|
13194
|
+
extension: "extension";
|
|
13195
|
+
host: "host";
|
|
13196
|
+
agent: "agent";
|
|
13197
|
+
}>;
|
|
13198
|
+
title: z.ZodString;
|
|
13199
|
+
summary: z.ZodString;
|
|
13200
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
12672
13201
|
state: z.ZodEnum<{
|
|
12673
13202
|
failed: "failed";
|
|
12674
|
-
|
|
12675
|
-
|
|
13203
|
+
installed: "installed";
|
|
13204
|
+
available: "available";
|
|
13205
|
+
unsupported: "unsupported";
|
|
13206
|
+
"not-installed": "not-installed";
|
|
13207
|
+
installing: "installing";
|
|
13208
|
+
"needs-config": "needs-config";
|
|
12676
13209
|
}>;
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
|
|
13210
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13211
|
+
receivedBytes: z.ZodNumber;
|
|
13212
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13213
|
+
}, z.core.$strict>>;
|
|
13214
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
13215
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13216
|
+
id: z.ZodString;
|
|
13217
|
+
title: z.ZodString;
|
|
13218
|
+
summary: z.ZodString;
|
|
13219
|
+
state: z.ZodEnum<{
|
|
13220
|
+
failed: "failed";
|
|
13221
|
+
installed: "installed";
|
|
13222
|
+
available: "available";
|
|
13223
|
+
unsupported: "unsupported";
|
|
13224
|
+
"not-installed": "not-installed";
|
|
13225
|
+
installing: "installing";
|
|
13226
|
+
"needs-config": "needs-config";
|
|
13227
|
+
}>;
|
|
13228
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
13229
|
+
system: "system";
|
|
13230
|
+
bundled: "bundled";
|
|
13231
|
+
downloaded: "downloaded";
|
|
13232
|
+
cloud: "cloud";
|
|
13233
|
+
}>>;
|
|
13234
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13235
|
+
resources: z.ZodObject<{
|
|
13236
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
13237
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
13238
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
13239
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13240
|
+
}, z.core.$strict>;
|
|
13241
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13242
|
+
component: z.ZodOptional<z.ZodString>;
|
|
13243
|
+
name: z.ZodString;
|
|
13244
|
+
url: z.ZodURL;
|
|
13245
|
+
}, z.core.$strict>>>;
|
|
13246
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13247
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13248
|
+
receivedBytes: z.ZodNumber;
|
|
13249
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13250
|
+
}, z.core.$strict>>;
|
|
13251
|
+
error: z.ZodOptional<z.ZodString>;
|
|
13252
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
13253
|
+
node: "node";
|
|
13254
|
+
media: "media";
|
|
13255
|
+
speech: "speech";
|
|
13256
|
+
retrieval: "retrieval";
|
|
13257
|
+
"github-cli": "github-cli";
|
|
13258
|
+
browser: "browser";
|
|
13259
|
+
}>>>;
|
|
13260
|
+
installable: z.ZodBoolean;
|
|
13261
|
+
removable: z.ZodBoolean;
|
|
13262
|
+
}, z.core.$strict>>;
|
|
12680
13263
|
}, z.core.$strict>>;
|
|
12681
13264
|
}, z.core.$strict>, z.ZodObject<{
|
|
12682
13265
|
error: z.ZodObject<{
|
|
@@ -12684,49 +13267,94 @@ export declare const HostApiContracts: {
|
|
|
12684
13267
|
message: z.ZodString;
|
|
12685
13268
|
}, z.core.$strict>;
|
|
12686
13269
|
}, z.core.$strict>>;
|
|
12687
|
-
readonly
|
|
12688
|
-
|
|
12689
|
-
|
|
13270
|
+
readonly installAddonProvider: HostApiContract<"POST", z.ZodObject<{
|
|
13271
|
+
id: z.ZodEnum<{
|
|
13272
|
+
node: "node";
|
|
13273
|
+
media: "media";
|
|
13274
|
+
speech: "speech";
|
|
13275
|
+
retrieval: "retrieval";
|
|
13276
|
+
"github-cli": "github-cli";
|
|
13277
|
+
browser: "browser";
|
|
13278
|
+
}>;
|
|
13279
|
+
provider: z.ZodString;
|
|
13280
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
13281
|
+
id: z.ZodEnum<{
|
|
13282
|
+
node: "node";
|
|
13283
|
+
media: "media";
|
|
13284
|
+
speech: "speech";
|
|
13285
|
+
retrieval: "retrieval";
|
|
13286
|
+
"github-cli": "github-cli";
|
|
13287
|
+
browser: "browser";
|
|
13288
|
+
}>;
|
|
13289
|
+
group: z.ZodEnum<{
|
|
13290
|
+
extension: "extension";
|
|
12690
13291
|
host: "host";
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
13292
|
+
agent: "agent";
|
|
13293
|
+
}>;
|
|
13294
|
+
title: z.ZodString;
|
|
13295
|
+
summary: z.ZodString;
|
|
13296
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
13297
|
+
state: z.ZodEnum<{
|
|
13298
|
+
failed: "failed";
|
|
13299
|
+
installed: "installed";
|
|
13300
|
+
available: "available";
|
|
13301
|
+
unsupported: "unsupported";
|
|
13302
|
+
"not-installed": "not-installed";
|
|
13303
|
+
installing: "installing";
|
|
13304
|
+
"needs-config": "needs-config";
|
|
13305
|
+
}>;
|
|
13306
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13307
|
+
receivedBytes: z.ZodNumber;
|
|
12703
13308
|
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
12704
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12705
13309
|
}, z.core.$strict>>;
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
}, z.core.$strict>>;
|
|
12712
|
-
readonly removeGithubCli: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
12713
|
-
available: z.ZodBoolean;
|
|
12714
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
12715
|
-
host: "host";
|
|
12716
|
-
system: "system";
|
|
12717
|
-
downloaded: "downloaded";
|
|
12718
|
-
}>>;
|
|
12719
|
-
version: z.ZodOptional<z.ZodString>;
|
|
12720
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
12721
|
-
version: z.ZodString;
|
|
13310
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
13311
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13312
|
+
id: z.ZodString;
|
|
13313
|
+
title: z.ZodString;
|
|
13314
|
+
summary: z.ZodString;
|
|
12722
13315
|
state: z.ZodEnum<{
|
|
12723
13316
|
failed: "failed";
|
|
12724
|
-
|
|
12725
|
-
|
|
13317
|
+
installed: "installed";
|
|
13318
|
+
available: "available";
|
|
13319
|
+
unsupported: "unsupported";
|
|
13320
|
+
"not-installed": "not-installed";
|
|
13321
|
+
installing: "installing";
|
|
13322
|
+
"needs-config": "needs-config";
|
|
12726
13323
|
}>;
|
|
12727
|
-
|
|
12728
|
-
|
|
13324
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
13325
|
+
system: "system";
|
|
13326
|
+
bundled: "bundled";
|
|
13327
|
+
downloaded: "downloaded";
|
|
13328
|
+
cloud: "cloud";
|
|
13329
|
+
}>>;
|
|
13330
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13331
|
+
resources: z.ZodObject<{
|
|
13332
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
13333
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
13334
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
13335
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13336
|
+
}, z.core.$strict>;
|
|
13337
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13338
|
+
component: z.ZodOptional<z.ZodString>;
|
|
13339
|
+
name: z.ZodString;
|
|
13340
|
+
url: z.ZodURL;
|
|
13341
|
+
}, z.core.$strict>>>;
|
|
13342
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13343
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13344
|
+
receivedBytes: z.ZodNumber;
|
|
13345
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13346
|
+
}, z.core.$strict>>;
|
|
12729
13347
|
error: z.ZodOptional<z.ZodString>;
|
|
13348
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
13349
|
+
node: "node";
|
|
13350
|
+
media: "media";
|
|
13351
|
+
speech: "speech";
|
|
13352
|
+
retrieval: "retrieval";
|
|
13353
|
+
"github-cli": "github-cli";
|
|
13354
|
+
browser: "browser";
|
|
13355
|
+
}>>>;
|
|
13356
|
+
installable: z.ZodBoolean;
|
|
13357
|
+
removable: z.ZodBoolean;
|
|
12730
13358
|
}, z.core.$strict>>;
|
|
12731
13359
|
}, z.core.$strict>, z.ZodObject<{
|
|
12732
13360
|
error: z.ZodObject<{
|
|
@@ -12734,24 +13362,94 @@ export declare const HostApiContracts: {
|
|
|
12734
13362
|
message: z.ZodString;
|
|
12735
13363
|
}, z.core.$strict>;
|
|
12736
13364
|
}, z.core.$strict>>;
|
|
12737
|
-
readonly
|
|
12738
|
-
|
|
12739
|
-
|
|
13365
|
+
readonly removeAddonProvider: HostApiContract<"DELETE", z.ZodObject<{
|
|
13366
|
+
id: z.ZodEnum<{
|
|
13367
|
+
node: "node";
|
|
13368
|
+
media: "media";
|
|
13369
|
+
speech: "speech";
|
|
13370
|
+
retrieval: "retrieval";
|
|
13371
|
+
"github-cli": "github-cli";
|
|
13372
|
+
browser: "browser";
|
|
13373
|
+
}>;
|
|
13374
|
+
provider: z.ZodString;
|
|
13375
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
13376
|
+
id: z.ZodEnum<{
|
|
13377
|
+
node: "node";
|
|
13378
|
+
media: "media";
|
|
13379
|
+
speech: "speech";
|
|
13380
|
+
retrieval: "retrieval";
|
|
13381
|
+
"github-cli": "github-cli";
|
|
13382
|
+
browser: "browser";
|
|
13383
|
+
}>;
|
|
13384
|
+
group: z.ZodEnum<{
|
|
13385
|
+
extension: "extension";
|
|
12740
13386
|
host: "host";
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
13387
|
+
agent: "agent";
|
|
13388
|
+
}>;
|
|
13389
|
+
title: z.ZodString;
|
|
13390
|
+
summary: z.ZodString;
|
|
13391
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
13392
|
+
state: z.ZodEnum<{
|
|
13393
|
+
failed: "failed";
|
|
13394
|
+
installed: "installed";
|
|
13395
|
+
available: "available";
|
|
13396
|
+
unsupported: "unsupported";
|
|
13397
|
+
"not-installed": "not-installed";
|
|
13398
|
+
installing: "installing";
|
|
13399
|
+
"needs-config": "needs-config";
|
|
13400
|
+
}>;
|
|
13401
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13402
|
+
receivedBytes: z.ZodNumber;
|
|
13403
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13404
|
+
}, z.core.$strict>>;
|
|
13405
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
13406
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13407
|
+
id: z.ZodString;
|
|
13408
|
+
title: z.ZodString;
|
|
13409
|
+
summary: z.ZodString;
|
|
12747
13410
|
state: z.ZodEnum<{
|
|
12748
13411
|
failed: "failed";
|
|
12749
|
-
|
|
12750
|
-
|
|
13412
|
+
installed: "installed";
|
|
13413
|
+
available: "available";
|
|
13414
|
+
unsupported: "unsupported";
|
|
13415
|
+
"not-installed": "not-installed";
|
|
13416
|
+
installing: "installing";
|
|
13417
|
+
"needs-config": "needs-config";
|
|
12751
13418
|
}>;
|
|
12752
|
-
|
|
12753
|
-
|
|
13419
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
13420
|
+
system: "system";
|
|
13421
|
+
bundled: "bundled";
|
|
13422
|
+
downloaded: "downloaded";
|
|
13423
|
+
cloud: "cloud";
|
|
13424
|
+
}>>;
|
|
13425
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13426
|
+
resources: z.ZodObject<{
|
|
13427
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
13428
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
13429
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
13430
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13431
|
+
}, z.core.$strict>;
|
|
13432
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13433
|
+
component: z.ZodOptional<z.ZodString>;
|
|
13434
|
+
name: z.ZodString;
|
|
13435
|
+
url: z.ZodURL;
|
|
13436
|
+
}, z.core.$strict>>>;
|
|
13437
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13438
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13439
|
+
receivedBytes: z.ZodNumber;
|
|
13440
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13441
|
+
}, z.core.$strict>>;
|
|
12754
13442
|
error: z.ZodOptional<z.ZodString>;
|
|
13443
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
13444
|
+
node: "node";
|
|
13445
|
+
media: "media";
|
|
13446
|
+
speech: "speech";
|
|
13447
|
+
retrieval: "retrieval";
|
|
13448
|
+
"github-cli": "github-cli";
|
|
13449
|
+
browser: "browser";
|
|
13450
|
+
}>>>;
|
|
13451
|
+
installable: z.ZodBoolean;
|
|
13452
|
+
removable: z.ZodBoolean;
|
|
12755
13453
|
}, z.core.$strict>>;
|
|
12756
13454
|
}, z.core.$strict>, z.ZodObject<{
|
|
12757
13455
|
error: z.ZodObject<{
|
|
@@ -12759,24 +13457,95 @@ export declare const HostApiContracts: {
|
|
|
12759
13457
|
message: z.ZodString;
|
|
12760
13458
|
}, z.core.$strict>;
|
|
12761
13459
|
}, z.core.$strict>>;
|
|
12762
|
-
readonly
|
|
12763
|
-
|
|
12764
|
-
|
|
13460
|
+
readonly selectAddonProvider: HostApiContract<"PUT", z.ZodObject<{
|
|
13461
|
+
id: z.ZodEnum<{
|
|
13462
|
+
node: "node";
|
|
13463
|
+
media: "media";
|
|
13464
|
+
speech: "speech";
|
|
13465
|
+
retrieval: "retrieval";
|
|
13466
|
+
"github-cli": "github-cli";
|
|
13467
|
+
browser: "browser";
|
|
13468
|
+
}>;
|
|
13469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13470
|
+
provider: z.ZodString;
|
|
13471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13472
|
+
id: z.ZodEnum<{
|
|
13473
|
+
node: "node";
|
|
13474
|
+
media: "media";
|
|
13475
|
+
speech: "speech";
|
|
13476
|
+
retrieval: "retrieval";
|
|
13477
|
+
"github-cli": "github-cli";
|
|
13478
|
+
browser: "browser";
|
|
13479
|
+
}>;
|
|
13480
|
+
group: z.ZodEnum<{
|
|
13481
|
+
extension: "extension";
|
|
12765
13482
|
host: "host";
|
|
12766
|
-
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
|
|
13483
|
+
agent: "agent";
|
|
13484
|
+
}>;
|
|
13485
|
+
title: z.ZodString;
|
|
13486
|
+
summary: z.ZodString;
|
|
13487
|
+
usedBy: z.ZodArray<z.ZodString>;
|
|
13488
|
+
state: z.ZodEnum<{
|
|
13489
|
+
failed: "failed";
|
|
13490
|
+
installed: "installed";
|
|
13491
|
+
available: "available";
|
|
13492
|
+
unsupported: "unsupported";
|
|
13493
|
+
"not-installed": "not-installed";
|
|
13494
|
+
installing: "installing";
|
|
13495
|
+
"needs-config": "needs-config";
|
|
13496
|
+
}>;
|
|
13497
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13498
|
+
receivedBytes: z.ZodNumber;
|
|
13499
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13500
|
+
}, z.core.$strict>>;
|
|
13501
|
+
selected: z.ZodOptional<z.ZodString>;
|
|
13502
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
13503
|
+
id: z.ZodString;
|
|
13504
|
+
title: z.ZodString;
|
|
13505
|
+
summary: z.ZodString;
|
|
12772
13506
|
state: z.ZodEnum<{
|
|
12773
13507
|
failed: "failed";
|
|
12774
|
-
|
|
12775
|
-
|
|
13508
|
+
installed: "installed";
|
|
13509
|
+
available: "available";
|
|
13510
|
+
unsupported: "unsupported";
|
|
13511
|
+
"not-installed": "not-installed";
|
|
13512
|
+
installing: "installing";
|
|
13513
|
+
"needs-config": "needs-config";
|
|
12776
13514
|
}>;
|
|
12777
|
-
|
|
12778
|
-
|
|
13515
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
13516
|
+
system: "system";
|
|
13517
|
+
bundled: "bundled";
|
|
13518
|
+
downloaded: "downloaded";
|
|
13519
|
+
cloud: "cloud";
|
|
13520
|
+
}>>;
|
|
13521
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13522
|
+
resources: z.ZodObject<{
|
|
13523
|
+
downloadBytes: z.ZodOptional<z.ZodNumber>;
|
|
13524
|
+
installedBytes: z.ZodOptional<z.ZodNumber>;
|
|
13525
|
+
memoryBytes: z.ZodOptional<z.ZodNumber>;
|
|
13526
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13527
|
+
}, z.core.$strict>;
|
|
13528
|
+
licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13529
|
+
component: z.ZodOptional<z.ZodString>;
|
|
13530
|
+
name: z.ZodString;
|
|
13531
|
+
url: z.ZodURL;
|
|
13532
|
+
}, z.core.$strict>>>;
|
|
13533
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13534
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
13535
|
+
receivedBytes: z.ZodNumber;
|
|
13536
|
+
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13537
|
+
}, z.core.$strict>>;
|
|
12779
13538
|
error: z.ZodOptional<z.ZodString>;
|
|
13539
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
13540
|
+
node: "node";
|
|
13541
|
+
media: "media";
|
|
13542
|
+
speech: "speech";
|
|
13543
|
+
retrieval: "retrieval";
|
|
13544
|
+
"github-cli": "github-cli";
|
|
13545
|
+
browser: "browser";
|
|
13546
|
+
}>>>;
|
|
13547
|
+
installable: z.ZodBoolean;
|
|
13548
|
+
removable: z.ZodBoolean;
|
|
12780
13549
|
}, z.core.$strict>>;
|
|
12781
13550
|
}, z.core.$strict>, z.ZodObject<{
|
|
12782
13551
|
error: z.ZodObject<{
|
|
@@ -12799,26 +13568,6 @@ export declare const HostApiContracts: {
|
|
|
12799
13568
|
"github-cli": "github-cli";
|
|
12800
13569
|
}>;
|
|
12801
13570
|
name: z.ZodString;
|
|
12802
|
-
availability: z.ZodObject<{
|
|
12803
|
-
available: z.ZodBoolean;
|
|
12804
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
12805
|
-
host: "host";
|
|
12806
|
-
system: "system";
|
|
12807
|
-
downloaded: "downloaded";
|
|
12808
|
-
}>>;
|
|
12809
|
-
version: z.ZodOptional<z.ZodString>;
|
|
12810
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
12811
|
-
version: z.ZodString;
|
|
12812
|
-
state: z.ZodEnum<{
|
|
12813
|
-
failed: "failed";
|
|
12814
|
-
idle: "idle";
|
|
12815
|
-
downloading: "downloading";
|
|
12816
|
-
}>;
|
|
12817
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
12818
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
12819
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12820
|
-
}, z.core.$strict>>;
|
|
12821
|
-
}, z.core.$strict>;
|
|
12822
13571
|
}, z.core.$strict>>;
|
|
12823
13572
|
accounts: z.ZodArray<z.ZodObject<{
|
|
12824
13573
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -12875,26 +13624,6 @@ export declare const HostApiContracts: {
|
|
|
12875
13624
|
"github-cli": "github-cli";
|
|
12876
13625
|
}>;
|
|
12877
13626
|
name: z.ZodString;
|
|
12878
|
-
availability: z.ZodObject<{
|
|
12879
|
-
available: z.ZodBoolean;
|
|
12880
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
12881
|
-
host: "host";
|
|
12882
|
-
system: "system";
|
|
12883
|
-
downloaded: "downloaded";
|
|
12884
|
-
}>>;
|
|
12885
|
-
version: z.ZodOptional<z.ZodString>;
|
|
12886
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
12887
|
-
version: z.ZodString;
|
|
12888
|
-
state: z.ZodEnum<{
|
|
12889
|
-
failed: "failed";
|
|
12890
|
-
idle: "idle";
|
|
12891
|
-
downloading: "downloading";
|
|
12892
|
-
}>;
|
|
12893
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
12894
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
12895
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12896
|
-
}, z.core.$strict>>;
|
|
12897
|
-
}, z.core.$strict>;
|
|
12898
13627
|
}, z.core.$strict>>;
|
|
12899
13628
|
accounts: z.ZodArray<z.ZodObject<{
|
|
12900
13629
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -12947,26 +13676,6 @@ export declare const HostApiContracts: {
|
|
|
12947
13676
|
"github-cli": "github-cli";
|
|
12948
13677
|
}>;
|
|
12949
13678
|
name: z.ZodString;
|
|
12950
|
-
availability: z.ZodObject<{
|
|
12951
|
-
available: z.ZodBoolean;
|
|
12952
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
12953
|
-
host: "host";
|
|
12954
|
-
system: "system";
|
|
12955
|
-
downloaded: "downloaded";
|
|
12956
|
-
}>>;
|
|
12957
|
-
version: z.ZodOptional<z.ZodString>;
|
|
12958
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
12959
|
-
version: z.ZodString;
|
|
12960
|
-
state: z.ZodEnum<{
|
|
12961
|
-
failed: "failed";
|
|
12962
|
-
idle: "idle";
|
|
12963
|
-
downloading: "downloading";
|
|
12964
|
-
}>;
|
|
12965
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
12966
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
12967
|
-
error: z.ZodOptional<z.ZodString>;
|
|
12968
|
-
}, z.core.$strict>>;
|
|
12969
|
-
}, z.core.$strict>;
|
|
12970
13679
|
}, z.core.$strict>>;
|
|
12971
13680
|
accounts: z.ZodArray<z.ZodObject<{
|
|
12972
13681
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -13017,26 +13726,6 @@ export declare const HostApiContracts: {
|
|
|
13017
13726
|
"github-cli": "github-cli";
|
|
13018
13727
|
}>;
|
|
13019
13728
|
name: z.ZodString;
|
|
13020
|
-
availability: z.ZodObject<{
|
|
13021
|
-
available: z.ZodBoolean;
|
|
13022
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
13023
|
-
host: "host";
|
|
13024
|
-
system: "system";
|
|
13025
|
-
downloaded: "downloaded";
|
|
13026
|
-
}>>;
|
|
13027
|
-
version: z.ZodOptional<z.ZodString>;
|
|
13028
|
-
download: z.ZodOptional<z.ZodObject<{
|
|
13029
|
-
version: z.ZodString;
|
|
13030
|
-
state: z.ZodEnum<{
|
|
13031
|
-
failed: "failed";
|
|
13032
|
-
idle: "idle";
|
|
13033
|
-
downloading: "downloading";
|
|
13034
|
-
}>;
|
|
13035
|
-
receivedBytes: z.ZodOptional<z.ZodNumber>;
|
|
13036
|
-
totalBytes: z.ZodOptional<z.ZodNumber>;
|
|
13037
|
-
error: z.ZodOptional<z.ZodString>;
|
|
13038
|
-
}, z.core.$strict>>;
|
|
13039
|
-
}, z.core.$strict>;
|
|
13040
13729
|
}, z.core.$strict>>;
|
|
13041
13730
|
accounts: z.ZodArray<z.ZodObject<{
|
|
13042
13731
|
id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
|
|
@@ -13847,6 +14536,7 @@ export declare const HostApiContracts: {
|
|
|
13847
14536
|
imported: "imported";
|
|
13848
14537
|
}>>;
|
|
13849
14538
|
official: z.ZodOptional<z.ZodBoolean>;
|
|
14539
|
+
imageSubmission: z.ZodOptional<z.ZodBoolean>;
|
|
13850
14540
|
installedAt: z.ZodOptional<z.ZodNumber>;
|
|
13851
14541
|
clientUiDetected: z.ZodOptional<z.ZodBoolean>;
|
|
13852
14542
|
hostUi: z.ZodOptional<z.ZodObject<{
|
|
@@ -13892,6 +14582,7 @@ export declare const HostApiContracts: {
|
|
|
13892
14582
|
}, z.core.$strict>>;
|
|
13893
14583
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
13894
14584
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
14585
|
+
"assets.read": "assets.read";
|
|
13895
14586
|
"agents.read": "agents.read";
|
|
13896
14587
|
"channels.read": "channels.read";
|
|
13897
14588
|
"connections.read": "connections.read";
|
|
@@ -13899,7 +14590,6 @@ export declare const HostApiContracts: {
|
|
|
13899
14590
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
13900
14591
|
"runtime.read": "runtime.read";
|
|
13901
14592
|
"messages.read": "messages.read";
|
|
13902
|
-
"assets.read": "assets.read";
|
|
13903
14593
|
"agents.manage": "agents.manage";
|
|
13904
14594
|
"channels.manage": "channels.manage";
|
|
13905
14595
|
"connections.manage": "connections.manage";
|
|
@@ -13934,6 +14624,24 @@ export declare const HostApiContracts: {
|
|
|
13934
14624
|
library: z.ZodOptional<z.ZodObject<{
|
|
13935
14625
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
13936
14626
|
}, z.core.$strict>>;
|
|
14627
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14628
|
+
}, z.core.$strict>>;
|
|
14629
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
14630
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14631
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14632
|
+
}, z.core.$strict>>;
|
|
14633
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
14634
|
+
highDetail: z.ZodLiteral<true>;
|
|
14635
|
+
}, z.core.$strict>>;
|
|
14636
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14637
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
14638
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
14639
|
+
ffmpeg: "ffmpeg";
|
|
14640
|
+
ffprobe: "ffprobe";
|
|
14641
|
+
}>>;
|
|
14642
|
+
}, z.core.$strict>>;
|
|
14643
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
14644
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
13937
14645
|
}, z.core.$strict>>;
|
|
13938
14646
|
index: z.ZodOptional<z.ZodObject<{
|
|
13939
14647
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -14135,6 +14843,7 @@ export declare const HostApiContracts: {
|
|
|
14135
14843
|
}, z.core.$strict>>;
|
|
14136
14844
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
14137
14845
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
14846
|
+
"assets.read": "assets.read";
|
|
14138
14847
|
"agents.read": "agents.read";
|
|
14139
14848
|
"channels.read": "channels.read";
|
|
14140
14849
|
"connections.read": "connections.read";
|
|
@@ -14142,7 +14851,6 @@ export declare const HostApiContracts: {
|
|
|
14142
14851
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
14143
14852
|
"runtime.read": "runtime.read";
|
|
14144
14853
|
"messages.read": "messages.read";
|
|
14145
|
-
"assets.read": "assets.read";
|
|
14146
14854
|
"agents.manage": "agents.manage";
|
|
14147
14855
|
"channels.manage": "channels.manage";
|
|
14148
14856
|
"connections.manage": "connections.manage";
|
|
@@ -14177,6 +14885,24 @@ export declare const HostApiContracts: {
|
|
|
14177
14885
|
library: z.ZodOptional<z.ZodObject<{
|
|
14178
14886
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14179
14887
|
}, z.core.$strict>>;
|
|
14888
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14889
|
+
}, z.core.$strict>>;
|
|
14890
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
14891
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14892
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14893
|
+
}, z.core.$strict>>;
|
|
14894
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
14895
|
+
highDetail: z.ZodLiteral<true>;
|
|
14896
|
+
}, z.core.$strict>>;
|
|
14897
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14898
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
14899
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
14900
|
+
ffmpeg: "ffmpeg";
|
|
14901
|
+
ffprobe: "ffprobe";
|
|
14902
|
+
}>>;
|
|
14903
|
+
}, z.core.$strict>>;
|
|
14904
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
14905
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
14180
14906
|
}, z.core.$strict>>;
|
|
14181
14907
|
index: z.ZodOptional<z.ZodObject<{
|
|
14182
14908
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -14347,6 +15073,7 @@ export declare const HostApiContracts: {
|
|
|
14347
15073
|
}, z.core.$strict>>;
|
|
14348
15074
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
14349
15075
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
15076
|
+
"assets.read": "assets.read";
|
|
14350
15077
|
"agents.read": "agents.read";
|
|
14351
15078
|
"channels.read": "channels.read";
|
|
14352
15079
|
"connections.read": "connections.read";
|
|
@@ -14354,7 +15081,6 @@ export declare const HostApiContracts: {
|
|
|
14354
15081
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
14355
15082
|
"runtime.read": "runtime.read";
|
|
14356
15083
|
"messages.read": "messages.read";
|
|
14357
|
-
"assets.read": "assets.read";
|
|
14358
15084
|
"agents.manage": "agents.manage";
|
|
14359
15085
|
"channels.manage": "channels.manage";
|
|
14360
15086
|
"connections.manage": "connections.manage";
|
|
@@ -14389,6 +15115,24 @@ export declare const HostApiContracts: {
|
|
|
14389
15115
|
library: z.ZodOptional<z.ZodObject<{
|
|
14390
15116
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
14391
15117
|
}, z.core.$strict>>;
|
|
15118
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
15119
|
+
}, z.core.$strict>>;
|
|
15120
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
15121
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
15122
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
15123
|
+
}, z.core.$strict>>;
|
|
15124
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
15125
|
+
highDetail: z.ZodLiteral<true>;
|
|
15126
|
+
}, z.core.$strict>>;
|
|
15127
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
15128
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
15129
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
15130
|
+
ffmpeg: "ffmpeg";
|
|
15131
|
+
ffprobe: "ffprobe";
|
|
15132
|
+
}>>;
|
|
15133
|
+
}, z.core.$strict>>;
|
|
15134
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
15135
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
14392
15136
|
}, z.core.$strict>>;
|
|
14393
15137
|
index: z.ZodOptional<z.ZodObject<{
|
|
14394
15138
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -14556,6 +15300,18 @@ export declare const HostApiContracts: {
|
|
|
14556
15300
|
message: z.ZodString;
|
|
14557
15301
|
}, z.core.$strict>;
|
|
14558
15302
|
}, z.core.$strict>>;
|
|
15303
|
+
readonly setDshPluginImageSubmission: HostApiContract<"PUT", z.ZodObject<{
|
|
15304
|
+
packageId: z.core.$ZodBranded<z.ZodString, "DshPluginPackageId", "out">;
|
|
15305
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15306
|
+
allowed: z.ZodBoolean;
|
|
15307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15308
|
+
allowed: z.ZodBoolean;
|
|
15309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15310
|
+
error: z.ZodObject<{
|
|
15311
|
+
code: z.ZodString;
|
|
15312
|
+
message: z.ZodString;
|
|
15313
|
+
}, z.core.$strict>;
|
|
15314
|
+
}, z.core.$strict>>;
|
|
14559
15315
|
readonly removeDshPluginPackage: HostApiContract<"DELETE", z.ZodObject<{
|
|
14560
15316
|
packageId: z.core.$ZodBranded<z.ZodString, "DshPluginPackageId", "out">;
|
|
14561
15317
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
@@ -18844,6 +19600,7 @@ export declare const HostApiContracts: {
|
|
|
18844
19600
|
pluginRunId: z.ZodString;
|
|
18845
19601
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
18846
19602
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
19603
|
+
"assets.read": "assets.read";
|
|
18847
19604
|
"agents.read": "agents.read";
|
|
18848
19605
|
"channels.read": "channels.read";
|
|
18849
19606
|
"connections.read": "connections.read";
|
|
@@ -18851,7 +19608,6 @@ export declare const HostApiContracts: {
|
|
|
18851
19608
|
"dsh-plugins.read": "dsh-plugins.read";
|
|
18852
19609
|
"runtime.read": "runtime.read";
|
|
18853
19610
|
"messages.read": "messages.read";
|
|
18854
|
-
"assets.read": "assets.read";
|
|
18855
19611
|
"agents.manage": "agents.manage";
|
|
18856
19612
|
"channels.manage": "channels.manage";
|
|
18857
19613
|
"connections.manage": "connections.manage";
|
|
@@ -18886,6 +19642,24 @@ export declare const HostApiContracts: {
|
|
|
18886
19642
|
library: z.ZodOptional<z.ZodObject<{
|
|
18887
19643
|
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
18888
19644
|
}, z.core.$strict>>;
|
|
19645
|
+
read: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19646
|
+
}, z.core.$strict>>;
|
|
19647
|
+
files: z.ZodOptional<z.ZodObject<{
|
|
19648
|
+
tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
19649
|
+
cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
19650
|
+
}, z.core.$strict>>;
|
|
19651
|
+
toolImages: z.ZodOptional<z.ZodObject<{
|
|
19652
|
+
highDetail: z.ZodLiteral<true>;
|
|
19653
|
+
}, z.core.$strict>>;
|
|
19654
|
+
media: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19655
|
+
commands: z.ZodOptional<z.ZodObject<{
|
|
19656
|
+
profiles: z.ZodArray<z.ZodEnum<{
|
|
19657
|
+
ffmpeg: "ffmpeg";
|
|
19658
|
+
ffprobe: "ffprobe";
|
|
19659
|
+
}>>;
|
|
19660
|
+
}, z.core.$strict>>;
|
|
19661
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
19662
|
+
maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
18889
19663
|
}, z.core.$strict>>;
|
|
18890
19664
|
index: z.ZodOptional<z.ZodObject<{
|
|
18891
19665
|
collections: z.ZodArray<z.ZodObject<{
|
|
@@ -19586,6 +20360,10 @@ export declare const HostApiContracts: {
|
|
|
19586
20360
|
}>;
|
|
19587
20361
|
label: z.ZodString;
|
|
19588
20362
|
}, z.core.$strict>;
|
|
20363
|
+
cause: z.ZodOptional<z.ZodObject<{
|
|
20364
|
+
key: z.ZodString;
|
|
20365
|
+
label: z.ZodString;
|
|
20366
|
+
}, z.core.$strict>>;
|
|
19589
20367
|
occurredAt: z.ZodNumber;
|
|
19590
20368
|
}, z.core.$strict>>;
|
|
19591
20369
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -19605,6 +20383,18 @@ export declare const HostApiContracts: {
|
|
|
19605
20383
|
message: z.ZodString;
|
|
19606
20384
|
}, z.core.$strict>;
|
|
19607
20385
|
}, z.core.$strict>>;
|
|
20386
|
+
readonly dismissAttentionBatch: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
20387
|
+
ids: z.ZodArray<z.ZodString>;
|
|
20388
|
+
causes: z.ZodArray<z.ZodString>;
|
|
20389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20390
|
+
dismissed: z.ZodLiteral<true>;
|
|
20391
|
+
revision: z.ZodString;
|
|
20392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20393
|
+
error: z.ZodObject<{
|
|
20394
|
+
code: z.ZodString;
|
|
20395
|
+
message: z.ZodString;
|
|
20396
|
+
}, z.core.$strict>;
|
|
20397
|
+
}, z.core.$strict>>;
|
|
19608
20398
|
readonly getChannelPending: HostApiContract<"GET", z.ZodObject<{
|
|
19609
20399
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
19610
20400
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
@@ -19822,6 +20612,17 @@ export declare const HostApiContracts: {
|
|
|
19822
20612
|
createdAt: z.ZodNumber;
|
|
19823
20613
|
current: z.ZodBoolean;
|
|
19824
20614
|
releaseNumbers: z.ZodArray<z.ZodNumber>;
|
|
20615
|
+
kept: z.ZodBoolean;
|
|
20616
|
+
protectedBy: z.ZodOptional<z.ZodEnum<{
|
|
20617
|
+
installed: "installed";
|
|
20618
|
+
active: "active";
|
|
20619
|
+
request: "request";
|
|
20620
|
+
branch: "branch";
|
|
20621
|
+
released: "released";
|
|
20622
|
+
kept: "kept";
|
|
20623
|
+
revising: "revising";
|
|
20624
|
+
undo: "undo";
|
|
20625
|
+
}>>;
|
|
19825
20626
|
}, z.core.$strict>>;
|
|
19826
20627
|
}, z.core.$strict>>;
|
|
19827
20628
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -19830,6 +20631,31 @@ export declare const HostApiContracts: {
|
|
|
19830
20631
|
message: z.ZodString;
|
|
19831
20632
|
}, z.core.$strict>;
|
|
19832
20633
|
}, z.core.$strict>>;
|
|
20634
|
+
readonly setExtensionRevisionKept: HostApiContract<"POST", z.ZodObject<{
|
|
20635
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
20636
|
+
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
20637
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20638
|
+
kept: z.ZodBoolean;
|
|
20639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20640
|
+
kept: z.ZodBoolean;
|
|
20641
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20642
|
+
error: z.ZodObject<{
|
|
20643
|
+
code: z.ZodString;
|
|
20644
|
+
message: z.ZodString;
|
|
20645
|
+
}, z.core.$strict>;
|
|
20646
|
+
}, z.core.$strict>>;
|
|
20647
|
+
readonly deleteExtensionRevisions: HostApiContract<"POST", z.ZodObject<{
|
|
20648
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
20649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20650
|
+
revisionIds: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
20651
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20652
|
+
deleted: z.ZodNumber;
|
|
20653
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20654
|
+
error: z.ZodObject<{
|
|
20655
|
+
code: z.ZodString;
|
|
20656
|
+
message: z.ZodString;
|
|
20657
|
+
}, z.core.$strict>;
|
|
20658
|
+
}, z.core.$strict>>;
|
|
19833
20659
|
readonly branchExtension: HostApiContract<"POST", z.ZodObject<{
|
|
19834
20660
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
19835
20661
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -20065,10 +20891,12 @@ export declare const HostApiContracts: {
|
|
|
20065
20891
|
status: z.ZodEnum<{
|
|
20066
20892
|
failed: "failed";
|
|
20067
20893
|
pending: "pending";
|
|
20894
|
+
withdrawn: "withdrawn";
|
|
20068
20895
|
rejected: "rejected";
|
|
20069
20896
|
approved: "approved";
|
|
20070
20897
|
expired: "expired";
|
|
20071
20898
|
completed: "completed";
|
|
20899
|
+
superseded: "superseded";
|
|
20072
20900
|
}>;
|
|
20073
20901
|
autonomous: z.ZodBoolean;
|
|
20074
20902
|
resultMessage: z.ZodNullable<z.ZodString>;
|