@camstack/types 1.2.322 → 1.2.324
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/addon.js +3 -14
- package/dist/addon.mjs +3 -14
- package/dist/capabilities/addons.cap.d.ts +156 -2
- package/dist/capabilities/broker.cap.d.ts +4 -4
- package/dist/capabilities/decoder.cap.d.ts +0 -211
- package/dist/capabilities/device-manager.cap.d.ts +4 -4
- package/dist/capabilities/index.d.ts +7 -7
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/local-network.cap.d.ts +11 -11
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/mqtt-broker.cap.d.ts +3 -3
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +9 -13
- package/dist/capabilities/pipeline-runner.cap.d.ts +0 -2
- package/dist/capabilities/recording.cap.d.ts +3 -3
- package/dist/capabilities/schemas/streaming-shared.d.ts +9 -79
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/stream-broker.cap.d.ts +0 -85
- package/dist/capabilities/videoclips.cap.d.ts +3 -3
- package/dist/capabilities/webrtc-session.cap.d.ts +0 -2
- package/dist/client.js +3 -80
- package/dist/client.mjs +3 -80
- package/dist/enums/event-category.d.ts +0 -9
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-BGmz_oxW.mjs → event-category-B_0XEcLF.mjs} +0 -9
- package/dist/{event-category-DmS_tLsU.js → event-category-CtBAl88K.js} +0 -9
- package/dist/ffmpeg/hwaccel.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +7 -105
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +3 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +115 -292
- package/dist/index.mjs +111 -284
- package/dist/interfaces/api-responses.d.ts +0 -19
- package/dist/interfaces/capability.d.ts +1 -2
- package/dist/interfaces/event-bus.d.ts +0 -13
- package/dist/interfaces/pipeline-runner-capability.d.ts +0 -1
- package/dist/interfaces/stream-broker.d.ts +2 -67
- package/dist/{sleep-DAJ9Er57.mjs → sleep-BNeXenvr.mjs} +11 -86
- package/dist/{sleep-AalHiRYL.js → sleep-DPar9AHl.js} +10 -115
- package/package.json +1 -1
- package/dist/interfaces/decoder.d.ts +0 -89
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
3
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_sleep = require("./sleep-DPar9AHl.js");
|
|
3
|
+
const require_event_category = require("./event-category-CtBAl88K.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-Dx2Kor0g.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
|
@@ -16,7 +16,7 @@ const require_err_msg = require("./err-msg-Dx2Kor0g.js");
|
|
|
16
16
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
17
17
|
* (~144MB RSS per runner — D28).
|
|
18
18
|
*
|
|
19
|
-
* Coverage:
|
|
19
|
+
* Coverage: 24 caps, 59 methods with defaults.
|
|
20
20
|
*/
|
|
21
21
|
var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
22
22
|
"addons": { "getLogs": { "limit": 100 } },
|
|
@@ -35,16 +35,6 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
35
35
|
"pullPcm": { "maxCount": 8 }
|
|
36
36
|
},
|
|
37
37
|
"battery": { "wakeForStream": { "timeoutMs": 8e3 } },
|
|
38
|
-
"decoder": {
|
|
39
|
-
"createSession": {
|
|
40
|
-
"maxFps": 0,
|
|
41
|
-
"outputFormat": "jpeg",
|
|
42
|
-
"scale": 1,
|
|
43
|
-
"frameSink": "callback"
|
|
44
|
-
},
|
|
45
|
-
"pullFrames": { "maxCount": 1 },
|
|
46
|
-
"pullHandles": { "maxCount": 1 }
|
|
47
|
-
},
|
|
48
38
|
"device-adoption": { "listCandidates": {
|
|
49
39
|
"page": 1,
|
|
50
40
|
"pageSize": 50
|
|
@@ -232,7 +222,6 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
232
222
|
"speed": 4
|
|
233
223
|
},
|
|
234
224
|
"pullAudioChunks": { "maxCount": 8 },
|
|
235
|
-
"pullFrameHandles": { "maxCount": 4 },
|
|
236
225
|
"renderPreBufferClip": {
|
|
237
226
|
"preRollSec": 3,
|
|
238
227
|
"postRollSec": 5,
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { B as nodePin, Ct as DisposerChain, D as adminUiCapability, N as expandCapMethods, S as DEVICE_CHILDREN_BATCH_MAX, T as describeCustomActions, Tt as normalizeAddonInitResult, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, _t as PEER_BYTES_MAX_OUTSTANDING, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, gt as PEER_BYTES_CHUNK_BYTES, h as createEventBusSliceSource, kt as emitReadiness, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, vt as PEER_BYTES_STALL_MS, wt as BaseAddon, x as viewerUiCapability, xt as DATAPLANE_SECRET_HEADER, yt as PEER_BYTES_TICKET_TTL_MS } from "./sleep-BNeXenvr.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-B_0XEcLF.mjs";
|
|
3
3
|
import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
@@ -15,7 +15,7 @@ import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
|
|
|
15
15
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
16
16
|
* (~144MB RSS per runner — D28).
|
|
17
17
|
*
|
|
18
|
-
* Coverage:
|
|
18
|
+
* Coverage: 24 caps, 59 methods with defaults.
|
|
19
19
|
*/
|
|
20
20
|
var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
21
21
|
"addons": { "getLogs": { "limit": 100 } },
|
|
@@ -34,16 +34,6 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
34
34
|
"pullPcm": { "maxCount": 8 }
|
|
35
35
|
},
|
|
36
36
|
"battery": { "wakeForStream": { "timeoutMs": 8e3 } },
|
|
37
|
-
"decoder": {
|
|
38
|
-
"createSession": {
|
|
39
|
-
"maxFps": 0,
|
|
40
|
-
"outputFormat": "jpeg",
|
|
41
|
-
"scale": 1,
|
|
42
|
-
"frameSink": "callback"
|
|
43
|
-
},
|
|
44
|
-
"pullFrames": { "maxCount": 1 },
|
|
45
|
-
"pullHandles": { "maxCount": 1 }
|
|
46
|
-
},
|
|
47
37
|
"device-adoption": { "listCandidates": {
|
|
48
38
|
"page": 1,
|
|
49
39
|
"pageSize": 50
|
|
@@ -231,7 +221,6 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
231
221
|
"speed": 4
|
|
232
222
|
},
|
|
233
223
|
"pullAudioChunks": { "maxCount": 8 },
|
|
234
|
-
"pullFrameHandles": { "maxCount": 4 },
|
|
235
224
|
"renderPreBufferClip": {
|
|
236
225
|
"preRollSec": 3,
|
|
237
226
|
"postRollSec": 5,
|
|
@@ -128,6 +128,103 @@ declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
|
128
128
|
beta: "beta";
|
|
129
129
|
inherit: "inherit";
|
|
130
130
|
}>;
|
|
131
|
+
/**
|
|
132
|
+
* What an uninstall did on ONE node.
|
|
133
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
134
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
135
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
136
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
137
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
138
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
139
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
140
|
+
*/
|
|
141
|
+
declare const UninstallNodeOutcomeSchema: z.ZodEnum<{
|
|
142
|
+
failed: "failed";
|
|
143
|
+
refused: "refused";
|
|
144
|
+
uninstalled: "uninstalled";
|
|
145
|
+
"not-installed": "not-installed";
|
|
146
|
+
"pending-reconnect": "pending-reconnect";
|
|
147
|
+
}>;
|
|
148
|
+
declare const UninstallNodeResultSchema: z.ZodObject<{
|
|
149
|
+
nodeId: z.ZodString;
|
|
150
|
+
outcome: z.ZodEnum<{
|
|
151
|
+
failed: "failed";
|
|
152
|
+
refused: "refused";
|
|
153
|
+
uninstalled: "uninstalled";
|
|
154
|
+
"not-installed": "not-installed";
|
|
155
|
+
"pending-reconnect": "pending-reconnect";
|
|
156
|
+
}>;
|
|
157
|
+
error: z.ZodOptional<z.ZodString>;
|
|
158
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
159
|
+
runnersStopped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
160
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
declare const UninstallPackageResultSchema: z.ZodObject<{
|
|
163
|
+
success: z.ZodBoolean;
|
|
164
|
+
packageName: z.ZodString;
|
|
165
|
+
results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
166
|
+
nodeId: z.ZodString;
|
|
167
|
+
outcome: z.ZodEnum<{
|
|
168
|
+
failed: "failed";
|
|
169
|
+
refused: "refused";
|
|
170
|
+
uninstalled: "uninstalled";
|
|
171
|
+
"not-installed": "not-installed";
|
|
172
|
+
"pending-reconnect": "pending-reconnect";
|
|
173
|
+
}>;
|
|
174
|
+
error: z.ZodOptional<z.ZodString>;
|
|
175
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
176
|
+
runnersStopped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
177
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
178
|
+
}, z.core.$strip>>>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
/**
|
|
181
|
+
* One node that has a package. `source: 'live'` = the node answered now (the
|
|
182
|
+
* hub's installer, or an agent's `$agent.status`); `'recorded'` = an offline
|
|
183
|
+
* node's last declared roster — the copy may or may not still be on disk.
|
|
184
|
+
*/
|
|
185
|
+
declare const PackageInstallationSchema: z.ZodObject<{
|
|
186
|
+
packageName: z.ZodString;
|
|
187
|
+
nodeId: z.ZodString;
|
|
188
|
+
nodeName: z.ZodString;
|
|
189
|
+
isHub: z.ZodBoolean;
|
|
190
|
+
isOnline: z.ZodBoolean;
|
|
191
|
+
version: z.ZodNullable<z.ZodString>;
|
|
192
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
193
|
+
source: z.ZodEnum<{
|
|
194
|
+
live: "live";
|
|
195
|
+
recorded: "recorded";
|
|
196
|
+
}>;
|
|
197
|
+
onHub: z.ZodBoolean;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
/**
|
|
200
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
201
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
202
|
+
*/
|
|
203
|
+
declare const PackageInstallationsSchema: z.ZodObject<{
|
|
204
|
+
installations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
205
|
+
packageName: z.ZodString;
|
|
206
|
+
nodeId: z.ZodString;
|
|
207
|
+
nodeName: z.ZodString;
|
|
208
|
+
isHub: z.ZodBoolean;
|
|
209
|
+
isOnline: z.ZodBoolean;
|
|
210
|
+
version: z.ZodNullable<z.ZodString>;
|
|
211
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
212
|
+
source: z.ZodEnum<{
|
|
213
|
+
live: "live";
|
|
214
|
+
recorded: "recorded";
|
|
215
|
+
}>;
|
|
216
|
+
onHub: z.ZodBoolean;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
218
|
+
unreachable: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
219
|
+
nodeId: z.ZodString;
|
|
220
|
+
error: z.ZodString;
|
|
221
|
+
}, z.core.$strip>>>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
export type UninstallNodeOutcome = z.infer<typeof UninstallNodeOutcomeSchema>;
|
|
224
|
+
export type UninstallNodeResult = z.infer<typeof UninstallNodeResultSchema>;
|
|
225
|
+
export type UninstallPackageResult = z.infer<typeof UninstallPackageResultSchema>;
|
|
226
|
+
export type PackageInstallation = z.infer<typeof PackageInstallationSchema>;
|
|
227
|
+
export type PackageInstallations = z.infer<typeof PackageInstallationsSchema>;
|
|
131
228
|
declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
|
|
132
229
|
queued: "queued";
|
|
133
230
|
done: "done";
|
|
@@ -310,9 +407,66 @@ export declare const addonsCapability: {
|
|
|
310
407
|
}, z.core.$strip>, z.ZodUnknown, "mutation">;
|
|
311
408
|
readonly isWorkspaceAvailable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
|
|
312
409
|
readonly listWorkspacePackages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodUnknown>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
410
|
+
/**
|
|
411
|
+
* Uninstall a package. `nodeId` omitted (or `'hub'`) uninstalls on the hub
|
|
412
|
+
* — the original behaviour, which still THROWS on failure. An agent
|
|
413
|
+
* `nodeId` removes it from that agent through `$agent.undeploy`
|
|
414
|
+
* (runners stopped, caps deregistered, code deleted) and prunes the node's
|
|
415
|
+
* declared roster so the back-fill never returns it. `everywhere: true`
|
|
416
|
+
* does both for every node that has it (agents first, hub last); offline
|
|
417
|
+
* nodes answer `pending-reconnect`. Node-level failures in those two modes
|
|
418
|
+
* are REPORTED per node, never thrown. Protected packages are refused.
|
|
419
|
+
*/
|
|
313
420
|
readonly uninstallPackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
314
421
|
packageName: z.ZodString;
|
|
315
|
-
|
|
422
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
423
|
+
everywhere: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
425
|
+
success: z.ZodBoolean;
|
|
426
|
+
packageName: z.ZodString;
|
|
427
|
+
results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
428
|
+
nodeId: z.ZodString;
|
|
429
|
+
outcome: z.ZodEnum<{
|
|
430
|
+
failed: "failed";
|
|
431
|
+
refused: "refused";
|
|
432
|
+
uninstalled: "uninstalled";
|
|
433
|
+
"not-installed": "not-installed";
|
|
434
|
+
"pending-reconnect": "pending-reconnect";
|
|
435
|
+
}>;
|
|
436
|
+
error: z.ZodOptional<z.ZodString>;
|
|
437
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
438
|
+
runnersStopped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
439
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
440
|
+
}, z.core.$strip>>>;
|
|
441
|
+
}, z.core.$strip>, "mutation">;
|
|
442
|
+
/**
|
|
443
|
+
* Which nodes have a package (or, with no `packageName`, every package on
|
|
444
|
+
* every node). Hub from its installer, online agents from `$agent.status`
|
|
445
|
+
* (in parallel, bounded), offline agents from their declared roster.
|
|
446
|
+
* Drives the uninstall confirm and the Addons page's "not on the hub" list.
|
|
447
|
+
*/
|
|
448
|
+
readonly listInstallations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
449
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
|
+
installations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
452
|
+
packageName: z.ZodString;
|
|
453
|
+
nodeId: z.ZodString;
|
|
454
|
+
nodeName: z.ZodString;
|
|
455
|
+
isHub: z.ZodBoolean;
|
|
456
|
+
isOnline: z.ZodBoolean;
|
|
457
|
+
version: z.ZodNullable<z.ZodString>;
|
|
458
|
+
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
459
|
+
source: z.ZodEnum<{
|
|
460
|
+
live: "live";
|
|
461
|
+
recorded: "recorded";
|
|
462
|
+
}>;
|
|
463
|
+
onHub: z.ZodBoolean;
|
|
464
|
+
}, z.core.$strip>>>;
|
|
465
|
+
unreachable: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
466
|
+
nodeId: z.ZodString;
|
|
467
|
+
error: z.ZodString;
|
|
468
|
+
}, z.core.$strip>>>;
|
|
469
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
316
470
|
readonly reloadPackages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodUnknown, "mutation">;
|
|
317
471
|
readonly searchAvailable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
318
472
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -752,4 +906,4 @@ export declare const addonsCapability: {
|
|
|
752
906
|
};
|
|
753
907
|
};
|
|
754
908
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
755
|
-
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, };
|
|
909
|
+
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageInstallationSchema, PackageInstallationsSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, };
|
|
@@ -48,10 +48,10 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
48
48
|
export declare const BrokerStatusEnum: z.ZodEnum<{
|
|
49
49
|
error: "error";
|
|
50
50
|
connecting: "connecting";
|
|
51
|
+
unreachable: "unreachable";
|
|
51
52
|
connected: "connected";
|
|
52
53
|
disconnected: "disconnected";
|
|
53
54
|
"auth-failed": "auth-failed";
|
|
54
|
-
unreachable: "unreachable";
|
|
55
55
|
}>;
|
|
56
56
|
export type BrokerStatus = z.infer<typeof BrokerStatusEnum>;
|
|
57
57
|
declare const BrokerInfoSchema: z.ZodObject<{
|
|
@@ -62,10 +62,10 @@ declare const BrokerInfoSchema: z.ZodObject<{
|
|
|
62
62
|
status: z.ZodEnum<{
|
|
63
63
|
error: "error";
|
|
64
64
|
connecting: "connecting";
|
|
65
|
+
unreachable: "unreachable";
|
|
65
66
|
connected: "connected";
|
|
66
67
|
disconnected: "disconnected";
|
|
67
68
|
"auth-failed": "auth-failed";
|
|
68
|
-
unreachable: "unreachable";
|
|
69
69
|
}>;
|
|
70
70
|
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71
71
|
lastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -163,10 +163,10 @@ export declare const brokerCapability: {
|
|
|
163
163
|
status: z.ZodEnum<{
|
|
164
164
|
error: "error";
|
|
165
165
|
connecting: "connecting";
|
|
166
|
+
unreachable: "unreachable";
|
|
166
167
|
connected: "connected";
|
|
167
168
|
disconnected: "disconnected";
|
|
168
169
|
"auth-failed": "auth-failed";
|
|
169
|
-
unreachable: "unreachable";
|
|
170
170
|
}>;
|
|
171
171
|
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
172
172
|
lastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -182,10 +182,10 @@ export declare const brokerCapability: {
|
|
|
182
182
|
status: z.ZodEnum<{
|
|
183
183
|
error: "error";
|
|
184
184
|
connecting: "connecting";
|
|
185
|
+
unreachable: "unreachable";
|
|
185
186
|
connected: "connected";
|
|
186
187
|
disconnected: "disconnected";
|
|
187
188
|
"auth-failed": "auth-failed";
|
|
188
|
-
unreachable: "unreachable";
|
|
189
189
|
}>;
|
|
190
190
|
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
191
191
|
lastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
import type { HwAccelBackend } from '../interfaces/addon.js';
|
|
4
|
-
import { DecoderSessionConfigSchema } from '../interfaces/stream-broker.js';
|
|
5
4
|
/**
|
|
6
5
|
* Operator-facing hwaccel selection — wins over `probedBestHwaccel`
|
|
7
6
|
* when concrete; `'auto'` defers to the session's local resolver
|
|
@@ -30,209 +29,18 @@ export interface DecoderHwAccelConfig {
|
|
|
30
29
|
readonly probedBestHwaccel: string;
|
|
31
30
|
}
|
|
32
31
|
export declare const DEFAULT_DECODER_HWACCEL_CONFIG: DecoderHwAccelConfig;
|
|
33
|
-
/**
|
|
34
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
35
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
36
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
37
|
-
*/
|
|
38
|
-
export declare const ShmRingStatsSchema: z.ZodObject<{
|
|
39
|
-
sessionId: z.ZodString;
|
|
40
|
-
slotCount: z.ZodNumber;
|
|
41
|
-
slotByteLength: z.ZodNumber;
|
|
42
|
-
segmentBytes: z.ZodNumber;
|
|
43
|
-
budgetMb: z.ZodNumber;
|
|
44
|
-
framesWritten: z.ZodNumber;
|
|
45
|
-
getFrameHits: z.ZodNumber;
|
|
46
|
-
getFrameMisses: z.ZodNumber;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
/** shm ring usage stats payload — see {@link ShmRingStatsSchema}. */
|
|
49
|
-
export type ShmRingStats = z.infer<typeof ShmRingStatsSchema>;
|
|
50
32
|
export declare const decoderCapability: {
|
|
51
33
|
readonly name: "decoder";
|
|
52
34
|
readonly scope: "system";
|
|
53
35
|
readonly mode: "singleton";
|
|
54
36
|
readonly preferredProvider: "decoder-nodeav";
|
|
55
37
|
readonly methods: {
|
|
56
|
-
readonly supportsCodec: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
57
|
-
codec: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
|
|
59
38
|
readonly getInfo: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
60
39
|
id: z.ZodString;
|
|
61
40
|
name: z.ZodString;
|
|
62
|
-
isPullMode: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
64
41
|
hwaccel: z.ZodOptional<z.ZodString>;
|
|
65
42
|
probedBestHwaccel: z.ZodOptional<z.ZodString>;
|
|
66
43
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
67
|
-
readonly createSession: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
68
|
-
codec: z.ZodString;
|
|
69
|
-
maxFps: z.ZodDefault<z.ZodNumber>;
|
|
70
|
-
outputFormat: z.ZodDefault<z.ZodEnum<{
|
|
71
|
-
jpeg: "jpeg";
|
|
72
|
-
rgb: "rgb";
|
|
73
|
-
bgr: "bgr";
|
|
74
|
-
yuv420: "yuv420";
|
|
75
|
-
gray: "gray";
|
|
76
|
-
}>>;
|
|
77
|
-
scale: z.ZodDefault<z.ZodNumber>;
|
|
78
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
79
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
81
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
82
|
-
frameSink: z.ZodDefault<z.ZodEnum<{
|
|
83
|
-
callback: "callback";
|
|
84
|
-
shm: "shm";
|
|
85
|
-
}>>;
|
|
86
|
-
debug: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
-
sessionId: z.ZodString;
|
|
89
|
-
nodeId: z.ZodString;
|
|
90
|
-
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
91
|
-
readonly destroySession: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
92
|
-
sessionId: z.ZodString;
|
|
93
|
-
}, z.core.$strip>, z.ZodVoid, import("./capability-definition.js").CapabilityMethodKind>;
|
|
94
|
-
readonly pushPacket: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
95
|
-
sessionId: z.ZodString;
|
|
96
|
-
packet: z.ZodObject<{
|
|
97
|
-
type: z.ZodEnum<{
|
|
98
|
-
audio: "audio";
|
|
99
|
-
video: "video";
|
|
100
|
-
}>;
|
|
101
|
-
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
102
|
-
pts: z.ZodNumber;
|
|
103
|
-
dts: z.ZodNumber;
|
|
104
|
-
keyframe: z.ZodBoolean;
|
|
105
|
-
codec: z.ZodString;
|
|
106
|
-
}, z.core.$strip>;
|
|
107
|
-
}, z.core.$strip>, z.ZodVoid, import("./capability-definition.js").CapabilityMethodKind>;
|
|
108
|
-
readonly openStream: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
109
|
-
sessionId: z.ZodString;
|
|
110
|
-
url: z.ZodString;
|
|
111
|
-
}, z.core.$strip>, z.ZodVoid, import("./capability-definition.js").CapabilityMethodKind>;
|
|
112
|
-
readonly pullFrames: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
113
|
-
sessionId: z.ZodString;
|
|
114
|
-
maxCount: z.ZodDefault<z.ZodNumber>;
|
|
115
|
-
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
117
|
-
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
118
|
-
width: z.ZodNumber;
|
|
119
|
-
height: z.ZodNumber;
|
|
120
|
-
format: z.ZodEnum<{
|
|
121
|
-
jpeg: "jpeg";
|
|
122
|
-
rgb: "rgb";
|
|
123
|
-
bgr: "bgr";
|
|
124
|
-
yuv420: "yuv420";
|
|
125
|
-
gray: "gray";
|
|
126
|
-
}>;
|
|
127
|
-
timestamp: z.ZodNumber;
|
|
128
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
129
|
-
readonly pullHandles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
130
|
-
sessionId: z.ZodString;
|
|
131
|
-
maxCount: z.ZodDefault<z.ZodNumber>;
|
|
132
|
-
waitMs: z.ZodOptional<z.ZodNumber>;
|
|
133
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
134
|
-
shmId: z.ZodString;
|
|
135
|
-
slot: z.ZodNumber;
|
|
136
|
-
seq: z.ZodNumber;
|
|
137
|
-
width: z.ZodNumber;
|
|
138
|
-
height: z.ZodNumber;
|
|
139
|
-
format: z.ZodEnum<{
|
|
140
|
-
jpeg: "jpeg";
|
|
141
|
-
rgb: "rgb";
|
|
142
|
-
bgr: "bgr";
|
|
143
|
-
yuv420: "yuv420";
|
|
144
|
-
gray: "gray";
|
|
145
|
-
}>;
|
|
146
|
-
pts: z.ZodNumber;
|
|
147
|
-
byteLength: z.ZodNumber;
|
|
148
|
-
nodeId: z.ZodString;
|
|
149
|
-
slotCount: z.ZodNumber;
|
|
150
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
151
|
-
readonly getFrame: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
152
|
-
handle: z.ZodObject<{
|
|
153
|
-
shmId: z.ZodString;
|
|
154
|
-
slot: z.ZodNumber;
|
|
155
|
-
seq: z.ZodNumber;
|
|
156
|
-
width: z.ZodNumber;
|
|
157
|
-
height: z.ZodNumber;
|
|
158
|
-
format: z.ZodEnum<{
|
|
159
|
-
jpeg: "jpeg";
|
|
160
|
-
rgb: "rgb";
|
|
161
|
-
bgr: "bgr";
|
|
162
|
-
yuv420: "yuv420";
|
|
163
|
-
gray: "gray";
|
|
164
|
-
}>;
|
|
165
|
-
pts: z.ZodNumber;
|
|
166
|
-
byteLength: z.ZodNumber;
|
|
167
|
-
nodeId: z.ZodString;
|
|
168
|
-
slotCount: z.ZodNumber;
|
|
169
|
-
}, z.core.$strip>;
|
|
170
|
-
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
171
|
-
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
172
|
-
width: z.ZodNumber;
|
|
173
|
-
height: z.ZodNumber;
|
|
174
|
-
format: z.ZodEnum<{
|
|
175
|
-
jpeg: "jpeg";
|
|
176
|
-
rgb: "rgb";
|
|
177
|
-
bgr: "bgr";
|
|
178
|
-
yuv420: "yuv420";
|
|
179
|
-
gray: "gray";
|
|
180
|
-
}>;
|
|
181
|
-
timestamp: z.ZodNumber;
|
|
182
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
183
|
-
readonly getShmStats: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
184
|
-
sessionId: z.ZodString;
|
|
185
|
-
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
186
|
-
sessionId: z.ZodString;
|
|
187
|
-
slotCount: z.ZodNumber;
|
|
188
|
-
slotByteLength: z.ZodNumber;
|
|
189
|
-
segmentBytes: z.ZodNumber;
|
|
190
|
-
budgetMb: z.ZodNumber;
|
|
191
|
-
framesWritten: z.ZodNumber;
|
|
192
|
-
getFrameHits: z.ZodNumber;
|
|
193
|
-
getFrameMisses: z.ZodNumber;
|
|
194
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
195
|
-
readonly updateConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
196
|
-
sessionId: z.ZodString;
|
|
197
|
-
config: z.ZodObject<{
|
|
198
|
-
codec: z.ZodOptional<z.ZodString>;
|
|
199
|
-
maxFps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
200
|
-
outputFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
201
|
-
jpeg: "jpeg";
|
|
202
|
-
rgb: "rgb";
|
|
203
|
-
bgr: "bgr";
|
|
204
|
-
yuv420: "yuv420";
|
|
205
|
-
gray: "gray";
|
|
206
|
-
}>>>;
|
|
207
|
-
scale: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
208
|
-
width: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
209
|
-
height: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
210
|
-
deviceId: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
211
|
-
tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
212
|
-
frameSink: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
213
|
-
callback: "callback";
|
|
214
|
-
shm: "shm";
|
|
215
|
-
}>>>;
|
|
216
|
-
debug: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
217
|
-
}, z.core.$strip>;
|
|
218
|
-
}, z.core.$strip>, z.ZodVoid, import("./capability-definition.js").CapabilityMethodKind>;
|
|
219
|
-
readonly getStats: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
220
|
-
sessionId: z.ZodString;
|
|
221
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
222
|
-
inputFps: z.ZodNumber;
|
|
223
|
-
outputFps: z.ZodNumber;
|
|
224
|
-
avgDecodeTimeMs: z.ZodNumber;
|
|
225
|
-
droppedFrames: z.ZodNumber;
|
|
226
|
-
lagMs: z.ZodOptional<z.ZodNumber>;
|
|
227
|
-
effectiveFps: z.ZodOptional<z.ZodNumber>;
|
|
228
|
-
adaptiveFps: z.ZodOptional<z.ZodNumber>;
|
|
229
|
-
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
230
|
-
readonly listActiveSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
231
|
-
sessionId: z.ZodString;
|
|
232
|
-
codec: z.ZodString;
|
|
233
|
-
outputFormat: z.ZodString;
|
|
234
|
-
createdAtMs: z.ZodNumber;
|
|
235
|
-
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
236
44
|
/**
|
|
237
45
|
* Re-run the host platform-probe for the decoder's hwaccel backend
|
|
238
46
|
* and write the detected value into the addon's own global
|
|
@@ -251,22 +59,3 @@ export declare const decoderCapability: {
|
|
|
251
59
|
};
|
|
252
60
|
};
|
|
253
61
|
export type IDecoderCapProvider = InferProvider<typeof decoderCapability>;
|
|
254
|
-
/**
|
|
255
|
-
* Pure cap-only view of the decoder provider.
|
|
256
|
-
*
|
|
257
|
-
* For the in-process interface with live `createSession()`, `id`, `name`,
|
|
258
|
-
* `priority`, `isPullMode` fields, consumers should import
|
|
259
|
-
* `IDecoderProvider` from `@camstack/types/interfaces/decoder` — that
|
|
260
|
-
* remains the canonical in-process contract the broker + tests depend
|
|
261
|
-
* on. The live `createSession()` + session object cannot cross process
|
|
262
|
-
* boundaries and will need a session-id based cap API (Phase 4, decoder
|
|
263
|
-
* forkable work) — tracked separately, not in scope for session 5
|
|
264
|
-
* Sprint A.
|
|
265
|
-
*
|
|
266
|
-
* Prior to session 5 this alias used to extend the inferred cap type
|
|
267
|
-
* with the live fields, creating a hybrid interface. No consumer ever
|
|
268
|
-
* referenced `IDecoderProviderV2` — the broker, tests, and addon
|
|
269
|
-
* implementations all imported `IDecoderProvider` directly. The
|
|
270
|
-
* extension was therefore dead code and is removed here.
|
|
271
|
-
*/
|
|
272
|
-
export { DecoderSessionConfigSchema };
|
|
@@ -304,8 +304,8 @@ export declare const DevicePersistConfigPayloadSchema: z.ZodObject<{
|
|
|
304
304
|
* answer: a camera that could not be asked is not a camera that was silenced. */
|
|
305
305
|
export declare const MigrateSwitchOutcomeSchema: z.ZodEnum<{
|
|
306
306
|
off: "off";
|
|
307
|
-
on: "on";
|
|
308
307
|
unreachable: "unreachable";
|
|
308
|
+
on: "on";
|
|
309
309
|
"not-offered": "not-offered";
|
|
310
310
|
}>;
|
|
311
311
|
export declare const MigrateSwitchReportSchema: z.ZodObject<{
|
|
@@ -323,8 +323,8 @@ export declare const MigrateSwitchReportSchema: z.ZodObject<{
|
|
|
323
323
|
}>;
|
|
324
324
|
outcome: z.ZodEnum<{
|
|
325
325
|
off: "off";
|
|
326
|
-
on: "on";
|
|
327
326
|
unreachable: "unreachable";
|
|
327
|
+
on: "on";
|
|
328
328
|
"not-offered": "not-offered";
|
|
329
329
|
}>;
|
|
330
330
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -347,8 +347,8 @@ export declare const MigrateDeviceResultSchema: z.ZodObject<{
|
|
|
347
347
|
}>;
|
|
348
348
|
outcome: z.ZodEnum<{
|
|
349
349
|
off: "off";
|
|
350
|
-
on: "on";
|
|
351
350
|
unreachable: "unreachable";
|
|
351
|
+
on: "on";
|
|
352
352
|
"not-offered": "not-offered";
|
|
353
353
|
}>;
|
|
354
354
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -448,8 +448,8 @@ export declare const deviceManagerCapability: {
|
|
|
448
448
|
}>;
|
|
449
449
|
outcome: z.ZodEnum<{
|
|
450
450
|
off: "off";
|
|
451
|
-
on: "on";
|
|
452
451
|
unreachable: "unreachable";
|
|
452
|
+
on: "on";
|
|
453
453
|
"not-offered": "not-offered";
|
|
454
454
|
}>;
|
|
455
455
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -45,8 +45,8 @@ export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './cus
|
|
|
45
45
|
export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
|
|
46
46
|
export { type DataStoreEngineInfo, dataStoreProviderCapability, EngineInfoSchema as DataStoreEngineInfoSchema, type IDataStoreProvider, } from './data-store-provider.cap.js';
|
|
47
47
|
export { type ArchiveSqliteSnapshot, ArchiveSqliteSnapshotSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, type DatabaseSnapshotResult, DatabaseSnapshotResultSchema, type DatabaseSnapshotTable, DatabaseSnapshotTableSchema, type DatabaseSnapshotTargets, DatabaseSnapshotTargetsSchema, databaseSnapshotCapability, type IDatabaseSnapshotProvider, } from './database-snapshot.cap.js';
|
|
48
|
-
export type { DecoderHwAccelConfig, HwAccelChoice, IDecoderCapProvider,
|
|
49
|
-
export { DEFAULT_DECODER_HWACCEL_CONFIG,
|
|
48
|
+
export type { DecoderHwAccelConfig, HwAccelChoice, IDecoderCapProvider, } from './decoder.cap.js';
|
|
49
|
+
export { DEFAULT_DECODER_HWACCEL_CONFIG, decoderCapability, HWACCEL_OPTIONS, } from './decoder.cap.js';
|
|
50
50
|
export { detectionPipelineCapability, type IDetectionPipelineProvider, } from './detection-pipeline.cap.js';
|
|
51
51
|
export { type AdminLinkTarget, AdminLinkTargetEnum, type DeviceAdminLink, DeviceAdminLinkSchema, deviceAdminLinkCapability, type IDeviceAdminLinkProvider, } from './device-admin-link.cap.js';
|
|
52
52
|
export { buildDeviceAdminUrl, type DeviceAdminBase, type DeviceAdminBaseRefusal, type DeviceAdminBaseResult, type DeviceAdminScheme, type DeviceAdminUrlParts, type DeviceAdminUrlRefusal, type DeviceAdminUrlResult, parseAdminBase, } from './device-admin-link-url.js';
|
|
@@ -99,8 +99,8 @@ export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema,
|
|
|
99
99
|
export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
|
|
100
100
|
export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
101
101
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
102
|
-
export type { AudioStreamPick, CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire,
|
|
103
|
-
export { AudioChunkFormatSchema, AudioStreamPickSchema, BrokerStatsSchema, BrokerStatusSchema, CAM_PROFILE_ORDER, CameraStreamSchema, CamProfileSchema, CamStreamKindSchema, CamStreamResolutionSchema, DecodedAudioChunkSchema,
|
|
102
|
+
export type { AudioStreamPick, CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, } from './schemas/streaming-shared.js';
|
|
103
|
+
export { AudioChunkFormatSchema, AudioStreamPickSchema, BrokerStatsSchema, BrokerStatusSchema, CAM_PROFILE_ORDER, CameraStreamSchema, CamProfileSchema, CamStreamKindSchema, CamStreamResolutionSchema, DecodedAudioChunkSchema, FrameHandleSchema, makeProfileBrokerId, makeSourceBrokerId, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, parseProfileBrokerId, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, selectAssignedProfileSlots, } from './schemas/streaming-shared.js';
|
|
104
104
|
export { buildEventKindDescriptor, EVENT_KIND_BY_CAP, EVENTFUL_CAP_NAMES, type SensorEventKindDescriptor, } from './sensor-event-kinds.js';
|
|
105
105
|
export { type ImageContract, ImageContractSchema, type ImageContractState, ImageContractStateSchema, type IServerManagementProvider, type ServerBootMode, ServerBootModeSchema, type ServerPackageStatus, ServerPackageStatusSchema, type ServerRollbackInfo, ServerRollbackInfoSchema, type ServerUpdateActionResult, ServerUpdateActionResultSchema, type ServerUpdateCheckResult, ServerUpdateCheckResultSchema, type ServerUpdateOutcome, ServerUpdateOutcomeSchema, type ServerUpdateState, ServerUpdateStateSchema, serverManagementCapability, type WrapperEvidence, WrapperEvidenceSchema, type WrapperIdentity, WrapperIdentitySchema, type WrapperKind, WrapperKindSchema, } from './server-management.cap.js';
|
|
106
106
|
export { type BulkRecord, BulkRecordSchema, type CollectionColumn, CollectionColumnSchema, type CollectionIndex, CollectionIndexSchema, type ISettingsStoreProvider, type MutationFilter, MutationFilterSchema, QueryFilterSchema, SettingsRecordSchema, type SettingsStoreClient, settingsStoreCapability, } from './settings-store.cap.js';
|
|
@@ -114,8 +114,8 @@ export { type EvictableUsage, type EvictResult, type IStorageEvictableProvider,
|
|
|
114
114
|
export { type IStorageMigrationProvider, storageMigrationCapability, } from './storage-migration.cap.js';
|
|
115
115
|
export { type IStorageOccupancyProvider, type StorageOccupancyReport, StorageOccupancyReportSchema, storageOccupancyCapability, } from './storage-occupancy.cap.js';
|
|
116
116
|
export { AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, type IStorageProviderImpl, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, storageProviderCapability, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, } from './storage-provider.cap.js';
|
|
117
|
-
export type { AudioCodecTarget, BrokerAudioClient, BrokerClients, BrokerConsumerAttribution, BrokerConsumerKind,
|
|
118
|
-
export { BrokerAudioClientSchema, BrokerClientsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema,
|
|
117
|
+
export type { AudioCodecTarget, BrokerAudioClient, BrokerClients, BrokerConsumerAttribution, BrokerConsumerKind, BrokerEncodedClient, BrokerRtspClient, GetStreamWithCodecInput, PlaceholderReason, RtpSource, VideoCodecTarget, } from './stream-broker.cap.js';
|
|
118
|
+
export { BrokerAudioClientSchema, BrokerClientsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerEncodedClientSchema, BrokerRtspClientSchema, type EgressEncode, EgressEncodeSchema, type EgressRateControl, EgressRateControlSchema, type EgressTranscode, type EgressTranscodeRequest, EgressTranscodeRequestSchema, EgressTranscodeSchema, type EventMediaArtifact, EventMediaArtifactSchema, type EventMediaCoverage, EventMediaCoverageSchema, type EventMediaKind, EventMediaKindSchema, type EventMediaProduction, EventMediaProductionSchema, GetStreamWithCodecInputSchema, PlaceholderReasonSchema, RtpSourceSchema, RtspRestreamEntrySchema, type StreamBrokerClient, type StreamFormat, StreamFormatSchema, streamBrokerCapability, } from './stream-broker.cap.js';
|
|
119
119
|
export { type IStreamSignalsProvider, type StreamSignal, StreamSignalSchema, type StreamSignalsStatus, StreamSignalsStatusSchema, streamSignalsCapability, } from './stream-signals.cap.js';
|
|
120
120
|
export { type ITerminalSessionProvider, type TerminalInstanceInfo, TerminalInstanceInfoSchema, type TerminalLegacyCamera, TerminalLegacyCameraSchema, type TerminalOutputBatch, TerminalOutputBatchSchema, type TerminalOutputEvent, TerminalOutputEventSchema, type TerminalProfileInfo, TerminalProfileInfoSchema, type TerminalSessionInfo, TerminalSessionInfoSchema, terminalSessionCapability, } from './terminal-session.cap.js';
|
|
121
121
|
export type { ITurnProvider } from './turn-provider.cap.js';
|
|
@@ -131,7 +131,7 @@ export type { IViewerUiProvider } from './viewer-ui.cap.js';
|
|
|
131
131
|
export { viewerUiCapability } from './viewer-ui.cap.js';
|
|
132
132
|
export { type IWebrtcSessionProvider, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_TRY_BLOCKERS, type WebrtcClientHints, type WebrtcClimbHold, type WebrtcClimbHoldCode, WebrtcClimbHoldSchema, type WebrtcLadderDecision, WebrtcLadderDecisionSchema, type WebrtcSessionDebug, WebrtcSessionDebugSchema, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, type WebrtcTierFailure, WebrtcTierFailureSchema, type WebrtcTryBlocker, webrtcClientHintsSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
133
133
|
export { type AccessoriesStatus, AccessoriesStatusSchema, accessoriesCapability, type IAccessoriesProvider, } from './accessories.cap.js';
|
|
134
|
-
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, addonsCapability, type BulkUpdateItem, type BulkUpdateItemStatus, type BulkUpdatePhase, type BulkUpdateState, CustomActionInputSchema, type IAddonsProvider, InstalledPackageSchema, LogStreamEntrySchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, } from './addons.cap.js';
|
|
134
|
+
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, addonsCapability, type BulkUpdateItem, type BulkUpdateItemStatus, type BulkUpdatePhase, type BulkUpdateState, CustomActionInputSchema, type IAddonsProvider, InstalledPackageSchema, LogStreamEntrySchema, type PackageInstallation, PackageInstallationSchema, type PackageInstallations, PackageInstallationsSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, type UninstallNodeOutcome, UninstallNodeOutcomeSchema, type UninstallNodeResult, UninstallNodeResultSchema, type UninstallPackageResult, UninstallPackageResultSchema, } from './addons.cap.js';
|
|
135
135
|
export { type AirQualitySensorStatus, AirQualitySensorStatusSchema, airQualitySensorCapability, type IAirQualitySensorProvider, } from './air-quality-sensor.cap.js';
|
|
136
136
|
export { type AlarmArmMode, AlarmArmModeSchema, type AlarmPanelStatus, AlarmPanelStatusSchema, type AlarmState, AlarmStateSchema, alarmPanelCapability, type IAlarmPanelProvider, } from './alarm-panel.cap.js';
|
|
137
137
|
export { type AmbientLightSensorStatus, AmbientLightSensorStatusSchema, ambientLightSensorCapability, type IAmbientLightSensorProvider, } from './ambient-light-sensor.cap.js';
|