@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/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
2
2
|
import * as z3rt from "zod/v3";
|
|
3
3
|
import * as z4mini from "zod/v4-mini";
|
|
4
4
|
function isZ4Schema(s2) {
|
|
@@ -63,7 +63,7 @@ function getLiteralValue(schema) {
|
|
|
63
63
|
return void 0;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
//
|
|
66
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
67
67
|
import * as z from "zod/v4";
|
|
68
68
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
69
69
|
var JSONRPC_VERSION = "2.0";
|
|
@@ -1568,27 +1568,27 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
1570
|
|
|
1571
|
-
//
|
|
1571
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
1572
1572
|
function isTerminal(status) {
|
|
1573
1573
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
//
|
|
1576
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
1577
1577
|
import * as z4mini2 from "zod/v4-mini";
|
|
1578
1578
|
|
|
1579
|
-
//
|
|
1579
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
1580
1580
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind3 } from "zod/v3";
|
|
1581
1581
|
|
|
1582
|
-
//
|
|
1582
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
1583
1583
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
1584
1584
|
|
|
1585
|
-
//
|
|
1585
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
1586
1586
|
import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind2 } from "zod/v3";
|
|
1587
1587
|
|
|
1588
|
-
//
|
|
1588
|
+
// ../../../node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
1589
1589
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
1590
1590
|
|
|
1591
|
-
//
|
|
1591
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
1592
1592
|
function getMethodLiteral(schema) {
|
|
1593
1593
|
const shape = getObjectShape(schema);
|
|
1594
1594
|
const methodSchema = shape?.method;
|
|
@@ -1609,7 +1609,7 @@ function parseWithCompat(schema, data) {
|
|
|
1609
1609
|
return result.data;
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
//
|
|
1612
|
+
// ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
1613
1613
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
1614
1614
|
var Protocol = class {
|
|
1615
1615
|
constructor(_options) {
|
|
@@ -2526,7 +2526,7 @@ var Protocol = class {
|
|
|
2526
2526
|
}
|
|
2527
2527
|
};
|
|
2528
2528
|
|
|
2529
|
-
//
|
|
2529
|
+
// ../../../node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js
|
|
2530
2530
|
var S4 = Object.defineProperty;
|
|
2531
2531
|
var d = (r, v) => {
|
|
2532
2532
|
for (var o in v) S4(r, o, { get: v[o], enumerable: true, configurable: true, set: ($) => v[o] = () => $ });
|