@camstack/addon-provider-dreame 0.2.139 → 0.2.141
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 +37 -52
- package/dist/addon.mjs +37 -52
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5459,7 +5459,7 @@ var ZodIssueCode$1 = {
|
|
|
5459
5459
|
var ZodFirstPartyTypeKind$1;
|
|
5460
5460
|
ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
|
|
5461
5461
|
//#endregion
|
|
5462
|
-
//#region ../types/dist/sleep-
|
|
5462
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5463
5463
|
/**
|
|
5464
5464
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5465
5465
|
* window to float samples (D455).
|
|
@@ -8007,7 +8007,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8007
8007
|
secretPaths: array(string().min(1)).default([]),
|
|
8008
8008
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8009
8009
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8010
|
-
/**
|
|
8010
|
+
/**
|
|
8011
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8012
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8013
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8014
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8015
|
+
* removal still sends it. Never set it.
|
|
8016
|
+
*/
|
|
8011
8017
|
adoptsFrom: string().min(1).optional(),
|
|
8012
8018
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8013
8019
|
transactFamily: string().min(1).optional(),
|
|
@@ -16693,11 +16699,12 @@ var DeclareKindResultSchema = object({
|
|
|
16693
16699
|
kindId: number().int(),
|
|
16694
16700
|
state: RecordKindStateSchema,
|
|
16695
16701
|
createdIndexes: array(string()),
|
|
16696
|
-
/**
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16702
|
+
/**
|
|
16703
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16704
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16705
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16706
|
+
*/
|
|
16707
|
+
adoptionPending: _null()
|
|
16701
16708
|
});
|
|
16702
16709
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16703
16710
|
var SecretRefsList = array(string());
|
|
@@ -16870,26 +16877,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16870
16877
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16871
16878
|
owner: string().min(1),
|
|
16872
16879
|
kind: RecordKindNameSchema
|
|
16873
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16874
|
-
owner: string().min(1),
|
|
16875
|
-
kind: RecordKindNameSchema,
|
|
16876
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16877
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16878
|
-
complete: boolean().optional()
|
|
16879
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16880
|
-
kind: "mutation",
|
|
16881
|
-
auth: "admin"
|
|
16882
|
-
}), method(object({
|
|
16883
|
-
collection: string().min(1),
|
|
16884
|
-
cursor: string().optional(),
|
|
16885
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16886
|
-
}), object({
|
|
16887
|
-
rows: array(object({
|
|
16888
|
-
id: string(),
|
|
16889
|
-
data: record(string(), unknown())
|
|
16890
|
-
})),
|
|
16891
|
-
nextCursor: string().nullable()
|
|
16892
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16880
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16893
16881
|
/**
|
|
16894
16882
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16895
16883
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60585,9 +60573,24 @@ var NpuInfoSchema = object({
|
|
|
60585
60573
|
name: string().optional(),
|
|
60586
60574
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60587
60575
|
});
|
|
60576
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60588
60577
|
var CoralInfoSchema = object({
|
|
60589
60578
|
type: literal("coral-edgetpu"),
|
|
60590
|
-
bus
|
|
60579
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60580
|
+
bus: string().optional(),
|
|
60581
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60582
|
+
count: number().int().nonnegative().optional(),
|
|
60583
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60584
|
+
units: array(object({
|
|
60585
|
+
bus: CoralBusSchema,
|
|
60586
|
+
count: number().int().nonnegative()
|
|
60587
|
+
})).readonly().optional(),
|
|
60588
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60589
|
+
unavailable: array(object({
|
|
60590
|
+
bus: CoralBusSchema,
|
|
60591
|
+
count: number().int().nonnegative(),
|
|
60592
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60593
|
+
})).readonly().optional()
|
|
60591
60594
|
});
|
|
60592
60595
|
var HardwareInfoSchema = object({
|
|
60593
60596
|
platform: HardwarePlatformSchema,
|
|
@@ -69350,6 +69353,12 @@ Object.freeze({
|
|
|
69350
69353
|
addonId: null,
|
|
69351
69354
|
access: "view"
|
|
69352
69355
|
},
|
|
69356
|
+
"deviceHistory.queryMany": {
|
|
69357
|
+
capName: "device-history",
|
|
69358
|
+
capScope: "system",
|
|
69359
|
+
addonId: null,
|
|
69360
|
+
access: "view"
|
|
69361
|
+
},
|
|
69353
69362
|
"deviceHistory.queryNode": {
|
|
69354
69363
|
capName: "device-history",
|
|
69355
69364
|
capScope: "system",
|
|
@@ -74570,24 +74579,12 @@ Object.freeze({
|
|
|
74570
74579
|
addonId: null,
|
|
74571
74580
|
access: "create"
|
|
74572
74581
|
},
|
|
74573
|
-
"storageAdmin.adoptRecords": {
|
|
74574
|
-
capName: "storage-admin",
|
|
74575
|
-
capScope: "system",
|
|
74576
|
-
addonId: null,
|
|
74577
|
-
access: "create"
|
|
74578
|
-
},
|
|
74579
74582
|
"storageAdmin.dropCollection": {
|
|
74580
74583
|
capName: "storage-admin",
|
|
74581
74584
|
capScope: "system",
|
|
74582
74585
|
addonId: null,
|
|
74583
74586
|
access: "delete"
|
|
74584
74587
|
},
|
|
74585
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74586
|
-
capName: "storage-admin",
|
|
74587
|
-
capScope: "system",
|
|
74588
|
-
addonId: null,
|
|
74589
|
-
access: "view"
|
|
74590
|
-
},
|
|
74591
74588
|
"storageAdmin.listKinds": {
|
|
74592
74589
|
capName: "storage-admin",
|
|
74593
74590
|
capScope: "system",
|
|
@@ -74600,12 +74597,6 @@ Object.freeze({
|
|
|
74600
74597
|
addonId: null,
|
|
74601
74598
|
access: "view"
|
|
74602
74599
|
},
|
|
74603
|
-
"storageAdmin.readLegacyCollection": {
|
|
74604
|
-
capName: "storage-admin",
|
|
74605
|
-
capScope: "system",
|
|
74606
|
-
addonId: null,
|
|
74607
|
-
access: "view"
|
|
74608
|
-
},
|
|
74609
74600
|
"storageAdmin.readRecords": {
|
|
74610
74601
|
capName: "storage-admin",
|
|
74611
74602
|
capScope: "system",
|
|
@@ -78420,12 +78411,6 @@ Object.freeze({
|
|
|
78420
78411
|
form: "single",
|
|
78421
78412
|
optional: false
|
|
78422
78413
|
}],
|
|
78423
|
-
"storageAdmin.adoptRecords": [{
|
|
78424
|
-
name: "records",
|
|
78425
|
-
form: "object-array",
|
|
78426
|
-
optional: false,
|
|
78427
|
-
itemField: "deviceId"
|
|
78428
|
-
}],
|
|
78429
78414
|
"storageAdmin.readRecords": [{
|
|
78430
78415
|
name: "deviceId",
|
|
78431
78416
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5456,7 +5456,7 @@ var ZodIssueCode$1 = {
|
|
|
5456
5456
|
var ZodFirstPartyTypeKind$1;
|
|
5457
5457
|
ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
|
|
5458
5458
|
//#endregion
|
|
5459
|
-
//#region ../types/dist/sleep-
|
|
5459
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5460
5460
|
/**
|
|
5461
5461
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5462
5462
|
* window to float samples (D455).
|
|
@@ -8004,7 +8004,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8004
8004
|
secretPaths: array(string().min(1)).default([]),
|
|
8005
8005
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8006
8006
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8007
|
-
/**
|
|
8007
|
+
/**
|
|
8008
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8009
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8010
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8011
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8012
|
+
* removal still sends it. Never set it.
|
|
8013
|
+
*/
|
|
8008
8014
|
adoptsFrom: string().min(1).optional(),
|
|
8009
8015
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8010
8016
|
transactFamily: string().min(1).optional(),
|
|
@@ -16690,11 +16696,12 @@ var DeclareKindResultSchema = object({
|
|
|
16690
16696
|
kindId: number().int(),
|
|
16691
16697
|
state: RecordKindStateSchema,
|
|
16692
16698
|
createdIndexes: array(string()),
|
|
16693
|
-
/**
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16699
|
+
/**
|
|
16700
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16701
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16702
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16703
|
+
*/
|
|
16704
|
+
adoptionPending: _null()
|
|
16698
16705
|
});
|
|
16699
16706
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16700
16707
|
var SecretRefsList = array(string());
|
|
@@ -16867,26 +16874,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16867
16874
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16868
16875
|
owner: string().min(1),
|
|
16869
16876
|
kind: RecordKindNameSchema
|
|
16870
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16871
|
-
owner: string().min(1),
|
|
16872
|
-
kind: RecordKindNameSchema,
|
|
16873
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16874
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16875
|
-
complete: boolean().optional()
|
|
16876
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16877
|
-
kind: "mutation",
|
|
16878
|
-
auth: "admin"
|
|
16879
|
-
}), method(object({
|
|
16880
|
-
collection: string().min(1),
|
|
16881
|
-
cursor: string().optional(),
|
|
16882
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16883
|
-
}), object({
|
|
16884
|
-
rows: array(object({
|
|
16885
|
-
id: string(),
|
|
16886
|
-
data: record(string(), unknown())
|
|
16887
|
-
})),
|
|
16888
|
-
nextCursor: string().nullable()
|
|
16889
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16877
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16890
16878
|
/**
|
|
16891
16879
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16892
16880
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60582,9 +60570,24 @@ var NpuInfoSchema = object({
|
|
|
60582
60570
|
name: string().optional(),
|
|
60583
60571
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60584
60572
|
});
|
|
60573
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60585
60574
|
var CoralInfoSchema = object({
|
|
60586
60575
|
type: literal("coral-edgetpu"),
|
|
60587
|
-
bus
|
|
60576
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60577
|
+
bus: string().optional(),
|
|
60578
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60579
|
+
count: number().int().nonnegative().optional(),
|
|
60580
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60581
|
+
units: array(object({
|
|
60582
|
+
bus: CoralBusSchema,
|
|
60583
|
+
count: number().int().nonnegative()
|
|
60584
|
+
})).readonly().optional(),
|
|
60585
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60586
|
+
unavailable: array(object({
|
|
60587
|
+
bus: CoralBusSchema,
|
|
60588
|
+
count: number().int().nonnegative(),
|
|
60589
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60590
|
+
})).readonly().optional()
|
|
60588
60591
|
});
|
|
60589
60592
|
var HardwareInfoSchema = object({
|
|
60590
60593
|
platform: HardwarePlatformSchema,
|
|
@@ -69347,6 +69350,12 @@ Object.freeze({
|
|
|
69347
69350
|
addonId: null,
|
|
69348
69351
|
access: "view"
|
|
69349
69352
|
},
|
|
69353
|
+
"deviceHistory.queryMany": {
|
|
69354
|
+
capName: "device-history",
|
|
69355
|
+
capScope: "system",
|
|
69356
|
+
addonId: null,
|
|
69357
|
+
access: "view"
|
|
69358
|
+
},
|
|
69350
69359
|
"deviceHistory.queryNode": {
|
|
69351
69360
|
capName: "device-history",
|
|
69352
69361
|
capScope: "system",
|
|
@@ -74567,24 +74576,12 @@ Object.freeze({
|
|
|
74567
74576
|
addonId: null,
|
|
74568
74577
|
access: "create"
|
|
74569
74578
|
},
|
|
74570
|
-
"storageAdmin.adoptRecords": {
|
|
74571
|
-
capName: "storage-admin",
|
|
74572
|
-
capScope: "system",
|
|
74573
|
-
addonId: null,
|
|
74574
|
-
access: "create"
|
|
74575
|
-
},
|
|
74576
74579
|
"storageAdmin.dropCollection": {
|
|
74577
74580
|
capName: "storage-admin",
|
|
74578
74581
|
capScope: "system",
|
|
74579
74582
|
addonId: null,
|
|
74580
74583
|
access: "delete"
|
|
74581
74584
|
},
|
|
74582
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74583
|
-
capName: "storage-admin",
|
|
74584
|
-
capScope: "system",
|
|
74585
|
-
addonId: null,
|
|
74586
|
-
access: "view"
|
|
74587
|
-
},
|
|
74588
74585
|
"storageAdmin.listKinds": {
|
|
74589
74586
|
capName: "storage-admin",
|
|
74590
74587
|
capScope: "system",
|
|
@@ -74597,12 +74594,6 @@ Object.freeze({
|
|
|
74597
74594
|
addonId: null,
|
|
74598
74595
|
access: "view"
|
|
74599
74596
|
},
|
|
74600
|
-
"storageAdmin.readLegacyCollection": {
|
|
74601
|
-
capName: "storage-admin",
|
|
74602
|
-
capScope: "system",
|
|
74603
|
-
addonId: null,
|
|
74604
|
-
access: "view"
|
|
74605
|
-
},
|
|
74606
74597
|
"storageAdmin.readRecords": {
|
|
74607
74598
|
capName: "storage-admin",
|
|
74608
74599
|
capScope: "system",
|
|
@@ -78417,12 +78408,6 @@ Object.freeze({
|
|
|
78417
78408
|
form: "single",
|
|
78418
78409
|
optional: false
|
|
78419
78410
|
}],
|
|
78420
|
-
"storageAdmin.adoptRecords": [{
|
|
78421
|
-
name: "records",
|
|
78422
|
-
form: "object-array",
|
|
78423
|
-
optional: false,
|
|
78424
|
-
itemField: "deviceId"
|
|
78425
|
-
}],
|
|
78426
78411
|
"storageAdmin.readRecords": [{
|
|
78427
78412
|
name: "deviceId",
|
|
78428
78413
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.141",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|