@kitman-sh/cli 0.10.99 → 0.10.100
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-rdv42ygn.js → chunk-0rf10v29.js} +4 -4
- package/dist/{chunk-0a10kdrd.js → chunk-1k3cvdbt.js} +4 -4
- package/dist/{chunk-et6qa95h.js → chunk-1kww1jdz.js} +1 -1
- package/dist/{chunk-0tsc91qr.js → chunk-1nw7sbtr.js} +4 -4
- package/dist/{chunk-abf4m4b2.js → chunk-4c78jfqk.js} +5 -5
- package/dist/{chunk-rrj434w6.js → chunk-5z0cwmet.js} +28 -28
- package/dist/{chunk-t7ncjd6s.js → chunk-6sanfepb.js} +6 -6
- package/dist/{chunk-4sswz0mn.js → chunk-9xj0djtp.js} +8 -8
- package/dist/{chunk-ampzxrqe.js → chunk-ayfdkptb.js} +61 -60
- package/dist/{chunk-3v70x040.js → chunk-cpx45jzk.js} +5 -5
- package/dist/{chunk-6vmpa1nw.js → chunk-cy7cy84h.js} +10 -10
- package/dist/{chunk-g3r5xp0t.js → chunk-gs6qdy2k.js} +2 -2
- package/dist/{chunk-56e202xk.js → chunk-hcpjfshb.js} +6 -6
- package/dist/{chunk-vjcn82g3.js → chunk-mjrr0wzp.js} +28 -177
- package/dist/{chunk-a244myqw.js → chunk-mk8vsaj7.js} +1 -1
- package/dist/{chunk-3ka78n56.js → chunk-mtz8f1hn.js} +7 -7
- package/dist/{chunk-3r7ahnwy.js → chunk-p3kwtm82.js} +2 -2
- package/dist/{chunk-fv6kgtze.js → chunk-qv9te9gr.js} +2 -2
- package/dist/{chunk-2fs34341.js → chunk-r3rap6hz.js} +30 -24
- package/dist/{chunk-0hjtwtms.js → chunk-tk85pw4z.js} +92 -21
- package/dist/{chunk-rp224rm4.js → chunk-tqw2rkc9.js} +3 -3
- package/dist/{chunk-z2f9enrp.js → chunk-vatjyw59.js} +17 -17
- package/dist/{chunk-k0shg2fb.js → chunk-wyh06par.js} +291 -135
- package/dist/{chunk-bk3dpjxq.js → chunk-wzkdjdb7.js} +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-qv9te9gr.js";
|
|
8
|
+
import"./chunk-1kww1jdz.js";
|
|
9
|
+
import"./chunk-wzkdjdb7.js";
|
|
10
|
+
import"./chunk-ayfdkptb.js";
|
|
11
11
|
export {
|
|
12
12
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
13
13
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-p3kwtm82.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-wyh06par.js";
|
|
16
|
+
import"./chunk-mjrr0wzp.js";
|
|
17
|
+
import"./chunk-ayfdkptb.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ayfdkptb.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-ayfdkptb.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-1kww1jdz.js";
|
|
82
82
|
import {
|
|
83
83
|
currentTimeMillis,
|
|
84
84
|
WebCrypto,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
KitDigest,
|
|
106
106
|
KitSetup,
|
|
107
107
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-wyh06par.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-mjrr0wzp.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-6sanfepb.js";
|
|
11
|
+
import"./chunk-p3kwtm82.js";
|
|
12
|
+
import"./chunk-wzkdjdb7.js";
|
|
13
|
+
import"./chunk-mjrr0wzp.js";
|
|
14
|
+
import"./chunk-ayfdkptb.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
17
17
|
decodedOption2 as decodedOption,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make15,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -87,19 +87,7 @@ import {
|
|
|
87
87
|
decodeJsonString,
|
|
88
88
|
encodeJsonStringSync,
|
|
89
89
|
encodePrettyJsonString
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import {
|
|
92
|
-
tap,
|
|
93
|
-
mapError,
|
|
94
|
-
decodeText,
|
|
95
|
-
run,
|
|
96
|
-
mkString,
|
|
97
|
-
FileSystem,
|
|
98
|
-
Path,
|
|
99
|
-
withDefault,
|
|
100
|
-
option,
|
|
101
|
-
String2
|
|
102
|
-
} from "./chunk-vjcn82g3.js";
|
|
90
|
+
} from "./chunk-ayfdkptb.js";
|
|
103
91
|
import {
|
|
104
92
|
currentTimeMillis,
|
|
105
93
|
SecureRandom,
|
|
@@ -207,10 +195,10 @@ import {
|
|
|
207
195
|
harnessNames,
|
|
208
196
|
herdrRunnerCapabilities2,
|
|
209
197
|
declaredChecks
|
|
210
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-wyh06par.js";
|
|
211
199
|
import {
|
|
212
200
|
Id
|
|
213
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-1kww1jdz.js";
|
|
214
202
|
import {
|
|
215
203
|
toJsonValue,
|
|
216
204
|
isOneOf,
|
|
@@ -220,11 +208,23 @@ import {
|
|
|
220
208
|
isObject,
|
|
221
209
|
isJsonObject,
|
|
222
210
|
isString
|
|
223
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-wzkdjdb7.js";
|
|
212
|
+
import {
|
|
213
|
+
tap,
|
|
214
|
+
mapError,
|
|
215
|
+
decodeText,
|
|
216
|
+
run,
|
|
217
|
+
mkString,
|
|
218
|
+
FileSystem,
|
|
219
|
+
Path,
|
|
220
|
+
withDefault,
|
|
221
|
+
option,
|
|
222
|
+
String2
|
|
223
|
+
} from "./chunk-mjrr0wzp.js";
|
|
224
224
|
import {
|
|
225
225
|
ChildProcessSpawner,
|
|
226
226
|
make3
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-p3kwtm82.js";
|
|
228
228
|
|
|
229
229
|
// apps/cli/src/cli-error.ts
|
|
230
230
|
function cliErrorCode(error, status) {
|
|
@@ -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-1k3cvdbt.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-1k3cvdbt.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-9xj0djtp.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.100";
|
|
1783
1783
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1784
1784
|
name,
|
|
1785
1785
|
private: true,
|
|
@@ -2032,7 +2032,7 @@ var Usage = [
|
|
|
2032
2032
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
2033
2033
|
].join(`
|
|
2034
2034
|
`);
|
|
2035
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2035
|
+
var agentRuntime = promise(() => import("./chunk-r3rap6hz.js"));
|
|
2036
2036
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2037
2037
|
defaultValue: () => gen(function* () {
|
|
2038
2038
|
const tui = yield* tryPromise({
|
|
@@ -2926,7 +2926,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2926
2926
|
});
|
|
2927
2927
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2928
2928
|
defaultValue: () => (options) => gen(function* () {
|
|
2929
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2929
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-mtz8f1hn.js"));
|
|
2930
2930
|
return yield* makeRunnerRpcClient({
|
|
2931
2931
|
runnerId: options.runnerId,
|
|
2932
2932
|
bearer: options.bearer,
|
|
@@ -3165,7 +3165,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
3165
3165
|
});
|
|
3166
3166
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
3167
3167
|
const platform = yield* context();
|
|
3168
|
-
const updated = yield*
|
|
3168
|
+
const updated = yield* make15();
|
|
3169
3169
|
const scope = yield* scope2;
|
|
3170
3170
|
yield* listenForSignals({
|
|
3171
3171
|
rpc,
|
|
@@ -3403,7 +3403,7 @@ function mcpCommand(args) {
|
|
|
3403
3403
|
if (command.action === "run") {
|
|
3404
3404
|
if (command.args.length > 0)
|
|
3405
3405
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3406
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3406
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-tk85pw4z.js"));
|
|
3407
3407
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3408
3408
|
}
|
|
3409
3409
|
if (command.action !== "setup")
|
|
@@ -4614,9 +4614,9 @@ function claimCommand(args) {
|
|
|
4614
4614
|
}
|
|
4615
4615
|
});
|
|
4616
4616
|
}
|
|
4617
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4617
|
+
var KitWriter = map8(promise(() => import("./chunk-cy7cy84h.js")), (build) => build.writeKit);
|
|
4618
4618
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4619
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4619
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-cy7cy84h.js")), (build) => build.buildKit(directory))
|
|
4620
4620
|
});
|
|
4621
4621
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4622
4622
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ayfdkptb.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-wzkdjdb7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make10,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-mjrr0wzp.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-p3kwtm82.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -170,7 +170,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
|
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
172
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
173
|
-
stdin:
|
|
173
|
+
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -12,30 +12,30 @@ import {
|
|
|
12
12
|
orElseSucceed,
|
|
13
13
|
decodeJsonString,
|
|
14
14
|
encodePrettyJsonString
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-ayfdkptb.js";
|
|
16
|
+
import"./chunk-1kww1jdz.js";
|
|
17
17
|
import {
|
|
18
18
|
isJsonObject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-wzkdjdb7.js";
|
|
20
20
|
import {
|
|
21
21
|
FileSystem,
|
|
22
22
|
Path
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-mjrr0wzp.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-cpx45jzk.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-
|
|
38
|
-
import"./chunk-
|
|
36
|
+
} from "./chunk-wyh06par.js";
|
|
37
|
+
import"./chunk-tqw2rkc9.js";
|
|
38
|
+
import"./chunk-p3kwtm82.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|