wicked-core-ts 0.11.3 → 0.12.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/index.d.ts +8 -1
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -192,7 +192,8 @@ export declare class Core {
|
|
|
192
192
|
* JSON array of `AgenticCli` seats (the engine-shaped roster, as `launchRun`'s `clisJson`) and
|
|
193
193
|
* whether the run is BOUND to one repository, the JSON array of `BenchedSeat` (`{cli, reason,
|
|
194
194
|
* source: "launcher"}`) the launch would bench before routing. Reads
|
|
195
|
-
* `WICKED_CODEX_WORKTREE_OK` at call time, as the launch does
|
|
195
|
+
* `WICKED_CODEX_WORKTREE_OK` and `WICKED_SEAT_FLOOR` at call time, as the launch does (the
|
|
196
|
+
* container floor keeps codex). An addon without this static
|
|
196
197
|
* predates it; crew keys on its presence.
|
|
197
198
|
*/
|
|
198
199
|
static worktreeBenched(clisJson: string, bound: boolean): string
|
|
@@ -370,6 +371,12 @@ export declare class Core {
|
|
|
370
371
|
* token. Safe whether the run is executing or paused.
|
|
371
372
|
*/
|
|
372
373
|
cancelRun(runId: string): Promise<string>
|
|
374
|
+
/** The unit a bound MCP token belongs to: `{runId, ord, attempt, seat, timeoutSecs}` (JSON). */
|
|
375
|
+
askUnit(token: string): Promise<string>
|
|
376
|
+
/** Open an operator question with `{token, question, choices?, recommended?}`. */
|
|
377
|
+
openAsk(requestJson: string): Promise<string>
|
|
378
|
+
/** Close an unanswered question (`timeout` or `teardown`); false if already resolved. */
|
|
379
|
+
closeAsk(elicitationId: string, reason: string): Promise<boolean>
|
|
373
380
|
/**
|
|
374
381
|
* Resolve a pending ACP elicitation. `action` must be `"accept"`, `"decline"`, or `"cancel"`;
|
|
375
382
|
* `response` is the human's typed/selected value as a JSON-typed value — pass `null` for
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
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.
|
|
47
|
-
"wicked-core-ts-darwin-x64": "0.
|
|
48
|
-
"wicked-core-ts-linux-arm64-gnu": "0.
|
|
49
|
-
"wicked-core-ts-linux-x64-gnu": "0.
|
|
50
|
-
"wicked-core-ts-win32-x64-msvc": "0.
|
|
46
|
+
"wicked-core-ts-darwin-arm64": "0.12.0",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.12.0",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.12.0",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.12.0",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.12.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|