@interf/compiler 0.1.8
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/LICENSE +183 -0
- package/README.md +1008 -0
- package/TRADEMARKS.md +19 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +30 -0
- package/dist/bin.js.map +1 -0
- package/dist/commands/benchmark.d.ts +3 -0
- package/dist/commands/benchmark.d.ts.map +1 -0
- package/dist/commands/benchmark.js +400 -0
- package/dist/commands/benchmark.js.map +1 -0
- package/dist/commands/compile.d.ts +3 -0
- package/dist/commands/compile.d.ts.map +1 -0
- package/dist/commands/compile.js +139 -0
- package/dist/commands/compile.js.map +1 -0
- package/dist/commands/create.d.ts +49 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/create.js +813 -0
- package/dist/commands/create.js.map +1 -0
- package/dist/commands/default.d.ts +3 -0
- package/dist/commands/default.d.ts.map +1 -0
- package/dist/commands/default.js +52 -0
- package/dist/commands/default.js.map +1 -0
- package/dist/commands/doctor.d.ts +3 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +146 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/init.d.ts +3 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +235 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.d.ts +3 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +32 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/reset.d.ts +3 -0
- package/dist/commands/reset.d.ts.map +1 -0
- package/dist/commands/reset.js +136 -0
- package/dist/commands/reset.js.map +1 -0
- package/dist/commands/status.d.ts +3 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +67 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/verify.d.ts +3 -0
- package/dist/commands/verify.d.ts.map +1 -0
- package/dist/commands/verify.js +112 -0
- package/dist/commands/verify.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/agents.d.ts +59 -0
- package/dist/lib/agents.d.ts.map +1 -0
- package/dist/lib/agents.js +760 -0
- package/dist/lib/agents.js.map +1 -0
- package/dist/lib/benchmark.d.ts +30 -0
- package/dist/lib/benchmark.d.ts.map +1 -0
- package/dist/lib/benchmark.js +325 -0
- package/dist/lib/benchmark.js.map +1 -0
- package/dist/lib/config.d.ts +6 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +15 -0
- package/dist/lib/config.js.map +1 -0
- package/dist/lib/discovery.d.ts +8 -0
- package/dist/lib/discovery.d.ts.map +1 -0
- package/dist/lib/discovery.js +80 -0
- package/dist/lib/discovery.js.map +1 -0
- package/dist/lib/executors.d.ts +33 -0
- package/dist/lib/executors.d.ts.map +1 -0
- package/dist/lib/executors.js +44 -0
- package/dist/lib/executors.js.map +1 -0
- package/dist/lib/filesystem.d.ts +4 -0
- package/dist/lib/filesystem.d.ts.map +1 -0
- package/dist/lib/filesystem.js +61 -0
- package/dist/lib/filesystem.js.map +1 -0
- package/dist/lib/interf.d.ts +37 -0
- package/dist/lib/interf.d.ts.map +1 -0
- package/dist/lib/interf.js +1104 -0
- package/dist/lib/interf.js.map +1 -0
- package/dist/lib/local-workflows.d.ts +35 -0
- package/dist/lib/local-workflows.d.ts.map +1 -0
- package/dist/lib/local-workflows.js +149 -0
- package/dist/lib/local-workflows.js.map +1 -0
- package/dist/lib/parse.d.ts +9 -0
- package/dist/lib/parse.d.ts.map +1 -0
- package/dist/lib/parse.js +51 -0
- package/dist/lib/parse.js.map +1 -0
- package/dist/lib/registry.d.ts +28 -0
- package/dist/lib/registry.d.ts.map +1 -0
- package/dist/lib/registry.js +80 -0
- package/dist/lib/registry.js.map +1 -0
- package/dist/lib/runtime.d.ts +59 -0
- package/dist/lib/runtime.d.ts.map +1 -0
- package/dist/lib/runtime.js +615 -0
- package/dist/lib/runtime.js.map +1 -0
- package/dist/lib/schema.d.ts +705 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/schema.js +443 -0
- package/dist/lib/schema.js.map +1 -0
- package/dist/lib/state.d.ts +49 -0
- package/dist/lib/state.d.ts.map +1 -0
- package/dist/lib/state.js +633 -0
- package/dist/lib/state.js.map +1 -0
- package/dist/lib/summarize-plan.d.ts +16 -0
- package/dist/lib/summarize-plan.d.ts.map +1 -0
- package/dist/lib/summarize-plan.js +112 -0
- package/dist/lib/summarize-plan.js.map +1 -0
- package/dist/lib/user-config.d.ts +6 -0
- package/dist/lib/user-config.d.ts.map +1 -0
- package/dist/lib/user-config.js +16 -0
- package/dist/lib/user-config.js.map +1 -0
- package/dist/lib/validate.d.ts +149 -0
- package/dist/lib/validate.d.ts.map +1 -0
- package/dist/lib/validate.js +838 -0
- package/dist/lib/validate.js.map +1 -0
- package/dist/lib/workflow-definitions.d.ts +79 -0
- package/dist/lib/workflow-definitions.d.ts.map +1 -0
- package/dist/lib/workflow-definitions.js +565 -0
- package/dist/lib/workflow-definitions.js.map +1 -0
- package/dist/lib/workflows.d.ts +125 -0
- package/dist/lib/workflows.d.ts.map +1 -0
- package/dist/lib/workflows.js +1107 -0
- package/dist/lib/workflows.js.map +1 -0
- package/package.json +73 -0
- package/skills/benchmark/SKILL.md +129 -0
- package/skills/interface/analyze/SKILL.md +140 -0
- package/skills/interface/compile/SKILL.md +153 -0
- package/skills/interface/compile/references/output-format.md +48 -0
- package/skills/interface/create/SKILL.md +264 -0
- package/skills/interface/create/references/compile-plan-format.md +109 -0
- package/skills/interface/create/references/workflows.md +50 -0
- package/skills/interface/query/SKILL.md +34 -0
- package/skills/interface/retrieve/SKILL.md +166 -0
- package/skills/knowledge-base/compile/SKILL.md +220 -0
- package/skills/knowledge-base/compile/references/output-format.md +48 -0
- package/skills/knowledge-base/compile/references/stage-claims.md +60 -0
- package/skills/knowledge-base/compile/references/stage-entities.md +46 -0
- package/skills/knowledge-base/query/SKILL.md +33 -0
- package/skills/knowledge-base/summarize/SKILL.md +122 -0
- package/skills/workflow/create/SKILL.md +126 -0
- package/templates/interface/README.md +158 -0
- package/templates/interface/interfaces.md +99 -0
- package/templates/knowledge-base/README.md +138 -0
- package/templates/knowledge-base/interfignore +19 -0
- package/templates/knowledge-base/registry.md +118 -0
|
@@ -0,0 +1,705 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RuntimeTargetTypeSchema: z.ZodEnum<{
|
|
3
|
+
"knowledge-base": "knowledge-base";
|
|
4
|
+
interface: "interface";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const RuntimeStageSchema: z.ZodString;
|
|
7
|
+
export declare const RuntimeContractTypeSchema: z.ZodEnum<{
|
|
8
|
+
"kb-file-evidence": "kb-file-evidence";
|
|
9
|
+
"kb-knowledge-layer": "kb-knowledge-layer";
|
|
10
|
+
"interface-plan": "interface-plan";
|
|
11
|
+
"interface-retrieval": "interface-retrieval";
|
|
12
|
+
"interface-analysis": "interface-analysis";
|
|
13
|
+
"interface-output": "interface-output";
|
|
14
|
+
}>;
|
|
15
|
+
export declare const KnowledgeBaseWorkflowIdSchema: z.ZodString;
|
|
16
|
+
export declare const InterfaceWorkflowIdSchema: z.ZodString;
|
|
17
|
+
export declare const WorkflowIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
18
|
+
export declare const KnowledgeBaseInterfConfigSchema: z.ZodObject<{
|
|
19
|
+
type: z.ZodLiteral<"knowledge-base">;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
22
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
path: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
export declare const InterfaceInterfConfigSchema: z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"interface">;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
30
|
+
knowledge_base: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
path: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
export declare const InterfConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
35
|
+
type: z.ZodLiteral<"knowledge-base">;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
38
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
path: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
42
|
+
type: z.ZodLiteral<"interface">;
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
45
|
+
knowledge_base: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
}, z.core.$loose>]>;
|
|
49
|
+
export declare const KnowledgeBaseStateSchema: z.ZodObject<{
|
|
50
|
+
version: z.ZodLiteral<1>;
|
|
51
|
+
pending: z.ZodArray<z.ZodString>;
|
|
52
|
+
summarized: z.ZodNumber;
|
|
53
|
+
compiled: z.ZodNumber;
|
|
54
|
+
last_add: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
last_summarize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
last_compile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
inventory_complete: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
abstracts_read: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
full_reads: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
entity_count: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
claim_count: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
warning_count: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
error_count: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export declare const InterfaceStateSchema: z.ZodObject<{
|
|
66
|
+
version: z.ZodLiteral<1>;
|
|
67
|
+
retrieve_complete: z.ZodBoolean;
|
|
68
|
+
analyze_complete: z.ZodBoolean;
|
|
69
|
+
compile_complete: z.ZodBoolean;
|
|
70
|
+
coverage_complete: z.ZodBoolean;
|
|
71
|
+
frontmatter_scanned: z.ZodNumber;
|
|
72
|
+
candidate_count: z.ZodNumber;
|
|
73
|
+
abstracts_read: z.ZodNumber;
|
|
74
|
+
expansion_passes: z.ZodNumber;
|
|
75
|
+
relevant_count: z.ZodNumber;
|
|
76
|
+
rejected_count: z.ZodNumber;
|
|
77
|
+
delta_count: z.ZodNumber;
|
|
78
|
+
delta_files: z.ZodArray<z.ZodString>;
|
|
79
|
+
last_retrieve: z.ZodNullable<z.ZodString>;
|
|
80
|
+
last_analyze: z.ZodNullable<z.ZodString>;
|
|
81
|
+
last_compile: z.ZodNullable<z.ZodString>;
|
|
82
|
+
knowledge_base_summary_count_at_last_compile: z.ZodNumber;
|
|
83
|
+
extracted_entities: z.ZodNumber;
|
|
84
|
+
extracted_claims: z.ZodNumber;
|
|
85
|
+
entity_count: z.ZodNumber;
|
|
86
|
+
claim_count: z.ZodNumber;
|
|
87
|
+
output_count: z.ZodNumber;
|
|
88
|
+
warning_count: z.ZodNumber;
|
|
89
|
+
error_count: z.ZodNumber;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export declare const ViewSectionSchema: z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
type: z.ZodEnum<{
|
|
94
|
+
status: "status";
|
|
95
|
+
cards: "cards";
|
|
96
|
+
graph: "graph";
|
|
97
|
+
documents: "documents";
|
|
98
|
+
table: "table";
|
|
99
|
+
}>;
|
|
100
|
+
title: z.ZodString;
|
|
101
|
+
path: z.ZodOptional<z.ZodString>;
|
|
102
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export declare const ViewCardSchema: z.ZodObject<{
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
label: z.ZodString;
|
|
107
|
+
metric: z.ZodString;
|
|
108
|
+
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
109
|
+
format: z.ZodEnum<{
|
|
110
|
+
number: "number";
|
|
111
|
+
fraction: "fraction";
|
|
112
|
+
timestamp: "timestamp";
|
|
113
|
+
}>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
export declare const KnowledgeBaseHealthSchema: z.ZodObject<{
|
|
116
|
+
kind: z.ZodLiteral<"knowledge-base-health">;
|
|
117
|
+
version: z.ZodLiteral<1>;
|
|
118
|
+
generated_at: z.ZodString;
|
|
119
|
+
target_name: z.ZodString;
|
|
120
|
+
status: z.ZodEnum<{
|
|
121
|
+
compiled: "compiled";
|
|
122
|
+
idle: "idle";
|
|
123
|
+
running: "running";
|
|
124
|
+
stale: "stale";
|
|
125
|
+
failed: "failed";
|
|
126
|
+
}>;
|
|
127
|
+
stage: z.ZodEnum<{
|
|
128
|
+
compiled: "compiled";
|
|
129
|
+
idle: "idle";
|
|
130
|
+
failed: "failed";
|
|
131
|
+
summarize: "summarize";
|
|
132
|
+
compile: "compile";
|
|
133
|
+
}>;
|
|
134
|
+
summary: z.ZodString;
|
|
135
|
+
metrics: z.ZodObject<{
|
|
136
|
+
source_total: z.ZodNumber;
|
|
137
|
+
source_covered: z.ZodNumber;
|
|
138
|
+
summarized: z.ZodNumber;
|
|
139
|
+
to_summarize: z.ZodNumber;
|
|
140
|
+
compiled: z.ZodNumber;
|
|
141
|
+
to_compile: z.ZodNumber;
|
|
142
|
+
entities: z.ZodNumber;
|
|
143
|
+
claims: z.ZodNumber;
|
|
144
|
+
outputs: z.ZodNumber;
|
|
145
|
+
invalid_frontmatter: z.ZodNumber;
|
|
146
|
+
short_abstracts: z.ZodNumber;
|
|
147
|
+
broken_links: z.ZodNumber;
|
|
148
|
+
warnings: z.ZodNumber;
|
|
149
|
+
errors: z.ZodNumber;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
checks: z.ZodObject<{
|
|
152
|
+
config_present: z.ZodBoolean;
|
|
153
|
+
config_valid: z.ZodBoolean;
|
|
154
|
+
config_type_match: z.ZodBoolean;
|
|
155
|
+
summaries_present: z.ZodBoolean;
|
|
156
|
+
inventory_present: z.ZodBoolean;
|
|
157
|
+
outputs_present: z.ZodBoolean;
|
|
158
|
+
home_present: z.ZodBoolean;
|
|
159
|
+
summary_frontmatter_valid: z.ZodBoolean;
|
|
160
|
+
abstracts_valid: z.ZodBoolean;
|
|
161
|
+
links_valid: z.ZodBoolean;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
export declare const InterfaceHealthSchema: z.ZodObject<{
|
|
165
|
+
kind: z.ZodLiteral<"interface-health">;
|
|
166
|
+
version: z.ZodLiteral<1>;
|
|
167
|
+
generated_at: z.ZodString;
|
|
168
|
+
interface_name: z.ZodString;
|
|
169
|
+
status: z.ZodEnum<{
|
|
170
|
+
compiled: "compiled";
|
|
171
|
+
idle: "idle";
|
|
172
|
+
running: "running";
|
|
173
|
+
stale: "stale";
|
|
174
|
+
failed: "failed";
|
|
175
|
+
}>;
|
|
176
|
+
stage: z.ZodEnum<{
|
|
177
|
+
compiled: "compiled";
|
|
178
|
+
idle: "idle";
|
|
179
|
+
failed: "failed";
|
|
180
|
+
compile: "compile";
|
|
181
|
+
create: "create";
|
|
182
|
+
retrieve: "retrieve";
|
|
183
|
+
analyze: "analyze";
|
|
184
|
+
}>;
|
|
185
|
+
summary: z.ZodString;
|
|
186
|
+
metrics: z.ZodObject<{
|
|
187
|
+
knowledge_base_total: z.ZodNumber;
|
|
188
|
+
knowledge_base_compiled: z.ZodNumber;
|
|
189
|
+
to_compile: z.ZodNumber;
|
|
190
|
+
frontmatter_scanned: z.ZodNumber;
|
|
191
|
+
candidate_count: z.ZodNumber;
|
|
192
|
+
abstracts_read: z.ZodNumber;
|
|
193
|
+
expansion_passes: z.ZodNumber;
|
|
194
|
+
relevant: z.ZodNumber;
|
|
195
|
+
rejected: z.ZodNumber;
|
|
196
|
+
delta: z.ZodNumber;
|
|
197
|
+
entities: z.ZodNumber;
|
|
198
|
+
claims: z.ZodNumber;
|
|
199
|
+
outputs: z.ZodNumber;
|
|
200
|
+
broken_links: z.ZodNumber;
|
|
201
|
+
warnings: z.ZodNumber;
|
|
202
|
+
errors: z.ZodNumber;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
checks: z.ZodObject<{
|
|
205
|
+
config_present: z.ZodBoolean;
|
|
206
|
+
config_valid: z.ZodBoolean;
|
|
207
|
+
config_type_match: z.ZodBoolean;
|
|
208
|
+
knowledge_base_path_valid: z.ZodBoolean;
|
|
209
|
+
coverage_proof: z.ZodBoolean;
|
|
210
|
+
coverage_complete: z.ZodBoolean;
|
|
211
|
+
retrieved_set: z.ZodBoolean;
|
|
212
|
+
analysis_pending: z.ZodBoolean;
|
|
213
|
+
outputs_present: z.ZodBoolean;
|
|
214
|
+
home_present: z.ZodBoolean;
|
|
215
|
+
links_valid: z.ZodBoolean;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
export declare const KnowledgeBaseViewSpecSchema: z.ZodObject<{
|
|
219
|
+
kind: z.ZodLiteral<"knowledge-base-view-spec">;
|
|
220
|
+
version: z.ZodLiteral<1>;
|
|
221
|
+
generated_at: z.ZodString;
|
|
222
|
+
target_name: z.ZodString;
|
|
223
|
+
health_source: z.ZodString;
|
|
224
|
+
state_source: z.ZodString;
|
|
225
|
+
default_note: z.ZodString;
|
|
226
|
+
graph_scope: z.ZodArray<z.ZodString>;
|
|
227
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
label: z.ZodString;
|
|
230
|
+
metric: z.ZodString;
|
|
231
|
+
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
232
|
+
format: z.ZodEnum<{
|
|
233
|
+
number: "number";
|
|
234
|
+
fraction: "fraction";
|
|
235
|
+
timestamp: "timestamp";
|
|
236
|
+
}>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
type: z.ZodEnum<{
|
|
241
|
+
status: "status";
|
|
242
|
+
cards: "cards";
|
|
243
|
+
graph: "graph";
|
|
244
|
+
documents: "documents";
|
|
245
|
+
table: "table";
|
|
246
|
+
}>;
|
|
247
|
+
title: z.ZodString;
|
|
248
|
+
path: z.ZodOptional<z.ZodString>;
|
|
249
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
export declare const InterfaceViewSpecSchema: z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"interface-view-spec">;
|
|
254
|
+
version: z.ZodLiteral<1>;
|
|
255
|
+
generated_at: z.ZodString;
|
|
256
|
+
interface_name: z.ZodString;
|
|
257
|
+
health_source: z.ZodString;
|
|
258
|
+
state_source: z.ZodString;
|
|
259
|
+
default_note: z.ZodString;
|
|
260
|
+
graph_scope: z.ZodArray<z.ZodString>;
|
|
261
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
262
|
+
id: z.ZodString;
|
|
263
|
+
label: z.ZodString;
|
|
264
|
+
metric: z.ZodString;
|
|
265
|
+
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
266
|
+
format: z.ZodEnum<{
|
|
267
|
+
number: "number";
|
|
268
|
+
fraction: "fraction";
|
|
269
|
+
timestamp: "timestamp";
|
|
270
|
+
}>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
272
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
type: z.ZodEnum<{
|
|
275
|
+
status: "status";
|
|
276
|
+
cards: "cards";
|
|
277
|
+
graph: "graph";
|
|
278
|
+
documents: "documents";
|
|
279
|
+
table: "table";
|
|
280
|
+
}>;
|
|
281
|
+
title: z.ZodString;
|
|
282
|
+
path: z.ZodOptional<z.ZodString>;
|
|
283
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
export declare const KnowledgeBaseSourceAccessSchema: z.ZodObject<{
|
|
287
|
+
kind: z.ZodLiteral<"knowledge-base-source-access">;
|
|
288
|
+
version: z.ZodLiteral<1>;
|
|
289
|
+
generated_at: z.ZodString;
|
|
290
|
+
target_name: z.ZodString;
|
|
291
|
+
source_root: z.ZodString;
|
|
292
|
+
source_total: z.ZodNumber;
|
|
293
|
+
sample_files: z.ZodArray<z.ZodString>;
|
|
294
|
+
suggested_checks: z.ZodArray<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
export declare const RuntimeExecutorInfoSchema: z.ZodObject<{
|
|
297
|
+
kind: z.ZodEnum<{
|
|
298
|
+
"local-agent": "local-agent";
|
|
299
|
+
"connected-provider": "connected-provider";
|
|
300
|
+
managed: "managed";
|
|
301
|
+
}>;
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
display_name: z.ZodString;
|
|
304
|
+
command: z.ZodNullable<z.ZodString>;
|
|
305
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
export declare const RuntimeStageInstructionsSchema: z.ZodObject<{
|
|
311
|
+
bundled_skill: z.ZodString;
|
|
312
|
+
effective_mode: z.ZodEnum<{
|
|
313
|
+
builtin: "builtin";
|
|
314
|
+
extend: "extend";
|
|
315
|
+
override: "override";
|
|
316
|
+
}>;
|
|
317
|
+
local_mode: z.ZodNullable<z.ZodEnum<{
|
|
318
|
+
extend: "extend";
|
|
319
|
+
override: "override";
|
|
320
|
+
}>>;
|
|
321
|
+
local_docs: z.ZodArray<z.ZodString>;
|
|
322
|
+
mode_sources: z.ZodArray<z.ZodString>;
|
|
323
|
+
}, z.core.$strip>;
|
|
324
|
+
export declare const RuntimeStageAcceptanceSchema: z.ZodObject<{
|
|
325
|
+
artifacts_exist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
326
|
+
state_truthy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
327
|
+
state_equals_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
328
|
+
state_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
329
|
+
state_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
export declare const RuntimeStageContractSchema: z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"interf-stage-contract">;
|
|
333
|
+
version: z.ZodLiteral<1>;
|
|
334
|
+
generated_at: z.ZodString;
|
|
335
|
+
run_id: z.ZodString;
|
|
336
|
+
target_type: z.ZodEnum<{
|
|
337
|
+
"knowledge-base": "knowledge-base";
|
|
338
|
+
interface: "interface";
|
|
339
|
+
}>;
|
|
340
|
+
target_name: z.ZodString;
|
|
341
|
+
workflow: z.ZodObject<{
|
|
342
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
343
|
+
stage_index: z.ZodNullable<z.ZodNumber>;
|
|
344
|
+
stage_total: z.ZodNumber;
|
|
345
|
+
stages: z.ZodArray<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
stage: z.ZodString;
|
|
348
|
+
stage_label: z.ZodString;
|
|
349
|
+
contract_type: z.ZodEnum<{
|
|
350
|
+
"kb-file-evidence": "kb-file-evidence";
|
|
351
|
+
"kb-knowledge-layer": "kb-knowledge-layer";
|
|
352
|
+
"interface-plan": "interface-plan";
|
|
353
|
+
"interface-retrieval": "interface-retrieval";
|
|
354
|
+
"interface-analysis": "interface-analysis";
|
|
355
|
+
"interface-output": "interface-output";
|
|
356
|
+
}>;
|
|
357
|
+
executor: z.ZodObject<{
|
|
358
|
+
kind: z.ZodEnum<{
|
|
359
|
+
"local-agent": "local-agent";
|
|
360
|
+
"connected-provider": "connected-provider";
|
|
361
|
+
managed: "managed";
|
|
362
|
+
}>;
|
|
363
|
+
name: z.ZodString;
|
|
364
|
+
display_name: z.ZodString;
|
|
365
|
+
command: z.ZodNullable<z.ZodString>;
|
|
366
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
367
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
instructions: z.ZodObject<{
|
|
372
|
+
bundled_skill: z.ZodString;
|
|
373
|
+
effective_mode: z.ZodEnum<{
|
|
374
|
+
builtin: "builtin";
|
|
375
|
+
extend: "extend";
|
|
376
|
+
override: "override";
|
|
377
|
+
}>;
|
|
378
|
+
local_mode: z.ZodNullable<z.ZodEnum<{
|
|
379
|
+
extend: "extend";
|
|
380
|
+
override: "override";
|
|
381
|
+
}>>;
|
|
382
|
+
local_docs: z.ZodArray<z.ZodString>;
|
|
383
|
+
mode_sources: z.ZodArray<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>;
|
|
385
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
386
|
+
acceptance: z.ZodOptional<z.ZodObject<{
|
|
387
|
+
artifacts_exist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
388
|
+
state_truthy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
|
+
state_equals_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
390
|
+
state_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
391
|
+
state_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
392
|
+
}, z.core.$strip>>;
|
|
393
|
+
artifacts: z.ZodObject<{
|
|
394
|
+
reads: z.ZodArray<z.ZodString>;
|
|
395
|
+
writes: z.ZodArray<z.ZodString>;
|
|
396
|
+
verifies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
policies: z.ZodObject<{
|
|
399
|
+
execution_mode: z.ZodLiteral<"deterministic">;
|
|
400
|
+
status_prefixes: z.ZodArray<z.ZodString>;
|
|
401
|
+
notes: z.ZodArray<z.ZodString>;
|
|
402
|
+
evidence_weighting: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
required_fields: z.ZodArray<z.ZodString>;
|
|
404
|
+
preserve_tiers: z.ZodBoolean;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
working_set: z.ZodOptional<z.ZodObject<{
|
|
407
|
+
target_context_fraction: z.ZodNumber;
|
|
408
|
+
strategy: z.ZodString;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
export declare const RuntimeRunSchema: z.ZodObject<{
|
|
413
|
+
kind: z.ZodLiteral<"interf-run">;
|
|
414
|
+
version: z.ZodLiteral<1>;
|
|
415
|
+
run_id: z.ZodString;
|
|
416
|
+
target_type: z.ZodEnum<{
|
|
417
|
+
"knowledge-base": "knowledge-base";
|
|
418
|
+
interface: "interface";
|
|
419
|
+
}>;
|
|
420
|
+
target_name: z.ZodString;
|
|
421
|
+
workflow: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
422
|
+
stage: z.ZodString;
|
|
423
|
+
stage_label: z.ZodString;
|
|
424
|
+
contract_type: z.ZodEnum<{
|
|
425
|
+
"kb-file-evidence": "kb-file-evidence";
|
|
426
|
+
"kb-knowledge-layer": "kb-knowledge-layer";
|
|
427
|
+
"interface-plan": "interface-plan";
|
|
428
|
+
"interface-retrieval": "interface-retrieval";
|
|
429
|
+
"interface-analysis": "interface-analysis";
|
|
430
|
+
"interface-output": "interface-output";
|
|
431
|
+
}>;
|
|
432
|
+
status: z.ZodEnum<{
|
|
433
|
+
running: "running";
|
|
434
|
+
failed: "failed";
|
|
435
|
+
succeeded: "succeeded";
|
|
436
|
+
}>;
|
|
437
|
+
executor: z.ZodObject<{
|
|
438
|
+
kind: z.ZodEnum<{
|
|
439
|
+
"local-agent": "local-agent";
|
|
440
|
+
"connected-provider": "connected-provider";
|
|
441
|
+
managed: "managed";
|
|
442
|
+
}>;
|
|
443
|
+
name: z.ZodString;
|
|
444
|
+
display_name: z.ZodString;
|
|
445
|
+
command: z.ZodNullable<z.ZodString>;
|
|
446
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
started_at: z.ZodString;
|
|
452
|
+
updated_at: z.ZodString;
|
|
453
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
454
|
+
contract_path: z.ZodString;
|
|
455
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
456
|
+
output_artifacts: z.ZodArray<z.ZodString>;
|
|
457
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
prompt_path: z.ZodString;
|
|
459
|
+
event_stream_path: z.ZodString;
|
|
460
|
+
status_path: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
summary: z.ZodString;
|
|
463
|
+
exit_code: z.ZodNullable<z.ZodNumber>;
|
|
464
|
+
error: z.ZodNullable<z.ZodString>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
export declare const KnowledgeBaseInventorySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
467
|
+
total: z.ZodNumber;
|
|
468
|
+
files: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
470
|
+
summary_total: z.ZodNumber;
|
|
471
|
+
summaries: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
entries: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
474
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
summary_total: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
}, z.core.$strip>]>;
|
|
477
|
+
export declare const InterfaceRelevantSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
478
|
+
generated_at: z.ZodString;
|
|
479
|
+
knowledge_base_summary_count: z.ZodNumber;
|
|
480
|
+
relevant_files: z.ZodArray<z.ZodString>;
|
|
481
|
+
delta_files: z.ZodArray<z.ZodString>;
|
|
482
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
483
|
+
query_timestamp: z.ZodString;
|
|
484
|
+
relevant: z.ZodArray<z.ZodObject<{
|
|
485
|
+
file: z.ZodString;
|
|
486
|
+
}, z.core.$loose>>;
|
|
487
|
+
rejected: z.ZodArray<z.ZodObject<{
|
|
488
|
+
file: z.ZodString;
|
|
489
|
+
}, z.core.$loose>>;
|
|
490
|
+
total_scanned: z.ZodNumber;
|
|
491
|
+
total_relevant: z.ZodNumber;
|
|
492
|
+
total_rejected: z.ZodNumber;
|
|
493
|
+
}, z.core.$loose>]>;
|
|
494
|
+
export declare const InterfaceCoverageSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
495
|
+
generated_at: z.ZodString;
|
|
496
|
+
knowledge_base_summary_count: z.ZodNumber;
|
|
497
|
+
frontmatter_scanned: z.ZodNumber;
|
|
498
|
+
expansion_passes: z.ZodNumber;
|
|
499
|
+
candidate_files: z.ZodArray<z.ZodString>;
|
|
500
|
+
abstract_reviewed_files: z.ZodArray<z.ZodString>;
|
|
501
|
+
selected_files: z.ZodArray<z.ZodString>;
|
|
502
|
+
rejected_files: z.ZodArray<z.ZodObject<{
|
|
503
|
+
path: z.ZodString;
|
|
504
|
+
}, z.core.$loose>>;
|
|
505
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
506
|
+
generated_at: z.ZodString;
|
|
507
|
+
knowledge_base_summary_total: z.ZodNumber;
|
|
508
|
+
frontmatter_scanned: z.ZodNumber;
|
|
509
|
+
candidates_after_frontmatter: z.ZodNumber;
|
|
510
|
+
abstracts_reviewed: z.ZodNumber;
|
|
511
|
+
relevant_selected: z.ZodNumber;
|
|
512
|
+
rejected: z.ZodNumber;
|
|
513
|
+
expansion_passes: z.ZodNumber;
|
|
514
|
+
coverage_complete: z.ZodBoolean;
|
|
515
|
+
proof: z.ZodObject<{
|
|
516
|
+
scanned: z.ZodArray<z.ZodString>;
|
|
517
|
+
reviewed: z.ZodArray<z.ZodString>;
|
|
518
|
+
retrieved: z.ZodArray<z.ZodString>;
|
|
519
|
+
excluded: z.ZodArray<z.ZodString>;
|
|
520
|
+
}, z.core.$strip>;
|
|
521
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
522
|
+
query_timestamp: z.ZodString;
|
|
523
|
+
coverage_complete: z.ZodBoolean;
|
|
524
|
+
entities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
525
|
+
comparators: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
526
|
+
gaps: z.ZodArray<z.ZodUnknown>;
|
|
527
|
+
}, z.core.$loose>]>;
|
|
528
|
+
export declare const BenchmarkCaseExpectSchema: z.ZodObject<{
|
|
529
|
+
must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
530
|
+
must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
531
|
+
min_words: z.ZodOptional<z.ZodNumber>;
|
|
532
|
+
max_words: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
}, z.core.$strip>;
|
|
534
|
+
export declare const BenchmarkCaseSchema: z.ZodObject<{
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
question: z.ZodString;
|
|
537
|
+
file: z.ZodString;
|
|
538
|
+
expect: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
540
|
+
must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
541
|
+
min_words: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
max_words: z.ZodOptional<z.ZodNumber>;
|
|
543
|
+
}, z.core.$strip>>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
export declare const BenchmarkSpecSchema: z.ZodObject<{
|
|
546
|
+
type: z.ZodEnum<{
|
|
547
|
+
"knowledge-base": "knowledge-base";
|
|
548
|
+
interface: "interface";
|
|
549
|
+
}>;
|
|
550
|
+
name: z.ZodString;
|
|
551
|
+
description: z.ZodOptional<z.ZodString>;
|
|
552
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
553
|
+
id: z.ZodString;
|
|
554
|
+
question: z.ZodString;
|
|
555
|
+
file: z.ZodString;
|
|
556
|
+
expect: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
|
+
must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
559
|
+
min_words: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
max_words: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
}, z.core.$strip>>;
|
|
562
|
+
}, z.core.$strip>>;
|
|
563
|
+
}, z.core.$strip>;
|
|
564
|
+
export declare const BenchmarkCheckResultSchema: z.ZodObject<{
|
|
565
|
+
label: z.ZodString;
|
|
566
|
+
ok: z.ZodBoolean;
|
|
567
|
+
detail: z.ZodString;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
export declare const BenchmarkCaseResultSchema: z.ZodObject<{
|
|
570
|
+
caseId: z.ZodString;
|
|
571
|
+
question: z.ZodString;
|
|
572
|
+
file: z.ZodString;
|
|
573
|
+
ok: z.ZodBoolean;
|
|
574
|
+
wordCount: z.ZodNumber;
|
|
575
|
+
passedChecks: z.ZodNumber;
|
|
576
|
+
totalChecks: z.ZodNumber;
|
|
577
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
578
|
+
label: z.ZodString;
|
|
579
|
+
ok: z.ZodBoolean;
|
|
580
|
+
detail: z.ZodString;
|
|
581
|
+
}, z.core.$strip>>;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
export declare const BenchmarkTargetResultSchema: z.ZodObject<{
|
|
584
|
+
target: z.ZodObject<{
|
|
585
|
+
type: z.ZodEnum<{
|
|
586
|
+
"knowledge-base": "knowledge-base";
|
|
587
|
+
interface: "interface";
|
|
588
|
+
}>;
|
|
589
|
+
name: z.ZodString;
|
|
590
|
+
path: z.ZodString;
|
|
591
|
+
workflow: z.ZodString;
|
|
592
|
+
knowledgeBaseName: z.ZodOptional<z.ZodString>;
|
|
593
|
+
}, z.core.$strip>;
|
|
594
|
+
ok: z.ZodBoolean;
|
|
595
|
+
passedCases: z.ZodNumber;
|
|
596
|
+
totalCases: z.ZodNumber;
|
|
597
|
+
passedChecks: z.ZodNumber;
|
|
598
|
+
totalChecks: z.ZodNumber;
|
|
599
|
+
caseResults: z.ZodArray<z.ZodObject<{
|
|
600
|
+
caseId: z.ZodString;
|
|
601
|
+
question: z.ZodString;
|
|
602
|
+
file: z.ZodString;
|
|
603
|
+
ok: z.ZodBoolean;
|
|
604
|
+
wordCount: z.ZodNumber;
|
|
605
|
+
passedChecks: z.ZodNumber;
|
|
606
|
+
totalChecks: z.ZodNumber;
|
|
607
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
608
|
+
label: z.ZodString;
|
|
609
|
+
ok: z.ZodBoolean;
|
|
610
|
+
detail: z.ZodString;
|
|
611
|
+
}, z.core.$strip>>;
|
|
612
|
+
}, z.core.$strip>>;
|
|
613
|
+
}, z.core.$strip>;
|
|
614
|
+
export declare const BenchmarkRunResultSchema: z.ZodObject<{
|
|
615
|
+
kind: z.ZodLiteral<"interf-benchmark-run">;
|
|
616
|
+
version: z.ZodLiteral<1>;
|
|
617
|
+
generated_at: z.ZodString;
|
|
618
|
+
benchmark: z.ZodObject<{
|
|
619
|
+
id: z.ZodString;
|
|
620
|
+
name: z.ZodString;
|
|
621
|
+
type: z.ZodEnum<{
|
|
622
|
+
"knowledge-base": "knowledge-base";
|
|
623
|
+
interface: "interface";
|
|
624
|
+
}>;
|
|
625
|
+
file: z.ZodString;
|
|
626
|
+
}, z.core.$strip>;
|
|
627
|
+
source_path: z.ZodString;
|
|
628
|
+
target_count: z.ZodNumber;
|
|
629
|
+
results: z.ZodArray<z.ZodObject<{
|
|
630
|
+
target: z.ZodObject<{
|
|
631
|
+
type: z.ZodEnum<{
|
|
632
|
+
"knowledge-base": "knowledge-base";
|
|
633
|
+
interface: "interface";
|
|
634
|
+
}>;
|
|
635
|
+
name: z.ZodString;
|
|
636
|
+
path: z.ZodString;
|
|
637
|
+
workflow: z.ZodString;
|
|
638
|
+
knowledgeBaseName: z.ZodOptional<z.ZodString>;
|
|
639
|
+
}, z.core.$strip>;
|
|
640
|
+
ok: z.ZodBoolean;
|
|
641
|
+
passedCases: z.ZodNumber;
|
|
642
|
+
totalCases: z.ZodNumber;
|
|
643
|
+
passedChecks: z.ZodNumber;
|
|
644
|
+
totalChecks: z.ZodNumber;
|
|
645
|
+
caseResults: z.ZodArray<z.ZodObject<{
|
|
646
|
+
caseId: z.ZodString;
|
|
647
|
+
question: z.ZodString;
|
|
648
|
+
file: z.ZodString;
|
|
649
|
+
ok: z.ZodBoolean;
|
|
650
|
+
wordCount: z.ZodNumber;
|
|
651
|
+
passedChecks: z.ZodNumber;
|
|
652
|
+
totalChecks: z.ZodNumber;
|
|
653
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
654
|
+
label: z.ZodString;
|
|
655
|
+
ok: z.ZodBoolean;
|
|
656
|
+
detail: z.ZodString;
|
|
657
|
+
}, z.core.$strip>>;
|
|
658
|
+
}, z.core.$strip>>;
|
|
659
|
+
}, z.core.$strip>>;
|
|
660
|
+
}, z.core.$strip>;
|
|
661
|
+
export declare const InterfUserConfigSchema: z.ZodObject<{
|
|
662
|
+
agent: z.ZodString;
|
|
663
|
+
agentCommand: z.ZodString;
|
|
664
|
+
skillsInstalled: z.ZodBoolean;
|
|
665
|
+
viewer: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
plain: "plain";
|
|
667
|
+
obsidian: "obsidian";
|
|
668
|
+
}>>;
|
|
669
|
+
initialized: z.ZodString;
|
|
670
|
+
}, z.core.$strip>;
|
|
671
|
+
export type KnowledgeBaseState = z.infer<typeof KnowledgeBaseStateSchema>;
|
|
672
|
+
export type InterfConfig = z.infer<typeof InterfConfigSchema>;
|
|
673
|
+
export type InterfaceState = z.infer<typeof InterfaceStateSchema>;
|
|
674
|
+
export type ViewSection = z.infer<typeof ViewSectionSchema>;
|
|
675
|
+
export type ViewCard = z.infer<typeof ViewCardSchema>;
|
|
676
|
+
export type KnowledgeBaseHealth = z.infer<typeof KnowledgeBaseHealthSchema>;
|
|
677
|
+
export type InterfaceHealth = z.infer<typeof InterfaceHealthSchema>;
|
|
678
|
+
export type KnowledgeBaseViewSpec = z.infer<typeof KnowledgeBaseViewSpecSchema>;
|
|
679
|
+
export type InterfaceViewSpec = z.infer<typeof InterfaceViewSpecSchema>;
|
|
680
|
+
export type KnowledgeBaseSourceAccess = z.infer<typeof KnowledgeBaseSourceAccessSchema>;
|
|
681
|
+
export type RuntimeExecutorInfo = z.infer<typeof RuntimeExecutorInfoSchema>;
|
|
682
|
+
export type RuntimeTargetType = z.infer<typeof RuntimeTargetTypeSchema>;
|
|
683
|
+
export type RuntimeStage = z.infer<typeof RuntimeStageSchema>;
|
|
684
|
+
export type RuntimeContractType = z.infer<typeof RuntimeContractTypeSchema>;
|
|
685
|
+
export type KnowledgeBaseWorkflowId = z.infer<typeof KnowledgeBaseWorkflowIdSchema>;
|
|
686
|
+
export type InterfaceWorkflowId = z.infer<typeof InterfaceWorkflowIdSchema>;
|
|
687
|
+
export type WorkflowId = z.infer<typeof WorkflowIdSchema>;
|
|
688
|
+
export type LocalInstructionMode = "extend" | "override";
|
|
689
|
+
export type RuntimeInstructionMode = "builtin" | LocalInstructionMode;
|
|
690
|
+
export type RuntimeStageInstructions = z.infer<typeof RuntimeStageInstructionsSchema>;
|
|
691
|
+
export type RuntimeStageAcceptance = z.infer<typeof RuntimeStageAcceptanceSchema>;
|
|
692
|
+
export type RuntimeStageContract = z.infer<typeof RuntimeStageContractSchema>;
|
|
693
|
+
export type RuntimeRun = z.infer<typeof RuntimeRunSchema>;
|
|
694
|
+
export type KnowledgeBaseInventory = z.infer<typeof KnowledgeBaseInventorySchema>;
|
|
695
|
+
export type InterfaceRelevant = z.infer<typeof InterfaceRelevantSchema>;
|
|
696
|
+
export type InterfaceCoverage = z.infer<typeof InterfaceCoverageSchema>;
|
|
697
|
+
export type BenchmarkCaseExpect = z.infer<typeof BenchmarkCaseExpectSchema>;
|
|
698
|
+
export type BenchmarkCase = z.infer<typeof BenchmarkCaseSchema>;
|
|
699
|
+
export type BenchmarkSpec = z.infer<typeof BenchmarkSpecSchema>;
|
|
700
|
+
export type BenchmarkCheckResult = z.infer<typeof BenchmarkCheckResultSchema>;
|
|
701
|
+
export type BenchmarkCaseResult = z.infer<typeof BenchmarkCaseResultSchema>;
|
|
702
|
+
export type BenchmarkTargetResult = z.infer<typeof BenchmarkTargetResultSchema>;
|
|
703
|
+
export type BenchmarkRunResult = z.infer<typeof BenchmarkRunResultSchema>;
|
|
704
|
+
export type InterfUserConfig = z.infer<typeof InterfUserConfigSchema>;
|
|
705
|
+
//# sourceMappingURL=schema.d.ts.map
|