@kitman-sh/cli 0.42.2 → 0.43.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-q6qn9c47.js → chunk-0qfaf9h3.js} +111 -266
- package/dist/{chunk-gqgbah9q.js → chunk-27e7m975.js} +6 -6
- package/dist/{chunk-3gax0xq6.js → chunk-6x08g7m6.js} +2 -2
- package/dist/{chunk-sbk4evb4.js → chunk-7ygg19wj.js} +3 -3
- package/dist/{chunk-wre79w3z.js → chunk-8b02x7vv.js} +1 -1
- package/dist/{chunk-re7cr0kk.js → chunk-91tvnb8f.js} +8 -8
- package/dist/{chunk-tpmyf5mk.js → chunk-98azvx6g.js} +1 -1
- package/dist/{chunk-17715h5w.js → chunk-b2btevxm.js} +34 -34
- package/dist/{chunk-y6mjtq6n.js → chunk-bbq7q5r6.js} +8 -8
- package/dist/{chunk-b4td2pgc.js → chunk-bqbfyqx6.js} +61 -61
- package/dist/{chunk-33zd0yt4.js → chunk-bqebfc06.js} +17 -17
- package/dist/{chunk-2bt9e1fj.js → chunk-cnryphhh.js} +5 -5
- package/dist/{chunk-hfy8nmat.js → chunk-d4vhrja4.js} +3 -3
- package/dist/{chunk-qndcafax.js → chunk-ea29sbaq.js} +1 -1
- package/dist/{chunk-sasjamqz.js → chunk-etrfc5cn.js} +178 -29
- package/dist/{chunk-vjkgbsry.js → chunk-fbddgx6q.js} +4 -4
- package/dist/{chunk-t8y2y7ha.js → chunk-fekh3jwz.js} +1 -1
- package/dist/{chunk-r5b36fgg.js → chunk-hgvft7vy.js} +4 -4
- package/dist/{chunk-rc4wvjf2.js → chunk-jq5h43a4.js} +43 -24
- package/dist/{chunk-1w517sym.js → chunk-jvwjreb0.js} +7 -7
- package/dist/{chunk-drw8m50d.js → chunk-ns26fbmk.js} +2 -2
- package/dist/{chunk-hg9y4ykj.js → chunk-qqc567gx.js} +4 -4
- package/dist/{chunk-c3ms91a6.js → chunk-qxpwkb5f.js} +18 -18
- package/dist/{chunk-1gr39h4v.js → chunk-rbt72xjw.js} +2 -2
- package/dist/{chunk-mc0xxx2z.js → chunk-wv8kt4rb.js} +6 -6
- package/dist/{chunk-dhe1fwhw.js → chunk-wy6gmtd9.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-bqbfyqx6.js";
|
|
10
|
+
import {
|
|
11
|
+
runForEach
|
|
12
|
+
} from "./chunk-etrfc5cn.js";
|
|
10
13
|
import {
|
|
11
14
|
WebSocketConstructor,
|
|
12
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +19,13 @@ import {
|
|
|
16
19
|
RunnerReplicaRpcs,
|
|
17
20
|
RunnerRunFileRpcs,
|
|
18
21
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runForEach
|
|
22
|
-
} from "./chunk-sasjamqz.js";
|
|
22
|
+
} from "./chunk-0qfaf9h3.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-qxpwkb5f.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map9,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-bqbfyqx6.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-etrfc5cn.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
37
|
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-bqbfyqx6.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-etrfc5cn.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-0qfaf9h3.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
empty3,
|
|
13
13
|
add,
|
|
14
14
|
getOrUndefined2,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
merge3,
|
|
17
17
|
Reference,
|
|
18
18
|
fromInputUnsafe,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-bqbfyqx6.js";
|
|
142
142
|
import {
|
|
143
143
|
WebCrypto,
|
|
144
144
|
makeUnsafe,
|
|
@@ -175,24 +175,24 @@ import {
|
|
|
175
175
|
StepManifest,
|
|
176
176
|
KitSetup,
|
|
177
177
|
RunnerRpcError
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-0qfaf9h3.js";
|
|
179
179
|
import {
|
|
180
180
|
currentTimeMillis,
|
|
181
181
|
getCurrent,
|
|
182
182
|
runForEach,
|
|
183
183
|
FileSystem
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-etrfc5cn.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-98azvx6g.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-ea29sbaq.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -769,7 +769,7 @@ class Suspended extends (/* @__PURE__ */ Class2("effect/workflow/Workflow/Suspen
|
|
|
769
769
|
[ResultTypeId] = ResultTypeId;
|
|
770
770
|
}
|
|
771
771
|
var wrapActivityResult = (effect, isSuspend) => contextWith((context) => {
|
|
772
|
-
const instance =
|
|
772
|
+
const instance = get4(context, InstanceTag);
|
|
773
773
|
return acquireUseRelease(sync2(() => adoptActivityUnsafe(context, instance) ?? registerActivityUnsafe(instance)), () => effect, (registration, exit) => {
|
|
774
774
|
releaseActivityUnsafe(registration);
|
|
775
775
|
const isSuspended = isSuccess2(exit) && isSuspend(exit.value);
|
|
@@ -1420,7 +1420,7 @@ var scopingActivities = (engine) => ({
|
|
|
1420
1420
|
}),
|
|
1421
1421
|
activityExecute: (activity, attempt) => gen(function* () {
|
|
1422
1422
|
const scope = yield* StepScope;
|
|
1423
|
-
if (scope === "" ||
|
|
1423
|
+
if (scope === "" || get4(activity.annotations, ActivityNamed))
|
|
1424
1424
|
return yield* engine.activityExecute(activity, attempt);
|
|
1425
1425
|
return yield* engine.activityExecute(renamed(activity, scopedName(scope, activity.name)), attempt);
|
|
1426
1426
|
})
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
succeed,
|
|
13
13
|
isSuccess,
|
|
14
14
|
TaggedError,
|
|
15
|
-
|
|
15
|
+
make16,
|
|
16
16
|
_await,
|
|
17
17
|
fail5,
|
|
18
18
|
succeed4,
|
|
@@ -109,7 +109,20 @@ import {
|
|
|
109
109
|
decodeJsonStringOption,
|
|
110
110
|
encodeJsonStringSync,
|
|
111
111
|
encodePrettyJsonString
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-bqbfyqx6.js";
|
|
113
|
+
import {
|
|
114
|
+
currentTimeMillis,
|
|
115
|
+
tap,
|
|
116
|
+
mapError,
|
|
117
|
+
decodeText,
|
|
118
|
+
run,
|
|
119
|
+
mkString,
|
|
120
|
+
FileSystem,
|
|
121
|
+
Path,
|
|
122
|
+
withDefault,
|
|
123
|
+
option,
|
|
124
|
+
String2
|
|
125
|
+
} from "./chunk-etrfc5cn.js";
|
|
113
126
|
import {
|
|
114
127
|
SecureRandom,
|
|
115
128
|
layerWebCrypto,
|
|
@@ -150,7 +163,6 @@ import {
|
|
|
150
163
|
RunDisplayStates,
|
|
151
164
|
RunnerExecutionBackend,
|
|
152
165
|
MaxRunnerConcurrency,
|
|
153
|
-
verificationCap,
|
|
154
166
|
PinnedImage,
|
|
155
167
|
RunnerSettingNames,
|
|
156
168
|
RunnerSettingsUpdate,
|
|
@@ -240,28 +252,15 @@ import {
|
|
|
240
252
|
harnessNames,
|
|
241
253
|
herdrRunnerCapabilities2,
|
|
242
254
|
declaredChecks
|
|
243
|
-
} from "./chunk-
|
|
244
|
-
import {
|
|
245
|
-
currentTimeMillis,
|
|
246
|
-
tap,
|
|
247
|
-
mapError,
|
|
248
|
-
decodeText,
|
|
249
|
-
run,
|
|
250
|
-
mkString,
|
|
251
|
-
FileSystem,
|
|
252
|
-
Path,
|
|
253
|
-
withDefault,
|
|
254
|
-
option,
|
|
255
|
-
String2
|
|
256
|
-
} from "./chunk-sasjamqz.js";
|
|
255
|
+
} from "./chunk-0qfaf9h3.js";
|
|
257
256
|
import {
|
|
258
257
|
ChildProcessSpawner,
|
|
259
258
|
make3
|
|
260
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-6x08g7m6.js";
|
|
261
260
|
import {
|
|
262
261
|
Id,
|
|
263
262
|
Timestamp
|
|
264
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-ea29sbaq.js";
|
|
265
264
|
|
|
266
265
|
// apps/cli/src/cli-error.ts
|
|
267
266
|
function cliErrorCode(error, status) {
|
|
@@ -1329,10 +1328,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1329
1328
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1330
1329
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1331
1330
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1332
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1331
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-qqc567gx.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1333
1332
|
});
|
|
1334
1333
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1335
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1334
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-qqc567gx.js")), (module) => module.updateHerdrCore(options))
|
|
1336
1335
|
});
|
|
1337
1336
|
var herdrCoreMissing = (error) => {
|
|
1338
1337
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1643,7 +1642,7 @@ var runnerUpdater = (input) => {
|
|
|
1643
1642
|
const drain = (version) => gen(function* () {
|
|
1644
1643
|
claiming = false;
|
|
1645
1644
|
const since = yield* currentTimeMillis;
|
|
1646
|
-
const switchNow = yield*
|
|
1645
|
+
const switchNow = yield* make16();
|
|
1647
1646
|
if (version !== undefined)
|
|
1648
1647
|
draining = {
|
|
1649
1648
|
report: {
|
|
@@ -1796,7 +1795,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1796
1795
|
});
|
|
1797
1796
|
var syncKits = (input) => gen(function* () {
|
|
1798
1797
|
const fs = yield* FileSystem;
|
|
1799
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1798
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-jvwjreb0.js"));
|
|
1800
1799
|
const harnesses = yield* syncTargets(input.harness);
|
|
1801
1800
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1802
1801
|
for (const { name, problem } of chain.skipped)
|
|
@@ -3291,7 +3290,7 @@ var shipped_steps_generated_default = {
|
|
|
3291
3290
|
};
|
|
3292
3291
|
|
|
3293
3292
|
// apps/cli/src/scaffold-files.ts
|
|
3294
|
-
var cliVersion = "0.
|
|
3293
|
+
var cliVersion = "0.43.0";
|
|
3295
3294
|
var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
|
|
3296
3295
|
var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
|
|
3297
3296
|
var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
|
|
@@ -3556,7 +3555,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
3556
3555
|
|
|
3557
3556
|
// apps/cli/src/commands.ts
|
|
3558
3557
|
var ClientId = "kitman-cli";
|
|
3559
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
3558
|
+
var agentRuntime = promise(() => import("./chunk-jq5h43a4.js"));
|
|
3560
3559
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
3561
3560
|
defaultValue: () => gen(function* () {
|
|
3562
3561
|
const tui = yield* tryPromise({
|
|
@@ -5095,7 +5094,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
5095
5094
|
});
|
|
5096
5095
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
5097
5096
|
defaultValue: () => (options) => gen(function* () {
|
|
5098
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
5097
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-wv8kt4rb.js"));
|
|
5099
5098
|
return yield* makeRunnerRpcClient({
|
|
5100
5099
|
runnerId: options.runnerId,
|
|
5101
5100
|
bearer: options.bearer,
|
|
@@ -5206,6 +5205,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
5206
5205
|
harnessesInSrt,
|
|
5207
5206
|
homeDirectories,
|
|
5208
5207
|
checkThreadBudget,
|
|
5208
|
+
runnerVerificationCap,
|
|
5209
5209
|
kitmanBundles,
|
|
5210
5210
|
kitmanMcpPreflight,
|
|
5211
5211
|
lacksLoginSecret,
|
|
@@ -5367,7 +5367,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
5367
5367
|
} : undefined;
|
|
5368
5368
|
const appliedSettings = () => ({
|
|
5369
5369
|
concurrency: live.settings.concurrency,
|
|
5370
|
-
verificationConcurrency:
|
|
5370
|
+
verificationConcurrency: runnerVerificationCap(live.settings),
|
|
5371
5371
|
sandbox: live.sandbox,
|
|
5372
5372
|
dockerImage: settings.dockerImage,
|
|
5373
5373
|
checkHosts: live.settings.checkHosts,
|
|
@@ -5421,7 +5421,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
5421
5421
|
bearer: controlPlane.rpcBearer
|
|
5422
5422
|
}).pipe(tap2((opened) => opened.settledRuns([])))));
|
|
5423
5423
|
const signals = yield* makeReplicaSignals;
|
|
5424
|
-
const verifications = verificationPermits(sync2(() =>
|
|
5424
|
+
const verifications = verificationPermits(sync2(() => runnerVerificationCap(live.settings)));
|
|
5425
5425
|
const heartbeat = (beat) => flatMap3(verifications.full, (full) => rpc.heartbeat(full ? { ...beat, takesVerifications: false } : beat));
|
|
5426
5426
|
const bundles = yield* kitmanBundles({
|
|
5427
5427
|
fetch: (digest) => rpc.bundle(digest).pipe(map9((found) => found.bundle)),
|
|
@@ -5431,7 +5431,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
5431
5431
|
yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map9(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);
|
|
5432
5432
|
yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
|
|
5433
5433
|
const platform = yield* context();
|
|
5434
|
-
const updated = yield*
|
|
5434
|
+
const updated = yield* make16();
|
|
5435
5435
|
const scope = yield* scope2;
|
|
5436
5436
|
const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
|
|
5437
5437
|
const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
|
|
@@ -5695,7 +5695,7 @@ function mcpCommand(args) {
|
|
|
5695
5695
|
if (command.action === "run") {
|
|
5696
5696
|
if (command.args.length > 0)
|
|
5697
5697
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
5698
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
5698
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-bbq7q5r6.js"));
|
|
5699
5699
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
5700
5700
|
}
|
|
5701
5701
|
if (command.action !== "setup")
|
|
@@ -6195,7 +6195,7 @@ function programLoopCommand(command) {
|
|
|
6195
6195
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
6196
6196
|
});
|
|
6197
6197
|
}
|
|
6198
|
-
var docsModule = promise(() => import("./chunk-
|
|
6198
|
+
var docsModule = promise(() => import("./chunk-fekh3jwz.js"));
|
|
6199
6199
|
function docsCommand(args) {
|
|
6200
6200
|
return gen(function* () {
|
|
6201
6201
|
const command = parseCommand(args);
|
|
@@ -7199,7 +7199,7 @@ function changeRequestCommand(args) {
|
|
|
7199
7199
|
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}`);
|
|
7200
7200
|
});
|
|
7201
7201
|
}
|
|
7202
|
-
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-
|
|
7202
|
+
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-bqebfc06.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7203
7203
|
var loopOutline = (command) => gen(function* () {
|
|
7204
7204
|
const path = yield* Path;
|
|
7205
7205
|
const loop = requiredArg(command, "a Loop id");
|
|
@@ -7219,9 +7219,9 @@ var loopOutline = (command) => gen(function* () {
|
|
|
7219
7219
|
`).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7220
7220
|
yield* log(`Wrote the outline of ${loop} to ${out}`);
|
|
7221
7221
|
});
|
|
7222
|
-
var KitWriter = map9(promise(() => import("./chunk-
|
|
7222
|
+
var KitWriter = map9(promise(() => import("./chunk-bqebfc06.js")), (build) => build.writeKit);
|
|
7223
7223
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
7224
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
7224
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-bqebfc06.js")), (build) => build.buildKit(directory))
|
|
7225
7225
|
});
|
|
7226
7226
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
7227
7227
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
decodeJsonStringOption,
|
|
119
119
|
encodeJsonStringSync,
|
|
120
120
|
encodePrettyJsonString
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-bqbfyqx6.js";
|
|
122
122
|
import {
|
|
123
123
|
SecureRandom,
|
|
124
124
|
makeUnsafe,
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runMcpEffect,
|
|
171
171
|
createAgentAuthSignedFetch,
|
|
172
172
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-0qfaf9h3.js";
|
|
174
174
|
import {
|
|
175
175
|
currentTimeMillis,
|
|
176
176
|
join,
|
|
@@ -188,30 +188,30 @@ import {
|
|
|
188
188
|
withDefault,
|
|
189
189
|
option,
|
|
190
190
|
String2
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-etrfc5cn.js";
|
|
192
192
|
import {
|
|
193
193
|
searchDocs2,
|
|
194
194
|
readDoc2
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-rbt72xjw.js";
|
|
196
196
|
import {
|
|
197
197
|
nextInt
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-8b02x7vv.js";
|
|
199
199
|
import {
|
|
200
200
|
recommendationProblem
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-98azvx6g.js";
|
|
202
202
|
import {
|
|
203
203
|
layerJson,
|
|
204
204
|
make4,
|
|
205
205
|
withHeaders,
|
|
206
206
|
layerProtocolSocket,
|
|
207
207
|
ConnectionHooks
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-qxpwkb5f.js";
|
|
209
209
|
import {
|
|
210
210
|
guard,
|
|
211
211
|
Id,
|
|
212
212
|
Timestamp,
|
|
213
213
|
ActorType
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-ea29sbaq.js";
|
|
215
215
|
|
|
216
216
|
// apps/cli/src/mcp.ts
|
|
217
217
|
import { tmpdir as tmpdir2 } from "os";
|