@camstack/addon-export-google 0.1.98 → 0.1.100
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-google.addon.js +37 -52
- package/dist/export-google.addon.mjs +37 -52
- package/package.json +1 -1
|
@@ -5492,7 +5492,7 @@ var ZodIssueCode = {
|
|
|
5492
5492
|
var ZodFirstPartyTypeKind;
|
|
5493
5493
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5494
5494
|
//#endregion
|
|
5495
|
-
//#region ../types/dist/sleep-
|
|
5495
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5496
5496
|
/**
|
|
5497
5497
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5498
5498
|
* window to float samples (D455).
|
|
@@ -7973,7 +7973,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7973
7973
|
secretPaths: array(string().min(1)).default([]),
|
|
7974
7974
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7975
7975
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7976
|
-
/**
|
|
7976
|
+
/**
|
|
7977
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7978
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7979
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7980
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7981
|
+
* removal still sends it. Never set it.
|
|
7982
|
+
*/
|
|
7977
7983
|
adoptsFrom: string().min(1).optional(),
|
|
7978
7984
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7979
7985
|
transactFamily: string().min(1).optional(),
|
|
@@ -16700,11 +16706,12 @@ var DeclareKindResultSchema = object({
|
|
|
16700
16706
|
kindId: number().int(),
|
|
16701
16707
|
state: RecordKindStateSchema,
|
|
16702
16708
|
createdIndexes: array(string()),
|
|
16703
|
-
/**
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16709
|
+
/**
|
|
16710
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16711
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16712
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16713
|
+
*/
|
|
16714
|
+
adoptionPending: _null()
|
|
16708
16715
|
});
|
|
16709
16716
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16710
16717
|
var SecretRefsList = array(string());
|
|
@@ -16877,26 +16884,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16877
16884
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16878
16885
|
owner: string().min(1),
|
|
16879
16886
|
kind: RecordKindNameSchema
|
|
16880
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16881
|
-
owner: string().min(1),
|
|
16882
|
-
kind: RecordKindNameSchema,
|
|
16883
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16884
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16885
|
-
complete: boolean().optional()
|
|
16886
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16887
|
-
kind: "mutation",
|
|
16888
|
-
auth: "admin"
|
|
16889
|
-
}), method(object({
|
|
16890
|
-
collection: string().min(1),
|
|
16891
|
-
cursor: string().optional(),
|
|
16892
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16893
|
-
}), object({
|
|
16894
|
-
rows: array(object({
|
|
16895
|
-
id: string(),
|
|
16896
|
-
data: record(string(), unknown())
|
|
16897
|
-
})),
|
|
16898
|
-
nextCursor: string().nullable()
|
|
16899
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16887
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16900
16888
|
/**
|
|
16901
16889
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16902
16890
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58111,9 +58099,24 @@ var NpuInfoSchema = object({
|
|
|
58111
58099
|
name: string().optional(),
|
|
58112
58100
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58113
58101
|
});
|
|
58102
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58114
58103
|
var CoralInfoSchema = object({
|
|
58115
58104
|
type: literal("coral-edgetpu"),
|
|
58116
|
-
bus
|
|
58105
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58106
|
+
bus: string().optional(),
|
|
58107
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58108
|
+
count: number().int().nonnegative().optional(),
|
|
58109
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58110
|
+
units: array(object({
|
|
58111
|
+
bus: CoralBusSchema,
|
|
58112
|
+
count: number().int().nonnegative()
|
|
58113
|
+
})).readonly().optional(),
|
|
58114
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58115
|
+
unavailable: array(object({
|
|
58116
|
+
bus: CoralBusSchema,
|
|
58117
|
+
count: number().int().nonnegative(),
|
|
58118
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58119
|
+
})).readonly().optional()
|
|
58117
58120
|
});
|
|
58118
58121
|
var HardwareInfoSchema = object({
|
|
58119
58122
|
platform: HardwarePlatformSchema,
|
|
@@ -64120,6 +64123,12 @@ Object.freeze({
|
|
|
64120
64123
|
addonId: null,
|
|
64121
64124
|
access: "view"
|
|
64122
64125
|
},
|
|
64126
|
+
"deviceHistory.queryMany": {
|
|
64127
|
+
capName: "device-history",
|
|
64128
|
+
capScope: "system",
|
|
64129
|
+
addonId: null,
|
|
64130
|
+
access: "view"
|
|
64131
|
+
},
|
|
64123
64132
|
"deviceHistory.queryNode": {
|
|
64124
64133
|
capName: "device-history",
|
|
64125
64134
|
capScope: "system",
|
|
@@ -69340,24 +69349,12 @@ Object.freeze({
|
|
|
69340
69349
|
addonId: null,
|
|
69341
69350
|
access: "create"
|
|
69342
69351
|
},
|
|
69343
|
-
"storageAdmin.adoptRecords": {
|
|
69344
|
-
capName: "storage-admin",
|
|
69345
|
-
capScope: "system",
|
|
69346
|
-
addonId: null,
|
|
69347
|
-
access: "create"
|
|
69348
|
-
},
|
|
69349
69352
|
"storageAdmin.dropCollection": {
|
|
69350
69353
|
capName: "storage-admin",
|
|
69351
69354
|
capScope: "system",
|
|
69352
69355
|
addonId: null,
|
|
69353
69356
|
access: "delete"
|
|
69354
69357
|
},
|
|
69355
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69356
|
-
capName: "storage-admin",
|
|
69357
|
-
capScope: "system",
|
|
69358
|
-
addonId: null,
|
|
69359
|
-
access: "view"
|
|
69360
|
-
},
|
|
69361
69358
|
"storageAdmin.listKinds": {
|
|
69362
69359
|
capName: "storage-admin",
|
|
69363
69360
|
capScope: "system",
|
|
@@ -69370,12 +69367,6 @@ Object.freeze({
|
|
|
69370
69367
|
addonId: null,
|
|
69371
69368
|
access: "view"
|
|
69372
69369
|
},
|
|
69373
|
-
"storageAdmin.readLegacyCollection": {
|
|
69374
|
-
capName: "storage-admin",
|
|
69375
|
-
capScope: "system",
|
|
69376
|
-
addonId: null,
|
|
69377
|
-
access: "view"
|
|
69378
|
-
},
|
|
69379
69370
|
"storageAdmin.readRecords": {
|
|
69380
69371
|
capName: "storage-admin",
|
|
69381
69372
|
capScope: "system",
|
|
@@ -73190,12 +73181,6 @@ Object.freeze({
|
|
|
73190
73181
|
form: "single",
|
|
73191
73182
|
optional: false
|
|
73192
73183
|
}],
|
|
73193
|
-
"storageAdmin.adoptRecords": [{
|
|
73194
|
-
name: "records",
|
|
73195
|
-
form: "object-array",
|
|
73196
|
-
optional: false,
|
|
73197
|
-
itemField: "deviceId"
|
|
73198
|
-
}],
|
|
73199
73184
|
"storageAdmin.readRecords": [{
|
|
73200
73185
|
name: "deviceId",
|
|
73201
73186
|
form: "single",
|
|
@@ -5488,7 +5488,7 @@ var ZodIssueCode = {
|
|
|
5488
5488
|
var ZodFirstPartyTypeKind;
|
|
5489
5489
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5490
5490
|
//#endregion
|
|
5491
|
-
//#region ../types/dist/sleep-
|
|
5491
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5492
5492
|
/**
|
|
5493
5493
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5494
5494
|
* window to float samples (D455).
|
|
@@ -7969,7 +7969,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7969
7969
|
secretPaths: array(string().min(1)).default([]),
|
|
7970
7970
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7971
7971
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7972
|
-
/**
|
|
7972
|
+
/**
|
|
7973
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7974
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7975
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7976
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7977
|
+
* removal still sends it. Never set it.
|
|
7978
|
+
*/
|
|
7973
7979
|
adoptsFrom: string().min(1).optional(),
|
|
7974
7980
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7975
7981
|
transactFamily: string().min(1).optional(),
|
|
@@ -16696,11 +16702,12 @@ var DeclareKindResultSchema = object({
|
|
|
16696
16702
|
kindId: number().int(),
|
|
16697
16703
|
state: RecordKindStateSchema,
|
|
16698
16704
|
createdIndexes: array(string()),
|
|
16699
|
-
/**
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16705
|
+
/**
|
|
16706
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16707
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16708
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16709
|
+
*/
|
|
16710
|
+
adoptionPending: _null()
|
|
16704
16711
|
});
|
|
16705
16712
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16706
16713
|
var SecretRefsList = array(string());
|
|
@@ -16873,26 +16880,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16873
16880
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16874
16881
|
owner: string().min(1),
|
|
16875
16882
|
kind: RecordKindNameSchema
|
|
16876
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16877
|
-
owner: string().min(1),
|
|
16878
|
-
kind: RecordKindNameSchema,
|
|
16879
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16880
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16881
|
-
complete: boolean().optional()
|
|
16882
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16883
|
-
kind: "mutation",
|
|
16884
|
-
auth: "admin"
|
|
16885
|
-
}), method(object({
|
|
16886
|
-
collection: string().min(1),
|
|
16887
|
-
cursor: string().optional(),
|
|
16888
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16889
|
-
}), object({
|
|
16890
|
-
rows: array(object({
|
|
16891
|
-
id: string(),
|
|
16892
|
-
data: record(string(), unknown())
|
|
16893
|
-
})),
|
|
16894
|
-
nextCursor: string().nullable()
|
|
16895
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16883
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16896
16884
|
/**
|
|
16897
16885
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16898
16886
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58107,9 +58095,24 @@ var NpuInfoSchema = object({
|
|
|
58107
58095
|
name: string().optional(),
|
|
58108
58096
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58109
58097
|
});
|
|
58098
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58110
58099
|
var CoralInfoSchema = object({
|
|
58111
58100
|
type: literal("coral-edgetpu"),
|
|
58112
|
-
bus
|
|
58101
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58102
|
+
bus: string().optional(),
|
|
58103
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58104
|
+
count: number().int().nonnegative().optional(),
|
|
58105
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58106
|
+
units: array(object({
|
|
58107
|
+
bus: CoralBusSchema,
|
|
58108
|
+
count: number().int().nonnegative()
|
|
58109
|
+
})).readonly().optional(),
|
|
58110
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58111
|
+
unavailable: array(object({
|
|
58112
|
+
bus: CoralBusSchema,
|
|
58113
|
+
count: number().int().nonnegative(),
|
|
58114
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58115
|
+
})).readonly().optional()
|
|
58113
58116
|
});
|
|
58114
58117
|
var HardwareInfoSchema = object({
|
|
58115
58118
|
platform: HardwarePlatformSchema,
|
|
@@ -64116,6 +64119,12 @@ Object.freeze({
|
|
|
64116
64119
|
addonId: null,
|
|
64117
64120
|
access: "view"
|
|
64118
64121
|
},
|
|
64122
|
+
"deviceHistory.queryMany": {
|
|
64123
|
+
capName: "device-history",
|
|
64124
|
+
capScope: "system",
|
|
64125
|
+
addonId: null,
|
|
64126
|
+
access: "view"
|
|
64127
|
+
},
|
|
64119
64128
|
"deviceHistory.queryNode": {
|
|
64120
64129
|
capName: "device-history",
|
|
64121
64130
|
capScope: "system",
|
|
@@ -69336,24 +69345,12 @@ Object.freeze({
|
|
|
69336
69345
|
addonId: null,
|
|
69337
69346
|
access: "create"
|
|
69338
69347
|
},
|
|
69339
|
-
"storageAdmin.adoptRecords": {
|
|
69340
|
-
capName: "storage-admin",
|
|
69341
|
-
capScope: "system",
|
|
69342
|
-
addonId: null,
|
|
69343
|
-
access: "create"
|
|
69344
|
-
},
|
|
69345
69348
|
"storageAdmin.dropCollection": {
|
|
69346
69349
|
capName: "storage-admin",
|
|
69347
69350
|
capScope: "system",
|
|
69348
69351
|
addonId: null,
|
|
69349
69352
|
access: "delete"
|
|
69350
69353
|
},
|
|
69351
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69352
|
-
capName: "storage-admin",
|
|
69353
|
-
capScope: "system",
|
|
69354
|
-
addonId: null,
|
|
69355
|
-
access: "view"
|
|
69356
|
-
},
|
|
69357
69354
|
"storageAdmin.listKinds": {
|
|
69358
69355
|
capName: "storage-admin",
|
|
69359
69356
|
capScope: "system",
|
|
@@ -69366,12 +69363,6 @@ Object.freeze({
|
|
|
69366
69363
|
addonId: null,
|
|
69367
69364
|
access: "view"
|
|
69368
69365
|
},
|
|
69369
|
-
"storageAdmin.readLegacyCollection": {
|
|
69370
|
-
capName: "storage-admin",
|
|
69371
|
-
capScope: "system",
|
|
69372
|
-
addonId: null,
|
|
69373
|
-
access: "view"
|
|
69374
|
-
},
|
|
69375
69366
|
"storageAdmin.readRecords": {
|
|
69376
69367
|
capName: "storage-admin",
|
|
69377
69368
|
capScope: "system",
|
|
@@ -73186,12 +73177,6 @@ Object.freeze({
|
|
|
73186
73177
|
form: "single",
|
|
73187
73178
|
optional: false
|
|
73188
73179
|
}],
|
|
73189
|
-
"storageAdmin.adoptRecords": [{
|
|
73190
|
-
name: "records",
|
|
73191
|
-
form: "object-array",
|
|
73192
|
-
optional: false,
|
|
73193
|
-
itemField: "deviceId"
|
|
73194
|
-
}],
|
|
73195
73180
|
"storageAdmin.readRecords": [{
|
|
73196
73181
|
name: "deviceId",
|
|
73197
73182
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.100",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|