@0xinsider/mcp 2.0.1 → 2.1.3
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/README.md +27 -7
- package/dist/catalog.generated.d.ts +4 -0
- package/dist/catalog.generated.d.ts.map +1 -1
- package/dist/catalog.generated.js +5 -0
- package/dist/catalog.generated.js.map +1 -1
- package/dist/cli-lib.d.ts +1 -0
- package/dist/cli-lib.d.ts.map +1 -1
- package/dist/cli-lib.js +48 -8
- package/dist/cli-lib.js.map +1 -1
- package/dist/client.d.ts +36 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +42 -4
- package/dist/client.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/product-cli/client.d.ts +3 -2
- package/dist/product-cli/client.d.ts.map +1 -1
- package/dist/product-cli/client.js.map +1 -1
- package/dist/sdk/client.d.ts +705 -131
- package/dist/sdk/client.d.ts.map +1 -1
- package/dist/sdk/client.js +719 -125
- package/dist/sdk/client.js.map +1 -1
- package/dist/sdk/errors.d.ts +42 -4
- package/dist/sdk/errors.d.ts.map +1 -1
- package/dist/sdk/errors.js +103 -2
- package/dist/sdk/errors.js.map +1 -1
- package/dist/sdk/index.d.ts +9 -8
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +6 -4
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/pagination.d.ts +133 -15
- package/dist/sdk/pagination.d.ts.map +1 -1
- package/dist/sdk/pagination.js +132 -34
- package/dist/sdk/pagination.js.map +1 -1
- package/dist/sdk/retry.d.ts +68 -0
- package/dist/sdk/retry.d.ts.map +1 -0
- package/dist/sdk/retry.js +125 -0
- package/dist/sdk/retry.js.map +1 -0
- package/dist/sdk/schema.d.ts +1536 -430
- package/dist/sdk/schema.d.ts.map +1 -1
- package/dist/sdk/stream.d.ts +318 -8
- package/dist/sdk/stream.d.ts.map +1 -1
- package/dist/sdk/stream.js +503 -56
- package/dist/sdk/stream.js.map +1 -1
- package/dist/sdk/webhooks.d.ts +18 -3
- package/dist/sdk/webhooks.d.ts.map +1 -1
- package/dist/sdk/webhooks.js +13 -1
- package/dist/sdk/webhooks.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/dist/tools/explore-markets.d.ts.map +1 -1
- package/dist/tools/explore-markets.js +2 -5
- package/dist/tools/explore-markets.js.map +1 -1
- package/dist/tools/get-insider-radar.d.ts.map +1 -1
- package/dist/tools/get-insider-radar.js +3 -10
- package/dist/tools/get-insider-radar.js.map +1 -1
- package/dist/tools/get-large-positions.d.ts.map +1 -1
- package/dist/tools/get-large-positions.js +3 -10
- package/dist/tools/get-large-positions.js.map +1 -1
- package/dist/tools/get-leaderboard.d.ts.map +1 -1
- package/dist/tools/get-leaderboard.js +3 -10
- package/dist/tools/get-leaderboard.js.map +1 -1
- package/dist/tools/get-market-intel.d.ts.map +1 -1
- package/dist/tools/get-market-intel.js +3 -6
- package/dist/tools/get-market-intel.js.map +1 -1
- package/dist/tools/get-position-timeline.d.ts.map +1 -1
- package/dist/tools/get-position-timeline.js +3 -10
- package/dist/tools/get-position-timeline.js.map +1 -1
- package/dist/tools/get-positions.d.ts +2 -0
- package/dist/tools/get-positions.d.ts.map +1 -1
- package/dist/tools/get-positions.js +8 -11
- package/dist/tools/get-positions.js.map +1 -1
- package/dist/tools/get-trader-pnl.d.ts.map +1 -1
- package/dist/tools/get-trader-pnl.js +3 -6
- package/dist/tools/get-trader-pnl.js.map +1 -1
- package/dist/tools/get-trader.d.ts.map +1 -1
- package/dist/tools/get-trader.js +3 -6
- package/dist/tools/get-trader.js.map +1 -1
- package/dist/tools/get-trending-wallets.d.ts.map +1 -1
- package/dist/tools/get-trending-wallets.js +3 -10
- package/dist/tools/get-trending-wallets.js.map +1 -1
- package/dist/tools/get-whale-trades.d.ts.map +1 -1
- package/dist/tools/get-whale-trades.js +4 -11
- package/dist/tools/get-whale-trades.js.map +1 -1
- package/dist/tools/pick-of-the-day.d.ts.map +1 -1
- package/dist/tools/pick-of-the-day.js +5 -21
- package/dist/tools/pick-of-the-day.js.map +1 -1
- package/dist/tools/read-parity.d.ts +1 -0
- package/dist/tools/read-parity.d.ts.map +1 -1
- package/dist/tools/read-parity.js +69 -44
- package/dist/tools/read-parity.js.map +1 -1
- package/dist/tools/result.d.ts +31 -0
- package/dist/tools/result.d.ts.map +1 -0
- package/dist/tools/result.js +70 -0
- package/dist/tools/result.js.map +1 -0
- package/dist/tools/search-markets.d.ts.map +1 -1
- package/dist/tools/search-markets.js +16 -11
- package/dist/tools/search-markets.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type ToolResult = {
|
|
2
|
+
isError?: true;
|
|
3
|
+
content: [{
|
|
4
|
+
type: "text";
|
|
5
|
+
text: string;
|
|
6
|
+
}];
|
|
7
|
+
structuredContent?: Record<string, unknown>;
|
|
8
|
+
};
|
|
9
|
+
type ListEnvelope = {
|
|
10
|
+
data: unknown;
|
|
11
|
+
has_more?: boolean;
|
|
12
|
+
next_cursor?: string | null;
|
|
13
|
+
total?: number | null;
|
|
14
|
+
facets?: unknown;
|
|
15
|
+
meta?: unknown;
|
|
16
|
+
};
|
|
17
|
+
/** A success result: the value as pretty JSON text. */
|
|
18
|
+
export declare function ok(value: unknown): ToolResult;
|
|
19
|
+
/**
|
|
20
|
+
* A `data` object with the envelope's `meta` beside its own keys. Every V1
|
|
21
|
+
* `data` object is a map with no `meta` key of its own (audited 2026-09-22),
|
|
22
|
+
* so this is additive; a payload that is not an object cannot take a key and
|
|
23
|
+
* is wrapped as `{ data, meta }`, which no route needs today.
|
|
24
|
+
*/
|
|
25
|
+
export declare function withMeta(data: unknown, meta: unknown): unknown;
|
|
26
|
+
/** A list page: `data`, the cursor pair, and every page-level field the route sent. */
|
|
27
|
+
export declare function listResult(response: ListEnvelope): Record<string, unknown>;
|
|
28
|
+
/** A failure result: the text, and the same failure as fields for an `ApiError`. */
|
|
29
|
+
export declare function fail(error: unknown): ToolResult;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../src/tools/result.ts"],"names":[],"mappings":"AAmBA,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,EAAE,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7C,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,uDAAuD;AACvD,wBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAI7C;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAQ9D;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAU1E;AAED,oFAAoF;AACpF,wBAAgB,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAY/C"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Shared tool-result shapes for the stdio server (#16227), mirroring what the
|
|
2
|
+
// remote endpoint's `backend/src/mcp/tools/response.rs` and `error.rs` produce,
|
|
3
|
+
// so a client that reads either transport sees the same fields.
|
|
4
|
+
//
|
|
5
|
+
// Every success carries the REST envelope's `meta` verbatim: `request_id`,
|
|
6
|
+
// `cached`, `cache_age_s`, `cost`, and whatever provenance the route adds
|
|
7
|
+
// (`source` and `completeness` on the historical whale trades,
|
|
8
|
+
// `ranking_source`, `directional_source` and the `category_skill_*` fields on
|
|
9
|
+
// the ranked sports signals). It is copied, never built: a route that sends
|
|
10
|
+
// none leaves the result without one, and nothing here invents a complete or
|
|
11
|
+
// fresh default.
|
|
12
|
+
//
|
|
13
|
+
// Every failure keeps the text a model reads and adds the same failure as
|
|
14
|
+
// fields under `structuredContent.error`: the REST `code`, `reason`, `param`,
|
|
15
|
+
// `doc_url` and `retry_at` verbatim, the `Retry-After` seconds, the request
|
|
16
|
+
// id and the HTTP status.
|
|
17
|
+
import { ApiError } from "../client.js";
|
|
18
|
+
/** A success result: the value as pretty JSON text. */
|
|
19
|
+
export function ok(value) {
|
|
20
|
+
return {
|
|
21
|
+
content: [{ type: "text", text: JSON.stringify(value, null, 2) }],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A `data` object with the envelope's `meta` beside its own keys. Every V1
|
|
26
|
+
* `data` object is a map with no `meta` key of its own (audited 2026-09-22),
|
|
27
|
+
* so this is additive; a payload that is not an object cannot take a key and
|
|
28
|
+
* is wrapped as `{ data, meta }`, which no route needs today.
|
|
29
|
+
*/
|
|
30
|
+
export function withMeta(data, meta) {
|
|
31
|
+
if (meta === undefined)
|
|
32
|
+
return data;
|
|
33
|
+
if (typeof data === "object" && data !== null && !Array.isArray(data)) {
|
|
34
|
+
const fields = data;
|
|
35
|
+
if ("meta" in fields)
|
|
36
|
+
return data;
|
|
37
|
+
return { ...fields, meta };
|
|
38
|
+
}
|
|
39
|
+
return { data, meta };
|
|
40
|
+
}
|
|
41
|
+
/** A list page: `data`, the cursor pair, and every page-level field the route sent. */
|
|
42
|
+
export function listResult(response) {
|
|
43
|
+
const result = {
|
|
44
|
+
data: response.data,
|
|
45
|
+
has_more: response.has_more,
|
|
46
|
+
next_cursor: response.next_cursor,
|
|
47
|
+
};
|
|
48
|
+
if (response.total !== undefined)
|
|
49
|
+
result.total = response.total;
|
|
50
|
+
if (response.facets !== undefined)
|
|
51
|
+
result.facets = response.facets;
|
|
52
|
+
if (response.meta !== undefined)
|
|
53
|
+
result.meta = response.meta;
|
|
54
|
+
return result;
|
|
55
|
+
}
|
|
56
|
+
/** A failure result: the text, and the same failure as fields for an `ApiError`. */
|
|
57
|
+
export function fail(error) {
|
|
58
|
+
if (error instanceof ApiError) {
|
|
59
|
+
return {
|
|
60
|
+
isError: true,
|
|
61
|
+
content: [{ type: "text", text: error.message }],
|
|
62
|
+
structuredContent: { error: error.detail },
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
isError: true,
|
|
67
|
+
content: [{ type: "text", text: `Unexpected error: ${String(error)}` }],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.js","sourceRoot":"","sources":["../../src/tools/result.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,gFAAgF;AAChF,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,0EAA0E;AAC1E,+DAA+D;AAC/D,8EAA8E;AAC9E,4EAA4E;AAC5E,6EAA6E;AAC7E,iBAAiB;AACjB,EAAE;AACF,0EAA0E;AAC1E,8EAA8E;AAC9E,4EAA4E;AAC5E,0BAA0B;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAiBxC,uDAAuD;AACvD,MAAM,UAAU,EAAE,CAAC,KAAc;IAC/B,OAAO;QACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;KAClE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAa,EAAE,IAAa;IACnD,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACpC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QACtE,MAAM,MAAM,GAAG,IAA+B,CAAC;QAC/C,IAAI,MAAM,IAAI,MAAM;YAAE,OAAO,IAAI,CAAC;QAClC,OAAO,EAAE,GAAG,MAAM,EAAE,IAAI,EAAE,CAAC;IAC7B,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACxB,CAAC;AAED,uFAAuF;AACvF,MAAM,UAAU,UAAU,CAAC,QAAsB;IAC/C,MAAM,MAAM,GAA4B;QACtC,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,WAAW,EAAE,QAAQ,CAAC,WAAW;KAClC,CAAC;IACF,IAAI,QAAQ,CAAC,KAAK,KAAK,SAAS;QAAE,MAAM,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;IAChE,IAAI,QAAQ,CAAC,MAAM,KAAK,SAAS;QAAE,MAAM,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;IACnE,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS;QAAE,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;IAC7D,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,IAAI,CAAC,KAAc;IACjC,IAAI,KAAK,YAAY,QAAQ,EAAE,CAAC;QAC9B,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;YAChD,iBAAiB,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;SAC3C,CAAC;IACJ,CAAC;IACD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;KACxE,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-markets.d.ts","sourceRoot":"","sources":["../../src/tools/search-markets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"search-markets.d.ts","sourceRoot":"","sources":["../../src/tools/search-markets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,CAyDhF"}
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
2
|
+
import { fail, listResult } from "./result.js";
|
|
3
3
|
export function registerSearchMarkets(server, client) {
|
|
4
4
|
server.registerTool("search_markets", {
|
|
5
5
|
title: "Search Markets",
|
|
6
|
-
description: `Search prediction markets by keyword. Returns matching markets with status, category, and platform. Use this to find condition_id values needed by get_market_intel.
|
|
6
|
+
description: `Search prediction markets by keyword. Returns matching markets with status, category, and platform. Use this to find condition_id values needed by get_market_intel. Supports cursor pagination: pass next_cursor from the previous page with the same q, status and category to read the next page; stop when has_more is false.
|
|
7
7
|
|
|
8
8
|
Args:
|
|
9
9
|
- q (string, required): Search query
|
|
10
|
-
- limit (number, 1-100, default 20): Max results
|
|
10
|
+
- limit (number, 1-100, default 20): Max results per page
|
|
11
|
+
- cursor (string, optional): Pagination cursor from the previous response's next_cursor
|
|
11
12
|
- status (string, optional): Filter by status: "active", "closed", or "all" (default "all")
|
|
12
13
|
- category (string, optional): Filter by category
|
|
13
14
|
|
|
14
|
-
Returns:
|
|
15
|
+
Returns: data (matching markets with id, condition_id, title, slug, category, platform, status), has_more, next_cursor.`,
|
|
15
16
|
inputSchema: {
|
|
16
17
|
q: z.string().min(1)
|
|
17
18
|
.describe("Search query"),
|
|
18
19
|
limit: z.number().int().min(1).max(100).default(20)
|
|
19
|
-
.describe("Max results (1-100, default 20)"),
|
|
20
|
+
.describe("Max results per page (1-100, default 20)"),
|
|
21
|
+
cursor: z.string().optional()
|
|
22
|
+
.describe("Pagination cursor from the previous response's next_cursor; send it with the same q, status and category"),
|
|
20
23
|
status: z.enum(["active", "closed", "all"]).default("all")
|
|
21
24
|
.describe("Filter by market status"),
|
|
22
25
|
category: z.string().optional()
|
|
@@ -28,23 +31,25 @@ Returns: List of matching markets with id, condition_id, title, slug, category,
|
|
|
28
31
|
idempotentHint: true,
|
|
29
32
|
openWorldHint: false,
|
|
30
33
|
},
|
|
31
|
-
}, async ({ q, limit, status, category }) => {
|
|
34
|
+
}, async ({ q, limit, cursor, status, category }) => {
|
|
32
35
|
try {
|
|
33
36
|
const response = await client.request("/api/v1/markets/search", {
|
|
34
37
|
q,
|
|
35
38
|
limit,
|
|
39
|
+
cursor,
|
|
36
40
|
status,
|
|
37
41
|
category,
|
|
38
42
|
});
|
|
43
|
+
// The page object every other list tool returns (#16226). Until
|
|
44
|
+
// 2.1.2 this tool answered the bare `data` array, which dropped
|
|
45
|
+
// `has_more` and `next_cursor`, so a search could never be paged.
|
|
46
|
+
const result = listResult(response);
|
|
39
47
|
return {
|
|
40
|
-
content: [{ type: "text", text: JSON.stringify(
|
|
48
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
41
49
|
};
|
|
42
50
|
}
|
|
43
51
|
catch (error) {
|
|
44
|
-
return
|
|
45
|
-
isError: true,
|
|
46
|
-
content: [{ type: "text", text: error instanceof ApiError ? error.message : `Unexpected error: ${error}` }],
|
|
47
|
-
};
|
|
52
|
+
return fail(error);
|
|
48
53
|
}
|
|
49
54
|
});
|
|
50
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-markets.js","sourceRoot":"","sources":["../../src/tools/search-markets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"search-markets.js","sourceRoot":"","sources":["../../src/tools/search-markets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,UAAU,qBAAqB,CAAC,MAAiB,EAAE,MAAiB;IACxE,MAAM,CAAC,YAAY,CACjB,gBAAgB,EAChB;QACE,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE;;;;;;;;;wHASqG;QAClH,WAAW,EAAE;YACX,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;iBACjB,QAAQ,CAAC,cAAc,CAAC;YAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;iBAChD,QAAQ,CAAC,0CAA0C,CAAC;YACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC1B,QAAQ,CAAC,0GAA0G,CAAC;YACvH,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;iBACvD,QAAQ,CAAC,yBAAyB,CAAC;YACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,QAAQ,CAAC,oBAAoB,CAAC;SAClC;QACD,WAAW,EAAE;YACX,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,KAAK;YACtB,cAAc,EAAE,IAAI;YACpB,aAAa,EAAE,KAAK;SACrB;KACF,EACD,KAAK,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;QAC/C,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,wBAAwB,EAAE;gBAC9D,CAAC;gBACD,KAAK;gBACL,MAAM;gBACN,MAAM;gBACN,QAAQ;aACT,CAAC,CAAC;YAEH,gEAAgE;YAChE,gEAAgE;YAChE,kEAAkE;YAClE,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;YAEpC,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;aAC5E,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xinsider/mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"mcpName": "io.github.0xinsider/mcp",
|
|
5
5
|
"description": "Official 0xinsider CLI and MCP server: advanced tools for sports and esports markets, powered by Polymarket",
|
|
6
6
|
"type": "module",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
61
|
-
"zod": "^4.5
|
|
61
|
+
"zod": "^4.6.5"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@types/node": "^26.
|
|
64
|
+
"@types/node": "^26.6.2",
|
|
65
65
|
"semver": "^7.8.5",
|
|
66
|
-
"tsx": "^4.23.
|
|
66
|
+
"tsx": "^4.23.15",
|
|
67
67
|
"typescript": "^7.0.2"
|
|
68
68
|
},
|
|
69
69
|
"imports": {
|