@kitman-sh/cli 0.11.5 → 0.11.6
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-73rctgzy.js → chunk-3nwq8a1k.js} +2 -2
- package/dist/{chunk-gpk5ce9g.js → chunk-4cfn0afm.js} +2 -2
- package/dist/{chunk-y78nw5ty.js → chunk-7ww1ztjr.js} +2 -2
- package/dist/{chunk-sjsh7819.js → chunk-951j2kzn.js} +10 -10
- package/dist/{chunk-rj7c1m4z.js → chunk-aqnsvq80.js} +6 -6
- package/dist/{chunk-jhm247mx.js → chunk-cwj7kdt3.js} +1 -1
- package/dist/{chunk-0j0bncss.js → chunk-pft5558d.js} +1 -2
- package/dist/{chunk-t2sv5jhr.js → chunk-qy9e5gms.js} +3 -3
- package/dist/{chunk-60vg33dt.js → chunk-sn8yf0zj.js} +3 -3
- package/dist/{chunk-zbdnd7z7.js → chunk-vxftwsbn.js} +3 -0
- package/dist/{chunk-k004grgr.js → chunk-wf6hts0g.js} +1 -1
- package/dist/{chunk-6cfskczm.js → chunk-xvbct1tt.js} +13 -13
- package/dist/{chunk-xadtvj2q.js → chunk-yz9mt7sj.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-vxftwsbn.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-wf6hts0g.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
runMcpEffect,
|
|
160
160
|
createAgentAuthSignedFetch,
|
|
161
161
|
setupMcpAgentCredential
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-vxftwsbn.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-wf6hts0g.js";
|
|
206
206
|
|
|
207
207
|
// apps/cli/src/mcp.ts
|
|
208
208
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-vxftwsbn.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-yz9mt7sj.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
harnessNames,
|
|
219
219
|
herdrRunnerCapabilities2,
|
|
220
220
|
declaredChecks
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-vxftwsbn.js";
|
|
222
222
|
import {
|
|
223
223
|
Id
|
|
224
224
|
} from "./chunk-0qz10ek8.js";
|
|
@@ -530,10 +530,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
530
530
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
531
531
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
532
532
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
533
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
533
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
534
534
|
});
|
|
535
535
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
536
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
536
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), (module) => module.updateHerdrCore(options))
|
|
537
537
|
});
|
|
538
538
|
var herdrCoreMissing = (error) => {
|
|
539
539
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -953,7 +953,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
953
953
|
});
|
|
954
954
|
var syncKits = (input) => gen(function* () {
|
|
955
955
|
const fs = yield* FileSystem;
|
|
956
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
956
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-sn8yf0zj.js"));
|
|
957
957
|
const harnesses = yield* syncTargets(input.harness);
|
|
958
958
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
959
959
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1871,7 +1871,7 @@ var package_default = {
|
|
|
1871
1871
|
};
|
|
1872
1872
|
|
|
1873
1873
|
// apps/cli/src/scaffold.ts
|
|
1874
|
-
var cliVersion = "0.11.
|
|
1874
|
+
var cliVersion = "0.11.6";
|
|
1875
1875
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1876
1876
|
name,
|
|
1877
1877
|
private: true,
|
|
@@ -2137,7 +2137,7 @@ var Usage = [
|
|
|
2137
2137
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
2138
2138
|
].join(`
|
|
2139
2139
|
`);
|
|
2140
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2140
|
+
var agentRuntime = promise(() => import("./chunk-aqnsvq80.js"));
|
|
2141
2141
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2142
2142
|
defaultValue: () => gen(function* () {
|
|
2143
2143
|
const tui = yield* tryPromise({
|
|
@@ -3134,7 +3134,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3134
3134
|
});
|
|
3135
3135
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3136
3136
|
defaultValue: () => (options) => gen(function* () {
|
|
3137
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3137
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-qy9e5gms.js"));
|
|
3138
3138
|
return yield* makeRunnerRpcClient({
|
|
3139
3139
|
runnerId: options.runnerId,
|
|
3140
3140
|
bearer: options.bearer,
|
|
@@ -3658,7 +3658,7 @@ function mcpCommand(args) {
|
|
|
3658
3658
|
if (command.action === "run") {
|
|
3659
3659
|
if (command.args.length > 0)
|
|
3660
3660
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3661
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3661
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-4cfn0afm.js"));
|
|
3662
3662
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3663
3663
|
}
|
|
3664
3664
|
if (command.action !== "setup")
|
|
@@ -4928,9 +4928,9 @@ function changeRequestCommand(args) {
|
|
|
4928
4928
|
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}`);
|
|
4929
4929
|
});
|
|
4930
4930
|
}
|
|
4931
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4931
|
+
var KitWriter = map8(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.writeKit);
|
|
4932
4932
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4933
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4933
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.buildKit(directory))
|
|
4934
4934
|
});
|
|
4935
4935
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4936
4936
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -246,7 +246,7 @@ import {
|
|
|
246
246
|
installCommand,
|
|
247
247
|
checkServicesFile,
|
|
248
248
|
checkServices
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-vxftwsbn.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-7ww1ztjr.js";
|
|
306
|
+
import"./chunk-yz9mt7sj.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-pft5558d.js";
|
|
332
|
+
import"./chunk-3nwq8a1k.js";
|
|
333
333
|
import {
|
|
334
334
|
nextInt
|
|
335
335
|
} from "./chunk-nzjb36ad.js";
|
|
@@ -337,7 +337,7 @@ import {
|
|
|
337
337
|
ChildProcessSpawner,
|
|
338
338
|
make3
|
|
339
339
|
} from "./chunk-sk6ceghr.js";
|
|
340
|
-
import"./chunk-
|
|
340
|
+
import"./chunk-wf6hts0g.js";
|
|
341
341
|
|
|
342
342
|
// packages/core/src/sync-kit.ts
|
|
343
343
|
import { createHash } from "crypto";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
KitDigest,
|
|
106
106
|
KitSetup,
|
|
107
107
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-vxftwsbn.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
@@ -519,7 +519,6 @@ class StepFailed extends TaggedError2()("StepFailed", {
|
|
|
519
519
|
return `Step "${this.step}" failed: ${this.reason}`;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
|
|
523
522
|
class OutputInvalid extends TaggedError2()("OutputInvalid", {
|
|
524
523
|
step: String4,
|
|
525
524
|
message: String4
|
|
@@ -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-3nwq8a1k.js";
|
|
8
|
+
import"./chunk-wf6hts0g.js";
|
|
9
|
+
import"./chunk-vxftwsbn.js";
|
|
10
10
|
import"./chunk-0qz10ek8.js";
|
|
11
11
|
import"./chunk-c6rbt85q.js";
|
|
12
12
|
import"./chunk-3d4d52e5.js";
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7ww1ztjr.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-vxftwsbn.js";
|
|
37
|
+
import"./chunk-yz9mt7sj.js";
|
|
38
38
|
import"./chunk-sk6ceghr.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
@@ -14423,6 +14423,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14423
14423
|
payload: {
|
|
14424
14424
|
lease: ProgramLease,
|
|
14425
14425
|
step: String4,
|
|
14426
|
+
waitsWhenUnconfirmed: optionalKey(Boolean2),
|
|
14426
14427
|
effect: Union([
|
|
14427
14428
|
Struct({
|
|
14428
14429
|
kind: Literal("post_comment"),
|
|
@@ -14669,6 +14670,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14669
14670
|
payload: {
|
|
14670
14671
|
lease: ProgramLease,
|
|
14671
14672
|
step: String4,
|
|
14673
|
+
waitsWhenUnconfirmed: optionalKey(Boolean2),
|
|
14672
14674
|
changeRequestId: String4,
|
|
14673
14675
|
head: optionalKey(String4),
|
|
14674
14676
|
rebase: optionalKey(Boolean2)
|
|
@@ -14721,6 +14723,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14721
14723
|
payload: {
|
|
14722
14724
|
lease: ProgramLease,
|
|
14723
14725
|
step: String4,
|
|
14726
|
+
waitsWhenUnconfirmed: optionalKey(Boolean2),
|
|
14724
14727
|
tag: String4,
|
|
14725
14728
|
revision: optionalKey(String4),
|
|
14726
14729
|
title: String4,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-vxftwsbn.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")) {
|
|
@@ -35,14 +35,6 @@ import {
|
|
|
35
35
|
} from "./chunk-vtfwjhzh.js";
|
|
36
36
|
import"./chunk-0qz10ek8.js";
|
|
37
37
|
import"./chunk-c6rbt85q.js";
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-3d4d52e5.js";
|
|
46
38
|
import {
|
|
47
39
|
SecureRandom,
|
|
48
40
|
layerWebCrypto,
|
|
@@ -54,23 +46,31 @@ import {
|
|
|
54
46
|
layer4,
|
|
55
47
|
kitmanMcpServer,
|
|
56
48
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-vxftwsbn.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-3d4d52e5.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-yz9mt7sj.js";
|
|
62
|
+
import"./chunk-3nwq8a1k.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-pft5558d.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
72
|
} from "./chunk-sk6ceghr.js";
|
|
73
|
-
import"./chunk-
|
|
73
|
+
import"./chunk-wf6hts0g.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-d9bv70qb.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-951j2kzn.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|