@camstack/addon-provider-rtsp 1.2.132 → 1.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 +37 -52
- package/dist/addon.mjs +37 -52
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5438,7 +5438,7 @@ var ZodIssueCode = {
|
|
|
5438
5438
|
var ZodFirstPartyTypeKind;
|
|
5439
5439
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5440
5440
|
//#endregion
|
|
5441
|
-
//#region ../types/dist/sleep-
|
|
5441
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5442
5442
|
/**
|
|
5443
5443
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5444
5444
|
* window to float samples (D455).
|
|
@@ -7986,7 +7986,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7986
7986
|
secretPaths: array(string().min(1)).default([]),
|
|
7987
7987
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7988
7988
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7989
|
-
/**
|
|
7989
|
+
/**
|
|
7990
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7991
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7992
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7993
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7994
|
+
* removal still sends it. Never set it.
|
|
7995
|
+
*/
|
|
7990
7996
|
adoptsFrom: string().min(1).optional(),
|
|
7991
7997
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7992
7998
|
transactFamily: string().min(1).optional(),
|
|
@@ -16779,11 +16785,12 @@ var DeclareKindResultSchema = object({
|
|
|
16779
16785
|
kindId: number().int(),
|
|
16780
16786
|
state: RecordKindStateSchema,
|
|
16781
16787
|
createdIndexes: array(string()),
|
|
16782
|
-
/**
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16788
|
+
/**
|
|
16789
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16790
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16791
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16792
|
+
*/
|
|
16793
|
+
adoptionPending: _null()
|
|
16787
16794
|
});
|
|
16788
16795
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16789
16796
|
var SecretRefsList = array(string());
|
|
@@ -16956,26 +16963,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16956
16963
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16957
16964
|
owner: string().min(1),
|
|
16958
16965
|
kind: RecordKindNameSchema
|
|
16959
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16960
|
-
owner: string().min(1),
|
|
16961
|
-
kind: RecordKindNameSchema,
|
|
16962
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16963
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16964
|
-
complete: boolean().optional()
|
|
16965
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16966
|
-
kind: "mutation",
|
|
16967
|
-
auth: "admin"
|
|
16968
|
-
}), method(object({
|
|
16969
|
-
collection: string().min(1),
|
|
16970
|
-
cursor: string().optional(),
|
|
16971
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16972
|
-
}), object({
|
|
16973
|
-
rows: array(object({
|
|
16974
|
-
id: string(),
|
|
16975
|
-
data: record(string(), unknown())
|
|
16976
|
-
})),
|
|
16977
|
-
nextCursor: string().nullable()
|
|
16978
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16966
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16979
16967
|
/**
|
|
16980
16968
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16981
16969
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60581,9 +60569,24 @@ var NpuInfoSchema = object({
|
|
|
60581
60569
|
name: string().optional(),
|
|
60582
60570
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60583
60571
|
});
|
|
60572
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60584
60573
|
var CoralInfoSchema = object({
|
|
60585
60574
|
type: literal("coral-edgetpu"),
|
|
60586
|
-
bus
|
|
60575
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60576
|
+
bus: string().optional(),
|
|
60577
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60578
|
+
count: number().int().nonnegative().optional(),
|
|
60579
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60580
|
+
units: array(object({
|
|
60581
|
+
bus: CoralBusSchema,
|
|
60582
|
+
count: number().int().nonnegative()
|
|
60583
|
+
})).readonly().optional(),
|
|
60584
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60585
|
+
unavailable: array(object({
|
|
60586
|
+
bus: CoralBusSchema,
|
|
60587
|
+
count: number().int().nonnegative(),
|
|
60588
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60589
|
+
})).readonly().optional()
|
|
60587
60590
|
});
|
|
60588
60591
|
var HardwareInfoSchema = object({
|
|
60589
60592
|
platform: HardwarePlatformSchema,
|
|
@@ -69330,6 +69333,12 @@ Object.freeze({
|
|
|
69330
69333
|
addonId: null,
|
|
69331
69334
|
access: "view"
|
|
69332
69335
|
},
|
|
69336
|
+
"deviceHistory.queryMany": {
|
|
69337
|
+
capName: "device-history",
|
|
69338
|
+
capScope: "system",
|
|
69339
|
+
addonId: null,
|
|
69340
|
+
access: "view"
|
|
69341
|
+
},
|
|
69333
69342
|
"deviceHistory.queryNode": {
|
|
69334
69343
|
capName: "device-history",
|
|
69335
69344
|
capScope: "system",
|
|
@@ -74550,24 +74559,12 @@ Object.freeze({
|
|
|
74550
74559
|
addonId: null,
|
|
74551
74560
|
access: "create"
|
|
74552
74561
|
},
|
|
74553
|
-
"storageAdmin.adoptRecords": {
|
|
74554
|
-
capName: "storage-admin",
|
|
74555
|
-
capScope: "system",
|
|
74556
|
-
addonId: null,
|
|
74557
|
-
access: "create"
|
|
74558
|
-
},
|
|
74559
74562
|
"storageAdmin.dropCollection": {
|
|
74560
74563
|
capName: "storage-admin",
|
|
74561
74564
|
capScope: "system",
|
|
74562
74565
|
addonId: null,
|
|
74563
74566
|
access: "delete"
|
|
74564
74567
|
},
|
|
74565
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74566
|
-
capName: "storage-admin",
|
|
74567
|
-
capScope: "system",
|
|
74568
|
-
addonId: null,
|
|
74569
|
-
access: "view"
|
|
74570
|
-
},
|
|
74571
74568
|
"storageAdmin.listKinds": {
|
|
74572
74569
|
capName: "storage-admin",
|
|
74573
74570
|
capScope: "system",
|
|
@@ -74580,12 +74577,6 @@ Object.freeze({
|
|
|
74580
74577
|
addonId: null,
|
|
74581
74578
|
access: "view"
|
|
74582
74579
|
},
|
|
74583
|
-
"storageAdmin.readLegacyCollection": {
|
|
74584
|
-
capName: "storage-admin",
|
|
74585
|
-
capScope: "system",
|
|
74586
|
-
addonId: null,
|
|
74587
|
-
access: "view"
|
|
74588
|
-
},
|
|
74589
74580
|
"storageAdmin.readRecords": {
|
|
74590
74581
|
capName: "storage-admin",
|
|
74591
74582
|
capScope: "system",
|
|
@@ -78466,12 +78457,6 @@ Object.freeze({
|
|
|
78466
78457
|
form: "single",
|
|
78467
78458
|
optional: false
|
|
78468
78459
|
}],
|
|
78469
|
-
"storageAdmin.adoptRecords": [{
|
|
78470
|
-
name: "records",
|
|
78471
|
-
form: "object-array",
|
|
78472
|
-
optional: false,
|
|
78473
|
-
itemField: "deviceId"
|
|
78474
|
-
}],
|
|
78475
78460
|
"storageAdmin.readRecords": [{
|
|
78476
78461
|
name: "deviceId",
|
|
78477
78462
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5414,7 +5414,7 @@ var ZodIssueCode = {
|
|
|
5414
5414
|
var ZodFirstPartyTypeKind;
|
|
5415
5415
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5416
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5417
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5418
5418
|
/**
|
|
5419
5419
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5420
|
* window to float samples (D455).
|
|
@@ -7962,7 +7962,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7962
7962
|
secretPaths: array(string().min(1)).default([]),
|
|
7963
7963
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7964
7964
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7965
|
-
/**
|
|
7965
|
+
/**
|
|
7966
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7967
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7968
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7969
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7970
|
+
* removal still sends it. Never set it.
|
|
7971
|
+
*/
|
|
7966
7972
|
adoptsFrom: string().min(1).optional(),
|
|
7967
7973
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7968
7974
|
transactFamily: string().min(1).optional(),
|
|
@@ -16755,11 +16761,12 @@ var DeclareKindResultSchema = object({
|
|
|
16755
16761
|
kindId: number().int(),
|
|
16756
16762
|
state: RecordKindStateSchema,
|
|
16757
16763
|
createdIndexes: array(string()),
|
|
16758
|
-
/**
|
|
16759
|
-
|
|
16760
|
-
|
|
16761
|
-
|
|
16762
|
-
|
|
16764
|
+
/**
|
|
16765
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16766
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16767
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16768
|
+
*/
|
|
16769
|
+
adoptionPending: _null()
|
|
16763
16770
|
});
|
|
16764
16771
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16765
16772
|
var SecretRefsList = array(string());
|
|
@@ -16932,26 +16939,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16932
16939
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16933
16940
|
owner: string().min(1),
|
|
16934
16941
|
kind: RecordKindNameSchema
|
|
16935
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16936
|
-
owner: string().min(1),
|
|
16937
|
-
kind: RecordKindNameSchema,
|
|
16938
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16939
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16940
|
-
complete: boolean().optional()
|
|
16941
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16942
|
-
kind: "mutation",
|
|
16943
|
-
auth: "admin"
|
|
16944
|
-
}), method(object({
|
|
16945
|
-
collection: string().min(1),
|
|
16946
|
-
cursor: string().optional(),
|
|
16947
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16948
|
-
}), object({
|
|
16949
|
-
rows: array(object({
|
|
16950
|
-
id: string(),
|
|
16951
|
-
data: record(string(), unknown())
|
|
16952
|
-
})),
|
|
16953
|
-
nextCursor: string().nullable()
|
|
16954
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16942
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16955
16943
|
/**
|
|
16956
16944
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16957
16945
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60557,9 +60545,24 @@ var NpuInfoSchema = object({
|
|
|
60557
60545
|
name: string().optional(),
|
|
60558
60546
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60559
60547
|
});
|
|
60548
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60560
60549
|
var CoralInfoSchema = object({
|
|
60561
60550
|
type: literal("coral-edgetpu"),
|
|
60562
|
-
bus
|
|
60551
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60552
|
+
bus: string().optional(),
|
|
60553
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60554
|
+
count: number().int().nonnegative().optional(),
|
|
60555
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60556
|
+
units: array(object({
|
|
60557
|
+
bus: CoralBusSchema,
|
|
60558
|
+
count: number().int().nonnegative()
|
|
60559
|
+
})).readonly().optional(),
|
|
60560
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60561
|
+
unavailable: array(object({
|
|
60562
|
+
bus: CoralBusSchema,
|
|
60563
|
+
count: number().int().nonnegative(),
|
|
60564
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60565
|
+
})).readonly().optional()
|
|
60563
60566
|
});
|
|
60564
60567
|
var HardwareInfoSchema = object({
|
|
60565
60568
|
platform: HardwarePlatformSchema,
|
|
@@ -69306,6 +69309,12 @@ Object.freeze({
|
|
|
69306
69309
|
addonId: null,
|
|
69307
69310
|
access: "view"
|
|
69308
69311
|
},
|
|
69312
|
+
"deviceHistory.queryMany": {
|
|
69313
|
+
capName: "device-history",
|
|
69314
|
+
capScope: "system",
|
|
69315
|
+
addonId: null,
|
|
69316
|
+
access: "view"
|
|
69317
|
+
},
|
|
69309
69318
|
"deviceHistory.queryNode": {
|
|
69310
69319
|
capName: "device-history",
|
|
69311
69320
|
capScope: "system",
|
|
@@ -74526,24 +74535,12 @@ Object.freeze({
|
|
|
74526
74535
|
addonId: null,
|
|
74527
74536
|
access: "create"
|
|
74528
74537
|
},
|
|
74529
|
-
"storageAdmin.adoptRecords": {
|
|
74530
|
-
capName: "storage-admin",
|
|
74531
|
-
capScope: "system",
|
|
74532
|
-
addonId: null,
|
|
74533
|
-
access: "create"
|
|
74534
|
-
},
|
|
74535
74538
|
"storageAdmin.dropCollection": {
|
|
74536
74539
|
capName: "storage-admin",
|
|
74537
74540
|
capScope: "system",
|
|
74538
74541
|
addonId: null,
|
|
74539
74542
|
access: "delete"
|
|
74540
74543
|
},
|
|
74541
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74542
|
-
capName: "storage-admin",
|
|
74543
|
-
capScope: "system",
|
|
74544
|
-
addonId: null,
|
|
74545
|
-
access: "view"
|
|
74546
|
-
},
|
|
74547
74544
|
"storageAdmin.listKinds": {
|
|
74548
74545
|
capName: "storage-admin",
|
|
74549
74546
|
capScope: "system",
|
|
@@ -74556,12 +74553,6 @@ Object.freeze({
|
|
|
74556
74553
|
addonId: null,
|
|
74557
74554
|
access: "view"
|
|
74558
74555
|
},
|
|
74559
|
-
"storageAdmin.readLegacyCollection": {
|
|
74560
|
-
capName: "storage-admin",
|
|
74561
|
-
capScope: "system",
|
|
74562
|
-
addonId: null,
|
|
74563
|
-
access: "view"
|
|
74564
|
-
},
|
|
74565
74556
|
"storageAdmin.readRecords": {
|
|
74566
74557
|
capName: "storage-admin",
|
|
74567
74558
|
capScope: "system",
|
|
@@ -78442,12 +78433,6 @@ Object.freeze({
|
|
|
78442
78433
|
form: "single",
|
|
78443
78434
|
optional: false
|
|
78444
78435
|
}],
|
|
78445
|
-
"storageAdmin.adoptRecords": [{
|
|
78446
|
-
name: "records",
|
|
78447
|
-
form: "object-array",
|
|
78448
|
-
optional: false,
|
|
78449
|
-
itemField: "deviceId"
|
|
78450
|
-
}],
|
|
78451
78436
|
"storageAdmin.readRecords": [{
|
|
78452
78437
|
name: "deviceId",
|
|
78453
78438
|
form: "single",
|