@camstack/addon-pipeline-orchestrator 1.2.679 → 1.2.680
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/CHANGELOG.md +6 -0
- package/dist/_stub.js +2 -2
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-9T-BLrzk.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-BWnvPLO-.mjs} +2 -2
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DdeKARA7.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-8zgS5KkE.mjs +26 -0
- package/dist/{hostInit-Be3j5KKd.mjs → hostInit-CnA8Kd3k.mjs} +2 -2
- package/dist/index.js +70 -174
- package/dist/index.mjs +70 -174
- package/dist/remoteEntry.js +1 -1
- package/package.json +2 -2
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-OlQVUg-v.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BYACFy7L.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -805,7 +805,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
805
805
|
return EventCategory;
|
|
806
806
|
}({});
|
|
807
807
|
//#endregion
|
|
808
|
-
//#region ../types/dist/composed-stable-id-
|
|
808
|
+
//#region ../types/dist/composed-stable-id-DFNyOFzz.mjs
|
|
809
809
|
/**
|
|
810
810
|
import { errMsg } from '@camstack/types'
|
|
811
811
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -818,6 +818,7 @@ function errMsg$2(err) {
|
|
|
818
818
|
}
|
|
819
819
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
820
820
|
DeviceType["Camera"] = "camera";
|
|
821
|
+
/** Legacy stored value, read only by the hub-to-integration migrations; no live device carries it. */
|
|
821
822
|
DeviceType["Hub"] = "hub";
|
|
822
823
|
DeviceType["Light"] = "light";
|
|
823
824
|
DeviceType["Siren"] = "siren";
|
|
@@ -6029,7 +6030,7 @@ var ZodIssueCode = {
|
|
|
6029
6030
|
var ZodFirstPartyTypeKind;
|
|
6030
6031
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6031
6032
|
//#endregion
|
|
6032
|
-
//#region ../types/dist/sleep-
|
|
6033
|
+
//#region ../types/dist/sleep-D_NpiLFP.mjs
|
|
6033
6034
|
/**
|
|
6034
6035
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6035
6036
|
* window to float samples (D455).
|
|
@@ -13791,10 +13792,6 @@ var CAMERA_CAP_VOCABULARY = {
|
|
|
13791
13792
|
scope: "device",
|
|
13792
13793
|
noun: t("Admin link", "Link di amministrazione")
|
|
13793
13794
|
},
|
|
13794
|
-
"device-discovery": {
|
|
13795
|
-
scope: "device",
|
|
13796
|
-
noun: t("Discovery", "Rilevamento dispositivi")
|
|
13797
|
-
},
|
|
13798
13795
|
"device-extension": {
|
|
13799
13796
|
scope: "device",
|
|
13800
13797
|
noun: t("Device extension", "Estensione del dispositivo")
|
|
@@ -15364,7 +15361,6 @@ var CAP_NAMES = Object.freeze([
|
|
|
15364
15361
|
"device-admin-link",
|
|
15365
15362
|
"device-adoption",
|
|
15366
15363
|
"device-credentials",
|
|
15367
|
-
"device-discovery",
|
|
15368
15364
|
"device-export",
|
|
15369
15365
|
"device-extension",
|
|
15370
15366
|
"device-history",
|
|
@@ -15986,13 +15982,6 @@ Object.freeze({
|
|
|
15986
15982
|
"valueType": "string"
|
|
15987
15983
|
}
|
|
15988
15984
|
],
|
|
15989
|
-
"device-discovery": [{
|
|
15990
|
-
"path": "lastDiscoveryAt",
|
|
15991
|
-
"valueType": "number"
|
|
15992
|
-
}, {
|
|
15993
|
-
"path": "lastError",
|
|
15994
|
-
"valueType": "string"
|
|
15995
|
-
}],
|
|
15996
15985
|
"device-export": [
|
|
15997
15986
|
{
|
|
15998
15987
|
"path": "linkState",
|
|
@@ -17468,7 +17457,7 @@ function sleep(ms) {
|
|
|
17468
17457
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
17469
17458
|
}
|
|
17470
17459
|
//#endregion
|
|
17471
|
-
//#region ../types/dist/implemented-methods-
|
|
17460
|
+
//#region ../types/dist/implemented-methods-M5aguGon.mjs
|
|
17472
17461
|
/**
|
|
17473
17462
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
17474
17463
|
*
|
|
@@ -45661,7 +45650,7 @@ object({
|
|
|
45661
45650
|
* is irrelevant; the array is treated as a set by consumers. */
|
|
45662
45651
|
hiddenChildIds: array(number$1()).readonly()
|
|
45663
45652
|
});
|
|
45664
|
-
DeviceType.Camera, DeviceType.
|
|
45653
|
+
DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Cover, DeviceType.Lock, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Generic, method(object({
|
|
45665
45654
|
deviceId: number$1().int().nonnegative(),
|
|
45666
45655
|
childDeviceId: number$1().int().nonnegative(),
|
|
45667
45656
|
hidden: boolean()
|
|
@@ -50356,7 +50345,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
|
|
|
50356
50345
|
kind: "mutation",
|
|
50357
50346
|
auth: "protected"
|
|
50358
50347
|
});
|
|
50359
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Heater, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.Camera, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Gateway, DeviceType.
|
|
50348
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Heater, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.Camera, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.MediaPlayer;
|
|
50360
50349
|
var NUMBER = {
|
|
50361
50350
|
kind: "fixed",
|
|
50362
50351
|
result: ["number"]
|
|
@@ -51749,27 +51738,35 @@ var DeviceAdminLinkSchema = object({
|
|
|
51749
51738
|
});
|
|
51750
51739
|
method(object({ deviceId: number$1().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" });
|
|
51751
51740
|
/**
|
|
51752
|
-
* device-
|
|
51753
|
-
*
|
|
51754
|
-
*
|
|
51755
|
-
*
|
|
51756
|
-
*
|
|
51757
|
-
*
|
|
51758
|
-
*
|
|
51759
|
-
*
|
|
51760
|
-
*
|
|
51761
|
-
*
|
|
51762
|
-
*
|
|
51763
|
-
*
|
|
51764
|
-
*
|
|
51765
|
-
*
|
|
51766
|
-
*
|
|
51767
|
-
*
|
|
51768
|
-
*
|
|
51769
|
-
|
|
51770
|
-
|
|
51771
|
-
*
|
|
51772
|
-
*
|
|
51741
|
+
* `device-adoption` — generic discovery + adoption surface,
|
|
51742
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
51743
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
51744
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
51745
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
51746
|
+
* successor to `ha-discovery`:
|
|
51747
|
+
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
51748
|
+
* internally) rather than a connection-specific `brokerId`, and it
|
|
51749
|
+
* OWNS the shared `DiscoveredChildDevice` candidate type
|
|
51750
|
+
* (declared below) so a single shared adoption modal renders any integration's
|
|
51751
|
+
* candidate tree.
|
|
51752
|
+
*
|
|
51753
|
+
* UI flow (Integrations page → integration detail):
|
|
51754
|
+
* 1. `listCandidates({integrationId, page, pageSize, filter})` →
|
|
51755
|
+
* paginated candidate list, each row collapsed.
|
|
51756
|
+
* 2. User expands a row → `getCandidate({integrationId,
|
|
51757
|
+
* childNativeId})` returns the single candidate (with its nested
|
|
51758
|
+
* `children`) for the accordion render.
|
|
51759
|
+
* 3. User clicks "Adopt" on one or more candidates →
|
|
51760
|
+
* `adopt({integrationId, childNativeIds, perCandidate?})`
|
|
51761
|
+
* materialises one parent CamStack device per candidate plus its
|
|
51762
|
+
* accessory children. `perCandidate[childNativeId]` carries an
|
|
51763
|
+
* optional display-name override + a `hiddenChildIds` pre-hide set
|
|
51764
|
+
* (the parent's `accessories.hiddenChildIds` gates UI visibility).
|
|
51765
|
+
* 4. User clicks "Release" → `release({integrationId, camDeviceId})`
|
|
51766
|
+
* removes the parent + every child from the kernel registry.
|
|
51767
|
+
*/
|
|
51768
|
+
/**
|
|
51769
|
+
* Status enum for a discovered device. Generic enough for
|
|
51773
51770
|
* battery cams, awake cams, and unreachable cams alike.
|
|
51774
51771
|
*/
|
|
51775
51772
|
var DiscoveredChildStatusSchema = _enum([
|
|
@@ -51786,12 +51783,12 @@ var DiscoveredChildDeviceSchema = lazy(() => object({
|
|
|
51786
51783
|
/** DeviceType the child should be created with on adopt. */
|
|
51787
51784
|
type: _enum(DeviceType),
|
|
51788
51785
|
status: DiscoveredChildStatusSchema,
|
|
51789
|
-
/** Free-form integration-specific metadata surfaced in the
|
|
51786
|
+
/** Free-form integration-specific metadata surfaced in the adoption modal. */
|
|
51790
51787
|
metadata: object({
|
|
51791
51788
|
model: string().optional(),
|
|
51792
51789
|
serialNumber: string().optional(),
|
|
51793
51790
|
uid: string().optional(),
|
|
51794
|
-
/** Reolink: 0-based channel index inside the parent NVR
|
|
51791
|
+
/** Reolink: 0-based channel index inside the parent NVR. */
|
|
51795
51792
|
rtspChannel: number$1().int().nonnegative().optional(),
|
|
51796
51793
|
isBattery: boolean().optional(),
|
|
51797
51794
|
isDoorbell: boolean().optional(),
|
|
@@ -51807,86 +51804,24 @@ var DiscoveredChildDeviceSchema = lazy(() => object({
|
|
|
51807
51804
|
}).default({}),
|
|
51808
51805
|
/**
|
|
51809
51806
|
* `true` when the framework already created a child device for this
|
|
51810
|
-
* `childNativeId` under the current parent. The
|
|
51807
|
+
* `childNativeId` under the current parent. The adoption modal uses it to
|
|
51811
51808
|
* gate the Add/Remove button and surface the existing `deviceId`.
|
|
51812
51809
|
*/
|
|
51813
51810
|
alreadyAdopted: boolean(),
|
|
51814
51811
|
/** When `alreadyAdopted=true`, the framework-assigned child device id. */
|
|
51815
51812
|
adoptedDeviceId: number$1().int().nonnegative().nullable(),
|
|
51816
|
-
/** Capability names the candidate advertises — integrations populate,
|
|
51813
|
+
/** Capability names the candidate advertises — integrations populate, flat enumerations omit. */
|
|
51817
51814
|
capabilities: array(string()).readonly().optional(),
|
|
51818
|
-
/** Feature flags the candidate advertises — integrations populate,
|
|
51815
|
+
/** Feature flags the candidate advertises — integrations populate, flat enumerations omit. */
|
|
51819
51816
|
features: array(string()).readonly().optional(),
|
|
51820
51817
|
/** Upstream-system identity + rendering hints for the candidate. */
|
|
51821
51818
|
sourceInfo: SourceInfoSchema.optional(),
|
|
51822
|
-
/** Nested entity-children for accordion preview — integrations populate,
|
|
51819
|
+
/** Nested entity-children for accordion preview — integrations populate, flat enumerations omit. */
|
|
51823
51820
|
children: array(DiscoveredChildDeviceSchema).readonly().optional(),
|
|
51824
51821
|
/** `childNativeId` of the gateway candidate in the same list this device sits behind. */
|
|
51825
51822
|
parentStableId: string().optional()
|
|
51826
51823
|
}));
|
|
51827
51824
|
/**
|
|
51828
|
-
* Status block — populated by the integration after each
|
|
51829
|
-
* `refreshDiscovery` (or push-driven update). The runtime-state slice
|
|
51830
|
-
* is what the panel reads via the per-device proxy; `getStatus`
|
|
51831
|
-
* returns the same payload via the codegen'd auto-injection.
|
|
51832
|
-
*/
|
|
51833
|
-
var DeviceDiscoveryStatusSchema = object({
|
|
51834
|
-
discovered: array(DiscoveredChildDeviceSchema),
|
|
51835
|
-
/** Wall-clock ms of the last successful enumeration. */
|
|
51836
|
-
lastDiscoveryAt: number$1().int().nonnegative().nullable(),
|
|
51837
|
-
/** Last error surfaced from the source (rendered as a banner). */
|
|
51838
|
-
lastError: string().nullable()
|
|
51839
|
-
});
|
|
51840
|
-
DeviceType.Hub, DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: number$1().int().nonnegative() }), method(object({ deviceId: number$1().int().nonnegative() }), array(DiscoveredChildDeviceSchema).readonly()), method(object({ deviceId: number$1().int().nonnegative() }), array(DiscoveredChildDeviceSchema).readonly(), {
|
|
51841
|
-
kind: "mutation",
|
|
51842
|
-
auth: "admin"
|
|
51843
|
-
}), method(object({
|
|
51844
|
-
deviceId: number$1().int().nonnegative(),
|
|
51845
|
-
childNativeId: string(),
|
|
51846
|
-
/** Optional override for the child's display name. */
|
|
51847
|
-
name: string().optional()
|
|
51848
|
-
}), object({
|
|
51849
|
-
deviceId: number$1().int().nonnegative(),
|
|
51850
|
-
stableId: string()
|
|
51851
|
-
}), {
|
|
51852
|
-
kind: "mutation",
|
|
51853
|
-
auth: "admin"
|
|
51854
|
-
}), method(object({
|
|
51855
|
-
deviceId: number$1().int().nonnegative(),
|
|
51856
|
-
childDeviceId: number$1().int().nonnegative()
|
|
51857
|
-
}), _void(), {
|
|
51858
|
-
kind: "mutation",
|
|
51859
|
-
auth: "admin"
|
|
51860
|
-
});
|
|
51861
|
-
/**
|
|
51862
|
-
* `device-adoption` — generic discovery + adoption surface,
|
|
51863
|
-
* system-scoped collection (one provider per integration addon), routed
|
|
51864
|
-
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
51865
|
-
* pin model as `connection-test`. The admin UI keeps using
|
|
51866
|
-
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
51867
|
-
* successor to `ha-discovery`:
|
|
51868
|
-
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
51869
|
-
* internally) rather than a connection-specific `brokerId`, and it
|
|
51870
|
-
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
51871
|
-
* `device-discovery.cap.ts` so a single shared adoption panel renders
|
|
51872
|
-
* any integration's candidate tree.
|
|
51873
|
-
*
|
|
51874
|
-
* UI flow (Integrations page → integration detail):
|
|
51875
|
-
* 1. `listCandidates({integrationId, page, pageSize, filter})` →
|
|
51876
|
-
* paginated candidate list, each row collapsed.
|
|
51877
|
-
* 2. User expands a row → `getCandidate({integrationId,
|
|
51878
|
-
* childNativeId})` returns the single candidate (with its nested
|
|
51879
|
-
* `children`) for the accordion render.
|
|
51880
|
-
* 3. User clicks "Adopt" on one or more candidates →
|
|
51881
|
-
* `adopt({integrationId, childNativeIds, perCandidate?})`
|
|
51882
|
-
* materialises one parent CamStack device per candidate plus its
|
|
51883
|
-
* accessory children. `perCandidate[childNativeId]` carries an
|
|
51884
|
-
* optional display-name override + a `hiddenChildIds` pre-hide set
|
|
51885
|
-
* (the parent's `accessories.hiddenChildIds` gates UI visibility).
|
|
51886
|
-
* 4. User clicks "Release" → `release({integrationId, camDeviceId})`
|
|
51887
|
-
* removes the parent + every child from the kernel registry.
|
|
51888
|
-
*/
|
|
51889
|
-
/**
|
|
51890
51825
|
* Provider-declared discovery *granularity* filter (the keystone of the
|
|
51891
51826
|
* single-entity-import design). A provider advertises which discovery
|
|
51892
51827
|
* granularities it supports via `listCandidateFilters`; the operator picks
|
|
@@ -73010,7 +72945,7 @@ object({
|
|
|
73010
72945
|
offSeconds: number$1().int(),
|
|
73011
72946
|
lastFetchedAt: number$1()
|
|
73012
72947
|
});
|
|
73013
|
-
DeviceType.Gateway, DeviceType.
|
|
72948
|
+
DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater;
|
|
73014
72949
|
var deviceInput$1 = object({ deviceId: number$1().int().nonnegative() });
|
|
73015
72950
|
systemMethod(deviceInput$1, PowerSourceInfoSchema, { auth: "protected" }), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
73016
72951
|
kind: "mutation",
|
|
@@ -85621,41 +85556,6 @@ Object.freeze({
|
|
|
85621
85556
|
access: "create",
|
|
85622
85557
|
role: "admin"
|
|
85623
85558
|
},
|
|
85624
|
-
"deviceDiscovery.adoptDevice": {
|
|
85625
|
-
capName: "device-discovery",
|
|
85626
|
-
capScope: "device",
|
|
85627
|
-
addonId: null,
|
|
85628
|
-
access: "create",
|
|
85629
|
-
role: "admin"
|
|
85630
|
-
},
|
|
85631
|
-
"deviceDiscovery.getStatus": {
|
|
85632
|
-
capName: "device-discovery",
|
|
85633
|
-
capScope: "device",
|
|
85634
|
-
addonId: null,
|
|
85635
|
-
access: "view",
|
|
85636
|
-
role: "viewer"
|
|
85637
|
-
},
|
|
85638
|
-
"deviceDiscovery.listDiscovered": {
|
|
85639
|
-
capName: "device-discovery",
|
|
85640
|
-
capScope: "device",
|
|
85641
|
-
addonId: null,
|
|
85642
|
-
access: "view",
|
|
85643
|
-
role: "viewer"
|
|
85644
|
-
},
|
|
85645
|
-
"deviceDiscovery.refreshDiscovery": {
|
|
85646
|
-
capName: "device-discovery",
|
|
85647
|
-
capScope: "device",
|
|
85648
|
-
addonId: null,
|
|
85649
|
-
access: "create",
|
|
85650
|
-
role: "admin"
|
|
85651
|
-
},
|
|
85652
|
-
"deviceDiscovery.releaseDevice": {
|
|
85653
|
-
capName: "device-discovery",
|
|
85654
|
-
capScope: "device",
|
|
85655
|
-
addonId: null,
|
|
85656
|
-
access: "create",
|
|
85657
|
-
role: "admin"
|
|
85658
|
-
},
|
|
85659
85559
|
"deviceExport.applyDeviceSettingsPatch": {
|
|
85660
85560
|
capName: "device-export",
|
|
85661
85561
|
capScope: "system",
|
|
@@ -94741,35 +94641,6 @@ Object.freeze({
|
|
|
94741
94641
|
form: "single",
|
|
94742
94642
|
optional: false
|
|
94743
94643
|
}],
|
|
94744
|
-
"deviceDiscovery.adoptDevice": [{
|
|
94745
|
-
name: "deviceId",
|
|
94746
|
-
form: "single",
|
|
94747
|
-
optional: false
|
|
94748
|
-
}],
|
|
94749
|
-
"deviceDiscovery.getStatus": [{
|
|
94750
|
-
name: "deviceId",
|
|
94751
|
-
form: "single",
|
|
94752
|
-
optional: false
|
|
94753
|
-
}],
|
|
94754
|
-
"deviceDiscovery.listDiscovered": [{
|
|
94755
|
-
name: "deviceId",
|
|
94756
|
-
form: "single",
|
|
94757
|
-
optional: false
|
|
94758
|
-
}],
|
|
94759
|
-
"deviceDiscovery.refreshDiscovery": [{
|
|
94760
|
-
name: "deviceId",
|
|
94761
|
-
form: "single",
|
|
94762
|
-
optional: false
|
|
94763
|
-
}],
|
|
94764
|
-
"deviceDiscovery.releaseDevice": [{
|
|
94765
|
-
name: "childDeviceId",
|
|
94766
|
-
form: "single",
|
|
94767
|
-
optional: false
|
|
94768
|
-
}, {
|
|
94769
|
-
name: "deviceId",
|
|
94770
|
-
form: "single",
|
|
94771
|
-
optional: false
|
|
94772
|
-
}],
|
|
94773
94644
|
"deviceExport.applyDeviceSettingsPatch": [{
|
|
94774
94645
|
name: "deviceId",
|
|
94775
94646
|
form: "single",
|
|
@@ -100153,8 +100024,8 @@ async function readRawKeys(read, addonId, keys) {
|
|
|
100153
100024
|
* `<addonId>:<deviceId>.cameraSettings` in `addon-device-settings`.
|
|
100154
100025
|
*
|
|
100155
100026
|
* Each entry is copied VERBATIM (the value of a row is the entry the map held), so a field the
|
|
100156
|
-
* schema does not know yet survives byte for byte. The map key
|
|
100157
|
-
* `
|
|
100027
|
+
* schema does not know yet survives byte for byte. The mover leaves the map key in place; the
|
|
100028
|
+
* catalogue's last step (`drop-moved-maps`) deletes it once all three movers are applied.
|
|
100158
100029
|
*
|
|
100159
100030
|
* A row that already exists is never overwritten: it was written by the build that reads rows,
|
|
100160
100031
|
* and a seed never overwrites. A plan that has nothing left to copy is empty, so a second run is
|
|
@@ -100247,7 +100118,8 @@ var DROP_BINDINGS_MIGRATION_FLAG_ID = "pipeline-orchestrator/2026-11-03-drop-bin
|
|
|
100247
100118
|
var NODE_BINDINGS_TO_NODE_ROWS_ID = "pipeline-orchestrator/2026-11-03-node-bindings-to-node-rows";
|
|
100248
100119
|
var AGENT_SETTINGS_TO_NODE_ROWS_ID = "pipeline-orchestrator/2026-11-03-agent-settings-to-node-rows";
|
|
100249
100120
|
var CAMERA_SETTINGS_TO_DEVICE_ROWS_ID = "pipeline-orchestrator/2026-11-03-camera-settings-to-device-rows";
|
|
100250
|
-
|
|
100121
|
+
var DROP_MOVED_MAPS_ID = "pipeline-orchestrator/2026-11-11-drop-moved-maps";
|
|
100122
|
+
/** The three id-keyed maps the movers copied into rows; nothing reads them. */
|
|
100251
100123
|
var NODE_BINDINGS_FIELD = "nodeBindings";
|
|
100252
100124
|
var AGENT_SETTINGS_FIELD = "agentSettings";
|
|
100253
100125
|
var CAMERA_SETTINGS_FIELD = "cameraSettings";
|
|
@@ -100329,6 +100201,30 @@ var ADDON_MIGRATIONS = [
|
|
|
100329
100201
|
fixtureMark: "a step toggle and a step setting of one camera"
|
|
100330
100202
|
},
|
|
100331
100203
|
plan: (ports) => planBlobToDeviceRows(PIPELINE_ORCHESTRATOR_ID, CAMERA_SETTINGS_FIELD, ports)
|
|
100204
|
+
},
|
|
100205
|
+
{
|
|
100206
|
+
meta: {
|
|
100207
|
+
id: DROP_MOVED_MAPS_ID,
|
|
100208
|
+
owner: PIPELINE_ORCHESTRATOR_ID,
|
|
100209
|
+
level: "addon-state",
|
|
100210
|
+
seq: 5,
|
|
100211
|
+
dependsOn: [
|
|
100212
|
+
NODE_BINDINGS_TO_NODE_ROWS_ID,
|
|
100213
|
+
AGENT_SETTINGS_TO_NODE_ROWS_ID,
|
|
100214
|
+
CAMERA_SETTINGS_TO_DEVICE_ROWS_ID
|
|
100215
|
+
],
|
|
100216
|
+
store: "settings",
|
|
100217
|
+
scope: "cluster",
|
|
100218
|
+
onFailure: "tolerate",
|
|
100219
|
+
bodyKind: "plan",
|
|
100220
|
+
description: "Delete the nodeBindings, agentSettings and cameraSettings maps once their rows are written",
|
|
100221
|
+
fixtureMark: "a marked field of each map, read back from the row its mover wrote"
|
|
100222
|
+
},
|
|
100223
|
+
plan: (ports) => planDropKeys(PIPELINE_ORCHESTRATOR_ID, [
|
|
100224
|
+
NODE_BINDINGS_FIELD,
|
|
100225
|
+
AGENT_SETTINGS_FIELD,
|
|
100226
|
+
CAMERA_SETTINGS_FIELD
|
|
100227
|
+
], ports)
|
|
100332
100228
|
}
|
|
100333
100229
|
];
|
|
100334
100230
|
var orchestratorRecordKinds = defineRecordKinds({
|
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-BWnvPLO-.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.2.
|
|
3
|
+
"version": "1.2.680",
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
"requires": {
|
|
79
|
-
"server": ">=1.2.
|
|
79
|
+
"server": ">=1.2.835"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"files": [
|