@camstack/types 1.1.31 → 1.1.33
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/addons.cap.d.ts +3 -1
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/cap-router-predicates.d.ts +32 -0
- package/dist/capabilities/capability-definition.d.ts +18 -13
- package/dist/capabilities/consumables.cap.d.ts +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +36 -0
- package/dist/capabilities/index.d.ts +8 -15
- package/dist/capabilities/integrations.cap.d.ts +1 -1
- package/dist/capabilities/model-convert.cap.d.ts +21 -3
- package/dist/capabilities/model-distributor.cap.d.ts +36 -0
- package/dist/capabilities/network-quality.cap.d.ts +1 -1
- package/dist/capabilities/nodes.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +135 -8
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +87 -44
- package/dist/capabilities/pipeline-runner.cap.d.ts +10 -69
- package/dist/capabilities/snapshot.cap.d.ts +3 -3
- package/dist/capabilities/stream-broker.cap.d.ts +9 -1
- package/dist/capabilities/system.cap.d.ts +1 -1
- package/dist/capabilities/toast.cap.d.ts +1 -1
- package/dist/capabilities/webrtc-session.cap.d.ts +15 -1
- package/dist/encode-profile.d.ts +2 -2
- package/dist/enums/event-category.d.ts +12 -0
- package/dist/generated/addon-api.d.ts +746 -636
- package/dist/generated/capability-router-map.d.ts +4 -16
- package/dist/generated/device-proxy.d.ts +0 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +1 -3
- package/dist/index.js +425 -349
- package/dist/index.mjs +412 -343
- package/dist/interfaces/capability.d.ts +0 -7
- package/dist/interfaces/event-bus.d.ts +9 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts +14 -1
- package/dist/interfaces/pipeline-runner-capability.d.ts +11 -11
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/{sleep-CZDdRBua.mjs → sleep-Cc14_yxc.mjs} +12 -4
- package/dist/{sleep-Dirr8nGw.js → sleep-DmP-uxoe.js} +12 -4
- package/dist/types/agent-pipeline-settings.d.ts +18 -6
- package/dist/types/camera-pipeline.d.ts +17 -3
- package/dist/types/model-variant-groups.d.ts +90 -0
- package/dist/types/models.d.ts +60 -3
- package/package.json +1 -1
- package/dist/capabilities/restreamer.cap.d.ts +0 -54
- package/dist/capabilities/snapshot-provider.cap.d.ts +0 -43
- package/dist/capabilities/streaming-engine.cap.d.ts +0 -61
- package/dist/capabilities/webrtc.cap.d.ts +0 -75
- package/dist/interfaces/restreamer.d.ts +0 -23
- package/dist/interfaces/streaming.d.ts +0 -28
- package/dist/interfaces/webrtc-provider.d.ts +0 -34
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-DmP-uxoe.js");
|
|
3
3
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
4
4
|
exports.BaseAddon = require_sleep.BaseAddon;
|
|
5
5
|
exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
|
package/dist/addon.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as ReadinessRegistry, C as asJsonObject, O as parseJsonUnknown, P as scopeKey, T as asString, a as adminUiCapability, b as DeviceType, gt as DisposerChain, ht as EventCategory, i as deviceOpsCapability, j as ReadinessTimeoutError, k as DATAPLANE_SECRET_HEADER, o as createDeviceProxy, ot as BaseAddon, p as expandCapMethods, st as normalizeAddonInitResult, t as sleep, ut as emitReadiness } from "./sleep-
|
|
1
|
+
import { A as ReadinessRegistry, C as asJsonObject, O as parseJsonUnknown, P as scopeKey, T as asString, a as adminUiCapability, b as DeviceType, gt as DisposerChain, ht as EventCategory, i as deviceOpsCapability, j as ReadinessTimeoutError, k as DATAPLANE_SECRET_HEADER, o as createDeviceProxy, ot as BaseAddon, p as expandCapMethods, st as normalizeAddonInitResult, t as sleep, ut as emitReadiness } from "./sleep-Cc14_yxc.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
export { BaseAddon, DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, normalizeAddonInitResult, parseJsonUnknown, scopeKey, sleep };
|
|
@@ -219,6 +219,7 @@ declare const FrameworkPackageStatusSchema: z.ZodObject<{
|
|
|
219
219
|
latestVersion: z.ZodNullable<z.ZodString>;
|
|
220
220
|
hasUpdate: z.ZodBoolean;
|
|
221
221
|
description: z.ZodOptional<z.ZodString>;
|
|
222
|
+
buildId: z.ZodNullable<z.ZodString>;
|
|
222
223
|
}, z.core.$strip>;
|
|
223
224
|
declare const LogStreamEntrySchema: z.ZodObject<{
|
|
224
225
|
timestamp: z.ZodString;
|
|
@@ -433,6 +434,7 @@ export declare const addonsCapability: {
|
|
|
433
434
|
latestVersion: z.ZodNullable<z.ZodString>;
|
|
434
435
|
hasUpdate: z.ZodBoolean;
|
|
435
436
|
description: z.ZodOptional<z.ZodString>;
|
|
437
|
+
buildId: z.ZodNullable<z.ZodString>;
|
|
436
438
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
437
439
|
/**
|
|
438
440
|
* Cluster-wide capability-provider discovery. Returns the list of
|
|
@@ -782,7 +784,7 @@ export declare const addonsCapability: {
|
|
|
782
784
|
};
|
|
783
785
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
784
786
|
readonly mount: {
|
|
785
|
-
readonly kind: "
|
|
787
|
+
readonly kind: "server-provided";
|
|
786
788
|
};
|
|
787
789
|
};
|
|
788
790
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
@@ -15,8 +15,8 @@ export declare const AlertSeveritySchema: z.ZodEnum<{
|
|
|
15
15
|
}>;
|
|
16
16
|
export declare const AlertStatusSchema: z.ZodEnum<{
|
|
17
17
|
failed: "failed";
|
|
18
|
-
active: "active";
|
|
19
18
|
completed: "completed";
|
|
19
|
+
active: "active";
|
|
20
20
|
"in-progress": "in-progress";
|
|
21
21
|
dismissed: "dismissed";
|
|
22
22
|
}>;
|
|
@@ -37,8 +37,8 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
37
37
|
message: z.ZodString;
|
|
38
38
|
status: z.ZodEnum<{
|
|
39
39
|
failed: "failed";
|
|
40
|
-
active: "active";
|
|
41
40
|
completed: "completed";
|
|
41
|
+
active: "active";
|
|
42
42
|
"in-progress": "in-progress";
|
|
43
43
|
dismissed: "dismissed";
|
|
44
44
|
}>;
|
|
@@ -73,8 +73,8 @@ export declare const alertsCapability: {
|
|
|
73
73
|
message: z.ZodString;
|
|
74
74
|
status: z.ZodEnum<{
|
|
75
75
|
failed: "failed";
|
|
76
|
-
active: "active";
|
|
77
76
|
completed: "completed";
|
|
77
|
+
active: "active";
|
|
78
78
|
"in-progress": "in-progress";
|
|
79
79
|
dismissed: "dismissed";
|
|
80
80
|
}>;
|
|
@@ -103,8 +103,8 @@ export declare const alertsCapability: {
|
|
|
103
103
|
message: z.ZodOptional<z.ZodString>;
|
|
104
104
|
status: z.ZodOptional<z.ZodEnum<{
|
|
105
105
|
failed: "failed";
|
|
106
|
-
active: "active";
|
|
107
106
|
completed: "completed";
|
|
107
|
+
active: "active";
|
|
108
108
|
"in-progress": "in-progress";
|
|
109
109
|
dismissed: "dismissed";
|
|
110
110
|
}>>;
|
|
@@ -135,8 +135,8 @@ export declare const alertsCapability: {
|
|
|
135
135
|
message: z.ZodString;
|
|
136
136
|
status: z.ZodEnum<{
|
|
137
137
|
failed: "failed";
|
|
138
|
-
active: "active";
|
|
139
138
|
completed: "completed";
|
|
139
|
+
active: "active";
|
|
140
140
|
"in-progress": "in-progress";
|
|
141
141
|
dismissed: "dismissed";
|
|
142
142
|
}>;
|
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
import { DeviceType } from '../device/device-type.js';
|
|
4
4
|
export declare const StreamCodecSchema: z.ZodEnum<{
|
|
5
|
-
mjpeg: "mjpeg";
|
|
6
5
|
h264: "h264";
|
|
7
6
|
h265: "h265";
|
|
8
7
|
hevc: "hevc";
|
|
8
|
+
mjpeg: "mjpeg";
|
|
9
9
|
av1: "av1";
|
|
10
10
|
vp8: "vp8";
|
|
11
11
|
vp9: "vp9";
|
|
@@ -13,10 +13,10 @@ export declare const StreamCodecSchema: z.ZodEnum<{
|
|
|
13
13
|
export type StreamCodec = z.infer<typeof StreamCodecSchema>;
|
|
14
14
|
export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
|
|
15
15
|
acceptCodecs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
16
|
-
mjpeg: "mjpeg";
|
|
17
16
|
h264: "h264";
|
|
18
17
|
h265: "h265";
|
|
19
18
|
hevc: "hevc";
|
|
19
|
+
mjpeg: "mjpeg";
|
|
20
20
|
av1: "av1";
|
|
21
21
|
vp8: "vp8";
|
|
22
22
|
vp9: "vp9";
|
|
@@ -25,10 +25,10 @@ export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
25
25
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
excludeDerived: z.ZodOptional<z.ZodBoolean>;
|
|
27
27
|
requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
28
|
-
mjpeg: "mjpeg";
|
|
29
28
|
h264: "h264";
|
|
30
29
|
h265: "h265";
|
|
31
30
|
hevc: "hevc";
|
|
31
|
+
mjpeg: "mjpeg";
|
|
32
32
|
av1: "av1";
|
|
33
33
|
vp8: "vp8";
|
|
34
34
|
vp9: "vp9";
|
|
@@ -199,10 +199,10 @@ export declare const cameraStreamsCapability: {
|
|
|
199
199
|
deviceId: z.ZodNumber;
|
|
200
200
|
requirements: z.ZodReadonly<z.ZodObject<{
|
|
201
201
|
acceptCodecs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
202
|
-
mjpeg: "mjpeg";
|
|
203
202
|
h264: "h264";
|
|
204
203
|
h265: "h265";
|
|
205
204
|
hevc: "hevc";
|
|
205
|
+
mjpeg: "mjpeg";
|
|
206
206
|
av1: "av1";
|
|
207
207
|
vp8: "vp8";
|
|
208
208
|
vp9: "vp9";
|
|
@@ -211,10 +211,10 @@ export declare const cameraStreamsCapability: {
|
|
|
211
211
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
212
212
|
excludeDerived: z.ZodOptional<z.ZodBoolean>;
|
|
213
213
|
requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
214
|
-
mjpeg: "mjpeg";
|
|
215
214
|
h264: "h264";
|
|
216
215
|
h265: "h265";
|
|
217
216
|
hevc: "hevc";
|
|
217
|
+
mjpeg: "mjpeg";
|
|
218
218
|
av1: "av1";
|
|
219
219
|
vp8: "vp8";
|
|
220
220
|
vp9: "vp9";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared cap-router predicates — the SINGLE source for the structural Zod-shape
|
|
3
|
+
* checks + naming used by BOTH the runtime cap-router builder
|
|
4
|
+
* (`@camstack/system` `cap-router-builder.ts` + the server's
|
|
5
|
+
* `cap-router-runtime.ts`) AND the codegen scripts (`scripts/generate-cap-*.ts`).
|
|
6
|
+
*
|
|
7
|
+
* These used to be independently reimplemented on each side, held in sync only
|
|
8
|
+
* by "must stay byte-identical" comments — a live drift risk. Consolidating them
|
|
9
|
+
* here (next to `resolveCapMount` / `expandCapMethods`, the other shared model)
|
|
10
|
+
* makes the two paths provably agree. Each predicate accepts both Zod 4
|
|
11
|
+
* (`_def.type`) and legacy Zod 3 (`_def.typeName` / `constructor.name`) shapes.
|
|
12
|
+
*/
|
|
13
|
+
/** `z.void()` — input carries no data. */
|
|
14
|
+
export declare function isVoidInput(schema: unknown): boolean;
|
|
15
|
+
/** `z.object()` — supports `.loose()` for out-of-band `nodeId`/`addonId` keys. */
|
|
16
|
+
export declare function isObjectInput(schema: unknown): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Structural "is this Zod schema an array output" check — bottoms out at
|
|
19
|
+
* `ZodArray` through the canonical Zod 4 wrappers (readonly/optional/nullable/
|
|
20
|
+
* default). Bounded unwrap guards against a malformed/cyclic schema.
|
|
21
|
+
*/
|
|
22
|
+
export declare function isArrayOutputSchema(schema: unknown): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Apply `.loose()` to an object input schema when available (Zod 4) so the
|
|
25
|
+
* router accepts the out-of-band `nodeId`/`addonId` selector keys without
|
|
26
|
+
* stripping them. Falls back to the schema unchanged when `.loose()` is absent.
|
|
27
|
+
*/
|
|
28
|
+
export declare function looseSchema(schema: unknown): unknown;
|
|
29
|
+
/** Auth level → base-procedure key. `superAdmin` collapses to `admin`. */
|
|
30
|
+
export declare function procedureAuthKey(auth: string): 'public' | 'protected' | 'admin';
|
|
31
|
+
/** kebab-case cap name → camelCase router-map key. */
|
|
32
|
+
export declare function kebabToCamel(s: string): string;
|
|
@@ -452,21 +452,18 @@ export interface CapabilityDefinition<TName extends string = string, TMethods ex
|
|
|
452
452
|
* Set it EXPLICITLY only for caps whose resolution is NOT derivable from
|
|
453
453
|
* scope/mode — the handful that today live as hand-written overrides in
|
|
454
454
|
* `trpc.router.ts`:
|
|
455
|
-
* - `{ kind: '
|
|
456
|
-
* from
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
455
|
+
* - `{ kind: 'server-provided' }` — the builder mounts the route
|
|
456
|
+
* generically (from the cap def's live method schemas) but does NOT
|
|
457
|
+
* resolve the provider; the server supplies a provider factory by cap
|
|
458
|
+
* name to `buildCapRouters` via its `serverProviders` map. The factory
|
|
459
|
+
* may compose backend services (`system`, `nodes`, `integrations`,
|
|
460
|
+
* `addons`, `network-quality`, `toast`) and/or transform a registry
|
|
461
|
+
* provider (`webrtc-session` wraps the broker to inject the request
|
|
462
|
+
* User-Agent). Keeps backend composition out of `@camstack/system`
|
|
463
|
+
* (the self-sufficiency invariant) while the schema stays def-driven.
|
|
462
464
|
* - `{ kind: 'hub-only' }` — single-node cap; the remote-proxy leg is
|
|
463
465
|
* short-circuited to `null` (agents are not addressable). Used by
|
|
464
466
|
* `local-network`.
|
|
465
|
-
* - `{ kind: 'custom' }` — resolution needs app-specific logic the
|
|
466
|
-
* generic builder cannot model (probe-then-fan-out, per-request
|
|
467
|
-
* relay enrichment). The server keeps a hand-written override for
|
|
468
|
-
* these (`snapshot-provider`, `webrtc-session`); the builder leaves
|
|
469
|
-
* the slot empty for the override to fill via spread precedence.
|
|
470
467
|
* - `{ kind: 'skip' }` — never mounted (legacy provider shapes that
|
|
471
468
|
* predate the `InferProvider` contract — `addon-routes`,
|
|
472
469
|
* `auth-provider`, `log-destination`, `restreamer`,
|
|
@@ -481,7 +478,15 @@ export interface CapabilityDefinition<TName extends string = string, TMethods ex
|
|
|
481
478
|
* `device-native` are the auto-derivable defaults; the rest are explicit
|
|
482
479
|
* opt-ins for caps that today need a hand-written override.
|
|
483
480
|
*/
|
|
484
|
-
export type CapabilityMountKind = 'singleton' | 'collection' | 'device-native' | '
|
|
481
|
+
export type CapabilityMountKind = 'singleton' | 'collection' | 'device-native' | 'server-provided' | 'hub-only' | 'skip'
|
|
482
|
+
/**
|
|
483
|
+
* @deprecated Legacy alias for `server-provided` (renamed in SP1). Retained
|
|
484
|
+
* ONLY so the runtime tolerates version skew across the framework-live-update
|
|
485
|
+
* boundary — an old `@camstack/types` build (shipped via framework-swap onto a
|
|
486
|
+
* newer server image, or vice versa) still emits `service-backed`. No cap def
|
|
487
|
+
* should use it; the server switch treats it identically to `server-provided`.
|
|
488
|
+
*/
|
|
489
|
+
| 'service-backed';
|
|
485
490
|
export interface CapabilityMountHint {
|
|
486
491
|
readonly kind: CapabilityMountKind;
|
|
487
492
|
}
|
|
@@ -49,7 +49,7 @@ export declare const consumablesCapability: {
|
|
|
49
49
|
readonly scope: "device";
|
|
50
50
|
readonly deviceNative: true;
|
|
51
51
|
readonly mode: "singleton";
|
|
52
|
-
readonly deviceTypes:
|
|
52
|
+
readonly deviceTypes: DeviceType[];
|
|
53
53
|
readonly deviceConfig: {
|
|
54
54
|
readonly ui: {
|
|
55
55
|
readonly kind: "widget";
|
|
@@ -105,6 +105,24 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
105
105
|
filename: z.ZodString;
|
|
106
106
|
sizeMB: z.ZodNumber;
|
|
107
107
|
}, z.core.$strip>>>>;
|
|
108
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
metrics: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
map50: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
p95LatencyMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
license: z.ZodOptional<z.ZodString>;
|
|
114
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
family: z.ZodString;
|
|
116
|
+
tier: z.ZodString;
|
|
117
|
+
precision: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
fp32: "fp32";
|
|
119
|
+
int8: "int8";
|
|
120
|
+
}>>;
|
|
121
|
+
optimization: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
standard: "standard";
|
|
123
|
+
fast: "fast";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
108
126
|
}, z.core.$strip>;
|
|
109
127
|
}, z.core.$strip>;
|
|
110
128
|
export type CustomModelDescriptor = z.infer<typeof CustomModelDescriptorSchema>;
|
|
@@ -202,6 +220,24 @@ export declare const customModelRegistryCapability: {
|
|
|
202
220
|
filename: z.ZodString;
|
|
203
221
|
sizeMB: z.ZodNumber;
|
|
204
222
|
}, z.core.$strip>>>>;
|
|
223
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
metrics: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
map50: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
p95LatencyMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
license: z.ZodOptional<z.ZodString>;
|
|
229
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
family: z.ZodString;
|
|
231
|
+
tier: z.ZodString;
|
|
232
|
+
precision: z.ZodOptional<z.ZodEnum<{
|
|
233
|
+
fp32: "fp32";
|
|
234
|
+
int8: "int8";
|
|
235
|
+
}>>;
|
|
236
|
+
optimization: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
standard: "standard";
|
|
238
|
+
fast: "fast";
|
|
239
|
+
}>>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
205
241
|
}, z.core.$strip>;
|
|
206
242
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
207
243
|
};
|
|
@@ -39,6 +39,7 @@ export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } f
|
|
|
39
39
|
export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStream, PickedCamStreamSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, type StreamCodec, StreamCodecSchema, } from './camera-streams.cap.js';
|
|
40
40
|
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
41
41
|
export { DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, resolveCapMount, } from './capability-definition.js';
|
|
42
|
+
export { isArrayOutputSchema, isObjectInput, isVoidInput, kebabToCamel, looseSchema, procedureAuthKey, } from './cap-router-predicates.js';
|
|
42
43
|
export * from './custom-actions.js';
|
|
43
44
|
export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './custom-model-registry.cap.js';
|
|
44
45
|
export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
|
|
@@ -70,13 +71,12 @@ export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapabili
|
|
|
70
71
|
export { type Attachment, AttachmentMediaTypeSchema, type AttachmentMediaType, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, notificationOutputCapability, } from './notification-output.cap.js';
|
|
71
72
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
72
73
|
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, EventKindSchema, type IPipelineAnalyticsProvider, type MediaFile, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type ScoredObjectEvent, ScoredObjectEventSchema, type Track, TrackedDetectionSchema, TrackSchema, type TrackState, TrackStateSchema, } from './pipeline-analytics.cap.js';
|
|
73
|
-
export type { PipelineStepInputOutput } from './pipeline-executor.cap.js';
|
|
74
|
-
export { DetectorOutputSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
75
|
-
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, } from './pipeline-orchestrator.cap.js';
|
|
76
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CapabilityBindingsSchema, DecoderAssignmentSchema, GlobalMetricsSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
74
|
+
export type { PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
75
|
+
export { DetectorOutputSchema, ModelSubstitutionSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
76
|
+
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, IngestOwner, } from './pipeline-orchestrator.cap.js';
|
|
77
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CapabilityBindingsSchema, DecoderAssignmentSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
77
78
|
export type { MotionSource, MotionSources, ReportMotionInput, RunnerFrameSource, } from './pipeline-runner.cap.js';
|
|
78
79
|
export { MotionSourceEnum, MotionSourcesSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
79
|
-
export { ExposedResourceSchema, RegisteredStreamSchema, restreamerCapability, } from './restreamer.cap.js';
|
|
80
80
|
export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
81
81
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
82
82
|
export type { CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, FrameHandleFormat, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, SubscribeFramesInput, SubscribeFramesResult, } from './schemas/streaming-shared.js';
|
|
@@ -85,23 +85,20 @@ export { type CollectionColumn, CollectionColumnSchema, type CollectionIndex, Co
|
|
|
85
85
|
export type { ISmtpProvider } from './smtp-provider.cap.js';
|
|
86
86
|
export { SendEmailInputSchema, SendEmailResultSchema, SmtpStatusSchema, smtpProviderCapability, } from './smtp-provider.cap.js';
|
|
87
87
|
export { type ISnapshotOrchestrator, SnapshotImageSchema, snapshotCapability, } from './snapshot.cap.js';
|
|
88
|
-
export { type ISnapshotProvider, snapshotProviderCapability } from './snapshot-provider.cap.js';
|
|
89
88
|
export type { ISsoBridgeProvider } from './sso-bridge.cap.js';
|
|
90
89
|
export { SsoBridgeClaimsSchema, ssoBridgeCapability } from './sso-bridge.cap.js';
|
|
91
90
|
export { type IStorageCapProvider, StorageLocationTypeSchema, storageCapability, } from './storage.cap.js';
|
|
92
91
|
export { type EvictableUsage, type EvictResult, type IStorageEvictableProvider, storageEvictableCapability, } from './storage-evictable.cap.js';
|
|
93
92
|
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';
|
|
94
93
|
export type { AudioCodecTarget, BrokerAudioClient, BrokerClients, BrokerConsumerAttribution, BrokerConsumerKind, BrokerDecodedClient, BrokerEncodedClient, BrokerRtspClient, GetStreamWithCodecInput, PlaceholderReason, RtpSource, VideoCodecTarget, } from './stream-broker.cap.js';
|
|
95
|
-
export { BrokerAudioClientSchema, BrokerClientsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, BrokerRtspClientSchema, GetStreamWithCodecInputSchema, PlaceholderReasonSchema, RtpSourceSchema, RtspRestreamEntrySchema, streamBrokerCapability, } from './stream-broker.cap.js';
|
|
96
|
-
export { StreamFormatSchema, StreamInfoSchema, streamingEngineCapability, } from './streaming-engine.cap.js';
|
|
94
|
+
export { BrokerAudioClientSchema, BrokerClientsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, BrokerRtspClientSchema, GetStreamWithCodecInputSchema, PlaceholderReasonSchema, RtpSourceSchema, RtspRestreamEntrySchema, type StreamFormat, StreamFormatSchema, streamBrokerCapability, } from './stream-broker.cap.js';
|
|
97
95
|
export type { ITurnProvider } from './turn-provider.cap.js';
|
|
98
96
|
export { TurnServerSchema, turnProviderCapability } from './turn-provider.cap.js';
|
|
99
97
|
export type { IUserPasskeysProvider, PasskeySummary } from './user-passkeys.cap.js';
|
|
100
98
|
export { PasskeySummarySchema, userPasskeysCapability } from './user-passkeys.cap.js';
|
|
101
99
|
export type { Clip, ClipPlayback, IVideoclipsProvider } from './videoclips.cap.js';
|
|
102
100
|
export { ClipPlaybackSchema, ClipSchema, videoclipsCapability } from './videoclips.cap.js';
|
|
103
|
-
export { type
|
|
104
|
-
export { type IWebrtcSessionProvider, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
101
|
+
export { type IWebrtcSessionProvider, type WebrtcClientHints, webrtcClientHintsSchema, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
105
102
|
export { type AccessoriesStatus, AccessoriesStatusSchema, accessoriesCapability, type IAccessoriesProvider, } from './accessories.cap.js';
|
|
106
103
|
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';
|
|
107
104
|
export { type AirQualitySensorStatus, AirQualitySensorStatusSchema, airQualitySensorCapability, type IAirQualitySensorProvider, } from './air-quality-sensor.cap.js';
|
|
@@ -280,13 +277,11 @@ import type { ptzCapability } from './ptz.cap.js';
|
|
|
280
277
|
import type { ptzAutotrackCapability } from './ptz-autotrack.cap.js';
|
|
281
278
|
import type { rebootCapability } from './reboot.cap.js';
|
|
282
279
|
import type { recordingCapability } from './recording.cap.js';
|
|
283
|
-
import type { restreamerCapability } from './restreamer.cap.js';
|
|
284
280
|
import type { scriptRunnerCapability } from './script-runner.cap.js';
|
|
285
281
|
import type { settingsStoreCapability } from './settings-store.cap.js';
|
|
286
282
|
import type { smokeCapability } from './smoke.cap.js';
|
|
287
283
|
import type { smtpProviderCapability } from './smtp-provider.cap.js';
|
|
288
284
|
import type { snapshotCapability } from './snapshot.cap.js';
|
|
289
|
-
import type { snapshotProviderCapability } from './snapshot-provider.cap.js';
|
|
290
285
|
import type { ssoBridgeCapability } from './sso-bridge.cap.js';
|
|
291
286
|
import type { storageCapability } from './storage.cap.js';
|
|
292
287
|
import type { storageEvictableCapability } from './storage-evictable.cap.js';
|
|
@@ -294,7 +289,6 @@ import type { storageProviderCapability } from './storage-provider.cap.js';
|
|
|
294
289
|
import type { streamBrokerCapability } from './stream-broker.cap.js';
|
|
295
290
|
import type { streamCatalogCapability } from './stream-catalog.cap.js';
|
|
296
291
|
import type { streamParamsCapability } from './stream-params.cap.js';
|
|
297
|
-
import type { streamingEngineCapability } from './streaming-engine.cap.js';
|
|
298
292
|
import type { systemCapability } from './system.cap.js';
|
|
299
293
|
import type { tamperCapability } from './tamper.cap.js';
|
|
300
294
|
import type { temperatureSensorCapability } from './temperature-sensor.cap.js';
|
|
@@ -307,11 +301,10 @@ import type { valveCapability } from './valve.cap.js';
|
|
|
307
301
|
import type { vibrationCapability } from './vibration.cap.js';
|
|
308
302
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
309
303
|
import type { weatherCapability } from './weather.cap.js';
|
|
310
|
-
import type { webrtcCapability } from './webrtc.cap.js';
|
|
311
304
|
import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
312
305
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
313
306
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
314
307
|
import type { zonesCapability } from './zones.cap.js';
|
|
315
|
-
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof
|
|
308
|
+
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof notificationOutputCapability | typeof advancedNotifierCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability;
|
|
316
309
|
export type CapabilityName = AnyCapability['name'];
|
|
317
310
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -200,7 +200,7 @@ export declare const integrationsCapability: {
|
|
|
200
200
|
};
|
|
201
201
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
202
202
|
readonly mount: {
|
|
203
|
-
readonly kind: "
|
|
203
|
+
readonly kind: "server-provided";
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
206
|
export type IIntegrationsProvider = InferProvider<typeof integrationsCapability>;
|
|
@@ -42,8 +42,8 @@ export declare const ModelConvertInputSchema: z.ZodObject<{
|
|
|
42
42
|
targets: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
43
43
|
format: z.ZodLiteral<"openvino">;
|
|
44
44
|
precisions: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
45
|
-
fp16: "fp16";
|
|
46
45
|
int8: "int8";
|
|
46
|
+
fp16: "fp16";
|
|
47
47
|
}>>>;
|
|
48
48
|
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
format: z.ZodLiteral<"coreml">;
|
|
@@ -100,8 +100,8 @@ export declare const modelConvertCapability: {
|
|
|
100
100
|
targets: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
101
|
format: z.ZodLiteral<"openvino">;
|
|
102
102
|
precisions: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
103
|
-
fp16: "fp16";
|
|
104
103
|
int8: "int8";
|
|
104
|
+
fp16: "fp16";
|
|
105
105
|
}>>>;
|
|
106
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
107
|
format: z.ZodLiteral<"coreml">;
|
|
@@ -195,6 +195,24 @@ export declare const modelConvertCapability: {
|
|
|
195
195
|
filename: z.ZodString;
|
|
196
196
|
sizeMB: z.ZodNumber;
|
|
197
197
|
}, z.core.$strip>>>>;
|
|
198
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
metrics: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
map50: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
p95LatencyMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
license: z.ZodOptional<z.ZodString>;
|
|
204
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
family: z.ZodString;
|
|
206
|
+
tier: z.ZodString;
|
|
207
|
+
precision: z.ZodOptional<z.ZodEnum<{
|
|
208
|
+
fp32: "fp32";
|
|
209
|
+
int8: "int8";
|
|
210
|
+
}>>;
|
|
211
|
+
optimization: z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
standard: "standard";
|
|
213
|
+
fast: "fast";
|
|
214
|
+
}>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
198
216
|
}, z.core.$strip>;
|
|
199
217
|
artifacts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
200
218
|
format: z.ZodEnum<{
|
|
@@ -205,8 +223,8 @@ export declare const modelConvertCapability: {
|
|
|
205
223
|
pt: "pt";
|
|
206
224
|
}>;
|
|
207
225
|
precision: z.ZodOptional<z.ZodEnum<{
|
|
208
|
-
fp16: "fp16";
|
|
209
226
|
int8: "int8";
|
|
227
|
+
fp16: "fp16";
|
|
210
228
|
}>>;
|
|
211
229
|
sizeMB: z.ZodNumber;
|
|
212
230
|
validated: z.ZodBoolean;
|
|
@@ -106,6 +106,24 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
106
106
|
filename: z.ZodString;
|
|
107
107
|
sizeMB: z.ZodNumber;
|
|
108
108
|
}, z.core.$strip>>>>;
|
|
109
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
metrics: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
map50: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
p95LatencyMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
license: z.ZodOptional<z.ZodString>;
|
|
115
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
family: z.ZodString;
|
|
117
|
+
tier: z.ZodString;
|
|
118
|
+
precision: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
fp32: "fp32";
|
|
120
|
+
int8: "int8";
|
|
121
|
+
}>>;
|
|
122
|
+
optimization: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
standard: "standard";
|
|
124
|
+
fast: "fast";
|
|
125
|
+
}>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
109
127
|
}, z.core.$strip>;
|
|
110
128
|
}, z.core.$strip>;
|
|
111
129
|
export declare const ModelDistributeResultSchema: z.ZodObject<{
|
|
@@ -216,6 +234,24 @@ export declare const modelDistributorCapability: {
|
|
|
216
234
|
filename: z.ZodString;
|
|
217
235
|
sizeMB: z.ZodNumber;
|
|
218
236
|
}, z.core.$strip>>>>;
|
|
237
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
+
metrics: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
map50: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
p95LatencyMs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
license: z.ZodOptional<z.ZodString>;
|
|
243
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
family: z.ZodString;
|
|
245
|
+
tier: z.ZodString;
|
|
246
|
+
precision: z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
fp32: "fp32";
|
|
248
|
+
int8: "int8";
|
|
249
|
+
}>>;
|
|
250
|
+
optimization: z.ZodOptional<z.ZodEnum<{
|
|
251
|
+
standard: "standard";
|
|
252
|
+
fast: "fast";
|
|
253
|
+
}>>;
|
|
254
|
+
}, z.core.$strip>>;
|
|
219
255
|
}, z.core.$strip>;
|
|
220
256
|
}, z.core.$strip>, z.ZodObject<{
|
|
221
257
|
ok: z.ZodBoolean;
|
|
@@ -96,7 +96,7 @@ export declare const networkQualityCapability: {
|
|
|
96
96
|
};
|
|
97
97
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
98
98
|
readonly mount: {
|
|
99
|
-
readonly kind: "
|
|
99
|
+
readonly kind: "server-provided";
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
export type INetworkQualityProvider = InferProvider<typeof networkQualityCapability>;
|
|
@@ -262,7 +262,7 @@ export declare const nodesCapability: {
|
|
|
262
262
|
};
|
|
263
263
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
264
264
|
readonly mount: {
|
|
265
|
-
readonly kind: "
|
|
265
|
+
readonly kind: "server-provided";
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
export type INodesProvider = InferProvider<typeof nodesCapability>;
|