camstack 1.2.193 → 1.2.195
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/cli.js +39 -70
- package/dist/{launcher-MJFET7GO.js → launcher-VKN5MWTJ.js} +1490 -2173
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ async function runServe(args) {
|
|
|
37
37
|
...typeof values.data === "string" ? { data: values.data } : {}
|
|
38
38
|
};
|
|
39
39
|
Object.assign(process.env, buildServeEnv(opts));
|
|
40
|
-
await import("./launcher-
|
|
40
|
+
await import("./launcher-VKN5MWTJ.js");
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// src/commands/agent.ts
|
|
@@ -82,7 +82,7 @@ async function runAgent(args) {
|
|
|
82
82
|
...typeof values.port === "string" ? { port: values.port } : {}
|
|
83
83
|
};
|
|
84
84
|
Object.assign(process.env, buildAgentEnv(opts));
|
|
85
|
-
await import("./launcher-
|
|
85
|
+
await import("./launcher-VKN5MWTJ.js");
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
// src/commands/setup.ts
|
|
@@ -14773,7 +14773,7 @@ function date4(params) {
|
|
|
14773
14773
|
// ../../node_modules/zod/v4/classic/external.js
|
|
14774
14774
|
config(en_default());
|
|
14775
14775
|
|
|
14776
|
-
// ../types/dist/sleep-
|
|
14776
|
+
// ../types/dist/sleep-CSuN0thG.mjs
|
|
14777
14777
|
var AUDIO_CHUNK_FORMATS = [
|
|
14778
14778
|
"f32le",
|
|
14779
14779
|
"pcmu",
|
|
@@ -15048,7 +15048,13 @@ var RecordKindDeclarationSchema = external_exports.object({
|
|
|
15048
15048
|
secretPaths: external_exports.array(external_exports.string().min(1)).default([]),
|
|
15049
15049
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
15050
15050
|
secretArrayKeys: external_exports.record(external_exports.string(), external_exports.string()).default({}),
|
|
15051
|
-
/**
|
|
15051
|
+
/**
|
|
15052
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
15053
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
15054
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
15055
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
15056
|
+
* removal still sends it. Never set it.
|
|
15057
|
+
*/
|
|
15052
15058
|
adoptsFrom: external_exports.string().min(1).optional(),
|
|
15053
15059
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
15054
15060
|
transactFamily: external_exports.string().min(1).optional(),
|
|
@@ -22949,11 +22955,12 @@ var DeclareKindResultSchema = external_exports.object({
|
|
|
22949
22955
|
kindId: external_exports.number().int(),
|
|
22950
22956
|
state: RecordKindStateSchema,
|
|
22951
22957
|
createdIndexes: external_exports.array(external_exports.string()),
|
|
22952
|
-
/**
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22958
|
+
/**
|
|
22959
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
22960
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
22961
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
22962
|
+
*/
|
|
22963
|
+
adoptionPending: external_exports.null()
|
|
22957
22964
|
});
|
|
22958
22965
|
var SecretRefsList = external_exports.array(external_exports.string());
|
|
22959
22966
|
var RecordSecretRefsSchema = external_exports.record(external_exports.string(), external_exports.record(external_exports.string(), external_exports.string()));
|
|
@@ -23181,42 +23188,7 @@ var storageAdminCapability = {
|
|
|
23181
23188
|
readRecords: method(RecordQueryInputSchema.extend({
|
|
23182
23189
|
owner: external_exports.string().min(1),
|
|
23183
23190
|
kind: RecordKindNameSchema
|
|
23184
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
23185
|
-
/**
|
|
23186
|
-
* The migration copy path (D881): write rows into a kind AS ITS DECLARED
|
|
23187
|
-
* OWNER. Refused when that owner's manifest does not declare the kind.
|
|
23188
|
-
* Idempotent (a put by id, so a re-run resumes). A secret field carries a
|
|
23189
|
-
* keychain marker bound to the row's own ref - the operator script imports
|
|
23190
|
-
* the value first - and a plain string there is refused.
|
|
23191
|
-
*/
|
|
23192
|
-
adoptRecords: method(external_exports.object({
|
|
23193
|
-
owner: external_exports.string().min(1),
|
|
23194
|
-
kind: RecordKindNameSchema,
|
|
23195
|
-
records: external_exports.array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
23196
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
23197
|
-
complete: external_exports.boolean().optional()
|
|
23198
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), external_exports.object({ adopted: external_exports.number().int() }), {
|
|
23199
|
-
kind: "mutation",
|
|
23200
|
-
auth: "admin"
|
|
23201
|
-
}),
|
|
23202
|
-
/**
|
|
23203
|
-
* Read rows from a legacy KV table by physical name, without a running
|
|
23204
|
-
* `declareCollection`. Used by `records-adopt.ts` when the owner already
|
|
23205
|
-
* moved to records and the collection door refuses the name.
|
|
23206
|
-
*/
|
|
23207
|
-
readLegacyCollection: method(external_exports.object({
|
|
23208
|
-
collection: external_exports.string().min(1),
|
|
23209
|
-
cursor: external_exports.string().optional(),
|
|
23210
|
-
limit: external_exports.number().int().min(1).max(1e3).optional()
|
|
23211
|
-
}), external_exports.object({
|
|
23212
|
-
rows: external_exports.array(external_exports.object({
|
|
23213
|
-
id: external_exports.string(),
|
|
23214
|
-
data: external_exports.record(external_exports.string(), external_exports.unknown())
|
|
23215
|
-
})),
|
|
23216
|
-
nextCursor: external_exports.string().nullable()
|
|
23217
|
-
}), { auth: "admin" }),
|
|
23218
|
-
/** True when a declared kind lists `collection` as `adoptsFrom` and adoption finished. */
|
|
23219
|
-
isAdoptedLegacyTable: method(external_exports.object({ collection: external_exports.string().min(1) }), external_exports.object({ adopted: external_exports.boolean() }), { auth: "admin" })
|
|
23191
|
+
}), RecordQueryResultSchema, { auth: "admin" })
|
|
23220
23192
|
}
|
|
23221
23193
|
};
|
|
23222
23194
|
var EntryKindInfoSchema = external_exports.object({
|
|
@@ -66900,9 +66872,24 @@ var NpuInfoSchema = external_exports.object({
|
|
|
66900
66872
|
name: external_exports.string().optional(),
|
|
66901
66873
|
generation: external_exports.enum(["xdna1", "xdna2"]).optional()
|
|
66902
66874
|
});
|
|
66875
|
+
var CoralBusSchema = external_exports.enum(["usb", "pci"]);
|
|
66903
66876
|
var CoralInfoSchema = external_exports.object({
|
|
66904
66877
|
type: external_exports.literal("coral-edgetpu"),
|
|
66905
|
-
bus
|
|
66878
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
66879
|
+
bus: external_exports.string().optional(),
|
|
66880
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
66881
|
+
count: external_exports.number().int().nonnegative().optional(),
|
|
66882
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
66883
|
+
units: external_exports.array(external_exports.object({
|
|
66884
|
+
bus: CoralBusSchema,
|
|
66885
|
+
count: external_exports.number().int().nonnegative()
|
|
66886
|
+
})).readonly().optional(),
|
|
66887
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
66888
|
+
unavailable: external_exports.array(external_exports.object({
|
|
66889
|
+
bus: CoralBusSchema,
|
|
66890
|
+
count: external_exports.number().int().nonnegative(),
|
|
66891
|
+
reason: external_exports.enum(["driver-missing", "device-not-accessible"])
|
|
66892
|
+
})).readonly().optional()
|
|
66906
66893
|
});
|
|
66907
66894
|
var HardwareInfoSchema = external_exports.object({
|
|
66908
66895
|
platform: HardwarePlatformSchema,
|
|
@@ -73713,6 +73700,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
73713
73700
|
addonId: null,
|
|
73714
73701
|
access: "view"
|
|
73715
73702
|
},
|
|
73703
|
+
"deviceHistory.queryMany": {
|
|
73704
|
+
capName: "device-history",
|
|
73705
|
+
capScope: "system",
|
|
73706
|
+
addonId: null,
|
|
73707
|
+
access: "view"
|
|
73708
|
+
},
|
|
73716
73709
|
"deviceHistory.queryNode": {
|
|
73717
73710
|
capName: "device-history",
|
|
73718
73711
|
capScope: "system",
|
|
@@ -78933,24 +78926,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
78933
78926
|
addonId: null,
|
|
78934
78927
|
access: "create"
|
|
78935
78928
|
},
|
|
78936
|
-
"storageAdmin.adoptRecords": {
|
|
78937
|
-
capName: "storage-admin",
|
|
78938
|
-
capScope: "system",
|
|
78939
|
-
addonId: null,
|
|
78940
|
-
access: "create"
|
|
78941
|
-
},
|
|
78942
78929
|
"storageAdmin.dropCollection": {
|
|
78943
78930
|
capName: "storage-admin",
|
|
78944
78931
|
capScope: "system",
|
|
78945
78932
|
addonId: null,
|
|
78946
78933
|
access: "delete"
|
|
78947
78934
|
},
|
|
78948
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
78949
|
-
capName: "storage-admin",
|
|
78950
|
-
capScope: "system",
|
|
78951
|
-
addonId: null,
|
|
78952
|
-
access: "view"
|
|
78953
|
-
},
|
|
78954
78935
|
"storageAdmin.listKinds": {
|
|
78955
78936
|
capName: "storage-admin",
|
|
78956
78937
|
capScope: "system",
|
|
@@ -78963,12 +78944,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
78963
78944
|
addonId: null,
|
|
78964
78945
|
access: "view"
|
|
78965
78946
|
},
|
|
78966
|
-
"storageAdmin.readLegacyCollection": {
|
|
78967
|
-
capName: "storage-admin",
|
|
78968
|
-
capScope: "system",
|
|
78969
|
-
addonId: null,
|
|
78970
|
-
access: "view"
|
|
78971
|
-
},
|
|
78972
78947
|
"storageAdmin.readRecords": {
|
|
78973
78948
|
capName: "storage-admin",
|
|
78974
78949
|
capScope: "system",
|
|
@@ -82833,12 +82808,6 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
82833
82808
|
form: "single",
|
|
82834
82809
|
optional: false
|
|
82835
82810
|
}],
|
|
82836
|
-
"storageAdmin.adoptRecords": [{
|
|
82837
|
-
name: "records",
|
|
82838
|
-
form: "object-array",
|
|
82839
|
-
optional: false,
|
|
82840
|
-
itemField: "deviceId"
|
|
82841
|
-
}],
|
|
82842
82811
|
"storageAdmin.readRecords": [{
|
|
82843
82812
|
name: "deviceId",
|
|
82844
82813
|
form: "single",
|