@suigar/mcp 0.1.0 → 0.1.1
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/CHANGELOG.md +19 -0
- package/dist/bin.cjs +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/index.cjs +43 -50
- package/dist/index.d.cts +818 -8
- package/dist/index.d.mts +818 -8
- package/dist/index.mjs +1 -8
- package/{node_modules/@suigar/sui-rpc-pool/dist/index.cjs → dist/server-BD-123-u.mjs} +2084 -671
- package/{node_modules/@suigar/sui-rpc-pool/dist/index.mjs → dist/server-Cmo8UaHE.cjs} +2341 -645
- package/dist/server.cjs +3 -432
- package/dist/server.mjs +1 -430
- package/package.json +75 -61
- package/dist/client.cjs +0 -46
- package/dist/client.d.cts +0 -17
- package/dist/client.d.mts +0 -17
- package/dist/client.mjs +0 -43
- package/dist/coin.cjs +0 -86
- package/dist/coin.d.cts +0 -35
- package/dist/coin.d.mts +0 -35
- package/dist/coin.mjs +0 -86
- package/dist/config.cjs +0 -183
- package/dist/config.d.cts +0 -15
- package/dist/config.d.mts +0 -15
- package/dist/config.mjs +0 -174
- package/dist/mcp-support.cjs +0 -62
- package/dist/mcp-support.d.cts +0 -16
- package/dist/mcp-support.d.mts +0 -16
- package/dist/mcp-support.mjs +0 -60
- package/dist/metadata.cjs +0 -51
- package/dist/metadata.d.cts +0 -52
- package/dist/metadata.d.mts +0 -52
- package/dist/metadata.mjs +0 -47
- package/dist/tools.cjs +0 -617
- package/dist/tools.d.cts +0 -158
- package/dist/tools.d.mts +0 -158
- package/dist/tools.mjs +0 -608
- package/dist/transactions.cjs +0 -294
- package/dist/transactions.d.cts +0 -40
- package/dist/transactions.d.mts +0 -40
- package/dist/transactions.mjs +0 -286
- package/dist/types.d.cts +0 -111
- package/dist/types.d.mts +0 -111
- package/node_modules/@suigar/currency-registry/dist/index.cjs +0 -121
- package/node_modules/@suigar/currency-registry/dist/index.d.cts +0 -50
- package/node_modules/@suigar/currency-registry/dist/index.d.mts +0 -50
- package/node_modules/@suigar/currency-registry/dist/index.mjs +0 -110
- package/node_modules/@suigar/currency-registry/package.json +0 -31
- package/node_modules/@suigar/game-registry/dist/index.cjs +0 -310
- package/node_modules/@suigar/game-registry/dist/index.d.cts +0 -65
- package/node_modules/@suigar/game-registry/dist/index.d.mts +0 -65
- package/node_modules/@suigar/game-registry/dist/index.mjs +0 -292
- package/node_modules/@suigar/game-registry/package.json +0 -31
- package/node_modules/@suigar/sui-rpc-pool/dist/index.d.cts +0 -465
- package/node_modules/@suigar/sui-rpc-pool/dist/index.d.mts +0 -465
- package/node_modules/@suigar/sui-rpc-pool/package.json +0 -31
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @suigar/mcp
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f9d219c: Bump `@suigar/mcp` to `0.1.1` and refresh package metadata for the current SDK dependency set.
|
|
8
|
+
- 4d21957: Replace pack-time dependency staging scripts with `tsdown` dependency bundling, so private Suigar workspace packages are compiled into the MCP output instead of being copied into the published tarball.
|
|
9
|
+
- 135e404: Broaden the MCP bundle rule to include future `@suigar/*` workspace packages while keeping `@suigar/sdk` external as the published runtime SDK dependency.
|
|
10
|
+
|
|
11
|
+
## 0.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- dca5598: Initial release of `@suigar/mcp`, a lightweight MCP server and library for Suigar game tooling.
|
|
16
|
+
- Add config and metadata read helpers backed by released `@suigar/sdk` defaults.
|
|
17
|
+
- Add MCP tools for building and dry-running on-chain transactions for coinflip, limbo, plinko, range, wheel, and PvP coinflip.
|
|
18
|
+
- Add shared MCP support metadata so clients can distinguish on-chain games from unsupported backend-driven games such as slots.
|
|
19
|
+
- Add transaction serialization helpers, read-only Sui client setup, stdio server entrypoint, tests, and README usage guidance.
|
package/dist/bin.cjs
CHANGED
package/dist/bin.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,53 +1,46 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.buildPvpCoinflipJoinTransaction = require_transactions.buildPvpCoinflipJoinTransaction;
|
|
26
|
-
exports.buildPvpCoinflipJoinTransactionTool = require_tools.buildPvpCoinflipJoinTransactionTool;
|
|
27
|
-
exports.buildRangeTransaction = require_transactions.buildRangeTransaction;
|
|
28
|
-
exports.buildRangeTransactionTool = require_tools.buildRangeTransactionTool;
|
|
29
|
-
exports.buildWheelTransaction = require_transactions.buildWheelTransaction;
|
|
30
|
-
exports.buildWheelTransactionTool = require_tools.buildWheelTransactionTool;
|
|
31
|
-
exports.createReadOnlyClientBundle = require_client.createReadOnlyClientBundle;
|
|
2
|
+
const require_server = require("./server-Cmo8UaHE.cjs");
|
|
3
|
+
exports.SUPPORTED_MCP_TOOL_NAMES = require_server.SUPPORTED_MCP_TOOL_NAMES;
|
|
4
|
+
exports.assertRequiredConfig = require_server.assertRequiredConfig;
|
|
5
|
+
exports.buildCoinflipTransaction = require_server.buildCoinflipTransaction;
|
|
6
|
+
exports.buildCoinflipTransactionTool = require_server.buildCoinflipTransactionTool;
|
|
7
|
+
exports.buildGraphqlUrl = require_server.buildGraphqlUrl;
|
|
8
|
+
exports.buildLimboTransaction = require_server.buildLimboTransaction;
|
|
9
|
+
exports.buildLimboTransactionTool = require_server.buildLimboTransactionTool;
|
|
10
|
+
exports.buildMcpSupportCatalog = require_server.buildMcpSupportCatalog;
|
|
11
|
+
exports.buildPlinkoTransaction = require_server.buildPlinkoTransaction;
|
|
12
|
+
exports.buildPlinkoTransactionTool = require_server.buildPlinkoTransactionTool;
|
|
13
|
+
exports.buildProviderUrl = require_server.buildProviderUrl;
|
|
14
|
+
exports.buildPvpCoinflipCancelTransaction = require_server.buildPvpCoinflipCancelTransaction;
|
|
15
|
+
exports.buildPvpCoinflipCancelTransactionTool = require_server.buildPvpCoinflipCancelTransactionTool;
|
|
16
|
+
exports.buildPvpCoinflipCreateTransaction = require_server.buildPvpCoinflipCreateTransaction;
|
|
17
|
+
exports.buildPvpCoinflipCreateTransactionTool = require_server.buildPvpCoinflipCreateTransactionTool;
|
|
18
|
+
exports.buildPvpCoinflipJoinTransaction = require_server.buildPvpCoinflipJoinTransaction;
|
|
19
|
+
exports.buildPvpCoinflipJoinTransactionTool = require_server.buildPvpCoinflipJoinTransactionTool;
|
|
20
|
+
exports.buildRangeTransaction = require_server.buildRangeTransaction;
|
|
21
|
+
exports.buildRangeTransactionTool = require_server.buildRangeTransactionTool;
|
|
22
|
+
exports.buildWheelTransaction = require_server.buildWheelTransaction;
|
|
23
|
+
exports.buildWheelTransactionTool = require_server.buildWheelTransactionTool;
|
|
24
|
+
exports.createReadOnlyClientBundle = require_server.createReadOnlyClientBundle;
|
|
32
25
|
exports.createSuigarMcpServer = require_server.createSuigarMcpServer;
|
|
33
|
-
exports.dryRunTransaction =
|
|
34
|
-
exports.getCurrencyInfo =
|
|
35
|
-
exports.getGameMetadata =
|
|
36
|
-
exports.getMcpSupportForGame =
|
|
37
|
-
exports.getRequiredConfigKeysForGame =
|
|
38
|
-
exports.inspectResolvedConfig =
|
|
39
|
-
exports.listConfiguredCurrencies =
|
|
40
|
-
exports.listSupportedGames =
|
|
41
|
-
exports.parseApiUrl =
|
|
42
|
-
exports.readConfigMetadata =
|
|
43
|
-
exports.readConfigTool =
|
|
44
|
-
exports.readGameMetadataTool =
|
|
45
|
-
exports.resolveBetCoin =
|
|
46
|
-
exports.resolveGamePackageId =
|
|
47
|
-
exports.resolveGameSettingsId =
|
|
48
|
-
exports.resolvePythPriceInfoId =
|
|
49
|
-
exports.resolveSuigarConfig =
|
|
50
|
-
exports.sanitizeForJson =
|
|
51
|
-
exports.serializeTransactionToBase64 =
|
|
26
|
+
exports.dryRunTransaction = require_server.dryRunTransaction;
|
|
27
|
+
exports.getCurrencyInfo = require_server.getCurrencyInfo;
|
|
28
|
+
exports.getGameMetadata = require_server.getGameMetadata;
|
|
29
|
+
exports.getMcpSupportForGame = require_server.getMcpSupportForGame;
|
|
30
|
+
exports.getRequiredConfigKeysForGame = require_server.getRequiredConfigKeysForGame;
|
|
31
|
+
exports.inspectResolvedConfig = require_server.inspectResolvedConfig;
|
|
32
|
+
exports.listConfiguredCurrencies = require_server.listConfiguredCurrencies;
|
|
33
|
+
exports.listSupportedGames = require_server.listSupportedGames;
|
|
34
|
+
exports.parseApiUrl = require_server.parseApiUrl;
|
|
35
|
+
exports.readConfigMetadata = require_server.readConfigMetadata;
|
|
36
|
+
exports.readConfigTool = require_server.readConfigTool;
|
|
37
|
+
exports.readGameMetadataTool = require_server.readGameMetadataTool;
|
|
38
|
+
exports.resolveBetCoin = require_server.resolveBetCoin;
|
|
39
|
+
exports.resolveGamePackageId = require_server.resolveGamePackageId;
|
|
40
|
+
exports.resolveGameSettingsId = require_server.resolveGameSettingsId;
|
|
41
|
+
exports.resolvePythPriceInfoId = require_server.resolvePythPriceInfoId;
|
|
42
|
+
exports.resolveSuigarConfig = require_server.resolveSuigarConfig;
|
|
43
|
+
exports.sanitizeForJson = require_server.sanitizeForJson;
|
|
44
|
+
exports.serializeTransactionToBase64 = require_server.serializeTransactionToBase64;
|
|
52
45
|
exports.startSuigarMcpServer = require_server.startSuigarMcpServer;
|
|
53
|
-
exports.summarizeTransaction =
|
|
46
|
+
exports.summarizeTransaction = require_server.summarizeTransaction;
|