@kitman-sh/cli 0.32.0 → 0.34.0
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/{chunk-nb6h112w.js → chunk-0m8ktgmz.js} +360 -187
- package/dist/{chunk-awx0zevr.js → chunk-2a40hhfz.js} +4 -4
- package/dist/{chunk-ah59jrtr.js → chunk-2gz59jcx.js} +1 -1
- package/dist/{chunk-z0gqrc8c.js → chunk-337drcr7.js} +35 -184
- package/dist/{chunk-r3mjxsmn.js → chunk-3jxdtkwd.js} +20 -20
- package/dist/{chunk-q8e58p57.js → chunk-6387vj9z.js} +2 -2
- package/dist/{chunk-4qrb09w4.js → chunk-6hxtg6eb.js} +3 -3
- package/dist/{chunk-rnm5ybw4.js → chunk-89ygm64f.js} +4 -4
- package/dist/{chunk-4tzzmrz2.js → chunk-8p5csa63.js} +64 -64
- package/dist/{chunk-5hp8ams4.js → chunk-9da9b7ys.js} +19 -19
- package/dist/{chunk-6e6t0f8y.js → chunk-a230abnk.js} +2 -2
- package/dist/{chunk-af8kftyw.js → chunk-d64j8v9n.js} +7 -7
- package/dist/{chunk-x4d4t28n.js → chunk-djzfaqaq.js} +352 -29
- package/dist/{chunk-61dmxexa.js → chunk-ew07nt2d.js} +60 -102
- package/dist/{chunk-c8eg05nh.js → chunk-fr0qseam.js} +4 -4
- package/dist/{chunk-56gs4z53.js → chunk-g5b61tek.js} +5 -5
- package/dist/{chunk-er0e8d8v.js → chunk-gy7nygep.js} +60 -14
- package/dist/{chunk-1hgsf81a.js → chunk-haq904fk.js} +1 -1
- package/dist/{chunk-qqb6djs7.js → chunk-hwjp28rh.js} +2 -2
- package/dist/{chunk-acmyagwp.js → chunk-phx3zffc.js} +8 -8
- package/dist/{chunk-rbpn35g5.js → chunk-qvpkwnky.js} +1 -1
- package/dist/{chunk-3cneth9k.js → chunk-r90j80q5.js} +9 -9
- package/dist/{chunk-abyssa8p.js → chunk-swc0ctf2.js} +3 -3
- package/dist/{chunk-a0bjjbhg.js → chunk-w8hf2etp.js} +81 -49
- package/dist/{chunk-1an3xh3b.js → chunk-wkbsbxp8.js} +6 -6
- package/dist/{chunk-znhjs0t6.js → chunk-y7bth30s.js} +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -35,15 +35,7 @@ import {
|
|
|
35
35
|
toCodecJson,
|
|
36
36
|
Json,
|
|
37
37
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
decodeText,
|
|
41
|
-
mkString,
|
|
42
|
-
FileSystem,
|
|
43
|
-
Path,
|
|
44
|
-
withDefault,
|
|
45
|
-
String2
|
|
46
|
-
} from "./chunk-z0gqrc8c.js";
|
|
38
|
+
} from "./chunk-ew07nt2d.js";
|
|
47
39
|
import {
|
|
48
40
|
SecureRandom,
|
|
49
41
|
layerWebCrypto,
|
|
@@ -60,26 +52,34 @@ import {
|
|
|
60
52
|
KitDeclarations,
|
|
61
53
|
kitmanMcpServer,
|
|
62
54
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-0m8ktgmz.js";
|
|
56
|
+
import {
|
|
57
|
+
decodeText,
|
|
58
|
+
mkString,
|
|
59
|
+
FileSystem,
|
|
60
|
+
Path,
|
|
61
|
+
withDefault,
|
|
62
|
+
String2
|
|
63
|
+
} from "./chunk-337drcr7.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-swc0ctf2.js";
|
|
68
68
|
import {
|
|
69
69
|
stepDefinedTwice,
|
|
70
70
|
hostSteps,
|
|
71
71
|
exports_activities,
|
|
72
72
|
describeFlag,
|
|
73
73
|
Described
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import"./chunk-
|
|
76
|
-
import"./chunk-
|
|
74
|
+
} from "./chunk-phx3zffc.js";
|
|
75
|
+
import"./chunk-r90j80q5.js";
|
|
76
|
+
import"./chunk-haq904fk.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
79
|
+
make3
|
|
80
|
+
} from "./chunk-gy7nygep.js";
|
|
81
|
+
import"./chunk-3jxdtkwd.js";
|
|
82
|
+
import"./chunk-qvpkwnky.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
|
@@ -3891,7 +3891,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
3891
3891
|
}));
|
|
3892
3892
|
var run = (command, args, cwd) => gen(function* () {
|
|
3893
3893
|
const spawner = yield* ChildProcessSpawner;
|
|
3894
|
-
const handle = yield* spawner.spawn(
|
|
3894
|
+
const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
|
|
3895
3895
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
3896
3896
|
mkString(decodeText(handle.stdout)),
|
|
3897
3897
|
mkString(decodeText(handle.stderr)),
|
|
@@ -1334,7 +1334,7 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
|
|
|
1334
1334
|
path: "runner-operations#herdr-core",
|
|
1335
1335
|
level: 3,
|
|
1336
1336
|
link: "https://kitman.sh/knowledge/docs/runner-operations#herdr-core",
|
|
1337
|
-
text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nWhen Kitman serves a release on your Workspace's release channel newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version."
|
|
1337
|
+
text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nAn agent on `host` reaches Docker through a socket of its Step's, set as its `DOCKER_HOST`, which labels each container, network and volume it creates with the Step. When the Step ends, your Runner removes them, each container with its anonymous volumes, and a Runner that starts again removes what its crashed Steps left. To keep one past its Step, create it with the `kitman.handed-on` label, such as `docker run --label kitman.handed-on=review \u2026`. When a disk that holds the Runner's checkouts, its temp directory or Docker's data has less free than 10 GiB, or a tenth of its size if that is less, your Runner shows the `disk_nearly_full` Runner Problem, before checks fail on it.\n\nWhen Kitman serves a release on your Workspace's release channel newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. While it drains, its panel shows \"Draining to update\", the release, the Runs it waits for and the time it switches at the latest. Each queued Run that only that Runner could take says so instead of its place in the queue. A personal Runner's owner, or a Workspace admin, can press \"Switch now\" on the panel: the Runner switches at once, and the work it still runs goes back to the queue for a Runner to take. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version."
|
|
1338
1338
|
},
|
|
1339
1339
|
{
|
|
1340
1340
|
title: "Runner Operations Guide \u203A Release channel",
|
|
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
|
|
|
2211
2211
|
return page === null ? link : page[1] || "index";
|
|
2212
2212
|
};
|
|
2213
2213
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2214
|
-
var pinnedLink2 = (link, version = "0.
|
|
2214
|
+
var pinnedLink2 = (link, version = "0.34.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2215
2215
|
var pageOf = (path) => path.split("#")[0];
|
|
2216
2216
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2217
2217
|
function excerpt(text, queryTerms) {
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ew07nt2d.js";
|
|
17
17
|
import {
|
|
18
18
|
FileSystem,
|
|
19
19
|
Path
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-337drcr7.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2a40hhfz.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-0m8ktgmz.js";
|
|
35
|
+
import"./chunk-swc0ctf2.js";
|
|
36
|
+
import"./chunk-gy7nygep.js";
|
|
37
|
+
import"./chunk-qvpkwnky.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|