@opencode/browse 0.0.17-dev.149 → 0.0.17-dev.151
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/Runtime-qfc1eg1n.mjs +16 -0
- package/dist/{Undici-mxpvn7gy.mjs → Undici-xgvbtsb1.mjs} +1 -1
- package/dist/{cli-p328zvjm.mjs → cli-q8c8a5qs.mjs} +70 -66
- package/dist/cli.mjs +30 -13
- package/dist/{helpers-nkqb08wz.mjs → helpers-zsf41ghm.mjs} +2 -2
- package/dist/{index-6gkr235e.mjs → index-7d47yfra.mjs} +2 -1
- package/dist/{main-cst567w9.mjs → main-0m3tkvbh.mjs} +3 -3
- package/dist/{main-30rjteds.mjs → main-131pm12v.mjs} +2 -2
- package/dist/main-2n1a279y.mjs +4 -0
- package/dist/{main-er120rjm.mjs → main-4074weqb.mjs} +2 -2
- package/dist/{main-azpzpy0x.mjs → main-4h7rfhhr.mjs} +1 -1
- package/dist/{main-4k172hg8.mjs → main-4kvbqnpf.mjs} +7 -5
- package/dist/{main-sxpz5bpr.mjs → main-65rqqv4r.mjs} +3 -3
- package/dist/{main-54zshzc0.mjs → main-8rmfjhq4.mjs} +25 -23
- package/dist/main-9bk4pprj.mjs +64 -0
- package/dist/{main-9t2s5ptx.mjs → main-bc8cjey0.mjs} +32 -77
- package/dist/{main-zfa78nvh.mjs → main-gb5jg0mj.mjs} +71 -69
- package/dist/main-j98fzrvv.mjs +68 -0
- package/dist/{main-g5cqqxg2.mjs → main-pchbej16.mjs} +71 -68
- package/dist/{main-ken6azcs.mjs → main-qazf3bhk.mjs} +1 -68
- package/dist/{main-j31p1ner.mjs → main-rvkfzxdh.mjs} +2 -2
- package/dist/{main-fvrncx2h.mjs → main-v36tamg2.mjs} +4 -4
- package/dist/main-v6hzbxjd.mjs +5547 -0
- package/dist/main-xycdhwqs.mjs +5196 -0
- package/dist/{main-r22n170p.mjs → main-zq18j4rx.mjs} +2 -2
- package/dist/{mcp-fhje7121.mjs → mcp-kn0t0wy9.mjs} +167 -158
- package/dist/{migrate-gvm5g6d6.mjs → migrate-pkbyqcwq.mjs} +5 -5
- package/dist/{relay-y3f9yke0.mjs → relay-ehaeyrbv.mjs} +53 -51
- package/dist/{runtime-update-sgygvs2h.mjs → runtime-update-8k5n6vhp.mjs} +8 -7
- package/dist/{setup-tvcnzwgp.mjs → setup-cd2bs8nw.mjs} +8 -8
- package/dist/{skill-text-fspw9136.mjs → skill-text-30xek3h1.mjs} +16 -8
- package/dist/{supervisor-5d6dtv1f.mjs → supervisor-vavntyze.mjs} +26 -8
- package/dist/{update-1gtct0ph.mjs → update-zx6w8w1f.mjs} +3 -3
- package/dist/{version-p3507ap8.mjs → version-5ffc64pk.mjs} +1 -1
- package/package.json +1 -1
- package/skills/browse/SKILL.md +16 -8
- package/dist/main-j6c2h3jj.mjs +0 -4
- package/dist/main-yf5j8g79.mjs +0 -10662
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
bodyJson,
|
|
13
13
|
HttpClient,
|
|
14
14
|
layerNodeHttp
|
|
15
|
-
} from "./main-
|
|
15
|
+
} from "./main-bc8cjey0.mjs";
|
|
16
16
|
import {
|
|
17
17
|
opencodeBrowserBuildId2
|
|
18
|
-
} from "./main-
|
|
18
|
+
} from "./main-2n1a279y.mjs";
|
|
19
19
|
import {
|
|
20
20
|
compiledBinary,
|
|
21
21
|
scriptEntry,
|
|
@@ -24,10 +24,54 @@ import {
|
|
|
24
24
|
compareVersions,
|
|
25
25
|
installedRuntime2,
|
|
26
26
|
installedVersion
|
|
27
|
-
} from "./main-
|
|
27
|
+
} from "./main-65rqqv4r.mjs";
|
|
28
28
|
import {
|
|
29
29
|
relayAuthorization
|
|
30
|
-
} from "./main-
|
|
30
|
+
} from "./main-rvkfzxdh.mjs";
|
|
31
|
+
import {
|
|
32
|
+
Pointer,
|
|
33
|
+
passthrough,
|
|
34
|
+
transformEffect,
|
|
35
|
+
Transformation,
|
|
36
|
+
unknown,
|
|
37
|
+
applyToSelfOrLastLinkEncoding,
|
|
38
|
+
decodeTo,
|
|
39
|
+
toEncoded,
|
|
40
|
+
_is,
|
|
41
|
+
decodeUnknownEffect,
|
|
42
|
+
SchemaError,
|
|
43
|
+
decodeUnknownEffect2,
|
|
44
|
+
decodeUnknownOption,
|
|
45
|
+
make8,
|
|
46
|
+
optionalKey,
|
|
47
|
+
Literal,
|
|
48
|
+
Unknown,
|
|
49
|
+
String3,
|
|
50
|
+
Number2,
|
|
51
|
+
Boolean3,
|
|
52
|
+
Struct,
|
|
53
|
+
fieldsAssign,
|
|
54
|
+
Record,
|
|
55
|
+
ArraySchema,
|
|
56
|
+
Union,
|
|
57
|
+
Literals,
|
|
58
|
+
NullOr,
|
|
59
|
+
BooleanLiterals,
|
|
60
|
+
TaggedUnion,
|
|
61
|
+
makeFilter,
|
|
62
|
+
isPattern,
|
|
63
|
+
isGreaterThan,
|
|
64
|
+
isGreaterThanOrEqualTo,
|
|
65
|
+
isBetween,
|
|
66
|
+
isInt,
|
|
67
|
+
Int2,
|
|
68
|
+
isMaxLength,
|
|
69
|
+
NonEmptyString,
|
|
70
|
+
Defect,
|
|
71
|
+
TaggedError2,
|
|
72
|
+
toCodecStringTree,
|
|
73
|
+
Json
|
|
74
|
+
} from "./main-v6hzbxjd.mjs";
|
|
31
75
|
import {
|
|
32
76
|
assignProperty,
|
|
33
77
|
PipeInspectableProto,
|
|
@@ -56,7 +100,7 @@ import {
|
|
|
56
100
|
void_3,
|
|
57
101
|
callback2,
|
|
58
102
|
fail6,
|
|
59
|
-
|
|
103
|
+
die3,
|
|
60
104
|
try_2,
|
|
61
105
|
fromResult,
|
|
62
106
|
flatMap3,
|
|
@@ -66,7 +110,7 @@ import {
|
|
|
66
110
|
map5,
|
|
67
111
|
catch_,
|
|
68
112
|
catchDefect,
|
|
69
|
-
|
|
113
|
+
mapError2,
|
|
70
114
|
orDie,
|
|
71
115
|
tapError,
|
|
72
116
|
retry,
|
|
@@ -78,50 +122,8 @@ import {
|
|
|
78
122
|
fn,
|
|
79
123
|
mapEager,
|
|
80
124
|
flatMapEager,
|
|
81
|
-
catchEager
|
|
82
|
-
|
|
83
|
-
passthrough,
|
|
84
|
-
transformEffect,
|
|
85
|
-
Transformation,
|
|
86
|
-
unknown,
|
|
87
|
-
applyToSelfOrLastLinkEncoding,
|
|
88
|
-
decodeTo,
|
|
89
|
-
toEncoded,
|
|
90
|
-
_is,
|
|
91
|
-
decodeUnknownEffect,
|
|
92
|
-
SchemaError,
|
|
93
|
-
decodeUnknownEffect2,
|
|
94
|
-
decodeUnknownOption,
|
|
95
|
-
make12,
|
|
96
|
-
optionalKey,
|
|
97
|
-
Literal,
|
|
98
|
-
Unknown,
|
|
99
|
-
String3,
|
|
100
|
-
Number2,
|
|
101
|
-
Boolean3,
|
|
102
|
-
Struct,
|
|
103
|
-
fieldsAssign,
|
|
104
|
-
Record,
|
|
105
|
-
ArraySchema,
|
|
106
|
-
Union,
|
|
107
|
-
Literals,
|
|
108
|
-
NullOr,
|
|
109
|
-
BooleanLiterals,
|
|
110
|
-
TaggedUnion,
|
|
111
|
-
makeFilter,
|
|
112
|
-
isPattern,
|
|
113
|
-
isGreaterThan,
|
|
114
|
-
isGreaterThanOrEqualTo2,
|
|
115
|
-
isBetween,
|
|
116
|
-
isInt,
|
|
117
|
-
Int2,
|
|
118
|
-
isMaxLength,
|
|
119
|
-
NonEmptyString,
|
|
120
|
-
Defect,
|
|
121
|
-
TaggedError2,
|
|
122
|
-
toCodecStringTree,
|
|
123
|
-
Json
|
|
124
|
-
} from "./main-yf5j8g79.mjs";
|
|
125
|
+
catchEager
|
|
126
|
+
} from "./main-xycdhwqs.mjs";
|
|
125
127
|
import {
|
|
126
128
|
dual,
|
|
127
129
|
memoize,
|
|
@@ -129,7 +131,7 @@ import {
|
|
|
129
131
|
isNumber,
|
|
130
132
|
isObject,
|
|
131
133
|
isTagged
|
|
132
|
-
} from "./main-
|
|
134
|
+
} from "./main-qazf3bhk.mjs";
|
|
133
135
|
|
|
134
136
|
// node_modules/effect/dist/ConfigProvider.js
|
|
135
137
|
function makeValue(value) {
|
|
@@ -386,14 +388,14 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
|
|
|
386
388
|
function schema(codec, path) {
|
|
387
389
|
const codecStringTree = toCodecStringTree(codec);
|
|
388
390
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
389
|
-
const decodeCursor = decodeUnknownEffect(
|
|
391
|
+
const decodeCursor = decodeUnknownEffect(make8(toConfigCursorAST(codecStringTree.ast)));
|
|
390
392
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
391
393
|
return make2((provider, pathPrefix) => {
|
|
392
394
|
const fullPath = [...pathPrefix, ...localPath];
|
|
393
395
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
394
396
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
395
397
|
return hasProviderInput(encodedAst, cursor.node) ? fail6(error) : succeed6(fail2(error));
|
|
396
|
-
}))), catchDefect((defect) => isSourceError(defect) ? fail6(new ConfigError(defect)) :
|
|
398
|
+
}))), catchDefect((defect) => isSourceError(defect) ? fail6(new ConfigError(defect)) : die3(defect)));
|
|
397
399
|
});
|
|
398
400
|
}
|
|
399
401
|
function String2(name) {
|
|
@@ -443,7 +445,7 @@ var SessionResetResponse = Struct({
|
|
|
443
445
|
});
|
|
444
446
|
var TargetSelection = Struct({
|
|
445
447
|
urlIncludes: optionalKey(NonEmptyString),
|
|
446
|
-
index: optionalKey(Int2.check(
|
|
448
|
+
index: optionalKey(Int2.check(isGreaterThanOrEqualTo(0)))
|
|
447
449
|
}).check(makeFilter((selection) => {
|
|
448
450
|
const hasUrl = selection.urlIncludes !== undefined;
|
|
449
451
|
const hasIndex = selection.index !== undefined;
|
|
@@ -455,7 +457,7 @@ var ExecuteRequest = Struct({
|
|
|
455
457
|
createIfMissing: Boolean3,
|
|
456
458
|
browser: optionalKey(String3),
|
|
457
459
|
removeAfterExecute: optionalKey(Boolean3),
|
|
458
|
-
timeoutMs: optionalKey(Int2.check(
|
|
460
|
+
timeoutMs: optionalKey(Int2.check(isGreaterThanOrEqualTo(0))),
|
|
459
461
|
targetSelection: optionalKey(TargetSelection)
|
|
460
462
|
});
|
|
461
463
|
var SessionAdoptRequest = Struct({
|
|
@@ -598,7 +600,7 @@ var ConnectedBrowser = Struct({
|
|
|
598
600
|
connected: Boolean3,
|
|
599
601
|
unresponsive: optionalKey(Boolean3),
|
|
600
602
|
version: NullOr(String3),
|
|
601
|
-
tabs: Int2.check(
|
|
603
|
+
tabs: Int2.check(isGreaterThanOrEqualTo(0))
|
|
602
604
|
});
|
|
603
605
|
var ExtensionStatus = Struct({
|
|
604
606
|
connected: Boolean3,
|
|
@@ -611,10 +613,10 @@ var ExtensionStatus = Struct({
|
|
|
611
613
|
protocolCompatible: optionalKey(NullOr(Boolean3)),
|
|
612
614
|
protocolLegacy: optionalKey(NullOr(Boolean3)),
|
|
613
615
|
browsers: optionalKey(ArraySchema(ConnectedBrowser)),
|
|
614
|
-
rejectedConnections: optionalKey(Int2.check(
|
|
615
|
-
pairingFailures: optionalKey(Int2.check(
|
|
616
|
+
rejectedConnections: optionalKey(Int2.check(isGreaterThanOrEqualTo(0))),
|
|
617
|
+
pairingFailures: optionalKey(Int2.check(isGreaterThanOrEqualTo(0))),
|
|
616
618
|
processFaults: optionalKey(Struct({
|
|
617
|
-
suppressed: Int2.check(
|
|
619
|
+
suppressed: Int2.check(isGreaterThanOrEqualTo(0)),
|
|
618
620
|
lastAt: optionalKey(String3),
|
|
619
621
|
lastMessage: optionalKey(String3)
|
|
620
622
|
})),
|
|
@@ -1158,7 +1160,7 @@ var defaultHost2 = "127.0.0.1";
|
|
|
1158
1160
|
var defaultPort2 = 19988;
|
|
1159
1161
|
var RawTargetSelection = Struct({
|
|
1160
1162
|
urlIncludes: optionalKey(String3),
|
|
1161
|
-
index: optionalKey(Int2.check(
|
|
1163
|
+
index: optionalKey(Int2.check(isGreaterThanOrEqualTo(0)))
|
|
1162
1164
|
});
|
|
1163
1165
|
var decodeRawTargetSelection = decodeUnknownOption(RawTargetSelection);
|
|
1164
1166
|
var RawTargetInfo = Struct({
|
|
@@ -1372,13 +1374,13 @@ class Service extends Service2()("opencode-browser-cli/RelayClient") {
|
|
|
1372
1374
|
var decodeErrorEnvelope = decodeUnknownOption(ErrorEnvelope);
|
|
1373
1375
|
var decodeErrorMessage = decodeUnknownOption(Struct({ error: String3 }));
|
|
1374
1376
|
var make3 = fn("RelayClient.make")(function* (options) {
|
|
1375
|
-
const port = yield* portConfig.pipe(
|
|
1377
|
+
const port = yield* portConfig.pipe(mapError2((cause) => new RelayConfigInvalid({
|
|
1376
1378
|
message: `Invalid OPENCODE_BROWSER_PORT configuration: ${cause.message}`,
|
|
1377
1379
|
cause
|
|
1378
1380
|
})));
|
|
1379
1381
|
const endpoint = options?.endpoint ?? endpointForPort(port);
|
|
1380
1382
|
const httpClient = yield* HttpClient;
|
|
1381
|
-
const readBody = (response, path) => response.json.pipe(
|
|
1383
|
+
const readBody = (response, path) => response.json.pipe(mapError2((cause) => new RelayDecodeFailed({
|
|
1382
1384
|
message: `Relay returned an unreadable response for ${path}`,
|
|
1383
1385
|
path,
|
|
1384
1386
|
cause
|
|
@@ -1394,7 +1396,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
1394
1396
|
...isSome(envelope) && envelope.value.code ? { code: envelope.value.code } : {}
|
|
1395
1397
|
}));
|
|
1396
1398
|
}
|
|
1397
|
-
return decodeUnknownEffect2(schema)(body).pipe(
|
|
1399
|
+
return decodeUnknownEffect2(schema)(body).pipe(mapError2((cause) => new RelayDecodeFailed({
|
|
1398
1400
|
message: `Relay response for ${path} did not match the expected shape: ${cause.message}`,
|
|
1399
1401
|
path,
|
|
1400
1402
|
cause
|
|
@@ -1422,17 +1424,17 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
1422
1424
|
})));
|
|
1423
1425
|
const getJson = (path, schema) => suspend2(() => {
|
|
1424
1426
|
const seconds = relayAnswered ? busyRelayReadSeconds : unknownRelayReadSeconds;
|
|
1425
|
-
return execute(get(new URL(path, endpoint))).pipe(
|
|
1427
|
+
return execute(get(new URL(path, endpoint))).pipe(mapError2(transportError(path)), flatMap3((response) => handleResponse(response, path, schema)), timeoutOrElse({ duration: `${seconds} seconds`, orElse: () => fail6(new RelayTimedOut({
|
|
1426
1428
|
message: `The relay on port ${new URL(endpoint).port} isn't answering (${path} timed out after ${seconds}s).`,
|
|
1427
1429
|
path
|
|
1428
1430
|
})) }));
|
|
1429
1431
|
});
|
|
1430
1432
|
const checkWhileWaiting = sleep(30000).pipe(andThen2(getJson("/version", RelayVersion)), forever);
|
|
1431
|
-
const postJson = (path, body, schema) => post(new URL(path, endpoint)).pipe(bodyJson(body),
|
|
1433
|
+
const postJson = (path, body, schema) => post(new URL(path, endpoint)).pipe(bodyJson(body), mapError2((cause) => new RelayEncodeFailed({
|
|
1432
1434
|
message: `Could not encode relay request for ${path}`,
|
|
1433
1435
|
path,
|
|
1434
1436
|
cause
|
|
1435
|
-
})), flatMap3((request) => execute(request).pipe(
|
|
1437
|
+
})), flatMap3((request) => execute(request).pipe(mapError2(transportError(path)), flatMap3((response) => handleResponse(response, path, schema)), raceFirst(checkWhileWaiting))));
|
|
1436
1438
|
const recordingTargetBody = (target) => ({
|
|
1437
1439
|
...target.sessionId ? { sessionId: target.sessionId } : {},
|
|
1438
1440
|
...target.tabId === undefined ? {} : { tabId: target.tabId }
|
|
@@ -1450,7 +1452,7 @@ var make3 = fn("RelayClient.make")(function* (options) {
|
|
|
1450
1452
|
};
|
|
1451
1453
|
return Service.of({
|
|
1452
1454
|
endpoint,
|
|
1453
|
-
version: getJson("/version", RelayVersion).pipe(
|
|
1455
|
+
version: getJson("/version", RelayVersion).pipe(mapError2((error) => error instanceof RelayDecodeFailed || error instanceof RelayRejected && !error.code && error.status === 404 ? new RelayDecodeFailed({ message: `Relay port ${new URL(endpoint).port} is in use by another program (not a browse /version response).`, path: "/version", cause: error }) : error)),
|
|
1454
1456
|
shutdown: (request) => postJson("/shutdown", { ...request }, RelayShutdownResponse),
|
|
1455
1457
|
extensionStatus: getJson("/extension/status", ExtensionStatus),
|
|
1456
1458
|
targets: getJson("/json/list", TargetSummaries),
|
|
@@ -1570,7 +1572,7 @@ var ensureRelay = fn("RelayLifecycle.ensureRelay")(function* (options) {
|
|
|
1570
1572
|
return yield* initial.failure;
|
|
1571
1573
|
}
|
|
1572
1574
|
if (relayWasAbsent) {
|
|
1573
|
-
const autoStart = yield* Boolean2("OPENCODE_BROWSER_AUTOSTART").pipe(withDefault(true),
|
|
1575
|
+
const autoStart = yield* Boolean2("OPENCODE_BROWSER_AUTOSTART").pipe(withDefault(true), mapError2((cause) => new Error("Invalid OPENCODE_BROWSER_AUTOSTART configuration", { cause })));
|
|
1574
1576
|
if (!autoStart) {
|
|
1575
1577
|
return yield* fail6(new Error(`Automatic relay startup is disabled; no relay is available at ${options.relay.endpoint}`));
|
|
1576
1578
|
}
|
|
@@ -1586,7 +1588,7 @@ function waitForRelayReady(options) {
|
|
|
1586
1588
|
times: options.retryTimes ?? 200,
|
|
1587
1589
|
schedule: spaced(options.retryDelayMs ?? 50),
|
|
1588
1590
|
while: isRelayStartingOrUnreachable
|
|
1589
|
-
}),
|
|
1591
|
+
}), mapError2((error) => isRelayStartingOrUnreachable(error) ? new RelayStartFailed({
|
|
1590
1592
|
message: `browse relay did not start at ${options.relay.endpoint}`,
|
|
1591
1593
|
endpoint: options.relay.endpoint,
|
|
1592
1594
|
cause: error
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __reExport = (target, mod, secondTarget) => {
|
|
11
|
+
var keys = mod && typeof mod === "object" || typeof mod === "function" ? __getOwnPropNames(mod) : [];
|
|
12
|
+
for (let key of keys)
|
|
13
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
14
|
+
__defProp(target, key, {
|
|
15
|
+
get: __accessProp.bind(mod, key),
|
|
16
|
+
enumerable: true
|
|
17
|
+
});
|
|
18
|
+
if (secondTarget) {
|
|
19
|
+
for (let key of keys)
|
|
20
|
+
if (!__hasOwnProp.call(secondTarget, key) && key !== "default")
|
|
21
|
+
__defProp(secondTarget, key, {
|
|
22
|
+
get: __accessProp.bind(mod, key),
|
|
23
|
+
enumerable: true
|
|
24
|
+
});
|
|
25
|
+
return secondTarget;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
var __toESMCache_node;
|
|
29
|
+
var __toESMCache_esm;
|
|
30
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
31
|
+
var canCache = mod != null && typeof mod === "object";
|
|
32
|
+
if (canCache) {
|
|
33
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
34
|
+
var cached = cache.get(mod);
|
|
35
|
+
if (cached)
|
|
36
|
+
return cached;
|
|
37
|
+
}
|
|
38
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
39
|
+
const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
40
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(mod))
|
|
42
|
+
if (!__hasOwnProp.call(to, key))
|
|
43
|
+
__defProp(to, key, {
|
|
44
|
+
get: __accessProp.bind(mod, key),
|
|
45
|
+
enumerable: true
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
if (canCache)
|
|
49
|
+
cache.set(mod, to);
|
|
50
|
+
return to;
|
|
51
|
+
};
|
|
52
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
53
|
+
var __returnValue = (v) => v;
|
|
54
|
+
function __exportSetter(name, newValue) {
|
|
55
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
56
|
+
}
|
|
57
|
+
var __export = (target, all) => {
|
|
58
|
+
for (var name in all)
|
|
59
|
+
__defProp(target, name, {
|
|
60
|
+
get: all[name],
|
|
61
|
+
enumerable: true,
|
|
62
|
+
configurable: true,
|
|
63
|
+
set: __exportSetter.bind(all, name)
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
67
|
+
|
|
68
|
+
export { __reExport, __toESM, __commonJS, __export, __require };
|