@tx5dr/contracts 1.7.11 → 2.0.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.
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schema/__tests__/android-operator-audio.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.js +27 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.js.map +1 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.js +113 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.js.map +1 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.js +42 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.js.map +1 -0
- package/dist/schema/__tests__/audio.schema.test.js +92 -1
- package/dist/schema/__tests__/audio.schema.test.js.map +1 -1
- package/dist/schema/__tests__/diagnostics.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/diagnostics.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/diagnostics.schema.test.js +31 -0
- package/dist/schema/__tests__/diagnostics.schema.test.js.map +1 -0
- package/dist/schema/__tests__/logbook-health.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/logbook-health.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/logbook-health.schema.test.js +104 -0
- package/dist/schema/__tests__/logbook-health.schema.test.js.map +1 -0
- package/dist/schema/__tests__/observability.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/observability.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/observability.schema.test.js +12 -0
- package/dist/schema/__tests__/observability.schema.test.js.map +1 -0
- package/dist/schema/__tests__/operator.schema.test.js +9 -3
- package/dist/schema/__tests__/operator.schema.test.js.map +1 -1
- package/dist/schema/__tests__/plugin-market.schema.test.js +43 -1
- package/dist/schema/__tests__/plugin-market.schema.test.js.map +1 -1
- package/dist/schema/__tests__/radio-power-support.test.js +12 -0
- package/dist/schema/__tests__/radio-power-support.test.js.map +1 -1
- package/dist/schema/__tests__/radio-profile.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/radio-profile.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/radio-profile.schema.test.js +36 -0
- package/dist/schema/__tests__/radio-profile.schema.test.js.map +1 -0
- package/dist/schema/__tests__/radio.schema.test.js +41 -1
- package/dist/schema/__tests__/radio.schema.test.js.map +1 -1
- package/dist/schema/__tests__/realtime-settings.schema.test.js +2 -1
- package/dist/schema/__tests__/realtime-settings.schema.test.js.map +1 -1
- package/dist/schema/__tests__/remote-access.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/remote-access.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/remote-access.schema.test.js +18 -0
- package/dist/schema/__tests__/remote-access.schema.test.js.map +1 -0
- package/dist/schema/android-operator-audio.schema.d.ts +174 -0
- package/dist/schema/android-operator-audio.schema.d.ts.map +1 -0
- package/dist/schema/android-operator-audio.schema.js +38 -0
- package/dist/schema/android-operator-audio.schema.js.map +1 -0
- package/dist/schema/api-response.schema.d.ts +268 -44
- package/dist/schema/api-response.schema.d.ts.map +1 -1
- package/dist/schema/audio-sidecar.schema.d.ts +75 -0
- package/dist/schema/audio-sidecar.schema.d.ts.map +1 -1
- package/dist/schema/audio-sidecar.schema.js +32 -0
- package/dist/schema/audio-sidecar.schema.js.map +1 -1
- package/dist/schema/audio.schema.d.ts +4749 -3
- package/dist/schema/audio.schema.d.ts.map +1 -1
- package/dist/schema/audio.schema.js +101 -2
- package/dist/schema/audio.schema.js.map +1 -1
- package/dist/schema/auth.schema.d.ts +171 -12
- package/dist/schema/auth.schema.d.ts.map +1 -1
- package/dist/schema/auth.schema.js +65 -1
- package/dist/schema/auth.schema.js.map +1 -1
- package/dist/schema/cpu-profile.schema.d.ts +2 -2
- package/dist/schema/cw-decoder.schema.d.ts +74 -74
- package/dist/schema/cw-keyer.schema.d.ts +20 -14
- package/dist/schema/cw-keyer.schema.d.ts.map +1 -1
- package/dist/schema/cw-keyer.schema.js +3 -0
- package/dist/schema/cw-keyer.schema.js.map +1 -1
- package/dist/schema/desktop-https.schema.d.ts +6 -6
- package/dist/schema/device-ui.schema.d.ts +6 -6
- package/dist/schema/diagnostics.schema.d.ts +163 -0
- package/dist/schema/diagnostics.schema.d.ts.map +1 -0
- package/dist/schema/diagnostics.schema.js +46 -0
- package/dist/schema/diagnostics.schema.js.map +1 -0
- package/dist/schema/ft8.schema.d.ts +12 -2
- package/dist/schema/ft8.schema.d.ts.map +1 -1
- package/dist/schema/ft8.schema.js +8 -0
- package/dist/schema/ft8.schema.js.map +1 -1
- package/dist/schema/logbook.schema.d.ts +1940 -18
- package/dist/schema/logbook.schema.d.ts.map +1 -1
- package/dist/schema/logbook.schema.js +158 -1
- package/dist/schema/logbook.schema.js.map +1 -1
- package/dist/schema/mode.schema.d.ts +2 -6
- package/dist/schema/mode.schema.d.ts.map +1 -1
- package/dist/schema/mode.schema.js +2 -6
- package/dist/schema/mode.schema.js.map +1 -1
- package/dist/schema/observability.schema.d.ts +66 -0
- package/dist/schema/observability.schema.d.ts.map +1 -0
- package/dist/schema/observability.schema.js +20 -0
- package/dist/schema/observability.schema.js.map +1 -0
- package/dist/schema/operator.schema.d.ts +6 -6
- package/dist/schema/operator.schema.d.ts.map +1 -1
- package/dist/schema/operator.schema.js +6 -1
- package/dist/schema/operator.schema.js.map +1 -1
- package/dist/schema/plugin.schema.d.ts +258 -78
- package/dist/schema/plugin.schema.d.ts.map +1 -1
- package/dist/schema/plugin.schema.js +57 -2
- package/dist/schema/plugin.schema.js.map +1 -1
- package/dist/schema/process-monitor.schema.d.ts +132 -132
- package/dist/schema/pskreporter.schema.d.ts +1 -3
- package/dist/schema/pskreporter.schema.d.ts.map +1 -1
- package/dist/schema/pskreporter.schema.js +1 -3
- package/dist/schema/pskreporter.schema.js.map +1 -1
- package/dist/schema/qso.schema.d.ts +7 -0
- package/dist/schema/qso.schema.d.ts.map +1 -1
- package/dist/schema/qso.schema.js +7 -0
- package/dist/schema/qso.schema.js.map +1 -1
- package/dist/schema/radio-capability.schema.d.ts +31 -40
- package/dist/schema/radio-capability.schema.d.ts.map +1 -1
- package/dist/schema/radio-capability.schema.js +7 -15
- package/dist/schema/radio-capability.schema.js.map +1 -1
- package/dist/schema/radio-power-support.d.ts.map +1 -1
- package/dist/schema/radio-power-support.js +3 -0
- package/dist/schema/radio-power-support.js.map +1 -1
- package/dist/schema/radio-power.schema.d.ts +87 -13
- package/dist/schema/radio-power.schema.d.ts.map +1 -1
- package/dist/schema/radio-power.schema.js +15 -8
- package/dist/schema/radio-power.schema.js.map +1 -1
- package/dist/schema/radio-profile.schema.d.ts +1240 -97
- package/dist/schema/radio-profile.schema.d.ts.map +1 -1
- package/dist/schema/radio.schema.d.ts +271 -48
- package/dist/schema/radio.schema.d.ts.map +1 -1
- package/dist/schema/radio.schema.js +44 -5
- package/dist/schema/radio.schema.js.map +1 -1
- package/dist/schema/realtime.schema.d.ts +60 -52
- package/dist/schema/realtime.schema.d.ts.map +1 -1
- package/dist/schema/realtime.schema.js +9 -1
- package/dist/schema/realtime.schema.js.map +1 -1
- package/dist/schema/slot-info.schema.d.ts +15 -9
- package/dist/schema/slot-info.schema.d.ts.map +1 -1
- package/dist/schema/slot-info.schema.js +15 -9
- package/dist/schema/slot-info.schema.js.map +1 -1
- package/dist/schema/spectrum.schema.d.ts +12 -12
- package/dist/schema/station-info.schema.d.ts +5 -0
- package/dist/schema/station-info.schema.d.ts.map +1 -1
- package/dist/schema/station-info.schema.js +5 -0
- package/dist/schema/station-info.schema.js.map +1 -1
- package/dist/schema/system.schema.d.ts +56 -6
- package/dist/schema/system.schema.d.ts.map +1 -1
- package/dist/schema/system.schema.js +22 -0
- package/dist/schema/system.schema.js.map +1 -1
- package/dist/schema/transmission.schema.d.ts +1 -7
- package/dist/schema/transmission.schema.d.ts.map +1 -1
- package/dist/schema/transmission.schema.js +2 -7
- package/dist/schema/transmission.schema.js.map +1 -1
- package/dist/schema/update.schema.d.ts +3 -0
- package/dist/schema/update.schema.d.ts.map +1 -1
- package/dist/schema/update.schema.js +1 -0
- package/dist/schema/update.schema.js.map +1 -1
- package/dist/schema/voice-keyer.schema.d.ts +16 -16
- package/dist/schema/websocket.schema.d.ts +3582 -555
- package/dist/schema/websocket.schema.d.ts.map +1 -1
- package/dist/schema/websocket.schema.js +160 -3
- package/dist/schema/websocket.schema.js.map +1 -1
- package/package.json +6 -1
- package/src/index.ts +3 -0
- package/src/schema/__tests__/android-operator-audio.schema.test.ts +31 -0
- package/src/schema/__tests__/assisted-queue.schema.test.ts +121 -0
- package/src/schema/__tests__/audio-sidecar.schema.test.ts +48 -0
- package/src/schema/__tests__/audio.schema.test.ts +102 -0
- package/src/schema/__tests__/diagnostics.schema.test.ts +32 -0
- package/src/schema/__tests__/logbook-health.schema.test.ts +117 -0
- package/src/schema/__tests__/observability.schema.test.ts +15 -0
- package/src/schema/__tests__/operator.schema.test.ts +11 -3
- package/src/schema/__tests__/plugin-market.schema.test.ts +49 -0
- package/src/schema/__tests__/radio-power-support.test.ts +14 -0
- package/src/schema/__tests__/radio-profile.schema.test.ts +44 -0
- package/src/schema/__tests__/radio.schema.test.ts +49 -1
- package/src/schema/__tests__/realtime-settings.schema.test.ts +2 -1
- package/src/schema/__tests__/remote-access.schema.test.ts +22 -0
- package/src/schema/android-operator-audio.schema.ts +49 -0
- package/src/schema/audio-sidecar.schema.ts +35 -0
- package/src/schema/audio.schema.ts +115 -2
- package/src/schema/auth.schema.ts +79 -1
- package/src/schema/cw-keyer.schema.ts +5 -0
- package/src/schema/diagnostics.schema.ts +55 -0
- package/src/schema/ft8.schema.ts +8 -0
- package/src/schema/logbook.schema.ts +204 -1
- package/src/schema/mode.schema.ts +2 -6
- package/src/schema/observability.schema.ts +26 -0
- package/src/schema/operator.schema.ts +7 -1
- package/src/schema/plugin.schema.ts +67 -2
- package/src/schema/pskreporter.schema.ts +1 -3
- package/src/schema/qso.schema.ts +7 -0
- package/src/schema/radio-capability.schema.ts +7 -15
- package/src/schema/radio-power-support.ts +3 -0
- package/src/schema/radio-power.schema.ts +15 -8
- package/src/schema/radio.schema.ts +55 -5
- package/src/schema/realtime.schema.ts +9 -1
- package/src/schema/slot-info.schema.ts +16 -10
- package/src/schema/station-info.schema.ts +5 -0
- package/src/schema/system.schema.ts +29 -0
- package/src/schema/transmission.schema.ts +2 -7
- package/src/schema/update.schema.ts +1 -0
- package/src/schema/websocket.schema.ts +223 -6
- package/test/radio-capability-schema.test.ts +44 -0
|
@@ -12,6 +12,14 @@ export declare const PluginTypeSchema: z.ZodEnum<["strategy", "utility"]>;
|
|
|
12
12
|
* High-level plugin category used by manifests and runtime status objects.
|
|
13
13
|
*/
|
|
14
14
|
export type PluginType = z.infer<typeof PluginTypeSchema>;
|
|
15
|
+
export declare const StrategyFeaturesSchema: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
targetQueue: z.ZodOptional<z.ZodLiteral<1>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
targetQueue?: 1 | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
targetQueue?: 1 | undefined;
|
|
21
|
+
}>>;
|
|
22
|
+
export type StrategyFeatures = z.infer<typeof StrategyFeaturesSchema>;
|
|
15
23
|
/**
|
|
16
24
|
* Runtime instance scope for a plugin.
|
|
17
25
|
*
|
|
@@ -29,7 +37,7 @@ export type PluginInstanceScope = z.infer<typeof PluginInstanceScopeSchema>;
|
|
|
29
37
|
* Permissions let the host gate sensitive capabilities behind manifest-level
|
|
30
38
|
* intent. Plugins should request the smallest possible set.
|
|
31
39
|
*/
|
|
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"]>;
|
|
40
|
+
export declare const PluginPermissionSchema: z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>;
|
|
33
41
|
/**
|
|
34
42
|
* Explicit permission declarations requested by a plugin.
|
|
35
43
|
*/
|
|
@@ -48,7 +56,7 @@ export type PluginPanelComponent = z.infer<typeof PluginPanelComponentSchema>;
|
|
|
48
56
|
* These values control both validation expectations and default frontend
|
|
49
57
|
* rendering in plugin settings UIs.
|
|
50
58
|
*/
|
|
51
|
-
export declare const PluginSettingTypeSchema: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
|
|
59
|
+
export declare const PluginSettingTypeSchema: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "keyedObjectArrays", "keyedObjects", "info"]>;
|
|
52
60
|
/**
|
|
53
61
|
* Supported generated-form field types for plugin settings.
|
|
54
62
|
*/
|
|
@@ -70,6 +78,11 @@ export declare const PluginSettingOptionSchema: z.ZodObject<{
|
|
|
70
78
|
* Label/value pair used by select-like plugin settings.
|
|
71
79
|
*/
|
|
72
80
|
export type PluginSettingOption = z.infer<typeof PluginSettingOptionSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* Field descriptor used for each item in an `object[]` or `keyedObjectArrays`
|
|
83
|
+
* setting editor. `key` becomes the object property; `type` controls the Host
|
|
84
|
+
* input; `required` and `default` are applied per item.
|
|
85
|
+
*/
|
|
73
86
|
export declare const PluginObjectArrayFieldSchema: z.ZodObject<{
|
|
74
87
|
key: z.ZodString;
|
|
75
88
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["string", "number", "boolean"]>>>;
|
|
@@ -77,10 +90,12 @@ export declare const PluginObjectArrayFieldSchema: z.ZodObject<{
|
|
|
77
90
|
description: z.ZodOptional<z.ZodString>;
|
|
78
91
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
79
92
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
80
94
|
}, "strip", z.ZodTypeAny, {
|
|
81
95
|
type: "string" | "number" | "boolean";
|
|
82
96
|
label: string;
|
|
83
97
|
key: string;
|
|
98
|
+
default?: unknown;
|
|
84
99
|
description?: string | undefined;
|
|
85
100
|
placeholder?: string | undefined;
|
|
86
101
|
required?: boolean | undefined;
|
|
@@ -88,11 +103,16 @@ export declare const PluginObjectArrayFieldSchema: z.ZodObject<{
|
|
|
88
103
|
label: string;
|
|
89
104
|
key: string;
|
|
90
105
|
type?: "string" | "number" | "boolean" | undefined;
|
|
106
|
+
default?: unknown;
|
|
91
107
|
description?: string | undefined;
|
|
92
108
|
placeholder?: string | undefined;
|
|
93
109
|
required?: boolean | undefined;
|
|
94
110
|
}>;
|
|
95
111
|
export type PluginObjectArrayField = z.infer<typeof PluginObjectArrayFieldSchema>;
|
|
112
|
+
/**
|
|
113
|
+
* Fixed key exposed by keyed setting editors. `key` is persisted in the value;
|
|
114
|
+
* `label` and `description` are literal text or plugin locale keys.
|
|
115
|
+
*/
|
|
96
116
|
export declare const PluginKeyedStringArrayKeySchema: z.ZodObject<{
|
|
97
117
|
key: z.ZodString;
|
|
98
118
|
label: z.ZodString;
|
|
@@ -107,10 +127,18 @@ export declare const PluginKeyedStringArrayKeySchema: z.ZodObject<{
|
|
|
107
127
|
description?: string | undefined;
|
|
108
128
|
}>;
|
|
109
129
|
export type PluginKeyedStringArrayKey = z.infer<typeof PluginKeyedStringArrayKeySchema>;
|
|
130
|
+
/**
|
|
131
|
+
* Declarative condition evaluated against values in the same settings form.
|
|
132
|
+
* A leaf compares one `setting` with `equals` or `notEquals`; `allOf` requires
|
|
133
|
+
* every nested condition and `anyOf` requires at least one. Nested groups may
|
|
134
|
+
* be combined recursively.
|
|
135
|
+
*/
|
|
110
136
|
export interface PluginSettingCondition {
|
|
111
137
|
/** Single setting key to compare. Preserves the original condition shape. */
|
|
112
138
|
setting?: string;
|
|
139
|
+
/** Match when the referenced value is strictly equal to this value. */
|
|
113
140
|
equals?: unknown;
|
|
141
|
+
/** Match when the referenced value is not strictly equal to this value. */
|
|
114
142
|
notEquals?: unknown;
|
|
115
143
|
/** All nested conditions must match. */
|
|
116
144
|
allOf?: PluginSettingCondition[];
|
|
@@ -118,6 +146,7 @@ export interface PluginSettingCondition {
|
|
|
118
146
|
anyOf?: PluginSettingCondition[];
|
|
119
147
|
}
|
|
120
148
|
export declare const PluginSettingConditionSchema: z.ZodType<PluginSettingCondition>;
|
|
149
|
+
/** Description override selected when its condition matches. */
|
|
121
150
|
export declare const PluginSettingConditionalDescriptionSchema: z.ZodObject<{
|
|
122
151
|
when: z.ZodType<PluginSettingCondition, z.ZodTypeDef, PluginSettingCondition>;
|
|
123
152
|
description: z.ZodString;
|
|
@@ -147,9 +176,20 @@ export type PluginSettingScope = z.infer<typeof PluginSettingScopeSchema>;
|
|
|
147
176
|
*
|
|
148
177
|
* The host uses this schema to generate configuration forms, validate updates
|
|
149
178
|
* and resolve default values before injecting them into `ctx.config`.
|
|
179
|
+
*
|
|
180
|
+
* Collection defaults must match the selected renderer:
|
|
181
|
+
* - `string[]` -> `string[]`
|
|
182
|
+
* - `object[]` -> `Array<Record<string, unknown>>` described by `itemFields`
|
|
183
|
+
* - `keyedStringArrays` -> `Record<string, string[]>`
|
|
184
|
+
* - `keyedObjectArrays` -> `Record<string, Array<Record<string, unknown>>>`
|
|
185
|
+
* - `keyedObjects` -> `Record<string, Record<string, unknown>>`
|
|
186
|
+
*
|
|
187
|
+
* Keyed editors use `keys` for their fixed outer keys; object-based editors use
|
|
188
|
+
* `itemFields` for the nested shape. `info` is display-only and cannot be used
|
|
189
|
+
* by `quickSettings`.
|
|
150
190
|
*/
|
|
151
191
|
export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
152
|
-
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
|
|
192
|
+
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "keyedObjectArrays", "keyedObjects", "info"]>;
|
|
153
193
|
default: z.ZodUnknown;
|
|
154
194
|
label: z.ZodString;
|
|
155
195
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -173,10 +213,12 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
173
213
|
description: z.ZodOptional<z.ZodString>;
|
|
174
214
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
175
215
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
176
217
|
}, "strip", z.ZodTypeAny, {
|
|
177
218
|
type: "string" | "number" | "boolean";
|
|
178
219
|
label: string;
|
|
179
220
|
key: string;
|
|
221
|
+
default?: unknown;
|
|
180
222
|
description?: string | undefined;
|
|
181
223
|
placeholder?: string | undefined;
|
|
182
224
|
required?: boolean | undefined;
|
|
@@ -184,11 +226,12 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
184
226
|
label: string;
|
|
185
227
|
key: string;
|
|
186
228
|
type?: "string" | "number" | "boolean" | undefined;
|
|
229
|
+
default?: unknown;
|
|
187
230
|
description?: string | undefined;
|
|
188
231
|
placeholder?: string | undefined;
|
|
189
232
|
required?: boolean | undefined;
|
|
190
233
|
}>, "many">>;
|
|
191
|
-
/** Fixed key list used by generated
|
|
234
|
+
/** Fixed key list used by generated keyed setting editors. */
|
|
192
235
|
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
236
|
key: z.ZodString;
|
|
194
237
|
label: z.ZodString;
|
|
@@ -220,7 +263,7 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
220
263
|
/** 设置作用域:global(所有操作员共享)或 operator(每操作员独立),默认 global */
|
|
221
264
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "operator"]>>>;
|
|
222
265
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
266
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
224
267
|
label: string;
|
|
225
268
|
scope: "operator" | "global";
|
|
226
269
|
keys?: {
|
|
@@ -240,6 +283,7 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
240
283
|
type: "string" | "number" | "boolean";
|
|
241
284
|
label: string;
|
|
242
285
|
key: string;
|
|
286
|
+
default?: unknown;
|
|
243
287
|
description?: string | undefined;
|
|
244
288
|
placeholder?: string | undefined;
|
|
245
289
|
required?: boolean | undefined;
|
|
@@ -251,7 +295,7 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
251
295
|
}[] | undefined;
|
|
252
296
|
hidden?: boolean | undefined;
|
|
253
297
|
}, {
|
|
254
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
298
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
255
299
|
label: string;
|
|
256
300
|
keys?: {
|
|
257
301
|
label: string;
|
|
@@ -270,6 +314,7 @@ export declare const PluginSettingDescriptorSchema: z.ZodObject<{
|
|
|
270
314
|
label: string;
|
|
271
315
|
key: string;
|
|
272
316
|
type?: "string" | "number" | "boolean" | undefined;
|
|
317
|
+
default?: unknown;
|
|
273
318
|
description?: string | undefined;
|
|
274
319
|
placeholder?: string | undefined;
|
|
275
320
|
required?: boolean | undefined;
|
|
@@ -336,7 +381,7 @@ export type PluginQuickSetting = z.infer<typeof PluginQuickSettingSchema>;
|
|
|
336
381
|
* These tags are computed from the plugin definition so the UI can reason
|
|
337
382
|
* about plugin roles without hard-coding specific plugin names.
|
|
338
383
|
*/
|
|
339
|
-
export declare const PluginCapabilitySchema: z.ZodEnum<["auto_call_candidate", "auto_call_execution"]>;
|
|
384
|
+
export declare const PluginCapabilitySchema: z.ZodEnum<["auto_call_control", "auto_call_candidate", "auto_call_execution"]>;
|
|
340
385
|
/**
|
|
341
386
|
* Host-derived capability tags exposed to the frontend.
|
|
342
387
|
*/
|
|
@@ -460,6 +505,10 @@ export declare const PluginPanelDescriptorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
460
505
|
* Declarative definition of a plugin-owned panel in the frontend.
|
|
461
506
|
*/
|
|
462
507
|
export type PluginPanelDescriptor = z.infer<typeof PluginPanelDescriptorSchema>;
|
|
508
|
+
/**
|
|
509
|
+
* Plugin instance that owns a runtime panel contribution: the single global
|
|
510
|
+
* instance or one explicitly identified operator instance.
|
|
511
|
+
*/
|
|
463
512
|
export declare const PluginUIPanelContributionTargetSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
464
513
|
kind: z.ZodLiteral<"global">;
|
|
465
514
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -470,11 +519,11 @@ export declare const PluginUIPanelContributionTargetSchema: z.ZodDiscriminatedUn
|
|
|
470
519
|
kind: z.ZodLiteral<"operator">;
|
|
471
520
|
operatorId: z.ZodString;
|
|
472
521
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
operatorId: string;
|
|
474
522
|
kind: "operator";
|
|
475
|
-
}, {
|
|
476
523
|
operatorId: string;
|
|
524
|
+
}, {
|
|
477
525
|
kind: "operator";
|
|
526
|
+
operatorId: string;
|
|
478
527
|
}>]>;
|
|
479
528
|
export type PluginUIPanelContributionTarget = z.infer<typeof PluginUIPanelContributionTargetSchema>;
|
|
480
529
|
/**
|
|
@@ -499,11 +548,11 @@ export declare const PluginUIPanelContributionGroupSchema: z.ZodObject<{
|
|
|
499
548
|
kind: z.ZodLiteral<"operator">;
|
|
500
549
|
operatorId: z.ZodString;
|
|
501
550
|
}, "strip", z.ZodTypeAny, {
|
|
502
|
-
operatorId: string;
|
|
503
551
|
kind: "operator";
|
|
504
|
-
}, {
|
|
505
552
|
operatorId: string;
|
|
553
|
+
}, {
|
|
506
554
|
kind: "operator";
|
|
555
|
+
operatorId: string;
|
|
507
556
|
}>]>>;
|
|
508
557
|
panels: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
509
558
|
id: z.ZodString;
|
|
@@ -587,8 +636,8 @@ export declare const PluginUIPanelContributionGroupSchema: z.ZodObject<{
|
|
|
587
636
|
instanceTarget?: {
|
|
588
637
|
kind: "global";
|
|
589
638
|
} | {
|
|
590
|
-
operatorId: string;
|
|
591
639
|
kind: "operator";
|
|
640
|
+
operatorId: string;
|
|
592
641
|
} | undefined;
|
|
593
642
|
}, {
|
|
594
643
|
pluginName: string;
|
|
@@ -609,8 +658,8 @@ export declare const PluginUIPanelContributionGroupSchema: z.ZodObject<{
|
|
|
609
658
|
instanceTarget?: {
|
|
610
659
|
kind: "global";
|
|
611
660
|
} | {
|
|
612
|
-
operatorId: string;
|
|
613
661
|
kind: "operator";
|
|
662
|
+
operatorId: string;
|
|
614
663
|
} | undefined;
|
|
615
664
|
}>;
|
|
616
665
|
export type PluginUIPanelContributionGroup = z.infer<typeof PluginUIPanelContributionGroupSchema>;
|
|
@@ -743,14 +792,22 @@ export type PluginStorageConfig = z.infer<typeof PluginStorageConfigSchema>;
|
|
|
743
792
|
* host can expose to management UI and diagnostics.
|
|
744
793
|
*/
|
|
745
794
|
export declare const PluginManifestSchema: z.ZodObject<{
|
|
795
|
+
apiVersion: z.ZodOptional<z.ZodLiteral<2>>;
|
|
746
796
|
name: z.ZodString;
|
|
747
797
|
version: z.ZodString;
|
|
748
798
|
type: z.ZodEnum<["strategy", "utility"]>;
|
|
799
|
+
strategyFeatures: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
targetQueue: z.ZodOptional<z.ZodLiteral<1>>;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
targetQueue?: 1 | undefined;
|
|
803
|
+
}, {
|
|
804
|
+
targetQueue?: 1 | undefined;
|
|
805
|
+
}>>;
|
|
749
806
|
instanceScope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["operator", "global"]>>>;
|
|
750
807
|
description: z.ZodOptional<z.ZodString>;
|
|
751
|
-
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">>;
|
|
808
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
|
|
752
809
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
753
|
-
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
|
|
810
|
+
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "keyedObjectArrays", "keyedObjects", "info"]>;
|
|
754
811
|
default: z.ZodUnknown;
|
|
755
812
|
label: z.ZodString;
|
|
756
813
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -774,10 +831,12 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
774
831
|
description: z.ZodOptional<z.ZodString>;
|
|
775
832
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
776
833
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
834
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
777
835
|
}, "strip", z.ZodTypeAny, {
|
|
778
836
|
type: "string" | "number" | "boolean";
|
|
779
837
|
label: string;
|
|
780
838
|
key: string;
|
|
839
|
+
default?: unknown;
|
|
781
840
|
description?: string | undefined;
|
|
782
841
|
placeholder?: string | undefined;
|
|
783
842
|
required?: boolean | undefined;
|
|
@@ -785,11 +844,12 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
785
844
|
label: string;
|
|
786
845
|
key: string;
|
|
787
846
|
type?: "string" | "number" | "boolean" | undefined;
|
|
847
|
+
default?: unknown;
|
|
788
848
|
description?: string | undefined;
|
|
789
849
|
placeholder?: string | undefined;
|
|
790
850
|
required?: boolean | undefined;
|
|
791
851
|
}>, "many">>;
|
|
792
|
-
/** Fixed key list used by generated
|
|
852
|
+
/** Fixed key list used by generated keyed setting editors. */
|
|
793
853
|
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
794
854
|
key: z.ZodString;
|
|
795
855
|
label: z.ZodString;
|
|
@@ -821,7 +881,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
821
881
|
/** 设置作用域:global(所有操作员共享)或 operator(每操作员独立),默认 global */
|
|
822
882
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "operator"]>>>;
|
|
823
883
|
}, "strip", z.ZodTypeAny, {
|
|
824
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
884
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
825
885
|
label: string;
|
|
826
886
|
scope: "operator" | "global";
|
|
827
887
|
keys?: {
|
|
@@ -841,6 +901,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
841
901
|
type: "string" | "number" | "boolean";
|
|
842
902
|
label: string;
|
|
843
903
|
key: string;
|
|
904
|
+
default?: unknown;
|
|
844
905
|
description?: string | undefined;
|
|
845
906
|
placeholder?: string | undefined;
|
|
846
907
|
required?: boolean | undefined;
|
|
@@ -852,7 +913,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
852
913
|
}[] | undefined;
|
|
853
914
|
hidden?: boolean | undefined;
|
|
854
915
|
}, {
|
|
855
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
916
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
856
917
|
label: string;
|
|
857
918
|
keys?: {
|
|
858
919
|
label: string;
|
|
@@ -871,6 +932,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
871
932
|
label: string;
|
|
872
933
|
key: string;
|
|
873
934
|
type?: "string" | "number" | "boolean" | undefined;
|
|
935
|
+
default?: unknown;
|
|
874
936
|
description?: string | undefined;
|
|
875
937
|
placeholder?: string | undefined;
|
|
876
938
|
required?: boolean | undefined;
|
|
@@ -1055,9 +1117,13 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
1055
1117
|
icon?: string | undefined;
|
|
1056
1118
|
}[];
|
|
1057
1119
|
} | undefined;
|
|
1058
|
-
|
|
1120
|
+
apiVersion?: 2 | undefined;
|
|
1121
|
+
strategyFeatures?: {
|
|
1122
|
+
targetQueue?: 1 | undefined;
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
1059
1125
|
settings?: Record<string, {
|
|
1060
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1126
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1061
1127
|
label: string;
|
|
1062
1128
|
scope: "operator" | "global";
|
|
1063
1129
|
keys?: {
|
|
@@ -1077,6 +1143,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
1077
1143
|
type: "string" | "number" | "boolean";
|
|
1078
1144
|
label: string;
|
|
1079
1145
|
key: string;
|
|
1146
|
+
default?: unknown;
|
|
1080
1147
|
description?: string | undefined;
|
|
1081
1148
|
placeholder?: string | undefined;
|
|
1082
1149
|
required?: boolean | undefined;
|
|
@@ -1127,10 +1194,14 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
1127
1194
|
resourceBinding?: "none" | "callsign" | "operator" | undefined;
|
|
1128
1195
|
}[] | undefined;
|
|
1129
1196
|
} | undefined;
|
|
1197
|
+
apiVersion?: 2 | undefined;
|
|
1198
|
+
strategyFeatures?: {
|
|
1199
|
+
targetQueue?: 1 | undefined;
|
|
1200
|
+
} | undefined;
|
|
1130
1201
|
instanceScope?: "operator" | "global" | undefined;
|
|
1131
|
-
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;
|
|
1202
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
1132
1203
|
settings?: Record<string, {
|
|
1133
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1204
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1134
1205
|
label: string;
|
|
1135
1206
|
keys?: {
|
|
1136
1207
|
label: string;
|
|
@@ -1149,6 +1220,7 @@ export declare const PluginManifestSchema: z.ZodObject<{
|
|
|
1149
1220
|
label: string;
|
|
1150
1221
|
key: string;
|
|
1151
1222
|
type?: "string" | "number" | "boolean" | undefined;
|
|
1223
|
+
default?: unknown;
|
|
1152
1224
|
description?: string | undefined;
|
|
1153
1225
|
placeholder?: string | undefined;
|
|
1154
1226
|
required?: boolean | undefined;
|
|
@@ -1213,6 +1285,13 @@ export type PluginLocales = z.infer<typeof PluginLocalesSchema>;
|
|
|
1213
1285
|
export declare const PluginStatusSchema: z.ZodObject<{
|
|
1214
1286
|
name: z.ZodString;
|
|
1215
1287
|
type: z.ZodEnum<["strategy", "utility"]>;
|
|
1288
|
+
strategyFeatures: z.ZodOptional<z.ZodObject<{
|
|
1289
|
+
targetQueue: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1290
|
+
}, "strip", z.ZodTypeAny, {
|
|
1291
|
+
targetQueue?: 1 | undefined;
|
|
1292
|
+
}, {
|
|
1293
|
+
targetQueue?: 1 | undefined;
|
|
1294
|
+
}>>;
|
|
1216
1295
|
instanceScope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["operator", "global"]>>>;
|
|
1217
1296
|
version: z.ZodString;
|
|
1218
1297
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1226,7 +1305,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1226
1305
|
/** 仅对 strategy 插件有意义:当前被哪些 operator 选中 */
|
|
1227
1306
|
assignedOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1228
1307
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1229
|
-
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
|
|
1308
|
+
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "keyedObjectArrays", "keyedObjects", "info"]>;
|
|
1230
1309
|
default: z.ZodUnknown;
|
|
1231
1310
|
label: z.ZodString;
|
|
1232
1311
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1250,10 +1329,12 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1250
1329
|
description: z.ZodOptional<z.ZodString>;
|
|
1251
1330
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1252
1331
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
1253
1333
|
}, "strip", z.ZodTypeAny, {
|
|
1254
1334
|
type: "string" | "number" | "boolean";
|
|
1255
1335
|
label: string;
|
|
1256
1336
|
key: string;
|
|
1337
|
+
default?: unknown;
|
|
1257
1338
|
description?: string | undefined;
|
|
1258
1339
|
placeholder?: string | undefined;
|
|
1259
1340
|
required?: boolean | undefined;
|
|
@@ -1261,11 +1342,12 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1261
1342
|
label: string;
|
|
1262
1343
|
key: string;
|
|
1263
1344
|
type?: "string" | "number" | "boolean" | undefined;
|
|
1345
|
+
default?: unknown;
|
|
1264
1346
|
description?: string | undefined;
|
|
1265
1347
|
placeholder?: string | undefined;
|
|
1266
1348
|
required?: boolean | undefined;
|
|
1267
1349
|
}>, "many">>;
|
|
1268
|
-
/** Fixed key list used by generated
|
|
1350
|
+
/** Fixed key list used by generated keyed setting editors. */
|
|
1269
1351
|
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1270
1352
|
key: z.ZodString;
|
|
1271
1353
|
label: z.ZodString;
|
|
@@ -1297,7 +1379,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1297
1379
|
/** 设置作用域:global(所有操作员共享)或 operator(每操作员独立),默认 global */
|
|
1298
1380
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "operator"]>>>;
|
|
1299
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1300
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1382
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1301
1383
|
label: string;
|
|
1302
1384
|
scope: "operator" | "global";
|
|
1303
1385
|
keys?: {
|
|
@@ -1317,6 +1399,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1317
1399
|
type: "string" | "number" | "boolean";
|
|
1318
1400
|
label: string;
|
|
1319
1401
|
key: string;
|
|
1402
|
+
default?: unknown;
|
|
1320
1403
|
description?: string | undefined;
|
|
1321
1404
|
placeholder?: string | undefined;
|
|
1322
1405
|
required?: boolean | undefined;
|
|
@@ -1328,7 +1411,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1328
1411
|
}[] | undefined;
|
|
1329
1412
|
hidden?: boolean | undefined;
|
|
1330
1413
|
}, {
|
|
1331
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1414
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1332
1415
|
label: string;
|
|
1333
1416
|
keys?: {
|
|
1334
1417
|
label: string;
|
|
@@ -1347,6 +1430,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1347
1430
|
label: string;
|
|
1348
1431
|
key: string;
|
|
1349
1432
|
type?: "string" | "number" | "boolean" | undefined;
|
|
1433
|
+
default?: unknown;
|
|
1350
1434
|
description?: string | undefined;
|
|
1351
1435
|
placeholder?: string | undefined;
|
|
1352
1436
|
required?: boolean | undefined;
|
|
@@ -1442,8 +1526,10 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1442
1526
|
openMode?: "popover" | "modal" | undefined;
|
|
1443
1527
|
uiSize?: "sm" | "md" | "lg" | undefined;
|
|
1444
1528
|
}>, "many">>;
|
|
1445
|
-
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">>;
|
|
1446
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_candidate", "auto_call_execution"]>, "many">>;
|
|
1529
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
|
|
1530
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_control", "auto_call_candidate", "auto_call_execution"]>, "many">>;
|
|
1531
|
+
autoCallEnabledOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1532
|
+
pausedOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1447
1533
|
ui: z.ZodOptional<z.ZodObject<{
|
|
1448
1534
|
/** Static file directory relative to the plugin root (default: 'ui'). */
|
|
1449
1535
|
dir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -1530,6 +1616,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1530
1616
|
loaded: boolean;
|
|
1531
1617
|
autoDisabled: boolean;
|
|
1532
1618
|
errorCount: number;
|
|
1619
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
1533
1620
|
description?: string | undefined;
|
|
1534
1621
|
source?: {
|
|
1535
1622
|
kind: "marketplace";
|
|
@@ -1562,9 +1649,12 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1562
1649
|
icon?: string | undefined;
|
|
1563
1650
|
}[];
|
|
1564
1651
|
} | undefined;
|
|
1565
|
-
|
|
1652
|
+
strategyFeatures?: {
|
|
1653
|
+
targetQueue?: 1 | undefined;
|
|
1654
|
+
} | undefined;
|
|
1655
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
1566
1656
|
settings?: Record<string, {
|
|
1567
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1657
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1568
1658
|
label: string;
|
|
1569
1659
|
scope: "operator" | "global";
|
|
1570
1660
|
keys?: {
|
|
@@ -1584,6 +1674,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1584
1674
|
type: "string" | "number" | "boolean";
|
|
1585
1675
|
label: string;
|
|
1586
1676
|
key: string;
|
|
1677
|
+
default?: unknown;
|
|
1587
1678
|
description?: string | undefined;
|
|
1588
1679
|
placeholder?: string | undefined;
|
|
1589
1680
|
required?: boolean | undefined;
|
|
@@ -1605,7 +1696,8 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1605
1696
|
}[] | undefined;
|
|
1606
1697
|
lastError?: string | undefined;
|
|
1607
1698
|
assignedOperatorIds?: string[] | undefined;
|
|
1608
|
-
|
|
1699
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
1700
|
+
pausedOperatorIds?: string[] | undefined;
|
|
1609
1701
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
1610
1702
|
}, {
|
|
1611
1703
|
type: "strategy" | "utility";
|
|
@@ -1614,6 +1706,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1614
1706
|
version: string;
|
|
1615
1707
|
isBuiltIn: boolean;
|
|
1616
1708
|
errorCount: number;
|
|
1709
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
1617
1710
|
description?: string | undefined;
|
|
1618
1711
|
source?: {
|
|
1619
1712
|
kind: "marketplace";
|
|
@@ -1646,10 +1739,13 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1646
1739
|
resourceBinding?: "none" | "callsign" | "operator" | undefined;
|
|
1647
1740
|
}[] | undefined;
|
|
1648
1741
|
} | undefined;
|
|
1742
|
+
strategyFeatures?: {
|
|
1743
|
+
targetQueue?: 1 | undefined;
|
|
1744
|
+
} | undefined;
|
|
1649
1745
|
instanceScope?: "operator" | "global" | undefined;
|
|
1650
|
-
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;
|
|
1746
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
1651
1747
|
settings?: Record<string, {
|
|
1652
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1748
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1653
1749
|
label: string;
|
|
1654
1750
|
keys?: {
|
|
1655
1751
|
label: string;
|
|
@@ -1668,6 +1764,7 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1668
1764
|
label: string;
|
|
1669
1765
|
key: string;
|
|
1670
1766
|
type?: "string" | "number" | "boolean" | undefined;
|
|
1767
|
+
default?: unknown;
|
|
1671
1768
|
description?: string | undefined;
|
|
1672
1769
|
placeholder?: string | undefined;
|
|
1673
1770
|
required?: boolean | undefined;
|
|
@@ -1692,7 +1789,8 @@ export declare const PluginStatusSchema: z.ZodObject<{
|
|
|
1692
1789
|
autoDisabled?: boolean | undefined;
|
|
1693
1790
|
lastError?: string | undefined;
|
|
1694
1791
|
assignedOperatorIds?: string[] | undefined;
|
|
1695
|
-
|
|
1792
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
1793
|
+
pausedOperatorIds?: string[] | undefined;
|
|
1696
1794
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
1697
1795
|
}>;
|
|
1698
1796
|
/**
|
|
@@ -1764,6 +1862,13 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1764
1862
|
plugins: z.ZodArray<z.ZodObject<{
|
|
1765
1863
|
name: z.ZodString;
|
|
1766
1864
|
type: z.ZodEnum<["strategy", "utility"]>;
|
|
1865
|
+
strategyFeatures: z.ZodOptional<z.ZodObject<{
|
|
1866
|
+
targetQueue: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1867
|
+
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
targetQueue?: 1 | undefined;
|
|
1869
|
+
}, {
|
|
1870
|
+
targetQueue?: 1 | undefined;
|
|
1871
|
+
}>>;
|
|
1767
1872
|
instanceScope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["operator", "global"]>>>;
|
|
1768
1873
|
version: z.ZodString;
|
|
1769
1874
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1777,7 +1882,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1777
1882
|
/** 仅对 strategy 插件有意义:当前被哪些 operator 选中 */
|
|
1778
1883
|
assignedOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1779
1884
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1780
|
-
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "info"]>;
|
|
1885
|
+
type: z.ZodEnum<["boolean", "number", "string", "string[]", "object[]", "keyedStringArrays", "keyedObjectArrays", "keyedObjects", "info"]>;
|
|
1781
1886
|
default: z.ZodUnknown;
|
|
1782
1887
|
label: z.ZodString;
|
|
1783
1888
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1801,10 +1906,12 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1801
1906
|
description: z.ZodOptional<z.ZodString>;
|
|
1802
1907
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1803
1908
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1909
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
1804
1910
|
}, "strip", z.ZodTypeAny, {
|
|
1805
1911
|
type: "string" | "number" | "boolean";
|
|
1806
1912
|
label: string;
|
|
1807
1913
|
key: string;
|
|
1914
|
+
default?: unknown;
|
|
1808
1915
|
description?: string | undefined;
|
|
1809
1916
|
placeholder?: string | undefined;
|
|
1810
1917
|
required?: boolean | undefined;
|
|
@@ -1812,11 +1919,12 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1812
1919
|
label: string;
|
|
1813
1920
|
key: string;
|
|
1814
1921
|
type?: "string" | "number" | "boolean" | undefined;
|
|
1922
|
+
default?: unknown;
|
|
1815
1923
|
description?: string | undefined;
|
|
1816
1924
|
placeholder?: string | undefined;
|
|
1817
1925
|
required?: boolean | undefined;
|
|
1818
1926
|
}>, "many">>;
|
|
1819
|
-
/** Fixed key list used by generated
|
|
1927
|
+
/** Fixed key list used by generated keyed setting editors. */
|
|
1820
1928
|
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1821
1929
|
key: z.ZodString;
|
|
1822
1930
|
label: z.ZodString;
|
|
@@ -1848,7 +1956,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1848
1956
|
/** 设置作用域:global(所有操作员共享)或 operator(每操作员独立),默认 global */
|
|
1849
1957
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "operator"]>>>;
|
|
1850
1958
|
}, "strip", z.ZodTypeAny, {
|
|
1851
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1959
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1852
1960
|
label: string;
|
|
1853
1961
|
scope: "operator" | "global";
|
|
1854
1962
|
keys?: {
|
|
@@ -1868,6 +1976,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1868
1976
|
type: "string" | "number" | "boolean";
|
|
1869
1977
|
label: string;
|
|
1870
1978
|
key: string;
|
|
1979
|
+
default?: unknown;
|
|
1871
1980
|
description?: string | undefined;
|
|
1872
1981
|
placeholder?: string | undefined;
|
|
1873
1982
|
required?: boolean | undefined;
|
|
@@ -1879,7 +1988,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1879
1988
|
}[] | undefined;
|
|
1880
1989
|
hidden?: boolean | undefined;
|
|
1881
1990
|
}, {
|
|
1882
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
1991
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
1883
1992
|
label: string;
|
|
1884
1993
|
keys?: {
|
|
1885
1994
|
label: string;
|
|
@@ -1898,6 +2007,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1898
2007
|
label: string;
|
|
1899
2008
|
key: string;
|
|
1900
2009
|
type?: "string" | "number" | "boolean" | undefined;
|
|
2010
|
+
default?: unknown;
|
|
1901
2011
|
description?: string | undefined;
|
|
1902
2012
|
placeholder?: string | undefined;
|
|
1903
2013
|
required?: boolean | undefined;
|
|
@@ -1993,8 +2103,10 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
1993
2103
|
openMode?: "popover" | "modal" | undefined;
|
|
1994
2104
|
uiSize?: "sm" | "md" | "lg" | undefined;
|
|
1995
2105
|
}>, "many">>;
|
|
1996
|
-
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">>;
|
|
1997
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_candidate", "auto_call_execution"]>, "many">>;
|
|
2106
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>;
|
|
2107
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto_call_control", "auto_call_candidate", "auto_call_execution"]>, "many">>;
|
|
2108
|
+
autoCallEnabledOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2109
|
+
pausedOperatorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1998
2110
|
ui: z.ZodOptional<z.ZodObject<{
|
|
1999
2111
|
/** Static file directory relative to the plugin root (default: 'ui'). */
|
|
2000
2112
|
dir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -2081,6 +2193,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2081
2193
|
loaded: boolean;
|
|
2082
2194
|
autoDisabled: boolean;
|
|
2083
2195
|
errorCount: number;
|
|
2196
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
2084
2197
|
description?: string | undefined;
|
|
2085
2198
|
source?: {
|
|
2086
2199
|
kind: "marketplace";
|
|
@@ -2113,9 +2226,12 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2113
2226
|
icon?: string | undefined;
|
|
2114
2227
|
}[];
|
|
2115
2228
|
} | undefined;
|
|
2116
|
-
|
|
2229
|
+
strategyFeatures?: {
|
|
2230
|
+
targetQueue?: 1 | undefined;
|
|
2231
|
+
} | undefined;
|
|
2232
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2117
2233
|
settings?: Record<string, {
|
|
2118
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
2234
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
2119
2235
|
label: string;
|
|
2120
2236
|
scope: "operator" | "global";
|
|
2121
2237
|
keys?: {
|
|
@@ -2135,6 +2251,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2135
2251
|
type: "string" | "number" | "boolean";
|
|
2136
2252
|
label: string;
|
|
2137
2253
|
key: string;
|
|
2254
|
+
default?: unknown;
|
|
2138
2255
|
description?: string | undefined;
|
|
2139
2256
|
placeholder?: string | undefined;
|
|
2140
2257
|
required?: boolean | undefined;
|
|
@@ -2156,7 +2273,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2156
2273
|
}[] | undefined;
|
|
2157
2274
|
lastError?: string | undefined;
|
|
2158
2275
|
assignedOperatorIds?: string[] | undefined;
|
|
2159
|
-
|
|
2276
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
2277
|
+
pausedOperatorIds?: string[] | undefined;
|
|
2160
2278
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2161
2279
|
}, {
|
|
2162
2280
|
type: "strategy" | "utility";
|
|
@@ -2165,6 +2283,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2165
2283
|
version: string;
|
|
2166
2284
|
isBuiltIn: boolean;
|
|
2167
2285
|
errorCount: number;
|
|
2286
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
2168
2287
|
description?: string | undefined;
|
|
2169
2288
|
source?: {
|
|
2170
2289
|
kind: "marketplace";
|
|
@@ -2197,10 +2316,13 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2197
2316
|
resourceBinding?: "none" | "callsign" | "operator" | undefined;
|
|
2198
2317
|
}[] | undefined;
|
|
2199
2318
|
} | undefined;
|
|
2319
|
+
strategyFeatures?: {
|
|
2320
|
+
targetQueue?: 1 | undefined;
|
|
2321
|
+
} | undefined;
|
|
2200
2322
|
instanceScope?: "operator" | "global" | undefined;
|
|
2201
|
-
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;
|
|
2323
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2202
2324
|
settings?: Record<string, {
|
|
2203
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
2325
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
2204
2326
|
label: string;
|
|
2205
2327
|
keys?: {
|
|
2206
2328
|
label: string;
|
|
@@ -2219,6 +2341,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2219
2341
|
label: string;
|
|
2220
2342
|
key: string;
|
|
2221
2343
|
type?: "string" | "number" | "boolean" | undefined;
|
|
2344
|
+
default?: unknown;
|
|
2222
2345
|
description?: string | undefined;
|
|
2223
2346
|
placeholder?: string | undefined;
|
|
2224
2347
|
required?: boolean | undefined;
|
|
@@ -2243,7 +2366,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2243
2366
|
autoDisabled?: boolean | undefined;
|
|
2244
2367
|
lastError?: string | undefined;
|
|
2245
2368
|
assignedOperatorIds?: string[] | undefined;
|
|
2246
|
-
|
|
2369
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
2370
|
+
pausedOperatorIds?: string[] | undefined;
|
|
2247
2371
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2248
2372
|
}>, "many">;
|
|
2249
2373
|
panelMeta: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2296,11 +2420,11 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2296
2420
|
kind: z.ZodLiteral<"operator">;
|
|
2297
2421
|
operatorId: z.ZodString;
|
|
2298
2422
|
}, "strip", z.ZodTypeAny, {
|
|
2299
|
-
operatorId: string;
|
|
2300
2423
|
kind: "operator";
|
|
2301
|
-
}, {
|
|
2302
2424
|
operatorId: string;
|
|
2425
|
+
}, {
|
|
2303
2426
|
kind: "operator";
|
|
2427
|
+
operatorId: string;
|
|
2304
2428
|
}>]>>;
|
|
2305
2429
|
panels: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2306
2430
|
id: z.ZodString;
|
|
@@ -2384,8 +2508,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2384
2508
|
instanceTarget?: {
|
|
2385
2509
|
kind: "global";
|
|
2386
2510
|
} | {
|
|
2387
|
-
operatorId: string;
|
|
2388
2511
|
kind: "operator";
|
|
2512
|
+
operatorId: string;
|
|
2389
2513
|
} | undefined;
|
|
2390
2514
|
}, {
|
|
2391
2515
|
pluginName: string;
|
|
@@ -2406,8 +2530,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2406
2530
|
instanceTarget?: {
|
|
2407
2531
|
kind: "global";
|
|
2408
2532
|
} | {
|
|
2409
|
-
operatorId: string;
|
|
2410
2533
|
kind: "operator";
|
|
2534
|
+
operatorId: string;
|
|
2411
2535
|
} | undefined;
|
|
2412
2536
|
}>, "many">>>;
|
|
2413
2537
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -2424,6 +2548,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2424
2548
|
loaded: boolean;
|
|
2425
2549
|
autoDisabled: boolean;
|
|
2426
2550
|
errorCount: number;
|
|
2551
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
2427
2552
|
description?: string | undefined;
|
|
2428
2553
|
source?: {
|
|
2429
2554
|
kind: "marketplace";
|
|
@@ -2456,9 +2581,12 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2456
2581
|
icon?: string | undefined;
|
|
2457
2582
|
}[];
|
|
2458
2583
|
} | undefined;
|
|
2459
|
-
|
|
2584
|
+
strategyFeatures?: {
|
|
2585
|
+
targetQueue?: 1 | undefined;
|
|
2586
|
+
} | undefined;
|
|
2587
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2460
2588
|
settings?: Record<string, {
|
|
2461
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
2589
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
2462
2590
|
label: string;
|
|
2463
2591
|
scope: "operator" | "global";
|
|
2464
2592
|
keys?: {
|
|
@@ -2478,6 +2606,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2478
2606
|
type: "string" | "number" | "boolean";
|
|
2479
2607
|
label: string;
|
|
2480
2608
|
key: string;
|
|
2609
|
+
default?: unknown;
|
|
2481
2610
|
description?: string | undefined;
|
|
2482
2611
|
placeholder?: string | undefined;
|
|
2483
2612
|
required?: boolean | undefined;
|
|
@@ -2499,7 +2628,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2499
2628
|
}[] | undefined;
|
|
2500
2629
|
lastError?: string | undefined;
|
|
2501
2630
|
assignedOperatorIds?: string[] | undefined;
|
|
2502
|
-
|
|
2631
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
2632
|
+
pausedOperatorIds?: string[] | undefined;
|
|
2503
2633
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2504
2634
|
}[];
|
|
2505
2635
|
panelMeta: {
|
|
@@ -2531,8 +2661,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2531
2661
|
instanceTarget?: {
|
|
2532
2662
|
kind: "global";
|
|
2533
2663
|
} | {
|
|
2534
|
-
operatorId: string;
|
|
2535
2664
|
kind: "operator";
|
|
2665
|
+
operatorId: string;
|
|
2536
2666
|
} | undefined;
|
|
2537
2667
|
}[];
|
|
2538
2668
|
lastError?: string | undefined;
|
|
@@ -2546,6 +2676,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2546
2676
|
version: string;
|
|
2547
2677
|
isBuiltIn: boolean;
|
|
2548
2678
|
errorCount: number;
|
|
2679
|
+
capabilities?: ("auto_call_control" | "auto_call_candidate" | "auto_call_execution")[] | undefined;
|
|
2549
2680
|
description?: string | undefined;
|
|
2550
2681
|
source?: {
|
|
2551
2682
|
kind: "marketplace";
|
|
@@ -2578,10 +2709,13 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2578
2709
|
resourceBinding?: "none" | "callsign" | "operator" | undefined;
|
|
2579
2710
|
}[] | undefined;
|
|
2580
2711
|
} | undefined;
|
|
2712
|
+
strategyFeatures?: {
|
|
2713
|
+
targetQueue?: 1 | undefined;
|
|
2714
|
+
} | undefined;
|
|
2581
2715
|
instanceScope?: "operator" | "global" | undefined;
|
|
2582
|
-
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;
|
|
2716
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2583
2717
|
settings?: Record<string, {
|
|
2584
|
-
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "info";
|
|
2718
|
+
type: "string" | "number" | "boolean" | "string[]" | "object[]" | "keyedStringArrays" | "keyedObjectArrays" | "keyedObjects" | "info";
|
|
2585
2719
|
label: string;
|
|
2586
2720
|
keys?: {
|
|
2587
2721
|
label: string;
|
|
@@ -2600,6 +2734,7 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2600
2734
|
label: string;
|
|
2601
2735
|
key: string;
|
|
2602
2736
|
type?: "string" | "number" | "boolean" | undefined;
|
|
2737
|
+
default?: unknown;
|
|
2603
2738
|
description?: string | undefined;
|
|
2604
2739
|
placeholder?: string | undefined;
|
|
2605
2740
|
required?: boolean | undefined;
|
|
@@ -2624,7 +2759,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2624
2759
|
autoDisabled?: boolean | undefined;
|
|
2625
2760
|
lastError?: string | undefined;
|
|
2626
2761
|
assignedOperatorIds?: string[] | undefined;
|
|
2627
|
-
|
|
2762
|
+
autoCallEnabledOperatorIds?: string[] | undefined;
|
|
2763
|
+
pausedOperatorIds?: string[] | undefined;
|
|
2628
2764
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2629
2765
|
}[];
|
|
2630
2766
|
lastError?: string | undefined;
|
|
@@ -2657,8 +2793,8 @@ export declare const PluginSystemSnapshotSchema: z.ZodObject<{
|
|
|
2657
2793
|
instanceTarget?: {
|
|
2658
2794
|
kind: "global";
|
|
2659
2795
|
} | {
|
|
2660
|
-
operatorId: string;
|
|
2661
2796
|
kind: "operator";
|
|
2797
|
+
operatorId: string;
|
|
2662
2798
|
} | undefined;
|
|
2663
2799
|
}[] | undefined;
|
|
2664
2800
|
}>;
|
|
@@ -2723,6 +2859,8 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
|
|
|
2723
2859
|
name: z.ZodString;
|
|
2724
2860
|
title: z.ZodString;
|
|
2725
2861
|
description: z.ZodString;
|
|
2862
|
+
readmeMarkdown: z.ZodOptional<z.ZodString>;
|
|
2863
|
+
readmeSourceUrl: z.ZodOptional<z.ZodString>;
|
|
2726
2864
|
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2727
2865
|
latestVersion: z.ZodString;
|
|
2728
2866
|
minHostVersion: z.ZodString;
|
|
@@ -2732,7 +2870,7 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
|
|
|
2732
2870
|
homepage: z.ZodOptional<z.ZodString>;
|
|
2733
2871
|
categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2734
2872
|
keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2735
|
-
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">>>;
|
|
2873
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
|
|
2736
2874
|
screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2737
2875
|
src: z.ZodString;
|
|
2738
2876
|
alt: z.ZodOptional<z.ZodString>;
|
|
@@ -2751,7 +2889,7 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
|
|
|
2751
2889
|
name: string;
|
|
2752
2890
|
description: string;
|
|
2753
2891
|
title: string;
|
|
2754
|
-
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")[];
|
|
2892
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
2755
2893
|
artifactUrl: string;
|
|
2756
2894
|
sha256: string;
|
|
2757
2895
|
latestVersion: string;
|
|
@@ -2765,6 +2903,8 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
|
|
|
2765
2903
|
size: number;
|
|
2766
2904
|
publishedAt: string;
|
|
2767
2905
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2906
|
+
readmeMarkdown?: string | undefined;
|
|
2907
|
+
readmeSourceUrl?: string | undefined;
|
|
2768
2908
|
author?: string | undefined;
|
|
2769
2909
|
license?: string | undefined;
|
|
2770
2910
|
repository?: string | undefined;
|
|
@@ -2779,8 +2919,10 @@ export declare const PluginMarketCatalogEntrySchema: z.ZodObject<{
|
|
|
2779
2919
|
minHostVersion: string;
|
|
2780
2920
|
size: number;
|
|
2781
2921
|
publishedAt: string;
|
|
2782
|
-
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;
|
|
2922
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2783
2923
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2924
|
+
readmeMarkdown?: string | undefined;
|
|
2925
|
+
readmeSourceUrl?: string | undefined;
|
|
2784
2926
|
author?: string | undefined;
|
|
2785
2927
|
license?: string | undefined;
|
|
2786
2928
|
repository?: string | undefined;
|
|
@@ -2801,6 +2943,8 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2801
2943
|
name: z.ZodString;
|
|
2802
2944
|
title: z.ZodString;
|
|
2803
2945
|
description: z.ZodString;
|
|
2946
|
+
readmeMarkdown: z.ZodOptional<z.ZodString>;
|
|
2947
|
+
readmeSourceUrl: z.ZodOptional<z.ZodString>;
|
|
2804
2948
|
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2805
2949
|
latestVersion: z.ZodString;
|
|
2806
2950
|
minHostVersion: z.ZodString;
|
|
@@ -2810,7 +2954,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2810
2954
|
homepage: z.ZodOptional<z.ZodString>;
|
|
2811
2955
|
categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2812
2956
|
keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2813
|
-
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">>>;
|
|
2957
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
|
|
2814
2958
|
screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2815
2959
|
src: z.ZodString;
|
|
2816
2960
|
alt: z.ZodOptional<z.ZodString>;
|
|
@@ -2829,7 +2973,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2829
2973
|
name: string;
|
|
2830
2974
|
description: string;
|
|
2831
2975
|
title: string;
|
|
2832
|
-
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")[];
|
|
2976
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
2833
2977
|
artifactUrl: string;
|
|
2834
2978
|
sha256: string;
|
|
2835
2979
|
latestVersion: string;
|
|
@@ -2843,6 +2987,8 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2843
2987
|
size: number;
|
|
2844
2988
|
publishedAt: string;
|
|
2845
2989
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
2990
|
+
readmeMarkdown?: string | undefined;
|
|
2991
|
+
readmeSourceUrl?: string | undefined;
|
|
2846
2992
|
author?: string | undefined;
|
|
2847
2993
|
license?: string | undefined;
|
|
2848
2994
|
repository?: string | undefined;
|
|
@@ -2857,8 +3003,10 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2857
3003
|
minHostVersion: string;
|
|
2858
3004
|
size: number;
|
|
2859
3005
|
publishedAt: string;
|
|
2860
|
-
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;
|
|
3006
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2861
3007
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3008
|
+
readmeMarkdown?: string | undefined;
|
|
3009
|
+
readmeSourceUrl?: string | undefined;
|
|
2862
3010
|
author?: string | undefined;
|
|
2863
3011
|
license?: string | undefined;
|
|
2864
3012
|
repository?: string | undefined;
|
|
@@ -2876,7 +3024,7 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2876
3024
|
name: string;
|
|
2877
3025
|
description: string;
|
|
2878
3026
|
title: string;
|
|
2879
|
-
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")[];
|
|
3027
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
2880
3028
|
artifactUrl: string;
|
|
2881
3029
|
sha256: string;
|
|
2882
3030
|
latestVersion: string;
|
|
@@ -2890,6 +3038,8 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2890
3038
|
size: number;
|
|
2891
3039
|
publishedAt: string;
|
|
2892
3040
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3041
|
+
readmeMarkdown?: string | undefined;
|
|
3042
|
+
readmeSourceUrl?: string | undefined;
|
|
2893
3043
|
author?: string | undefined;
|
|
2894
3044
|
license?: string | undefined;
|
|
2895
3045
|
repository?: string | undefined;
|
|
@@ -2909,8 +3059,10 @@ export declare const PluginMarketCatalogSchema: z.ZodObject<{
|
|
|
2909
3059
|
minHostVersion: string;
|
|
2910
3060
|
size: number;
|
|
2911
3061
|
publishedAt: string;
|
|
2912
|
-
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;
|
|
3062
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2913
3063
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3064
|
+
readmeMarkdown?: string | undefined;
|
|
3065
|
+
readmeSourceUrl?: string | undefined;
|
|
2914
3066
|
author?: string | undefined;
|
|
2915
3067
|
license?: string | undefined;
|
|
2916
3068
|
repository?: string | undefined;
|
|
@@ -2935,6 +3087,8 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
2935
3087
|
name: z.ZodString;
|
|
2936
3088
|
title: z.ZodString;
|
|
2937
3089
|
description: z.ZodString;
|
|
3090
|
+
readmeMarkdown: z.ZodOptional<z.ZodString>;
|
|
3091
|
+
readmeSourceUrl: z.ZodOptional<z.ZodString>;
|
|
2938
3092
|
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2939
3093
|
latestVersion: z.ZodString;
|
|
2940
3094
|
minHostVersion: z.ZodString;
|
|
@@ -2944,7 +3098,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
2944
3098
|
homepage: z.ZodOptional<z.ZodString>;
|
|
2945
3099
|
categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2946
3100
|
keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2947
|
-
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">>>;
|
|
3101
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
|
|
2948
3102
|
screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2949
3103
|
src: z.ZodString;
|
|
2950
3104
|
alt: z.ZodOptional<z.ZodString>;
|
|
@@ -2963,7 +3117,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
2963
3117
|
name: string;
|
|
2964
3118
|
description: string;
|
|
2965
3119
|
title: string;
|
|
2966
|
-
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")[];
|
|
3120
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
2967
3121
|
artifactUrl: string;
|
|
2968
3122
|
sha256: string;
|
|
2969
3123
|
latestVersion: string;
|
|
@@ -2977,6 +3131,8 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
2977
3131
|
size: number;
|
|
2978
3132
|
publishedAt: string;
|
|
2979
3133
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3134
|
+
readmeMarkdown?: string | undefined;
|
|
3135
|
+
readmeSourceUrl?: string | undefined;
|
|
2980
3136
|
author?: string | undefined;
|
|
2981
3137
|
license?: string | undefined;
|
|
2982
3138
|
repository?: string | undefined;
|
|
@@ -2991,8 +3147,10 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
2991
3147
|
minHostVersion: string;
|
|
2992
3148
|
size: number;
|
|
2993
3149
|
publishedAt: string;
|
|
2994
|
-
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;
|
|
3150
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
2995
3151
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3152
|
+
readmeMarkdown?: string | undefined;
|
|
3153
|
+
readmeSourceUrl?: string | undefined;
|
|
2996
3154
|
author?: string | undefined;
|
|
2997
3155
|
license?: string | undefined;
|
|
2998
3156
|
repository?: string | undefined;
|
|
@@ -3010,7 +3168,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3010
3168
|
name: string;
|
|
3011
3169
|
description: string;
|
|
3012
3170
|
title: string;
|
|
3013
|
-
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")[];
|
|
3171
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
3014
3172
|
artifactUrl: string;
|
|
3015
3173
|
sha256: string;
|
|
3016
3174
|
latestVersion: string;
|
|
@@ -3024,6 +3182,8 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3024
3182
|
size: number;
|
|
3025
3183
|
publishedAt: string;
|
|
3026
3184
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3185
|
+
readmeMarkdown?: string | undefined;
|
|
3186
|
+
readmeSourceUrl?: string | undefined;
|
|
3027
3187
|
author?: string | undefined;
|
|
3028
3188
|
license?: string | undefined;
|
|
3029
3189
|
repository?: string | undefined;
|
|
@@ -3043,8 +3203,10 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3043
3203
|
minHostVersion: string;
|
|
3044
3204
|
size: number;
|
|
3045
3205
|
publishedAt: string;
|
|
3046
|
-
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;
|
|
3206
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
3047
3207
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3208
|
+
readmeMarkdown?: string | undefined;
|
|
3209
|
+
readmeSourceUrl?: string | undefined;
|
|
3048
3210
|
author?: string | undefined;
|
|
3049
3211
|
license?: string | undefined;
|
|
3050
3212
|
repository?: string | undefined;
|
|
@@ -3067,7 +3229,7 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3067
3229
|
name: string;
|
|
3068
3230
|
description: string;
|
|
3069
3231
|
title: string;
|
|
3070
|
-
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")[];
|
|
3232
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
3071
3233
|
artifactUrl: string;
|
|
3072
3234
|
sha256: string;
|
|
3073
3235
|
latestVersion: string;
|
|
@@ -3081,6 +3243,8 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3081
3243
|
size: number;
|
|
3082
3244
|
publishedAt: string;
|
|
3083
3245
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3246
|
+
readmeMarkdown?: string | undefined;
|
|
3247
|
+
readmeSourceUrl?: string | undefined;
|
|
3084
3248
|
author?: string | undefined;
|
|
3085
3249
|
license?: string | undefined;
|
|
3086
3250
|
repository?: string | undefined;
|
|
@@ -3103,8 +3267,10 @@ export declare const PluginMarketCatalogResponseSchema: z.ZodObject<{
|
|
|
3103
3267
|
minHostVersion: string;
|
|
3104
3268
|
size: number;
|
|
3105
3269
|
publishedAt: string;
|
|
3106
|
-
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;
|
|
3270
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
3107
3271
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3272
|
+
readmeMarkdown?: string | undefined;
|
|
3273
|
+
readmeSourceUrl?: string | undefined;
|
|
3108
3274
|
author?: string | undefined;
|
|
3109
3275
|
license?: string | undefined;
|
|
3110
3276
|
repository?: string | undefined;
|
|
@@ -3127,6 +3293,8 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3127
3293
|
name: z.ZodString;
|
|
3128
3294
|
title: z.ZodString;
|
|
3129
3295
|
description: z.ZodString;
|
|
3296
|
+
readmeMarkdown: z.ZodOptional<z.ZodString>;
|
|
3297
|
+
readmeSourceUrl: z.ZodOptional<z.ZodString>;
|
|
3130
3298
|
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3131
3299
|
latestVersion: z.ZodString;
|
|
3132
3300
|
minHostVersion: z.ZodString;
|
|
@@ -3136,7 +3304,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3136
3304
|
homepage: z.ZodOptional<z.ZodString>;
|
|
3137
3305
|
categories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3138
3306
|
keywords: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3139
|
-
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">>>;
|
|
3307
|
+
permissions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["network", "plugin:event-bus", "host:hamlib", "operator:transmit-control", "radio:read", "radio:control", "radio:tuner-control", "radio:power", "logbook:read", "logbook:write", "logbook:sync", "settings:ft8", "settings:decode-windows", "settings:realtime", "settings:frequency-presets", "settings:station", "settings:psk-reporter", "settings:ntp"]>, "many">>>;
|
|
3140
3308
|
screenshots: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3141
3309
|
src: z.ZodString;
|
|
3142
3310
|
alt: z.ZodOptional<z.ZodString>;
|
|
@@ -3155,7 +3323,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3155
3323
|
name: string;
|
|
3156
3324
|
description: string;
|
|
3157
3325
|
title: string;
|
|
3158
|
-
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")[];
|
|
3326
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
3159
3327
|
artifactUrl: string;
|
|
3160
3328
|
sha256: string;
|
|
3161
3329
|
latestVersion: string;
|
|
@@ -3169,6 +3337,8 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3169
3337
|
size: number;
|
|
3170
3338
|
publishedAt: string;
|
|
3171
3339
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3340
|
+
readmeMarkdown?: string | undefined;
|
|
3341
|
+
readmeSourceUrl?: string | undefined;
|
|
3172
3342
|
author?: string | undefined;
|
|
3173
3343
|
license?: string | undefined;
|
|
3174
3344
|
repository?: string | undefined;
|
|
@@ -3183,8 +3353,10 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3183
3353
|
minHostVersion: string;
|
|
3184
3354
|
size: number;
|
|
3185
3355
|
publishedAt: string;
|
|
3186
|
-
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;
|
|
3356
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
3187
3357
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3358
|
+
readmeMarkdown?: string | undefined;
|
|
3359
|
+
readmeSourceUrl?: string | undefined;
|
|
3188
3360
|
author?: string | undefined;
|
|
3189
3361
|
license?: string | undefined;
|
|
3190
3362
|
repository?: string | undefined;
|
|
@@ -3205,7 +3377,7 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3205
3377
|
name: string;
|
|
3206
3378
|
description: string;
|
|
3207
3379
|
title: string;
|
|
3208
|
-
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")[];
|
|
3380
|
+
permissions: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[];
|
|
3209
3381
|
artifactUrl: string;
|
|
3210
3382
|
sha256: string;
|
|
3211
3383
|
latestVersion: string;
|
|
@@ -3219,6 +3391,8 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3219
3391
|
size: number;
|
|
3220
3392
|
publishedAt: string;
|
|
3221
3393
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3394
|
+
readmeMarkdown?: string | undefined;
|
|
3395
|
+
readmeSourceUrl?: string | undefined;
|
|
3222
3396
|
author?: string | undefined;
|
|
3223
3397
|
license?: string | undefined;
|
|
3224
3398
|
repository?: string | undefined;
|
|
@@ -3237,8 +3411,10 @@ export declare const PluginMarketCatalogEntryResponseSchema: z.ZodObject<{
|
|
|
3237
3411
|
minHostVersion: string;
|
|
3238
3412
|
size: number;
|
|
3239
3413
|
publishedAt: string;
|
|
3240
|
-
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;
|
|
3414
|
+
permissions?: ("network" | "plugin:event-bus" | "host:hamlib" | "operator:transmit-control" | "radio:read" | "radio:control" | "radio:tuner-control" | "radio:power" | "logbook:read" | "logbook:write" | "logbook:sync" | "settings:ft8" | "settings:decode-windows" | "settings:realtime" | "settings:frequency-presets" | "settings:station" | "settings:psk-reporter" | "settings:ntp")[] | undefined;
|
|
3241
3415
|
locales?: Record<string, Record<string, string>> | undefined;
|
|
3416
|
+
readmeMarkdown?: string | undefined;
|
|
3417
|
+
readmeSourceUrl?: string | undefined;
|
|
3242
3418
|
author?: string | undefined;
|
|
3243
3419
|
license?: string | undefined;
|
|
3244
3420
|
repository?: string | undefined;
|
|
@@ -3340,6 +3516,8 @@ export declare const PluginsConfigSchema: z.ZodObject<{
|
|
|
3340
3516
|
operatorStrategies: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3341
3517
|
/** 每操作员的 operator scope plugin settings:operatorId → pluginName → settings */
|
|
3342
3518
|
operatorSettings: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
3519
|
+
/** 每操作员暂停的 transmit-control 插件:operatorId → pluginName[] */
|
|
3520
|
+
operatorPluginPauses: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
|
|
3343
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3344
3522
|
configs: Record<string, {
|
|
3345
3523
|
enabled: boolean;
|
|
@@ -3347,6 +3525,7 @@ export declare const PluginsConfigSchema: z.ZodObject<{
|
|
|
3347
3525
|
}>;
|
|
3348
3526
|
operatorStrategies: Record<string, string>;
|
|
3349
3527
|
operatorSettings: Record<string, Record<string, Record<string, unknown>>>;
|
|
3528
|
+
operatorPluginPauses: Record<string, string[]>;
|
|
3350
3529
|
}, {
|
|
3351
3530
|
configs?: Record<string, {
|
|
3352
3531
|
enabled: boolean;
|
|
@@ -3354,6 +3533,7 @@ export declare const PluginsConfigSchema: z.ZodObject<{
|
|
|
3354
3533
|
}> | undefined;
|
|
3355
3534
|
operatorStrategies?: Record<string, string> | undefined;
|
|
3356
3535
|
operatorSettings?: Record<string, Record<string, Record<string, unknown>>> | undefined;
|
|
3536
|
+
operatorPluginPauses?: Record<string, string[]> | undefined;
|
|
3357
3537
|
}>;
|
|
3358
3538
|
export type PluginsConfig = z.infer<typeof PluginsConfigSchema>;
|
|
3359
3539
|
/**
|