@tablation/crew 0.130.3 → 0.130.4
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 +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -14317,6 +14317,7 @@ var VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
|
14317
14317
|
"ship-kind",
|
|
14318
14318
|
"instance-class",
|
|
14319
14319
|
"relay-host",
|
|
14320
|
+
"relay-http-port",
|
|
14320
14321
|
"max-concurrent-agents",
|
|
14321
14322
|
"url",
|
|
14322
14323
|
"tail",
|
|
@@ -15570,7 +15571,7 @@ async function runProvision(o, deps, write, human) {
|
|
|
15570
15571
|
const configPath = deps.configFile();
|
|
15571
15572
|
if (!configPath) return fail2(PROVISION_EXIT.failed, "connect finished but no crew.yaml exists", { stage: "connect" });
|
|
15572
15573
|
summary.configPath = configPath;
|
|
15573
|
-
for (const [key, value2] of [["relayHost", o.relayHost], ["maxConcurrentAgents", o.maxConcurrentAgents]]) {
|
|
15574
|
+
for (const [key, value2] of [["relayHost", o.relayHost], ["relayHttpPort", o.relayHttpPort], ["maxConcurrentAgents", o.maxConcurrentAgents]]) {
|
|
15574
15575
|
if (value2 === void 0 || value2 === "") continue;
|
|
15575
15576
|
if (deps.setShipSetting(key, value2)) {
|
|
15576
15577
|
summary.changed = true;
|
|
@@ -15733,6 +15734,7 @@ function provisionOptionsFrom(argv2, env) {
|
|
|
15733
15734
|
shipKind: one("ship-kind"),
|
|
15734
15735
|
instanceClass: one("instance-class"),
|
|
15735
15736
|
relayHost: one("relay-host"),
|
|
15737
|
+
relayHttpPort: Number.isInteger(Number(one("relay-http-port"))) && Number(one("relay-http-port")) > 0 ? Number(one("relay-http-port")) : void 0,
|
|
15736
15738
|
maxConcurrentAgents: Number.isInteger(Number(one("max-concurrent-agents"))) && Number(one("max-concurrent-agents")) > 0 ? Number(one("max-concurrent-agents")) : void 0,
|
|
15737
15739
|
agentBin: one("agent-bin"),
|
|
15738
15740
|
runner: one("runner") === "host" || one("runner") === "sandbox" ? one("runner") : void 0,
|
|
@@ -16129,6 +16131,7 @@ function realPoolMemberDeps(o) {
|
|
|
16129
16131
|
shipKind,
|
|
16130
16132
|
instanceClass,
|
|
16131
16133
|
relayHost: lease.relayHost,
|
|
16134
|
+
relayHttpPort: lease.relayHttpPort,
|
|
16132
16135
|
maxConcurrentAgents: lease.maxConcurrentAgents,
|
|
16133
16136
|
baseUrl: platformBaseUrl(o.platformUrl),
|
|
16134
16137
|
forgeHosts: hosts,
|
package/package.json
CHANGED