@kitman-sh/cli 0.13.16 → 0.13.17
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-ttk3d0z2.js → chunk-0vv8cbye.js} +136 -136
- package/dist/{chunk-5w6r4mw6.js → chunk-1cr225aq.js} +30 -30
- package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
- package/dist/{chunk-t4xwk14b.js → chunk-4yca7e7x.js} +101 -101
- package/dist/{chunk-4zh7qxck.js → chunk-643pxp2k.js} +4 -4
- package/dist/{chunk-bt22cd13.js → chunk-67xn3yer.js} +7 -7
- package/dist/{chunk-zd6y6ka8.js → chunk-80f0p6s7.js} +119 -119
- package/dist/{chunk-y7p4d14b.js → chunk-8nzsyz74.js} +2 -2
- package/dist/{chunk-fc2bhh5v.js → chunk-ahvpwkyk.js} +2 -2
- package/dist/{chunk-tntbdpmy.js → chunk-b5edh1jq.js} +78 -78
- package/dist/{chunk-vsrjg9nm.js → chunk-cbf0q15q.js} +22 -68
- package/dist/{chunk-v1e4g2re.js → chunk-efyrm6bv.js} +1 -1
- package/dist/{chunk-at5dh2te.js → chunk-g7ysb6ca.js} +18 -18
- package/dist/{chunk-49gbakce.js → chunk-gasqek3p.js} +6 -6
- package/dist/{chunk-x7acexnm.js → chunk-ggmwpwhf.js} +5 -5
- package/dist/{chunk-s88vcvtd.js → chunk-mmd7mjv0.js} +3 -3
- package/dist/{chunk-d9z9cyzt.js → chunk-pbmadbfm.js} +32 -32
- package/dist/{chunk-c9rvst3x.js → chunk-pjq9bf3w.js} +4 -4
- package/dist/{chunk-cbzqfz1k.js → chunk-pvsg1ppc.js} +4 -4
- package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
- package/dist/{chunk-mbqb40ev.js → chunk-q4ra17vf.js} +16 -16
- package/dist/{chunk-sjdze64n.js → chunk-syhs23yk.js} +7 -7
- package/dist/{chunk-nf9gdnsf.js → chunk-x20t7xy8.js} +17 -17
- package/dist/{chunk-5cevjkrb.js → chunk-zcpnmgwb.js} +16 -16
- package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,122 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
isTagged,
|
|
4
|
+
none,
|
|
5
|
+
isSome,
|
|
6
|
+
getOrElse,
|
|
7
|
+
getOrUndefined,
|
|
8
|
+
Reference,
|
|
9
|
+
minutes,
|
|
10
|
+
toMillis,
|
|
11
|
+
toMinutes,
|
|
12
|
+
succeed,
|
|
13
|
+
isSuccess,
|
|
14
|
+
TaggedError,
|
|
15
|
+
make15,
|
|
16
|
+
_await,
|
|
17
|
+
fail5,
|
|
18
|
+
succeed5,
|
|
19
|
+
provide2,
|
|
20
|
+
provideMerge,
|
|
21
|
+
squash,
|
|
22
|
+
pretty,
|
|
23
|
+
max2,
|
|
24
|
+
during,
|
|
25
|
+
min2,
|
|
26
|
+
exponential,
|
|
27
|
+
spaced,
|
|
28
|
+
all3,
|
|
29
|
+
forEach,
|
|
30
|
+
promise,
|
|
31
|
+
tryPromise,
|
|
32
|
+
succeed6,
|
|
33
|
+
suspend3,
|
|
34
|
+
sync2,
|
|
35
|
+
void_3,
|
|
36
|
+
undefined_,
|
|
37
|
+
gen,
|
|
38
|
+
fail7,
|
|
39
|
+
try_2,
|
|
40
|
+
fromNullishOr2,
|
|
41
|
+
flatMap3,
|
|
42
|
+
andThen2,
|
|
43
|
+
tap2,
|
|
44
|
+
result,
|
|
45
|
+
map8,
|
|
46
|
+
as,
|
|
47
|
+
asSome2,
|
|
48
|
+
asVoid,
|
|
49
|
+
zipWith,
|
|
50
|
+
catch_,
|
|
51
|
+
catchTag,
|
|
52
|
+
catchTags,
|
|
53
|
+
catchCause2,
|
|
54
|
+
catchIf,
|
|
55
|
+
mapError2,
|
|
56
|
+
tapError2,
|
|
57
|
+
tapCause,
|
|
58
|
+
retry,
|
|
59
|
+
ignore,
|
|
60
|
+
orElseSucceed,
|
|
61
|
+
timeout,
|
|
62
|
+
timeoutOrElse,
|
|
63
|
+
delay,
|
|
64
|
+
sleep,
|
|
65
|
+
raceFirst,
|
|
66
|
+
filterOrFail,
|
|
67
|
+
context,
|
|
68
|
+
provide3,
|
|
69
|
+
provideContext2,
|
|
70
|
+
service,
|
|
71
|
+
provideService,
|
|
72
|
+
scope2,
|
|
73
|
+
scoped,
|
|
74
|
+
addFinalizer2,
|
|
75
|
+
ensuring2,
|
|
76
|
+
onError,
|
|
77
|
+
forever,
|
|
78
|
+
forkIn,
|
|
79
|
+
forkScoped,
|
|
80
|
+
logWarning,
|
|
81
|
+
encode2,
|
|
82
|
+
is,
|
|
83
|
+
decodeUnknownEffect2,
|
|
84
|
+
decodeEffect,
|
|
85
|
+
optionalKey,
|
|
86
|
+
Literal,
|
|
87
|
+
String4,
|
|
88
|
+
Struct,
|
|
89
|
+
Record,
|
|
90
|
+
ArraySchema,
|
|
91
|
+
Union,
|
|
92
|
+
isPattern,
|
|
93
|
+
isMinLength,
|
|
94
|
+
isMaxLength,
|
|
95
|
+
fromJsonString,
|
|
96
|
+
toJsonValue,
|
|
97
|
+
isOneOf,
|
|
98
|
+
toJsonObject,
|
|
99
|
+
isBoolean2,
|
|
100
|
+
isNumber2,
|
|
101
|
+
isObject2,
|
|
102
|
+
isJsonObject,
|
|
103
|
+
isString2,
|
|
104
|
+
decodeJsonString,
|
|
105
|
+
encodeJsonStringSync,
|
|
106
|
+
encodePrettyJsonString
|
|
107
|
+
} from "./chunk-zgraq2y3.js";
|
|
108
|
+
import {
|
|
109
|
+
tap,
|
|
110
|
+
mapError,
|
|
111
|
+
decodeText,
|
|
112
|
+
run,
|
|
113
|
+
mkString,
|
|
114
|
+
FileSystem,
|
|
115
|
+
Path,
|
|
116
|
+
withDefault,
|
|
117
|
+
option,
|
|
118
|
+
String2
|
|
119
|
+
} from "./chunk-x20t7xy8.js";
|
|
2
120
|
import {
|
|
3
121
|
currentTimeMillis,
|
|
4
122
|
SecureRandom,
|
|
@@ -50,7 +168,7 @@ import {
|
|
|
50
168
|
digestSha256,
|
|
51
169
|
sha256Hasher,
|
|
52
170
|
raw,
|
|
53
|
-
|
|
171
|
+
make4,
|
|
54
172
|
get,
|
|
55
173
|
put,
|
|
56
174
|
HttpClient,
|
|
@@ -114,132 +232,14 @@ import {
|
|
|
114
232
|
harnessNames,
|
|
115
233
|
herdrRunnerCapabilities2,
|
|
116
234
|
declaredChecks
|
|
117
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-80f0p6s7.js";
|
|
118
236
|
import {
|
|
119
237
|
Id
|
|
120
|
-
} from "./chunk-
|
|
121
|
-
import {
|
|
122
|
-
isTagged,
|
|
123
|
-
none,
|
|
124
|
-
isSome,
|
|
125
|
-
getOrElse,
|
|
126
|
-
getOrUndefined,
|
|
127
|
-
Reference,
|
|
128
|
-
minutes,
|
|
129
|
-
toMillis,
|
|
130
|
-
toMinutes,
|
|
131
|
-
succeed,
|
|
132
|
-
isSuccess,
|
|
133
|
-
TaggedError,
|
|
134
|
-
make16,
|
|
135
|
-
_await,
|
|
136
|
-
fail5,
|
|
137
|
-
succeed5,
|
|
138
|
-
provide2,
|
|
139
|
-
provideMerge,
|
|
140
|
-
squash,
|
|
141
|
-
pretty,
|
|
142
|
-
max2,
|
|
143
|
-
during,
|
|
144
|
-
min2,
|
|
145
|
-
exponential,
|
|
146
|
-
spaced,
|
|
147
|
-
all3,
|
|
148
|
-
forEach,
|
|
149
|
-
promise,
|
|
150
|
-
tryPromise,
|
|
151
|
-
succeed6,
|
|
152
|
-
suspend3,
|
|
153
|
-
sync2,
|
|
154
|
-
void_3,
|
|
155
|
-
undefined_,
|
|
156
|
-
gen,
|
|
157
|
-
fail7,
|
|
158
|
-
try_2,
|
|
159
|
-
fromNullishOr2,
|
|
160
|
-
flatMap3,
|
|
161
|
-
andThen2,
|
|
162
|
-
tap2,
|
|
163
|
-
result,
|
|
164
|
-
map8,
|
|
165
|
-
as,
|
|
166
|
-
asSome2,
|
|
167
|
-
asVoid,
|
|
168
|
-
zipWith,
|
|
169
|
-
catch_,
|
|
170
|
-
catchTag,
|
|
171
|
-
catchTags,
|
|
172
|
-
catchCause2,
|
|
173
|
-
catchIf,
|
|
174
|
-
mapError2,
|
|
175
|
-
tapError2,
|
|
176
|
-
tapCause,
|
|
177
|
-
retry,
|
|
178
|
-
ignore,
|
|
179
|
-
orElseSucceed,
|
|
180
|
-
timeout,
|
|
181
|
-
timeoutOrElse,
|
|
182
|
-
delay,
|
|
183
|
-
sleep,
|
|
184
|
-
raceFirst,
|
|
185
|
-
filterOrFail,
|
|
186
|
-
context,
|
|
187
|
-
provide3,
|
|
188
|
-
provideContext2,
|
|
189
|
-
service,
|
|
190
|
-
provideService,
|
|
191
|
-
scope2,
|
|
192
|
-
scoped,
|
|
193
|
-
addFinalizer2,
|
|
194
|
-
ensuring2,
|
|
195
|
-
onError,
|
|
196
|
-
forever,
|
|
197
|
-
forkIn,
|
|
198
|
-
forkScoped,
|
|
199
|
-
logWarning,
|
|
200
|
-
encode2,
|
|
201
|
-
is,
|
|
202
|
-
decodeUnknownEffect2,
|
|
203
|
-
decodeEffect,
|
|
204
|
-
optionalKey,
|
|
205
|
-
Literal,
|
|
206
|
-
String4,
|
|
207
|
-
Struct,
|
|
208
|
-
Record,
|
|
209
|
-
ArraySchema,
|
|
210
|
-
Union,
|
|
211
|
-
isPattern,
|
|
212
|
-
isMinLength,
|
|
213
|
-
isMaxLength,
|
|
214
|
-
fromJsonString,
|
|
215
|
-
toJsonValue,
|
|
216
|
-
isOneOf,
|
|
217
|
-
toJsonObject,
|
|
218
|
-
isBoolean2,
|
|
219
|
-
isNumber2,
|
|
220
|
-
isObject2,
|
|
221
|
-
isJsonObject,
|
|
222
|
-
isString2,
|
|
223
|
-
decodeJsonString,
|
|
224
|
-
encodeJsonStringSync,
|
|
225
|
-
encodePrettyJsonString
|
|
226
|
-
} from "./chunk-zw3gf6r5.js";
|
|
227
|
-
import {
|
|
228
|
-
tap,
|
|
229
|
-
mapError,
|
|
230
|
-
decodeText,
|
|
231
|
-
run,
|
|
232
|
-
mkString,
|
|
233
|
-
FileSystem,
|
|
234
|
-
Path,
|
|
235
|
-
withDefault,
|
|
236
|
-
option,
|
|
237
|
-
String2
|
|
238
|
-
} from "./chunk-nf9gdnsf.js";
|
|
238
|
+
} from "./chunk-pxvd8w2v.js";
|
|
239
239
|
import {
|
|
240
240
|
ChildProcessSpawner,
|
|
241
|
-
|
|
242
|
-
} from "./chunk-
|
|
241
|
+
make2
|
|
242
|
+
} from "./chunk-cbf0q15q.js";
|
|
243
243
|
|
|
244
244
|
// apps/cli/src/cli-error.ts
|
|
245
245
|
function cliErrorCode(error, status) {
|
|
@@ -1020,10 +1020,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
1020
1020
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
1021
1021
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
1022
1022
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
1023
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1023
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-pjq9bf3w.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
1024
1024
|
});
|
|
1025
1025
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
1026
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
1026
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-pjq9bf3w.js")), (module) => module.updateHerdrCore(options))
|
|
1027
1027
|
});
|
|
1028
1028
|
var herdrCoreMissing = (error) => {
|
|
1029
1029
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1449,7 +1449,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1449
1449
|
});
|
|
1450
1450
|
var syncKits = (input) => gen(function* () {
|
|
1451
1451
|
const fs = yield* FileSystem;
|
|
1452
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1452
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-syhs23yk.js"));
|
|
1453
1453
|
const harnesses = yield* syncTargets(input.harness);
|
|
1454
1454
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1455
1455
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1966,7 +1966,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1966
1966
|
run: (command, args) => runCommand2(command, args),
|
|
1967
1967
|
attach: (command, args) => gen(function* () {
|
|
1968
1968
|
const spawner = yield* ChildProcessSpawner;
|
|
1969
|
-
const handle = yield* spawner.spawn(
|
|
1969
|
+
const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1970
1970
|
const exitCode = yield* handle.exitCode;
|
|
1971
1971
|
if (exitCode !== 0)
|
|
1972
1972
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -2368,7 +2368,7 @@ var package_default = {
|
|
|
2368
2368
|
};
|
|
2369
2369
|
|
|
2370
2370
|
// apps/cli/src/scaffold.ts
|
|
2371
|
-
var cliVersion = "0.13.
|
|
2371
|
+
var cliVersion = "0.13.17";
|
|
2372
2372
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2373
2373
|
name,
|
|
2374
2374
|
private: true,
|
|
@@ -2520,7 +2520,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
2520
2520
|
|
|
2521
2521
|
// apps/cli/src/commands.ts
|
|
2522
2522
|
var ClientId = "kitman-cli";
|
|
2523
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2523
|
+
var agentRuntime = promise(() => import("./chunk-4yca7e7x.js"));
|
|
2524
2524
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2525
2525
|
defaultValue: () => gen(function* () {
|
|
2526
2526
|
const tui = yield* tryPromise({
|
|
@@ -3556,7 +3556,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3556
3556
|
});
|
|
3557
3557
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3558
3558
|
defaultValue: () => (options) => gen(function* () {
|
|
3559
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3559
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-gasqek3p.js"));
|
|
3560
3560
|
return yield* makeRunnerRpcClient({
|
|
3561
3561
|
runnerId: options.runnerId,
|
|
3562
3562
|
bearer: options.bearer,
|
|
@@ -3868,7 +3868,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
3868
3868
|
yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map8(checkouts.reaches(repoBinding), (reachable) => ({ repoBinding, reachable })), { concurrency: 4 })), tap2((probed) => sync2(() => reached = probed)), catch_((error) => logWarning("runner_repository_probe_failed", error.message)), flatMap3(() => sleep(reached.some((probe) => !probe.reachable) ? repositoryRetryInterval : repositoryProbeInterval)), forever, forkScoped);
|
|
3869
3869
|
yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
|
|
3870
3870
|
const platform = yield* context();
|
|
3871
|
-
const updated = yield*
|
|
3871
|
+
const updated = yield* make15();
|
|
3872
3872
|
const scope = yield* scope2;
|
|
3873
3873
|
const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
|
|
3874
3874
|
const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
|
|
@@ -4123,7 +4123,7 @@ function mcpCommand(args) {
|
|
|
4123
4123
|
if (command.action === "run") {
|
|
4124
4124
|
if (command.args.length > 0)
|
|
4125
4125
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
4126
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
4126
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-b5edh1jq.js"));
|
|
4127
4127
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
4128
4128
|
}
|
|
4129
4129
|
if (command.action !== "setup")
|
|
@@ -4611,7 +4611,7 @@ function programLoopCommand(command) {
|
|
|
4611
4611
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
4612
4612
|
});
|
|
4613
4613
|
}
|
|
4614
|
-
var docsModule = promise(() => import("./chunk-
|
|
4614
|
+
var docsModule = promise(() => import("./chunk-efyrm6bv.js"));
|
|
4615
4615
|
function docsCommand(args) {
|
|
4616
4616
|
return gen(function* () {
|
|
4617
4617
|
const command = parseCommand(args);
|
|
@@ -5453,9 +5453,9 @@ function changeRequestCommand(args) {
|
|
|
5453
5453
|
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}`);
|
|
5454
5454
|
});
|
|
5455
5455
|
}
|
|
5456
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
5456
|
+
var KitWriter = map8(promise(() => import("./chunk-g7ysb6ca.js")), (build) => build.writeKit);
|
|
5457
5457
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
5458
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
5458
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-g7ysb6ca.js")), (build) => build.buildKit(directory))
|
|
5459
5459
|
});
|
|
5460
5460
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
5461
5461
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -6232,7 +6232,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
6232
6232
|
return gen(function* () {
|
|
6233
6233
|
const fs = yield* FileSystem;
|
|
6234
6234
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
6235
|
-
const response = yield* send(
|
|
6235
|
+
const response = yield* send(make4(download.method)(download.url), failed);
|
|
6236
6236
|
if (response.status < 200 || response.status >= 300)
|
|
6237
6237
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
6238
6238
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
Clock,
|
|
4
|
-
empty,
|
|
5
|
-
fromInput,
|
|
6
|
-
merge,
|
|
7
|
-
Socket,
|
|
8
|
-
SocketReadError,
|
|
9
|
-
SocketError,
|
|
10
|
-
isStreamSchema,
|
|
11
|
-
getStreamSchemas,
|
|
12
|
-
exitSchema,
|
|
13
|
-
ParseOptions,
|
|
14
|
-
RpcClientDefect,
|
|
15
|
-
RpcClientError
|
|
16
|
-
} from "./chunk-zd6y6ka8.js";
|
|
17
|
-
import {
|
|
18
|
-
interrupt,
|
|
19
|
-
getCurrent,
|
|
20
|
-
makeUnsafe2,
|
|
21
|
-
bounded,
|
|
22
|
-
offerAll,
|
|
23
|
-
failCause,
|
|
24
|
-
end,
|
|
25
|
-
shutdownUnsafe,
|
|
26
|
-
fromQueue,
|
|
27
|
-
unwrap
|
|
28
|
-
} from "./chunk-nf9gdnsf.js";
|
|
29
2
|
import {
|
|
30
3
|
dual,
|
|
31
4
|
identity,
|
|
@@ -123,7 +96,34 @@ import {
|
|
|
123
96
|
Defect,
|
|
124
97
|
Exit,
|
|
125
98
|
toCodecJson
|
|
126
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-zgraq2y3.js";
|
|
100
|
+
import {
|
|
101
|
+
interrupt,
|
|
102
|
+
getCurrent,
|
|
103
|
+
makeUnsafe2,
|
|
104
|
+
bounded,
|
|
105
|
+
offerAll,
|
|
106
|
+
failCause,
|
|
107
|
+
end,
|
|
108
|
+
shutdownUnsafe,
|
|
109
|
+
fromQueue,
|
|
110
|
+
unwrap
|
|
111
|
+
} from "./chunk-x20t7xy8.js";
|
|
112
|
+
import {
|
|
113
|
+
Clock,
|
|
114
|
+
empty,
|
|
115
|
+
fromInput,
|
|
116
|
+
merge,
|
|
117
|
+
Socket,
|
|
118
|
+
SocketReadError,
|
|
119
|
+
SocketError,
|
|
120
|
+
isStreamSchema,
|
|
121
|
+
getStreamSchemas,
|
|
122
|
+
exitSchema,
|
|
123
|
+
ParseOptions,
|
|
124
|
+
RpcClientDefect,
|
|
125
|
+
RpcClientError
|
|
126
|
+
} from "./chunk-80f0p6s7.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")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
|