wicked-core-ts 0.15.23 → 0.15.25
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/index.d.ts +19 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -234,6 +234,14 @@ export declare class Core {
|
|
|
234
234
|
* drop the plan and run the launch unplanned and ungated.
|
|
235
235
|
*/
|
|
236
236
|
static supportsPlanLaunch(): boolean
|
|
237
|
+
/**
|
|
238
|
+
* (crew#1139) Whether this addon lets a `plan_approval` approval carry the operator's note:
|
|
239
|
+
* `confirmGate(run, true, amend)` and `confirmGate(run, true, amend, "edit_plan", undefined,
|
|
240
|
+
* planJson)` land `amend` on the first creator step the plan releases (else its first step),
|
|
241
|
+
* as `unitReworkAmended`. An older addon refuses both, so a skin keys on this static before it
|
|
242
|
+
* offers a note field on the plan card.
|
|
243
|
+
*/
|
|
244
|
+
static supportsPlanGateNote(): boolean
|
|
237
245
|
/**
|
|
238
246
|
* (program DES-POWER-MODE) Whether this addon runs power mode: `LaunchOptions.power`,
|
|
239
247
|
* `setPowerMode`, `raiseRigor`, `answerPowerPause` and the power events. An older addon
|
|
@@ -945,6 +953,17 @@ export declare class Core {
|
|
|
945
953
|
* `guard_error: …`. Static, like `evaluateMcpCall`.
|
|
946
954
|
*/
|
|
947
955
|
static listMcpTools(requestJson: string): Promise<string>
|
|
956
|
+
/**
|
|
957
|
+
* (crew#1337) Judge ONE brokered MCP call for the token's unit with the SAME evaluation
|
|
958
|
+
* `evaluateMcpCall` runs, WITH its arguments (an argument-triggered rule fires), and record
|
|
959
|
+
* NOTHING. `request_json` is `{ token, call: { server, tool, args?, annotations?,
|
|
960
|
+
* classOverride?, registered, kind?, carrier? } }`; resolves to the verdict `evaluateMcpCall`
|
|
961
|
+
* answers (`{ decision: "allow"|"ask"|"deny", subject, class, ruleIds, obligations, reason?,
|
|
962
|
+
* remedy?, claimId, unit, firstUseOnly? }`). crew's data gate judges a live source's call with
|
|
963
|
+
* it. Rejects with `invalid_token: …`, `bad_request: …` or `guard_error: …`. Static, like
|
|
964
|
+
* `evaluateMcpCall`.
|
|
965
|
+
*/
|
|
966
|
+
static judgeMcpCall(requestJson: string): Promise<string>
|
|
948
967
|
/**
|
|
949
968
|
* (core#1018) The estate relay's scope for a token: crew's broker relays a container seat's
|
|
950
969
|
* `mcp:estate/<tool>` calls to the host's estate and scopes them by this. `request_json` is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.25",
|
|
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.15.
|
|
47
|
-
"wicked-core-ts-darwin-x64": "0.15.
|
|
48
|
-
"wicked-core-ts-linux-arm64-gnu": "0.15.
|
|
49
|
-
"wicked-core-ts-linux-x64-gnu": "0.15.
|
|
50
|
-
"wicked-core-ts-win32-x64-msvc": "0.15.
|
|
46
|
+
"wicked-core-ts-darwin-arm64": "0.15.25",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.15.25",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.15.25",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.15.25",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.15.25"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|