wicked-core-ts 0.7.23 → 0.7.24

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 +16 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -38,6 +38,13 @@ export interface LaunchOptions {
38
38
  entityMode?: string
39
39
  /** Human-confirm gate policy: `none` (default) | `all` | `before:<ord>`. */
40
40
  humanConfirm?: string
41
+ /**
42
+ * EXPLICIT opt-out of the engine's deliver gate (F-E2E-030). The run's `deliver` Tool unit
43
+ * (the crew-composed phase that pushes the run branch and opens the PR) pauses for a human
44
+ * before it runs — whatever `humanConfirm` says — unless this is `true`. Omit (or `false`)
45
+ * for the gate; `true` only when the caller has named the launch "auto-deliver" to its user.
46
+ */
47
+ autoDeliver?: boolean
41
48
  /** The id of a registered repo to run within (creates an isolated worktree). Omit for a repo-less run. */
42
49
  repoRef?: string
43
50
  /**
@@ -680,6 +687,15 @@ export declare class Subscription {
680
687
  * carrier, role, tool, command, reason, remedy} (a worker seat's `git push` / `gh pr create` /
681
688
  * `gh api` mutation refused — delivery is the deliver phase's job); acpFallback.fallbackKind gains
682
689
  * 'auth_failed' | 'unauthenticated' (no single-shot fallback follows an auth kind).
690
+ * F-E2E-030/029/028 additions (all additive): awaitingHuman carries `gateKind: 'run_level' | 'def' |
691
+ * 'deliver' | 'terminal' | 'escalation' | 'failure' | 'triage'` (WHY the run paused — key on it,
692
+ * never on the prompt's wording; the engine's deliver gate is 'deliver'); workerToolCallDenied.reason
693
+ * may start with 'install fence:' (a package-manager install outside the unit's worktree, judged
694
+ * from the seat's shell cwd tracked across its tool calls — best-effort, never hermetic);
695
+ * sandboxPosture {session, ord, cli, posture: 'os' | 'advisory', reason} (the write containment
696
+ * the assigned seat runs under — 'advisory' = no OS write boundary on the seat record, command-text
697
+ * fences + worktree guard only); worktreeRetained {session, path, reason} (a terminal run's worktree
698
+ * kept because it holds uncommitted work — cancel included).
683
699
  */
684
700
  export interface CoreEventJson {
685
701
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.7.23",
3
+ "version": "0.7.24",
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.23",
47
- "wicked-core-ts-darwin-x64": "0.7.23",
48
- "wicked-core-ts-linux-arm64-gnu": "0.7.23",
49
- "wicked-core-ts-linux-x64-gnu": "0.7.23",
50
- "wicked-core-ts-win32-x64-msvc": "0.7.23"
46
+ "wicked-core-ts-darwin-arm64": "0.7.24",
47
+ "wicked-core-ts-darwin-x64": "0.7.24",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.7.24",
49
+ "wicked-core-ts-linux-x64-gnu": "0.7.24",
50
+ "wicked-core-ts-win32-x64-msvc": "0.7.24"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",