@ethisyscore/extension-runtime 1.123.0 → 1.125.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.
@@ -551,6 +551,7 @@ var WorkerRemoteDomTransport = class {
551
551
  operationKey: message.operationKey,
552
552
  fallbackToolName: message.fallbackToolName,
553
553
  args: message.args,
554
+ fallbackArgs: message.fallbackArgs,
554
555
  capabilityToken: token,
555
556
  signal: this.requestSignal(message.id)
556
557
  });
@@ -1006,7 +1007,13 @@ var defaultMockMcpClient = {
1006
1007
  module: req.moduleKey,
1007
1008
  operation: req.operationKey,
1008
1009
  tool: req.fallbackToolName,
1009
- args: req.args
1010
+ // Echoes what the FALLBACK tool would actually receive, which is the whole
1011
+ // point of a mock host that answers as the fallback: a surface that supplies
1012
+ // fallback-specific arguments because its in-house tool does not speak
1013
+ // canonical must be able to see them here rather than discover the mismatch
1014
+ // in production, where the fallback rung answers every call.
1015
+ args: req.fallbackArgs ?? req.args,
1016
+ fallbackArgs: req.fallbackArgs
1010
1017
  } : { resource: req.uri };
1011
1018
  return { ok: true, data: { mockHost: true, ...echo } };
1012
1019
  }