@camstack/addon-import-alexa 0.2.62 → 0.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +48 -1
- package/dist/addon.mjs +48 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13170,6 +13170,24 @@ var deviceProviderCapability = {
|
|
|
13170
13170
|
})
|
|
13171
13171
|
}
|
|
13172
13172
|
};
|
|
13173
|
+
/**
|
|
13174
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
13175
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
13176
|
+
*
|
|
13177
|
+
* Replaces:
|
|
13178
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
13179
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13180
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13181
|
+
*
|
|
13182
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
13183
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13184
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13185
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
13186
|
+
* - No shadow registry or cross-node aggregation required.
|
|
13187
|
+
*
|
|
13188
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
13189
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
13190
|
+
*/
|
|
13173
13191
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
13174
13192
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
13175
13193
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -13268,7 +13286,12 @@ var ConfigEntrySchema = object({
|
|
|
13268
13286
|
value: unknown(),
|
|
13269
13287
|
description: string().optional()
|
|
13270
13288
|
});
|
|
13271
|
-
|
|
13289
|
+
/**
|
|
13290
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
13291
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
13292
|
+
* drop it once no shipped client reads `mode`.
|
|
13293
|
+
*/
|
|
13294
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
13272
13295
|
/** One resolved linked device — the compact projection consumers need. */
|
|
13273
13296
|
var LinkedDeviceSchema = object({
|
|
13274
13297
|
deviceId: number(),
|
|
@@ -18896,6 +18919,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18896
18919
|
*
|
|
18897
18920
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18898
18921
|
*
|
|
18922
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18923
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18924
|
+
*
|
|
18899
18925
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18900
18926
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18901
18927
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18906,6 +18932,21 @@ var TrackFlagFields = {
|
|
|
18906
18932
|
markForTrain: boolean().optional(),
|
|
18907
18933
|
/** Operator marked this track for diagnostic attention. */
|
|
18908
18934
|
debug: boolean().optional(),
|
|
18935
|
+
/**
|
|
18936
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18937
|
+
*
|
|
18938
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18939
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
18940
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
18941
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
18942
|
+
* the attention it belongs to.
|
|
18943
|
+
*
|
|
18944
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
18945
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
18946
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
18947
|
+
* without touching the flag.
|
|
18948
|
+
*/
|
|
18949
|
+
debugNote: string().max(500).optional(),
|
|
18909
18950
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18910
18951
|
favourited: boolean().optional()
|
|
18911
18952
|
};
|
|
@@ -18932,6 +18973,12 @@ var TrackFlagsSchema = object({
|
|
|
18932
18973
|
trackId: string(),
|
|
18933
18974
|
markForTrain: boolean(),
|
|
18934
18975
|
debug: boolean(),
|
|
18976
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
18977
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
18978
|
+
* surface that has just written must be able to render the note it now owns
|
|
18979
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
18980
|
+
* screen that has no previous value to keep. */
|
|
18981
|
+
debugNote: string(),
|
|
18935
18982
|
favourited: boolean(),
|
|
18936
18983
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
18937
18984
|
* a track row) because this shape is only ever produced by the write body,
|
package/dist/addon.mjs
CHANGED
|
@@ -13170,6 +13170,24 @@ var deviceProviderCapability = {
|
|
|
13170
13170
|
})
|
|
13171
13171
|
}
|
|
13172
13172
|
};
|
|
13173
|
+
/**
|
|
13174
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
13175
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
13176
|
+
*
|
|
13177
|
+
* Replaces:
|
|
13178
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
13179
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13180
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13181
|
+
*
|
|
13182
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
13183
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13184
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13185
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
13186
|
+
* - No shadow registry or cross-node aggregation required.
|
|
13187
|
+
*
|
|
13188
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
13189
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
13190
|
+
*/
|
|
13173
13191
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
13174
13192
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
13175
13193
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -13268,7 +13286,12 @@ var ConfigEntrySchema = object({
|
|
|
13268
13286
|
value: unknown(),
|
|
13269
13287
|
description: string().optional()
|
|
13270
13288
|
});
|
|
13271
|
-
|
|
13289
|
+
/**
|
|
13290
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
13291
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
13292
|
+
* drop it once no shipped client reads `mode`.
|
|
13293
|
+
*/
|
|
13294
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
13272
13295
|
/** One resolved linked device — the compact projection consumers need. */
|
|
13273
13296
|
var LinkedDeviceSchema = object({
|
|
13274
13297
|
deviceId: number(),
|
|
@@ -18896,6 +18919,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18896
18919
|
*
|
|
18897
18920
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18898
18921
|
*
|
|
18922
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18923
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18924
|
+
*
|
|
18899
18925
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18900
18926
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18901
18927
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18906,6 +18932,21 @@ var TrackFlagFields = {
|
|
|
18906
18932
|
markForTrain: boolean().optional(),
|
|
18907
18933
|
/** Operator marked this track for diagnostic attention. */
|
|
18908
18934
|
debug: boolean().optional(),
|
|
18935
|
+
/**
|
|
18936
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18937
|
+
*
|
|
18938
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18939
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
18940
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
18941
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
18942
|
+
* the attention it belongs to.
|
|
18943
|
+
*
|
|
18944
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
18945
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
18946
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
18947
|
+
* without touching the flag.
|
|
18948
|
+
*/
|
|
18949
|
+
debugNote: string().max(500).optional(),
|
|
18909
18950
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18910
18951
|
favourited: boolean().optional()
|
|
18911
18952
|
};
|
|
@@ -18932,6 +18973,12 @@ var TrackFlagsSchema = object({
|
|
|
18932
18973
|
trackId: string(),
|
|
18933
18974
|
markForTrain: boolean(),
|
|
18934
18975
|
debug: boolean(),
|
|
18976
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
18977
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
18978
|
+
* surface that has just written must be able to render the note it now owns
|
|
18979
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
18980
|
+
* screen that has no previous value to keep. */
|
|
18981
|
+
debugNote: string(),
|
|
18935
18982
|
favourited: boolean(),
|
|
18936
18983
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
18937
18984
|
* a track row) because this shape is only ever produced by the write body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.64",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|