@gala-chain/launchpad-mcp-server 1.22.4 → 1.23.0
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 +118 -0
- package/README.md +83 -8
- package/dist/constants/mcpToolNames.d.ts +69 -11
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +47 -9
- package/dist/constants/mcpToolNames.js.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/prompts/balances.d.ts +24 -0
- package/dist/prompts/balances.d.ts.map +1 -0
- package/dist/prompts/balances.js +191 -0
- package/dist/prompts/balances.js.map +1 -0
- package/dist/prompts/creation-utils.d.ts +20 -0
- package/dist/prompts/creation-utils.d.ts.map +1 -0
- package/dist/prompts/creation-utils.js +115 -0
- package/dist/prompts/creation-utils.js.map +1 -0
- package/dist/prompts/index.d.ts +9 -2
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +23 -2
- package/dist/prompts/index.js.map +1 -1
- package/dist/prompts/pools.d.ts +64 -0
- package/dist/prompts/pools.d.ts.map +1 -0
- package/dist/prompts/pools.js +548 -0
- package/dist/prompts/pools.js.map +1 -0
- package/dist/prompts/social.d.ts +16 -0
- package/dist/prompts/social.d.ts.map +1 -0
- package/dist/prompts/social.js +97 -0
- package/dist/prompts/social.js.map +1 -0
- package/dist/prompts/trading-calculations.d.ts +52 -0
- package/dist/prompts/trading-calculations.d.ts.map +1 -0
- package/dist/prompts/trading-calculations.js +479 -0
- package/dist/prompts/trading-calculations.js.map +1 -0
- package/dist/prompts/transfers.d.ts +16 -0
- package/dist/prompts/transfers.d.ts.map +1 -0
- package/dist/prompts/transfers.js +100 -0
- package/dist/prompts/transfers.js.map +1 -0
- package/dist/prompts/utility-tools.d.ts +56 -0
- package/dist/prompts/utility-tools.d.ts.map +1 -0
- package/dist/prompts/utility-tools.js +338 -0
- package/dist/prompts/utility-tools.js.map +1 -0
- package/docs/AI-AGENT-PATTERNS.md +555 -0
- package/docs/CONSTRAINTS-REFERENCE.md +454 -0
- package/docs/PROMPT-TOOL-MAPPING.md +352 -0
- package/docs/examples/default-values-pattern.md +240 -0
- package/docs/examples/tool-factory-pattern.md +217 -0
- package/jest.config.js +94 -0
- package/package.json +1 -1
- package/src/__tests__/integration/fetchTokenDetails.integration.test.ts +258 -0
- package/src/__tests__/integration/poolTools.integration.test.ts +185 -0
- package/src/__tests__/server.test.ts +256 -0
- package/src/constants/mcpToolNames.ts +181 -0
- package/src/index.ts +19 -0
- package/src/prompts/__tests__/promptStructure.test.ts +137 -0
- package/src/prompts/__tests__/registry.test.ts +359 -0
- package/src/prompts/analysis.ts +429 -0
- package/src/prompts/balances.ts +198 -0
- package/src/prompts/create-token.ts +123 -0
- package/src/prompts/creation-utils.ts +118 -0
- package/src/prompts/dex-trading.ts +86 -0
- package/src/prompts/discover-tokens.ts +86 -0
- package/src/prompts/index.ts +175 -0
- package/src/prompts/liquidity-positions.ts +270 -0
- package/src/prompts/pools.ts +571 -0
- package/src/prompts/portfolio.ts +242 -0
- package/src/prompts/social.ts +100 -0
- package/src/prompts/trading-calculations.ts +499 -0
- package/src/prompts/trading.ts +191 -0
- package/src/prompts/transfers.ts +103 -0
- package/src/prompts/utility-tools.ts +349 -0
- package/src/prompts/utility.ts +92 -0
- package/src/prompts/utils/workflowTemplates.ts +511 -0
- package/src/schemas/common-schemas.ts +393 -0
- package/src/scripts/test-all-prompts.ts +184 -0
- package/src/server.ts +367 -0
- package/src/tools/__tests__/dex-tools.test.ts +562 -0
- package/src/tools/__tests__/liquidity-positions.test.ts +673 -0
- package/src/tools/balance/index.ts +174 -0
- package/src/tools/creation/index.ts +182 -0
- package/src/tools/dex/index.ts +226 -0
- package/src/tools/dex/liquidity-positions.ts +547 -0
- package/src/tools/index.ts +94 -0
- package/src/tools/pools/fetchAllPools.ts +47 -0
- package/src/tools/pools/fetchAllPriceHistory.ts +119 -0
- package/src/tools/pools/fetchPoolDetails.ts +27 -0
- package/src/tools/pools/fetchPoolDetailsForCalculation.ts +22 -0
- package/src/tools/pools/fetchPools.ts +47 -0
- package/src/tools/pools/fetchPriceHistory.ts +124 -0
- package/src/tools/pools/fetchTokenDetails.ts +77 -0
- package/src/tools/pools/index.ts +284 -0
- package/src/tools/social/index.ts +64 -0
- package/src/tools/trading/index.ts +605 -0
- package/src/tools/transfers/index.ts +75 -0
- package/src/tools/utils/clearCache.ts +36 -0
- package/src/tools/utils/createWallet.ts +19 -0
- package/src/tools/utils/explainSdkUsage.ts +1446 -0
- package/src/tools/utils/getAddress.ts +12 -0
- package/src/tools/utils/getCacheInfo.ts +14 -0
- package/src/tools/utils/getConfig.ts +21 -0
- package/src/tools/utils/getEnvironment.ts +17 -0
- package/src/tools/utils/getEthereumAddress.ts +12 -0
- package/src/tools/utils/getUrlByTokenName.ts +12 -0
- package/src/tools/utils/getVersion.ts +25 -0
- package/src/tools/utils/getWallet.ts +25 -0
- package/src/tools/utils/hasWallet.ts +15 -0
- package/src/tools/utils/index.ts +37 -0
- package/src/tools/utils/isTokenGraduated.ts +16 -0
- package/src/tools/utils/setWallet.ts +41 -0
- package/src/tools/utils/switchEnvironment.ts +28 -0
- package/src/types/mcp.ts +72 -0
- package/src/utils/__tests__/validation.test.ts +147 -0
- package/src/utils/constraints.ts +155 -0
- package/src/utils/default-values.ts +208 -0
- package/src/utils/error-handler.ts +69 -0
- package/src/utils/error-templates.ts +273 -0
- package/src/utils/response-formatter.ts +51 -0
- package/src/utils/tool-factory.ts +303 -0
- package/src/utils/tool-registry.ts +296 -0
- package/src/utils/validation.ts +371 -0
- package/tests/wallet-management-integration.test.ts +284 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Balance & Portfolio Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for balance queries and portfolio management
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.balancePrompts = exports.updateProfilePrompt = exports.fetchTokensCreatedPrompt = exports.fetchTokenBalancePrompt = exports.fetchGalaBalancePrompt = void 0;
|
|
9
|
+
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
10
|
+
const validation_js_1 = require("../utils/validation.js");
|
|
11
|
+
/**
|
|
12
|
+
* Fetch GALA Balance - GALA balance query
|
|
13
|
+
*/
|
|
14
|
+
exports.fetchGalaBalancePrompt = {
|
|
15
|
+
name: 'galachain-launchpad:fetch-gala-balance',
|
|
16
|
+
description: 'Get GALA balance for a wallet',
|
|
17
|
+
arguments: [
|
|
18
|
+
{
|
|
19
|
+
name: 'address',
|
|
20
|
+
description: 'Wallet address (optional, defaults to SDK wallet)',
|
|
21
|
+
required: false,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
handler: (args) => {
|
|
25
|
+
if (args.address) {
|
|
26
|
+
(0, validation_js_1.validateAddress)(args.address);
|
|
27
|
+
}
|
|
28
|
+
return [
|
|
29
|
+
{
|
|
30
|
+
role: 'user',
|
|
31
|
+
content: {
|
|
32
|
+
type: 'text',
|
|
33
|
+
text: `Get GALA balance for wallet.
|
|
34
|
+
|
|
35
|
+
${args.address ? `Address: ${args.address}` : 'Using default wallet'}
|
|
36
|
+
|
|
37
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_GALA_BALANCE} to retrieve the GALA balance.
|
|
38
|
+
|
|
39
|
+
Display the balance in a clear format.`,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
];
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Fetch Token Balance - Single token balance (optimized)
|
|
47
|
+
*/
|
|
48
|
+
exports.fetchTokenBalancePrompt = {
|
|
49
|
+
name: 'galachain-launchpad:fetch-token-balance',
|
|
50
|
+
description: 'Get balance for a specific token',
|
|
51
|
+
arguments: [
|
|
52
|
+
{
|
|
53
|
+
name: 'tokenName',
|
|
54
|
+
description: 'Token name (e.g., anime)',
|
|
55
|
+
required: true,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'address',
|
|
59
|
+
description: 'Wallet address',
|
|
60
|
+
required: true,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
handler: (args) => {
|
|
64
|
+
(0, validation_js_1.validateAddress)(args.address);
|
|
65
|
+
return [
|
|
66
|
+
{
|
|
67
|
+
role: 'user',
|
|
68
|
+
content: {
|
|
69
|
+
type: 'text',
|
|
70
|
+
text: `Get balance for specific token.
|
|
71
|
+
|
|
72
|
+
Token: ${args.tokenName}
|
|
73
|
+
Address: ${args.address}
|
|
74
|
+
|
|
75
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_TOKEN_BALANCE} to retrieve the token balance.
|
|
76
|
+
|
|
77
|
+
Display the balance with token details.`,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Fetch Tokens Created - Created tokens query
|
|
85
|
+
*/
|
|
86
|
+
exports.fetchTokensCreatedPrompt = {
|
|
87
|
+
name: 'galachain-launchpad:fetch-tokens-created',
|
|
88
|
+
description: 'Get tokens created by a wallet',
|
|
89
|
+
arguments: [
|
|
90
|
+
{
|
|
91
|
+
name: 'address',
|
|
92
|
+
description: 'Wallet address',
|
|
93
|
+
required: true,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'page',
|
|
97
|
+
description: 'Page number (default: 1)',
|
|
98
|
+
required: false,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'limit',
|
|
102
|
+
description: 'Results per page (default: 20)',
|
|
103
|
+
required: false,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'tokenName',
|
|
107
|
+
description: 'Filter by exact token name (optional)',
|
|
108
|
+
required: false,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'search',
|
|
112
|
+
description: 'Filter by fuzzy search (optional)',
|
|
113
|
+
required: false,
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
handler: (args) => {
|
|
117
|
+
(0, validation_js_1.validateAddress)(args.address);
|
|
118
|
+
return [
|
|
119
|
+
{
|
|
120
|
+
role: 'user',
|
|
121
|
+
content: {
|
|
122
|
+
type: 'text',
|
|
123
|
+
text: `Get tokens created by wallet.
|
|
124
|
+
|
|
125
|
+
Address: ${args.address}
|
|
126
|
+
Page: ${args.page || 1}
|
|
127
|
+
Limit: ${args.limit || 20}
|
|
128
|
+
${args.tokenName ? `Token Name Filter: ${args.tokenName}` : ''}
|
|
129
|
+
${args.search ? `Search Filter: ${args.search}` : ''}
|
|
130
|
+
|
|
131
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_TOKENS_CREATED} to retrieve created tokens.
|
|
132
|
+
|
|
133
|
+
Display the list of tokens created by this wallet.`,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
];
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Update Profile - Profile modification
|
|
141
|
+
*/
|
|
142
|
+
exports.updateProfilePrompt = {
|
|
143
|
+
name: 'galachain-launchpad:update-profile',
|
|
144
|
+
description: 'Update user profile information',
|
|
145
|
+
arguments: [
|
|
146
|
+
{
|
|
147
|
+
name: 'fullName',
|
|
148
|
+
description: 'Full name (letters and spaces only)',
|
|
149
|
+
required: true,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'profileImage',
|
|
153
|
+
description: 'Profile image URL or empty string',
|
|
154
|
+
required: true,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'address',
|
|
158
|
+
description: 'Wallet address (optional)',
|
|
159
|
+
required: false,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
handler: (args) => {
|
|
163
|
+
if (args.address) {
|
|
164
|
+
(0, validation_js_1.validateAddress)(args.address);
|
|
165
|
+
}
|
|
166
|
+
return [
|
|
167
|
+
{
|
|
168
|
+
role: 'user',
|
|
169
|
+
content: {
|
|
170
|
+
type: 'text',
|
|
171
|
+
text: `Update user profile.
|
|
172
|
+
|
|
173
|
+
Full Name: ${args.fullName}
|
|
174
|
+
Profile Image: ${args.profileImage}
|
|
175
|
+
${args.address ? `Address: ${args.address}` : 'Using default wallet'}
|
|
176
|
+
|
|
177
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.UPDATE_PROFILE} to update the profile.
|
|
178
|
+
|
|
179
|
+
Display confirmation of successful update.`,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
];
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
exports.balancePrompts = [
|
|
186
|
+
exports.fetchGalaBalancePrompt,
|
|
187
|
+
exports.fetchTokenBalancePrompt,
|
|
188
|
+
exports.fetchTokensCreatedPrompt,
|
|
189
|
+
exports.updateProfilePrompt,
|
|
190
|
+
];
|
|
191
|
+
//# sourceMappingURL=balances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balances.js","sourceRoot":"","sources":["../../src/prompts/balances.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,kEAAyD;AACzD,0DAAyD;AAEzD;;GAEG;AACU,QAAA,sBAAsB,GAAc;IAC/C,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EAAE,+BAA+B;IAC5C,SAAS,EAAE;QACT;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QAChB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAA,+BAAe,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChC,CAAC;QAED,OAAO;YACL;gBACE,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,I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C,CAAC;QAChC,CAAC;QAED,OAAO;YACL;gBACE,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE;;aAEH,IAAI,CAAC,QAAQ;iBACT,IAAI,CAAC,YAAY;EAChC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,sBAAsB;;MAE9D,2BAAS,CAAC,cAAc;;2CAEa;iBAClC;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC;AAEW,QAAA,cAAc,GAAgB;IACzC,8BAAsB;IACtB,+BAAuB;IACvB,gCAAwB;IACxB,2BAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token Creation Utilities Prompts
|
|
3
|
+
*
|
|
4
|
+
* Slash commands for creation utility operations
|
|
5
|
+
*/
|
|
6
|
+
import type { MCPPrompt } from '../types/mcp.js';
|
|
7
|
+
/**
|
|
8
|
+
* Upload Profile Image - Standalone profile image upload
|
|
9
|
+
*/
|
|
10
|
+
export declare const uploadProfileImagePrompt: MCPPrompt;
|
|
11
|
+
/**
|
|
12
|
+
* Upload Token Image - Token image file upload
|
|
13
|
+
*/
|
|
14
|
+
export declare const uploadTokenImagePrompt: MCPPrompt;
|
|
15
|
+
/**
|
|
16
|
+
* Fetch Launch Token Fee - Current launch fee query
|
|
17
|
+
*/
|
|
18
|
+
export declare const fetchLaunchTokenFeePrompt: MCPPrompt;
|
|
19
|
+
export declare const creationUtilityPrompts: MCPPrompt[];
|
|
20
|
+
//# sourceMappingURL=creation-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creation-utils.d.ts","sourceRoot":"","sources":["../../src/prompts/creation-utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,SAiCtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAqCpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAkBvC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,SAAS,EAI7C,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Token Creation Utilities Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for creation utility operations
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.creationUtilityPrompts = exports.fetchLaunchTokenFeePrompt = exports.uploadTokenImagePrompt = exports.uploadProfileImagePrompt = void 0;
|
|
9
|
+
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
10
|
+
const validation_js_1 = require("../utils/validation.js");
|
|
11
|
+
/**
|
|
12
|
+
* Upload Profile Image - Standalone profile image upload
|
|
13
|
+
*/
|
|
14
|
+
exports.uploadProfileImagePrompt = {
|
|
15
|
+
name: 'galachain-launchpad:upload-profile-image',
|
|
16
|
+
description: 'Upload profile image from filesystem',
|
|
17
|
+
arguments: [
|
|
18
|
+
{
|
|
19
|
+
name: 'imagePath',
|
|
20
|
+
description: 'Absolute file path to image file',
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'address',
|
|
25
|
+
description: 'Wallet address (optional, defaults to SDK wallet)',
|
|
26
|
+
required: false,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
handler: (args) => {
|
|
30
|
+
return [
|
|
31
|
+
{
|
|
32
|
+
role: 'user',
|
|
33
|
+
content: {
|
|
34
|
+
type: 'text',
|
|
35
|
+
text: `Upload profile image.
|
|
36
|
+
|
|
37
|
+
Image Path: ${args.imagePath}
|
|
38
|
+
${args.address ? `Address: ${args.address}` : 'Using default wallet'}
|
|
39
|
+
|
|
40
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.UPLOAD_PROFILE_IMAGE} to upload the image file.
|
|
41
|
+
|
|
42
|
+
Display confirmation and the image URL.`,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Upload Token Image - Token image file upload
|
|
50
|
+
*/
|
|
51
|
+
exports.uploadTokenImagePrompt = {
|
|
52
|
+
name: 'galachain-launchpad:upload-token-image',
|
|
53
|
+
description: 'Upload token image from filesystem (Node.js only)',
|
|
54
|
+
arguments: [
|
|
55
|
+
{
|
|
56
|
+
name: 'tokenName',
|
|
57
|
+
description: 'Token name (e.g., anime, mytoken)',
|
|
58
|
+
required: true,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'imagePath',
|
|
62
|
+
description: 'Absolute file path to image file',
|
|
63
|
+
required: true,
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
handler: (args) => {
|
|
67
|
+
(0, validation_js_1.validateTokenName)(args.tokenName);
|
|
68
|
+
return [
|
|
69
|
+
{
|
|
70
|
+
role: 'user',
|
|
71
|
+
content: {
|
|
72
|
+
type: 'text',
|
|
73
|
+
text: `Upload token image.
|
|
74
|
+
|
|
75
|
+
Token: ${args.tokenName}
|
|
76
|
+
Image Path: ${args.imagePath}
|
|
77
|
+
|
|
78
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.UPLOAD_TOKEN_IMAGE} to upload the token image file.
|
|
79
|
+
|
|
80
|
+
This tool is Node.js only (not available in browser).
|
|
81
|
+
|
|
82
|
+
Display confirmation and the uploaded image URL.`,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Fetch Launch Token Fee - Current launch fee query
|
|
90
|
+
*/
|
|
91
|
+
exports.fetchLaunchTokenFeePrompt = {
|
|
92
|
+
name: 'galachain-launchpad:fetch-launch-token-fee',
|
|
93
|
+
description: 'Get the current GALA fee required to launch a new token',
|
|
94
|
+
handler: () => {
|
|
95
|
+
return [
|
|
96
|
+
{
|
|
97
|
+
role: 'user',
|
|
98
|
+
content: {
|
|
99
|
+
type: 'text',
|
|
100
|
+
text: `Check the current token launch fee.
|
|
101
|
+
|
|
102
|
+
Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_LAUNCH_TOKEN_FEE} to retrieve the current GALA fee.
|
|
103
|
+
|
|
104
|
+
This is a dynamic value that may change. Display the current fee amount.`,
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
];
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
exports.creationUtilityPrompts = [
|
|
111
|
+
exports.uploadProfileImagePrompt,
|
|
112
|
+
exports.uploadTokenImagePrompt,
|
|
113
|
+
exports.fetchLaunchTokenFeePrompt,
|
|
114
|
+
];
|
|
115
|
+
//# sourceMappingURL=creation-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creation-utils.js","sourceRoot":"","sources":["../../src/prompts/creation-utils.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,kEAAyD;AACzD,0DAA2D;AAE3D;;GAEG;AACU,QAAA,wBAAwB,GAAc;IACjD,IAAI,EAAE,0CAA0C;IAChD,WAAW,EAAE,sCAAsC;IACnD,SAAS,EAAE;QACT;YACE,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,IAAI;SACf;QACD;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QAChB,OAAO;YACL;gBACE,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE;oBACP,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE;;cAEF,IAAI,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.ts
CHANGED
|
@@ -11,9 +11,16 @@ import { creationPrompts } from './create-token.js';
|
|
|
11
11
|
import { discoveryPrompts } from './discover-tokens.js';
|
|
12
12
|
import { dexTradingPrompts } from './dex-trading.js';
|
|
13
13
|
import { liquidityPositionPrompts } from './liquidity-positions.js';
|
|
14
|
+
import { poolPrompts } from './pools.js';
|
|
15
|
+
import { tradingCalculationPrompts } from './trading-calculations.js';
|
|
16
|
+
import { balancePrompts } from './balances.js';
|
|
17
|
+
import { creationUtilityPrompts } from './creation-utils.js';
|
|
18
|
+
import { socialPrompts } from './social.js';
|
|
19
|
+
import { transferPrompts } from './transfers.js';
|
|
20
|
+
import { utilityToolPrompts } from './utility-tools.js';
|
|
14
21
|
import type { MCPPrompt } from '../types/mcp.js';
|
|
15
22
|
/**
|
|
16
|
-
* All available prompts
|
|
23
|
+
* All available prompts (72 total)
|
|
17
24
|
*/
|
|
18
25
|
export declare const prompts: MCPPrompt[];
|
|
19
26
|
/**
|
|
@@ -86,5 +93,5 @@ export declare function getPromptCount(): number;
|
|
|
86
93
|
/**
|
|
87
94
|
* Export individual prompt categories for documentation
|
|
88
95
|
*/
|
|
89
|
-
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, liquidityPositionPrompts, utilityPrompts, };
|
|
96
|
+
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, liquidityPositionPrompts, utilityPrompts, poolPrompts, tradingCalculationPrompts, balancePrompts, creationUtilityPrompts, socialPrompts, transferPrompts, utilityToolPrompts, };
|
|
90
97
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAg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jD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,SAAS,EAgB9B,CAAC;AAUF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAE7D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAC1G,SAAS,EAAE,CAqBb;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;GAEG;AACH,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
package/dist/prompts/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Provides user-friendly slash commands for common Launchpad workflows
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.utilityPrompts = exports.liquidityPositionPrompts = exports.dexTradingPrompts = exports.discoveryPrompts = exports.creationPrompts = exports.analysisPrompts = exports.portfolioPrompts = exports.tradingPrompts = exports.prompts = void 0;
|
|
8
|
+
exports.utilityToolPrompts = exports.transferPrompts = exports.socialPrompts = exports.creationUtilityPrompts = exports.balancePrompts = exports.tradingCalculationPrompts = exports.poolPrompts = exports.utilityPrompts = exports.liquidityPositionPrompts = exports.dexTradingPrompts = exports.discoveryPrompts = exports.creationPrompts = exports.analysisPrompts = exports.portfolioPrompts = exports.tradingPrompts = exports.prompts = void 0;
|
|
9
9
|
exports.getPrompt = getPrompt;
|
|
10
10
|
exports.getPromptNames = getPromptNames;
|
|
11
11
|
exports.hasPrompt = hasPrompt;
|
|
@@ -27,8 +27,22 @@ const dex_trading_js_1 = require("./dex-trading.js");
|
|
|
27
27
|
Object.defineProperty(exports, "dexTradingPrompts", { enumerable: true, get: function () { return dex_trading_js_1.dexTradingPrompts; } });
|
|
28
28
|
const liquidity_positions_js_1 = require("./liquidity-positions.js");
|
|
29
29
|
Object.defineProperty(exports, "liquidityPositionPrompts", { enumerable: true, get: function () { return liquidity_positions_js_1.liquidityPositionPrompts; } });
|
|
30
|
+
const pools_js_1 = require("./pools.js");
|
|
31
|
+
Object.defineProperty(exports, "poolPrompts", { enumerable: true, get: function () { return pools_js_1.poolPrompts; } });
|
|
32
|
+
const trading_calculations_js_1 = require("./trading-calculations.js");
|
|
33
|
+
Object.defineProperty(exports, "tradingCalculationPrompts", { enumerable: true, get: function () { return trading_calculations_js_1.tradingCalculationPrompts; } });
|
|
34
|
+
const balances_js_1 = require("./balances.js");
|
|
35
|
+
Object.defineProperty(exports, "balancePrompts", { enumerable: true, get: function () { return balances_js_1.balancePrompts; } });
|
|
36
|
+
const creation_utils_js_1 = require("./creation-utils.js");
|
|
37
|
+
Object.defineProperty(exports, "creationUtilityPrompts", { enumerable: true, get: function () { return creation_utils_js_1.creationUtilityPrompts; } });
|
|
38
|
+
const social_js_1 = require("./social.js");
|
|
39
|
+
Object.defineProperty(exports, "socialPrompts", { enumerable: true, get: function () { return social_js_1.socialPrompts; } });
|
|
40
|
+
const transfers_js_1 = require("./transfers.js");
|
|
41
|
+
Object.defineProperty(exports, "transferPrompts", { enumerable: true, get: function () { return transfers_js_1.transferPrompts; } });
|
|
42
|
+
const utility_tools_js_1 = require("./utility-tools.js");
|
|
43
|
+
Object.defineProperty(exports, "utilityToolPrompts", { enumerable: true, get: function () { return utility_tools_js_1.utilityToolPrompts; } });
|
|
30
44
|
/**
|
|
31
|
-
* All available prompts
|
|
45
|
+
* All available prompts (72 total)
|
|
32
46
|
*/
|
|
33
47
|
exports.prompts = [
|
|
34
48
|
...trading_js_1.tradingPrompts,
|
|
@@ -39,6 +53,13 @@ exports.prompts = [
|
|
|
39
53
|
...dex_trading_js_1.dexTradingPrompts,
|
|
40
54
|
...liquidity_positions_js_1.liquidityPositionPrompts,
|
|
41
55
|
...utility_js_1.utilityPrompts,
|
|
56
|
+
...pools_js_1.poolPrompts,
|
|
57
|
+
...trading_calculations_js_1.tradingCalculationPrompts,
|
|
58
|
+
...balances_js_1.balancePrompts,
|
|
59
|
+
...creation_utils_js_1.creationUtilityPrompts,
|
|
60
|
+
...social_js_1.socialPrompts,
|
|
61
|
+
...transfers_js_1.transferPrompts,
|
|
62
|
+
...utility_tools_js_1.utilityToolPrompts,
|
|
42
63
|
];
|
|
43
64
|
/**
|
|
44
65
|
* Optimized prompt registry using Map for O(1) lookups
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AA8DH,8BAEC;AAaD,wCAEC;AAeD,8BAEC;AAgBD,oDAuBC;AAYD,wCAEC;AAnJD,6CAA8C;AAyJ5C,+FAzJO,2BAAc,OAyJP;AAxJhB,iDAAkD;AAyJhD,iGAzJO,+BAAgB,OAyJP;AAxJlB,+CAAgD;AAyJ9C,gGAzJO,6BAAe,OAyJP;AAxJjB,6CAA8C;AA6J5C,+FA7JO,2BAAc,OA6JP;AA5JhB,uDAAoD;A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,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAY;IACpC,OAAO,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,QAA2G;IAE3G,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB,KAAK,WAAW;YACd,OAAO,+BAAgB,CAAC;QAC1B,KAAK,UAAU;YACb,OAAO,6BAAe,CAAC;QACzB,KAAK,UAAU;YACb,OAAO,iCAAe,CAAC;QACzB,KAAK,WAAW;YACd,OAAO,qCAAgB,CAAC;QAC1B,KAAK,KAAK;YACR,OAAO,kCAAiB,CAAC;QAC3B,KAAK,WAAW;YACd,OAAO,iDAAwB,CAAC;QAClC,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,cAAc;IAC5B,OAAO,SAAS,CAAC,IAAI,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pool Management Prompts
|
|
3
|
+
*
|
|
4
|
+
* Slash commands for pool management, pricing, and token data operations
|
|
5
|
+
*/
|
|
6
|
+
import type { MCPPrompt } from '../types/mcp.js';
|
|
7
|
+
/**
|
|
8
|
+
* Fetch Pools - Paginated pool fetching with filters
|
|
9
|
+
*/
|
|
10
|
+
export declare const fetchPoolsPrompt: MCPPrompt;
|
|
11
|
+
/**
|
|
12
|
+
* Fetch Pool Details for Calculation - Optimized pool details
|
|
13
|
+
*/
|
|
14
|
+
export declare const fetchPoolDetailsForCalculationPrompt: MCPPrompt;
|
|
15
|
+
/**
|
|
16
|
+
* Fetch Token Details - Complete token metadata
|
|
17
|
+
*/
|
|
18
|
+
export declare const fetchTokenDetailsPrompt: MCPPrompt;
|
|
19
|
+
/**
|
|
20
|
+
* Fetch Token Distribution - Holder analysis
|
|
21
|
+
*/
|
|
22
|
+
export declare const fetchTokenDistributionPrompt: MCPPrompt;
|
|
23
|
+
/**
|
|
24
|
+
* Fetch Token Badges - Achievement badges
|
|
25
|
+
*/
|
|
26
|
+
export declare const fetchTokenBadgesPrompt: MCPPrompt;
|
|
27
|
+
/**
|
|
28
|
+
* Fetch Volume Data - OHLCV candlestick data
|
|
29
|
+
*/
|
|
30
|
+
export declare const fetchVolumeDataPrompt: MCPPrompt;
|
|
31
|
+
/**
|
|
32
|
+
* Fetch GALA Spot Price - Current GALA USD price
|
|
33
|
+
*/
|
|
34
|
+
export declare const fetchGalaSpotPricePrompt: MCPPrompt;
|
|
35
|
+
/**
|
|
36
|
+
* Fetch Token Spot Price - Current USD price for any token
|
|
37
|
+
*/
|
|
38
|
+
export declare const fetchTokenSpotPricePrompt: MCPPrompt;
|
|
39
|
+
/**
|
|
40
|
+
* Fetch Price History - Paginated historical prices
|
|
41
|
+
*/
|
|
42
|
+
export declare const fetchPriceHistoryPrompt: MCPPrompt;
|
|
43
|
+
/**
|
|
44
|
+
* Fetch All Price History - Auto-paginated complete history
|
|
45
|
+
*/
|
|
46
|
+
export declare const fetchAllPriceHistoryPrompt: MCPPrompt;
|
|
47
|
+
/**
|
|
48
|
+
* Check Token Name - Name availability check
|
|
49
|
+
*/
|
|
50
|
+
export declare const checkTokenNamePrompt: MCPPrompt;
|
|
51
|
+
/**
|
|
52
|
+
* Check Token Symbol - Symbol availability check
|
|
53
|
+
*/
|
|
54
|
+
export declare const checkTokenSymbolPrompt: MCPPrompt;
|
|
55
|
+
/**
|
|
56
|
+
* Resolve Vault Address - GalaChain vault lookup
|
|
57
|
+
*/
|
|
58
|
+
export declare const resolveVaultAddressPrompt: MCPPrompt;
|
|
59
|
+
/**
|
|
60
|
+
* Resolve Token Class Key - TokenClassKey resolution
|
|
61
|
+
*/
|
|
62
|
+
export declare const resolveTokenClassKeyPrompt: MCPPrompt;
|
|
63
|
+
export declare const poolPrompts: MCPPrompt[];
|
|
64
|
+
//# sourceMappingURL=pools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pools.d.ts","sourceRoot":"","sources":["../../src/prompts/pools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,SA0C9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,SAkClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,SA+BrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,SAiC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAgCpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,SA6CnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,SAkBtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAgCvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAuDrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAuCxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,SA6BlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,SA2BpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,SA6BvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,SA6BxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,SAAS,EAelC,CAAC"}
|