@tablation/crew 0.163.1 → 0.163.2
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 +9 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1352,7 +1352,7 @@ var Emitter = class _Emitter {
|
|
|
1352
1352
|
const e = {
|
|
1353
1353
|
at: this.now().toISOString(),
|
|
1354
1354
|
cycle: this.cycle,
|
|
1355
|
-
route: this.opts.route,
|
|
1355
|
+
route: extra.route ?? this.opts.route,
|
|
1356
1356
|
step: extra.step ?? this.step,
|
|
1357
1357
|
level: extra.level ?? "info",
|
|
1358
1358
|
message,
|
|
@@ -29177,7 +29177,7 @@ import { dirname as dirOf2, resolve as resolvePath } from "path";
|
|
|
29177
29177
|
import { existsSync as existsSync56, readdirSync as readdirSync18, statSync as statSync17 } from "fs";
|
|
29178
29178
|
import { join as join60 } from "path";
|
|
29179
29179
|
function builtVersion() {
|
|
29180
|
-
return true ? "0.163.
|
|
29180
|
+
return true ? "0.163.2" : null;
|
|
29181
29181
|
}
|
|
29182
29182
|
var REBUILD_HINT = "rebuild with npm run build";
|
|
29183
29183
|
function newestMtime(path) {
|
|
@@ -31666,8 +31666,11 @@ if (command === "passenger-sync-daemon") {
|
|
|
31666
31666
|
let routineLine = function(line) {
|
|
31667
31667
|
if (flag("verbose")) process.stderr.write(`${line}
|
|
31668
31668
|
`);
|
|
31669
|
+
}, failureScope = function() {
|
|
31670
|
+
const given = value("route") ?? positional[1];
|
|
31671
|
+
return { step: command ?? "crew", route: given !== void 0 && cfg.routes.some((r) => r.route === given) ? given : "" };
|
|
31669
31672
|
}, die = function(command2, message, fix, code = 2) {
|
|
31670
|
-
emit.error(withFix(`${command2}: ${message}`, fix));
|
|
31673
|
+
emit.error(withFix(`${command2}: ${message}`, fix), failureScope());
|
|
31671
31674
|
return process.exit(code);
|
|
31672
31675
|
}, requireArmed = function(what) {
|
|
31673
31676
|
if (dryRun || route2.enabled) return;
|
|
@@ -31878,7 +31881,7 @@ if (command === "passenger-sync-daemon") {
|
|
|
31878
31881
|
}
|
|
31879
31882
|
};
|
|
31880
31883
|
};
|
|
31881
|
-
routineLine2 = routineLine, die2 = die, requireArmed2 = requireArmed, parseTicketNumber2 = parseTicketNumber, routeRelayUrl2 = routeRelayUrl, previewRelayFor2 = previewRelayFor, passengerApiKeys2 = passengerApiKeys, endpointApiFor2 = endpointApiFor, periscopeEndpointDeps2 = periscopeEndpointDeps, periscopeMcpDeps2 = periscopeMcpDeps, endpointReconcileDeps2 = endpointReconcileDeps, sweepStateDir2 = sweepStateDir, releaseRefused2 = releaseRefused, doctorMachineId2 = doctorMachineId, baseHealth2 = baseHealth, sandboxCacheRepos2 = sandboxCacheRepos, buildSandboxCachePass2 = buildSandboxCachePass, sandboxTickDeps2 = sandboxTickDeps;
|
|
31884
|
+
routineLine2 = routineLine, failureScope2 = failureScope, die2 = die, requireArmed2 = requireArmed, parseTicketNumber2 = parseTicketNumber, routeRelayUrl2 = routeRelayUrl, previewRelayFor2 = previewRelayFor, passengerApiKeys2 = passengerApiKeys, endpointApiFor2 = endpointApiFor, periscopeEndpointDeps2 = periscopeEndpointDeps, periscopeMcpDeps2 = periscopeMcpDeps, endpointReconcileDeps2 = endpointReconcileDeps, sweepStateDir2 = sweepStateDir, releaseRefused2 = releaseRefused, doctorMachineId2 = doctorMachineId, baseHealth2 = baseHealth, sandboxCacheRepos2 = sandboxCacheRepos, buildSandboxCachePass2 = buildSandboxCachePass, sandboxTickDeps2 = sandboxTickDeps;
|
|
31882
31885
|
async function failDaemonStart(o) {
|
|
31883
31886
|
const failEmit = new Emitter({
|
|
31884
31887
|
route: "",
|
|
@@ -35362,7 +35365,7 @@ ${found.problems.map((p) => ` - ${p}`).join("\n")}`, "fix the problems above, t
|
|
|
35362
35365
|
const apiKeyVar = "CREW_API_KEY";
|
|
35363
35366
|
if (firstRunFromFlags && agentBinSearched && !dryRun && !isManagedShipKind(value("ship-kind"))) {
|
|
35364
35367
|
const msg = `no agent binary: "claude" was not found on PATH or in ${agentBinSearched.join(", ")} \u2014 pass --agent-bin /absolute/path`;
|
|
35365
|
-
emit.error(`crew connect: ${msg}
|
|
35368
|
+
emit.error(`crew connect: ${msg}`, failureScope());
|
|
35366
35369
|
stopWithProblem(msg, "wizard");
|
|
35367
35370
|
}
|
|
35368
35371
|
const storeLabel = () => {
|
|
@@ -38295,6 +38298,7 @@ ${foreign.map((f2) => ` ${f2.trim()}`).join("\n")}
|
|
|
38295
38298
|
lock?.release();
|
|
38296
38299
|
}
|
|
38297
38300
|
var routineLine2;
|
|
38301
|
+
var failureScope2;
|
|
38298
38302
|
var die2;
|
|
38299
38303
|
var requireArmed2;
|
|
38300
38304
|
var parseTicketNumber2;
|
package/package.json
CHANGED