@manehorizons/cadence-types 1.1.1 → 1.5.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/dist/anomaly.d.ts +43 -24
- package/dist/anomaly.d.ts.map +1 -1
- package/dist/anomaly.js +1 -1
- package/dist/anomaly.js.map +1 -1
- package/dist/config.d.ts +128 -508
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/events.d.ts +19 -19
- package/dist/events.d.ts.map +1 -1
- package/dist/handoff.d.ts +144 -0
- package/dist/handoff.d.ts.map +1 -0
- package/dist/handoff.js +32 -0
- package/dist/handoff.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +447 -1543
- package/dist/intelligence.d.ts.map +1 -1
- package/dist/plan.d.ts +43 -133
- package/dist/plan.d.ts.map +1 -1
- package/dist/profile.d.ts +36 -11
- package/dist/profile.d.ts.map +1 -1
- package/dist/spec.d.ts +8 -47
- package/dist/spec.d.ts.map +1 -1
- package/dist/state.d.ts +53 -202
- package/dist/state.d.ts.map +1 -1
- package/dist/summary.d.ts +44 -227
- package/dist/summary.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/state.d.ts
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const TierZ: z.ZodEnum<
|
|
2
|
+
export declare const TierZ: z.ZodEnum<{
|
|
3
|
+
standard: "standard";
|
|
4
|
+
complex: "complex";
|
|
5
|
+
"quick-fix": "quick-fix";
|
|
6
|
+
}>;
|
|
3
7
|
export type Tier = z.infer<typeof TierZ>;
|
|
4
|
-
export declare const LoopPositionZ: z.ZodEnum<
|
|
8
|
+
export declare const LoopPositionZ: z.ZodEnum<{
|
|
9
|
+
SPEC: "SPEC";
|
|
10
|
+
DRAFT: "DRAFT";
|
|
11
|
+
BUILD: "BUILD";
|
|
12
|
+
SETTLE: "SETTLE";
|
|
13
|
+
IDLE: "IDLE";
|
|
14
|
+
}>;
|
|
5
15
|
export type LoopPosition = z.infer<typeof LoopPositionZ>;
|
|
6
|
-
export declare const TaskStatusZ: z.ZodEnum<
|
|
16
|
+
export declare const TaskStatusZ: z.ZodEnum<{
|
|
17
|
+
PENDING: "PENDING";
|
|
18
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
19
|
+
DONE: "DONE";
|
|
20
|
+
DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
|
|
21
|
+
NEEDS_CONTEXT: "NEEDS_CONTEXT";
|
|
22
|
+
BLOCKED: "BLOCKED";
|
|
23
|
+
}>;
|
|
7
24
|
export type TaskStatus = z.infer<typeof TaskStatusZ>;
|
|
8
25
|
export declare const DecisionZ: z.ZodObject<{
|
|
9
26
|
id: z.ZodString;
|
|
@@ -12,21 +29,7 @@ export declare const DecisionZ: z.ZodObject<{
|
|
|
12
29
|
title: z.ZodString;
|
|
13
30
|
rationale: z.ZodOptional<z.ZodString>;
|
|
14
31
|
decidedAt: z.ZodString;
|
|
15
|
-
},
|
|
16
|
-
id: string;
|
|
17
|
-
phase: string;
|
|
18
|
-
title: string;
|
|
19
|
-
decidedAt: string;
|
|
20
|
-
draft?: string | undefined;
|
|
21
|
-
rationale?: string | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
id: string;
|
|
24
|
-
phase: string;
|
|
25
|
-
title: string;
|
|
26
|
-
decidedAt: string;
|
|
27
|
-
draft?: string | undefined;
|
|
28
|
-
rationale?: string | undefined;
|
|
29
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
30
33
|
export type Decision = z.infer<typeof DecisionZ>;
|
|
31
34
|
export declare const DeferredItemZ: z.ZodObject<{
|
|
32
35
|
id: z.ZodString;
|
|
@@ -34,55 +37,34 @@ export declare const DeferredItemZ: z.ZodObject<{
|
|
|
34
37
|
title: z.ZodString;
|
|
35
38
|
type: z.ZodOptional<z.ZodString>;
|
|
36
39
|
createdAt: z.ZodString;
|
|
37
|
-
},
|
|
38
|
-
id: string;
|
|
39
|
-
title: string;
|
|
40
|
-
from: string;
|
|
41
|
-
createdAt: string;
|
|
42
|
-
type?: string | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
id: string;
|
|
45
|
-
title: string;
|
|
46
|
-
from: string;
|
|
47
|
-
createdAt: string;
|
|
48
|
-
type?: string | undefined;
|
|
49
|
-
}>;
|
|
40
|
+
}, z.core.$strip>;
|
|
50
41
|
export type DeferredItem = z.infer<typeof DeferredItemZ>;
|
|
51
42
|
export declare const CadenceStateZ: z.ZodObject<{
|
|
52
43
|
schemaVersion: z.ZodLiteral<1>;
|
|
53
44
|
project: z.ZodObject<{
|
|
54
45
|
name: z.ZodString;
|
|
55
46
|
createdAt: z.ZodString;
|
|
56
|
-
},
|
|
57
|
-
createdAt: string;
|
|
58
|
-
name: string;
|
|
59
|
-
}, {
|
|
60
|
-
createdAt: string;
|
|
61
|
-
name: string;
|
|
62
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
63
48
|
activePhase: z.ZodNullable<z.ZodString>;
|
|
64
49
|
activeDraft: z.ZodNullable<z.ZodString>;
|
|
65
|
-
/** Active `<id>-SPEC.md` while `loopPosition==='SPEC'`; `null` otherwise. */
|
|
66
50
|
activeSpec: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
loopPosition: z.ZodEnum<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
51
|
+
loopPosition: z.ZodEnum<{
|
|
52
|
+
SPEC: "SPEC";
|
|
53
|
+
DRAFT: "DRAFT";
|
|
54
|
+
BUILD: "BUILD";
|
|
55
|
+
SETTLE: "SETTLE";
|
|
56
|
+
IDLE: "IDLE";
|
|
57
|
+
}>;
|
|
58
|
+
tier: z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
standard: "standard";
|
|
60
|
+
complex: "complex";
|
|
61
|
+
"quick-fix": "quick-fix";
|
|
62
|
+
}>>;
|
|
75
63
|
draftReadAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
76
64
|
openDrafts: z.ZodArray<z.ZodObject<{
|
|
77
65
|
id: z.ZodString;
|
|
78
66
|
since: z.ZodString;
|
|
79
|
-
},
|
|
80
|
-
id: string;
|
|
81
|
-
since: string;
|
|
82
|
-
}, {
|
|
83
|
-
id: string;
|
|
84
|
-
since: string;
|
|
85
|
-
}>, "many">;
|
|
67
|
+
}, z.core.$strip>>;
|
|
86
68
|
decisions: z.ZodArray<z.ZodObject<{
|
|
87
69
|
id: z.ZodString;
|
|
88
70
|
phase: z.ZodString;
|
|
@@ -90,167 +72,36 @@ export declare const CadenceStateZ: z.ZodObject<{
|
|
|
90
72
|
title: z.ZodString;
|
|
91
73
|
rationale: z.ZodOptional<z.ZodString>;
|
|
92
74
|
decidedAt: z.ZodString;
|
|
93
|
-
},
|
|
94
|
-
id: string;
|
|
95
|
-
phase: string;
|
|
96
|
-
title: string;
|
|
97
|
-
decidedAt: string;
|
|
98
|
-
draft?: string | undefined;
|
|
99
|
-
rationale?: string | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
id: string;
|
|
102
|
-
phase: string;
|
|
103
|
-
title: string;
|
|
104
|
-
decidedAt: string;
|
|
105
|
-
draft?: string | undefined;
|
|
106
|
-
rationale?: string | undefined;
|
|
107
|
-
}>, "many">;
|
|
75
|
+
}, z.core.$strip>>;
|
|
108
76
|
deferred: z.ZodArray<z.ZodObject<{
|
|
109
77
|
id: z.ZodString;
|
|
110
78
|
from: z.ZodString;
|
|
111
79
|
title: z.ZodString;
|
|
112
80
|
type: z.ZodOptional<z.ZodString>;
|
|
113
81
|
createdAt: z.ZodString;
|
|
114
|
-
},
|
|
115
|
-
id: string;
|
|
116
|
-
title: string;
|
|
117
|
-
from: string;
|
|
118
|
-
createdAt: string;
|
|
119
|
-
type?: string | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
id: string;
|
|
122
|
-
title: string;
|
|
123
|
-
from: string;
|
|
124
|
-
createdAt: string;
|
|
125
|
-
type?: string | undefined;
|
|
126
|
-
}>, "many">;
|
|
82
|
+
}, z.core.$strip>>;
|
|
127
83
|
session: z.ZodObject<{
|
|
128
84
|
tokenUtilization: z.ZodNumber;
|
|
129
85
|
lastHandoff: z.ZodNullable<z.ZodString>;
|
|
130
86
|
subagentSpawns: z.ZodNumber;
|
|
131
|
-
},
|
|
132
|
-
tokenUtilization: number;
|
|
133
|
-
lastHandoff: string | null;
|
|
134
|
-
subagentSpawns: number;
|
|
135
|
-
}, {
|
|
136
|
-
tokenUtilization: number;
|
|
137
|
-
lastHandoff: string | null;
|
|
138
|
-
subagentSpawns: number;
|
|
139
|
-
}>;
|
|
87
|
+
}, z.core.$strip>;
|
|
140
88
|
skillAudit: z.ZodObject<{
|
|
141
|
-
required: z.ZodArray<z.ZodString
|
|
142
|
-
invoked: z.ZodArray<z.ZodString
|
|
143
|
-
},
|
|
144
|
-
required: string[];
|
|
145
|
-
invoked: string[];
|
|
146
|
-
}, {
|
|
147
|
-
required: string[];
|
|
148
|
-
invoked: string[];
|
|
149
|
-
}>;
|
|
89
|
+
required: z.ZodArray<z.ZodString>;
|
|
90
|
+
invoked: z.ZodArray<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
150
92
|
activeTask: z.ZodNullable<z.ZodObject<{
|
|
151
93
|
id: z.ZodString;
|
|
152
|
-
status: z.ZodEnum<
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
schemaVersion: 1;
|
|
165
|
-
skillAudit: {
|
|
166
|
-
required: string[];
|
|
167
|
-
invoked: string[];
|
|
168
|
-
};
|
|
169
|
-
tier: "standard" | "complex" | "quick-fix" | null;
|
|
170
|
-
activePhase: string | null;
|
|
171
|
-
activeDraft: string | null;
|
|
172
|
-
project: {
|
|
173
|
-
createdAt: string;
|
|
174
|
-
name: string;
|
|
175
|
-
};
|
|
176
|
-
activeSpec: string | null;
|
|
177
|
-
loopPosition: "SPEC" | "DRAFT" | "BUILD" | "SETTLE" | "IDLE";
|
|
178
|
-
draftReadAt: string | null;
|
|
179
|
-
openDrafts: {
|
|
180
|
-
id: string;
|
|
181
|
-
since: string;
|
|
182
|
-
}[];
|
|
183
|
-
decisions: {
|
|
184
|
-
id: string;
|
|
185
|
-
phase: string;
|
|
186
|
-
title: string;
|
|
187
|
-
decidedAt: string;
|
|
188
|
-
draft?: string | undefined;
|
|
189
|
-
rationale?: string | undefined;
|
|
190
|
-
}[];
|
|
191
|
-
deferred: {
|
|
192
|
-
id: string;
|
|
193
|
-
title: string;
|
|
194
|
-
from: string;
|
|
195
|
-
createdAt: string;
|
|
196
|
-
type?: string | undefined;
|
|
197
|
-
}[];
|
|
198
|
-
session: {
|
|
199
|
-
tokenUtilization: number;
|
|
200
|
-
lastHandoff: string | null;
|
|
201
|
-
subagentSpawns: number;
|
|
202
|
-
};
|
|
203
|
-
activeTask: {
|
|
204
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
205
|
-
id: string;
|
|
206
|
-
touchedFiles: string[];
|
|
207
|
-
} | null;
|
|
208
|
-
}, {
|
|
209
|
-
schemaVersion: 1;
|
|
210
|
-
skillAudit: {
|
|
211
|
-
required: string[];
|
|
212
|
-
invoked: string[];
|
|
213
|
-
};
|
|
214
|
-
tier: "standard" | "complex" | "quick-fix" | null;
|
|
215
|
-
activePhase: string | null;
|
|
216
|
-
activeDraft: string | null;
|
|
217
|
-
project: {
|
|
218
|
-
createdAt: string;
|
|
219
|
-
name: string;
|
|
220
|
-
};
|
|
221
|
-
loopPosition: "SPEC" | "DRAFT" | "BUILD" | "SETTLE" | "IDLE";
|
|
222
|
-
openDrafts: {
|
|
223
|
-
id: string;
|
|
224
|
-
since: string;
|
|
225
|
-
}[];
|
|
226
|
-
decisions: {
|
|
227
|
-
id: string;
|
|
228
|
-
phase: string;
|
|
229
|
-
title: string;
|
|
230
|
-
decidedAt: string;
|
|
231
|
-
draft?: string | undefined;
|
|
232
|
-
rationale?: string | undefined;
|
|
233
|
-
}[];
|
|
234
|
-
deferred: {
|
|
235
|
-
id: string;
|
|
236
|
-
title: string;
|
|
237
|
-
from: string;
|
|
238
|
-
createdAt: string;
|
|
239
|
-
type?: string | undefined;
|
|
240
|
-
}[];
|
|
241
|
-
session: {
|
|
242
|
-
tokenUtilization: number;
|
|
243
|
-
lastHandoff: string | null;
|
|
244
|
-
subagentSpawns: number;
|
|
245
|
-
};
|
|
246
|
-
activeTask: {
|
|
247
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
248
|
-
id: string;
|
|
249
|
-
touchedFiles: string[];
|
|
250
|
-
} | null;
|
|
251
|
-
activeSpec?: string | null | undefined;
|
|
252
|
-
draftReadAt?: string | null | undefined;
|
|
253
|
-
}>;
|
|
94
|
+
status: z.ZodEnum<{
|
|
95
|
+
PENDING: "PENDING";
|
|
96
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
97
|
+
DONE: "DONE";
|
|
98
|
+
DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
|
|
99
|
+
NEEDS_CONTEXT: "NEEDS_CONTEXT";
|
|
100
|
+
BLOCKED: "BLOCKED";
|
|
101
|
+
}>;
|
|
102
|
+
touchedFiles: z.ZodArray<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
}, z.core.$strip>;
|
|
254
105
|
export type CadenceState = z.infer<typeof CadenceStateZ>;
|
|
255
106
|
export declare function emptyState(projectName?: string): CadenceState;
|
|
256
107
|
//# sourceMappingURL=state.d.ts.map
|
package/dist/state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../src/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK;;;;EAA+C,CAAC;AAClE,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,aAAa;;;;;;EAAuD,CAAC;AAClF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,eAAO,MAAM,WAAW;;;;;;;EAOtB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,eAAO,MAAM,SAAS;;;;;;;iBAOpB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD,eAAO,MAAM,aAAa;;;;;;iBAMxB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCxB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,wBAAgB,UAAU,CAAC,WAAW,SAAY,GAAG,YAAY,CAiBhE"}
|
package/dist/summary.d.ts
CHANGED
|
@@ -4,17 +4,7 @@ export declare const DeepVerdictZ: z.ZodObject<{
|
|
|
4
4
|
reason: z.ZodString;
|
|
5
5
|
provider: z.ZodString;
|
|
6
6
|
model: z.ZodOptional<z.ZodString>;
|
|
7
|
-
},
|
|
8
|
-
provider: string;
|
|
9
|
-
pass: boolean;
|
|
10
|
-
reason: string;
|
|
11
|
-
model?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
provider: string;
|
|
14
|
-
pass: boolean;
|
|
15
|
-
reason: string;
|
|
16
|
-
model?: string | undefined;
|
|
17
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
18
8
|
export type DeepVerdict = z.infer<typeof DeepVerdictZ>;
|
|
19
9
|
/**
|
|
20
10
|
* Per-file / per-diff finding. Introduced for code-review (Phase 24.3,
|
|
@@ -22,18 +12,15 @@ export type DeepVerdict = z.infer<typeof DeepVerdictZ>;
|
|
|
22
12
|
* gate — additive; code-review still only emits high/medium/low.
|
|
23
13
|
*/
|
|
24
14
|
export declare const FindingZ: z.ZodObject<{
|
|
25
|
-
severity: z.ZodEnum<
|
|
15
|
+
severity: z.ZodEnum<{
|
|
16
|
+
low: "low";
|
|
17
|
+
medium: "medium";
|
|
18
|
+
high: "high";
|
|
19
|
+
critical: "critical";
|
|
20
|
+
}>;
|
|
26
21
|
message: z.ZodString;
|
|
27
22
|
line: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
},
|
|
29
|
-
message: string;
|
|
30
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
31
|
-
line?: number | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
message: string;
|
|
34
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
35
|
-
line?: number | undefined;
|
|
36
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
37
24
|
export type Finding = z.infer<typeof FindingZ>;
|
|
38
25
|
export declare const SummaryZ: z.ZodObject<{
|
|
39
26
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -43,28 +30,19 @@ export declare const SummaryZ: z.ZodObject<{
|
|
|
43
30
|
id: z.ZodString;
|
|
44
31
|
pass: z.ZodBoolean;
|
|
45
32
|
note: z.ZodOptional<z.ZodString>;
|
|
46
|
-
},
|
|
47
|
-
id: string;
|
|
48
|
-
pass: boolean;
|
|
49
|
-
note?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
id: string;
|
|
52
|
-
pass: boolean;
|
|
53
|
-
note?: string | undefined;
|
|
54
|
-
}>, "many">;
|
|
33
|
+
}, z.core.$strip>>;
|
|
55
34
|
taskResults: z.ZodArray<z.ZodObject<{
|
|
56
35
|
id: z.ZodString;
|
|
57
|
-
status: z.ZodEnum<
|
|
36
|
+
status: z.ZodEnum<{
|
|
37
|
+
PENDING: "PENDING";
|
|
38
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
39
|
+
DONE: "DONE";
|
|
40
|
+
DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
|
|
41
|
+
NEEDS_CONTEXT: "NEEDS_CONTEXT";
|
|
42
|
+
BLOCKED: "BLOCKED";
|
|
43
|
+
}>;
|
|
58
44
|
notes: z.ZodString;
|
|
59
|
-
},
|
|
60
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
61
|
-
id: string;
|
|
62
|
-
notes: string;
|
|
63
|
-
}, {
|
|
64
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
65
|
-
id: string;
|
|
66
|
-
notes: string;
|
|
67
|
-
}>, "many">;
|
|
45
|
+
}, z.core.$strip>>;
|
|
68
46
|
decisions: z.ZodArray<z.ZodObject<{
|
|
69
47
|
id: z.ZodString;
|
|
70
48
|
phase: z.ZodString;
|
|
@@ -72,212 +50,51 @@ export declare const SummaryZ: z.ZodObject<{
|
|
|
72
50
|
title: z.ZodString;
|
|
73
51
|
rationale: z.ZodOptional<z.ZodString>;
|
|
74
52
|
decidedAt: z.ZodString;
|
|
75
|
-
},
|
|
76
|
-
id: string;
|
|
77
|
-
phase: string;
|
|
78
|
-
title: string;
|
|
79
|
-
decidedAt: string;
|
|
80
|
-
draft?: string | undefined;
|
|
81
|
-
rationale?: string | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
id: string;
|
|
84
|
-
phase: string;
|
|
85
|
-
title: string;
|
|
86
|
-
decidedAt: string;
|
|
87
|
-
draft?: string | undefined;
|
|
88
|
-
rationale?: string | undefined;
|
|
89
|
-
}>, "many">;
|
|
53
|
+
}, z.core.$strip>>;
|
|
90
54
|
deferred: z.ZodArray<z.ZodObject<{
|
|
91
55
|
id: z.ZodString;
|
|
92
56
|
from: z.ZodString;
|
|
93
57
|
title: z.ZodString;
|
|
94
58
|
type: z.ZodOptional<z.ZodString>;
|
|
95
59
|
createdAt: z.ZodString;
|
|
96
|
-
},
|
|
97
|
-
id: string;
|
|
98
|
-
title: string;
|
|
99
|
-
from: string;
|
|
100
|
-
createdAt: string;
|
|
101
|
-
type?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
id: string;
|
|
104
|
-
title: string;
|
|
105
|
-
from: string;
|
|
106
|
-
createdAt: string;
|
|
107
|
-
type?: string | undefined;
|
|
108
|
-
}>, "many">;
|
|
60
|
+
}, z.core.$strip>>;
|
|
109
61
|
skillAudit: z.ZodObject<{
|
|
110
|
-
required: z.ZodArray<z.ZodString
|
|
111
|
-
invoked: z.ZodArray<z.ZodString
|
|
112
|
-
},
|
|
113
|
-
required: string[];
|
|
114
|
-
invoked: string[];
|
|
115
|
-
}, {
|
|
116
|
-
required: string[];
|
|
117
|
-
invoked: string[];
|
|
118
|
-
}>;
|
|
119
|
-
/** Phase 15: per-AC `--deep` verifier output. Present only when `--deep` ran. */
|
|
62
|
+
required: z.ZodArray<z.ZodString>;
|
|
63
|
+
invoked: z.ZodArray<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>;
|
|
120
65
|
deepVerify: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
121
66
|
pass: z.ZodBoolean;
|
|
122
67
|
reason: z.ZodString;
|
|
123
68
|
provider: z.ZodString;
|
|
124
69
|
model: z.ZodOptional<z.ZodString>;
|
|
125
|
-
},
|
|
126
|
-
provider: string;
|
|
127
|
-
pass: boolean;
|
|
128
|
-
reason: string;
|
|
129
|
-
model?: string | undefined;
|
|
130
|
-
}, {
|
|
131
|
-
provider: string;
|
|
132
|
-
pass: boolean;
|
|
133
|
-
reason: string;
|
|
134
|
-
model?: string | undefined;
|
|
135
|
-
}>>>;
|
|
136
|
-
/** Phase 16: per-AC `--interactive` walker output. Present only when the walker ran. */
|
|
70
|
+
}, z.core.$strip>>>;
|
|
137
71
|
interactiveVerify: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
138
|
-
verdict: z.ZodEnum<
|
|
72
|
+
verdict: z.ZodEnum<{
|
|
73
|
+
pass: "pass";
|
|
74
|
+
fail: "fail";
|
|
75
|
+
}>;
|
|
139
76
|
note: z.ZodOptional<z.ZodString>;
|
|
140
|
-
},
|
|
141
|
-
verdict: "pass" | "fail";
|
|
142
|
-
note?: string | undefined;
|
|
143
|
-
}, {
|
|
144
|
-
verdict: "pass" | "fail";
|
|
145
|
-
note?: string | undefined;
|
|
146
|
-
}>>>;
|
|
147
|
-
/** Phase 24.3: per-file code-review findings. Present only when the gate ran. */
|
|
77
|
+
}, z.core.$strip>>>;
|
|
148
78
|
codeReview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
149
|
-
severity: z.ZodEnum<
|
|
79
|
+
severity: z.ZodEnum<{
|
|
80
|
+
low: "low";
|
|
81
|
+
medium: "medium";
|
|
82
|
+
high: "high";
|
|
83
|
+
critical: "critical";
|
|
84
|
+
}>;
|
|
150
85
|
message: z.ZodString;
|
|
151
86
|
line: z.ZodOptional<z.ZodNumber>;
|
|
152
|
-
},
|
|
153
|
-
message: string;
|
|
154
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
155
|
-
line?: number | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
message: string;
|
|
158
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
159
|
-
line?: number | undefined;
|
|
160
|
-
}>, "many">>>;
|
|
161
|
-
/** Phase 25.2: flat security-audit findings. Present only when the gate ran. */
|
|
87
|
+
}, z.core.$strip>>>>;
|
|
162
88
|
securityAudit: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
163
|
-
severity: z.ZodEnum<
|
|
89
|
+
severity: z.ZodEnum<{
|
|
90
|
+
low: "low";
|
|
91
|
+
medium: "medium";
|
|
92
|
+
high: "high";
|
|
93
|
+
critical: "critical";
|
|
94
|
+
}>;
|
|
164
95
|
message: z.ZodString;
|
|
165
96
|
line: z.ZodOptional<z.ZodNumber>;
|
|
166
|
-
},
|
|
167
|
-
|
|
168
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
169
|
-
line?: number | undefined;
|
|
170
|
-
}, {
|
|
171
|
-
message: string;
|
|
172
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
173
|
-
line?: number | undefined;
|
|
174
|
-
}>, "many">>;
|
|
175
|
-
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
schemaVersion: 1;
|
|
177
|
-
skillAudit: {
|
|
178
|
-
required: string[];
|
|
179
|
-
invoked: string[];
|
|
180
|
-
};
|
|
181
|
-
decisions: {
|
|
182
|
-
id: string;
|
|
183
|
-
phase: string;
|
|
184
|
-
title: string;
|
|
185
|
-
decidedAt: string;
|
|
186
|
-
draft?: string | undefined;
|
|
187
|
-
rationale?: string | undefined;
|
|
188
|
-
}[];
|
|
189
|
-
deferred: {
|
|
190
|
-
id: string;
|
|
191
|
-
title: string;
|
|
192
|
-
from: string;
|
|
193
|
-
createdAt: string;
|
|
194
|
-
type?: string | undefined;
|
|
195
|
-
}[];
|
|
196
|
-
draftId: string;
|
|
197
|
-
completedAt: string;
|
|
198
|
-
acResults: {
|
|
199
|
-
id: string;
|
|
200
|
-
pass: boolean;
|
|
201
|
-
note?: string | undefined;
|
|
202
|
-
}[];
|
|
203
|
-
taskResults: {
|
|
204
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
205
|
-
id: string;
|
|
206
|
-
notes: string;
|
|
207
|
-
}[];
|
|
208
|
-
codeReview?: Record<string, {
|
|
209
|
-
message: string;
|
|
210
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
211
|
-
line?: number | undefined;
|
|
212
|
-
}[]> | undefined;
|
|
213
|
-
securityAudit?: {
|
|
214
|
-
message: string;
|
|
215
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
216
|
-
line?: number | undefined;
|
|
217
|
-
}[] | undefined;
|
|
218
|
-
deepVerify?: Record<string, {
|
|
219
|
-
provider: string;
|
|
220
|
-
pass: boolean;
|
|
221
|
-
reason: string;
|
|
222
|
-
model?: string | undefined;
|
|
223
|
-
}> | undefined;
|
|
224
|
-
interactiveVerify?: Record<string, {
|
|
225
|
-
verdict: "pass" | "fail";
|
|
226
|
-
note?: string | undefined;
|
|
227
|
-
}> | undefined;
|
|
228
|
-
}, {
|
|
229
|
-
schemaVersion: 1;
|
|
230
|
-
skillAudit: {
|
|
231
|
-
required: string[];
|
|
232
|
-
invoked: string[];
|
|
233
|
-
};
|
|
234
|
-
decisions: {
|
|
235
|
-
id: string;
|
|
236
|
-
phase: string;
|
|
237
|
-
title: string;
|
|
238
|
-
decidedAt: string;
|
|
239
|
-
draft?: string | undefined;
|
|
240
|
-
rationale?: string | undefined;
|
|
241
|
-
}[];
|
|
242
|
-
deferred: {
|
|
243
|
-
id: string;
|
|
244
|
-
title: string;
|
|
245
|
-
from: string;
|
|
246
|
-
createdAt: string;
|
|
247
|
-
type?: string | undefined;
|
|
248
|
-
}[];
|
|
249
|
-
draftId: string;
|
|
250
|
-
completedAt: string;
|
|
251
|
-
acResults: {
|
|
252
|
-
id: string;
|
|
253
|
-
pass: boolean;
|
|
254
|
-
note?: string | undefined;
|
|
255
|
-
}[];
|
|
256
|
-
taskResults: {
|
|
257
|
-
status: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED";
|
|
258
|
-
id: string;
|
|
259
|
-
notes: string;
|
|
260
|
-
}[];
|
|
261
|
-
codeReview?: Record<string, {
|
|
262
|
-
message: string;
|
|
263
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
264
|
-
line?: number | undefined;
|
|
265
|
-
}[]> | undefined;
|
|
266
|
-
securityAudit?: {
|
|
267
|
-
message: string;
|
|
268
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
269
|
-
line?: number | undefined;
|
|
270
|
-
}[] | undefined;
|
|
271
|
-
deepVerify?: Record<string, {
|
|
272
|
-
provider: string;
|
|
273
|
-
pass: boolean;
|
|
274
|
-
reason: string;
|
|
275
|
-
model?: string | undefined;
|
|
276
|
-
}> | undefined;
|
|
277
|
-
interactiveVerify?: Record<string, {
|
|
278
|
-
verdict: "pass" | "fail";
|
|
279
|
-
note?: string | undefined;
|
|
280
|
-
}> | undefined;
|
|
281
|
-
}>;
|
|
97
|
+
}, z.core.$strip>>>;
|
|
98
|
+
}, z.core.$strip>;
|
|
282
99
|
export type Summary = z.infer<typeof SummaryZ>;
|
|
283
100
|
//# sourceMappingURL=summary.d.ts.map
|
package/dist/summary.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../src/summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../src/summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;iBAKvB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;iBAInB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BnB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manehorizons/cadence-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Zod schemas and TypeScript types for CADENCE — the pure data layer shared across every CADENCE package.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thomas Powers",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
|
-
"dist"
|
|
26
|
+
"dist",
|
|
27
|
+
"!dist/tsconfig.tsbuildinfo"
|
|
27
28
|
],
|
|
28
29
|
"publishConfig": {
|
|
29
30
|
"access": "public"
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"directory": "packages/types"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"zod": "^
|
|
38
|
+
"zod": "^4.4.3"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
41
|
"build": "tsc -p tsconfig.json",
|