@kitman-sh/cli 0.10.74 → 0.10.76
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-kd02wvfa.js → chunk-0e3t90fs.js} +8 -8
- package/dist/{chunk-x0ep0a1y.js → chunk-1zt1yeme.js} +4 -4
- package/dist/{chunk-5rs3yv84.js → chunk-225qhz3b.js} +15 -15
- package/dist/{chunk-ggax0n15.js → chunk-3teaa3qx.js} +3 -3
- package/dist/{chunk-rrnee9mk.js → chunk-545b129z.js} +38 -5
- package/dist/{chunk-q3c7vmby.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-rt94p780.js → chunk-89547s8p.js} +647 -75
- package/dist/{chunk-1rry0tsn.js → chunk-98sg1yyd.js} +2 -2
- package/dist/{chunk-60333x3q.js → chunk-9zd52pda.js} +5 -5
- package/dist/{chunk-3edjgnxf.js → chunk-b0cscqbw.js} +25 -3
- package/dist/{chunk-g4fvd8r1.js → chunk-bcbne0ek.js} +22 -6
- package/dist/{chunk-8bhea26e.js → chunk-e3dmkypq.js} +5 -5
- package/dist/{chunk-csbf77zs.js → chunk-e8zm8z3a.js} +4 -4
- package/dist/{chunk-3ne401fy.js → chunk-f0stxany.js} +7 -7
- package/dist/{chunk-rm83dbpv.js → chunk-fq47a5yd.js} +2 -2
- package/dist/{chunk-2v7pbpfw.js → chunk-fqhxxxmp.js} +3 -3
- package/dist/{chunk-mzphfkyk.js → chunk-h3y4z2c0.js} +7 -7
- package/dist/{chunk-yzm5s3ng.js → chunk-jb01khjp.js} +4 -4
- package/dist/{chunk-d3ksv8y1.js → chunk-jbwk6k6m.js} +44 -7
- package/dist/{chunk-xz1z7j2d.js → chunk-p8g8qyev.js} +4 -4
- package/dist/{chunk-gmnqchsc.js → chunk-t07tn0ay.js} +4 -4
- package/dist/{chunk-v01c0k6j.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-dk0ftqwg.js → chunk-xb70ys3n.js} +1 -1
- package/dist/{chunk-mv288r6q.js → chunk-z7p5y767.js} +17 -17
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-jbwk6k6m.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-xb70ys3n.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;
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-e8zm8z3a.js";
|
|
11
|
+
import"./chunk-98sg1yyd.js";
|
|
12
|
+
import"./chunk-tzz4fv17.js";
|
|
13
|
+
import"./chunk-xb70ys3n.js";
|
|
14
|
+
import"./chunk-jbwk6k6m.js";
|
|
15
15
|
export {
|
|
16
16
|
decoded2 as decoded,
|
|
17
17
|
decodedOption2 as decodedOption,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
getOrElse,
|
|
3
4
|
getOrUndefined,
|
|
5
|
+
liftThrowable,
|
|
4
6
|
flatMap,
|
|
5
7
|
toArray,
|
|
6
8
|
decodeUnknownOption,
|
|
@@ -11,11 +13,11 @@ import {
|
|
|
11
13
|
ArraySchema,
|
|
12
14
|
decodeJsonStringOption,
|
|
13
15
|
encodeUnknownJsonStringSync
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-jbwk6k6m.js";
|
|
15
17
|
import {
|
|
16
18
|
replaceSecretReferences,
|
|
17
19
|
secretReferencesIn
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-545b129z.js";
|
|
19
21
|
|
|
20
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
21
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -40,6 +42,20 @@ if (false)
|
|
|
40
42
|
|
|
41
43
|
// packages/agent-runtime/src/secret-proxy.ts
|
|
42
44
|
var basicPrefix = /^basic\s+/i;
|
|
45
|
+
var tokenIssuingEndpoints = [
|
|
46
|
+
{ path: "/copilot_internal/v2/token" },
|
|
47
|
+
{ path: "/auto", hosts: ["*.githubcopilot.com", "api.githubcopilot.com"] },
|
|
48
|
+
{ path: "/api/oauth/claude_cli/create_api_key" }
|
|
49
|
+
];
|
|
50
|
+
var normalizedPath = (target) => {
|
|
51
|
+
const path = (URL.canParse(target) ? new URL(target).pathname : target).split(/[?#]/, 1)[0] ?? "";
|
|
52
|
+
const decoded = getOrElse(liftThrowable(decodeURIComponent)(path), () => path);
|
|
53
|
+
return `/${decoded.toLowerCase().split("/").filter(Boolean).join("/")}`;
|
|
54
|
+
};
|
|
55
|
+
var issuesTokens = (request) => {
|
|
56
|
+
const path = normalizedPath(request.target);
|
|
57
|
+
return tokenIssuingEndpoints.some((endpoint) => (path === endpoint.path || path.startsWith(`${endpoint.path}/`)) && (endpoint.hosts === undefined || egressAllowed(endpoint.hosts, request.host, request.port)));
|
|
58
|
+
};
|
|
43
59
|
var basicCredential = (value) => {
|
|
44
60
|
if (!basicPrefix.test(value))
|
|
45
61
|
return;
|
|
@@ -63,13 +79,19 @@ var decideSecretRequest = (request, readRegistry) => {
|
|
|
63
79
|
if (carrying.length === 0 && inTarget.length === 0)
|
|
64
80
|
return { action: "allow" };
|
|
65
81
|
const registry = readRegistry();
|
|
82
|
+
const carried = [...new Set(carrying.flatMap((header) => header.references))];
|
|
66
83
|
const refusals = [
|
|
67
84
|
...inTarget.map((reference) => ({
|
|
68
85
|
reference,
|
|
69
86
|
host: request.host,
|
|
70
87
|
reason: "A reference is swapped only in a header, never in a URL."
|
|
71
88
|
})),
|
|
72
|
-
...
|
|
89
|
+
...issuesTokens(request) ? carried.map((reference) => ({
|
|
90
|
+
reference,
|
|
91
|
+
host: request.host,
|
|
92
|
+
reason: "This endpoint answers with a new token, which the Runner obtains itself outside the sandbox."
|
|
93
|
+
})) : [],
|
|
94
|
+
...carried.flatMap((reference) => {
|
|
73
95
|
const entry = registry?.[reference];
|
|
74
96
|
const reason = entry === undefined ? "The reference is unknown or revoked." : request.scheme !== "https" ? "A reference is swapped only over HTTPS." : !egressAllowed(entry.hosts, request.host, request.port) ? `The Secret may be sent only to ${entry.hosts.join(", ")}.` : undefined;
|
|
75
97
|
return reason === undefined ? [] : [{ reference, host: request.host, reason }];
|
|
@@ -248,7 +248,7 @@ import {
|
|
|
248
248
|
decodeJsonStringOption,
|
|
249
249
|
encodeJsonStringSync,
|
|
250
250
|
encodePrettyJsonString
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-jbwk6k6m.js";
|
|
252
252
|
import {
|
|
253
253
|
map,
|
|
254
254
|
makeEquivalence,
|
|
@@ -315,7 +315,7 @@ import {
|
|
|
315
315
|
String2,
|
|
316
316
|
optionalEnv,
|
|
317
317
|
harnessesUnsupportedInSrt2
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-xb70ys3n.js";
|
|
319
319
|
import {
|
|
320
320
|
isDateTime,
|
|
321
321
|
Numeric,
|
|
@@ -327,7 +327,7 @@ import {
|
|
|
327
327
|
SecretName,
|
|
328
328
|
SecretScope,
|
|
329
329
|
SecretHosts
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-545b129z.js";
|
|
331
331
|
import {
|
|
332
332
|
toJsonValue,
|
|
333
333
|
isOneOf,
|
|
@@ -341,7 +341,7 @@ import {
|
|
|
341
341
|
isSymbol,
|
|
342
342
|
isUndefined,
|
|
343
343
|
kindOf
|
|
344
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-tzz4fv17.js";
|
|
345
345
|
import {
|
|
346
346
|
isRedacted,
|
|
347
347
|
make,
|
|
@@ -355,7 +355,7 @@ import {
|
|
|
355
355
|
make3,
|
|
356
356
|
parseFdName,
|
|
357
357
|
fdName
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-98sg1yyd.js";
|
|
359
359
|
|
|
360
360
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
361
361
|
var makeEquivalence3 = Tuple;
|
|
@@ -2958,6 +2958,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
return make23(params);
|
|
2960
2960
|
});
|
|
2961
|
+
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2961
2962
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2962
2963
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2963
2964
|
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
|
|
@@ -9374,6 +9375,18 @@ var uint8Array = (body, contentType) => new Uint8Array2(body, contentType ?? "ap
|
|
|
9374
9375
|
var encoder = /* @__PURE__ */ new TextEncoder;
|
|
9375
9376
|
var buffer = globalThis.Buffer;
|
|
9376
9377
|
var encodeText = buffer !== undefined ? (body) => buffer.from(body, "utf8") : (body) => encoder.encode(body);
|
|
9378
|
+
var text = (body, contentType) => {
|
|
9379
|
+
if (typeof body !== "string") {
|
|
9380
|
+
body = body === undefined ? "" : String(body);
|
|
9381
|
+
}
|
|
9382
|
+
if (buffer !== undefined) {
|
|
9383
|
+
return new Uint8Array2(undefined, contentType ?? "text/plain", buffer.byteLength(body, "utf8"), body);
|
|
9384
|
+
}
|
|
9385
|
+
const bytes = encoder.encode(body);
|
|
9386
|
+
return new Uint8Array2(bytes, contentType ?? "text/plain", bytes.length, body);
|
|
9387
|
+
};
|
|
9388
|
+
var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?? "application/json");
|
|
9389
|
+
var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
|
|
9377
9390
|
|
|
9378
9391
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
|
|
9379
9392
|
var TypeId9 = "~effect/http/HttpClientError";
|
|
@@ -9593,6 +9606,7 @@ var make5 = (method) => (url, options) => modify(empty6, {
|
|
|
9593
9606
|
...options ?? undefined
|
|
9594
9607
|
});
|
|
9595
9608
|
var get = /* @__PURE__ */ make5("GET");
|
|
9609
|
+
var post = /* @__PURE__ */ make5("POST");
|
|
9596
9610
|
var put = /* @__PURE__ */ make5("PUT");
|
|
9597
9611
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
9598
9612
|
let result = self;
|
|
@@ -9644,6 +9658,8 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
|
|
|
9644
9658
|
return makeWith(self.method, self.url, self.urlParams, self.hash, updateHeaders(self.headers, body), body);
|
|
9645
9659
|
});
|
|
9646
9660
|
var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0]), (self, body, contentType) => setBody(self, uint8Array(body, contentType)));
|
|
9661
|
+
var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
|
|
9662
|
+
var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
|
|
9647
9663
|
function toUrl(self) {
|
|
9648
9664
|
const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
|
|
9649
9665
|
if (isSuccess(r)) {
|
|
@@ -15580,4 +15596,4 @@ function checkServices(declaration) {
|
|
|
15580
15596
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15581
15597
|
}
|
|
15582
15598
|
|
|
15583
|
-
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, put, setHeaders, bodyUint8Array, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|
|
15599
|
+
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-jbwk6k6m.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-tzz4fv17.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-xb70ys3n.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-bcbne0ek.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-fqhxxxmp.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-jbwk6k6m.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-tzz4fv17.js";
|
|
31
31
|
import {
|
|
32
32
|
make11,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-xb70ys3n.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-98sg1yyd.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-jbwk6k6m.js";
|
|
106
106
|
import {
|
|
107
107
|
currentTimeMillis,
|
|
108
108
|
SecureRandom,
|
|
@@ -153,13 +153,13 @@ import {
|
|
|
153
153
|
runMcpEffect,
|
|
154
154
|
createAgentAuthSignedFetch,
|
|
155
155
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-bcbne0ek.js";
|
|
157
157
|
import {
|
|
158
158
|
guard,
|
|
159
159
|
Id,
|
|
160
160
|
Timestamp,
|
|
161
161
|
ActorType
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-545b129z.js";
|
|
163
163
|
import {
|
|
164
164
|
toJsonValue,
|
|
165
165
|
isOneOf,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
isJsonObject,
|
|
174
174
|
isString,
|
|
175
175
|
kindOf
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-tzz4fv17.js";
|
|
177
177
|
import {
|
|
178
178
|
join,
|
|
179
179
|
interrupt,
|
|
@@ -187,17 +187,17 @@ import {
|
|
|
187
187
|
withDefault,
|
|
188
188
|
option,
|
|
189
189
|
String2
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-xb70ys3n.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-76ctrqm6.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
196
|
make4,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-3teaa3qx.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-xb70ys3n.js";
|
|
18
|
+
import"./chunk-jbwk6k6m.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-jbwk6k6m.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-xb70ys3n.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-bcbne0ek.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-p8g8qyev.js";
|
|
8
|
+
import"./chunk-3teaa3qx.js";
|
|
9
|
+
import"./chunk-bcbne0ek.js";
|
|
10
|
+
import"./chunk-545b129z.js";
|
|
11
|
+
import"./chunk-tzz4fv17.js";
|
|
12
|
+
import"./chunk-xb70ys3n.js";
|
|
13
|
+
import"./chunk-jbwk6k6m.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-jbwk6k6m.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-545b129z.js";
|
|
82
82
|
import {
|
|
83
83
|
currentTimeMillis,
|
|
84
84
|
WebCrypto,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
KitDigest,
|
|
106
106
|
KitSetup,
|
|
107
107
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-bcbne0ek.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-xb70ys3n.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");
|
|
@@ -1506,7 +1506,7 @@ var Number2 = /* @__PURE__ */ make((self, that) => {
|
|
|
1506
1506
|
return self < that ? -1 : 1;
|
|
1507
1507
|
});
|
|
1508
1508
|
var mapInput = /* @__PURE__ */ dual(2, (self, f) => make((b1, b2) => self(f(b1), f(b2))));
|
|
1509
|
-
var
|
|
1509
|
+
var isGreaterThan2 = (O) => dual(2, (self, that) => O(self, that) === 1);
|
|
1510
1510
|
var isLessThanOrEqualTo2 = (O) => dual(2, (self, that) => O(self, that) !== 1);
|
|
1511
1511
|
var isGreaterThanOrEqualTo2 = (O) => dual(2, (self, that) => O(self, that) !== -1);
|
|
1512
1512
|
var min3 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
|
|
@@ -1536,7 +1536,7 @@ var liftThrowable = (f) => (...a) => {
|
|
|
1536
1536
|
var map4 = /* @__PURE__ */ dual(2, (self, f) => isNone(self) ? none() : some(f(self.value)));
|
|
1537
1537
|
var flatMap = /* @__PURE__ */ dual(2, (self, f) => isNone(self) ? none() : f(self.value));
|
|
1538
1538
|
var toArray = (self) => isNone(self) ? [] : [self.value];
|
|
1539
|
-
var
|
|
1539
|
+
var filter2 = /* @__PURE__ */ dual(2, (self, predicate) => isNone(self) ? none() : predicate(self.value) ? some(self.value) : none());
|
|
1540
1540
|
|
|
1541
1541
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Context.js
|
|
1542
1542
|
var ServiceTypeId = "~effect/Context/Service";
|
|
@@ -4472,7 +4472,7 @@ var forEachConcurrent = /* @__PURE__ */ iterateConcurrentImpl({
|
|
|
4472
4472
|
}
|
|
4473
4473
|
});
|
|
4474
4474
|
var filterOrElse = /* @__PURE__ */ dual(3, (self, predicate, orElse) => flatMap2(self, (a) => predicate(a) ? succeed2(a) : orElse(a)));
|
|
4475
|
-
var
|
|
4475
|
+
var filter = /* @__PURE__ */ dual((args) => isIterable(args[0]) && !isEffect2(args[0]), (elements, predicate, options) => map7(forEach2(elements, (a, i) => {
|
|
4476
4476
|
const result = predicate(a, i);
|
|
4477
4477
|
if (typeof result === "boolean") {
|
|
4478
4478
|
return succeed2(result ? some(a) : none());
|
|
@@ -4948,7 +4948,7 @@ var logLevelToOrder = (level) => {
|
|
|
4948
4948
|
}
|
|
4949
4949
|
};
|
|
4950
4950
|
var LogLevelOrder = /* @__PURE__ */ mapInput(Number2, logLevelToOrder);
|
|
4951
|
-
var isLogLevelGreaterThan = /* @__PURE__ */
|
|
4951
|
+
var isLogLevelGreaterThan = /* @__PURE__ */ isGreaterThan2(LogLevelOrder);
|
|
4952
4952
|
var CurrentLoggers = /* @__PURE__ */ Reference("effect/Logger/CurrentLoggers", {
|
|
4953
4953
|
defaultValue: () => new Set([defaultLogger, tracerLogger])
|
|
4954
4954
|
});
|
|
@@ -5650,7 +5650,7 @@ var delay = delay2;
|
|
|
5650
5650
|
var sleep = sleep2;
|
|
5651
5651
|
var raceAllFirst = raceAllFirst2;
|
|
5652
5652
|
var raceFirst = raceFirst2;
|
|
5653
|
-
var
|
|
5653
|
+
var filter3 = filter;
|
|
5654
5654
|
var filterOrFail = filterOrFail2;
|
|
5655
5655
|
var when = when2;
|
|
5656
5656
|
var matchCauseEffect = matchCauseEffect2;
|
|
@@ -6209,7 +6209,7 @@ function omit2() {
|
|
|
6209
6209
|
}
|
|
6210
6210
|
function withDefault(defaultValue) {
|
|
6211
6211
|
return transformOptionalEffect((o) => {
|
|
6212
|
-
const filtered =
|
|
6212
|
+
const filtered = filter2(o, isNotUndefined);
|
|
6213
6213
|
return isSome(filtered) ? succeed6(filtered) : mapEager(defaultValue, some);
|
|
6214
6214
|
});
|
|
6215
6215
|
}
|
|
@@ -9364,6 +9364,22 @@ function isBase64(annotations) {
|
|
|
9364
9364
|
});
|
|
9365
9365
|
}
|
|
9366
9366
|
var Finite = /* @__PURE__ */ make17(finite);
|
|
9367
|
+
function makeIsGreaterThan(options) {
|
|
9368
|
+
const gt = isGreaterThan2(options.order);
|
|
9369
|
+
const formatter = options.formatter ?? format;
|
|
9370
|
+
return (exclusiveMinimum, annotations) => {
|
|
9371
|
+
return makeFilter((input) => gt(input, exclusiveMinimum), {
|
|
9372
|
+
expected: `a value greater than ${formatter(exclusiveMinimum)}`,
|
|
9373
|
+
arbitraryConstraint: {
|
|
9374
|
+
order: options.order,
|
|
9375
|
+
minimum: exclusiveMinimum,
|
|
9376
|
+
exclusiveMinimum: true
|
|
9377
|
+
},
|
|
9378
|
+
...options.annotate?.(exclusiveMinimum),
|
|
9379
|
+
...annotations
|
|
9380
|
+
});
|
|
9381
|
+
};
|
|
9382
|
+
}
|
|
9367
9383
|
function makeIsGreaterThanOrEqualTo(options) {
|
|
9368
9384
|
const gte = isGreaterThanOrEqualTo2(options.order);
|
|
9369
9385
|
const formatter = options.formatter ?? format;
|
|
@@ -9400,6 +9416,23 @@ function encodeNumberPayload(number) {
|
|
|
9400
9416
|
}
|
|
9401
9417
|
return number;
|
|
9402
9418
|
}
|
|
9419
|
+
var isGreaterThan = /* @__PURE__ */ makeIsGreaterThan({
|
|
9420
|
+
order: Number2,
|
|
9421
|
+
annotate: (exclusiveMinimum) => ({
|
|
9422
|
+
representation: {
|
|
9423
|
+
id: "effect/schema/isGreaterThan",
|
|
9424
|
+
payload: {
|
|
9425
|
+
exclusiveMinimum: encodeNumberPayload(exclusiveMinimum)
|
|
9426
|
+
}
|
|
9427
|
+
},
|
|
9428
|
+
toJsonSchema: () => ({
|
|
9429
|
+
exclusiveMinimum
|
|
9430
|
+
}),
|
|
9431
|
+
toCode: () => ({
|
|
9432
|
+
runtime: `Schema.isGreaterThan(${format(exclusiveMinimum)})`
|
|
9433
|
+
})
|
|
9434
|
+
})
|
|
9435
|
+
});
|
|
9403
9436
|
var isGreaterThanOrEqualTo = /* @__PURE__ */ makeIsGreaterThanOrEqualTo({
|
|
9404
9437
|
order: Number2,
|
|
9405
9438
|
annotate: (minimum) => ({
|
|
@@ -9491,6 +9524,9 @@ function makeIsMinLength(minLength, minCodePoints, annotations) {
|
|
|
9491
9524
|
...annotations
|
|
9492
9525
|
});
|
|
9493
9526
|
}
|
|
9527
|
+
function isNonEmpty(annotations) {
|
|
9528
|
+
return makeIsMinLength(1, 1, annotations);
|
|
9529
|
+
}
|
|
9494
9530
|
function isMaxLength(maxLength, annotations) {
|
|
9495
9531
|
maxLength = normalizeCardinality(maxLength);
|
|
9496
9532
|
return makeFilter((input) => input.length <= maxLength, {
|
|
@@ -9602,6 +9638,7 @@ function isUnique(annotations) {
|
|
|
9602
9638
|
...annotations
|
|
9603
9639
|
});
|
|
9604
9640
|
}
|
|
9641
|
+
var NonEmptyString = /* @__PURE__ */ String4.check(/* @__PURE__ */ isNonEmpty());
|
|
9605
9642
|
var getErrorOptionsKey = (options) => (options?.includeStack === true ? 1 : 0) | (options?.excludeCause === true ? 2 : 0);
|
|
9606
9643
|
var getErrorOptions = (key) => {
|
|
9607
9644
|
switch (key) {
|
|
@@ -10121,4 +10158,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10121
10158
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10122
10159
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10123
10160
|
|
|
10124
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst,
|
|
10161
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, 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, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-jbwk6k6m.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xb70ys3n.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-bcbne0ek.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3teaa3qx.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-b0cscqbw.js";
|
|
8
|
+
import"./chunk-545b129z.js";
|
|
9
|
+
import"./chunk-tzz4fv17.js";
|
|
10
|
+
import"./chunk-jbwk6k6m.js";
|
|
11
11
|
export {
|
|
12
12
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
13
13
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
String4,
|
|
200
200
|
toCodecStringTree,
|
|
201
201
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-jbwk6k6m.js";
|
|
203
203
|
|
|
204
204
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
205
|
var headUnsafe = (self) => {
|