@ethisyscore/extension-runtime 1.71.0 → 1.71.2

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.
@@ -66,6 +66,13 @@ interface McpHttpResponse extends McpResponseMetadata {
66
66
  readonly data?: unknown;
67
67
  /** Failure message when {@link ok} is false. */
68
68
  readonly error?: string;
69
+ /**
70
+ * Optional machine-readable classification for a failure, mirroring the `mcpErrorCode` a client
71
+ * can attach to a thrown error. Set it when the client knows why the call failed more precisely
72
+ * than the status says - it takes precedence over {@link status} when the bridge classifies the
73
+ * reply. Values outside the published vocabulary are ignored rather than forwarded.
74
+ */
75
+ readonly mcpErrorCode?: string;
69
76
  }
70
77
  /** A detected mismatch between the version a surface is running and the version now installed. */
71
78
  interface VersionSkew {
@@ -66,6 +66,13 @@ interface McpHttpResponse extends McpResponseMetadata {
66
66
  readonly data?: unknown;
67
67
  /** Failure message when {@link ok} is false. */
68
68
  readonly error?: string;
69
+ /**
70
+ * Optional machine-readable classification for a failure, mirroring the `mcpErrorCode` a client
71
+ * can attach to a thrown error. Set it when the client knows why the call failed more precisely
72
+ * than the status says - it takes precedence over {@link status} when the bridge classifies the
73
+ * reply. Values outside the published vocabulary are ignored rather than forwarded.
74
+ */
75
+ readonly mcpErrorCode?: string;
69
76
  }
70
77
  /** A detected mismatch between the version a surface is running and the version now installed. */
71
78
  interface VersionSkew {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethisyscore/extension-runtime",
3
- "version": "1.71.0",
3
+ "version": "1.71.2",
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",