@camstack/addon-export-alexa 1.2.152 → 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.
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
5449
5449
  var ZodFirstPartyTypeKind;
5450
5450
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5451
5451
  //#endregion
5452
- //#region ../types/dist/sleep-BSuCCFjf.mjs
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
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
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
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16801
- adoptionPending: object({
16802
- legacyTable: string(),
16803
- legacyRows: number().int()
16804
- }).nullable()
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" }), method(object({
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
@@ -64268,6 +64256,12 @@ Object.freeze({
64268
64256
  addonId: null,
64269
64257
  access: "view"
64270
64258
  },
64259
+ "deviceHistory.queryMany": {
64260
+ capName: "device-history",
64261
+ capScope: "system",
64262
+ addonId: null,
64263
+ access: "view"
64264
+ },
64271
64265
  "deviceHistory.queryNode": {
64272
64266
  capName: "device-history",
64273
64267
  capScope: "system",
@@ -69488,24 +69482,12 @@ Object.freeze({
69488
69482
  addonId: null,
69489
69483
  access: "create"
69490
69484
  },
69491
- "storageAdmin.adoptRecords": {
69492
- capName: "storage-admin",
69493
- capScope: "system",
69494
- addonId: null,
69495
- access: "create"
69496
- },
69497
69485
  "storageAdmin.dropCollection": {
69498
69486
  capName: "storage-admin",
69499
69487
  capScope: "system",
69500
69488
  addonId: null,
69501
69489
  access: "delete"
69502
69490
  },
69503
- "storageAdmin.isAdoptedLegacyTable": {
69504
- capName: "storage-admin",
69505
- capScope: "system",
69506
- addonId: null,
69507
- access: "view"
69508
- },
69509
69491
  "storageAdmin.listKinds": {
69510
69492
  capName: "storage-admin",
69511
69493
  capScope: "system",
@@ -69518,12 +69500,6 @@ Object.freeze({
69518
69500
  addonId: null,
69519
69501
  access: "view"
69520
69502
  },
69521
- "storageAdmin.readLegacyCollection": {
69522
- capName: "storage-admin",
69523
- capScope: "system",
69524
- addonId: null,
69525
- access: "view"
69526
- },
69527
69503
  "storageAdmin.readRecords": {
69528
69504
  capName: "storage-admin",
69529
69505
  capScope: "system",
@@ -73338,12 +73314,6 @@ Object.freeze({
73338
73314
  form: "single",
73339
73315
  optional: false
73340
73316
  }],
73341
- "storageAdmin.adoptRecords": [{
73342
- name: "records",
73343
- form: "object-array",
73344
- optional: false,
73345
- itemField: "deviceId"
73346
- }],
73347
73317
  "storageAdmin.readRecords": [{
73348
73318
  name: "deviceId",
73349
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-BSuCCFjf.mjs
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
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
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
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16772
- adoptionPending: object({
16773
- legacyTable: string(),
16774
- legacyRows: number().int()
16775
- }).nullable()
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" }), method(object({
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
@@ -64239,6 +64227,12 @@ Object.freeze({
64239
64227
  addonId: null,
64240
64228
  access: "view"
64241
64229
  },
64230
+ "deviceHistory.queryMany": {
64231
+ capName: "device-history",
64232
+ capScope: "system",
64233
+ addonId: null,
64234
+ access: "view"
64235
+ },
64242
64236
  "deviceHistory.queryNode": {
64243
64237
  capName: "device-history",
64244
64238
  capScope: "system",
@@ -69459,24 +69453,12 @@ Object.freeze({
69459
69453
  addonId: null,
69460
69454
  access: "create"
69461
69455
  },
69462
- "storageAdmin.adoptRecords": {
69463
- capName: "storage-admin",
69464
- capScope: "system",
69465
- addonId: null,
69466
- access: "create"
69467
- },
69468
69456
  "storageAdmin.dropCollection": {
69469
69457
  capName: "storage-admin",
69470
69458
  capScope: "system",
69471
69459
  addonId: null,
69472
69460
  access: "delete"
69473
69461
  },
69474
- "storageAdmin.isAdoptedLegacyTable": {
69475
- capName: "storage-admin",
69476
- capScope: "system",
69477
- addonId: null,
69478
- access: "view"
69479
- },
69480
69462
  "storageAdmin.listKinds": {
69481
69463
  capName: "storage-admin",
69482
69464
  capScope: "system",
@@ -69489,12 +69471,6 @@ Object.freeze({
69489
69471
  addonId: null,
69490
69472
  access: "view"
69491
69473
  },
69492
- "storageAdmin.readLegacyCollection": {
69493
- capName: "storage-admin",
69494
- capScope: "system",
69495
- addonId: null,
69496
- access: "view"
69497
- },
69498
69474
  "storageAdmin.readRecords": {
69499
69475
  capName: "storage-admin",
69500
69476
  capScope: "system",
@@ -73309,12 +73285,6 @@ Object.freeze({
73309
73285
  form: "single",
73310
73286
  optional: false
73311
73287
  }],
73312
- "storageAdmin.adoptRecords": [{
73313
- name: "records",
73314
- form: "object-array",
73315
- optional: false,
73316
- itemField: "deviceId"
73317
- }],
73318
73288
  "storageAdmin.readRecords": [{
73319
73289
  name: "deviceId",
73320
73290
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.152",
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",