apps 0.0.1-beta.30 → 0.0.1-beta.32
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-AE4FWJQU.js → chunk-3FJYVAE4.js} +7 -7
- package/js/{chunk-KQCMHI3K.js → chunk-4OKYLVU4.js} +3 -3
- package/js/{chunk-BRGF7VFN.js → chunk-5DLG2FVN.js} +2 -2
- package/js/{chunk-XBQTJP76.js → chunk-5JVNM3CQ.js} +2 -2
- package/js/{chunk-6VWYEQ4X.js → chunk-5XJR4XGW.js} +3 -3
- package/js/{chunk-BTJMXW4I.js → chunk-6KG4DZD7.js} +1 -1
- package/js/{chunk-65SZ23BK.js → chunk-6ZJ2H6P4.js} +2 -2
- package/js/{chunk-P46HIAX6.js → chunk-AUFVX4KM.js} +2 -2
- package/js/{chunk-VUVBMNKC.js → chunk-AYM2FUI5.js} +2 -2
- package/js/{chunk-ZZOCEUTB.js → chunk-BGALSHLT.js} +4 -4
- package/js/{chunk-XGN5IFOZ.js → chunk-CJY5X26R.js} +1 -1
- package/js/{chunk-6JBTHTI5.js → chunk-DASNNAP4.js} +1 -1
- package/js/{chunk-WGBI5MVX.js → chunk-ETLILMHY.js} +3 -3
- package/js/{chunk-NXTXZ635.js → chunk-EXGKN554.js} +166 -11
- package/js/{chunk-PWF2DRJ3.js → chunk-FBBXFFFJ.js} +1 -1
- package/js/{chunk-OI5CKSBU.js → chunk-FULRJSWU.js} +8 -8
- package/js/{chunk-IMCEF6KE.js → chunk-GG566OOE.js} +9 -9
- package/js/{chunk-5ZHHO4OM.js → chunk-GZ4UHXRT.js} +3 -3
- package/js/{chunk-MYCVMDWI.js → chunk-HW3DPBZR.js} +1 -1
- package/js/{chunk-BBTELEAN.js → chunk-MFHUR5SB.js} +2 -2
- package/js/{chunk-BSRU52RU.js → chunk-N72RKJ5E.js} +5 -5
- package/js/{chunk-YML53Z7H.js → chunk-NPGRURDG.js} +350 -15
- package/js/{chunk-4N26L465.js → chunk-OX233L7N.js} +2 -2
- package/js/{chunk-2D2PKLGQ.js → chunk-QYM4STZW.js} +2 -2
- package/js/{chunk-PUC24GZP.js → chunk-RULZPNGP.js} +12 -12
- package/js/{chunk-M2KEEOIQ.js → chunk-UMCMZFXW.js} +1 -1
- package/js/{chunk-6NK26ONC.js → chunk-W7F23NQ2.js} +102 -19
- package/js/{chunk-3SPRHIEE.js → chunk-WG5DFZFT.js} +2 -2
- package/js/{chunk-WQ5MVBTP.js → chunk-ZOY7PDMI.js} +1 -1
- package/js/client.js +11 -11
- package/js/contracts.js +9 -9
- package/js/effect.js +20 -20
- package/js/graphql.js +22 -22
- package/js/host.js +20 -20
- package/js/index.js +14 -14
- package/js/mcp/effect.js +22 -22
- package/js/mcp/stdio.js +22 -22
- package/js/mcp.js +24 -24
- package/js/openapi.js +17 -17
- package/js/react.js +3 -3
- package/js/skills/effect.js +5 -5
- package/js/skills.js +12 -12
- 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 +5 -5
- package/js/ui/serving.js +9 -9
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/openapi-compile.d.ts +1 -0
- package/types/apps/src/implementation/input-problems.d.ts +4 -1
- package/types/apps/src/implementation/openapi-document.d.ts +11 -11
- package/types/apps/src/implementation/schema.d.ts +28 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prepareElicitation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W7F23NQ2.js";
|
|
4
4
|
import {
|
|
5
5
|
fromPromise
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5XJR4XGW.js";
|
|
7
7
|
import {
|
|
8
8
|
bodyUpstreamError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4OKYLVU4.js";
|
|
10
10
|
import {
|
|
11
11
|
ElicitationFailed,
|
|
12
12
|
McpError,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
defaultElicitationLimits,
|
|
19
19
|
defaultMcpClientLimits,
|
|
20
20
|
mcpSdkTimerCeilingMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N72RKJ5E.js";
|
|
22
22
|
import {
|
|
23
23
|
jsonSchemaDecoder,
|
|
24
24
|
nestJsonSchema,
|
|
25
25
|
preparedJsonSchemaDecoder
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NPGRURDG.js";
|
|
27
27
|
import {
|
|
28
28
|
JsonObject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FBBXFFFJ.js";
|
|
30
30
|
import {
|
|
31
31
|
Clock_exports,
|
|
32
32
|
Deferred_exports,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
Option_exports,
|
|
36
36
|
Queue_exports,
|
|
37
37
|
Schema_exports
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EXGKN554.js";
|
|
39
39
|
|
|
40
40
|
// src/implementation/mcp-tools.ts
|
|
41
41
|
var resultFields = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProviderError,
|
|
3
3
|
maxUpstreamMessageLength
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5DLG2FVN.js";
|
|
5
5
|
import {
|
|
6
6
|
AccountId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FBBXFFFJ.js";
|
|
8
8
|
import {
|
|
9
9
|
Option_exports,
|
|
10
10
|
Schema_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EXGKN554.js";
|
|
12
12
|
|
|
13
13
|
// src/implementation/upstream-error.ts
|
|
14
14
|
var ErrorToken = Schema_exports.String.check(Schema_exports.isPattern(/^[A-Za-z0-9._-]{1,128}$/));
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
defaultDatabaseLimits,
|
|
13
13
|
defaultDatabaseRuntimeLimits,
|
|
14
14
|
reservedFieldNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UMCMZFXW.js";
|
|
16
16
|
import {
|
|
17
17
|
Cause_exports,
|
|
18
18
|
Clock_exports,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
Encoding_exports,
|
|
21
21
|
Schema_exports,
|
|
22
22
|
Semaphore_exports
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EXGKN554.js";
|
|
24
24
|
|
|
25
25
|
// ../app-data/src/implementation/schema.ts
|
|
26
26
|
var metadata = new Set(reservedFieldNames);
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
RouterKey,
|
|
4
4
|
RouterMeta,
|
|
5
5
|
reservedRouterKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N72RKJ5E.js";
|
|
7
7
|
import {
|
|
8
8
|
decoderOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NPGRURDG.js";
|
|
10
10
|
import {
|
|
11
11
|
Effect_exports,
|
|
12
12
|
Schema_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EXGKN554.js";
|
|
14
14
|
|
|
15
15
|
// src/implementation/authoring.ts
|
|
16
16
|
var NativeCallback = /* @__PURE__ */ Symbol("apps.NativeCallback");
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
invalidate,
|
|
4
4
|
layer,
|
|
5
5
|
mutation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DASNNAP4.js";
|
|
7
7
|
import {
|
|
8
8
|
Boolean,
|
|
9
9
|
Cause,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
void_2,
|
|
159
159
|
whileLoop,
|
|
160
160
|
zipRight
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-EXGKN554.js";
|
|
162
162
|
import {
|
|
163
163
|
__export
|
|
164
164
|
} from "./chunk-CZ7CSFO4.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appSignInCallbackPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZOY7PDMI.js";
|
|
4
4
|
import {
|
|
5
5
|
HttpServerResponse_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CJY5X26R.js";
|
|
7
7
|
|
|
8
8
|
// src/implementation/ui-auth.ts
|
|
9
9
|
var appPrivateHeaders = {
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
CacheEntry,
|
|
4
4
|
CacheError,
|
|
5
5
|
cacheLimits
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5DLG2FVN.js";
|
|
7
7
|
import {
|
|
8
8
|
Clock_exports,
|
|
9
9
|
Duration_exports,
|
|
10
10
|
Effect_exports,
|
|
11
11
|
Exit_exports,
|
|
12
12
|
Schema_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EXGKN554.js";
|
|
14
14
|
|
|
15
15
|
// ../app-cache/src/index.ts
|
|
16
16
|
var canonical = (value) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CacheError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5DLG2FVN.js";
|
|
4
4
|
import {
|
|
5
5
|
wrap
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NPGRURDG.js";
|
|
7
7
|
import {
|
|
8
8
|
JsonObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FBBXFFFJ.js";
|
|
10
10
|
import {
|
|
11
11
|
Duration_exports,
|
|
12
12
|
Effect_exports,
|
|
13
13
|
Schema_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EXGKN554.js";
|
|
15
15
|
|
|
16
16
|
// src/implementation/catalog-cache.ts
|
|
17
17
|
var catalogScope = (options, invalid) => {
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
useSpan,
|
|
59
59
|
void_2 as void_,
|
|
60
60
|
withFiber
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EXGKN554.js";
|
|
62
62
|
|
|
63
63
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/unstable/reactivity/Reactivity.js
|
|
64
64
|
var TypeId = "~effect/reactivity/Reactivity";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FetchHttpClient_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MFHUR5SB.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-CJY5X26R.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-EXGKN554.js";
|
|
129
129
|
import {
|
|
130
130
|
__export
|
|
131
131
|
} from "./chunk-CZ7CSFO4.js";
|
|
@@ -5859,8 +5859,8 @@ var runPromiseExitWith = (context3) => {
|
|
|
5859
5859
|
const runFork3 = runForkWith(context3);
|
|
5860
5860
|
return (effect2, options) => {
|
|
5861
5861
|
const fiber3 = runFork3(effect2, options);
|
|
5862
|
-
return new Promise((
|
|
5863
|
-
fiber3.addObserver((exit3) =>
|
|
5862
|
+
return new Promise((resolve5) => {
|
|
5863
|
+
fiber3.addObserver((exit3) => resolve5(exit3));
|
|
5864
5864
|
});
|
|
5865
5865
|
};
|
|
5866
5866
|
};
|
|
@@ -12045,6 +12045,7 @@ var jsonSchemaAnnotationKeys = ["title", "description", "default", "examples", "
|
|
|
12045
12045
|
var resolveIdentifier = /* @__PURE__ */ resolveAt("identifier");
|
|
12046
12046
|
var resolveIdentifierFallback = /* @__PURE__ */ resolveAt(IDENTIFIER_FALLBACK_KEY);
|
|
12047
12047
|
var resolveTitle = /* @__PURE__ */ resolveAt("title");
|
|
12048
|
+
var resolveDescription = /* @__PURE__ */ resolveAt("description");
|
|
12048
12049
|
var resolveBrands = /* @__PURE__ */ resolveAt("brands");
|
|
12049
12050
|
var getExpected = /* @__PURE__ */ memoize((ast) => {
|
|
12050
12051
|
const identifier2 = resolve(ast)?.identifier;
|
|
@@ -12053,6 +12054,141 @@ var getExpected = /* @__PURE__ */ memoize((ast) => {
|
|
|
12053
12054
|
});
|
|
12054
12055
|
var annotationExcludedKeys = /* @__PURE__ */ new Set([SENTINELS_ANNOTATION_KEY, STRUCTURAL_ANNOTATION_KEY, "representation", "arbitraryConstraint", "brands", "toJsonSchema", "toCode", "toEquivalence", "toFormatter", "toCodec", "toCodecJson", "toCodecStringTree", "toCodecIso", "toCodecArbitrary"]);
|
|
12055
12056
|
|
|
12057
|
+
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/SchemaAST.js
|
|
12058
|
+
var SchemaAST_exports = {};
|
|
12059
|
+
__export(SchemaAST_exports, {
|
|
12060
|
+
Any: () => Any,
|
|
12061
|
+
Arrays: () => Arrays,
|
|
12062
|
+
BigInt: () => BigInt5,
|
|
12063
|
+
Boolean: () => Boolean2,
|
|
12064
|
+
Context: () => Context,
|
|
12065
|
+
Declaration: () => Declaration,
|
|
12066
|
+
Enum: () => Enum,
|
|
12067
|
+
FINITE_PATTERN: () => FINITE_PATTERN,
|
|
12068
|
+
Filter: () => Filter2,
|
|
12069
|
+
FilterGroup: () => FilterGroup,
|
|
12070
|
+
IndexSignature: () => IndexSignature,
|
|
12071
|
+
Json: () => Json,
|
|
12072
|
+
Link: () => Link,
|
|
12073
|
+
Literal: () => Literal,
|
|
12074
|
+
MutableJson: () => MutableJson,
|
|
12075
|
+
Never: () => Never,
|
|
12076
|
+
Null: () => Null,
|
|
12077
|
+
Number: () => Number5,
|
|
12078
|
+
ObjectKeyword: () => ObjectKeyword,
|
|
12079
|
+
Objects: () => Objects,
|
|
12080
|
+
PropertySignature: () => PropertySignature,
|
|
12081
|
+
STRING_PATTERN: () => STRING_PATTERN,
|
|
12082
|
+
String: () => String5,
|
|
12083
|
+
Suspend: () => Suspend,
|
|
12084
|
+
Symbol: () => Symbol2,
|
|
12085
|
+
TemplateLiteral: () => TemplateLiteral,
|
|
12086
|
+
Undefined: () => Undefined,
|
|
12087
|
+
Union: () => Union,
|
|
12088
|
+
UniqueSymbol: () => UniqueSymbol,
|
|
12089
|
+
Unknown: () => Unknown,
|
|
12090
|
+
Void: () => Void,
|
|
12091
|
+
annotate: () => annotate2,
|
|
12092
|
+
annotateKey: () => annotateKey,
|
|
12093
|
+
any: () => any,
|
|
12094
|
+
appendChecks: () => appendChecks,
|
|
12095
|
+
applyToLastLink: () => applyToLastLink,
|
|
12096
|
+
applyToSelfOrLastLinkEncoding: () => applyToSelfOrLastLinkEncoding,
|
|
12097
|
+
applyToSelfOrLastLinkEncodingIdempotent: () => applyToSelfOrLastLinkEncodingIdempotent,
|
|
12098
|
+
bigInt: () => bigInt,
|
|
12099
|
+
bigIntString: () => bigIntString,
|
|
12100
|
+
boolean: () => boolean,
|
|
12101
|
+
brand: () => brand,
|
|
12102
|
+
collectIssues: () => collectIssues,
|
|
12103
|
+
collectSentinels: () => collectSentinels,
|
|
12104
|
+
containsUndefined: () => containsUndefined,
|
|
12105
|
+
decodeTo: () => decodeTo,
|
|
12106
|
+
defaultParseOptions: () => defaultParseOptions,
|
|
12107
|
+
finite: () => finite,
|
|
12108
|
+
flip: () => flip4,
|
|
12109
|
+
getAST: () => getAST,
|
|
12110
|
+
getCandidates: () => getCandidates,
|
|
12111
|
+
getConstructorDescriptor: () => getConstructorDescriptor,
|
|
12112
|
+
getContextOwner: () => getContextOwner,
|
|
12113
|
+
getIndexSignatureKeys: () => getIndexSignatureKeys,
|
|
12114
|
+
getLastEncoding: () => getLastEncoding,
|
|
12115
|
+
isAST: () => isAST,
|
|
12116
|
+
isAny: () => isAny,
|
|
12117
|
+
isArrays: () => isArrays,
|
|
12118
|
+
isBigInt: () => isBigInt2,
|
|
12119
|
+
isBoolean: () => isBoolean2,
|
|
12120
|
+
isDeclaration: () => isDeclaration,
|
|
12121
|
+
isEnum: () => isEnum,
|
|
12122
|
+
isFinite: () => isFinite2,
|
|
12123
|
+
isJson: () => isJson,
|
|
12124
|
+
isLiteral: () => isLiteral,
|
|
12125
|
+
isMutable: () => isMutable,
|
|
12126
|
+
isNever: () => isNever2,
|
|
12127
|
+
isNull: () => isNull2,
|
|
12128
|
+
isNumber: () => isNumber2,
|
|
12129
|
+
isObjectKeyword: () => isObjectKeyword2,
|
|
12130
|
+
isObjects: () => isObjects,
|
|
12131
|
+
isOptional: () => isOptional,
|
|
12132
|
+
isPattern: () => isPattern,
|
|
12133
|
+
isString: () => isString3,
|
|
12134
|
+
isStringBigInt: () => isStringBigInt,
|
|
12135
|
+
isStringFinite: () => isStringFinite,
|
|
12136
|
+
isStringSymbol: () => isStringSymbol,
|
|
12137
|
+
isStringTree: () => isStringTree,
|
|
12138
|
+
isSuspend: () => isSuspend,
|
|
12139
|
+
isSymbol: () => isSymbol2,
|
|
12140
|
+
isTemplateLiteral: () => isTemplateLiteral,
|
|
12141
|
+
isUndefined: () => isUndefined2,
|
|
12142
|
+
isUnion: () => isUnion,
|
|
12143
|
+
isUniqueSymbol: () => isUniqueSymbol,
|
|
12144
|
+
isUnknown: () => isUnknown2,
|
|
12145
|
+
isVoid: () => isVoid,
|
|
12146
|
+
makeFilter: () => makeFilter,
|
|
12147
|
+
makeFilterByGuard: () => makeFilterByGuard,
|
|
12148
|
+
mapLink: () => mapLink,
|
|
12149
|
+
mapOrSame: () => mapOrSame,
|
|
12150
|
+
middlewareDecoding: () => middlewareDecoding,
|
|
12151
|
+
middlewareEncoding: () => middlewareEncoding,
|
|
12152
|
+
mutable: () => mutable,
|
|
12153
|
+
mutableKey: () => mutableKey,
|
|
12154
|
+
never: () => never3,
|
|
12155
|
+
null: () => null_,
|
|
12156
|
+
number: () => number2,
|
|
12157
|
+
objectKeyword: () => objectKeyword,
|
|
12158
|
+
objectKeywordToJson: () => objectKeywordToJson,
|
|
12159
|
+
optional: () => optional,
|
|
12160
|
+
optionalKey: () => optionalKey,
|
|
12161
|
+
parameterFromString: () => parameterFromString,
|
|
12162
|
+
record: () => record,
|
|
12163
|
+
replaceChecks: () => replaceChecks,
|
|
12164
|
+
replaceContext: () => replaceContext,
|
|
12165
|
+
replaceContextLastLink: () => replaceContextLastLink,
|
|
12166
|
+
replaceEncoding: () => replaceEncoding,
|
|
12167
|
+
resolve: () => resolve2,
|
|
12168
|
+
resolveAt: () => resolveAt2,
|
|
12169
|
+
resolveDescription: () => resolveDescription2,
|
|
12170
|
+
resolveIdentifier: () => resolveIdentifier2,
|
|
12171
|
+
resolveTitle: () => resolveTitle2,
|
|
12172
|
+
runChecks: () => runChecks,
|
|
12173
|
+
string: () => string2,
|
|
12174
|
+
struct: () => struct,
|
|
12175
|
+
structWithRest: () => structWithRest,
|
|
12176
|
+
symbol: () => symbol3,
|
|
12177
|
+
symbolString: () => symbolString,
|
|
12178
|
+
templateLiteralParser: () => templateLiteralParser,
|
|
12179
|
+
toEncoded: () => toEncoded,
|
|
12180
|
+
toType: () => toType,
|
|
12181
|
+
tuple: () => tuple,
|
|
12182
|
+
tupleWithRest: () => tupleWithRest,
|
|
12183
|
+
undefined: () => undefined_3,
|
|
12184
|
+
union: () => union4,
|
|
12185
|
+
unknown: () => unknown,
|
|
12186
|
+
unknownToJson: () => unknownToJson,
|
|
12187
|
+
unknownToStringTree: () => unknownToStringTree,
|
|
12188
|
+
void: () => void_6,
|
|
12189
|
+
withConstructorDefault: () => withConstructorDefault
|
|
12190
|
+
});
|
|
12191
|
+
|
|
12056
12192
|
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/SchemaIssue.js
|
|
12057
12193
|
var SchemaIssue_exports = {};
|
|
12058
12194
|
__export(SchemaIssue_exports, {
|
|
@@ -13061,12 +13197,26 @@ var fromURLSearchParams = /* @__PURE__ */ new Transformation(/* @__PURE__ */ dec
|
|
|
13061
13197
|
function makeGuard(tag4) {
|
|
13062
13198
|
return (ast) => ast._tag === tag4;
|
|
13063
13199
|
}
|
|
13200
|
+
function isAST(u) {
|
|
13201
|
+
return hasProperty(u, TypeId21) && u[TypeId21] === TypeId21;
|
|
13202
|
+
}
|
|
13064
13203
|
var isDeclaration = /* @__PURE__ */ makeGuard("Declaration");
|
|
13065
13204
|
var isNull2 = /* @__PURE__ */ makeGuard("Null");
|
|
13205
|
+
var isUndefined2 = /* @__PURE__ */ makeGuard("Undefined");
|
|
13066
13206
|
var isVoid = /* @__PURE__ */ makeGuard("Void");
|
|
13067
13207
|
var isNever2 = /* @__PURE__ */ makeGuard("Never");
|
|
13208
|
+
var isUnknown2 = /* @__PURE__ */ makeGuard("Unknown");
|
|
13209
|
+
var isAny = /* @__PURE__ */ makeGuard("Any");
|
|
13210
|
+
var isString3 = /* @__PURE__ */ makeGuard("String");
|
|
13211
|
+
var isNumber2 = /* @__PURE__ */ makeGuard("Number");
|
|
13212
|
+
var isBoolean2 = /* @__PURE__ */ makeGuard("Boolean");
|
|
13213
|
+
var isBigInt2 = /* @__PURE__ */ makeGuard("BigInt");
|
|
13214
|
+
var isSymbol2 = /* @__PURE__ */ makeGuard("Symbol");
|
|
13068
13215
|
var isLiteral = /* @__PURE__ */ makeGuard("Literal");
|
|
13069
13216
|
var isUniqueSymbol = /* @__PURE__ */ makeGuard("UniqueSymbol");
|
|
13217
|
+
var isObjectKeyword2 = /* @__PURE__ */ makeGuard("ObjectKeyword");
|
|
13218
|
+
var isEnum = /* @__PURE__ */ makeGuard("Enum");
|
|
13219
|
+
var isTemplateLiteral = /* @__PURE__ */ makeGuard("TemplateLiteral");
|
|
13070
13220
|
var isArrays = /* @__PURE__ */ makeGuard("Arrays");
|
|
13071
13221
|
var isObjects = /* @__PURE__ */ makeGuard("Objects");
|
|
13072
13222
|
var isUnion = /* @__PURE__ */ makeGuard("Union");
|
|
@@ -15072,7 +15222,11 @@ function getConstructorDescriptor(ast) {
|
|
|
15072
15222
|
const getDescriptor = ast.annotations?.[CONSTRUCTOR_ANNOTATION_KEY];
|
|
15073
15223
|
return isFunction(getDescriptor) ? getDescriptor(ast.typeParameters) : void 0;
|
|
15074
15224
|
}
|
|
15225
|
+
var resolve2 = resolve;
|
|
15075
15226
|
var resolveAt2 = resolveAt;
|
|
15227
|
+
var resolveIdentifier2 = resolveIdentifier;
|
|
15228
|
+
var resolveTitle2 = resolveTitle;
|
|
15229
|
+
var resolveDescription2 = resolveDescription;
|
|
15076
15230
|
function isJsonLeaf(u) {
|
|
15077
15231
|
return u === null || typeof u === "string" || typeof u === "boolean" || typeof u === "number" && globalThis.Number.isFinite(u);
|
|
15078
15232
|
}
|
|
@@ -17575,9 +17729,9 @@ function toStandardSchemaV1(self, options) {
|
|
|
17575
17729
|
if (exit3) {
|
|
17576
17730
|
return makeStandardResult(exit3);
|
|
17577
17731
|
}
|
|
17578
|
-
return new Promise((
|
|
17732
|
+
return new Promise((resolve5) => {
|
|
17579
17733
|
fiber3.addObserver((exit4) => {
|
|
17580
|
-
|
|
17734
|
+
resolve5(makeStandardResult(exit4));
|
|
17581
17735
|
});
|
|
17582
17736
|
});
|
|
17583
17737
|
};
|
|
@@ -28153,8 +28307,8 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args2) => isStream(args2[0]), (
|
|
|
28153
28307
|
});
|
|
28154
28308
|
},
|
|
28155
28309
|
pull() {
|
|
28156
|
-
return new Promise((
|
|
28157
|
-
currentResolve =
|
|
28310
|
+
return new Promise((resolve5) => {
|
|
28311
|
+
currentResolve = resolve5;
|
|
28158
28312
|
latch.openUnsafe();
|
|
28159
28313
|
});
|
|
28160
28314
|
},
|
|
@@ -28830,7 +28984,7 @@ function fromFileUrl(url) {
|
|
|
28830
28984
|
}
|
|
28831
28985
|
return succeed7(decodeURIComponent(pathname));
|
|
28832
28986
|
}
|
|
28833
|
-
var
|
|
28987
|
+
var resolve3 = function resolve4() {
|
|
28834
28988
|
let resolvedPath = "";
|
|
28835
28989
|
let resolvedAbsolute = false;
|
|
28836
28990
|
let cwd = void 0;
|
|
@@ -28867,7 +29021,7 @@ var resolve2 = function resolve3() {
|
|
|
28867
29021
|
var CHAR_FORWARD_SLASH = 47;
|
|
28868
29022
|
function toFileUrl(filepath) {
|
|
28869
29023
|
const outURL = new URL("file://");
|
|
28870
|
-
let resolved2 =
|
|
29024
|
+
let resolved2 = resolve3(filepath);
|
|
28871
29025
|
const filePathLast = filepath.charCodeAt(filepath.length - 1);
|
|
28872
29026
|
if (filePathLast === CHAR_FORWARD_SLASH && resolved2[resolved2.length - 1] !== "/") {
|
|
28873
29027
|
resolved2 += "/";
|
|
@@ -28900,7 +29054,7 @@ function encodePathChars(filepath) {
|
|
|
28900
29054
|
}
|
|
28901
29055
|
var posixImpl = /* @__PURE__ */ Path.of({
|
|
28902
29056
|
[TypeId43]: TypeId43,
|
|
28903
|
-
resolve:
|
|
29057
|
+
resolve: resolve3,
|
|
28904
29058
|
normalize(path) {
|
|
28905
29059
|
if (path.length === 0) return ".";
|
|
28906
29060
|
const isAbsolute = path.charCodeAt(0) === 47;
|
|
@@ -29700,9 +29854,9 @@ var runtime = (self) => () => map9(context2(), (services) => {
|
|
|
29700
29854
|
return fiber3;
|
|
29701
29855
|
};
|
|
29702
29856
|
});
|
|
29703
|
-
var runtimePromise = (self) => () => map9(runtime(self)(), (runFork3) => (effect2, options) => new Promise((
|
|
29857
|
+
var runtimePromise = (self) => () => map9(runtime(self)(), (runFork3) => (effect2, options) => new Promise((resolve5, reject) => runFork3(effect2, options).addObserver((exit3) => {
|
|
29704
29858
|
if (isSuccess4(exit3)) {
|
|
29705
|
-
|
|
29859
|
+
resolve5(exit3.value);
|
|
29706
29860
|
} else {
|
|
29707
29861
|
reject(squash(exit3.cause));
|
|
29708
29862
|
}
|
|
@@ -30279,6 +30433,7 @@ export {
|
|
|
30279
30433
|
getLastEncoding,
|
|
30280
30434
|
toEncoded,
|
|
30281
30435
|
resolveAt2 as resolveAt,
|
|
30436
|
+
SchemaAST_exports,
|
|
30282
30437
|
empty13 as empty3,
|
|
30283
30438
|
get6 as get2,
|
|
30284
30439
|
set7 as set,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
promiseTable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5JVNM3CQ.js";
|
|
4
4
|
import {
|
|
5
5
|
declaredOperations,
|
|
6
6
|
fromPromise,
|
|
7
7
|
nativeOperation,
|
|
8
8
|
nativeRouter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5XJR4XGW.js";
|
|
10
10
|
import {
|
|
11
11
|
ScheduleTiming
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N72RKJ5E.js";
|
|
13
13
|
import {
|
|
14
14
|
DatabaseSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UMCMZFXW.js";
|
|
16
16
|
import {
|
|
17
17
|
decoderOf,
|
|
18
18
|
isSchema,
|
|
19
19
|
storageFieldOf
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NPGRURDG.js";
|
|
21
21
|
import {
|
|
22
22
|
AppStorageUnavailable
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6KG4DZD7.js";
|
|
24
24
|
import {
|
|
25
25
|
JsonValue
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FBBXFFFJ.js";
|
|
27
27
|
import {
|
|
28
28
|
Effect_exports,
|
|
29
29
|
Schema_exports
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EXGKN554.js";
|
|
31
31
|
|
|
32
32
|
// src/contracts/http.ts
|
|
33
33
|
var ResponseStatusError = class extends Schema_exports.TaggedError()(
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
answeredError,
|
|
4
4
|
mcpClient,
|
|
5
5
|
mcpJsonSchemaValidator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3FJYVAE4.js";
|
|
7
7
|
import {
|
|
8
8
|
failOnNetworkRefusal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RULZPNGP.js";
|
|
10
10
|
import {
|
|
11
11
|
accountProviderError,
|
|
12
12
|
bodyUpstreamError,
|
|
13
13
|
httpProviderError,
|
|
14
14
|
providerErrorDetail
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4OKYLVU4.js";
|
|
16
16
|
import {
|
|
17
17
|
McpCredentialsUnverified,
|
|
18
18
|
McpError,
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
NetworkRefused,
|
|
22
22
|
defaultMcpClientLimits,
|
|
23
23
|
mcpHealthReserveMs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N72RKJ5E.js";
|
|
25
25
|
import {
|
|
26
26
|
ProviderError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5DLG2FVN.js";
|
|
28
28
|
import {
|
|
29
29
|
captureTelemetry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ETLILMHY.js";
|
|
31
31
|
import {
|
|
32
32
|
FetchHttpClient_exports
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MFHUR5SB.js";
|
|
34
34
|
import {
|
|
35
35
|
HttpClientRequest_exports,
|
|
36
36
|
HttpClient_exports
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CJY5X26R.js";
|
|
38
38
|
import {
|
|
39
39
|
Clock_exports,
|
|
40
40
|
Deferred_exports,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
Ref_exports,
|
|
47
47
|
Schema_exports,
|
|
48
48
|
Stream_exports
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-EXGKN554.js";
|
|
50
50
|
|
|
51
51
|
// src/implementation/mcp.ts
|
|
52
52
|
import { UnauthorizedError } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JsonValue
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBBXFFFJ.js";
|
|
4
4
|
import {
|
|
5
5
|
HttpApiEndpoint_exports,
|
|
6
6
|
HttpApiGroup_exports,
|
|
7
7
|
HttpApiSchema_exports,
|
|
8
8
|
HttpApi_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QYM4STZW.js";
|
|
10
10
|
import {
|
|
11
11
|
Schema_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EXGKN554.js";
|
|
13
13
|
|
|
14
14
|
// src/contracts/ui.ts
|
|
15
15
|
var UiContext = Schema_exports.Struct({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
fromWeb,
|
|
5
5
|
layerMergedContext,
|
|
6
6
|
make2 as make
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CJY5X26R.js";
|
|
8
8
|
import {
|
|
9
9
|
Reference,
|
|
10
10
|
Service,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
succeed4 as succeed,
|
|
18
18
|
toReadableStreamEffect,
|
|
19
19
|
tryPromise
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EXGKN554.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./chunk-CZ7CSFO4.js";
|