@tx5dr/contracts 1.7.5 → 1.7.8

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.
@@ -29,7 +29,7 @@ export type PluginInstanceScope = z.infer<typeof PluginInstanceScopeSchema>;
29
29
  * Permissions let the host gate sensitive capabilities behind manifest-level
30
30
  * intent. Plugins should request the smallest possible set.
31
31
  */
32
- export declare const PluginPermissionSchema: z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>;
32
+ export declare const PluginPermissionSchema: z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>;
33
33
  /**
34
34
  * Explicit permission declarations requested by a plugin.
35
35
  */
@@ -107,49 +107,26 @@ export declare const PluginKeyedStringArrayKeySchema: z.ZodObject<{
107
107
  description?: string | undefined;
108
108
  }>;
109
109
  export type PluginKeyedStringArrayKey = z.infer<typeof PluginKeyedStringArrayKeySchema>;
110
- export declare const PluginSettingConditionSchema: z.ZodObject<{
111
- setting: z.ZodString;
112
- equals: z.ZodOptional<z.ZodUnknown>;
113
- notEquals: z.ZodOptional<z.ZodUnknown>;
114
- }, "strip", z.ZodTypeAny, {
115
- setting: string;
116
- equals?: unknown;
117
- notEquals?: unknown;
118
- }, {
119
- setting: string;
110
+ export interface PluginSettingCondition {
111
+ /** Single setting key to compare. Preserves the original condition shape. */
112
+ setting?: string;
120
113
  equals?: unknown;
121
114
  notEquals?: unknown;
122
- }>;
123
- export type PluginSettingCondition = z.infer<typeof PluginSettingConditionSchema>;
115
+ /** All nested conditions must match. */
116
+ allOf?: PluginSettingCondition[];
117
+ /** At least one nested condition must match. */
118
+ anyOf?: PluginSettingCondition[];
119
+ }
120
+ export declare const PluginSettingConditionSchema: z.ZodType<PluginSettingCondition>;
124
121
  export declare const PluginSettingConditionalDescriptionSchema: z.ZodObject<{
125
- when: z.ZodObject<{
126
- setting: z.ZodString;
127
- equals: z.ZodOptional<z.ZodUnknown>;
128
- notEquals: z.ZodOptional<z.ZodUnknown>;
129
- }, "strip", z.ZodTypeAny, {
130
- setting: string;
131
- equals?: unknown;
132
- notEquals?: unknown;
133
- }, {
134
- setting: string;
135
- equals?: unknown;
136
- notEquals?: unknown;
137
- }>;
122
+ when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
138
123
  description: z.ZodString;
139
124
  }, "strip", z.ZodTypeAny, {
140
125
  description: string;
141
- when: {
142
- setting: string;
143
- equals?: unknown;
144
- notEquals?: unknown;
145
- };
126
+ when: PluginSettingCondition;
146
127
  }, {
147
128
  description: string;
148
- when: {
149
- setting: string;
150
- equals?: unknown;
151
- notEquals?: unknown;
152
- };
129
+ when: PluginSettingCondition;
153
130
  }>;
154
131
  export type PluginSettingConditionalDescription = z.infer<typeof PluginSettingConditionalDescriptionSchema>;
155
132
  /**
@@ -226,49 +203,17 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
226
203
  description?: string | undefined;
227
204
  }>, "many">>;
228
205
  /** Conditionally show the field based on another setting in the same form. */
229
- visibleWhen: z.ZodOptional<z.ZodObject<{
230
- setting: z.ZodString;
231
- equals: z.ZodOptional<z.ZodUnknown>;
232
- notEquals: z.ZodOptional<z.ZodUnknown>;
233
- }, "strip", z.ZodTypeAny, {
234
- setting: string;
235
- equals?: unknown;
236
- notEquals?: unknown;
237
- }, {
238
- setting: string;
239
- equals?: unknown;
240
- notEquals?: unknown;
241
- }>>;
206
+ visibleWhen: z.ZodOptional<z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>>;
242
207
  /** Conditionally override the field description based on another setting. */
243
208
  descriptionWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
244
- when: z.ZodObject<{
245
- setting: z.ZodString;
246
- equals: z.ZodOptional<z.ZodUnknown>;
247
- notEquals: z.ZodOptional<z.ZodUnknown>;
248
- }, "strip", z.ZodTypeAny, {
249
- setting: string;
250
- equals?: unknown;
251
- notEquals?: unknown;
252
- }, {
253
- setting: string;
254
- equals?: unknown;
255
- notEquals?: unknown;
256
- }>;
209
+ when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
257
210
  description: z.ZodString;
258
211
  }, "strip", z.ZodTypeAny, {
259
212
  description: string;
260
- when: {
261
- setting: string;
262
- equals?: unknown;
263
- notEquals?: unknown;
264
- };
213
+ when: PluginSettingCondition;
265
214
  }, {
266
215
  description: string;
267
- when: {
268
- setting: string;
269
- equals?: unknown;
270
- notEquals?: unknown;
271
- };
216
+ when: PluginSettingCondition;
272
217
  }>, "many">>;
273
218
  /** Internal settings are persisted/injected but hidden from generated UIs. */
274
219
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -299,18 +244,10 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
299
244
  placeholder?: string | undefined;
300
245
  required?: boolean | undefined;
301
246
  }[] | undefined;
302
- visibleWhen?: {
303
- setting: string;
304
- equals?: unknown;
305
- notEquals?: unknown;
306
- } | undefined;
247
+ visibleWhen?: PluginSettingCondition | undefined;
307
248
  descriptionWhen?: {
308
249
  description: string;
309
- when: {
310
- setting: string;
311
- equals?: unknown;
312
- notEquals?: unknown;
313
- };
250
+ when: PluginSettingCondition;
314
251
  }[] | undefined;
315
252
  hidden?: boolean | undefined;
316
253
  }, {
@@ -337,18 +274,10 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
337
274
  placeholder?: string | undefined;
338
275
  required?: boolean | undefined;
339
276
  }[] | undefined;
340
- visibleWhen?: {
341
- setting: string;
342
- equals?: unknown;
343
- notEquals?: unknown;
344
- } | undefined;
277
+ visibleWhen?: PluginSettingCondition | undefined;
345
278
  descriptionWhen?: {
346
279
  description: string;
347
- when: {
348
- setting: string;
349
- equals?: unknown;
350
- notEquals?: unknown;
351
- };
280
+ when: PluginSettingCondition;
352
281
  }[] | undefined;
353
282
  hidden?: boolean | undefined;
354
283
  scope?: "operator" | "global" | undefined;
@@ -817,7 +746,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
817
746
  type: z.ZodEnum<["strategy", "utility"]>;
818
747
  instanceScope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["operator", "global"]>>>;
819
748
  description: z.ZodOptional<z.ZodString>;
820
- permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
749
+ permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
821
750
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
822
751
  type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
823
752
  default: z.ZodUnknown;
@@ -873,49 +802,17 @@ export declare const PluginManifestSchema: z.ZodObject<{
873
802
  description?: string | undefined;
874
803
  }>, "many">>;
875
804
  /** Conditionally show the field based on another setting in the same form. */
876
- visibleWhen: z.ZodOptional<z.ZodObject<{
877
- setting: z.ZodString;
878
- equals: z.ZodOptional<z.ZodUnknown>;
879
- notEquals: z.ZodOptional<z.ZodUnknown>;
880
- }, "strip", z.ZodTypeAny, {
881
- setting: string;
882
- equals?: unknown;
883
- notEquals?: unknown;
884
- }, {
885
- setting: string;
886
- equals?: unknown;
887
- notEquals?: unknown;
888
- }>>;
805
+ visibleWhen: z.ZodOptional<z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>>;
889
806
  /** Conditionally override the field description based on another setting. */
890
807
  descriptionWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
891
- when: z.ZodObject<{
892
- setting: z.ZodString;
893
- equals: z.ZodOptional<z.ZodUnknown>;
894
- notEquals: z.ZodOptional<z.ZodUnknown>;
895
- }, "strip", z.ZodTypeAny, {
896
- setting: string;
897
- equals?: unknown;
898
- notEquals?: unknown;
899
- }, {
900
- setting: string;
901
- equals?: unknown;
902
- notEquals?: unknown;
903
- }>;
808
+ when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
904
809
  description: z.ZodString;
905
810
  }, "strip", z.ZodTypeAny, {
906
811
  description: string;
907
- when: {
908
- setting: string;
909
- equals?: unknown;
910
- notEquals?: unknown;
911
- };
812
+ when: PluginSettingCondition;
912
813
  }, {
913
814
  description: string;
914
- when: {
915
- setting: string;
916
- equals?: unknown;
917
- notEquals?: unknown;
918
- };
815
+ when: PluginSettingCondition;
919
816
  }>, "many">>;
920
817
  /** Internal settings are persisted/injected but hidden from generated UIs. */
921
818
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -946,18 +843,10 @@ export declare const PluginManifestSchema: z.ZodObject<{
946
843
  placeholder?: string | undefined;
947
844
  required?: boolean | undefined;
948
845
  }[] | undefined;
949
- visibleWhen?: {
950
- setting: string;
951
- equals?: unknown;
952
- notEquals?: unknown;
953
- } | undefined;
846
+ visibleWhen?: PluginSettingCondition | undefined;
954
847
  descriptionWhen?: {
955
848
  description: string;
956
- when: {
957
- setting: string;
958
- equals?: unknown;
959
- notEquals?: unknown;
960
- };
849
+ when: PluginSettingCondition;
961
850
  }[] | undefined;
962
851
  hidden?: boolean | undefined;
963
852
  }, {
@@ -984,18 +873,10 @@ export declare const PluginManifestSchema: z.ZodObject<{
984
873
  placeholder?: string | undefined;
985
874
  required?: boolean | undefined;
986
875
  }[] | undefined;
987
- visibleWhen?: {
988
- setting: string;
989
- equals?: unknown;
990
- notEquals?: unknown;
991
- } | undefined;
876
+ visibleWhen?: PluginSettingCondition | undefined;
992
877
  descriptionWhen?: {
993
878
  description: string;
994
- when: {
995
- setting: string;
996
- equals?: unknown;
997
- notEquals?: unknown;
998
- };
879
+ when: PluginSettingCondition;
999
880
  }[] | undefined;
1000
881
  hidden?: boolean | undefined;
1001
882
  scope?: "operator" | "global" | undefined;
@@ -1172,7 +1053,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
1172
1053
  icon?: string | undefined;
1173
1054
  }[];
1174
1055
  } | undefined;
1175
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1056
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1176
1057
  settings?: Record<string, {
1177
1058
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
1178
1059
  label: string;
@@ -1198,18 +1079,10 @@ export declare const PluginManifestSchema: z.ZodObject<{
1198
1079
  placeholder?: string | undefined;
1199
1080
  required?: boolean | undefined;
1200
1081
  }[] | undefined;
1201
- visibleWhen?: {
1202
- setting: string;
1203
- equals?: unknown;
1204
- notEquals?: unknown;
1205
- } | undefined;
1082
+ visibleWhen?: PluginSettingCondition | undefined;
1206
1083
  descriptionWhen?: {
1207
1084
  description: string;
1208
- when: {
1209
- setting: string;
1210
- equals?: unknown;
1211
- notEquals?: unknown;
1212
- };
1085
+ when: PluginSettingCondition;
1213
1086
  }[] | undefined;
1214
1087
  hidden?: boolean | undefined;
1215
1088
  }> | undefined;
@@ -1253,7 +1126,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
1253
1126
  }[] | undefined;
1254
1127
  } | undefined;
1255
1128
  instanceScope?: "operator" | "global" | undefined;
1256
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1129
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1257
1130
  settings?: Record<string, {
1258
1131
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
1259
1132
  label: string;
@@ -1278,18 +1151,10 @@ export declare const PluginManifestSchema: z.ZodObject<{
1278
1151
  placeholder?: string | undefined;
1279
1152
  required?: boolean | undefined;
1280
1153
  }[] | undefined;
1281
- visibleWhen?: {
1282
- setting: string;
1283
- equals?: unknown;
1284
- notEquals?: unknown;
1285
- } | undefined;
1154
+ visibleWhen?: PluginSettingCondition | undefined;
1286
1155
  descriptionWhen?: {
1287
1156
  description: string;
1288
- when: {
1289
- setting: string;
1290
- equals?: unknown;
1291
- notEquals?: unknown;
1292
- };
1157
+ when: PluginSettingCondition;
1293
1158
  }[] | undefined;
1294
1159
  hidden?: boolean | undefined;
1295
1160
  scope?: "operator" | "global" | undefined;
@@ -1413,49 +1278,17 @@ export declare const PluginStatusSchema: z.ZodObject<{
1413
1278
  description?: string | undefined;
1414
1279
  }>, "many">>;
1415
1280
  /** Conditionally show the field based on another setting in the same form. */
1416
- visibleWhen: z.ZodOptional<z.ZodObject<{
1417
- setting: z.ZodString;
1418
- equals: z.ZodOptional<z.ZodUnknown>;
1419
- notEquals: z.ZodOptional<z.ZodUnknown>;
1420
- }, "strip", z.ZodTypeAny, {
1421
- setting: string;
1422
- equals?: unknown;
1423
- notEquals?: unknown;
1424
- }, {
1425
- setting: string;
1426
- equals?: unknown;
1427
- notEquals?: unknown;
1428
- }>>;
1281
+ visibleWhen: z.ZodOptional<z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>>;
1429
1282
  /** Conditionally override the field description based on another setting. */
1430
1283
  descriptionWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1431
- when: z.ZodObject<{
1432
- setting: z.ZodString;
1433
- equals: z.ZodOptional<z.ZodUnknown>;
1434
- notEquals: z.ZodOptional<z.ZodUnknown>;
1435
- }, "strip", z.ZodTypeAny, {
1436
- setting: string;
1437
- equals?: unknown;
1438
- notEquals?: unknown;
1439
- }, {
1440
- setting: string;
1441
- equals?: unknown;
1442
- notEquals?: unknown;
1443
- }>;
1284
+ when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
1444
1285
  description: z.ZodString;
1445
1286
  }, "strip", z.ZodTypeAny, {
1446
1287
  description: string;
1447
- when: {
1448
- setting: string;
1449
- equals?: unknown;
1450
- notEquals?: unknown;
1451
- };
1288
+ when: PluginSettingCondition;
1452
1289
  }, {
1453
1290
  description: string;
1454
- when: {
1455
- setting: string;
1456
- equals?: unknown;
1457
- notEquals?: unknown;
1458
- };
1291
+ when: PluginSettingCondition;
1459
1292
  }>, "many">>;
1460
1293
  /** Internal settings are persisted/injected but hidden from generated UIs. */
1461
1294
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -1486,18 +1319,10 @@ export declare const PluginStatusSchema: z.ZodObject<{
1486
1319
  placeholder?: string | undefined;
1487
1320
  required?: boolean | undefined;
1488
1321
  }[] | undefined;
1489
- visibleWhen?: {
1490
- setting: string;
1491
- equals?: unknown;
1492
- notEquals?: unknown;
1493
- } | undefined;
1322
+ visibleWhen?: PluginSettingCondition | undefined;
1494
1323
  descriptionWhen?: {
1495
1324
  description: string;
1496
- when: {
1497
- setting: string;
1498
- equals?: unknown;
1499
- notEquals?: unknown;
1500
- };
1325
+ when: PluginSettingCondition;
1501
1326
  }[] | undefined;
1502
1327
  hidden?: boolean | undefined;
1503
1328
  }, {
@@ -1524,18 +1349,10 @@ export declare const PluginStatusSchema: z.ZodObject<{
1524
1349
  placeholder?: string | undefined;
1525
1350
  required?: boolean | undefined;
1526
1351
  }[] | undefined;
1527
- visibleWhen?: {
1528
- setting: string;
1529
- equals?: unknown;
1530
- notEquals?: unknown;
1531
- } | undefined;
1352
+ visibleWhen?: PluginSettingCondition | undefined;
1532
1353
  descriptionWhen?: {
1533
1354
  description: string;
1534
- when: {
1535
- setting: string;
1536
- equals?: unknown;
1537
- notEquals?: unknown;
1538
- };
1355
+ when: PluginSettingCondition;
1539
1356
  }[] | undefined;
1540
1357
  hidden?: boolean | undefined;
1541
1358
  scope?: "operator" | "global" | undefined;
@@ -1623,7 +1440,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
1623
1440
  openMode?: "popover" | "modal" | undefined;
1624
1441
  uiSize?: "sm" | "md" | "lg" | undefined;
1625
1442
  }>, "many">>;
1626
- permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
1443
+ permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
1627
1444
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_candidate", "auto_call_execution"]>, "many">>;
1628
1445
  ui: z.ZodOptional<z.ZodObject<{
1629
1446
  /** Static file directory relative to the plugin root (default: 'ui'). */
@@ -1743,7 +1560,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
1743
1560
  icon?: string | undefined;
1744
1561
  }[];
1745
1562
  } | undefined;
1746
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1563
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1747
1564
  settings?: Record<string, {
1748
1565
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
1749
1566
  label: string;
@@ -1769,18 +1586,10 @@ export declare const PluginStatusSchema: z.ZodObject<{
1769
1586
  placeholder?: string | undefined;
1770
1587
  required?: boolean | undefined;
1771
1588
  }[] | undefined;
1772
- visibleWhen?: {
1773
- setting: string;
1774
- equals?: unknown;
1775
- notEquals?: unknown;
1776
- } | undefined;
1589
+ visibleWhen?: PluginSettingCondition | undefined;
1777
1590
  descriptionWhen?: {
1778
1591
  description: string;
1779
- when: {
1780
- setting: string;
1781
- equals?: unknown;
1782
- notEquals?: unknown;
1783
- };
1592
+ when: PluginSettingCondition;
1784
1593
  }[] | undefined;
1785
1594
  hidden?: boolean | undefined;
1786
1595
  }> | undefined;
@@ -1836,7 +1645,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
1836
1645
  }[] | undefined;
1837
1646
  } | undefined;
1838
1647
  instanceScope?: "operator" | "global" | undefined;
1839
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1648
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
1840
1649
  settings?: Record<string, {
1841
1650
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
1842
1651
  label: string;
@@ -1861,18 +1670,10 @@ export declare const PluginStatusSchema: z.ZodObject<{
1861
1670
  placeholder?: string | undefined;
1862
1671
  required?: boolean | undefined;
1863
1672
  }[] | undefined;
1864
- visibleWhen?: {
1865
- setting: string;
1866
- equals?: unknown;
1867
- notEquals?: unknown;
1868
- } | undefined;
1673
+ visibleWhen?: PluginSettingCondition | undefined;
1869
1674
  descriptionWhen?: {
1870
1675
  description: string;
1871
- when: {
1872
- setting: string;
1873
- equals?: unknown;
1874
- notEquals?: unknown;
1875
- };
1676
+ when: PluginSettingCondition;
1876
1677
  }[] | undefined;
1877
1678
  hidden?: boolean | undefined;
1878
1679
  scope?: "operator" | "global" | undefined;
@@ -2028,49 +1829,17 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2028
1829
  description?: string | undefined;
2029
1830
  }>, "many">>;
2030
1831
  /** Conditionally show the field based on another setting in the same form. */
2031
- visibleWhen: z.ZodOptional<z.ZodObject<{
2032
- setting: z.ZodString;
2033
- equals: z.ZodOptional<z.ZodUnknown>;
2034
- notEquals: z.ZodOptional<z.ZodUnknown>;
2035
- }, "strip", z.ZodTypeAny, {
2036
- setting: string;
2037
- equals?: unknown;
2038
- notEquals?: unknown;
2039
- }, {
2040
- setting: string;
2041
- equals?: unknown;
2042
- notEquals?: unknown;
2043
- }>>;
1832
+ visibleWhen: z.ZodOptional<z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>>;
2044
1833
  /** Conditionally override the field description based on another setting. */
2045
1834
  descriptionWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
2046
- when: z.ZodObject<{
2047
- setting: z.ZodString;
2048
- equals: z.ZodOptional<z.ZodUnknown>;
2049
- notEquals: z.ZodOptional<z.ZodUnknown>;
2050
- }, "strip", z.ZodTypeAny, {
2051
- setting: string;
2052
- equals?: unknown;
2053
- notEquals?: unknown;
2054
- }, {
2055
- setting: string;
2056
- equals?: unknown;
2057
- notEquals?: unknown;
2058
- }>;
1835
+ when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
2059
1836
  description: z.ZodString;
2060
1837
  }, "strip", z.ZodTypeAny, {
2061
1838
  description: string;
2062
- when: {
2063
- setting: string;
2064
- equals?: unknown;
2065
- notEquals?: unknown;
2066
- };
1839
+ when: PluginSettingCondition;
2067
1840
  }, {
2068
1841
  description: string;
2069
- when: {
2070
- setting: string;
2071
- equals?: unknown;
2072
- notEquals?: unknown;
2073
- };
1842
+ when: PluginSettingCondition;
2074
1843
  }>, "many">>;
2075
1844
  /** Internal settings are persisted/injected but hidden from generated UIs. */
2076
1845
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -2101,18 +1870,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2101
1870
  placeholder?: string | undefined;
2102
1871
  required?: boolean | undefined;
2103
1872
  }[] | undefined;
2104
- visibleWhen?: {
2105
- setting: string;
2106
- equals?: unknown;
2107
- notEquals?: unknown;
2108
- } | undefined;
1873
+ visibleWhen?: PluginSettingCondition | undefined;
2109
1874
  descriptionWhen?: {
2110
1875
  description: string;
2111
- when: {
2112
- setting: string;
2113
- equals?: unknown;
2114
- notEquals?: unknown;
2115
- };
1876
+ when: PluginSettingCondition;
2116
1877
  }[] | undefined;
2117
1878
  hidden?: boolean | undefined;
2118
1879
  }, {
@@ -2139,18 +1900,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2139
1900
  placeholder?: string | undefined;
2140
1901
  required?: boolean | undefined;
2141
1902
  }[] | undefined;
2142
- visibleWhen?: {
2143
- setting: string;
2144
- equals?: unknown;
2145
- notEquals?: unknown;
2146
- } | undefined;
1903
+ visibleWhen?: PluginSettingCondition | undefined;
2147
1904
  descriptionWhen?: {
2148
1905
  description: string;
2149
- when: {
2150
- setting: string;
2151
- equals?: unknown;
2152
- notEquals?: unknown;
2153
- };
1906
+ when: PluginSettingCondition;
2154
1907
  }[] | undefined;
2155
1908
  hidden?: boolean | undefined;
2156
1909
  scope?: "operator" | "global" | undefined;
@@ -2238,7 +1991,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2238
1991
  openMode?: "popover" | "modal" | undefined;
2239
1992
  uiSize?: "sm" | "md" | "lg" | undefined;
2240
1993
  }>, "many">>;
2241
- permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
1994
+ permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
2242
1995
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_candidate", "auto_call_execution"]>, "many">>;
2243
1996
  ui: z.ZodOptional<z.ZodObject<{
2244
1997
  /** Static file directory relative to the plugin root (default: 'ui'). */
@@ -2358,7 +2111,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2358
2111
  icon?: string | undefined;
2359
2112
  }[];
2360
2113
  } | undefined;
2361
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2114
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2362
2115
  settings?: Record<string, {
2363
2116
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
2364
2117
  label: string;
@@ -2384,18 +2137,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2384
2137
  placeholder?: string | undefined;
2385
2138
  required?: boolean | undefined;
2386
2139
  }[] | undefined;
2387
- visibleWhen?: {
2388
- setting: string;
2389
- equals?: unknown;
2390
- notEquals?: unknown;
2391
- } | undefined;
2140
+ visibleWhen?: PluginSettingCondition | undefined;
2392
2141
  descriptionWhen?: {
2393
2142
  description: string;
2394
- when: {
2395
- setting: string;
2396
- equals?: unknown;
2397
- notEquals?: unknown;
2398
- };
2143
+ when: PluginSettingCondition;
2399
2144
  }[] | undefined;
2400
2145
  hidden?: boolean | undefined;
2401
2146
  }> | undefined;
@@ -2451,7 +2196,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2451
2196
  }[] | undefined;
2452
2197
  } | undefined;
2453
2198
  instanceScope?: "operator" | "global" | undefined;
2454
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2199
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2455
2200
  settings?: Record<string, {
2456
2201
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
2457
2202
  label: string;
@@ -2476,18 +2221,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2476
2221
  placeholder?: string | undefined;
2477
2222
  required?: boolean | undefined;
2478
2223
  }[] | undefined;
2479
- visibleWhen?: {
2480
- setting: string;
2481
- equals?: unknown;
2482
- notEquals?: unknown;
2483
- } | undefined;
2224
+ visibleWhen?: PluginSettingCondition | undefined;
2484
2225
  descriptionWhen?: {
2485
2226
  description: string;
2486
- when: {
2487
- setting: string;
2488
- equals?: unknown;
2489
- notEquals?: unknown;
2490
- };
2227
+ when: PluginSettingCondition;
2491
2228
  }[] | undefined;
2492
2229
  hidden?: boolean | undefined;
2493
2230
  scope?: "operator" | "global" | undefined;
@@ -2717,7 +2454,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2717
2454
  icon?: string | undefined;
2718
2455
  }[];
2719
2456
  } | undefined;
2720
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2457
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2721
2458
  settings?: Record<string, {
2722
2459
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
2723
2460
  label: string;
@@ -2743,18 +2480,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2743
2480
  placeholder?: string | undefined;
2744
2481
  required?: boolean | undefined;
2745
2482
  }[] | undefined;
2746
- visibleWhen?: {
2747
- setting: string;
2748
- equals?: unknown;
2749
- notEquals?: unknown;
2750
- } | undefined;
2483
+ visibleWhen?: PluginSettingCondition | undefined;
2751
2484
  descriptionWhen?: {
2752
2485
  description: string;
2753
- when: {
2754
- setting: string;
2755
- equals?: unknown;
2756
- notEquals?: unknown;
2757
- };
2486
+ when: PluginSettingCondition;
2758
2487
  }[] | undefined;
2759
2488
  hidden?: boolean | undefined;
2760
2489
  }> | undefined;
@@ -2848,7 +2577,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2848
2577
  }[] | undefined;
2849
2578
  } | undefined;
2850
2579
  instanceScope?: "operator" | "global" | undefined;
2851
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2580
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2852
2581
  settings?: Record<string, {
2853
2582
  type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
2854
2583
  label: string;
@@ -2873,18 +2602,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
2873
2602
  placeholder?: string | undefined;
2874
2603
  required?: boolean | undefined;
2875
2604
  }[] | undefined;
2876
- visibleWhen?: {
2877
- setting: string;
2878
- equals?: unknown;
2879
- notEquals?: unknown;
2880
- } | undefined;
2605
+ visibleWhen?: PluginSettingCondition | undefined;
2881
2606
  descriptionWhen?: {
2882
2607
  description: string;
2883
- when: {
2884
- setting: string;
2885
- equals?: unknown;
2886
- notEquals?: unknown;
2887
- };
2608
+ when: PluginSettingCondition;
2888
2609
  }[] | undefined;
2889
2610
  hidden?: boolean | undefined;
2890
2611
  scope?: "operator" | "global" | undefined;
@@ -3009,7 +2730,7 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
3009
2730
  homepage: z.ZodOptional<z.ZodString>;
3010
2731
  categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3011
2732
  keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3012
- permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
2733
+ permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
3013
2734
  screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3014
2735
  src: z.ZodString;
3015
2736
  alt: z.ZodOptional<z.ZodString>;
@@ -3028,7 +2749,7 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
3028
2749
  name: string;
3029
2750
  description: string;
3030
2751
  title: string;
3031
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
2752
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3032
2753
  artifactUrl: string;
3033
2754
  sha256: string;
3034
2755
  latestVersion: string;
@@ -3056,7 +2777,7 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
3056
2777
  minHostVersion: string;
3057
2778
  size: number;
3058
2779
  publishedAt: string;
3059
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2780
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3060
2781
  locales?: Record<string, Record<string, string>> | undefined;
3061
2782
  author?: string | undefined;
3062
2783
  license?: string | undefined;
@@ -3087,7 +2808,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
3087
2808
  homepage: z.ZodOptional<z.ZodString>;
3088
2809
  categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3089
2810
  keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3090
- permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
2811
+ permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
3091
2812
  screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3092
2813
  src: z.ZodString;
3093
2814
  alt: z.ZodOptional<z.ZodString>;
@@ -3106,7 +2827,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
3106
2827
  name: string;
3107
2828
  description: string;
3108
2829
  title: string;
3109
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
2830
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3110
2831
  artifactUrl: string;
3111
2832
  sha256: string;
3112
2833
  latestVersion: string;
@@ -3134,7 +2855,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
3134
2855
  minHostVersion: string;
3135
2856
  size: number;
3136
2857
  publishedAt: string;
3137
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2858
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3138
2859
  locales?: Record<string, Record<string, string>> | undefined;
3139
2860
  author?: string | undefined;
3140
2861
  license?: string | undefined;
@@ -3153,7 +2874,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
3153
2874
  name: string;
3154
2875
  description: string;
3155
2876
  title: string;
3156
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
2877
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3157
2878
  artifactUrl: string;
3158
2879
  sha256: string;
3159
2880
  latestVersion: string;
@@ -3186,7 +2907,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
3186
2907
  minHostVersion: string;
3187
2908
  size: number;
3188
2909
  publishedAt: string;
3189
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2910
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3190
2911
  locales?: Record<string, Record<string, string>> | undefined;
3191
2912
  author?: string | undefined;
3192
2913
  license?: string | undefined;
@@ -3221,7 +2942,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3221
2942
  homepage: z.ZodOptional<z.ZodString>;
3222
2943
  categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3223
2944
  keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3224
- permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
2945
+ permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
3225
2946
  screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3226
2947
  src: z.ZodString;
3227
2948
  alt: z.ZodOptional<z.ZodString>;
@@ -3240,7 +2961,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3240
2961
  name: string;
3241
2962
  description: string;
3242
2963
  title: string;
3243
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
2964
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3244
2965
  artifactUrl: string;
3245
2966
  sha256: string;
3246
2967
  latestVersion: string;
@@ -3268,7 +2989,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3268
2989
  minHostVersion: string;
3269
2990
  size: number;
3270
2991
  publishedAt: string;
3271
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
2992
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3272
2993
  locales?: Record<string, Record<string, string>> | undefined;
3273
2994
  author?: string | undefined;
3274
2995
  license?: string | undefined;
@@ -3287,7 +3008,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3287
3008
  name: string;
3288
3009
  description: string;
3289
3010
  title: string;
3290
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3011
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3291
3012
  artifactUrl: string;
3292
3013
  sha256: string;
3293
3014
  latestVersion: string;
@@ -3320,7 +3041,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3320
3041
  minHostVersion: string;
3321
3042
  size: number;
3322
3043
  publishedAt: string;
3323
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3044
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3324
3045
  locales?: Record<string, Record<string, string>> | undefined;
3325
3046
  author?: string | undefined;
3326
3047
  license?: string | undefined;
@@ -3344,7 +3065,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3344
3065
  name: string;
3345
3066
  description: string;
3346
3067
  title: string;
3347
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3068
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3348
3069
  artifactUrl: string;
3349
3070
  sha256: string;
3350
3071
  latestVersion: string;
@@ -3380,7 +3101,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
3380
3101
  minHostVersion: string;
3381
3102
  size: number;
3382
3103
  publishedAt: string;
3383
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3104
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3384
3105
  locales?: Record<string, Record<string, string>> | undefined;
3385
3106
  author?: string | undefined;
3386
3107
  license?: string | undefined;
@@ -3413,7 +3134,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
3413
3134
  homepage: z.ZodOptional<z.ZodString>;
3414
3135
  categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3415
3136
  keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3416
- permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
3137
+ permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "host:hamlib", "radio:read", "radio:control", "radio:power", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
3417
3138
  screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3418
3139
  src: z.ZodString;
3419
3140
  alt: z.ZodOptional<z.ZodString>;
@@ -3432,7 +3153,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
3432
3153
  name: string;
3433
3154
  description: string;
3434
3155
  title: string;
3435
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3156
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3436
3157
  artifactUrl: string;
3437
3158
  sha256: string;
3438
3159
  latestVersion: string;
@@ -3460,7 +3181,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
3460
3181
  minHostVersion: string;
3461
3182
  size: number;
3462
3183
  publishedAt: string;
3463
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3184
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3464
3185
  locales?: Record<string, Record<string, string>> | undefined;
3465
3186
  author?: string | undefined;
3466
3187
  license?: string | undefined;
@@ -3482,7 +3203,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
3482
3203
  name: string;
3483
3204
  description: string;
3484
3205
  title: string;
3485
- permissions: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3206
+ permissions: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
3486
3207
  artifactUrl: string;
3487
3208
  sha256: string;
3488
3209
  latestVersion: string;
@@ -3514,7 +3235,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
3514
3235
  minHostVersion: string;
3515
3236
  size: number;
3516
3237
  publishedAt: string;
3517
- permissions?: ("network" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3238
+ permissions?: ("network" | "host:hamlib" | "radio:read" | "radio:control" | "radio:power" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
3518
3239
  locales?: Record<string, Record<string, string>> | undefined;
3519
3240
  author?: string | undefined;
3520
3241
  license?: string | undefined;