@camstack/addon-export-alexa 1.2.151 → 1.2.153
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/export-alexa.addon.js +37 -52
- package/dist/export-alexa.addon.mjs +37 -52
- package/package.json +1 -1
|
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
|
|
|
5449
5449
|
var ZodFirstPartyTypeKind;
|
|
5450
5450
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5451
5451
|
//#endregion
|
|
5452
|
-
//#region ../types/dist/sleep-
|
|
5452
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5453
5453
|
/**
|
|
5454
5454
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5455
5455
|
* window to float samples (D455).
|
|
@@ -7930,7 +7930,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7930
7930
|
secretPaths: array(string().min(1)).default([]),
|
|
7931
7931
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7932
7932
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7933
|
-
/**
|
|
7933
|
+
/**
|
|
7934
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7935
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7936
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7937
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7938
|
+
* removal still sends it. Never set it.
|
|
7939
|
+
*/
|
|
7934
7940
|
adoptsFrom: string().min(1).optional(),
|
|
7935
7941
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7936
7942
|
transactFamily: string().min(1).optional(),
|
|
@@ -16797,11 +16803,12 @@ var DeclareKindResultSchema = object({
|
|
|
16797
16803
|
kindId: number().int(),
|
|
16798
16804
|
state: RecordKindStateSchema,
|
|
16799
16805
|
createdIndexes: array(string()),
|
|
16800
|
-
/**
|
|
16801
|
-
|
|
16802
|
-
|
|
16803
|
-
|
|
16804
|
-
|
|
16806
|
+
/**
|
|
16807
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16808
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16809
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16810
|
+
*/
|
|
16811
|
+
adoptionPending: _null()
|
|
16805
16812
|
});
|
|
16806
16813
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16807
16814
|
var SecretRefsList = array(string());
|
|
@@ -16974,26 +16981,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16974
16981
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16975
16982
|
owner: string().min(1),
|
|
16976
16983
|
kind: RecordKindNameSchema
|
|
16977
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16978
|
-
owner: string().min(1),
|
|
16979
|
-
kind: RecordKindNameSchema,
|
|
16980
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16981
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16982
|
-
complete: boolean().optional()
|
|
16983
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16984
|
-
kind: "mutation",
|
|
16985
|
-
auth: "admin"
|
|
16986
|
-
}), method(object({
|
|
16987
|
-
collection: string().min(1),
|
|
16988
|
-
cursor: string().optional(),
|
|
16989
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16990
|
-
}), object({
|
|
16991
|
-
rows: array(object({
|
|
16992
|
-
id: string(),
|
|
16993
|
-
data: record(string(), unknown())
|
|
16994
|
-
})),
|
|
16995
|
-
nextCursor: string().nullable()
|
|
16996
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16984
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16997
16985
|
/**
|
|
16998
16986
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16999
16987
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58228,9 +58216,24 @@ var NpuInfoSchema = object({
|
|
|
58228
58216
|
name: string().optional(),
|
|
58229
58217
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58230
58218
|
});
|
|
58219
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58231
58220
|
var CoralInfoSchema = object({
|
|
58232
58221
|
type: literal("coral-edgetpu"),
|
|
58233
|
-
bus
|
|
58222
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58223
|
+
bus: string().optional(),
|
|
58224
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58225
|
+
count: number().int().nonnegative().optional(),
|
|
58226
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58227
|
+
units: array(object({
|
|
58228
|
+
bus: CoralBusSchema,
|
|
58229
|
+
count: number().int().nonnegative()
|
|
58230
|
+
})).readonly().optional(),
|
|
58231
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58232
|
+
unavailable: array(object({
|
|
58233
|
+
bus: CoralBusSchema,
|
|
58234
|
+
count: number().int().nonnegative(),
|
|
58235
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58236
|
+
})).readonly().optional()
|
|
58234
58237
|
});
|
|
58235
58238
|
var HardwareInfoSchema = object({
|
|
58236
58239
|
platform: HardwarePlatformSchema,
|
|
@@ -64253,6 +64256,12 @@ Object.freeze({
|
|
|
64253
64256
|
addonId: null,
|
|
64254
64257
|
access: "view"
|
|
64255
64258
|
},
|
|
64259
|
+
"deviceHistory.queryMany": {
|
|
64260
|
+
capName: "device-history",
|
|
64261
|
+
capScope: "system",
|
|
64262
|
+
addonId: null,
|
|
64263
|
+
access: "view"
|
|
64264
|
+
},
|
|
64256
64265
|
"deviceHistory.queryNode": {
|
|
64257
64266
|
capName: "device-history",
|
|
64258
64267
|
capScope: "system",
|
|
@@ -69473,24 +69482,12 @@ Object.freeze({
|
|
|
69473
69482
|
addonId: null,
|
|
69474
69483
|
access: "create"
|
|
69475
69484
|
},
|
|
69476
|
-
"storageAdmin.adoptRecords": {
|
|
69477
|
-
capName: "storage-admin",
|
|
69478
|
-
capScope: "system",
|
|
69479
|
-
addonId: null,
|
|
69480
|
-
access: "create"
|
|
69481
|
-
},
|
|
69482
69485
|
"storageAdmin.dropCollection": {
|
|
69483
69486
|
capName: "storage-admin",
|
|
69484
69487
|
capScope: "system",
|
|
69485
69488
|
addonId: null,
|
|
69486
69489
|
access: "delete"
|
|
69487
69490
|
},
|
|
69488
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69489
|
-
capName: "storage-admin",
|
|
69490
|
-
capScope: "system",
|
|
69491
|
-
addonId: null,
|
|
69492
|
-
access: "view"
|
|
69493
|
-
},
|
|
69494
69491
|
"storageAdmin.listKinds": {
|
|
69495
69492
|
capName: "storage-admin",
|
|
69496
69493
|
capScope: "system",
|
|
@@ -69503,12 +69500,6 @@ Object.freeze({
|
|
|
69503
69500
|
addonId: null,
|
|
69504
69501
|
access: "view"
|
|
69505
69502
|
},
|
|
69506
|
-
"storageAdmin.readLegacyCollection": {
|
|
69507
|
-
capName: "storage-admin",
|
|
69508
|
-
capScope: "system",
|
|
69509
|
-
addonId: null,
|
|
69510
|
-
access: "view"
|
|
69511
|
-
},
|
|
69512
69503
|
"storageAdmin.readRecords": {
|
|
69513
69504
|
capName: "storage-admin",
|
|
69514
69505
|
capScope: "system",
|
|
@@ -73323,12 +73314,6 @@ Object.freeze({
|
|
|
73323
73314
|
form: "single",
|
|
73324
73315
|
optional: false
|
|
73325
73316
|
}],
|
|
73326
|
-
"storageAdmin.adoptRecords": [{
|
|
73327
|
-
name: "records",
|
|
73328
|
-
form: "object-array",
|
|
73329
|
-
optional: false,
|
|
73330
|
-
itemField: "deviceId"
|
|
73331
|
-
}],
|
|
73332
73317
|
"storageAdmin.readRecords": [{
|
|
73333
73318
|
name: "deviceId",
|
|
73334
73319
|
form: "single",
|
|
@@ -5420,7 +5420,7 @@ var ZodIssueCode = {
|
|
|
5420
5420
|
var ZodFirstPartyTypeKind;
|
|
5421
5421
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5422
5422
|
//#endregion
|
|
5423
|
-
//#region ../types/dist/sleep-
|
|
5423
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5424
5424
|
/**
|
|
5425
5425
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5426
5426
|
* window to float samples (D455).
|
|
@@ -7901,7 +7901,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7901
7901
|
secretPaths: array(string().min(1)).default([]),
|
|
7902
7902
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7903
7903
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7904
|
-
/**
|
|
7904
|
+
/**
|
|
7905
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7906
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7907
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7908
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7909
|
+
* removal still sends it. Never set it.
|
|
7910
|
+
*/
|
|
7905
7911
|
adoptsFrom: string().min(1).optional(),
|
|
7906
7912
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7907
7913
|
transactFamily: string().min(1).optional(),
|
|
@@ -16768,11 +16774,12 @@ var DeclareKindResultSchema = object({
|
|
|
16768
16774
|
kindId: number().int(),
|
|
16769
16775
|
state: RecordKindStateSchema,
|
|
16770
16776
|
createdIndexes: array(string()),
|
|
16771
|
-
/**
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16777
|
+
/**
|
|
16778
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16779
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16780
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16781
|
+
*/
|
|
16782
|
+
adoptionPending: _null()
|
|
16776
16783
|
});
|
|
16777
16784
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16778
16785
|
var SecretRefsList = array(string());
|
|
@@ -16945,26 +16952,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16945
16952
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16946
16953
|
owner: string().min(1),
|
|
16947
16954
|
kind: RecordKindNameSchema
|
|
16948
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16949
|
-
owner: string().min(1),
|
|
16950
|
-
kind: RecordKindNameSchema,
|
|
16951
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16952
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16953
|
-
complete: boolean().optional()
|
|
16954
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16955
|
-
kind: "mutation",
|
|
16956
|
-
auth: "admin"
|
|
16957
|
-
}), method(object({
|
|
16958
|
-
collection: string().min(1),
|
|
16959
|
-
cursor: string().optional(),
|
|
16960
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16961
|
-
}), object({
|
|
16962
|
-
rows: array(object({
|
|
16963
|
-
id: string(),
|
|
16964
|
-
data: record(string(), unknown())
|
|
16965
|
-
})),
|
|
16966
|
-
nextCursor: string().nullable()
|
|
16967
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16955
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16968
16956
|
/**
|
|
16969
16957
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16970
16958
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58199,9 +58187,24 @@ var NpuInfoSchema = object({
|
|
|
58199
58187
|
name: string().optional(),
|
|
58200
58188
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58201
58189
|
});
|
|
58190
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58202
58191
|
var CoralInfoSchema = object({
|
|
58203
58192
|
type: literal("coral-edgetpu"),
|
|
58204
|
-
bus
|
|
58193
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58194
|
+
bus: string().optional(),
|
|
58195
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58196
|
+
count: number().int().nonnegative().optional(),
|
|
58197
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58198
|
+
units: array(object({
|
|
58199
|
+
bus: CoralBusSchema,
|
|
58200
|
+
count: number().int().nonnegative()
|
|
58201
|
+
})).readonly().optional(),
|
|
58202
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58203
|
+
unavailable: array(object({
|
|
58204
|
+
bus: CoralBusSchema,
|
|
58205
|
+
count: number().int().nonnegative(),
|
|
58206
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58207
|
+
})).readonly().optional()
|
|
58205
58208
|
});
|
|
58206
58209
|
var HardwareInfoSchema = object({
|
|
58207
58210
|
platform: HardwarePlatformSchema,
|
|
@@ -64224,6 +64227,12 @@ Object.freeze({
|
|
|
64224
64227
|
addonId: null,
|
|
64225
64228
|
access: "view"
|
|
64226
64229
|
},
|
|
64230
|
+
"deviceHistory.queryMany": {
|
|
64231
|
+
capName: "device-history",
|
|
64232
|
+
capScope: "system",
|
|
64233
|
+
addonId: null,
|
|
64234
|
+
access: "view"
|
|
64235
|
+
},
|
|
64227
64236
|
"deviceHistory.queryNode": {
|
|
64228
64237
|
capName: "device-history",
|
|
64229
64238
|
capScope: "system",
|
|
@@ -69444,24 +69453,12 @@ Object.freeze({
|
|
|
69444
69453
|
addonId: null,
|
|
69445
69454
|
access: "create"
|
|
69446
69455
|
},
|
|
69447
|
-
"storageAdmin.adoptRecords": {
|
|
69448
|
-
capName: "storage-admin",
|
|
69449
|
-
capScope: "system",
|
|
69450
|
-
addonId: null,
|
|
69451
|
-
access: "create"
|
|
69452
|
-
},
|
|
69453
69456
|
"storageAdmin.dropCollection": {
|
|
69454
69457
|
capName: "storage-admin",
|
|
69455
69458
|
capScope: "system",
|
|
69456
69459
|
addonId: null,
|
|
69457
69460
|
access: "delete"
|
|
69458
69461
|
},
|
|
69459
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69460
|
-
capName: "storage-admin",
|
|
69461
|
-
capScope: "system",
|
|
69462
|
-
addonId: null,
|
|
69463
|
-
access: "view"
|
|
69464
|
-
},
|
|
69465
69462
|
"storageAdmin.listKinds": {
|
|
69466
69463
|
capName: "storage-admin",
|
|
69467
69464
|
capScope: "system",
|
|
@@ -69474,12 +69471,6 @@ Object.freeze({
|
|
|
69474
69471
|
addonId: null,
|
|
69475
69472
|
access: "view"
|
|
69476
69473
|
},
|
|
69477
|
-
"storageAdmin.readLegacyCollection": {
|
|
69478
|
-
capName: "storage-admin",
|
|
69479
|
-
capScope: "system",
|
|
69480
|
-
addonId: null,
|
|
69481
|
-
access: "view"
|
|
69482
|
-
},
|
|
69483
69474
|
"storageAdmin.readRecords": {
|
|
69484
69475
|
capName: "storage-admin",
|
|
69485
69476
|
capScope: "system",
|
|
@@ -73294,12 +73285,6 @@ Object.freeze({
|
|
|
73294
73285
|
form: "single",
|
|
73295
73286
|
optional: false
|
|
73296
73287
|
}],
|
|
73297
|
-
"storageAdmin.adoptRecords": [{
|
|
73298
|
-
name: "records",
|
|
73299
|
-
form: "object-array",
|
|
73300
|
-
optional: false,
|
|
73301
|
-
itemField: "deviceId"
|
|
73302
|
-
}],
|
|
73303
73288
|
"storageAdmin.readRecords": [{
|
|
73304
73289
|
name: "deviceId",
|
|
73305
73290
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.153",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|