@kitman-sh/cli 0.14.6 → 0.14.7
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-hyenk9x1.js → chunk-64zvzv63.js} +6 -6
- package/dist/{chunk-b4ymnz4g.js → chunk-79g5zh2p.js} +2 -2
- package/dist/{chunk-c80dvhxf.js → chunk-8k6adfg7.js} +1 -1
- package/dist/{chunk-n60tz2ah.js → chunk-9yenzg12.js} +18 -18
- package/dist/{chunk-2v47x00x.js → chunk-ag19ejy7.js} +16 -16
- package/dist/{chunk-cg7y7f6e.js → chunk-aj2608jz.js} +329 -131
- package/dist/{chunk-drrpqwtz.js → chunk-b009hdm0.js} +8 -8
- package/dist/{chunk-vt8aqeby.js → chunk-bbf0jzsc.js} +1 -1
- package/dist/{chunk-x1szvb5k.js → chunk-bdd62njv.js} +33 -185
- package/dist/{chunk-wwq069wt.js → chunk-bpx2zjh7.js} +2 -2
- package/dist/{chunk-admtq6ke.js → chunk-bty0mbn4.js} +62 -62
- package/dist/{chunk-thb5bz9d.js → chunk-c9j28q63.js} +13 -13
- package/dist/{chunk-wxvrkx85.js → chunk-cn86thbx.js} +9 -9
- package/dist/{chunk-psvspmpe.js → chunk-d2bqqd9t.js} +8 -8
- package/dist/{chunk-0pw5z0kz.js → chunk-gnhfwa99.js} +1 -1
- package/dist/{chunk-whwwydvq.js → chunk-htxs2z8d.js} +1 -1
- package/dist/{chunk-2re6c3f2.js → chunk-hz4t408c.js} +4 -4
- package/dist/{chunk-19q771ek.js → chunk-jv4p85q5.js} +10 -10
- package/dist/{chunk-s601j5bt.js → chunk-qkh0dhad.js} +3 -3
- package/dist/{chunk-70ghvmwm.js → chunk-rjz0pnf9.js} +4 -4
- package/dist/{chunk-hap4y0ps.js → chunk-s7rhz991.js} +6 -6
- package/dist/{chunk-93xj74qp.js → chunk-w8pevmva.js} +3 -3
- package/dist/{chunk-6ayt58hs.js → chunk-xxx61cda.js} +29 -29
- package/dist/{chunk-cwdrhsvk.js → chunk-y6njjend.js} +2 -2
- package/dist/{chunk-wttgq85b.js → chunk-zpp4jg4a.js} +60 -60
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -118,9 +118,8 @@ import {
|
|
|
118
118
|
decodeJsonStringOption,
|
|
119
119
|
encodeJsonStringSync,
|
|
120
120
|
encodePrettyJsonString
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-zpp4jg4a.js";
|
|
122
122
|
import {
|
|
123
|
-
currentTimeMillis,
|
|
124
123
|
SecureRandom,
|
|
125
124
|
makeUnsafe,
|
|
126
125
|
formatIso,
|
|
@@ -170,8 +169,15 @@ import {
|
|
|
170
169
|
runMcpEffect,
|
|
171
170
|
createAgentAuthSignedFetch,
|
|
172
171
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-aj2608jz.js";
|
|
173
|
+
import {
|
|
174
|
+
guard,
|
|
175
|
+
Id,
|
|
176
|
+
Timestamp,
|
|
177
|
+
ActorType
|
|
178
|
+
} from "./chunk-8k6adfg7.js";
|
|
174
179
|
import {
|
|
180
|
+
currentTimeMillis,
|
|
175
181
|
join,
|
|
176
182
|
interrupt,
|
|
177
183
|
empty2,
|
|
@@ -187,27 +193,21 @@ import {
|
|
|
187
193
|
withDefault,
|
|
188
194
|
option,
|
|
189
195
|
String2
|
|
190
|
-
} from "./chunk-
|
|
191
|
-
import {
|
|
192
|
-
guard,
|
|
193
|
-
Id,
|
|
194
|
-
Timestamp,
|
|
195
|
-
ActorType
|
|
196
|
-
} from "./chunk-c80dvhxf.js";
|
|
196
|
+
} from "./chunk-bdd62njv.js";
|
|
197
197
|
import {
|
|
198
198
|
searchDocs2,
|
|
199
199
|
readDoc2
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-htxs2z8d.js";
|
|
201
201
|
import {
|
|
202
202
|
nextInt
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-bbf0jzsc.js";
|
|
204
204
|
import {
|
|
205
205
|
layerJson,
|
|
206
206
|
make4,
|
|
207
207
|
withHeaders,
|
|
208
208
|
layerProtocolSocket,
|
|
209
209
|
ConnectionHooks
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-9yenzg12.js";
|
|
211
211
|
|
|
212
212
|
// apps/cli/src/mcp.ts
|
|
213
213
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path,
|
|
5
|
-
optionalEnv,
|
|
6
|
-
tempDirectoryScoped
|
|
7
|
-
} from "./chunk-x1szvb5k.js";
|
|
8
2
|
import {
|
|
9
3
|
Reference,
|
|
10
4
|
TaggedError,
|
|
@@ -31,15 +25,21 @@ import {
|
|
|
31
25
|
isString2,
|
|
32
26
|
encodePrettyJsonString,
|
|
33
27
|
decodeJsonStringSync
|
|
34
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-zpp4jg4a.js";
|
|
29
|
+
import {
|
|
30
|
+
FileSystem,
|
|
31
|
+
Path,
|
|
32
|
+
optionalEnv,
|
|
33
|
+
tempDirectoryScoped
|
|
34
|
+
} from "./chunk-bdd62njv.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-aj2608jz.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-qkh0dhad.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -75,16 +75,11 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
runForEach,
|
|
81
|
-
FileSystem
|
|
82
|
-
} from "./chunk-x1szvb5k.js";
|
|
78
|
+
} from "./chunk-zpp4jg4a.js";
|
|
83
79
|
import {
|
|
84
80
|
guard
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-8k6adfg7.js";
|
|
86
82
|
import {
|
|
87
|
-
currentTimeMillis,
|
|
88
83
|
WebCrypto,
|
|
89
84
|
SafeJson,
|
|
90
85
|
AgentSandboxNetwork,
|
|
@@ -109,7 +104,12 @@ import {
|
|
|
109
104
|
KitDigest,
|
|
110
105
|
KitSetup,
|
|
111
106
|
RunnerRpcError
|
|
112
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-aj2608jz.js";
|
|
108
|
+
import {
|
|
109
|
+
currentTimeMillis,
|
|
110
|
+
runForEach,
|
|
111
|
+
FileSystem
|
|
112
|
+
} from "./chunk-bdd62njv.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");
|
|
@@ -1557,7 +1557,7 @@ var pathOfLink = (link) => {
|
|
|
1557
1557
|
return page === null ? link : page[1] || "index";
|
|
1558
1558
|
};
|
|
1559
1559
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
1560
|
-
var pinnedLink2 = (link, version = "0.14.
|
|
1560
|
+
var pinnedLink2 = (link, version = "0.14.7") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
1561
1561
|
var pageOf = (path) => path.split("#")[0];
|
|
1562
1562
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
1563
1563
|
function excerpt(text, queryTerms) {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-b009hdm0.js";
|
|
11
|
+
import"./chunk-79g5zh2p.js";
|
|
12
|
+
import"./chunk-bdd62njv.js";
|
|
13
|
+
import"./chunk-zpp4jg4a.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path
|
|
5
|
-
} from "./chunk-x1szvb5k.js";
|
|
6
2
|
import {
|
|
7
3
|
isObject,
|
|
8
4
|
isUint8Array,
|
|
@@ -17,14 +13,18 @@ import {
|
|
|
17
13
|
isJsonObject,
|
|
18
14
|
decodeJsonString,
|
|
19
15
|
encodePrettyJsonString
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-zpp4jg4a.js";
|
|
17
|
+
import"./chunk-8k6adfg7.js";
|
|
18
|
+
import {
|
|
19
|
+
FileSystem,
|
|
20
|
+
Path
|
|
21
|
+
} from "./chunk-bdd62njv.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-cn86thbx.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
@@ -32,9 +32,9 @@ import {
|
|
|
32
32
|
antigravityPlugins,
|
|
33
33
|
materializeKitSetup,
|
|
34
34
|
tomlInline
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
35
|
+
} from "./chunk-aj2608jz.js";
|
|
36
|
+
import"./chunk-qkh0dhad.js";
|
|
37
|
+
import"./chunk-79g5zh2p.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-zpp4jg4a.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-bdd62njv.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-aj2608jz.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-79g5zh2p.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-aj2608jz.js";
|
|
16
|
+
import"./chunk-bdd62njv.js";
|
|
17
|
+
import"./chunk-zpp4jg4a.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -6,10 +6,7 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
runForEach
|
|
12
|
-
} from "./chunk-x1szvb5k.js";
|
|
9
|
+
} from "./chunk-zpp4jg4a.js";
|
|
13
10
|
import {
|
|
14
11
|
WebSocketConstructor,
|
|
15
12
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +16,16 @@ import {
|
|
|
19
16
|
RunnerReplicaRpcs,
|
|
20
17
|
RunnerRunFileRpcs,
|
|
21
18
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-aj2608jz.js";
|
|
20
|
+
import {
|
|
21
|
+
runForEach
|
|
22
|
+
} from "./chunk-bdd62njv.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-9yenzg12.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-y6njjend.js";
|
|
8
|
+
import"./chunk-8k6adfg7.js";
|
|
9
|
+
import"./chunk-zpp4jg4a.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
succeed,
|
|
13
13
|
isSuccess,
|
|
14
14
|
TaggedError,
|
|
15
|
-
|
|
15
|
+
make15,
|
|
16
16
|
_await,
|
|
17
17
|
fail5,
|
|
18
18
|
succeed5,
|
|
@@ -104,21 +104,8 @@ import {
|
|
|
104
104
|
decodeJsonString,
|
|
105
105
|
encodeJsonStringSync,
|
|
106
106
|
encodePrettyJsonString
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-zpp4jg4a.js";
|
|
108
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-x1szvb5k.js";
|
|
120
|
-
import {
|
|
121
|
-
currentTimeMillis,
|
|
122
109
|
SecureRandom,
|
|
123
110
|
layerWebCrypto,
|
|
124
111
|
runMain,
|
|
@@ -232,14 +219,27 @@ import {
|
|
|
232
219
|
harnessNames,
|
|
233
220
|
herdrRunnerCapabilities2,
|
|
234
221
|
declaredChecks
|
|
235
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-aj2608jz.js";
|
|
236
223
|
import {
|
|
237
224
|
Id
|
|
238
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-8k6adfg7.js";
|
|
226
|
+
import {
|
|
227
|
+
currentTimeMillis,
|
|
228
|
+
tap,
|
|
229
|
+
mapError,
|
|
230
|
+
decodeText,
|
|
231
|
+
run,
|
|
232
|
+
mkString,
|
|
233
|
+
FileSystem,
|
|
234
|
+
Path,
|
|
235
|
+
withDefault,
|
|
236
|
+
option,
|
|
237
|
+
String2
|
|
238
|
+
} from "./chunk-bdd62njv.js";
|
|
239
239
|
import {
|
|
240
240
|
ChildProcessSpawner,
|
|
241
241
|
make3
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-79g5zh2p.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-rjz0pnf9.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-rjz0pnf9.js")), (module) => module.updateHerdrCore(options))
|
|
1027
1027
|
});
|
|
1028
1028
|
var herdrCoreMissing = (error) => {
|
|
1029
1029
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1467,7 +1467,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1467
1467
|
});
|
|
1468
1468
|
var syncKits = (input) => gen(function* () {
|
|
1469
1469
|
const fs = yield* FileSystem;
|
|
1470
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1470
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-jv4p85q5.js"));
|
|
1471
1471
|
const harnesses = yield* syncTargets(input.harness);
|
|
1472
1472
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1473
1473
|
for (const { name, problem } of chain.skipped)
|
|
@@ -2386,7 +2386,7 @@ var package_default = {
|
|
|
2386
2386
|
};
|
|
2387
2387
|
|
|
2388
2388
|
// apps/cli/src/scaffold.ts
|
|
2389
|
-
var cliVersion = "0.14.
|
|
2389
|
+
var cliVersion = "0.14.7";
|
|
2390
2390
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2391
2391
|
name,
|
|
2392
2392
|
private: true,
|
|
@@ -2538,7 +2538,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
2538
2538
|
|
|
2539
2539
|
// apps/cli/src/commands.ts
|
|
2540
2540
|
var ClientId = "kitman-cli";
|
|
2541
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2541
|
+
var agentRuntime = promise(() => import("./chunk-bty0mbn4.js"));
|
|
2542
2542
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2543
2543
|
defaultValue: () => gen(function* () {
|
|
2544
2544
|
const tui = yield* tryPromise({
|
|
@@ -3574,7 +3574,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3574
3574
|
});
|
|
3575
3575
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3576
3576
|
defaultValue: () => (options) => gen(function* () {
|
|
3577
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3577
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-64zvzv63.js"));
|
|
3578
3578
|
return yield* makeRunnerRpcClient({
|
|
3579
3579
|
runnerId: options.runnerId,
|
|
3580
3580
|
bearer: options.bearer,
|
|
@@ -3886,7 +3886,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
3886
3886
|
yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map8(checkouts.reaches(repoBinding), (reachable) => ({ repoBinding, reachable })), { concurrency: 4 })), tap2((probed) => sync2(() => reached = probed)), catch_((error) => logWarning("runner_repository_probe_failed", error.message)), flatMap3(() => sleep(reached.some((probe) => !probe.reachable) ? repositoryRetryInterval : repositoryProbeInterval)), forever, forkScoped);
|
|
3887
3887
|
yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
|
|
3888
3888
|
const platform = yield* context();
|
|
3889
|
-
const updated = yield*
|
|
3889
|
+
const updated = yield* make15();
|
|
3890
3890
|
const scope = yield* scope2;
|
|
3891
3891
|
const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
|
|
3892
3892
|
const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
|
|
@@ -4141,7 +4141,7 @@ function mcpCommand(args) {
|
|
|
4141
4141
|
if (command.action === "run") {
|
|
4142
4142
|
if (command.args.length > 0)
|
|
4143
4143
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
4144
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
4144
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-c9j28q63.js"));
|
|
4145
4145
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
4146
4146
|
}
|
|
4147
4147
|
if (command.action !== "setup")
|
|
@@ -4629,7 +4629,7 @@ function programLoopCommand(command) {
|
|
|
4629
4629
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
4630
4630
|
});
|
|
4631
4631
|
}
|
|
4632
|
-
var docsModule = promise(() => import("./chunk-
|
|
4632
|
+
var docsModule = promise(() => import("./chunk-gnhfwa99.js"));
|
|
4633
4633
|
function docsCommand(args) {
|
|
4634
4634
|
return gen(function* () {
|
|
4635
4635
|
const command = parseCommand(args);
|
|
@@ -5471,9 +5471,9 @@ function changeRequestCommand(args) {
|
|
|
5471
5471
|
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}`);
|
|
5472
5472
|
});
|
|
5473
5473
|
}
|
|
5474
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
5474
|
+
var KitWriter = map8(promise(() => import("./chunk-ag19ejy7.js")), (build) => build.writeKit);
|
|
5475
5475
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
5476
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
5476
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-ag19ejy7.js")), (build) => build.buildKit(directory))
|
|
5477
5477
|
});
|
|
5478
5478
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
5479
5479
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-zpp4jg4a.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-8k6adfg7.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|