@camstack/addon-pipeline 1.1.46 → 1.1.47
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/audio-analyzer/index.js +1 -1
- package/dist/audio-analyzer/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +1 -1
- package/dist/detection-pipeline/index.mjs +1 -1
- package/dist/{dist-Bglbcd7H.mjs → dist-BXax-C-g.mjs} +260 -6
- package/dist/{dist-C3CWl8fV.js → dist-CSXbgmP-.js} +260 -6
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +24 -8
- package/dist/pipeline-runner/index.mjs +24 -8
- package/dist/recorder/index.js +1 -1
- package/dist/recorder/index.mjs +1 -1
- package/dist/{remote-source-plane-BrFvA0nx.mjs → remote-source-plane-D9mX0HiW.mjs} +1 -1
- package/dist/{remote-source-plane-C05A2DHs.js → remote-source-plane-Rbl_xds1.js} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BGyNZqVy.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Dz7jhO6c.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-o4tu_xuc.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-iB6N_WVh.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CK4BmiTK.mjs} +1 -1
- package/dist/stream-broker/{hostInit-uMl2Tcss.mjs → hostInit-DcMnvklS.mjs} +3 -3
- package/dist/stream-broker/index.js +32 -17
- package/dist/stream-broker/index.mjs +32 -17
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-DvRngVr4.js → MaskShapeCanvas-DI4BY7W2-BSSjCL6j.js} +1 -1
- package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-ByQeOu3_.js → MotionZonesSettings-NcxxQN8r-BDb2ziPs.js} +1 -1
- package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-Cs5XlrlU.js → PrivacyMaskSettings-APgPLF7p-ARYovxqE.js} +1 -1
- package/embed-dist/assets/{index-RqzZkNA8.js → index-ByiLuUQZ.js} +10 -10
- package/embed-dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-UM9hXKco.mjs +0 -26
|
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4627
4627
|
return inst;
|
|
4628
4628
|
}
|
|
4629
4629
|
//#endregion
|
|
4630
|
-
//#region ../types/dist/sleep-
|
|
4630
|
+
//#region ../types/dist/sleep-DJaTV2D7.mjs
|
|
4631
4631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4632
4632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4633
4633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5348,10 +5348,6 @@ function hydrateField(field, values) {
|
|
|
5348
5348
|
};
|
|
5349
5349
|
}
|
|
5350
5350
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5351
|
-
if (field.type === "password") return {
|
|
5352
|
-
...field,
|
|
5353
|
-
value: ""
|
|
5354
|
-
};
|
|
5355
5351
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5356
5352
|
return {
|
|
5357
5353
|
...field,
|
|
@@ -6839,6 +6835,9 @@ function method(input, output, options) {
|
|
|
6839
6835
|
function event(data) {
|
|
6840
6836
|
return { data };
|
|
6841
6837
|
}
|
|
6838
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6839
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6840
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6842
6841
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6843
6842
|
var VersionOutputSchema = object({ version: string() });
|
|
6844
6843
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -13813,6 +13812,17 @@ var WidgetMetadataSchema = object({
|
|
|
13813
13812
|
deviceContext: boolean().default(false),
|
|
13814
13813
|
integrationContext: boolean().default(false)
|
|
13815
13814
|
}),
|
|
13815
|
+
/**
|
|
13816
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
13817
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
13818
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
13819
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
13820
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
13821
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
13822
|
+
* than the authenticated registry, and its bundle is served by the
|
|
13823
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
13824
|
+
*/
|
|
13825
|
+
preAuth: boolean().optional().default(false),
|
|
13816
13826
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
13817
13827
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
13818
13828
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -14205,6 +14215,66 @@ method(object({
|
|
|
14205
14215
|
password: string()
|
|
14206
14216
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
14207
14217
|
/**
|
|
14218
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
14219
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
14220
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
14221
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
14222
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
14223
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
14224
|
+
*
|
|
14225
|
+
* A contribution is a discriminated union on `kind`:
|
|
14226
|
+
*
|
|
14227
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
14228
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
14229
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
14230
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
14231
|
+
* login page needs NO change.
|
|
14232
|
+
*
|
|
14233
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
14234
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
14235
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
14236
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
14237
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
14238
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
14239
|
+
*
|
|
14240
|
+
* Every contribution carries a `stage`:
|
|
14241
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
14242
|
+
* magic-link buttons; a future usernameless passkey).
|
|
14243
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
14244
|
+
* returned `factors` (passkey-as-2FA today).
|
|
14245
|
+
*
|
|
14246
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
14247
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
14248
|
+
* tRPC router.
|
|
14249
|
+
*/
|
|
14250
|
+
/** When a login method renders in the two-phase login flow. */
|
|
14251
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
14252
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
14253
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
14254
|
+
kind: literal("redirect"),
|
|
14255
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
14256
|
+
id: string(),
|
|
14257
|
+
/** Operator-facing button label. */
|
|
14258
|
+
label: string(),
|
|
14259
|
+
/** lucide-react icon name. */
|
|
14260
|
+
icon: string().optional(),
|
|
14261
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
14262
|
+
startUrl: string(),
|
|
14263
|
+
stage: LoginStageEnum
|
|
14264
|
+
}), object({
|
|
14265
|
+
kind: literal("widget"),
|
|
14266
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
14267
|
+
id: string(),
|
|
14268
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
14269
|
+
addonId: string(),
|
|
14270
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
14271
|
+
bundle: string(),
|
|
14272
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
14273
|
+
remote: WidgetRemoteSchema,
|
|
14274
|
+
stage: LoginStageEnum
|
|
14275
|
+
})]);
|
|
14276
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
14277
|
+
/**
|
|
14208
14278
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
14209
14279
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
14210
14280
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -16958,6 +17028,131 @@ method(object({
|
|
|
16958
17028
|
auth: "admin"
|
|
16959
17029
|
});
|
|
16960
17030
|
/**
|
|
17031
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
17032
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
17033
|
+
* agents).
|
|
17034
|
+
*
|
|
17035
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
17036
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
17037
|
+
* version describes the node. Updates install into
|
|
17038
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
17039
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
17040
|
+
*
|
|
17041
|
+
* Providers:
|
|
17042
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
17043
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
17044
|
+
* unpinned calls.
|
|
17045
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
17046
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
17047
|
+
* `$hub.registerNode` manifest.
|
|
17048
|
+
*
|
|
17049
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
17050
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
17051
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
17052
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
17053
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
17054
|
+
*
|
|
17055
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
17056
|
+
*/
|
|
17057
|
+
/**
|
|
17058
|
+
* Where the running hub's code was loaded from:
|
|
17059
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
17060
|
+
* plain resolution and runtime updates are refused.
|
|
17061
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
17062
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
17063
|
+
*/
|
|
17064
|
+
var ServerBootModeSchema = _enum([
|
|
17065
|
+
"workspace",
|
|
17066
|
+
"baked",
|
|
17067
|
+
"data-root"
|
|
17068
|
+
]);
|
|
17069
|
+
/**
|
|
17070
|
+
* Update lifecycle state:
|
|
17071
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
17072
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
17073
|
+
* restarted onto it (still running the OLD version).
|
|
17074
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
17075
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
17076
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
17077
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
17078
|
+
*/
|
|
17079
|
+
var ServerUpdateStateSchema = _enum([
|
|
17080
|
+
"idle",
|
|
17081
|
+
"checking",
|
|
17082
|
+
"staging",
|
|
17083
|
+
"pending-restart",
|
|
17084
|
+
"awaiting-confirmation"
|
|
17085
|
+
]);
|
|
17086
|
+
var ServerRollbackInfoSchema = object({
|
|
17087
|
+
/** The version that failed (or was manually rolled back). */
|
|
17088
|
+
fromVersion: string(),
|
|
17089
|
+
/** The version rolled back to; null = the baked seed. */
|
|
17090
|
+
toVersion: string().nullable(),
|
|
17091
|
+
atMs: number(),
|
|
17092
|
+
reason: string()
|
|
17093
|
+
});
|
|
17094
|
+
var ServerPackageStatusSchema = object({
|
|
17095
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
17096
|
+
packageName: string(),
|
|
17097
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
17098
|
+
runningVersion: string().nullable(),
|
|
17099
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
17100
|
+
nodeRuntimeVersion: string().nullable(),
|
|
17101
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
17102
|
+
activeVersion: string().nullable(),
|
|
17103
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
17104
|
+
previousVersion: string().nullable(),
|
|
17105
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
17106
|
+
seedVersion: string().nullable(),
|
|
17107
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
17108
|
+
latestVersion: string().nullable(),
|
|
17109
|
+
updateAvailable: boolean(),
|
|
17110
|
+
bootMode: ServerBootModeSchema,
|
|
17111
|
+
updateState: ServerUpdateStateSchema,
|
|
17112
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
17113
|
+
pendingVersion: string().nullable(),
|
|
17114
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
17115
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
17116
|
+
/**
|
|
17117
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
17118
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
17119
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
17120
|
+
*/
|
|
17121
|
+
stateFileCorrupt: boolean(),
|
|
17122
|
+
lastCheckedAtMs: number().nullable()
|
|
17123
|
+
});
|
|
17124
|
+
var ServerUpdateCheckResultSchema = object({
|
|
17125
|
+
packageName: string(),
|
|
17126
|
+
runningVersion: string().nullable(),
|
|
17127
|
+
latestVersion: string().nullable(),
|
|
17128
|
+
updateAvailable: boolean(),
|
|
17129
|
+
checkedAtMs: number(),
|
|
17130
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
17131
|
+
error: string().nullable()
|
|
17132
|
+
});
|
|
17133
|
+
var ServerUpdateActionResultSchema = object({
|
|
17134
|
+
accepted: boolean(),
|
|
17135
|
+
targetVersion: string().nullable(),
|
|
17136
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
17137
|
+
restarting: boolean(),
|
|
17138
|
+
message: string()
|
|
17139
|
+
});
|
|
17140
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
17141
|
+
kind: "mutation",
|
|
17142
|
+
auth: "admin"
|
|
17143
|
+
}), method(object({
|
|
17144
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
17145
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
17146
|
+
kind: "mutation",
|
|
17147
|
+
auth: "admin"
|
|
17148
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
17149
|
+
kind: "mutation",
|
|
17150
|
+
auth: "admin"
|
|
17151
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
17152
|
+
kind: "mutation",
|
|
17153
|
+
auth: "admin"
|
|
17154
|
+
});
|
|
17155
|
+
/**
|
|
16961
17156
|
* Query filter for settings-store collections.
|
|
16962
17157
|
*/
|
|
16963
17158
|
var QueryFilterSchema = object({
|
|
@@ -19039,6 +19234,16 @@ var TopologyCategorySchema = object({
|
|
|
19039
19234
|
healthy: number(),
|
|
19040
19235
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
19041
19236
|
});
|
|
19237
|
+
/**
|
|
19238
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
19239
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
19240
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
19241
|
+
* rows and pre-phase-2 nodes report none.
|
|
19242
|
+
*/
|
|
19243
|
+
var TopologyRootPackageSchema = object({
|
|
19244
|
+
name: string(),
|
|
19245
|
+
version: string()
|
|
19246
|
+
});
|
|
19042
19247
|
var TopologyNodeSchema = object({
|
|
19043
19248
|
id: string(),
|
|
19044
19249
|
name: string(),
|
|
@@ -19062,7 +19267,8 @@ var TopologyNodeSchema = object({
|
|
|
19062
19267
|
status: string()
|
|
19063
19268
|
})).readonly(),
|
|
19064
19269
|
processes: array(TopologyProcessSchema).readonly(),
|
|
19065
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
19270
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
19271
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
19066
19272
|
});
|
|
19067
19273
|
var CapUsageEdgeSchema = object({
|
|
19068
19274
|
callerAddonId: string(),
|
|
@@ -21895,6 +22101,12 @@ Object.freeze({
|
|
|
21895
22101
|
addonId: null,
|
|
21896
22102
|
access: "create"
|
|
21897
22103
|
},
|
|
22104
|
+
"loginMethod.getLoginMethods": {
|
|
22105
|
+
capName: "login-method",
|
|
22106
|
+
capScope: "system",
|
|
22107
|
+
addonId: null,
|
|
22108
|
+
access: "view"
|
|
22109
|
+
},
|
|
21898
22110
|
"mediaPlayer.next": {
|
|
21899
22111
|
capName: "media-player",
|
|
21900
22112
|
capScope: "device",
|
|
@@ -23257,6 +23469,36 @@ Object.freeze({
|
|
|
23257
23469
|
addonId: null,
|
|
23258
23470
|
access: "create"
|
|
23259
23471
|
},
|
|
23472
|
+
"serverManagement.applyServerUpdate": {
|
|
23473
|
+
capName: "server-management",
|
|
23474
|
+
capScope: "system",
|
|
23475
|
+
addonId: null,
|
|
23476
|
+
access: "create"
|
|
23477
|
+
},
|
|
23478
|
+
"serverManagement.checkServerUpdate": {
|
|
23479
|
+
capName: "server-management",
|
|
23480
|
+
capScope: "system",
|
|
23481
|
+
addonId: null,
|
|
23482
|
+
access: "create"
|
|
23483
|
+
},
|
|
23484
|
+
"serverManagement.getServerPackageStatus": {
|
|
23485
|
+
capName: "server-management",
|
|
23486
|
+
capScope: "system",
|
|
23487
|
+
addonId: null,
|
|
23488
|
+
access: "view"
|
|
23489
|
+
},
|
|
23490
|
+
"serverManagement.restartServer": {
|
|
23491
|
+
capName: "server-management",
|
|
23492
|
+
capScope: "system",
|
|
23493
|
+
addonId: null,
|
|
23494
|
+
access: "create"
|
|
23495
|
+
},
|
|
23496
|
+
"serverManagement.rollbackServerUpdate": {
|
|
23497
|
+
capName: "server-management",
|
|
23498
|
+
capScope: "system",
|
|
23499
|
+
addonId: null,
|
|
23500
|
+
access: "create"
|
|
23501
|
+
},
|
|
23260
23502
|
"settingsStore.count": {
|
|
23261
23503
|
capName: "settings-store",
|
|
23262
23504
|
capScope: "system",
|
|
@@ -24121,6 +24363,18 @@ Object.freeze({
|
|
|
24121
24363
|
addonId: null,
|
|
24122
24364
|
access: "view"
|
|
24123
24365
|
},
|
|
24366
|
+
"viewerUi.getStaticDir": {
|
|
24367
|
+
capName: "viewer-ui",
|
|
24368
|
+
capScope: "system",
|
|
24369
|
+
addonId: null,
|
|
24370
|
+
access: "view"
|
|
24371
|
+
},
|
|
24372
|
+
"viewerUi.getVersion": {
|
|
24373
|
+
capName: "viewer-ui",
|
|
24374
|
+
capScope: "system",
|
|
24375
|
+
addonId: null,
|
|
24376
|
+
access: "view"
|
|
24377
|
+
},
|
|
24124
24378
|
"waterHeater.setAway": {
|
|
24125
24379
|
capName: "water-heater",
|
|
24126
24380
|
capScope: "device",
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-CSXbgmP-.js");
|
|
6
6
|
let _camstack_shm_ring = require("@camstack/shm-ring");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as DeviceType, E as motionDetectionCapability, L as BaseAddon, U as hydrateSchema, x as evaluateZoneRules } from "../dist-
|
|
1
|
+
import { B as DeviceType, E as motionDetectionCapability, L as BaseAddon, U as hydrateSchema, x as evaluateZoneRules } from "../dist-BXax-C-g.mjs";
|
|
2
2
|
import { FrameRingReaderCache } from "@camstack/shm-ring";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_remote_source_plane = require("../remote-source-plane-
|
|
5
|
+
const require_dist = require("../dist-CSXbgmP-.js");
|
|
6
|
+
const require_remote_source_plane = require("../remote-source-plane-Rbl_xds1.js");
|
|
7
7
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
8
8
|
const require_worker_protocol = require("../worker-protocol-BCfO8gUF.js");
|
|
9
9
|
let _camstack_shm_ring = require("@camstack/shm-ring");
|
|
@@ -2012,7 +2012,9 @@ var PipelineRunnerAddon = class extends require_dist.BaseAddon {
|
|
|
2012
2012
|
* rgb (see `enqueueSharedDetectionFrame`). A pure flag-set: `enqueueMotionFrame`
|
|
2013
2013
|
* is device-scoped, so no per-device callback object is needed.
|
|
2014
2014
|
*/
|
|
2015
|
-
sharedMotionSinks = /* @__PURE__ */ new
|
|
2015
|
+
sharedMotionSinks = /* @__PURE__ */ new Map();
|
|
2016
|
+
/** Wall clock for the shared-sink motionFps throttle — injectable in tests. */
|
|
2017
|
+
sharedSinkNow = Date.now;
|
|
2016
2018
|
/**
|
|
2017
2019
|
* Snapshot-equality cache for metrics-snapshot defer. The runner
|
|
2018
2020
|
* fires per-camera metrics every `METRICS_SNAPSHOT_INTERVAL_MS`;
|
|
@@ -2741,9 +2743,16 @@ var PipelineRunnerAddon = class extends require_dist.BaseAddon {
|
|
|
2741
2743
|
* decoded rgb. Returns an idempotent teardown that unregisters it; forks
|
|
2742
2744
|
* nothing and holds no restream (the detection subscription owns the worker).
|
|
2743
2745
|
*/
|
|
2744
|
-
registerSharedMotionSink(deviceId) {
|
|
2745
|
-
|
|
2746
|
-
this.
|
|
2746
|
+
registerSharedMotionSink(deviceId, motionFps) {
|
|
2747
|
+
const fps = motionFps > 0 ? motionFps : 4;
|
|
2748
|
+
this.sharedMotionSinks.set(deviceId, {
|
|
2749
|
+
minIntervalMs: 1e3 / fps,
|
|
2750
|
+
lastMotionEnqueueTs: Number.NEGATIVE_INFINITY
|
|
2751
|
+
});
|
|
2752
|
+
this.ctxIfReady?.logger.info("session-decode: motion rides the detection worker (shared — no 2nd fork)", {
|
|
2753
|
+
tags: { deviceId },
|
|
2754
|
+
meta: { motionFps: fps }
|
|
2755
|
+
});
|
|
2747
2756
|
let released = false;
|
|
2748
2757
|
return () => {
|
|
2749
2758
|
if (released) return;
|
|
@@ -2762,7 +2771,14 @@ var PipelineRunnerAddon = class extends require_dist.BaseAddon {
|
|
|
2762
2771
|
const runner = this.runner;
|
|
2763
2772
|
if (!runner) return;
|
|
2764
2773
|
runner.enqueueDetectionFrame(deviceId, frame, void 0);
|
|
2765
|
-
|
|
2774
|
+
const sink = this.sharedMotionSinks.get(deviceId);
|
|
2775
|
+
if (sink) {
|
|
2776
|
+
const now = this.sharedSinkNow();
|
|
2777
|
+
if (now - sink.lastMotionEnqueueTs >= sink.minIntervalMs) {
|
|
2778
|
+
sink.lastMotionEnqueueTs = now;
|
|
2779
|
+
runner.enqueueMotionFrame(deviceId, rgbFrameToGrayFrame(frame), void 0);
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2766
2782
|
}
|
|
2767
2783
|
/**
|
|
2768
2784
|
* Epic C P1 detection path for a flagged camera: decode `rgb` in a
|
|
@@ -2896,7 +2912,7 @@ var PipelineRunnerAddon = class extends require_dist.BaseAddon {
|
|
|
2896
2912
|
return null;
|
|
2897
2913
|
}
|
|
2898
2914
|
if (shouldUseSessionDecode(this.config.useSessionDecode)) {
|
|
2899
|
-
if (resolveMotionFrameSource(config, opts?.sharedWithDetection === true).shared) return this.registerSharedMotionSink(config.deviceId);
|
|
2915
|
+
if (resolveMotionFrameSource(config, opts?.sharedWithDetection === true).shared) return this.registerSharedMotionSink(config.deviceId, config.motionFps);
|
|
2900
2916
|
return this.startMotionSessionDecode(config, api);
|
|
2901
2917
|
}
|
|
2902
2918
|
const src = resolveMotionFrameSource(config, opts?.sharedWithDetection === true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as boolean, D as nodePin, H as createEvent, I as errMsg, K as makeSourceBrokerId, L as BaseAddon, Q as array, V as EventCategory, Z as _enum, _ as customAction, it as object, k as pipelineRunnerCapability, ot as string, rt as number, tt as lazy, y as defineCustomActions } from "../dist-
|
|
2
|
-
import { n as isRemoteRestream, r as profileForStreamId, t as RemoteSourcePlane } from "../remote-source-plane-
|
|
1
|
+
import { $ as boolean, D as nodePin, H as createEvent, I as errMsg, K as makeSourceBrokerId, L as BaseAddon, Q as array, V as EventCategory, Z as _enum, _ as customAction, it as object, k as pipelineRunnerCapability, ot as string, rt as number, tt as lazy, y as defineCustomActions } from "../dist-BXax-C-g.mjs";
|
|
2
|
+
import { n as isRemoteRestream, r as profileForStreamId, t as RemoteSourcePlane } from "../remote-source-plane-D9mX0HiW.mjs";
|
|
3
3
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
4
4
|
import { t as isWorkerReply } from "../worker-protocol-pk7qdYXt.mjs";
|
|
5
5
|
import { FrameRingReaderCache } from "@camstack/shm-ring";
|
|
@@ -2008,7 +2008,9 @@ var PipelineRunnerAddon = class extends BaseAddon {
|
|
|
2008
2008
|
* rgb (see `enqueueSharedDetectionFrame`). A pure flag-set: `enqueueMotionFrame`
|
|
2009
2009
|
* is device-scoped, so no per-device callback object is needed.
|
|
2010
2010
|
*/
|
|
2011
|
-
sharedMotionSinks = /* @__PURE__ */ new
|
|
2011
|
+
sharedMotionSinks = /* @__PURE__ */ new Map();
|
|
2012
|
+
/** Wall clock for the shared-sink motionFps throttle — injectable in tests. */
|
|
2013
|
+
sharedSinkNow = Date.now;
|
|
2012
2014
|
/**
|
|
2013
2015
|
* Snapshot-equality cache for metrics-snapshot defer. The runner
|
|
2014
2016
|
* fires per-camera metrics every `METRICS_SNAPSHOT_INTERVAL_MS`;
|
|
@@ -2737,9 +2739,16 @@ var PipelineRunnerAddon = class extends BaseAddon {
|
|
|
2737
2739
|
* decoded rgb. Returns an idempotent teardown that unregisters it; forks
|
|
2738
2740
|
* nothing and holds no restream (the detection subscription owns the worker).
|
|
2739
2741
|
*/
|
|
2740
|
-
registerSharedMotionSink(deviceId) {
|
|
2741
|
-
|
|
2742
|
-
this.
|
|
2742
|
+
registerSharedMotionSink(deviceId, motionFps) {
|
|
2743
|
+
const fps = motionFps > 0 ? motionFps : 4;
|
|
2744
|
+
this.sharedMotionSinks.set(deviceId, {
|
|
2745
|
+
minIntervalMs: 1e3 / fps,
|
|
2746
|
+
lastMotionEnqueueTs: Number.NEGATIVE_INFINITY
|
|
2747
|
+
});
|
|
2748
|
+
this.ctxIfReady?.logger.info("session-decode: motion rides the detection worker (shared — no 2nd fork)", {
|
|
2749
|
+
tags: { deviceId },
|
|
2750
|
+
meta: { motionFps: fps }
|
|
2751
|
+
});
|
|
2743
2752
|
let released = false;
|
|
2744
2753
|
return () => {
|
|
2745
2754
|
if (released) return;
|
|
@@ -2758,7 +2767,14 @@ var PipelineRunnerAddon = class extends BaseAddon {
|
|
|
2758
2767
|
const runner = this.runner;
|
|
2759
2768
|
if (!runner) return;
|
|
2760
2769
|
runner.enqueueDetectionFrame(deviceId, frame, void 0);
|
|
2761
|
-
|
|
2770
|
+
const sink = this.sharedMotionSinks.get(deviceId);
|
|
2771
|
+
if (sink) {
|
|
2772
|
+
const now = this.sharedSinkNow();
|
|
2773
|
+
if (now - sink.lastMotionEnqueueTs >= sink.minIntervalMs) {
|
|
2774
|
+
sink.lastMotionEnqueueTs = now;
|
|
2775
|
+
runner.enqueueMotionFrame(deviceId, rgbFrameToGrayFrame(frame), void 0);
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2762
2778
|
}
|
|
2763
2779
|
/**
|
|
2764
2780
|
* Epic C P1 detection path for a flagged camera: decode `rgb` in a
|
|
@@ -2892,7 +2908,7 @@ var PipelineRunnerAddon = class extends BaseAddon {
|
|
|
2892
2908
|
return null;
|
|
2893
2909
|
}
|
|
2894
2910
|
if (shouldUseSessionDecode(this.config.useSessionDecode)) {
|
|
2895
|
-
if (resolveMotionFrameSource(config, opts?.sharedWithDetection === true).shared) return this.registerSharedMotionSink(config.deviceId);
|
|
2911
|
+
if (resolveMotionFrameSource(config, opts?.sharedWithDetection === true).shared) return this.registerSharedMotionSink(config.deviceId, config.motionFps);
|
|
2896
2912
|
return this.startMotionSessionDecode(config, api);
|
|
2897
2913
|
}
|
|
2898
2914
|
const src = resolveMotionFrameSource(config, opts?.sharedWithDetection === true);
|
package/dist/recorder/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("../chunk-D6vf50IK.js");
|
|
2
|
-
const require_dist = require("../dist-
|
|
2
|
+
const require_dist = require("../dist-CSXbgmP-.js");
|
|
3
3
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
4
4
|
const require_model_download_service_C_IHWnXx = require("../model-download-service-C-IHWnXx-BLXzxpRB.js");
|
|
5
5
|
let node_child_process = require("node:child_process");
|
package/dist/recorder/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as recordingCapability, B as DeviceType, D as nodePin, I as errMsg, L as BaseAddon, M as storageEvictableCapability, T as migrateConfigToBands, U as hydrateSchema, V as EventCategory, Y as selectAssignedProfileSlots, at as record, ot as string, s as EVENT_PAD_MS, u as RecordingConfigSchema } from "../dist-
|
|
1
|
+
import { A as recordingCapability, B as DeviceType, D as nodePin, I as errMsg, L as BaseAddon, M as storageEvictableCapability, T as migrateConfigToBands, U as hydrateSchema, V as EventCategory, Y as selectAssignedProfileSlots, at as record, ot as string, s as EVENT_PAD_MS, u as RecordingConfigSchema } from "../dist-BXax-C-g.mjs";
|
|
2
2
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
3
3
|
import { t as createFileDataPlaneHandler } from "../model-download-service-C-IHWnXx-BPy6aoAx.mjs";
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as nodePin, I as errMsg, d as RingBuffer } from "./dist-
|
|
1
|
+
import { D as nodePin, I as errMsg, d as RingBuffer } from "./dist-BXax-C-g.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
//#region src/stream-broker/stream-broker/decoder-session-proxy.ts
|
|
4
4
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CK4BmiTK.mjs";
|
|
2
2
|
import { a as d, i as f, n as p, o as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
|
|
3
3
|
import { n as _, r as v, t as y } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
|
|
4
4
|
import { n as b, t as x } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs";
|
|
5
|
-
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
5
|
+
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-o4tu_xuc.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
7
7
|
var C = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), w = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), T = (e) => {
|
|
8
8
|
let t = w(e);
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.1.
|
|
6
|
+
version: "1.1.20",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_stream_broker_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.1.
|
|
21
|
+
version: "1.1.36",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_stream_broker_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.1.
|
|
36
|
+
version: "1.1.31",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_stream_broker_widgets",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region \0virtual:mf:__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
+
var e = "__mf_init__virtual:mf:__mfe_internal__addon_stream_broker_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
+
if (!t) {
|
|
4
|
+
let n, r, i = new Promise((e, t) => {
|
|
5
|
+
n = e, r = t;
|
|
6
|
+
});
|
|
7
|
+
t = globalThis[e] = {
|
|
8
|
+
initPromise: i,
|
|
9
|
+
initResolve: n,
|
|
10
|
+
initReject: r
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
+
globalThis[r] ||= {
|
|
15
|
+
share: {},
|
|
16
|
+
remote: {}
|
|
17
|
+
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
+
var i = globalThis[r], a, o = (e) => {
|
|
19
|
+
e.ACCESSORY_LABEL, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusSchema, e.CameraStreamSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_INFO, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENT_PAD_MS, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindSchema, e.EventSourceType, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionEvalError, e.ExpressionParseError, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.MACRO_LABELS, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RESERVED_BINDING_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.TestResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackSchema, e.TrackStateSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.advancedNotifierCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.applyTransform, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioMetricsCapability, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildModelVariantGroups, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.compileExpression, e.compileExpressionSafe, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.cosineSimilarity, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createExpressionScope, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dayNightCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.describeModelVariant, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.enumSensorCapability, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateLinkExpression, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.frameworkSwapConfirmSchema, e.frameworkSwapPackageSchema, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.isObjectInput, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, a = e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.metricsProviderCapability, e.migrateConfigToBands, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeUnit, e.notificationOutputCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.osdCapability, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.pendingFrameworkSwapSchema, e.petFeederCapability, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveDetectionRuntime, e.resolveDeviceProfile, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveRunnerId, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toStreamSourceEntry, e.toastCapability, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.valveCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
+
}, s = i.share["default:@camstack/types"];
|
|
21
|
+
s === void 0 ? n.then(() => {
|
|
22
|
+
if (s = i.share["default:@camstack/types"], s === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
+
o(s);
|
|
24
|
+
}) : o(s);
|
|
25
|
+
//#endregion
|
|
26
|
+
export { a as t };
|