wicked-core-ts 0.7.45 → 0.7.47

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 +19 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -136,6 +136,14 @@ export interface LaunchOptions {
136
136
  * on the roster REJECTS the launch. The roster is re-ordered so the pick is first.
137
137
  */
138
138
  primary?: string
139
+ /**
140
+ * (core#850, EX-01/EX-02) The EXPLICIT opt-in to reduced assurance: the run may evaluate on its
141
+ * creator's seat and pass a pinned gate whose judge had no distinct seat — both disclosed on every
142
+ * receipt (`sessionStarted.assurance.mode: "reduced"`, `gateEvaluated.assurance`). Omit (or
143
+ * `false`) and a creator-seat evaluator is refused at distribution (`NoEligibleSeat`) and a gate
144
+ * whose required judge was skipped holds (`judge_unavailable`).
145
+ */
146
+ reducedAssurance?: boolean
139
147
  }
140
148
  /**
141
149
  * A handle to a wicked-core runtime. Construct with [`Core::spawn`] (production engine: real
@@ -1113,6 +1121,17 @@ export declare class Subscription {
1113
1121
  * 0 = off). `acpProcessRestarted` {session, ord, attempt, cliKey, reason, ms} — the session that
1114
1122
  * opened replaces one the engine closed itself (reason `posture_switch` |
1115
1123
  * `fenced_unit_quiesced` | `turn_settled`); ms is the cold-start cost.
1124
+ * core#850 (additive; EX-01..EX-05): sessionStarted carries `assurance: {mode: 'full' | 'reduced',
1125
+ * required: string[]}` — the run's contract (`required` ⊆ `distinct_evaluator`, `judge`,
1126
+ * `qe_acceptance`; a workflow's `required_instruments`, else the first two; `reduced` only when
1127
+ * the launch set `reducedAssurance`, and it waives only the first two). gateEvaluated and
1128
+ * deliverLiftEvaluated carry `assurance: {mode, required, ran: string[], skipped: {instrument,
1129
+ * reason, detail: string | null}[], creator, evaluator, judge, tree: string | null, attempt}` —
1130
+ * instruments `pinned_validator` | `repo_checks` | `judge` | `evaluator_pass` |
1131
+ * `distinct_evaluator`, reasons `reduced_assurance` | `no_distinct_seat` | `no_boundary` |
1132
+ * `error` | `not_applicable`; the delivery receipt aggregates every gate of the run. A gate whose required judge was
1133
+ * skipped now denies under `judge_unavailable`; an evaluator pass that errored denies under
1134
+ * `denial.source === 'evaluator_error'`.
1116
1135
  */
1117
1136
  export interface CoreEventJson {
1118
1137
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.7.45",
3
+ "version": "0.7.47",
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.45",
47
- "wicked-core-ts-darwin-x64": "0.7.45",
48
- "wicked-core-ts-linux-arm64-gnu": "0.7.45",
49
- "wicked-core-ts-linux-x64-gnu": "0.7.45",
50
- "wicked-core-ts-win32-x64-msvc": "0.7.45"
46
+ "wicked-core-ts-darwin-arm64": "0.7.47",
47
+ "wicked-core-ts-darwin-x64": "0.7.47",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.7.47",
49
+ "wicked-core-ts-linux-x64-gnu": "0.7.47",
50
+ "wicked-core-ts-win32-x64-msvc": "0.7.47"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",