wicked-core-ts 0.14.2 → 0.15.1

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.
Files changed (2) hide show
  1. package/index.d.ts +9 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -903,6 +903,15 @@ export declare class Core {
903
903
  * `guard_error: …`. Static, like `evaluateMcpCall`.
904
904
  */
905
905
  static listMcpTools(requestJson: string): Promise<string>
906
+ /**
907
+ * (core#1018) The estate relay's scope for a token: crew's broker relays a container seat's
908
+ * `mcp:estate/<tool>` calls to the host's estate and scopes them by this. `request_json` is
909
+ * `{ token }` — the worker's `WICKED_MCP_TOKEN`. Resolves to `{ unit: { runId, ord, attempt,
910
+ * phase, seat }, projectId, repoId, codeGraphDb }` (each scope field `null` when the run has
911
+ * none), as the carrier bound them; nothing is judged or recorded. Rejects with
912
+ * `invalid_token: …` or `bad_request: …`. Static, like `evaluateMcpCall`.
913
+ */
914
+ static resolveEstateScope(requestJson: string): Promise<string>
906
915
  /**
907
916
  * The MCP policy PREVIEW (DES-MCP-TOOLS-001 §4.7, §8 `POST /mcp/policies/preview`; slice
908
917
  * S6): judge each call for each synthetic unit cell with the SAME evaluation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.14.2",
3
+ "version": "0.15.1",
4
4
  "description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "typecheck": "tsc --noEmit -p types-test/tsconfig.json"
44
44
  },
45
45
  "optionalDependencies": {
46
- "wicked-core-ts-darwin-arm64": "0.14.2",
47
- "wicked-core-ts-darwin-x64": "0.14.2",
48
- "wicked-core-ts-linux-arm64-gnu": "0.14.2",
49
- "wicked-core-ts-linux-x64-gnu": "0.14.2",
50
- "wicked-core-ts-win32-x64-msvc": "0.14.2"
46
+ "wicked-core-ts-darwin-arm64": "0.15.1",
47
+ "wicked-core-ts-darwin-x64": "0.15.1",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.15.1",
49
+ "wicked-core-ts-linux-x64-gnu": "0.15.1",
50
+ "wicked-core-ts-win32-x64-msvc": "0.15.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",