@quackai/q402-mcp 0.8.3 → 0.8.5

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +12 -11
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -174,7 +174,7 @@ Then export the values in `~/.zshrc` / `~/.bashrc`. See the [Codex config refere
174
174
  | `q402_recurring_skip_next` | api key | Skip only the next scheduled fire. |
175
175
  | `q402_recurring_cancel` | api key | Permanently stop a rule. |
176
176
  | `q402_bridge_quote` | none | Quote a Chainlink CCIP USDC bridge across eth/avax/arbitrum. Returns LINK + native fee. |
177
- | `q402_bridge_send` | live mode | Execute the bridge. v0.8.2 ships sandbox-only; live execution lands once session-binding ships. |
177
+ | `q402_bridge_send` | live mode | Execute the bridge. Sandbox-only today; live execution lands once session-binding ships. |
178
178
  | `q402_bridge_history` | api key | Recent CCIP bridges (50 most recent). |
179
179
  | `q402_bridge_gas_tank` | api key | Per-chain LINK + native Gas Tank balance for bridge fees. |
180
180
 
package/dist/index.js CHANGED
@@ -211,7 +211,7 @@ var isValidPrivateKey = (s) => typeof s === "string" && PRIVATE_KEY_RE.test(s);
211
211
 
212
212
  // src/version.ts
213
213
  var PACKAGE_NAME = "@quackai/q402-mcp";
214
- var PACKAGE_VERSION = "0.8.3";
214
+ var PACKAGE_VERSION = "0.8.5";
215
215
 
216
216
  // src/tools/quote.ts
217
217
  import { z } from "zod";
@@ -2905,7 +2905,7 @@ var BRIDGE_SEND_TOOL = {
2905
2905
  },
2906
2906
  sandbox: {
2907
2907
  type: "boolean",
2908
- description: "Sandbox-only in v0.8.3 (live bridging requires dashboard session-binding). Default true."
2908
+ description: "Sandbox-only at the current release (live bridging requires dashboard session-binding). Default true."
2909
2909
  }
2910
2910
  },
2911
2911
  required: ["src", "dst", "amount", "walletId"]
@@ -2932,7 +2932,7 @@ async function runBridgeSend(input) {
2932
2932
  return {
2933
2933
  content: [{
2934
2934
  type: "text",
2935
- text: "Live CCIP bridge via MCP is not yet wired in v0.8.2 \u2014 agents can quote and plan via q402_bridge_quote and q402_bridge_send (sandbox), but actual execution must happen via https://q402.quackai.ai/dashboard for now. Live MCP execution lands in a follow-up release."
2935
+ text: "Live CCIP bridge via MCP is not yet wired \u2014 agents can quote and plan via q402_bridge_quote and q402_bridge_send (sandbox), but actual execution must happen via https://q402.quackai.ai/dashboard for now. Live MCP execution lands in a follow-up release."
2936
2936
  }],
2937
2937
  isError: true
2938
2938
  };
@@ -2945,7 +2945,7 @@ var BridgeHistoryInputSchema = z12.object({
2945
2945
  });
2946
2946
  var BRIDGE_HISTORY_TOOL = {
2947
2947
  name: "q402_bridge_history",
2948
- description: "List the user's recent Chainlink CCIP bridges (most-recent first, up to 50 records). Each record includes messageId, source/destination chains, USDC amount, fee paid, and CCIP Explorer link. v0.8.2 returns dashboard URL guidance \u2014 full MCP wiring lands in a follow-up.",
2948
+ description: "READ-ONLY GUIDANCE TOOL \u2014 bridge history via MCP is not yet wired in this release. It requires owner-sig auth which is dashboard-bound until session-binding lands (same follow-up as live q402_bridge_send). This tool returns a pointer to the dashboard and intentionally surfaces as an error so an LLM does not interpret the prose as an empty result. Future shape (already finalized): most-recent-first list of up to 50 CCIP bridges with messageId, source/destination chains, USDC amount, fee paid, and CCIP Explorer link. Until then, point the user at https://q402.quackai.ai/dashboard \u2192 Agent tab \u2192 Bridge History.",
2949
2949
  inputSchema: {
2950
2950
  type: "object",
2951
2951
  properties: {
@@ -2961,7 +2961,7 @@ async function runBridgeHistory(_input) {
2961
2961
  return {
2962
2962
  content: [{
2963
2963
  type: "text",
2964
- text: "Bridge history via MCP requires owner-sig auth, which is dashboard-managed in v0.8.3. View at https://q402.quackai.ai/dashboard \u2192 Agent tab \u2192 Bridge History."
2964
+ text: "Bridge history via MCP requires owner-sig auth, which is dashboard-managed at the current release. View at https://q402.quackai.ai/dashboard \u2192 Agent tab \u2192 Bridge History."
2965
2965
  }],
2966
2966
  isError: true
2967
2967
  };
@@ -2974,7 +2974,7 @@ var BridgeGasTankInputSchema = z13.object({
2974
2974
  });
2975
2975
  var BRIDGE_GAS_TANK_TOOL = {
2976
2976
  name: "q402_bridge_gas_tank",
2977
- description: "Report the user's Bridge Gas Tank state \u2014 LINK + native balance per CCIP chain (eth/avax/arbitrum). Q402 charges no markup on bridges; users pay only the actual Chainlink CCIP fee, debited from this Gas Tank. LINK fees are ~10% cheaper than native. Tool returns guidance + dashboard URL in v0.8.3.",
2977
+ description: "Report the user's Bridge Gas Tank state \u2014 LINK + native balance per CCIP chain (eth/avax/arbitrum). Q402 charges no markup on bridges; users pay only the actual Chainlink CCIP fee, debited from this Gas Tank. LINK fees are ~10% cheaper than native. Tool returns guidance + dashboard URL until owner-sig wiring lands.",
2978
2978
  inputSchema: {
2979
2979
  type: "object",
2980
2980
  properties: {
@@ -2986,6 +2986,7 @@ var BRIDGE_GAS_TANK_TOOL = {
2986
2986
  }
2987
2987
  }
2988
2988
  };
2989
+ var GASTANK_ADDRESS = "0x10fb078594b70ee8024b2ded3d67fc3aa9ea747a";
2989
2990
  async function runBridgeGasTank(_input) {
2990
2991
  return {
2991
2992
  content: [{
@@ -2997,9 +2998,9 @@ async function runBridgeGasTank(_input) {
2997
2998
  " \u2022 LINK (default, ~10% cheaper)",
2998
2999
  " \u2022 native (ETH / AVAX / ETH respectively)",
2999
3000
  "",
3000
- "Top up by sending LINK or native to the Q402 facilitator address on the source chain. The next deposit-scan cron tick (~5 min) credits your Gas Tank.",
3001
+ `Top up by sending LINK or native to the Q402 Gas Tank address ${GASTANK_ADDRESS} on the source chain. The deposit-scan cron (every ~5 min) credits your Gas Tank automatically; the dashboard's "Verify" button is the immediate self-serve path.`,
3001
3002
  "",
3002
- "Live balance + deposit addresses: https://q402.quackai.ai/dashboard \u2192 Agent tab \u2192 Bridge Gas Tank"
3003
+ "Live balance + per-chain deposit detail: https://q402.quackai.ai/dashboard \u2192 Agent tab \u2192 Bridge Gas Tank"
3003
3004
  ].join("\n")
3004
3005
  }]
3005
3006
  };
@@ -3757,9 +3758,9 @@ async function main() {
3757
3758
  RECURRING_SKIP_NEXT_TOOL,
3758
3759
  RECURRING_CANCEL_TOOL,
3759
3760
  CLEAR_DELEGATION_TOOL,
3760
- // CCIP bridge surface (v0.8.2) — USDC routing on the eth/avax/arbitrum
3761
- // triangle. Bridge_send is sandbox-only in v0.8.2; live execution
3762
- // happens through the dashboard until session-binding ships.
3761
+ // CCIP bridge surface — USDC routing on the eth/avax/arbitrum
3762
+ // triangle. Bridge_send is sandbox-only; live execution happens
3763
+ // through the dashboard until session-binding ships.
3763
3764
  BRIDGE_QUOTE_TOOL,
3764
3765
  BRIDGE_SEND_TOOL,
3765
3766
  BRIDGE_HISTORY_TOOL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quackai/q402-mcp",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "description": "MCP server for Q402 — gasless USDC/USDT/RLUSD payments + Chainlink CCIP bridge across 10 EVM chains, callable from Claude (Desktop / Code), OpenAI Codex CLI, and any other Model Context Protocol client.",
5
5
  "mcpName": "io.github.bitgett/q402-mcp",
6
6
  "keywords": [