@sleds/cli 0.1.58 → 0.1.59
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/sleds.mjs +10 -10
- package/package.json +1 -1
package/dist/sleds.mjs
CHANGED
|
@@ -11614,7 +11614,7 @@ function beatBody(state, flags, host = {}, cap = {}) {
|
|
|
11614
11614
|
name: flags.name,
|
|
11615
11615
|
os: host.os ?? process.platform,
|
|
11616
11616
|
runner: flags.runner,
|
|
11617
|
-
version: host.version ?? "0.1.
|
|
11617
|
+
version: host.version ?? "0.1.59" ?? "dev",
|
|
11618
11618
|
running: live.length,
|
|
11619
11619
|
items: live.slice(0, BEAT_ITEMS).map((r) => `${r.item}/${r.node}`),
|
|
11620
11620
|
...cap.atOnce !== undefined ? { atOnce: cap.atOnce } : {},
|
|
@@ -17910,7 +17910,7 @@ async function fetchVersion(o) {
|
|
|
17910
17910
|
const platform = o.platform ?? process.platform;
|
|
17911
17911
|
const arch = o.arch ?? process.arch;
|
|
17912
17912
|
const publicKey = o.publicKey ?? RELEASE_PUBLIC_KEY;
|
|
17913
|
-
const running = o.running ?? "0.1.
|
|
17913
|
+
const running = o.running ?? "0.1.59";
|
|
17914
17914
|
if (!publicKey)
|
|
17915
17915
|
return { ok: false, why: "no release key yet" };
|
|
17916
17916
|
if (!VERSION_RE2.test(o.version))
|
|
@@ -19495,7 +19495,7 @@ function engineClient(o, org, breaker) {
|
|
|
19495
19495
|
...src,
|
|
19496
19496
|
...breaker ? { fetchFn: breaker.fetch } : {},
|
|
19497
19497
|
timeoutMs: ENGINE_TIMEOUT_MS,
|
|
19498
|
-
version: "0.1.
|
|
19498
|
+
version: "0.1.59"
|
|
19499
19499
|
});
|
|
19500
19500
|
const asked = org?.trim() || env.SLEDS_ORG?.trim();
|
|
19501
19501
|
if (asked && !selectOrg(readConfig(o.home), org, env).seat)
|
|
@@ -19787,7 +19787,7 @@ async function driveEngine(o, flags, deps, until = {}) {
|
|
|
19787
19787
|
runner: deps.runner.name,
|
|
19788
19788
|
atOnce: flags.atOnce,
|
|
19789
19789
|
interval: flags.interval,
|
|
19790
|
-
cliVersion: "0.1.
|
|
19790
|
+
cliVersion: "0.1.59"
|
|
19791
19791
|
};
|
|
19792
19792
|
const beat = (checkedAt) => {
|
|
19793
19793
|
const m = deps.machine;
|
|
@@ -21654,7 +21654,7 @@ function engineClient2(o, org, breaker) {
|
|
|
21654
21654
|
...src,
|
|
21655
21655
|
...breaker ? { fetchFn: breaker.fetch } : {},
|
|
21656
21656
|
timeoutMs: ENGINE_TIMEOUT_MS2,
|
|
21657
|
-
version: "0.1.
|
|
21657
|
+
version: "0.1.59"
|
|
21658
21658
|
});
|
|
21659
21659
|
const asked = org?.trim() || env.SLEDS_ORG?.trim();
|
|
21660
21660
|
if (asked && !selectOrg(readConfig(o.home), org, env).seat)
|
|
@@ -21981,7 +21981,7 @@ async function driveEngine2(o, flags, deps, until = {}) {
|
|
|
21981
21981
|
runner: deps.runner.name,
|
|
21982
21982
|
atOnce: flags.atOnce,
|
|
21983
21983
|
interval: flags.interval,
|
|
21984
|
-
cliVersion: "0.1.
|
|
21984
|
+
cliVersion: "0.1.59"
|
|
21985
21985
|
};
|
|
21986
21986
|
const beat = (checkedAt) => {
|
|
21987
21987
|
const m = deps.machine;
|
|
@@ -24084,7 +24084,7 @@ function contextFor(deps) {
|
|
|
24084
24084
|
...src,
|
|
24085
24085
|
fetchFn: deps.fetchFn,
|
|
24086
24086
|
timeoutMs: deps.timeoutMs,
|
|
24087
|
-
version: "0.1.
|
|
24087
|
+
version: "0.1.59"
|
|
24088
24088
|
}), deps.home, now) : null;
|
|
24089
24089
|
return {
|
|
24090
24090
|
channel: "code",
|
|
@@ -28218,7 +28218,7 @@ var realPidAlive4 = (pid) => {
|
|
|
28218
28218
|
};
|
|
28219
28219
|
function machineClient(home, env) {
|
|
28220
28220
|
const src = meterSource(home, undefined, { env });
|
|
28221
|
-
return src ? fetchClient({ ...src, version: "0.1.
|
|
28221
|
+
return src ? fetchClient({ ...src, version: "0.1.59" }) : null;
|
|
28222
28222
|
}
|
|
28223
28223
|
async function noteAnswer2(home, a, now) {
|
|
28224
28224
|
try {
|
|
@@ -29081,7 +29081,7 @@ var main = async (argv) => {
|
|
|
29081
29081
|
now: Date.now(),
|
|
29082
29082
|
stderr: (line) => console.error(line),
|
|
29083
29083
|
isTTY: !!process.stderr.isTTY,
|
|
29084
|
-
version: "0.1.
|
|
29084
|
+
version: "0.1.59"
|
|
29085
29085
|
});
|
|
29086
29086
|
switch (cmd) {
|
|
29087
29087
|
case "update":
|
|
@@ -29314,7 +29314,7 @@ ${renderHelpText(argv[1])}`);
|
|
|
29314
29314
|
case "version":
|
|
29315
29315
|
case "--version":
|
|
29316
29316
|
case "-v":
|
|
29317
|
-
console.log("sleds 0.1.
|
|
29317
|
+
console.log("sleds 0.1.59");
|
|
29318
29318
|
return 0;
|
|
29319
29319
|
default:
|
|
29320
29320
|
console.error(`unknown command: ${cmd}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sleds/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"description": "SLEDS CLI — the cost and limits of AI agent work, decided at the wall. Point Claude Code at a SLEDS proxy; estimate before you run; hold, switch model, or run overnight when you hit a limit.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|