wicked-core-ts 0.7.5 → 0.7.6
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 +16 -1
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -211,8 +211,23 @@ export declare class Core {
|
|
|
211
211
|
* a UI builds its project list from).
|
|
212
212
|
*/
|
|
213
213
|
sessionsDetail(): Promise<string>
|
|
214
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* A unit's captured work output (transcript), as a JSON value — a string, or `null` if none.
|
|
216
|
+
* A REJECTED unit answers with whatever PARTIAL output existed at rejection (usability review
|
|
217
|
+
* #1) — the unit record's `status`/`denial` marks it partial; `null` only when no output was
|
|
218
|
+
* ever stored (never ran, or denied before any output existed — see `unitTranscript`).
|
|
219
|
+
*/
|
|
215
220
|
workOutput(unitId: string): Promise<string>
|
|
221
|
+
/**
|
|
222
|
+
* A unit's full transcript RECORD (usability review #1), as a JSON object — or `null` when the
|
|
223
|
+
* unit never ran far enough to leave one. Shape: `{ unit_id, resolution: "resolved"|"rejected",
|
|
224
|
+
* partial: bool, phase_status?, output?, denial_reason?, denial? }` where `denial` is
|
|
225
|
+
* `{ source, reason, claim_id?, rule_ids?, denied_tool?, phase? }`. A rejected unit keeps its
|
|
226
|
+
* PARTIAL output here, flagged; a unit denied BEFORE any output existed answers with an
|
|
227
|
+
* explicit failure record (`output` absent, `denial` carrying the claim id / firing rule ids /
|
|
228
|
+
* denied tool) instead of `null`.
|
|
229
|
+
*/
|
|
230
|
+
unitTranscript(unitId: string): Promise<string>
|
|
216
231
|
/**
|
|
217
232
|
* A run's recorded event history, oldest first, as a JSON array. Each entry is the SAME tagged
|
|
218
233
|
* object the `/ws` stream carries ([`CoreEvent::to_json`]) plus a capture-time `ts` (epoch millis)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
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": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"smoke:all": "node smoke.mjs && node smoke-lifecycle.mjs && node smoke-terminal.mjs && node smoke-evals.mjs"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"wicked-core-ts-darwin-arm64": "0.7.
|
|
46
|
-
"wicked-core-ts-darwin-x64": "0.7.
|
|
47
|
-
"wicked-core-ts-linux-arm64-gnu": "0.7.
|
|
48
|
-
"wicked-core-ts-linux-x64-gnu": "0.7.
|
|
49
|
-
"wicked-core-ts-win32-x64-msvc": "0.7.
|
|
45
|
+
"wicked-core-ts-darwin-arm64": "0.7.6",
|
|
46
|
+
"wicked-core-ts-darwin-x64": "0.7.6",
|
|
47
|
+
"wicked-core-ts-linux-arm64-gnu": "0.7.6",
|
|
48
|
+
"wicked-core-ts-linux-x64-gnu": "0.7.6",
|
|
49
|
+
"wicked-core-ts-win32-x64-msvc": "0.7.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@napi-rs/cli": "^2.18.4"
|