@kitman-sh/cli 0.53.0 → 0.54.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-c9vcvseh.js → chunk-0my9yc76.js} +69 -69
- package/dist/{chunk-stx87en6.js → chunk-0yqsrr9j.js} +4 -4
- package/dist/{chunk-38prvh9d.js → chunk-176b6p9g.js} +101 -29
- package/dist/{chunk-7enqpa5x.js → chunk-47ftjd7j.js} +38 -20
- package/dist/{chunk-1zvfqdby.js → chunk-7eqzzcvj.js} +19 -9
- package/dist/{chunk-brbym443.js → chunk-b0zap0sc.js} +2 -2
- package/dist/{chunk-ab7r6p1s.js → chunk-ctrk0mrt.js} +4 -6
- package/dist/{chunk-n381rqax.js → chunk-e4ced6vj.js} +13 -157
- package/dist/{chunk-qfwhsqej.js → chunk-fd9cfazr.js} +3 -3
- package/dist/{chunk-jwr750jd.js → chunk-h52fkf0n.js} +20 -20
- package/dist/{chunk-apv9h5tz.js → chunk-hnfq9egr.js} +1 -1
- package/dist/{chunk-k1fdsn2c.js → chunk-hs9frges.js} +2 -2
- package/dist/{chunk-hyaq30ne.js → chunk-jz2b3htb.js} +170 -21
- package/dist/{chunk-ag79vvjy.js → chunk-keveyqbv.js} +4 -4
- package/dist/{chunk-5bpp6k0h.js → chunk-kpgkhx9j.js} +3 -3
- package/dist/{chunk-c6yxzkz2.js → chunk-p77428sa.js} +1 -1
- package/dist/{chunk-n00cpb86.js → chunk-q22ar0q6.js} +2 -2
- package/dist/{chunk-vdaq7292.js → chunk-sygnhza2.js} +10 -10
- package/dist/{chunk-cy13pst5.js → chunk-t94stfev.js} +9 -9
- package/dist/{chunk-jh5vjc8h.js → chunk-wsm4adrn.js} +1 -1
- package/dist/{chunk-e627b064.js → chunk-xfhrsdc6.js} +10 -12
- package/dist/{chunk-y52g539d.js → chunk-xs1cdxfn.js} +4 -4
- package/dist/{chunk-5tgpa02q.js → chunk-xwte7af6.js} +1 -1
- package/dist/{chunk-72ht3484.js → chunk-yn5c3tzd.js} +10 -10
- package/dist/{chunk-8r9k7pqk.js → chunk-z1d5jx6m.js} +3 -9
- package/dist/{chunk-7y50jhm7.js → chunk-zs1maxqg.js} +6 -6
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -109,8 +109,9 @@ import {
|
|
|
109
109
|
decodeJsonStringOption,
|
|
110
110
|
encodeJsonStringSync,
|
|
111
111
|
encodePrettyJsonString
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-e4ced6vj.js";
|
|
113
113
|
import {
|
|
114
|
+
currentTimeMillis,
|
|
114
115
|
tap,
|
|
115
116
|
mapError,
|
|
116
117
|
decodeText,
|
|
@@ -121,12 +122,7 @@ import {
|
|
|
121
122
|
withDefault,
|
|
122
123
|
option,
|
|
123
124
|
String2
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import {
|
|
126
|
-
currentTimeMillis,
|
|
127
|
-
ChildProcessSpawner,
|
|
128
|
-
make2
|
|
129
|
-
} from "./chunk-8r9k7pqk.js";
|
|
125
|
+
} from "./chunk-jz2b3htb.js";
|
|
130
126
|
import {
|
|
131
127
|
SecureRandom,
|
|
132
128
|
layerWebCrypto,
|
|
@@ -257,11 +253,15 @@ import {
|
|
|
257
253
|
harnessNames,
|
|
258
254
|
herdrRunnerCapabilities2,
|
|
259
255
|
declaredChecks
|
|
260
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-7eqzzcvj.js";
|
|
257
|
+
import {
|
|
258
|
+
ChildProcessSpawner,
|
|
259
|
+
make2
|
|
260
|
+
} from "./chunk-z1d5jx6m.js";
|
|
261
261
|
import {
|
|
262
262
|
Id,
|
|
263
263
|
Timestamp
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-xwte7af6.js";
|
|
265
265
|
|
|
266
266
|
// apps/cli/src/cli-error.ts
|
|
267
267
|
function cliErrorCode(error, status) {
|
|
@@ -1329,10 +1329,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1329
1329
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1330
1330
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1331
1331
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1332
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1332
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-xs1cdxfn.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1333
1333
|
});
|
|
1334
1334
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1335
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1335
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-xs1cdxfn.js")), (module) => module.updateHerdrCore(options))
|
|
1336
1336
|
});
|
|
1337
1337
|
var herdrCoreMissing = (error) => {
|
|
1338
1338
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1799,7 +1799,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1799
1799
|
});
|
|
1800
1800
|
var syncKits = (input) => gen(function* () {
|
|
1801
1801
|
const fs = yield* FileSystem;
|
|
1802
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1802
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-sygnhza2.js"));
|
|
1803
1803
|
const harnesses = yield* syncTargets(input.harness);
|
|
1804
1804
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1805
1805
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1983,6 +1983,23 @@ function queryString(query) {
|
|
|
1983
1983
|
var indent = (text, by) => text.split(`
|
|
1984
1984
|
`).map((line) => line === "" ? "" : `${by}${line}`).join(`
|
|
1985
1985
|
`);
|
|
1986
|
+
var terminalControl = /[\p{Cc}\u2028\u2029\u202A-\u202E\u2066-\u2069]/gu;
|
|
1987
|
+
var visible = (control) => `\\u{${control.codePointAt(0)?.toString(16)}}`;
|
|
1988
|
+
var valueLines = (value, by) => value.split(/\r\n|\r|\n/).map((line) => `${by}${line.replaceAll(terminalControl, visible)}`);
|
|
1989
|
+
var splitLines = (split) => [
|
|
1990
|
+
" Split would move these acceptance criteria to new Tasks",
|
|
1991
|
+
...split.entries.flatMap((entry, index) => [
|
|
1992
|
+
` New Task ${index + 1} of ${split.entries.length}`,
|
|
1993
|
+
" Title:",
|
|
1994
|
+
...valueLines(entry.title, " "),
|
|
1995
|
+
" Promise:",
|
|
1996
|
+
...valueLines(entry.promise, " "),
|
|
1997
|
+
...entry.criteria.flatMap((criterion, at) => [
|
|
1998
|
+
` Criterion ${at + 1} of ${entry.criteria.length}:`,
|
|
1999
|
+
...valueLines(criterion, " ")
|
|
2000
|
+
])
|
|
2001
|
+
])
|
|
2002
|
+
];
|
|
1986
2003
|
var takesWords = (question) => question.freeText === true || !question.options?.length;
|
|
1987
2004
|
var enterAnswer = (question) => {
|
|
1988
2005
|
const { recommended, options } = question;
|
|
@@ -1997,6 +2014,7 @@ var questionLines = (question) => {
|
|
|
1997
2014
|
return [
|
|
1998
2015
|
`Question ${question.stepKey}:`,
|
|
1999
2016
|
indent(question.prompt, " "),
|
|
2017
|
+
...question.split === undefined ? [] : splitLines(question.split),
|
|
2000
2018
|
...options.flatMap((option, index) => {
|
|
2001
2019
|
const description = question.optionDescriptions?.[option];
|
|
2002
2020
|
const isRecommended = option === recommended;
|
|
@@ -3295,7 +3313,7 @@ var shipped_steps_generated_default = {
|
|
|
3295
3313
|
};
|
|
3296
3314
|
|
|
3297
3315
|
// apps/cli/src/scaffold-files.ts
|
|
3298
|
-
var cliVersion = "0.
|
|
3316
|
+
var cliVersion = "0.54.0";
|
|
3299
3317
|
var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
|
|
3300
3318
|
var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
|
|
3301
3319
|
var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
|
|
@@ -3560,7 +3578,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
3560
3578
|
|
|
3561
3579
|
// apps/cli/src/commands.ts
|
|
3562
3580
|
var ClientId = "kitman-cli";
|
|
3563
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
3581
|
+
var agentRuntime = promise(() => import("./chunk-0my9yc76.js"));
|
|
3564
3582
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
3565
3583
|
defaultValue: () => gen(function* () {
|
|
3566
3584
|
const tui = yield* tryPromise({
|
|
@@ -5099,7 +5117,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
5099
5117
|
});
|
|
5100
5118
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
5101
5119
|
defaultValue: () => (options) => gen(function* () {
|
|
5102
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
5120
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-zs1maxqg.js"));
|
|
5103
5121
|
return yield* makeRunnerRpcClient({
|
|
5104
5122
|
runnerId: options.runnerId,
|
|
5105
5123
|
bearer: options.bearer,
|
|
@@ -5711,7 +5729,7 @@ function mcpCommand(args) {
|
|
|
5711
5729
|
if (command.action === "run") {
|
|
5712
5730
|
if (command.args.length > 0)
|
|
5713
5731
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
5714
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
5732
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-176b6p9g.js"));
|
|
5715
5733
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
5716
5734
|
}
|
|
5717
5735
|
if (command.action !== "setup")
|
|
@@ -6211,7 +6229,7 @@ function programLoopCommand(command) {
|
|
|
6211
6229
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
6212
6230
|
});
|
|
6213
6231
|
}
|
|
6214
|
-
var docsModule = promise(() => import("./chunk-
|
|
6232
|
+
var docsModule = promise(() => import("./chunk-wsm4adrn.js"));
|
|
6215
6233
|
function docsCommand(args) {
|
|
6216
6234
|
return gen(function* () {
|
|
6217
6235
|
const command = parseCommand(args);
|
|
@@ -7222,7 +7240,7 @@ function changeRequestCommand(args) {
|
|
|
7222
7240
|
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}`);
|
|
7223
7241
|
});
|
|
7224
7242
|
}
|
|
7225
|
-
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-
|
|
7243
|
+
var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-h52fkf0n.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7226
7244
|
var loopOutline = (command) => gen(function* () {
|
|
7227
7245
|
const path = yield* Path;
|
|
7228
7246
|
const loop = requiredArg(command, "a Loop id");
|
|
@@ -7242,9 +7260,9 @@ var loopOutline = (command) => gen(function* () {
|
|
|
7242
7260
|
`).pipe(mapError2((error) => new CliError({ message: error.message })));
|
|
7243
7261
|
yield* log(`Wrote the outline of ${loop} to ${out}`);
|
|
7244
7262
|
});
|
|
7245
|
-
var KitWriter = map9(promise(() => import("./chunk-
|
|
7263
|
+
var KitWriter = map9(promise(() => import("./chunk-h52fkf0n.js")), (build) => build.writeKit);
|
|
7246
7264
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
7247
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
7265
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-h52fkf0n.js")), (build) => build.buildKit(directory))
|
|
7248
7266
|
});
|
|
7249
7267
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
7250
7268
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -191,8 +191,6 @@ import {
|
|
|
191
191
|
clockWith,
|
|
192
192
|
logError,
|
|
193
193
|
effectify,
|
|
194
|
-
toNumber,
|
|
195
|
-
bytes,
|
|
196
194
|
decode,
|
|
197
195
|
isRedacted,
|
|
198
196
|
make16,
|
|
@@ -268,10 +266,14 @@ import {
|
|
|
268
266
|
decodeJsonStringOption,
|
|
269
267
|
encodeJsonStringSync,
|
|
270
268
|
encodePrettyJsonString
|
|
271
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-e4ced6vj.js";
|
|
272
270
|
import {
|
|
273
271
|
map,
|
|
274
272
|
makeEquivalence,
|
|
273
|
+
Clock,
|
|
274
|
+
currentTimeMillis,
|
|
275
|
+
toNumber,
|
|
276
|
+
bytes,
|
|
275
277
|
BadArgument,
|
|
276
278
|
systemError,
|
|
277
279
|
badArgument,
|
|
@@ -335,10 +337,8 @@ import {
|
|
|
335
337
|
optionalEnv,
|
|
336
338
|
harnessesUnsupportedInSrt2,
|
|
337
339
|
harnessesUnsupportedInDocker2
|
|
338
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-jz2b3htb.js";
|
|
339
341
|
import {
|
|
340
|
-
Clock,
|
|
341
|
-
currentTimeMillis,
|
|
342
342
|
ExitCode,
|
|
343
343
|
ProcessId,
|
|
344
344
|
makeHandle,
|
|
@@ -348,7 +348,7 @@ import {
|
|
|
348
348
|
make2,
|
|
349
349
|
parseFdName,
|
|
350
350
|
fdName
|
|
351
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-z1d5jx6m.js";
|
|
352
352
|
import {
|
|
353
353
|
isDateTime,
|
|
354
354
|
Numeric,
|
|
@@ -361,7 +361,7 @@ import {
|
|
|
361
361
|
SecretScope,
|
|
362
362
|
SecretHosts,
|
|
363
363
|
isSecretReference
|
|
364
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-xwte7af6.js";
|
|
365
365
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
366
366
|
var makeEquivalence3 = Tuple;
|
|
367
367
|
|
|
@@ -7375,6 +7375,15 @@ var QuestionAnswer = Struct({
|
|
|
7375
7375
|
answeredAt: Timestamp,
|
|
7376
7376
|
idempotencyKey: String4.check(isMinLength(1), isMaxLength(240))
|
|
7377
7377
|
});
|
|
7378
|
+
var QuestionSplitEntry = Struct({
|
|
7379
|
+
title: String4.check(isMinLength(1), isMaxLength(240)),
|
|
7380
|
+
promise: QuestionText,
|
|
7381
|
+
criteria: ArraySchema(QuestionText).check(isMinLength(1))
|
|
7382
|
+
});
|
|
7383
|
+
var QuestionSplit = Struct({
|
|
7384
|
+
taskId: Id,
|
|
7385
|
+
entries: ArraySchema(QuestionSplitEntry).check(isMinLength(1))
|
|
7386
|
+
});
|
|
7378
7387
|
var Question = Struct({
|
|
7379
7388
|
id: Id,
|
|
7380
7389
|
workspaceId: Id,
|
|
@@ -7392,6 +7401,7 @@ var Question = Struct({
|
|
|
7392
7401
|
recommended: optionalKey(QuestionText),
|
|
7393
7402
|
recommendationReason: optionalKey(QuestionText),
|
|
7394
7403
|
informationOnly: optionalKey(Boolean2),
|
|
7404
|
+
split: optionalKey(QuestionSplit),
|
|
7395
7405
|
default: optionalKey(LoopSafeText),
|
|
7396
7406
|
defaultAt: optionalKey(Timestamp),
|
|
7397
7407
|
responderPolicy: QuestionResponderPolicy,
|
|
@@ -18076,4 +18086,4 @@ function serviceChecks(declaration) {
|
|
|
18076
18086
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
18077
18087
|
}
|
|
18078
18088
|
|
|
18079
|
-
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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, decodeAnswerSchema, answerAccepts, answerProblem, answerValue, loopSafeTextMaxLength, recommendedDefault, isLoopSafeText, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, programCrashOutputChars, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, verificationCap, PinnedImage, RunnerSettings, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepLogDirFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, WorkAvailable, 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, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
|
|
18089
|
+
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, redactCredentialText, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, decodeAnswerSchema, answerAccepts, answerProblem, answerValue, loopSafeTextMaxLength, recommendedDefault, isLoopSafeText, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, programCrashOutputChars, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, verificationCap, PinnedImage, RunnerSettings, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepLogDirFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, WorkAvailable, 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, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-jz2b3htb.js";
|
|
19
|
+
import"./chunk-e4ced6vj.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -96,8 +96,9 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-e4ced6vj.js";
|
|
100
100
|
import {
|
|
101
|
+
Clock,
|
|
101
102
|
interrupt,
|
|
102
103
|
getCurrent,
|
|
103
104
|
makeUnsafe2,
|
|
@@ -108,7 +109,7 @@ import {
|
|
|
108
109
|
shutdownUnsafe,
|
|
109
110
|
fromQueue,
|
|
110
111
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-jz2b3htb.js";
|
|
112
113
|
import {
|
|
113
114
|
empty,
|
|
114
115
|
fromInput,
|
|
@@ -122,10 +123,7 @@ import {
|
|
|
122
123
|
ParseOptions,
|
|
123
124
|
RpcClientDefect,
|
|
124
125
|
RpcClientError
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import {
|
|
127
|
-
Clock
|
|
128
|
-
} from "./chunk-8r9k7pqk.js";
|
|
126
|
+
} from "./chunk-7eqzzcvj.js";
|
|
129
127
|
|
|
130
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
131
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -5832,150 +5832,6 @@ var flatMapEager = flatMapEager2;
|
|
|
5832
5832
|
var catchEager = catchEager2;
|
|
5833
5833
|
var fnUntracedEager2 = fnUntracedEager;
|
|
5834
5834
|
|
|
5835
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
5836
|
-
var BigInt2 = globalThis.BigInt;
|
|
5837
|
-
var toNumber = (b) => {
|
|
5838
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
5839
|
-
return none();
|
|
5840
|
-
}
|
|
5841
|
-
return some(Number(b));
|
|
5842
|
-
};
|
|
5843
|
-
|
|
5844
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
5845
|
-
var bigint03 = /* @__PURE__ */ BigInt(0);
|
|
5846
|
-
var bigint12 = /* @__PURE__ */ BigInt(1);
|
|
5847
|
-
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
5848
|
-
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
5849
|
-
var decimalUnits = [{
|
|
5850
|
-
symbol: "B",
|
|
5851
|
-
factor: bigint12,
|
|
5852
|
-
names: ["B", "byte", "bytes"]
|
|
5853
|
-
}, {
|
|
5854
|
-
symbol: "kB",
|
|
5855
|
-
factor: decimalBase,
|
|
5856
|
-
names: ["kB", "kilobyte", "kilobytes"]
|
|
5857
|
-
}, {
|
|
5858
|
-
symbol: "MB",
|
|
5859
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
5860
|
-
names: ["MB", "megabyte", "megabytes"]
|
|
5861
|
-
}, {
|
|
5862
|
-
symbol: "GB",
|
|
5863
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
5864
|
-
names: ["GB", "gigabyte", "gigabytes"]
|
|
5865
|
-
}, {
|
|
5866
|
-
symbol: "TB",
|
|
5867
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
5868
|
-
names: ["TB", "terabyte", "terabytes"]
|
|
5869
|
-
}, {
|
|
5870
|
-
symbol: "PB",
|
|
5871
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
5872
|
-
names: ["PB", "petabyte", "petabytes"]
|
|
5873
|
-
}, {
|
|
5874
|
-
symbol: "EB",
|
|
5875
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
5876
|
-
names: ["EB", "exabyte", "exabytes"]
|
|
5877
|
-
}, {
|
|
5878
|
-
symbol: "ZB",
|
|
5879
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
5880
|
-
names: ["ZB", "zettabyte", "zettabytes"]
|
|
5881
|
-
}, {
|
|
5882
|
-
symbol: "YB",
|
|
5883
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
5884
|
-
names: ["YB", "yottabyte", "yottabytes"]
|
|
5885
|
-
}, {
|
|
5886
|
-
symbol: "RB",
|
|
5887
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
5888
|
-
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
5889
|
-
}, {
|
|
5890
|
-
symbol: "QB",
|
|
5891
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
5892
|
-
names: ["QB", "quettabyte", "quettabytes"]
|
|
5893
|
-
}];
|
|
5894
|
-
var binaryUnits = [decimalUnits[0], {
|
|
5895
|
-
symbol: "KiB",
|
|
5896
|
-
factor: binaryBase,
|
|
5897
|
-
names: ["KiB", "kibibyte", "kibibytes"]
|
|
5898
|
-
}, {
|
|
5899
|
-
symbol: "MiB",
|
|
5900
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
5901
|
-
names: ["MiB", "mebibyte", "mebibytes"]
|
|
5902
|
-
}, {
|
|
5903
|
-
symbol: "GiB",
|
|
5904
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
5905
|
-
names: ["GiB", "gibibyte", "gibibytes"]
|
|
5906
|
-
}, {
|
|
5907
|
-
symbol: "TiB",
|
|
5908
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
5909
|
-
names: ["TiB", "tebibyte", "tebibytes"]
|
|
5910
|
-
}, {
|
|
5911
|
-
symbol: "PiB",
|
|
5912
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
5913
|
-
names: ["PiB", "pebibyte", "pebibytes"]
|
|
5914
|
-
}, {
|
|
5915
|
-
symbol: "EiB",
|
|
5916
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
5917
|
-
names: ["EiB", "exbibyte", "exbibytes"]
|
|
5918
|
-
}, {
|
|
5919
|
-
symbol: "ZiB",
|
|
5920
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
5921
|
-
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
5922
|
-
}, {
|
|
5923
|
-
symbol: "YiB",
|
|
5924
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
5925
|
-
names: ["YiB", "yobibyte", "yobibytes"]
|
|
5926
|
-
}];
|
|
5927
|
-
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
5928
|
-
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
5929
|
-
var make4 = (value) => value;
|
|
5930
|
-
var invalid2 = (message) => {
|
|
5931
|
-
throw new Error(`Invalid ByteSize: ${message}`);
|
|
5932
|
-
};
|
|
5933
|
-
var fromNumber = (input) => {
|
|
5934
|
-
if (!Number.isSafeInteger(input) || input < 0) {
|
|
5935
|
-
return invalid2(`expected a non-negative safe integer, received ${input}`);
|
|
5936
|
-
}
|
|
5937
|
-
return make4(BigInt(input));
|
|
5938
|
-
};
|
|
5939
|
-
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
5940
|
-
var scaleDecimal = (quantity, factor) => {
|
|
5941
|
-
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
5942
|
-
if (match === null)
|
|
5943
|
-
return;
|
|
5944
|
-
const fraction = match[2] ?? "";
|
|
5945
|
-
const numerator = BigInt(match[1] + fraction) * factor;
|
|
5946
|
-
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
5947
|
-
if (shift >= 0)
|
|
5948
|
-
return numerator * BigInt(10) ** BigInt(shift);
|
|
5949
|
-
const scale = BigInt(10) ** BigInt(-shift);
|
|
5950
|
-
return numerator % scale === bigint03 ? numerator / scale : undefined;
|
|
5951
|
-
};
|
|
5952
|
-
var fromStringUnsafe = (input) => {
|
|
5953
|
-
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
5954
|
-
if (match === null)
|
|
5955
|
-
return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
|
|
5956
|
-
const unit = unitsByName.get(match[2]);
|
|
5957
|
-
if (unit === undefined)
|
|
5958
|
-
return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
5959
|
-
const value = scaleDecimal(match[1], unit.factor);
|
|
5960
|
-
if (value === undefined)
|
|
5961
|
-
return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
5962
|
-
return make4(value);
|
|
5963
|
-
};
|
|
5964
|
-
var fromInputUnsafe2 = (input) => {
|
|
5965
|
-
switch (typeof input) {
|
|
5966
|
-
case "bigint":
|
|
5967
|
-
if (input < bigint03)
|
|
5968
|
-
return invalid2(`expected a non-negative bigint, received ${input}`);
|
|
5969
|
-
return make4(input);
|
|
5970
|
-
case "number":
|
|
5971
|
-
return fromNumber(input);
|
|
5972
|
-
case "string":
|
|
5973
|
-
return fromStringUnsafe(input);
|
|
5974
|
-
}
|
|
5975
|
-
return invalid2(`unsupported input ${input}`);
|
|
5976
|
-
};
|
|
5977
|
-
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
5978
|
-
|
|
5979
5835
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
|
|
5980
5836
|
var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
|
|
5981
5837
|
var decode = (str) => {
|
|
@@ -8676,7 +8532,7 @@ function compile(ast, compile, compileField, base, specialize) {
|
|
|
8676
8532
|
}
|
|
8677
8533
|
|
|
8678
8534
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
|
|
8679
|
-
var
|
|
8535
|
+
var invalid2 = /* @__PURE__ */ Symbol();
|
|
8680
8536
|
var cache = /* @__PURE__ */ new WeakMap;
|
|
8681
8537
|
var compiler;
|
|
8682
8538
|
var compilerAdaptersEnabled = false;
|
|
@@ -8751,7 +8607,7 @@ function withDecode(fastDecode, decodeEffect) {
|
|
|
8751
8607
|
if (input !== missing) {
|
|
8752
8608
|
try {
|
|
8753
8609
|
const value = fastDecode(input, options);
|
|
8754
|
-
if (value !==
|
|
8610
|
+
if (value !== invalid2)
|
|
8755
8611
|
return value === input ? sameExit : succeed8(value);
|
|
8756
8612
|
} catch (error) {
|
|
8757
8613
|
return die3(error);
|
|
@@ -8801,7 +8657,7 @@ function makeOption(schema) {
|
|
|
8801
8657
|
return none();
|
|
8802
8658
|
};
|
|
8803
8659
|
}
|
|
8804
|
-
function
|
|
8660
|
+
function make4(schema) {
|
|
8805
8661
|
return makeConstructorSync(toType2(schema.ast));
|
|
8806
8662
|
}
|
|
8807
8663
|
function is2(schema) {
|
|
@@ -8948,7 +8804,7 @@ function constructSync(entry, input, options) {
|
|
|
8948
8804
|
} catch (error) {
|
|
8949
8805
|
throwConstructorDefect(error);
|
|
8950
8806
|
}
|
|
8951
|
-
if (output !==
|
|
8807
|
+
if (output !== invalid2 && output !== missing)
|
|
8952
8808
|
return output;
|
|
8953
8809
|
}
|
|
8954
8810
|
return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
|
|
@@ -8977,7 +8833,7 @@ var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
|
8977
8833
|
var SchemaProto = {
|
|
8978
8834
|
[TypeId12]: TypeId12,
|
|
8979
8835
|
get make() {
|
|
8980
|
-
const value =
|
|
8836
|
+
const value = make4(this);
|
|
8981
8837
|
Object.defineProperty(this, "make", {
|
|
8982
8838
|
value,
|
|
8983
8839
|
enumerable: true
|
|
@@ -9013,10 +8869,10 @@ var SchemaProto = {
|
|
|
9013
8869
|
return this.rebuild(appendChecks(this.ast, checks));
|
|
9014
8870
|
},
|
|
9015
8871
|
rebuild(ast) {
|
|
9016
|
-
return
|
|
8872
|
+
return make5(ast, this[RebuildOptions]);
|
|
9017
8873
|
}
|
|
9018
8874
|
};
|
|
9019
|
-
function
|
|
8875
|
+
function make5(ast, options) {
|
|
9020
8876
|
function Schema() {}
|
|
9021
8877
|
const self = Object.setPrototypeOf(Schema, SchemaProto);
|
|
9022
8878
|
if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
|
|
@@ -9143,7 +8999,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
|
|
|
9143
8999
|
|
|
9144
9000
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
|
|
9145
9001
|
function toCodecJson2(schema) {
|
|
9146
|
-
return
|
|
9002
|
+
return make5(toCodecJsonAST(schema.ast), {
|
|
9147
9003
|
schema
|
|
9148
9004
|
});
|
|
9149
9005
|
}
|
|
@@ -9199,7 +9055,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9199
9055
|
if (!isFunction(getLink)) {
|
|
9200
9056
|
return replaceEncoding(ast, [unknownToJson]);
|
|
9201
9057
|
}
|
|
9202
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9058
|
+
const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
|
|
9203
9059
|
const link = getLink(typeParameters);
|
|
9204
9060
|
return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
|
|
9205
9061
|
}
|
|
@@ -9234,7 +9090,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9234
9090
|
return ast;
|
|
9235
9091
|
}
|
|
9236
9092
|
function toCodecStringTree2(schema) {
|
|
9237
|
-
return
|
|
9093
|
+
return make5(toCodecStringTreeAST(schema.ast), {
|
|
9238
9094
|
schema
|
|
9239
9095
|
});
|
|
9240
9096
|
}
|
|
@@ -9254,7 +9110,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
|
|
|
9254
9110
|
function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
|
|
9255
9111
|
switch (ast._tag) {
|
|
9256
9112
|
case "Declaration": {
|
|
9257
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9113
|
+
const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
|
|
9258
9114
|
const getStringTreeLink = ast.annotations?.toCodecStringTree;
|
|
9259
9115
|
if (isFunction(getStringTreeLink)) {
|
|
9260
9116
|
const link = getStringTreeLink(typeParameters);
|
|
@@ -10743,7 +10599,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
10743
10599
|
};
|
|
10744
10600
|
}
|
|
10745
10601
|
var encodeSync = encodeUnknownSync;
|
|
10746
|
-
var make17 =
|
|
10602
|
+
var make17 = make5;
|
|
10747
10603
|
function isSchema(u) {
|
|
10748
10604
|
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
10749
10605
|
}
|
|
@@ -11939,4 +11795,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11939
11795
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11940
11796
|
var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
|
|
11941
11797
|
|
|
11942
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager,
|
|
11798
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storableText, storable };
|
|
@@ -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-q22ar0q6.js";
|
|
8
|
+
import"./chunk-xwte7af6.js";
|
|
9
|
+
import"./chunk-e4ced6vj.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-jz2b3htb.js";
|
|
2
10
|
import {
|
|
3
11
|
isString,
|
|
4
12
|
isObject,
|
|
@@ -35,15 +43,7 @@ import {
|
|
|
35
43
|
toCodecJson,
|
|
36
44
|
Json,
|
|
37
45
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
decodeText,
|
|
41
|
-
mkString,
|
|
42
|
-
FileSystem,
|
|
43
|
-
Path,
|
|
44
|
-
withDefault,
|
|
45
|
-
String2
|
|
46
|
-
} from "./chunk-hyaq30ne.js";
|
|
46
|
+
} from "./chunk-e4ced6vj.js";
|
|
47
47
|
import {
|
|
48
48
|
SecureRandom,
|
|
49
49
|
layerWebCrypto,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
KitDeclarations,
|
|
61
61
|
kitmanMcpServer,
|
|
62
62
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7eqzzcvj.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import {
|
|
69
|
-
ChildProcessSpawner,
|
|
70
|
-
make2
|
|
71
|
-
} from "./chunk-8r9k7pqk.js";
|
|
67
|
+
} from "./chunk-kpgkhx9j.js";
|
|
72
68
|
import {
|
|
73
69
|
stepDefinedTwice,
|
|
74
70
|
hostSteps,
|
|
75
71
|
exports_activities,
|
|
76
72
|
describeFlag,
|
|
77
73
|
Described
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import"./chunk-
|
|
80
|
-
import"./chunk-
|
|
81
|
-
import
|
|
82
|
-
|
|
74
|
+
} from "./chunk-xfhrsdc6.js";
|
|
75
|
+
import"./chunk-0yqsrr9j.js";
|
|
76
|
+
import"./chunk-hs9frges.js";
|
|
77
|
+
import {
|
|
78
|
+
ChildProcessSpawner,
|
|
79
|
+
make2
|
|
80
|
+
} from "./chunk-z1d5jx6m.js";
|
|
81
|
+
import"./chunk-ctrk0mrt.js";
|
|
82
|
+
import"./chunk-xwte7af6.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|