@nekro-nxt/contracts 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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<{
@@ -575,6 +593,10 @@ export declare const HostSnapshotMessageSchema: z.ZodObject<{
575
593
  }>;
576
594
  hidden: z.ZodBoolean;
577
595
  annotation: z.ZodOptional<z.ZodString>;
596
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
597
+ label: z.ZodString;
598
+ text: z.ZodString;
599
+ }, z.core.$strict>>>;
578
600
  extensions: z.ZodArray<z.ZodString>;
579
601
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
580
602
  }, z.core.$strict>>;
@@ -857,6 +879,10 @@ export declare const ChannelFactSseItemSchema: z.ZodObject<{
857
879
  }>;
858
880
  hidden: z.ZodBoolean;
859
881
  annotation: z.ZodOptional<z.ZodString>;
882
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
883
+ label: z.ZodString;
884
+ text: z.ZodString;
885
+ }, z.core.$strict>>>;
860
886
  extensions: z.ZodArray<z.ZodString>;
861
887
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
862
888
  }, z.core.$strict>>;
@@ -1084,6 +1110,10 @@ export declare const ChannelFactSseDataSchema: z.ZodObject<{
1084
1110
  }>;
1085
1111
  hidden: z.ZodBoolean;
1086
1112
  annotation: z.ZodOptional<z.ZodString>;
1113
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1114
+ label: z.ZodString;
1115
+ text: z.ZodString;
1116
+ }, z.core.$strict>>>;
1087
1117
  extensions: z.ZodArray<z.ZodString>;
1088
1118
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
1089
1119
  }, z.core.$strict>>;
@@ -1124,6 +1154,12 @@ export declare const ChannelRuntimeUsageSchema: z.ZodObject<{
1124
1154
  cacheWriteTokens: z.ZodOptional<z.ZodNumber>;
1125
1155
  reasoningTokens: z.ZodOptional<z.ZodNumber>;
1126
1156
  }, z.core.$strict>;
1157
+ /** The latest progress a running extension tool reported. */
1158
+ export declare const ChannelRuntimeToolProgressSchema: z.ZodObject<{
1159
+ text: z.ZodString;
1160
+ fraction: z.ZodOptional<z.ZodNumber>;
1161
+ }, z.core.$strict>;
1162
+ export type ChannelRuntimeToolProgress = z.output<typeof ChannelRuntimeToolProgressSchema>;
1127
1163
  export declare const ChannelRuntimeToolSchema: z.ZodObject<{
1128
1164
  code: z.ZodOptional<z.ZodString>;
1129
1165
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1146,6 +1182,10 @@ export declare const ChannelRuntimeToolSchema: z.ZodObject<{
1146
1182
  cancelled: "cancelled";
1147
1183
  }>>;
1148
1184
  durationMs: z.ZodOptional<z.ZodNumber>;
1185
+ progress: z.ZodOptional<z.ZodObject<{
1186
+ text: z.ZodString;
1187
+ fraction: z.ZodOptional<z.ZodNumber>;
1188
+ }, z.core.$strict>>;
1149
1189
  }, z.core.$strict>>>;
1150
1190
  callId: z.ZodString;
1151
1191
  name: z.ZodString;
@@ -1166,6 +1206,10 @@ export declare const ChannelRuntimeToolSchema: z.ZodObject<{
1166
1206
  cancelled: "cancelled";
1167
1207
  }>>;
1168
1208
  durationMs: z.ZodOptional<z.ZodNumber>;
1209
+ progress: z.ZodOptional<z.ZodObject<{
1210
+ text: z.ZodString;
1211
+ fraction: z.ZodOptional<z.ZodNumber>;
1212
+ }, z.core.$strict>>;
1169
1213
  }, z.core.$strict>;
1170
1214
  export declare const ChannelRuntimeStepSchema: z.ZodObject<{
1171
1215
  step: z.ZodNumber;
@@ -1191,6 +1235,10 @@ export declare const ChannelRuntimeStepSchema: z.ZodObject<{
1191
1235
  cancelled: "cancelled";
1192
1236
  }>>;
1193
1237
  durationMs: z.ZodOptional<z.ZodNumber>;
1238
+ progress: z.ZodOptional<z.ZodObject<{
1239
+ text: z.ZodString;
1240
+ fraction: z.ZodOptional<z.ZodNumber>;
1241
+ }, z.core.$strict>>;
1194
1242
  }, z.core.$strict>>>;
1195
1243
  callId: z.ZodString;
1196
1244
  name: z.ZodString;
@@ -1211,6 +1259,10 @@ export declare const ChannelRuntimeStepSchema: z.ZodObject<{
1211
1259
  cancelled: "cancelled";
1212
1260
  }>>;
1213
1261
  durationMs: z.ZodOptional<z.ZodNumber>;
1262
+ progress: z.ZodOptional<z.ZodObject<{
1263
+ text: z.ZodString;
1264
+ fraction: z.ZodOptional<z.ZodNumber>;
1265
+ }, z.core.$strict>>;
1214
1266
  }, z.core.$strict>>;
1215
1267
  internalOutput: z.ZodOptional<z.ZodObject<{
1216
1268
  kind: z.ZodLiteral<"internal-output">;
@@ -1284,6 +1336,10 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
1284
1336
  cancelled: "cancelled";
1285
1337
  }>>;
1286
1338
  durationMs: z.ZodOptional<z.ZodNumber>;
1339
+ progress: z.ZodOptional<z.ZodObject<{
1340
+ text: z.ZodString;
1341
+ fraction: z.ZodOptional<z.ZodNumber>;
1342
+ }, z.core.$strict>>;
1287
1343
  }, z.core.$strict>>>;
1288
1344
  callId: z.ZodString;
1289
1345
  name: z.ZodString;
@@ -1304,6 +1360,10 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
1304
1360
  cancelled: "cancelled";
1305
1361
  }>>;
1306
1362
  durationMs: z.ZodOptional<z.ZodNumber>;
1363
+ progress: z.ZodOptional<z.ZodObject<{
1364
+ text: z.ZodString;
1365
+ fraction: z.ZodOptional<z.ZodNumber>;
1366
+ }, z.core.$strict>>;
1307
1367
  }, z.core.$strict>>;
1308
1368
  internalOutput: z.ZodOptional<z.ZodObject<{
1309
1369
  kind: z.ZodLiteral<"internal-output">;
@@ -1610,6 +1670,10 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
1610
1670
  cancelled: "cancelled";
1611
1671
  }>>;
1612
1672
  durationMs: z.ZodOptional<z.ZodNumber>;
1673
+ progress: z.ZodOptional<z.ZodObject<{
1674
+ text: z.ZodString;
1675
+ fraction: z.ZodOptional<z.ZodNumber>;
1676
+ }, z.core.$strict>>;
1613
1677
  }, z.core.$strict>>>;
1614
1678
  callId: z.ZodString;
1615
1679
  name: z.ZodString;
@@ -1630,6 +1694,10 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
1630
1694
  cancelled: "cancelled";
1631
1695
  }>>;
1632
1696
  durationMs: z.ZodOptional<z.ZodNumber>;
1697
+ progress: z.ZodOptional<z.ZodObject<{
1698
+ text: z.ZodString;
1699
+ fraction: z.ZodOptional<z.ZodNumber>;
1700
+ }, z.core.$strict>>;
1633
1701
  }, z.core.$strict>>;
1634
1702
  internalOutput: z.ZodOptional<z.ZodObject<{
1635
1703
  kind: z.ZodLiteral<"internal-output">;
@@ -1831,6 +1899,10 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
1831
1899
  cancelled: "cancelled";
1832
1900
  }>>;
1833
1901
  durationMs: z.ZodOptional<z.ZodNumber>;
1902
+ progress: z.ZodOptional<z.ZodObject<{
1903
+ text: z.ZodString;
1904
+ fraction: z.ZodOptional<z.ZodNumber>;
1905
+ }, z.core.$strict>>;
1834
1906
  }, z.core.$strict>>>;
1835
1907
  callId: z.ZodString;
1836
1908
  name: z.ZodString;
@@ -1851,6 +1923,10 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
1851
1923
  cancelled: "cancelled";
1852
1924
  }>>;
1853
1925
  durationMs: z.ZodOptional<z.ZodNumber>;
1926
+ progress: z.ZodOptional<z.ZodObject<{
1927
+ text: z.ZodString;
1928
+ fraction: z.ZodOptional<z.ZodNumber>;
1929
+ }, z.core.$strict>>;
1854
1930
  }, z.core.$strict>>;
1855
1931
  internalOutput: z.ZodOptional<z.ZodObject<{
1856
1932
  kind: z.ZodLiteral<"internal-output">;
@@ -2072,6 +2148,23 @@ export declare const ChannelContextPolicyViewSchema: z.ZodObject<{
2072
2148
  custom: z.ZodBoolean;
2073
2149
  }, z.core.$strict>;
2074
2150
  export type ChannelContextPolicyView = z.output<typeof ChannelContextPolicyViewSchema>;
2151
+ /** One desktop installer of a release; `urls` lists the sources to try in order. */
2152
+ export declare const ProductDownloadSchema: z.ZodObject<{
2153
+ platform: z.ZodEnum<{
2154
+ mac: "mac";
2155
+ win: "win";
2156
+ linux: "linux";
2157
+ }>;
2158
+ arch: z.ZodEnum<{
2159
+ arm64: "arm64";
2160
+ x64: "x64";
2161
+ }>;
2162
+ name: z.ZodString;
2163
+ size: z.ZodNumber;
2164
+ sha256: z.ZodString;
2165
+ urls: z.ZodArray<z.ZodString>;
2166
+ }, z.core.$strict>;
2167
+ export type ProductDownload = z.output<typeof ProductDownloadSchema>;
2075
2168
  /** Whether a newer release exists on the build's own channel; development builds are never compared. */
2076
2169
  export declare const ProductUpdateStatusSchema: z.ZodObject<{
2077
2170
  channel: z.ZodEnum<{
@@ -2093,6 +2186,21 @@ export declare const ProductUpdateStatusSchema: z.ZodObject<{
2093
2186
  commit: z.ZodOptional<z.ZodString>;
2094
2187
  url: z.ZodString;
2095
2188
  publishedAt: z.ZodOptional<z.ZodNumber>;
2189
+ downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
2190
+ platform: z.ZodEnum<{
2191
+ mac: "mac";
2192
+ win: "win";
2193
+ linux: "linux";
2194
+ }>;
2195
+ arch: z.ZodEnum<{
2196
+ arm64: "arm64";
2197
+ x64: "x64";
2198
+ }>;
2199
+ name: z.ZodString;
2200
+ size: z.ZodNumber;
2201
+ sha256: z.ZodString;
2202
+ urls: z.ZodArray<z.ZodString>;
2203
+ }, z.core.$strict>>>;
2096
2204
  }, z.core.$strict>>;
2097
2205
  checkedAt: z.ZodOptional<z.ZodNumber>;
2098
2206
  error: z.ZodOptional<z.ZodString>;
@@ -2182,29 +2290,12 @@ export declare const RetrievalModeSchema: z.ZodEnum<{
2182
2290
  keyword: "keyword";
2183
2291
  }>;
2184
2292
  export type RetrievalMode = z.output<typeof RetrievalModeSchema>;
2185
- /** Search used by extension indexes (表情包与扩展素材能力 §6.4). */
2293
+ /** Search used by extension indexes (表情包与扩展素材能力 §6.4); the model itself is the `retrieval` add-on. */
2186
2294
  export declare const RetrievalStatusSchema: z.ZodObject<{
2187
2295
  mode: z.ZodEnum<{
2188
2296
  builtin: "builtin";
2189
2297
  keyword: "keyword";
2190
2298
  }>;
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
2299
  vectors: z.ZodObject<{
2209
2300
  documents: z.ZodNumber;
2210
2301
  embedded: z.ZodNumber;
@@ -2348,6 +2439,10 @@ export declare const AttentionItemSchema: z.ZodObject<{
2348
2439
  }>;
2349
2440
  label: z.ZodString;
2350
2441
  }, z.core.$strict>;
2442
+ cause: z.ZodOptional<z.ZodObject<{
2443
+ key: z.ZodString;
2444
+ label: z.ZodString;
2445
+ }, z.core.$strict>>;
2351
2446
  occurredAt: z.ZodNumber;
2352
2447
  }, z.core.$strict>;
2353
2448
  export type AttentionItem = z.output<typeof AttentionItemSchema>;
@@ -2407,6 +2502,10 @@ export declare const AttentionListSchema: z.ZodObject<{
2407
2502
  }>;
2408
2503
  label: z.ZodString;
2409
2504
  }, z.core.$strict>;
2505
+ cause: z.ZodOptional<z.ZodObject<{
2506
+ key: z.ZodString;
2507
+ label: z.ZodString;
2508
+ }, z.core.$strict>>;
2410
2509
  occurredAt: z.ZodNumber;
2411
2510
  }, z.core.$strict>>;
2412
2511
  }, z.core.$strict>;
@@ -2484,98 +2583,223 @@ export declare const ScheduledTaskSchema: z.ZodObject<{
2484
2583
  createdAt: z.ZodNumber;
2485
2584
  }, z.core.$strict>;
2486
2585
  export type ScheduledTask = z.output<typeof ScheduledTaskSchema>;
2487
- /** The Node that runs `run_code` programs, and the download the desktop app offers when there is none. */
2488
- export declare const CodeRunAvailabilitySchema: z.ZodObject<{
2489
- available: z.ZodBoolean;
2586
+ /** Programs and models NekroNXT installs on request (附加功能); `<data root>/runtimes`, left out of backups. */
2587
+ export declare const AddonIdSchema: z.ZodEnum<{
2588
+ node: "node";
2589
+ media: "media";
2590
+ speech: "speech";
2591
+ retrieval: "retrieval";
2592
+ "github-cli": "github-cli";
2593
+ browser: "browser";
2594
+ }>;
2595
+ export type AddonId = z.output<typeof AddonIdSchema>;
2596
+ /** `extension`: used by extensions; `agent`: used by agents' commands; `host`: used by NekroNXT itself. */
2597
+ export declare const AddonGroupSchema: z.ZodEnum<{
2598
+ extension: "extension";
2599
+ host: "host";
2600
+ agent: "agent";
2601
+ }>;
2602
+ export type AddonGroup = z.output<typeof AddonGroupSchema>;
2603
+ /**
2604
+ * `installed`: downloaded and ready; `available`: usable without installing (bundled, found on this device, cloud);
2605
+ * `needs-config`: usable once configured (cloud).
2606
+ */
2607
+ export declare const AddonStateSchema: z.ZodEnum<{
2608
+ failed: "failed";
2609
+ installed: "installed";
2610
+ available: "available";
2611
+ unsupported: "unsupported";
2612
+ "not-installed": "not-installed";
2613
+ installing: "installing";
2614
+ "needs-config": "needs-config";
2615
+ }>;
2616
+ export type AddonState = z.output<typeof AddonStateSchema>;
2617
+ /** One way an add-on can be provided, such as a program found on this device or one NekroNXT downloads. */
2618
+ export declare const AddonProviderStatusSchema: z.ZodObject<{
2619
+ id: z.ZodString;
2620
+ title: z.ZodString;
2621
+ summary: z.ZodString;
2622
+ state: z.ZodEnum<{
2623
+ failed: "failed";
2624
+ installed: "installed";
2625
+ available: "available";
2626
+ unsupported: "unsupported";
2627
+ "not-installed": "not-installed";
2628
+ installing: "installing";
2629
+ "needs-config": "needs-config";
2630
+ }>;
2490
2631
  source: z.ZodOptional<z.ZodEnum<{
2491
- host: "host";
2492
2632
  system: "system";
2633
+ bundled: "bundled";
2493
2634
  downloaded: "downloaded";
2635
+ cloud: "cloud";
2494
2636
  }>>;
2495
2637
  version: z.ZodOptional<z.ZodString>;
2496
- download: z.ZodOptional<z.ZodObject<{
2497
- version: z.ZodString;
2498
- state: z.ZodEnum<{
2499
- failed: "failed";
2500
- idle: "idle";
2501
- downloading: "downloading";
2502
- }>;
2503
- receivedBytes: z.ZodOptional<z.ZodNumber>;
2638
+ resources: z.ZodObject<{
2639
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
2640
+ installedBytes: z.ZodOptional<z.ZodNumber>;
2641
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
2642
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
2643
+ }, z.core.$strict>;
2644
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
2645
+ component: z.ZodOptional<z.ZodString>;
2646
+ name: z.ZodString;
2647
+ url: z.ZodURL;
2648
+ }, z.core.$strict>>>;
2649
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
2650
+ progress: z.ZodOptional<z.ZodObject<{
2651
+ receivedBytes: z.ZodNumber;
2504
2652
  totalBytes: z.ZodOptional<z.ZodNumber>;
2505
- error: z.ZodOptional<z.ZodString>;
2506
2653
  }, z.core.$strict>>;
2654
+ error: z.ZodOptional<z.ZodString>;
2655
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2656
+ node: "node";
2657
+ media: "media";
2658
+ speech: "speech";
2659
+ retrieval: "retrieval";
2660
+ "github-cli": "github-cli";
2661
+ browser: "browser";
2662
+ }>>>;
2663
+ installable: z.ZodBoolean;
2664
+ removable: z.ZodBoolean;
2507
2665
  }, z.core.$strict>;
2508
- export type CodeRunAvailability = z.output<typeof CodeRunAvailabilitySchema>;
2509
- /** The GitHub CLI commands call: found on this machine, or downloaded by NekroNXT where it can. */
2510
- export declare const GithubCliAvailabilitySchema: z.ZodObject<{
2511
- available: z.ZodBoolean;
2512
- source: z.ZodOptional<z.ZodEnum<{
2666
+ export type AddonProviderStatus = z.output<typeof AddonProviderStatusSchema>;
2667
+ /** One add-on (a capability) as 设置 → 附加功能 shows it; the registry on the server is its only source. */
2668
+ export declare const AddonStatusSchema: z.ZodObject<{
2669
+ id: z.ZodEnum<{
2670
+ node: "node";
2671
+ media: "media";
2672
+ speech: "speech";
2673
+ retrieval: "retrieval";
2674
+ "github-cli": "github-cli";
2675
+ browser: "browser";
2676
+ }>;
2677
+ group: z.ZodEnum<{
2678
+ extension: "extension";
2513
2679
  host: "host";
2514
- system: "system";
2515
- downloaded: "downloaded";
2516
- }>>;
2517
- version: z.ZodOptional<z.ZodString>;
2518
- download: z.ZodOptional<z.ZodObject<{
2519
- version: z.ZodString;
2680
+ agent: "agent";
2681
+ }>;
2682
+ title: z.ZodString;
2683
+ summary: z.ZodString;
2684
+ usedBy: z.ZodArray<z.ZodString>;
2685
+ state: z.ZodEnum<{
2686
+ failed: "failed";
2687
+ installed: "installed";
2688
+ available: "available";
2689
+ unsupported: "unsupported";
2690
+ "not-installed": "not-installed";
2691
+ installing: "installing";
2692
+ "needs-config": "needs-config";
2693
+ }>;
2694
+ progress: z.ZodOptional<z.ZodObject<{
2695
+ receivedBytes: z.ZodNumber;
2696
+ totalBytes: z.ZodOptional<z.ZodNumber>;
2697
+ }, z.core.$strict>>;
2698
+ selected: z.ZodOptional<z.ZodString>;
2699
+ providers: z.ZodArray<z.ZodObject<{
2700
+ id: z.ZodString;
2701
+ title: z.ZodString;
2702
+ summary: z.ZodString;
2520
2703
  state: z.ZodEnum<{
2521
2704
  failed: "failed";
2522
- idle: "idle";
2523
- downloading: "downloading";
2705
+ installed: "installed";
2706
+ available: "available";
2707
+ unsupported: "unsupported";
2708
+ "not-installed": "not-installed";
2709
+ installing: "installing";
2710
+ "needs-config": "needs-config";
2524
2711
  }>;
2525
- receivedBytes: z.ZodOptional<z.ZodNumber>;
2526
- totalBytes: z.ZodOptional<z.ZodNumber>;
2712
+ source: z.ZodOptional<z.ZodEnum<{
2713
+ system: "system";
2714
+ bundled: "bundled";
2715
+ downloaded: "downloaded";
2716
+ cloud: "cloud";
2717
+ }>>;
2718
+ version: z.ZodOptional<z.ZodString>;
2719
+ resources: z.ZodObject<{
2720
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
2721
+ installedBytes: z.ZodOptional<z.ZodNumber>;
2722
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
2723
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
2724
+ }, z.core.$strict>;
2725
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
2726
+ component: z.ZodOptional<z.ZodString>;
2727
+ name: z.ZodString;
2728
+ url: z.ZodURL;
2729
+ }, z.core.$strict>>>;
2730
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
2731
+ progress: z.ZodOptional<z.ZodObject<{
2732
+ receivedBytes: z.ZodNumber;
2733
+ totalBytes: z.ZodOptional<z.ZodNumber>;
2734
+ }, z.core.$strict>>;
2527
2735
  error: z.ZodOptional<z.ZodString>;
2736
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2737
+ node: "node";
2738
+ media: "media";
2739
+ speech: "speech";
2740
+ retrieval: "retrieval";
2741
+ "github-cli": "github-cli";
2742
+ browser: "browser";
2743
+ }>>>;
2744
+ installable: z.ZodBoolean;
2745
+ removable: z.ZodBoolean;
2528
2746
  }, z.core.$strict>>;
2529
2747
  }, z.core.$strict>;
2530
- export type GithubCliAvailability = z.output<typeof GithubCliAvailabilitySchema>;
2531
- /** The optional headless Chromium that loads and checks creation candidates when no page is open. */
2532
- export declare const VerificationBrowserAvailabilitySchema: z.ZodObject<{
2533
- available: z.ZodBoolean;
2534
- source: z.ZodOptional<z.ZodEnum<{
2535
- host: "host";
2536
- system: "system";
2537
- downloaded: "downloaded";
2748
+ export type AddonStatus = z.output<typeof AddonStatusSchema>;
2749
+ /** Languages speech recognition can be asked for; `auto` lets the provider tell. */
2750
+ export declare const SpeechLanguageSchema: z.ZodEnum<{
2751
+ auto: "auto";
2752
+ zh: "zh";
2753
+ en: "en";
2754
+ ja: "ja";
2755
+ ko: "ko";
2756
+ yue: "yue";
2757
+ }>;
2758
+ export type SpeechLanguage = z.output<typeof SpeechLanguageSchema>;
2759
+ /** The cloud provider of the `speech` add-on: a provider from 设置 → 模型 and the transcription model it serves. */
2760
+ export declare const SpeechCloudSettingsSchema: z.ZodObject<{
2761
+ provider: z.ZodString;
2762
+ model: z.ZodString;
2763
+ language: z.ZodOptional<z.ZodEnum<{
2764
+ auto: "auto";
2765
+ zh: "zh";
2766
+ en: "en";
2767
+ ja: "ja";
2768
+ ko: "ko";
2769
+ yue: "yue";
2538
2770
  }>>;
2539
- version: z.ZodOptional<z.ZodString>;
2540
- download: z.ZodOptional<z.ZodObject<{
2541
- version: z.ZodString;
2542
- state: z.ZodEnum<{
2543
- failed: "failed";
2544
- idle: "idle";
2545
- downloading: "downloading";
2546
- }>;
2547
- receivedBytes: z.ZodOptional<z.ZodNumber>;
2548
- totalBytes: z.ZodOptional<z.ZodNumber>;
2549
- error: z.ZodOptional<z.ZodString>;
2771
+ }, z.core.$strict>;
2772
+ export type SpeechCloudSettings = z.output<typeof SpeechCloudSettingsSchema>;
2773
+ export declare const SpeechSettingsSchema: z.ZodObject<{
2774
+ cloud: z.ZodNullable<z.ZodObject<{
2775
+ provider: z.ZodString;
2776
+ model: z.ZodString;
2777
+ language: z.ZodOptional<z.ZodEnum<{
2778
+ auto: "auto";
2779
+ zh: "zh";
2780
+ en: "en";
2781
+ ja: "ja";
2782
+ ko: "ko";
2783
+ yue: "yue";
2784
+ }>>;
2785
+ }, z.core.$strict>>;
2786
+ providers: z.ZodArray<z.ZodObject<{
2787
+ provider: z.ZodString;
2788
+ displayName: z.ZodString;
2550
2789
  }, z.core.$strict>>;
2551
2790
  }, z.core.$strict>;
2552
- export type VerificationBrowserAvailability = z.output<typeof VerificationBrowserAvailabilitySchema>;
2791
+ export type SpeechSettings = z.output<typeof SpeechSettingsSchema>;
2792
+ /** Whether a capability that needs an add-on can run now; details live in `addons`. */
2793
+ export declare const AddonAvailabilitySchema: z.ZodObject<{
2794
+ available: z.ZodBoolean;
2795
+ }, z.core.$strict>;
2796
+ export type AddonAvailability = z.output<typeof AddonAvailabilitySchema>;
2553
2797
  /** A platform's own program that linked accounts work through, such as the GitHub CLI. */
2554
2798
  export declare const LinkedAccountPlatformToolSchema: z.ZodObject<{
2555
2799
  id: z.ZodEnum<{
2556
2800
  "github-cli": "github-cli";
2557
2801
  }>;
2558
2802
  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
2803
  }, z.core.$strict>;
2580
2804
  /** 设置 → 关联账号: every platform the host supports, with its accounts and tools. */
2581
2805
  export declare const LinkedAccountsViewSchema: z.ZodObject<{
@@ -2593,26 +2817,6 @@ export declare const LinkedAccountsViewSchema: z.ZodObject<{
2593
2817
  "github-cli": "github-cli";
2594
2818
  }>;
2595
2819
  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
2820
  }, z.core.$strict>>;
2617
2821
  accounts: z.ZodArray<z.ZodObject<{
2618
2822
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -2655,26 +2859,6 @@ export declare const RemoveLinkedAccountResultSchema: z.ZodDiscriminatedUnion<[z
2655
2859
  "github-cli": "github-cli";
2656
2860
  }>;
2657
2861
  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
2862
  }, z.core.$strict>>;
2679
2863
  accounts: z.ZodArray<z.ZodObject<{
2680
2864
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -2715,10 +2899,12 @@ export declare const ExtensionRequestSchema: z.ZodObject<{
2715
2899
  status: z.ZodEnum<{
2716
2900
  failed: "failed";
2717
2901
  pending: "pending";
2902
+ withdrawn: "withdrawn";
2718
2903
  rejected: "rejected";
2719
2904
  approved: "approved";
2720
2905
  expired: "expired";
2721
2906
  completed: "completed";
2907
+ superseded: "superseded";
2722
2908
  }>;
2723
2909
  autonomous: z.ZodBoolean;
2724
2910
  resultMessage: z.ZodNullable<z.ZodString>;
@@ -2807,63 +2993,15 @@ export declare const HostSnapshotSchema: z.ZodObject<{
2807
2993
  }, z.core.$strict>;
2808
2994
  codeRun: z.ZodOptional<z.ZodObject<{
2809
2995
  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
2996
  }, z.core.$strict>>;
2828
2997
  githubCli: z.ZodOptional<z.ZodObject<{
2829
2998
  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
2999
  }, z.core.$strict>>;
2848
3000
  verificationBrowser: z.ZodOptional<z.ZodObject<{
2849
3001
  available: z.ZodBoolean;
2850
- source: z.ZodOptional<z.ZodEnum<{
2851
- host: "host";
2852
- system: "system";
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>>;
3002
+ }, z.core.$strict>>;
3003
+ speechRecognition: z.ZodOptional<z.ZodObject<{
3004
+ available: z.ZodBoolean;
2867
3005
  }, z.core.$strict>>;
2868
3006
  commandConfinement: z.ZodOptional<z.ZodObject<{
2869
3007
  readScope: z.ZodBoolean;
@@ -3042,6 +3180,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3042
3180
  codeRun: z.ZodDefault<z.ZodBoolean>;
3043
3181
  commandNetwork: z.ZodDefault<z.ZodBoolean>;
3044
3182
  communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
3183
+ voiceTranscription: z.ZodDefault<z.ZodBoolean>;
3045
3184
  commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3046
3185
  service: z.ZodEnum<{
3047
3186
  github: "github";
@@ -3476,6 +3615,10 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3476
3615
  }>;
3477
3616
  hidden: z.ZodBoolean;
3478
3617
  annotation: z.ZodOptional<z.ZodString>;
3618
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3619
+ label: z.ZodString;
3620
+ text: z.ZodString;
3621
+ }, z.core.$strict>>>;
3479
3622
  extensions: z.ZodArray<z.ZodString>;
3480
3623
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
3481
3624
  }, z.core.$strict>>;
@@ -3841,6 +3984,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3841
3984
  }, z.core.$strict>>>;
3842
3985
  permissions: z.ZodOptional<z.ZodObject<{
3843
3986
  permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3987
+ "assets.read": "assets.read";
3844
3988
  "agents.read": "agents.read";
3845
3989
  "channels.read": "channels.read";
3846
3990
  "connections.read": "connections.read";
@@ -3848,7 +3992,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3848
3992
  "dsh-plugins.read": "dsh-plugins.read";
3849
3993
  "runtime.read": "runtime.read";
3850
3994
  "messages.read": "messages.read";
3851
- "assets.read": "assets.read";
3852
3995
  "agents.manage": "agents.manage";
3853
3996
  "channels.manage": "channels.manage";
3854
3997
  "connections.manage": "connections.manage";
@@ -3873,9 +4016,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3873
4016
  quotaBytes: z.ZodOptional<z.ZodNumber>;
3874
4017
  }, z.core.$strict>>;
3875
4018
  assets: z.ZodOptional<z.ZodObject<{
3876
- library: z.ZodObject<{
4019
+ library: z.ZodOptional<z.ZodObject<{
3877
4020
  quotaBytes: z.ZodOptional<z.ZodNumber>;
3878
- }, z.core.$strict>;
4021
+ }, z.core.$strict>>;
4022
+ read: z.ZodOptional<z.ZodLiteral<true>>;
4023
+ }, z.core.$strict>>;
4024
+ files: z.ZodOptional<z.ZodObject<{
4025
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
4026
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
4027
+ }, z.core.$strict>>;
4028
+ media: z.ZodOptional<z.ZodLiteral<true>>;
4029
+ commands: z.ZodOptional<z.ZodObject<{
4030
+ profiles: z.ZodArray<z.ZodEnum<{
4031
+ ffmpeg: "ffmpeg";
4032
+ ffprobe: "ffprobe";
4033
+ }>>;
4034
+ }, z.core.$strict>>;
4035
+ speech: z.ZodOptional<z.ZodObject<{
4036
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
3879
4037
  }, z.core.$strict>>;
3880
4038
  index: z.ZodOptional<z.ZodObject<{
3881
4039
  collections: z.ZodArray<z.ZodObject<{
@@ -3917,6 +4075,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
3917
4075
  library: z.ZodOptional<z.ZodObject<{
3918
4076
  quotaBytes: z.ZodOptional<z.ZodNumber>;
3919
4077
  }, z.core.$strict>>;
4078
+ read: z.ZodOptional<z.ZodLiteral<true>>;
4079
+ }, z.core.$strict>>;
4080
+ files: z.ZodOptional<z.ZodObject<{
4081
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
4082
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
4083
+ }, z.core.$strict>>;
4084
+ toolImages: z.ZodOptional<z.ZodObject<{
4085
+ highDetail: z.ZodLiteral<true>;
4086
+ }, z.core.$strict>>;
4087
+ media: z.ZodOptional<z.ZodLiteral<true>>;
4088
+ commands: z.ZodOptional<z.ZodObject<{
4089
+ profiles: z.ZodArray<z.ZodEnum<{
4090
+ ffmpeg: "ffmpeg";
4091
+ ffprobe: "ffprobe";
4092
+ }>>;
4093
+ }, z.core.$strict>>;
4094
+ speech: z.ZodOptional<z.ZodObject<{
4095
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
3920
4096
  }, z.core.$strict>>;
3921
4097
  index: z.ZodOptional<z.ZodObject<{
3922
4098
  collections: z.ZodArray<z.ZodObject<{
@@ -4011,6 +4187,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4011
4187
  hostPermission: z.ZodOptional<z.ZodObject<{
4012
4188
  declaration: z.ZodObject<{
4013
4189
  permissions: z.ZodArray<z.ZodEnum<{
4190
+ "assets.read": "assets.read";
4014
4191
  "agents.read": "agents.read";
4015
4192
  "channels.read": "channels.read";
4016
4193
  "connections.read": "connections.read";
@@ -4018,7 +4195,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4018
4195
  "dsh-plugins.read": "dsh-plugins.read";
4019
4196
  "runtime.read": "runtime.read";
4020
4197
  "messages.read": "messages.read";
4021
- "assets.read": "assets.read";
4022
4198
  "agents.manage": "agents.manage";
4023
4199
  "channels.manage": "channels.manage";
4024
4200
  "connections.manage": "connections.manage";
@@ -4053,6 +4229,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4053
4229
  library: z.ZodOptional<z.ZodObject<{
4054
4230
  quotaBytes: z.ZodOptional<z.ZodNumber>;
4055
4231
  }, z.core.$strict>>;
4232
+ read: z.ZodOptional<z.ZodLiteral<true>>;
4233
+ }, z.core.$strict>>;
4234
+ files: z.ZodOptional<z.ZodObject<{
4235
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
4236
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
4237
+ }, z.core.$strict>>;
4238
+ toolImages: z.ZodOptional<z.ZodObject<{
4239
+ highDetail: z.ZodLiteral<true>;
4240
+ }, z.core.$strict>>;
4241
+ media: z.ZodOptional<z.ZodLiteral<true>>;
4242
+ commands: z.ZodOptional<z.ZodObject<{
4243
+ profiles: z.ZodArray<z.ZodEnum<{
4244
+ ffmpeg: "ffmpeg";
4245
+ ffprobe: "ffprobe";
4246
+ }>>;
4247
+ }, z.core.$strict>>;
4248
+ speech: z.ZodOptional<z.ZodObject<{
4249
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
4056
4250
  }, z.core.$strict>>;
4057
4251
  index: z.ZodOptional<z.ZodObject<{
4058
4252
  collections: z.ZodArray<z.ZodObject<{
@@ -4150,6 +4344,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4150
4344
  agentPermission: z.ZodOptional<z.ZodObject<{
4151
4345
  declaration: z.ZodObject<{
4152
4346
  permissions: z.ZodArray<z.ZodEnum<{
4347
+ "assets.read": "assets.read";
4153
4348
  "agents.read": "agents.read";
4154
4349
  "channels.read": "channels.read";
4155
4350
  "connections.read": "connections.read";
@@ -4157,7 +4352,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4157
4352
  "dsh-plugins.read": "dsh-plugins.read";
4158
4353
  "runtime.read": "runtime.read";
4159
4354
  "messages.read": "messages.read";
4160
- "assets.read": "assets.read";
4161
4355
  "agents.manage": "agents.manage";
4162
4356
  "channels.manage": "channels.manage";
4163
4357
  "connections.manage": "connections.manage";
@@ -4192,6 +4386,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4192
4386
  library: z.ZodOptional<z.ZodObject<{
4193
4387
  quotaBytes: z.ZodOptional<z.ZodNumber>;
4194
4388
  }, z.core.$strict>>;
4389
+ read: z.ZodOptional<z.ZodLiteral<true>>;
4390
+ }, z.core.$strict>>;
4391
+ files: z.ZodOptional<z.ZodObject<{
4392
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
4393
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
4394
+ }, z.core.$strict>>;
4395
+ toolImages: z.ZodOptional<z.ZodObject<{
4396
+ highDetail: z.ZodLiteral<true>;
4397
+ }, z.core.$strict>>;
4398
+ media: z.ZodOptional<z.ZodLiteral<true>>;
4399
+ commands: z.ZodOptional<z.ZodObject<{
4400
+ profiles: z.ZodArray<z.ZodEnum<{
4401
+ ffmpeg: "ffmpeg";
4402
+ ffprobe: "ffprobe";
4403
+ }>>;
4404
+ }, z.core.$strict>>;
4405
+ speech: z.ZodOptional<z.ZodObject<{
4406
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
4195
4407
  }, z.core.$strict>>;
4196
4408
  index: z.ZodOptional<z.ZodObject<{
4197
4409
  collections: z.ZodArray<z.ZodObject<{
@@ -4365,6 +4577,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4365
4577
  hostPermission: z.ZodOptional<z.ZodObject<{
4366
4578
  declaration: z.ZodObject<{
4367
4579
  permissions: z.ZodArray<z.ZodEnum<{
4580
+ "assets.read": "assets.read";
4368
4581
  "agents.read": "agents.read";
4369
4582
  "channels.read": "channels.read";
4370
4583
  "connections.read": "connections.read";
@@ -4372,7 +4585,6 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4372
4585
  "dsh-plugins.read": "dsh-plugins.read";
4373
4586
  "runtime.read": "runtime.read";
4374
4587
  "messages.read": "messages.read";
4375
- "assets.read": "assets.read";
4376
4588
  "agents.manage": "agents.manage";
4377
4589
  "channels.manage": "channels.manage";
4378
4590
  "connections.manage": "connections.manage";
@@ -4407,6 +4619,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4407
4619
  library: z.ZodOptional<z.ZodObject<{
4408
4620
  quotaBytes: z.ZodOptional<z.ZodNumber>;
4409
4621
  }, z.core.$strict>>;
4622
+ read: z.ZodOptional<z.ZodLiteral<true>>;
4623
+ }, z.core.$strict>>;
4624
+ files: z.ZodOptional<z.ZodObject<{
4625
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
4626
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
4627
+ }, z.core.$strict>>;
4628
+ toolImages: z.ZodOptional<z.ZodObject<{
4629
+ highDetail: z.ZodLiteral<true>;
4630
+ }, z.core.$strict>>;
4631
+ media: z.ZodOptional<z.ZodLiteral<true>>;
4632
+ commands: z.ZodOptional<z.ZodObject<{
4633
+ profiles: z.ZodArray<z.ZodEnum<{
4634
+ ffmpeg: "ffmpeg";
4635
+ ffprobe: "ffprobe";
4636
+ }>>;
4637
+ }, z.core.$strict>>;
4638
+ speech: z.ZodOptional<z.ZodObject<{
4639
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
4410
4640
  }, z.core.$strict>>;
4411
4641
  index: z.ZodOptional<z.ZodObject<{
4412
4642
  collections: z.ZodArray<z.ZodObject<{
@@ -4948,6 +5178,86 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4948
5178
  createdAt: z.ZodNumber;
4949
5179
  closedAt: z.ZodOptional<z.ZodNumber>;
4950
5180
  }, z.core.$strict>>>;
5181
+ addons: z.ZodDefault<z.ZodArray<z.ZodObject<{
5182
+ id: z.ZodEnum<{
5183
+ node: "node";
5184
+ media: "media";
5185
+ speech: "speech";
5186
+ retrieval: "retrieval";
5187
+ "github-cli": "github-cli";
5188
+ browser: "browser";
5189
+ }>;
5190
+ group: z.ZodEnum<{
5191
+ extension: "extension";
5192
+ host: "host";
5193
+ agent: "agent";
5194
+ }>;
5195
+ title: z.ZodString;
5196
+ summary: z.ZodString;
5197
+ usedBy: z.ZodArray<z.ZodString>;
5198
+ state: z.ZodEnum<{
5199
+ failed: "failed";
5200
+ installed: "installed";
5201
+ available: "available";
5202
+ unsupported: "unsupported";
5203
+ "not-installed": "not-installed";
5204
+ installing: "installing";
5205
+ "needs-config": "needs-config";
5206
+ }>;
5207
+ progress: z.ZodOptional<z.ZodObject<{
5208
+ receivedBytes: z.ZodNumber;
5209
+ totalBytes: z.ZodOptional<z.ZodNumber>;
5210
+ }, z.core.$strict>>;
5211
+ selected: z.ZodOptional<z.ZodString>;
5212
+ providers: z.ZodArray<z.ZodObject<{
5213
+ id: z.ZodString;
5214
+ title: z.ZodString;
5215
+ summary: z.ZodString;
5216
+ state: z.ZodEnum<{
5217
+ failed: "failed";
5218
+ installed: "installed";
5219
+ available: "available";
5220
+ unsupported: "unsupported";
5221
+ "not-installed": "not-installed";
5222
+ installing: "installing";
5223
+ "needs-config": "needs-config";
5224
+ }>;
5225
+ source: z.ZodOptional<z.ZodEnum<{
5226
+ system: "system";
5227
+ bundled: "bundled";
5228
+ downloaded: "downloaded";
5229
+ cloud: "cloud";
5230
+ }>>;
5231
+ version: z.ZodOptional<z.ZodString>;
5232
+ resources: z.ZodObject<{
5233
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
5234
+ installedBytes: z.ZodOptional<z.ZodNumber>;
5235
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
5236
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
5237
+ }, z.core.$strict>;
5238
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
5239
+ component: z.ZodOptional<z.ZodString>;
5240
+ name: z.ZodString;
5241
+ url: z.ZodURL;
5242
+ }, z.core.$strict>>>;
5243
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
5244
+ progress: z.ZodOptional<z.ZodObject<{
5245
+ receivedBytes: z.ZodNumber;
5246
+ totalBytes: z.ZodOptional<z.ZodNumber>;
5247
+ }, z.core.$strict>>;
5248
+ error: z.ZodOptional<z.ZodString>;
5249
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
5250
+ node: "node";
5251
+ media: "media";
5252
+ speech: "speech";
5253
+ retrieval: "retrieval";
5254
+ "github-cli": "github-cli";
5255
+ browser: "browser";
5256
+ }>>>;
5257
+ installable: z.ZodBoolean;
5258
+ removable: z.ZodBoolean;
5259
+ }, z.core.$strict>>;
5260
+ }, z.core.$strict>>>;
4951
5261
  scheduledTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4952
5262
  id: z.ZodString;
4953
5263
  agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
@@ -4989,10 +5299,12 @@ export declare const HostSnapshotSchema: z.ZodObject<{
4989
5299
  status: z.ZodEnum<{
4990
5300
  failed: "failed";
4991
5301
  pending: "pending";
5302
+ withdrawn: "withdrawn";
4992
5303
  rejected: "rejected";
4993
5304
  approved: "approved";
4994
5305
  expired: "expired";
4995
5306
  completed: "completed";
5307
+ superseded: "superseded";
4996
5308
  }>;
4997
5309
  autonomous: z.ZodBoolean;
4998
5310
  resultMessage: z.ZodNullable<z.ZodString>;
@@ -5025,6 +5337,7 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
5025
5337
  imported: "imported";
5026
5338
  }>>;
5027
5339
  official: z.ZodOptional<z.ZodBoolean>;
5340
+ imageSubmission: z.ZodOptional<z.ZodBoolean>;
5028
5341
  installedAt: z.ZodOptional<z.ZodNumber>;
5029
5342
  clientUiDetected: z.ZodOptional<z.ZodBoolean>;
5030
5343
  hostUi: z.ZodOptional<z.ZodObject<{
@@ -5070,6 +5383,7 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
5070
5383
  }, z.core.$strict>>;
5071
5384
  permissions: z.ZodDefault<z.ZodObject<{
5072
5385
  permissions: z.ZodArray<z.ZodEnum<{
5386
+ "assets.read": "assets.read";
5073
5387
  "agents.read": "agents.read";
5074
5388
  "channels.read": "channels.read";
5075
5389
  "connections.read": "connections.read";
@@ -5077,7 +5391,6 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
5077
5391
  "dsh-plugins.read": "dsh-plugins.read";
5078
5392
  "runtime.read": "runtime.read";
5079
5393
  "messages.read": "messages.read";
5080
- "assets.read": "assets.read";
5081
5394
  "agents.manage": "agents.manage";
5082
5395
  "channels.manage": "channels.manage";
5083
5396
  "connections.manage": "connections.manage";
@@ -5112,6 +5425,24 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
5112
5425
  library: z.ZodOptional<z.ZodObject<{
5113
5426
  quotaBytes: z.ZodOptional<z.ZodNumber>;
5114
5427
  }, z.core.$strict>>;
5428
+ read: z.ZodOptional<z.ZodLiteral<true>>;
5429
+ }, z.core.$strict>>;
5430
+ files: z.ZodOptional<z.ZodObject<{
5431
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
5432
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
5433
+ }, z.core.$strict>>;
5434
+ toolImages: z.ZodOptional<z.ZodObject<{
5435
+ highDetail: z.ZodLiteral<true>;
5436
+ }, z.core.$strict>>;
5437
+ media: z.ZodOptional<z.ZodLiteral<true>>;
5438
+ commands: z.ZodOptional<z.ZodObject<{
5439
+ profiles: z.ZodArray<z.ZodEnum<{
5440
+ ffmpeg: "ffmpeg";
5441
+ ffprobe: "ffprobe";
5442
+ }>>;
5443
+ }, z.core.$strict>>;
5444
+ speech: z.ZodOptional<z.ZodObject<{
5445
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
5115
5446
  }, z.core.$strict>>;
5116
5447
  index: z.ZodOptional<z.ZodObject<{
5117
5448
  collections: z.ZodArray<z.ZodObject<{
@@ -5324,8 +5655,8 @@ export declare const DshPluginOperationSseDataSchema: z.ZodObject<{
5324
5655
  inspect: "inspect";
5325
5656
  }>;
5326
5657
  phase: z.ZodEnum<{
5327
- download: "download";
5328
5658
  publish: "publish";
5659
+ download: "download";
5329
5660
  dependencies: "dependencies";
5330
5661
  "build-scripts": "build-scripts";
5331
5662
  validation: "validation";
@@ -5548,6 +5879,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5548
5879
  }>;
5549
5880
  hidden: z.ZodBoolean;
5550
5881
  annotation: z.ZodOptional<z.ZodString>;
5882
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
5883
+ label: z.ZodString;
5884
+ text: z.ZodString;
5885
+ }, z.core.$strict>>>;
5551
5886
  extensions: z.ZodArray<z.ZodString>;
5552
5887
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
5553
5888
  }, z.core.$strict>>;
@@ -5762,6 +6097,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5762
6097
  cancelled: "cancelled";
5763
6098
  }>>;
5764
6099
  durationMs: z.ZodOptional<z.ZodNumber>;
6100
+ progress: z.ZodOptional<z.ZodObject<{
6101
+ text: z.ZodString;
6102
+ fraction: z.ZodOptional<z.ZodNumber>;
6103
+ }, z.core.$strict>>;
5765
6104
  }, z.core.$strict>>>;
5766
6105
  callId: z.ZodString;
5767
6106
  name: z.ZodString;
@@ -5782,6 +6121,10 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5782
6121
  cancelled: "cancelled";
5783
6122
  }>>;
5784
6123
  durationMs: z.ZodOptional<z.ZodNumber>;
6124
+ progress: z.ZodOptional<z.ZodObject<{
6125
+ text: z.ZodString;
6126
+ fraction: z.ZodOptional<z.ZodNumber>;
6127
+ }, z.core.$strict>>;
5785
6128
  }, z.core.$strict>>;
5786
6129
  internalOutput: z.ZodOptional<z.ZodObject<{
5787
6130
  kind: z.ZodLiteral<"internal-output">;
@@ -5833,8 +6176,8 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5833
6176
  inspect: "inspect";
5834
6177
  }>;
5835
6178
  phase: z.ZodEnum<{
5836
- download: "download";
5837
6179
  publish: "publish";
6180
+ download: "download";
5838
6181
  dependencies: "dependencies";
5839
6182
  "build-scripts": "build-scripts";
5840
6183
  validation: "validation";
@@ -6176,6 +6519,21 @@ export declare const AgentRevisionHistorySchema: z.ZodObject<{
6176
6519
  }, z.core.$strict>>;
6177
6520
  }, z.core.$strict>;
6178
6521
  export type AgentRevisionHistory = z.output<typeof AgentRevisionHistorySchema>;
6522
+ /**
6523
+ * What keeps a version from being cleaned up: in use, enabled for an agent, released to a community, kept by hand,
6524
+ * the start of a branch, the base of an open revision, needed by 回到上一个版本, or named by a pending request.
6525
+ */
6526
+ export declare const ExtensionRevisionProtectionSchema: z.ZodEnum<{
6527
+ installed: "installed";
6528
+ active: "active";
6529
+ request: "request";
6530
+ branch: "branch";
6531
+ released: "released";
6532
+ kept: "kept";
6533
+ revising: "revising";
6534
+ undo: "undo";
6535
+ }>;
6536
+ export type ExtensionRevisionProtection = z.output<typeof ExtensionRevisionProtectionSchema>;
6179
6537
  /** One version of one line in the lineage view of an extension family. */
6180
6538
  export declare const ExtensionLineageNodeSchema: z.ZodObject<{
6181
6539
  revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
@@ -6191,6 +6549,17 @@ export declare const ExtensionLineageNodeSchema: z.ZodObject<{
6191
6549
  createdAt: z.ZodNumber;
6192
6550
  current: z.ZodBoolean;
6193
6551
  releaseNumbers: z.ZodArray<z.ZodNumber>;
6552
+ kept: z.ZodBoolean;
6553
+ protectedBy: z.ZodOptional<z.ZodEnum<{
6554
+ installed: "installed";
6555
+ active: "active";
6556
+ request: "request";
6557
+ branch: "branch";
6558
+ released: "released";
6559
+ kept: "kept";
6560
+ revising: "revising";
6561
+ undo: "undo";
6562
+ }>>;
6194
6563
  }, z.core.$strict>;
6195
6564
  /** Every line of the family an extension belongs to: the original and every branch of a branch on this machine. */
6196
6565
  export declare const ExtensionLineageSchema: z.ZodObject<{
@@ -6215,6 +6584,17 @@ export declare const ExtensionLineageSchema: z.ZodObject<{
6215
6584
  createdAt: z.ZodNumber;
6216
6585
  current: z.ZodBoolean;
6217
6586
  releaseNumbers: z.ZodArray<z.ZodNumber>;
6587
+ kept: z.ZodBoolean;
6588
+ protectedBy: z.ZodOptional<z.ZodEnum<{
6589
+ installed: "installed";
6590
+ active: "active";
6591
+ request: "request";
6592
+ branch: "branch";
6593
+ released: "released";
6594
+ kept: "kept";
6595
+ revising: "revising";
6596
+ undo: "undo";
6597
+ }>>;
6218
6598
  }, z.core.$strict>>;
6219
6599
  }, z.core.$strict>>;
6220
6600
  }, z.core.$strict>;
@@ -7122,63 +7502,15 @@ export declare const HostApiContracts: {
7122
7502
  }, z.core.$strict>;
7123
7503
  codeRun: z.ZodOptional<z.ZodObject<{
7124
7504
  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
7505
  }, z.core.$strict>>;
7143
7506
  githubCli: z.ZodOptional<z.ZodObject<{
7144
7507
  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
7508
  }, z.core.$strict>>;
7163
7509
  verificationBrowser: z.ZodOptional<z.ZodObject<{
7164
7510
  available: z.ZodBoolean;
7165
- source: z.ZodOptional<z.ZodEnum<{
7166
- host: "host";
7167
- system: "system";
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>>;
7511
+ }, z.core.$strict>>;
7512
+ speechRecognition: z.ZodOptional<z.ZodObject<{
7513
+ available: z.ZodBoolean;
7182
7514
  }, z.core.$strict>>;
7183
7515
  commandConfinement: z.ZodOptional<z.ZodObject<{
7184
7516
  readScope: z.ZodBoolean;
@@ -7357,6 +7689,7 @@ export declare const HostApiContracts: {
7357
7689
  codeRun: z.ZodDefault<z.ZodBoolean>;
7358
7690
  commandNetwork: z.ZodDefault<z.ZodBoolean>;
7359
7691
  communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
7692
+ voiceTranscription: z.ZodDefault<z.ZodBoolean>;
7360
7693
  commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
7361
7694
  service: z.ZodEnum<{
7362
7695
  github: "github";
@@ -7791,6 +8124,10 @@ export declare const HostApiContracts: {
7791
8124
  }>;
7792
8125
  hidden: z.ZodBoolean;
7793
8126
  annotation: z.ZodOptional<z.ZodString>;
8127
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
8128
+ label: z.ZodString;
8129
+ text: z.ZodString;
8130
+ }, z.core.$strict>>>;
7794
8131
  extensions: z.ZodArray<z.ZodString>;
7795
8132
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
7796
8133
  }, z.core.$strict>>;
@@ -8156,6 +8493,7 @@ export declare const HostApiContracts: {
8156
8493
  }, z.core.$strict>>>;
8157
8494
  permissions: z.ZodOptional<z.ZodObject<{
8158
8495
  permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8496
+ "assets.read": "assets.read";
8159
8497
  "agents.read": "agents.read";
8160
8498
  "channels.read": "channels.read";
8161
8499
  "connections.read": "connections.read";
@@ -8163,7 +8501,6 @@ export declare const HostApiContracts: {
8163
8501
  "dsh-plugins.read": "dsh-plugins.read";
8164
8502
  "runtime.read": "runtime.read";
8165
8503
  "messages.read": "messages.read";
8166
- "assets.read": "assets.read";
8167
8504
  "agents.manage": "agents.manage";
8168
8505
  "channels.manage": "channels.manage";
8169
8506
  "connections.manage": "connections.manage";
@@ -8188,9 +8525,24 @@ export declare const HostApiContracts: {
8188
8525
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8189
8526
  }, z.core.$strict>>;
8190
8527
  assets: z.ZodOptional<z.ZodObject<{
8191
- library: z.ZodObject<{
8528
+ library: z.ZodOptional<z.ZodObject<{
8192
8529
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8193
- }, z.core.$strict>;
8530
+ }, z.core.$strict>>;
8531
+ read: z.ZodOptional<z.ZodLiteral<true>>;
8532
+ }, z.core.$strict>>;
8533
+ files: z.ZodOptional<z.ZodObject<{
8534
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
8535
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
8536
+ }, z.core.$strict>>;
8537
+ media: z.ZodOptional<z.ZodLiteral<true>>;
8538
+ commands: z.ZodOptional<z.ZodObject<{
8539
+ profiles: z.ZodArray<z.ZodEnum<{
8540
+ ffmpeg: "ffmpeg";
8541
+ ffprobe: "ffprobe";
8542
+ }>>;
8543
+ }, z.core.$strict>>;
8544
+ speech: z.ZodOptional<z.ZodObject<{
8545
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
8194
8546
  }, z.core.$strict>>;
8195
8547
  index: z.ZodOptional<z.ZodObject<{
8196
8548
  collections: z.ZodArray<z.ZodObject<{
@@ -8232,6 +8584,24 @@ export declare const HostApiContracts: {
8232
8584
  library: z.ZodOptional<z.ZodObject<{
8233
8585
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8234
8586
  }, z.core.$strict>>;
8587
+ read: z.ZodOptional<z.ZodLiteral<true>>;
8588
+ }, z.core.$strict>>;
8589
+ files: z.ZodOptional<z.ZodObject<{
8590
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
8591
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
8592
+ }, z.core.$strict>>;
8593
+ toolImages: z.ZodOptional<z.ZodObject<{
8594
+ highDetail: z.ZodLiteral<true>;
8595
+ }, z.core.$strict>>;
8596
+ media: z.ZodOptional<z.ZodLiteral<true>>;
8597
+ commands: z.ZodOptional<z.ZodObject<{
8598
+ profiles: z.ZodArray<z.ZodEnum<{
8599
+ ffmpeg: "ffmpeg";
8600
+ ffprobe: "ffprobe";
8601
+ }>>;
8602
+ }, z.core.$strict>>;
8603
+ speech: z.ZodOptional<z.ZodObject<{
8604
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
8235
8605
  }, z.core.$strict>>;
8236
8606
  index: z.ZodOptional<z.ZodObject<{
8237
8607
  collections: z.ZodArray<z.ZodObject<{
@@ -8326,6 +8696,7 @@ export declare const HostApiContracts: {
8326
8696
  hostPermission: z.ZodOptional<z.ZodObject<{
8327
8697
  declaration: z.ZodObject<{
8328
8698
  permissions: z.ZodArray<z.ZodEnum<{
8699
+ "assets.read": "assets.read";
8329
8700
  "agents.read": "agents.read";
8330
8701
  "channels.read": "channels.read";
8331
8702
  "connections.read": "connections.read";
@@ -8333,7 +8704,6 @@ export declare const HostApiContracts: {
8333
8704
  "dsh-plugins.read": "dsh-plugins.read";
8334
8705
  "runtime.read": "runtime.read";
8335
8706
  "messages.read": "messages.read";
8336
- "assets.read": "assets.read";
8337
8707
  "agents.manage": "agents.manage";
8338
8708
  "channels.manage": "channels.manage";
8339
8709
  "connections.manage": "connections.manage";
@@ -8368,6 +8738,24 @@ export declare const HostApiContracts: {
8368
8738
  library: z.ZodOptional<z.ZodObject<{
8369
8739
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8370
8740
  }, z.core.$strict>>;
8741
+ read: z.ZodOptional<z.ZodLiteral<true>>;
8742
+ }, z.core.$strict>>;
8743
+ files: z.ZodOptional<z.ZodObject<{
8744
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
8745
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
8746
+ }, z.core.$strict>>;
8747
+ toolImages: z.ZodOptional<z.ZodObject<{
8748
+ highDetail: z.ZodLiteral<true>;
8749
+ }, z.core.$strict>>;
8750
+ media: z.ZodOptional<z.ZodLiteral<true>>;
8751
+ commands: z.ZodOptional<z.ZodObject<{
8752
+ profiles: z.ZodArray<z.ZodEnum<{
8753
+ ffmpeg: "ffmpeg";
8754
+ ffprobe: "ffprobe";
8755
+ }>>;
8756
+ }, z.core.$strict>>;
8757
+ speech: z.ZodOptional<z.ZodObject<{
8758
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
8371
8759
  }, z.core.$strict>>;
8372
8760
  index: z.ZodOptional<z.ZodObject<{
8373
8761
  collections: z.ZodArray<z.ZodObject<{
@@ -8465,6 +8853,7 @@ export declare const HostApiContracts: {
8465
8853
  agentPermission: z.ZodOptional<z.ZodObject<{
8466
8854
  declaration: z.ZodObject<{
8467
8855
  permissions: z.ZodArray<z.ZodEnum<{
8856
+ "assets.read": "assets.read";
8468
8857
  "agents.read": "agents.read";
8469
8858
  "channels.read": "channels.read";
8470
8859
  "connections.read": "connections.read";
@@ -8472,7 +8861,6 @@ export declare const HostApiContracts: {
8472
8861
  "dsh-plugins.read": "dsh-plugins.read";
8473
8862
  "runtime.read": "runtime.read";
8474
8863
  "messages.read": "messages.read";
8475
- "assets.read": "assets.read";
8476
8864
  "agents.manage": "agents.manage";
8477
8865
  "channels.manage": "channels.manage";
8478
8866
  "connections.manage": "connections.manage";
@@ -8507,6 +8895,24 @@ export declare const HostApiContracts: {
8507
8895
  library: z.ZodOptional<z.ZodObject<{
8508
8896
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8509
8897
  }, z.core.$strict>>;
8898
+ read: z.ZodOptional<z.ZodLiteral<true>>;
8899
+ }, z.core.$strict>>;
8900
+ files: z.ZodOptional<z.ZodObject<{
8901
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
8902
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
8903
+ }, z.core.$strict>>;
8904
+ toolImages: z.ZodOptional<z.ZodObject<{
8905
+ highDetail: z.ZodLiteral<true>;
8906
+ }, z.core.$strict>>;
8907
+ media: z.ZodOptional<z.ZodLiteral<true>>;
8908
+ commands: z.ZodOptional<z.ZodObject<{
8909
+ profiles: z.ZodArray<z.ZodEnum<{
8910
+ ffmpeg: "ffmpeg";
8911
+ ffprobe: "ffprobe";
8912
+ }>>;
8913
+ }, z.core.$strict>>;
8914
+ speech: z.ZodOptional<z.ZodObject<{
8915
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
8510
8916
  }, z.core.$strict>>;
8511
8917
  index: z.ZodOptional<z.ZodObject<{
8512
8918
  collections: z.ZodArray<z.ZodObject<{
@@ -8680,6 +9086,7 @@ export declare const HostApiContracts: {
8680
9086
  hostPermission: z.ZodOptional<z.ZodObject<{
8681
9087
  declaration: z.ZodObject<{
8682
9088
  permissions: z.ZodArray<z.ZodEnum<{
9089
+ "assets.read": "assets.read";
8683
9090
  "agents.read": "agents.read";
8684
9091
  "channels.read": "channels.read";
8685
9092
  "connections.read": "connections.read";
@@ -8687,7 +9094,6 @@ export declare const HostApiContracts: {
8687
9094
  "dsh-plugins.read": "dsh-plugins.read";
8688
9095
  "runtime.read": "runtime.read";
8689
9096
  "messages.read": "messages.read";
8690
- "assets.read": "assets.read";
8691
9097
  "agents.manage": "agents.manage";
8692
9098
  "channels.manage": "channels.manage";
8693
9099
  "connections.manage": "connections.manage";
@@ -8722,6 +9128,24 @@ export declare const HostApiContracts: {
8722
9128
  library: z.ZodOptional<z.ZodObject<{
8723
9129
  quotaBytes: z.ZodOptional<z.ZodNumber>;
8724
9130
  }, z.core.$strict>>;
9131
+ read: z.ZodOptional<z.ZodLiteral<true>>;
9132
+ }, z.core.$strict>>;
9133
+ files: z.ZodOptional<z.ZodObject<{
9134
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
9135
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
9136
+ }, z.core.$strict>>;
9137
+ toolImages: z.ZodOptional<z.ZodObject<{
9138
+ highDetail: z.ZodLiteral<true>;
9139
+ }, z.core.$strict>>;
9140
+ media: z.ZodOptional<z.ZodLiteral<true>>;
9141
+ commands: z.ZodOptional<z.ZodObject<{
9142
+ profiles: z.ZodArray<z.ZodEnum<{
9143
+ ffmpeg: "ffmpeg";
9144
+ ffprobe: "ffprobe";
9145
+ }>>;
9146
+ }, z.core.$strict>>;
9147
+ speech: z.ZodOptional<z.ZodObject<{
9148
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
8725
9149
  }, z.core.$strict>>;
8726
9150
  index: z.ZodOptional<z.ZodObject<{
8727
9151
  collections: z.ZodArray<z.ZodObject<{
@@ -9263,6 +9687,86 @@ export declare const HostApiContracts: {
9263
9687
  createdAt: z.ZodNumber;
9264
9688
  closedAt: z.ZodOptional<z.ZodNumber>;
9265
9689
  }, z.core.$strict>>>;
9690
+ addons: z.ZodDefault<z.ZodArray<z.ZodObject<{
9691
+ id: z.ZodEnum<{
9692
+ node: "node";
9693
+ media: "media";
9694
+ speech: "speech";
9695
+ retrieval: "retrieval";
9696
+ "github-cli": "github-cli";
9697
+ browser: "browser";
9698
+ }>;
9699
+ group: z.ZodEnum<{
9700
+ extension: "extension";
9701
+ host: "host";
9702
+ agent: "agent";
9703
+ }>;
9704
+ title: z.ZodString;
9705
+ summary: z.ZodString;
9706
+ usedBy: z.ZodArray<z.ZodString>;
9707
+ state: z.ZodEnum<{
9708
+ failed: "failed";
9709
+ installed: "installed";
9710
+ available: "available";
9711
+ unsupported: "unsupported";
9712
+ "not-installed": "not-installed";
9713
+ installing: "installing";
9714
+ "needs-config": "needs-config";
9715
+ }>;
9716
+ progress: z.ZodOptional<z.ZodObject<{
9717
+ receivedBytes: z.ZodNumber;
9718
+ totalBytes: z.ZodOptional<z.ZodNumber>;
9719
+ }, z.core.$strict>>;
9720
+ selected: z.ZodOptional<z.ZodString>;
9721
+ providers: z.ZodArray<z.ZodObject<{
9722
+ id: z.ZodString;
9723
+ title: z.ZodString;
9724
+ summary: z.ZodString;
9725
+ state: z.ZodEnum<{
9726
+ failed: "failed";
9727
+ installed: "installed";
9728
+ available: "available";
9729
+ unsupported: "unsupported";
9730
+ "not-installed": "not-installed";
9731
+ installing: "installing";
9732
+ "needs-config": "needs-config";
9733
+ }>;
9734
+ source: z.ZodOptional<z.ZodEnum<{
9735
+ system: "system";
9736
+ bundled: "bundled";
9737
+ downloaded: "downloaded";
9738
+ cloud: "cloud";
9739
+ }>>;
9740
+ version: z.ZodOptional<z.ZodString>;
9741
+ resources: z.ZodObject<{
9742
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
9743
+ installedBytes: z.ZodOptional<z.ZodNumber>;
9744
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
9745
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
9746
+ }, z.core.$strict>;
9747
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
9748
+ component: z.ZodOptional<z.ZodString>;
9749
+ name: z.ZodString;
9750
+ url: z.ZodURL;
9751
+ }, z.core.$strict>>>;
9752
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
9753
+ progress: z.ZodOptional<z.ZodObject<{
9754
+ receivedBytes: z.ZodNumber;
9755
+ totalBytes: z.ZodOptional<z.ZodNumber>;
9756
+ }, z.core.$strict>>;
9757
+ error: z.ZodOptional<z.ZodString>;
9758
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9759
+ node: "node";
9760
+ media: "media";
9761
+ speech: "speech";
9762
+ retrieval: "retrieval";
9763
+ "github-cli": "github-cli";
9764
+ browser: "browser";
9765
+ }>>>;
9766
+ installable: z.ZodBoolean;
9767
+ removable: z.ZodBoolean;
9768
+ }, z.core.$strict>>;
9769
+ }, z.core.$strict>>>;
9266
9770
  scheduledTasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
9267
9771
  id: z.ZodString;
9268
9772
  agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
@@ -9304,10 +9808,12 @@ export declare const HostApiContracts: {
9304
9808
  status: z.ZodEnum<{
9305
9809
  failed: "failed";
9306
9810
  pending: "pending";
9811
+ withdrawn: "withdrawn";
9307
9812
  rejected: "rejected";
9308
9813
  approved: "approved";
9309
9814
  expired: "expired";
9310
9815
  completed: "completed";
9816
+ superseded: "superseded";
9311
9817
  }>;
9312
9818
  autonomous: z.ZodBoolean;
9313
9819
  resultMessage: z.ZodNullable<z.ZodString>;
@@ -10541,6 +11047,7 @@ export declare const HostApiContracts: {
10541
11047
  codeRun: z.ZodDefault<z.ZodBoolean>;
10542
11048
  commandNetwork: z.ZodDefault<z.ZodBoolean>;
10543
11049
  communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
11050
+ voiceTranscription: z.ZodDefault<z.ZodBoolean>;
10544
11051
  commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10545
11052
  service: z.ZodEnum<{
10546
11053
  github: "github";
@@ -10700,6 +11207,7 @@ export declare const HostApiContracts: {
10700
11207
  codeRun: z.ZodOptional<z.ZodBoolean>;
10701
11208
  commandNetwork: z.ZodOptional<z.ZodBoolean>;
10702
11209
  communityFeedbackAuto: z.ZodOptional<z.ZodBoolean>;
11210
+ voiceTranscription: z.ZodOptional<z.ZodBoolean>;
10703
11211
  commandAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
10704
11212
  service: z.ZodEnum<{
10705
11213
  github: "github";
@@ -10738,6 +11246,7 @@ export declare const HostApiContracts: {
10738
11246
  codeRun: z.ZodDefault<z.ZodBoolean>;
10739
11247
  commandNetwork: z.ZodDefault<z.ZodBoolean>;
10740
11248
  communityFeedbackAuto: z.ZodDefault<z.ZodBoolean>;
11249
+ voiceTranscription: z.ZodDefault<z.ZodBoolean>;
10741
11250
  commandAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10742
11251
  service: z.ZodEnum<{
10743
11252
  github: "github";
@@ -11129,6 +11638,10 @@ export declare const HostApiContracts: {
11129
11638
  }>;
11130
11639
  hidden: z.ZodBoolean;
11131
11640
  annotation: z.ZodOptional<z.ZodString>;
11641
+ hostAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
11642
+ label: z.ZodString;
11643
+ text: z.ZodString;
11644
+ }, z.core.$strict>>>;
11132
11645
  extensions: z.ZodArray<z.ZodString>;
11133
11646
  problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
11134
11647
  }, z.core.$strict>>;
@@ -11411,6 +11924,10 @@ export declare const HostApiContracts: {
11411
11924
  cancelled: "cancelled";
11412
11925
  }>>;
11413
11926
  durationMs: z.ZodOptional<z.ZodNumber>;
11927
+ progress: z.ZodOptional<z.ZodObject<{
11928
+ text: z.ZodString;
11929
+ fraction: z.ZodOptional<z.ZodNumber>;
11930
+ }, z.core.$strict>>;
11414
11931
  }, z.core.$strict>>>;
11415
11932
  callId: z.ZodString;
11416
11933
  name: z.ZodString;
@@ -11431,6 +11948,10 @@ export declare const HostApiContracts: {
11431
11948
  cancelled: "cancelled";
11432
11949
  }>>;
11433
11950
  durationMs: z.ZodOptional<z.ZodNumber>;
11951
+ progress: z.ZodOptional<z.ZodObject<{
11952
+ text: z.ZodString;
11953
+ fraction: z.ZodOptional<z.ZodNumber>;
11954
+ }, z.core.$strict>>;
11434
11955
  }, z.core.$strict>>;
11435
11956
  internalOutput: z.ZodOptional<z.ZodObject<{
11436
11957
  kind: z.ZodLiteral<"internal-output">;
@@ -11781,6 +12302,10 @@ export declare const HostApiContracts: {
11781
12302
  cancelled: "cancelled";
11782
12303
  }>>;
11783
12304
  durationMs: z.ZodOptional<z.ZodNumber>;
12305
+ progress: z.ZodOptional<z.ZodObject<{
12306
+ text: z.ZodString;
12307
+ fraction: z.ZodOptional<z.ZodNumber>;
12308
+ }, z.core.$strict>>;
11784
12309
  }, z.core.$strict>>>;
11785
12310
  callId: z.ZodString;
11786
12311
  name: z.ZodString;
@@ -11801,6 +12326,10 @@ export declare const HostApiContracts: {
11801
12326
  cancelled: "cancelled";
11802
12327
  }>>;
11803
12328
  durationMs: z.ZodOptional<z.ZodNumber>;
12329
+ progress: z.ZodOptional<z.ZodObject<{
12330
+ text: z.ZodString;
12331
+ fraction: z.ZodOptional<z.ZodNumber>;
12332
+ }, z.core.$strict>>;
11804
12333
  }, z.core.$strict>>;
11805
12334
  internalOutput: z.ZodOptional<z.ZodObject<{
11806
12335
  kind: z.ZodLiteral<"internal-output">;
@@ -12255,6 +12784,21 @@ export declare const HostApiContracts: {
12255
12784
  commit: z.ZodOptional<z.ZodString>;
12256
12785
  url: z.ZodString;
12257
12786
  publishedAt: z.ZodOptional<z.ZodNumber>;
12787
+ downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
12788
+ platform: z.ZodEnum<{
12789
+ mac: "mac";
12790
+ win: "win";
12791
+ linux: "linux";
12792
+ }>;
12793
+ arch: z.ZodEnum<{
12794
+ arm64: "arm64";
12795
+ x64: "x64";
12796
+ }>;
12797
+ name: z.ZodString;
12798
+ size: z.ZodNumber;
12799
+ sha256: z.ZodString;
12800
+ urls: z.ZodArray<z.ZodString>;
12801
+ }, z.core.$strict>>>;
12258
12802
  }, z.core.$strict>>;
12259
12803
  checkedAt: z.ZodOptional<z.ZodNumber>;
12260
12804
  error: z.ZodOptional<z.ZodString>;
@@ -12285,6 +12829,21 @@ export declare const HostApiContracts: {
12285
12829
  commit: z.ZodOptional<z.ZodString>;
12286
12830
  url: z.ZodString;
12287
12831
  publishedAt: z.ZodOptional<z.ZodNumber>;
12832
+ downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
12833
+ platform: z.ZodEnum<{
12834
+ mac: "mac";
12835
+ win: "win";
12836
+ linux: "linux";
12837
+ }>;
12838
+ arch: z.ZodEnum<{
12839
+ arm64: "arm64";
12840
+ x64: "x64";
12841
+ }>;
12842
+ name: z.ZodString;
12843
+ size: z.ZodNumber;
12844
+ sha256: z.ZodString;
12845
+ urls: z.ZodArray<z.ZodString>;
12846
+ }, z.core.$strict>>>;
12288
12847
  }, z.core.$strict>>;
12289
12848
  checkedAt: z.ZodOptional<z.ZodNumber>;
12290
12849
  error: z.ZodOptional<z.ZodString>;
@@ -12317,6 +12876,21 @@ export declare const HostApiContracts: {
12317
12876
  commit: z.ZodOptional<z.ZodString>;
12318
12877
  url: z.ZodString;
12319
12878
  publishedAt: z.ZodOptional<z.ZodNumber>;
12879
+ downloads: z.ZodOptional<z.ZodArray<z.ZodObject<{
12880
+ platform: z.ZodEnum<{
12881
+ mac: "mac";
12882
+ win: "win";
12883
+ linux: "linux";
12884
+ }>;
12885
+ arch: z.ZodEnum<{
12886
+ arm64: "arm64";
12887
+ x64: "x64";
12888
+ }>;
12889
+ name: z.ZodString;
12890
+ size: z.ZodNumber;
12891
+ sha256: z.ZodString;
12892
+ urls: z.ZodArray<z.ZodString>;
12893
+ }, z.core.$strict>>>;
12320
12894
  }, z.core.$strict>>;
12321
12895
  checkedAt: z.ZodOptional<z.ZodNumber>;
12322
12896
  error: z.ZodOptional<z.ZodString>;
@@ -12482,23 +13056,6 @@ export declare const HostApiContracts: {
12482
13056
  builtin: "builtin";
12483
13057
  keyword: "keyword";
12484
13058
  }>;
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
13059
  vectors: z.ZodObject<{
12503
13060
  documents: z.ZodNumber;
12504
13061
  embedded: z.ZodNumber;
@@ -12525,23 +13082,6 @@ export declare const HostApiContracts: {
12525
13082
  builtin: "builtin";
12526
13083
  keyword: "keyword";
12527
13084
  }>;
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
13085
  vectors: z.ZodObject<{
12546
13086
  documents: z.ZodNumber;
12547
13087
  embedded: z.ZodNumber;
@@ -12558,100 +13098,58 @@ export declare const HostApiContracts: {
12558
13098
  message: z.ZodString;
12559
13099
  }, z.core.$strict>;
12560
13100
  }, z.core.$strict>>;
12561
- readonly downloadRetrievalModel: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12562
- mode: z.ZodEnum<{
12563
- builtin: "builtin";
12564
- keyword: "keyword";
12565
- }>;
12566
- builtin: z.ZodObject<{
13101
+ readonly getSpeechSettings: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
13102
+ cloud: z.ZodNullable<z.ZodObject<{
13103
+ provider: z.ZodString;
12567
13104
  model: z.ZodString;
12568
- supported: z.ZodBoolean;
12569
- downloadBytes: z.ZodNumber;
12570
- install: z.ZodDiscriminatedUnion<[z.ZodObject<{
12571
- state: z.ZodLiteral<"not-installed">;
12572
- }, z.core.$strict>, z.ZodObject<{
12573
- state: z.ZodLiteral<"downloading">;
12574
- receivedBytes: z.ZodNumber;
12575
- totalBytes: z.ZodNumber;
12576
- }, z.core.$strict>, z.ZodObject<{
12577
- state: z.ZodLiteral<"installed">;
12578
- }, z.core.$strict>, z.ZodObject<{
12579
- state: z.ZodLiteral<"failed">;
12580
- error: z.ZodString;
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>;
13105
+ language: z.ZodOptional<z.ZodEnum<{
13106
+ auto: "auto";
13107
+ zh: "zh";
13108
+ en: "en";
13109
+ ja: "ja";
13110
+ ko: "ko";
13111
+ yue: "yue";
13112
+ }>>;
13113
+ }, z.core.$strict>>;
13114
+ providers: z.ZodArray<z.ZodObject<{
13115
+ provider: z.ZodString;
13116
+ displayName: z.ZodString;
13117
+ }, z.core.$strict>>;
12593
13118
  }, z.core.$strict>, z.ZodObject<{
12594
13119
  error: z.ZodObject<{
12595
13120
  code: z.ZodString;
12596
13121
  message: z.ZodString;
12597
13122
  }, z.core.$strict>;
12598
13123
  }, z.core.$strict>>;
12599
- readonly removeRetrievalModel: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12600
- mode: z.ZodEnum<{
12601
- builtin: "builtin";
12602
- keyword: "keyword";
12603
- }>;
12604
- builtin: z.ZodObject<{
13124
+ readonly updateSpeechSettings: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
13125
+ cloud: z.ZodNullable<z.ZodObject<{
13126
+ provider: z.ZodString;
12605
13127
  model: z.ZodString;
12606
- supported: z.ZodBoolean;
12607
- downloadBytes: z.ZodNumber;
12608
- install: z.ZodDiscriminatedUnion<[z.ZodObject<{
12609
- state: z.ZodLiteral<"not-installed">;
12610
- }, z.core.$strict>, z.ZodObject<{
12611
- state: z.ZodLiteral<"downloading">;
12612
- receivedBytes: z.ZodNumber;
12613
- totalBytes: z.ZodNumber;
12614
- }, z.core.$strict>, z.ZodObject<{
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>;
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>>;
12631
13137
  }, z.core.$strict>, z.ZodObject<{
12632
- error: z.ZodObject<{
12633
- code: z.ZodString;
12634
- message: z.ZodString;
12635
- }, z.core.$strict>;
12636
- }, z.core.$strict>>;
12637
- readonly downloadCodeRunNode: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12638
- available: z.ZodBoolean;
12639
- source: z.ZodOptional<z.ZodEnum<{
12640
- host: "host";
12641
- system: "system";
12642
- downloaded: "downloaded";
12643
- }>>;
12644
- version: z.ZodOptional<z.ZodString>;
12645
- download: z.ZodOptional<z.ZodObject<{
12646
- version: z.ZodString;
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>;
13138
+ cloud: z.ZodNullable<z.ZodObject<{
13139
+ provider: z.ZodString;
13140
+ model: z.ZodString;
13141
+ language: z.ZodOptional<z.ZodEnum<{
13142
+ auto: "auto";
13143
+ zh: "zh";
13144
+ en: "en";
13145
+ ja: "ja";
13146
+ ko: "ko";
13147
+ yue: "yue";
13148
+ }>>;
13149
+ }, z.core.$strict>>;
13150
+ providers: z.ZodArray<z.ZodObject<{
13151
+ provider: z.ZodString;
13152
+ displayName: z.ZodString;
12655
13153
  }, z.core.$strict>>;
12656
13154
  }, z.core.$strict>, z.ZodObject<{
12657
13155
  error: z.ZodObject<{
@@ -12659,24 +13157,86 @@ export declare const HostApiContracts: {
12659
13157
  message: z.ZodString;
12660
13158
  }, z.core.$strict>;
12661
13159
  }, z.core.$strict>>;
12662
- readonly removeCodeRunNode: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12663
- available: z.ZodBoolean;
12664
- source: z.ZodOptional<z.ZodEnum<{
12665
- host: "host";
12666
- system: "system";
12667
- downloaded: "downloaded";
12668
- }>>;
12669
- version: z.ZodOptional<z.ZodString>;
12670
- download: z.ZodOptional<z.ZodObject<{
12671
- version: z.ZodString;
13160
+ readonly listAddons: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
13161
+ addons: z.ZodArray<z.ZodObject<{
13162
+ id: z.ZodEnum<{
13163
+ node: "node";
13164
+ media: "media";
13165
+ speech: "speech";
13166
+ retrieval: "retrieval";
13167
+ "github-cli": "github-cli";
13168
+ browser: "browser";
13169
+ }>;
13170
+ group: z.ZodEnum<{
13171
+ extension: "extension";
13172
+ host: "host";
13173
+ agent: "agent";
13174
+ }>;
13175
+ title: z.ZodString;
13176
+ summary: z.ZodString;
13177
+ usedBy: z.ZodArray<z.ZodString>;
12672
13178
  state: z.ZodEnum<{
12673
13179
  failed: "failed";
12674
- idle: "idle";
12675
- downloading: "downloading";
13180
+ installed: "installed";
13181
+ available: "available";
13182
+ unsupported: "unsupported";
13183
+ "not-installed": "not-installed";
13184
+ installing: "installing";
13185
+ "needs-config": "needs-config";
12676
13186
  }>;
12677
- receivedBytes: z.ZodOptional<z.ZodNumber>;
12678
- totalBytes: z.ZodOptional<z.ZodNumber>;
12679
- error: z.ZodOptional<z.ZodString>;
13187
+ progress: z.ZodOptional<z.ZodObject<{
13188
+ receivedBytes: z.ZodNumber;
13189
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13190
+ }, z.core.$strict>>;
13191
+ selected: z.ZodOptional<z.ZodString>;
13192
+ providers: z.ZodArray<z.ZodObject<{
13193
+ id: z.ZodString;
13194
+ title: z.ZodString;
13195
+ summary: z.ZodString;
13196
+ state: z.ZodEnum<{
13197
+ failed: "failed";
13198
+ installed: "installed";
13199
+ available: "available";
13200
+ unsupported: "unsupported";
13201
+ "not-installed": "not-installed";
13202
+ installing: "installing";
13203
+ "needs-config": "needs-config";
13204
+ }>;
13205
+ source: z.ZodOptional<z.ZodEnum<{
13206
+ system: "system";
13207
+ bundled: "bundled";
13208
+ downloaded: "downloaded";
13209
+ cloud: "cloud";
13210
+ }>>;
13211
+ version: z.ZodOptional<z.ZodString>;
13212
+ resources: z.ZodObject<{
13213
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
13214
+ installedBytes: z.ZodOptional<z.ZodNumber>;
13215
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
13216
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
13217
+ }, z.core.$strict>;
13218
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
13219
+ component: z.ZodOptional<z.ZodString>;
13220
+ name: z.ZodString;
13221
+ url: z.ZodURL;
13222
+ }, z.core.$strict>>>;
13223
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
13224
+ progress: z.ZodOptional<z.ZodObject<{
13225
+ receivedBytes: z.ZodNumber;
13226
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13227
+ }, z.core.$strict>>;
13228
+ error: z.ZodOptional<z.ZodString>;
13229
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13230
+ node: "node";
13231
+ media: "media";
13232
+ speech: "speech";
13233
+ retrieval: "retrieval";
13234
+ "github-cli": "github-cli";
13235
+ browser: "browser";
13236
+ }>>>;
13237
+ installable: z.ZodBoolean;
13238
+ removable: z.ZodBoolean;
13239
+ }, z.core.$strict>>;
12680
13240
  }, z.core.$strict>>;
12681
13241
  }, z.core.$strict>, z.ZodObject<{
12682
13242
  error: z.ZodObject<{
@@ -12684,49 +13244,94 @@ export declare const HostApiContracts: {
12684
13244
  message: z.ZodString;
12685
13245
  }, z.core.$strict>;
12686
13246
  }, z.core.$strict>>;
12687
- readonly downloadGithubCli: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12688
- available: z.ZodBoolean;
12689
- source: z.ZodOptional<z.ZodEnum<{
13247
+ readonly installAddonProvider: HostApiContract<"POST", z.ZodObject<{
13248
+ id: z.ZodEnum<{
13249
+ node: "node";
13250
+ media: "media";
13251
+ speech: "speech";
13252
+ retrieval: "retrieval";
13253
+ "github-cli": "github-cli";
13254
+ browser: "browser";
13255
+ }>;
13256
+ provider: z.ZodString;
13257
+ }, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
13258
+ id: z.ZodEnum<{
13259
+ node: "node";
13260
+ media: "media";
13261
+ speech: "speech";
13262
+ retrieval: "retrieval";
13263
+ "github-cli": "github-cli";
13264
+ browser: "browser";
13265
+ }>;
13266
+ group: z.ZodEnum<{
13267
+ extension: "extension";
12690
13268
  host: "host";
12691
- system: "system";
12692
- downloaded: "downloaded";
12693
- }>>;
12694
- version: z.ZodOptional<z.ZodString>;
12695
- download: z.ZodOptional<z.ZodObject<{
12696
- version: z.ZodString;
12697
- state: z.ZodEnum<{
12698
- failed: "failed";
12699
- idle: "idle";
12700
- downloading: "downloading";
12701
- }>;
12702
- receivedBytes: z.ZodOptional<z.ZodNumber>;
13269
+ agent: "agent";
13270
+ }>;
13271
+ title: z.ZodString;
13272
+ summary: z.ZodString;
13273
+ usedBy: z.ZodArray<z.ZodString>;
13274
+ state: z.ZodEnum<{
13275
+ failed: "failed";
13276
+ installed: "installed";
13277
+ available: "available";
13278
+ unsupported: "unsupported";
13279
+ "not-installed": "not-installed";
13280
+ installing: "installing";
13281
+ "needs-config": "needs-config";
13282
+ }>;
13283
+ progress: z.ZodOptional<z.ZodObject<{
13284
+ receivedBytes: z.ZodNumber;
12703
13285
  totalBytes: z.ZodOptional<z.ZodNumber>;
12704
- error: z.ZodOptional<z.ZodString>;
12705
13286
  }, z.core.$strict>>;
12706
- }, z.core.$strict>, z.ZodObject<{
12707
- error: z.ZodObject<{
12708
- code: z.ZodString;
12709
- message: z.ZodString;
12710
- }, z.core.$strict>;
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;
13287
+ selected: z.ZodOptional<z.ZodString>;
13288
+ providers: z.ZodArray<z.ZodObject<{
13289
+ id: z.ZodString;
13290
+ title: z.ZodString;
13291
+ summary: z.ZodString;
12722
13292
  state: z.ZodEnum<{
12723
13293
  failed: "failed";
12724
- idle: "idle";
12725
- downloading: "downloading";
13294
+ installed: "installed";
13295
+ available: "available";
13296
+ unsupported: "unsupported";
13297
+ "not-installed": "not-installed";
13298
+ installing: "installing";
13299
+ "needs-config": "needs-config";
12726
13300
  }>;
12727
- receivedBytes: z.ZodOptional<z.ZodNumber>;
12728
- totalBytes: z.ZodOptional<z.ZodNumber>;
13301
+ source: z.ZodOptional<z.ZodEnum<{
13302
+ system: "system";
13303
+ bundled: "bundled";
13304
+ downloaded: "downloaded";
13305
+ cloud: "cloud";
13306
+ }>>;
13307
+ version: z.ZodOptional<z.ZodString>;
13308
+ resources: z.ZodObject<{
13309
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
13310
+ installedBytes: z.ZodOptional<z.ZodNumber>;
13311
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
13312
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
13313
+ }, z.core.$strict>;
13314
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
13315
+ component: z.ZodOptional<z.ZodString>;
13316
+ name: z.ZodString;
13317
+ url: z.ZodURL;
13318
+ }, z.core.$strict>>>;
13319
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
13320
+ progress: z.ZodOptional<z.ZodObject<{
13321
+ receivedBytes: z.ZodNumber;
13322
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13323
+ }, z.core.$strict>>;
12729
13324
  error: z.ZodOptional<z.ZodString>;
13325
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13326
+ node: "node";
13327
+ media: "media";
13328
+ speech: "speech";
13329
+ retrieval: "retrieval";
13330
+ "github-cli": "github-cli";
13331
+ browser: "browser";
13332
+ }>>>;
13333
+ installable: z.ZodBoolean;
13334
+ removable: z.ZodBoolean;
12730
13335
  }, z.core.$strict>>;
12731
13336
  }, z.core.$strict>, z.ZodObject<{
12732
13337
  error: z.ZodObject<{
@@ -12734,24 +13339,94 @@ export declare const HostApiContracts: {
12734
13339
  message: z.ZodString;
12735
13340
  }, z.core.$strict>;
12736
13341
  }, z.core.$strict>>;
12737
- readonly downloadVerificationBrowser: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12738
- available: z.ZodBoolean;
12739
- source: z.ZodOptional<z.ZodEnum<{
13342
+ readonly removeAddonProvider: HostApiContract<"DELETE", z.ZodObject<{
13343
+ id: z.ZodEnum<{
13344
+ node: "node";
13345
+ media: "media";
13346
+ speech: "speech";
13347
+ retrieval: "retrieval";
13348
+ "github-cli": "github-cli";
13349
+ browser: "browser";
13350
+ }>;
13351
+ provider: z.ZodString;
13352
+ }, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
13353
+ id: z.ZodEnum<{
13354
+ node: "node";
13355
+ media: "media";
13356
+ speech: "speech";
13357
+ retrieval: "retrieval";
13358
+ "github-cli": "github-cli";
13359
+ browser: "browser";
13360
+ }>;
13361
+ group: z.ZodEnum<{
13362
+ extension: "extension";
12740
13363
  host: "host";
12741
- system: "system";
12742
- downloaded: "downloaded";
12743
- }>>;
12744
- version: z.ZodOptional<z.ZodString>;
12745
- download: z.ZodOptional<z.ZodObject<{
12746
- version: z.ZodString;
13364
+ agent: "agent";
13365
+ }>;
13366
+ title: z.ZodString;
13367
+ summary: z.ZodString;
13368
+ usedBy: z.ZodArray<z.ZodString>;
13369
+ state: z.ZodEnum<{
13370
+ failed: "failed";
13371
+ installed: "installed";
13372
+ available: "available";
13373
+ unsupported: "unsupported";
13374
+ "not-installed": "not-installed";
13375
+ installing: "installing";
13376
+ "needs-config": "needs-config";
13377
+ }>;
13378
+ progress: z.ZodOptional<z.ZodObject<{
13379
+ receivedBytes: z.ZodNumber;
13380
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13381
+ }, z.core.$strict>>;
13382
+ selected: z.ZodOptional<z.ZodString>;
13383
+ providers: z.ZodArray<z.ZodObject<{
13384
+ id: z.ZodString;
13385
+ title: z.ZodString;
13386
+ summary: z.ZodString;
12747
13387
  state: z.ZodEnum<{
12748
13388
  failed: "failed";
12749
- idle: "idle";
12750
- downloading: "downloading";
13389
+ installed: "installed";
13390
+ available: "available";
13391
+ unsupported: "unsupported";
13392
+ "not-installed": "not-installed";
13393
+ installing: "installing";
13394
+ "needs-config": "needs-config";
12751
13395
  }>;
12752
- receivedBytes: z.ZodOptional<z.ZodNumber>;
12753
- totalBytes: z.ZodOptional<z.ZodNumber>;
13396
+ source: z.ZodOptional<z.ZodEnum<{
13397
+ system: "system";
13398
+ bundled: "bundled";
13399
+ downloaded: "downloaded";
13400
+ cloud: "cloud";
13401
+ }>>;
13402
+ version: z.ZodOptional<z.ZodString>;
13403
+ resources: z.ZodObject<{
13404
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
13405
+ installedBytes: z.ZodOptional<z.ZodNumber>;
13406
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
13407
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
13408
+ }, z.core.$strict>;
13409
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
13410
+ component: z.ZodOptional<z.ZodString>;
13411
+ name: z.ZodString;
13412
+ url: z.ZodURL;
13413
+ }, z.core.$strict>>>;
13414
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
13415
+ progress: z.ZodOptional<z.ZodObject<{
13416
+ receivedBytes: z.ZodNumber;
13417
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13418
+ }, z.core.$strict>>;
12754
13419
  error: z.ZodOptional<z.ZodString>;
13420
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13421
+ node: "node";
13422
+ media: "media";
13423
+ speech: "speech";
13424
+ retrieval: "retrieval";
13425
+ "github-cli": "github-cli";
13426
+ browser: "browser";
13427
+ }>>>;
13428
+ installable: z.ZodBoolean;
13429
+ removable: z.ZodBoolean;
12755
13430
  }, z.core.$strict>>;
12756
13431
  }, z.core.$strict>, z.ZodObject<{
12757
13432
  error: z.ZodObject<{
@@ -12759,24 +13434,95 @@ export declare const HostApiContracts: {
12759
13434
  message: z.ZodString;
12760
13435
  }, z.core.$strict>;
12761
13436
  }, z.core.$strict>>;
12762
- readonly removeVerificationBrowser: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
12763
- available: z.ZodBoolean;
12764
- source: z.ZodOptional<z.ZodEnum<{
13437
+ readonly selectAddonProvider: HostApiContract<"PUT", z.ZodObject<{
13438
+ id: z.ZodEnum<{
13439
+ node: "node";
13440
+ media: "media";
13441
+ speech: "speech";
13442
+ retrieval: "retrieval";
13443
+ "github-cli": "github-cli";
13444
+ browser: "browser";
13445
+ }>;
13446
+ }, z.core.$strict>, z.ZodObject<{
13447
+ provider: z.ZodString;
13448
+ }, z.core.$strict>, z.ZodObject<{
13449
+ id: z.ZodEnum<{
13450
+ node: "node";
13451
+ media: "media";
13452
+ speech: "speech";
13453
+ retrieval: "retrieval";
13454
+ "github-cli": "github-cli";
13455
+ browser: "browser";
13456
+ }>;
13457
+ group: z.ZodEnum<{
13458
+ extension: "extension";
12765
13459
  host: "host";
12766
- system: "system";
12767
- downloaded: "downloaded";
12768
- }>>;
12769
- version: z.ZodOptional<z.ZodString>;
12770
- download: z.ZodOptional<z.ZodObject<{
12771
- version: z.ZodString;
13460
+ agent: "agent";
13461
+ }>;
13462
+ title: z.ZodString;
13463
+ summary: z.ZodString;
13464
+ usedBy: z.ZodArray<z.ZodString>;
13465
+ state: z.ZodEnum<{
13466
+ failed: "failed";
13467
+ installed: "installed";
13468
+ available: "available";
13469
+ unsupported: "unsupported";
13470
+ "not-installed": "not-installed";
13471
+ installing: "installing";
13472
+ "needs-config": "needs-config";
13473
+ }>;
13474
+ progress: z.ZodOptional<z.ZodObject<{
13475
+ receivedBytes: z.ZodNumber;
13476
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13477
+ }, z.core.$strict>>;
13478
+ selected: z.ZodOptional<z.ZodString>;
13479
+ providers: z.ZodArray<z.ZodObject<{
13480
+ id: z.ZodString;
13481
+ title: z.ZodString;
13482
+ summary: z.ZodString;
12772
13483
  state: z.ZodEnum<{
12773
13484
  failed: "failed";
12774
- idle: "idle";
12775
- downloading: "downloading";
13485
+ installed: "installed";
13486
+ available: "available";
13487
+ unsupported: "unsupported";
13488
+ "not-installed": "not-installed";
13489
+ installing: "installing";
13490
+ "needs-config": "needs-config";
12776
13491
  }>;
12777
- receivedBytes: z.ZodOptional<z.ZodNumber>;
12778
- totalBytes: z.ZodOptional<z.ZodNumber>;
13492
+ source: z.ZodOptional<z.ZodEnum<{
13493
+ system: "system";
13494
+ bundled: "bundled";
13495
+ downloaded: "downloaded";
13496
+ cloud: "cloud";
13497
+ }>>;
13498
+ version: z.ZodOptional<z.ZodString>;
13499
+ resources: z.ZodObject<{
13500
+ downloadBytes: z.ZodOptional<z.ZodNumber>;
13501
+ installedBytes: z.ZodOptional<z.ZodNumber>;
13502
+ memoryBytes: z.ZodOptional<z.ZodNumber>;
13503
+ notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
13504
+ }, z.core.$strict>;
13505
+ licenses: z.ZodDefault<z.ZodArray<z.ZodObject<{
13506
+ component: z.ZodOptional<z.ZodString>;
13507
+ name: z.ZodString;
13508
+ url: z.ZodURL;
13509
+ }, z.core.$strict>>>;
13510
+ sources: z.ZodDefault<z.ZodArray<z.ZodString>>;
13511
+ progress: z.ZodOptional<z.ZodObject<{
13512
+ receivedBytes: z.ZodNumber;
13513
+ totalBytes: z.ZodOptional<z.ZodNumber>;
13514
+ }, z.core.$strict>>;
12779
13515
  error: z.ZodOptional<z.ZodString>;
13516
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13517
+ node: "node";
13518
+ media: "media";
13519
+ speech: "speech";
13520
+ retrieval: "retrieval";
13521
+ "github-cli": "github-cli";
13522
+ browser: "browser";
13523
+ }>>>;
13524
+ installable: z.ZodBoolean;
13525
+ removable: z.ZodBoolean;
12780
13526
  }, z.core.$strict>>;
12781
13527
  }, z.core.$strict>, z.ZodObject<{
12782
13528
  error: z.ZodObject<{
@@ -12799,26 +13545,6 @@ export declare const HostApiContracts: {
12799
13545
  "github-cli": "github-cli";
12800
13546
  }>;
12801
13547
  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
13548
  }, z.core.$strict>>;
12823
13549
  accounts: z.ZodArray<z.ZodObject<{
12824
13550
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -12875,26 +13601,6 @@ export declare const HostApiContracts: {
12875
13601
  "github-cli": "github-cli";
12876
13602
  }>;
12877
13603
  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
13604
  }, z.core.$strict>>;
12899
13605
  accounts: z.ZodArray<z.ZodObject<{
12900
13606
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -12947,26 +13653,6 @@ export declare const HostApiContracts: {
12947
13653
  "github-cli": "github-cli";
12948
13654
  }>;
12949
13655
  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
13656
  }, z.core.$strict>>;
12971
13657
  accounts: z.ZodArray<z.ZodObject<{
12972
13658
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -13017,26 +13703,6 @@ export declare const HostApiContracts: {
13017
13703
  "github-cli": "github-cli";
13018
13704
  }>;
13019
13705
  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
13706
  }, z.core.$strict>>;
13041
13707
  accounts: z.ZodArray<z.ZodObject<{
13042
13708
  id: z.core.$ZodBranded<z.ZodString, "LinkedAccountId", "out">;
@@ -13847,6 +14513,7 @@ export declare const HostApiContracts: {
13847
14513
  imported: "imported";
13848
14514
  }>>;
13849
14515
  official: z.ZodOptional<z.ZodBoolean>;
14516
+ imageSubmission: z.ZodOptional<z.ZodBoolean>;
13850
14517
  installedAt: z.ZodOptional<z.ZodNumber>;
13851
14518
  clientUiDetected: z.ZodOptional<z.ZodBoolean>;
13852
14519
  hostUi: z.ZodOptional<z.ZodObject<{
@@ -13892,6 +14559,7 @@ export declare const HostApiContracts: {
13892
14559
  }, z.core.$strict>>;
13893
14560
  permissions: z.ZodDefault<z.ZodObject<{
13894
14561
  permissions: z.ZodArray<z.ZodEnum<{
14562
+ "assets.read": "assets.read";
13895
14563
  "agents.read": "agents.read";
13896
14564
  "channels.read": "channels.read";
13897
14565
  "connections.read": "connections.read";
@@ -13899,7 +14567,6 @@ export declare const HostApiContracts: {
13899
14567
  "dsh-plugins.read": "dsh-plugins.read";
13900
14568
  "runtime.read": "runtime.read";
13901
14569
  "messages.read": "messages.read";
13902
- "assets.read": "assets.read";
13903
14570
  "agents.manage": "agents.manage";
13904
14571
  "channels.manage": "channels.manage";
13905
14572
  "connections.manage": "connections.manage";
@@ -13934,6 +14601,24 @@ export declare const HostApiContracts: {
13934
14601
  library: z.ZodOptional<z.ZodObject<{
13935
14602
  quotaBytes: z.ZodOptional<z.ZodNumber>;
13936
14603
  }, z.core.$strict>>;
14604
+ read: z.ZodOptional<z.ZodLiteral<true>>;
14605
+ }, z.core.$strict>>;
14606
+ files: z.ZodOptional<z.ZodObject<{
14607
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
14608
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
14609
+ }, z.core.$strict>>;
14610
+ toolImages: z.ZodOptional<z.ZodObject<{
14611
+ highDetail: z.ZodLiteral<true>;
14612
+ }, z.core.$strict>>;
14613
+ media: z.ZodOptional<z.ZodLiteral<true>>;
14614
+ commands: z.ZodOptional<z.ZodObject<{
14615
+ profiles: z.ZodArray<z.ZodEnum<{
14616
+ ffmpeg: "ffmpeg";
14617
+ ffprobe: "ffprobe";
14618
+ }>>;
14619
+ }, z.core.$strict>>;
14620
+ speech: z.ZodOptional<z.ZodObject<{
14621
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
13937
14622
  }, z.core.$strict>>;
13938
14623
  index: z.ZodOptional<z.ZodObject<{
13939
14624
  collections: z.ZodArray<z.ZodObject<{
@@ -14135,6 +14820,7 @@ export declare const HostApiContracts: {
14135
14820
  }, z.core.$strict>>;
14136
14821
  permissions: z.ZodDefault<z.ZodObject<{
14137
14822
  permissions: z.ZodArray<z.ZodEnum<{
14823
+ "assets.read": "assets.read";
14138
14824
  "agents.read": "agents.read";
14139
14825
  "channels.read": "channels.read";
14140
14826
  "connections.read": "connections.read";
@@ -14142,7 +14828,6 @@ export declare const HostApiContracts: {
14142
14828
  "dsh-plugins.read": "dsh-plugins.read";
14143
14829
  "runtime.read": "runtime.read";
14144
14830
  "messages.read": "messages.read";
14145
- "assets.read": "assets.read";
14146
14831
  "agents.manage": "agents.manage";
14147
14832
  "channels.manage": "channels.manage";
14148
14833
  "connections.manage": "connections.manage";
@@ -14177,6 +14862,24 @@ export declare const HostApiContracts: {
14177
14862
  library: z.ZodOptional<z.ZodObject<{
14178
14863
  quotaBytes: z.ZodOptional<z.ZodNumber>;
14179
14864
  }, z.core.$strict>>;
14865
+ read: z.ZodOptional<z.ZodLiteral<true>>;
14866
+ }, z.core.$strict>>;
14867
+ files: z.ZodOptional<z.ZodObject<{
14868
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
14869
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
14870
+ }, z.core.$strict>>;
14871
+ toolImages: z.ZodOptional<z.ZodObject<{
14872
+ highDetail: z.ZodLiteral<true>;
14873
+ }, z.core.$strict>>;
14874
+ media: z.ZodOptional<z.ZodLiteral<true>>;
14875
+ commands: z.ZodOptional<z.ZodObject<{
14876
+ profiles: z.ZodArray<z.ZodEnum<{
14877
+ ffmpeg: "ffmpeg";
14878
+ ffprobe: "ffprobe";
14879
+ }>>;
14880
+ }, z.core.$strict>>;
14881
+ speech: z.ZodOptional<z.ZodObject<{
14882
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
14180
14883
  }, z.core.$strict>>;
14181
14884
  index: z.ZodOptional<z.ZodObject<{
14182
14885
  collections: z.ZodArray<z.ZodObject<{
@@ -14347,6 +15050,7 @@ export declare const HostApiContracts: {
14347
15050
  }, z.core.$strict>>;
14348
15051
  permissions: z.ZodDefault<z.ZodObject<{
14349
15052
  permissions: z.ZodArray<z.ZodEnum<{
15053
+ "assets.read": "assets.read";
14350
15054
  "agents.read": "agents.read";
14351
15055
  "channels.read": "channels.read";
14352
15056
  "connections.read": "connections.read";
@@ -14354,7 +15058,6 @@ export declare const HostApiContracts: {
14354
15058
  "dsh-plugins.read": "dsh-plugins.read";
14355
15059
  "runtime.read": "runtime.read";
14356
15060
  "messages.read": "messages.read";
14357
- "assets.read": "assets.read";
14358
15061
  "agents.manage": "agents.manage";
14359
15062
  "channels.manage": "channels.manage";
14360
15063
  "connections.manage": "connections.manage";
@@ -14389,6 +15092,24 @@ export declare const HostApiContracts: {
14389
15092
  library: z.ZodOptional<z.ZodObject<{
14390
15093
  quotaBytes: z.ZodOptional<z.ZodNumber>;
14391
15094
  }, z.core.$strict>>;
15095
+ read: z.ZodOptional<z.ZodLiteral<true>>;
15096
+ }, z.core.$strict>>;
15097
+ files: z.ZodOptional<z.ZodObject<{
15098
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
15099
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
15100
+ }, z.core.$strict>>;
15101
+ toolImages: z.ZodOptional<z.ZodObject<{
15102
+ highDetail: z.ZodLiteral<true>;
15103
+ }, z.core.$strict>>;
15104
+ media: z.ZodOptional<z.ZodLiteral<true>>;
15105
+ commands: z.ZodOptional<z.ZodObject<{
15106
+ profiles: z.ZodArray<z.ZodEnum<{
15107
+ ffmpeg: "ffmpeg";
15108
+ ffprobe: "ffprobe";
15109
+ }>>;
15110
+ }, z.core.$strict>>;
15111
+ speech: z.ZodOptional<z.ZodObject<{
15112
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
14392
15113
  }, z.core.$strict>>;
14393
15114
  index: z.ZodOptional<z.ZodObject<{
14394
15115
  collections: z.ZodArray<z.ZodObject<{
@@ -14556,6 +15277,18 @@ export declare const HostApiContracts: {
14556
15277
  message: z.ZodString;
14557
15278
  }, z.core.$strict>;
14558
15279
  }, z.core.$strict>>;
15280
+ readonly setDshPluginImageSubmission: HostApiContract<"PUT", z.ZodObject<{
15281
+ packageId: z.core.$ZodBranded<z.ZodString, "DshPluginPackageId", "out">;
15282
+ }, z.core.$strict>, z.ZodObject<{
15283
+ allowed: z.ZodBoolean;
15284
+ }, z.core.$strict>, z.ZodObject<{
15285
+ allowed: z.ZodBoolean;
15286
+ }, z.core.$strict>, z.ZodObject<{
15287
+ error: z.ZodObject<{
15288
+ code: z.ZodString;
15289
+ message: z.ZodString;
15290
+ }, z.core.$strict>;
15291
+ }, z.core.$strict>>;
14559
15292
  readonly removeDshPluginPackage: HostApiContract<"DELETE", z.ZodObject<{
14560
15293
  packageId: z.core.$ZodBranded<z.ZodString, "DshPluginPackageId", "out">;
14561
15294
  }, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
@@ -18844,6 +19577,7 @@ export declare const HostApiContracts: {
18844
19577
  pluginRunId: z.ZodString;
18845
19578
  permissions: z.ZodDefault<z.ZodObject<{
18846
19579
  permissions: z.ZodArray<z.ZodEnum<{
19580
+ "assets.read": "assets.read";
18847
19581
  "agents.read": "agents.read";
18848
19582
  "channels.read": "channels.read";
18849
19583
  "connections.read": "connections.read";
@@ -18851,7 +19585,6 @@ export declare const HostApiContracts: {
18851
19585
  "dsh-plugins.read": "dsh-plugins.read";
18852
19586
  "runtime.read": "runtime.read";
18853
19587
  "messages.read": "messages.read";
18854
- "assets.read": "assets.read";
18855
19588
  "agents.manage": "agents.manage";
18856
19589
  "channels.manage": "channels.manage";
18857
19590
  "connections.manage": "connections.manage";
@@ -18886,6 +19619,24 @@ export declare const HostApiContracts: {
18886
19619
  library: z.ZodOptional<z.ZodObject<{
18887
19620
  quotaBytes: z.ZodOptional<z.ZodNumber>;
18888
19621
  }, z.core.$strict>>;
19622
+ read: z.ZodOptional<z.ZodLiteral<true>>;
19623
+ }, z.core.$strict>>;
19624
+ files: z.ZodOptional<z.ZodObject<{
19625
+ tempQuotaBytes: z.ZodOptional<z.ZodNumber>;
19626
+ cacheQuotaBytes: z.ZodOptional<z.ZodNumber>;
19627
+ }, z.core.$strict>>;
19628
+ toolImages: z.ZodOptional<z.ZodObject<{
19629
+ highDetail: z.ZodLiteral<true>;
19630
+ }, z.core.$strict>>;
19631
+ media: z.ZodOptional<z.ZodLiteral<true>>;
19632
+ commands: z.ZodOptional<z.ZodObject<{
19633
+ profiles: z.ZodArray<z.ZodEnum<{
19634
+ ffmpeg: "ffmpeg";
19635
+ ffprobe: "ffprobe";
19636
+ }>>;
19637
+ }, z.core.$strict>>;
19638
+ speech: z.ZodOptional<z.ZodObject<{
19639
+ maxCallsPerMinute: z.ZodDefault<z.ZodNumber>;
18889
19640
  }, z.core.$strict>>;
18890
19641
  index: z.ZodOptional<z.ZodObject<{
18891
19642
  collections: z.ZodArray<z.ZodObject<{
@@ -19586,6 +20337,10 @@ export declare const HostApiContracts: {
19586
20337
  }>;
19587
20338
  label: z.ZodString;
19588
20339
  }, z.core.$strict>;
20340
+ cause: z.ZodOptional<z.ZodObject<{
20341
+ key: z.ZodString;
20342
+ label: z.ZodString;
20343
+ }, z.core.$strict>>;
19589
20344
  occurredAt: z.ZodNumber;
19590
20345
  }, z.core.$strict>>;
19591
20346
  }, z.core.$strict>, z.ZodObject<{
@@ -19605,6 +20360,18 @@ export declare const HostApiContracts: {
19605
20360
  message: z.ZodString;
19606
20361
  }, z.core.$strict>;
19607
20362
  }, z.core.$strict>>;
20363
+ readonly dismissAttentionBatch: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
20364
+ ids: z.ZodArray<z.ZodString>;
20365
+ causes: z.ZodArray<z.ZodString>;
20366
+ }, z.core.$strict>, z.ZodObject<{
20367
+ dismissed: z.ZodLiteral<true>;
20368
+ revision: z.ZodString;
20369
+ }, z.core.$strict>, z.ZodObject<{
20370
+ error: z.ZodObject<{
20371
+ code: z.ZodString;
20372
+ message: z.ZodString;
20373
+ }, z.core.$strict>;
20374
+ }, z.core.$strict>>;
19608
20375
  readonly getChannelPending: HostApiContract<"GET", z.ZodObject<{
19609
20376
  channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
19610
20377
  }, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
@@ -19822,6 +20589,17 @@ export declare const HostApiContracts: {
19822
20589
  createdAt: z.ZodNumber;
19823
20590
  current: z.ZodBoolean;
19824
20591
  releaseNumbers: z.ZodArray<z.ZodNumber>;
20592
+ kept: z.ZodBoolean;
20593
+ protectedBy: z.ZodOptional<z.ZodEnum<{
20594
+ installed: "installed";
20595
+ active: "active";
20596
+ request: "request";
20597
+ branch: "branch";
20598
+ released: "released";
20599
+ kept: "kept";
20600
+ revising: "revising";
20601
+ undo: "undo";
20602
+ }>>;
19825
20603
  }, z.core.$strict>>;
19826
20604
  }, z.core.$strict>>;
19827
20605
  }, z.core.$strict>, z.ZodObject<{
@@ -19830,6 +20608,31 @@ export declare const HostApiContracts: {
19830
20608
  message: z.ZodString;
19831
20609
  }, z.core.$strict>;
19832
20610
  }, z.core.$strict>>;
20611
+ readonly setExtensionRevisionKept: HostApiContract<"POST", z.ZodObject<{
20612
+ extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
20613
+ revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
20614
+ }, z.core.$strict>, z.ZodObject<{
20615
+ kept: z.ZodBoolean;
20616
+ }, z.core.$strict>, z.ZodObject<{
20617
+ kept: z.ZodBoolean;
20618
+ }, z.core.$strict>, z.ZodObject<{
20619
+ error: z.ZodObject<{
20620
+ code: z.ZodString;
20621
+ message: z.ZodString;
20622
+ }, z.core.$strict>;
20623
+ }, z.core.$strict>>;
20624
+ readonly deleteExtensionRevisions: HostApiContract<"POST", z.ZodObject<{
20625
+ extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
20626
+ }, z.core.$strict>, z.ZodObject<{
20627
+ revisionIds: z.ZodArray<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
20628
+ }, z.core.$strict>, z.ZodObject<{
20629
+ deleted: z.ZodNumber;
20630
+ }, z.core.$strict>, z.ZodObject<{
20631
+ error: z.ZodObject<{
20632
+ code: z.ZodString;
20633
+ message: z.ZodString;
20634
+ }, z.core.$strict>;
20635
+ }, z.core.$strict>>;
19833
20636
  readonly branchExtension: HostApiContract<"POST", z.ZodObject<{
19834
20637
  extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
19835
20638
  }, z.core.$strict>, z.ZodObject<{
@@ -20065,10 +20868,12 @@ export declare const HostApiContracts: {
20065
20868
  status: z.ZodEnum<{
20066
20869
  failed: "failed";
20067
20870
  pending: "pending";
20871
+ withdrawn: "withdrawn";
20068
20872
  rejected: "rejected";
20069
20873
  approved: "approved";
20070
20874
  expired: "expired";
20071
20875
  completed: "completed";
20876
+ superseded: "superseded";
20072
20877
  }>;
20073
20878
  autonomous: z.ZodBoolean;
20074
20879
  resultMessage: z.ZodNullable<z.ZodString>;