wicked-crew-api-types 0.86.0 → 0.87.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.
- package/index.d.ts +34 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1797,8 +1797,15 @@ export interface GovernanceHookFiredEvent {
|
|
|
1797
1797
|
ord: number;
|
|
1798
1798
|
attempt: number;
|
|
1799
1799
|
toolName: string;
|
|
1800
|
-
|
|
1800
|
+
/** `allow_with_conditions` (typed from api-types 0.87.0): the engine permits with obligations. */
|
|
1801
|
+
decision: 'allow' | 'deny' | 'allow_with_conditions';
|
|
1801
1802
|
denyingPolicy: string | null;
|
|
1803
|
+
/**
|
|
1804
|
+
* (TR-W2, wicked-core-ts >= 0.7.35; api-types 0.87.0) EVERY steering rule that fired on this
|
|
1805
|
+
* call, whatever the decision — the `warn` class included, which an allow decision used to drop.
|
|
1806
|
+
* The watch registry's `risky-call` entry projects the warn-effect ones. Absent on an older engine.
|
|
1807
|
+
*/
|
|
1808
|
+
firedPolicies?: string[];
|
|
1802
1809
|
}
|
|
1803
1810
|
|
|
1804
1811
|
/** P2 — a pinned deterministic validator was attached; confirms the governance floor is armed. */
|
|
@@ -2102,6 +2109,32 @@ export type RepoChecksEvaluatedEvent = {
|
|
|
2102
2109
|
* `typecheck`/`lint`/`test` script, …) — the reason an empty `checks` is empty; `null` when
|
|
2103
2110
|
* detection succeeded. */
|
|
2104
2111
|
detectError?: string | null;
|
|
2112
|
+
/**
|
|
2113
|
+
* (wicked-core#469; typed here from api-types 0.87.0) How the floor ended: `passed` | `failed` |
|
|
2114
|
+
* `timed_out` | `not_run`. A floor that did not finish, or could not run at all (no write
|
|
2115
|
+
* boundary — see `sandboxError`), is never "its checks failed". Absent on an older engine.
|
|
2116
|
+
*/
|
|
2117
|
+
outcome?: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* (wicked-core#467; typed here from api-types 0.87.0) Whose floor this was: `creator` (the seat
|
|
2120
|
+
* handed back output and the engine ran the repo checks on its tree — a failing one is the
|
|
2121
|
+
* structural "handed back as finished, its own checks failed", TR-W6) or `verify` (the
|
|
2122
|
+
* code-verifying unit's, and the deliver re-check). Absent on an older engine.
|
|
2123
|
+
*/
|
|
2124
|
+
floor?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* (wicked-core#467) A creator transcript's "pre-existing failure" claim, judged against the
|
|
2127
|
+
* baseline diff: `verdict` is `claim_rejected` | `claim_confirmed` | `unverified`. `null` when no
|
|
2128
|
+
* claim was made or the floor was green.
|
|
2129
|
+
*/
|
|
2130
|
+
claim?: { phrase: string; check: string; verdict: string } | null;
|
|
2131
|
+
/**
|
|
2132
|
+
* (TR-W1b, wicked-core-ts >= 0.7.35) The repo-relative paths the step changed, `git diff-tree
|
|
2133
|
+
* --name-status` baseline → floor tree. Absent when the tree did not change; capped at 200 with
|
|
2134
|
+
* `changedTruncated: true`.
|
|
2135
|
+
*/
|
|
2136
|
+
changed?: Array<{ status: string; path: string }>;
|
|
2137
|
+
changedTruncated?: boolean;
|
|
2105
2138
|
};
|
|
2106
2139
|
|
|
2107
2140
|
// ── wicked-core#431 gate / deliver evidence (F-3R2-013 / -010 / -009; api-types 0.33.0) ──────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.87.0",
|
|
4
4
|
"description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|