camstack 1.2.163 → 1.2.164
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-
|
|
41
|
+
await import("./launcher-BMA4X5ZT.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-
|
|
86
|
+
await import("./launcher-BMA4X5ZT.js");
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/commands/setup.ts
|
|
@@ -434022,9 +434022,16 @@ var require_addon_registry_service = __commonJS({
|
|
|
434022
434022
|
throw new Error(`initializeAddonGroup("${runnerId}") requires at least one addon`);
|
|
434023
434023
|
}
|
|
434024
434024
|
try {
|
|
434025
|
-
await this.
|
|
434026
|
-
|
|
434027
|
-
|
|
434025
|
+
await this.serializeRunner(runnerId, async () => {
|
|
434026
|
+
try {
|
|
434027
|
+
await this.broker.call("$process.spawnRunner", { runnerId, addons });
|
|
434028
|
+
} catch (err) {
|
|
434029
|
+
if (!/already running/i.test((0, types_1.errMsg)(err)))
|
|
434030
|
+
throw err;
|
|
434031
|
+
this.logger.info("initializeAddonGroup: runner already running \u2014 nothing to spawn", {
|
|
434032
|
+
meta: { runnerId, addonIds: addons.map((a) => a.addonId) }
|
|
434033
|
+
});
|
|
434034
|
+
}
|
|
434028
434035
|
});
|
|
434029
434036
|
} catch (err) {
|
|
434030
434037
|
throw new Error(`Failed to spawn runner "${runnerId}" (${addons.length} addons): ${(0, types_1.errMsg)(err)}`, { cause: err });
|