@kitman-sh/cli 0.22.0 → 0.24.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-y4a78x63.js → chunk-0v7bz5y1.js} +1 -1
- package/dist/{chunk-jq8hbcnf.js → chunk-112etn4t.js} +3 -3
- package/dist/{chunk-vmc9xnvh.js → chunk-236jyzyz.js} +17 -17
- package/dist/{chunk-my92qn4x.js → chunk-7re3n1ze.js} +6 -6
- package/dist/{chunk-1j38xtvp.js → chunk-8t2wcrvv.js} +1 -1
- package/dist/{chunk-xqc3fc72.js → chunk-9s82d4g0.js} +11 -11
- package/dist/{chunk-ytknm7wg.js → chunk-a3wsye48.js} +8 -8
- package/dist/{chunk-rfa7t28t.js → chunk-b9er95qh.js} +58 -58
- package/dist/{chunk-gap0vmj7.js → chunk-bsgvmq34.js} +1 -1
- package/dist/{chunk-5gx52vjz.js → chunk-j28yqnk0.js} +2 -2
- package/dist/{chunk-bgwp50wv.js → chunk-j35nm5gm.js} +25 -17
- package/dist/{chunk-63cyj9dh.js → chunk-j4b1yvcd.js} +1 -10
- package/dist/{chunk-cswzx3jj.js → chunk-nhseg19m.js} +2 -2
- package/dist/{chunk-js64y97w.js → chunk-npfdbssf.js} +3 -3
- package/dist/{chunk-zh3djymt.js → chunk-qmbz7jch.js} +32 -32
- package/dist/{chunk-q3kvaas4.js → chunk-s1xwbden.js} +5 -3
- package/dist/{chunk-pbe77xf2.js → chunk-swc2ra32.js} +4 -4
- package/dist/{chunk-2gm1qkd1.js → chunk-t37r3rg3.js} +3 -3
- package/dist/{chunk-rns9z6k9.js → chunk-wh096b50.js} +15 -15
- package/dist/{chunk-an5jcv2h.js → chunk-zk8rctse.js} +8 -8
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-h2f26xbd.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-j4b1yvcd.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-j35nm5gm.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-nhseg19m.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
withDefault,
|
|
121
121
|
option,
|
|
122
122
|
String2
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-j4b1yvcd.js";
|
|
124
124
|
import {
|
|
125
125
|
currentTimeMillis,
|
|
126
126
|
SecureRandom,
|
|
@@ -251,15 +251,15 @@ import {
|
|
|
251
251
|
harnessNames,
|
|
252
252
|
herdrRunnerCapabilities2,
|
|
253
253
|
declaredChecks
|
|
254
|
-
} from "./chunk-
|
|
255
|
-
import {
|
|
256
|
-
ChildProcessSpawner,
|
|
257
|
-
make3
|
|
258
|
-
} from "./chunk-gap0vmj7.js";
|
|
254
|
+
} from "./chunk-j35nm5gm.js";
|
|
259
255
|
import {
|
|
260
256
|
Id,
|
|
261
257
|
Timestamp
|
|
262
258
|
} from "./chunk-4qjfn1sa.js";
|
|
259
|
+
import {
|
|
260
|
+
ChildProcessSpawner,
|
|
261
|
+
make3
|
|
262
|
+
} from "./chunk-bsgvmq34.js";
|
|
263
263
|
|
|
264
264
|
// apps/cli/src/cli-error.ts
|
|
265
265
|
function cliErrorCode(error, status) {
|
|
@@ -1326,10 +1326,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1326
1326
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1327
1327
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1328
1328
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1329
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1329
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t37r3rg3.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1330
1330
|
});
|
|
1331
1331
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1332
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1332
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t37r3rg3.js")), (module) => module.updateHerdrCore(options))
|
|
1333
1333
|
});
|
|
1334
1334
|
var herdrCoreMissing = (error) => {
|
|
1335
1335
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1773,7 +1773,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1773
1773
|
});
|
|
1774
1774
|
var syncKits = (input) => gen(function* () {
|
|
1775
1775
|
const fs = yield* FileSystem;
|
|
1776
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1776
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-zk8rctse.js"));
|
|
1777
1777
|
const harnesses = yield* syncTargets(input.harness);
|
|
1778
1778
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1779
1779
|
for (const { name, problem } of chain.skipped)
|
|
@@ -3268,7 +3268,7 @@ var shipped_steps_generated_default = {
|
|
|
3268
3268
|
};
|
|
3269
3269
|
|
|
3270
3270
|
// apps/cli/src/scaffold-files.ts
|
|
3271
|
-
var cliVersion = "0.
|
|
3271
|
+
var cliVersion = "0.24.0";
|
|
3272
3272
|
var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
|
|
3273
3273
|
var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
|
|
3274
3274
|
var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
|
|
@@ -3533,7 +3533,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
3533
3533
|
|
|
3534
3534
|
// apps/cli/src/commands.ts
|
|
3535
3535
|
var ClientId = "kitman-cli";
|
|
3536
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
3536
|
+
var agentRuntime = promise(() => import("./chunk-b9er95qh.js"));
|
|
3537
3537
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
3538
3538
|
defaultValue: () => gen(function* () {
|
|
3539
3539
|
const tui = yield* tryPromise({
|
|
@@ -5072,7 +5072,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
5072
5072
|
});
|
|
5073
5073
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
5074
5074
|
defaultValue: () => (options) => gen(function* () {
|
|
5075
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
5075
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-swc2ra32.js"));
|
|
5076
5076
|
return yield* makeRunnerRpcClient({
|
|
5077
5077
|
runnerId: options.runnerId,
|
|
5078
5078
|
bearer: options.bearer,
|
|
@@ -5645,7 +5645,7 @@ function mcpCommand(args) {
|
|
|
5645
5645
|
if (command.action === "run") {
|
|
5646
5646
|
if (command.args.length > 0)
|
|
5647
5647
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
5648
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
5648
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-qmbz7jch.js"));
|
|
5649
5649
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
5650
5650
|
}
|
|
5651
5651
|
if (command.action !== "setup")
|
|
@@ -6145,7 +6145,7 @@ function programLoopCommand(command) {
|
|
|
6145
6145
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
6146
6146
|
});
|
|
6147
6147
|
}
|
|
6148
|
-
var docsModule = promise(() => import("./chunk-
|
|
6148
|
+
var docsModule = promise(() => import("./chunk-0v7bz5y1.js"));
|
|
6149
6149
|
function docsCommand(args) {
|
|
6150
6150
|
return gen(function* () {
|
|
6151
6151
|
const command = parseCommand(args);
|
|
@@ -7149,7 +7149,7 @@ function changeRequestCommand(args) {
|
|
|
7149
7149
|
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}`);
|
|
7150
7150
|
});
|
|
7151
7151
|
}
|
|
7152
|
-
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-
|
|
7152
|
+
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-wh096b50.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7153
7153
|
var loopOutline = (command) => gen(function* () {
|
|
7154
7154
|
const path = yield* Path;
|
|
7155
7155
|
const loop = requiredArg(command, "a Loop id");
|
|
@@ -7169,9 +7169,9 @@ var loopOutline = (command) => gen(function* () {
|
|
|
7169
7169
|
`).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7170
7170
|
yield* log(`Wrote the outline of ${loop} to ${out}`);
|
|
7171
7171
|
});
|
|
7172
|
-
var KitWriter = map9(promise(() => import("./chunk-
|
|
7172
|
+
var KitWriter = map9(promise(() => import("./chunk-wh096b50.js")), (build) => build.writeKit);
|
|
7173
7173
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
7174
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
7174
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wh096b50.js")), (build) => build.buildKit(directory))
|
|
7175
7175
|
});
|
|
7176
7176
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
7177
7177
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
make11,
|
|
4
|
-
runForEach,
|
|
5
|
-
compiled2
|
|
6
|
-
} from "./chunk-63cyj9dh.js";
|
|
7
2
|
import {
|
|
8
3
|
getOrUndefined,
|
|
9
4
|
liftThrowable,
|
|
@@ -31,10 +26,15 @@ import {
|
|
|
31
26
|
isString2,
|
|
32
27
|
encodeUnknownJsonStringSync
|
|
33
28
|
} from "./chunk-h2f26xbd.js";
|
|
29
|
+
import {
|
|
30
|
+
make11,
|
|
31
|
+
runForEach,
|
|
32
|
+
compiled2
|
|
33
|
+
} from "./chunk-j4b1yvcd.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
36
|
make3
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-bsgvmq34.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/opencode-store.ts
|
|
40
40
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -139,11 +139,6 @@ import {
|
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
141
|
} from "./chunk-h2f26xbd.js";
|
|
142
|
-
import {
|
|
143
|
-
getCurrent,
|
|
144
|
-
runForEach,
|
|
145
|
-
FileSystem
|
|
146
|
-
} from "./chunk-63cyj9dh.js";
|
|
147
142
|
import {
|
|
148
143
|
currentTimeMillis,
|
|
149
144
|
WebCrypto,
|
|
@@ -181,18 +176,23 @@ import {
|
|
|
181
176
|
StepManifest,
|
|
182
177
|
KitSetup,
|
|
183
178
|
RunnerRpcError
|
|
184
|
-
} from "./chunk-
|
|
185
|
-
import {
|
|
186
|
-
splitQuestionOptions,
|
|
187
|
-
recommendationProblem,
|
|
188
|
-
questionAdvice
|
|
189
|
-
} from "./chunk-tsx0347c.js";
|
|
179
|
+
} from "./chunk-j35nm5gm.js";
|
|
190
180
|
import {
|
|
191
181
|
guard,
|
|
192
182
|
Id,
|
|
193
183
|
Timestamp,
|
|
194
184
|
ActorType
|
|
195
185
|
} from "./chunk-4qjfn1sa.js";
|
|
186
|
+
import {
|
|
187
|
+
getCurrent,
|
|
188
|
+
runForEach,
|
|
189
|
+
FileSystem
|
|
190
|
+
} from "./chunk-j4b1yvcd.js";
|
|
191
|
+
import {
|
|
192
|
+
splitQuestionOptions,
|
|
193
|
+
recommendationProblem,
|
|
194
|
+
questionAdvice
|
|
195
|
+
} from "./chunk-tsx0347c.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path,
|
|
5
|
-
optionalEnv,
|
|
6
|
-
tempDirectoryScoped
|
|
7
|
-
} from "./chunk-63cyj9dh.js";
|
|
8
2
|
import {
|
|
9
3
|
Reference,
|
|
10
4
|
TaggedError,
|
|
@@ -32,14 +26,20 @@ import {
|
|
|
32
26
|
encodePrettyJsonString,
|
|
33
27
|
decodeJsonStringSync
|
|
34
28
|
} from "./chunk-h2f26xbd.js";
|
|
29
|
+
import {
|
|
30
|
+
FileSystem,
|
|
31
|
+
Path,
|
|
32
|
+
optionalEnv,
|
|
33
|
+
tempDirectoryScoped
|
|
34
|
+
} from "./chunk-j4b1yvcd.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-j35nm5gm.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-j28yqnk0.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -174,51 +174,10 @@ import {
|
|
|
174
174
|
storable
|
|
175
175
|
} from "./chunk-h2f26xbd.js";
|
|
176
176
|
import {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
unbounded2,
|
|
182
|
-
offer,
|
|
183
|
-
makeUnsafe3,
|
|
184
|
-
make11,
|
|
185
|
-
fromQueue,
|
|
186
|
-
fromPubSub,
|
|
187
|
-
map2,
|
|
188
|
-
filter,
|
|
189
|
-
take2,
|
|
190
|
-
mapAccum,
|
|
191
|
-
decodeText,
|
|
192
|
-
encodeText,
|
|
193
|
-
splitLines,
|
|
194
|
-
run,
|
|
195
|
-
runCollect,
|
|
196
|
-
runFold,
|
|
197
|
-
runHead,
|
|
198
|
-
runForEach,
|
|
199
|
-
FileSystem,
|
|
200
|
-
Path,
|
|
201
|
-
embeddedFile,
|
|
202
|
-
extractEmbeddedFile,
|
|
203
|
-
optionalEnv,
|
|
204
|
-
operatorConfigHome,
|
|
205
|
-
tempDirectoryScoped,
|
|
206
|
-
harnessesUnsupportedInSrt2,
|
|
207
|
-
harnessesUnsupportedInDocker2,
|
|
208
|
-
compiled2,
|
|
209
|
-
pinnedSrtCommand2,
|
|
210
|
-
pinnedSrtStepCommand2,
|
|
211
|
-
runSrtCli2,
|
|
212
|
-
kitmanCacheDirectory2,
|
|
213
|
-
srtSettings2,
|
|
214
|
-
srtCacheEnvironment2,
|
|
215
|
-
srtInheritedEnv2,
|
|
216
|
-
inheritedEnvironment2,
|
|
217
|
-
withOnlyEnvironment2,
|
|
218
|
-
writeSrtSettings2,
|
|
219
|
-
srtStepArgv2,
|
|
220
|
-
srtArgv2
|
|
221
|
-
} from "./chunk-63cyj9dh.js";
|
|
177
|
+
Id,
|
|
178
|
+
secretReference,
|
|
179
|
+
secretPlaceholder
|
|
180
|
+
} from "./chunk-4qjfn1sa.js";
|
|
222
181
|
import {
|
|
223
182
|
currentTimeMillis,
|
|
224
183
|
SecureRandom,
|
|
@@ -307,7 +266,53 @@ import {
|
|
|
307
266
|
checkServicesFile,
|
|
308
267
|
checkServices,
|
|
309
268
|
serviceChecks
|
|
310
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-j35nm5gm.js";
|
|
270
|
+
import {
|
|
271
|
+
join,
|
|
272
|
+
interrupt,
|
|
273
|
+
unbounded,
|
|
274
|
+
publishUnsafe,
|
|
275
|
+
unbounded2,
|
|
276
|
+
offer,
|
|
277
|
+
makeUnsafe3,
|
|
278
|
+
make11,
|
|
279
|
+
fromQueue,
|
|
280
|
+
fromPubSub,
|
|
281
|
+
map2,
|
|
282
|
+
filter,
|
|
283
|
+
take2,
|
|
284
|
+
mapAccum,
|
|
285
|
+
decodeText,
|
|
286
|
+
encodeText,
|
|
287
|
+
splitLines,
|
|
288
|
+
run,
|
|
289
|
+
runCollect,
|
|
290
|
+
runFold,
|
|
291
|
+
runHead,
|
|
292
|
+
runForEach,
|
|
293
|
+
FileSystem,
|
|
294
|
+
Path,
|
|
295
|
+
embeddedFile,
|
|
296
|
+
extractEmbeddedFile,
|
|
297
|
+
optionalEnv,
|
|
298
|
+
operatorConfigHome,
|
|
299
|
+
tempDirectoryScoped,
|
|
300
|
+
harnessesUnsupportedInSrt2,
|
|
301
|
+
harnessesUnsupportedInDocker2,
|
|
302
|
+
compiled2,
|
|
303
|
+
pinnedSrtCommand2,
|
|
304
|
+
pinnedSrtStepCommand2,
|
|
305
|
+
runSrtCli2,
|
|
306
|
+
kitmanCacheDirectory2,
|
|
307
|
+
srtSettings2,
|
|
308
|
+
srtCacheEnvironment2,
|
|
309
|
+
srtInheritedEnv2,
|
|
310
|
+
inheritedEnvironment2,
|
|
311
|
+
withOnlyEnvironment2,
|
|
312
|
+
writeSrtSettings2,
|
|
313
|
+
srtStepArgv2,
|
|
314
|
+
srtArgv2
|
|
315
|
+
} from "./chunk-j4b1yvcd.js";
|
|
311
316
|
import {
|
|
312
317
|
writeAgentEnvironmentConfigFile2,
|
|
313
318
|
readManifestSkillPaths2,
|
|
@@ -323,8 +328,8 @@ import {
|
|
|
323
328
|
applyAgentEnvironmentMaterialization2,
|
|
324
329
|
isPathWithin2,
|
|
325
330
|
skillIdentity2
|
|
326
|
-
} from "./chunk-
|
|
327
|
-
import"./chunk-
|
|
331
|
+
} from "./chunk-a3wsye48.js";
|
|
332
|
+
import"./chunk-j28yqnk0.js";
|
|
328
333
|
import {
|
|
329
334
|
egressAllowed,
|
|
330
335
|
writeSecretRegistry,
|
|
@@ -342,15 +347,15 @@ import {
|
|
|
342
347
|
decodedOption2,
|
|
343
348
|
decoded2,
|
|
344
349
|
readOpencode2
|
|
345
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-7re3n1ze.js";
|
|
346
351
|
import {
|
|
347
352
|
uploadRunFile,
|
|
348
353
|
programLease,
|
|
349
354
|
rpcRunFiles,
|
|
350
355
|
programHostsEnv,
|
|
351
356
|
undeclaredHostsEnv
|
|
352
|
-
} from "./chunk-
|
|
353
|
-
import"./chunk-
|
|
357
|
+
} from "./chunk-9s82d4g0.js";
|
|
358
|
+
import"./chunk-112etn4t.js";
|
|
354
359
|
import {
|
|
355
360
|
nextInt
|
|
356
361
|
} from "./chunk-5kqt4bqp.js";
|
|
@@ -358,13 +363,8 @@ import"./chunk-tsx0347c.js";
|
|
|
358
363
|
import {
|
|
359
364
|
ChildProcessSpawner,
|
|
360
365
|
make3
|
|
361
|
-
} from "./chunk-
|
|
362
|
-
import"./chunk-
|
|
363
|
-
import {
|
|
364
|
-
Id,
|
|
365
|
-
secretReference,
|
|
366
|
-
secretPlaceholder
|
|
367
|
-
} from "./chunk-4qjfn1sa.js";
|
|
366
|
+
} from "./chunk-bsgvmq34.js";
|
|
367
|
+
import"./chunk-nhseg19m.js";
|
|
368
368
|
|
|
369
369
|
// packages/core/src/sync-kit.ts
|
|
370
370
|
import { createHash } from "crypto";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-j4b1yvcd.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-j35nm5gm.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -268,7 +268,6 @@ import {
|
|
|
268
268
|
import {
|
|
269
269
|
map,
|
|
270
270
|
makeEquivalence,
|
|
271
|
-
toNumber,
|
|
272
271
|
bytes,
|
|
273
272
|
BadArgument,
|
|
274
273
|
systemError,
|
|
@@ -333,21 +332,7 @@ import {
|
|
|
333
332
|
optionalEnv,
|
|
334
333
|
harnessesUnsupportedInSrt2,
|
|
335
334
|
harnessesUnsupportedInDocker2
|
|
336
|
-
} from "./chunk-
|
|
337
|
-
import {
|
|
338
|
-
isRedacted,
|
|
339
|
-
make,
|
|
340
|
-
value,
|
|
341
|
-
ExitCode,
|
|
342
|
-
ProcessId,
|
|
343
|
-
makeHandle,
|
|
344
|
-
make2,
|
|
345
|
-
ChildProcessSpawner,
|
|
346
|
-
display,
|
|
347
|
-
make3,
|
|
348
|
-
parseFdName,
|
|
349
|
-
fdName
|
|
350
|
-
} from "./chunk-gap0vmj7.js";
|
|
335
|
+
} from "./chunk-j4b1yvcd.js";
|
|
351
336
|
import {
|
|
352
337
|
isDateTime,
|
|
353
338
|
Numeric,
|
|
@@ -361,6 +346,20 @@ import {
|
|
|
361
346
|
SecretHosts,
|
|
362
347
|
isSecretReference
|
|
363
348
|
} from "./chunk-4qjfn1sa.js";
|
|
349
|
+
import {
|
|
350
|
+
isRedacted,
|
|
351
|
+
make,
|
|
352
|
+
value,
|
|
353
|
+
ExitCode,
|
|
354
|
+
ProcessId,
|
|
355
|
+
makeHandle,
|
|
356
|
+
make2,
|
|
357
|
+
ChildProcessSpawner,
|
|
358
|
+
display,
|
|
359
|
+
make3,
|
|
360
|
+
parseFdName,
|
|
361
|
+
fdName
|
|
362
|
+
} from "./chunk-bsgvmq34.js";
|
|
364
363
|
|
|
365
364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
366
365
|
var makeEquivalence3 = Tuple;
|
|
@@ -902,6 +901,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
902
901
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
903
902
|
var runMain = runMain2;
|
|
904
903
|
|
|
904
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
905
|
+
var BigInt2 = globalThis.BigInt;
|
|
906
|
+
var toNumber = (b) => {
|
|
907
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
908
|
+
return none();
|
|
909
|
+
}
|
|
910
|
+
return some(Number(b));
|
|
911
|
+
};
|
|
912
|
+
|
|
905
913
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
906
914
|
var makeUnsafe = makeUnsafe6;
|
|
907
915
|
var make18 = make4;
|
|
@@ -3212,7 +3220,7 @@ var waitingOnWords = ({ keys, hidden }) => {
|
|
|
3212
3220
|
};
|
|
3213
3221
|
|
|
3214
3222
|
// packages/core/src/run-queue.ts
|
|
3215
|
-
var ClaimRanks = ["in_progress", "finishing", "new"];
|
|
3223
|
+
var ClaimRanks = ["shipping", "in_progress", "finishing", "new"];
|
|
3216
3224
|
var utcTime = (timestamp) => {
|
|
3217
3225
|
const iso = toIso(Math.ceil(toDate(timestamp).getTime() / 1000) * 1000);
|
|
3218
3226
|
return `${iso.slice(0, iso.endsWith(":00.000Z") ? 16 : 19).replace("T", " ")} UTC`;
|
|
@@ -252,15 +252,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
252
252
|
return (self, that) => is(self, that) && is(that, self);
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
256
|
-
var BigInt2 = globalThis.BigInt;
|
|
257
|
-
var toNumber = (b) => {
|
|
258
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
259
|
-
return none();
|
|
260
|
-
}
|
|
261
|
-
return some(Number(b));
|
|
262
|
-
};
|
|
263
|
-
|
|
264
255
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
265
256
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
266
257
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -3644,4 +3635,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3644
3635
|
...argv
|
|
3645
3636
|
];
|
|
3646
3637
|
|
|
3647
|
-
export { map, makeEquivalence,
|
|
3638
|
+
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-j4b1yvcd.js";
|
|
112
112
|
import {
|
|
113
113
|
Clock,
|
|
114
114
|
empty,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-j35nm5gm.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")) {
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-7re3n1ze.js";
|
|
11
|
+
import"./chunk-bsgvmq34.js";
|
|
12
|
+
import"./chunk-j4b1yvcd.js";
|
|
13
13
|
import"./chunk-h2f26xbd.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|