@kitman-sh/cli 0.10.101 → 0.10.102
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-x75d47ez.js → chunk-1824vyqt.js} +6 -6
- package/dist/{chunk-q492wb19.js → chunk-28kmza26.js} +3 -3
- package/dist/{chunk-ne0vptcd.js → chunk-4e3070mq.js} +2 -2
- package/dist/{chunk-4kxjvd6d.js → chunk-7hdxkt3m.js} +6 -2
- package/dist/{chunk-afy705a7.js → chunk-7hyjcw2c.js} +2 -2
- package/dist/{chunk-qhyzesdb.js → chunk-9927sg3a.js} +1 -1
- package/dist/{chunk-xyfs9f2k.js → chunk-dpwfg8pd.js} +13 -13
- package/dist/{chunk-hzf25za9.js → chunk-drycn4dz.js} +3 -3
- package/dist/{chunk-e70qpgft.js → chunk-gfzd3shg.js} +2 -2
- package/dist/{chunk-756n3pq8.js → chunk-hrj6w0wd.js} +7 -3
- package/dist/{chunk-psz28edd.js → chunk-pjpq1d7r.js} +1 -1
- package/dist/{chunk-b1cn9zfa.js → chunk-v8201s35.js} +10 -10
- package/dist/{chunk-r16msggg.js → chunk-xzbn3377.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -246,7 +246,7 @@ import {
|
|
|
246
246
|
installCommand,
|
|
247
247
|
checkServicesFile,
|
|
248
248
|
checkServices
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-7hdxkt3m.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-7hyjcw2c.js";
|
|
306
|
+
import"./chunk-9927sg3a.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-hrj6w0wd.js";
|
|
332
|
+
import"./chunk-4e3070mq.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-xzbn3377.js";
|
|
341
341
|
|
|
342
342
|
// packages/core/src/sync-kit.ts
|
|
343
343
|
import { createHash } from "crypto";
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7hyjcw2c.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-7hdxkt3m.js";
|
|
37
|
+
import"./chunk-9927sg3a.js";
|
|
38
38
|
import"./chunk-5esfnamp.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7hdxkt3m.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-xzbn3377.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -14469,11 +14469,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14469
14469
|
lease: ProgramLease,
|
|
14470
14470
|
step: String4,
|
|
14471
14471
|
changeRequestId: String4,
|
|
14472
|
-
head: optionalKey(String4)
|
|
14472
|
+
head: optionalKey(String4),
|
|
14473
|
+
rebase: optionalKey(Boolean2)
|
|
14473
14474
|
},
|
|
14474
14475
|
success: Union([
|
|
14475
14476
|
Struct({ status: Literal("merged"), revision: String4 }),
|
|
14476
|
-
Struct({
|
|
14477
|
+
Struct({
|
|
14478
|
+
status: Literal("conflict"),
|
|
14479
|
+
reason: optionalKey(Literals(["conflicts", "behind", "not_ready"]))
|
|
14480
|
+
}),
|
|
14477
14481
|
Struct({ status: Literal("moved"), head: String4 })
|
|
14478
14482
|
]),
|
|
14479
14483
|
error: RunnerRpcError
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7hdxkt3m.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-9927sg3a.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -35,6 +35,14 @@ import {
|
|
|
35
35
|
} from "./chunk-che5w0y4.js";
|
|
36
36
|
import"./chunk-30mfra3r.js";
|
|
37
37
|
import"./chunk-hxqxdy21.js";
|
|
38
|
+
import {
|
|
39
|
+
decodeText,
|
|
40
|
+
mkString,
|
|
41
|
+
FileSystem,
|
|
42
|
+
Path,
|
|
43
|
+
withDefault,
|
|
44
|
+
String2
|
|
45
|
+
} from "./chunk-9nrr1dwr.js";
|
|
38
46
|
import {
|
|
39
47
|
SecureRandom,
|
|
40
48
|
layerWebCrypto,
|
|
@@ -46,31 +54,23 @@ import {
|
|
|
46
54
|
layer4,
|
|
47
55
|
kitmanMcpServer,
|
|
48
56
|
RunnerRpcProtocolVersion
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
decodeText,
|
|
52
|
-
mkString,
|
|
53
|
-
FileSystem,
|
|
54
|
-
Path,
|
|
55
|
-
withDefault,
|
|
56
|
-
String2
|
|
57
|
-
} from "./chunk-9nrr1dwr.js";
|
|
57
|
+
} from "./chunk-7hdxkt3m.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-9927sg3a.js";
|
|
62
|
+
import"./chunk-4e3070mq.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-hrj6w0wd.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
72
|
} from "./chunk-5esfnamp.js";
|
|
73
|
-
import"./chunk-
|
|
73
|
+
import"./chunk-xzbn3377.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-4e3070mq.js";
|
|
8
|
+
import"./chunk-xzbn3377.js";
|
|
9
|
+
import"./chunk-7hdxkt3m.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-7hdxkt3m.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-xzbn3377.js";
|
|
206
206
|
|
|
207
207
|
// apps/cli/src/mcp.ts
|
|
208
208
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
KitDigest,
|
|
106
106
|
KitSetup,
|
|
107
107
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-7hdxkt3m.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
@@ -687,11 +687,15 @@ var IntegrationBranch = Struct({
|
|
|
687
687
|
});
|
|
688
688
|
var MergeChangeRequestRequest = Struct({
|
|
689
689
|
changeRequestId: String4,
|
|
690
|
-
head: optionalKey(String4)
|
|
690
|
+
head: optionalKey(String4),
|
|
691
|
+
rebase: optionalKey(Boolean2)
|
|
691
692
|
});
|
|
692
693
|
var MergeResult = Union([
|
|
693
694
|
Struct({ status: Literal("merged"), revision: String4 }),
|
|
694
|
-
Struct({
|
|
695
|
+
Struct({
|
|
696
|
+
status: Literal("conflict"),
|
|
697
|
+
reason: optionalKey(Literals(["conflicts", "behind", "not_ready"]))
|
|
698
|
+
}),
|
|
695
699
|
Struct({ status: Literal("moved"), head: String4 })
|
|
696
700
|
]);
|
|
697
701
|
var ApproveChangeRequestRequest = Struct({
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
harnessNames,
|
|
208
208
|
herdrRunnerCapabilities2,
|
|
209
209
|
declaredChecks
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-7hdxkt3m.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-pjpq1d7r.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-pjpq1d7r.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-28kmza26.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.102";
|
|
1783
1783
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1784
1784
|
name,
|
|
1785
1785
|
private: true,
|
|
@@ -2034,7 +2034,7 @@ var Usage = [
|
|
|
2034
2034
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
2035
2035
|
].join(`
|
|
2036
2036
|
`);
|
|
2037
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2037
|
+
var agentRuntime = promise(() => import("./chunk-1824vyqt.js"));
|
|
2038
2038
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2039
2039
|
defaultValue: () => gen(function* () {
|
|
2040
2040
|
const tui = yield* tryPromise({
|
|
@@ -2930,7 +2930,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2930
2930
|
});
|
|
2931
2931
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2932
2932
|
defaultValue: () => (options) => gen(function* () {
|
|
2933
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2933
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-drycn4dz.js"));
|
|
2934
2934
|
return yield* makeRunnerRpcClient({
|
|
2935
2935
|
runnerId: options.runnerId,
|
|
2936
2936
|
bearer: options.bearer,
|
|
@@ -3407,7 +3407,7 @@ function mcpCommand(args) {
|
|
|
3407
3407
|
if (command.action === "run") {
|
|
3408
3408
|
if (command.args.length > 0)
|
|
3409
3409
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3410
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3410
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-gfzd3shg.js"));
|
|
3411
3411
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3412
3412
|
}
|
|
3413
3413
|
if (command.action !== "setup")
|
|
@@ -4661,9 +4661,9 @@ function changeRequestCommand(args) {
|
|
|
4661
4661
|
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}`);
|
|
4662
4662
|
});
|
|
4663
4663
|
}
|
|
4664
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4664
|
+
var KitWriter = map8(promise(() => import("./chunk-dpwfg8pd.js")), (build) => build.writeKit);
|
|
4665
4665
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4666
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4666
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-dpwfg8pd.js")), (build) => build.buildKit(directory))
|
|
4667
4667
|
});
|
|
4668
4668
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4669
4669
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-7hdxkt3m.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-v8201s35.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|