@kitman-sh/cli 0.10.103 → 0.10.104
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-0xjrc51m.js → chunk-1byp081v.js} +3 -3
- package/dist/{chunk-044h6f3n.js → chunk-90y97b8c.js} +6 -6
- package/dist/{chunk-m5mn7dk6.js → chunk-et36zt3j.js} +5 -5
- package/dist/{chunk-2cznmt28.js → chunk-fcrc5e9b.js} +3 -3
- package/dist/{chunk-fe65rbvv.js → chunk-gn2phqk2.js} +2 -2
- package/dist/{chunk-01fzz2j3.js → chunk-h0vga20s.js} +1 -1
- package/dist/{chunk-3p2rz1a0.js → chunk-k2mg7dhf.js} +17 -11
- package/dist/{chunk-1hw35x4x.js → chunk-ksmcqpr5.js} +2 -2
- package/dist/{chunk-7z9m11z3.js → chunk-pcc2hcmx.js} +0 -1
- package/dist/{chunk-t80dhv1r.js → chunk-r4rz67d3.js} +1 -1
- package/dist/{chunk-pme28eew.js → chunk-sgsy68k7.js} +2 -2
- package/dist/{chunk-cazap5by.js → chunk-yhhr9a4r.js} +1 -1
- package/dist/{chunk-kadsqvtm.js → chunk-z4vzxhrf.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ksmcqpr5.js";
|
|
30
30
|
import {
|
|
31
31
|
instructionsStart,
|
|
32
32
|
instructionsEnd,
|
|
33
33
|
renderMcpServer,
|
|
34
34
|
materializeKitSetup,
|
|
35
35
|
tomlInline
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import"./chunk-
|
|
36
|
+
} from "./chunk-pcc2hcmx.js";
|
|
37
|
+
import"./chunk-r4rz67d3.js";
|
|
38
38
|
import"./chunk-5esfnamp.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
@@ -246,7 +246,7 @@ import {
|
|
|
246
246
|
installCommand,
|
|
247
247
|
checkServicesFile,
|
|
248
248
|
checkServices
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-pcc2hcmx.js";
|
|
250
250
|
import {
|
|
251
251
|
join,
|
|
252
252
|
interrupt,
|
|
@@ -302,8 +302,8 @@ import {
|
|
|
302
302
|
applyAgentEnvironmentMaterialization2,
|
|
303
303
|
isPathWithin2,
|
|
304
304
|
skillIdentity2
|
|
305
|
-
} from "./chunk-
|
|
306
|
-
import"./chunk-
|
|
305
|
+
} from "./chunk-ksmcqpr5.js";
|
|
306
|
+
import"./chunk-r4rz67d3.js";
|
|
307
307
|
import {
|
|
308
308
|
egressAllowed,
|
|
309
309
|
writeSecretRegistry,
|
|
@@ -328,8 +328,8 @@ import {
|
|
|
328
328
|
rpcRunFiles,
|
|
329
329
|
programHostsEnv,
|
|
330
330
|
undeclaredHostsEnv
|
|
331
|
-
} from "./chunk-
|
|
332
|
-
import"./chunk-
|
|
331
|
+
} from "./chunk-z4vzxhrf.js";
|
|
332
|
+
import"./chunk-sgsy68k7.js";
|
|
333
333
|
import {
|
|
334
334
|
nextInt
|
|
335
335
|
} from "./chunk-xckn5gax.js";
|
|
@@ -337,7 +337,7 @@ import {
|
|
|
337
337
|
ChildProcessSpawner,
|
|
338
338
|
make3
|
|
339
339
|
} from "./chunk-5esfnamp.js";
|
|
340
|
-
import"./chunk-
|
|
340
|
+
import"./chunk-yhhr9a4r.js";
|
|
341
341
|
|
|
342
342
|
// packages/core/src/sync-kit.ts
|
|
343
343
|
import { createHash } from "crypto";
|
|
@@ -54,23 +54,23 @@ import {
|
|
|
54
54
|
layer4,
|
|
55
55
|
kitmanMcpServer,
|
|
56
56
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-pcc2hcmx.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-r4rz67d3.js";
|
|
62
|
+
import"./chunk-sgsy68k7.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-z4vzxhrf.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
72
|
} from "./chunk-5esfnamp.js";
|
|
73
|
-
import"./chunk-
|
|
73
|
+
import"./chunk-yhhr9a4r.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-sgsy68k7.js";
|
|
8
|
+
import"./chunk-yhhr9a4r.js";
|
|
9
|
+
import"./chunk-pcc2hcmx.js";
|
|
10
10
|
import"./chunk-30mfra3r.js";
|
|
11
11
|
import"./chunk-hxqxdy21.js";
|
|
12
12
|
import"./chunk-9nrr1dwr.js";
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
runMcpEffect,
|
|
160
160
|
createAgentAuthSignedFetch,
|
|
161
161
|
setupMcpAgentCredential
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-pcc2hcmx.js";
|
|
163
163
|
import {
|
|
164
164
|
guard,
|
|
165
165
|
Id,
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
withHeaders,
|
|
203
203
|
layerProtocolSocket,
|
|
204
204
|
ConnectionHooks
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-yhhr9a4r.js";
|
|
206
206
|
|
|
207
207
|
// apps/cli/src/mcp.ts
|
|
208
208
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
harnessNames,
|
|
208
208
|
herdrRunnerCapabilities2,
|
|
209
209
|
declaredChecks
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-pcc2hcmx.js";
|
|
211
211
|
import {
|
|
212
212
|
Id
|
|
213
213
|
} from "./chunk-30mfra3r.js";
|
|
@@ -507,10 +507,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
507
507
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
508
508
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
509
509
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-h0vga20s.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
511
511
|
});
|
|
512
512
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
513
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
513
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-h0vga20s.js")), (module) => module.updateHerdrCore(options))
|
|
514
514
|
});
|
|
515
515
|
var herdrCoreMissing = (error) => {
|
|
516
516
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -861,7 +861,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
861
861
|
});
|
|
862
862
|
var syncKits = (input) => gen(function* () {
|
|
863
863
|
const fs = yield* FileSystem;
|
|
864
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
864
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-1byp081v.js"));
|
|
865
865
|
const harnesses = yield* syncTargets(input.harness);
|
|
866
866
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
867
867
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1779,7 +1779,7 @@ var package_default = {
|
|
|
1779
1779
|
};
|
|
1780
1780
|
|
|
1781
1781
|
// apps/cli/src/scaffold.ts
|
|
1782
|
-
var cliVersion = "0.10.
|
|
1782
|
+
var cliVersion = "0.10.104";
|
|
1783
1783
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1784
1784
|
name,
|
|
1785
1785
|
private: true,
|
|
@@ -2039,7 +2039,7 @@ var Usage = [
|
|
|
2039
2039
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
2040
2040
|
].join(`
|
|
2041
2041
|
`);
|
|
2042
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2042
|
+
var agentRuntime = promise(() => import("./chunk-90y97b8c.js"));
|
|
2043
2043
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2044
2044
|
defaultValue: () => gen(function* () {
|
|
2045
2045
|
const tui = yield* tryPromise({
|
|
@@ -2982,12 +2982,15 @@ function runnerCommand(args) {
|
|
|
2982
2982
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
2983
2983
|
});
|
|
2984
2984
|
}
|
|
2985
|
+
var RunningKitmanVersion = Reference("kitman/cli/RunningKitmanVersion", {
|
|
2986
|
+
defaultValue: () => kitmanVersion
|
|
2987
|
+
});
|
|
2985
2988
|
var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
2986
2989
|
defaultValue: () => flatMap3(agentRuntime, (runtime) => runtime.commandHostProbe)
|
|
2987
2990
|
});
|
|
2988
2991
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2989
2992
|
defaultValue: () => (options) => gen(function* () {
|
|
2990
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2993
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-fcrc5e9b.js"));
|
|
2991
2994
|
return yield* makeRunnerRpcClient({
|
|
2992
2995
|
runnerId: options.runnerId,
|
|
2993
2996
|
bearer: options.bearer,
|
|
@@ -3068,7 +3071,8 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
3068
3071
|
const { fullAccess, sshAgentAvailable } = hostSettings;
|
|
3069
3072
|
const fs = yield* FileSystem;
|
|
3070
3073
|
const container = input.credential !== undefined || (yield* fs.exists("/.dockerenv").pipe(orElseSucceed(() => false))) || (yield* fs.exists("/run/.containerenv").pipe(orElseSucceed(() => false)));
|
|
3071
|
-
const
|
|
3074
|
+
const version = yield* RunningKitmanVersion;
|
|
3075
|
+
const reported = { ...version === undefined ? undefined : { version }, container };
|
|
3072
3076
|
const credential = input.credential ?? (yield* startupStep("load the Runner credential", "10 seconds", storedHerdrRunnerCredential(input.apiUrl, input.runnerId)));
|
|
3073
3077
|
if (credential === undefined)
|
|
3074
3078
|
return yield* new RunnerStopped({ problem: credentialMissing(input.runnerId) });
|
|
@@ -3464,7 +3468,7 @@ function mcpCommand(args) {
|
|
|
3464
3468
|
if (command.action === "run") {
|
|
3465
3469
|
if (command.args.length > 0)
|
|
3466
3470
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3467
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3471
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-gn2phqk2.js"));
|
|
3468
3472
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3469
3473
|
}
|
|
3470
3474
|
if (command.action !== "setup")
|
|
@@ -4718,9 +4722,9 @@ function changeRequestCommand(args) {
|
|
|
4718
4722
|
yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
|
|
4719
4723
|
});
|
|
4720
4724
|
}
|
|
4721
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4725
|
+
var KitWriter = map8(promise(() => import("./chunk-et36zt3j.js")), (build) => build.writeKit);
|
|
4722
4726
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4723
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4727
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-et36zt3j.js")), (build) => build.buildKit(directory))
|
|
4724
4728
|
});
|
|
4725
4729
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4726
4730
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5364,6 +5368,8 @@ function runnerRow(runner) {
|
|
|
5364
5368
|
effectiveTeamAccess,
|
|
5365
5369
|
managementBoundary: "workspace_operator_only",
|
|
5366
5370
|
schedulingBoundary: "scope_and_identity_gated",
|
|
5371
|
+
version: runner.version,
|
|
5372
|
+
latestVersion: runner.latestVersion,
|
|
5367
5373
|
lastHeartbeatAt: runner.lastHeartbeatAt
|
|
5368
5374
|
};
|
|
5369
5375
|
}
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-pcc2hcmx.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-r4rz67d3.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-pcc2hcmx.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-yhhr9a4r.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-pcc2hcmx.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-s27r6x3a.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-k2mg7dhf.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|