@camstack/addon-provider-rademacher 0.2.132 → 0.2.134

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 CHANGED
@@ -6399,7 +6399,7 @@ var ZodIssueCode = {
6399
6399
  var ZodFirstPartyTypeKind;
6400
6400
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6401
6401
  //#endregion
6402
- //#region ../types/dist/sleep-BSuCCFjf.mjs
6402
+ //#region ../types/dist/sleep-CSuN0thG.mjs
6403
6403
  /**
6404
6404
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6405
6405
  * window to float samples (D455).
@@ -8947,7 +8947,13 @@ var RecordKindDeclarationSchema = object({
8947
8947
  secretPaths: array(string().min(1)).default([]),
8948
8948
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
8949
8949
  secretArrayKeys: record(string(), string()).default({}),
8950
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
8950
+ /**
8951
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8952
+ * migration. Nothing declares it any more and nothing reads it; the schema
8953
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8954
+ * (an orphaned kind is never redeclared) and an addon built before the
8955
+ * removal still sends it. Never set it.
8956
+ */
8951
8957
  adoptsFrom: string().min(1).optional(),
8952
8958
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8953
8959
  transactFamily: string().min(1).optional(),
@@ -17619,11 +17625,12 @@ var DeclareKindResultSchema = object({
17619
17625
  kindId: number().int(),
17620
17626
  state: RecordKindStateSchema,
17621
17627
  createdIndexes: array(string()),
17622
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17623
- adoptionPending: object({
17624
- legacyTable: string(),
17625
- legacyRows: number().int()
17626
- }).nullable()
17628
+ /**
17629
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17630
+ * it stays on the wire, null, because an addon built before the removal reads
17631
+ * an ABSENT field as "adoption pending" and refuses to start.
17632
+ */
17633
+ adoptionPending: _null()
17627
17634
  });
17628
17635
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17629
17636
  var SecretRefsList = array(string());
@@ -17796,26 +17803,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17796
17803
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17797
17804
  owner: string().min(1),
17798
17805
  kind: RecordKindNameSchema
17799
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17800
- owner: string().min(1),
17801
- kind: RecordKindNameSchema,
17802
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17803
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17804
- complete: boolean().optional()
17805
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17806
- kind: "mutation",
17807
- auth: "admin"
17808
- }), method(object({
17809
- collection: string().min(1),
17810
- cursor: string().optional(),
17811
- limit: number().int().min(1).max(1e3).optional()
17812
- }), object({
17813
- rows: array(object({
17814
- id: string(),
17815
- data: record(string(), unknown())
17816
- })),
17817
- nextCursor: string().nullable()
17818
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17806
+ }), RecordQueryResultSchema, { auth: "admin" });
17819
17807
  /**
17820
17808
  * record-entries - the ONE admin surface for every list of user-created entries
17821
17809
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -61422,9 +61410,24 @@ var NpuInfoSchema = object({
61422
61410
  name: string().optional(),
61423
61411
  generation: _enum(["xdna1", "xdna2"]).optional()
61424
61412
  });
61413
+ var CoralBusSchema = _enum(["usb", "pci"]);
61425
61414
  var CoralInfoSchema = object({
61426
61415
  type: literal("coral-edgetpu"),
61427
- bus: string().optional()
61416
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61417
+ bus: string().optional(),
61418
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61419
+ count: number().int().nonnegative().optional(),
61420
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61421
+ units: array(object({
61422
+ bus: CoralBusSchema,
61423
+ count: number().int().nonnegative()
61424
+ })).readonly().optional(),
61425
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61426
+ unavailable: array(object({
61427
+ bus: CoralBusSchema,
61428
+ count: number().int().nonnegative(),
61429
+ reason: _enum(["driver-missing", "device-not-accessible"])
61430
+ })).readonly().optional()
61428
61431
  });
61429
61432
  var HardwareInfoSchema = object({
61430
61433
  platform: HardwarePlatformSchema,
@@ -70171,6 +70174,12 @@ Object.freeze({
70171
70174
  addonId: null,
70172
70175
  access: "view"
70173
70176
  },
70177
+ "deviceHistory.queryMany": {
70178
+ capName: "device-history",
70179
+ capScope: "system",
70180
+ addonId: null,
70181
+ access: "view"
70182
+ },
70174
70183
  "deviceHistory.queryNode": {
70175
70184
  capName: "device-history",
70176
70185
  capScope: "system",
@@ -75391,24 +75400,12 @@ Object.freeze({
75391
75400
  addonId: null,
75392
75401
  access: "create"
75393
75402
  },
75394
- "storageAdmin.adoptRecords": {
75395
- capName: "storage-admin",
75396
- capScope: "system",
75397
- addonId: null,
75398
- access: "create"
75399
- },
75400
75403
  "storageAdmin.dropCollection": {
75401
75404
  capName: "storage-admin",
75402
75405
  capScope: "system",
75403
75406
  addonId: null,
75404
75407
  access: "delete"
75405
75408
  },
75406
- "storageAdmin.isAdoptedLegacyTable": {
75407
- capName: "storage-admin",
75408
- capScope: "system",
75409
- addonId: null,
75410
- access: "view"
75411
- },
75412
75409
  "storageAdmin.listKinds": {
75413
75410
  capName: "storage-admin",
75414
75411
  capScope: "system",
@@ -75421,12 +75418,6 @@ Object.freeze({
75421
75418
  addonId: null,
75422
75419
  access: "view"
75423
75420
  },
75424
- "storageAdmin.readLegacyCollection": {
75425
- capName: "storage-admin",
75426
- capScope: "system",
75427
- addonId: null,
75428
- access: "view"
75429
- },
75430
75421
  "storageAdmin.readRecords": {
75431
75422
  capName: "storage-admin",
75432
75423
  capScope: "system",
@@ -79241,12 +79232,6 @@ Object.freeze({
79241
79232
  form: "single",
79242
79233
  optional: false
79243
79234
  }],
79244
- "storageAdmin.adoptRecords": [{
79245
- name: "records",
79246
- form: "object-array",
79247
- optional: false,
79248
- itemField: "deviceId"
79249
- }],
79250
79235
  "storageAdmin.readRecords": [{
79251
79236
  name: "deviceId",
79252
79237
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6398,7 +6398,7 @@ var ZodIssueCode = {
6398
6398
  var ZodFirstPartyTypeKind;
6399
6399
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6400
6400
  //#endregion
6401
- //#region ../types/dist/sleep-BSuCCFjf.mjs
6401
+ //#region ../types/dist/sleep-CSuN0thG.mjs
6402
6402
  /**
6403
6403
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6404
6404
  * window to float samples (D455).
@@ -8946,7 +8946,13 @@ var RecordKindDeclarationSchema = object({
8946
8946
  secretPaths: array(string().min(1)).default([]),
8947
8947
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
8948
8948
  secretArrayKeys: record(string(), string()).default({}),
8949
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
8949
+ /**
8950
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8951
+ * migration. Nothing declares it any more and nothing reads it; the schema
8952
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8953
+ * (an orphaned kind is never redeclared) and an addon built before the
8954
+ * removal still sends it. Never set it.
8955
+ */
8950
8956
  adoptsFrom: string().min(1).optional(),
8951
8957
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8952
8958
  transactFamily: string().min(1).optional(),
@@ -17618,11 +17624,12 @@ var DeclareKindResultSchema = object({
17618
17624
  kindId: number().int(),
17619
17625
  state: RecordKindStateSchema,
17620
17626
  createdIndexes: array(string()),
17621
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17622
- adoptionPending: object({
17623
- legacyTable: string(),
17624
- legacyRows: number().int()
17625
- }).nullable()
17627
+ /**
17628
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17629
+ * it stays on the wire, null, because an addon built before the removal reads
17630
+ * an ABSENT field as "adoption pending" and refuses to start.
17631
+ */
17632
+ adoptionPending: _null()
17626
17633
  });
17627
17634
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17628
17635
  var SecretRefsList = array(string());
@@ -17795,26 +17802,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17795
17802
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17796
17803
  owner: string().min(1),
17797
17804
  kind: RecordKindNameSchema
17798
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17799
- owner: string().min(1),
17800
- kind: RecordKindNameSchema,
17801
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17802
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17803
- complete: boolean().optional()
17804
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17805
- kind: "mutation",
17806
- auth: "admin"
17807
- }), method(object({
17808
- collection: string().min(1),
17809
- cursor: string().optional(),
17810
- limit: number().int().min(1).max(1e3).optional()
17811
- }), object({
17812
- rows: array(object({
17813
- id: string(),
17814
- data: record(string(), unknown())
17815
- })),
17816
- nextCursor: string().nullable()
17817
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17805
+ }), RecordQueryResultSchema, { auth: "admin" });
17818
17806
  /**
17819
17807
  * record-entries - the ONE admin surface for every list of user-created entries
17820
17808
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -61421,9 +61409,24 @@ var NpuInfoSchema = object({
61421
61409
  name: string().optional(),
61422
61410
  generation: _enum(["xdna1", "xdna2"]).optional()
61423
61411
  });
61412
+ var CoralBusSchema = _enum(["usb", "pci"]);
61424
61413
  var CoralInfoSchema = object({
61425
61414
  type: literal("coral-edgetpu"),
61426
- bus: string().optional()
61415
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61416
+ bus: string().optional(),
61417
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61418
+ count: number().int().nonnegative().optional(),
61419
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61420
+ units: array(object({
61421
+ bus: CoralBusSchema,
61422
+ count: number().int().nonnegative()
61423
+ })).readonly().optional(),
61424
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61425
+ unavailable: array(object({
61426
+ bus: CoralBusSchema,
61427
+ count: number().int().nonnegative(),
61428
+ reason: _enum(["driver-missing", "device-not-accessible"])
61429
+ })).readonly().optional()
61427
61430
  });
61428
61431
  var HardwareInfoSchema = object({
61429
61432
  platform: HardwarePlatformSchema,
@@ -70170,6 +70173,12 @@ Object.freeze({
70170
70173
  addonId: null,
70171
70174
  access: "view"
70172
70175
  },
70176
+ "deviceHistory.queryMany": {
70177
+ capName: "device-history",
70178
+ capScope: "system",
70179
+ addonId: null,
70180
+ access: "view"
70181
+ },
70173
70182
  "deviceHistory.queryNode": {
70174
70183
  capName: "device-history",
70175
70184
  capScope: "system",
@@ -75390,24 +75399,12 @@ Object.freeze({
75390
75399
  addonId: null,
75391
75400
  access: "create"
75392
75401
  },
75393
- "storageAdmin.adoptRecords": {
75394
- capName: "storage-admin",
75395
- capScope: "system",
75396
- addonId: null,
75397
- access: "create"
75398
- },
75399
75402
  "storageAdmin.dropCollection": {
75400
75403
  capName: "storage-admin",
75401
75404
  capScope: "system",
75402
75405
  addonId: null,
75403
75406
  access: "delete"
75404
75407
  },
75405
- "storageAdmin.isAdoptedLegacyTable": {
75406
- capName: "storage-admin",
75407
- capScope: "system",
75408
- addonId: null,
75409
- access: "view"
75410
- },
75411
75408
  "storageAdmin.listKinds": {
75412
75409
  capName: "storage-admin",
75413
75410
  capScope: "system",
@@ -75420,12 +75417,6 @@ Object.freeze({
75420
75417
  addonId: null,
75421
75418
  access: "view"
75422
75419
  },
75423
- "storageAdmin.readLegacyCollection": {
75424
- capName: "storage-admin",
75425
- capScope: "system",
75426
- addonId: null,
75427
- access: "view"
75428
- },
75429
75420
  "storageAdmin.readRecords": {
75430
75421
  capName: "storage-admin",
75431
75422
  capScope: "system",
@@ -79240,12 +79231,6 @@ Object.freeze({
79240
79231
  form: "single",
79241
79232
  optional: false
79242
79233
  }],
79243
- "storageAdmin.adoptRecords": [{
79244
- name: "records",
79245
- form: "object-array",
79246
- optional: false,
79247
- itemField: "deviceId"
79248
- }],
79249
79234
  "storageAdmin.readRecords": [{
79250
79235
  name: "deviceId",
79251
79236
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.132",
3
+ "version": "0.2.134",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",