@kitman-sh/cli 0.10.56 → 0.10.57
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-pvkwhesj.js → chunk-23vene3j.js} +3 -3
- package/dist/{chunk-yfdktxzg.js → chunk-253add07.js} +3 -3
- package/dist/{chunk-kdyzndvx.js → chunk-5tfxtw9z.js} +1 -1
- package/dist/{chunk-bdxhb63t.js → chunk-a1yf46xt.js} +2 -2
- package/dist/{chunk-emabyaj0.js → chunk-cy5fbrfm.js} +7 -1
- package/dist/{chunk-338c1c1x.js → chunk-de4cfe40.js} +3 -3
- package/dist/{chunk-2md3k83r.js → chunk-fmhy6tss.js} +3 -3
- package/dist/{chunk-hma82ban.js → chunk-h8s4vh47.js} +4 -4
- package/dist/{chunk-s97jvqxb.js → chunk-hwd2gg2f.js} +3 -3
- package/dist/{chunk-vn3x7bzf.js → chunk-jc920h47.js} +2 -2
- package/dist/{chunk-w9kg1784.js → chunk-kyqsbr2n.js} +13 -13
- package/dist/{chunk-7kernadf.js → chunk-mjzvfh9d.js} +5 -5
- package/dist/{chunk-2t06f3vz.js → chunk-nrkwrajj.js} +4 -4
- package/dist/{chunk-48dn3enn.js → chunk-q5s64k8g.js} +10 -10
- package/dist/{chunk-jb9dcsfn.js → chunk-qhpyzn7c.js} +7 -10
- package/dist/{chunk-zf3vq701.js → chunk-v43h8s08.js} +14 -14
- package/dist/{chunk-wbrv4705.js → chunk-wd0rvdt4.js} +3 -3
- package/dist/{chunk-st9mym1j.js → chunk-x3mgznk2.js} +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-61k67vxh.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-cy5fbrfm.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-qhpyzn7c.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-de4cfe40.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-jc920h47.js";
|
|
11
|
+
import"./chunk-5tfxtw9z.js";
|
|
12
12
|
import"./chunk-7evwar6b.js";
|
|
13
|
-
import"./chunk-
|
|
13
|
+
import"./chunk-cy5fbrfm.js";
|
|
14
14
|
import"./chunk-61k67vxh.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-cy5fbrfm.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-qhpyzn7c.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -79,6 +79,8 @@ import {
|
|
|
79
79
|
fiberRunIn,
|
|
80
80
|
makeLatchUnsafe,
|
|
81
81
|
makeLatch,
|
|
82
|
+
ClockRef,
|
|
83
|
+
currentTimeMillis2,
|
|
82
84
|
succeed3,
|
|
83
85
|
failCause2,
|
|
84
86
|
fail4,
|
|
@@ -248,6 +250,10 @@ var makeEquivalence = (equivalence) => {
|
|
|
248
250
|
return (self, that) => is(self, that) && is(that, self);
|
|
249
251
|
};
|
|
250
252
|
|
|
253
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
254
|
+
var Clock = ClockRef;
|
|
255
|
+
var currentTimeMillis = currentTimeMillis2;
|
|
256
|
+
|
|
251
257
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
252
258
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
253
259
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -3551,4 +3557,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3551
3557
|
...argv
|
|
3552
3558
|
];
|
|
3553
3559
|
|
|
3554
|
-
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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
3560
|
+
export { map, makeEquivalence, Clock, currentTimeMillis, 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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -98,6 +98,7 @@ import {
|
|
|
98
98
|
toCodecJson
|
|
99
99
|
} from "./chunk-61k67vxh.js";
|
|
100
100
|
import {
|
|
101
|
+
Clock,
|
|
101
102
|
interrupt,
|
|
102
103
|
getCurrent,
|
|
103
104
|
makeUnsafe2,
|
|
@@ -108,9 +109,8 @@ import {
|
|
|
108
109
|
shutdownUnsafe,
|
|
109
110
|
fromQueue,
|
|
110
111
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-cy5fbrfm.js";
|
|
112
113
|
import {
|
|
113
|
-
Clock,
|
|
114
114
|
empty,
|
|
115
115
|
fromInput,
|
|
116
116
|
merge,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-qhpyzn7c.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")) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-5tfxtw9z.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-qhpyzn7c.js";
|
|
16
|
+
import"./chunk-cy5fbrfm.js";
|
|
17
17
|
import"./chunk-61k67vxh.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
@@ -104,7 +104,6 @@ import {
|
|
|
104
104
|
encodePrettyJsonString
|
|
105
105
|
} from "./chunk-61k67vxh.js";
|
|
106
106
|
import {
|
|
107
|
-
currentTimeMillis,
|
|
108
107
|
SecureRandom,
|
|
109
108
|
makeUnsafe,
|
|
110
109
|
formatIso,
|
|
@@ -153,7 +152,7 @@ import {
|
|
|
153
152
|
runMcpEffect,
|
|
154
153
|
createAgentAuthSignedFetch,
|
|
155
154
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-qhpyzn7c.js";
|
|
157
156
|
import {
|
|
158
157
|
guard,
|
|
159
158
|
Id,
|
|
@@ -175,6 +174,7 @@ import {
|
|
|
175
174
|
kindOf
|
|
176
175
|
} from "./chunk-7evwar6b.js";
|
|
177
176
|
import {
|
|
177
|
+
currentTimeMillis,
|
|
178
178
|
join,
|
|
179
179
|
interrupt,
|
|
180
180
|
runForEach,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
withDefault,
|
|
188
188
|
option,
|
|
189
189
|
String2
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-cy5fbrfm.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
193
|
} from "./chunk-gwcqz1bj.js";
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-de4cfe40.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-cy5fbrfm.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-qhpyzn7c.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-a1yf46xt.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
make11,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-cy5fbrfm.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5tfxtw9z.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -87,6 +87,7 @@ import {
|
|
|
87
87
|
encodePrettyJsonString
|
|
88
88
|
} from "./chunk-61k67vxh.js";
|
|
89
89
|
import {
|
|
90
|
+
currentTimeMillis,
|
|
90
91
|
tap,
|
|
91
92
|
mapError,
|
|
92
93
|
decodeText,
|
|
@@ -97,9 +98,8 @@ import {
|
|
|
97
98
|
withDefault,
|
|
98
99
|
option,
|
|
99
100
|
String2
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-cy5fbrfm.js";
|
|
101
102
|
import {
|
|
102
|
-
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
104
104
|
layerWebCrypto,
|
|
105
105
|
runMain,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-qhpyzn7c.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
203
|
} from "./chunk-4kssrezn.js";
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
216
|
make3
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-5tfxtw9z.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-fmhy6tss.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-fmhy6tss.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-mjzvfh9d.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.57";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1900,7 +1900,7 @@ var Usage = [
|
|
|
1900
1900
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1901
1901
|
].join(`
|
|
1902
1902
|
`);
|
|
1903
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1903
|
+
var agentRuntime = promise(() => import("./chunk-q5s64k8g.js"));
|
|
1904
1904
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1905
1905
|
defaultValue: () => gen(function* () {
|
|
1906
1906
|
const tui = yield* tryPromise({
|
|
@@ -2746,7 +2746,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2746
2746
|
});
|
|
2747
2747
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2748
2748
|
defaultValue: () => (options) => gen(function* () {
|
|
2749
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2749
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-nrkwrajj.js"));
|
|
2750
2750
|
return yield* makeRunnerRpcClient({
|
|
2751
2751
|
runnerId: options.runnerId,
|
|
2752
2752
|
bearer: options.bearer,
|
|
@@ -3130,7 +3130,7 @@ function mcpCommand(args) {
|
|
|
3130
3130
|
if (command.action === "run") {
|
|
3131
3131
|
if (command.args.length > 0)
|
|
3132
3132
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3133
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3133
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-h8s4vh47.js"));
|
|
3134
3134
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3135
3135
|
}
|
|
3136
3136
|
if (command.action !== "setup")
|
|
@@ -4332,9 +4332,9 @@ function claimCommand(args) {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
});
|
|
4334
4334
|
}
|
|
4335
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4335
|
+
var KitWriter = map8(promise(() => import("./chunk-v43h8s08.js")), (build) => build.writeKit);
|
|
4336
4336
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4337
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4337
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-v43h8s08.js")), (build) => build.buildKit(directory))
|
|
4338
4338
|
});
|
|
4339
4339
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4340
4340
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -20,22 +20,22 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
FileSystem,
|
|
22
22
|
Path
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-cy5fbrfm.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-hwd2gg2f.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-qhpyzn7c.js";
|
|
37
|
+
import"./chunk-a1yf46xt.js";
|
|
38
|
+
import"./chunk-5tfxtw9z.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-23vene3j.js";
|
|
8
|
+
import"./chunk-de4cfe40.js";
|
|
9
|
+
import"./chunk-qhpyzn7c.js";
|
|
10
10
|
import"./chunk-4kssrezn.js";
|
|
11
11
|
import"./chunk-7evwar6b.js";
|
|
12
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-cy5fbrfm.js";
|
|
13
13
|
import"./chunk-61k67vxh.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
@@ -161,7 +161,6 @@ import {
|
|
|
161
161
|
secretReference
|
|
162
162
|
} from "./chunk-4kssrezn.js";
|
|
163
163
|
import {
|
|
164
|
-
currentTimeMillis,
|
|
165
164
|
SecureRandom,
|
|
166
165
|
layerWebCrypto,
|
|
167
166
|
layer,
|
|
@@ -224,8 +223,9 @@ import {
|
|
|
224
223
|
installCommand,
|
|
225
224
|
checkServicesFile,
|
|
226
225
|
checkServices
|
|
227
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-qhpyzn7c.js";
|
|
228
227
|
import {
|
|
228
|
+
currentTimeMillis,
|
|
229
229
|
join,
|
|
230
230
|
interrupt,
|
|
231
231
|
unbounded,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
writeSrtSettings2,
|
|
264
264
|
srtStepArgv2,
|
|
265
265
|
srtArgv2
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-cy5fbrfm.js";
|
|
267
267
|
import {
|
|
268
268
|
writeAgentEnvironmentConfigFile2,
|
|
269
269
|
readManifestSkillPaths2,
|
|
@@ -279,8 +279,8 @@ import {
|
|
|
279
279
|
applyAgentEnvironmentMaterialization2,
|
|
280
280
|
isPathWithin2,
|
|
281
281
|
skillIdentity2
|
|
282
|
-
} from "./chunk-
|
|
283
|
-
import"./chunk-
|
|
282
|
+
} from "./chunk-hwd2gg2f.js";
|
|
283
|
+
import"./chunk-a1yf46xt.js";
|
|
284
284
|
import {
|
|
285
285
|
sliceBytes2,
|
|
286
286
|
maxLineBytes2,
|
|
@@ -288,7 +288,7 @@ import {
|
|
|
288
288
|
decodedOption2,
|
|
289
289
|
decoded2,
|
|
290
290
|
readOpencode2
|
|
291
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-jc920h47.js";
|
|
292
292
|
import {
|
|
293
293
|
writeSecretRegistry,
|
|
294
294
|
secretRefusalLog,
|
|
@@ -300,16 +300,16 @@ import {
|
|
|
300
300
|
rpcRunFiles,
|
|
301
301
|
programHostsEnv,
|
|
302
302
|
undeclaredHostsEnv
|
|
303
|
-
} from "./chunk-
|
|
304
|
-
import"./chunk-
|
|
303
|
+
} from "./chunk-wd0rvdt4.js";
|
|
304
|
+
import"./chunk-23vene3j.js";
|
|
305
305
|
import {
|
|
306
306
|
nextInt
|
|
307
307
|
} from "./chunk-gwcqz1bj.js";
|
|
308
308
|
import {
|
|
309
309
|
ChildProcessSpawner,
|
|
310
310
|
make3
|
|
311
|
-
} from "./chunk-
|
|
312
|
-
import"./chunk-
|
|
311
|
+
} from "./chunk-5tfxtw9z.js";
|
|
312
|
+
import"./chunk-de4cfe40.js";
|
|
313
313
|
|
|
314
314
|
// packages/core/src/sync-kit.ts
|
|
315
315
|
import { createHash } from "crypto";
|
|
@@ -84,8 +84,6 @@ import {
|
|
|
84
84
|
DisablePropagation,
|
|
85
85
|
sync,
|
|
86
86
|
map7,
|
|
87
|
-
ClockRef,
|
|
88
|
-
currentTimeMillis2,
|
|
89
87
|
ConsoleRef,
|
|
90
88
|
succeed3,
|
|
91
89
|
fail4,
|
|
@@ -252,6 +250,8 @@ import {
|
|
|
252
250
|
import {
|
|
253
251
|
map,
|
|
254
252
|
makeEquivalence,
|
|
253
|
+
Clock,
|
|
254
|
+
currentTimeMillis,
|
|
255
255
|
bytes,
|
|
256
256
|
BadArgument,
|
|
257
257
|
systemError,
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
String2,
|
|
316
316
|
optionalEnv,
|
|
317
317
|
harnessesUnsupportedInSrt2
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-cy5fbrfm.js";
|
|
319
319
|
import {
|
|
320
320
|
isDateTime,
|
|
321
321
|
Numeric,
|
|
@@ -355,15 +355,11 @@ import {
|
|
|
355
355
|
make3,
|
|
356
356
|
parseFdName,
|
|
357
357
|
fdName
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-5tfxtw9z.js";
|
|
359
359
|
|
|
360
360
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
361
361
|
var makeEquivalence3 = Tuple;
|
|
362
362
|
|
|
363
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
364
|
-
var Clock = ClockRef;
|
|
365
|
-
var currentTimeMillis = currentTimeMillis2;
|
|
366
|
-
|
|
367
363
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
|
|
368
364
|
var TypeId = "~effect/DateTime";
|
|
369
365
|
var TimeZoneTypeId = "~effect/DateTime/TimeZone";
|
|
@@ -3434,6 +3430,7 @@ function classifyAnything(key, value) {
|
|
|
3434
3430
|
const text = value.replace(uuidPattern, "uuid");
|
|
3435
3431
|
return VALUE_RULES.find(([, pattern]) => pattern.test(text))?.[0];
|
|
3436
3432
|
}
|
|
3433
|
+
var durableTextLimit = 1024;
|
|
3437
3434
|
function scanDurableSurface(value, path = "surface", options = {}) {
|
|
3438
3435
|
const findings = [];
|
|
3439
3436
|
scanValue(value, path, undefined, findings, 0, options);
|
|
@@ -3477,7 +3474,7 @@ function scanValue(value, path, key, findings, depth, options = {}) {
|
|
|
3477
3474
|
const classification = classifyDurableSurfaceValue(key ?? path, value, options);
|
|
3478
3475
|
if (classification !== undefined)
|
|
3479
3476
|
findings.push(finding(path, classification, value));
|
|
3480
|
-
else if (isString(value) && value.length > (options.maxTextLength ??
|
|
3477
|
+
else if (isString(value) && value.length > (options.maxTextLength ?? durableTextLimit))
|
|
3481
3478
|
findings.push(finding(path, "unknown", value, "unbounded-text"));
|
|
3482
3479
|
}
|
|
3483
3480
|
function finding(path, classification, value, rule = "classified-key") {
|
|
@@ -15456,4 +15453,4 @@ function checkServices(declaration) {
|
|
|
15456
15453
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15457
15454
|
}
|
|
15458
15455
|
|
|
15459
|
-
export {
|
|
15456
|
+
export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, put, setHeaders, bodyUint8Array, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|
|
@@ -35,14 +35,6 @@ import {
|
|
|
35
35
|
} from "./chunk-61k67vxh.js";
|
|
36
36
|
import"./chunk-4kssrezn.js";
|
|
37
37
|
import"./chunk-7evwar6b.js";
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-emabyaj0.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-qhpyzn7c.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-cy5fbrfm.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-a1yf46xt.js";
|
|
62
|
+
import"./chunk-23vene3j.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-wd0rvdt4.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
71
|
make3
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
72
|
+
} from "./chunk-5tfxtw9z.js";
|
|
73
|
+
import"./chunk-de4cfe40.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -80,7 +80,6 @@ import {
|
|
|
80
80
|
guard
|
|
81
81
|
} from "./chunk-4kssrezn.js";
|
|
82
82
|
import {
|
|
83
|
-
currentTimeMillis,
|
|
84
83
|
WebCrypto,
|
|
85
84
|
SafeJson,
|
|
86
85
|
AgentSandboxNetwork,
|
|
@@ -105,11 +104,12 @@ import {
|
|
|
105
104
|
KitDigest,
|
|
106
105
|
KitSetup,
|
|
107
106
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-qhpyzn7c.js";
|
|
109
108
|
import {
|
|
109
|
+
currentTimeMillis,
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-cy5fbrfm.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");
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-x3mgznk2.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
11
|
const { runSrtStep } = await import("./chunk-99ver3za.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-253add07.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-kyqsbr2n.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|