@camstack/addon-pipeline-orchestrator 1.1.33 → 1.1.34
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/_stub.js +311 -299
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-D_of6q00.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-vZTi0c_a.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-iO-Czqhz.mjs +26 -0
- package/dist/{_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CoYg1yd1.mjs → _virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-IzxaZxNX.mjs} +1 -1
- package/dist/{hostInit-BhDuKPG5.mjs → hostInit-gtkVoSWG.mjs} +3 -3
- package/dist/index.js +304 -29
- package/dist/index.mjs +304 -29
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DGe4IqDd.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -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,
|
|
@@ -7111,6 +7107,9 @@ function method(input, output, options) {
|
|
|
7111
7107
|
timeoutMs: options?.timeoutMs
|
|
7112
7108
|
};
|
|
7113
7109
|
}
|
|
7110
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
7111
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
7112
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
7114
7113
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
7115
7114
|
var VersionOutputSchema = object({ version: string() });
|
|
7116
7115
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -13428,6 +13427,17 @@ var WidgetMetadataSchema = object({
|
|
|
13428
13427
|
deviceContext: boolean().default(false),
|
|
13429
13428
|
integrationContext: boolean().default(false)
|
|
13430
13429
|
}),
|
|
13430
|
+
/**
|
|
13431
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
13432
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
13433
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
13434
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
13435
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
13436
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
13437
|
+
* than the authenticated registry, and its bundle is served by the
|
|
13438
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
13439
|
+
*/
|
|
13440
|
+
preAuth: boolean().optional().default(false),
|
|
13431
13441
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
13432
13442
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
13433
13443
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -13735,6 +13745,66 @@ method(object({
|
|
|
13735
13745
|
password: string()
|
|
13736
13746
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
13737
13747
|
/**
|
|
13748
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
13749
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
13750
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
13751
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
13752
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
13753
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
13754
|
+
*
|
|
13755
|
+
* A contribution is a discriminated union on `kind`:
|
|
13756
|
+
*
|
|
13757
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
13758
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
13759
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
13760
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
13761
|
+
* login page needs NO change.
|
|
13762
|
+
*
|
|
13763
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
13764
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
13765
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
13766
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
13767
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
13768
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
13769
|
+
*
|
|
13770
|
+
* Every contribution carries a `stage`:
|
|
13771
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
13772
|
+
* magic-link buttons; a future usernameless passkey).
|
|
13773
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
13774
|
+
* returned `factors` (passkey-as-2FA today).
|
|
13775
|
+
*
|
|
13776
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
13777
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
13778
|
+
* tRPC router.
|
|
13779
|
+
*/
|
|
13780
|
+
/** When a login method renders in the two-phase login flow. */
|
|
13781
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
13782
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
13783
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
13784
|
+
kind: literal("redirect"),
|
|
13785
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
13786
|
+
id: string(),
|
|
13787
|
+
/** Operator-facing button label. */
|
|
13788
|
+
label: string(),
|
|
13789
|
+
/** lucide-react icon name. */
|
|
13790
|
+
icon: string().optional(),
|
|
13791
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
13792
|
+
startUrl: string(),
|
|
13793
|
+
stage: LoginStageEnum
|
|
13794
|
+
}), object({
|
|
13795
|
+
kind: literal("widget"),
|
|
13796
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
13797
|
+
id: string(),
|
|
13798
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
13799
|
+
addonId: string(),
|
|
13800
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
13801
|
+
bundle: string(),
|
|
13802
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
13803
|
+
remote: WidgetRemoteSchema,
|
|
13804
|
+
stage: LoginStageEnum
|
|
13805
|
+
})]);
|
|
13806
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
13807
|
+
/**
|
|
13738
13808
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
13739
13809
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
13740
13810
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -16706,6 +16776,131 @@ var pipelineOrchestratorCapability = {
|
|
|
16706
16776
|
}
|
|
16707
16777
|
};
|
|
16708
16778
|
/**
|
|
16779
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
16780
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
16781
|
+
* agents).
|
|
16782
|
+
*
|
|
16783
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
16784
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
16785
|
+
* version describes the node. Updates install into
|
|
16786
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
16787
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
16788
|
+
*
|
|
16789
|
+
* Providers:
|
|
16790
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
16791
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
16792
|
+
* unpinned calls.
|
|
16793
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
16794
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
16795
|
+
* `$hub.registerNode` manifest.
|
|
16796
|
+
*
|
|
16797
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
16798
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
16799
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
16800
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
16801
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
16802
|
+
*
|
|
16803
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
16804
|
+
*/
|
|
16805
|
+
/**
|
|
16806
|
+
* Where the running hub's code was loaded from:
|
|
16807
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
16808
|
+
* plain resolution and runtime updates are refused.
|
|
16809
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
16810
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
16811
|
+
*/
|
|
16812
|
+
var ServerBootModeSchema = _enum([
|
|
16813
|
+
"workspace",
|
|
16814
|
+
"baked",
|
|
16815
|
+
"data-root"
|
|
16816
|
+
]);
|
|
16817
|
+
/**
|
|
16818
|
+
* Update lifecycle state:
|
|
16819
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
16820
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
16821
|
+
* restarted onto it (still running the OLD version).
|
|
16822
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
16823
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
16824
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
16825
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
16826
|
+
*/
|
|
16827
|
+
var ServerUpdateStateSchema = _enum([
|
|
16828
|
+
"idle",
|
|
16829
|
+
"checking",
|
|
16830
|
+
"staging",
|
|
16831
|
+
"pending-restart",
|
|
16832
|
+
"awaiting-confirmation"
|
|
16833
|
+
]);
|
|
16834
|
+
var ServerRollbackInfoSchema = object({
|
|
16835
|
+
/** The version that failed (or was manually rolled back). */
|
|
16836
|
+
fromVersion: string(),
|
|
16837
|
+
/** The version rolled back to; null = the baked seed. */
|
|
16838
|
+
toVersion: string().nullable(),
|
|
16839
|
+
atMs: number(),
|
|
16840
|
+
reason: string()
|
|
16841
|
+
});
|
|
16842
|
+
var ServerPackageStatusSchema = object({
|
|
16843
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
16844
|
+
packageName: string(),
|
|
16845
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
16846
|
+
runningVersion: string().nullable(),
|
|
16847
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
16848
|
+
nodeRuntimeVersion: string().nullable(),
|
|
16849
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
16850
|
+
activeVersion: string().nullable(),
|
|
16851
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
16852
|
+
previousVersion: string().nullable(),
|
|
16853
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
16854
|
+
seedVersion: string().nullable(),
|
|
16855
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
16856
|
+
latestVersion: string().nullable(),
|
|
16857
|
+
updateAvailable: boolean(),
|
|
16858
|
+
bootMode: ServerBootModeSchema,
|
|
16859
|
+
updateState: ServerUpdateStateSchema,
|
|
16860
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
16861
|
+
pendingVersion: string().nullable(),
|
|
16862
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
16863
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
16864
|
+
/**
|
|
16865
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
16866
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
16867
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
16868
|
+
*/
|
|
16869
|
+
stateFileCorrupt: boolean(),
|
|
16870
|
+
lastCheckedAtMs: number().nullable()
|
|
16871
|
+
});
|
|
16872
|
+
var ServerUpdateCheckResultSchema = object({
|
|
16873
|
+
packageName: string(),
|
|
16874
|
+
runningVersion: string().nullable(),
|
|
16875
|
+
latestVersion: string().nullable(),
|
|
16876
|
+
updateAvailable: boolean(),
|
|
16877
|
+
checkedAtMs: number(),
|
|
16878
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
16879
|
+
error: string().nullable()
|
|
16880
|
+
});
|
|
16881
|
+
var ServerUpdateActionResultSchema = object({
|
|
16882
|
+
accepted: boolean(),
|
|
16883
|
+
targetVersion: string().nullable(),
|
|
16884
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
16885
|
+
restarting: boolean(),
|
|
16886
|
+
message: string()
|
|
16887
|
+
});
|
|
16888
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
16889
|
+
kind: "mutation",
|
|
16890
|
+
auth: "admin"
|
|
16891
|
+
}), method(object({
|
|
16892
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
16893
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
16894
|
+
kind: "mutation",
|
|
16895
|
+
auth: "admin"
|
|
16896
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16897
|
+
kind: "mutation",
|
|
16898
|
+
auth: "admin"
|
|
16899
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
16900
|
+
kind: "mutation",
|
|
16901
|
+
auth: "admin"
|
|
16902
|
+
});
|
|
16903
|
+
/**
|
|
16709
16904
|
* Query filter for settings-store collections.
|
|
16710
16905
|
*/
|
|
16711
16906
|
var QueryFilterSchema = object({
|
|
@@ -18692,6 +18887,16 @@ var TopologyCategorySchema = object({
|
|
|
18692
18887
|
healthy: number(),
|
|
18693
18888
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
18694
18889
|
});
|
|
18890
|
+
/**
|
|
18891
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
18892
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
18893
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
18894
|
+
* rows and pre-phase-2 nodes report none.
|
|
18895
|
+
*/
|
|
18896
|
+
var TopologyRootPackageSchema = object({
|
|
18897
|
+
name: string(),
|
|
18898
|
+
version: string()
|
|
18899
|
+
});
|
|
18695
18900
|
var TopologyNodeSchema = object({
|
|
18696
18901
|
id: string(),
|
|
18697
18902
|
name: string(),
|
|
@@ -18715,7 +18920,8 @@ var TopologyNodeSchema = object({
|
|
|
18715
18920
|
status: string()
|
|
18716
18921
|
})).readonly(),
|
|
18717
18922
|
processes: array(TopologyProcessSchema).readonly(),
|
|
18718
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
18923
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
18924
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
18719
18925
|
});
|
|
18720
18926
|
var CapUsageEdgeSchema = object({
|
|
18721
18927
|
callerAddonId: string(),
|
|
@@ -21515,6 +21721,12 @@ Object.freeze({
|
|
|
21515
21721
|
addonId: null,
|
|
21516
21722
|
access: "create"
|
|
21517
21723
|
},
|
|
21724
|
+
"loginMethod.getLoginMethods": {
|
|
21725
|
+
capName: "login-method",
|
|
21726
|
+
capScope: "system",
|
|
21727
|
+
addonId: null,
|
|
21728
|
+
access: "view"
|
|
21729
|
+
},
|
|
21518
21730
|
"mediaPlayer.next": {
|
|
21519
21731
|
capName: "media-player",
|
|
21520
21732
|
capScope: "device",
|
|
@@ -22877,6 +23089,36 @@ Object.freeze({
|
|
|
22877
23089
|
addonId: null,
|
|
22878
23090
|
access: "create"
|
|
22879
23091
|
},
|
|
23092
|
+
"serverManagement.applyServerUpdate": {
|
|
23093
|
+
capName: "server-management",
|
|
23094
|
+
capScope: "system",
|
|
23095
|
+
addonId: null,
|
|
23096
|
+
access: "create"
|
|
23097
|
+
},
|
|
23098
|
+
"serverManagement.checkServerUpdate": {
|
|
23099
|
+
capName: "server-management",
|
|
23100
|
+
capScope: "system",
|
|
23101
|
+
addonId: null,
|
|
23102
|
+
access: "create"
|
|
23103
|
+
},
|
|
23104
|
+
"serverManagement.getServerPackageStatus": {
|
|
23105
|
+
capName: "server-management",
|
|
23106
|
+
capScope: "system",
|
|
23107
|
+
addonId: null,
|
|
23108
|
+
access: "view"
|
|
23109
|
+
},
|
|
23110
|
+
"serverManagement.restartServer": {
|
|
23111
|
+
capName: "server-management",
|
|
23112
|
+
capScope: "system",
|
|
23113
|
+
addonId: null,
|
|
23114
|
+
access: "create"
|
|
23115
|
+
},
|
|
23116
|
+
"serverManagement.rollbackServerUpdate": {
|
|
23117
|
+
capName: "server-management",
|
|
23118
|
+
capScope: "system",
|
|
23119
|
+
addonId: null,
|
|
23120
|
+
access: "create"
|
|
23121
|
+
},
|
|
22880
23122
|
"settingsStore.count": {
|
|
22881
23123
|
capName: "settings-store",
|
|
22882
23124
|
capScope: "system",
|
|
@@ -23741,6 +23983,18 @@ Object.freeze({
|
|
|
23741
23983
|
addonId: null,
|
|
23742
23984
|
access: "view"
|
|
23743
23985
|
},
|
|
23986
|
+
"viewerUi.getStaticDir": {
|
|
23987
|
+
capName: "viewer-ui",
|
|
23988
|
+
capScope: "system",
|
|
23989
|
+
addonId: null,
|
|
23990
|
+
access: "view"
|
|
23991
|
+
},
|
|
23992
|
+
"viewerUi.getVersion": {
|
|
23993
|
+
capName: "viewer-ui",
|
|
23994
|
+
capScope: "system",
|
|
23995
|
+
addonId: null,
|
|
23996
|
+
access: "view"
|
|
23997
|
+
},
|
|
23744
23998
|
"waterHeater.setAway": {
|
|
23745
23999
|
capName: "water-heater",
|
|
23746
24000
|
capScope: "device",
|
|
@@ -26495,7 +26749,7 @@ var DetectionWiringController = class {
|
|
|
26495
26749
|
* the motion stream id.
|
|
26496
26750
|
*
|
|
26497
26751
|
* Public — `PlacementService`'s `buildWatchdogCamera` closure (wired in
|
|
26498
|
-
* `
|
|
26752
|
+
* `orchestrator-bootstrap.ts`) calls straight through to this method.
|
|
26499
26753
|
*/
|
|
26500
26754
|
buildWatchdogCamera(config, deviceName) {
|
|
26501
26755
|
const continuousStages = /* @__PURE__ */ new Map();
|
|
@@ -26519,8 +26773,8 @@ var DetectionWiringController = class {
|
|
|
26519
26773
|
* source refresh on ITS OWN stream so a dropped rfc4571 source
|
|
26520
26774
|
* re-materializes and the runner's frame poller resumes.
|
|
26521
26775
|
*
|
|
26522
|
-
* Public — `PipelineWatchdog`'s `recover` closure (wired in
|
|
26523
|
-
* calls straight through to this method.
|
|
26776
|
+
* Public — `PipelineWatchdog`'s `recover` closure (wired in
|
|
26777
|
+
* `orchestrator-bootstrap.ts`) calls straight through to this method.
|
|
26524
26778
|
*/
|
|
26525
26779
|
recoverPipelineStage(deviceId, stage, streamId) {
|
|
26526
26780
|
if (stage === "audio") {
|
|
@@ -26954,7 +27208,7 @@ function selectRunnerFrameSource(input) {
|
|
|
26954
27208
|
}
|
|
26955
27209
|
//#endregion
|
|
26956
27210
|
//#region src/placement-service.ts
|
|
26957
|
-
/** Key under which the orchestrator stores its per-device manual pin — shared with `readPipelinePin
|
|
27211
|
+
/** Key under which the orchestrator stores its per-device manual pin — shared with `readPipelinePin` (index.ts) and `handleNodeDisconnect` (`node-lifecycle-handler.ts`). */
|
|
26958
27212
|
var PREFERRED_AGENT_SETTING = "preferredAgent";
|
|
26959
27213
|
var PlacementService = class {
|
|
26960
27214
|
deps;
|
|
@@ -28735,6 +28989,8 @@ var PipelineSettingsStore = class PipelineSettingsStore {
|
|
|
28735
28989
|
dispose() {
|
|
28736
28990
|
this.disposed = true;
|
|
28737
28991
|
}
|
|
28992
|
+
blobWriteLock = new KeyedAsyncLock({ isShuttingDown: () => this.disposed });
|
|
28993
|
+
static AGENT_SETTINGS_LOCK_KEY = "agentSettings";
|
|
28738
28994
|
_nodeBindingsState = null;
|
|
28739
28995
|
_templatesState = null;
|
|
28740
28996
|
_agentSettingsState = null;
|
|
@@ -28796,28 +29052,47 @@ var PipelineSettingsStore = class PipelineSettingsStore {
|
|
|
28796
29052
|
async readAgentSettingsMap() {
|
|
28797
29053
|
return { ...await this.agentSettingsState.get() };
|
|
28798
29054
|
}
|
|
28799
|
-
/**
|
|
29055
|
+
/**
|
|
29056
|
+
* Overwrite one agent's settings. Does NOT touch other agents' entries.
|
|
29057
|
+
* The read-modify-write runs under {@link blobWriteLock}, so a concurrent
|
|
29058
|
+
* write for a DIFFERENT node can never be dropped (both re-read the fresh
|
|
29059
|
+
* blob when their turn comes and only overlay their own node's entry).
|
|
29060
|
+
*/
|
|
28800
29061
|
async writeAgentSettings(nodeId, settings) {
|
|
28801
29062
|
if (typeof nodeId !== "string" || nodeId.length === 0 || nodeId === "undefined" || nodeId === "null") {
|
|
28802
29063
|
this.deps.logger.warn("writeAgentSettings: refusing to persist malformed nodeId", { meta: { nodeId } });
|
|
28803
29064
|
return;
|
|
28804
29065
|
}
|
|
28805
|
-
|
|
28806
|
-
|
|
28807
|
-
|
|
28808
|
-
|
|
28809
|
-
|
|
28810
|
-
|
|
28811
|
-
|
|
28812
|
-
|
|
29066
|
+
await this.blobWriteLock.run(PipelineSettingsStore.AGENT_SETTINGS_LOCK_KEY, async () => {
|
|
29067
|
+
const all = await this.readAgentSettingsMap();
|
|
29068
|
+
const existing = all[nodeId];
|
|
29069
|
+
const merged = {
|
|
29070
|
+
...existing,
|
|
29071
|
+
...settings,
|
|
29072
|
+
maxCameras: settings.maxCameras !== void 0 ? settings.maxCameras ?? null : existing?.maxCameras ?? null
|
|
29073
|
+
};
|
|
29074
|
+
await this.agentSettingsState.set({
|
|
29075
|
+
...all,
|
|
29076
|
+
[nodeId]: merged
|
|
29077
|
+
});
|
|
29078
|
+
});
|
|
28813
29079
|
}
|
|
28814
|
-
/**
|
|
29080
|
+
/**
|
|
29081
|
+
* Drop one agent's persisted settings entry. Returns whether an entry
|
|
29082
|
+
* existed (`false` also when the store is already disposed — the locked
|
|
29083
|
+
* section becomes a no-op then). Serialized via {@link blobWriteLock} for
|
|
29084
|
+
* the same lost-write reason as {@link writeAgentSettings}.
|
|
29085
|
+
*/
|
|
28815
29086
|
async removeAgentSettings(nodeId) {
|
|
28816
|
-
|
|
28817
|
-
|
|
28818
|
-
|
|
28819
|
-
|
|
28820
|
-
|
|
29087
|
+
let removed = false;
|
|
29088
|
+
await this.blobWriteLock.run(PipelineSettingsStore.AGENT_SETTINGS_LOCK_KEY, async () => {
|
|
29089
|
+
const all = await this.readAgentSettingsMap();
|
|
29090
|
+
if (!(nodeId in all)) return;
|
|
29091
|
+
const { [nodeId]: _drop, ...rest } = all;
|
|
29092
|
+
await this.agentSettingsState.set(rest);
|
|
29093
|
+
removed = true;
|
|
29094
|
+
});
|
|
29095
|
+
return removed;
|
|
28821
29096
|
}
|
|
28822
29097
|
/** Read the `cameraSettings` map (keyed on `deviceId` as string) via the durable handle. */
|
|
28823
29098
|
async readCameraSettingsMap() {
|
|
@@ -29960,9 +30235,10 @@ var SessionDispatchController = class {
|
|
|
29960
30235
|
this.sessionRegistry.setTeardownTimer(deviceId, timer);
|
|
29961
30236
|
}
|
|
29962
30237
|
/**
|
|
29963
|
-
* The session + motion-watch teardown half of
|
|
29964
|
-
*
|
|
29965
|
-
* `
|
|
30238
|
+
* The session + motion-watch teardown half of `stopDetection` (the other
|
|
30239
|
+
* half — `releaseCamera` + `audio.stopForDevice` — lives in
|
|
30240
|
+
* `DetectionWiringController.stopDetection` since S11 Task 3, which calls
|
|
30241
|
+
* this AFTER those run, same ordering as before).
|
|
29966
30242
|
*
|
|
29967
30243
|
* Stopping/disabling/removing an on-motion camera must also close any
|
|
29968
30244
|
* ACTIVE detection session and release the motion-watch attach.
|
|
@@ -30427,7 +30703,6 @@ async function buildOrchestratorControllers(deps) {
|
|
|
30427
30703
|
},
|
|
30428
30704
|
listZones: async (deviceId) => await zonesProvider?.listZones({ deviceId }) ?? [],
|
|
30429
30705
|
readPipelinePin: (deviceId) => deps.readPipelinePin(deviceId),
|
|
30430
|
-
eventBus: deps.ctx().eventBus,
|
|
30431
30706
|
logger: deps.ctx().logger
|
|
30432
30707
|
});
|
|
30433
30708
|
const deviceConfig = new DeviceConfigContributions({
|
package/dist/remoteEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-vZTi0c_a.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.34",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_pipeline_orchestrator_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, a = 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.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.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.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.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.looseSchema, e.makeProfileBrokerId, 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.resolveModelFormat, e.resolveRunnerId, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, 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.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 };
|