apps 0.0.1-beta.69 → 0.0.1-beta.70
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-DZN5TQ53.js → chunk-2YSTJMBD.js} +1 -1
- package/js/{chunk-FZB6D6ZD.js → chunk-4NCIPADO.js} +1 -1
- package/js/{chunk-CY4MT7PI.js → chunk-M5OLYYNU.js} +8 -1
- package/js/{chunk-GJSNQSR7.js → chunk-WDIVWSDG.js} +1 -1
- package/js/{chunk-CXDAEGXB.js → chunk-WGQP62EG.js} +1 -1
- package/js/effect.js +2 -2
- package/js/graphql.js +3 -3
- package/js/host.js +2 -2
- package/js/mcp/effect.js +4 -4
- package/js/mcp/stdio.js +4 -4
- package/js/mcp.js +5 -5
- package/js/openapi.js +2 -2
- package/package.json +1 -1
- package/runtime.json +1 -1
|
@@ -290,7 +290,7 @@ var OpenapiToolNames = Schema_exports.Struct({
|
|
|
290
290
|
var cacheMessages = {
|
|
291
291
|
capacity: "A cache key, value or batch exceeded the app cache's size limits.",
|
|
292
292
|
invalid: "The app made a cache request the app cache could not accept.",
|
|
293
|
-
unavailable: "The app cache
|
|
293
|
+
unavailable: "The app cache was not available for this operation.",
|
|
294
294
|
storage: "The app cache failed to complete the operation.",
|
|
295
295
|
timeout: "The app cache did not respond in time."
|
|
296
296
|
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
answeredError,
|
|
4
4
|
mcpClient,
|
|
5
5
|
mcpJsonSchemaValidator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WGQP62EG.js";
|
|
7
7
|
import {
|
|
8
8
|
failOnNetworkRefusal
|
|
9
9
|
} from "./chunk-MHB7IFG7.js";
|
|
@@ -164,6 +164,13 @@ var transportFetch = (connection, telemetry, rejected, answered) => (url, init)
|
|
|
164
164
|
);
|
|
165
165
|
var explain = (error, phase, responses) => {
|
|
166
166
|
if (Schema_exports.is(ProviderError)(error)) return providerErrorDetail(error, { phase });
|
|
167
|
+
if (phase === "call" && Schema_exports.is(McpError)(error) && error.phase === "transport" && error.reason === "request")
|
|
168
|
+
return new McpError({
|
|
169
|
+
phase,
|
|
170
|
+
reason: error.reason,
|
|
171
|
+
...error.status === void 0 ? {} : { status: error.status },
|
|
172
|
+
...error.upstream === void 0 ? {} : { upstream: error.upstream }
|
|
173
|
+
});
|
|
167
174
|
if (!Schema_exports.is(McpError)(error) || error.status === void 0) return error;
|
|
168
175
|
const response = responses.get(error.status);
|
|
169
176
|
if (response === void 0 || (error.upstream !== void 0 || response.upstream === void 0) && !response.session)
|
package/js/effect.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2YSTJMBD.js";
|
|
7
7
|
import "./chunk-RUP4JMKO.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4NCIPADO.js";
|
|
9
9
|
import "./chunk-MHB7IFG7.js";
|
|
10
10
|
import "./chunk-XBG7HHXC.js";
|
|
11
11
|
import "./chunk-3R3KFCDU.js";
|
package/js/graphql.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-ECCWT5GJ.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WDIVWSDG.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2YSTJMBD.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
12
|
} from "./chunk-RUP4JMKO.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-4NCIPADO.js";
|
|
14
14
|
import {
|
|
15
15
|
failOnNetworkRefusal
|
|
16
16
|
} from "./chunk-MHB7IFG7.js";
|
package/js/host.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAppHandler
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2YSTJMBD.js";
|
|
4
4
|
import "./chunk-RUP4JMKO.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-4NCIPADO.js";
|
|
6
6
|
import "./chunk-MHB7IFG7.js";
|
|
7
7
|
import "./chunk-XBG7HHXC.js";
|
|
8
8
|
import "./chunk-3R3KFCDU.js";
|
package/js/mcp/effect.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect,
|
|
4
4
|
mcpToolsEffect
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-M5OLYYNU.js";
|
|
6
|
+
import "../chunk-WGQP62EG.js";
|
|
7
7
|
import "../chunk-BCSNKUAC.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-2YSTJMBD.js";
|
|
9
9
|
import "../chunk-RUP4JMKO.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-4NCIPADO.js";
|
|
11
11
|
import "../chunk-MHB7IFG7.js";
|
|
12
12
|
import "../chunk-XBG7HHXC.js";
|
|
13
13
|
import "../chunk-3R3KFCDU.js";
|
package/js/mcp/stdio.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
answeredError,
|
|
4
4
|
mcpClient,
|
|
5
5
|
mcpJsonSchemaValidator
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-WGQP62EG.js";
|
|
7
7
|
import {
|
|
8
8
|
protocolRouter
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-WDIVWSDG.js";
|
|
10
10
|
import "../chunk-BCSNKUAC.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-2YSTJMBD.js";
|
|
12
12
|
import "../chunk-RUP4JMKO.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-4NCIPADO.js";
|
|
14
14
|
import "../chunk-MHB7IFG7.js";
|
|
15
15
|
import "../chunk-XBG7HHXC.js";
|
|
16
16
|
import "../chunk-3R3KFCDU.js";
|
package/js/mcp.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M5OLYYNU.js";
|
|
5
5
|
import {
|
|
6
6
|
catalogCache,
|
|
7
7
|
catalogScope
|
|
8
8
|
} from "./chunk-ECCWT5GJ.js";
|
|
9
9
|
import {
|
|
10
10
|
adaptMcpTool
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WGQP62EG.js";
|
|
12
12
|
import {
|
|
13
13
|
protocolOperations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WDIVWSDG.js";
|
|
15
15
|
import "./chunk-BCSNKUAC.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2YSTJMBD.js";
|
|
17
17
|
import {
|
|
18
18
|
cacheKey
|
|
19
19
|
} from "./chunk-RUP4JMKO.js";
|
|
20
20
|
import {
|
|
21
21
|
operationDescription
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4NCIPADO.js";
|
|
23
23
|
import "./chunk-MHB7IFG7.js";
|
|
24
24
|
import "./chunk-XBG7HHXC.js";
|
|
25
25
|
import "./chunk-3R3KFCDU.js";
|
package/js/openapi.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
protocolOperations,
|
|
10
10
|
protocolRouter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WDIVWSDG.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenapiCompileError,
|
|
14
14
|
OpenapiCompileErrorCode,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isOpenapiTextMedia,
|
|
30
30
|
openapiBinaryResultSchema,
|
|
31
31
|
openapiMediaKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4NCIPADO.js";
|
|
33
33
|
import {
|
|
34
34
|
failOnNetworkRefusal
|
|
35
35
|
} from "./chunk-MHB7IFG7.js";
|