@kitman-sh/cli 0.34.0 → 0.36.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-9da9b7ys.js → chunk-3t6aayxz.js} +10 -10
- package/dist/{chunk-8p5csa63.js → chunk-49hz9619.js} +31 -31
- package/dist/{chunk-qvpkwnky.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-y7bth30s.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-a230abnk.js → chunk-6bwf81dt.js} +3 -3
- package/dist/{chunk-337drcr7.js → chunk-8fyfsajs.js} +178 -29
- package/dist/{chunk-swc0ctf2.js → chunk-96bzt4ck.js} +3 -3
- package/dist/{chunk-gy7nygep.js → chunk-9nbqzdqp.js} +2 -2
- package/dist/{chunk-2a40hhfz.js → chunk-c2ngtf1e.js} +4 -4
- package/dist/{chunk-wkbsbxp8.js → chunk-crw9pdwb.js} +6 -6
- package/dist/{chunk-r90j80q5.js → chunk-dw0v4ke8.js} +4 -4
- package/dist/{chunk-3jxdtkwd.js → chunk-ewf73f4k.js} +6 -6
- package/dist/{chunk-fr0qseam.js → chunk-gnq1ryhx.js} +4 -4
- package/dist/{chunk-ew07nt2d.js → chunk-h2f26xbd.js} +61 -61
- package/dist/{chunk-phx3zffc.js → chunk-pn7egyb2.js} +8 -8
- package/dist/{chunk-2gz59jcx.js → chunk-rbj2eant.js} +1 -1
- package/dist/{chunk-g5b61tek.js → chunk-s34am3kw.js} +5 -5
- package/dist/{chunk-6hxtg6eb.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-0m8ktgmz.js → chunk-t89zj8wf.js} +123 -268
- package/dist/{chunk-djzfaqaq.js → chunk-th0znqwv.js} +88 -28
- package/dist/{chunk-haq904fk.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-89ygm64f.js → chunk-vwaf8peb.js} +4 -4
- package/dist/{chunk-6387vj9z.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-w8hf2etp.js → chunk-wab1jevd.js} +46 -32
- package/dist/{chunk-d64j8v9n.js → chunk-wckr96wg.js} +7 -7
- package/dist/{chunk-hwjp28rh.js → chunk-x29m7k25.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1320,7 +1320,7 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
|
|
|
1320
1320
|
path: "runner-operations#runner-settings",
|
|
1321
1321
|
level: 3,
|
|
1322
1322
|
link: "https://kitman.sh/knowledge/docs/runner-operations#runner-settings",
|
|
1323
|
-
text: "### Runner settings\n\nKitman keeps how your Runner behaves, so you change it on the Runner's page in the **Runners** tab, or with `kitman runner settings <runner>`, without touching its service. Its owner, or a Workspace admin, may change it; each change is in its History with who made it, when, and the old and new value (`kitman runner settings history <runner>`).\n\n- **Concurrency**: how many Work Units it runs at once, 1 to 32. It applies a change within about 10 seconds, and work in flight finishes first.\n- **Sandbox**: `srt` (the default), `docker` or `host`. New Steps and checks use a change; a running Step keeps its own.\n- **Docker image**: the image `docker` runs agents in, pinned by digest. It applies when the Runner restarts.\n- **Check hosts**: hosts every check this Runner runs, for any Team, may also reach.\n- **Checks' Docker image** and **checks' registry image**: for a pipeline check's own Docker daemon (below), each pinned by digest. They apply when the Runner restarts.\n\n```sh\nkitman runner settings <runner> --concurrency 2 --check-hosts github.com\n```\n\nThe Runner's page shows where what the Runner applies differs from its settings, and why.\n\nA few things stay on your machine, because they start the Runner or protect it: the Runner's id, the API URL and its credential, `KITMAN_RUNNER_FULL_ACCESS`, and your consent to run agents with no sandbox, `KITMAN_RUNNER_ALLOW_FULL_ACCESS=1`. Kitman cannot give that consent, so nobody who can change the Runner's settings, nor a compromised control plane, can turn off your machine's sandbox: a Runner set to `host` on a machine without it runs its agents in `srt` and shows the `full_access_refused` Runner Problem. A Runner set to `host` on a machine with it runs agents that use your own `kitman` login. When Kitman refuses that login, the Runner shows the `cli_session_expired` Runner Problem: run `kitman login` on the machine.\n\nBefore Kitman kept these, they were the environment variables `KITMAN_RUNNER_CONCURRENCY`, `KITMAN_RUNNER_SANDBOX`, `KITMAN_RUNNER_DOCKER_IMAGE`, `KITMAN_RUNNER_CHECK_HOSTS`, `KITMAN_RUNNER_CHECK_DOCKER_IMAGE` and `KITMAN_RUNNER_CHECK_REGISTRY_IMAGE`. The first time a Runner starts on a version with settings, Kitman adopts the values they give, once, for each setting nobody has set yet (a shared Runner's sandbox excepted); after that the Runner ignores them and warns at each start that each one still set is deprecated. Remove them from its service when its settings look right. While `KITMAN_RUNNER_SANDBOX=host` stays set, it counts as your consent to run agents on the host."
|
|
1323
|
+
text: "### Runner settings\n\nKitman keeps how your Runner behaves, so you change it on the Runner's page in the **Runners** tab, or with `kitman runner settings <runner>`, without touching its service. Its owner, or a Workspace admin, may change it; each change is in its History with who made it, when, and the old and new value (`kitman runner settings history <runner>`).\n\n- **Concurrency**: how many Work Units it runs at once, 1 to 32. It applies a change within about 10 seconds, and work in flight finishes first.\n- **Verification concurrency**: how many of those may be Verifications, the checks that test a Step's work, 2 by default. It never runs more of them than its concurrency, even when this setting is higher. Its other slots keep taking agent Steps. It caps each Runner process, so a Runner with several replicas runs that many on each.\n- **Sandbox**: `srt` (the default), `docker` or `host`. New Steps and checks use a change; a running Step keeps its own.\n- **Docker image**: the image `docker` runs agents in, pinned by digest. It applies when the Runner restarts.\n- **Check hosts**: hosts every check this Runner runs, for any Team, may also reach.\n- **Checks' Docker image** and **checks' registry image**: for a pipeline check's own Docker daemon (below), each pinned by digest. They apply when the Runner restarts.\n\n```sh\nkitman runner settings <runner> --concurrency 2 --check-hosts github.com\n```\n\nThe Runner's page shows where what the Runner applies differs from its settings, and why.\n\nA few things stay on your machine, because they start the Runner or protect it: the Runner's id, the API URL and its credential, `KITMAN_RUNNER_FULL_ACCESS`, and your consent to run agents with no sandbox, `KITMAN_RUNNER_ALLOW_FULL_ACCESS=1`. Kitman cannot give that consent, so nobody who can change the Runner's settings, nor a compromised control plane, can turn off your machine's sandbox: a Runner set to `host` on a machine without it runs its agents in `srt` and shows the `full_access_refused` Runner Problem. A Runner set to `host` on a machine with it runs agents that use your own `kitman` login. When Kitman refuses that login, the Runner shows the `cli_session_expired` Runner Problem: run `kitman login` on the machine.\n\nBefore Kitman kept these, they were the environment variables `KITMAN_RUNNER_CONCURRENCY`, `KITMAN_RUNNER_SANDBOX`, `KITMAN_RUNNER_DOCKER_IMAGE`, `KITMAN_RUNNER_CHECK_HOSTS`, `KITMAN_RUNNER_CHECK_DOCKER_IMAGE` and `KITMAN_RUNNER_CHECK_REGISTRY_IMAGE`. The first time a Runner starts on a version with settings, Kitman adopts the values they give, once, for each setting nobody has set yet (a shared Runner's sandbox excepted); after that the Runner ignores them and warns at each start that each one still set is deprecated. Remove them from its service when its settings look right. While `KITMAN_RUNNER_SANDBOX=host` stays set, it counts as your consent to run agents on the host."
|
|
1324
1324
|
},
|
|
1325
1325
|
{
|
|
1326
1326
|
title: "Runner Operations Guide \u203A The sandbox",
|
|
@@ -1348,7 +1348,7 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
|
|
|
1348
1348
|
path: "runner-operations#harnesses",
|
|
1349
1349
|
level: 3,
|
|
1350
1350
|
link: "https://kitman.sh/knowledge/docs/runner-operations#harnesses",
|
|
1351
|
-
text: "### Harnesses\n\nWhen it starts, the Runner offers each of Pi, Claude Code, Codex and Antigravity that is installed and logged in:\n\n| Harness | Installed when | Logged in when |\n| ----------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| Pi | `pi` is on `PATH` | `~/.pi/agent/auth.json` exists, or `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY` or `OPENROUTER_API_KEY` is set |\n| Claude Code | `claude` is on `PATH` | `~/.claude/.credentials.json` exists, `~/.claude.json` records an `oauthAccount`, or `ANTHROPIC_API_KEY` or `CLAUDE_CODE_OAUTH_TOKEN` is set |\n| Codex | `codex` is on `PATH` | `~/.codex/auth.json` exists, or `OPENAI_API_KEY` or `CODEX_API_KEY` is set |\n| Antigravity | `agy` is on `PATH` | `~/.gemini/antigravity-cli/cache/onboarding.json` records a finished onboarding, which `agy` writes once you sign in with Google |\n\nFor each Harness it does not offer, the Runner reports what is missing, and the Runners tab under **Agents** and `kitman runner doctor` show it. After you install or log in to a Harness, restart the Runner's service so it is detected. OpenCode is never detected; an Agent that names it still launches it on a Runner that offers it.\n\nA Claude Code Step runs in Claude Code's experimental Code Mode: its agent writes JavaScript that calls its tools in one `REPL` call, instead of calling them one at a time. The Runner records Code Mode's caveats as accepted in the Step's `.claude.json`, so the Step never stops at its opt-in question. Code Mode turns Claude in Chrome off, so a Step whose Agent has the `browser` capability runs without it.\n\nAn Antigravity Step runs only in the `host` sandbox, because your Google login is in the OS keyring, which neither `srt` nor `docker` gives the agent. A Runner whose sandbox is `srt` or `docker` does not offer it, and says so. Antigravity keeps all its config under `~/.gemini` and has no setting that moves it, so a Step runs with its config directory as `HOME`. That home links to each entry of yours, such as `~/.gitconfig` and `~/.ssh`, except `~/.gemini` and `~/.agents`, and except one the Step writes itself, such as `~/kitman-skills` for the Kit skills its Agent does not list: the Step gets the Run's Kit setup in those, not your skills, plugins, MCP servers or rules. It gets a copy of the onboarding `agy` records, so it skips the first-run setup, and settings that trust the worktree, run commands outside Antigravity's own terminal sandbox and never wait for a person to review a plan. Its Transcript and tokens come from the conversation's `transcript_full.jsonl`. A retried attempt starts a new conversation, because the one `agy` resumes is a database the Runner does not carry between attempts."
|
|
1351
|
+
text: "### Harnesses\n\nWhen it starts, the Runner offers each of Pi, Claude Code, Codex and Antigravity that is installed and logged in:\n\n| Harness | Installed when | Logged in when |\n| ----------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| Pi | `pi` is on `PATH` | `~/.pi/agent/auth.json` exists, or `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY` or `OPENROUTER_API_KEY` is set |\n| Claude Code | `claude` is on `PATH` | `~/.claude/.credentials.json` exists, `~/.claude.json` records an `oauthAccount`, or `ANTHROPIC_API_KEY` or `CLAUDE_CODE_OAUTH_TOKEN` is set |\n| Codex | `codex` is on `PATH` | `~/.codex/auth.json` exists, or `OPENAI_API_KEY` or `CODEX_API_KEY` is set |\n| Antigravity | `agy` is on `PATH` | `~/.gemini/antigravity-cli/cache/onboarding.json` records a finished onboarding, which `agy` writes once you sign in with Google |\n\nFor each Harness it does not offer, the Runner reports what is missing, and the Runners tab under **Agents** and `kitman runner doctor` show it. After you install or log in to a Harness, restart the Runner's service so it is detected. OpenCode is never detected; an Agent that names it still launches it on a Runner that offers it.\n\nA Claude Code Step runs in Claude Code's experimental Code Mode: its agent writes JavaScript that calls its tools in one `REPL` call, instead of calling them one at a time. The Runner records Code Mode's caveats as accepted in the Step's `.claude.json`, so the Step never stops at its opt-in question. It starts Claude Code with `CLAUDE_CODE_SANDBOXED=1`, so Claude Code takes the Step's directory as trusted and never shows its folder trust prompt, even when another Claude Code session on the machine saves `~/.claude.json` over the trust the Runner recorded. If a Step still stops at that prompt, Kitman starts it again, twice at most. Code Mode turns Claude in Chrome off, so a Step whose Agent has the `browser` capability runs without it.\n\nAn Antigravity Step runs only in the `host` sandbox, because your Google login is in the OS keyring, which neither `srt` nor `docker` gives the agent. A Runner whose sandbox is `srt` or `docker` does not offer it, and says so. Antigravity keeps all its config under `~/.gemini` and has no setting that moves it, so a Step runs with its config directory as `HOME`. That home links to each entry of yours, such as `~/.gitconfig` and `~/.ssh`, except `~/.gemini` and `~/.agents`, and except one the Step writes itself, such as `~/kitman-skills` for the Kit skills its Agent does not list: the Step gets the Run's Kit setup in those, not your skills, plugins, MCP servers or rules. It gets a copy of the onboarding `agy` records, so it skips the first-run setup, and settings that trust the worktree, run commands outside Antigravity's own terminal sandbox and never wait for a person to review a plan. Its Transcript and tokens come from the conversation's `transcript_full.jsonl`. A retried attempt starts a new conversation, because the one `agy` resumes is a database the Runner does not carry between attempts."
|
|
1352
1352
|
},
|
|
1353
1353
|
{
|
|
1354
1354
|
title: "Runner Operations Guide \u203A Default Harness",
|
|
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
|
|
|
2211
2211
|
return page === null ? link : page[1] || "index";
|
|
2212
2212
|
};
|
|
2213
2213
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2214
|
-
var pinnedLink2 = (link, version = "0.
|
|
2214
|
+
var pinnedLink2 = (link, version = "0.36.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2215
2215
|
var pageOf = (path) => path.split("#")[0];
|
|
2216
2216
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2217
2217
|
function excerpt(text, queryTerms) {
|
|
@@ -34,8 +34,11 @@ import {
|
|
|
34
34
|
getOrUndefined,
|
|
35
35
|
map4,
|
|
36
36
|
Service2,
|
|
37
|
-
|
|
37
|
+
add,
|
|
38
|
+
get4,
|
|
38
39
|
Reference,
|
|
40
|
+
fromInputUnsafe,
|
|
41
|
+
isFinite,
|
|
39
42
|
normalize,
|
|
40
43
|
succeed,
|
|
41
44
|
fail3,
|
|
@@ -85,6 +88,7 @@ import {
|
|
|
85
88
|
fail4,
|
|
86
89
|
interrupt2,
|
|
87
90
|
void_2,
|
|
91
|
+
isSuccess2,
|
|
88
92
|
isFailure2,
|
|
89
93
|
asVoidAll,
|
|
90
94
|
makeUnsafe5,
|
|
@@ -156,12 +160,14 @@ import {
|
|
|
156
160
|
tapError2,
|
|
157
161
|
ignoreCause,
|
|
158
162
|
orElseSucceed,
|
|
163
|
+
sleep,
|
|
159
164
|
raceFirst,
|
|
160
165
|
when,
|
|
161
166
|
matchCauseEffect,
|
|
162
167
|
context,
|
|
163
168
|
contextWith,
|
|
164
169
|
provideContext2,
|
|
170
|
+
scope2,
|
|
165
171
|
scoped,
|
|
166
172
|
scopedWith,
|
|
167
173
|
acquireRelease,
|
|
@@ -172,6 +178,7 @@ import {
|
|
|
172
178
|
interrupt3,
|
|
173
179
|
onInterrupt,
|
|
174
180
|
uninterruptible,
|
|
181
|
+
uninterruptibleMask2,
|
|
175
182
|
forever,
|
|
176
183
|
forkChild,
|
|
177
184
|
forkIn,
|
|
@@ -194,11 +201,11 @@ import {
|
|
|
194
201
|
toEncoded,
|
|
195
202
|
decodeUnknownEffect,
|
|
196
203
|
SchemaError,
|
|
197
|
-
|
|
204
|
+
make17,
|
|
198
205
|
String4,
|
|
199
206
|
toCodecStringTree,
|
|
200
207
|
encodeUnknownJsonStringSync
|
|
201
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-h2f26xbd.js";
|
|
202
209
|
|
|
203
210
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
204
211
|
var headUnsafe = (self) => {
|
|
@@ -371,7 +378,7 @@ var fromStringUnsafe = (input) => {
|
|
|
371
378
|
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
372
379
|
return make(value);
|
|
373
380
|
};
|
|
374
|
-
var
|
|
381
|
+
var fromInputUnsafe2 = (input) => {
|
|
375
382
|
switch (typeof input) {
|
|
376
383
|
case "bigint":
|
|
377
384
|
if (input < bigint0)
|
|
@@ -384,7 +391,7 @@ var fromInputUnsafe = (input) => {
|
|
|
384
391
|
}
|
|
385
392
|
return invalid(`unsupported input ${input}`);
|
|
386
393
|
};
|
|
387
|
-
var bytes = (value) => typeof value === "bigint" ?
|
|
394
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
388
395
|
|
|
389
396
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
390
397
|
var join = fiberJoin;
|
|
@@ -1310,7 +1317,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1310
1317
|
return false;
|
|
1311
1318
|
});
|
|
1312
1319
|
var subscribe = (self) => uninterruptible(contextWith((services) => {
|
|
1313
|
-
const localScope =
|
|
1320
|
+
const localScope = get4(services, Scope);
|
|
1314
1321
|
const scope = forkUnsafe(self.scope);
|
|
1315
1322
|
const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
|
|
1316
1323
|
return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
|
|
@@ -2753,7 +2760,7 @@ var runFold2 = /* @__PURE__ */ dual(3, (self, initial, f) => suspend3(() => {
|
|
|
2753
2760
|
var toPull2 = /* @__PURE__ */ fnUntraced(function* (self) {
|
|
2754
2761
|
const semaphore = makeUnsafe3(1);
|
|
2755
2762
|
const context2 = yield* context();
|
|
2756
|
-
const scope =
|
|
2763
|
+
const scope = get4(context2, Scope);
|
|
2757
2764
|
const pull = yield* toTransform(self)(done(), scope);
|
|
2758
2765
|
return pull.pipe(provideContext2(context2), semaphore.withPermits(1));
|
|
2759
2766
|
}, /* @__PURE__ */ catchCause2((cause) => succeed6(failCause3(cause))));
|
|
@@ -2814,16 +2821,158 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
|
|
|
2814
2821
|
}), catchDone(() => endVoid)));
|
|
2815
2822
|
var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
|
|
2816
2823
|
|
|
2824
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
2825
|
+
var TypeId8 = "~effect/RcRef";
|
|
2826
|
+
var stateEmpty = {
|
|
2827
|
+
_tag: "Empty"
|
|
2828
|
+
};
|
|
2829
|
+
var stateClosed = {
|
|
2830
|
+
_tag: "Closed"
|
|
2831
|
+
};
|
|
2832
|
+
var variance2 = {
|
|
2833
|
+
_A: identity,
|
|
2834
|
+
_E: identity
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
class RcRefImpl {
|
|
2838
|
+
[TypeId8] = variance2;
|
|
2839
|
+
pipe() {
|
|
2840
|
+
return pipeArguments(this, arguments);
|
|
2841
|
+
}
|
|
2842
|
+
state = stateEmpty;
|
|
2843
|
+
acquire;
|
|
2844
|
+
context;
|
|
2845
|
+
scope;
|
|
2846
|
+
idleTimeToLive;
|
|
2847
|
+
constructor(acquire, context, scope, idleTimeToLive) {
|
|
2848
|
+
this.acquire = acquire;
|
|
2849
|
+
this.context = context;
|
|
2850
|
+
this.scope = scope;
|
|
2851
|
+
this.idleTimeToLive = idleTimeToLive;
|
|
2852
|
+
}
|
|
2853
|
+
}
|
|
2854
|
+
var make6 = (options) => withFiber2((fiber) => {
|
|
2855
|
+
const context = fiber.context;
|
|
2856
|
+
const scope = get4(context, Scope);
|
|
2857
|
+
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
2858
|
+
return as(addFinalizerExit(scope, () => {
|
|
2859
|
+
const state = ref.state;
|
|
2860
|
+
ref.state = stateClosed;
|
|
2861
|
+
if (state._tag === "Acquired")
|
|
2862
|
+
return close(state.scope, void_2);
|
|
2863
|
+
if (state._tag === "Acquiring")
|
|
2864
|
+
return interrupt(state.fiber);
|
|
2865
|
+
return void_3;
|
|
2866
|
+
}), ref);
|
|
2867
|
+
});
|
|
2868
|
+
var getState = (self, restore) => {
|
|
2869
|
+
switch (self.state._tag) {
|
|
2870
|
+
case "Closed": {
|
|
2871
|
+
return interrupt3;
|
|
2872
|
+
}
|
|
2873
|
+
case "Acquired": {
|
|
2874
|
+
const state = self.state;
|
|
2875
|
+
state.refCount++;
|
|
2876
|
+
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
2877
|
+
}
|
|
2878
|
+
case "Acquiring": {
|
|
2879
|
+
const state = self.state;
|
|
2880
|
+
state.awaiters++;
|
|
2881
|
+
return awaitAcquiring(self, state, restore);
|
|
2882
|
+
}
|
|
2883
|
+
case "Empty": {
|
|
2884
|
+
const acquiring = {
|
|
2885
|
+
_tag: "Acquiring",
|
|
2886
|
+
fiber: undefined,
|
|
2887
|
+
awaiters: 1,
|
|
2888
|
+
acquired: undefined
|
|
2889
|
+
};
|
|
2890
|
+
self.state = acquiring;
|
|
2891
|
+
const scope = makeUnsafe6();
|
|
2892
|
+
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
2893
|
+
if (self.state !== acquiring) {
|
|
2894
|
+
return interrupt3;
|
|
2895
|
+
}
|
|
2896
|
+
const state = {
|
|
2897
|
+
_tag: "Acquired",
|
|
2898
|
+
value,
|
|
2899
|
+
scope,
|
|
2900
|
+
fiber: undefined,
|
|
2901
|
+
refCount: acquiring.awaiters,
|
|
2902
|
+
invalidated: false
|
|
2903
|
+
};
|
|
2904
|
+
self.state = state;
|
|
2905
|
+
acquiring.acquired = state;
|
|
2906
|
+
return succeed6(state);
|
|
2907
|
+
}), onExit((exit) => {
|
|
2908
|
+
if (isSuccess2(exit))
|
|
2909
|
+
return void_3;
|
|
2910
|
+
if (self.state === acquiring)
|
|
2911
|
+
self.state = stateEmpty;
|
|
2912
|
+
return close(scope, exit);
|
|
2913
|
+
}));
|
|
2914
|
+
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
2915
|
+
return awaitAcquiring(self, acquiring, restore);
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
};
|
|
2919
|
+
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
2920
|
+
const acquired = acquiring.acquired;
|
|
2921
|
+
if (acquired !== undefined) {
|
|
2922
|
+
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
2923
|
+
}
|
|
2924
|
+
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
2925
|
+
return void_3;
|
|
2926
|
+
self.state = stateEmpty;
|
|
2927
|
+
return interrupt(acquiring.fiber);
|
|
2928
|
+
});
|
|
2929
|
+
var get2 = (self_) => {
|
|
2930
|
+
const self = self_;
|
|
2931
|
+
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
2932
|
+
};
|
|
2933
|
+
var release = (self, state) => {
|
|
2934
|
+
state.refCount--;
|
|
2935
|
+
if (state.refCount > 0) {
|
|
2936
|
+
return void_3;
|
|
2937
|
+
}
|
|
2938
|
+
const idleTimeToLive = self.idleTimeToLive;
|
|
2939
|
+
if (idleTimeToLive === undefined || state.invalidated) {
|
|
2940
|
+
if (self.state === state) {
|
|
2941
|
+
self.state = stateEmpty;
|
|
2942
|
+
}
|
|
2943
|
+
return close(state.scope, void_2);
|
|
2944
|
+
} else if (!isFinite(idleTimeToLive)) {
|
|
2945
|
+
return void_3;
|
|
2946
|
+
}
|
|
2947
|
+
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
2948
|
+
if (self.state === state && state.refCount === 0) {
|
|
2949
|
+
self.state = stateEmpty;
|
|
2950
|
+
return ignoreCause(close(state.scope, void_2), {
|
|
2951
|
+
log: "Unhandled",
|
|
2952
|
+
message: "Unhandled error in RcRef finalizer"
|
|
2953
|
+
});
|
|
2954
|
+
}
|
|
2955
|
+
return void_3;
|
|
2956
|
+
})).pipe(ensuring2(sync2(() => {
|
|
2957
|
+
state.fiber = undefined;
|
|
2958
|
+
})), runForkWith(self.context), runIn(self.scope));
|
|
2959
|
+
return void_3;
|
|
2960
|
+
};
|
|
2961
|
+
|
|
2962
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2963
|
+
var make10 = make6;
|
|
2964
|
+
var get3 = get2;
|
|
2965
|
+
|
|
2817
2966
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
2818
|
-
var
|
|
2819
|
-
var isStream = (u) => hasProperty(u,
|
|
2967
|
+
var TypeId9 = "~effect/Stream";
|
|
2968
|
+
var isStream = (u) => hasProperty(u, TypeId9);
|
|
2820
2969
|
var fromChannel2 = fromChannel3;
|
|
2821
2970
|
var fromPull2 = (pull) => fromChannel2(fromPull(pull));
|
|
2822
2971
|
var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
|
|
2823
2972
|
var toChannel2 = (stream) => stream.channel;
|
|
2824
2973
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2825
2974
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2826
|
-
var
|
|
2975
|
+
var make11 = (...values) => fromArray2(values);
|
|
2827
2976
|
var suspend = (stream) => {
|
|
2828
2977
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2829
2978
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3022,11 +3171,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
|
|
|
3022
3171
|
var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
|
|
3023
3172
|
|
|
3024
3173
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3025
|
-
var
|
|
3174
|
+
var TypeId10 = "~effect/FileSystem";
|
|
3026
3175
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3027
|
-
var
|
|
3176
|
+
var make12 = (impl) => FileSystem.of({
|
|
3028
3177
|
...impl,
|
|
3029
|
-
[
|
|
3178
|
+
[TypeId10]: TypeId10,
|
|
3030
3179
|
glob: make2(impl),
|
|
3031
3180
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3032
3181
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
@@ -3042,11 +3191,11 @@ var make11 = (impl) => FileSystem.of({
|
|
|
3042
3191
|
const file = yield* impl.open(path, {
|
|
3043
3192
|
flag: "r"
|
|
3044
3193
|
});
|
|
3045
|
-
const offset = options?.offset === undefined ? undefined :
|
|
3194
|
+
const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
|
|
3046
3195
|
if (offset) {
|
|
3047
3196
|
yield* file.seek(offset, "start");
|
|
3048
3197
|
}
|
|
3049
|
-
const bytesToRead = options?.bytesToRead === undefined ? undefined :
|
|
3198
|
+
const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
|
|
3050
3199
|
let totalBytesRead = BigInt(0);
|
|
3051
3200
|
const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
|
|
3052
3201
|
const readChunk = file.readAlloc(chunkSize);
|
|
@@ -3082,11 +3231,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3082
3231
|
}
|
|
3083
3232
|
|
|
3084
3233
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3085
|
-
var
|
|
3234
|
+
var TypeId11 = "~effect/Path";
|
|
3086
3235
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3087
|
-
var
|
|
3236
|
+
var make13 = (impl) => Path.of({
|
|
3088
3237
|
...impl,
|
|
3089
|
-
[
|
|
3238
|
+
[TypeId11]: TypeId11,
|
|
3090
3239
|
resolveWithin(root, input) {
|
|
3091
3240
|
if (impl.parse(input).root !== "")
|
|
3092
3241
|
return none();
|
|
@@ -3159,7 +3308,7 @@ function makeProvider(load, mapInput) {
|
|
|
3159
3308
|
function makeSource(get, transform) {
|
|
3160
3309
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3161
3310
|
}
|
|
3162
|
-
function
|
|
3311
|
+
function make7(get) {
|
|
3163
3312
|
return makeSource(get, identityPath);
|
|
3164
3313
|
}
|
|
3165
3314
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3168,7 +3317,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3168
3317
|
function fromEnvRecord(env, options) {
|
|
3169
3318
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3170
3319
|
const trie = buildEnvTrie(env);
|
|
3171
|
-
return
|
|
3320
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3172
3321
|
}
|
|
3173
3322
|
function fromEnv(options) {
|
|
3174
3323
|
const env = options?.env ?? {
|
|
@@ -3221,7 +3370,7 @@ function trieNodeAt(root, path) {
|
|
|
3221
3370
|
}
|
|
3222
3371
|
|
|
3223
3372
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
|
|
3224
|
-
var
|
|
3373
|
+
var TypeId12 = "~effect/Config";
|
|
3225
3374
|
class ConfigError {
|
|
3226
3375
|
_tag = "ConfigError";
|
|
3227
3376
|
name = "ConfigError";
|
|
@@ -3243,14 +3392,14 @@ var Proto2 = {
|
|
|
3243
3392
|
return this.parse(fiber.getRef(ConfigProvider));
|
|
3244
3393
|
}
|
|
3245
3394
|
}),
|
|
3246
|
-
[
|
|
3395
|
+
[TypeId12]: TypeId12,
|
|
3247
3396
|
toJSON() {
|
|
3248
3397
|
return {
|
|
3249
3398
|
_id: "Config"
|
|
3250
3399
|
};
|
|
3251
3400
|
}
|
|
3252
3401
|
};
|
|
3253
|
-
function
|
|
3402
|
+
function make14(evaluator) {
|
|
3254
3403
|
const self = Object.create(Proto2);
|
|
3255
3404
|
self.evaluator = evaluator;
|
|
3256
3405
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3258,14 +3407,14 @@ function make7(evaluator) {
|
|
|
3258
3407
|
}
|
|
3259
3408
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3260
3409
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3261
|
-
return
|
|
3410
|
+
return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3262
3411
|
});
|
|
3263
3412
|
function all(arg) {
|
|
3264
3413
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3265
|
-
return
|
|
3414
|
+
return make14((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
|
|
3266
3415
|
}
|
|
3267
3416
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3268
|
-
return
|
|
3417
|
+
return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3269
3418
|
});
|
|
3270
3419
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3271
3420
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3382,9 +3531,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
|
|
|
3382
3531
|
function schema(codec, path) {
|
|
3383
3532
|
const codecStringTree = toCodecStringTree(codec);
|
|
3384
3533
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3385
|
-
const decodeCursor = decodeUnknownEffect(
|
|
3534
|
+
const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
|
|
3386
3535
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3387
|
-
return
|
|
3536
|
+
return make14((provider, pathPrefix) => {
|
|
3388
3537
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3389
3538
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3390
3539
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3500,4 +3649,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3500
3649
|
...argv
|
|
3501
3650
|
];
|
|
3502
3651
|
|
|
3503
|
-
export { map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, getCurrent,
|
|
3652
|
+
export { map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-h2f26xbd.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-8fyfsajs.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-t89zj8wf.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map9,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-h2f26xbd.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-8fyfsajs.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;
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-h2f26xbd.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-8fyfsajs.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-t89zj8wf.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-96bzt4ck.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -4,12 +4,12 @@ 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-
|
|
7
|
+
} from "./chunk-dw0v4ke8.js";
|
|
8
|
+
import"./chunk-ewf73f4k.js";
|
|
9
|
+
import"./chunk-t89zj8wf.js";
|
|
10
|
+
import"./chunk-4qjfn1sa.js";
|
|
11
|
+
import"./chunk-8fyfsajs.js";
|
|
12
|
+
import"./chunk-h2f26xbd.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-h2f26xbd.js";
|
|
10
10
|
import {
|
|
11
11
|
WebSocketConstructor,
|
|
12
12
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
RunnerReplicaRpcs,
|
|
17
17
|
RunnerRunFileRpcs,
|
|
18
18
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-t89zj8wf.js";
|
|
20
20
|
import {
|
|
21
21
|
runForEach
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-8fyfsajs.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ewf73f4k.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-h2f26xbd.js";
|
|
100
100
|
import {
|
|
101
101
|
empty,
|
|
102
102
|
fromInput,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
ParseOptions,
|
|
111
111
|
RpcClientDefect,
|
|
112
112
|
RpcClientError
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-t89zj8wf.js";
|
|
114
114
|
import {
|
|
115
115
|
Clock,
|
|
116
116
|
interrupt,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
shutdownUnsafe,
|
|
124
124
|
fromQueue,
|
|
125
125
|
unwrap
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-8fyfsajs.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
readOpencode2,
|
|
10
10
|
databaseStamp2,
|
|
11
11
|
runOpencodeReader2
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
12
|
+
} from "./chunk-s34am3kw.js";
|
|
13
|
+
import"./chunk-9nbqzdqp.js";
|
|
14
|
+
import"./chunk-8fyfsajs.js";
|
|
15
|
+
import"./chunk-h2f26xbd.js";
|
|
16
16
|
export {
|
|
17
17
|
databaseStamp2 as databaseStamp,
|
|
18
18
|
decoded2 as decoded,
|