@claudexor/schema 3.1.0 → 3.1.1

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 (53) hide show
  1. package/dist/agent-capabilities.d.ts +8 -8
  2. package/dist/budget.d.ts +9 -9
  3. package/dist/config.d.ts +70 -38
  4. package/dist/config.d.ts.map +1 -1
  5. package/dist/config.js +12 -1
  6. package/dist/config.js.map +1 -1
  7. package/dist/control-operation-responses.d.ts +27 -27
  8. package/dist/control-run-detail.d.ts +13 -13
  9. package/dist/control.d.ts +135 -84
  10. package/dist/control.d.ts.map +1 -1
  11. package/dist/effort.d.ts +132 -0
  12. package/dist/effort.d.ts.map +1 -0
  13. package/dist/effort.js +167 -0
  14. package/dist/effort.js.map +1 -0
  15. package/dist/events.d.ts +4 -4
  16. package/dist/events.d.ts.map +1 -1
  17. package/dist/events.js +6 -0
  18. package/dist/events.js.map +1 -1
  19. package/dist/gate.d.ts +2 -2
  20. package/dist/harness.d.ts +98 -25
  21. package/dist/harness.d.ts.map +1 -1
  22. package/dist/harness.js +30 -13
  23. package/dist/harness.js.map +1 -1
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +1 -0
  27. package/dist/index.js.map +1 -1
  28. package/dist/operation.d.ts +16 -16
  29. package/dist/readiness.d.ts +48 -7
  30. package/dist/readiness.d.ts.map +1 -1
  31. package/dist/task.d.ts +62 -59
  32. package/dist/task.d.ts.map +1 -1
  33. package/dist/task.js +9 -8
  34. package/dist/task.js.map +1 -1
  35. package/dist/telemetry.d.ts +16 -16
  36. package/generated/AgentCapabilityCatalog.schema.json +4 -8
  37. package/generated/ControlHarnessListResponse.schema.json +45 -9
  38. package/generated/ControlHarnessSettingsPatch.schema.json +4 -8
  39. package/generated/ControlRunAgainDraft.schema.json +3 -7
  40. package/generated/ControlRunDetail.schema.json +3 -7
  41. package/generated/ControlRunListResponse.schema.json +3 -7
  42. package/generated/ControlRunStartRequest.schema.json +3 -7
  43. package/generated/ControlRunSummary.schema.json +3 -7
  44. package/generated/ControlSettingsSnapshot.schema.json +4 -8
  45. package/generated/ControlSettingsUpdateRequest.schema.json +4 -8
  46. package/generated/ControlThreadTurnRequest.schema.json +3 -7
  47. package/generated/GlobalConfig.schema.json +4 -8
  48. package/generated/HarnessManifest.schema.json +45 -9
  49. package/generated/HarnessStatusDto.schema.json +45 -9
  50. package/generated/ProjectConfig.schema.json +26 -0
  51. package/generated/RunEvent.schema.json +1 -0
  52. package/generated/TaskContract.schema.json +5 -9
  53. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../src/control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAYlD,eAAO,MAAM,YAAY;;;;;;EAU6B,CAAC;AACvD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,yBAAyB;IAElC;uEACmE;;IAInE,qEAAqE;;IAIrE,sEAAsE;;;;;;;;;;EAQvE,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,sBAAsB;;IAG/B;;;uEAGmE;;IAOnE,6EAA6E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB7E;;oDAEgD;;IAIhD;;uCAEmC;;;IAQnC;;;mFAG+E;;;;;;IAgC/E,mFAAmF;;IAKnF;+DAC2D;;IAK3D,sEAAsE;;IAEtE;;;;0CAIsC;;IAOtC;;mEAE+D;;;;;;;;;;;;;;;;;;IAQ/D,qGAAqG;;;;IAUrG,mEAAmE;;;;;;;;;;;;;;;;;;IAWnE;sEACkE;;;;;;;;;;;IAOlE,+DAA+D;;IAE/D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,uBAAuB;;IAMhC,8EAA8E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwFtE;gDACwC;;;;;;;;;;;QA8CxC;;+BAEuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAagC,CAAC;AACpE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;IAGpC,iFAAiF;;;;;;;;;;;IAgCjF;8EAC0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3E,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA7CrC,iFAAiF;;;;;;;;;;;QAgCjF;kFAC0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CU,CAAC;AACzF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -0,0 +1,132 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Reasoning-effort vocabulary: the open wire type and the ONE owner of every
4
+ * derived lookup (per-model narrowing, ladder merging, untyped-surface schema,
5
+ * help text). Split out of harness.ts because effort is its own contract with
6
+ * its own consumers — adapters, the CLI, the MCP tool schema and the macOS
7
+ * picker all resolve through here rather than copying a level list.
8
+ *
9
+ * There is deliberately NO static rank table here. Vendors already return
10
+ * their effort levels ORDERED weakest→strongest (codex `model/list` →
11
+ * `supportedReasoningEfforts` is an ordered array per model; `claude --help`
12
+ * prints the `--effort` values in order), and that order is part of the parsed
13
+ * vendor response. Ordering authority is therefore the vendor's own advertised
14
+ * sequence: a model's ladder is its own ordered list, a harness's ladder is
15
+ * the positional merge of its models' lists (`mergeEffortLadders`), and a
16
+ * level's rank is its position in that merged list. A second, hand-maintained
17
+ * copy of that knowledge can only ever disagree with the first.
18
+ */
19
+ /** Longest effort slug accepted on the wire. */
20
+ export declare const EFFORT_HINT_MAX_LENGTH = 32;
21
+ /** Lowercase slug shape: `low`, `xhigh`, `ultra`, `super-max`, `turbo_2`. */
22
+ export declare const EFFORT_HINT_PATTERN: RegExp;
23
+ /**
24
+ * OPEN cross-harness reasoning-effort vocabulary — deliberately a bounded slug,
25
+ * not an enum, mirroring the vendor contract (codex's own generated schema types
26
+ * `ReasoningEffort` as "a non-empty reasoning effort value advertised by the
27
+ * model"). Adapters advertise the subset they actually accept per (harness,
28
+ * model); the shared normalizer passes an advertised level through verbatim,
29
+ * clamps an unadvertised-but-mergeable one onto the nearest advertised level
30
+ * inside the vendor's own order, and REFUSES a level the merged ladder has
31
+ * never seen — so a vendor level newer than this repo works with no code
32
+ * change, and a typo is never silently downgraded.
33
+ */
34
+ export declare const EffortHint: z.ZodString;
35
+ export type EffortHint = z.infer<typeof EffortHint>;
36
+ /** What one model advertises: its ordered effort vocabulary and vendor default. */
37
+ export declare const ModelEffortCapability: z.ZodObject<{
38
+ levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
39
+ default: z.ZodDefault<z.ZodNullable<z.ZodString>>;
40
+ }, "strict", z.ZodTypeAny, {
41
+ levels: string[];
42
+ default: string | null;
43
+ }, {
44
+ levels?: string[] | undefined;
45
+ default?: string | null | undefined;
46
+ }>;
47
+ export type ModelEffortCapability = z.infer<typeof ModelEffortCapability>;
48
+ /**
49
+ * How every surface describes the effort vocabulary in help and refusal text.
50
+ * ONE owner (INV-122) so no CLI string hand-copies a level list — and it
51
+ * deliberately names NO levels of its own: the real answer is per (harness,
52
+ * model), lives in the manifest, and is ordered by the vendor. Surfaces that
53
+ * know the resolved harness/model name the actual advertised set instead.
54
+ */
55
+ export declare const EFFORT_HINT_HELP: string;
56
+ /**
57
+ * JSON-Schema fragment for an effort value on UNTYPED surfaces (the MCP tool
58
+ * schema). ONE owner (INV-121/122): the bounds come from the same constants the
59
+ * zod SSOT enforces, so no surface hand-copies a level list — and, critically,
60
+ * the surface stays as OPEN as the vendor contract. Pinning an enum here would
61
+ * reject a level a model genuinely advertises, which is the bug this design
62
+ * exists to prevent.
63
+ *
64
+ * The guidance is `EFFORT_HINT_HELP`, the SAME string the CLI renders, so an MCP
65
+ * client and a `--effort` refusal describe the vocabulary identically.
66
+ */
67
+ export declare function effortJsonSchema(description: string): Record<string, unknown>;
68
+ /**
69
+ * The effort vocabulary advertised for one (harness, model) pair. ONE owner for
70
+ * the per-model narrowing (INV-122): the model's own advertised list when the
71
+ * probe recorded one, else the harness-wide merged ladder. Every surface that
72
+ * needs to know "what efforts may this run use" resolves through here.
73
+ */
74
+ export declare function effortLevelsForModel(capabilities: {
75
+ effort_levels: readonly EffortHint[];
76
+ model_effort_levels: Record<string, ModelEffortCapability>;
77
+ }, model: string | null | undefined): readonly EffortHint[];
78
+ /** Result of merging several vendor-ordered effort ladders into one. */
79
+ export interface MergedEffortLadder {
80
+ /**
81
+ * The merged RANK order, weakest→strongest, honoring every input list's own
82
+ * order when they are mutually consistent. It carries ONLY levels some input
83
+ * list actually ordered against a neighbor; a level no list constrains lives
84
+ * in `unconstrained` instead. When the inputs are NOT consistent
85
+ * (`consistent` false), this is a first-seen deduplication — usable as a
86
+ * display set, never as a rank authority.
87
+ */
88
+ order: EffortHint[];
89
+ /**
90
+ * Levels that appear in some input list but share NO ordering constraint
91
+ * with any other level (each came only from single-level lists). Their
92
+ * position is UNKNOWN, not maximal: the old behavior let a plain topological
93
+ * tail place `medium` ABOVE `high` in a merge of ["low","high"] and
94
+ * ["medium"], silently making the unconstrained level the strongest rank.
95
+ * They stay advertised (membership, pickers), but clamping to or from them
96
+ * refuses with disclosure — exactly like the inconsistent case — because any
97
+ * rank for them would be invented.
98
+ */
99
+ unconstrained: EffortHint[];
100
+ /**
101
+ * False when two input lists genuinely contradict each other's relative
102
+ * order (`a` before `b` in one, `b` before `a` in another). Cross-model
103
+ * clamping is then IMPOSSIBLE for the affected harness — there is no honest
104
+ * rank to clamp along — and consumers must refuse with disclosure rather
105
+ * than invent an order (see `resolveEffort`'s ladder argument).
106
+ */
107
+ consistent: boolean;
108
+ }
109
+ /**
110
+ * Positional merge of vendor-ordered effort ladders — the ONE owner of
111
+ * cross-model effort ordering (INV-122). Each input list is treated as a chain
112
+ * of ordering constraints exactly as the vendor advertised it; the merge is a
113
+ * stable topological sort (ties break on first appearance across the inputs),
114
+ * so a set of lists that are prefixes/subsets of one another merge into the
115
+ * longest ladder, and a brand-new vendor level lands at its vendor-advertised
116
+ * position with no code change here.
117
+ *
118
+ * A level that carries NO ordering constraint at all (it only ever appears in
119
+ * single-level lists) has an UNKNOWN position, not a maximal one: a plain
120
+ * topological tail would park it after everything else and accidentally crown
121
+ * it the strongest rank (merging ["low","high"] with ["medium"] used to yield
122
+ * medium ABOVE high). Such levels are returned separately as `unconstrained`
123
+ * — advertised but unrankable — so no consumer can clamp along a position the
124
+ * vendor never stated. (Disconnected multi-level chains remain approximated
125
+ * by first-seen tie-breaking, as before.)
126
+ *
127
+ * The Swift side orders its pickers by merging the manifest's already-ordered
128
+ * `effort_levels`/`model_effort_levels` arrays the same way (`EffortLadder`,
129
+ * display ordering only — Swift never clamps, so it keeps the flat merge).
130
+ */
131
+ export declare function mergeEffortLadders(lists: ReadonlyArray<readonly EffortHint[]>): MergedEffortLadder;
132
+ //# sourceMappingURL=effort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effort.d.ts","sourceRoot":"","s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EAAE,CAAC,GAC1C,kBAAkB,CAkDpB"}
package/dist/effort.js ADDED
@@ -0,0 +1,167 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Reasoning-effort vocabulary: the open wire type and the ONE owner of every
4
+ * derived lookup (per-model narrowing, ladder merging, untyped-surface schema,
5
+ * help text). Split out of harness.ts because effort is its own contract with
6
+ * its own consumers — adapters, the CLI, the MCP tool schema and the macOS
7
+ * picker all resolve through here rather than copying a level list.
8
+ *
9
+ * There is deliberately NO static rank table here. Vendors already return
10
+ * their effort levels ORDERED weakest→strongest (codex `model/list` →
11
+ * `supportedReasoningEfforts` is an ordered array per model; `claude --help`
12
+ * prints the `--effort` values in order), and that order is part of the parsed
13
+ * vendor response. Ordering authority is therefore the vendor's own advertised
14
+ * sequence: a model's ladder is its own ordered list, a harness's ladder is
15
+ * the positional merge of its models' lists (`mergeEffortLadders`), and a
16
+ * level's rank is its position in that merged list. A second, hand-maintained
17
+ * copy of that knowledge can only ever disagree with the first.
18
+ */
19
+ /** Longest effort slug accepted on the wire. */
20
+ export const EFFORT_HINT_MAX_LENGTH = 32;
21
+ /** Lowercase slug shape: `low`, `xhigh`, `ultra`, `super-max`, `turbo_2`. */
22
+ export const EFFORT_HINT_PATTERN = /^[a-z0-9]+(?:[_-][a-z0-9]+)*$/;
23
+ /**
24
+ * OPEN cross-harness reasoning-effort vocabulary — deliberately a bounded slug,
25
+ * not an enum, mirroring the vendor contract (codex's own generated schema types
26
+ * `ReasoningEffort` as "a non-empty reasoning effort value advertised by the
27
+ * model"). Adapters advertise the subset they actually accept per (harness,
28
+ * model); the shared normalizer passes an advertised level through verbatim,
29
+ * clamps an unadvertised-but-mergeable one onto the nearest advertised level
30
+ * inside the vendor's own order, and REFUSES a level the merged ladder has
31
+ * never seen — so a vendor level newer than this repo works with no code
32
+ * change, and a typo is never silently downgraded.
33
+ */
34
+ export const EffortHint = z
35
+ .string()
36
+ .min(1)
37
+ .max(EFFORT_HINT_MAX_LENGTH)
38
+ .regex(EFFORT_HINT_PATTERN, "effort must be a lowercase slug (letters, digits, single - or _ separators)")
39
+ .describe("Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, and refuses levels the advertised ladder has never seen.");
40
+ /** What one model advertises: its ordered effort vocabulary and vendor default. */
41
+ export const ModelEffortCapability = z
42
+ .object({
43
+ levels: z
44
+ .array(EffortHint)
45
+ .default([])
46
+ .describe("Ordered (weakest to strongest) reasoning-effort levels this model advertises, in the vendor's own order."),
47
+ default: EffortHint.nullable()
48
+ .default(null)
49
+ .describe("The effort level the vendor uses for this model when none is requested."),
50
+ })
51
+ .strict()
52
+ .describe("Reasoning-effort vocabulary a single model advertises.");
53
+ /**
54
+ * How every surface describes the effort vocabulary in help and refusal text.
55
+ * ONE owner (INV-122) so no CLI string hand-copies a level list — and it
56
+ * deliberately names NO levels of its own: the real answer is per (harness,
57
+ * model), lives in the manifest, and is ordered by the vendor. Surfaces that
58
+ * know the resolved harness/model name the actual advertised set instead.
59
+ */
60
+ export const EFFORT_HINT_HELP = "reasoning-effort level the resolved harness/model advertises " +
61
+ "(a lowercase slug; each vendor lists its own levels, weakest to strongest)";
62
+ /**
63
+ * JSON-Schema fragment for an effort value on UNTYPED surfaces (the MCP tool
64
+ * schema). ONE owner (INV-121/122): the bounds come from the same constants the
65
+ * zod SSOT enforces, so no surface hand-copies a level list — and, critically,
66
+ * the surface stays as OPEN as the vendor contract. Pinning an enum here would
67
+ * reject a level a model genuinely advertises, which is the bug this design
68
+ * exists to prevent.
69
+ *
70
+ * The guidance is `EFFORT_HINT_HELP`, the SAME string the CLI renders, so an MCP
71
+ * client and a `--effort` refusal describe the vocabulary identically.
72
+ */
73
+ export function effortJsonSchema(description) {
74
+ return {
75
+ type: "string",
76
+ minLength: 1,
77
+ maxLength: EFFORT_HINT_MAX_LENGTH,
78
+ pattern: EFFORT_HINT_PATTERN.source,
79
+ description: `${description} Expects a ${EFFORT_HINT_HELP}; an advertised level is passed through as-is.`,
80
+ };
81
+ }
82
+ /**
83
+ * The effort vocabulary advertised for one (harness, model) pair. ONE owner for
84
+ * the per-model narrowing (INV-122): the model's own advertised list when the
85
+ * probe recorded one, else the harness-wide merged ladder. Every surface that
86
+ * needs to know "what efforts may this run use" resolves through here.
87
+ */
88
+ export function effortLevelsForModel(capabilities, model) {
89
+ const id = typeof model === "string" ? model.trim() : "";
90
+ const advertised = id ? capabilities.model_effort_levels[id]?.levels : undefined;
91
+ return advertised && advertised.length > 0 ? advertised : capabilities.effort_levels;
92
+ }
93
+ /**
94
+ * Positional merge of vendor-ordered effort ladders — the ONE owner of
95
+ * cross-model effort ordering (INV-122). Each input list is treated as a chain
96
+ * of ordering constraints exactly as the vendor advertised it; the merge is a
97
+ * stable topological sort (ties break on first appearance across the inputs),
98
+ * so a set of lists that are prefixes/subsets of one another merge into the
99
+ * longest ladder, and a brand-new vendor level lands at its vendor-advertised
100
+ * position with no code change here.
101
+ *
102
+ * A level that carries NO ordering constraint at all (it only ever appears in
103
+ * single-level lists) has an UNKNOWN position, not a maximal one: a plain
104
+ * topological tail would park it after everything else and accidentally crown
105
+ * it the strongest rank (merging ["low","high"] with ["medium"] used to yield
106
+ * medium ABOVE high). Such levels are returned separately as `unconstrained`
107
+ * — advertised but unrankable — so no consumer can clamp along a position the
108
+ * vendor never stated. (Disconnected multi-level chains remain approximated
109
+ * by first-seen tie-breaking, as before.)
110
+ *
111
+ * The Swift side orders its pickers by merging the manifest's already-ordered
112
+ * `effort_levels`/`model_effort_levels` arrays the same way (`EffortLadder`,
113
+ * display ordering only — Swift never clamps, so it keeps the flat merge).
114
+ */
115
+ export function mergeEffortLadders(lists) {
116
+ const firstSeen = [];
117
+ const successors = new Map();
118
+ const indegree = new Map();
119
+ const constrained = new Set();
120
+ for (const list of lists) {
121
+ for (const level of list) {
122
+ if (!indegree.has(level)) {
123
+ indegree.set(level, 0);
124
+ successors.set(level, new Set());
125
+ firstSeen.push(level);
126
+ }
127
+ }
128
+ for (let i = 1; i < list.length; i += 1) {
129
+ const before = list[i - 1];
130
+ const after = list[i];
131
+ if (before === after)
132
+ continue;
133
+ constrained.add(before);
134
+ constrained.add(after);
135
+ const outs = successors.get(before);
136
+ if (!outs.has(after)) {
137
+ outs.add(after);
138
+ indegree.set(after, (indegree.get(after) ?? 0) + 1);
139
+ }
140
+ }
141
+ }
142
+ // Every edge connects two constrained levels, so excluding the unconstrained
143
+ // ones from the sort cannot change any indegree.
144
+ const ranked = firstSeen.filter((level) => constrained.has(level));
145
+ const unconstrained = firstSeen.filter((level) => !constrained.has(level));
146
+ const order = [];
147
+ const emitted = new Set();
148
+ while (emitted.size < ranked.length) {
149
+ const next = ranked.find((level) => !emitted.has(level) && indegree.get(level) === 0);
150
+ if (next === undefined) {
151
+ // A cycle: the vendors' own orders contradict each other. Do not invent
152
+ // an order — fall back to first-seen for display and say so.
153
+ return {
154
+ order: [...order, ...ranked.filter((level) => !emitted.has(level))],
155
+ unconstrained,
156
+ consistent: false,
157
+ };
158
+ }
159
+ emitted.add(next);
160
+ order.push(next);
161
+ for (const succ of successors.get(next) ?? []) {
162
+ indegree.set(succ, (indegree.get(succ) ?? 1) - 1);
163
+ }
164
+ }
165
+ return { order, unconstrained, consistent: true };
166
+ }
167
+ //# sourceMappingURL=effort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effort.js","sourceRoot":"","sources":["../src/effort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;GAgBG;AAEH,gDAAgD;AAChD,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AACzC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,mBAAmB,GAAG,+BAA+B,CAAC;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC;KACxB,MAAM,EAAE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ACjB,KAAK,MAAM,IAAI,IAAI,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;YAC9C,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACpD,CAAC;IACH,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AACpD,CAAC"}
package/dist/events.d.ts CHANGED
@@ -36,7 +36,7 @@ export declare const ThreadHeadPing: z.ZodObject<{
36
36
  revision: number;
37
37
  }>;
38
38
  export type ThreadHeadPing = z.infer<typeof ThreadHeadPing>;
39
- export declare const RunEventType: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
39
+ export declare const RunEventType: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
40
40
  export type RunEventType = z.infer<typeof RunEventType>;
41
41
  /**
42
42
  * Typed payload for `route.fallback.*` events. The orchestrator validates this
@@ -165,10 +165,10 @@ export declare const RunEvent: z.ZodObject<{
165
165
  /** Thread this run is a turn of, when any. Lets the global event multiplex
166
166
  * route live progress to a chat surface without a reverse job lookup. */
167
167
  thread_id: z.ZodOptional<z.ZodString>;
168
- type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
168
+ type: z.ZodEnum<["run.created", "task.contract.created", "context.pack.created", "project.git.initialized", "project.claude_bridge.created", "budget.lease.created", "budget.observation", "budget.cash", "policy.web.upgraded", "harness.started", "harness.event", "harness.completed", "route.fallback.started", "route.fallback.completed", "route.fallback.exhausted", "route.transient.detected", "route.transient.retry_scheduled", "route.profile.headroom_exceeded", "route.profile.rotated", "route.profile.rotation_exhausted", "route.transient.exhausted", "route.fallback.auth_switched", "route.primary.diverged", "route.pool.degraded", "session.continuity", "interaction.requested", "interaction.answered", "interaction.timeout", "interaction.answer_discarded", "plan.progress", "plan.questions", "plan.brief.materialized", "council.started", "council.draft", "council.member.failed", "council.merged", "budget.quota_pressure", "delegation.belt.unavailable", "output.ready", "gate.started", "gate.completed", "review.preflight", "review.started", "review.skipped", "reviewer.started", "reviewer.first_event", "reviewer.auth_switched", "reviewer.completed", "reviewer.timed_out", "reviewer.failed", "finding.revalidated", "synthesis.started", "arbitration.completed", "work_product.emitted", "work_product.adopted", "control.requested", "control.applied", "control.rejected", "run.blocked", "run.completed", "run.failed", "run.continuation", "run.continuation.denied"]>;
169
169
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
170
170
  }, "strip", z.ZodTypeAny, {
171
- type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "project.claude_bridge.created" | "budget.lease.created" | "budget.observation" | "budget.cash" | "policy.web.upgraded" | "harness.started" | "harness.event" | "harness.completed" | "route.fallback.started" | "route.fallback.completed" | "route.fallback.exhausted" | "route.transient.detected" | "route.transient.retry_scheduled" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "review.started" | "review.skipped" | "reviewer.started" | "reviewer.first_event" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.timed_out" | "reviewer.failed" | "finding.revalidated" | "synthesis.started" | "arbitration.completed" | "work_product.emitted" | "work_product.adopted" | "control.requested" | "control.applied" | "control.rejected" | "run.blocked" | "run.completed" | "run.failed" | "run.continuation" | "run.continuation.denied";
171
+ type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "project.claude_bridge.created" | "budget.lease.created" | "budget.observation" | "budget.cash" | "policy.web.upgraded" | "harness.started" | "harness.event" | "harness.completed" | "route.fallback.started" | "route.fallback.completed" | "route.fallback.exhausted" | "route.transient.detected" | "route.transient.retry_scheduled" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "review.preflight" | "review.started" | "review.skipped" | "reviewer.started" | "reviewer.first_event" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.timed_out" | "reviewer.failed" | "finding.revalidated" | "synthesis.started" | "arbitration.completed" | "work_product.emitted" | "work_product.adopted" | "control.requested" | "control.applied" | "control.rejected" | "run.blocked" | "run.completed" | "run.failed" | "run.continuation" | "run.continuation.denied";
172
172
  ts: string;
173
173
  payload: Record<string, unknown>;
174
174
  run_id: string;
@@ -176,7 +176,7 @@ export declare const RunEvent: z.ZodObject<{
176
176
  thread_id?: string | undefined;
177
177
  seq?: number | undefined;
178
178
  }, {
179
- type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "project.claude_bridge.created" | "budget.lease.created" | "budget.observation" | "budget.cash" | "policy.web.upgraded" | "harness.started" | "harness.event" | "harness.completed" | "route.fallback.started" | "route.fallback.completed" | "route.fallback.exhausted" | "route.transient.detected" | "route.transient.retry_scheduled" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "review.started" | "review.skipped" | "reviewer.started" | "reviewer.first_event" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.timed_out" | "reviewer.failed" | "finding.revalidated" | "synthesis.started" | "arbitration.completed" | "work_product.emitted" | "work_product.adopted" | "control.requested" | "control.applied" | "control.rejected" | "run.blocked" | "run.completed" | "run.failed" | "run.continuation" | "run.continuation.denied";
179
+ type: "run.created" | "task.contract.created" | "context.pack.created" | "project.git.initialized" | "project.claude_bridge.created" | "budget.lease.created" | "budget.observation" | "budget.cash" | "policy.web.upgraded" | "harness.started" | "harness.event" | "harness.completed" | "route.fallback.started" | "route.fallback.completed" | "route.fallback.exhausted" | "route.transient.detected" | "route.transient.retry_scheduled" | "route.profile.headroom_exceeded" | "route.profile.rotated" | "route.profile.rotation_exhausted" | "route.transient.exhausted" | "route.fallback.auth_switched" | "route.primary.diverged" | "route.pool.degraded" | "session.continuity" | "interaction.requested" | "interaction.answered" | "interaction.timeout" | "interaction.answer_discarded" | "plan.progress" | "plan.questions" | "plan.brief.materialized" | "council.started" | "council.draft" | "council.member.failed" | "council.merged" | "budget.quota_pressure" | "delegation.belt.unavailable" | "output.ready" | "gate.started" | "gate.completed" | "review.preflight" | "review.started" | "review.skipped" | "reviewer.started" | "reviewer.first_event" | "reviewer.auth_switched" | "reviewer.completed" | "reviewer.timed_out" | "reviewer.failed" | "finding.revalidated" | "synthesis.started" | "arbitration.completed" | "work_product.emitted" | "work_product.adopted" | "control.requested" | "control.applied" | "control.rejected" | "run.blocked" | "run.completed" | "run.failed" | "run.continuation" | "run.continuation.denied";
180
180
  ts: string;
181
181
  run_id: string;
182
182
  task_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAU4C,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc;;;;;;;;;;;;EAoBxB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,YAAY,i6CAkHtB,CAAC;AACJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAoB9B,CAAC;AACJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;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oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAiBrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;4EAE4E;AAC5E,eAAO,MAAM,cAAc,2GAW6C,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,iDAAiD;AACjD,eAAO,MAAM,QAAQ;IAEjB;;;;OAIG;;;;;IAYH;6EACyE;;;;;;;;;;;;;;;;;;;;EAKO,CAAC;AACrF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
package/dist/events.js CHANGED
@@ -106,6 +106,12 @@ export const RunEventType = z
106
106
  "output.ready",
107
107
  "gate.started",
108
108
  "gate.completed",
109
+ /** Reviewer-panel preflight disclosure (INV-105): a requested reviewer
110
+ * knob the resolved panel could not honor was DROPPED instead of refused
111
+ * (the auto panel's per-family `reviewerEfforts` map, which also rides
112
+ * stored replay surfaces). Payload: {ignored_settings: string[]} — the
113
+ * same disclosure channel harness.started uses (QA-070). */
114
+ "review.preflight",
109
115
  "review.started",
110
116
  /** QA-025: the paid reviewer panel was intentionally NOT run — every working
111
117
  * candidate had an empty diff, or no reviewers were configured. Emitted
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,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E,CAAC,CAAC"}
package/dist/gate.d.ts CHANGED
@@ -17,8 +17,8 @@ export declare const GateResult: z.ZodObject<{
17
17
  command: string;
18
18
  exit_code: number | null;
19
19
  id: string;
20
- duration_ms: number;
21
20
  required: boolean;
21
+ duration_ms: number;
22
22
  stdout_tail: string | null;
23
23
  stderr_tail: string | null;
24
24
  output_truncated: boolean;
@@ -27,8 +27,8 @@ export declare const GateResult: z.ZodObject<{
27
27
  command: string;
28
28
  exit_code: number | null;
29
29
  id: string;
30
- duration_ms?: number | undefined;
31
30
  required?: boolean | undefined;
31
+ duration_ms?: number | undefined;
32
32
  stdout_tail?: string | null | undefined;
33
33
  stderr_tail?: string | null | undefined;
34
34
  output_truncated?: boolean | undefined;