@auctra/mcp-gateway 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auctra/mcp-gateway",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "MCP gateway — gate tool calls and MCP/skill installs through Auctra action.execute",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -226,6 +226,7 @@ export async function gateMcpToolCall(input) {
226
226
  const consumed = await input.client.executionLease.consume({
227
227
  lease: leaseToken,
228
228
  expectedActionType: resolveActionType(input),
229
+ expectedRequestFingerprint: result.execution_lease?.request_fingerprint,
229
230
  });
230
231
  if (!consumed.ok) {
231
232
  throw new McpToolBlockedError(
package/src/index.ts CHANGED
@@ -42,6 +42,7 @@ export type ExecuteActionClient = {
42
42
  expires_at: string;
43
43
  action_request_id: string;
44
44
  action_type: string;
45
+ request_fingerprint?: string;
45
46
  } | null;
46
47
  evidence?: {
47
48
  format: string;
@@ -56,6 +57,7 @@ export type ExecuteActionClient = {
56
57
  consume(input: {
57
58
  lease: string;
58
59
  expectedActionType?: string;
60
+ expectedRequestFingerprint?: string;
59
61
  }): Promise<{ ok: boolean; error?: string; reason_codes?: string[] }>;
60
62
  };
61
63
  };
@@ -376,6 +378,7 @@ export async function gateMcpToolCall(input: McpToolGateInput) {
376
378
  const consumed = await input.client.executionLease.consume({
377
379
  lease: leaseToken,
378
380
  expectedActionType: resolveActionType(input),
381
+ expectedRequestFingerprint: result.execution_lease?.request_fingerprint,
379
382
  });
380
383
  if (!consumed.ok) {
381
384
  throw new McpToolBlockedError(