@creature-ai/sdk 0.1.12 → 0.1.13
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/core/index.js +11 -11
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.js +11 -11
- package/dist/react/index.js.map +1 -1
- package/dist/server/index.js +200 -199
- package/dist/server/index.js.map +1 -1
- package/package.json +2 -2
package/dist/react/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/react/useHost.ts
|
|
2
2
|
import { useSyncExternalStore, useEffect, useRef, useMemo } from "react";
|
|
3
3
|
|
|
4
|
-
//
|
|
4
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
5
5
|
import * as z3rt from "zod/v3";
|
|
6
6
|
import * as z4mini from "zod/v4-mini";
|
|
7
7
|
function isZ4Schema(s2) {
|
|
@@ -66,7 +66,7 @@ function getLiteralValue(schema) {
|
|
|
66
66
|
return void 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
//
|
|
69
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
70
70
|
import * as z from "zod/v4";
|
|
71
71
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
72
72
|
var JSONRPC_VERSION = "2.0";
|
|
@@ -1571,27 +1571,27 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
};
|
|
1573
1573
|
|
|
1574
|
-
//
|
|
1574
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
1575
1575
|
function isTerminal(status) {
|
|
1576
1576
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
|
-
//
|
|
1579
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
1580
1580
|
import * as z4mini2 from "zod/v4-mini";
|
|
1581
1581
|
|
|
1582
|
-
//
|
|
1582
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
1583
1583
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind3 } from "zod/v3";
|
|
1584
1584
|
|
|
1585
|
-
//
|
|
1585
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
1586
1586
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
1587
1587
|
|
|
1588
|
-
//
|
|
1588
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
1589
1589
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind2 } from "zod/v3";
|
|
1590
1590
|
|
|
1591
|
-
//
|
|
1591
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
1592
1592
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
1593
1593
|
|
|
1594
|
-
//
|
|
1594
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
1595
1595
|
function getMethodLiteral(schema) {
|
|
1596
1596
|
const shape = getObjectShape(schema);
|
|
1597
1597
|
const methodSchema = shape?.method;
|
|
@@ -1612,7 +1612,7 @@ function parseWithCompat(schema, data) {
|
|
|
1612
1612
|
return result.data;
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
|
-
//
|
|
1615
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
1616
1616
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
1617
1617
|
var Protocol = class {
|
|
1618
1618
|
constructor(_options) {
|
|
@@ -2529,7 +2529,7 @@ var Protocol = class {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
};
|
|
2531
2531
|
|
|
2532
|
-
//
|
|
2532
|
+
// ../../../node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js
|
|
2533
2533
|
var S4 = Object.defineProperty;
|
|
2534
2534
|
var d = (r, v) => {
|
|
2535
2535
|
for (var o in v) S4(r, o, { get: v[o], enumerable: true, configurable: true, set: ($) => v[o] = () => $ });
|