@kitman-sh/cli 0.13.16 → 0.13.18
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-d9z9cyzt.js → chunk-03hvwd6m.js} +38 -32
- package/dist/{chunk-fc2bhh5v.js → chunk-1cbnvby8.js} +1 -1
- package/dist/{chunk-t4xwk14b.js → chunk-39m1xtbk.js} +264 -125
- package/dist/{chunk-tntbdpmy.js → chunk-7m71m106.js} +65 -65
- package/dist/{chunk-y7p4d14b.js → chunk-827sgh31.js} +2 -2
- package/dist/{chunk-vsrjg9nm.js → chunk-84xks8tn.js} +9 -9
- package/dist/{chunk-5w6r4mw6.js → chunk-940cc29s.js} +27 -27
- package/dist/{chunk-bt22cd13.js → chunk-a7ds2jqf.js} +6 -6
- package/dist/{chunk-zd6y6ka8.js → chunk-bc8ytp0y.js} +217 -193
- package/dist/{chunk-sjdze64n.js → chunk-be2jf9m3.js} +9 -9
- package/dist/{chunk-v1e4g2re.js → chunk-dc0pcs3z.js} +1 -1
- package/dist/{chunk-4zh7qxck.js → chunk-frjsv0ng.js} +3 -3
- package/dist/{chunk-at5dh2te.js → chunk-fv2v1sdc.js} +15 -15
- package/dist/{chunk-ttk3d0z2.js → chunk-gqy5shhk.js} +130 -130
- package/dist/{chunk-s88vcvtd.js → chunk-gy9rf14f.js} +1 -1
- package/dist/{chunk-nf9gdnsf.js → chunk-hakqpy8z.js} +10 -1
- package/dist/{chunk-mbqb40ev.js → chunk-r1s1dcy0.js} +15 -15
- package/dist/{chunk-5cevjkrb.js → chunk-rp4tn60z.js} +12 -12
- package/dist/{chunk-cbzqfz1k.js → chunk-vxc2cg5f.js} +8 -8
- package/dist/{chunk-c9rvst3x.js → chunk-ynvzbgms.js} +3 -3
- package/dist/{chunk-49gbakce.js → chunk-z1rve2hk.js} +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/{chunk-x7acexnm.js → chunk-y1krmnbv.js} +4 -4
|
@@ -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-a7ds2jqf.js";
|
|
11
|
+
import"./chunk-84xks8tn.js";
|
|
12
|
+
import"./chunk-hakqpy8z.js";
|
|
13
13
|
import"./chunk-zw3gf6r5.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-hakqpy8z.js";
|
|
3
10
|
import {
|
|
4
11
|
isString,
|
|
5
12
|
hasProperty,
|
|
@@ -34,6 +41,7 @@ import {
|
|
|
34
41
|
Json,
|
|
35
42
|
encodePrettyJsonString
|
|
36
43
|
} from "./chunk-zw3gf6r5.js";
|
|
44
|
+
import"./chunk-q5w3v4k1.js";
|
|
37
45
|
import {
|
|
38
46
|
SecureRandom,
|
|
39
47
|
layerWebCrypto,
|
|
@@ -45,31 +53,23 @@ import {
|
|
|
45
53
|
layer4,
|
|
46
54
|
kitmanMcpServer,
|
|
47
55
|
RunnerRpcProtocolVersion
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
decodeText,
|
|
51
|
-
mkString,
|
|
52
|
-
FileSystem,
|
|
53
|
-
Path,
|
|
54
|
-
withDefault,
|
|
55
|
-
String2
|
|
56
|
-
} from "./chunk-nf9gdnsf.js";
|
|
56
|
+
} from "./chunk-bc8ytp0y.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-r1s1dcy0.js";
|
|
61
|
+
import"./chunk-rp4tn60z.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-03hvwd6m.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
70
|
make3
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import"./chunk-
|
|
71
|
+
} from "./chunk-84xks8tn.js";
|
|
72
|
+
import"./chunk-940cc29s.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -1,4 +1,122 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
isTagged,
|
|
4
|
+
none,
|
|
5
|
+
isSome,
|
|
6
|
+
getOrElse,
|
|
7
|
+
getOrUndefined,
|
|
8
|
+
Reference,
|
|
9
|
+
minutes,
|
|
10
|
+
toMillis,
|
|
11
|
+
toMinutes,
|
|
12
|
+
succeed,
|
|
13
|
+
isSuccess,
|
|
14
|
+
TaggedError,
|
|
15
|
+
make16,
|
|
16
|
+
_await,
|
|
17
|
+
fail5,
|
|
18
|
+
succeed5,
|
|
19
|
+
provide2,
|
|
20
|
+
provideMerge,
|
|
21
|
+
squash,
|
|
22
|
+
pretty,
|
|
23
|
+
max2,
|
|
24
|
+
during,
|
|
25
|
+
min2,
|
|
26
|
+
exponential,
|
|
27
|
+
spaced,
|
|
28
|
+
all3,
|
|
29
|
+
forEach,
|
|
30
|
+
promise,
|
|
31
|
+
tryPromise,
|
|
32
|
+
succeed6,
|
|
33
|
+
suspend3,
|
|
34
|
+
sync2,
|
|
35
|
+
void_3,
|
|
36
|
+
undefined_,
|
|
37
|
+
gen,
|
|
38
|
+
fail7,
|
|
39
|
+
try_2,
|
|
40
|
+
fromNullishOr2,
|
|
41
|
+
flatMap3,
|
|
42
|
+
andThen2,
|
|
43
|
+
tap2,
|
|
44
|
+
result,
|
|
45
|
+
map8,
|
|
46
|
+
as,
|
|
47
|
+
asSome2,
|
|
48
|
+
asVoid,
|
|
49
|
+
zipWith,
|
|
50
|
+
catch_,
|
|
51
|
+
catchTag,
|
|
52
|
+
catchTags,
|
|
53
|
+
catchCause2,
|
|
54
|
+
catchIf,
|
|
55
|
+
mapError2,
|
|
56
|
+
tapError2,
|
|
57
|
+
tapCause,
|
|
58
|
+
retry,
|
|
59
|
+
ignore,
|
|
60
|
+
orElseSucceed,
|
|
61
|
+
timeout,
|
|
62
|
+
timeoutOrElse,
|
|
63
|
+
delay,
|
|
64
|
+
sleep,
|
|
65
|
+
raceFirst,
|
|
66
|
+
filterOrFail,
|
|
67
|
+
context,
|
|
68
|
+
provide3,
|
|
69
|
+
provideContext2,
|
|
70
|
+
service,
|
|
71
|
+
provideService,
|
|
72
|
+
scope2,
|
|
73
|
+
scoped,
|
|
74
|
+
addFinalizer2,
|
|
75
|
+
ensuring2,
|
|
76
|
+
onError,
|
|
77
|
+
forever,
|
|
78
|
+
forkIn,
|
|
79
|
+
forkScoped,
|
|
80
|
+
logWarning,
|
|
81
|
+
encode2,
|
|
82
|
+
is,
|
|
83
|
+
decodeUnknownEffect2,
|
|
84
|
+
decodeEffect,
|
|
85
|
+
optionalKey,
|
|
86
|
+
Literal,
|
|
87
|
+
String4,
|
|
88
|
+
Struct,
|
|
89
|
+
Record,
|
|
90
|
+
ArraySchema,
|
|
91
|
+
Union,
|
|
92
|
+
isPattern,
|
|
93
|
+
isMinLength,
|
|
94
|
+
isMaxLength,
|
|
95
|
+
fromJsonString,
|
|
96
|
+
toJsonValue,
|
|
97
|
+
isOneOf,
|
|
98
|
+
toJsonObject,
|
|
99
|
+
isBoolean2,
|
|
100
|
+
isNumber2,
|
|
101
|
+
isObject2,
|
|
102
|
+
isJsonObject,
|
|
103
|
+
isString2,
|
|
104
|
+
decodeJsonString,
|
|
105
|
+
encodeJsonStringSync,
|
|
106
|
+
encodePrettyJsonString
|
|
107
|
+
} from "./chunk-zw3gf6r5.js";
|
|
108
|
+
import {
|
|
109
|
+
tap,
|
|
110
|
+
mapError,
|
|
111
|
+
decodeText,
|
|
112
|
+
run,
|
|
113
|
+
mkString,
|
|
114
|
+
FileSystem,
|
|
115
|
+
Path,
|
|
116
|
+
withDefault,
|
|
117
|
+
option,
|
|
118
|
+
String2
|
|
119
|
+
} from "./chunk-hakqpy8z.js";
|
|
2
120
|
import {
|
|
3
121
|
currentTimeMillis,
|
|
4
122
|
SecureRandom,
|
|
@@ -114,132 +232,14 @@ import {
|
|
|
114
232
|
harnessNames,
|
|
115
233
|
herdrRunnerCapabilities2,
|
|
116
234
|
declaredChecks
|
|
117
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-bc8ytp0y.js";
|
|
118
236
|
import {
|
|
119
237
|
Id
|
|
120
238
|
} from "./chunk-q5w3v4k1.js";
|
|
121
|
-
import {
|
|
122
|
-
isTagged,
|
|
123
|
-
none,
|
|
124
|
-
isSome,
|
|
125
|
-
getOrElse,
|
|
126
|
-
getOrUndefined,
|
|
127
|
-
Reference,
|
|
128
|
-
minutes,
|
|
129
|
-
toMillis,
|
|
130
|
-
toMinutes,
|
|
131
|
-
succeed,
|
|
132
|
-
isSuccess,
|
|
133
|
-
TaggedError,
|
|
134
|
-
make16,
|
|
135
|
-
_await,
|
|
136
|
-
fail5,
|
|
137
|
-
succeed5,
|
|
138
|
-
provide2,
|
|
139
|
-
provideMerge,
|
|
140
|
-
squash,
|
|
141
|
-
pretty,
|
|
142
|
-
max2,
|
|
143
|
-
during,
|
|
144
|
-
min2,
|
|
145
|
-
exponential,
|
|
146
|
-
spaced,
|
|
147
|
-
all3,
|
|
148
|
-
forEach,
|
|
149
|
-
promise,
|
|
150
|
-
tryPromise,
|
|
151
|
-
succeed6,
|
|
152
|
-
suspend3,
|
|
153
|
-
sync2,
|
|
154
|
-
void_3,
|
|
155
|
-
undefined_,
|
|
156
|
-
gen,
|
|
157
|
-
fail7,
|
|
158
|
-
try_2,
|
|
159
|
-
fromNullishOr2,
|
|
160
|
-
flatMap3,
|
|
161
|
-
andThen2,
|
|
162
|
-
tap2,
|
|
163
|
-
result,
|
|
164
|
-
map8,
|
|
165
|
-
as,
|
|
166
|
-
asSome2,
|
|
167
|
-
asVoid,
|
|
168
|
-
zipWith,
|
|
169
|
-
catch_,
|
|
170
|
-
catchTag,
|
|
171
|
-
catchTags,
|
|
172
|
-
catchCause2,
|
|
173
|
-
catchIf,
|
|
174
|
-
mapError2,
|
|
175
|
-
tapError2,
|
|
176
|
-
tapCause,
|
|
177
|
-
retry,
|
|
178
|
-
ignore,
|
|
179
|
-
orElseSucceed,
|
|
180
|
-
timeout,
|
|
181
|
-
timeoutOrElse,
|
|
182
|
-
delay,
|
|
183
|
-
sleep,
|
|
184
|
-
raceFirst,
|
|
185
|
-
filterOrFail,
|
|
186
|
-
context,
|
|
187
|
-
provide3,
|
|
188
|
-
provideContext2,
|
|
189
|
-
service,
|
|
190
|
-
provideService,
|
|
191
|
-
scope2,
|
|
192
|
-
scoped,
|
|
193
|
-
addFinalizer2,
|
|
194
|
-
ensuring2,
|
|
195
|
-
onError,
|
|
196
|
-
forever,
|
|
197
|
-
forkIn,
|
|
198
|
-
forkScoped,
|
|
199
|
-
logWarning,
|
|
200
|
-
encode2,
|
|
201
|
-
is,
|
|
202
|
-
decodeUnknownEffect2,
|
|
203
|
-
decodeEffect,
|
|
204
|
-
optionalKey,
|
|
205
|
-
Literal,
|
|
206
|
-
String4,
|
|
207
|
-
Struct,
|
|
208
|
-
Record,
|
|
209
|
-
ArraySchema,
|
|
210
|
-
Union,
|
|
211
|
-
isPattern,
|
|
212
|
-
isMinLength,
|
|
213
|
-
isMaxLength,
|
|
214
|
-
fromJsonString,
|
|
215
|
-
toJsonValue,
|
|
216
|
-
isOneOf,
|
|
217
|
-
toJsonObject,
|
|
218
|
-
isBoolean2,
|
|
219
|
-
isNumber2,
|
|
220
|
-
isObject2,
|
|
221
|
-
isJsonObject,
|
|
222
|
-
isString2,
|
|
223
|
-
decodeJsonString,
|
|
224
|
-
encodeJsonStringSync,
|
|
225
|
-
encodePrettyJsonString
|
|
226
|
-
} from "./chunk-zw3gf6r5.js";
|
|
227
|
-
import {
|
|
228
|
-
tap,
|
|
229
|
-
mapError,
|
|
230
|
-
decodeText,
|
|
231
|
-
run,
|
|
232
|
-
mkString,
|
|
233
|
-
FileSystem,
|
|
234
|
-
Path,
|
|
235
|
-
withDefault,
|
|
236
|
-
option,
|
|
237
|
-
String2
|
|
238
|
-
} from "./chunk-nf9gdnsf.js";
|
|
239
239
|
import {
|
|
240
240
|
ChildProcessSpawner,
|
|
241
241
|
make3
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-84xks8tn.js";
|
|
243
243
|
|
|
244
244
|
// apps/cli/src/cli-error.ts
|
|
245
245
|
function cliErrorCode(error, status) {
|
|
@@ -1020,10 +1020,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1020
1020
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1021
1021
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1022
1022
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1023
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1023
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ynvzbgms.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1024
1024
|
});
|
|
1025
1025
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1026
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1026
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-ynvzbgms.js")), (module) => module.updateHerdrCore(options))
|
|
1027
1027
|
});
|
|
1028
1028
|
var herdrCoreMissing = (error) => {
|
|
1029
1029
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1449,7 +1449,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1449
1449
|
});
|
|
1450
1450
|
var syncKits = (input) => gen(function* () {
|
|
1451
1451
|
const fs = yield* FileSystem;
|
|
1452
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1452
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-be2jf9m3.js"));
|
|
1453
1453
|
const harnesses = yield* syncTargets(input.harness);
|
|
1454
1454
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1455
1455
|
for (const { name, problem } of chain.skipped)
|
|
@@ -2368,7 +2368,7 @@ var package_default = {
|
|
|
2368
2368
|
};
|
|
2369
2369
|
|
|
2370
2370
|
// apps/cli/src/scaffold.ts
|
|
2371
|
-
var cliVersion = "0.13.
|
|
2371
|
+
var cliVersion = "0.13.18";
|
|
2372
2372
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2373
2373
|
name,
|
|
2374
2374
|
private: true,
|
|
@@ -2520,7 +2520,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
2520
2520
|
|
|
2521
2521
|
// apps/cli/src/commands.ts
|
|
2522
2522
|
var ClientId = "kitman-cli";
|
|
2523
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2523
|
+
var agentRuntime = promise(() => import("./chunk-39m1xtbk.js"));
|
|
2524
2524
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2525
2525
|
defaultValue: () => gen(function* () {
|
|
2526
2526
|
const tui = yield* tryPromise({
|
|
@@ -3556,7 +3556,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3556
3556
|
});
|
|
3557
3557
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3558
3558
|
defaultValue: () => (options) => gen(function* () {
|
|
3559
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3559
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-z1rve2hk.js"));
|
|
3560
3560
|
return yield* makeRunnerRpcClient({
|
|
3561
3561
|
runnerId: options.runnerId,
|
|
3562
3562
|
bearer: options.bearer,
|
|
@@ -4123,7 +4123,7 @@ function mcpCommand(args) {
|
|
|
4123
4123
|
if (command.action === "run") {
|
|
4124
4124
|
if (command.args.length > 0)
|
|
4125
4125
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
4126
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
4126
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-7m71m106.js"));
|
|
4127
4127
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
4128
4128
|
}
|
|
4129
4129
|
if (command.action !== "setup")
|
|
@@ -4611,7 +4611,7 @@ function programLoopCommand(command) {
|
|
|
4611
4611
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
4612
4612
|
});
|
|
4613
4613
|
}
|
|
4614
|
-
var docsModule = promise(() => import("./chunk-
|
|
4614
|
+
var docsModule = promise(() => import("./chunk-dc0pcs3z.js"));
|
|
4615
4615
|
function docsCommand(args) {
|
|
4616
4616
|
return gen(function* () {
|
|
4617
4617
|
const command = parseCommand(args);
|
|
@@ -5453,9 +5453,9 @@ function changeRequestCommand(args) {
|
|
|
5453
5453
|
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}`);
|
|
5454
5454
|
});
|
|
5455
5455
|
}
|
|
5456
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
5456
|
+
var KitWriter = map8(promise(() => import("./chunk-fv2v1sdc.js")), (build) => build.writeKit);
|
|
5457
5457
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
5458
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
5458
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-fv2v1sdc.js")), (build) => build.buildKit(directory))
|
|
5459
5459
|
});
|
|
5460
5460
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
5461
5461
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -250,6 +250,15 @@ var makeEquivalence = (equivalence) => {
|
|
|
250
250
|
return (self, that) => is(self, that) && is(that, self);
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
254
|
+
var BigInt2 = globalThis.BigInt;
|
|
255
|
+
var toNumber = (b) => {
|
|
256
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
257
|
+
return none();
|
|
258
|
+
}
|
|
259
|
+
return some(Number(b));
|
|
260
|
+
};
|
|
261
|
+
|
|
253
262
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
254
263
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
255
264
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -3575,4 +3584,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3575
3584
|
...argv
|
|
3576
3585
|
];
|
|
3577
3586
|
|
|
3578
|
-
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, 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, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
3587
|
+
export { map, makeEquivalence, toNumber, 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, 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, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
withDefault,
|
|
4
|
-
String2
|
|
5
|
-
} from "./chunk-nf9gdnsf.js";
|
|
6
|
-
import {
|
|
7
|
-
newerKitmanVersion,
|
|
8
|
-
digestSha256,
|
|
9
|
-
digestSha512,
|
|
10
|
-
digestWith,
|
|
11
|
-
schemaBodyJson,
|
|
12
|
-
filterStatusOk,
|
|
13
|
-
get2,
|
|
14
|
-
layer4,
|
|
15
|
-
KitDigest
|
|
16
|
-
} from "./chunk-zd6y6ka8.js";
|
|
17
2
|
import {
|
|
18
3
|
isString,
|
|
19
4
|
isNone,
|
|
@@ -40,6 +25,21 @@ import {
|
|
|
40
25
|
Int,
|
|
41
26
|
fromJsonString
|
|
42
27
|
} from "./chunk-zw3gf6r5.js";
|
|
28
|
+
import {
|
|
29
|
+
withDefault,
|
|
30
|
+
String2
|
|
31
|
+
} from "./chunk-hakqpy8z.js";
|
|
32
|
+
import {
|
|
33
|
+
newerKitmanVersion,
|
|
34
|
+
digestSha256,
|
|
35
|
+
digestSha512,
|
|
36
|
+
digestWith,
|
|
37
|
+
schemaBodyJson,
|
|
38
|
+
filterStatusOk,
|
|
39
|
+
get2,
|
|
40
|
+
layer4,
|
|
41
|
+
KitDigest
|
|
42
|
+
} from "./chunk-bc8ytp0y.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
WebSocketConstructor,
|
|
4
|
-
layerWebSocketConstructorGlobal,
|
|
5
|
-
layerWebSocket,
|
|
6
|
-
RunnerHeaders,
|
|
7
|
-
RunnerRpcProtocolVersion,
|
|
8
|
-
RunnerReplicaRpcs,
|
|
9
|
-
RunnerRunFileRpcs,
|
|
10
|
-
ProgramRpcs
|
|
11
|
-
} from "./chunk-zd6y6ka8.js";
|
|
12
2
|
import {
|
|
13
3
|
build,
|
|
14
4
|
succeed5,
|
|
@@ -19,13 +9,23 @@ import {
|
|
|
19
9
|
} from "./chunk-zw3gf6r5.js";
|
|
20
10
|
import {
|
|
21
11
|
runForEach
|
|
22
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-hakqpy8z.js";
|
|
13
|
+
import {
|
|
14
|
+
WebSocketConstructor,
|
|
15
|
+
layerWebSocketConstructorGlobal,
|
|
16
|
+
layerWebSocket,
|
|
17
|
+
RunnerHeaders,
|
|
18
|
+
RunnerRpcProtocolVersion,
|
|
19
|
+
RunnerReplicaRpcs,
|
|
20
|
+
RunnerRunFileRpcs,
|
|
21
|
+
ProgramRpcs
|
|
22
|
+
} from "./chunk-bc8ytp0y.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-940cc29s.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path,
|
|
5
|
+
optionalEnv,
|
|
6
|
+
tempDirectoryScoped
|
|
7
|
+
} from "./chunk-hakqpy8z.js";
|
|
2
8
|
import {
|
|
3
9
|
Reference,
|
|
4
10
|
TaggedError,
|
|
@@ -26,20 +32,14 @@ import {
|
|
|
26
32
|
encodePrettyJsonString,
|
|
27
33
|
decodeJsonStringSync
|
|
28
34
|
} from "./chunk-zw3gf6r5.js";
|
|
29
|
-
import {
|
|
30
|
-
FileSystem,
|
|
31
|
-
Path,
|
|
32
|
-
optionalEnv,
|
|
33
|
-
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-nf9gdnsf.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-bc8ytp0y.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-r1s1dcy0.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-84xks8tn.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-bc8ytp0y.js";
|
|
16
|
+
import"./chunk-hakqpy8z.js";
|
|
17
17
|
import"./chunk-zw3gf6r5.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-rp4tn60z.js";
|
|
8
|
+
import"./chunk-940cc29s.js";
|
|
9
|
+
import"./chunk-bc8ytp0y.js";
|
|
10
10
|
import"./chunk-q5w3v4k1.js";
|
|
11
|
-
import"./chunk-
|
|
11
|
+
import"./chunk-hakqpy8z.js";
|
|
12
12
|
import"./chunk-zw3gf6r5.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
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-1cbnvby8.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-gy9rf14f.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-frjsv0ng.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-gqy5shhk.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
replaceSecretReferences,
|
|
4
|
-
secretReferencesIn
|
|
5
|
-
} from "./chunk-q5w3v4k1.js";
|
|
6
2
|
import {
|
|
7
3
|
getOrElse,
|
|
8
4
|
getOrUndefined,
|
|
@@ -18,6 +14,10 @@ import {
|
|
|
18
14
|
decodeJsonStringOption,
|
|
19
15
|
encodeUnknownJsonStringSync
|
|
20
16
|
} from "./chunk-zw3gf6r5.js";
|
|
17
|
+
import {
|
|
18
|
+
replaceSecretReferences,
|
|
19
|
+
secretReferencesIn
|
|
20
|
+
} from "./chunk-q5w3v4k1.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|