semantic-atlas 0.1.3 → 0.2.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/.agents/skills/semantic-atlas/SKILL.md +59 -43
- package/.agents/skills/semantic-atlas/references/graph-patch.md +22 -5
- package/.agents/skills/semantic-atlas/references/result-routing.md +32 -19
- package/.agents/skills/semantic-atlas/references/snapshot-bootstrap.md +17 -32
- package/README.md +34 -20
- package/README.zh-CN.md +30 -20
- package/dist/cli/argument-parser.js +41 -23
- package/dist/cli/bin.js +12 -15
- package/dist/cli/cli-application.d.ts +2 -2
- package/dist/cli/cli-application.d.ts.map +1 -1
- package/dist/cli/cli-application.js +40 -36
- package/dist/cli/standalone-cli.d.ts +3 -0
- package/dist/cli/standalone-cli.d.ts.map +1 -0
- package/dist/cli/standalone-cli.js +65 -0
- package/dist/cli/types.d.ts +7 -6
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/contracts/cli.d.ts +370 -1360
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/cli.js +58 -65
- package/dist/contracts/graph.d.ts +4 -0
- package/dist/contracts/graph.d.ts.map +1 -1
- package/dist/contracts/graph.js +2 -2
- package/dist/evaluation/contracts.d.ts +11 -2
- package/dist/evaluation/contracts.d.ts.map +1 -1
- package/dist/evaluation/contracts.js +7 -2
- package/dist/graph/graph-store.d.ts +3 -1
- package/dist/graph/graph-store.d.ts.map +1 -1
- package/dist/graph/graph-store.js +48 -2
- package/dist/graph/types.d.ts +30 -9
- package/dist/graph/types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/package-metadata.d.ts +2 -0
- package/dist/package-metadata.d.ts.map +1 -0
- package/dist/package-metadata.js +9 -0
- package/dist/runtime/sqlite-compatibility-process.d.ts +8 -0
- package/dist/runtime/sqlite-compatibility-process.d.ts.map +1 -0
- package/dist/runtime/sqlite-compatibility-process.js +20 -0
- package/dist/setup/skill-installer.d.ts +19 -0
- package/dist/setup/skill-installer.d.ts.map +1 -0
- package/dist/setup/skill-installer.js +156 -0
- package/dist/world/business-map-projector.d.ts +14 -0
- package/dist/world/business-map-projector.d.ts.map +1 -0
- package/dist/world/business-map-projector.js +178 -0
- package/dist/world/world-graph-query.d.ts +8 -13
- package/dist/world/world-graph-query.d.ts.map +1 -1
- package/dist/world/world-graph-query.js +26 -229
- package/docs/README.md +30 -0
- package/docs/architecture/codegraph-backend.md +2 -2
- package/docs/architecture/continuous-business-learning.md +240 -0
- package/docs/contracts/cli-v1.md +40 -17
- package/docs/contracts/graph-model.md +11 -7
- package/docs/contracts/graph-patch-v1.md +8 -1
- package/docs/evaluation.md +20 -15
- package/docs/index.md +41 -0
- package/docs/log.md +56 -0
- package/docs/product-contract.md +10 -5
- package/package.json +1 -1
- package/schemas/cli-envelope-v1.schema.json +365 -564
- package/schemas/evaluation-run-v1.schema.json +4 -1
package/dist/contracts/cli.d.ts
CHANGED
|
@@ -118,46 +118,6 @@ export declare const mapNodeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
118
118
|
}, z.core.$strict>;
|
|
119
119
|
contentHash: z.ZodString;
|
|
120
120
|
}, z.core.$strict>>;
|
|
121
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
122
|
-
domain: z.ZodLiteral<"structural">;
|
|
123
|
-
id: z.ZodString;
|
|
124
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
125
|
-
label: z.ZodString;
|
|
126
|
-
validity: z.ZodLiteral<"unknown">;
|
|
127
|
-
owner: z.ZodObject<{
|
|
128
|
-
domain: z.ZodLiteral<"structural">;
|
|
129
|
-
id: z.ZodString;
|
|
130
|
-
}, z.core.$strict>;
|
|
131
|
-
operation: z.ZodString;
|
|
132
|
-
reason: z.ZodString;
|
|
133
|
-
location: z.ZodObject<{
|
|
134
|
-
file: z.ZodString;
|
|
135
|
-
range: z.ZodObject<{
|
|
136
|
-
start: z.ZodObject<{
|
|
137
|
-
line: z.ZodNumber;
|
|
138
|
-
column: z.ZodNumber;
|
|
139
|
-
}, z.core.$strict>;
|
|
140
|
-
end: z.ZodObject<{
|
|
141
|
-
line: z.ZodNumber;
|
|
142
|
-
column: z.ZodNumber;
|
|
143
|
-
}, z.core.$strict>;
|
|
144
|
-
}, z.core.$strict>;
|
|
145
|
-
}, z.core.$loose>;
|
|
146
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
147
|
-
support: z.ZodObject<{
|
|
148
|
-
status: z.ZodEnum<{
|
|
149
|
-
exact: "exact";
|
|
150
|
-
inferred: "inferred";
|
|
151
|
-
unresolved: "unresolved";
|
|
152
|
-
unsupported: "unsupported";
|
|
153
|
-
}>;
|
|
154
|
-
provenance: z.ZodEnum<{
|
|
155
|
-
"tree-sitter": "tree-sitter";
|
|
156
|
-
scip: "scip";
|
|
157
|
-
heuristic: "heuristic";
|
|
158
|
-
backend: "backend";
|
|
159
|
-
}>;
|
|
160
|
-
}, z.core.$strict>;
|
|
161
121
|
}, z.core.$loose>]>;
|
|
162
122
|
export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
163
123
|
command: z.ZodLiteral<"status">;
|
|
@@ -198,46 +158,18 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
198
158
|
total: z.ZodNumber;
|
|
199
159
|
}, z.core.$loose>;
|
|
200
160
|
}, z.core.$loose>, z.ZodObject<{
|
|
201
|
-
command: z.ZodLiteral<"map.
|
|
202
|
-
|
|
203
|
-
domain: z.ZodLiteral<"structural">;
|
|
204
|
-
id: z.ZodString;
|
|
205
|
-
label: z.ZodString;
|
|
206
|
-
validity: z.ZodEnum<{
|
|
207
|
-
valid: "valid";
|
|
208
|
-
stale: "stale";
|
|
209
|
-
}>;
|
|
210
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
211
|
-
file: z.ZodString;
|
|
212
|
-
range: z.ZodObject<{
|
|
213
|
-
start: z.ZodObject<{
|
|
214
|
-
line: z.ZodNumber;
|
|
215
|
-
column: z.ZodNumber;
|
|
216
|
-
}, z.core.$strict>;
|
|
217
|
-
end: z.ZodObject<{
|
|
218
|
-
line: z.ZodNumber;
|
|
219
|
-
column: z.ZodNumber;
|
|
220
|
-
}, z.core.$strict>;
|
|
221
|
-
}, z.core.$strict>;
|
|
222
|
-
}, z.core.$loose>>;
|
|
223
|
-
support: z.ZodObject<{
|
|
224
|
-
status: z.ZodEnum<{
|
|
225
|
-
exact: "exact";
|
|
226
|
-
inferred: "inferred";
|
|
227
|
-
unresolved: "unresolved";
|
|
228
|
-
unsupported: "unsupported";
|
|
229
|
-
}>;
|
|
230
|
-
provenance: z.ZodEnum<{
|
|
231
|
-
"tree-sitter": "tree-sitter";
|
|
232
|
-
scip: "scip";
|
|
233
|
-
heuristic: "heuristic";
|
|
234
|
-
backend: "backend";
|
|
235
|
-
}>;
|
|
236
|
-
}, z.core.$strict>;
|
|
237
|
-
kind: z.ZodLiteral<"Module">;
|
|
238
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
161
|
+
command: z.ZodLiteral<"map.view">;
|
|
162
|
+
focus: z.ZodNullable<z.ZodObject<{
|
|
239
163
|
domain: z.ZodLiteral<"business">;
|
|
240
164
|
key: z.ZodString;
|
|
165
|
+
kind: z.ZodEnum<{
|
|
166
|
+
Capability: "Capability";
|
|
167
|
+
Scenario: "Scenario";
|
|
168
|
+
Operation: "Operation";
|
|
169
|
+
Invariant: "Invariant";
|
|
170
|
+
Interface: "Interface";
|
|
171
|
+
Data: "Data";
|
|
172
|
+
}>;
|
|
241
173
|
label: z.ZodString;
|
|
242
174
|
summary: z.ZodString;
|
|
243
175
|
aliases: z.ZodArray<z.ZodString>;
|
|
@@ -265,54 +197,8 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
265
197
|
}, z.core.$strict>;
|
|
266
198
|
contentHash: z.ZodString;
|
|
267
199
|
}, z.core.$strict>>;
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
271
|
-
command: z.ZodLiteral<"map.children">;
|
|
272
|
-
nodeId: z.ZodString;
|
|
273
|
-
children: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
274
|
-
domain: z.ZodLiteral<"structural">;
|
|
275
|
-
id: z.ZodString;
|
|
276
|
-
kind: z.ZodEnum<{
|
|
277
|
-
Repository: "Repository";
|
|
278
|
-
Module: "Module";
|
|
279
|
-
File: "File";
|
|
280
|
-
Symbol: "Symbol";
|
|
281
|
-
Test: "Test";
|
|
282
|
-
}>;
|
|
283
|
-
label: z.ZodString;
|
|
284
|
-
validity: z.ZodEnum<{
|
|
285
|
-
valid: "valid";
|
|
286
|
-
stale: "stale";
|
|
287
|
-
}>;
|
|
288
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
289
|
-
file: z.ZodString;
|
|
290
|
-
range: z.ZodObject<{
|
|
291
|
-
start: z.ZodObject<{
|
|
292
|
-
line: z.ZodNumber;
|
|
293
|
-
column: z.ZodNumber;
|
|
294
|
-
}, z.core.$strict>;
|
|
295
|
-
end: z.ZodObject<{
|
|
296
|
-
line: z.ZodNumber;
|
|
297
|
-
column: z.ZodNumber;
|
|
298
|
-
}, z.core.$strict>;
|
|
299
|
-
}, z.core.$strict>;
|
|
300
|
-
}, z.core.$loose>>;
|
|
301
|
-
support: z.ZodObject<{
|
|
302
|
-
status: z.ZodEnum<{
|
|
303
|
-
exact: "exact";
|
|
304
|
-
inferred: "inferred";
|
|
305
|
-
unresolved: "unresolved";
|
|
306
|
-
unsupported: "unsupported";
|
|
307
|
-
}>;
|
|
308
|
-
provenance: z.ZodEnum<{
|
|
309
|
-
"tree-sitter": "tree-sitter";
|
|
310
|
-
scip: "scip";
|
|
311
|
-
heuristic: "heuristic";
|
|
312
|
-
backend: "backend";
|
|
313
|
-
}>;
|
|
314
|
-
}, z.core.$strict>;
|
|
315
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
200
|
+
}, z.core.$loose>>;
|
|
201
|
+
breadcrumbs: z.ZodArray<z.ZodObject<{
|
|
316
202
|
domain: z.ZodLiteral<"business">;
|
|
317
203
|
key: z.ZodString;
|
|
318
204
|
kind: z.ZodEnum<{
|
|
@@ -350,69 +236,33 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
350
236
|
}, z.core.$strict>;
|
|
351
237
|
contentHash: z.ZodString;
|
|
352
238
|
}, z.core.$strict>>;
|
|
353
|
-
}, z.core.$loose
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
validity: z.ZodLiteral<"unknown">;
|
|
359
|
-
owner: z.ZodObject<{
|
|
360
|
-
domain: z.ZodLiteral<"structural">;
|
|
361
|
-
id: z.ZodString;
|
|
362
|
-
}, z.core.$strict>;
|
|
363
|
-
operation: z.ZodString;
|
|
364
|
-
reason: z.ZodString;
|
|
365
|
-
location: z.ZodObject<{
|
|
366
|
-
file: z.ZodString;
|
|
367
|
-
range: z.ZodObject<{
|
|
368
|
-
start: z.ZodObject<{
|
|
369
|
-
line: z.ZodNumber;
|
|
370
|
-
column: z.ZodNumber;
|
|
371
|
-
}, z.core.$strict>;
|
|
372
|
-
end: z.ZodObject<{
|
|
373
|
-
line: z.ZodNumber;
|
|
374
|
-
column: z.ZodNumber;
|
|
375
|
-
}, z.core.$strict>;
|
|
376
|
-
}, z.core.$strict>;
|
|
377
|
-
}, z.core.$loose>;
|
|
378
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
379
|
-
support: z.ZodObject<{
|
|
380
|
-
status: z.ZodEnum<{
|
|
381
|
-
exact: "exact";
|
|
382
|
-
inferred: "inferred";
|
|
383
|
-
unresolved: "unresolved";
|
|
384
|
-
unsupported: "unsupported";
|
|
385
|
-
}>;
|
|
386
|
-
provenance: z.ZodEnum<{
|
|
387
|
-
"tree-sitter": "tree-sitter";
|
|
388
|
-
scip: "scip";
|
|
389
|
-
heuristic: "heuristic";
|
|
390
|
-
backend: "backend";
|
|
391
|
-
}>;
|
|
392
|
-
}, z.core.$strict>;
|
|
393
|
-
}, z.core.$loose>]>>;
|
|
394
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
395
|
-
command: z.ZodLiteral<"map.search">;
|
|
396
|
-
query: z.ZodString;
|
|
397
|
-
limit: z.ZodNumber;
|
|
398
|
-
results: z.ZodArray<z.ZodObject<{
|
|
399
|
-
score: z.ZodNumber;
|
|
400
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
401
|
-
domain: z.ZodLiteral<"structural">;
|
|
402
|
-
id: z.ZodString;
|
|
239
|
+
}, z.core.$loose>>;
|
|
240
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
241
|
+
node: z.ZodObject<{
|
|
242
|
+
domain: z.ZodLiteral<"business">;
|
|
243
|
+
key: z.ZodString;
|
|
403
244
|
kind: z.ZodEnum<{
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
245
|
+
Capability: "Capability";
|
|
246
|
+
Scenario: "Scenario";
|
|
247
|
+
Operation: "Operation";
|
|
248
|
+
Invariant: "Invariant";
|
|
249
|
+
Interface: "Interface";
|
|
250
|
+
Data: "Data";
|
|
409
251
|
}>;
|
|
410
252
|
label: z.ZodString;
|
|
253
|
+
summary: z.ZodString;
|
|
254
|
+
aliases: z.ZodArray<z.ZodString>;
|
|
255
|
+
certainty: z.ZodEnum<{
|
|
256
|
+
exact: "exact";
|
|
257
|
+
inferred: "inferred";
|
|
258
|
+
hypothesis: "hypothesis";
|
|
259
|
+
}>;
|
|
411
260
|
validity: z.ZodEnum<{
|
|
412
261
|
valid: "valid";
|
|
413
262
|
stale: "stale";
|
|
414
263
|
}>;
|
|
415
|
-
|
|
264
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
265
|
+
symbolId: z.ZodString;
|
|
416
266
|
file: z.ZodString;
|
|
417
267
|
range: z.ZodObject<{
|
|
418
268
|
start: z.ZodObject<{
|
|
@@ -424,22 +274,55 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
424
274
|
column: z.ZodNumber;
|
|
425
275
|
}, z.core.$strict>;
|
|
426
276
|
}, z.core.$strict>;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
}, z.core.$
|
|
277
|
+
contentHash: z.ZodString;
|
|
278
|
+
}, z.core.$strict>>;
|
|
279
|
+
}, z.core.$loose>;
|
|
280
|
+
role: z.ZodEnum<{
|
|
281
|
+
root: "root";
|
|
282
|
+
child: "child";
|
|
283
|
+
context: "context";
|
|
284
|
+
}>;
|
|
285
|
+
childCount: z.ZodNumber;
|
|
286
|
+
expandable: z.ZodBoolean;
|
|
287
|
+
}, z.core.$loose>>;
|
|
288
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
289
|
+
from: z.ZodObject<{
|
|
290
|
+
domain: z.ZodLiteral<"business">;
|
|
291
|
+
key: z.ZodString;
|
|
292
|
+
}, z.core.$strict>;
|
|
293
|
+
to: z.ZodObject<{
|
|
294
|
+
domain: z.ZodLiteral<"business">;
|
|
295
|
+
key: z.ZodString;
|
|
296
|
+
}, z.core.$strict>;
|
|
297
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
298
|
+
type: z.ZodEnum<{
|
|
299
|
+
invokes: "invokes";
|
|
300
|
+
reads: "reads";
|
|
301
|
+
writes: "writes";
|
|
302
|
+
publishes: "publishes";
|
|
303
|
+
consumes: "consumes";
|
|
304
|
+
constrained_by: "constrained_by";
|
|
305
|
+
}>;
|
|
306
|
+
directCount: z.ZodNumber;
|
|
307
|
+
aggregatedCount: z.ZodNumber;
|
|
308
|
+
certainty: z.ZodObject<{
|
|
309
|
+
exact: z.ZodNumber;
|
|
310
|
+
inferred: z.ZodNumber;
|
|
311
|
+
hypothesis: z.ZodNumber;
|
|
312
|
+
}, z.core.$loose>;
|
|
313
|
+
validity: z.ZodObject<{
|
|
314
|
+
valid: z.ZodNumber;
|
|
315
|
+
stale: z.ZodNumber;
|
|
316
|
+
}, z.core.$loose>;
|
|
317
|
+
}, z.core.$loose>>;
|
|
318
|
+
}, z.core.$loose>>;
|
|
319
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
320
|
+
command: z.ZodLiteral<"map.search">;
|
|
321
|
+
query: z.ZodString;
|
|
322
|
+
limit: z.ZodNumber;
|
|
323
|
+
results: z.ZodArray<z.ZodObject<{
|
|
324
|
+
score: z.ZodNumber;
|
|
325
|
+
node: z.ZodObject<{
|
|
443
326
|
domain: z.ZodLiteral<"business">;
|
|
444
327
|
key: z.ZodString;
|
|
445
328
|
kind: z.ZodEnum<{
|
|
@@ -477,93 +360,11 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
477
360
|
}, z.core.$strict>;
|
|
478
361
|
contentHash: z.ZodString;
|
|
479
362
|
}, z.core.$strict>>;
|
|
480
|
-
}, z.core.$loose
|
|
481
|
-
domain: z.ZodLiteral<"structural">;
|
|
482
|
-
id: z.ZodString;
|
|
483
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
484
|
-
label: z.ZodString;
|
|
485
|
-
validity: z.ZodLiteral<"unknown">;
|
|
486
|
-
owner: z.ZodObject<{
|
|
487
|
-
domain: z.ZodLiteral<"structural">;
|
|
488
|
-
id: z.ZodString;
|
|
489
|
-
}, z.core.$strict>;
|
|
490
|
-
operation: z.ZodString;
|
|
491
|
-
reason: z.ZodString;
|
|
492
|
-
location: z.ZodObject<{
|
|
493
|
-
file: z.ZodString;
|
|
494
|
-
range: z.ZodObject<{
|
|
495
|
-
start: z.ZodObject<{
|
|
496
|
-
line: z.ZodNumber;
|
|
497
|
-
column: z.ZodNumber;
|
|
498
|
-
}, z.core.$strict>;
|
|
499
|
-
end: z.ZodObject<{
|
|
500
|
-
line: z.ZodNumber;
|
|
501
|
-
column: z.ZodNumber;
|
|
502
|
-
}, z.core.$strict>;
|
|
503
|
-
}, z.core.$strict>;
|
|
504
|
-
}, z.core.$loose>;
|
|
505
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
506
|
-
support: z.ZodObject<{
|
|
507
|
-
status: z.ZodEnum<{
|
|
508
|
-
exact: "exact";
|
|
509
|
-
inferred: "inferred";
|
|
510
|
-
unresolved: "unresolved";
|
|
511
|
-
unsupported: "unsupported";
|
|
512
|
-
}>;
|
|
513
|
-
provenance: z.ZodEnum<{
|
|
514
|
-
"tree-sitter": "tree-sitter";
|
|
515
|
-
scip: "scip";
|
|
516
|
-
heuristic: "heuristic";
|
|
517
|
-
backend: "backend";
|
|
518
|
-
}>;
|
|
519
|
-
}, z.core.$strict>;
|
|
520
|
-
}, z.core.$loose>]>;
|
|
363
|
+
}, z.core.$loose>;
|
|
521
364
|
}, z.core.$loose>>;
|
|
522
365
|
}, z.core.$loose>, z.ZodObject<{
|
|
523
366
|
command: z.ZodLiteral<"map.show">;
|
|
524
|
-
node: z.
|
|
525
|
-
domain: z.ZodLiteral<"structural">;
|
|
526
|
-
id: z.ZodString;
|
|
527
|
-
kind: z.ZodEnum<{
|
|
528
|
-
Repository: "Repository";
|
|
529
|
-
Module: "Module";
|
|
530
|
-
File: "File";
|
|
531
|
-
Symbol: "Symbol";
|
|
532
|
-
Test: "Test";
|
|
533
|
-
}>;
|
|
534
|
-
label: z.ZodString;
|
|
535
|
-
validity: z.ZodEnum<{
|
|
536
|
-
valid: "valid";
|
|
537
|
-
stale: "stale";
|
|
538
|
-
}>;
|
|
539
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
540
|
-
file: z.ZodString;
|
|
541
|
-
range: z.ZodObject<{
|
|
542
|
-
start: z.ZodObject<{
|
|
543
|
-
line: z.ZodNumber;
|
|
544
|
-
column: z.ZodNumber;
|
|
545
|
-
}, z.core.$strict>;
|
|
546
|
-
end: z.ZodObject<{
|
|
547
|
-
line: z.ZodNumber;
|
|
548
|
-
column: z.ZodNumber;
|
|
549
|
-
}, z.core.$strict>;
|
|
550
|
-
}, z.core.$strict>;
|
|
551
|
-
}, z.core.$loose>>;
|
|
552
|
-
support: z.ZodObject<{
|
|
553
|
-
status: z.ZodEnum<{
|
|
554
|
-
exact: "exact";
|
|
555
|
-
inferred: "inferred";
|
|
556
|
-
unresolved: "unresolved";
|
|
557
|
-
unsupported: "unsupported";
|
|
558
|
-
}>;
|
|
559
|
-
provenance: z.ZodEnum<{
|
|
560
|
-
"tree-sitter": "tree-sitter";
|
|
561
|
-
scip: "scip";
|
|
562
|
-
heuristic: "heuristic";
|
|
563
|
-
backend: "backend";
|
|
564
|
-
}>;
|
|
565
|
-
}, z.core.$strict>;
|
|
566
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
367
|
+
node: z.ZodObject<{
|
|
567
368
|
domain: z.ZodLiteral<"business">;
|
|
568
369
|
key: z.ZodString;
|
|
569
370
|
kind: z.ZodEnum<{
|
|
@@ -601,108 +402,24 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
601
402
|
}, z.core.$strict>;
|
|
602
403
|
contentHash: z.ZodString;
|
|
603
404
|
}, z.core.$strict>>;
|
|
604
|
-
}, z.core.$loose
|
|
605
|
-
|
|
606
|
-
id: z.ZodString;
|
|
607
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
608
|
-
label: z.ZodString;
|
|
609
|
-
validity: z.ZodLiteral<"unknown">;
|
|
610
|
-
owner: z.ZodObject<{
|
|
611
|
-
domain: z.ZodLiteral<"structural">;
|
|
612
|
-
id: z.ZodString;
|
|
613
|
-
}, z.core.$strict>;
|
|
614
|
-
operation: z.ZodString;
|
|
615
|
-
reason: z.ZodString;
|
|
616
|
-
location: z.ZodObject<{
|
|
617
|
-
file: z.ZodString;
|
|
618
|
-
range: z.ZodObject<{
|
|
619
|
-
start: z.ZodObject<{
|
|
620
|
-
line: z.ZodNumber;
|
|
621
|
-
column: z.ZodNumber;
|
|
622
|
-
}, z.core.$strict>;
|
|
623
|
-
end: z.ZodObject<{
|
|
624
|
-
line: z.ZodNumber;
|
|
625
|
-
column: z.ZodNumber;
|
|
626
|
-
}, z.core.$strict>;
|
|
627
|
-
}, z.core.$strict>;
|
|
628
|
-
}, z.core.$loose>;
|
|
629
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
630
|
-
support: z.ZodObject<{
|
|
631
|
-
status: z.ZodEnum<{
|
|
632
|
-
exact: "exact";
|
|
633
|
-
inferred: "inferred";
|
|
634
|
-
unresolved: "unresolved";
|
|
635
|
-
unsupported: "unsupported";
|
|
636
|
-
}>;
|
|
637
|
-
provenance: z.ZodEnum<{
|
|
638
|
-
"tree-sitter": "tree-sitter";
|
|
639
|
-
scip: "scip";
|
|
640
|
-
heuristic: "heuristic";
|
|
641
|
-
backend: "backend";
|
|
642
|
-
}>;
|
|
643
|
-
}, z.core.$strict>;
|
|
644
|
-
}, z.core.$loose>]>;
|
|
645
|
-
depth: z.ZodNumber;
|
|
646
|
-
neighbors: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
405
|
+
}, z.core.$loose>;
|
|
406
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
647
407
|
type: z.ZodEnum<{
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
decorated_by: "decorated_by";
|
|
408
|
+
part_of: "part_of";
|
|
409
|
+
invokes: "invokes";
|
|
410
|
+
realized_by: "realized_by";
|
|
411
|
+
reads: "reads";
|
|
412
|
+
writes: "writes";
|
|
413
|
+
publishes: "publishes";
|
|
414
|
+
consumes: "consumes";
|
|
415
|
+
constrained_by: "constrained_by";
|
|
416
|
+
verified_by: "verified_by";
|
|
658
417
|
}>;
|
|
659
418
|
direction: z.ZodEnum<{
|
|
660
419
|
incoming: "incoming";
|
|
661
420
|
outgoing: "outgoing";
|
|
662
421
|
}>;
|
|
663
422
|
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
664
|
-
domain: z.ZodLiteral<"structural">;
|
|
665
|
-
id: z.ZodString;
|
|
666
|
-
kind: z.ZodEnum<{
|
|
667
|
-
Repository: "Repository";
|
|
668
|
-
Module: "Module";
|
|
669
|
-
File: "File";
|
|
670
|
-
Symbol: "Symbol";
|
|
671
|
-
Test: "Test";
|
|
672
|
-
}>;
|
|
673
|
-
label: z.ZodString;
|
|
674
|
-
validity: z.ZodEnum<{
|
|
675
|
-
valid: "valid";
|
|
676
|
-
stale: "stale";
|
|
677
|
-
}>;
|
|
678
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
679
|
-
file: z.ZodString;
|
|
680
|
-
range: z.ZodObject<{
|
|
681
|
-
start: z.ZodObject<{
|
|
682
|
-
line: z.ZodNumber;
|
|
683
|
-
column: z.ZodNumber;
|
|
684
|
-
}, z.core.$strict>;
|
|
685
|
-
end: z.ZodObject<{
|
|
686
|
-
line: z.ZodNumber;
|
|
687
|
-
column: z.ZodNumber;
|
|
688
|
-
}, z.core.$strict>;
|
|
689
|
-
}, z.core.$strict>;
|
|
690
|
-
}, z.core.$loose>>;
|
|
691
|
-
support: z.ZodObject<{
|
|
692
|
-
status: z.ZodEnum<{
|
|
693
|
-
exact: "exact";
|
|
694
|
-
inferred: "inferred";
|
|
695
|
-
unresolved: "unresolved";
|
|
696
|
-
unsupported: "unsupported";
|
|
697
|
-
}>;
|
|
698
|
-
provenance: z.ZodEnum<{
|
|
699
|
-
"tree-sitter": "tree-sitter";
|
|
700
|
-
scip: "scip";
|
|
701
|
-
heuristic: "heuristic";
|
|
702
|
-
backend: "backend";
|
|
703
|
-
}>;
|
|
704
|
-
}, z.core.$strict>;
|
|
705
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
706
423
|
domain: z.ZodLiteral<"business">;
|
|
707
424
|
key: z.ZodString;
|
|
708
425
|
kind: z.ZodEnum<{
|
|
@@ -743,16 +460,19 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
743
460
|
}, z.core.$loose>, z.ZodObject<{
|
|
744
461
|
domain: z.ZodLiteral<"structural">;
|
|
745
462
|
id: z.ZodString;
|
|
746
|
-
kind: z.
|
|
463
|
+
kind: z.ZodEnum<{
|
|
464
|
+
Repository: "Repository";
|
|
465
|
+
Module: "Module";
|
|
466
|
+
File: "File";
|
|
467
|
+
Symbol: "Symbol";
|
|
468
|
+
Test: "Test";
|
|
469
|
+
}>;
|
|
747
470
|
label: z.ZodString;
|
|
748
|
-
validity: z.
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
operation: z.ZodString;
|
|
754
|
-
reason: z.ZodString;
|
|
755
|
-
location: z.ZodObject<{
|
|
471
|
+
validity: z.ZodEnum<{
|
|
472
|
+
valid: "valid";
|
|
473
|
+
stale: "stale";
|
|
474
|
+
}>;
|
|
475
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
756
476
|
file: z.ZodString;
|
|
757
477
|
range: z.ZodObject<{
|
|
758
478
|
start: z.ZodObject<{
|
|
@@ -764,8 +484,7 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
764
484
|
column: z.ZodNumber;
|
|
765
485
|
}, z.core.$strict>;
|
|
766
486
|
}, z.core.$strict>;
|
|
767
|
-
}, z.core.$loose
|
|
768
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
487
|
+
}, z.core.$loose>>;
|
|
769
488
|
support: z.ZodObject<{
|
|
770
489
|
status: z.ZodEnum<{
|
|
771
490
|
exact: "exact";
|
|
@@ -781,7 +500,11 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
781
500
|
}>;
|
|
782
501
|
}, z.core.$strict>;
|
|
783
502
|
}, z.core.$loose>]>;
|
|
784
|
-
certainty: z.
|
|
503
|
+
certainty: z.ZodEnum<{
|
|
504
|
+
exact: "exact";
|
|
505
|
+
inferred: "inferred";
|
|
506
|
+
hypothesis: "hypothesis";
|
|
507
|
+
}>;
|
|
785
508
|
validity: z.ZodEnum<{
|
|
786
509
|
valid: "valid";
|
|
787
510
|
stale: "stale";
|
|
@@ -801,37 +524,14 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
801
524
|
}, z.core.$strict>;
|
|
802
525
|
contentHash: z.ZodString;
|
|
803
526
|
}, z.core.$strict>>;
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
"tree-sitter": "tree-sitter";
|
|
813
|
-
scip: "scip";
|
|
814
|
-
heuristic: "heuristic";
|
|
815
|
-
backend: "backend";
|
|
816
|
-
}>;
|
|
817
|
-
}, z.core.$strict>;
|
|
818
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
819
|
-
type: z.ZodEnum<{
|
|
820
|
-
part_of: "part_of";
|
|
821
|
-
invokes: "invokes";
|
|
822
|
-
realized_by: "realized_by";
|
|
823
|
-
reads: "reads";
|
|
824
|
-
writes: "writes";
|
|
825
|
-
publishes: "publishes";
|
|
826
|
-
consumes: "consumes";
|
|
827
|
-
constrained_by: "constrained_by";
|
|
828
|
-
verified_by: "verified_by";
|
|
829
|
-
}>;
|
|
830
|
-
direction: z.ZodEnum<{
|
|
831
|
-
incoming: "incoming";
|
|
832
|
-
outgoing: "outgoing";
|
|
833
|
-
}>;
|
|
834
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
527
|
+
}, z.core.$loose>>;
|
|
528
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
529
|
+
command: z.ZodLiteral<"code.search">;
|
|
530
|
+
query: z.ZodString;
|
|
531
|
+
limit: z.ZodNumber;
|
|
532
|
+
results: z.ZodArray<z.ZodObject<{
|
|
533
|
+
score: z.ZodNumber;
|
|
534
|
+
node: z.ZodObject<{
|
|
835
535
|
domain: z.ZodLiteral<"structural">;
|
|
836
536
|
id: z.ZodString;
|
|
837
537
|
kind: z.ZodEnum<{
|
|
@@ -873,7 +573,93 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
873
573
|
backend: "backend";
|
|
874
574
|
}>;
|
|
875
575
|
}, z.core.$strict>;
|
|
576
|
+
}, z.core.$loose>;
|
|
577
|
+
}, z.core.$loose>>;
|
|
578
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
579
|
+
command: z.ZodLiteral<"learn">;
|
|
580
|
+
baseSnapshotId: z.ZodString;
|
|
581
|
+
snapshotId: z.ZodString;
|
|
582
|
+
applied: z.ZodObject<{
|
|
583
|
+
nodeOperations: z.ZodNumber;
|
|
584
|
+
relationOperations: z.ZodNumber;
|
|
585
|
+
}, z.core.$loose>;
|
|
586
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
587
|
+
command: z.ZodLiteral<"changes">;
|
|
588
|
+
fromSnapshotId: z.ZodString;
|
|
589
|
+
toSnapshotId: z.ZodString;
|
|
590
|
+
nodes: z.ZodObject<{
|
|
591
|
+
added: z.ZodArray<z.ZodString>;
|
|
592
|
+
changed: z.ZodArray<z.ZodString>;
|
|
593
|
+
removed: z.ZodArray<z.ZodString>;
|
|
594
|
+
}, z.core.$loose>;
|
|
595
|
+
relations: z.ZodObject<{
|
|
596
|
+
added: z.ZodArray<z.ZodString>;
|
|
597
|
+
changed: z.ZodArray<z.ZodString>;
|
|
598
|
+
removed: z.ZodArray<z.ZodString>;
|
|
599
|
+
}, z.core.$loose>;
|
|
600
|
+
staleAssertions: z.ZodArray<z.ZodString>;
|
|
601
|
+
}, z.core.$loose>], "command">;
|
|
602
|
+
export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
603
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
604
|
+
repository: z.ZodObject<{
|
|
605
|
+
id: z.ZodString;
|
|
606
|
+
root: z.ZodString;
|
|
607
|
+
headCommit: z.ZodString;
|
|
608
|
+
}, z.core.$strict>;
|
|
609
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
610
|
+
id: z.ZodString;
|
|
611
|
+
gitHead: z.ZodString;
|
|
612
|
+
createdAt: z.ZodISODateTime;
|
|
613
|
+
freshness: z.ZodEnum<{
|
|
614
|
+
stale: "stale";
|
|
615
|
+
current: "current";
|
|
616
|
+
}>;
|
|
617
|
+
}, z.core.$strict>>;
|
|
618
|
+
status: z.ZodEnum<{
|
|
619
|
+
ok: "ok";
|
|
620
|
+
partial: "partial";
|
|
621
|
+
}>;
|
|
622
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
623
|
+
command: z.ZodLiteral<"status">;
|
|
624
|
+
currentRevision: z.ZodObject<{
|
|
625
|
+
headCommit: z.ZodString;
|
|
626
|
+
changes: z.ZodObject<{
|
|
627
|
+
staged: z.ZodNumber;
|
|
628
|
+
unstaged: z.ZodNumber;
|
|
629
|
+
untracked: z.ZodNumber;
|
|
630
|
+
}, z.core.$loose>;
|
|
631
|
+
}, z.core.$loose>;
|
|
632
|
+
freshness: z.ZodEnum<{
|
|
633
|
+
stale: "stale";
|
|
634
|
+
missing: "missing";
|
|
635
|
+
current: "current";
|
|
636
|
+
}>;
|
|
637
|
+
storeLocation: z.ZodString;
|
|
638
|
+
languages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
639
|
+
language: z.ZodString;
|
|
640
|
+
support: z.ZodLiteral<"supported">;
|
|
876
641
|
}, z.core.$loose>, z.ZodObject<{
|
|
642
|
+
language: z.ZodString;
|
|
643
|
+
support: z.ZodLiteral<"unsupported">;
|
|
644
|
+
reason: z.ZodString;
|
|
645
|
+
}, z.core.$loose>], "support">>;
|
|
646
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
647
|
+
command: z.ZodLiteral<"index">;
|
|
648
|
+
snapshotId: z.ZodString;
|
|
649
|
+
facts: z.ZodObject<{
|
|
650
|
+
added: z.ZodNumber;
|
|
651
|
+
changed: z.ZodNumber;
|
|
652
|
+
reused: z.ZodNumber;
|
|
653
|
+
removed: z.ZodNumber;
|
|
654
|
+
}, z.core.$loose>;
|
|
655
|
+
unknowns: z.ZodObject<{
|
|
656
|
+
added: z.ZodNumber;
|
|
657
|
+
resolved: z.ZodNumber;
|
|
658
|
+
total: z.ZodNumber;
|
|
659
|
+
}, z.core.$loose>;
|
|
660
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
661
|
+
command: z.ZodLiteral<"map.view">;
|
|
662
|
+
focus: z.ZodNullable<z.ZodObject<{
|
|
877
663
|
domain: z.ZodLiteral<"business">;
|
|
878
664
|
key: z.ZodString;
|
|
879
665
|
kind: z.ZodEnum<{
|
|
@@ -911,19 +697,32 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
911
697
|
}, z.core.$strict>;
|
|
912
698
|
contentHash: z.ZodString;
|
|
913
699
|
}, z.core.$strict>>;
|
|
914
|
-
}, z.core.$loose
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
700
|
+
}, z.core.$loose>>;
|
|
701
|
+
breadcrumbs: z.ZodArray<z.ZodObject<{
|
|
702
|
+
domain: z.ZodLiteral<"business">;
|
|
703
|
+
key: z.ZodString;
|
|
704
|
+
kind: z.ZodEnum<{
|
|
705
|
+
Capability: "Capability";
|
|
706
|
+
Scenario: "Scenario";
|
|
707
|
+
Operation: "Operation";
|
|
708
|
+
Invariant: "Invariant";
|
|
709
|
+
Interface: "Interface";
|
|
710
|
+
Data: "Data";
|
|
711
|
+
}>;
|
|
918
712
|
label: z.ZodString;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
713
|
+
summary: z.ZodString;
|
|
714
|
+
aliases: z.ZodArray<z.ZodString>;
|
|
715
|
+
certainty: z.ZodEnum<{
|
|
716
|
+
exact: "exact";
|
|
717
|
+
inferred: "inferred";
|
|
718
|
+
hypothesis: "hypothesis";
|
|
719
|
+
}>;
|
|
720
|
+
validity: z.ZodEnum<{
|
|
721
|
+
valid: "valid";
|
|
722
|
+
stale: "stale";
|
|
723
|
+
}>;
|
|
724
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
725
|
+
symbolId: z.ZodString;
|
|
927
726
|
file: z.ZodString;
|
|
928
727
|
range: z.ZodObject<{
|
|
929
728
|
start: z.ZodObject<{
|
|
@@ -935,486 +734,11 @@ export declare const cliCommandDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
935
734
|
column: z.ZodNumber;
|
|
936
735
|
}, z.core.$strict>;
|
|
937
736
|
}, z.core.$strict>;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
inferred: "inferred";
|
|
944
|
-
unresolved: "unresolved";
|
|
945
|
-
unsupported: "unsupported";
|
|
946
|
-
}>;
|
|
947
|
-
provenance: z.ZodEnum<{
|
|
948
|
-
"tree-sitter": "tree-sitter";
|
|
949
|
-
scip: "scip";
|
|
950
|
-
heuristic: "heuristic";
|
|
951
|
-
backend: "backend";
|
|
952
|
-
}>;
|
|
953
|
-
}, z.core.$strict>;
|
|
954
|
-
}, z.core.$loose>]>;
|
|
955
|
-
certainty: z.ZodEnum<{
|
|
956
|
-
exact: "exact";
|
|
957
|
-
inferred: "inferred";
|
|
958
|
-
hypothesis: "hypothesis";
|
|
959
|
-
}>;
|
|
960
|
-
validity: z.ZodEnum<{
|
|
961
|
-
valid: "valid";
|
|
962
|
-
stale: "stale";
|
|
963
|
-
}>;
|
|
964
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
965
|
-
symbolId: z.ZodString;
|
|
966
|
-
file: z.ZodString;
|
|
967
|
-
range: z.ZodObject<{
|
|
968
|
-
start: z.ZodObject<{
|
|
969
|
-
line: z.ZodNumber;
|
|
970
|
-
column: z.ZodNumber;
|
|
971
|
-
}, z.core.$strict>;
|
|
972
|
-
end: z.ZodObject<{
|
|
973
|
-
line: z.ZodNumber;
|
|
974
|
-
column: z.ZodNumber;
|
|
975
|
-
}, z.core.$strict>;
|
|
976
|
-
}, z.core.$strict>;
|
|
977
|
-
contentHash: z.ZodString;
|
|
978
|
-
}, z.core.$strict>>;
|
|
979
|
-
}, z.core.$loose>]>>;
|
|
980
|
-
invariants: z.ZodArray<z.ZodObject<{
|
|
981
|
-
domain: z.ZodLiteral<"business">;
|
|
982
|
-
key: z.ZodString;
|
|
983
|
-
label: z.ZodString;
|
|
984
|
-
summary: z.ZodString;
|
|
985
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
986
|
-
certainty: z.ZodEnum<{
|
|
987
|
-
exact: "exact";
|
|
988
|
-
inferred: "inferred";
|
|
989
|
-
hypothesis: "hypothesis";
|
|
990
|
-
}>;
|
|
991
|
-
validity: z.ZodEnum<{
|
|
992
|
-
valid: "valid";
|
|
993
|
-
stale: "stale";
|
|
994
|
-
}>;
|
|
995
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
996
|
-
symbolId: z.ZodString;
|
|
997
|
-
file: z.ZodString;
|
|
998
|
-
range: z.ZodObject<{
|
|
999
|
-
start: z.ZodObject<{
|
|
1000
|
-
line: z.ZodNumber;
|
|
1001
|
-
column: z.ZodNumber;
|
|
1002
|
-
}, z.core.$strict>;
|
|
1003
|
-
end: z.ZodObject<{
|
|
1004
|
-
line: z.ZodNumber;
|
|
1005
|
-
column: z.ZodNumber;
|
|
1006
|
-
}, z.core.$strict>;
|
|
1007
|
-
}, z.core.$strict>;
|
|
1008
|
-
contentHash: z.ZodString;
|
|
1009
|
-
}, z.core.$strict>>;
|
|
1010
|
-
kind: z.ZodLiteral<"Invariant">;
|
|
1011
|
-
}, z.core.$loose>>;
|
|
1012
|
-
tests: z.ZodArray<z.ZodObject<{
|
|
1013
|
-
domain: z.ZodLiteral<"structural">;
|
|
1014
|
-
id: z.ZodString;
|
|
1015
|
-
label: z.ZodString;
|
|
1016
|
-
validity: z.ZodEnum<{
|
|
1017
|
-
valid: "valid";
|
|
1018
|
-
stale: "stale";
|
|
1019
|
-
}>;
|
|
1020
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1021
|
-
file: z.ZodString;
|
|
1022
|
-
range: z.ZodObject<{
|
|
1023
|
-
start: z.ZodObject<{
|
|
1024
|
-
line: z.ZodNumber;
|
|
1025
|
-
column: z.ZodNumber;
|
|
1026
|
-
}, z.core.$strict>;
|
|
1027
|
-
end: z.ZodObject<{
|
|
1028
|
-
line: z.ZodNumber;
|
|
1029
|
-
column: z.ZodNumber;
|
|
1030
|
-
}, z.core.$strict>;
|
|
1031
|
-
}, z.core.$strict>;
|
|
1032
|
-
}, z.core.$loose>>;
|
|
1033
|
-
support: z.ZodObject<{
|
|
1034
|
-
status: z.ZodEnum<{
|
|
1035
|
-
exact: "exact";
|
|
1036
|
-
inferred: "inferred";
|
|
1037
|
-
unresolved: "unresolved";
|
|
1038
|
-
unsupported: "unsupported";
|
|
1039
|
-
}>;
|
|
1040
|
-
provenance: z.ZodEnum<{
|
|
1041
|
-
"tree-sitter": "tree-sitter";
|
|
1042
|
-
scip: "scip";
|
|
1043
|
-
heuristic: "heuristic";
|
|
1044
|
-
backend: "backend";
|
|
1045
|
-
}>;
|
|
1046
|
-
}, z.core.$strict>;
|
|
1047
|
-
kind: z.ZodEnum<{
|
|
1048
|
-
Symbol: "Symbol";
|
|
1049
|
-
Test: "Test";
|
|
1050
|
-
}>;
|
|
1051
|
-
}, z.core.$loose>>;
|
|
1052
|
-
unknowns: z.ZodArray<z.ZodObject<{
|
|
1053
|
-
domain: z.ZodLiteral<"structural">;
|
|
1054
|
-
id: z.ZodString;
|
|
1055
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
1056
|
-
label: z.ZodString;
|
|
1057
|
-
validity: z.ZodLiteral<"unknown">;
|
|
1058
|
-
owner: z.ZodObject<{
|
|
1059
|
-
domain: z.ZodLiteral<"structural">;
|
|
1060
|
-
id: z.ZodString;
|
|
1061
|
-
}, z.core.$strict>;
|
|
1062
|
-
operation: z.ZodString;
|
|
1063
|
-
reason: z.ZodString;
|
|
1064
|
-
location: z.ZodObject<{
|
|
1065
|
-
file: z.ZodString;
|
|
1066
|
-
range: z.ZodObject<{
|
|
1067
|
-
start: z.ZodObject<{
|
|
1068
|
-
line: z.ZodNumber;
|
|
1069
|
-
column: z.ZodNumber;
|
|
1070
|
-
}, z.core.$strict>;
|
|
1071
|
-
end: z.ZodObject<{
|
|
1072
|
-
line: z.ZodNumber;
|
|
1073
|
-
column: z.ZodNumber;
|
|
1074
|
-
}, z.core.$strict>;
|
|
1075
|
-
}, z.core.$strict>;
|
|
1076
|
-
}, z.core.$loose>;
|
|
1077
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
1078
|
-
support: z.ZodObject<{
|
|
1079
|
-
status: z.ZodEnum<{
|
|
1080
|
-
exact: "exact";
|
|
1081
|
-
inferred: "inferred";
|
|
1082
|
-
unresolved: "unresolved";
|
|
1083
|
-
unsupported: "unsupported";
|
|
1084
|
-
}>;
|
|
1085
|
-
provenance: z.ZodEnum<{
|
|
1086
|
-
"tree-sitter": "tree-sitter";
|
|
1087
|
-
scip: "scip";
|
|
1088
|
-
heuristic: "heuristic";
|
|
1089
|
-
backend: "backend";
|
|
1090
|
-
}>;
|
|
1091
|
-
}, z.core.$strict>;
|
|
1092
|
-
}, z.core.$loose>>;
|
|
1093
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1094
|
-
command: z.ZodLiteral<"learn">;
|
|
1095
|
-
baseSnapshotId: z.ZodString;
|
|
1096
|
-
snapshotId: z.ZodString;
|
|
1097
|
-
applied: z.ZodObject<{
|
|
1098
|
-
nodeOperations: z.ZodNumber;
|
|
1099
|
-
relationOperations: z.ZodNumber;
|
|
1100
|
-
}, z.core.$loose>;
|
|
1101
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1102
|
-
command: z.ZodLiteral<"changes">;
|
|
1103
|
-
fromSnapshotId: z.ZodString;
|
|
1104
|
-
toSnapshotId: z.ZodString;
|
|
1105
|
-
nodes: z.ZodObject<{
|
|
1106
|
-
added: z.ZodArray<z.ZodString>;
|
|
1107
|
-
changed: z.ZodArray<z.ZodString>;
|
|
1108
|
-
removed: z.ZodArray<z.ZodString>;
|
|
1109
|
-
}, z.core.$loose>;
|
|
1110
|
-
relations: z.ZodObject<{
|
|
1111
|
-
added: z.ZodArray<z.ZodString>;
|
|
1112
|
-
changed: z.ZodArray<z.ZodString>;
|
|
1113
|
-
removed: z.ZodArray<z.ZodString>;
|
|
1114
|
-
}, z.core.$loose>;
|
|
1115
|
-
staleAssertions: z.ZodArray<z.ZodString>;
|
|
1116
|
-
}, z.core.$loose>], "command">;
|
|
1117
|
-
export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1118
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1119
|
-
repository: z.ZodObject<{
|
|
1120
|
-
id: z.ZodString;
|
|
1121
|
-
root: z.ZodString;
|
|
1122
|
-
headCommit: z.ZodString;
|
|
1123
|
-
}, z.core.$strict>;
|
|
1124
|
-
snapshot: z.ZodNullable<z.ZodObject<{
|
|
1125
|
-
id: z.ZodString;
|
|
1126
|
-
gitHead: z.ZodString;
|
|
1127
|
-
createdAt: z.ZodISODateTime;
|
|
1128
|
-
freshness: z.ZodEnum<{
|
|
1129
|
-
stale: "stale";
|
|
1130
|
-
current: "current";
|
|
1131
|
-
}>;
|
|
1132
|
-
}, z.core.$strict>>;
|
|
1133
|
-
status: z.ZodEnum<{
|
|
1134
|
-
ok: "ok";
|
|
1135
|
-
partial: "partial";
|
|
1136
|
-
}>;
|
|
1137
|
-
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1138
|
-
command: z.ZodLiteral<"status">;
|
|
1139
|
-
currentRevision: z.ZodObject<{
|
|
1140
|
-
headCommit: z.ZodString;
|
|
1141
|
-
changes: z.ZodObject<{
|
|
1142
|
-
staged: z.ZodNumber;
|
|
1143
|
-
unstaged: z.ZodNumber;
|
|
1144
|
-
untracked: z.ZodNumber;
|
|
1145
|
-
}, z.core.$loose>;
|
|
1146
|
-
}, z.core.$loose>;
|
|
1147
|
-
freshness: z.ZodEnum<{
|
|
1148
|
-
stale: "stale";
|
|
1149
|
-
missing: "missing";
|
|
1150
|
-
current: "current";
|
|
1151
|
-
}>;
|
|
1152
|
-
storeLocation: z.ZodString;
|
|
1153
|
-
languages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1154
|
-
language: z.ZodString;
|
|
1155
|
-
support: z.ZodLiteral<"supported">;
|
|
1156
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1157
|
-
language: z.ZodString;
|
|
1158
|
-
support: z.ZodLiteral<"unsupported">;
|
|
1159
|
-
reason: z.ZodString;
|
|
1160
|
-
}, z.core.$loose>], "support">>;
|
|
1161
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1162
|
-
command: z.ZodLiteral<"index">;
|
|
1163
|
-
snapshotId: z.ZodString;
|
|
1164
|
-
facts: z.ZodObject<{
|
|
1165
|
-
added: z.ZodNumber;
|
|
1166
|
-
changed: z.ZodNumber;
|
|
1167
|
-
reused: z.ZodNumber;
|
|
1168
|
-
removed: z.ZodNumber;
|
|
1169
|
-
}, z.core.$loose>;
|
|
1170
|
-
unknowns: z.ZodObject<{
|
|
1171
|
-
added: z.ZodNumber;
|
|
1172
|
-
resolved: z.ZodNumber;
|
|
1173
|
-
total: z.ZodNumber;
|
|
1174
|
-
}, z.core.$loose>;
|
|
1175
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1176
|
-
command: z.ZodLiteral<"map.roots">;
|
|
1177
|
-
nodes: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1178
|
-
domain: z.ZodLiteral<"structural">;
|
|
1179
|
-
id: z.ZodString;
|
|
1180
|
-
label: z.ZodString;
|
|
1181
|
-
validity: z.ZodEnum<{
|
|
1182
|
-
valid: "valid";
|
|
1183
|
-
stale: "stale";
|
|
1184
|
-
}>;
|
|
1185
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1186
|
-
file: z.ZodString;
|
|
1187
|
-
range: z.ZodObject<{
|
|
1188
|
-
start: z.ZodObject<{
|
|
1189
|
-
line: z.ZodNumber;
|
|
1190
|
-
column: z.ZodNumber;
|
|
1191
|
-
}, z.core.$strict>;
|
|
1192
|
-
end: z.ZodObject<{
|
|
1193
|
-
line: z.ZodNumber;
|
|
1194
|
-
column: z.ZodNumber;
|
|
1195
|
-
}, z.core.$strict>;
|
|
1196
|
-
}, z.core.$strict>;
|
|
1197
|
-
}, z.core.$loose>>;
|
|
1198
|
-
support: z.ZodObject<{
|
|
1199
|
-
status: z.ZodEnum<{
|
|
1200
|
-
exact: "exact";
|
|
1201
|
-
inferred: "inferred";
|
|
1202
|
-
unresolved: "unresolved";
|
|
1203
|
-
unsupported: "unsupported";
|
|
1204
|
-
}>;
|
|
1205
|
-
provenance: z.ZodEnum<{
|
|
1206
|
-
"tree-sitter": "tree-sitter";
|
|
1207
|
-
scip: "scip";
|
|
1208
|
-
heuristic: "heuristic";
|
|
1209
|
-
backend: "backend";
|
|
1210
|
-
}>;
|
|
1211
|
-
}, z.core.$strict>;
|
|
1212
|
-
kind: z.ZodLiteral<"Module">;
|
|
1213
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1214
|
-
domain: z.ZodLiteral<"business">;
|
|
1215
|
-
key: z.ZodString;
|
|
1216
|
-
label: z.ZodString;
|
|
1217
|
-
summary: z.ZodString;
|
|
1218
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
1219
|
-
certainty: z.ZodEnum<{
|
|
1220
|
-
exact: "exact";
|
|
1221
|
-
inferred: "inferred";
|
|
1222
|
-
hypothesis: "hypothesis";
|
|
1223
|
-
}>;
|
|
1224
|
-
validity: z.ZodEnum<{
|
|
1225
|
-
valid: "valid";
|
|
1226
|
-
stale: "stale";
|
|
1227
|
-
}>;
|
|
1228
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
1229
|
-
symbolId: z.ZodString;
|
|
1230
|
-
file: z.ZodString;
|
|
1231
|
-
range: z.ZodObject<{
|
|
1232
|
-
start: z.ZodObject<{
|
|
1233
|
-
line: z.ZodNumber;
|
|
1234
|
-
column: z.ZodNumber;
|
|
1235
|
-
}, z.core.$strict>;
|
|
1236
|
-
end: z.ZodObject<{
|
|
1237
|
-
line: z.ZodNumber;
|
|
1238
|
-
column: z.ZodNumber;
|
|
1239
|
-
}, z.core.$strict>;
|
|
1240
|
-
}, z.core.$strict>;
|
|
1241
|
-
contentHash: z.ZodString;
|
|
1242
|
-
}, z.core.$strict>>;
|
|
1243
|
-
kind: z.ZodLiteral<"Capability">;
|
|
1244
|
-
}, z.core.$loose>]>>;
|
|
1245
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1246
|
-
command: z.ZodLiteral<"map.children">;
|
|
1247
|
-
nodeId: z.ZodString;
|
|
1248
|
-
children: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1249
|
-
domain: z.ZodLiteral<"structural">;
|
|
1250
|
-
id: z.ZodString;
|
|
1251
|
-
kind: z.ZodEnum<{
|
|
1252
|
-
Repository: "Repository";
|
|
1253
|
-
Module: "Module";
|
|
1254
|
-
File: "File";
|
|
1255
|
-
Symbol: "Symbol";
|
|
1256
|
-
Test: "Test";
|
|
1257
|
-
}>;
|
|
1258
|
-
label: z.ZodString;
|
|
1259
|
-
validity: z.ZodEnum<{
|
|
1260
|
-
valid: "valid";
|
|
1261
|
-
stale: "stale";
|
|
1262
|
-
}>;
|
|
1263
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1264
|
-
file: z.ZodString;
|
|
1265
|
-
range: z.ZodObject<{
|
|
1266
|
-
start: z.ZodObject<{
|
|
1267
|
-
line: z.ZodNumber;
|
|
1268
|
-
column: z.ZodNumber;
|
|
1269
|
-
}, z.core.$strict>;
|
|
1270
|
-
end: z.ZodObject<{
|
|
1271
|
-
line: z.ZodNumber;
|
|
1272
|
-
column: z.ZodNumber;
|
|
1273
|
-
}, z.core.$strict>;
|
|
1274
|
-
}, z.core.$strict>;
|
|
1275
|
-
}, z.core.$loose>>;
|
|
1276
|
-
support: z.ZodObject<{
|
|
1277
|
-
status: z.ZodEnum<{
|
|
1278
|
-
exact: "exact";
|
|
1279
|
-
inferred: "inferred";
|
|
1280
|
-
unresolved: "unresolved";
|
|
1281
|
-
unsupported: "unsupported";
|
|
1282
|
-
}>;
|
|
1283
|
-
provenance: z.ZodEnum<{
|
|
1284
|
-
"tree-sitter": "tree-sitter";
|
|
1285
|
-
scip: "scip";
|
|
1286
|
-
heuristic: "heuristic";
|
|
1287
|
-
backend: "backend";
|
|
1288
|
-
}>;
|
|
1289
|
-
}, z.core.$strict>;
|
|
1290
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1291
|
-
domain: z.ZodLiteral<"business">;
|
|
1292
|
-
key: z.ZodString;
|
|
1293
|
-
kind: z.ZodEnum<{
|
|
1294
|
-
Capability: "Capability";
|
|
1295
|
-
Scenario: "Scenario";
|
|
1296
|
-
Operation: "Operation";
|
|
1297
|
-
Invariant: "Invariant";
|
|
1298
|
-
Interface: "Interface";
|
|
1299
|
-
Data: "Data";
|
|
1300
|
-
}>;
|
|
1301
|
-
label: z.ZodString;
|
|
1302
|
-
summary: z.ZodString;
|
|
1303
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
1304
|
-
certainty: z.ZodEnum<{
|
|
1305
|
-
exact: "exact";
|
|
1306
|
-
inferred: "inferred";
|
|
1307
|
-
hypothesis: "hypothesis";
|
|
1308
|
-
}>;
|
|
1309
|
-
validity: z.ZodEnum<{
|
|
1310
|
-
valid: "valid";
|
|
1311
|
-
stale: "stale";
|
|
1312
|
-
}>;
|
|
1313
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
1314
|
-
symbolId: z.ZodString;
|
|
1315
|
-
file: z.ZodString;
|
|
1316
|
-
range: z.ZodObject<{
|
|
1317
|
-
start: z.ZodObject<{
|
|
1318
|
-
line: z.ZodNumber;
|
|
1319
|
-
column: z.ZodNumber;
|
|
1320
|
-
}, z.core.$strict>;
|
|
1321
|
-
end: z.ZodObject<{
|
|
1322
|
-
line: z.ZodNumber;
|
|
1323
|
-
column: z.ZodNumber;
|
|
1324
|
-
}, z.core.$strict>;
|
|
1325
|
-
}, z.core.$strict>;
|
|
1326
|
-
contentHash: z.ZodString;
|
|
1327
|
-
}, z.core.$strict>>;
|
|
1328
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1329
|
-
domain: z.ZodLiteral<"structural">;
|
|
1330
|
-
id: z.ZodString;
|
|
1331
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
1332
|
-
label: z.ZodString;
|
|
1333
|
-
validity: z.ZodLiteral<"unknown">;
|
|
1334
|
-
owner: z.ZodObject<{
|
|
1335
|
-
domain: z.ZodLiteral<"structural">;
|
|
1336
|
-
id: z.ZodString;
|
|
1337
|
-
}, z.core.$strict>;
|
|
1338
|
-
operation: z.ZodString;
|
|
1339
|
-
reason: z.ZodString;
|
|
1340
|
-
location: z.ZodObject<{
|
|
1341
|
-
file: z.ZodString;
|
|
1342
|
-
range: z.ZodObject<{
|
|
1343
|
-
start: z.ZodObject<{
|
|
1344
|
-
line: z.ZodNumber;
|
|
1345
|
-
column: z.ZodNumber;
|
|
1346
|
-
}, z.core.$strict>;
|
|
1347
|
-
end: z.ZodObject<{
|
|
1348
|
-
line: z.ZodNumber;
|
|
1349
|
-
column: z.ZodNumber;
|
|
1350
|
-
}, z.core.$strict>;
|
|
1351
|
-
}, z.core.$strict>;
|
|
1352
|
-
}, z.core.$loose>;
|
|
1353
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
1354
|
-
support: z.ZodObject<{
|
|
1355
|
-
status: z.ZodEnum<{
|
|
1356
|
-
exact: "exact";
|
|
1357
|
-
inferred: "inferred";
|
|
1358
|
-
unresolved: "unresolved";
|
|
1359
|
-
unsupported: "unsupported";
|
|
1360
|
-
}>;
|
|
1361
|
-
provenance: z.ZodEnum<{
|
|
1362
|
-
"tree-sitter": "tree-sitter";
|
|
1363
|
-
scip: "scip";
|
|
1364
|
-
heuristic: "heuristic";
|
|
1365
|
-
backend: "backend";
|
|
1366
|
-
}>;
|
|
1367
|
-
}, z.core.$strict>;
|
|
1368
|
-
}, z.core.$loose>]>>;
|
|
1369
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1370
|
-
command: z.ZodLiteral<"map.search">;
|
|
1371
|
-
query: z.ZodString;
|
|
1372
|
-
limit: z.ZodNumber;
|
|
1373
|
-
results: z.ZodArray<z.ZodObject<{
|
|
1374
|
-
score: z.ZodNumber;
|
|
1375
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
1376
|
-
domain: z.ZodLiteral<"structural">;
|
|
1377
|
-
id: z.ZodString;
|
|
1378
|
-
kind: z.ZodEnum<{
|
|
1379
|
-
Repository: "Repository";
|
|
1380
|
-
Module: "Module";
|
|
1381
|
-
File: "File";
|
|
1382
|
-
Symbol: "Symbol";
|
|
1383
|
-
Test: "Test";
|
|
1384
|
-
}>;
|
|
1385
|
-
label: z.ZodString;
|
|
1386
|
-
validity: z.ZodEnum<{
|
|
1387
|
-
valid: "valid";
|
|
1388
|
-
stale: "stale";
|
|
1389
|
-
}>;
|
|
1390
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1391
|
-
file: z.ZodString;
|
|
1392
|
-
range: z.ZodObject<{
|
|
1393
|
-
start: z.ZodObject<{
|
|
1394
|
-
line: z.ZodNumber;
|
|
1395
|
-
column: z.ZodNumber;
|
|
1396
|
-
}, z.core.$strict>;
|
|
1397
|
-
end: z.ZodObject<{
|
|
1398
|
-
line: z.ZodNumber;
|
|
1399
|
-
column: z.ZodNumber;
|
|
1400
|
-
}, z.core.$strict>;
|
|
1401
|
-
}, z.core.$strict>;
|
|
1402
|
-
}, z.core.$loose>>;
|
|
1403
|
-
support: z.ZodObject<{
|
|
1404
|
-
status: z.ZodEnum<{
|
|
1405
|
-
exact: "exact";
|
|
1406
|
-
inferred: "inferred";
|
|
1407
|
-
unresolved: "unresolved";
|
|
1408
|
-
unsupported: "unsupported";
|
|
1409
|
-
}>;
|
|
1410
|
-
provenance: z.ZodEnum<{
|
|
1411
|
-
"tree-sitter": "tree-sitter";
|
|
1412
|
-
scip: "scip";
|
|
1413
|
-
heuristic: "heuristic";
|
|
1414
|
-
backend: "backend";
|
|
1415
|
-
}>;
|
|
1416
|
-
}, z.core.$strict>;
|
|
1417
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
737
|
+
contentHash: z.ZodString;
|
|
738
|
+
}, z.core.$strict>>;
|
|
739
|
+
}, z.core.$loose>>;
|
|
740
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
741
|
+
node: z.ZodObject<{
|
|
1418
742
|
domain: z.ZodLiteral<"business">;
|
|
1419
743
|
key: z.ZodString;
|
|
1420
744
|
kind: z.ZodEnum<{
|
|
@@ -1452,232 +776,53 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1452
776
|
}, z.core.$strict>;
|
|
1453
777
|
contentHash: z.ZodString;
|
|
1454
778
|
}, z.core.$strict>>;
|
|
1455
|
-
}, z.core.$loose
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
validity: z.ZodLiteral<"unknown">;
|
|
1461
|
-
owner: z.ZodObject<{
|
|
1462
|
-
domain: z.ZodLiteral<"structural">;
|
|
1463
|
-
id: z.ZodString;
|
|
1464
|
-
}, z.core.$strict>;
|
|
1465
|
-
operation: z.ZodString;
|
|
1466
|
-
reason: z.ZodString;
|
|
1467
|
-
location: z.ZodObject<{
|
|
1468
|
-
file: z.ZodString;
|
|
1469
|
-
range: z.ZodObject<{
|
|
1470
|
-
start: z.ZodObject<{
|
|
1471
|
-
line: z.ZodNumber;
|
|
1472
|
-
column: z.ZodNumber;
|
|
1473
|
-
}, z.core.$strict>;
|
|
1474
|
-
end: z.ZodObject<{
|
|
1475
|
-
line: z.ZodNumber;
|
|
1476
|
-
column: z.ZodNumber;
|
|
1477
|
-
}, z.core.$strict>;
|
|
1478
|
-
}, z.core.$strict>;
|
|
1479
|
-
}, z.core.$loose>;
|
|
1480
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
1481
|
-
support: z.ZodObject<{
|
|
1482
|
-
status: z.ZodEnum<{
|
|
1483
|
-
exact: "exact";
|
|
1484
|
-
inferred: "inferred";
|
|
1485
|
-
unresolved: "unresolved";
|
|
1486
|
-
unsupported: "unsupported";
|
|
1487
|
-
}>;
|
|
1488
|
-
provenance: z.ZodEnum<{
|
|
1489
|
-
"tree-sitter": "tree-sitter";
|
|
1490
|
-
scip: "scip";
|
|
1491
|
-
heuristic: "heuristic";
|
|
1492
|
-
backend: "backend";
|
|
1493
|
-
}>;
|
|
1494
|
-
}, z.core.$strict>;
|
|
1495
|
-
}, z.core.$loose>]>;
|
|
1496
|
-
}, z.core.$loose>>;
|
|
1497
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1498
|
-
command: z.ZodLiteral<"map.show">;
|
|
1499
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
1500
|
-
domain: z.ZodLiteral<"structural">;
|
|
1501
|
-
id: z.ZodString;
|
|
1502
|
-
kind: z.ZodEnum<{
|
|
1503
|
-
Repository: "Repository";
|
|
1504
|
-
Module: "Module";
|
|
1505
|
-
File: "File";
|
|
1506
|
-
Symbol: "Symbol";
|
|
1507
|
-
Test: "Test";
|
|
1508
|
-
}>;
|
|
1509
|
-
label: z.ZodString;
|
|
1510
|
-
validity: z.ZodEnum<{
|
|
1511
|
-
valid: "valid";
|
|
1512
|
-
stale: "stale";
|
|
1513
|
-
}>;
|
|
1514
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1515
|
-
file: z.ZodString;
|
|
1516
|
-
range: z.ZodObject<{
|
|
1517
|
-
start: z.ZodObject<{
|
|
1518
|
-
line: z.ZodNumber;
|
|
1519
|
-
column: z.ZodNumber;
|
|
1520
|
-
}, z.core.$strict>;
|
|
1521
|
-
end: z.ZodObject<{
|
|
1522
|
-
line: z.ZodNumber;
|
|
1523
|
-
column: z.ZodNumber;
|
|
1524
|
-
}, z.core.$strict>;
|
|
1525
|
-
}, z.core.$strict>;
|
|
1526
|
-
}, z.core.$loose>>;
|
|
1527
|
-
support: z.ZodObject<{
|
|
1528
|
-
status: z.ZodEnum<{
|
|
1529
|
-
exact: "exact";
|
|
1530
|
-
inferred: "inferred";
|
|
1531
|
-
unresolved: "unresolved";
|
|
1532
|
-
unsupported: "unsupported";
|
|
1533
|
-
}>;
|
|
1534
|
-
provenance: z.ZodEnum<{
|
|
1535
|
-
"tree-sitter": "tree-sitter";
|
|
1536
|
-
scip: "scip";
|
|
1537
|
-
heuristic: "heuristic";
|
|
1538
|
-
backend: "backend";
|
|
1539
|
-
}>;
|
|
1540
|
-
}, z.core.$strict>;
|
|
1541
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1542
|
-
domain: z.ZodLiteral<"business">;
|
|
1543
|
-
key: z.ZodString;
|
|
1544
|
-
kind: z.ZodEnum<{
|
|
1545
|
-
Capability: "Capability";
|
|
1546
|
-
Scenario: "Scenario";
|
|
1547
|
-
Operation: "Operation";
|
|
1548
|
-
Invariant: "Invariant";
|
|
1549
|
-
Interface: "Interface";
|
|
1550
|
-
Data: "Data";
|
|
1551
|
-
}>;
|
|
1552
|
-
label: z.ZodString;
|
|
1553
|
-
summary: z.ZodString;
|
|
1554
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
1555
|
-
certainty: z.ZodEnum<{
|
|
1556
|
-
exact: "exact";
|
|
1557
|
-
inferred: "inferred";
|
|
1558
|
-
hypothesis: "hypothesis";
|
|
1559
|
-
}>;
|
|
1560
|
-
validity: z.ZodEnum<{
|
|
1561
|
-
valid: "valid";
|
|
1562
|
-
stale: "stale";
|
|
779
|
+
}, z.core.$loose>;
|
|
780
|
+
role: z.ZodEnum<{
|
|
781
|
+
root: "root";
|
|
782
|
+
child: "child";
|
|
783
|
+
context: "context";
|
|
1563
784
|
}>;
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
}, z.core.$strict>;
|
|
1572
|
-
end: z.ZodObject<{
|
|
1573
|
-
line: z.ZodNumber;
|
|
1574
|
-
column: z.ZodNumber;
|
|
1575
|
-
}, z.core.$strict>;
|
|
1576
|
-
}, z.core.$strict>;
|
|
1577
|
-
contentHash: z.ZodString;
|
|
1578
|
-
}, z.core.$strict>>;
|
|
1579
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1580
|
-
domain: z.ZodLiteral<"structural">;
|
|
1581
|
-
id: z.ZodString;
|
|
1582
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
1583
|
-
label: z.ZodString;
|
|
1584
|
-
validity: z.ZodLiteral<"unknown">;
|
|
1585
|
-
owner: z.ZodObject<{
|
|
1586
|
-
domain: z.ZodLiteral<"structural">;
|
|
1587
|
-
id: z.ZodString;
|
|
785
|
+
childCount: z.ZodNumber;
|
|
786
|
+
expandable: z.ZodBoolean;
|
|
787
|
+
}, z.core.$loose>>;
|
|
788
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
789
|
+
from: z.ZodObject<{
|
|
790
|
+
domain: z.ZodLiteral<"business">;
|
|
791
|
+
key: z.ZodString;
|
|
1588
792
|
}, z.core.$strict>;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
file: z.ZodString;
|
|
1593
|
-
range: z.ZodObject<{
|
|
1594
|
-
start: z.ZodObject<{
|
|
1595
|
-
line: z.ZodNumber;
|
|
1596
|
-
column: z.ZodNumber;
|
|
1597
|
-
}, z.core.$strict>;
|
|
1598
|
-
end: z.ZodObject<{
|
|
1599
|
-
line: z.ZodNumber;
|
|
1600
|
-
column: z.ZodNumber;
|
|
1601
|
-
}, z.core.$strict>;
|
|
1602
|
-
}, z.core.$strict>;
|
|
1603
|
-
}, z.core.$loose>;
|
|
1604
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
1605
|
-
support: z.ZodObject<{
|
|
1606
|
-
status: z.ZodEnum<{
|
|
1607
|
-
exact: "exact";
|
|
1608
|
-
inferred: "inferred";
|
|
1609
|
-
unresolved: "unresolved";
|
|
1610
|
-
unsupported: "unsupported";
|
|
1611
|
-
}>;
|
|
1612
|
-
provenance: z.ZodEnum<{
|
|
1613
|
-
"tree-sitter": "tree-sitter";
|
|
1614
|
-
scip: "scip";
|
|
1615
|
-
heuristic: "heuristic";
|
|
1616
|
-
backend: "backend";
|
|
1617
|
-
}>;
|
|
793
|
+
to: z.ZodObject<{
|
|
794
|
+
domain: z.ZodLiteral<"business">;
|
|
795
|
+
key: z.ZodString;
|
|
1618
796
|
}, z.core.$strict>;
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
references: "references";
|
|
1628
|
-
calls: "calls";
|
|
1629
|
-
extends: "extends";
|
|
1630
|
-
implements: "implements";
|
|
1631
|
-
instantiates: "instantiates";
|
|
1632
|
-
decorated_by: "decorated_by";
|
|
1633
|
-
}>;
|
|
1634
|
-
direction: z.ZodEnum<{
|
|
1635
|
-
incoming: "incoming";
|
|
1636
|
-
outgoing: "outgoing";
|
|
1637
|
-
}>;
|
|
1638
|
-
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
1639
|
-
domain: z.ZodLiteral<"structural">;
|
|
1640
|
-
id: z.ZodString;
|
|
1641
|
-
kind: z.ZodEnum<{
|
|
1642
|
-
Repository: "Repository";
|
|
1643
|
-
Module: "Module";
|
|
1644
|
-
File: "File";
|
|
1645
|
-
Symbol: "Symbol";
|
|
1646
|
-
Test: "Test";
|
|
1647
|
-
}>;
|
|
1648
|
-
label: z.ZodString;
|
|
1649
|
-
validity: z.ZodEnum<{
|
|
1650
|
-
valid: "valid";
|
|
1651
|
-
stale: "stale";
|
|
797
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
798
|
+
type: z.ZodEnum<{
|
|
799
|
+
invokes: "invokes";
|
|
800
|
+
reads: "reads";
|
|
801
|
+
writes: "writes";
|
|
802
|
+
publishes: "publishes";
|
|
803
|
+
consumes: "consumes";
|
|
804
|
+
constrained_by: "constrained_by";
|
|
1652
805
|
}>;
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
provenance: z.ZodEnum<{
|
|
1674
|
-
"tree-sitter": "tree-sitter";
|
|
1675
|
-
scip: "scip";
|
|
1676
|
-
heuristic: "heuristic";
|
|
1677
|
-
backend: "backend";
|
|
1678
|
-
}>;
|
|
1679
|
-
}, z.core.$strict>;
|
|
1680
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
806
|
+
directCount: z.ZodNumber;
|
|
807
|
+
aggregatedCount: z.ZodNumber;
|
|
808
|
+
certainty: z.ZodObject<{
|
|
809
|
+
exact: z.ZodNumber;
|
|
810
|
+
inferred: z.ZodNumber;
|
|
811
|
+
hypothesis: z.ZodNumber;
|
|
812
|
+
}, z.core.$loose>;
|
|
813
|
+
validity: z.ZodObject<{
|
|
814
|
+
valid: z.ZodNumber;
|
|
815
|
+
stale: z.ZodNumber;
|
|
816
|
+
}, z.core.$loose>;
|
|
817
|
+
}, z.core.$loose>>;
|
|
818
|
+
}, z.core.$loose>>;
|
|
819
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
820
|
+
command: z.ZodLiteral<"map.search">;
|
|
821
|
+
query: z.ZodString;
|
|
822
|
+
limit: z.ZodNumber;
|
|
823
|
+
results: z.ZodArray<z.ZodObject<{
|
|
824
|
+
score: z.ZodNumber;
|
|
825
|
+
node: z.ZodObject<{
|
|
1681
826
|
domain: z.ZodLiteral<"business">;
|
|
1682
827
|
key: z.ZodString;
|
|
1683
828
|
kind: z.ZodEnum<{
|
|
@@ -1697,37 +842,11 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1697
842
|
hypothesis: "hypothesis";
|
|
1698
843
|
}>;
|
|
1699
844
|
validity: z.ZodEnum<{
|
|
1700
|
-
valid: "valid";
|
|
1701
|
-
stale: "stale";
|
|
1702
|
-
}>;
|
|
1703
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
1704
|
-
symbolId: z.ZodString;
|
|
1705
|
-
file: z.ZodString;
|
|
1706
|
-
range: z.ZodObject<{
|
|
1707
|
-
start: z.ZodObject<{
|
|
1708
|
-
line: z.ZodNumber;
|
|
1709
|
-
column: z.ZodNumber;
|
|
1710
|
-
}, z.core.$strict>;
|
|
1711
|
-
end: z.ZodObject<{
|
|
1712
|
-
line: z.ZodNumber;
|
|
1713
|
-
column: z.ZodNumber;
|
|
1714
|
-
}, z.core.$strict>;
|
|
1715
|
-
}, z.core.$strict>;
|
|
1716
|
-
contentHash: z.ZodString;
|
|
1717
|
-
}, z.core.$strict>>;
|
|
1718
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1719
|
-
domain: z.ZodLiteral<"structural">;
|
|
1720
|
-
id: z.ZodString;
|
|
1721
|
-
kind: z.ZodLiteral<"UnknownBoundary">;
|
|
1722
|
-
label: z.ZodString;
|
|
1723
|
-
validity: z.ZodLiteral<"unknown">;
|
|
1724
|
-
owner: z.ZodObject<{
|
|
1725
|
-
domain: z.ZodLiteral<"structural">;
|
|
1726
|
-
id: z.ZodString;
|
|
1727
|
-
}, z.core.$strict>;
|
|
1728
|
-
operation: z.ZodString;
|
|
1729
|
-
reason: z.ZodString;
|
|
1730
|
-
location: z.ZodObject<{
|
|
845
|
+
valid: "valid";
|
|
846
|
+
stale: "stale";
|
|
847
|
+
}>;
|
|
848
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
849
|
+
symbolId: z.ZodString;
|
|
1731
850
|
file: z.ZodString;
|
|
1732
851
|
range: z.ZodObject<{
|
|
1733
852
|
start: z.ZodObject<{
|
|
@@ -1739,24 +858,31 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1739
858
|
column: z.ZodNumber;
|
|
1740
859
|
}, z.core.$strict>;
|
|
1741
860
|
}, z.core.$strict>;
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
}
|
|
1759
|
-
|
|
861
|
+
contentHash: z.ZodString;
|
|
862
|
+
}, z.core.$strict>>;
|
|
863
|
+
}, z.core.$loose>;
|
|
864
|
+
}, z.core.$loose>>;
|
|
865
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
866
|
+
command: z.ZodLiteral<"map.show">;
|
|
867
|
+
node: z.ZodObject<{
|
|
868
|
+
domain: z.ZodLiteral<"business">;
|
|
869
|
+
key: z.ZodString;
|
|
870
|
+
kind: z.ZodEnum<{
|
|
871
|
+
Capability: "Capability";
|
|
872
|
+
Scenario: "Scenario";
|
|
873
|
+
Operation: "Operation";
|
|
874
|
+
Invariant: "Invariant";
|
|
875
|
+
Interface: "Interface";
|
|
876
|
+
Data: "Data";
|
|
877
|
+
}>;
|
|
878
|
+
label: z.ZodString;
|
|
879
|
+
summary: z.ZodString;
|
|
880
|
+
aliases: z.ZodArray<z.ZodString>;
|
|
881
|
+
certainty: z.ZodEnum<{
|
|
882
|
+
exact: "exact";
|
|
883
|
+
inferred: "inferred";
|
|
884
|
+
hypothesis: "hypothesis";
|
|
885
|
+
}>;
|
|
1760
886
|
validity: z.ZodEnum<{
|
|
1761
887
|
valid: "valid";
|
|
1762
888
|
stale: "stale";
|
|
@@ -1776,21 +902,8 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1776
902
|
}, z.core.$strict>;
|
|
1777
903
|
contentHash: z.ZodString;
|
|
1778
904
|
}, z.core.$strict>>;
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
exact: "exact";
|
|
1782
|
-
inferred: "inferred";
|
|
1783
|
-
unresolved: "unresolved";
|
|
1784
|
-
unsupported: "unsupported";
|
|
1785
|
-
}>;
|
|
1786
|
-
provenance: z.ZodEnum<{
|
|
1787
|
-
"tree-sitter": "tree-sitter";
|
|
1788
|
-
scip: "scip";
|
|
1789
|
-
heuristic: "heuristic";
|
|
1790
|
-
backend: "backend";
|
|
1791
|
-
}>;
|
|
1792
|
-
}, z.core.$strict>;
|
|
1793
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
905
|
+
}, z.core.$loose>;
|
|
906
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
1794
907
|
type: z.ZodEnum<{
|
|
1795
908
|
part_of: "part_of";
|
|
1796
909
|
invokes: "invokes";
|
|
@@ -1807,48 +920,6 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1807
920
|
outgoing: "outgoing";
|
|
1808
921
|
}>;
|
|
1809
922
|
node: z.ZodUnion<readonly [z.ZodObject<{
|
|
1810
|
-
domain: z.ZodLiteral<"structural">;
|
|
1811
|
-
id: z.ZodString;
|
|
1812
|
-
kind: z.ZodEnum<{
|
|
1813
|
-
Repository: "Repository";
|
|
1814
|
-
Module: "Module";
|
|
1815
|
-
File: "File";
|
|
1816
|
-
Symbol: "Symbol";
|
|
1817
|
-
Test: "Test";
|
|
1818
|
-
}>;
|
|
1819
|
-
label: z.ZodString;
|
|
1820
|
-
validity: z.ZodEnum<{
|
|
1821
|
-
valid: "valid";
|
|
1822
|
-
stale: "stale";
|
|
1823
|
-
}>;
|
|
1824
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1825
|
-
file: z.ZodString;
|
|
1826
|
-
range: z.ZodObject<{
|
|
1827
|
-
start: z.ZodObject<{
|
|
1828
|
-
line: z.ZodNumber;
|
|
1829
|
-
column: z.ZodNumber;
|
|
1830
|
-
}, z.core.$strict>;
|
|
1831
|
-
end: z.ZodObject<{
|
|
1832
|
-
line: z.ZodNumber;
|
|
1833
|
-
column: z.ZodNumber;
|
|
1834
|
-
}, z.core.$strict>;
|
|
1835
|
-
}, z.core.$strict>;
|
|
1836
|
-
}, z.core.$loose>>;
|
|
1837
|
-
support: z.ZodObject<{
|
|
1838
|
-
status: z.ZodEnum<{
|
|
1839
|
-
exact: "exact";
|
|
1840
|
-
inferred: "inferred";
|
|
1841
|
-
unresolved: "unresolved";
|
|
1842
|
-
unsupported: "unsupported";
|
|
1843
|
-
}>;
|
|
1844
|
-
provenance: z.ZodEnum<{
|
|
1845
|
-
"tree-sitter": "tree-sitter";
|
|
1846
|
-
scip: "scip";
|
|
1847
|
-
heuristic: "heuristic";
|
|
1848
|
-
backend: "backend";
|
|
1849
|
-
}>;
|
|
1850
|
-
}, z.core.$strict>;
|
|
1851
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1852
923
|
domain: z.ZodLiteral<"business">;
|
|
1853
924
|
key: z.ZodString;
|
|
1854
925
|
kind: z.ZodEnum<{
|
|
@@ -1889,16 +960,19 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1889
960
|
}, z.core.$loose>, z.ZodObject<{
|
|
1890
961
|
domain: z.ZodLiteral<"structural">;
|
|
1891
962
|
id: z.ZodString;
|
|
1892
|
-
kind: z.
|
|
963
|
+
kind: z.ZodEnum<{
|
|
964
|
+
Repository: "Repository";
|
|
965
|
+
Module: "Module";
|
|
966
|
+
File: "File";
|
|
967
|
+
Symbol: "Symbol";
|
|
968
|
+
Test: "Test";
|
|
969
|
+
}>;
|
|
1893
970
|
label: z.ZodString;
|
|
1894
|
-
validity: z.
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
operation: z.ZodString;
|
|
1900
|
-
reason: z.ZodString;
|
|
1901
|
-
location: z.ZodObject<{
|
|
971
|
+
validity: z.ZodEnum<{
|
|
972
|
+
valid: "valid";
|
|
973
|
+
stale: "stale";
|
|
974
|
+
}>;
|
|
975
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
1902
976
|
file: z.ZodString;
|
|
1903
977
|
range: z.ZodObject<{
|
|
1904
978
|
start: z.ZodObject<{
|
|
@@ -1910,8 +984,7 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1910
984
|
column: z.ZodNumber;
|
|
1911
985
|
}, z.core.$strict>;
|
|
1912
986
|
}, z.core.$strict>;
|
|
1913
|
-
}, z.core.$loose
|
|
1914
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
987
|
+
}, z.core.$loose>>;
|
|
1915
988
|
support: z.ZodObject<{
|
|
1916
989
|
status: z.ZodEnum<{
|
|
1917
990
|
exact: "exact";
|
|
@@ -1951,119 +1024,56 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1951
1024
|
}, z.core.$strict>;
|
|
1952
1025
|
contentHash: z.ZodString;
|
|
1953
1026
|
}, z.core.$strict>>;
|
|
1954
|
-
}, z.core.$loose>]>>;
|
|
1955
|
-
invariants: z.ZodArray<z.ZodObject<{
|
|
1956
|
-
domain: z.ZodLiteral<"business">;
|
|
1957
|
-
key: z.ZodString;
|
|
1958
|
-
label: z.ZodString;
|
|
1959
|
-
summary: z.ZodString;
|
|
1960
|
-
aliases: z.ZodArray<z.ZodString>;
|
|
1961
|
-
certainty: z.ZodEnum<{
|
|
1962
|
-
exact: "exact";
|
|
1963
|
-
inferred: "inferred";
|
|
1964
|
-
hypothesis: "hypothesis";
|
|
1965
|
-
}>;
|
|
1966
|
-
validity: z.ZodEnum<{
|
|
1967
|
-
valid: "valid";
|
|
1968
|
-
stale: "stale";
|
|
1969
|
-
}>;
|
|
1970
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
1971
|
-
symbolId: z.ZodString;
|
|
1972
|
-
file: z.ZodString;
|
|
1973
|
-
range: z.ZodObject<{
|
|
1974
|
-
start: z.ZodObject<{
|
|
1975
|
-
line: z.ZodNumber;
|
|
1976
|
-
column: z.ZodNumber;
|
|
1977
|
-
}, z.core.$strict>;
|
|
1978
|
-
end: z.ZodObject<{
|
|
1979
|
-
line: z.ZodNumber;
|
|
1980
|
-
column: z.ZodNumber;
|
|
1981
|
-
}, z.core.$strict>;
|
|
1982
|
-
}, z.core.$strict>;
|
|
1983
|
-
contentHash: z.ZodString;
|
|
1984
|
-
}, z.core.$strict>>;
|
|
1985
|
-
kind: z.ZodLiteral<"Invariant">;
|
|
1986
|
-
}, z.core.$loose>>;
|
|
1987
|
-
tests: z.ZodArray<z.ZodObject<{
|
|
1988
|
-
domain: z.ZodLiteral<"structural">;
|
|
1989
|
-
id: z.ZodString;
|
|
1990
|
-
label: z.ZodString;
|
|
1991
|
-
validity: z.ZodEnum<{
|
|
1992
|
-
valid: "valid";
|
|
1993
|
-
stale: "stale";
|
|
1994
|
-
}>;
|
|
1995
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1996
|
-
file: z.ZodString;
|
|
1997
|
-
range: z.ZodObject<{
|
|
1998
|
-
start: z.ZodObject<{
|
|
1999
|
-
line: z.ZodNumber;
|
|
2000
|
-
column: z.ZodNumber;
|
|
2001
|
-
}, z.core.$strict>;
|
|
2002
|
-
end: z.ZodObject<{
|
|
2003
|
-
line: z.ZodNumber;
|
|
2004
|
-
column: z.ZodNumber;
|
|
2005
|
-
}, z.core.$strict>;
|
|
2006
|
-
}, z.core.$strict>;
|
|
2007
|
-
}, z.core.$loose>>;
|
|
2008
|
-
support: z.ZodObject<{
|
|
2009
|
-
status: z.ZodEnum<{
|
|
2010
|
-
exact: "exact";
|
|
2011
|
-
inferred: "inferred";
|
|
2012
|
-
unresolved: "unresolved";
|
|
2013
|
-
unsupported: "unsupported";
|
|
2014
|
-
}>;
|
|
2015
|
-
provenance: z.ZodEnum<{
|
|
2016
|
-
"tree-sitter": "tree-sitter";
|
|
2017
|
-
scip: "scip";
|
|
2018
|
-
heuristic: "heuristic";
|
|
2019
|
-
backend: "backend";
|
|
2020
|
-
}>;
|
|
2021
|
-
}, z.core.$strict>;
|
|
2022
|
-
kind: z.ZodEnum<{
|
|
2023
|
-
Symbol: "Symbol";
|
|
2024
|
-
Test: "Test";
|
|
2025
|
-
}>;
|
|
2026
1027
|
}, z.core.$loose>>;
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
1028
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1029
|
+
command: z.ZodLiteral<"code.search">;
|
|
1030
|
+
query: z.ZodString;
|
|
1031
|
+
limit: z.ZodNumber;
|
|
1032
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1033
|
+
score: z.ZodNumber;
|
|
1034
|
+
node: z.ZodObject<{
|
|
2034
1035
|
domain: z.ZodLiteral<"structural">;
|
|
2035
1036
|
id: z.ZodString;
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
1037
|
+
kind: z.ZodEnum<{
|
|
1038
|
+
Repository: "Repository";
|
|
1039
|
+
Module: "Module";
|
|
1040
|
+
File: "File";
|
|
1041
|
+
Symbol: "Symbol";
|
|
1042
|
+
Test: "Test";
|
|
1043
|
+
}>;
|
|
1044
|
+
label: z.ZodString;
|
|
1045
|
+
validity: z.ZodEnum<{
|
|
1046
|
+
valid: "valid";
|
|
1047
|
+
stale: "stale";
|
|
1048
|
+
}>;
|
|
1049
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
1050
|
+
file: z.ZodString;
|
|
1051
|
+
range: z.ZodObject<{
|
|
1052
|
+
start: z.ZodObject<{
|
|
1053
|
+
line: z.ZodNumber;
|
|
1054
|
+
column: z.ZodNumber;
|
|
1055
|
+
}, z.core.$strict>;
|
|
1056
|
+
end: z.ZodObject<{
|
|
1057
|
+
line: z.ZodNumber;
|
|
1058
|
+
column: z.ZodNumber;
|
|
1059
|
+
}, z.core.$strict>;
|
|
2049
1060
|
}, z.core.$strict>;
|
|
1061
|
+
}, z.core.$loose>>;
|
|
1062
|
+
support: z.ZodObject<{
|
|
1063
|
+
status: z.ZodEnum<{
|
|
1064
|
+
exact: "exact";
|
|
1065
|
+
inferred: "inferred";
|
|
1066
|
+
unresolved: "unresolved";
|
|
1067
|
+
unsupported: "unsupported";
|
|
1068
|
+
}>;
|
|
1069
|
+
provenance: z.ZodEnum<{
|
|
1070
|
+
"tree-sitter": "tree-sitter";
|
|
1071
|
+
scip: "scip";
|
|
1072
|
+
heuristic: "heuristic";
|
|
1073
|
+
backend: "backend";
|
|
1074
|
+
}>;
|
|
2050
1075
|
}, z.core.$strict>;
|
|
2051
1076
|
}, z.core.$loose>;
|
|
2052
|
-
candidates: z.ZodArray<z.ZodString>;
|
|
2053
|
-
support: z.ZodObject<{
|
|
2054
|
-
status: z.ZodEnum<{
|
|
2055
|
-
exact: "exact";
|
|
2056
|
-
inferred: "inferred";
|
|
2057
|
-
unresolved: "unresolved";
|
|
2058
|
-
unsupported: "unsupported";
|
|
2059
|
-
}>;
|
|
2060
|
-
provenance: z.ZodEnum<{
|
|
2061
|
-
"tree-sitter": "tree-sitter";
|
|
2062
|
-
scip: "scip";
|
|
2063
|
-
heuristic: "heuristic";
|
|
2064
|
-
backend: "backend";
|
|
2065
|
-
}>;
|
|
2066
|
-
}, z.core.$strict>;
|
|
2067
1077
|
}, z.core.$loose>>;
|
|
2068
1078
|
}, z.core.$loose>, z.ZodObject<{
|
|
2069
1079
|
command: z.ZodLiteral<"learn">;
|
|
@@ -2117,10 +1127,10 @@ export declare const cliEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2117
1127
|
index: "index";
|
|
2118
1128
|
changes: "changes";
|
|
2119
1129
|
learn: "learn";
|
|
2120
|
-
"map.
|
|
2121
|
-
"map.children": "map.children";
|
|
1130
|
+
"map.view": "map.view";
|
|
2122
1131
|
"map.search": "map.search";
|
|
2123
1132
|
"map.show": "map.show";
|
|
1133
|
+
"code.search": "code.search";
|
|
2124
1134
|
}>>;
|
|
2125
1135
|
error: z.ZodObject<{
|
|
2126
1136
|
code: z.ZodString;
|