clodds 1.1.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/LICENSE +21 -0
- package/README.md +468 -0
- package/dist/acp/agreement.d.ts +110 -0
- package/dist/acp/agreement.js +514 -0
- package/dist/acp/agreement.js.map +1 -0
- package/dist/acp/discovery.d.ts +84 -0
- package/dist/acp/discovery.js +332 -0
- package/dist/acp/discovery.js.map +1 -0
- package/dist/acp/escrow.d.ts +139 -0
- package/dist/acp/escrow.js +880 -0
- package/dist/acp/escrow.js.map +1 -0
- package/dist/acp/identity.d.ts +135 -0
- package/dist/acp/identity.js +716 -0
- package/dist/acp/identity.js.map +1 -0
- package/dist/acp/index.d.ts +205 -0
- package/dist/acp/index.js +583 -0
- package/dist/acp/index.js.map +1 -0
- package/dist/acp/persistence.d.ts +59 -0
- package/dist/acp/persistence.js +590 -0
- package/dist/acp/persistence.js.map +1 -0
- package/dist/acp/predictions.d.ts +89 -0
- package/dist/acp/predictions.js +417 -0
- package/dist/acp/predictions.js.map +1 -0
- package/dist/acp/registry.d.ts +143 -0
- package/dist/acp/registry.js +584 -0
- package/dist/acp/registry.js.map +1 -0
- package/dist/agents/handlers/acp.d.ts +12 -0
- package/dist/agents/handlers/acp.js +987 -0
- package/dist/agents/handlers/acp.js.map +1 -0
- package/dist/agents/handlers/agentbets.d.ts +8 -0
- package/dist/agents/handlers/agentbets.js +63 -0
- package/dist/agents/handlers/agentbets.js.map +1 -0
- package/dist/agents/handlers/arbitrage.d.ts +16 -0
- package/dist/agents/handlers/arbitrage.js +187 -0
- package/dist/agents/handlers/arbitrage.js.map +1 -0
- package/dist/agents/handlers/betfair.d.ts +11 -0
- package/dist/agents/handlers/betfair.js +214 -0
- package/dist/agents/handlers/betfair.js.map +1 -0
- package/dist/agents/handlers/binance.d.ts +9 -0
- package/dist/agents/handlers/binance.js +227 -0
- package/dist/agents/handlers/binance.js.map +1 -0
- package/dist/agents/handlers/bittensor.d.ts +10 -0
- package/dist/agents/handlers/bittensor.js +90 -0
- package/dist/agents/handlers/bittensor.js.map +1 -0
- package/dist/agents/handlers/bybit.d.ts +9 -0
- package/dist/agents/handlers/bybit.js +226 -0
- package/dist/agents/handlers/bybit.js.map +1 -0
- package/dist/agents/handlers/credentials.d.ts +8 -0
- package/dist/agents/handlers/credentials.js +103 -0
- package/dist/agents/handlers/credentials.js.map +1 -0
- package/dist/agents/handlers/hyperliquid.d.ts +9 -0
- package/dist/agents/handlers/hyperliquid.js +326 -0
- package/dist/agents/handlers/hyperliquid.js.map +1 -0
- package/dist/agents/handlers/index.d.ts +82 -0
- package/dist/agents/handlers/index.js +143 -0
- package/dist/agents/handlers/index.js.map +1 -0
- package/dist/agents/handlers/kalshi.d.ts +10 -0
- package/dist/agents/handlers/kalshi.js +1377 -0
- package/dist/agents/handlers/kalshi.js.map +1 -0
- package/dist/agents/handlers/manifold.d.ts +9 -0
- package/dist/agents/handlers/manifold.js +1001 -0
- package/dist/agents/handlers/manifold.js.map +1 -0
- package/dist/agents/handlers/markets.d.ts +8 -0
- package/dist/agents/handlers/markets.js +321 -0
- package/dist/agents/handlers/markets.js.map +1 -0
- package/dist/agents/handlers/opinion.d.ts +11 -0
- package/dist/agents/handlers/opinion.js +374 -0
- package/dist/agents/handlers/opinion.js.map +1 -0
- package/dist/agents/handlers/paper-trading.d.ts +8 -0
- package/dist/agents/handlers/paper-trading.js +124 -0
- package/dist/agents/handlers/paper-trading.js.map +1 -0
- package/dist/agents/handlers/polymarket.d.ts +17 -0
- package/dist/agents/handlers/polymarket.js +455 -0
- package/dist/agents/handlers/polymarket.js.map +1 -0
- package/dist/agents/handlers/predictfun.d.ts +9 -0
- package/dist/agents/handlers/predictfun.js +488 -0
- package/dist/agents/handlers/predictfun.js.map +1 -0
- package/dist/agents/handlers/smarkets.d.ts +11 -0
- package/dist/agents/handlers/smarkets.js +205 -0
- package/dist/agents/handlers/smarkets.js.map +1 -0
- package/dist/agents/handlers/solana.d.ts +14 -0
- package/dist/agents/handlers/solana.js +1530 -0
- package/dist/agents/handlers/solana.js.map +1 -0
- package/dist/agents/handlers/types.d.ts +58 -0
- package/dist/agents/handlers/types.js +34 -0
- package/dist/agents/handlers/types.js.map +1 -0
- package/dist/agents/handlers/virtuals.d.ts +11 -0
- package/dist/agents/handlers/virtuals.js +135 -0
- package/dist/agents/handlers/virtuals.js.map +1 -0
- package/dist/agents/handlers/wallets.d.ts +9 -0
- package/dist/agents/handlers/wallets.js +222 -0
- package/dist/agents/handlers/wallets.js.map +1 -0
- package/dist/agents/index.d.ts +79 -0
- package/dist/agents/index.js +16690 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/subagents.d.ts +219 -0
- package/dist/agents/subagents.js +736 -0
- package/dist/agents/subagents.js.map +1 -0
- package/dist/alerts/index.d.ts +110 -0
- package/dist/alerts/index.js +421 -0
- package/dist/alerts/index.js.map +1 -0
- package/dist/alerts/realtime.d.ts +114 -0
- package/dist/alerts/realtime.js +262 -0
- package/dist/alerts/realtime.js.map +1 -0
- package/dist/api/apikeys.d.ts +74 -0
- package/dist/api/apikeys.js +319 -0
- package/dist/api/apikeys.js.map +1 -0
- package/dist/api/compute/code.d.ts +28 -0
- package/dist/api/compute/code.js +257 -0
- package/dist/api/compute/code.js.map +1 -0
- package/dist/api/compute/data.d.ts +72 -0
- package/dist/api/compute/data.js +264 -0
- package/dist/api/compute/data.js.map +1 -0
- package/dist/api/compute/gateway.d.ts +185 -0
- package/dist/api/compute/gateway.js +958 -0
- package/dist/api/compute/gateway.js.map +1 -0
- package/dist/api/compute/index.d.ts +21 -0
- package/dist/api/compute/index.js +46 -0
- package/dist/api/compute/index.js.map +1 -0
- package/dist/api/compute/llm.d.ts +64 -0
- package/dist/api/compute/llm.js +602 -0
- package/dist/api/compute/llm.js.map +1 -0
- package/dist/api/compute/persistence.d.ts +77 -0
- package/dist/api/compute/persistence.js +251 -0
- package/dist/api/compute/persistence.js.map +1 -0
- package/dist/api/compute/storage.d.ts +48 -0
- package/dist/api/compute/storage.js +283 -0
- package/dist/api/compute/storage.js.map +1 -0
- package/dist/api/compute/trade.d.ts +69 -0
- package/dist/api/compute/trade.js +460 -0
- package/dist/api/compute/trade.js.map +1 -0
- package/dist/api/compute/types.d.ts +271 -0
- package/dist/api/compute/types.js +87 -0
- package/dist/api/compute/types.js.map +1 -0
- package/dist/api/compute/web.d.ts +29 -0
- package/dist/api/compute/web.js +255 -0
- package/dist/api/compute/web.js.map +1 -0
- package/dist/api/custody.d.ts +48 -0
- package/dist/api/custody.js +272 -0
- package/dist/api/custody.js.map +1 -0
- package/dist/api/fees.d.ts +91 -0
- package/dist/api/fees.js +155 -0
- package/dist/api/fees.js.map +1 -0
- package/dist/api/gateway.d.ts +40 -0
- package/dist/api/gateway.js +569 -0
- package/dist/api/gateway.js.map +1 -0
- package/dist/api/index.d.ts +29 -0
- package/dist/api/index.js +55 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/jobs.d.ts +59 -0
- package/dist/api/jobs.js +362 -0
- package/dist/api/jobs.js.map +1 -0
- package/dist/api/middleware.d.ts +60 -0
- package/dist/api/middleware.js +315 -0
- package/dist/api/middleware.js.map +1 -0
- package/dist/api/prompt.d.ts +44 -0
- package/dist/api/prompt.js +345 -0
- package/dist/api/prompt.js.map +1 -0
- package/dist/api/sdk.d.ts +258 -0
- package/dist/api/sdk.js +341 -0
- package/dist/api/sdk.js.map +1 -0
- package/dist/api/server.d.ts +17 -0
- package/dist/api/server.js +852 -0
- package/dist/api/server.js.map +1 -0
- package/dist/api/types.d.ts +307 -0
- package/dist/api/types.js +64 -0
- package/dist/api/types.js.map +1 -0
- package/dist/arbitrage/index.d.ts +124 -0
- package/dist/arbitrage/index.js +482 -0
- package/dist/arbitrage/index.js.map +1 -0
- package/dist/auth/copilot.d.ts +87 -0
- package/dist/auth/copilot.js +328 -0
- package/dist/auth/copilot.js.map +1 -0
- package/dist/auth/google.d.ts +121 -0
- package/dist/auth/google.js +479 -0
- package/dist/auth/google.js.map +1 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +25 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/oauth.d.ts +94 -0
- package/dist/auth/oauth.js +502 -0
- package/dist/auth/oauth.js.map +1 -0
- package/dist/auth/qwen.d.ts +110 -0
- package/dist/auth/qwen.js +351 -0
- package/dist/auth/qwen.js.map +1 -0
- package/dist/auto-reply/index.d.ts +143 -0
- package/dist/auto-reply/index.js +391 -0
- package/dist/auto-reply/index.js.map +1 -0
- package/dist/automation/cron.d.ts +66 -0
- package/dist/automation/cron.js +226 -0
- package/dist/automation/cron.js.map +1 -0
- package/dist/automation/heartbeats.d.ts +63 -0
- package/dist/automation/heartbeats.js +144 -0
- package/dist/automation/heartbeats.js.map +1 -0
- package/dist/automation/index.d.ts +9 -0
- package/dist/automation/index.js +15 -0
- package/dist/automation/index.js.map +1 -0
- package/dist/automation/webhooks.d.ts +60 -0
- package/dist/automation/webhooks.js +225 -0
- package/dist/automation/webhooks.js.map +1 -0
- package/dist/bankr/client.d.ts +86 -0
- package/dist/bankr/client.js +177 -0
- package/dist/bankr/client.js.map +1 -0
- package/dist/bankr/index.d.ts +6 -0
- package/dist/bankr/index.js +23 -0
- package/dist/bankr/index.js.map +1 -0
- package/dist/base/index.d.ts +6 -0
- package/dist/base/index.js +23 -0
- package/dist/base/index.js.map +1 -0
- package/dist/base/provider.d.ts +27 -0
- package/dist/base/provider.js +128 -0
- package/dist/base/provider.js.map +1 -0
- package/dist/bin/worker.d.ts +31 -0
- package/dist/bin/worker.js +127 -0
- package/dist/bin/worker.js.map +1 -0
- package/dist/bittensor/chutes.d.ts +14 -0
- package/dist/bittensor/chutes.js +141 -0
- package/dist/bittensor/chutes.js.map +1 -0
- package/dist/bittensor/index.d.ts +7 -0
- package/dist/bittensor/index.js +13 -0
- package/dist/bittensor/index.js.map +1 -0
- package/dist/bittensor/persistence.d.ts +8 -0
- package/dist/bittensor/persistence.js +188 -0
- package/dist/bittensor/persistence.js.map +1 -0
- package/dist/bittensor/plugin.d.ts +30 -0
- package/dist/bittensor/plugin.js +134 -0
- package/dist/bittensor/plugin.js.map +1 -0
- package/dist/bittensor/python-runner.d.ts +7 -0
- package/dist/bittensor/python-runner.js +83 -0
- package/dist/bittensor/python-runner.js.map +1 -0
- package/dist/bittensor/server.d.ts +7 -0
- package/dist/bittensor/server.js +110 -0
- package/dist/bittensor/server.js.map +1 -0
- package/dist/bittensor/service.d.ts +7 -0
- package/dist/bittensor/service.js +291 -0
- package/dist/bittensor/service.js.map +1 -0
- package/dist/bittensor/tool.d.ts +45 -0
- package/dist/bittensor/tool.js +147 -0
- package/dist/bittensor/tool.js.map +1 -0
- package/dist/bittensor/types.d.ts +188 -0
- package/dist/bittensor/types.js +6 -0
- package/dist/bittensor/types.js.map +1 -0
- package/dist/bittensor/wallet.d.ts +18 -0
- package/dist/bittensor/wallet.js +192 -0
- package/dist/bittensor/wallet.js.map +1 -0
- package/dist/bridge/wormhole.d.ts +239 -0
- package/dist/bridge/wormhole.js +404 -0
- package/dist/bridge/wormhole.js.map +1 -0
- package/dist/browser/index.d.ts +67 -0
- package/dist/browser/index.js +458 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/cache/index.d.ts +105 -0
- package/dist/cache/index.js +306 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/canvas/index.d.ts +66 -0
- package/dist/canvas/index.js +391 -0
- package/dist/canvas/index.js.map +1 -0
- package/dist/channels/base-adapter.d.ts +126 -0
- package/dist/channels/base-adapter.js +416 -0
- package/dist/channels/base-adapter.js.map +1 -0
- package/dist/channels/bluebubbles/index.d.ts +23 -0
- package/dist/channels/bluebubbles/index.js +182 -0
- package/dist/channels/bluebubbles/index.js.map +1 -0
- package/dist/channels/discord/index.d.ts +25 -0
- package/dist/channels/discord/index.js +419 -0
- package/dist/channels/discord/index.js.map +1 -0
- package/dist/channels/googlechat/index.d.ts +35 -0
- package/dist/channels/googlechat/index.js +223 -0
- package/dist/channels/googlechat/index.js.map +1 -0
- package/dist/channels/imessage/index.d.ts +28 -0
- package/dist/channels/imessage/index.js +340 -0
- package/dist/channels/imessage/index.js.map +1 -0
- package/dist/channels/index.d.ts +58 -0
- package/dist/channels/index.js +382 -0
- package/dist/channels/index.js.map +1 -0
- package/dist/channels/line/index.d.ts +307 -0
- package/dist/channels/line/index.js +760 -0
- package/dist/channels/line/index.js.map +1 -0
- package/dist/channels/matrix/index.d.ts +35 -0
- package/dist/channels/matrix/index.js +328 -0
- package/dist/channels/matrix/index.js.map +1 -0
- package/dist/channels/mattermost/index.d.ts +25 -0
- package/dist/channels/mattermost/index.js +239 -0
- package/dist/channels/mattermost/index.js.map +1 -0
- package/dist/channels/nextcloud-talk/index.d.ts +25 -0
- package/dist/channels/nextcloud-talk/index.js +175 -0
- package/dist/channels/nextcloud-talk/index.js.map +1 -0
- package/dist/channels/nostr/index.d.ts +21 -0
- package/dist/channels/nostr/index.js +278 -0
- package/dist/channels/nostr/index.js.map +1 -0
- package/dist/channels/signal/index.d.ts +33 -0
- package/dist/channels/signal/index.js +333 -0
- package/dist/channels/signal/index.js.map +1 -0
- package/dist/channels/slack/index.d.ts +26 -0
- package/dist/channels/slack/index.js +266 -0
- package/dist/channels/slack/index.js.map +1 -0
- package/dist/channels/teams/index.d.ts +42 -0
- package/dist/channels/teams/index.js +312 -0
- package/dist/channels/teams/index.js.map +1 -0
- package/dist/channels/telegram/index.d.ts +9 -0
- package/dist/channels/telegram/index.js +761 -0
- package/dist/channels/telegram/index.js.map +1 -0
- package/dist/channels/tlon/index.d.ts +25 -0
- package/dist/channels/tlon/index.js +236 -0
- package/dist/channels/tlon/index.js.map +1 -0
- package/dist/channels/twitch/index.d.ts +25 -0
- package/dist/channels/twitch/index.js +182 -0
- package/dist/channels/twitch/index.js.map +1 -0
- package/dist/channels/voice/index.d.ts +31 -0
- package/dist/channels/voice/index.js +208 -0
- package/dist/channels/voice/index.js.map +1 -0
- package/dist/channels/webchat/index.d.ts +29 -0
- package/dist/channels/webchat/index.js +366 -0
- package/dist/channels/webchat/index.js.map +1 -0
- package/dist/channels/whatsapp/index.d.ts +72 -0
- package/dist/channels/whatsapp/index.js +767 -0
- package/dist/channels/whatsapp/index.js.map +1 -0
- package/dist/channels/zalo/index.d.ts +45 -0
- package/dist/channels/zalo/index.js +285 -0
- package/dist/channels/zalo/index.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +23 -0
- package/dist/cli/commands/doctor.js +649 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/gateway.d.ts +6 -0
- package/dist/cli/commands/gateway.js +32 -0
- package/dist/cli/commands/gateway.js.map +1 -0
- package/dist/cli/commands/index.d.ts +31 -0
- package/dist/cli/commands/index.js +3743 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/onboard.d.ts +4 -0
- package/dist/cli/commands/onboard.js +334 -0
- package/dist/cli/commands/onboard.js.map +1 -0
- package/dist/cli/commands/repl.d.ts +11 -0
- package/dist/cli/commands/repl.js +185 -0
- package/dist/cli/commands/repl.js.map +1 -0
- package/dist/cli/commands/skills.d.ts +29 -0
- package/dist/cli/commands/skills.js +297 -0
- package/dist/cli/commands/skills.js.map +1 -0
- package/dist/cli/index.d.ts +12 -0
- package/dist/cli/index.js +449 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/secure.d.ts +14 -0
- package/dist/cli/secure.js +626 -0
- package/dist/cli/secure.js.map +1 -0
- package/dist/commands/index.d.ts +61 -0
- package/dist/commands/index.js +290 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/registry.d.ts +69 -0
- package/dist/commands/registry.js +3142 -0
- package/dist/commands/registry.js.map +1 -0
- package/dist/config/index.d.ts +465 -0
- package/dist/config/index.js +1451 -0
- package/dist/config/index.js.map +1 -0
- package/dist/credentials/index.d.ts +51 -0
- package/dist/credentials/index.js +270 -0
- package/dist/credentials/index.js.map +1 -0
- package/dist/cron/index.d.ts +151 -0
- package/dist/cron/index.js +1283 -0
- package/dist/cron/index.js.map +1 -0
- package/dist/cron/types.d.ts +102 -0
- package/dist/cron/types.js +6 -0
- package/dist/cron/types.js.map +1 -0
- package/dist/daemon/index.d.ts +23 -0
- package/dist/daemon/index.js +159 -0
- package/dist/daemon/index.js.map +1 -0
- package/dist/db/index.d.ts +825 -0
- package/dist/db/index.js +3382 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/migrations.d.ts +70 -0
- package/dist/db/migrations.js +1373 -0
- package/dist/db/migrations.js.map +1 -0
- package/dist/docker/index.d.ts +188 -0
- package/dist/docker/index.js +571 -0
- package/dist/docker/index.js.map +1 -0
- package/dist/doctor/index.d.ts +47 -0
- package/dist/doctor/index.js +379 -0
- package/dist/doctor/index.js.map +1 -0
- package/dist/embeddings/index.d.ts +65 -0
- package/dist/embeddings/index.js +399 -0
- package/dist/embeddings/index.js.map +1 -0
- package/dist/evm/contracts.d.ts +112 -0
- package/dist/evm/contracts.js +332 -0
- package/dist/evm/contracts.js.map +1 -0
- package/dist/evm/index.d.ts +21 -0
- package/dist/evm/index.js +45 -0
- package/dist/evm/index.js.map +1 -0
- package/dist/evm/multichain.d.ts +87 -0
- package/dist/evm/multichain.js +308 -0
- package/dist/evm/multichain.js.map +1 -0
- package/dist/evm/odos.d.ts +62 -0
- package/dist/evm/odos.js +261 -0
- package/dist/evm/odos.js.map +1 -0
- package/dist/evm/oneinch.d.ts +55 -0
- package/dist/evm/oneinch.js +324 -0
- package/dist/evm/oneinch.js.map +1 -0
- package/dist/evm/transfers.d.ts +83 -0
- package/dist/evm/transfers.js +393 -0
- package/dist/evm/transfers.js.map +1 -0
- package/dist/evm/uniswap.d.ts +56 -0
- package/dist/evm/uniswap.js +307 -0
- package/dist/evm/uniswap.js.map +1 -0
- package/dist/evm/virtuals.d.ts +220 -0
- package/dist/evm/virtuals.js +735 -0
- package/dist/evm/virtuals.js.map +1 -0
- package/dist/evm/wallet.d.ts +96 -0
- package/dist/evm/wallet.js +258 -0
- package/dist/evm/wallet.js.map +1 -0
- package/dist/exchanges/binance-futures/index.d.ts +83 -0
- package/dist/exchanges/binance-futures/index.js +394 -0
- package/dist/exchanges/binance-futures/index.js.map +1 -0
- package/dist/exchanges/bybit/index.d.ts +78 -0
- package/dist/exchanges/bybit/index.js +379 -0
- package/dist/exchanges/bybit/index.js.map +1 -0
- package/dist/exchanges/hyperliquid/index.d.ts +594 -0
- package/dist/exchanges/hyperliquid/index.js +1101 -0
- package/dist/exchanges/hyperliquid/index.js.map +1 -0
- package/dist/exchanges/mexc/index.d.ts +80 -0
- package/dist/exchanges/mexc/index.js +389 -0
- package/dist/exchanges/mexc/index.js.map +1 -0
- package/dist/exchanges/opinion/index.d.ts +128 -0
- package/dist/exchanges/opinion/index.js +443 -0
- package/dist/exchanges/opinion/index.js.map +1 -0
- package/dist/exchanges/predictfun/index.d.ts +107 -0
- package/dist/exchanges/predictfun/index.js +398 -0
- package/dist/exchanges/predictfun/index.js.map +1 -0
- package/dist/execution/auto-redeem.d.ts +55 -0
- package/dist/execution/auto-redeem.js +324 -0
- package/dist/execution/auto-redeem.js.map +1 -0
- package/dist/execution/bracket-orders.d.ts +84 -0
- package/dist/execution/bracket-orders.js +387 -0
- package/dist/execution/bracket-orders.js.map +1 -0
- package/dist/execution/circuit-breaker.d.ts +87 -0
- package/dist/execution/circuit-breaker.js +274 -0
- package/dist/execution/circuit-breaker.js.map +1 -0
- package/dist/execution/dca-persistence.d.ts +47 -0
- package/dist/execution/dca-persistence.js +159 -0
- package/dist/execution/dca-persistence.js.map +1 -0
- package/dist/execution/dca.d.ts +60 -0
- package/dist/execution/dca.js +273 -0
- package/dist/execution/dca.js.map +1 -0
- package/dist/execution/futures.d.ts +162 -0
- package/dist/execution/futures.js +1336 -0
- package/dist/execution/futures.js.map +1 -0
- package/dist/execution/index.d.ts +346 -0
- package/dist/execution/index.js +2532 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/execution/mev-protection.d.ts +150 -0
- package/dist/execution/mev-protection.js +377 -0
- package/dist/execution/mev-protection.js.map +1 -0
- package/dist/execution/order-persistence.d.ts +81 -0
- package/dist/execution/order-persistence.js +350 -0
- package/dist/execution/order-persistence.js.map +1 -0
- package/dist/execution/position-manager.d.ts +142 -0
- package/dist/execution/position-manager.js +404 -0
- package/dist/execution/position-manager.js.map +1 -0
- package/dist/execution/smart-router.d.ts +90 -0
- package/dist/execution/smart-router.js +323 -0
- package/dist/execution/smart-router.js.map +1 -0
- package/dist/execution/trigger-orders.d.ts +81 -0
- package/dist/execution/trigger-orders.js +266 -0
- package/dist/execution/trigger-orders.js.map +1 -0
- package/dist/execution/twap.d.ts +87 -0
- package/dist/execution/twap.js +405 -0
- package/dist/execution/twap.js.map +1 -0
- package/dist/extensions/copilot-proxy/index.d.ts +49 -0
- package/dist/extensions/copilot-proxy/index.js +204 -0
- package/dist/extensions/copilot-proxy/index.js.map +1 -0
- package/dist/extensions/diagnostics-otel/index.d.ts +54 -0
- package/dist/extensions/diagnostics-otel/index.js +290 -0
- package/dist/extensions/diagnostics-otel/index.js.map +1 -0
- package/dist/extensions/google-auth/index.d.ts +71 -0
- package/dist/extensions/google-auth/index.js +350 -0
- package/dist/extensions/google-auth/index.js.map +1 -0
- package/dist/extensions/index.d.ts +11 -0
- package/dist/extensions/index.js +29 -0
- package/dist/extensions/index.js.map +1 -0
- package/dist/extensions/llm-task/index.d.ts +80 -0
- package/dist/extensions/llm-task/index.js +248 -0
- package/dist/extensions/llm-task/index.js.map +1 -0
- package/dist/extensions/lobster/index.d.ts +69 -0
- package/dist/extensions/lobster/index.js +178 -0
- package/dist/extensions/lobster/index.js.map +1 -0
- package/dist/extensions/memory-lancedb/index.d.ts +62 -0
- package/dist/extensions/memory-lancedb/index.js +343 -0
- package/dist/extensions/memory-lancedb/index.js.map +1 -0
- package/dist/extensions/open-prose/index.d.ts +82 -0
- package/dist/extensions/open-prose/index.js +565 -0
- package/dist/extensions/open-prose/index.js.map +1 -0
- package/dist/extensions/qwen-portal/index.d.ts +48 -0
- package/dist/extensions/qwen-portal/index.js +161 -0
- package/dist/extensions/qwen-portal/index.js.map +1 -0
- package/dist/extensions/task-runner/index.d.ts +121 -0
- package/dist/extensions/task-runner/index.js +640 -0
- package/dist/extensions/task-runner/index.js.map +1 -0
- package/dist/farcaster/client.d.ts +101 -0
- package/dist/farcaster/client.js +282 -0
- package/dist/farcaster/client.js.map +1 -0
- package/dist/farcaster/index.d.ts +4 -0
- package/dist/farcaster/index.js +21 -0
- package/dist/farcaster/index.js.map +1 -0
- package/dist/feeds/acled/index.d.ts +86 -0
- package/dist/feeds/acled/index.js +215 -0
- package/dist/feeds/acled/index.js.map +1 -0
- package/dist/feeds/agentbets/index.d.ts +17 -0
- package/dist/feeds/agentbets/index.js +137 -0
- package/dist/feeds/agentbets/index.js.map +1 -0
- package/dist/feeds/betfair/index.d.ts +132 -0
- package/dist/feeds/betfair/index.js +640 -0
- package/dist/feeds/betfair/index.js.map +1 -0
- package/dist/feeds/crypto/index.d.ts +101 -0
- package/dist/feeds/crypto/index.js +506 -0
- package/dist/feeds/crypto/index.js.map +1 -0
- package/dist/feeds/crypto/whale-tracker.d.ts +138 -0
- package/dist/feeds/crypto/whale-tracker.js +685 -0
- package/dist/feeds/crypto/whale-tracker.js.map +1 -0
- package/dist/feeds/descriptors.d.ts +14 -0
- package/dist/feeds/descriptors.js +582 -0
- package/dist/feeds/descriptors.js.map +1 -0
- package/dist/feeds/drift/index.d.ts +23 -0
- package/dist/feeds/drift/index.js +182 -0
- package/dist/feeds/drift/index.js.map +1 -0
- package/dist/feeds/drift/trading.d.ts +75 -0
- package/dist/feeds/drift/trading.js +457 -0
- package/dist/feeds/drift/trading.js.map +1 -0
- package/dist/feeds/external/index.d.ts +48 -0
- package/dist/feeds/external/index.js +575 -0
- package/dist/feeds/external/index.js.map +1 -0
- package/dist/feeds/fred/index.d.ts +134 -0
- package/dist/feeds/fred/index.js +263 -0
- package/dist/feeds/fred/index.js.map +1 -0
- package/dist/feeds/freshness.d.ts +79 -0
- package/dist/feeds/freshness.js +259 -0
- package/dist/feeds/freshness.js.map +1 -0
- package/dist/feeds/hedgehog/index.d.ts +24 -0
- package/dist/feeds/hedgehog/index.js +589 -0
- package/dist/feeds/hedgehog/index.js.map +1 -0
- package/dist/feeds/hedgehog/types.d.ts +215 -0
- package/dist/feeds/hedgehog/types.js +7 -0
- package/dist/feeds/hedgehog/types.js.map +1 -0
- package/dist/feeds/index.d.ts +38 -0
- package/dist/feeds/index.js +469 -0
- package/dist/feeds/index.js.map +1 -0
- package/dist/feeds/kalshi/index.d.ts +116 -0
- package/dist/feeds/kalshi/index.js +970 -0
- package/dist/feeds/kalshi/index.js.map +1 -0
- package/dist/feeds/manifold/index.d.ts +15 -0
- package/dist/feeds/manifold/index.js +269 -0
- package/dist/feeds/manifold/index.js.map +1 -0
- package/dist/feeds/metaculus/index.d.ts +22 -0
- package/dist/feeds/metaculus/index.js +149 -0
- package/dist/feeds/metaculus/index.js.map +1 -0
- package/dist/feeds/news/index.d.ts +20 -0
- package/dist/feeds/news/index.js +308 -0
- package/dist/feeds/news/index.js.map +1 -0
- package/dist/feeds/opinion/index.d.ts +31 -0
- package/dist/feeds/opinion/index.js +389 -0
- package/dist/feeds/opinion/index.js.map +1 -0
- package/dist/feeds/polymarket/index.d.ts +21 -0
- package/dist/feeds/polymarket/index.js +501 -0
- package/dist/feeds/polymarket/index.js.map +1 -0
- package/dist/feeds/polymarket/rtds.d.ts +40 -0
- package/dist/feeds/polymarket/rtds.js +159 -0
- package/dist/feeds/polymarket/rtds.js.map +1 -0
- package/dist/feeds/polymarket/user-ws.d.ts +64 -0
- package/dist/feeds/polymarket/user-ws.js +230 -0
- package/dist/feeds/polymarket/user-ws.js.map +1 -0
- package/dist/feeds/polymarket/whale-tracker.d.ts +152 -0
- package/dist/feeds/polymarket/whale-tracker.js +709 -0
- package/dist/feeds/polymarket/whale-tracker.js.map +1 -0
- package/dist/feeds/predictfun/index.d.ts +24 -0
- package/dist/feeds/predictfun/index.js +234 -0
- package/dist/feeds/predictfun/index.js.map +1 -0
- package/dist/feeds/predictit/index.d.ts +14 -0
- package/dist/feeds/predictit/index.js +88 -0
- package/dist/feeds/predictit/index.js.map +1 -0
- package/dist/feeds/registry.d.ts +148 -0
- package/dist/feeds/registry.js +197 -0
- package/dist/feeds/registry.js.map +1 -0
- package/dist/feeds/smarkets/index.d.ts +76 -0
- package/dist/feeds/smarkets/index.js +415 -0
- package/dist/feeds/smarkets/index.js.map +1 -0
- package/dist/feeds/virtuals/index.d.ts +92 -0
- package/dist/feeds/virtuals/index.js +341 -0
- package/dist/feeds/virtuals/index.js.map +1 -0
- package/dist/feeds/weather-nws/index.d.ts +73 -0
- package/dist/feeds/weather-nws/index.js +162 -0
- package/dist/feeds/weather-nws/index.js.map +1 -0
- package/dist/feeds/weather-openmeteo/index.d.ts +80 -0
- package/dist/feeds/weather-openmeteo/index.js +197 -0
- package/dist/feeds/weather-openmeteo/index.js.map +1 -0
- package/dist/gateway/alerts-routes.d.ts +15 -0
- package/dist/gateway/alerts-routes.js +188 -0
- package/dist/gateway/alerts-routes.js.map +1 -0
- package/dist/gateway/alt-data-routes.d.ts +15 -0
- package/dist/gateway/alt-data-routes.js +67 -0
- package/dist/gateway/alt-data-routes.js.map +1 -0
- package/dist/gateway/api-routes.d.ts +39 -0
- package/dist/gateway/api-routes.js +1028 -0
- package/dist/gateway/api-routes.js.map +1 -0
- package/dist/gateway/audit-routes.d.ts +8 -0
- package/dist/gateway/audit-routes.js +61 -0
- package/dist/gateway/audit-routes.js.map +1 -0
- package/dist/gateway/bracket-routes.d.ts +12 -0
- package/dist/gateway/bracket-routes.js +122 -0
- package/dist/gateway/bracket-routes.js.map +1 -0
- package/dist/gateway/control-ui.d.ts +45 -0
- package/dist/gateway/control-ui.js +301 -0
- package/dist/gateway/control-ui.js.map +1 -0
- package/dist/gateway/copy-trading-routes.d.ts +12 -0
- package/dist/gateway/copy-trading-routes.js +159 -0
- package/dist/gateway/copy-trading-routes.js.map +1 -0
- package/dist/gateway/cron-routes.d.ts +14 -0
- package/dist/gateway/cron-routes.js +132 -0
- package/dist/gateway/cron-routes.js.map +1 -0
- package/dist/gateway/dca-routes.d.ts +8 -0
- package/dist/gateway/dca-routes.js +179 -0
- package/dist/gateway/dca-routes.js.map +1 -0
- package/dist/gateway/embeddings-routes.d.ts +12 -0
- package/dist/gateway/embeddings-routes.js +102 -0
- package/dist/gateway/embeddings-routes.js.map +1 -0
- package/dist/gateway/feeds-routes.d.ts +34 -0
- package/dist/gateway/feeds-routes.js +167 -0
- package/dist/gateway/feeds-routes.js.map +1 -0
- package/dist/gateway/index.d.ts +100 -0
- package/dist/gateway/index.js +2321 -0
- package/dist/gateway/index.js.map +1 -0
- package/dist/gateway/monitoring-routes.d.ts +12 -0
- package/dist/gateway/monitoring-routes.js +73 -0
- package/dist/gateway/monitoring-routes.js.map +1 -0
- package/dist/gateway/opportunity-routes.d.ts +12 -0
- package/dist/gateway/opportunity-routes.js +238 -0
- package/dist/gateway/opportunity-routes.js.map +1 -0
- package/dist/gateway/payments-routes.d.ts +14 -0
- package/dist/gateway/payments-routes.js +82 -0
- package/dist/gateway/payments-routes.js.map +1 -0
- package/dist/gateway/percolator-routes.d.ts +16 -0
- package/dist/gateway/percolator-routes.js +139 -0
- package/dist/gateway/percolator-routes.js.map +1 -0
- package/dist/gateway/queue-routes.d.ts +12 -0
- package/dist/gateway/queue-routes.js +47 -0
- package/dist/gateway/queue-routes.js.map +1 -0
- package/dist/gateway/risk-routes.d.ts +12 -0
- package/dist/gateway/risk-routes.js +119 -0
- package/dist/gateway/risk-routes.js.map +1 -0
- package/dist/gateway/routing-routes.d.ts +12 -0
- package/dist/gateway/routing-routes.js +86 -0
- package/dist/gateway/routing-routes.js.map +1 -0
- package/dist/gateway/server.d.ts +215 -0
- package/dist/gateway/server.js +2287 -0
- package/dist/gateway/server.js.map +1 -0
- package/dist/gateway/shield-routes.d.ts +8 -0
- package/dist/gateway/shield-routes.js +88 -0
- package/dist/gateway/shield-routes.js.map +1 -0
- package/dist/gateway/signal-bus.d.ts +51 -0
- package/dist/gateway/signal-bus.js +64 -0
- package/dist/gateway/signal-bus.js.map +1 -0
- package/dist/gateway/trigger-routes.d.ts +12 -0
- package/dist/gateway/trigger-routes.js +127 -0
- package/dist/gateway/trigger-routes.js.map +1 -0
- package/dist/gateway/twap-routes.d.ts +12 -0
- package/dist/gateway/twap-routes.js +142 -0
- package/dist/gateway/twap-routes.js.map +1 -0
- package/dist/gateway/webhooks-routes.d.ts +31 -0
- package/dist/gateway/webhooks-routes.js +107 -0
- package/dist/gateway/webhooks-routes.js.map +1 -0
- package/dist/gateway/whale-routes.d.ts +12 -0
- package/dist/gateway/whale-routes.js +204 -0
- package/dist/gateway/whale-routes.js.map +1 -0
- package/dist/history/index.d.ts +81 -0
- package/dist/history/index.js +362 -0
- package/dist/history/index.js.map +1 -0
- package/dist/hooks/index.d.ts +279 -0
- package/dist/hooks/index.js +739 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/i18n/index.d.ts +65 -0
- package/dist/i18n/index.js +183 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/identity/erc8004.d.ts +104 -0
- package/dist/identity/erc8004.js +493 -0
- package/dist/identity/erc8004.js.map +1 -0
- package/dist/identity/index.d.ts +1 -0
- package/dist/identity/index.js +18 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +240 -0
- package/dist/index.js.map +1 -0
- package/dist/infra/index.d.ts +133 -0
- package/dist/infra/index.js +481 -0
- package/dist/infra/index.js.map +1 -0
- package/dist/infra/retry.d.ts +132 -0
- package/dist/infra/retry.js +450 -0
- package/dist/infra/retry.js.map +1 -0
- package/dist/ledger/anchor.d.ts +45 -0
- package/dist/ledger/anchor.js +271 -0
- package/dist/ledger/anchor.js.map +1 -0
- package/dist/ledger/hash.d.ts +26 -0
- package/dist/ledger/hash.js +69 -0
- package/dist/ledger/hash.js.map +1 -0
- package/dist/ledger/hooks.d.ts +107 -0
- package/dist/ledger/hooks.js +314 -0
- package/dist/ledger/hooks.js.map +1 -0
- package/dist/ledger/index.d.ts +67 -0
- package/dist/ledger/index.js +221 -0
- package/dist/ledger/index.js.map +1 -0
- package/dist/ledger/storage.d.ts +57 -0
- package/dist/ledger/storage.js +368 -0
- package/dist/ledger/storage.js.map +1 -0
- package/dist/ledger/types.d.ts +138 -0
- package/dist/ledger/types.js +16 -0
- package/dist/ledger/types.js.map +1 -0
- package/dist/link-understanding/index.d.ts +61 -0
- package/dist/link-understanding/index.js +320 -0
- package/dist/link-understanding/index.js.map +1 -0
- package/dist/logging/index.d.ts +50 -0
- package/dist/logging/index.js +255 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/macos/index.d.ts +143 -0
- package/dist/macos/index.js +587 -0
- package/dist/macos/index.js.map +1 -0
- package/dist/markdown/index.d.ts +43 -0
- package/dist/markdown/index.js +305 -0
- package/dist/markdown/index.js.map +1 -0
- package/dist/market-index/index.d.ts +51 -0
- package/dist/market-index/index.js +553 -0
- package/dist/market-index/index.js.map +1 -0
- package/dist/mcp/index.d.ts +263 -0
- package/dist/mcp/index.js +940 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/installer.d.ts +11 -0
- package/dist/mcp/installer.js +128 -0
- package/dist/mcp/installer.js.map +1 -0
- package/dist/mcp/server.d.ts +7 -0
- package/dist/mcp/server.js +172 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/media/index.d.ts +119 -0
- package/dist/media/index.js +740 -0
- package/dist/media/index.js.map +1 -0
- package/dist/memory/context.d.ts +189 -0
- package/dist/memory/context.js +541 -0
- package/dist/memory/context.js.map +1 -0
- package/dist/memory/index.d.ts +74 -0
- package/dist/memory/index.js +352 -0
- package/dist/memory/index.js.map +1 -0
- package/dist/memory/summarizer.d.ts +10 -0
- package/dist/memory/summarizer.js +51 -0
- package/dist/memory/summarizer.js.map +1 -0
- package/dist/memory/tokenizer.d.ts +4 -0
- package/dist/memory/tokenizer.js +61 -0
- package/dist/memory/tokenizer.js.map +1 -0
- package/dist/messages/unified.d.ts +7 -0
- package/dist/messages/unified.js +77 -0
- package/dist/messages/unified.js.map +1 -0
- package/dist/ml-pipeline/collector.d.ts +23 -0
- package/dist/ml-pipeline/collector.js +176 -0
- package/dist/ml-pipeline/collector.js.map +1 -0
- package/dist/ml-pipeline/index.d.ts +21 -0
- package/dist/ml-pipeline/index.js +72 -0
- package/dist/ml-pipeline/index.js.map +1 -0
- package/dist/ml-pipeline/trainer.d.ts +32 -0
- package/dist/ml-pipeline/trainer.js +228 -0
- package/dist/ml-pipeline/trainer.js.map +1 -0
- package/dist/ml-pipeline/types.d.ts +51 -0
- package/dist/ml-pipeline/types.js +23 -0
- package/dist/ml-pipeline/types.js.map +1 -0
- package/dist/models/adaptive.d.ts +11 -0
- package/dist/models/adaptive.js +64 -0
- package/dist/models/adaptive.js.map +1 -0
- package/dist/models/failover.d.ts +51 -0
- package/dist/models/failover.js +151 -0
- package/dist/models/failover.js.map +1 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +13 -0
- package/dist/models/index.js.map +1 -0
- package/dist/monitoring/alerts.d.ts +185 -0
- package/dist/monitoring/alerts.js +565 -0
- package/dist/monitoring/alerts.js.map +1 -0
- package/dist/monitoring/health.d.ts +151 -0
- package/dist/monitoring/health.js +423 -0
- package/dist/monitoring/health.js.map +1 -0
- package/dist/monitoring/index.d.ts +25 -0
- package/dist/monitoring/index.js +258 -0
- package/dist/monitoring/index.js.map +1 -0
- package/dist/monitoring/metrics.d.ts +147 -0
- package/dist/monitoring/metrics.js +519 -0
- package/dist/monitoring/metrics.js.map +1 -0
- package/dist/nodes/index.d.ts +81 -0
- package/dist/nodes/index.js +475 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/opportunity/analytics.d.ts +221 -0
- package/dist/opportunity/analytics.js +678 -0
- package/dist/opportunity/analytics.js.map +1 -0
- package/dist/opportunity/combinatorial.d.ts +147 -0
- package/dist/opportunity/combinatorial.js +765 -0
- package/dist/opportunity/combinatorial.js.map +1 -0
- package/dist/opportunity/correlation.d.ts +107 -0
- package/dist/opportunity/correlation.js +410 -0
- package/dist/opportunity/correlation.js.map +1 -0
- package/dist/opportunity/executor.d.ts +108 -0
- package/dist/opportunity/executor.js +356 -0
- package/dist/opportunity/executor.js.map +1 -0
- package/dist/opportunity/index.d.ts +285 -0
- package/dist/opportunity/index.js +839 -0
- package/dist/opportunity/index.js.map +1 -0
- package/dist/opportunity/links.d.ts +87 -0
- package/dist/opportunity/links.js +344 -0
- package/dist/opportunity/links.js.map +1 -0
- package/dist/opportunity/matching.d.ts +101 -0
- package/dist/opportunity/matching.js +551 -0
- package/dist/opportunity/matching.js.map +1 -0
- package/dist/opportunity/outcomes.d.ts +74 -0
- package/dist/opportunity/outcomes.js +321 -0
- package/dist/opportunity/outcomes.js.map +1 -0
- package/dist/opportunity/risk.d.ts +128 -0
- package/dist/opportunity/risk.js +381 -0
- package/dist/opportunity/risk.js.map +1 -0
- package/dist/opportunity/scoring.d.ts +151 -0
- package/dist/opportunity/scoring.js +421 -0
- package/dist/opportunity/scoring.js.map +1 -0
- package/dist/pairing/index.d.ts +108 -0
- package/dist/pairing/index.js +431 -0
- package/dist/pairing/index.js.map +1 -0
- package/dist/payments/index.d.ts +12 -0
- package/dist/payments/index.js +34 -0
- package/dist/payments/index.js.map +1 -0
- package/dist/payments/x402/evm.d.ts +53 -0
- package/dist/payments/x402/evm.js +282 -0
- package/dist/payments/x402/evm.js.map +1 -0
- package/dist/payments/x402/index.d.ts +158 -0
- package/dist/payments/x402/index.js +531 -0
- package/dist/payments/x402/index.js.map +1 -0
- package/dist/payments/x402/solana.d.ts +51 -0
- package/dist/payments/x402/solana.js +397 -0
- package/dist/payments/x402/solana.js.map +1 -0
- package/dist/percolator/accounts.d.ts +21 -0
- package/dist/percolator/accounts.js +76 -0
- package/dist/percolator/accounts.js.map +1 -0
- package/dist/percolator/encode.d.ts +14 -0
- package/dist/percolator/encode.js +90 -0
- package/dist/percolator/encode.js.map +1 -0
- package/dist/percolator/execution.d.ts +29 -0
- package/dist/percolator/execution.js +239 -0
- package/dist/percolator/execution.js.map +1 -0
- package/dist/percolator/feed.d.ts +15 -0
- package/dist/percolator/feed.js +160 -0
- package/dist/percolator/feed.js.map +1 -0
- package/dist/percolator/index.d.ts +20 -0
- package/dist/percolator/index.js +24 -0
- package/dist/percolator/index.js.map +1 -0
- package/dist/percolator/instructions.d.ts +29 -0
- package/dist/percolator/instructions.js +52 -0
- package/dist/percolator/instructions.js.map +1 -0
- package/dist/percolator/keeper.d.ts +11 -0
- package/dist/percolator/keeper.js +83 -0
- package/dist/percolator/keeper.js.map +1 -0
- package/dist/percolator/pda.d.ts +15 -0
- package/dist/percolator/pda.js +26 -0
- package/dist/percolator/pda.js.map +1 -0
- package/dist/percolator/slab.d.ts +122 -0
- package/dist/percolator/slab.js +325 -0
- package/dist/percolator/slab.js.map +1 -0
- package/dist/percolator/tx.d.ts +27 -0
- package/dist/percolator/tx.js +77 -0
- package/dist/percolator/tx.js.map +1 -0
- package/dist/percolator/types.d.ts +51 -0
- package/dist/percolator/types.js +9 -0
- package/dist/percolator/types.js.map +1 -0
- package/dist/permissions/index.d.ts +262 -0
- package/dist/permissions/index.js +929 -0
- package/dist/permissions/index.js.map +1 -0
- package/dist/plugins/index.d.ts +158 -0
- package/dist/plugins/index.js +444 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/portfolio/index.d.ts +170 -0
- package/dist/portfolio/index.js +970 -0
- package/dist/portfolio/index.js.map +1 -0
- package/dist/presence/index.d.ts +34 -0
- package/dist/presence/index.js +124 -0
- package/dist/presence/index.js.map +1 -0
- package/dist/process/index.d.ts +82 -0
- package/dist/process/index.js +402 -0
- package/dist/process/index.js.map +1 -0
- package/dist/providers/discovery.d.ts +209 -0
- package/dist/providers/discovery.js +751 -0
- package/dist/providers/discovery.js.map +1 -0
- package/dist/providers/health.d.ts +27 -0
- package/dist/providers/health.js +80 -0
- package/dist/providers/health.js.map +1 -0
- package/dist/providers/index.d.ts +154 -0
- package/dist/providers/index.js +897 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/queue/index.d.ts +36 -0
- package/dist/queue/index.js +146 -0
- package/dist/queue/index.js.map +1 -0
- package/dist/queue/jobs/index.d.ts +11 -0
- package/dist/queue/jobs/index.js +32 -0
- package/dist/queue/jobs/index.js.map +1 -0
- package/dist/queue/jobs/producer.d.ts +43 -0
- package/dist/queue/jobs/producer.js +233 -0
- package/dist/queue/jobs/producer.js.map +1 -0
- package/dist/queue/jobs/types.d.ts +128 -0
- package/dist/queue/jobs/types.js +14 -0
- package/dist/queue/jobs/types.js.map +1 -0
- package/dist/queue/jobs/worker.d.ts +22 -0
- package/dist/queue/jobs/worker.js +220 -0
- package/dist/queue/jobs/worker.js.map +1 -0
- package/dist/remote/index.d.ts +136 -0
- package/dist/remote/index.js +456 -0
- package/dist/remote/index.js.map +1 -0
- package/dist/risk/circuit-breaker.d.ts +99 -0
- package/dist/risk/circuit-breaker.js +300 -0
- package/dist/risk/circuit-breaker.js.map +1 -0
- package/dist/risk/dashboard.d.ts +69 -0
- package/dist/risk/dashboard.js +127 -0
- package/dist/risk/dashboard.js.map +1 -0
- package/dist/risk/engine.d.ts +128 -0
- package/dist/risk/engine.js +311 -0
- package/dist/risk/engine.js.map +1 -0
- package/dist/risk/index.d.ts +10 -0
- package/dist/risk/index.js +38 -0
- package/dist/risk/index.js.map +1 -0
- package/dist/risk/stress.d.ts +70 -0
- package/dist/risk/stress.js +215 -0
- package/dist/risk/stress.js.map +1 -0
- package/dist/risk/var.d.ts +72 -0
- package/dist/risk/var.js +173 -0
- package/dist/risk/var.js.map +1 -0
- package/dist/risk/volatility.d.ts +61 -0
- package/dist/risk/volatility.js +132 -0
- package/dist/risk/volatility.js.map +1 -0
- package/dist/routing/index.d.ts +116 -0
- package/dist/routing/index.js +371 -0
- package/dist/routing/index.js.map +1 -0
- package/dist/search/index.d.ts +30 -0
- package/dist/search/index.js +129 -0
- package/dist/search/index.js.map +1 -0
- package/dist/security/address-checker.d.ts +6 -0
- package/dist/security/address-checker.js +213 -0
- package/dist/security/address-checker.js.map +1 -0
- package/dist/security/code-scanner.d.ts +3 -0
- package/dist/security/code-scanner.js +190 -0
- package/dist/security/code-scanner.js.map +1 -0
- package/dist/security/index.d.ts +176 -0
- package/dist/security/index.js +498 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/sanitizer.d.ts +2 -0
- package/dist/security/sanitizer.js +135 -0
- package/dist/security/sanitizer.js.map +1 -0
- package/dist/security/scam-db.d.ts +5 -0
- package/dist/security/scam-db.js +116 -0
- package/dist/security/scam-db.js.map +1 -0
- package/dist/security/shield.d.ts +12 -0
- package/dist/security/shield.js +80 -0
- package/dist/security/shield.js.map +1 -0
- package/dist/security/tx-validator.d.ts +5 -0
- package/dist/security/tx-validator.js +115 -0
- package/dist/security/tx-validator.js.map +1 -0
- package/dist/security/types.d.ts +84 -0
- package/dist/security/types.js +6 -0
- package/dist/security/types.js.map +1 -0
- package/dist/services/alt-data/feeds/fear-greed.d.ts +14 -0
- package/dist/services/alt-data/feeds/fear-greed.js +81 -0
- package/dist/services/alt-data/feeds/fear-greed.js.map +1 -0
- package/dist/services/alt-data/feeds/funding-rates.d.ts +13 -0
- package/dist/services/alt-data/feeds/funding-rates.js +90 -0
- package/dist/services/alt-data/feeds/funding-rates.js.map +1 -0
- package/dist/services/alt-data/feeds/reddit.d.ts +13 -0
- package/dist/services/alt-data/feeds/reddit.js +112 -0
- package/dist/services/alt-data/feeds/reddit.js.map +1 -0
- package/dist/services/alt-data/index.d.ts +31 -0
- package/dist/services/alt-data/index.js +278 -0
- package/dist/services/alt-data/index.js.map +1 -0
- package/dist/services/alt-data/market-matcher.d.ts +29 -0
- package/dist/services/alt-data/market-matcher.js +157 -0
- package/dist/services/alt-data/market-matcher.js.map +1 -0
- package/dist/services/alt-data/sentiment.d.ts +11 -0
- package/dist/services/alt-data/sentiment.js +277 -0
- package/dist/services/alt-data/sentiment.js.map +1 -0
- package/dist/services/alt-data/types.d.ts +86 -0
- package/dist/services/alt-data/types.js +9 -0
- package/dist/services/alt-data/types.js.map +1 -0
- package/dist/services/feature-engineering/accessor.d.ts +19 -0
- package/dist/services/feature-engineering/accessor.js +31 -0
- package/dist/services/feature-engineering/accessor.js.map +1 -0
- package/dist/services/feature-engineering/index.d.ts +15 -0
- package/dist/services/feature-engineering/index.js +345 -0
- package/dist/services/feature-engineering/index.js.map +1 -0
- package/dist/services/feature-engineering/indicators.d.ts +90 -0
- package/dist/services/feature-engineering/indicators.js +254 -0
- package/dist/services/feature-engineering/indicators.js.map +1 -0
- package/dist/services/feature-engineering/rolling-window.d.ts +89 -0
- package/dist/services/feature-engineering/rolling-window.js +173 -0
- package/dist/services/feature-engineering/rolling-window.js.map +1 -0
- package/dist/services/feature-engineering/thresholds.d.ts +137 -0
- package/dist/services/feature-engineering/thresholds.js +280 -0
- package/dist/services/feature-engineering/thresholds.js.map +1 -0
- package/dist/services/feature-engineering/types.d.ts +138 -0
- package/dist/services/feature-engineering/types.js +6 -0
- package/dist/services/feature-engineering/types.js.map +1 -0
- package/dist/services/tick-recorder/index.d.ts +12 -0
- package/dist/services/tick-recorder/index.js +200 -0
- package/dist/services/tick-recorder/index.js.map +1 -0
- package/dist/services/tick-recorder/queries.d.ts +46 -0
- package/dist/services/tick-recorder/queries.js +291 -0
- package/dist/services/tick-recorder/queries.js.map +1 -0
- package/dist/services/tick-recorder/schema.d.ts +27 -0
- package/dist/services/tick-recorder/schema.js +185 -0
- package/dist/services/tick-recorder/schema.js.map +1 -0
- package/dist/services/tick-recorder/timescale.d.ts +27 -0
- package/dist/services/tick-recorder/timescale.js +105 -0
- package/dist/services/tick-recorder/timescale.js.map +1 -0
- package/dist/services/tick-recorder/types.d.ts +113 -0
- package/dist/services/tick-recorder/types.js +7 -0
- package/dist/services/tick-recorder/types.js.map +1 -0
- package/dist/services/tick-streamer/index.d.ts +12 -0
- package/dist/services/tick-streamer/index.js +317 -0
- package/dist/services/tick-streamer/index.js.map +1 -0
- package/dist/services/tick-streamer/types.d.ts +134 -0
- package/dist/services/tick-streamer/types.js +6 -0
- package/dist/services/tick-streamer/types.js.map +1 -0
- package/dist/session/index.d.ts +147 -0
- package/dist/session/index.js +429 -0
- package/dist/session/index.js.map +1 -0
- package/dist/sessions/index.d.ts +69 -0
- package/dist/sessions/index.js +447 -0
- package/dist/sessions/index.js.map +1 -0
- package/dist/signal-router/index.d.ts +2 -0
- package/dist/signal-router/index.js +6 -0
- package/dist/signal-router/index.js.map +1 -0
- package/dist/signal-router/router.d.ts +25 -0
- package/dist/signal-router/router.js +391 -0
- package/dist/signal-router/router.js.map +1 -0
- package/dist/signal-router/types.d.ts +64 -0
- package/dist/signal-router/types.js +9 -0
- package/dist/signal-router/types.js.map +1 -0
- package/dist/skills/bundled/acp/index.d.ts +25 -0
- package/dist/skills/bundled/acp/index.js +472 -0
- package/dist/skills/bundled/acp/index.js.map +1 -0
- package/dist/skills/bundled/agentbets/index.d.ts +15 -0
- package/dist/skills/bundled/agentbets/index.js +168 -0
- package/dist/skills/bundled/agentbets/index.js.map +1 -0
- package/dist/skills/bundled/ai-strategy/index.d.ts +21 -0
- package/dist/skills/bundled/ai-strategy/index.js +647 -0
- package/dist/skills/bundled/ai-strategy/index.js.map +1 -0
- package/dist/skills/bundled/alerts/index.d.ts +20 -0
- package/dist/skills/bundled/alerts/index.js +249 -0
- package/dist/skills/bundled/alerts/index.js.map +1 -0
- package/dist/skills/bundled/analytics/index.d.ts +17 -0
- package/dist/skills/bundled/analytics/index.js +112 -0
- package/dist/skills/bundled/analytics/index.js.map +1 -0
- package/dist/skills/bundled/arbitrage/index.d.ts +24 -0
- package/dist/skills/bundled/arbitrage/index.js +253 -0
- package/dist/skills/bundled/arbitrage/index.js.map +1 -0
- package/dist/skills/bundled/auto-reply/index.d.ts +18 -0
- package/dist/skills/bundled/auto-reply/index.js +215 -0
- package/dist/skills/bundled/auto-reply/index.js.map +1 -0
- package/dist/skills/bundled/automation/index.d.ts +19 -0
- package/dist/skills/bundled/automation/index.js +160 -0
- package/dist/skills/bundled/automation/index.js.map +1 -0
- package/dist/skills/bundled/backtest/index.d.ts +18 -0
- package/dist/skills/bundled/backtest/index.js +250 -0
- package/dist/skills/bundled/backtest/index.js.map +1 -0
- package/dist/skills/bundled/bags/index.d.ts +49 -0
- package/dist/skills/bundled/bags/index.js +1069 -0
- package/dist/skills/bundled/bags/index.js.map +1 -0
- package/dist/skills/bundled/bankr/index.d.ts +161 -0
- package/dist/skills/bundled/bankr/index.js +271 -0
- package/dist/skills/bundled/bankr/index.js.map +1 -0
- package/dist/skills/bundled/betfair/index.d.ts +24 -0
- package/dist/skills/bundled/betfair/index.js +511 -0
- package/dist/skills/bundled/betfair/index.js.map +1 -0
- package/dist/skills/bundled/binance-futures/index.d.ts +15 -0
- package/dist/skills/bundled/binance-futures/index.js +485 -0
- package/dist/skills/bundled/binance-futures/index.js.map +1 -0
- package/dist/skills/bundled/botchan/index.d.ts +130 -0
- package/dist/skills/bundled/botchan/index.js +427 -0
- package/dist/skills/bundled/botchan/index.js.map +1 -0
- package/dist/skills/bundled/bridge/index.d.ts +17 -0
- package/dist/skills/bundled/bridge/index.js +297 -0
- package/dist/skills/bundled/bridge/index.js.map +1 -0
- package/dist/skills/bundled/bybit-futures/index.d.ts +15 -0
- package/dist/skills/bundled/bybit-futures/index.js +380 -0
- package/dist/skills/bundled/bybit-futures/index.js.map +1 -0
- package/dist/skills/bundled/clanker/index.d.ts +236 -0
- package/dist/skills/bundled/clanker/index.js +759 -0
- package/dist/skills/bundled/clanker/index.js.map +1 -0
- package/dist/skills/bundled/copy-trading/index.d.ts +20 -0
- package/dist/skills/bundled/copy-trading/index.js +213 -0
- package/dist/skills/bundled/copy-trading/index.js.map +1 -0
- package/dist/skills/bundled/copy-trading-solana/index.d.ts +21 -0
- package/dist/skills/bundled/copy-trading-solana/index.js +421 -0
- package/dist/skills/bundled/copy-trading-solana/index.js.map +1 -0
- package/dist/skills/bundled/credentials/index.d.ts +17 -0
- package/dist/skills/bundled/credentials/index.js +137 -0
- package/dist/skills/bundled/credentials/index.js.map +1 -0
- package/dist/skills/bundled/crypto-hft/index.d.ts +26 -0
- package/dist/skills/bundled/crypto-hft/index.js +361 -0
- package/dist/skills/bundled/crypto-hft/index.js.map +1 -0
- package/dist/skills/bundled/dca/index.d.ts +26 -0
- package/dist/skills/bundled/dca/index.js +1342 -0
- package/dist/skills/bundled/dca/index.js.map +1 -0
- package/dist/skills/bundled/divergence/index.d.ts +19 -0
- package/dist/skills/bundled/divergence/index.js +272 -0
- package/dist/skills/bundled/divergence/index.js.map +1 -0
- package/dist/skills/bundled/doctor/index.d.ts +18 -0
- package/dist/skills/bundled/doctor/index.js +78 -0
- package/dist/skills/bundled/doctor/index.js.map +1 -0
- package/dist/skills/bundled/drift/index.d.ts +13 -0
- package/dist/skills/bundled/drift/index.js +378 -0
- package/dist/skills/bundled/drift/index.js.map +1 -0
- package/dist/skills/bundled/drift-sdk/index.d.ts +17 -0
- package/dist/skills/bundled/drift-sdk/index.js +501 -0
- package/dist/skills/bundled/drift-sdk/index.js.map +1 -0
- package/dist/skills/bundled/edge/index.d.ts +16 -0
- package/dist/skills/bundled/edge/index.js +91 -0
- package/dist/skills/bundled/edge/index.js.map +1 -0
- package/dist/skills/bundled/embeddings/index.d.ts +19 -0
- package/dist/skills/bundled/embeddings/index.js +215 -0
- package/dist/skills/bundled/embeddings/index.js.map +1 -0
- package/dist/skills/bundled/endaoment/index.d.ts +105 -0
- package/dist/skills/bundled/endaoment/index.js +285 -0
- package/dist/skills/bundled/endaoment/index.js.map +1 -0
- package/dist/skills/bundled/ens/index.d.ts +151 -0
- package/dist/skills/bundled/ens/index.js +278 -0
- package/dist/skills/bundled/ens/index.js.map +1 -0
- package/dist/skills/bundled/erc8004/index.d.ts +123 -0
- package/dist/skills/bundled/erc8004/index.js +301 -0
- package/dist/skills/bundled/erc8004/index.js.map +1 -0
- package/dist/skills/bundled/execution/index.d.ts +18 -0
- package/dist/skills/bundled/execution/index.js +358 -0
- package/dist/skills/bundled/execution/index.js.map +1 -0
- package/dist/skills/bundled/farcaster/index.d.ts +121 -0
- package/dist/skills/bundled/farcaster/index.js +314 -0
- package/dist/skills/bundled/farcaster/index.js.map +1 -0
- package/dist/skills/bundled/features/index.d.ts +17 -0
- package/dist/skills/bundled/features/index.js +305 -0
- package/dist/skills/bundled/features/index.js.map +1 -0
- package/dist/skills/bundled/feeds/index.d.ts +26 -0
- package/dist/skills/bundled/feeds/index.js +462 -0
- package/dist/skills/bundled/feeds/index.js.map +1 -0
- package/dist/skills/bundled/harden/index.d.ts +55 -0
- package/dist/skills/bundled/harden/index.js +510 -0
- package/dist/skills/bundled/harden/index.js.map +1 -0
- package/dist/skills/bundled/history/index.d.ts +21 -0
- package/dist/skills/bundled/history/index.js +195 -0
- package/dist/skills/bundled/history/index.js.map +1 -0
- package/dist/skills/bundled/hyperliquid/index.d.ts +19 -0
- package/dist/skills/bundled/hyperliquid/index.js +1280 -0
- package/dist/skills/bundled/hyperliquid/index.js.map +1 -0
- package/dist/skills/bundled/identity/index.d.ts +17 -0
- package/dist/skills/bundled/identity/index.js +223 -0
- package/dist/skills/bundled/identity/index.js.map +1 -0
- package/dist/skills/bundled/integrations/index.d.ts +17 -0
- package/dist/skills/bundled/integrations/index.js +138 -0
- package/dist/skills/bundled/integrations/index.js.map +1 -0
- package/dist/skills/bundled/jupiter/index.d.ts +41 -0
- package/dist/skills/bundled/jupiter/index.js +872 -0
- package/dist/skills/bundled/jupiter/index.js.map +1 -0
- package/dist/skills/bundled/kamino/index.d.ts +33 -0
- package/dist/skills/bundled/kamino/index.js +578 -0
- package/dist/skills/bundled/kamino/index.js.map +1 -0
- package/dist/skills/bundled/ledger/index.d.ts +14 -0
- package/dist/skills/bundled/ledger/index.js +186 -0
- package/dist/skills/bundled/ledger/index.js.map +1 -0
- package/dist/skills/bundled/market-index/index.d.ts +18 -0
- package/dist/skills/bundled/market-index/index.js +182 -0
- package/dist/skills/bundled/market-index/index.js.map +1 -0
- package/dist/skills/bundled/markets/index.d.ts +16 -0
- package/dist/skills/bundled/markets/index.js +95 -0
- package/dist/skills/bundled/markets/index.js.map +1 -0
- package/dist/skills/bundled/mcp/index.d.ts +19 -0
- package/dist/skills/bundled/mcp/index.js +212 -0
- package/dist/skills/bundled/mcp/index.js.map +1 -0
- package/dist/skills/bundled/memory/index.d.ts +20 -0
- package/dist/skills/bundled/memory/index.js +210 -0
- package/dist/skills/bundled/memory/index.js.map +1 -0
- package/dist/skills/bundled/metaculus/index.d.ts +17 -0
- package/dist/skills/bundled/metaculus/index.js +168 -0
- package/dist/skills/bundled/metaculus/index.js.map +1 -0
- package/dist/skills/bundled/meteora/index.d.ts +39 -0
- package/dist/skills/bundled/meteora/index.js +837 -0
- package/dist/skills/bundled/meteora/index.js.map +1 -0
- package/dist/skills/bundled/meteora-dbc/index.d.ts +33 -0
- package/dist/skills/bundled/meteora-dbc/index.js +993 -0
- package/dist/skills/bundled/meteora-dbc/index.js.map +1 -0
- package/dist/skills/bundled/metrics/index.d.ts +18 -0
- package/dist/skills/bundled/metrics/index.js +91 -0
- package/dist/skills/bundled/metrics/index.js.map +1 -0
- package/dist/skills/bundled/mev/index.d.ts +17 -0
- package/dist/skills/bundled/mev/index.js +108 -0
- package/dist/skills/bundled/mev/index.js.map +1 -0
- package/dist/skills/bundled/mexc-futures/index.d.ts +16 -0
- package/dist/skills/bundled/mexc-futures/index.js +389 -0
- package/dist/skills/bundled/mexc-futures/index.js.map +1 -0
- package/dist/skills/bundled/mm/index.d.ts +18 -0
- package/dist/skills/bundled/mm/index.js +315 -0
- package/dist/skills/bundled/mm/index.js.map +1 -0
- package/dist/skills/bundled/monitoring/index.d.ts +18 -0
- package/dist/skills/bundled/monitoring/index.js +146 -0
- package/dist/skills/bundled/monitoring/index.js.map +1 -0
- package/dist/skills/bundled/news/index.d.ts +17 -0
- package/dist/skills/bundled/news/index.js +161 -0
- package/dist/skills/bundled/news/index.js.map +1 -0
- package/dist/skills/bundled/onchainkit/index.d.ts +92 -0
- package/dist/skills/bundled/onchainkit/index.js +429 -0
- package/dist/skills/bundled/onchainkit/index.js.map +1 -0
- package/dist/skills/bundled/opinion/index.d.ts +12 -0
- package/dist/skills/bundled/opinion/index.js +429 -0
- package/dist/skills/bundled/opinion/index.js.map +1 -0
- package/dist/skills/bundled/opportunity/index.d.ts +25 -0
- package/dist/skills/bundled/opportunity/index.js +289 -0
- package/dist/skills/bundled/opportunity/index.js.map +1 -0
- package/dist/skills/bundled/orca/index.d.ts +12 -0
- package/dist/skills/bundled/orca/index.js +663 -0
- package/dist/skills/bundled/orca/index.js.map +1 -0
- package/dist/skills/bundled/pairing/index.d.ts +24 -0
- package/dist/skills/bundled/pairing/index.js +228 -0
- package/dist/skills/bundled/pairing/index.js.map +1 -0
- package/dist/skills/bundled/percolator/index.d.ts +20 -0
- package/dist/skills/bundled/percolator/index.js +229 -0
- package/dist/skills/bundled/percolator/index.js.map +1 -0
- package/dist/skills/bundled/permissions/index.d.ts +21 -0
- package/dist/skills/bundled/permissions/index.js +204 -0
- package/dist/skills/bundled/permissions/index.js.map +1 -0
- package/dist/skills/bundled/plugins/index.d.ts +20 -0
- package/dist/skills/bundled/plugins/index.js +209 -0
- package/dist/skills/bundled/plugins/index.js.map +1 -0
- package/dist/skills/bundled/portfolio/index.d.ts +20 -0
- package/dist/skills/bundled/portfolio/index.js +367 -0
- package/dist/skills/bundled/portfolio/index.js.map +1 -0
- package/dist/skills/bundled/portfolio-sync/index.d.ts +17 -0
- package/dist/skills/bundled/portfolio-sync/index.js +116 -0
- package/dist/skills/bundled/portfolio-sync/index.js.map +1 -0
- package/dist/skills/bundled/positions/index.d.ts +18 -0
- package/dist/skills/bundled/positions/index.js +161 -0
- package/dist/skills/bundled/positions/index.js.map +1 -0
- package/dist/skills/bundled/predictfun/index.d.ts +13 -0
- package/dist/skills/bundled/predictfun/index.js +612 -0
- package/dist/skills/bundled/predictfun/index.js.map +1 -0
- package/dist/skills/bundled/predictit/index.d.ts +16 -0
- package/dist/skills/bundled/predictit/index.js +138 -0
- package/dist/skills/bundled/predictit/index.js.map +1 -0
- package/dist/skills/bundled/presence/index.d.ts +18 -0
- package/dist/skills/bundled/presence/index.js +151 -0
- package/dist/skills/bundled/presence/index.js.map +1 -0
- package/dist/skills/bundled/processes/index.d.ts +17 -0
- package/dist/skills/bundled/processes/index.js +121 -0
- package/dist/skills/bundled/processes/index.js.map +1 -0
- package/dist/skills/bundled/pump-swarm/index.d.ts +16 -0
- package/dist/skills/bundled/pump-swarm/index.js +2235 -0
- package/dist/skills/bundled/pump-swarm/index.js.map +1 -0
- package/dist/skills/bundled/pumpfun/index.d.ts +47 -0
- package/dist/skills/bundled/pumpfun/index.js +1400 -0
- package/dist/skills/bundled/pumpfun/index.js.map +1 -0
- package/dist/skills/bundled/qmd/index.d.ts +18 -0
- package/dist/skills/bundled/qmd/index.js +116 -0
- package/dist/skills/bundled/qmd/index.js.map +1 -0
- package/dist/skills/bundled/qrcoin/index.d.ts +92 -0
- package/dist/skills/bundled/qrcoin/index.js +328 -0
- package/dist/skills/bundled/qrcoin/index.js.map +1 -0
- package/dist/skills/bundled/raydium/index.d.ts +35 -0
- package/dist/skills/bundled/raydium/index.js +695 -0
- package/dist/skills/bundled/raydium/index.js.map +1 -0
- package/dist/skills/bundled/remote/index.d.ts +19 -0
- package/dist/skills/bundled/remote/index.js +186 -0
- package/dist/skills/bundled/remote/index.js.map +1 -0
- package/dist/skills/bundled/research/index.d.ts +17 -0
- package/dist/skills/bundled/research/index.js +185 -0
- package/dist/skills/bundled/research/index.js.map +1 -0
- package/dist/skills/bundled/risk/index.d.ts +31 -0
- package/dist/skills/bundled/risk/index.js +379 -0
- package/dist/skills/bundled/risk/index.js.map +1 -0
- package/dist/skills/bundled/router/index.d.ts +17 -0
- package/dist/skills/bundled/router/index.js +160 -0
- package/dist/skills/bundled/router/index.js.map +1 -0
- package/dist/skills/bundled/routing/index.d.ts +23 -0
- package/dist/skills/bundled/routing/index.js +257 -0
- package/dist/skills/bundled/routing/index.js.map +1 -0
- package/dist/skills/bundled/sandbox/index.d.ts +18 -0
- package/dist/skills/bundled/sandbox/index.js +119 -0
- package/dist/skills/bundled/sandbox/index.js.map +1 -0
- package/dist/skills/bundled/search-config/index.d.ts +18 -0
- package/dist/skills/bundled/search-config/index.js +170 -0
- package/dist/skills/bundled/search-config/index.js.map +1 -0
- package/dist/skills/bundled/sessions/index.d.ts +29 -0
- package/dist/skills/bundled/sessions/index.js +193 -0
- package/dist/skills/bundled/sessions/index.js.map +1 -0
- package/dist/skills/bundled/shield/index.d.ts +22 -0
- package/dist/skills/bundled/shield/index.js +245 -0
- package/dist/skills/bundled/shield/index.js.map +1 -0
- package/dist/skills/bundled/signals/index.d.ts +24 -0
- package/dist/skills/bundled/signals/index.js +776 -0
- package/dist/skills/bundled/signals/index.js.map +1 -0
- package/dist/skills/bundled/sizing/index.d.ts +16 -0
- package/dist/skills/bundled/sizing/index.js +168 -0
- package/dist/skills/bundled/sizing/index.js.map +1 -0
- package/dist/skills/bundled/slippage/index.d.ts +16 -0
- package/dist/skills/bundled/slippage/index.js +111 -0
- package/dist/skills/bundled/slippage/index.js.map +1 -0
- package/dist/skills/bundled/smarkets/index.d.ts +23 -0
- package/dist/skills/bundled/smarkets/index.js +473 -0
- package/dist/skills/bundled/smarkets/index.js.map +1 -0
- package/dist/skills/bundled/strategy/index.d.ts +18 -0
- package/dist/skills/bundled/strategy/index.js +168 -0
- package/dist/skills/bundled/strategy/index.js.map +1 -0
- package/dist/skills/bundled/streaming/index.d.ts +19 -0
- package/dist/skills/bundled/streaming/index.js +147 -0
- package/dist/skills/bundled/streaming/index.js.map +1 -0
- package/dist/skills/bundled/tailscale/index.d.ts +18 -0
- package/dist/skills/bundled/tailscale/index.js +173 -0
- package/dist/skills/bundled/tailscale/index.js.map +1 -0
- package/dist/skills/bundled/ticks/index.d.ts +17 -0
- package/dist/skills/bundled/ticks/index.js +287 -0
- package/dist/skills/bundled/ticks/index.js.map +1 -0
- package/dist/skills/bundled/token-security/index.d.ts +19 -0
- package/dist/skills/bundled/token-security/index.js +138 -0
- package/dist/skills/bundled/token-security/index.js.map +1 -0
- package/dist/skills/bundled/trading-evm/index.d.ts +19 -0
- package/dist/skills/bundled/trading-evm/index.js +302 -0
- package/dist/skills/bundled/trading-evm/index.js.map +1 -0
- package/dist/skills/bundled/trading-futures/index.d.ts +14 -0
- package/dist/skills/bundled/trading-futures/index.js +874 -0
- package/dist/skills/bundled/trading-futures/index.js.map +1 -0
- package/dist/skills/bundled/trading-kalshi/index.d.ts +36 -0
- package/dist/skills/bundled/trading-kalshi/index.js +1199 -0
- package/dist/skills/bundled/trading-kalshi/index.js.map +1 -0
- package/dist/skills/bundled/trading-manifold/index.d.ts +23 -0
- package/dist/skills/bundled/trading-manifold/index.js +391 -0
- package/dist/skills/bundled/trading-manifold/index.js.map +1 -0
- package/dist/skills/bundled/trading-polymarket/index.d.ts +27 -0
- package/dist/skills/bundled/trading-polymarket/index.js +1321 -0
- package/dist/skills/bundled/trading-polymarket/index.js.map +1 -0
- package/dist/skills/bundled/trading-solana/index.d.ts +19 -0
- package/dist/skills/bundled/trading-solana/index.js +383 -0
- package/dist/skills/bundled/trading-solana/index.js.map +1 -0
- package/dist/skills/bundled/trading-system/index.d.ts +22 -0
- package/dist/skills/bundled/trading-system/index.js +355 -0
- package/dist/skills/bundled/trading-system/index.js.map +1 -0
- package/dist/skills/bundled/triggers/index.d.ts +18 -0
- package/dist/skills/bundled/triggers/index.js +172 -0
- package/dist/skills/bundled/triggers/index.js.map +1 -0
- package/dist/skills/bundled/tts/index.d.ts +16 -0
- package/dist/skills/bundled/tts/index.js +150 -0
- package/dist/skills/bundled/tts/index.js.map +1 -0
- package/dist/skills/bundled/tweet-ideas/index.d.ts +20 -0
- package/dist/skills/bundled/tweet-ideas/index.js +470 -0
- package/dist/skills/bundled/tweet-ideas/index.js.map +1 -0
- package/dist/skills/bundled/usage/index.d.ts +17 -0
- package/dist/skills/bundled/usage/index.js +145 -0
- package/dist/skills/bundled/usage/index.js.map +1 -0
- package/dist/skills/bundled/veil/index.d.ts +79 -0
- package/dist/skills/bundled/veil/index.js +322 -0
- package/dist/skills/bundled/veil/index.js.map +1 -0
- package/dist/skills/bundled/verify/index.d.ts +20 -0
- package/dist/skills/bundled/verify/index.js +157 -0
- package/dist/skills/bundled/verify/index.js.map +1 -0
- package/dist/skills/bundled/virtuals/index.d.ts +20 -0
- package/dist/skills/bundled/virtuals/index.js +255 -0
- package/dist/skills/bundled/virtuals/index.js.map +1 -0
- package/dist/skills/bundled/voice/index.d.ts +18 -0
- package/dist/skills/bundled/voice/index.js +190 -0
- package/dist/skills/bundled/voice/index.js.map +1 -0
- package/dist/skills/bundled/weather/index.d.ts +20 -0
- package/dist/skills/bundled/weather/index.js +475 -0
- package/dist/skills/bundled/weather/index.js.map +1 -0
- package/dist/skills/bundled/webhooks/index.d.ts +18 -0
- package/dist/skills/bundled/webhooks/index.js +136 -0
- package/dist/skills/bundled/webhooks/index.js.map +1 -0
- package/dist/skills/bundled/whale-tracking/index.d.ts +18 -0
- package/dist/skills/bundled/whale-tracking/index.js +441 -0
- package/dist/skills/bundled/whale-tracking/index.js.map +1 -0
- package/dist/skills/bundled/yoink/index.d.ts +78 -0
- package/dist/skills/bundled/yoink/index.js +236 -0
- package/dist/skills/bundled/yoink/index.js.map +1 -0
- package/dist/skills/executor.d.ts +117 -0
- package/dist/skills/executor.js +469 -0
- package/dist/skills/executor.js.map +1 -0
- package/dist/skills/frontmatter.d.ts +69 -0
- package/dist/skills/frontmatter.js +187 -0
- package/dist/skills/frontmatter.js.map +1 -0
- package/dist/skills/index.d.ts +150 -0
- package/dist/skills/index.js +531 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/loader.d.ts +48 -0
- package/dist/skills/loader.js +594 -0
- package/dist/skills/loader.js.map +1 -0
- package/dist/skills/registry.d.ts +94 -0
- package/dist/skills/registry.js +308 -0
- package/dist/skills/registry.js.map +1 -0
- package/dist/solana/copytrade.d.ts +116 -0
- package/dist/solana/copytrade.js +493 -0
- package/dist/solana/copytrade.js.map +1 -0
- package/dist/solana/drift.d.ts +154 -0
- package/dist/solana/drift.js +599 -0
- package/dist/solana/drift.js.map +1 -0
- package/dist/solana/jupiter.d.ts +283 -0
- package/dist/solana/jupiter.js +553 -0
- package/dist/solana/jupiter.js.map +1 -0
- package/dist/solana/kamino.d.ts +206 -0
- package/dist/solana/kamino.js +546 -0
- package/dist/solana/kamino.js.map +1 -0
- package/dist/solana/meteora-dbc.d.ts +430 -0
- package/dist/solana/meteora-dbc.js +1105 -0
- package/dist/solana/meteora-dbc.js.map +1 -0
- package/dist/solana/meteora.d.ts +232 -0
- package/dist/solana/meteora.js +682 -0
- package/dist/solana/meteora.js.map +1 -0
- package/dist/solana/orca.d.ts +163 -0
- package/dist/solana/orca.js +378 -0
- package/dist/solana/orca.js.map +1 -0
- package/dist/solana/pools.d.ts +26 -0
- package/dist/solana/pools.js +96 -0
- package/dist/solana/pools.js.map +1 -0
- package/dist/solana/pump-swarm.d.ts +349 -0
- package/dist/solana/pump-swarm.js +1663 -0
- package/dist/solana/pump-swarm.js.map +1 -0
- package/dist/solana/pumpapi.d.ts +196 -0
- package/dist/solana/pumpapi.js +462 -0
- package/dist/solana/pumpapi.js.map +1 -0
- package/dist/solana/raydium.d.ts +170 -0
- package/dist/solana/raydium.js +673 -0
- package/dist/solana/raydium.js.map +1 -0
- package/dist/solana/swarm-ai-builder.d.ts +97 -0
- package/dist/solana/swarm-ai-builder.js +571 -0
- package/dist/solana/swarm-ai-builder.js.map +1 -0
- package/dist/solana/swarm-arbitrage.d.ts +111 -0
- package/dist/solana/swarm-arbitrage.js +437 -0
- package/dist/solana/swarm-arbitrage.js.map +1 -0
- package/dist/solana/swarm-builders.d.ts +71 -0
- package/dist/solana/swarm-builders.js +402 -0
- package/dist/solana/swarm-builders.js.map +1 -0
- package/dist/solana/swarm-copytrade.d.ts +103 -0
- package/dist/solana/swarm-copytrade.js +420 -0
- package/dist/solana/swarm-copytrade.js.map +1 -0
- package/dist/solana/swarm-presets.d.ts +49 -0
- package/dist/solana/swarm-presets.js +282 -0
- package/dist/solana/swarm-presets.js.map +1 -0
- package/dist/solana/swarm-signals.d.ts +128 -0
- package/dist/solana/swarm-signals.js +529 -0
- package/dist/solana/swarm-signals.js.map +1 -0
- package/dist/solana/swarm-strategies.d.ts +230 -0
- package/dist/solana/swarm-strategies.js +611 -0
- package/dist/solana/swarm-strategies.js.map +1 -0
- package/dist/solana/tokenlist.d.ts +10 -0
- package/dist/solana/tokenlist.js +54 -0
- package/dist/solana/tokenlist.js.map +1 -0
- package/dist/solana/wallet.d.ts +12 -0
- package/dist/solana/wallet.js +90 -0
- package/dist/solana/wallet.js.map +1 -0
- package/dist/strategies/crypto-hft/index.d.ts +46 -0
- package/dist/strategies/crypto-hft/index.js +469 -0
- package/dist/strategies/crypto-hft/index.js.map +1 -0
- package/dist/strategies/crypto-hft/market-scanner.d.ts +26 -0
- package/dist/strategies/crypto-hft/market-scanner.js +177 -0
- package/dist/strategies/crypto-hft/market-scanner.js.map +1 -0
- package/dist/strategies/crypto-hft/orderbook.d.ts +37 -0
- package/dist/strategies/crypto-hft/orderbook.js +184 -0
- package/dist/strategies/crypto-hft/orderbook.js.map +1 -0
- package/dist/strategies/crypto-hft/positions.d.ts +49 -0
- package/dist/strategies/crypto-hft/positions.js +376 -0
- package/dist/strategies/crypto-hft/positions.js.map +1 -0
- package/dist/strategies/crypto-hft/presets.d.ts +11 -0
- package/dist/strategies/crypto-hft/presets.js +164 -0
- package/dist/strategies/crypto-hft/presets.js.map +1 -0
- package/dist/strategies/crypto-hft/strategies.d.ts +96 -0
- package/dist/strategies/crypto-hft/strategies.js +330 -0
- package/dist/strategies/crypto-hft/strategies.js.map +1 -0
- package/dist/strategies/crypto-hft/types.d.ts +196 -0
- package/dist/strategies/crypto-hft/types.js +32 -0
- package/dist/strategies/crypto-hft/types.js.map +1 -0
- package/dist/strategies/hft-divergence/detector.d.ts +29 -0
- package/dist/strategies/hft-divergence/detector.js +182 -0
- package/dist/strategies/hft-divergence/detector.js.map +1 -0
- package/dist/strategies/hft-divergence/index.d.ts +12 -0
- package/dist/strategies/hft-divergence/index.js +19 -0
- package/dist/strategies/hft-divergence/index.js.map +1 -0
- package/dist/strategies/hft-divergence/market-rotator.d.ts +17 -0
- package/dist/strategies/hft-divergence/market-rotator.js +128 -0
- package/dist/strategies/hft-divergence/market-rotator.js.map +1 -0
- package/dist/strategies/hft-divergence/position-manager.d.ts +35 -0
- package/dist/strategies/hft-divergence/position-manager.js +188 -0
- package/dist/strategies/hft-divergence/position-manager.js.map +1 -0
- package/dist/strategies/hft-divergence/strategy.d.ts +31 -0
- package/dist/strategies/hft-divergence/strategy.js +295 -0
- package/dist/strategies/hft-divergence/strategy.js.map +1 -0
- package/dist/strategies/hft-divergence/types.d.ts +114 -0
- package/dist/strategies/hft-divergence/types.js +10 -0
- package/dist/strategies/hft-divergence/types.js.map +1 -0
- package/dist/streaming/index.d.ts +70 -0
- package/dist/streaming/index.js +296 -0
- package/dist/streaming/index.js.map +1 -0
- package/dist/tailscale/index.d.ts +139 -0
- package/dist/tailscale/index.js +345 -0
- package/dist/tailscale/index.js.map +1 -0
- package/dist/telemetry/index.d.ts +143 -0
- package/dist/telemetry/index.js +535 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/terminal/index.d.ts +121 -0
- package/dist/terminal/index.js +548 -0
- package/dist/terminal/index.js.map +1 -0
- package/dist/token-security/index.d.ts +36 -0
- package/dist/token-security/index.js +253 -0
- package/dist/token-security/index.js.map +1 -0
- package/dist/tools/browser.d.ts +128 -0
- package/dist/tools/browser.js +459 -0
- package/dist/tools/browser.js.map +1 -0
- package/dist/tools/canvas.d.ts +93 -0
- package/dist/tools/canvas.js +349 -0
- package/dist/tools/canvas.js.map +1 -0
- package/dist/tools/docker.d.ts +59 -0
- package/dist/tools/docker.js +191 -0
- package/dist/tools/docker.js.map +1 -0
- package/dist/tools/email.d.ts +25 -0
- package/dist/tools/email.js +131 -0
- package/dist/tools/email.js.map +1 -0
- package/dist/tools/exec.d.ts +81 -0
- package/dist/tools/exec.js +373 -0
- package/dist/tools/exec.js.map +1 -0
- package/dist/tools/files.d.ts +46 -0
- package/dist/tools/files.js +185 -0
- package/dist/tools/files.js.map +1 -0
- package/dist/tools/git.d.ts +29 -0
- package/dist/tools/git.js +105 -0
- package/dist/tools/git.js.map +1 -0
- package/dist/tools/image.d.ts +57 -0
- package/dist/tools/image.js +308 -0
- package/dist/tools/image.js.map +1 -0
- package/dist/tools/index.d.ts +39 -0
- package/dist/tools/index.js +46 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/message.d.ts +99 -0
- package/dist/tools/message.js +200 -0
- package/dist/tools/message.js.map +1 -0
- package/dist/tools/nodes.d.ts +134 -0
- package/dist/tools/nodes.js +357 -0
- package/dist/tools/nodes.js.map +1 -0
- package/dist/tools/sessions.d.ts +60 -0
- package/dist/tools/sessions.js +119 -0
- package/dist/tools/sessions.js.map +1 -0
- package/dist/tools/shell-history.d.ts +17 -0
- package/dist/tools/shell-history.js +118 -0
- package/dist/tools/shell-history.js.map +1 -0
- package/dist/tools/sms.d.ts +18 -0
- package/dist/tools/sms.js +66 -0
- package/dist/tools/sms.js.map +1 -0
- package/dist/tools/sql.d.ts +19 -0
- package/dist/tools/sql.js +91 -0
- package/dist/tools/sql.js.map +1 -0
- package/dist/tools/transcription.d.ts +13 -0
- package/dist/tools/transcription.js +99 -0
- package/dist/tools/transcription.js.map +1 -0
- package/dist/tools/web-fetch.d.ts +69 -0
- package/dist/tools/web-fetch.js +251 -0
- package/dist/tools/web-fetch.js.map +1 -0
- package/dist/tools/web-search.d.ts +58 -0
- package/dist/tools/web-search.js +204 -0
- package/dist/tools/web-search.js.map +1 -0
- package/dist/tools/webhooks.d.ts +74 -0
- package/dist/tools/webhooks.js +165 -0
- package/dist/tools/webhooks.js.map +1 -0
- package/dist/trading/accounts.d.ts +167 -0
- package/dist/trading/accounts.js +394 -0
- package/dist/trading/accounts.js.map +1 -0
- package/dist/trading/adapters/index.d.ts +27 -0
- package/dist/trading/adapters/index.js +165 -0
- package/dist/trading/adapters/index.js.map +1 -0
- package/dist/trading/backtest.d.ts +161 -0
- package/dist/trading/backtest.js +665 -0
- package/dist/trading/backtest.js.map +1 -0
- package/dist/trading/bots/index.d.ts +196 -0
- package/dist/trading/bots/index.js +688 -0
- package/dist/trading/bots/index.js.map +1 -0
- package/dist/trading/bridge.d.ts +33 -0
- package/dist/trading/bridge.js +121 -0
- package/dist/trading/bridge.js.map +1 -0
- package/dist/trading/builder.d.ts +102 -0
- package/dist/trading/builder.js +430 -0
- package/dist/trading/builder.js.map +1 -0
- package/dist/trading/copy-trading.d.ts +125 -0
- package/dist/trading/copy-trading.js +611 -0
- package/dist/trading/copy-trading.js.map +1 -0
- package/dist/trading/devtools.d.ts +172 -0
- package/dist/trading/devtools.js +425 -0
- package/dist/trading/devtools.js.map +1 -0
- package/dist/trading/futures/index.d.ts +981 -0
- package/dist/trading/futures/index.js +4011 -0
- package/dist/trading/futures/index.js.map +1 -0
- package/dist/trading/index.d.ts +102 -0
- package/dist/trading/index.js +310 -0
- package/dist/trading/index.js.map +1 -0
- package/dist/trading/kelly.d.ts +137 -0
- package/dist/trading/kelly.js +328 -0
- package/dist/trading/kelly.js.map +1 -0
- package/dist/trading/logger.d.ts +163 -0
- package/dist/trading/logger.js +424 -0
- package/dist/trading/logger.js.map +1 -0
- package/dist/trading/market-making/engine.d.ts +44 -0
- package/dist/trading/market-making/engine.js +165 -0
- package/dist/trading/market-making/engine.js.map +1 -0
- package/dist/trading/market-making/index.d.ts +10 -0
- package/dist/trading/market-making/index.js +29 -0
- package/dist/trading/market-making/index.js.map +1 -0
- package/dist/trading/market-making/strategy.d.ts +25 -0
- package/dist/trading/market-making/strategy.js +250 -0
- package/dist/trading/market-making/strategy.js.map +1 -0
- package/dist/trading/market-making/types.d.ts +92 -0
- package/dist/trading/market-making/types.js +6 -0
- package/dist/trading/market-making/types.js.map +1 -0
- package/dist/trading/ml-signals.d.ts +175 -0
- package/dist/trading/ml-signals.js +548 -0
- package/dist/trading/ml-signals.js.map +1 -0
- package/dist/trading/orchestrator.d.ts +59 -0
- package/dist/trading/orchestrator.js +199 -0
- package/dist/trading/orchestrator.js.map +1 -0
- package/dist/trading/position-bridge.d.ts +41 -0
- package/dist/trading/position-bridge.js +178 -0
- package/dist/trading/position-bridge.js.map +1 -0
- package/dist/trading/resilience.d.ts +81 -0
- package/dist/trading/resilience.js +257 -0
- package/dist/trading/resilience.js.map +1 -0
- package/dist/trading/risk.d.ts +18 -0
- package/dist/trading/risk.js +91 -0
- package/dist/trading/risk.js.map +1 -0
- package/dist/trading/safety.d.ts +114 -0
- package/dist/trading/safety.js +372 -0
- package/dist/trading/safety.js.map +1 -0
- package/dist/trading/secrets.d.ts +48 -0
- package/dist/trading/secrets.js +243 -0
- package/dist/trading/secrets.js.map +1 -0
- package/dist/trading/state.d.ts +88 -0
- package/dist/trading/state.js +221 -0
- package/dist/trading/state.js.map +1 -0
- package/dist/trading/stream.d.ts +121 -0
- package/dist/trading/stream.js +396 -0
- package/dist/trading/stream.js.map +1 -0
- package/dist/trading/tracking.d.ts +136 -0
- package/dist/trading/tracking.js +512 -0
- package/dist/trading/tracking.js.map +1 -0
- package/dist/tts/index.d.ts +28 -0
- package/dist/tts/index.js +64 -0
- package/dist/tts/index.js.map +1 -0
- package/dist/tui/index.d.ts +159 -0
- package/dist/tui/index.js +580 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/types.d.ts +1373 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/dist/usage/index.d.ts +57 -0
- package/dist/usage/index.js +191 -0
- package/dist/usage/index.js.map +1 -0
- package/dist/utils/attachments.d.ts +12 -0
- package/dist/utils/attachments.js +104 -0
- package/dist/utils/attachments.js.map +1 -0
- package/dist/utils/config.d.ts +14 -0
- package/dist/utils/config.js +474 -0
- package/dist/utils/config.js.map +1 -0
- package/dist/utils/http.d.ts +22 -0
- package/dist/utils/http.js +191 -0
- package/dist/utils/http.js.map +1 -0
- package/dist/utils/id.d.ts +21 -0
- package/dist/utils/id.js +41 -0
- package/dist/utils/id.js.map +1 -0
- package/dist/utils/json-utils.d.ts +201 -0
- package/dist/utils/json-utils.js +151 -0
- package/dist/utils/json-utils.js.map +1 -0
- package/dist/utils/kalshi-auth.d.ts +10 -0
- package/dist/utils/kalshi-auth.js +48 -0
- package/dist/utils/kalshi-auth.js.map +1 -0
- package/dist/utils/kelly.d.ts +153 -0
- package/dist/utils/kelly.js +322 -0
- package/dist/utils/kelly.js.map +1 -0
- package/dist/utils/logger.d.ts +7 -0
- package/dist/utils/logger.js +26 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/opinion-auth.d.ts +17 -0
- package/dist/utils/opinion-auth.js +25 -0
- package/dist/utils/opinion-auth.js.map +1 -0
- package/dist/utils/polymarket-auth.d.ts +11 -0
- package/dist/utils/polymarket-auth.js +32 -0
- package/dist/utils/polymarket-auth.js.map +1 -0
- package/dist/utils/polymarket-order-signer.d.ts +118 -0
- package/dist/utils/polymarket-order-signer.js +329 -0
- package/dist/utils/polymarket-order-signer.js.map +1 -0
- package/dist/utils/polymarket-setup.d.ts +70 -0
- package/dist/utils/polymarket-setup.js +288 -0
- package/dist/utils/polymarket-setup.js.map +1 -0
- package/dist/utils/production.d.ts +112 -0
- package/dist/utils/production.js +294 -0
- package/dist/utils/production.js.map +1 -0
- package/dist/utils/rate-limiter.d.ts +77 -0
- package/dist/utils/rate-limiter.js +271 -0
- package/dist/utils/rate-limiter.js.map +1 -0
- package/dist/utils/webhook-security.d.ts +63 -0
- package/dist/utils/webhook-security.js +183 -0
- package/dist/utils/webhook-security.js.map +1 -0
- package/dist/voice/index.d.ts +125 -0
- package/dist/voice/index.js +557 -0
- package/dist/voice/index.js.map +1 -0
- package/dist/weather/edge.d.ts +70 -0
- package/dist/weather/edge.js +281 -0
- package/dist/weather/edge.js.map +1 -0
- package/dist/weather/index.d.ts +6 -0
- package/dist/weather/index.js +23 -0
- package/dist/weather/index.js.map +1 -0
- package/dist/weather/markets.d.ts +84 -0
- package/dist/weather/markets.js +320 -0
- package/dist/weather/markets.js.map +1 -0
- package/dist/weather/noaa.d.ts +113 -0
- package/dist/weather/noaa.js +287 -0
- package/dist/weather/noaa.js.map +1 -0
- package/dist/web/index.d.ts +112 -0
- package/dist/web/index.js +639 -0
- package/dist/web/index.js.map +1 -0
- package/dist/wizard/index.d.ts +27 -0
- package/dist/wizard/index.js +186 -0
- package/dist/wizard/index.js.map +1 -0
- package/dist/workspace/index.d.ts +73 -0
- package/dist/workspace/index.js +403 -0
- package/dist/workspace/index.js.map +1 -0
- package/package.json +168 -0
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Jupiter CLI Skill - Complete API Coverage (22 Commands)
|
|
4
|
+
*
|
|
5
|
+
* Swaps:
|
|
6
|
+
* /jup swap <amount> <from> to <to> - Execute swap
|
|
7
|
+
* /jup quote <amount> <from> to <to> - Get quote
|
|
8
|
+
* /jup route <from> <to> [amount] - Show route details
|
|
9
|
+
*
|
|
10
|
+
* Limit Orders:
|
|
11
|
+
* /jup limit <amount> <from> to <to> @ <price> [--expiry <hours>]
|
|
12
|
+
* /jup orders - List open orders
|
|
13
|
+
* /jup order <pubkey> - Get order details
|
|
14
|
+
* /jup cancel <pubkey> - Cancel order
|
|
15
|
+
* /jup cancel-all - Cancel all orders
|
|
16
|
+
* /jup cancel-expired <pubkey> - Cancel expired order
|
|
17
|
+
* /jup orders-by-mint --input <mint> - Filter orders by mint
|
|
18
|
+
* /jup fees - Show fee structure
|
|
19
|
+
*
|
|
20
|
+
* DCA (Dollar Cost Averaging):
|
|
21
|
+
* /jup dca <total> <from> to <to> --per <amount> --every <seconds>
|
|
22
|
+
* /jup dcas - List active DCAs
|
|
23
|
+
* /jup dca-info <pubkey> - DCA details
|
|
24
|
+
* /jup dca-close <pubkey> - Close DCA
|
|
25
|
+
* /jup dca-deposit <pubkey> <amount> - Deposit more
|
|
26
|
+
* /jup dca-withdraw <pubkey> - Withdraw remaining
|
|
27
|
+
* /jup dca-fills <pubkey> - DCA fill history
|
|
28
|
+
* /jup dca-history - List closed DCAs
|
|
29
|
+
* /jup dca-tokens - Available DCA tokens
|
|
30
|
+
*
|
|
31
|
+
* History:
|
|
32
|
+
* /jup history - Trade history
|
|
33
|
+
* /jup order-history - Limit order history
|
|
34
|
+
*/
|
|
35
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
36
|
+
if (k2 === undefined) k2 = k;
|
|
37
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
38
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
39
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
40
|
+
}
|
|
41
|
+
Object.defineProperty(o, k2, desc);
|
|
42
|
+
}) : (function(o, m, k, k2) {
|
|
43
|
+
if (k2 === undefined) k2 = k;
|
|
44
|
+
o[k2] = m[k];
|
|
45
|
+
}));
|
|
46
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
47
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
48
|
+
}) : function(o, v) {
|
|
49
|
+
o["default"] = v;
|
|
50
|
+
});
|
|
51
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
52
|
+
var ownKeys = function(o) {
|
|
53
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
54
|
+
var ar = [];
|
|
55
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
56
|
+
return ar;
|
|
57
|
+
};
|
|
58
|
+
return ownKeys(o);
|
|
59
|
+
};
|
|
60
|
+
return function (mod) {
|
|
61
|
+
if (mod && mod.__esModule) return mod;
|
|
62
|
+
var result = {};
|
|
63
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
64
|
+
__setModuleDefault(result, mod);
|
|
65
|
+
return result;
|
|
66
|
+
};
|
|
67
|
+
})();
|
|
68
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
69
|
+
exports.execute = execute;
|
|
70
|
+
const getSolanaModules = async () => {
|
|
71
|
+
const [wallet, jupiter, tokenlist] = await Promise.all([
|
|
72
|
+
Promise.resolve().then(() => __importStar(require('../../../solana/wallet'))),
|
|
73
|
+
Promise.resolve().then(() => __importStar(require('../../../solana/jupiter'))),
|
|
74
|
+
Promise.resolve().then(() => __importStar(require('../../../solana/tokenlist'))),
|
|
75
|
+
]);
|
|
76
|
+
return { wallet, jupiter, tokenlist };
|
|
77
|
+
};
|
|
78
|
+
function isConfigured() {
|
|
79
|
+
return !!(process.env.SOLANA_PRIVATE_KEY || process.env.SOLANA_KEYPAIR_PATH);
|
|
80
|
+
}
|
|
81
|
+
function formatAmount(amount, decimals) {
|
|
82
|
+
const num = parseFloat(amount) / Math.pow(10, decimals);
|
|
83
|
+
if (num < 0.000001)
|
|
84
|
+
return num.toExponential(2);
|
|
85
|
+
if (num < 1)
|
|
86
|
+
return num.toFixed(6);
|
|
87
|
+
return num.toLocaleString(undefined, { maximumFractionDigits: 4 });
|
|
88
|
+
}
|
|
89
|
+
// ============================================================================
|
|
90
|
+
// Swap Handlers
|
|
91
|
+
// ============================================================================
|
|
92
|
+
async function handleSwap(args) {
|
|
93
|
+
if (!isConfigured()) {
|
|
94
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
95
|
+
}
|
|
96
|
+
const toIndex = args.findIndex(a => a.toLowerCase() === 'to');
|
|
97
|
+
if (toIndex < 2 || toIndex >= args.length - 1) {
|
|
98
|
+
return 'Usage: /jup swap <amount> <from> to <to>';
|
|
99
|
+
}
|
|
100
|
+
const amount = args[0];
|
|
101
|
+
const fromToken = args.slice(1, toIndex).join(' ');
|
|
102
|
+
const toToken = args.slice(toIndex + 1).join(' ');
|
|
103
|
+
try {
|
|
104
|
+
const { wallet, jupiter, tokenlist } = await getSolanaModules();
|
|
105
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
106
|
+
const connection = wallet.getSolanaConnection();
|
|
107
|
+
const [fromMint, toMint] = await tokenlist.resolveTokenMints([fromToken, toToken]);
|
|
108
|
+
if (!fromMint || !toMint) {
|
|
109
|
+
return `Could not resolve tokens. Use symbols like SOL, USDC, JUP.`;
|
|
110
|
+
}
|
|
111
|
+
const result = await jupiter.executeJupiterSwap(connection, keypair, {
|
|
112
|
+
inputMint: fromMint,
|
|
113
|
+
outputMint: toMint,
|
|
114
|
+
amount,
|
|
115
|
+
slippageBps: 50,
|
|
116
|
+
});
|
|
117
|
+
return `**Jupiter Swap Complete**
|
|
118
|
+
|
|
119
|
+
${fromToken} -> ${toToken}
|
|
120
|
+
In: ${result.inAmount}
|
|
121
|
+
Out: ${result.outAmount}
|
|
122
|
+
Price Impact: ${result.priceImpactPct || 'N/A'}%
|
|
123
|
+
Route: ${result.routePlan?.map((r) => r.swapInfo?.label).join(' -> ') || 'Direct'}
|
|
124
|
+
TX: \`${result.signature}\``;
|
|
125
|
+
}
|
|
126
|
+
catch (error) {
|
|
127
|
+
return `Swap failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
async function handleQuote(args) {
|
|
131
|
+
const toIndex = args.findIndex(a => a.toLowerCase() === 'to');
|
|
132
|
+
if (toIndex < 2 || toIndex >= args.length - 1) {
|
|
133
|
+
return 'Usage: /jup quote <amount> <from> to <to>';
|
|
134
|
+
}
|
|
135
|
+
const amount = args[0];
|
|
136
|
+
const fromToken = args.slice(1, toIndex).join(' ');
|
|
137
|
+
const toToken = args.slice(toIndex + 1).join(' ');
|
|
138
|
+
try {
|
|
139
|
+
const { jupiter, tokenlist } = await getSolanaModules();
|
|
140
|
+
const [fromMint, toMint] = await tokenlist.resolveTokenMints([fromToken, toToken]);
|
|
141
|
+
if (!fromMint || !toMint) {
|
|
142
|
+
return `Could not resolve tokens.`;
|
|
143
|
+
}
|
|
144
|
+
const tokens = await tokenlist.getTokenList();
|
|
145
|
+
const fromDecimals = tokens.find(t => t.address === fromMint)?.decimals ?? 9;
|
|
146
|
+
const toDecimals = tokens.find(t => t.address === toMint)?.decimals ?? 9;
|
|
147
|
+
const amountBaseUnits = Math.floor(parseFloat(amount) * Math.pow(10, fromDecimals)).toString();
|
|
148
|
+
const quote = await jupiter.getJupiterQuote({
|
|
149
|
+
inputMint: fromMint,
|
|
150
|
+
outputMint: toMint,
|
|
151
|
+
amount: amountBaseUnits,
|
|
152
|
+
slippageBps: 50,
|
|
153
|
+
});
|
|
154
|
+
const outHuman = formatAmount(quote.outAmount || '0', toDecimals);
|
|
155
|
+
const minOutHuman = formatAmount(quote.otherAmountThreshold || '0', toDecimals);
|
|
156
|
+
return `**Jupiter Quote**
|
|
157
|
+
|
|
158
|
+
${amount} ${fromToken} -> ${toToken}
|
|
159
|
+
Output: ${outHuman} ${toToken}
|
|
160
|
+
Min Output (slippage): ${minOutHuman} ${toToken}
|
|
161
|
+
Price Impact: ${quote.priceImpactPct || 'N/A'}%
|
|
162
|
+
Route: ${quote.routePlan?.length || 1} hops`;
|
|
163
|
+
}
|
|
164
|
+
catch (error) {
|
|
165
|
+
return `Quote failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
async function handleRoute(from, to, amount) {
|
|
169
|
+
if (!from || !to) {
|
|
170
|
+
return 'Usage: /jup route <from> <to> [amount]';
|
|
171
|
+
}
|
|
172
|
+
try {
|
|
173
|
+
const { tokenlist } = await getSolanaModules();
|
|
174
|
+
const [fromMint, toMint] = await tokenlist.resolveTokenMints([from, to]);
|
|
175
|
+
if (!fromMint || !toMint) {
|
|
176
|
+
return `Could not resolve tokens.`;
|
|
177
|
+
}
|
|
178
|
+
const url = `https://quote-api.jup.ag/v6/quote?inputMint=${fromMint}&outputMint=${toMint}&amount=${amount || '1000000000'}&slippageBps=50`;
|
|
179
|
+
const response = await fetch(url);
|
|
180
|
+
const data = await response.json();
|
|
181
|
+
if (!data.routePlan) {
|
|
182
|
+
return `No route found for ${from} -> ${to}`;
|
|
183
|
+
}
|
|
184
|
+
let output = `**Jupiter Route: ${from} -> ${to}**\n\n`;
|
|
185
|
+
output += `Output: ${data.outAmount}\n`;
|
|
186
|
+
output += `Price Impact: ${data.priceImpactPct || 'N/A'}%\n\n`;
|
|
187
|
+
output += `**Route Steps:**\n`;
|
|
188
|
+
for (const step of data.routePlan || []) {
|
|
189
|
+
const info = step.swapInfo || {};
|
|
190
|
+
output += `- ${info.label || 'Unknown'}: ${info.inputMint?.slice(0, 8)}... -> ${info.outputMint?.slice(0, 8)}...\n`;
|
|
191
|
+
}
|
|
192
|
+
return output;
|
|
193
|
+
}
|
|
194
|
+
catch (error) {
|
|
195
|
+
return `Route failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
// ============================================================================
|
|
199
|
+
// Limit Order Handlers
|
|
200
|
+
// ============================================================================
|
|
201
|
+
async function handleLimitOrder(args) {
|
|
202
|
+
if (!isConfigured()) {
|
|
203
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
204
|
+
}
|
|
205
|
+
// Parse: /jup limit <amount> <from> to <to> @ <price> [--expiry <hours>]
|
|
206
|
+
const toIndex = args.findIndex(a => a.toLowerCase() === 'to');
|
|
207
|
+
const atIndex = args.findIndex(a => a === '@');
|
|
208
|
+
if (toIndex < 2 || atIndex < toIndex || atIndex >= args.length - 1) {
|
|
209
|
+
return `Usage: /jup limit <amount> <from> to <to> @ <price> [--expiry <hours>]
|
|
210
|
+
|
|
211
|
+
Example:
|
|
212
|
+
/jup limit 1 SOL to USDC @ 250
|
|
213
|
+
/jup limit 100 USDC to JUP @ 0.8 --expiry 168`;
|
|
214
|
+
}
|
|
215
|
+
const amount = args[0];
|
|
216
|
+
const fromToken = args.slice(1, toIndex).join(' ');
|
|
217
|
+
const toToken = args.slice(toIndex + 1, atIndex).join(' ');
|
|
218
|
+
const priceStr = args[atIndex + 1];
|
|
219
|
+
// Parse expiry
|
|
220
|
+
let expiryHours = 168; // Default 1 week
|
|
221
|
+
const expiryIndex = args.findIndex(a => a === '--expiry');
|
|
222
|
+
if (expiryIndex >= 0 && args[expiryIndex + 1]) {
|
|
223
|
+
expiryHours = parseInt(args[expiryIndex + 1]);
|
|
224
|
+
}
|
|
225
|
+
const price = parseFloat(priceStr);
|
|
226
|
+
if (isNaN(price)) {
|
|
227
|
+
return 'Price must be a number.';
|
|
228
|
+
}
|
|
229
|
+
try {
|
|
230
|
+
const { wallet, jupiter, tokenlist } = await getSolanaModules();
|
|
231
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
232
|
+
const connection = wallet.getSolanaConnection();
|
|
233
|
+
const [fromMint, toMint] = await tokenlist.resolveTokenMints([fromToken, toToken]);
|
|
234
|
+
if (!fromMint || !toMint) {
|
|
235
|
+
return `Could not resolve tokens.`;
|
|
236
|
+
}
|
|
237
|
+
const tokens = await tokenlist.getTokenList();
|
|
238
|
+
const fromDecimals = tokens.find(t => t.address === fromMint)?.decimals ?? 9;
|
|
239
|
+
const toDecimals = tokens.find(t => t.address === toMint)?.decimals ?? 6;
|
|
240
|
+
const inAmount = Math.floor(parseFloat(amount) * Math.pow(10, fromDecimals)).toString();
|
|
241
|
+
const outAmount = Math.floor(parseFloat(amount) * price * Math.pow(10, toDecimals)).toString();
|
|
242
|
+
const expiredAtMs = Date.now() + expiryHours * 60 * 60 * 1000;
|
|
243
|
+
const result = await jupiter.createJupiterLimitOrder(connection, keypair, {
|
|
244
|
+
inputMint: fromMint,
|
|
245
|
+
outputMint: toMint,
|
|
246
|
+
inAmount,
|
|
247
|
+
outAmount,
|
|
248
|
+
expiredAtMs,
|
|
249
|
+
});
|
|
250
|
+
return `**Limit Order Created**
|
|
251
|
+
|
|
252
|
+
Sell: ${amount} ${fromToken}
|
|
253
|
+
Buy: ${(parseFloat(amount) * price).toFixed(4)} ${toToken}
|
|
254
|
+
Price: ${price} ${toToken}/${fromToken}
|
|
255
|
+
Expiry: ${expiryHours} hours
|
|
256
|
+
Order: \`${result.orderPubKey}\`
|
|
257
|
+
TX: \`${result.signature}\``;
|
|
258
|
+
}
|
|
259
|
+
catch (error) {
|
|
260
|
+
return `Limit order failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
async function handleListOrders() {
|
|
264
|
+
if (!isConfigured()) {
|
|
265
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
266
|
+
}
|
|
267
|
+
try {
|
|
268
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
269
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
270
|
+
const connection = wallet.getSolanaConnection();
|
|
271
|
+
const orders = await jupiter.listJupiterLimitOrders(connection, keypair.publicKey.toBase58());
|
|
272
|
+
if (!orders || orders.length === 0) {
|
|
273
|
+
return '**Jupiter Limit Orders**\n\nNo open orders.';
|
|
274
|
+
}
|
|
275
|
+
let output = `**Jupiter Limit Orders** (${orders.length})\n\n`;
|
|
276
|
+
for (const order of orders.slice(0, 10)) {
|
|
277
|
+
output += `Order: \`${order.publicKey?.slice(0, 12) || 'N/A'}...\`\n`;
|
|
278
|
+
output += ` Input: ${order.inputMint?.slice(0, 8)}... -> ${order.outputMint?.slice(0, 8)}...\n`;
|
|
279
|
+
output += ` In: ${order.makingAmount} | Out: ${order.takingAmount}\n`;
|
|
280
|
+
if (order.expiredAt) {
|
|
281
|
+
const expiry = new Date(order.expiredAt * 1000).toLocaleString();
|
|
282
|
+
output += ` Expires: ${expiry}\n`;
|
|
283
|
+
}
|
|
284
|
+
output += '\n';
|
|
285
|
+
}
|
|
286
|
+
return output;
|
|
287
|
+
}
|
|
288
|
+
catch (error) {
|
|
289
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
async function handleGetOrder(pubkey) {
|
|
293
|
+
if (!pubkey) {
|
|
294
|
+
return 'Usage: /jup order <pubkey>';
|
|
295
|
+
}
|
|
296
|
+
try {
|
|
297
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
298
|
+
const connection = wallet.getSolanaConnection();
|
|
299
|
+
const order = await jupiter.getJupiterLimitOrder(connection, pubkey);
|
|
300
|
+
if (!order) {
|
|
301
|
+
return `Order not found: \`${pubkey}\``;
|
|
302
|
+
}
|
|
303
|
+
return `**Jupiter Limit Order**
|
|
304
|
+
|
|
305
|
+
Order: \`${pubkey}\`
|
|
306
|
+
Input Mint: \`${order.inputMint}\`
|
|
307
|
+
Output Mint: \`${order.outputMint}\`
|
|
308
|
+
Making Amount: ${order.makingAmount}
|
|
309
|
+
Taking Amount: ${order.takingAmount}
|
|
310
|
+
Original Making: ${order.oriMakingAmount}
|
|
311
|
+
Original Taking: ${order.oriTakingAmount}
|
|
312
|
+
${order.expiredAt ? `Expires: ${new Date(order.expiredAt * 1000).toLocaleString()}` : 'No expiry'}
|
|
313
|
+
Waiting: ${order.waiting ? 'Yes' : 'No'}`;
|
|
314
|
+
}
|
|
315
|
+
catch (error) {
|
|
316
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
async function handleCancelOrder(pubkey) {
|
|
320
|
+
if (!isConfigured()) {
|
|
321
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
322
|
+
}
|
|
323
|
+
if (!pubkey) {
|
|
324
|
+
return 'Usage: /jup cancel <pubkey>';
|
|
325
|
+
}
|
|
326
|
+
try {
|
|
327
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
328
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
329
|
+
const connection = wallet.getSolanaConnection();
|
|
330
|
+
const signature = await jupiter.cancelJupiterLimitOrder(connection, keypair, pubkey);
|
|
331
|
+
return `**Order Cancelled**
|
|
332
|
+
|
|
333
|
+
Order: \`${pubkey}\`
|
|
334
|
+
TX: \`${signature}\``;
|
|
335
|
+
}
|
|
336
|
+
catch (error) {
|
|
337
|
+
return `Cancel failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
async function handleCancelAllOrders() {
|
|
341
|
+
if (!isConfigured()) {
|
|
342
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
343
|
+
}
|
|
344
|
+
try {
|
|
345
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
346
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
347
|
+
const connection = wallet.getSolanaConnection();
|
|
348
|
+
// First get all orders
|
|
349
|
+
const orders = await jupiter.listJupiterLimitOrders(connection, keypair.publicKey.toBase58());
|
|
350
|
+
if (!orders || orders.length === 0) {
|
|
351
|
+
return 'No open orders to cancel.';
|
|
352
|
+
}
|
|
353
|
+
const orderPubkeys = orders.map(o => o.publicKey).filter((p) => !!p);
|
|
354
|
+
const signature = await jupiter.batchCancelJupiterLimitOrders(connection, keypair, orderPubkeys);
|
|
355
|
+
return `**All Orders Cancelled**
|
|
356
|
+
|
|
357
|
+
Cancelled: ${orderPubkeys.length} orders
|
|
358
|
+
TX: \`${signature}\``;
|
|
359
|
+
}
|
|
360
|
+
catch (error) {
|
|
361
|
+
return `Cancel all failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
// ============================================================================
|
|
365
|
+
// DCA Handlers
|
|
366
|
+
// ============================================================================
|
|
367
|
+
async function handleCreateDCA(args) {
|
|
368
|
+
if (!isConfigured()) {
|
|
369
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
370
|
+
}
|
|
371
|
+
// Parse: /jup dca <total> <from> to <to> --per <amount> --every <seconds>
|
|
372
|
+
const toIndex = args.findIndex(a => a.toLowerCase() === 'to');
|
|
373
|
+
const perIndex = args.findIndex(a => a === '--per');
|
|
374
|
+
const everyIndex = args.findIndex(a => a === '--every');
|
|
375
|
+
if (toIndex < 2 || perIndex < 0 || everyIndex < 0) {
|
|
376
|
+
return `Usage: /jup dca <total> <from> to <to> --per <amount> --every <seconds>
|
|
377
|
+
|
|
378
|
+
Example:
|
|
379
|
+
/jup dca 100 USDC to JUP --per 10 --every 3600
|
|
380
|
+
(Swap 10 USDC to JUP every hour, 100 total)`;
|
|
381
|
+
}
|
|
382
|
+
const total = args[0];
|
|
383
|
+
const fromToken = args.slice(1, toIndex).join(' ');
|
|
384
|
+
const toToken = args.slice(toIndex + 1, perIndex).join(' ');
|
|
385
|
+
const perAmount = args[perIndex + 1];
|
|
386
|
+
const everySeconds = parseInt(args[everyIndex + 1]);
|
|
387
|
+
if (isNaN(everySeconds) || everySeconds < 30) {
|
|
388
|
+
return 'Interval must be at least 30 seconds.';
|
|
389
|
+
}
|
|
390
|
+
try {
|
|
391
|
+
const { wallet, jupiter, tokenlist } = await getSolanaModules();
|
|
392
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
393
|
+
const connection = wallet.getSolanaConnection();
|
|
394
|
+
const [fromMint, toMint] = await tokenlist.resolveTokenMints([fromToken, toToken]);
|
|
395
|
+
if (!fromMint || !toMint) {
|
|
396
|
+
return `Could not resolve tokens.`;
|
|
397
|
+
}
|
|
398
|
+
const tokens = await tokenlist.getTokenList();
|
|
399
|
+
const fromDecimals = tokens.find(t => t.address === fromMint)?.decimals ?? 6;
|
|
400
|
+
const inAmount = Math.floor(parseFloat(total) * Math.pow(10, fromDecimals)).toString();
|
|
401
|
+
const inAmountPerCycle = Math.floor(parseFloat(perAmount) * Math.pow(10, fromDecimals)).toString();
|
|
402
|
+
const result = await jupiter.createJupiterDCA(connection, keypair, {
|
|
403
|
+
inputMint: fromMint,
|
|
404
|
+
outputMint: toMint,
|
|
405
|
+
inAmount,
|
|
406
|
+
inAmountPerCycle,
|
|
407
|
+
cycleSecondsApart: everySeconds,
|
|
408
|
+
});
|
|
409
|
+
const numCycles = Math.ceil(parseFloat(total) / parseFloat(perAmount));
|
|
410
|
+
return `**DCA Created**
|
|
411
|
+
|
|
412
|
+
From: ${total} ${fromToken}
|
|
413
|
+
To: ${toToken}
|
|
414
|
+
Per Cycle: ${perAmount} ${fromToken}
|
|
415
|
+
Interval: ${everySeconds}s (${(everySeconds / 60).toFixed(1)} min)
|
|
416
|
+
Cycles: ~${numCycles}
|
|
417
|
+
DCA: \`${result.dcaPubKey}\`
|
|
418
|
+
TX: \`${result.signature}\``;
|
|
419
|
+
}
|
|
420
|
+
catch (error) {
|
|
421
|
+
return `DCA creation failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
async function handleListDCAs() {
|
|
425
|
+
if (!isConfigured()) {
|
|
426
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
427
|
+
}
|
|
428
|
+
try {
|
|
429
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
430
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
431
|
+
const connection = wallet.getSolanaConnection();
|
|
432
|
+
const dcas = await jupiter.listJupiterDCAs(connection, keypair.publicKey.toBase58());
|
|
433
|
+
if (!dcas || dcas.length === 0) {
|
|
434
|
+
return '**Jupiter DCAs**\n\nNo active DCAs.';
|
|
435
|
+
}
|
|
436
|
+
let output = `**Jupiter DCAs** (${dcas.length})\n\n`;
|
|
437
|
+
for (const dca of dcas.slice(0, 10)) {
|
|
438
|
+
output += `DCA: \`${dca.publicKey?.slice(0, 12) || 'N/A'}...\`\n`;
|
|
439
|
+
output += ` ${dca.inputMint?.slice(0, 8)}... -> ${dca.outputMint?.slice(0, 8)}...\n`;
|
|
440
|
+
if (dca.inDeposited && dca.inUsed) {
|
|
441
|
+
const remaining = BigInt(dca.inDeposited) - BigInt(dca.inUsed);
|
|
442
|
+
output += ` Remaining: ${remaining.toString()}\n`;
|
|
443
|
+
}
|
|
444
|
+
output += '\n';
|
|
445
|
+
}
|
|
446
|
+
return output;
|
|
447
|
+
}
|
|
448
|
+
catch (error) {
|
|
449
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
async function handleDCAInfo(pubkey) {
|
|
453
|
+
if (!pubkey) {
|
|
454
|
+
return 'Usage: /jup dca-info <pubkey>';
|
|
455
|
+
}
|
|
456
|
+
try {
|
|
457
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
458
|
+
const connection = wallet.getSolanaConnection();
|
|
459
|
+
const dca = await jupiter.getJupiterDCA(connection, pubkey);
|
|
460
|
+
if (!dca) {
|
|
461
|
+
return `DCA not found: \`${pubkey}\``;
|
|
462
|
+
}
|
|
463
|
+
const balance = await jupiter.getJupiterDCABalance(connection, pubkey);
|
|
464
|
+
return `**Jupiter DCA**
|
|
465
|
+
|
|
466
|
+
DCA: \`${pubkey}\`
|
|
467
|
+
Input: \`${dca.inputMint}\`
|
|
468
|
+
Output: \`${dca.outputMint}\`
|
|
469
|
+
Deposited: ${dca.inDeposited}
|
|
470
|
+
Used: ${dca.inUsed}
|
|
471
|
+
Received: ${dca.outReceived}
|
|
472
|
+
Per Cycle: ${dca.inAmountPerCycle}
|
|
473
|
+
Interval: ${dca.cycleFrequency}s
|
|
474
|
+
Next Cycle: ${new Date(dca.nextCycleAt * 1000).toLocaleString()}
|
|
475
|
+
${balance ? `Input Balance: ${balance.inputBalance}\nOutput Balance: ${balance.outputBalance}` : ''}`;
|
|
476
|
+
}
|
|
477
|
+
catch (error) {
|
|
478
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
async function handleCloseDCA(pubkey) {
|
|
482
|
+
if (!isConfigured()) {
|
|
483
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
484
|
+
}
|
|
485
|
+
if (!pubkey) {
|
|
486
|
+
return 'Usage: /jup dca-close <pubkey>';
|
|
487
|
+
}
|
|
488
|
+
try {
|
|
489
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
490
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
491
|
+
const connection = wallet.getSolanaConnection();
|
|
492
|
+
const signature = await jupiter.closeJupiterDCA(connection, keypair, pubkey);
|
|
493
|
+
return `**DCA Closed**
|
|
494
|
+
|
|
495
|
+
DCA: \`${pubkey}\`
|
|
496
|
+
TX: \`${signature}\`
|
|
497
|
+
|
|
498
|
+
Remaining funds returned to your wallet.`;
|
|
499
|
+
}
|
|
500
|
+
catch (error) {
|
|
501
|
+
return `Close DCA failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
async function handleDepositDCA(args) {
|
|
505
|
+
if (!isConfigured()) {
|
|
506
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
507
|
+
}
|
|
508
|
+
if (args.length < 2) {
|
|
509
|
+
return 'Usage: /jup dca-deposit <pubkey> <amount>';
|
|
510
|
+
}
|
|
511
|
+
const [pubkey, amountStr] = args;
|
|
512
|
+
try {
|
|
513
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
514
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
515
|
+
const connection = wallet.getSolanaConnection();
|
|
516
|
+
// Get DCA to determine input mint decimals
|
|
517
|
+
const dca = await jupiter.getJupiterDCA(connection, pubkey);
|
|
518
|
+
if (!dca) {
|
|
519
|
+
return `DCA not found: \`${pubkey}\``;
|
|
520
|
+
}
|
|
521
|
+
const signature = await jupiter.depositJupiterDCA(connection, keypair, pubkey, amountStr);
|
|
522
|
+
return `**DCA Deposit**
|
|
523
|
+
|
|
524
|
+
DCA: \`${pubkey}\`
|
|
525
|
+
Deposited: ${amountStr}
|
|
526
|
+
TX: \`${signature}\``;
|
|
527
|
+
}
|
|
528
|
+
catch (error) {
|
|
529
|
+
return `Deposit failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
async function handleWithdrawDCA(args) {
|
|
533
|
+
if (!isConfigured()) {
|
|
534
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
535
|
+
}
|
|
536
|
+
if (!args[0]) {
|
|
537
|
+
return 'Usage: /jup dca-withdraw <pubkey> [--in <amount>] [--out <amount>]';
|
|
538
|
+
}
|
|
539
|
+
const pubkey = args[0];
|
|
540
|
+
const inIndex = args.findIndex(a => a === '--in');
|
|
541
|
+
const outIndex = args.findIndex(a => a === '--out');
|
|
542
|
+
const withdrawInAmount = inIndex >= 0 ? args[inIndex + 1] : undefined;
|
|
543
|
+
const withdrawOutAmount = outIndex >= 0 ? args[outIndex + 1] : undefined;
|
|
544
|
+
try {
|
|
545
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
546
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
547
|
+
const connection = wallet.getSolanaConnection();
|
|
548
|
+
const signature = await jupiter.withdrawJupiterDCA(connection, keypair, pubkey, {
|
|
549
|
+
withdrawInAmount,
|
|
550
|
+
withdrawOutAmount,
|
|
551
|
+
});
|
|
552
|
+
return `**DCA Withdraw**
|
|
553
|
+
|
|
554
|
+
DCA: \`${pubkey}\`
|
|
555
|
+
${withdrawInAmount ? `Withdrawn In: ${withdrawInAmount}` : ''}
|
|
556
|
+
${withdrawOutAmount ? `Withdrawn Out: ${withdrawOutAmount}` : ''}
|
|
557
|
+
TX: \`${signature}\``;
|
|
558
|
+
}
|
|
559
|
+
catch (error) {
|
|
560
|
+
return `Withdraw failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
// ============================================================================
|
|
564
|
+
// History Handlers
|
|
565
|
+
// ============================================================================
|
|
566
|
+
async function handleTradeHistory() {
|
|
567
|
+
if (!isConfigured()) {
|
|
568
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
569
|
+
}
|
|
570
|
+
try {
|
|
571
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
572
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
573
|
+
const connection = wallet.getSolanaConnection();
|
|
574
|
+
const history = await jupiter.getJupiterTradeHistory(connection, keypair.publicKey.toBase58());
|
|
575
|
+
if (!history || history.length === 0) {
|
|
576
|
+
return '**Jupiter Trade History**\n\nNo trades found.';
|
|
577
|
+
}
|
|
578
|
+
let output = `**Jupiter Trade History** (${history.length})\n\n`;
|
|
579
|
+
for (const trade of history.slice(0, 10)) {
|
|
580
|
+
output += `Trade: \`${trade.id?.slice(0, 12) || trade.orderKey?.slice(0, 12) || 'N/A'}...\`\n`;
|
|
581
|
+
output += ` ${trade.inputMint?.slice(0, 8)}... -> ${trade.outputMint?.slice(0, 8)}...\n`;
|
|
582
|
+
if (trade.inAmount && trade.outAmount) {
|
|
583
|
+
output += ` ${trade.inAmount} -> ${trade.outAmount}\n`;
|
|
584
|
+
}
|
|
585
|
+
if (trade.createdAt) {
|
|
586
|
+
output += ` ${new Date(trade.createdAt).toLocaleString()}\n`;
|
|
587
|
+
}
|
|
588
|
+
output += '\n';
|
|
589
|
+
}
|
|
590
|
+
return output;
|
|
591
|
+
}
|
|
592
|
+
catch (error) {
|
|
593
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
async function handleOrderHistory() {
|
|
597
|
+
if (!isConfigured()) {
|
|
598
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
599
|
+
}
|
|
600
|
+
try {
|
|
601
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
602
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
603
|
+
const connection = wallet.getSolanaConnection();
|
|
604
|
+
const history = await jupiter.getJupiterLimitOrderHistory(connection, keypair.publicKey.toBase58());
|
|
605
|
+
if (!history || history.length === 0) {
|
|
606
|
+
return '**Jupiter Order History**\n\nNo order history found.';
|
|
607
|
+
}
|
|
608
|
+
let output = `**Jupiter Order History** (${history.length})\n\n`;
|
|
609
|
+
for (const order of history.slice(0, 10)) {
|
|
610
|
+
const status = order.status || 'unknown';
|
|
611
|
+
output += `[${status.toUpperCase()}] \`${order.publicKey?.slice(0, 12) || order.orderKey?.slice(0, 12) || 'N/A'}...\`\n`;
|
|
612
|
+
output += ` ${order.inputMint?.slice(0, 8)}... -> ${order.outputMint?.slice(0, 8)}...\n`;
|
|
613
|
+
if (order.makingAmount && order.takingAmount) {
|
|
614
|
+
output += ` Making: ${order.makingAmount} | Taking: ${order.takingAmount}\n`;
|
|
615
|
+
}
|
|
616
|
+
output += '\n';
|
|
617
|
+
}
|
|
618
|
+
return output;
|
|
619
|
+
}
|
|
620
|
+
catch (error) {
|
|
621
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
// ============================================================================
|
|
625
|
+
// Additional Commands
|
|
626
|
+
// ============================================================================
|
|
627
|
+
async function handleDCAFills(pubkey) {
|
|
628
|
+
if (!pubkey) {
|
|
629
|
+
return 'Usage: /jup dca-fills <pubkey>';
|
|
630
|
+
}
|
|
631
|
+
try {
|
|
632
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
633
|
+
const connection = wallet.getSolanaConnection();
|
|
634
|
+
const fills = await jupiter.getJupiterDCAFillHistory(connection, pubkey);
|
|
635
|
+
if (!fills || fills.length === 0) {
|
|
636
|
+
return `**DCA Fill History**\n\nNo fills found for \`${pubkey}\``;
|
|
637
|
+
}
|
|
638
|
+
let output = `**DCA Fill History** (${fills.length})\n\n`;
|
|
639
|
+
for (const fill of fills.slice(0, 15)) {
|
|
640
|
+
output += `TX: \`${fill.txId?.slice(0, 12)}...\`\n`;
|
|
641
|
+
output += ` In: ${fill.inAmount} | Out: ${fill.outAmount}\n`;
|
|
642
|
+
output += ` Fee: ${fill.fee} (${fill.feeMint?.slice(0, 8)}...)\n`;
|
|
643
|
+
output += ` ${fill.confirmedAt ? new Date(fill.confirmedAt).toLocaleString() : ''}\n\n`;
|
|
644
|
+
}
|
|
645
|
+
return output;
|
|
646
|
+
}
|
|
647
|
+
catch (error) {
|
|
648
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
async function handleClosedDCAs() {
|
|
652
|
+
if (!isConfigured()) {
|
|
653
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
654
|
+
}
|
|
655
|
+
try {
|
|
656
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
657
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
658
|
+
const connection = wallet.getSolanaConnection();
|
|
659
|
+
const closed = await jupiter.listClosedJupiterDCAs(connection, keypair.publicKey.toBase58());
|
|
660
|
+
if (!closed || closed.length === 0) {
|
|
661
|
+
return '**Closed DCAs**\n\nNo closed DCAs found.';
|
|
662
|
+
}
|
|
663
|
+
let output = `**Closed DCAs** (${closed.length})\n\n`;
|
|
664
|
+
for (const dca of closed.slice(0, 10)) {
|
|
665
|
+
output += `DCA: \`${dca.publicKey?.slice(0, 12)}...\`\n`;
|
|
666
|
+
output += ` ${dca.inputMint?.slice(0, 8)}... -> ${dca.outputMint?.slice(0, 8)}...\n`;
|
|
667
|
+
output += ` Filled: ${dca.inFilled} | Received: ${dca.outReceived}\n`;
|
|
668
|
+
output += ` User Closed: ${dca.userClosed ? 'Yes' : 'No'}\n\n`;
|
|
669
|
+
}
|
|
670
|
+
return output;
|
|
671
|
+
}
|
|
672
|
+
catch (error) {
|
|
673
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
async function handleDCATokens() {
|
|
677
|
+
try {
|
|
678
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
679
|
+
const connection = wallet.getSolanaConnection();
|
|
680
|
+
const tokens = await jupiter.getJupiterDCAAvailableTokens(connection);
|
|
681
|
+
if (!tokens || tokens.length === 0) {
|
|
682
|
+
return '**DCA Available Tokens**\n\nNo tokens found.';
|
|
683
|
+
}
|
|
684
|
+
let output = `**DCA Available Tokens** (${tokens.length})\n\n`;
|
|
685
|
+
output += tokens.slice(0, 30).map(t => `\`${t.slice(0, 16)}...\``).join('\n');
|
|
686
|
+
if (tokens.length > 30) {
|
|
687
|
+
output += `\n\n... and ${tokens.length - 30} more`;
|
|
688
|
+
}
|
|
689
|
+
return output;
|
|
690
|
+
}
|
|
691
|
+
catch (error) {
|
|
692
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
async function handleFees() {
|
|
696
|
+
try {
|
|
697
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
698
|
+
const connection = wallet.getSolanaConnection();
|
|
699
|
+
const fees = await jupiter.getJupiterLimitOrderFee(connection);
|
|
700
|
+
return `**Jupiter Limit Order Fees**
|
|
701
|
+
|
|
702
|
+
Maker Fee: ${fees.makerFee}
|
|
703
|
+
Maker Stable Fee: ${fees.makerStableFee}
|
|
704
|
+
Taker Fee: ${fees.takerFee}
|
|
705
|
+
Taker Stable Fee: ${fees.takerStableFee}`;
|
|
706
|
+
}
|
|
707
|
+
catch (error) {
|
|
708
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
async function handleCancelExpired(args) {
|
|
712
|
+
if (!isConfigured()) {
|
|
713
|
+
return 'Jupiter not configured. Set SOLANA_PRIVATE_KEY.';
|
|
714
|
+
}
|
|
715
|
+
if (!args[0]) {
|
|
716
|
+
return 'Usage: /jup cancel-expired <pubkey> or /jup cancel-expired --all <pubkey1> <pubkey2> ...';
|
|
717
|
+
}
|
|
718
|
+
try {
|
|
719
|
+
const { wallet, jupiter } = await getSolanaModules();
|
|
720
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
721
|
+
const connection = wallet.getSolanaConnection();
|
|
722
|
+
if (args[0] === '--all' && args.length > 1) {
|
|
723
|
+
const pubkeys = args.slice(1);
|
|
724
|
+
const signature = await jupiter.batchCancelExpiredJupiterLimitOrders(connection, keypair, pubkeys);
|
|
725
|
+
return `**Batch Cancel Expired**\n\nCancelled: ${pubkeys.length} orders\nTX: \`${signature}\``;
|
|
726
|
+
}
|
|
727
|
+
const signature = await jupiter.cancelExpiredJupiterLimitOrder(connection, keypair, args[0]);
|
|
728
|
+
if (!signature) {
|
|
729
|
+
return `Order is not expired or not found: \`${args[0]}\``;
|
|
730
|
+
}
|
|
731
|
+
return `**Expired Order Cancelled**\n\nOrder: \`${args[0]}\`\nTX: \`${signature}\``;
|
|
732
|
+
}
|
|
733
|
+
catch (error) {
|
|
734
|
+
return `Cancel expired failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
async function handleOrdersByMint(args) {
|
|
738
|
+
const inputIndex = args.findIndex(a => a === '--input');
|
|
739
|
+
const outputIndex = args.findIndex(a => a === '--output');
|
|
740
|
+
if (inputIndex < 0 && outputIndex < 0) {
|
|
741
|
+
return 'Usage: /jup orders-by-mint --input <mint> [--output <mint>]';
|
|
742
|
+
}
|
|
743
|
+
try {
|
|
744
|
+
const { wallet, jupiter, tokenlist } = await getSolanaModules();
|
|
745
|
+
const keypair = wallet.loadSolanaKeypair();
|
|
746
|
+
const connection = wallet.getSolanaConnection();
|
|
747
|
+
const inputToken = inputIndex >= 0 ? args[inputIndex + 1] : undefined;
|
|
748
|
+
const outputToken = outputIndex >= 0 ? args[outputIndex + 1] : undefined;
|
|
749
|
+
const [inputMint, outputMint] = await tokenlist.resolveTokenMints([inputToken, outputToken].filter(Boolean));
|
|
750
|
+
const orders = await jupiter.listJupiterLimitOrdersByMint(connection, {
|
|
751
|
+
owner: keypair.publicKey.toBase58(),
|
|
752
|
+
inputMint: inputToken ? inputMint : undefined,
|
|
753
|
+
outputMint: outputToken ? outputMint : undefined,
|
|
754
|
+
});
|
|
755
|
+
if (!orders || orders.length === 0) {
|
|
756
|
+
return '**Orders by Mint**\n\nNo orders found matching filters.';
|
|
757
|
+
}
|
|
758
|
+
let output = `**Orders by Mint** (${orders.length})\n\n`;
|
|
759
|
+
for (const order of orders.slice(0, 10)) {
|
|
760
|
+
output += `Order: \`${order.publicKey?.slice(0, 12)}...\`\n`;
|
|
761
|
+
output += ` Making: ${order.makingAmount} | Taking: ${order.takingAmount}\n\n`;
|
|
762
|
+
}
|
|
763
|
+
return output;
|
|
764
|
+
}
|
|
765
|
+
catch (error) {
|
|
766
|
+
return `Error: ${error instanceof Error ? error.message : String(error)}`;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
// ============================================================================
|
|
770
|
+
// Main Execute
|
|
771
|
+
// ============================================================================
|
|
772
|
+
async function execute(args) {
|
|
773
|
+
const parts = args.trim().split(/\s+/);
|
|
774
|
+
const command = parts[0]?.toLowerCase() || 'help';
|
|
775
|
+
const rest = parts.slice(1);
|
|
776
|
+
switch (command) {
|
|
777
|
+
// Swaps
|
|
778
|
+
case 'swap':
|
|
779
|
+
return handleSwap(rest);
|
|
780
|
+
case 'quote':
|
|
781
|
+
return handleQuote(rest);
|
|
782
|
+
case 'route':
|
|
783
|
+
return handleRoute(rest[0], rest[1], rest[2]);
|
|
784
|
+
// Limit Orders
|
|
785
|
+
case 'limit':
|
|
786
|
+
return handleLimitOrder(rest);
|
|
787
|
+
case 'orders':
|
|
788
|
+
return handleListOrders();
|
|
789
|
+
case 'order':
|
|
790
|
+
return handleGetOrder(rest[0]);
|
|
791
|
+
case 'cancel':
|
|
792
|
+
return handleCancelOrder(rest[0]);
|
|
793
|
+
case 'cancel-all':
|
|
794
|
+
return handleCancelAllOrders();
|
|
795
|
+
// DCA
|
|
796
|
+
case 'dca':
|
|
797
|
+
return handleCreateDCA(rest);
|
|
798
|
+
case 'dcas':
|
|
799
|
+
return handleListDCAs();
|
|
800
|
+
case 'dca-info':
|
|
801
|
+
return handleDCAInfo(rest[0]);
|
|
802
|
+
case 'dca-close':
|
|
803
|
+
return handleCloseDCA(rest[0]);
|
|
804
|
+
case 'dca-deposit':
|
|
805
|
+
return handleDepositDCA(rest);
|
|
806
|
+
case 'dca-withdraw':
|
|
807
|
+
return handleWithdrawDCA(rest);
|
|
808
|
+
case 'dca-fills':
|
|
809
|
+
return handleDCAFills(rest[0]);
|
|
810
|
+
case 'dca-history':
|
|
811
|
+
return handleClosedDCAs();
|
|
812
|
+
case 'dca-tokens':
|
|
813
|
+
return handleDCATokens();
|
|
814
|
+
// History
|
|
815
|
+
case 'history':
|
|
816
|
+
return handleTradeHistory();
|
|
817
|
+
case 'order-history':
|
|
818
|
+
return handleOrderHistory();
|
|
819
|
+
// Additional
|
|
820
|
+
case 'fees':
|
|
821
|
+
return handleFees();
|
|
822
|
+
case 'cancel-expired':
|
|
823
|
+
return handleCancelExpired(rest);
|
|
824
|
+
case 'orders-by-mint':
|
|
825
|
+
return handleOrdersByMint(rest);
|
|
826
|
+
case 'help':
|
|
827
|
+
default:
|
|
828
|
+
return `**Jupiter Aggregator** (22 Commands)
|
|
829
|
+
|
|
830
|
+
**Swaps:**
|
|
831
|
+
/jup swap <amount> <from> to <to> Execute swap
|
|
832
|
+
/jup quote <amount> <from> to <to> Get quote
|
|
833
|
+
/jup route <from> <to> [amount] Show route
|
|
834
|
+
|
|
835
|
+
**Limit Orders:**
|
|
836
|
+
/jup limit <amt> <from> to <to> @ <price> [--expiry <hrs>]
|
|
837
|
+
/jup orders List open orders
|
|
838
|
+
/jup order <pubkey> Order details
|
|
839
|
+
/jup cancel <pubkey> Cancel order
|
|
840
|
+
/jup cancel-all Cancel all orders
|
|
841
|
+
/jup cancel-expired <pubkey> Cancel expired order
|
|
842
|
+
/jup orders-by-mint --input <m> [--output <m>] Filter by mint
|
|
843
|
+
/jup fees Show fee structure
|
|
844
|
+
|
|
845
|
+
**DCA (Dollar Cost Averaging):**
|
|
846
|
+
/jup dca <total> <from> to <to> --per <amt> --every <secs>
|
|
847
|
+
/jup dcas List active DCAs
|
|
848
|
+
/jup dca-info <pubkey> DCA details
|
|
849
|
+
/jup dca-close <pubkey> Close DCA
|
|
850
|
+
/jup dca-deposit <pubkey> <amount> Deposit more
|
|
851
|
+
/jup dca-withdraw <pubkey> [--in/--out <amt>] Withdraw
|
|
852
|
+
/jup dca-fills <pubkey> DCA fill history
|
|
853
|
+
/jup dca-history Closed DCAs
|
|
854
|
+
/jup dca-tokens Available DCA tokens
|
|
855
|
+
|
|
856
|
+
**History:**
|
|
857
|
+
/jup history Trade history
|
|
858
|
+
/jup order-history Limit order history
|
|
859
|
+
|
|
860
|
+
**Examples:**
|
|
861
|
+
/jup swap 1 SOL to USDC
|
|
862
|
+
/jup limit 1 SOL to USDC @ 250 --expiry 168
|
|
863
|
+
/jup dca 100 USDC to JUP --per 10 --every 3600`;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
exports.default = {
|
|
867
|
+
name: 'jupiter',
|
|
868
|
+
description: 'Jupiter aggregator - swaps, limit orders, DCA on Solana',
|
|
869
|
+
commands: ['/jupiter', '/jup'],
|
|
870
|
+
handle: execute,
|
|
871
|
+
};
|
|
872
|
+
//# sourceMappingURL=index.js.map
|