@ethisyscore/extension-runtime 1.122.0 → 1.124.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/dist/{bridge-client-D0fogVGd.d.cts → bridge-client-D9EYFq1l.d.cts} +1 -1
- package/dist/{bridge-client-tIK_iYT9.d.ts → bridge-client-RJOl8WlU.d.ts} +1 -1
- package/dist/{bridge-envelopes-DAuew-fU.d.cts → bridge-envelopes-M5a42rAy.d.cts} +24 -1
- package/dist/{bridge-envelopes-DAuew-fU.d.ts → bridge-envelopes-M5a42rAy.d.ts} +24 -1
- package/dist/host/index.cjs +7 -1
- package/dist/host/index.cjs.map +1 -1
- package/dist/host/index.d.cts +3 -3
- package/dist/host/index.d.ts +3 -3
- package/dist/host/index.js +7 -1
- package/dist/host/index.js.map +1 -1
- package/dist/mock-host/cli.cjs +8 -1
- package/dist/mock-host/cli.cjs.map +1 -1
- package/dist/mock-host/cli.d.cts +2 -2
- package/dist/mock-host/cli.d.ts +2 -2
- package/dist/mock-host/cli.js +8 -1
- package/dist/mock-host/cli.js.map +1 -1
- package/dist/mock-host/index.d.cts +2 -2
- package/dist/mock-host/index.d.ts +2 -2
- package/dist/plugin/index.cjs +17 -10
- package/dist/plugin/index.cjs.map +1 -1
- package/dist/plugin/index.d.cts +46 -6
- package/dist/plugin/index.d.ts +46 -6
- package/dist/plugin/index.js +17 -10
- package/dist/plugin/index.js.map +1 -1
- package/dist/{transport-DDPhdaXn.d.cts → transport-CFzJQiFG.d.ts} +16 -1
- package/dist/{transport-pNTjXJ3R.d.ts → transport-UaoDRdm3.d.cts} +16 -1
- package/package.json +1 -1
package/dist/mock-host/cli.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SduiNode } from '@ethisyscore/protocol';
|
|
2
|
-
import { h as WorkerCtor, M as McpHttpClient, k as WorkerRemoteDomTransport } from '../transport-
|
|
3
|
-
import '../bridge-envelopes-
|
|
2
|
+
import { h as WorkerCtor, M as McpHttpClient, k as WorkerRemoteDomTransport } from '../transport-UaoDRdm3.cjs';
|
|
3
|
+
import '../bridge-envelopes-M5a42rAy.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `npx mock-host <dir>` — standalone declarative-mock-host dev server.
|
package/dist/mock-host/cli.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SduiNode } from '@ethisyscore/protocol';
|
|
2
|
-
import { h as WorkerCtor, M as McpHttpClient, k as WorkerRemoteDomTransport } from '../transport-
|
|
3
|
-
import '../bridge-envelopes-
|
|
2
|
+
import { h as WorkerCtor, M as McpHttpClient, k as WorkerRemoteDomTransport } from '../transport-CFzJQiFG.js';
|
|
3
|
+
import '../bridge-envelopes-M5a42rAy.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `npx mock-host <dir>` — standalone declarative-mock-host dev server.
|
package/dist/mock-host/cli.js
CHANGED
|
@@ -529,6 +529,7 @@ var WorkerRemoteDomTransport = class {
|
|
|
529
529
|
operationKey: message.operationKey,
|
|
530
530
|
fallbackToolName: message.fallbackToolName,
|
|
531
531
|
args: message.args,
|
|
532
|
+
fallbackArgs: message.fallbackArgs,
|
|
532
533
|
capabilityToken: token,
|
|
533
534
|
signal: this.requestSignal(message.id)
|
|
534
535
|
});
|
|
@@ -984,7 +985,13 @@ var defaultMockMcpClient = {
|
|
|
984
985
|
module: req.moduleKey,
|
|
985
986
|
operation: req.operationKey,
|
|
986
987
|
tool: req.fallbackToolName,
|
|
987
|
-
|
|
988
|
+
// Echoes what the FALLBACK tool would actually receive, which is the whole
|
|
989
|
+
// point of a mock host that answers as the fallback: a surface that supplies
|
|
990
|
+
// fallback-specific arguments because its in-house tool does not speak
|
|
991
|
+
// canonical must be able to see them here rather than discover the mismatch
|
|
992
|
+
// in production, where the fallback rung answers every call.
|
|
993
|
+
args: req.fallbackArgs ?? req.args,
|
|
994
|
+
fallbackArgs: req.fallbackArgs
|
|
988
995
|
} : { resource: req.uri };
|
|
989
996
|
return { ok: true, data: { mockHost: true, ...echo } };
|
|
990
997
|
}
|