@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as UploadDocumentMeta, d as BridgePushThemeEnvelope, c as BridgePushLocaleEnvelope, b as BridgePushDensityEnvelope, a as BridgePushA11yEnvelope, B as BridgeNavPushEnvelope } from './bridge-envelopes-
|
|
1
|
+
import { U as UploadDocumentMeta, d as BridgePushThemeEnvelope, c as BridgePushLocaleEnvelope, b as BridgePushDensityEnvelope, a as BridgePushA11yEnvelope, B as BridgeNavPushEnvelope } from './bridge-envelopes-M5a42rAy.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Version-skew detection for host-side MCP calls.
|
|
@@ -163,12 +163,27 @@ type McpHttpRequest = {
|
|
|
163
163
|
*
|
|
164
164
|
* Implementations POST to `mcp/modules/{moduleKey}/operations/{operationKey}/invoke` with
|
|
165
165
|
* `{ argumentsJson, fallbackToolName }`, which answers the same shape the tool route does.
|
|
166
|
+
* When `fallbackArgs` is present they add `fallbackArgumentsJson` alongside; a host that
|
|
167
|
+
* omits it leaves the fallback rung with the canonical arguments, which is what every
|
|
168
|
+
* call did before the field existed.
|
|
166
169
|
*/
|
|
167
170
|
kind: "invokeOperation";
|
|
168
171
|
moduleKey: string;
|
|
169
172
|
operationKey: string;
|
|
170
173
|
fallbackToolName: string;
|
|
171
174
|
args: unknown;
|
|
175
|
+
/**
|
|
176
|
+
* Arguments used ONLY if `fallbackToolName` answers, because an in-house fallback tool
|
|
177
|
+
* need not declare the canonical field names - `hr:get-employee-absences` wants
|
|
178
|
+
* `employeeIds` where the canonical operation says `personIds`. The browser twin of
|
|
179
|
+
* `ModuleFallback`'s second argument on the backend.
|
|
180
|
+
*
|
|
181
|
+
* Additive and optional: `undefined` means "send the canonical arguments to the fallback
|
|
182
|
+
* too". It carries no authority and cannot change which tool runs - the tool NAME is
|
|
183
|
+
* still `fallbackToolName`, which the host checks against the calling extension's
|
|
184
|
+
* installed manifest before the fallback rung runs.
|
|
185
|
+
*/
|
|
186
|
+
fallbackArgs?: unknown;
|
|
172
187
|
capabilityToken: string;
|
|
173
188
|
signal?: AbortSignal;
|
|
174
189
|
} | McpUploadRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as UploadDocumentMeta, d as BridgePushThemeEnvelope, c as BridgePushLocaleEnvelope, b as BridgePushDensityEnvelope, a as BridgePushA11yEnvelope, B as BridgeNavPushEnvelope } from './bridge-envelopes-
|
|
1
|
+
import { U as UploadDocumentMeta, d as BridgePushThemeEnvelope, c as BridgePushLocaleEnvelope, b as BridgePushDensityEnvelope, a as BridgePushA11yEnvelope, B as BridgeNavPushEnvelope } from './bridge-envelopes-M5a42rAy.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Version-skew detection for host-side MCP calls.
|
|
@@ -163,12 +163,27 @@ type McpHttpRequest = {
|
|
|
163
163
|
*
|
|
164
164
|
* Implementations POST to `mcp/modules/{moduleKey}/operations/{operationKey}/invoke` with
|
|
165
165
|
* `{ argumentsJson, fallbackToolName }`, which answers the same shape the tool route does.
|
|
166
|
+
* When `fallbackArgs` is present they add `fallbackArgumentsJson` alongside; a host that
|
|
167
|
+
* omits it leaves the fallback rung with the canonical arguments, which is what every
|
|
168
|
+
* call did before the field existed.
|
|
166
169
|
*/
|
|
167
170
|
kind: "invokeOperation";
|
|
168
171
|
moduleKey: string;
|
|
169
172
|
operationKey: string;
|
|
170
173
|
fallbackToolName: string;
|
|
171
174
|
args: unknown;
|
|
175
|
+
/**
|
|
176
|
+
* Arguments used ONLY if `fallbackToolName` answers, because an in-house fallback tool
|
|
177
|
+
* need not declare the canonical field names - `hr:get-employee-absences` wants
|
|
178
|
+
* `employeeIds` where the canonical operation says `personIds`. The browser twin of
|
|
179
|
+
* `ModuleFallback`'s second argument on the backend.
|
|
180
|
+
*
|
|
181
|
+
* Additive and optional: `undefined` means "send the canonical arguments to the fallback
|
|
182
|
+
* too". It carries no authority and cannot change which tool runs - the tool NAME is
|
|
183
|
+
* still `fallbackToolName`, which the host checks against the calling extension's
|
|
184
|
+
* installed manifest before the fallback rung runs.
|
|
185
|
+
*/
|
|
186
|
+
fallbackArgs?: unknown;
|
|
172
187
|
capabilityToken: string;
|
|
173
188
|
signal?: AbortSignal;
|
|
174
189
|
} | McpUploadRequest;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethisyscore/extension-runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.124.0",
|
|
4
4
|
"description": "Host + plugin runtime for EthisysCore Contract A (host-rendered) and Contract B (worker remote-runtime) extensions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|