alink-cli 0.11.0 → 0.11.2
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/bin/agentlink.js +1 -1
- package/dist/{Config-CxDW-52j.mjs → Config-nQ0ig08n.mjs} +5 -5
- package/dist/Config-nQ0ig08n.mjs.map +1 -0
- package/dist/{NodeHttpServer-D2VeYRw1.mjs → NodeHttpServer-D8xOGdyN.mjs} +11 -11
- package/dist/NodeHttpServer-D8xOGdyN.mjs.map +1 -0
- package/dist/{NodeServices-BtcL7AtO.mjs → NodeServices-D5Lui-4t.mjs} +22 -22
- package/dist/NodeServices-D5Lui-4t.mjs.map +1 -0
- package/dist/{NodeSocket-CLfrrutd.mjs → NodeSocket-C7yHTDM1.mjs} +61 -61
- package/dist/NodeSocket-C7yHTDM1.mjs.map +1 -0
- package/dist/{NodeSqliteClient-FfrElFAX.mjs → NodeSqliteClient-S86HxjMf.mjs} +5 -5
- package/dist/NodeSqliteClient-S86HxjMf.mjs.map +1 -0
- package/dist/{Schema-B4KtKnpr.mjs → Schema-CxqR6bXx.mjs} +91 -91
- package/dist/Schema-CxqR6bXx.mjs.map +1 -0
- package/dist/{SqlClient-BQM_tAo_.mjs → SqlClient-ePUtEqLJ.mjs} +6 -6
- package/dist/SqlClient-ePUtEqLJ.mjs.map +1 -0
- package/dist/bin.mjs +249 -183
- package/dist/bin.mjs.map +1 -1
- package/dist/daemon.js +149 -155
- package/dist/qr.js +22 -22
- package/dist/ui.js +172 -172
- package/package.json +1 -1
- package/dist/Config-CxDW-52j.mjs.map +0 -1
- package/dist/NodeHttpServer-D2VeYRw1.mjs.map +0 -1
- package/dist/NodeServices-BtcL7AtO.mjs.map +0 -1
- package/dist/NodeSocket-CLfrrutd.mjs.map +0 -1
- package/dist/NodeSqliteClient-FfrElFAX.mjs.map +0 -1
- package/dist/Schema-B4KtKnpr.mjs.map +0 -1
- package/dist/SqlClient-BQM_tAo_.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $a as flatMap, $d as hasProperty, $i as set$4, $o as scopedWith, $r as toReadableStreamEffect, $s as TaggedError, $u as add, Ac as _await, Ad as strictEqual, B as Union, Bd as Class, Bu as headUnsafe, Ca as andThen, Co as map$3, Cr as fromReadableStream, Cs as useSpan, D as String$1, Ds as withFiber, Du as makeEquivalence, E as Record, Ec as provide, Ed as some, Fc as into, Fl as reportCauseUnsafe, Fo as onInterrupt, Fu as makeEquivalence$2, Gc as isFailure, Gd as symbolRedactable, Gl as ParentSpan, Hl as DisablePropagation, Ho as provideService, Hs as passthrough, Hu as fail, Ia as catchFilter, Iu as map$1, J as decodeEffect, Ja as ensuring, Jc as succeed$4, Jd as array, Jn as Path, Jo as runForkWith, Js as Clock, Ju as map$2, Ka as die, Ko as retry, Kr as runForEach, Ku as isFailure$1, Lo as orDie, Lu as set$3, Mc as doneUnsafe, Mt as toCodecJson, Na as catchCause, Nl as makeSpanUnsafe, Oc as TracerEnabled, Oo as matchCauseEffect, Os as withLogSpan, Ot as optional, P as Tuple, Pd as PipeInspectableProto, Po as onExitPrimitive, Pu as isEmptyRecord, Q as decodeUnknownEffect, Qc as StackTrace, Qi as make$17, Qn as Size, Qt as isSchemaError, Qu as Service, Rd as assignProperty, Ru as empty$7, Sc as closeUnsafe, Sd as isSome, Ss as updateContext, Ta as annotateLogs, Tc as makeUnsafe$5, Td as none, To as mapError, Ts as whileLoop, Ua as context, Uc as failCause, Ud as format, Uo as raceFirst, Vd as NodeInspectSymbol, Vr as run$1, Vs as isSchedule, Vu as makeEquivalence$1, Wa as contextWith, Wd as redact$1, Wo as repeat, Xa as fail$1, Xd as structure, Xl as has, Xn as FileSystem, Xo as runSync, Xr as suspend$1, Xt as encodeUnknownEffect, Xu as try_$1, Ya as exit, Yl as compose, Yu as succeed$1, Z as decodeTo, Za as failCause$1, Zd as symbol$2, Zl as toPredicate, Zs as Error$1, Zu as Reference, _f as identity, _s as try_, ad as getUnsafe, bd as getOrUndefined, bs as uninterruptible, c as Defect, cd as merge$2, cl as hasInterrupts, d as ErrorClass, df as constTrue, dr as ensuring$1, ea as makeUnsafe$3, eo as flatMapEager, fc as provideMerge, ff as constUndefined, fr as fail$2, fu as toSeconds, g as Literals, gd as fromNullishOr, gf as flow, gl as makeDieReason, go as log, gs as tryPromise, hc as sync$1, hf as dual, hl as isTimeoutError, ho as isEffect, hs as timeoutOrElse, hu as appendAll$1, ia as interruptAll, ic as effect, il as filterInterruptors, iu as isFinite, j as TaggedErrorClass, ja as cached, jt as tag, kd as make$15, ko as matchCauseEffectEager, ks as withParentSpan, ll as hasInterruptsOnly, m as Int, mf as constant, ml as isNoSuchElementError, n as ArraySchema, na as getCurrent, oc as effectDiscard, ol as fromReasons, os as suspend, pc as succeed, pf as constVoid, po as interrupt, q as declare, qd as symbol$1, ql as externalSpan, qo as runFork, ro as fnUntraced, rs as succeed$2, sd as makeUnsafe$4, sf as or, ss as sync, ta as await_, td as get$2, tu as fromInputUnsafe, uf as constFalse, uo as gen, uu as seconds, vc as Scope, vd as getOrElse, wd as match, wo as mapEager, ws as void_, wt as link, wu as fromIterable$1, xs as uninterruptibleMask, y as NonEmptyArray, ya as acquireRelease, yf as pipeArguments, yn as transform$1, za as catchTag, zc as makeUnsafe$2, zd as BaseProto, zo as promise, zt as make$16 } from "./Schema-
|
|
3
|
+
import { $a as flatMap, $d as hasProperty, $i as set$4, $o as scopedWith, $r as toReadableStreamEffect, $s as TaggedError, $u as add, Ac as _await, Ad as strictEqual, B as Union, Bd as Class, Bu as headUnsafe, Ca as andThen, Co as map$3, Cr as fromReadableStream, Cs as useSpan, D as String$1, Ds as withFiber, Du as makeEquivalence, E as Record, Ec as provide, Ed as some, Fc as into, Fl as reportCauseUnsafe, Fo as onInterrupt, Fu as makeEquivalence$2, Gc as isFailure, Gd as symbolRedactable, Gl as ParentSpan, Hl as DisablePropagation, Ho as provideService, Hs as passthrough, Hu as fail, Ia as catchFilter, Iu as map$1, J as decodeEffect, Ja as ensuring, Jc as succeed$4, Jd as array, Jn as Path, Jo as runForkWith, Js as Clock, Ju as map$2, Ka as die, Ko as retry, Kr as runForEach, Ku as isFailure$1, Lo as orDie, Lu as set$3, Mc as doneUnsafe, Mt as toCodecJson, Na as catchCause, Nl as makeSpanUnsafe, Oc as TracerEnabled, Oo as matchCauseEffect, Os as withLogSpan, Ot as optional, P as Tuple, Pd as PipeInspectableProto, Po as onExitPrimitive, Pu as isEmptyRecord, Q as decodeUnknownEffect, Qc as StackTrace, Qi as make$17, Qn as Size, Qt as isSchemaError, Qu as Service, Rd as assignProperty, Ru as empty$7, Sc as closeUnsafe, Sd as isSome, Ss as updateContext, Ta as annotateLogs, Tc as makeUnsafe$5, Td as none, To as mapError, Ts as whileLoop, Ua as context, Uc as failCause, Ud as format, Uo as raceFirst, Vd as NodeInspectSymbol, Vr as run$1, Vs as isSchedule, Vu as makeEquivalence$1, Wa as contextWith, Wd as redact$1, Wo as repeat, Xa as fail$1, Xd as structure, Xl as has, Xn as FileSystem, Xo as runSync, Xr as suspend$1, Xt as encodeUnknownEffect, Xu as try_$1, Ya as exit, Yl as compose, Yu as succeed$1, Z as decodeTo, Za as failCause$1, Zd as symbol$2, Zl as toPredicate, Zs as Error$1, Zu as Reference, _f as identity, _s as try_, ad as getUnsafe, bd as getOrUndefined, bs as uninterruptible, c as Defect, cd as merge$2, cl as hasInterrupts, d as ErrorClass, df as constTrue, dr as ensuring$1, ea as makeUnsafe$3, eo as flatMapEager, fc as provideMerge, ff as constUndefined, fr as fail$2, fu as toSeconds, g as Literals, gd as fromNullishOr, gf as flow, gl as makeDieReason, go as log, gs as tryPromise, hc as sync$1, hf as dual, hl as isTimeoutError, ho as isEffect, hs as timeoutOrElse, hu as appendAll$1, ia as interruptAll, ic as effect, il as filterInterruptors, iu as isFinite, j as TaggedErrorClass, ja as cached, jt as tag, kd as make$15, ko as matchCauseEffectEager, ks as withParentSpan, ll as hasInterruptsOnly, m as Int, mf as constant, ml as isNoSuchElementError, n as ArraySchema, na as getCurrent, oc as effectDiscard, ol as fromReasons, os as suspend, pc as succeed, pf as constVoid, po as interrupt, q as declare, qd as symbol$1, ql as externalSpan, qo as runFork, ro as fnUntraced, rs as succeed$2, sd as makeUnsafe$4, sf as or, ss as sync, ta as await_, td as get$2, tu as fromInputUnsafe, uf as constFalse, uo as gen, uu as seconds, vc as Scope, vd as getOrElse, wd as match, wo as mapEager, ws as void_, wt as link, wu as fromIterable$1, xs as uninterruptibleMask, y as NonEmptyArray, ya as acquireRelease, yf as pipeArguments, yn as transform$1, za as catchTag, zc as makeUnsafe$2, zd as BaseProto, zo as promise, zt as make$16 } from "./Schema-CxqR6bXx.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
var __create = Object.create;
|
|
@@ -35,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
35
35
|
}) : target, mod));
|
|
36
36
|
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region
|
|
38
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/UndefinedOr.js
|
|
39
39
|
/**
|
|
40
40
|
* Maps a defined value with `f`, or returns `undefined` unchanged.
|
|
41
41
|
*
|
|
@@ -51,7 +51,7 @@ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
|
51
51
|
*/
|
|
52
52
|
const map = /*#__PURE__*/ dual(2, (self, f) => self === void 0 ? void 0 : f(self));
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region
|
|
54
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpMethod.js
|
|
55
55
|
/**
|
|
56
56
|
* Defines supported HTTP method names for the unstable HTTP modules.
|
|
57
57
|
*
|
|
@@ -92,7 +92,7 @@ const allShort = [
|
|
|
92
92
|
["TRACE", "trace"]
|
|
93
93
|
];
|
|
94
94
|
//#endregion
|
|
95
|
-
//#region
|
|
95
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/UrlParams.js
|
|
96
96
|
/**
|
|
97
97
|
* Models URL query parameters as ordered string pairs.
|
|
98
98
|
*
|
|
@@ -355,7 +355,7 @@ const schemaRecord = /*#__PURE__*/ UrlParamsSchema.pipe(/*#__PURE__*/ decodeTo(/
|
|
|
355
355
|
encode: fromInput$1
|
|
356
356
|
})));
|
|
357
357
|
//#endregion
|
|
358
|
-
//#region
|
|
358
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpBody.js
|
|
359
359
|
/**
|
|
360
360
|
* Describes HTTP request and response bodies before they reach a platform
|
|
361
361
|
* adapter.
|
|
@@ -645,7 +645,7 @@ var Stream = class extends Proto$6 {
|
|
|
645
645
|
*/
|
|
646
646
|
const stream$1 = (body, contentType, contentLength) => new Stream(body, contentType ?? "application/octet-stream", contentLength);
|
|
647
647
|
//#endregion
|
|
648
|
-
//#region
|
|
648
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/Headers.js
|
|
649
649
|
/**
|
|
650
650
|
* Models HTTP headers for the unstable HTTP client and server modules.
|
|
651
651
|
*
|
|
@@ -827,7 +827,7 @@ const CurrentRedactedNames = /*#__PURE__*/ Reference("effect/Headers/CurrentReda
|
|
|
827
827
|
"x-api-key"
|
|
828
828
|
] });
|
|
829
829
|
//#endregion
|
|
830
|
-
//#region
|
|
830
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/Etag.js
|
|
831
831
|
/**
|
|
832
832
|
* HTTP entity tag values and metadata-based generator layers.
|
|
833
833
|
*
|
|
@@ -923,7 +923,7 @@ const layerWeak = /*#__PURE__*/ succeed(Generator)({
|
|
|
923
923
|
}
|
|
924
924
|
});
|
|
925
925
|
//#endregion
|
|
926
|
-
//#region
|
|
926
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/ErrorReporter.js
|
|
927
927
|
/**
|
|
928
928
|
* Defines the runtime property key used to mark an object error as ignored by error
|
|
929
929
|
* reporting.
|
|
@@ -960,7 +960,7 @@ const layerWeak = /*#__PURE__*/ succeed(Generator)({
|
|
|
960
960
|
*/
|
|
961
961
|
const ignore = "~effect/ErrorReporter/ignore";
|
|
962
962
|
//#endregion
|
|
963
|
-
//#region
|
|
963
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/Cookies.js
|
|
964
964
|
/**
|
|
965
965
|
* Models HTTP cookies and cookie collections for requests and responses.
|
|
966
966
|
*
|
|
@@ -1344,7 +1344,7 @@ const tryDecodeURIComponent = (str) => {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
};
|
|
1346
1346
|
//#endregion
|
|
1347
|
-
//#region
|
|
1347
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpClientError.js
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Typed failure model for Effect HTTP client operations.
|
|
1350
1350
|
*
|
|
@@ -1563,7 +1563,7 @@ var HttpClientErrorSchema = class HttpClientErrorSchema extends ErrorClass(TypeI
|
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
1565
|
//#endregion
|
|
1566
|
-
//#region
|
|
1566
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/Url.js
|
|
1567
1567
|
/**
|
|
1568
1568
|
* Error returned when constructing a `URL` fails.
|
|
1569
1569
|
*
|
|
@@ -1597,7 +1597,7 @@ const baseUrl = () => {
|
|
|
1597
1597
|
if ("location" in globalThis && globalThis.location !== void 0 && globalThis.location.origin !== void 0 && globalThis.location.pathname !== void 0) return location.origin + location.pathname;
|
|
1598
1598
|
};
|
|
1599
1599
|
//#endregion
|
|
1600
|
-
//#region
|
|
1600
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpClientRequest.js
|
|
1601
1601
|
const TypeId$9 = "~effect/http/HttpClientRequest";
|
|
1602
1602
|
const Proto$3 = {
|
|
1603
1603
|
[TypeId$9]: TypeId$9,
|
|
@@ -1800,7 +1800,7 @@ const bodyJson = /*#__PURE__*/ dual(2, (self, body) => map$3(json(body), (body)
|
|
|
1800
1800
|
*/
|
|
1801
1801
|
const bodyFormData = /*#__PURE__*/ dual(2, (self, body) => setBody$1(self, formData(body)));
|
|
1802
1802
|
//#endregion
|
|
1803
|
-
//#region
|
|
1803
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
|
|
1804
1804
|
/**
|
|
1805
1805
|
* Common model for incoming HTTP messages.
|
|
1806
1806
|
*
|
|
@@ -1860,7 +1860,7 @@ const inspect = (self, that) => {
|
|
|
1860
1860
|
return obj;
|
|
1861
1861
|
};
|
|
1862
1862
|
//#endregion
|
|
1863
|
-
//#region
|
|
1863
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpClientResponse.js
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Represents responses returned by the Effect HTTP client.
|
|
1866
1866
|
*
|
|
@@ -2023,7 +2023,7 @@ var WebHttpClientResponse = class extends Class {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
};
|
|
2025
2025
|
//#endregion
|
|
2026
|
-
//#region
|
|
2026
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpServerResponse.js
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Describes immutable responses returned by Effect HTTP handlers.
|
|
2029
2029
|
*
|
|
@@ -2331,7 +2331,7 @@ const makeResponse = (options) => {
|
|
|
2331
2331
|
return self;
|
|
2332
2332
|
};
|
|
2333
2333
|
//#endregion
|
|
2334
|
-
//#region
|
|
2334
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/internal/compression.js
|
|
2335
2335
|
/** @internal */
|
|
2336
2336
|
const varyAcceptEncoding = (headers) => {
|
|
2337
2337
|
const vary = headers["vary"];
|
|
@@ -2394,7 +2394,7 @@ const negotiate = (header, preferred, supported) => {
|
|
|
2394
2394
|
}
|
|
2395
2395
|
};
|
|
2396
2396
|
//#endregion
|
|
2397
|
-
//#region
|
|
2397
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpPlatform.js
|
|
2398
2398
|
/**
|
|
2399
2399
|
* Platform-specific support for serving files as HTTP server responses.
|
|
2400
2400
|
*
|
|
@@ -2447,7 +2447,7 @@ const make$10 = /*#__PURE__*/ fnUntraced(function* (impl) {
|
|
|
2447
2447
|
});
|
|
2448
2448
|
});
|
|
2449
2449
|
//#endregion
|
|
2450
|
-
//#region
|
|
2450
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Converts supported values into HTTP server responses.
|
|
2453
2453
|
*
|
|
@@ -2526,7 +2526,7 @@ const toResponseOrElseDefect = (u, orElse) => {
|
|
|
2526
2526
|
return succeed$2(orElse);
|
|
2527
2527
|
};
|
|
2528
2528
|
//#endregion
|
|
2529
|
-
//#region
|
|
2529
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpServerError.js
|
|
2530
2530
|
/**
|
|
2531
2531
|
* Describes failures raised while handling HTTP server requests.
|
|
2532
2532
|
*
|
|
@@ -2759,7 +2759,7 @@ const succeedInternalServerError = /*#__PURE__*/ succeed$2(internalServerError);
|
|
|
2759
2759
|
const clientAbortError = /*#__PURE__*/ succeed$2(/*#__PURE__*/ empty({ status: 499 }));
|
|
2760
2760
|
const serverAbortError = /*#__PURE__*/ succeed$2(/*#__PURE__*/ empty({ status: 503 }));
|
|
2761
2761
|
//#endregion
|
|
2762
|
-
//#region
|
|
2762
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/FiberSet.js
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Manages many fibers together inside one scope.
|
|
2765
2765
|
*
|
|
@@ -3057,7 +3057,7 @@ const awaitEmpty = (self) => whileLoop({
|
|
|
3057
3057
|
step: constVoid
|
|
3058
3058
|
});
|
|
3059
3059
|
//#endregion
|
|
3060
|
-
//#region
|
|
3060
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/socket/Socket.js
|
|
3061
3061
|
/**
|
|
3062
3062
|
* Runtime type identifier attached to `Socket` services.
|
|
3063
3063
|
*
|
|
@@ -3395,7 +3395,7 @@ const fromWebSocket = (acquire, options) => withFiber((fiber) => {
|
|
|
3395
3395
|
}));
|
|
3396
3396
|
});
|
|
3397
3397
|
//#endregion
|
|
3398
|
-
//#region
|
|
3398
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/multipasta@0.2.8/node_modules/multipasta/dist/esm/internal/contentType.js
|
|
3399
3399
|
/**
|
|
3400
3400
|
* RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1
|
|
3401
3401
|
*
|
|
@@ -3460,7 +3460,7 @@ function parse(header, withoutSlash = false) {
|
|
|
3460
3460
|
return result;
|
|
3461
3461
|
}
|
|
3462
3462
|
//#endregion
|
|
3463
|
-
//#region
|
|
3463
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/multipasta@0.2.8/node_modules/multipasta/dist/esm/internal/headers.js
|
|
3464
3464
|
const constMaxPairs = 100;
|
|
3465
3465
|
const constMaxSize = 16 * 1024;
|
|
3466
3466
|
var State$1;
|
|
@@ -4014,7 +4014,7 @@ function make$7() {
|
|
|
4014
4014
|
};
|
|
4015
4015
|
}
|
|
4016
4016
|
//#endregion
|
|
4017
|
-
//#region
|
|
4017
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/multipasta@0.2.8/node_modules/multipasta/dist/esm/internal/search.js
|
|
4018
4018
|
function makeState(needle_) {
|
|
4019
4019
|
const needle = new TextEncoder().encode(needle_);
|
|
4020
4020
|
const needleLength = needle.length;
|
|
@@ -4111,7 +4111,7 @@ function make$6(needle, callback, seed) {
|
|
|
4111
4111
|
};
|
|
4112
4112
|
}
|
|
4113
4113
|
//#endregion
|
|
4114
|
-
//#region
|
|
4114
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/multipasta@0.2.8/node_modules/multipasta/dist/esm/internal/multipart.js
|
|
4115
4115
|
var State;
|
|
4116
4116
|
(function(State) {
|
|
4117
4117
|
State[State["headers"] = 0] = "headers";
|
|
@@ -4281,12 +4281,12 @@ function decodeField$1(info, value) {
|
|
|
4281
4281
|
return getDecoder(info.contentTypeParameters.charset ?? "utf-8").decode(value);
|
|
4282
4282
|
}
|
|
4283
4283
|
//#endregion
|
|
4284
|
-
//#region
|
|
4284
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/multipasta@0.2.8/node_modules/multipasta/dist/esm/index.js
|
|
4285
4285
|
const make$4 = make$5;
|
|
4286
4286
|
const defaultIsFile = defaultIsFile$1;
|
|
4287
4287
|
const decodeField = decodeField$1;
|
|
4288
4288
|
//#endregion
|
|
4289
|
-
//#region
|
|
4289
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/Multipart.js
|
|
4290
4290
|
/**
|
|
4291
4291
|
* Parses and persists HTTP `multipart/form-data` request bodies.
|
|
4292
4292
|
*
|
|
@@ -4537,7 +4537,7 @@ const MaxFileSize = /*#__PURE__*/ Reference("effect/http/Multipart/MaxFileSize",
|
|
|
4537
4537
|
*/
|
|
4538
4538
|
const FieldMimeTypes = /*#__PURE__*/ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /*#__PURE__*/ constant(["application/json"]) });
|
|
4539
4539
|
//#endregion
|
|
4540
|
-
//#region
|
|
4540
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpServerRequest.js
|
|
4541
4541
|
/**
|
|
4542
4542
|
* Runtime type identifier for `HttpServerRequest` values.
|
|
4543
4543
|
*
|
|
@@ -4626,7 +4626,7 @@ const toURL = (self) => {
|
|
|
4626
4626
|
}
|
|
4627
4627
|
};
|
|
4628
4628
|
//#endregion
|
|
4629
|
-
//#region
|
|
4629
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpTraceContext.js
|
|
4630
4630
|
/**
|
|
4631
4631
|
* HTTP propagation helpers for Effect tracing context.
|
|
4632
4632
|
*
|
|
@@ -4742,7 +4742,7 @@ const w3c = (headers) => {
|
|
|
4742
4742
|
}
|
|
4743
4743
|
};
|
|
4744
4744
|
//#endregion
|
|
4745
|
-
//#region
|
|
4745
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
|
|
4746
4746
|
/** @internal */
|
|
4747
4747
|
const requestPreResponseHandlers = /*#__PURE__*/ new WeakMap();
|
|
4748
4748
|
/** @internal */
|
|
@@ -4752,7 +4752,7 @@ const appendPreResponseHandlerUnsafe$1 = (request, handler) => {
|
|
|
4752
4752
|
requestPreResponseHandlers.set(request.source, next);
|
|
4753
4753
|
};
|
|
4754
4754
|
//#endregion
|
|
4755
|
-
//#region
|
|
4755
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpMiddleware.js
|
|
4756
4756
|
/**
|
|
4757
4757
|
* Wraps HTTP server apps with request and response behavior.
|
|
4758
4758
|
*
|
|
@@ -5060,7 +5060,7 @@ const contentLengthHeader = (headers) => {
|
|
|
5060
5060
|
return Number.isFinite(parsed) && parsed >= 0 ? parsed : void 0;
|
|
5061
5061
|
};
|
|
5062
5062
|
//#endregion
|
|
5063
|
-
//#region
|
|
5063
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpEffect.js
|
|
5064
5064
|
/**
|
|
5065
5065
|
* Runs an HTTP server effect, sends the produced response with the supplied handler, and converts failures into HTTP responses.
|
|
5066
5066
|
*
|
|
@@ -5150,7 +5150,7 @@ const appendPreResponseHandler = (handler) => HttpServerRequest.use((request) =>
|
|
|
5150
5150
|
*/
|
|
5151
5151
|
const appendPreResponseHandlerUnsafe = appendPreResponseHandlerUnsafe$1;
|
|
5152
5152
|
//#endregion
|
|
5153
|
-
//#region
|
|
5153
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Ref.js
|
|
5154
5154
|
/**
|
|
5155
5155
|
* Stores fiber-safe mutable state inside Effect programs.
|
|
5156
5156
|
*
|
|
@@ -5445,7 +5445,7 @@ const update = /*#__PURE__*/ dual(2, (self, f) => sync(() => {
|
|
|
5445
5445
|
*/
|
|
5446
5446
|
const updateAndGet = /*#__PURE__*/ dual(2, (self, f) => sync(() => self.ref.current = f(self.ref.current)));
|
|
5447
5447
|
//#endregion
|
|
5448
|
-
//#region
|
|
5448
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpClient.js
|
|
5449
5449
|
const TypeId = "~effect/http/HttpClient";
|
|
5450
5450
|
/**
|
|
5451
5451
|
* Service tag for the default outgoing HTTP client service.
|
|
@@ -5744,7 +5744,7 @@ const isTransientError = (error) => isTimeoutError(error) || isTransientHttpErro
|
|
|
5744
5744
|
const isTransientHttpError = (error) => isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && isTransientResponse(error.reason.response));
|
|
5745
5745
|
const isTransientResponse = (response) => response.status === 408 || response.status === 429 || response.status === 500 || response.status === 502 || response.status === 503 || response.status === 504;
|
|
5746
5746
|
//#endregion
|
|
5747
|
-
//#region
|
|
5747
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpServer.js
|
|
5748
5748
|
/**
|
|
5749
5749
|
* Service for serving Effect HTTP responses on a concrete HTTP server.
|
|
5750
5750
|
*
|
|
@@ -5860,7 +5860,7 @@ const makeTestClient = /*#__PURE__*/ gen(function* () {
|
|
|
5860
5860
|
*/
|
|
5861
5861
|
const layerTestClient = /*#__PURE__*/ effect(HttpClient)(makeTestClient);
|
|
5862
5862
|
//#endregion
|
|
5863
|
-
//#region
|
|
5863
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/FetchHttpClient.js
|
|
5864
5864
|
/**
|
|
5865
5865
|
* Fetch-based implementation of the Effect HTTP client service.
|
|
5866
5866
|
*
|
|
@@ -5955,7 +5955,7 @@ const layer = /*#__PURE__*/ layerMergedContext(/*#__PURE__*/ succeed$2(/* @__PUR
|
|
|
5955
5955
|
return send(void 0);
|
|
5956
5956
|
})));
|
|
5957
5957
|
//#endregion
|
|
5958
|
-
//#region
|
|
5958
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/mime@4.1.0/node_modules/mime/dist/types/other.js
|
|
5959
5959
|
const types$1 = {
|
|
5960
5960
|
"application/prs.cww": ["cww"],
|
|
5961
5961
|
"application/prs.xsf+xml": ["xsf"],
|
|
@@ -6793,7 +6793,7 @@ const types$1 = {
|
|
|
6793
6793
|
};
|
|
6794
6794
|
Object.freeze(types$1);
|
|
6795
6795
|
//#endregion
|
|
6796
|
-
//#region
|
|
6796
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/mime@4.1.0/node_modules/mime/dist/types/standard.js
|
|
6797
6797
|
const types = {
|
|
6798
6798
|
"application/andrew-inset": ["ez"],
|
|
6799
6799
|
"application/appinstaller": ["appinstaller"],
|
|
@@ -7266,7 +7266,7 @@ const types = {
|
|
|
7266
7266
|
};
|
|
7267
7267
|
Object.freeze(types);
|
|
7268
7268
|
//#endregion
|
|
7269
|
-
//#region
|
|
7269
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/mime@4.1.0/node_modules/mime/dist/src/Mime.js
|
|
7270
7270
|
var __classPrivateFieldGet = function(receiver, state, kind, f) {
|
|
7271
7271
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
7272
7272
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -7335,7 +7335,7 @@ var Mime = class {
|
|
|
7335
7335
|
};
|
|
7336
7336
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
7337
7337
|
//#endregion
|
|
7338
|
-
//#region
|
|
7338
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@effect+platform-node@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patch_hash=_7eec308fcf6351488fccaf9a0edac255/node_modules/@effect/platform-node/dist/Mime.js
|
|
7339
7339
|
/**
|
|
7340
7340
|
* Re-exports the `mime` package through the `@effect/platform-node/Mime`
|
|
7341
7341
|
* module and the `Mime` namespace in the package barrel.
|
|
@@ -7351,7 +7351,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
|
|
|
7351
7351
|
*/
|
|
7352
7352
|
var Mime_default = new Mime(types, types$1)._freeze();
|
|
7353
7353
|
//#endregion
|
|
7354
|
-
//#region
|
|
7354
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/constants.js
|
|
7355
7355
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7356
7356
|
const BINARY_TYPES = [
|
|
7357
7357
|
"nodebuffer",
|
|
@@ -7374,7 +7374,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7374
7374
|
};
|
|
7375
7375
|
}));
|
|
7376
7376
|
//#endregion
|
|
7377
|
-
//#region
|
|
7377
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/node-gyp-build.js
|
|
7378
7378
|
var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7379
7379
|
var fs = __require("fs");
|
|
7380
7380
|
var path = __require("path");
|
|
@@ -7530,14 +7530,14 @@ var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
7530
7530
|
load.compareTuples = compareTuples;
|
|
7531
7531
|
}));
|
|
7532
7532
|
//#endregion
|
|
7533
|
-
//#region
|
|
7533
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/index.js
|
|
7534
7534
|
var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7535
7535
|
const runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
|
7536
7536
|
if (typeof runtimeRequire.addon === "function") module.exports = runtimeRequire.addon.bind(runtimeRequire);
|
|
7537
7537
|
else module.exports = require_node_gyp_build$1();
|
|
7538
7538
|
}));
|
|
7539
7539
|
//#endregion
|
|
7540
|
-
//#region
|
|
7540
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/bufferutil@4.1.0/node_modules/bufferutil/fallback.js
|
|
7541
7541
|
var require_fallback$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7542
7542
|
/**
|
|
7543
7543
|
* Masks a buffer using the given mask.
|
|
@@ -7569,7 +7569,7 @@ var require_fallback$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7569
7569
|
};
|
|
7570
7570
|
}));
|
|
7571
7571
|
//#endregion
|
|
7572
|
-
//#region
|
|
7572
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/bufferutil@4.1.0/node_modules/bufferutil/index.js
|
|
7573
7573
|
var require_bufferutil = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7574
7574
|
try {
|
|
7575
7575
|
module.exports = require_node_gyp_build()(__dirname);
|
|
@@ -7578,7 +7578,7 @@ var require_bufferutil = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7578
7578
|
}
|
|
7579
7579
|
}));
|
|
7580
7580
|
//#endregion
|
|
7581
|
-
//#region
|
|
7581
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/buffer-util.js
|
|
7582
7582
|
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7583
7583
|
const { EMPTY_BUFFER } = require_constants();
|
|
7584
7584
|
const FastBuffer = Buffer[Symbol.species];
|
|
@@ -7678,7 +7678,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7678
7678
|
} catch (e) {}
|
|
7679
7679
|
}));
|
|
7680
7680
|
//#endregion
|
|
7681
|
-
//#region
|
|
7681
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/limiter.js
|
|
7682
7682
|
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7683
7683
|
const kDone = Symbol("kDone");
|
|
7684
7684
|
const kRun = Symbol("kRun");
|
|
@@ -7729,7 +7729,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7729
7729
|
module.exports = Limiter;
|
|
7730
7730
|
}));
|
|
7731
7731
|
//#endregion
|
|
7732
|
-
//#region
|
|
7732
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/permessage-deflate.js
|
|
7733
7733
|
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7734
7734
|
const zlib = __require("zlib");
|
|
7735
7735
|
const bufferUtil = require_buffer_util();
|
|
@@ -8065,7 +8065,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
8065
8065
|
}
|
|
8066
8066
|
}));
|
|
8067
8067
|
//#endregion
|
|
8068
|
-
//#region
|
|
8068
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/utf-8-validate@6.0.6/node_modules/utf-8-validate/fallback.js
|
|
8069
8069
|
var require_fallback = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8070
8070
|
/**
|
|
8071
8071
|
* Checks if a given buffer contains only correct UTF-8.
|
|
@@ -8095,7 +8095,7 @@ var require_fallback = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8095
8095
|
module.exports = isValidUTF8;
|
|
8096
8096
|
}));
|
|
8097
8097
|
//#endregion
|
|
8098
|
-
//#region
|
|
8098
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/utf-8-validate@6.0.6/node_modules/utf-8-validate/index.js
|
|
8099
8099
|
var require_utf_8_validate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8100
8100
|
try {
|
|
8101
8101
|
module.exports = require_node_gyp_build()(__dirname);
|
|
@@ -8104,7 +8104,7 @@ var require_utf_8_validate = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
8104
8104
|
}
|
|
8105
8105
|
}));
|
|
8106
8106
|
//#endregion
|
|
8107
|
-
//#region
|
|
8107
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/validation.js
|
|
8108
8108
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8109
8109
|
const { isUtf8 } = __require("buffer");
|
|
8110
8110
|
const { hasBlob } = require_constants();
|
|
@@ -8300,7 +8300,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8300
8300
|
} catch (e) {}
|
|
8301
8301
|
}));
|
|
8302
8302
|
//#endregion
|
|
8303
|
-
//#region
|
|
8303
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/receiver.js
|
|
8304
8304
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8305
8305
|
const { Writable } = __require("stream");
|
|
8306
8306
|
const PerMessageDeflate = require_permessage_deflate();
|
|
@@ -8763,7 +8763,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8763
8763
|
module.exports = Receiver;
|
|
8764
8764
|
}));
|
|
8765
8765
|
//#endregion
|
|
8766
|
-
//#region
|
|
8766
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/sender.js
|
|
8767
8767
|
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8768
8768
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
8769
8769
|
const { randomFillSync } = __require("crypto");
|
|
@@ -9257,7 +9257,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9257
9257
|
}
|
|
9258
9258
|
}));
|
|
9259
9259
|
//#endregion
|
|
9260
|
-
//#region
|
|
9260
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/event-target.js
|
|
9261
9261
|
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9262
9262
|
const { kForOnEventAttribute, kListener } = require_constants();
|
|
9263
9263
|
const kCode = Symbol("kCode");
|
|
@@ -9488,7 +9488,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9488
9488
|
}
|
|
9489
9489
|
}));
|
|
9490
9490
|
//#endregion
|
|
9491
|
-
//#region
|
|
9491
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/extension.js
|
|
9492
9492
|
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9493
9493
|
const { tokenChars } = require_validation();
|
|
9494
9494
|
/**
|
|
@@ -9631,7 +9631,7 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9631
9631
|
};
|
|
9632
9632
|
}));
|
|
9633
9633
|
//#endregion
|
|
9634
|
-
//#region
|
|
9634
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/websocket.js
|
|
9635
9635
|
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9636
9636
|
const EventEmitter$1 = __require("events");
|
|
9637
9637
|
const https = __require("https");
|
|
@@ -10620,7 +10620,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10620
10620
|
}
|
|
10621
10621
|
}));
|
|
10622
10622
|
//#endregion
|
|
10623
|
-
//#region
|
|
10623
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/stream.js
|
|
10624
10624
|
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10625
10625
|
require_websocket();
|
|
10626
10626
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
@@ -10736,7 +10736,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10736
10736
|
module.exports = createWebSocketStream;
|
|
10737
10737
|
}));
|
|
10738
10738
|
//#endregion
|
|
10739
|
-
//#region
|
|
10739
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/subprotocol.js
|
|
10740
10740
|
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10741
10741
|
const { tokenChars } = require_validation();
|
|
10742
10742
|
/**
|
|
@@ -10775,7 +10775,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10775
10775
|
module.exports = { parse };
|
|
10776
10776
|
}));
|
|
10777
10777
|
//#endregion
|
|
10778
|
-
//#region
|
|
10778
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ws@8.21.2_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/websocket-server.js
|
|
10779
10779
|
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10780
10780
|
const EventEmitter = __require("events");
|
|
10781
10781
|
const http = __require("http");
|
|
@@ -11169,7 +11169,7 @@ require_subprotocol();
|
|
|
11169
11169
|
var import_websocket = /* @__PURE__ */ __toESM(require_websocket(), 1);
|
|
11170
11170
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
11171
11171
|
//#endregion
|
|
11172
|
-
//#region
|
|
11172
|
+
//#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@effect+platform-node@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patch_hash=_7eec308fcf6351488fccaf9a0edac255/node_modules/@effect/platform-node/dist/NodeSocket.js
|
|
11173
11173
|
/**
|
|
11174
11174
|
* Node.js socket constructors and layers for Effect sockets.
|
|
11175
11175
|
*
|
|
@@ -11195,4 +11195,4 @@ const layerWebSocketConstructor = /*#__PURE__*/ sync$1(WebSocketConstructor)(()
|
|
|
11195
11195
|
//#endregion
|
|
11196
11196
|
export { make$9 as $, parseHeader as $t, withLoggerDisabled as A, matchStatus as At, limitsServices as B, post as Bt, update as C, __exportAll as Cn, setHeader as Ct, compression as D, uint8Array as Dt, toHandled as E, text as Et, schemaHeaders as F, appendUrlParams as Ft, CloseEvent as G, setUrl as Gt, toPersisted as H, setBody$1 as Ht, schemaSearchParams as I, bodyFormData as It, fromWebSocket as J, HttpClientErrorSchema as Jt, SocketError as K, DecodeError as Kt, toURL as L, bodyJson as Lt, ParsedSearchParams as M, TypeId$8 as Mt, TypeId$1 as N, inspect as Nt, cors as O, urlParams as Ot, schemaCookies as P, schemaBodyJson as Pt, join as Q, isEmpty as Qt, MultipartError as R, get$1 as Rt, set as S, __commonJSMin as Sn, setBody as St, appendPreResponseHandler as T, __toESM as Tn, stream as Tt, decodeField as U, setHeader$1 as Ut, makeConfig as V, prependUrl as Vt, make$4 as W, setHeaders$1 as Wt, makeWebSocket as X, isHttpClientError as Xt, make$8 as Y, StatusCodeError as Yt, awaitEmpty as Z, empty$2 as Zt, get as _, fromInput$1 as _n, mergeCookies as _t, layer as a, CurrentRedactedNames as an, ResponseError as at, makeUnsafe as b, hasBody as bn, removeHeader as bt, make as c, fromRecordUnsafe as cn, causeResponse as ct, HttpClient as d, jsonUnsafe$1 as dn, HttpPlatform as dt, set$1 as en, run as et, TracerPropagationEnabled as f, raw$1 as fn, make$10 as ft, transformResponse as g, urlParams$1 as gn, jsonUnsafe as gt, retryTransient as h, uint8Array$1 as hn, isHttpServerResponse as ht, RequestInit as i, layerWeak as in, RequestParseError as it, HttpServerRequest as j, MaxBodySize as jt, logger as k, filterStatusOk$1 as kt, serve as l, merge$1 as ln, symbol as lt, mapRequest as m, text$1 as mn, file as mt, import_websocket_server as n, ignore as nn, ClientAbort as nt, HttpServer as o, empty$3 as on, RouteNotFound as ot, filterStatusOk as p, stream$1 as pn, empty as pt, SocketErrorReason as q, HttpClientError as qt, Mime_default as r, layer$1 as rn, HttpServerError as rt, layerTestClient as s, fromInput as sn, ServeError as st, layerWebSocketConstructor as t, toSetCookieHeaders as tn, runtime as tt, withLogAddress as u, isHttpBody as un, toResponse as ut, getAndSet as v, schemaRecord as vn, raw as vt, updateAndGet as w, __require as wn, setHeaders as wt, modify as x, map as xn, schemaJson as xt, make$2 as y, toRecord as yn, redirect as yt, TypeId$2 as z, make$11 as zt };
|
|
11197
11197
|
|
|
11198
|
-
//# sourceMappingURL=NodeSocket-
|
|
11198
|
+
//# sourceMappingURL=NodeSocket-C7yHTDM1.mjs.map
|