@kitman-sh/cli 0.46.0 → 0.48.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-apv9h5tz.js → chunk-04wqa07j.js} +1 -1
- package/dist/{chunk-qy0enebe.js → chunk-0hb5d4rz.js} +9 -9
- package/dist/{chunk-c6pnj2aj.js → chunk-0n9f624b.js} +4 -4
- package/dist/{chunk-5tgpa02q.js → chunk-4vxbxjf8.js} +1 -1
- package/dist/{chunk-qfwhsqej.js → chunk-5pjbxhxy.js} +3 -3
- package/dist/{chunk-7wq13jgx.js → chunk-6ne389p2.js} +10 -10
- package/dist/{chunk-w0tzm3fg.js → chunk-8qvgey5g.js} +6 -6
- package/dist/{chunk-nyagtr2t.js → chunk-9pstsw4x.js} +1 -1
- package/dist/{chunk-k1fdsn2c.js → chunk-9ykh05hz.js} +1 -1
- package/dist/{chunk-tsw66qp3.js → chunk-av8j2qm8.js} +1 -1
- package/dist/{chunk-16wyj1eq.js → chunk-bfnkjb4r.js} +19 -19
- package/dist/{chunk-t2x4p5sp.js → chunk-c3m48dge.js} +4 -4
- package/dist/{chunk-x38fytew.js → chunk-cps0774f.js} +10 -10
- package/dist/{chunk-bc40mcq9.js → chunk-cv7xg2ps.js} +67 -67
- package/dist/{chunk-j0b47jdz.js → chunk-dh7ewhqd.js} +3 -3
- package/dist/{chunk-m5wqyzhk.js → chunk-e2dszepq.js} +3 -3
- package/dist/{chunk-n381rqax.js → chunk-k462v2v7.js} +13 -157
- package/dist/{chunk-mxy4wzhs.js → chunk-kaqwjb64.js} +4 -4
- package/dist/{chunk-n00cpb86.js → chunk-n3jpxd14.js} +2 -2
- package/dist/{chunk-e1v0c57f.js → chunk-nsw1wykj.js} +10 -10
- package/dist/{chunk-8qbem52x.js → chunk-p17mja8m.js} +8 -8
- package/dist/{chunk-pty4b78m.js → chunk-qvvph24z.js} +6 -6
- package/dist/{chunk-9hqskzqc.js → chunk-vtzn8zqj.js} +2 -2
- package/dist/{chunk-0511zsxk.js → chunk-wr2yqtwt.js} +20 -20
- package/dist/{chunk-2xeq2a7j.js → chunk-xajmb07d.js} +164 -21
- package/dist/{chunk-6evexbdx.js → chunk-zr1kvjzj.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path,
|
|
5
|
+
optionalEnv,
|
|
6
|
+
tempDirectoryScoped
|
|
7
|
+
} from "./chunk-xajmb07d.js";
|
|
2
8
|
import {
|
|
3
9
|
Reference,
|
|
4
10
|
TaggedError,
|
|
@@ -25,21 +31,15 @@ import {
|
|
|
25
31
|
isString2,
|
|
26
32
|
encodePrettyJsonString,
|
|
27
33
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
FileSystem,
|
|
31
|
-
Path,
|
|
32
|
-
optionalEnv,
|
|
33
|
-
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-2xeq2a7j.js";
|
|
34
|
+
} from "./chunk-k462v2v7.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-qvvph24z.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-e2dszepq.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-k462v2v7.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xajmb07d.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-qvvph24z.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-dh7ewhqd.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-n3jpxd14.js";
|
|
8
|
+
import"./chunk-4vxbxjf8.js";
|
|
9
|
+
import"./chunk-k462v2v7.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
currentTimeMillis,
|
|
4
|
+
make10,
|
|
5
|
+
runForEach,
|
|
6
|
+
toPull,
|
|
7
|
+
FileSystem,
|
|
8
|
+
compiled2
|
|
9
|
+
} from "./chunk-xajmb07d.js";
|
|
2
10
|
import {
|
|
3
11
|
isSome,
|
|
4
12
|
getOrElse,
|
|
@@ -35,19 +43,11 @@ import {
|
|
|
35
43
|
isJsonObject,
|
|
36
44
|
isString2,
|
|
37
45
|
encodeUnknownJsonStringSync
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
currentTimeMillis,
|
|
41
|
-
make10,
|
|
42
|
-
runForEach,
|
|
43
|
-
toPull,
|
|
44
|
-
FileSystem,
|
|
45
|
-
compiled2
|
|
46
|
-
} from "./chunk-2xeq2a7j.js";
|
|
46
|
+
} from "./chunk-k462v2v7.js";
|
|
47
47
|
import {
|
|
48
48
|
ChildProcessSpawner,
|
|
49
49
|
make2
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-zr1kvjzj.js";
|
|
51
51
|
|
|
52
52
|
// packages/agent-runtime/src/opencode-store.ts
|
|
53
53
|
import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-0n9f624b.js";
|
|
8
|
+
import"./chunk-dh7ewhqd.js";
|
|
9
|
+
import"./chunk-qvvph24z.js";
|
|
10
|
+
import"./chunk-4vxbxjf8.js";
|
|
11
|
+
import"./chunk-xajmb07d.js";
|
|
12
|
+
import"./chunk-k462v2v7.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -2230,7 +2230,7 @@ var pathOfLink = (link) => {
|
|
|
2230
2230
|
return page === null ? link : page[1] || "index";
|
|
2231
2231
|
};
|
|
2232
2232
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2233
|
-
var pinnedLink2 = (link, version = "0.
|
|
2233
|
+
var pinnedLink2 = (link, version = "0.48.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2234
2234
|
var pageOf = (path) => path.split("#")[0];
|
|
2235
2235
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2236
2236
|
function excerpt(text, queryTerms) {
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
decodeJsonStringOption,
|
|
110
110
|
encodeJsonStringSync,
|
|
111
111
|
encodePrettyJsonString
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-k462v2v7.js";
|
|
113
113
|
import {
|
|
114
114
|
currentTimeMillis,
|
|
115
115
|
tap,
|
|
@@ -122,11 +122,7 @@ import {
|
|
|
122
122
|
withDefault,
|
|
123
123
|
option,
|
|
124
124
|
String2
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import {
|
|
127
|
-
ChildProcessSpawner,
|
|
128
|
-
make2
|
|
129
|
-
} from "./chunk-6evexbdx.js";
|
|
125
|
+
} from "./chunk-xajmb07d.js";
|
|
130
126
|
import {
|
|
131
127
|
SecureRandom,
|
|
132
128
|
layerWebCrypto,
|
|
@@ -257,11 +253,15 @@ import {
|
|
|
257
253
|
harnessNames,
|
|
258
254
|
herdrRunnerCapabilities2,
|
|
259
255
|
declaredChecks
|
|
260
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-qvvph24z.js";
|
|
257
|
+
import {
|
|
258
|
+
ChildProcessSpawner,
|
|
259
|
+
make2
|
|
260
|
+
} from "./chunk-zr1kvjzj.js";
|
|
261
261
|
import {
|
|
262
262
|
Id,
|
|
263
263
|
Timestamp
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-4vxbxjf8.js";
|
|
265
265
|
|
|
266
266
|
// apps/cli/src/cli-error.ts
|
|
267
267
|
function cliErrorCode(error, status) {
|
|
@@ -1329,10 +1329,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1329
1329
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1330
1330
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1331
1331
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1332
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1332
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-c3m48dge.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1333
1333
|
});
|
|
1334
1334
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1335
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1335
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-c3m48dge.js")), (module) => module.updateHerdrCore(options))
|
|
1336
1336
|
});
|
|
1337
1337
|
var herdrCoreMissing = (error) => {
|
|
1338
1338
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1799,7 +1799,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1799
1799
|
});
|
|
1800
1800
|
var syncKits = (input) => gen(function* () {
|
|
1801
1801
|
const fs = yield* FileSystem;
|
|
1802
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1802
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-nsw1wykj.js"));
|
|
1803
1803
|
const harnesses = yield* syncTargets(input.harness);
|
|
1804
1804
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1805
1805
|
for (const { name, problem } of chain.skipped)
|
|
@@ -3295,7 +3295,7 @@ var shipped_steps_generated_default = {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
|
|
3297
3297
|
// apps/cli/src/scaffold-files.ts
|
|
3298
|
-
var cliVersion = "0.
|
|
3298
|
+
var cliVersion = "0.48.0";
|
|
3299
3299
|
var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
|
|
3300
3300
|
var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
|
|
3301
3301
|
var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
|
|
@@ -3560,7 +3560,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
3560
3560
|
|
|
3561
3561
|
// apps/cli/src/commands.ts
|
|
3562
3562
|
var ClientId = "kitman-cli";
|
|
3563
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
3563
|
+
var agentRuntime = promise(() => import("./chunk-cv7xg2ps.js"));
|
|
3564
3564
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
3565
3565
|
defaultValue: () => gen(function* () {
|
|
3566
3566
|
const tui = yield* tryPromise({
|
|
@@ -5099,7 +5099,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
5099
5099
|
});
|
|
5100
5100
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
5101
5101
|
defaultValue: () => (options) => gen(function* () {
|
|
5102
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
5102
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-8qvgey5g.js"));
|
|
5103
5103
|
return yield* makeRunnerRpcClient({
|
|
5104
5104
|
runnerId: options.runnerId,
|
|
5105
5105
|
bearer: options.bearer,
|
|
@@ -5711,7 +5711,7 @@ function mcpCommand(args) {
|
|
|
5711
5711
|
if (command.action === "run") {
|
|
5712
5712
|
if (command.args.length > 0)
|
|
5713
5713
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
5714
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
5714
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-p17mja8m.js"));
|
|
5715
5715
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
5716
5716
|
}
|
|
5717
5717
|
if (command.action !== "setup")
|
|
@@ -6211,7 +6211,7 @@ function programLoopCommand(command) {
|
|
|
6211
6211
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
6212
6212
|
});
|
|
6213
6213
|
}
|
|
6214
|
-
var docsModule = promise(() => import("./chunk-
|
|
6214
|
+
var docsModule = promise(() => import("./chunk-av8j2qm8.js"));
|
|
6215
6215
|
function docsCommand(args) {
|
|
6216
6216
|
return gen(function* () {
|
|
6217
6217
|
const command = parseCommand(args);
|
|
@@ -7222,7 +7222,7 @@ function changeRequestCommand(args) {
|
|
|
7222
7222
|
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}`);
|
|
7223
7223
|
});
|
|
7224
7224
|
}
|
|
7225
|
-
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-
|
|
7225
|
+
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7226
7226
|
var loopOutline = (command) => gen(function* () {
|
|
7227
7227
|
const path = yield* Path;
|
|
7228
7228
|
const loop = requiredArg(command, "a Loop id");
|
|
@@ -7242,9 +7242,9 @@ var loopOutline = (command) => gen(function* () {
|
|
|
7242
7242
|
`).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7243
7243
|
yield* log(`Wrote the outline of ${loop} to ${out}`);
|
|
7244
7244
|
});
|
|
7245
|
-
var KitWriter = map9(promise(() => import("./chunk-
|
|
7245
|
+
var KitWriter = map9(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.writeKit);
|
|
7246
7246
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
7247
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
7247
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.buildKit(directory))
|
|
7248
7248
|
});
|
|
7249
7249
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
7250
7250
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-zr1kvjzj.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-qvvph24z.js";
|
|
16
|
+
import"./chunk-xajmb07d.js";
|
|
17
|
+
import"./chunk-k462v2v7.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -139,7 +139,13 @@ import {
|
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json,
|
|
141
141
|
encodeUnknownJsonStringSync
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-k462v2v7.js";
|
|
143
|
+
import {
|
|
144
|
+
currentTimeMillis,
|
|
145
|
+
getCurrent,
|
|
146
|
+
runForEach,
|
|
147
|
+
FileSystem
|
|
148
|
+
} from "./chunk-xajmb07d.js";
|
|
143
149
|
import {
|
|
144
150
|
WebCrypto,
|
|
145
151
|
makeUnsafe,
|
|
@@ -180,24 +186,18 @@ import {
|
|
|
180
186
|
StepManifest,
|
|
181
187
|
KitSetup,
|
|
182
188
|
RunnerRpcError
|
|
183
|
-
} from "./chunk-
|
|
184
|
-
import {
|
|
185
|
-
currentTimeMillis,
|
|
186
|
-
getCurrent,
|
|
187
|
-
runForEach,
|
|
188
|
-
FileSystem
|
|
189
|
-
} from "./chunk-2xeq2a7j.js";
|
|
189
|
+
} from "./chunk-qvvph24z.js";
|
|
190
190
|
import {
|
|
191
191
|
splitQuestionOptions,
|
|
192
192
|
recommendationProblem,
|
|
193
193
|
questionAdvice
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-9ykh05hz.js";
|
|
195
195
|
import {
|
|
196
196
|
guard,
|
|
197
197
|
Id,
|
|
198
198
|
Timestamp,
|
|
199
199
|
ActorType
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-4vxbxjf8.js";
|
|
201
201
|
var __defProp = Object.defineProperty;
|
|
202
202
|
var __returnValue = (v) => v;
|
|
203
203
|
function __exportSetter(name, newValue) {
|
|
@@ -186,7 +186,58 @@ import {
|
|
|
186
186
|
decodeJsonStringSync,
|
|
187
187
|
encodeUnknownJsonStringSync,
|
|
188
188
|
storable
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-k462v2v7.js";
|
|
190
|
+
import {
|
|
191
|
+
empty2,
|
|
192
|
+
currentTimeMillis,
|
|
193
|
+
join,
|
|
194
|
+
interrupt,
|
|
195
|
+
interruptAll,
|
|
196
|
+
unbounded,
|
|
197
|
+
publishUnsafe,
|
|
198
|
+
unbounded2,
|
|
199
|
+
offer,
|
|
200
|
+
makeUnsafe3,
|
|
201
|
+
make10,
|
|
202
|
+
fromQueue,
|
|
203
|
+
fromPubSub,
|
|
204
|
+
map2,
|
|
205
|
+
filter,
|
|
206
|
+
take2,
|
|
207
|
+
mapAccum,
|
|
208
|
+
decodeText,
|
|
209
|
+
encodeText,
|
|
210
|
+
splitLines,
|
|
211
|
+
run,
|
|
212
|
+
runCollect,
|
|
213
|
+
runFold,
|
|
214
|
+
runHead,
|
|
215
|
+
runForEach,
|
|
216
|
+
FileSystem,
|
|
217
|
+
Path,
|
|
218
|
+
embeddedFile,
|
|
219
|
+
extractEmbeddedFile,
|
|
220
|
+
withDefault,
|
|
221
|
+
String2,
|
|
222
|
+
optionalEnv,
|
|
223
|
+
operatorConfigHome,
|
|
224
|
+
tempDirectoryScoped,
|
|
225
|
+
harnessesUnsupportedInSrt2,
|
|
226
|
+
harnessesUnsupportedInDocker2,
|
|
227
|
+
compiled2,
|
|
228
|
+
pinnedSrtCommand2,
|
|
229
|
+
pinnedSrtStepCommand2,
|
|
230
|
+
runSrtCli2,
|
|
231
|
+
kitmanCacheDirectory2,
|
|
232
|
+
srtSettings2,
|
|
233
|
+
srtCacheEnvironment2,
|
|
234
|
+
srtInheritedEnv2,
|
|
235
|
+
inheritedEnvironment2,
|
|
236
|
+
withOnlyEnvironment2,
|
|
237
|
+
writeSrtSettings2,
|
|
238
|
+
srtStepArgv2,
|
|
239
|
+
srtArgv2
|
|
240
|
+
} from "./chunk-xajmb07d.js";
|
|
190
241
|
import {
|
|
191
242
|
SecureRandom,
|
|
192
243
|
layerWebCrypto,
|
|
@@ -276,58 +327,7 @@ import {
|
|
|
276
327
|
checkServicesFile,
|
|
277
328
|
checkServices,
|
|
278
329
|
serviceChecks
|
|
279
|
-
} from "./chunk-
|
|
280
|
-
import {
|
|
281
|
-
empty2,
|
|
282
|
-
currentTimeMillis,
|
|
283
|
-
join,
|
|
284
|
-
interrupt,
|
|
285
|
-
interruptAll,
|
|
286
|
-
unbounded,
|
|
287
|
-
publishUnsafe,
|
|
288
|
-
unbounded2,
|
|
289
|
-
offer,
|
|
290
|
-
makeUnsafe3,
|
|
291
|
-
make10,
|
|
292
|
-
fromQueue,
|
|
293
|
-
fromPubSub,
|
|
294
|
-
map2,
|
|
295
|
-
filter,
|
|
296
|
-
take2,
|
|
297
|
-
mapAccum,
|
|
298
|
-
decodeText,
|
|
299
|
-
encodeText,
|
|
300
|
-
splitLines,
|
|
301
|
-
run,
|
|
302
|
-
runCollect,
|
|
303
|
-
runFold,
|
|
304
|
-
runHead,
|
|
305
|
-
runForEach,
|
|
306
|
-
FileSystem,
|
|
307
|
-
Path,
|
|
308
|
-
embeddedFile,
|
|
309
|
-
extractEmbeddedFile,
|
|
310
|
-
withDefault,
|
|
311
|
-
String2,
|
|
312
|
-
optionalEnv,
|
|
313
|
-
operatorConfigHome,
|
|
314
|
-
tempDirectoryScoped,
|
|
315
|
-
harnessesUnsupportedInSrt2,
|
|
316
|
-
harnessesUnsupportedInDocker2,
|
|
317
|
-
compiled2,
|
|
318
|
-
pinnedSrtCommand2,
|
|
319
|
-
pinnedSrtStepCommand2,
|
|
320
|
-
runSrtCli2,
|
|
321
|
-
kitmanCacheDirectory2,
|
|
322
|
-
srtSettings2,
|
|
323
|
-
srtCacheEnvironment2,
|
|
324
|
-
srtInheritedEnv2,
|
|
325
|
-
inheritedEnvironment2,
|
|
326
|
-
withOnlyEnvironment2,
|
|
327
|
-
writeSrtSettings2,
|
|
328
|
-
srtStepArgv2,
|
|
329
|
-
srtArgv2
|
|
330
|
-
} from "./chunk-2xeq2a7j.js";
|
|
330
|
+
} from "./chunk-qvvph24z.js";
|
|
331
331
|
import {
|
|
332
332
|
writeAgentEnvironmentConfigFile2,
|
|
333
333
|
readManifestSkillPaths2,
|
|
@@ -343,12 +343,8 @@ import {
|
|
|
343
343
|
applyAgentEnvironmentMaterialization2,
|
|
344
344
|
isPathWithin2,
|
|
345
345
|
skillIdentity2
|
|
346
|
-
} from "./chunk-
|
|
347
|
-
import"./chunk-
|
|
348
|
-
import {
|
|
349
|
-
ChildProcessSpawner,
|
|
350
|
-
make2
|
|
351
|
-
} from "./chunk-6evexbdx.js";
|
|
346
|
+
} from "./chunk-0hb5d4rz.js";
|
|
347
|
+
import"./chunk-e2dszepq.js";
|
|
352
348
|
import {
|
|
353
349
|
egressAllowed,
|
|
354
350
|
writeSecretRegistry,
|
|
@@ -358,7 +354,7 @@ import {
|
|
|
358
354
|
secretFilter2,
|
|
359
355
|
opaqueTunnelRefusal2,
|
|
360
356
|
isOpaqueConnectReason2
|
|
361
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-n3jpxd14.js";
|
|
362
358
|
import {
|
|
363
359
|
sliceBytes2,
|
|
364
360
|
maxLineBytes2,
|
|
@@ -368,25 +364,29 @@ import {
|
|
|
368
364
|
lookAtOpencode2,
|
|
369
365
|
readOpencode2,
|
|
370
366
|
databaseStamp2
|
|
371
|
-
} from "./chunk-
|
|
367
|
+
} from "./chunk-6ne389p2.js";
|
|
372
368
|
import {
|
|
373
369
|
uploadRunFile,
|
|
374
370
|
programLease,
|
|
375
371
|
rpcRunFiles,
|
|
376
372
|
programHostsEnv,
|
|
377
373
|
undeclaredHostsEnv
|
|
378
|
-
} from "./chunk-
|
|
379
|
-
import"./chunk-
|
|
374
|
+
} from "./chunk-cps0774f.js";
|
|
375
|
+
import"./chunk-0n9f624b.js";
|
|
380
376
|
import {
|
|
381
377
|
nextInt
|
|
382
|
-
} from "./chunk-
|
|
383
|
-
import"./chunk-
|
|
384
|
-
import
|
|
378
|
+
} from "./chunk-04wqa07j.js";
|
|
379
|
+
import"./chunk-9ykh05hz.js";
|
|
380
|
+
import {
|
|
381
|
+
ChildProcessSpawner,
|
|
382
|
+
make2
|
|
383
|
+
} from "./chunk-zr1kvjzj.js";
|
|
384
|
+
import"./chunk-dh7ewhqd.js";
|
|
385
385
|
import {
|
|
386
386
|
Id,
|
|
387
387
|
secretReference,
|
|
388
388
|
secretPlaceholder
|
|
389
|
-
} from "./chunk-
|
|
389
|
+
} from "./chunk-4vxbxjf8.js";
|
|
390
390
|
|
|
391
391
|
// packages/core/src/sync-kit.ts
|
|
392
392
|
import { createHash } from "crypto";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-k462v2v7.js";
|
|
100
100
|
import {
|
|
101
101
|
Clock,
|
|
102
102
|
interrupt,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
shutdownUnsafe,
|
|
110
110
|
fromQueue,
|
|
111
111
|
unwrap
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-xajmb07d.js";
|
|
113
113
|
import {
|
|
114
114
|
empty,
|
|
115
115
|
fromInput,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-qvvph24z.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")) {
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-k462v2v7.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-xajmb07d.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-qvvph24z.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|