@gala-chain/launchpad-mcp-server 5.0.5-beta.0 → 5.0.5-beta.9
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/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/prompts/advanced-pools.d.ts +1 -7
- package/dist/prompts/advanced-pools.d.ts.map +1 -1
- package/dist/prompts/advanced-pools.js +4 -79
- package/dist/prompts/advanced-pools.js.map +1 -1
- package/dist/prompts/analysis.d.ts +0 -4
- package/dist/prompts/analysis.d.ts.map +1 -1
- package/dist/prompts/analysis.js +2 -67
- package/dist/prompts/analysis.js.map +1 -1
- package/dist/prompts/balances.js.map +1 -1
- package/dist/prompts/bridge.d.ts +0 -8
- package/dist/prompts/bridge.d.ts.map +1 -1
- package/dist/prompts/bridge.js +3 -54
- package/dist/prompts/bridge.js.map +1 -1
- package/dist/prompts/comments.js.map +1 -1
- package/dist/prompts/factories/filtered-list-prompt-factory.js.map +1 -1
- package/dist/prompts/factories/invite-management-factory.js +2 -2
- package/dist/prompts/factories/invite-management-factory.js.map +1 -1
- package/dist/prompts/liquidity-positions.d.ts +0 -12
- package/dist/prompts/liquidity-positions.d.ts.map +1 -1
- package/dist/prompts/liquidity-positions.js +2 -98
- package/dist/prompts/liquidity-positions.js.map +1 -1
- package/dist/prompts/manifest.d.ts +33 -0
- package/dist/prompts/manifest.d.ts.map +1 -0
- package/dist/prompts/manifest.js +2062 -0
- package/dist/prompts/manifest.js.map +1 -0
- package/dist/prompts/overseers.d.ts.map +1 -1
- package/dist/prompts/overseers.js +17 -2
- package/dist/prompts/overseers.js.map +1 -1
- package/dist/prompts/pools.d.ts +0 -20
- package/dist/prompts/pools.d.ts.map +1 -1
- package/dist/prompts/pools.js +4 -162
- package/dist/prompts/pools.js.map +1 -1
- package/dist/prompts/referrals.js.map +1 -1
- package/dist/prompts/trading.d.ts +0 -8
- package/dist/prompts/trading.d.ts.map +1 -1
- package/dist/prompts/trading.js +3 -51
- package/dist/prompts/trading.js.map +1 -1
- package/dist/prompts/utility-tools.js.map +1 -1
- package/dist/prompts/utils/pagination-helpers.d.ts +10 -24
- package/dist/prompts/utils/pagination-helpers.d.ts.map +1 -1
- package/dist/prompts/utils/pagination-helpers.js +11 -32
- package/dist/prompts/utils/pagination-helpers.js.map +1 -1
- package/dist/prompts/utils/workflowTemplates.d.ts.map +1 -1
- package/dist/prompts/utils/workflowTemplates.js +4 -2
- package/dist/prompts/utils/workflowTemplates.js.map +1 -1
- package/dist/prompts/validate-manifest.d.ts +42 -0
- package/dist/prompts/validate-manifest.d.ts.map +1 -0
- package/dist/prompts/validate-manifest.js +157 -0
- package/dist/prompts/validate-manifest.js.map +1 -0
- package/dist/schemas/common-schemas.d.ts +32 -39
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +109 -116
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/scripts/test-all-prompts.d.ts +1 -17
- package/dist/scripts/test-all-prompts.d.ts.map +1 -1
- package/dist/scripts/test-all-prompts.js +16 -6
- package/dist/scripts/test-all-prompts.js.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/setup.d.ts +7 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +33 -0
- package/dist/setup.js.map +1 -0
- package/dist/tools/api-keys/index.js +13 -13
- package/dist/tools/api-keys/index.js.map +1 -1
- package/dist/tools/auth/index.js +4 -4
- package/dist/tools/auth/index.js.map +1 -1
- package/dist/tools/balance/helpers/format-balance.js +1 -1
- package/dist/tools/balance/helpers/format-balance.js.map +1 -1
- package/dist/tools/balance/index.js +9 -9
- package/dist/tools/balance/index.js.map +1 -1
- package/dist/tools/ban/index.d.ts.map +1 -1
- package/dist/tools/ban/index.js +23 -18
- package/dist/tools/ban/index.js.map +1 -1
- package/dist/tools/ban/onBanEnforcement.d.ts +9 -0
- package/dist/tools/ban/onBanEnforcement.d.ts.map +1 -0
- package/dist/tools/ban/onBanEnforcement.js +54 -0
- package/dist/tools/ban/onBanEnforcement.js.map +1 -0
- package/dist/tools/bridge/helpers/external-chain-balance-tools.js +4 -4
- package/dist/tools/bridge/helpers/external-chain-balance-tools.js.map +1 -1
- package/dist/tools/bridge/index.d.ts +10 -0
- package/dist/tools/bridge/index.d.ts.map +1 -1
- package/dist/tools/bridge/index.js +47 -39
- package/dist/tools/bridge/index.js.map +1 -1
- package/dist/tools/chat/index.d.ts +3 -2
- package/dist/tools/chat/index.d.ts.map +1 -1
- package/dist/tools/chat/index.js +12 -18
- package/dist/tools/chat/index.js.map +1 -1
- package/dist/tools/chat/pinChatMessage.js +2 -2
- package/dist/tools/chat/pinChatMessage.js.map +1 -1
- package/dist/tools/chat/unpinChatMessage.js +1 -1
- package/dist/tools/chat/unpinChatMessage.js.map +1 -1
- package/dist/tools/chat-messages/index.js +11 -11
- package/dist/tools/chat-messages/index.js.map +1 -1
- package/dist/tools/comments/index.d.ts +1 -1
- package/dist/tools/comments/index.d.ts.map +1 -1
- package/dist/tools/comments/index.js +13 -11
- package/dist/tools/comments/index.js.map +1 -1
- package/dist/tools/comments/onCommentCreated.d.ts +9 -0
- package/dist/tools/comments/onCommentCreated.d.ts.map +1 -0
- package/dist/tools/comments/onCommentCreated.js +50 -0
- package/dist/tools/comments/onCommentCreated.js.map +1 -0
- package/dist/tools/content-flags/index.js +14 -14
- package/dist/tools/content-flags/index.js.map +1 -1
- package/dist/tools/content-reactions/index.js +6 -6
- package/dist/tools/content-reactions/index.js.map +1 -1
- package/dist/tools/creation/index.js +14 -14
- package/dist/tools/creation/index.js.map +1 -1
- package/dist/tools/dex/helpers.d.ts +1 -1
- package/dist/tools/dex/helpers.js +1 -1
- package/dist/tools/dex/index.js +9 -9
- package/dist/tools/dex/index.js.map +1 -1
- package/dist/tools/dex-analytics/index.d.ts.map +1 -1
- package/dist/tools/dex-analytics/index.js +6 -6
- package/dist/tools/dex-analytics/index.js.map +1 -1
- package/dist/tools/dex-liquidity/index.d.ts.map +1 -1
- package/dist/tools/dex-liquidity/index.js +30 -30
- package/dist/tools/dex-liquidity/index.js.map +1 -1
- package/dist/tools/dex-pools/index.d.ts.map +1 -1
- package/dist/tools/dex-pools/index.js +17 -18
- package/dist/tools/dex-pools/index.js.map +1 -1
- package/dist/tools/handler-factories.d.ts +22 -48
- package/dist/tools/handler-factories.d.ts.map +1 -1
- package/dist/tools/handler-factories.js +15 -35
- package/dist/tools/handler-factories.js.map +1 -1
- package/dist/tools/holders/index.d.ts +55 -0
- package/dist/tools/holders/index.d.ts.map +1 -0
- package/dist/tools/holders/index.js +269 -0
- package/dist/tools/holders/index.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +86 -65
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/manifest.d.ts +33 -0
- package/dist/tools/manifest.d.ts.map +1 -0
- package/dist/tools/manifest.js +2945 -0
- package/dist/tools/manifest.js.map +1 -0
- package/dist/tools/messages/createMessage.d.ts +16 -0
- package/dist/tools/messages/createMessage.d.ts.map +1 -0
- package/dist/tools/messages/createMessage.js +79 -0
- package/dist/tools/messages/createMessage.js.map +1 -0
- package/dist/tools/messages/deleteMessage.d.ts +16 -0
- package/dist/tools/messages/deleteMessage.d.ts.map +1 -0
- package/dist/tools/messages/deleteMessage.js +45 -0
- package/dist/tools/messages/deleteMessage.js.map +1 -0
- package/dist/tools/messages/fetchMessages.d.ts +17 -0
- package/dist/tools/messages/fetchMessages.d.ts.map +1 -0
- package/dist/tools/messages/fetchMessages.js +82 -0
- package/dist/tools/messages/fetchMessages.js.map +1 -0
- package/dist/tools/messages/getPinnedMessage.d.ts +15 -0
- package/dist/tools/messages/getPinnedMessage.d.ts.map +1 -0
- package/dist/tools/messages/getPinnedMessage.js +42 -0
- package/dist/tools/messages/getPinnedMessage.js.map +1 -0
- package/dist/tools/messages/index.d.ts +38 -0
- package/dist/tools/messages/index.d.ts.map +1 -0
- package/dist/tools/messages/index.js +56 -0
- package/dist/tools/messages/index.js.map +1 -0
- package/dist/tools/messages/pinMessage.d.ts +15 -0
- package/dist/tools/messages/pinMessage.d.ts.map +1 -0
- package/dist/tools/messages/pinMessage.js +44 -0
- package/dist/tools/messages/pinMessage.js.map +1 -0
- package/dist/tools/messages/unpinMessage.d.ts +15 -0
- package/dist/tools/messages/unpinMessage.d.ts.map +1 -0
- package/dist/tools/messages/unpinMessage.js +43 -0
- package/dist/tools/messages/unpinMessage.js.map +1 -0
- package/dist/tools/messages/updateMessage.d.ts +16 -0
- package/dist/tools/messages/updateMessage.d.ts.map +1 -0
- package/dist/tools/messages/updateMessage.js +55 -0
- package/dist/tools/messages/updateMessage.js.map +1 -0
- package/dist/tools/moderators/getActiveModerators.d.ts +10 -0
- package/dist/tools/moderators/getActiveModerators.d.ts.map +1 -0
- package/dist/tools/moderators/getActiveModerators.js +44 -0
- package/dist/tools/moderators/getActiveModerators.js.map +1 -0
- package/dist/tools/moderators/index.d.ts.map +1 -1
- package/dist/tools/moderators/index.js +25 -17
- package/dist/tools/moderators/index.js.map +1 -1
- package/dist/tools/moderators/onModeratorChanged.d.ts +9 -0
- package/dist/tools/moderators/onModeratorChanged.d.ts.map +1 -0
- package/dist/tools/moderators/onModeratorChanged.js +49 -0
- package/dist/tools/moderators/onModeratorChanged.js.map +1 -0
- package/dist/tools/nft/index.js +21 -21
- package/dist/tools/nft/index.js.map +1 -1
- package/dist/tools/overseers/getOverseerUserSummary.js +2 -2
- package/dist/tools/overseers/getOverseerUserSummary.js.map +1 -1
- package/dist/tools/overseers/index.d.ts.map +1 -1
- package/dist/tools/overseers/index.js +26 -24
- package/dist/tools/overseers/index.js.map +1 -1
- package/dist/tools/overseers/listOverseerUsers.d.ts +1 -0
- package/dist/tools/overseers/listOverseerUsers.d.ts.map +1 -1
- package/dist/tools/overseers/listOverseerUsers.js +16 -11
- package/dist/tools/overseers/listOverseerUsers.js.map +1 -1
- package/dist/tools/pagination-handler-factory.d.ts +30 -28
- package/dist/tools/pagination-handler-factory.d.ts.map +1 -1
- package/dist/tools/pagination-handler-factory.js +42 -36
- package/dist/tools/pagination-handler-factory.js.map +1 -1
- package/dist/tools/pools/checkPoolExists.js +3 -3
- package/dist/tools/pools/checkPoolExists.js.map +1 -1
- package/dist/tools/pools/fetchAllPools.js +5 -5
- package/dist/tools/pools/fetchAllPools.js.map +1 -1
- package/dist/tools/pools/fetchAllPriceHistory.js +3 -3
- package/dist/tools/pools/fetchAllPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchPoolDetails.js +1 -1
- package/dist/tools/pools/fetchPoolDetails.js.map +1 -1
- package/dist/tools/pools/fetchPools.d.ts.map +1 -1
- package/dist/tools/pools/fetchPools.js +10 -11
- package/dist/tools/pools/fetchPools.js.map +1 -1
- package/dist/tools/pools/fetchPriceHistory.js +7 -7
- package/dist/tools/pools/fetchPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchTokenDetails.js +1 -1
- package/dist/tools/pools/fetchTokenDetails.js.map +1 -1
- package/dist/tools/pools/getPoolRealtimeState.d.ts +10 -0
- package/dist/tools/pools/getPoolRealtimeState.d.ts.map +1 -0
- package/dist/tools/pools/getPoolRealtimeState.js +45 -0
- package/dist/tools/pools/getPoolRealtimeState.js.map +1 -0
- package/dist/tools/pools/index.d.ts.map +1 -1
- package/dist/tools/pools/index.js +37 -27
- package/dist/tools/pools/index.js.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.js +3 -3
- package/dist/tools/pools/onDexPoolCreation.js.map +1 -1
- package/dist/tools/pools/onHolderCountChanged.d.ts +9 -0
- package/dist/tools/pools/onHolderCountChanged.d.ts.map +1 -0
- package/dist/tools/pools/onHolderCountChanged.js +44 -0
- package/dist/tools/pools/onHolderCountChanged.js.map +1 -0
- package/dist/tools/pools/onLaunchpadTokenCreation.js +2 -2
- package/dist/tools/pools/onLaunchpadTokenCreation.js.map +1 -1
- package/dist/tools/pools/onPoolUpdated.d.ts +9 -0
- package/dist/tools/pools/onPoolUpdated.d.ts.map +1 -0
- package/dist/tools/pools/onPoolUpdated.js +44 -0
- package/dist/tools/pools/onPoolUpdated.js.map +1 -0
- package/dist/tools/pools/updateTokenConfig.d.ts +15 -0
- package/dist/tools/pools/updateTokenConfig.d.ts.map +1 -0
- package/dist/tools/pools/updateTokenConfig.js +61 -0
- package/dist/tools/pools/updateTokenConfig.js.map +1 -0
- package/dist/tools/pools/updateTokenSocials.js +9 -9
- package/dist/tools/pools/updateTokenSocials.js.map +1 -1
- package/dist/tools/pools/validateToken.d.ts +8 -0
- package/dist/tools/pools/validateToken.d.ts.map +1 -0
- package/dist/tools/pools/validateToken.js +42 -0
- package/dist/tools/pools/validateToken.js.map +1 -0
- package/dist/tools/recordings/index.d.ts +28 -0
- package/dist/tools/recordings/index.d.ts.map +1 -0
- package/dist/tools/recordings/index.js +113 -0
- package/dist/tools/recordings/index.js.map +1 -0
- package/dist/tools/referrals/index.js +9 -9
- package/dist/tools/referrals/index.js.map +1 -1
- package/dist/tools/restricted-names/getRestrictedNames.d.ts +16 -0
- package/dist/tools/restricted-names/getRestrictedNames.d.ts.map +1 -0
- package/dist/tools/restricted-names/getRestrictedNames.js +47 -0
- package/dist/tools/restricted-names/getRestrictedNames.js.map +1 -0
- package/dist/tools/restricted-names/index.d.ts +22 -0
- package/dist/tools/restricted-names/index.d.ts.map +1 -0
- package/dist/tools/restricted-names/index.js +28 -0
- package/dist/tools/restricted-names/index.js.map +1 -0
- package/dist/tools/restricted-names/updateRestrictedNames.d.ts +16 -0
- package/dist/tools/restricted-names/updateRestrictedNames.d.ts.map +1 -0
- package/dist/tools/restricted-names/updateRestrictedNames.js +56 -0
- package/dist/tools/restricted-names/updateRestrictedNames.js.map +1 -0
- package/dist/tools/simulcasts/index.d.ts +25 -0
- package/dist/tools/simulcasts/index.d.ts.map +1 -0
- package/dist/tools/simulcasts/index.js +143 -0
- package/dist/tools/simulcasts/index.js.map +1 -0
- package/dist/tools/streaming/index.d.ts +4 -37
- package/dist/tools/streaming/index.d.ts.map +1 -1
- package/dist/tools/streaming/index.js +7 -240
- package/dist/tools/streaming/index.js.map +1 -1
- package/dist/tools/streaming/setNextLiveStreamCountdown.js +2 -2
- package/dist/tools/streaming/setNextLiveStreamCountdown.js.map +1 -1
- package/dist/tools/token-ban/index.d.ts.map +1 -1
- package/dist/tools/token-ban/index.js +14 -12
- package/dist/tools/token-ban/index.js.map +1 -1
- package/dist/tools/token-ban/onTokenBanChanged.d.ts +9 -0
- package/dist/tools/token-ban/onTokenBanChanged.d.ts.map +1 -0
- package/dist/tools/token-ban/onTokenBanChanged.js +43 -0
- package/dist/tools/token-ban/onTokenBanChanged.js.map +1 -0
- package/dist/tools/tool-factory.d.ts +6 -6
- package/dist/tools/tool-factory.js +8 -8
- package/dist/tools/tool-factory.js.map +1 -1
- package/dist/tools/trades/getRecentTrades.d.ts +10 -0
- package/dist/tools/trades/getRecentTrades.d.ts.map +1 -0
- package/dist/tools/trades/getRecentTrades.js +57 -0
- package/dist/tools/trades/getRecentTrades.js.map +1 -0
- package/dist/tools/trades/index.d.ts +1 -1
- package/dist/tools/trades/index.d.ts.map +1 -1
- package/dist/tools/trades/index.js +18 -14
- package/dist/tools/trades/index.js.map +1 -1
- package/dist/tools/trades/onTradeExecuted.d.ts +9 -0
- package/dist/tools/trades/onTradeExecuted.d.ts.map +1 -0
- package/dist/tools/trades/onTradeExecuted.js +52 -0
- package/dist/tools/trades/onTradeExecuted.js.map +1 -0
- package/dist/tools/trading/helpers/arg-extractors.d.ts +5 -5
- package/dist/tools/trading/helpers/arg-extractors.d.ts.map +1 -1
- package/dist/tools/trading/helpers/arg-extractors.js +1 -1
- package/dist/tools/trading/helpers/arg-extractors.js.map +1 -1
- package/dist/tools/trading/helpers/trading-schemas.d.ts +1 -1
- package/dist/tools/trading/helpers/trading-schemas.js +13 -13
- package/dist/tools/trading/helpers/trading-schemas.js.map +1 -1
- package/dist/tools/trading/index.d.ts.map +1 -1
- package/dist/tools/trading/index.js +20 -17
- package/dist/tools/trading/index.js.map +1 -1
- package/dist/tools/transfers/index.js +2 -2
- package/dist/tools/transfers/index.js.map +1 -1
- package/dist/tools/utils/clearCache.d.ts.map +1 -1
- package/dist/tools/utils/clearCache.js +1 -1
- package/dist/tools/utils/clearCache.js.map +1 -1
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +171 -585
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/dist/tools/utils/explainWebSocketEvents.d.ts +10 -0
- package/dist/tools/utils/explainWebSocketEvents.d.ts.map +1 -0
- package/dist/tools/utils/explainWebSocketEvents.js +97 -0
- package/dist/tools/utils/explainWebSocketEvents.js.map +1 -0
- package/dist/tools/utils/getEthereumAddressFromPrivateKey.js +1 -1
- package/dist/tools/utils/getEthereumAddressFromPrivateKey.js.map +1 -1
- package/dist/tools/utils/getEventSchema.d.ts +10 -0
- package/dist/tools/utils/getEventSchema.d.ts.map +1 -0
- package/dist/tools/utils/getEventSchema.js +168 -0
- package/dist/tools/utils/getEventSchema.js.map +1 -0
- package/dist/tools/utils/getPlatformStatus.d.ts +10 -0
- package/dist/tools/utils/getPlatformStatus.d.ts.map +1 -0
- package/dist/tools/utils/getPlatformStatus.js +35 -0
- package/dist/tools/utils/getPlatformStatus.js.map +1 -0
- package/dist/tools/utils/getPublicKeyFromPrivateKey.js +1 -1
- package/dist/tools/utils/getPublicKeyFromPrivateKey.js.map +1 -1
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +6 -0
- package/dist/tools/utils/index.js.map +1 -1
- package/dist/tools/utils/setWallet.js +1 -1
- package/dist/tools/utils/setWallet.js.map +1 -1
- package/dist/tools/utils/switchEnvironment.js +1 -1
- package/dist/tools/utils/switchEnvironment.js.map +1 -1
- package/dist/tools/validate-manifest.d.ts +35 -0
- package/dist/tools/validate-manifest.d.ts.map +1 -0
- package/dist/tools/validate-manifest.js +122 -0
- package/dist/tools/validate-manifest.js.map +1 -0
- package/dist/utils/default-values.d.ts +0 -40
- package/dist/utils/default-values.d.ts.map +1 -1
- package/dist/utils/default-values.js +2 -45
- package/dist/utils/default-values.js.map +1 -1
- package/dist/utils/handler-args.d.ts +8 -0
- package/dist/utils/handler-args.d.ts.map +1 -0
- package/dist/utils/handler-args.js +28 -0
- package/dist/utils/handler-args.js.map +1 -0
- package/package.json +10 -10
|
@@ -29,7 +29,7 @@ const getOverseerUserSummary_js_1 = require("./getOverseerUserSummary.js");
|
|
|
29
29
|
*/
|
|
30
30
|
const OVERSEER_INVITE_ID_SCHEMA = {
|
|
31
31
|
...common_schemas_js_1.ENTITY_ID_SCHEMA,
|
|
32
|
-
description: 'Overseer invite ID (positive integer)',
|
|
32
|
+
description: 'Overseer invite ID (positive integer).',
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Overseer invite description schema
|
|
@@ -45,7 +45,7 @@ const OVERSEER_INVITE_CODE_SCHEMA = {
|
|
|
45
45
|
type: 'string',
|
|
46
46
|
minLength: 1,
|
|
47
47
|
maxLength: 100,
|
|
48
|
-
description: 'The invite code from the magic link URL',
|
|
48
|
+
description: 'The invite code from the magic link URL.',
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* Overseer invite status schema
|
|
@@ -57,7 +57,7 @@ const OVERSEER_INVITE_STATUS_SCHEMA = {
|
|
|
57
57
|
- PENDING: Not yet claimed
|
|
58
58
|
- CLAIMED: Claimed by an overseer
|
|
59
59
|
- REVOKED: Revoked by admin/overseer
|
|
60
|
-
- EXPIRED: Past expiration date
|
|
60
|
+
- EXPIRED: Past expiration date.`,
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Overseer status schema
|
|
@@ -67,7 +67,7 @@ const OVERSEER_STATUS_FILTER_SCHEMA = {
|
|
|
67
67
|
enum: Object.values(launchpad_sdk_1.OVERSEER_STATUS),
|
|
68
68
|
description: `Filter overseers by status:
|
|
69
69
|
- ACTIVE: Currently active overseer
|
|
70
|
-
- REVOKED: Access has been revoked
|
|
70
|
+
- REVOKED: Access has been revoked.`,
|
|
71
71
|
};
|
|
72
72
|
// =============================================================================
|
|
73
73
|
// Overseer Invite Tools
|
|
@@ -87,7 +87,7 @@ The recipient claims the invite after logging in.
|
|
|
87
87
|
|
|
88
88
|
RETURNS: { invite: { id, inviteCode, inviteUrl, invitedBy, claimedBy, description, status, expiresAt, createdAt } }
|
|
89
89
|
|
|
90
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
90
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
91
91
|
inputSchema: {
|
|
92
92
|
type: 'object',
|
|
93
93
|
properties: {
|
|
@@ -108,25 +108,26 @@ Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overs
|
|
|
108
108
|
*/
|
|
109
109
|
exports.listOverseerInvitesTool = {
|
|
110
110
|
name: 'gala_launchpad_list_overseer_invites',
|
|
111
|
-
description: `List all overseer invites with pagination and filtering.
|
|
111
|
+
description: `List all overseer invites with cursor-based pagination and filtering.
|
|
112
112
|
|
|
113
113
|
Returns a paginated list of overseer invites that can be filtered by status.
|
|
114
114
|
|
|
115
|
-
RETURNS: { invites: [...],
|
|
115
|
+
RETURNS: { invites: [...], pageInfo: { hasNextPage, endCursor, hasPreviousPage, startCursor } }
|
|
116
116
|
|
|
117
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
117
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
118
118
|
inputSchema: {
|
|
119
119
|
type: 'object',
|
|
120
120
|
properties: {
|
|
121
121
|
status: OVERSEER_INVITE_STATUS_SCHEMA,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
cursor: common_schemas_js_1.CURSOR_SCHEMA,
|
|
123
|
+
pageSize: common_schemas_js_1.ADMIN_LIMIT_SCHEMA,
|
|
124
124
|
},
|
|
125
125
|
required: [],
|
|
126
126
|
},
|
|
127
127
|
handler: (0, handler_factories_js_1.createSimpleHandler)('listOverseerInvites', (args) => ({
|
|
128
128
|
status: (0, handler_factories_js_1.extractStatusArg)(args),
|
|
129
|
-
|
|
129
|
+
cursor: args.cursor,
|
|
130
|
+
pageSize: args.pageSize,
|
|
130
131
|
})),
|
|
131
132
|
};
|
|
132
133
|
/**
|
|
@@ -146,7 +147,7 @@ by the frontend to display invite details before the user logs in to claim.
|
|
|
146
147
|
|
|
147
148
|
RETURNS: { description, status, expiresAt, invitedBy: { address, fullName } }
|
|
148
149
|
|
|
149
|
-
Authentication: None required (public endpoint)
|
|
150
|
+
Authentication: None required (public endpoint).`,
|
|
150
151
|
inputSchema: {
|
|
151
152
|
type: 'object',
|
|
152
153
|
properties: {
|
|
@@ -172,7 +173,7 @@ user's wallet becomes an overseer with GLOBAL access to ALL tokens on the platfo
|
|
|
172
173
|
|
|
173
174
|
RETURNS: { invite: { id, inviteCode, inviteUrl, invitedBy, claimedBy, description, status, expiresAt, claimedAt, createdAt } }
|
|
174
175
|
|
|
175
|
-
Authentication: Requires JWT auth
|
|
176
|
+
Authentication: Requires JWT auth.`,
|
|
176
177
|
inputSchema: {
|
|
177
178
|
type: 'object',
|
|
178
179
|
properties: {
|
|
@@ -194,7 +195,7 @@ the overseer loses access to the platform.
|
|
|
194
195
|
|
|
195
196
|
RETURNS: { success: true, message: "Invite revoked" }
|
|
196
197
|
|
|
197
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
198
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
198
199
|
inputSchema: {
|
|
199
200
|
type: 'object',
|
|
200
201
|
properties: {
|
|
@@ -214,25 +215,26 @@ Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overs
|
|
|
214
215
|
*/
|
|
215
216
|
exports.listOverseersTool = {
|
|
216
217
|
name: 'gala_launchpad_list_overseers',
|
|
217
|
-
description: `List all overseers with pagination and filtering.
|
|
218
|
+
description: `List all overseers with cursor-based pagination and filtering.
|
|
218
219
|
|
|
219
220
|
Returns a paginated list of overseers that can be filtered by status.
|
|
220
221
|
|
|
221
|
-
RETURNS: { overseers: [...],
|
|
222
|
+
RETURNS: { overseers: [...], pageInfo: { hasNextPage, endCursor, hasPreviousPage, startCursor } }
|
|
222
223
|
|
|
223
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
224
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
224
225
|
inputSchema: {
|
|
225
226
|
type: 'object',
|
|
226
227
|
properties: {
|
|
227
228
|
status: OVERSEER_STATUS_FILTER_SCHEMA,
|
|
228
|
-
|
|
229
|
-
|
|
229
|
+
cursor: common_schemas_js_1.CURSOR_SCHEMA,
|
|
230
|
+
pageSize: common_schemas_js_1.ADMIN_LIMIT_SCHEMA,
|
|
230
231
|
},
|
|
231
232
|
required: [],
|
|
232
233
|
},
|
|
233
234
|
handler: (0, handler_factories_js_1.createSimpleHandler)('listOverseers', (args) => ({
|
|
234
235
|
status: (0, handler_factories_js_1.extractStatusArg)(args),
|
|
235
|
-
|
|
236
|
+
cursor: args.cursor,
|
|
237
|
+
pageSize: args.pageSize,
|
|
236
238
|
})),
|
|
237
239
|
};
|
|
238
240
|
/**
|
|
@@ -246,13 +248,13 @@ Revokes an overseer by wallet address, removing their global platform access.
|
|
|
246
248
|
|
|
247
249
|
RETURNS: { success: true, message: "Overseer access revoked" }
|
|
248
250
|
|
|
249
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
251
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
250
252
|
inputSchema: {
|
|
251
253
|
type: 'object',
|
|
252
254
|
properties: {
|
|
253
255
|
address: {
|
|
254
256
|
...common_schemas_js_1.ADDRESS_SCHEMA,
|
|
255
|
-
description: 'Wallet address of the overseer to revoke (eth|... or 0x... format)',
|
|
257
|
+
description: 'Wallet address of the overseer to revoke (eth|... or 0x... format).',
|
|
256
258
|
},
|
|
257
259
|
},
|
|
258
260
|
required: ['address'],
|
|
@@ -271,7 +273,7 @@ and their details if so.
|
|
|
271
273
|
|
|
272
274
|
RETURNS: { isOverseer: boolean, overseer?: { id, userAddress, inviteId, status, createdAt } }
|
|
273
275
|
|
|
274
|
-
Authentication: Requires JWT auth
|
|
276
|
+
Authentication: Requires JWT auth.`,
|
|
275
277
|
inputSchema: {
|
|
276
278
|
type: 'object',
|
|
277
279
|
properties: {},
|
|
@@ -298,7 +300,7 @@ Use this for dashboard header stats. For detailed data, use:
|
|
|
298
300
|
|
|
299
301
|
RETURNS: { activeStreams, totalViewers, pendingFlags, totalPools }
|
|
300
302
|
|
|
301
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as Overseer
|
|
303
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as Overseer.`,
|
|
302
304
|
inputSchema: {
|
|
303
305
|
type: 'object',
|
|
304
306
|
properties: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/overseers/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/overseers/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,kEAKiC;AACjC,uEAOyC;AACzC,6DAAoF;AACpF,iEAA+D;AAC/D,2EAAyE;AAEzE,gFAAgF;AAChF,4BAA4B;AAC5B,gFAAgF;AAEhF;;GAEG;AACH,MAAM,yBAAyB,GAAG;IAChC,GAAG,oCAAgB;IACnB,WAAW,EAAE,wCAAwC;CACtD,CAAC;AAEF;;GAEG;AACH,MAAM,2BAA2B,GAAG;IAClC,GAAG,6CAAyB;IAC5B,WAAW,EAAE,+FAA+F;CAC7G,CAAC;AAEF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,EAAE;QACd,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE,IAAA,+CAAwB,EAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF;;GAEG;AACU,QAAA,sBAAsB,GAAY;IAC7C,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE;;;;;;;;;;;;;;4EAc6D;IAC1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE,IAAA,+CAAwB,EAAC,oBAAoB,CAAC;CACxD,CAAC;AAEF,gFAAgF;AAChF,mBAAmB;AACnB,gFAAgF;AAEnE,QAAA,aAAa,GAAc;IACtC,gCAAwB;IACxB,+BAAuB;IACvB,mCAA2B;IAC3B,+BAAuB;IACvB,gCAAwB;IACxB,yBAAiB;IACjB,0BAAkB;IAClB,+BAAuB;IACvB,8BAAsB;IACtB,4CAAqB;IACrB,sDAA0B;CAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listOverseerUsers.d.ts","sourceRoot":"","sources":["../../../src/tools/overseers/listOverseerUsers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"listOverseerUsers.d.ts","sourceRoot":"","sources":["../../../src/tools/overseers/listOverseerUsers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAsBlD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,OA6CnC,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* List Overseer Users Tool
|
|
4
4
|
*
|
|
5
5
|
* MCP tool for listing users with pagination and sorting.
|
|
6
|
+
* Uses cursor-based pagination for efficient result navigation.
|
|
6
7
|
*
|
|
7
8
|
* @since 6.x.0
|
|
8
9
|
*/
|
|
@@ -16,7 +17,7 @@ const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
|
16
17
|
const USER_SORT_BY_SCHEMA = {
|
|
17
18
|
type: 'string',
|
|
18
19
|
enum: ['address', 'flagsReceived', 'activeBans', 'createdAt'],
|
|
19
|
-
description: 'Field to sort by (default: createdAt)',
|
|
20
|
+
description: 'Field to sort by (default: createdAt).',
|
|
20
21
|
};
|
|
21
22
|
/**
|
|
22
23
|
* Sort order schema
|
|
@@ -24,7 +25,7 @@ const USER_SORT_BY_SCHEMA = {
|
|
|
24
25
|
const SORT_ORDER_SCHEMA = {
|
|
25
26
|
type: 'string',
|
|
26
27
|
enum: ['asc', 'desc'],
|
|
27
|
-
description: 'Sort order (default: desc)',
|
|
28
|
+
description: 'Sort order (default: desc).',
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* List Overseer Users Tool
|
|
@@ -44,24 +45,28 @@ Useful for overseer/admin dashboard user management.
|
|
|
44
45
|
- activeBans: Active bans count
|
|
45
46
|
- createdAt: Account creation date (default)
|
|
46
47
|
|
|
47
|
-
RETURNS: { items: [...], total: number,
|
|
48
|
+
RETURNS: { items: [...], total: number, cursor?, pageSize }
|
|
48
49
|
|
|
49
|
-
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer
|
|
50
|
+
Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overseer.`,
|
|
50
51
|
inputSchema: {
|
|
51
52
|
type: 'object',
|
|
52
53
|
properties: {
|
|
53
54
|
search: {
|
|
54
55
|
...common_schemas_js_1.SEARCH_SCHEMA,
|
|
55
|
-
description: 'Search by user address or name',
|
|
56
|
+
description: 'Search by user address or name.',
|
|
56
57
|
},
|
|
57
58
|
sortBy: USER_SORT_BY_SCHEMA,
|
|
58
59
|
sortOrder: SORT_ORDER_SCHEMA,
|
|
59
|
-
|
|
60
|
+
cursor: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
description: 'Cursor from previous response for pagination (omit for first page).',
|
|
63
|
+
},
|
|
64
|
+
pageSize: {
|
|
60
65
|
type: 'integer',
|
|
61
|
-
minimum:
|
|
62
|
-
|
|
66
|
+
minimum: 1,
|
|
67
|
+
maximum: 100,
|
|
68
|
+
description: 'Results per page (max: 100, default: 20).',
|
|
63
69
|
},
|
|
64
|
-
limit: common_schemas_js_1.ADMIN_LIMIT_SCHEMA,
|
|
65
70
|
},
|
|
66
71
|
required: [],
|
|
67
72
|
},
|
|
@@ -69,8 +74,8 @@ Authentication: Requires streamAdminApiKey (admin) OR JWT auth as existing Overs
|
|
|
69
74
|
search: args.search,
|
|
70
75
|
sortBy: args.sortBy,
|
|
71
76
|
sortOrder: args.sortOrder,
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
cursor: args.cursor,
|
|
78
|
+
pageSize: args.pageSize ?? 20,
|
|
74
79
|
})),
|
|
75
80
|
};
|
|
76
81
|
//# sourceMappingURL=listOverseerUsers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listOverseerUsers.js","sourceRoot":"","sources":["../../../src/tools/overseers/listOverseerUsers.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"listOverseerUsers.js","sourceRoot":"","sources":["../../../src/tools/overseers/listOverseerUsers.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAGH,kEAA8D;AAC9D,uEAAgE;AAEhE;;GAEG;AACH,MAAM,mBAAmB,GAAG;IAC1B,IAAI,EAAE,QAAiB;IACvB,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,WAAW,CAAC;IAC7D,WAAW,EAAE,wCAAwC;CACtD,CAAC;AAEF;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,IAAI,EAAE,QAAiB;IACvB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF;;;;GAIG;AACU,QAAA,qBAAqB,GAAY;IAC5C,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EAAE;;;;;;;;;;;;;qFAasE;IACnF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,GAAG,iCAAa;gBAChB,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE,mBAAmB;YAC3B,SAAS,EAAE,iBAAiB;YAC5B,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;aACnF;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,GAAG;gBACZ,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE,IAAA,0CAAmB,EAAC,mBAAmB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC3D,MAAM,EAAE,IAAI,CAAC,MAA4B;QACzC,MAAM,EAAE,IAAI,CAAC,MAA8E;QAC3F,SAAS,EAAE,IAAI,CAAC,SAAuC;QACvD,MAAM,EAAE,IAAI,CAAC,MAA4B;QACzC,QAAQ,EAAG,IAAI,CAAC,QAAmB,IAAI,EAAE;KAC1C,CAAC,CAAC;CACJ,CAAC"}
|
|
@@ -4,80 +4,82 @@
|
|
|
4
4
|
* Factory for creating handlers that fetch paginated results with filter support.
|
|
5
5
|
* Reduces boilerplate for tools like fetchDexPools, fetchPools, fetchPriceHistory.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Supports cursor-based pagination for scalable, efficient result navigation.
|
|
8
|
+
*
|
|
9
|
+
* @see Phase 4B: Cursor-based pagination handlers
|
|
8
10
|
*/
|
|
9
11
|
import type { MCPToolResponse } from '../types/mcp.js';
|
|
10
12
|
import type { LaunchpadSDK } from '@gala-chain/launchpad-sdk';
|
|
11
13
|
/**
|
|
12
|
-
* Configuration for paginated fetch handlers
|
|
14
|
+
* Configuration for cursor-paginated fetch handlers
|
|
13
15
|
*/
|
|
14
|
-
export interface
|
|
16
|
+
export interface CursorPaginatedFetchConfig {
|
|
15
17
|
/** Name of the SDK method to call */
|
|
16
18
|
sdkMethodName: string;
|
|
17
19
|
/** Function to extract/build filter options from args */
|
|
18
20
|
filterBuilder: (args: Record<string, unknown>) => Record<string, unknown>;
|
|
19
|
-
/** Default
|
|
20
|
-
|
|
21
|
-
/** Whether pagination args (
|
|
21
|
+
/** Default page size for pagination (if different from 20) */
|
|
22
|
+
defaultPageSize?: number;
|
|
23
|
+
/** Whether pagination args (cursor/pageSize) should be included in filter options */
|
|
22
24
|
includePaginationInFilters?: boolean;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
|
-
* Creates a handler for paginated fetch operations with filter support
|
|
27
|
+
* Creates a handler for cursor-paginated fetch operations with filter support
|
|
26
28
|
*
|
|
27
29
|
* Handles the common pattern of:
|
|
28
30
|
* 1. Building filter options from args using filterBuilder
|
|
29
|
-
* 2. Applying pagination defaults
|
|
31
|
+
* 2. Applying pagination defaults (cursor/pageSize)
|
|
30
32
|
* 3. Calling SDK method with combined options
|
|
31
|
-
* 4. Returning formatted success response
|
|
33
|
+
* 4. Returning formatted success response with pageInfo
|
|
32
34
|
*
|
|
33
|
-
* @param config - Configuration for the paginated fetch handler
|
|
35
|
+
* @param config - Configuration for the cursor-paginated fetch handler
|
|
34
36
|
* @returns Handler function ready to be assigned to an MCPTool
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* ```typescript
|
|
38
40
|
* // Create a fetchDexPools handler with custom filter builder
|
|
39
|
-
* const handler =
|
|
41
|
+
* const handler = createCursorPaginatedHandler({
|
|
40
42
|
* sdkMethodName: 'fetchDexPools',
|
|
41
43
|
* filterBuilder: (args) => ({
|
|
42
44
|
* search: args.search,
|
|
43
45
|
* sortBy: args.sortBy || 'tvl',
|
|
44
46
|
* sortOrder: args.sortOrder || 'desc',
|
|
45
47
|
* }),
|
|
46
|
-
*
|
|
48
|
+
* defaultPageSize: 10,
|
|
47
49
|
* });
|
|
48
50
|
*
|
|
49
51
|
* // Usage in tool
|
|
50
52
|
* const tool: MCPTool = {
|
|
51
53
|
* name: 'gala_launchpad_fetch_dex_pools',
|
|
52
|
-
* description: 'Fetch DEX pools',
|
|
54
|
+
* description: 'Fetch DEX pools.',
|
|
53
55
|
* inputSchema: { ... },
|
|
54
56
|
* handler
|
|
55
57
|
* };
|
|
56
58
|
* ```
|
|
57
59
|
*/
|
|
58
|
-
export declare function
|
|
60
|
+
export declare function createCursorPaginatedHandler(config: CursorPaginatedFetchConfig): (sdk: LaunchpadSDK, args: Record<string, unknown>) => Promise<MCPToolResponse>;
|
|
59
61
|
/**
|
|
60
|
-
* Creates a handler for paginated fetch operations with explicit pagination parameters
|
|
62
|
+
* Creates a handler for cursor-paginated fetch operations with explicit pagination parameters
|
|
61
63
|
*
|
|
62
|
-
* Variant that always includes
|
|
64
|
+
* Variant that always includes cursor and pageSize in the SDK method call,
|
|
63
65
|
* regardless of the filterBuilder output.
|
|
64
66
|
*
|
|
65
|
-
* @param config - Configuration for the paginated fetch handler
|
|
67
|
+
* @param config - Configuration for the cursor-paginated fetch handler
|
|
66
68
|
* @returns Handler function ready to be assigned to an MCPTool
|
|
67
69
|
*
|
|
68
70
|
* @example
|
|
69
71
|
* ```typescript
|
|
70
|
-
* const handler =
|
|
72
|
+
* const handler = createCursorPaginatedHandlerWithPagination({
|
|
71
73
|
* sdkMethodName: 'fetchDexPools',
|
|
72
74
|
* filterBuilder: (args) => ({
|
|
73
75
|
* search: args.search,
|
|
74
76
|
* sortBy: args.sortBy || 'tvl',
|
|
75
77
|
* }),
|
|
76
|
-
*
|
|
78
|
+
* defaultPageSize: 10,
|
|
77
79
|
* });
|
|
78
80
|
* ```
|
|
79
81
|
*/
|
|
80
|
-
export declare function
|
|
82
|
+
export declare function createCursorPaginatedHandlerWithPagination(config: Omit<CursorPaginatedFetchConfig, 'includePaginationInFilters'>): (sdk: LaunchpadSDK, args: Record<string, unknown>) => Promise<MCPToolResponse>;
|
|
81
83
|
/**
|
|
82
84
|
* Configuration for user portfolio/holdings query handlers
|
|
83
85
|
*
|
|
@@ -85,13 +87,13 @@ export declare function createPaginatedFetchWithPaginationHandler(config: Omit<P
|
|
|
85
87
|
* - Required address parameter
|
|
86
88
|
* - Optional tokenName exact filter
|
|
87
89
|
* - Optional search fuzzy filter
|
|
88
|
-
* -
|
|
90
|
+
* - Cursor-based pagination (cursor/pageSize)
|
|
89
91
|
*/
|
|
90
92
|
export interface UserPortfolioQueryConfig {
|
|
91
93
|
/** Name of the SDK method to call (e.g., 'fetchTokensHeld', 'fetchTokensCreated') */
|
|
92
94
|
sdkMethodName: string;
|
|
93
|
-
/** Default
|
|
94
|
-
|
|
95
|
+
/** Default page size for pagination (defaults to 20 for user operations) */
|
|
96
|
+
defaultPageSize?: number;
|
|
95
97
|
}
|
|
96
98
|
/**
|
|
97
99
|
* Creates a handler for user portfolio/holdings query operations
|
|
@@ -99,7 +101,7 @@ export interface UserPortfolioQueryConfig {
|
|
|
99
101
|
* Handles the common pattern of:
|
|
100
102
|
* 1. Requiring an address parameter
|
|
101
103
|
* 2. Accepting optional tokenName (exact match) and search (fuzzy match) filters
|
|
102
|
-
* 3. Applying user-type pagination defaults
|
|
104
|
+
* 3. Applying user-type pagination defaults (cursor/pageSize)
|
|
103
105
|
* 4. Building the SDK options object with proper typing
|
|
104
106
|
*
|
|
105
107
|
* @param config - Configuration for the user portfolio query handler
|
|
@@ -110,13 +112,13 @@ export interface UserPortfolioQueryConfig {
|
|
|
110
112
|
* // Create a fetchTokensHeld handler
|
|
111
113
|
* const handler = createUserPortfolioQueryHandler({
|
|
112
114
|
* sdkMethodName: 'fetchTokensHeld',
|
|
113
|
-
*
|
|
115
|
+
* defaultPageSize: 20,
|
|
114
116
|
* });
|
|
115
117
|
*
|
|
116
118
|
* // Create a fetchTokensCreated handler
|
|
117
119
|
* const handler = createUserPortfolioQueryHandler({
|
|
118
120
|
* sdkMethodName: 'fetchTokensCreated',
|
|
119
|
-
*
|
|
121
|
+
* defaultPageSize: 20,
|
|
120
122
|
* });
|
|
121
123
|
* ```
|
|
122
124
|
*
|
|
@@ -124,8 +126,8 @@ export interface UserPortfolioQueryConfig {
|
|
|
124
126
|
* - address: string (required) - Wallet address in eth|... or 0x... format
|
|
125
127
|
* - tokenName?: string - Exact match filter
|
|
126
128
|
* - search?: string - Fuzzy match filter
|
|
127
|
-
* -
|
|
128
|
-
* -
|
|
129
|
+
* - cursor?: string - Cursor from previous response (omit for first page)
|
|
130
|
+
* - pageSize?: number - Results per page (default: defaultPageSize or 20)
|
|
129
131
|
*/
|
|
130
132
|
export declare function createUserPortfolioQueryHandler(config: UserPortfolioQueryConfig): (sdk: LaunchpadSDK, args: Record<string, unknown>) => Promise<MCPToolResponse>;
|
|
131
133
|
//# sourceMappingURL=pagination-handler-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-handler-factory.d.ts","sourceRoot":"","sources":["../../src/tools/pagination-handler-factory.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"pagination-handler-factory.d.ts","sourceRoot":"","sources":["../../src/tools/pagination-handler-factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAK9D;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IAEtB,yDAAyD;IACzD,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE1E,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,qFAAqF;IACrF,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,0BAA0B,GACjC,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC,CAmChF;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,IAAI,CAAC,0BAA0B,EAAE,4BAA4B,CAAC,GACrE,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC,CAKhF;AAMD;;;;;;;;GAQG;AACH,MAAM,WAAW,wBAAwB;IACvC,qFAAqF;IACrF,aAAa,EAAE,MAAM,CAAC;IAEtB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,wBAAwB,GAC/B,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC,CA8BhF"}
|
|
@@ -5,63 +5,66 @@
|
|
|
5
5
|
* Factory for creating handlers that fetch paginated results with filter support.
|
|
6
6
|
* Reduces boilerplate for tools like fetchDexPools, fetchPools, fetchPriceHistory.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Supports cursor-based pagination for scalable, efficient result navigation.
|
|
9
|
+
*
|
|
10
|
+
* @see Phase 4B: Cursor-based pagination handlers
|
|
9
11
|
*/
|
|
10
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
+
exports.createCursorPaginatedHandler = createCursorPaginatedHandler;
|
|
14
|
+
exports.createCursorPaginatedHandlerWithPagination = createCursorPaginatedHandlerWithPagination;
|
|
13
15
|
exports.createUserPortfolioQueryHandler = createUserPortfolioQueryHandler;
|
|
14
16
|
const response_formatter_js_1 = require("../utils/response-formatter.js");
|
|
15
17
|
const error_handler_js_1 = require("../utils/error-handler.js");
|
|
16
|
-
const default_values_js_1 = require("../utils/default-values.js");
|
|
17
18
|
const handler_factories_js_1 = require("./handler-factories.js");
|
|
18
19
|
/**
|
|
19
|
-
* Creates a handler for paginated fetch operations with filter support
|
|
20
|
+
* Creates a handler for cursor-paginated fetch operations with filter support
|
|
20
21
|
*
|
|
21
22
|
* Handles the common pattern of:
|
|
22
23
|
* 1. Building filter options from args using filterBuilder
|
|
23
|
-
* 2. Applying pagination defaults
|
|
24
|
+
* 2. Applying pagination defaults (cursor/pageSize)
|
|
24
25
|
* 3. Calling SDK method with combined options
|
|
25
|
-
* 4. Returning formatted success response
|
|
26
|
+
* 4. Returning formatted success response with pageInfo
|
|
26
27
|
*
|
|
27
|
-
* @param config - Configuration for the paginated fetch handler
|
|
28
|
+
* @param config - Configuration for the cursor-paginated fetch handler
|
|
28
29
|
* @returns Handler function ready to be assigned to an MCPTool
|
|
29
30
|
*
|
|
30
31
|
* @example
|
|
31
32
|
* ```typescript
|
|
32
33
|
* // Create a fetchDexPools handler with custom filter builder
|
|
33
|
-
* const handler =
|
|
34
|
+
* const handler = createCursorPaginatedHandler({
|
|
34
35
|
* sdkMethodName: 'fetchDexPools',
|
|
35
36
|
* filterBuilder: (args) => ({
|
|
36
37
|
* search: args.search,
|
|
37
38
|
* sortBy: args.sortBy || 'tvl',
|
|
38
39
|
* sortOrder: args.sortOrder || 'desc',
|
|
39
40
|
* }),
|
|
40
|
-
*
|
|
41
|
+
* defaultPageSize: 10,
|
|
41
42
|
* });
|
|
42
43
|
*
|
|
43
44
|
* // Usage in tool
|
|
44
45
|
* const tool: MCPTool = {
|
|
45
46
|
* name: 'gala_launchpad_fetch_dex_pools',
|
|
46
|
-
* description: 'Fetch DEX pools',
|
|
47
|
+
* description: 'Fetch DEX pools.',
|
|
47
48
|
* inputSchema: { ... },
|
|
48
49
|
* handler
|
|
49
50
|
* };
|
|
50
51
|
* ```
|
|
51
52
|
*/
|
|
52
|
-
function
|
|
53
|
-
const { sdkMethodName, filterBuilder,
|
|
53
|
+
function createCursorPaginatedHandler(config) {
|
|
54
|
+
const { sdkMethodName, filterBuilder, defaultPageSize = 20, includePaginationInFilters = false, } = config;
|
|
54
55
|
return (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
55
56
|
// Build filter options using the provided builder function
|
|
56
57
|
const filterOptions = filterBuilder(args);
|
|
57
|
-
// Apply pagination defaults
|
|
58
|
-
const
|
|
59
|
-
const
|
|
58
|
+
// Apply pagination defaults (cursor-based)
|
|
59
|
+
const cursor = args.cursor ?? undefined;
|
|
60
|
+
const pageSize = args.pageSize ?? defaultPageSize;
|
|
60
61
|
// Build final options object
|
|
61
62
|
const options = { ...filterOptions };
|
|
62
63
|
if (includePaginationInFilters) {
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
if (cursor !== undefined) {
|
|
65
|
+
options.cursor = cursor;
|
|
66
|
+
}
|
|
67
|
+
options.pageSize = pageSize;
|
|
65
68
|
}
|
|
66
69
|
// Call SDK method using shared invocation helper
|
|
67
70
|
const { result } = await (0, handler_factories_js_1.invokeSdkMethod)({
|
|
@@ -73,28 +76,28 @@ function createPaginatedFetchHandler(config) {
|
|
|
73
76
|
});
|
|
74
77
|
}
|
|
75
78
|
/**
|
|
76
|
-
* Creates a handler for paginated fetch operations with explicit pagination parameters
|
|
79
|
+
* Creates a handler for cursor-paginated fetch operations with explicit pagination parameters
|
|
77
80
|
*
|
|
78
|
-
* Variant that always includes
|
|
81
|
+
* Variant that always includes cursor and pageSize in the SDK method call,
|
|
79
82
|
* regardless of the filterBuilder output.
|
|
80
83
|
*
|
|
81
|
-
* @param config - Configuration for the paginated fetch handler
|
|
84
|
+
* @param config - Configuration for the cursor-paginated fetch handler
|
|
82
85
|
* @returns Handler function ready to be assigned to an MCPTool
|
|
83
86
|
*
|
|
84
87
|
* @example
|
|
85
88
|
* ```typescript
|
|
86
|
-
* const handler =
|
|
89
|
+
* const handler = createCursorPaginatedHandlerWithPagination({
|
|
87
90
|
* sdkMethodName: 'fetchDexPools',
|
|
88
91
|
* filterBuilder: (args) => ({
|
|
89
92
|
* search: args.search,
|
|
90
93
|
* sortBy: args.sortBy || 'tvl',
|
|
91
94
|
* }),
|
|
92
|
-
*
|
|
95
|
+
* defaultPageSize: 10,
|
|
93
96
|
* });
|
|
94
97
|
* ```
|
|
95
98
|
*/
|
|
96
|
-
function
|
|
97
|
-
return
|
|
99
|
+
function createCursorPaginatedHandlerWithPagination(config) {
|
|
100
|
+
return createCursorPaginatedHandler({
|
|
98
101
|
...config,
|
|
99
102
|
includePaginationInFilters: true,
|
|
100
103
|
});
|
|
@@ -105,7 +108,7 @@ function createPaginatedFetchWithPaginationHandler(config) {
|
|
|
105
108
|
* Handles the common pattern of:
|
|
106
109
|
* 1. Requiring an address parameter
|
|
107
110
|
* 2. Accepting optional tokenName (exact match) and search (fuzzy match) filters
|
|
108
|
-
* 3. Applying user-type pagination defaults
|
|
111
|
+
* 3. Applying user-type pagination defaults (cursor/pageSize)
|
|
109
112
|
* 4. Building the SDK options object with proper typing
|
|
110
113
|
*
|
|
111
114
|
* @param config - Configuration for the user portfolio query handler
|
|
@@ -116,13 +119,13 @@ function createPaginatedFetchWithPaginationHandler(config) {
|
|
|
116
119
|
* // Create a fetchTokensHeld handler
|
|
117
120
|
* const handler = createUserPortfolioQueryHandler({
|
|
118
121
|
* sdkMethodName: 'fetchTokensHeld',
|
|
119
|
-
*
|
|
122
|
+
* defaultPageSize: 20,
|
|
120
123
|
* });
|
|
121
124
|
*
|
|
122
125
|
* // Create a fetchTokensCreated handler
|
|
123
126
|
* const handler = createUserPortfolioQueryHandler({
|
|
124
127
|
* sdkMethodName: 'fetchTokensCreated',
|
|
125
|
-
*
|
|
128
|
+
* defaultPageSize: 20,
|
|
126
129
|
* });
|
|
127
130
|
* ```
|
|
128
131
|
*
|
|
@@ -130,23 +133,26 @@ function createPaginatedFetchWithPaginationHandler(config) {
|
|
|
130
133
|
* - address: string (required) - Wallet address in eth|... or 0x... format
|
|
131
134
|
* - tokenName?: string - Exact match filter
|
|
132
135
|
* - search?: string - Fuzzy match filter
|
|
133
|
-
* -
|
|
134
|
-
* -
|
|
136
|
+
* - cursor?: string - Cursor from previous response (omit for first page)
|
|
137
|
+
* - pageSize?: number - Results per page (default: defaultPageSize or 20)
|
|
135
138
|
*/
|
|
136
139
|
function createUserPortfolioQueryHandler(config) {
|
|
137
|
-
const { sdkMethodName,
|
|
140
|
+
const { sdkMethodName, defaultPageSize = 20 } = config;
|
|
138
141
|
return (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
139
|
-
// Apply pagination defaults
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
+
// Apply pagination defaults (cursor-based)
|
|
143
|
+
const cursor = args.cursor ?? undefined;
|
|
144
|
+
const pageSize = args.pageSize ?? defaultPageSize;
|
|
142
145
|
// Build options object with all parameters
|
|
143
146
|
const options = {
|
|
144
147
|
address: args.address,
|
|
145
148
|
tokenName: args.tokenName,
|
|
146
149
|
search: args.search,
|
|
147
|
-
offset,
|
|
148
|
-
limit,
|
|
149
150
|
};
|
|
151
|
+
// Add cursor if provided
|
|
152
|
+
if (cursor !== undefined) {
|
|
153
|
+
options.cursor = cursor;
|
|
154
|
+
}
|
|
155
|
+
options.pageSize = pageSize;
|
|
150
156
|
// Call SDK method using shared invocation helper
|
|
151
157
|
const { result } = await (0, handler_factories_js_1.invokeSdkMethod)({
|
|
152
158
|
sdk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-handler-factory.js","sourceRoot":"","sources":["../../src/tools/pagination-handler-factory.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"pagination-handler-factory.js","sourceRoot":"","sources":["../../src/tools/pagination-handler-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