camstack 1.2.194 → 1.2.196

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 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-UJ7M7YRF.js");
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-UJ7M7YRF.js");
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-BSuCCFjf.mjs
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
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
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
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
22953
- adoptionPending: external_exports.object({
22954
- legacyTable: external_exports.string(),
22955
- legacyRows: external_exports.number().int()
22956
- }).nullable()
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({
@@ -73728,6 +73700,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
73728
73700
  addonId: null,
73729
73701
  access: "view"
73730
73702
  },
73703
+ "deviceHistory.queryMany": {
73704
+ capName: "device-history",
73705
+ capScope: "system",
73706
+ addonId: null,
73707
+ access: "view"
73708
+ },
73731
73709
  "deviceHistory.queryNode": {
73732
73710
  capName: "device-history",
73733
73711
  capScope: "system",
@@ -78948,24 +78926,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
78948
78926
  addonId: null,
78949
78927
  access: "create"
78950
78928
  },
78951
- "storageAdmin.adoptRecords": {
78952
- capName: "storage-admin",
78953
- capScope: "system",
78954
- addonId: null,
78955
- access: "create"
78956
- },
78957
78929
  "storageAdmin.dropCollection": {
78958
78930
  capName: "storage-admin",
78959
78931
  capScope: "system",
78960
78932
  addonId: null,
78961
78933
  access: "delete"
78962
78934
  },
78963
- "storageAdmin.isAdoptedLegacyTable": {
78964
- capName: "storage-admin",
78965
- capScope: "system",
78966
- addonId: null,
78967
- access: "view"
78968
- },
78969
78935
  "storageAdmin.listKinds": {
78970
78936
  capName: "storage-admin",
78971
78937
  capScope: "system",
@@ -78978,12 +78944,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
78978
78944
  addonId: null,
78979
78945
  access: "view"
78980
78946
  },
78981
- "storageAdmin.readLegacyCollection": {
78982
- capName: "storage-admin",
78983
- capScope: "system",
78984
- addonId: null,
78985
- access: "view"
78986
- },
78987
78947
  "storageAdmin.readRecords": {
78988
78948
  capName: "storage-admin",
78989
78949
  capScope: "system",
@@ -82848,12 +82808,6 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
82848
82808
  form: "single",
82849
82809
  optional: false
82850
82810
  }],
82851
- "storageAdmin.adoptRecords": [{
82852
- name: "records",
82853
- form: "object-array",
82854
- optional: false,
82855
- itemField: "deviceId"
82856
- }],
82857
82811
  "storageAdmin.readRecords": [{
82858
82812
  name: "deviceId",
82859
82813
  form: "single",