@tablation/crew 0.173.0 → 0.173.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 +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -30783,7 +30783,7 @@ import { dirname as dirOf2, resolve as resolvePath } from "path";
|
|
|
30783
30783
|
import { existsSync as existsSync58, readdirSync as readdirSync18, statSync as statSync18 } from "fs";
|
|
30784
30784
|
import { join as join62 } from "path";
|
|
30785
30785
|
function builtVersion() {
|
|
30786
|
-
return true ? "0.173.
|
|
30786
|
+
return true ? "0.173.2" : null;
|
|
30787
30787
|
}
|
|
30788
30788
|
var REBUILD_HINT = "rebuild with npm run build";
|
|
30789
30789
|
function newestMtime(path) {
|
|
@@ -32220,7 +32220,7 @@ async function route(deps, method, url, req, abort) {
|
|
|
32220
32220
|
});
|
|
32221
32221
|
}
|
|
32222
32222
|
if (p === "/status" && get2) {
|
|
32223
|
-
const out = await deps.status();
|
|
32223
|
+
const out = await deps.status(url.searchParams.get("tracker") === "0" ? { tracker: false } : void 0);
|
|
32224
32224
|
if (!out.ok) return failureReply("status", out, deps.log);
|
|
32225
32225
|
return reply2(200, {
|
|
32226
32226
|
...out.doc,
|
|
@@ -35873,7 +35873,7 @@ ${f2.tail.trimEnd()}
|
|
|
35873
35873
|
},
|
|
35874
35874
|
periscopeMcp: controlRoutes.some((r) => r.enabled && r.hostPeriscopes) ? (req, res, ticket) => handlePeriscopeMcp(periscopeMcpDeps(), req, res, ticket) : void 0,
|
|
35875
35875
|
route: primary.route,
|
|
35876
|
-
status: () => crewJson(["status", primary.route, "--json"]),
|
|
35876
|
+
status: (o) => crewJson(["status", primary.route, "--json", ...o?.tracker === false ? ["--no-tracker"] : []]),
|
|
35877
35877
|
doctor: () => crewJson(["doctor", primary.route, "--json", "--offline"]),
|
|
35878
35878
|
diagnostics: () => collectDiagnostics({
|
|
35879
35879
|
stateDir: cfg.ship.stateDir,
|
package/package.json
CHANGED