wicked-core-ts 0.6.0 → 0.6.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.
- package/index.d.ts +14 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ export interface LaunchOptions {
|
|
|
31
31
|
* the launch with no session persisted. Omit for an unfiled run (the synthesized `default`).
|
|
32
32
|
*/
|
|
33
33
|
projectId?: string
|
|
34
|
+
/**
|
|
35
|
+
* ADDITIONAL absolute write roots for the run's deliverables (core#259) — e.g. an inbox dir
|
|
36
|
+
* the workflow contract names as the output destination. Widens the governed units'
|
|
37
|
+
* filesystem boundary by exactly these roots, after the unit cwd. Each root must be absolute
|
|
38
|
+
* and outside the engine's config/pin tree — an invalid root REJECTS the launch with no
|
|
39
|
+
* session persisted. Omit for runs that deliver inside their own workdir.
|
|
40
|
+
*/
|
|
41
|
+
extraWriteRoots?: Array<string>
|
|
34
42
|
}
|
|
35
43
|
/**
|
|
36
44
|
* A handle to a wicked-core runtime. Construct with [`Core::spawn`] (production engine: real
|
|
@@ -123,6 +131,12 @@ export declare class Core {
|
|
|
123
131
|
* token. Safe whether the run is executing or paused.
|
|
124
132
|
*/
|
|
125
133
|
cancelRun(runId: string): Promise<string>
|
|
134
|
+
/**
|
|
135
|
+
* Resolve a pending ACP elicitation. `action` must be `"accept"`, `"decline"`, or `"cancel"`;
|
|
136
|
+
* `response` is the human's typed/selected value as a JSON-typed value — pass `null` for
|
|
137
|
+
* `decline`/`cancel`. Resolves to `"ok"` on success, rejects if no matching elicitation exists.
|
|
138
|
+
*/
|
|
139
|
+
resolveElicitation(runId: string, elicitationId: string, action: string, response?: any | undefined | null): Promise<string>
|
|
126
140
|
/** The agent session ids currently on the store, as a JSON array of strings. */
|
|
127
141
|
sessions(): Promise<string>
|
|
128
142
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
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": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"smoke:all": "node smoke.mjs && node smoke-lifecycle.mjs && node smoke-terminal.mjs"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"wicked-core-ts-darwin-arm64": "0.6.
|
|
45
|
-
"wicked-core-ts-darwin-x64": "0.6.
|
|
46
|
-
"wicked-core-ts-linux-arm64-gnu": "0.6.
|
|
47
|
-
"wicked-core-ts-linux-x64-gnu": "0.6.
|
|
48
|
-
"wicked-core-ts-win32-x64-msvc": "0.6.
|
|
44
|
+
"wicked-core-ts-darwin-arm64": "0.6.2",
|
|
45
|
+
"wicked-core-ts-darwin-x64": "0.6.2",
|
|
46
|
+
"wicked-core-ts-linux-arm64-gnu": "0.6.2",
|
|
47
|
+
"wicked-core-ts-linux-x64-gnu": "0.6.2",
|
|
48
|
+
"wicked-core-ts-win32-x64-msvc": "0.6.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@napi-rs/cli": "^2.18.4"
|