camstack 1.2.78 → 1.2.79

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
@@ -38,7 +38,7 @@ async function runServe(args) {
38
38
  ...typeof values.data === "string" ? { data: values.data } : {}
39
39
  };
40
40
  Object.assign(process.env, buildServeEnv(opts));
41
- await import("./launcher-22Q4HRAB.js");
41
+ await import("./launcher-BA4I4JAU.js");
42
42
  }
43
43
 
44
44
  // src/commands/agent.ts
@@ -83,7 +83,7 @@ async function runAgent(args) {
83
83
  ...typeof values.port === "string" ? { port: values.port } : {}
84
84
  };
85
85
  Object.assign(process.env, buildAgentEnv(opts));
86
- await import("./launcher-22Q4HRAB.js");
86
+ await import("./launcher-BA4I4JAU.js");
87
87
  }
88
88
 
89
89
  // src/commands/setup.ts
@@ -66399,6 +66399,7 @@ var require_device_manager_addon = __commonJS({
66399
66399
  const { sourceId, targetId } = input;
66400
66400
  const ctx = pctx.host.ctx;
66401
66401
  return await pctx.metaStore.withMetaWriteLock(async () => {
66402
+ for (const id of [sourceId, targetId]) if (await pctx.metaStore.rows.get(id) === null) throw new Error(`[device-manager] migrateDevice: device ${id} does not exist`);
66402
66403
  const tempId = await pctx.metaStore.allocateNextDeviceId();
66403
66404
  return await migrateDevice$1({
66404
66405
  setSwitch: async (deviceId, switchId, enabled) => {
@@ -253190,6 +253191,9 @@ ${recipe.triggers.map((t, i) => emitTrigger(t, i)).join("\n\n")}
253190
253191
  exports.MeshPeerSchema = MeshPeerSchema;
253191
253192
  exports.MeshStatusSchema = MeshStatusSchema;
253192
253193
  exports.MethodAccessSchema = MethodAccessSchema;
253194
+ exports.MigrateDeviceResultSchema = MigrateDeviceResultSchema;
253195
+ exports.MigrateSwitchOutcomeSchema = MigrateSwitchOutcomeSchema;
253196
+ exports.MigrateSwitchReportSchema = MigrateSwitchReportSchema;
253193
253197
  exports.ModelCatalogEntrySchema = ModelCatalogEntrySchema;
253194
253198
  exports.ModelConvertInputSchema = ModelConvertInputSchema;
253195
253199
  exports.ModelConvertMetadataSchema = ModelConvertMetadataSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstack",
3
- "version": "1.2.78",
3
+ "version": "1.2.79",
4
4
  "description": "CLI tool for managing and running CamStack server",
5
5
  "keywords": [
6
6
  "camstack",