wicked-core-ts 0.7.48 → 0.8.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.
Files changed (2) hide show
  1. package/index.d.ts +21 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -152,6 +152,19 @@ export interface LaunchOptions {
152
152
  * neither a plan nor a preset, and on a plan with no creator step.
153
153
  */
154
154
  deliverables?: Array<string>
155
+ /**
156
+ * (QE acceptance, operator ruling 2026-10-10) SKIP a required QE acceptance, for this reason
157
+ * (non-empty): persisted on the contract (`sessionStarted.assurance.qe`, `status: "skipped"`,
158
+ * `basis: "operator"`) and labelled on every receipt ("QE acceptance skipped by operator:
159
+ * <reason>"). Omit and a required QE acceptance is never skipped. Refused beside
160
+ * `forceQeAcceptance`, and on a run whose workflow does not require QE acceptance.
161
+ */
162
+ skipQeAcceptanceReason?: string
163
+ /**
164
+ * (QE acceptance) REQUIRE QE acceptance whatever the run's impact score says (no waiver).
165
+ * Refused beside `skipQeAcceptanceReason`, and on a run whose workflow does not require it.
166
+ */
167
+ forceQeAcceptance?: boolean
155
168
  }
156
169
  /**
157
170
  * A handle to a wicked-core runtime. Construct with [`Core::spawn`] (production engine: real
@@ -1140,6 +1153,14 @@ export declare class Subscription {
1140
1153
  * `error` | `not_applicable`; the delivery receipt aggregates every gate of the run. A gate whose required judge was
1141
1154
  * skipped now denies under `judge_unavailable`; an evaluator pass that errored denies under
1142
1155
  * `denial.source === 'evaluator_error'`.
1156
+ * QE acceptance (additive, operator ruling 2026-10-10): a run whose contract requires
1157
+ * `qe_acceptance` carries its decision as `assurance.qe: {status: 'required' | 'waived' |
1158
+ * 'skipped', basis: 'plan' | 'operator' | 'diff', score: number | null, threshold, reason,
1159
+ * reasons: string[], ord: number | null, tree: string | null}` on sessionStarted and on every
1160
+ * gateEvaluated / deliverLiftEvaluated receipt; a waived or skipped one is also a `skipped[]`
1161
+ * entry (reason `qe_waived_by_score` | `qe_skipped_by_operator`, detail = the words). New event
1162
+ * `qeAcceptanceDecided` {session, ord, qe}: the run's QE unit scored its diff (waived only when
1163
+ * every dimension is in its lowest band, score <= threshold), or a creator after a waiver revoked it.
1143
1164
  */
1144
1165
  export interface CoreEventJson {
1145
1166
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.7.48",
3
+ "version": "0.8.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.7.48",
47
- "wicked-core-ts-darwin-x64": "0.7.48",
48
- "wicked-core-ts-linux-arm64-gnu": "0.7.48",
49
- "wicked-core-ts-linux-x64-gnu": "0.7.48",
50
- "wicked-core-ts-win32-x64-msvc": "0.7.48"
46
+ "wicked-core-ts-darwin-arm64": "0.8.0",
47
+ "wicked-core-ts-darwin-x64": "0.8.0",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.8.0",
49
+ "wicked-core-ts-linux-x64-gnu": "0.8.0",
50
+ "wicked-core-ts-win32-x64-msvc": "0.8.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",