apps 0.0.1-beta.24 → 0.0.1-beta.26
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/framework-reference.json +1 -1
- package/js/{chunk-IJX4CYZO.js → chunk-2TP7C25K.js} +3 -3
- package/js/{chunk-KUMBKVJD.js → chunk-3YN4UDPB.js} +2 -2
- package/js/{chunk-B3T7CZOH.js → chunk-4CMJD7AB.js} +29 -7
- package/js/{chunk-M3B3DE4K.js → chunk-AAAMPT6F.js} +2 -2
- package/js/{chunk-3HH4OZR3.js → chunk-BTRBOOTD.js} +23 -25
- package/js/chunk-DAIW2WM3.js +118 -0
- package/js/{chunk-CDL5PM2Q.js → chunk-DM5U7G7V.js} +124 -124
- package/js/{chunk-ODEIDRGW.js → chunk-DUEZ2XCO.js} +3 -3
- package/js/{chunk-WFEUCUFF.js → chunk-EXDR4HVM.js} +184 -30
- package/js/{chunk-N7YDVXYJ.js → chunk-GH6PY5BQ.js} +1 -1
- package/js/{chunk-K2QATKIF.js → chunk-HIYRKEWP.js} +77 -22
- package/js/{chunk-PZB6T6KU.js → chunk-HQKIPKM5.js} +1 -1
- package/js/{chunk-66JAEDTE.js → chunk-IE6W5RNN.js} +2 -2
- package/js/{chunk-27F7W2LG.js → chunk-KKGRSXUK.js} +1 -1
- package/js/{chunk-57RKNWL2.js → chunk-KNJAOYV4.js} +2 -2
- package/js/{chunk-ZQINWV4W.js → chunk-LPN4ONWW.js} +2 -2
- package/js/{chunk-A5BSZKFF.js → chunk-NXO2GN2T.js} +8 -8
- package/js/{chunk-UK573G7W.js → chunk-OBXHLFGQ.js} +1 -1
- package/js/{chunk-JWNSH5CA.js → chunk-OI7OI2U3.js} +2 -2
- package/js/{chunk-IPI4MFSN.js → chunk-PC5RHPUP.js} +2 -2
- package/js/{chunk-VFZKSM3T.js → chunk-SUY33XAY.js} +1 -1
- package/js/{chunk-R3EV5FTO.js → chunk-T7WRQJUF.js} +55 -3
- package/js/{chunk-JU7VHODU.js → chunk-TACLXEAE.js} +1 -1
- package/js/{chunk-2KZ7GG43.js → chunk-VGEPL4BV.js} +146 -53
- package/js/{chunk-S47NFEWF.js → chunk-WPKXOTKM.js} +3 -3
- package/js/{chunk-PJJ24GU7.js → chunk-XBG3M64K.js} +1 -1
- package/js/{chunk-AK54RD3A.js → chunk-XIRAIB3P.js} +4 -4
- package/js/{chunk-NKLWZJLE.js → chunk-ZVMZWXVF.js} +2 -2
- package/js/client.js +10 -10
- package/js/contracts.js +36 -14
- package/js/effect.js +19 -19
- package/js/graphql.js +21 -21
- package/js/host.js +19 -19
- package/js/index.js +12 -12
- package/js/mcp/effect.js +21 -21
- package/js/mcp/stdio.js +30 -25
- package/js/mcp.js +23 -23
- package/js/openapi.js +595 -200
- package/js/react.js +3 -3
- package/js/skills/effect.js +3 -3
- package/js/skills.js +11 -11
- package/js/storage/facet.js +4 -4
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +4 -4
- package/js/ui/serving.js +8 -8
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/failure.d.ts +30 -1
- package/types/apps/src/contracts/host.d.ts +5 -4
- package/types/apps/src/contracts/mcp.d.ts +8 -1
- package/types/apps/src/contracts/openapi-compile.d.ts +31 -3
- package/types/apps/src/contracts/openapi.d.ts +16 -6
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +16 -2
- package/types/apps/src/contracts/protocols/2.d.ts +1 -1
- package/types/apps/src/contracts/protocols/3.d.ts +1 -3
- package/types/apps/src/contracts/protocols/4.d.ts +1 -2
- package/types/apps/src/contracts/protocols/5.d.ts +3 -3
- package/types/apps/src/contracts/protocols/6.d.ts +3 -3
- package/types/apps/src/contracts/protocols/7.d.ts +3 -3
- package/types/apps/src/contracts/protocols/8.d.ts +1119 -0
- package/types/apps/src/contracts/provider-error.d.ts +9 -0
- package/types/apps/src/implementation/failure-detail.d.ts +22 -3
- package/types/apps/src/implementation/mcp-client.d.ts +6 -0
- package/types/apps/src/implementation/openapi-compile.d.ts +12 -2
- package/types/apps/src/implementation/openapi-document.d.ts +20 -6
- package/types/apps/src/implementation/openapi-names.d.ts +9 -4
- package/types/apps/src/implementation/openapi-source.d.ts +6 -0
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/router-catalog.d.ts +2 -3
- package/types/apps/src/implementation/upstream-error.d.ts +7 -0
- package/types/telemetry/src/config.d.ts +2 -2
- package/js/chunk-MKWZPDR6.js +0 -63
|
@@ -28236,6 +28236,93 @@ var toPubSubTake2 = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake(self
|
|
|
28236
28236
|
var toQueue = /* @__PURE__ */ dual(2, (self, options) => toQueueArray(self.channel, options));
|
|
28237
28237
|
var runIntoQueue = /* @__PURE__ */ dual(2, (self, queue) => runIntoQueueArray(self.channel, queue));
|
|
28238
28238
|
|
|
28239
|
+
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Ref.js
|
|
28240
|
+
var Ref_exports = {};
|
|
28241
|
+
__export(Ref_exports, {
|
|
28242
|
+
get: () => get10,
|
|
28243
|
+
getAndSet: () => getAndSet,
|
|
28244
|
+
getAndUpdate: () => getAndUpdate,
|
|
28245
|
+
getAndUpdateSome: () => getAndUpdateSome,
|
|
28246
|
+
getUnsafe: () => getUnsafe5,
|
|
28247
|
+
make: () => make38,
|
|
28248
|
+
makeUnsafe: () => makeUnsafe10,
|
|
28249
|
+
modify: () => modify4,
|
|
28250
|
+
modifySome: () => modifySome,
|
|
28251
|
+
set: () => set8,
|
|
28252
|
+
setAndGet: () => setAndGet,
|
|
28253
|
+
update: () => update2,
|
|
28254
|
+
updateAndGet: () => updateAndGet,
|
|
28255
|
+
updateSome: () => updateSome,
|
|
28256
|
+
updateSomeAndGet: () => updateSomeAndGet
|
|
28257
|
+
});
|
|
28258
|
+
var TypeId40 = "~effect/Ref";
|
|
28259
|
+
var RefProto = {
|
|
28260
|
+
[TypeId40]: {
|
|
28261
|
+
_A: identity
|
|
28262
|
+
},
|
|
28263
|
+
...PipeInspectableProto,
|
|
28264
|
+
toJSON() {
|
|
28265
|
+
return {
|
|
28266
|
+
_id: "Ref",
|
|
28267
|
+
ref: this.ref
|
|
28268
|
+
};
|
|
28269
|
+
}
|
|
28270
|
+
};
|
|
28271
|
+
var makeUnsafe10 = (value6) => {
|
|
28272
|
+
const self = Object.create(RefProto);
|
|
28273
|
+
self.ref = make30(value6);
|
|
28274
|
+
return self;
|
|
28275
|
+
};
|
|
28276
|
+
var make38 = (value6) => sync4(() => makeUnsafe10(value6));
|
|
28277
|
+
var get10 = (self) => sync4(() => self.ref.current);
|
|
28278
|
+
var set8 = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => set6(self.ref, value6)));
|
|
28279
|
+
var getAndSet = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => {
|
|
28280
|
+
const current = self.ref.current;
|
|
28281
|
+
self.ref.current = value6;
|
|
28282
|
+
return current;
|
|
28283
|
+
}));
|
|
28284
|
+
var getAndUpdate = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
28285
|
+
const current = self.ref.current;
|
|
28286
|
+
self.ref.current = f(current);
|
|
28287
|
+
return current;
|
|
28288
|
+
}));
|
|
28289
|
+
var getAndUpdateSome = /* @__PURE__ */ dual(2, (self, pf) => sync4(() => {
|
|
28290
|
+
const current = self.ref.current;
|
|
28291
|
+
const option6 = pf(current);
|
|
28292
|
+
if (option6._tag === "Some") {
|
|
28293
|
+
self.ref.current = option6.value;
|
|
28294
|
+
}
|
|
28295
|
+
return current;
|
|
28296
|
+
}));
|
|
28297
|
+
var setAndGet = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => self.ref.current = value6));
|
|
28298
|
+
var modify4 = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
28299
|
+
const [b, a] = f(self.ref.current);
|
|
28300
|
+
self.ref.current = a;
|
|
28301
|
+
return b;
|
|
28302
|
+
}));
|
|
28303
|
+
var modifySome = /* @__PURE__ */ dual(2, (self, pf) => modify4(self, (value6) => {
|
|
28304
|
+
const [b, option6] = pf(value6);
|
|
28305
|
+
return [b, option6._tag === "None" ? value6 : option6.value];
|
|
28306
|
+
}));
|
|
28307
|
+
var update2 = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
28308
|
+
self.ref.current = f(self.ref.current);
|
|
28309
|
+
}));
|
|
28310
|
+
var updateAndGet = /* @__PURE__ */ dual(2, (self, f) => sync4(() => self.ref.current = f(self.ref.current)));
|
|
28311
|
+
var updateSome = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
28312
|
+
const option6 = f(self.ref.current);
|
|
28313
|
+
if (option6._tag === "Some") {
|
|
28314
|
+
self.ref.current = option6.value;
|
|
28315
|
+
}
|
|
28316
|
+
}));
|
|
28317
|
+
var updateSomeAndGet = /* @__PURE__ */ dual(2, (self, pf) => sync4(() => {
|
|
28318
|
+
const option6 = pf(self.ref.current);
|
|
28319
|
+
if (option6._tag === "Some") {
|
|
28320
|
+
self.ref.current = option6.value;
|
|
28321
|
+
}
|
|
28322
|
+
return self.ref.current;
|
|
28323
|
+
}));
|
|
28324
|
+
var getUnsafe5 = (self) => self.ref.current;
|
|
28325
|
+
|
|
28239
28326
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/ChannelSchema.js
|
|
28240
28327
|
var decode2 = (schema2, options) => () => {
|
|
28241
28328
|
const decode3 = decodeEffect2(NonEmptyArray(schema2), options);
|
|
@@ -28243,7 +28330,7 @@ var decode2 = (schema2, options) => () => {
|
|
|
28243
28330
|
};
|
|
28244
28331
|
|
|
28245
28332
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/PlatformError.js
|
|
28246
|
-
var
|
|
28333
|
+
var TypeId41 = "~effect/PlatformError";
|
|
28247
28334
|
var BadArgument = class extends (/* @__PURE__ */ TaggedError2("BadArgument")) {
|
|
28248
28335
|
/**
|
|
28249
28336
|
* Formats the module, method, and optional description that rejected the argument.
|
|
@@ -28280,7 +28367,7 @@ var PlatformError = class extends (/* @__PURE__ */ TaggedError2("PlatformError")
|
|
|
28280
28367
|
*
|
|
28281
28368
|
* @since 4.0.0
|
|
28282
28369
|
*/
|
|
28283
|
-
[
|
|
28370
|
+
[TypeId41] = TypeId41;
|
|
28284
28371
|
get message() {
|
|
28285
28372
|
return this.reason.message;
|
|
28286
28373
|
}
|
|
@@ -28291,7 +28378,7 @@ var badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
28291
28378
|
var FileSystem = /* @__PURE__ */ Service("effect/FileSystem");
|
|
28292
28379
|
|
|
28293
28380
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Path.js
|
|
28294
|
-
var
|
|
28381
|
+
var TypeId42 = "~effect/Path";
|
|
28295
28382
|
var Path = /* @__PURE__ */ Service("effect/Path");
|
|
28296
28383
|
function normalizeStringPosix(path, allowAboveRoot) {
|
|
28297
28384
|
let res = "";
|
|
@@ -28468,7 +28555,7 @@ function encodePathChars(filepath) {
|
|
|
28468
28555
|
return filepath;
|
|
28469
28556
|
}
|
|
28470
28557
|
var posixImpl = /* @__PURE__ */ Path.of({
|
|
28471
|
-
[
|
|
28558
|
+
[TypeId42]: TypeId42,
|
|
28472
28559
|
resolve: resolve2,
|
|
28473
28560
|
normalize(path) {
|
|
28474
28561
|
if (path.length === 0) return ".";
|
|
@@ -28800,7 +28887,7 @@ function makeProvider(load, mapInput4) {
|
|
|
28800
28887
|
function makeSource(get12, transform4) {
|
|
28801
28888
|
return makeProvider((path) => get12(transform4(path)), (f) => makeSource(get12, flow(transform4, f)));
|
|
28802
28889
|
}
|
|
28803
|
-
function
|
|
28890
|
+
function make39(get12) {
|
|
28804
28891
|
return makeSource(get12, identityPath);
|
|
28805
28892
|
}
|
|
28806
28893
|
function emptyStringAsMissing(value6, preserveEmptyStrings) {
|
|
@@ -28809,7 +28896,7 @@ function emptyStringAsMissing(value6, preserveEmptyStrings) {
|
|
|
28809
28896
|
function fromEnvRecord(env, options) {
|
|
28810
28897
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
28811
28898
|
const trie = buildEnvTrie(env);
|
|
28812
|
-
return
|
|
28899
|
+
return make39((path) => succeed7(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
28813
28900
|
}
|
|
28814
28901
|
function fromEnv(options) {
|
|
28815
28902
|
const env = options?.env ?? {
|
|
@@ -28859,7 +28946,7 @@ function trieNodeAt(root, path) {
|
|
|
28859
28946
|
}
|
|
28860
28947
|
|
|
28861
28948
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Config.js
|
|
28862
|
-
var
|
|
28949
|
+
var TypeId43 = "~effect/Config";
|
|
28863
28950
|
var ConfigError = class {
|
|
28864
28951
|
_tag = "ConfigError";
|
|
28865
28952
|
name = "ConfigError";
|
|
@@ -28881,14 +28968,14 @@ var Proto9 = {
|
|
|
28881
28968
|
return this.parse(fiber3.getRef(ConfigProvider));
|
|
28882
28969
|
}
|
|
28883
28970
|
}),
|
|
28884
|
-
[
|
|
28971
|
+
[TypeId43]: TypeId43,
|
|
28885
28972
|
toJSON() {
|
|
28886
28973
|
return {
|
|
28887
28974
|
_id: "Config"
|
|
28888
28975
|
};
|
|
28889
28976
|
}
|
|
28890
28977
|
};
|
|
28891
|
-
function
|
|
28978
|
+
function make40(evaluator) {
|
|
28892
28979
|
const self = Object.create(Proto9);
|
|
28893
28980
|
self.evaluator = evaluator;
|
|
28894
28981
|
self.parse = (provider) => evaluator(provider, []).pipe(mapErrorEager2((failure) => failure.error), flatMapEager2((resolution) => resolution._tag === "Resolved" ? succeed7(resolution.value) : fail7(resolution.error)));
|
|
@@ -28915,10 +29002,10 @@ var preserveInputEvidence = (self, hasInput2) => {
|
|
|
28915
29002
|
return self.pipe(mapErrorEager2((failure) => evaluationFailure(failure.error, true)), flatMapEager2((resolution) => resolution._tag === "Resolved" ? succeed7(resolved(resolution.value, true)) : fail7(evaluationFailure(resolution.error, true))));
|
|
28916
29003
|
};
|
|
28917
29004
|
var map14 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
28918
|
-
return
|
|
29005
|
+
return make40((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), (resolution) => resolution._tag === "Resolved" ? resolved(f(resolution.value), resolution.hasInput) : resolution));
|
|
28919
29006
|
});
|
|
28920
29007
|
var orElse3 = /* @__PURE__ */ dual(2, (self, that) => {
|
|
28921
|
-
return
|
|
29008
|
+
return make40((provider, pathPrefix) => matchEffect3(evaluateAt(self, provider, pathPrefix), {
|
|
28922
29009
|
onFailure: (failure) => preserveInputEvidence(evaluateAt(that(failure.error), provider, pathPrefix), failure.hasInput),
|
|
28923
29010
|
onSuccess: (resolution) => resolution._tag === "Absent" ? evaluateAt(that(resolution.error), provider, pathPrefix) : succeed7(resolution)
|
|
28924
29011
|
}));
|
|
@@ -28926,9 +29013,9 @@ var orElse3 = /* @__PURE__ */ dual(2, (self, that) => {
|
|
|
28926
29013
|
function all5(arg) {
|
|
28927
29014
|
const configs = globalThis.Array.isArray(arg) ? arg : Symbol.iterator in arg ? [...arg] : arg;
|
|
28928
29015
|
if (globalThis.Array.isArray(configs)) {
|
|
28929
|
-
return
|
|
29016
|
+
return make40((provider, pathPrefix) => flatMapEager2(all4(configs.map((config) => result2(evaluateAt(config, provider, pathPrefix)))), resolveArray));
|
|
28930
29017
|
} else {
|
|
28931
|
-
return
|
|
29018
|
+
return make40((provider, pathPrefix) => flatMapEager2(all4(map3(configs, (config) => result2(evaluateAt(config, provider, pathPrefix)))), resolveRecord));
|
|
28932
29019
|
}
|
|
28933
29020
|
}
|
|
28934
29021
|
var resolveArray = (results) => {
|
|
@@ -28987,7 +29074,7 @@ var resolveRecord = (results) => {
|
|
|
28987
29074
|
return succeed7(resolved(values2, hasInput2));
|
|
28988
29075
|
};
|
|
28989
29076
|
var withDefault2 = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
28990
|
-
return
|
|
29077
|
+
return make40((provider, pathPrefix) => mapEager2(evaluateAt(self, provider, pathPrefix), (resolution) => resolution._tag === "Absent" ? resolved(defaultValue, false) : resolution));
|
|
28991
29078
|
});
|
|
28992
29079
|
var option3 = (self) => self.pipe(map14(some3), withDefault2(none2()));
|
|
28993
29080
|
var cursorToString = () => "<configuration>";
|
|
@@ -29095,7 +29182,7 @@ function schema(codec, path) {
|
|
|
29095
29182
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
29096
29183
|
const decodeCursor = decodeUnknownEffect(make28(toConfigCursorAST(codecStringTree.ast)));
|
|
29097
29184
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
29098
|
-
return
|
|
29185
|
+
return make40((provider, pathPrefix) => {
|
|
29099
29186
|
const fullPath = [...pathPrefix, ...localPath];
|
|
29100
29187
|
return catchSourceError(loadCursor(provider, fullPath), false).pipe(flatMapEager2((cursor) => {
|
|
29101
29188
|
const hasInput2 = hasProviderInput(encodedAst, cursor.node);
|
|
@@ -29160,7 +29247,7 @@ __export(FiberSet_exports, {
|
|
|
29160
29247
|
clear: () => clear4,
|
|
29161
29248
|
isFiberSet: () => isFiberSet,
|
|
29162
29249
|
join: () => join3,
|
|
29163
|
-
make: () =>
|
|
29250
|
+
make: () => make41,
|
|
29164
29251
|
makeRuntime: () => makeRuntime,
|
|
29165
29252
|
makeRuntimePromise: () => makeRuntimePromise,
|
|
29166
29253
|
run: () => run3,
|
|
@@ -29168,10 +29255,10 @@ __export(FiberSet_exports, {
|
|
|
29168
29255
|
runtimePromise: () => runtimePromise,
|
|
29169
29256
|
size: () => size8
|
|
29170
29257
|
});
|
|
29171
|
-
var
|
|
29172
|
-
var isFiberSet = (u) => hasProperty(u,
|
|
29258
|
+
var TypeId44 = "~effect/FiberSet";
|
|
29259
|
+
var isFiberSet = (u) => hasProperty(u, TypeId44);
|
|
29173
29260
|
var Proto10 = {
|
|
29174
|
-
[
|
|
29261
|
+
[TypeId44]: TypeId44,
|
|
29175
29262
|
[Symbol.iterator]() {
|
|
29176
29263
|
if (this.state._tag === "Closed") {
|
|
29177
29264
|
return empty2();
|
|
@@ -29186,7 +29273,7 @@ var Proto10 = {
|
|
|
29186
29273
|
};
|
|
29187
29274
|
}
|
|
29188
29275
|
};
|
|
29189
|
-
var
|
|
29276
|
+
var makeUnsafe11 = (backing, deferred) => {
|
|
29190
29277
|
const self = Object.create(Proto10);
|
|
29191
29278
|
self.state = {
|
|
29192
29279
|
_tag: "Open",
|
|
@@ -29195,7 +29282,7 @@ var makeUnsafe10 = (backing, deferred) => {
|
|
|
29195
29282
|
self.deferred = deferred;
|
|
29196
29283
|
return self;
|
|
29197
29284
|
};
|
|
29198
|
-
var
|
|
29285
|
+
var make41 = () => acquireRelease2(sync4(() => makeUnsafe11(/* @__PURE__ */ new Set(), makeUnsafe2())), (set10) => suspend3(() => {
|
|
29199
29286
|
const state = set10.state;
|
|
29200
29287
|
if (state._tag === "Closed") return void_5;
|
|
29201
29288
|
set10.state = {
|
|
@@ -29204,8 +29291,8 @@ var make40 = () => acquireRelease2(sync4(() => makeUnsafe10(/* @__PURE__ */ new
|
|
|
29204
29291
|
const fibers = state.backing;
|
|
29205
29292
|
return interruptAll(fibers).pipe(into(set10.deferred));
|
|
29206
29293
|
}));
|
|
29207
|
-
var makeRuntime = () => flatMap5(
|
|
29208
|
-
var makeRuntimePromise = () => flatMap5(
|
|
29294
|
+
var makeRuntime = () => flatMap5(make41(), (self) => runtime(self)());
|
|
29295
|
+
var makeRuntimePromise = () => flatMap5(make41(), (self) => runtimePromise(self)());
|
|
29209
29296
|
var internalFiberId = -1;
|
|
29210
29297
|
var isInternalInterruption = /* @__PURE__ */ toPredicate(/* @__PURE__ */ compose2(filterInterruptors, /* @__PURE__ */ has2(internalFiberId)));
|
|
29211
29298
|
var addUnsafe2 = /* @__PURE__ */ dual((args2) => isFiberSet(args2[0]), (self, fiber3, options) => {
|
|
@@ -29306,7 +29393,7 @@ __export(Logger_exports, {
|
|
|
29306
29393
|
formatStructured: () => formatStructured,
|
|
29307
29394
|
isLogger: () => isLogger,
|
|
29308
29395
|
layer: () => layer,
|
|
29309
|
-
make: () =>
|
|
29396
|
+
make: () => make42,
|
|
29310
29397
|
map: () => map15,
|
|
29311
29398
|
toFile: () => toFile,
|
|
29312
29399
|
tracerLogger: () => tracerLogger2,
|
|
@@ -29314,8 +29401,8 @@ __export(Logger_exports, {
|
|
|
29314
29401
|
withConsoleLog: () => withConsoleLog,
|
|
29315
29402
|
withLeveledConsole: () => withLeveledConsole
|
|
29316
29403
|
});
|
|
29317
|
-
var
|
|
29318
|
-
var isLogger = (u) => hasProperty(u,
|
|
29404
|
+
var TypeId45 = "~effect/Logger";
|
|
29405
|
+
var isLogger = (u) => hasProperty(u, TypeId45);
|
|
29319
29406
|
var CurrentLoggers2 = CurrentLoggers;
|
|
29320
29407
|
var LogToStderr2 = LogToStderr;
|
|
29321
29408
|
var map15 = /* @__PURE__ */ dual(2, (self, f) => loggerMake((options) => f(self.log(options))));
|
|
@@ -29383,7 +29470,7 @@ var format9 = (quoteValue, space) => ({
|
|
|
29383
29470
|
}
|
|
29384
29471
|
return out;
|
|
29385
29472
|
};
|
|
29386
|
-
var
|
|
29473
|
+
var make42 = loggerMake;
|
|
29387
29474
|
var defaultLogger2 = defaultLogger;
|
|
29388
29475
|
var formatSimple = /* @__PURE__ */ loggerMake(/* @__PURE__ */ format9(escapeDoubleQuotes));
|
|
29389
29476
|
var formatLogFmt = /* @__PURE__ */ loggerMake(/* @__PURE__ */ format9(JSON.stringify, 0));
|
|
@@ -29462,11 +29549,11 @@ var toFile = /* @__PURE__ */ dual((args2) => isLogger(args2[0]), (self, path, op
|
|
|
29462
29549
|
var ManagedRuntime_exports = {};
|
|
29463
29550
|
__export(ManagedRuntime_exports, {
|
|
29464
29551
|
isManagedRuntime: () => isManagedRuntime,
|
|
29465
|
-
make: () =>
|
|
29552
|
+
make: () => make43
|
|
29466
29553
|
});
|
|
29467
|
-
var
|
|
29468
|
-
var isManagedRuntime = (input) => hasProperty(input,
|
|
29469
|
-
var
|
|
29554
|
+
var TypeId46 = "~effect/ManagedRuntime";
|
|
29555
|
+
var isManagedRuntime = (input) => hasProperty(input, TypeId46);
|
|
29556
|
+
var make43 = (layer2, options) => {
|
|
29470
29557
|
const memoMap = options?.memoMap ?? makeMemoMapUnsafe();
|
|
29471
29558
|
const scope3 = makeUnsafe3("parallel");
|
|
29472
29559
|
const layerScope = forkUnsafe2(scope3, "sequential");
|
|
@@ -29493,7 +29580,7 @@ var make42 = (layer2, options) => {
|
|
|
29493
29580
|
return flatten5(await_(buildFiber));
|
|
29494
29581
|
});
|
|
29495
29582
|
const self = {
|
|
29496
|
-
[
|
|
29583
|
+
[TypeId46]: TypeId46,
|
|
29497
29584
|
memoMap,
|
|
29498
29585
|
scope: scope3,
|
|
29499
29586
|
contextEffect,
|
|
@@ -29582,9 +29669,9 @@ __export(Match_exports, {
|
|
|
29582
29669
|
});
|
|
29583
29670
|
|
|
29584
29671
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/internal/matcher.js
|
|
29585
|
-
var
|
|
29672
|
+
var TypeId47 = "~effect/Match/Matcher";
|
|
29586
29673
|
var TypeMatcherProto = {
|
|
29587
|
-
[
|
|
29674
|
+
[TypeId47]: {
|
|
29588
29675
|
_input: identity,
|
|
29589
29676
|
_filters: identity,
|
|
29590
29677
|
_remaining: identity,
|
|
@@ -29607,7 +29694,7 @@ function makeTypeMatcher(select, cases) {
|
|
|
29607
29694
|
return matcher;
|
|
29608
29695
|
}
|
|
29609
29696
|
var ValueMatcherProto = {
|
|
29610
|
-
[
|
|
29697
|
+
[TypeId47]: {
|
|
29611
29698
|
_input: identity,
|
|
29612
29699
|
_filters: identity,
|
|
29613
29700
|
_result: identity,
|
|
@@ -29880,93 +29967,6 @@ var result5 = result4;
|
|
|
29880
29967
|
var option5 = option4;
|
|
29881
29968
|
var exhaustive2 = exhaustive;
|
|
29882
29969
|
|
|
29883
|
-
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/Ref.js
|
|
29884
|
-
var Ref_exports = {};
|
|
29885
|
-
__export(Ref_exports, {
|
|
29886
|
-
get: () => get10,
|
|
29887
|
-
getAndSet: () => getAndSet,
|
|
29888
|
-
getAndUpdate: () => getAndUpdate,
|
|
29889
|
-
getAndUpdateSome: () => getAndUpdateSome,
|
|
29890
|
-
getUnsafe: () => getUnsafe5,
|
|
29891
|
-
make: () => make43,
|
|
29892
|
-
makeUnsafe: () => makeUnsafe11,
|
|
29893
|
-
modify: () => modify4,
|
|
29894
|
-
modifySome: () => modifySome,
|
|
29895
|
-
set: () => set8,
|
|
29896
|
-
setAndGet: () => setAndGet,
|
|
29897
|
-
update: () => update2,
|
|
29898
|
-
updateAndGet: () => updateAndGet,
|
|
29899
|
-
updateSome: () => updateSome,
|
|
29900
|
-
updateSomeAndGet: () => updateSomeAndGet
|
|
29901
|
-
});
|
|
29902
|
-
var TypeId47 = "~effect/Ref";
|
|
29903
|
-
var RefProto = {
|
|
29904
|
-
[TypeId47]: {
|
|
29905
|
-
_A: identity
|
|
29906
|
-
},
|
|
29907
|
-
...PipeInspectableProto,
|
|
29908
|
-
toJSON() {
|
|
29909
|
-
return {
|
|
29910
|
-
_id: "Ref",
|
|
29911
|
-
ref: this.ref
|
|
29912
|
-
};
|
|
29913
|
-
}
|
|
29914
|
-
};
|
|
29915
|
-
var makeUnsafe11 = (value6) => {
|
|
29916
|
-
const self = Object.create(RefProto);
|
|
29917
|
-
self.ref = make30(value6);
|
|
29918
|
-
return self;
|
|
29919
|
-
};
|
|
29920
|
-
var make43 = (value6) => sync4(() => makeUnsafe11(value6));
|
|
29921
|
-
var get10 = (self) => sync4(() => self.ref.current);
|
|
29922
|
-
var set8 = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => set6(self.ref, value6)));
|
|
29923
|
-
var getAndSet = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => {
|
|
29924
|
-
const current = self.ref.current;
|
|
29925
|
-
self.ref.current = value6;
|
|
29926
|
-
return current;
|
|
29927
|
-
}));
|
|
29928
|
-
var getAndUpdate = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
29929
|
-
const current = self.ref.current;
|
|
29930
|
-
self.ref.current = f(current);
|
|
29931
|
-
return current;
|
|
29932
|
-
}));
|
|
29933
|
-
var getAndUpdateSome = /* @__PURE__ */ dual(2, (self, pf) => sync4(() => {
|
|
29934
|
-
const current = self.ref.current;
|
|
29935
|
-
const option6 = pf(current);
|
|
29936
|
-
if (option6._tag === "Some") {
|
|
29937
|
-
self.ref.current = option6.value;
|
|
29938
|
-
}
|
|
29939
|
-
return current;
|
|
29940
|
-
}));
|
|
29941
|
-
var setAndGet = /* @__PURE__ */ dual(2, (self, value6) => sync4(() => self.ref.current = value6));
|
|
29942
|
-
var modify4 = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
29943
|
-
const [b, a] = f(self.ref.current);
|
|
29944
|
-
self.ref.current = a;
|
|
29945
|
-
return b;
|
|
29946
|
-
}));
|
|
29947
|
-
var modifySome = /* @__PURE__ */ dual(2, (self, pf) => modify4(self, (value6) => {
|
|
29948
|
-
const [b, option6] = pf(value6);
|
|
29949
|
-
return [b, option6._tag === "None" ? value6 : option6.value];
|
|
29950
|
-
}));
|
|
29951
|
-
var update2 = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
29952
|
-
self.ref.current = f(self.ref.current);
|
|
29953
|
-
}));
|
|
29954
|
-
var updateAndGet = /* @__PURE__ */ dual(2, (self, f) => sync4(() => self.ref.current = f(self.ref.current)));
|
|
29955
|
-
var updateSome = /* @__PURE__ */ dual(2, (self, f) => sync4(() => {
|
|
29956
|
-
const option6 = f(self.ref.current);
|
|
29957
|
-
if (option6._tag === "Some") {
|
|
29958
|
-
self.ref.current = option6.value;
|
|
29959
|
-
}
|
|
29960
|
-
}));
|
|
29961
|
-
var updateSomeAndGet = /* @__PURE__ */ dual(2, (self, pf) => sync4(() => {
|
|
29962
|
-
const option6 = pf(self.ref.current);
|
|
29963
|
-
if (option6._tag === "Some") {
|
|
29964
|
-
self.ref.current = option6.value;
|
|
29965
|
-
}
|
|
29966
|
-
return self.ref.current;
|
|
29967
|
-
}));
|
|
29968
|
-
var getUnsafe5 = (self) => self.ref.current;
|
|
29969
|
-
|
|
29970
29970
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/UndefinedOr.js
|
|
29971
29971
|
var map16 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(self));
|
|
29972
29972
|
var match9 = /* @__PURE__ */ dual(2, (self, {
|
|
@@ -30454,13 +30454,13 @@ export {
|
|
|
30454
30454
|
Boolean4 as Boolean2,
|
|
30455
30455
|
URL3 as URL,
|
|
30456
30456
|
ignore5 as ignore2,
|
|
30457
|
-
|
|
30457
|
+
make41 as make7,
|
|
30458
30458
|
run3 as run2,
|
|
30459
30459
|
runtime,
|
|
30460
30460
|
awaitEmpty,
|
|
30461
30461
|
FiberSet_exports,
|
|
30462
30462
|
symbol4 as symbol3,
|
|
30463
|
-
|
|
30463
|
+
make42 as make8,
|
|
30464
30464
|
layer,
|
|
30465
30465
|
Logger_exports,
|
|
30466
30466
|
ManagedRuntime_exports,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FetchHttpClient_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KNJAOYV4.js";
|
|
4
4
|
import {
|
|
5
5
|
HttpBody_exports,
|
|
6
6
|
HttpClient,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
setBody,
|
|
19
19
|
transformResponse,
|
|
20
20
|
uint8Array
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OBXHLFGQ.js";
|
|
22
22
|
import {
|
|
23
23
|
Array as Array2,
|
|
24
24
|
Boolean2 as Boolean,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
withDefault2 as withDefault,
|
|
126
126
|
withTracerEnabled,
|
|
127
127
|
zero
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-DM5U7G7V.js";
|
|
129
129
|
import {
|
|
130
130
|
__export
|
|
131
131
|
} from "./chunk-CZ7CSFO4.js";
|