carrick 0.3.102 → 0.3.104
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/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/bundler.d.ts +3 -92
- package/sidecar/dist/src/bundler.js +5 -265
- package/sidecar/dist/src/capture/anchors.js +113 -8
- package/sidecar/dist/src/capture/api.d.ts +6 -0
- package/sidecar/dist/src/capture/check-classify.js +27 -0
- package/sidecar/dist/src/capture/check-fields.js +19 -5
- package/sidecar/dist/src/capture/check-probe.d.ts +6 -1
- package/sidecar/dist/src/capture/check-probe.js +45 -2
- package/sidecar/dist/src/capture/check-workspace.d.ts +3 -0
- package/sidecar/dist/src/capture/check-workspace.js +13 -16
- package/sidecar/dist/src/capture/check.js +5 -5
- package/sidecar/dist/src/capture/deep-walk.js +45 -12
- package/sidecar/dist/src/capture/deno-project.d.ts +2 -1
- package/sidecar/dist/src/capture/deno-project.js +22 -18
- package/sidecar/dist/src/capture/guarded-fs.d.ts +76 -0
- package/sidecar/dist/src/capture/guarded-fs.js +182 -0
- package/sidecar/dist/src/capture/index.d.ts +1 -0
- package/sidecar/dist/src/capture/index.js +65 -27
- package/sidecar/dist/src/capture/outside-root.d.ts +41 -0
- package/sidecar/dist/src/capture/outside-root.js +101 -0
- package/sidecar/dist/src/capture/paths-rewrite.d.ts +8 -0
- package/sidecar/dist/src/capture/paths-rewrite.js +9 -7
- package/sidecar/dist/src/capture/repair-dangling.d.ts +11 -1
- package/sidecar/dist/src/capture/repair-dangling.js +15 -4
- package/sidecar/dist/src/capture/self-check.d.ts +3 -0
- package/sidecar/dist/src/capture/self-check.js +3 -3
- package/sidecar/dist/src/capture/service-config.d.ts +19 -0
- package/sidecar/dist/src/capture/service-config.js +57 -0
- package/sidecar/dist/src/index.d.ts +1 -1
- package/sidecar/dist/src/index.js +4 -115
- package/sidecar/dist/src/origin.d.ts +49 -8
- package/sidecar/dist/src/origin.js +81 -8
- package/sidecar/dist/src/project-loader.d.ts +10 -2
- package/sidecar/dist/src/project-loader.js +22 -21
- package/sidecar/dist/src/type-inferrer.d.ts +72 -0
- package/sidecar/dist/src/type-inferrer.js +248 -8
- package/sidecar/dist/src/type-structural-expander.d.ts +5 -1
- package/sidecar/dist/src/type-structural-expander.js +1 -1
- package/sidecar/dist/src/types.d.ts +39 -178
- package/sidecar/dist/src/validators.d.ts +70 -914
- package/sidecar/dist/src/validators.js +2 -55
- package/sidecar/dist/src/monorepo-builder.d.ts +0 -129
- package/sidecar/dist/src/monorepo-builder.js +0 -584
|
@@ -11,13 +11,13 @@ export declare const SymbolRequestSchema: z.ZodObject<{
|
|
|
11
11
|
alias: z.ZodOptional<z.ZodString>;
|
|
12
12
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
source_file: string;
|
|
15
14
|
symbol_name: string;
|
|
15
|
+
source_file: string;
|
|
16
16
|
alias?: string | undefined;
|
|
17
17
|
array_depth?: number | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
source_file: string;
|
|
20
19
|
symbol_name: string;
|
|
20
|
+
source_file: string;
|
|
21
21
|
alias?: string | undefined;
|
|
22
22
|
array_depth?: number | undefined;
|
|
23
23
|
}>;
|
|
@@ -69,6 +69,7 @@ export declare const InitRequestSchema: z.ZodObject<{
|
|
|
69
69
|
action: z.ZodLiteral<"init">;
|
|
70
70
|
repo_root: z.ZodString;
|
|
71
71
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
72
|
+
scan_root: z.ZodOptional<z.ZodString>;
|
|
72
73
|
tsconfig_snapshot: z.ZodOptional<z.ZodObject<{
|
|
73
74
|
compilerOptions: z.ZodObject<{
|
|
74
75
|
module: z.ZodOptional<z.ZodString>;
|
|
@@ -161,6 +162,7 @@ export declare const InitRequestSchema: z.ZodObject<{
|
|
|
161
162
|
action: "init";
|
|
162
163
|
repo_root: string;
|
|
163
164
|
tsconfig_path?: string | undefined;
|
|
165
|
+
scan_root?: string | undefined;
|
|
164
166
|
tsconfig_snapshot?: {
|
|
165
167
|
compilerOptions: {
|
|
166
168
|
module?: string | undefined;
|
|
@@ -187,6 +189,7 @@ export declare const InitRequestSchema: z.ZodObject<{
|
|
|
187
189
|
action: "init";
|
|
188
190
|
repo_root: string;
|
|
189
191
|
tsconfig_path?: string | undefined;
|
|
192
|
+
scan_root?: string | undefined;
|
|
190
193
|
tsconfig_snapshot?: {
|
|
191
194
|
compilerOptions: {
|
|
192
195
|
module?: string | undefined;
|
|
@@ -219,13 +222,13 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
219
222
|
alias: z.ZodOptional<z.ZodString>;
|
|
220
223
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
221
224
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
source_file: string;
|
|
223
225
|
symbol_name: string;
|
|
226
|
+
source_file: string;
|
|
224
227
|
alias?: string | undefined;
|
|
225
228
|
array_depth?: number | undefined;
|
|
226
229
|
}, {
|
|
227
|
-
source_file: string;
|
|
228
230
|
symbol_name: string;
|
|
231
|
+
source_file: string;
|
|
229
232
|
alias?: string | undefined;
|
|
230
233
|
array_depth?: number | undefined;
|
|
231
234
|
}>, "many">;
|
|
@@ -233,8 +236,8 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
233
236
|
request_id: string;
|
|
234
237
|
action: "bundle";
|
|
235
238
|
symbols: {
|
|
236
|
-
source_file: string;
|
|
237
239
|
symbol_name: string;
|
|
240
|
+
source_file: string;
|
|
238
241
|
alias?: string | undefined;
|
|
239
242
|
array_depth?: number | undefined;
|
|
240
243
|
}[];
|
|
@@ -242,99 +245,12 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
242
245
|
request_id: string;
|
|
243
246
|
action: "bundle";
|
|
244
247
|
symbols: {
|
|
245
|
-
source_file: string;
|
|
246
248
|
symbol_name: string;
|
|
249
|
+
source_file: string;
|
|
247
250
|
alias?: string | undefined;
|
|
248
251
|
array_depth?: number | undefined;
|
|
249
252
|
}[];
|
|
250
253
|
}>;
|
|
251
|
-
export declare const EmitSurfaceRequestSchema: z.ZodObject<{
|
|
252
|
-
request_id: z.ZodString;
|
|
253
|
-
} & {
|
|
254
|
-
action: z.ZodLiteral<"emit_surface">;
|
|
255
|
-
repo_name: z.ZodString;
|
|
256
|
-
payloads: z.ZodArray<z.ZodObject<{
|
|
257
|
-
alias: z.ZodString;
|
|
258
|
-
type_string: z.ZodString;
|
|
259
|
-
source_file: z.ZodOptional<z.ZodString>;
|
|
260
|
-
source_location: z.ZodOptional<z.ZodObject<{
|
|
261
|
-
file_path: z.ZodString;
|
|
262
|
-
start_line: z.ZodNumber;
|
|
263
|
-
end_line: z.ZodNumber;
|
|
264
|
-
start_column: z.ZodOptional<z.ZodNumber>;
|
|
265
|
-
end_column: z.ZodOptional<z.ZodNumber>;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
file_path: string;
|
|
268
|
-
start_line: number;
|
|
269
|
-
end_line: number;
|
|
270
|
-
start_column?: number | undefined;
|
|
271
|
-
end_column?: number | undefined;
|
|
272
|
-
}, {
|
|
273
|
-
file_path: string;
|
|
274
|
-
start_line: number;
|
|
275
|
-
end_line: number;
|
|
276
|
-
start_column?: number | undefined;
|
|
277
|
-
end_column?: number | undefined;
|
|
278
|
-
}>>;
|
|
279
|
-
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
alias: string;
|
|
281
|
-
type_string: string;
|
|
282
|
-
source_file?: string | undefined;
|
|
283
|
-
source_location?: {
|
|
284
|
-
file_path: string;
|
|
285
|
-
start_line: number;
|
|
286
|
-
end_line: number;
|
|
287
|
-
start_column?: number | undefined;
|
|
288
|
-
end_column?: number | undefined;
|
|
289
|
-
} | undefined;
|
|
290
|
-
}, {
|
|
291
|
-
alias: string;
|
|
292
|
-
type_string: string;
|
|
293
|
-
source_file?: string | undefined;
|
|
294
|
-
source_location?: {
|
|
295
|
-
file_path: string;
|
|
296
|
-
start_line: number;
|
|
297
|
-
end_line: number;
|
|
298
|
-
start_column?: number | undefined;
|
|
299
|
-
end_column?: number | undefined;
|
|
300
|
-
} | undefined;
|
|
301
|
-
}>, "many">;
|
|
302
|
-
output_path: z.ZodString;
|
|
303
|
-
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
request_id: string;
|
|
305
|
-
action: "emit_surface";
|
|
306
|
-
repo_name: string;
|
|
307
|
-
payloads: {
|
|
308
|
-
alias: string;
|
|
309
|
-
type_string: string;
|
|
310
|
-
source_file?: string | undefined;
|
|
311
|
-
source_location?: {
|
|
312
|
-
file_path: string;
|
|
313
|
-
start_line: number;
|
|
314
|
-
end_line: number;
|
|
315
|
-
start_column?: number | undefined;
|
|
316
|
-
end_column?: number | undefined;
|
|
317
|
-
} | undefined;
|
|
318
|
-
}[];
|
|
319
|
-
output_path: string;
|
|
320
|
-
}, {
|
|
321
|
-
request_id: string;
|
|
322
|
-
action: "emit_surface";
|
|
323
|
-
repo_name: string;
|
|
324
|
-
payloads: {
|
|
325
|
-
alias: string;
|
|
326
|
-
type_string: string;
|
|
327
|
-
source_file?: string | undefined;
|
|
328
|
-
source_location?: {
|
|
329
|
-
file_path: string;
|
|
330
|
-
start_line: number;
|
|
331
|
-
end_line: number;
|
|
332
|
-
start_column?: number | undefined;
|
|
333
|
-
end_column?: number | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
}[];
|
|
336
|
-
output_path: string;
|
|
337
|
-
}>;
|
|
338
254
|
export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
339
255
|
request_id: z.ZodString;
|
|
340
256
|
} & {
|
|
@@ -350,16 +266,16 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
350
266
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
351
267
|
}, "strip", z.ZodTypeAny, {
|
|
352
268
|
kind: "symbol";
|
|
353
|
-
alias: string;
|
|
354
|
-
source_file: string;
|
|
355
269
|
symbol_name: string;
|
|
270
|
+
source_file: string;
|
|
271
|
+
alias: string;
|
|
356
272
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
357
273
|
array_depth?: number | undefined;
|
|
358
274
|
}, {
|
|
359
275
|
kind: "symbol";
|
|
360
|
-
alias: string;
|
|
361
|
-
source_file: string;
|
|
362
276
|
symbol_name: string;
|
|
277
|
+
source_file: string;
|
|
278
|
+
alias: string;
|
|
363
279
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
364
280
|
array_depth?: number | undefined;
|
|
365
281
|
}>, z.ZodObject<{
|
|
@@ -370,15 +286,15 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
370
286
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
371
287
|
}, "strip", z.ZodTypeAny, {
|
|
372
288
|
kind: "handler_return";
|
|
373
|
-
alias: string;
|
|
374
|
-
source_file: string;
|
|
375
289
|
symbol_name: string;
|
|
290
|
+
source_file: string;
|
|
291
|
+
alias: string;
|
|
376
292
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
377
293
|
}, {
|
|
378
294
|
kind: "handler_return";
|
|
379
|
-
alias: string;
|
|
380
|
-
source_file: string;
|
|
381
295
|
symbol_name: string;
|
|
296
|
+
source_file: string;
|
|
297
|
+
alias: string;
|
|
382
298
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
383
299
|
}>, z.ZodObject<{
|
|
384
300
|
kind: z.ZodLiteral<"infer">;
|
|
@@ -392,8 +308,8 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
392
308
|
unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
|
|
393
309
|
}, "strip", z.ZodTypeAny, {
|
|
394
310
|
kind: "infer";
|
|
395
|
-
alias: string;
|
|
396
311
|
source_file: string;
|
|
312
|
+
alias: string;
|
|
397
313
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
398
314
|
line_number?: number | undefined;
|
|
399
315
|
span_start?: number | undefined;
|
|
@@ -402,8 +318,8 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
402
318
|
unwrap?: "awaited" | "none" | undefined;
|
|
403
319
|
}, {
|
|
404
320
|
kind: "infer";
|
|
405
|
-
alias: string;
|
|
406
321
|
source_file: string;
|
|
322
|
+
alias: string;
|
|
407
323
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
408
324
|
line_number?: number | undefined;
|
|
409
325
|
span_start?: number | undefined;
|
|
@@ -431,6 +347,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
431
347
|
}>]>, "many">;
|
|
432
348
|
out_dir: z.ZodString;
|
|
433
349
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
350
|
+
scan_root: z.ZodOptional<z.ZodString>;
|
|
434
351
|
}, "strip", z.ZodTypeAny, {
|
|
435
352
|
request_id: string;
|
|
436
353
|
action: "capture_v2";
|
|
@@ -438,21 +355,21 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
438
355
|
service_name: string;
|
|
439
356
|
anchors: ({
|
|
440
357
|
kind: "symbol";
|
|
441
|
-
alias: string;
|
|
442
|
-
source_file: string;
|
|
443
358
|
symbol_name: string;
|
|
359
|
+
source_file: string;
|
|
360
|
+
alias: string;
|
|
444
361
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
445
362
|
array_depth?: number | undefined;
|
|
446
363
|
} | {
|
|
447
364
|
kind: "handler_return";
|
|
448
|
-
alias: string;
|
|
449
|
-
source_file: string;
|
|
450
365
|
symbol_name: string;
|
|
366
|
+
source_file: string;
|
|
367
|
+
alias: string;
|
|
451
368
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
452
369
|
} | {
|
|
453
370
|
kind: "infer";
|
|
454
|
-
alias: string;
|
|
455
371
|
source_file: string;
|
|
372
|
+
alias: string;
|
|
456
373
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
457
374
|
line_number?: number | undefined;
|
|
458
375
|
span_start?: number | undefined;
|
|
@@ -468,6 +385,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
468
385
|
})[];
|
|
469
386
|
out_dir: string;
|
|
470
387
|
tsconfig_path?: string | undefined;
|
|
388
|
+
scan_root?: string | undefined;
|
|
471
389
|
}, {
|
|
472
390
|
request_id: string;
|
|
473
391
|
action: "capture_v2";
|
|
@@ -475,21 +393,21 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
475
393
|
service_name: string;
|
|
476
394
|
anchors: ({
|
|
477
395
|
kind: "symbol";
|
|
478
|
-
alias: string;
|
|
479
|
-
source_file: string;
|
|
480
396
|
symbol_name: string;
|
|
397
|
+
source_file: string;
|
|
398
|
+
alias: string;
|
|
481
399
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
482
400
|
array_depth?: number | undefined;
|
|
483
401
|
} | {
|
|
484
402
|
kind: "handler_return";
|
|
485
|
-
alias: string;
|
|
486
|
-
source_file: string;
|
|
487
403
|
symbol_name: string;
|
|
404
|
+
source_file: string;
|
|
405
|
+
alias: string;
|
|
488
406
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
489
407
|
} | {
|
|
490
408
|
kind: "infer";
|
|
491
|
-
alias: string;
|
|
492
409
|
source_file: string;
|
|
410
|
+
alias: string;
|
|
493
411
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
494
412
|
line_number?: number | undefined;
|
|
495
413
|
span_start?: number | undefined;
|
|
@@ -505,6 +423,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
505
423
|
})[];
|
|
506
424
|
out_dir: string;
|
|
507
425
|
tsconfig_path?: string | undefined;
|
|
426
|
+
scan_root?: string | undefined;
|
|
508
427
|
}>;
|
|
509
428
|
export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
510
429
|
request_id: z.ZodString;
|
|
@@ -749,347 +668,6 @@ export declare const InferRequestSchema: z.ZodObject<{
|
|
|
749
668
|
}[];
|
|
750
669
|
} | undefined;
|
|
751
670
|
}>;
|
|
752
|
-
export declare const BuildWorkspaceRequestSchema: z.ZodObject<{
|
|
753
|
-
request_id: z.ZodString;
|
|
754
|
-
} & {
|
|
755
|
-
action: z.ZodLiteral<"build_workspace">;
|
|
756
|
-
repos: z.ZodArray<z.ZodObject<{
|
|
757
|
-
repoName: z.ZodString;
|
|
758
|
-
dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
759
|
-
tsconfig: z.ZodObject<{
|
|
760
|
-
compilerOptions: z.ZodObject<{
|
|
761
|
-
module: z.ZodOptional<z.ZodString>;
|
|
762
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
763
|
-
target: z.ZodOptional<z.ZodString>;
|
|
764
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
765
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
766
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
767
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
768
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
770
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
771
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
772
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
773
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
774
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
775
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
776
|
-
module: z.ZodOptional<z.ZodString>;
|
|
777
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
778
|
-
target: z.ZodOptional<z.ZodString>;
|
|
779
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
780
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
781
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
782
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
783
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
784
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
785
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
786
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
787
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
788
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
789
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
790
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
791
|
-
module: z.ZodOptional<z.ZodString>;
|
|
792
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
793
|
-
target: z.ZodOptional<z.ZodString>;
|
|
794
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
795
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
796
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
797
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
798
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
799
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
800
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
801
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
802
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
804
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
805
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
806
|
-
}, "strip", z.ZodTypeAny, {
|
|
807
|
-
compilerOptions: {
|
|
808
|
-
module?: string | undefined;
|
|
809
|
-
moduleResolution?: string | undefined;
|
|
810
|
-
target?: string | undefined;
|
|
811
|
-
lib?: string[] | undefined;
|
|
812
|
-
types?: string[] | undefined;
|
|
813
|
-
typeRoots?: string[] | undefined;
|
|
814
|
-
jsx?: string | undefined;
|
|
815
|
-
strict?: boolean | undefined;
|
|
816
|
-
esModuleInterop?: boolean | undefined;
|
|
817
|
-
skipLibCheck?: boolean | undefined;
|
|
818
|
-
declaration?: boolean | undefined;
|
|
819
|
-
declarationMap?: boolean | undefined;
|
|
820
|
-
paths?: Record<string, string[]> | undefined;
|
|
821
|
-
baseUrl?: string | undefined;
|
|
822
|
-
} & {
|
|
823
|
-
[k: string]: unknown;
|
|
824
|
-
};
|
|
825
|
-
}, {
|
|
826
|
-
compilerOptions: {
|
|
827
|
-
module?: string | undefined;
|
|
828
|
-
moduleResolution?: string | undefined;
|
|
829
|
-
target?: string | undefined;
|
|
830
|
-
lib?: string[] | undefined;
|
|
831
|
-
types?: string[] | undefined;
|
|
832
|
-
typeRoots?: string[] | undefined;
|
|
833
|
-
jsx?: string | undefined;
|
|
834
|
-
strict?: boolean | undefined;
|
|
835
|
-
esModuleInterop?: boolean | undefined;
|
|
836
|
-
skipLibCheck?: boolean | undefined;
|
|
837
|
-
declaration?: boolean | undefined;
|
|
838
|
-
declarationMap?: boolean | undefined;
|
|
839
|
-
paths?: Record<string, string[]> | undefined;
|
|
840
|
-
baseUrl?: string | undefined;
|
|
841
|
-
} & {
|
|
842
|
-
[k: string]: unknown;
|
|
843
|
-
};
|
|
844
|
-
}>;
|
|
845
|
-
extractionConfig: z.ZodOptional<z.ZodObject<{
|
|
846
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
847
|
-
wrapperSymbols: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
848
|
-
machineryIndicators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
849
|
-
originModuleGlobs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
850
|
-
payloadGenericIndex: z.ZodOptional<z.ZodNumber>;
|
|
851
|
-
payloadPropertyPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
852
|
-
unwrapRecursively: z.ZodOptional<z.ZodBoolean>;
|
|
853
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
854
|
-
}, "strip", z.ZodTypeAny, {
|
|
855
|
-
wrapperSymbols?: string[] | undefined;
|
|
856
|
-
machineryIndicators?: string[] | undefined;
|
|
857
|
-
originModuleGlobs?: string[] | undefined;
|
|
858
|
-
payloadGenericIndex?: number | undefined;
|
|
859
|
-
payloadPropertyPath?: string[] | undefined;
|
|
860
|
-
unwrapRecursively?: boolean | undefined;
|
|
861
|
-
maxDepth?: number | undefined;
|
|
862
|
-
}, {
|
|
863
|
-
wrapperSymbols?: string[] | undefined;
|
|
864
|
-
machineryIndicators?: string[] | undefined;
|
|
865
|
-
originModuleGlobs?: string[] | undefined;
|
|
866
|
-
payloadGenericIndex?: number | undefined;
|
|
867
|
-
payloadPropertyPath?: string[] | undefined;
|
|
868
|
-
unwrapRecursively?: boolean | undefined;
|
|
869
|
-
maxDepth?: number | undefined;
|
|
870
|
-
}>, "many">;
|
|
871
|
-
}, "strip", z.ZodTypeAny, {
|
|
872
|
-
rules: {
|
|
873
|
-
wrapperSymbols?: string[] | undefined;
|
|
874
|
-
machineryIndicators?: string[] | undefined;
|
|
875
|
-
originModuleGlobs?: string[] | undefined;
|
|
876
|
-
payloadGenericIndex?: number | undefined;
|
|
877
|
-
payloadPropertyPath?: string[] | undefined;
|
|
878
|
-
unwrapRecursively?: boolean | undefined;
|
|
879
|
-
maxDepth?: number | undefined;
|
|
880
|
-
}[];
|
|
881
|
-
}, {
|
|
882
|
-
rules: {
|
|
883
|
-
wrapperSymbols?: string[] | undefined;
|
|
884
|
-
machineryIndicators?: string[] | undefined;
|
|
885
|
-
originModuleGlobs?: string[] | undefined;
|
|
886
|
-
payloadGenericIndex?: number | undefined;
|
|
887
|
-
payloadPropertyPath?: string[] | undefined;
|
|
888
|
-
unwrapRecursively?: boolean | undefined;
|
|
889
|
-
maxDepth?: number | undefined;
|
|
890
|
-
}[];
|
|
891
|
-
}>>;
|
|
892
|
-
surfaceContent: z.ZodOptional<z.ZodString>;
|
|
893
|
-
}, "strip", z.ZodTypeAny, {
|
|
894
|
-
repoName: string;
|
|
895
|
-
dependencies: Record<string, string>;
|
|
896
|
-
tsconfig: {
|
|
897
|
-
compilerOptions: {
|
|
898
|
-
module?: string | undefined;
|
|
899
|
-
moduleResolution?: string | undefined;
|
|
900
|
-
target?: string | undefined;
|
|
901
|
-
lib?: string[] | undefined;
|
|
902
|
-
types?: string[] | undefined;
|
|
903
|
-
typeRoots?: string[] | undefined;
|
|
904
|
-
jsx?: string | undefined;
|
|
905
|
-
strict?: boolean | undefined;
|
|
906
|
-
esModuleInterop?: boolean | undefined;
|
|
907
|
-
skipLibCheck?: boolean | undefined;
|
|
908
|
-
declaration?: boolean | undefined;
|
|
909
|
-
declarationMap?: boolean | undefined;
|
|
910
|
-
paths?: Record<string, string[]> | undefined;
|
|
911
|
-
baseUrl?: string | undefined;
|
|
912
|
-
} & {
|
|
913
|
-
[k: string]: unknown;
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
extractionConfig?: {
|
|
917
|
-
rules: {
|
|
918
|
-
wrapperSymbols?: string[] | undefined;
|
|
919
|
-
machineryIndicators?: string[] | undefined;
|
|
920
|
-
originModuleGlobs?: string[] | undefined;
|
|
921
|
-
payloadGenericIndex?: number | undefined;
|
|
922
|
-
payloadPropertyPath?: string[] | undefined;
|
|
923
|
-
unwrapRecursively?: boolean | undefined;
|
|
924
|
-
maxDepth?: number | undefined;
|
|
925
|
-
}[];
|
|
926
|
-
} | undefined;
|
|
927
|
-
surfaceContent?: string | undefined;
|
|
928
|
-
}, {
|
|
929
|
-
repoName: string;
|
|
930
|
-
dependencies: Record<string, string>;
|
|
931
|
-
tsconfig: {
|
|
932
|
-
compilerOptions: {
|
|
933
|
-
module?: string | undefined;
|
|
934
|
-
moduleResolution?: string | undefined;
|
|
935
|
-
target?: string | undefined;
|
|
936
|
-
lib?: string[] | undefined;
|
|
937
|
-
types?: string[] | undefined;
|
|
938
|
-
typeRoots?: string[] | undefined;
|
|
939
|
-
jsx?: string | undefined;
|
|
940
|
-
strict?: boolean | undefined;
|
|
941
|
-
esModuleInterop?: boolean | undefined;
|
|
942
|
-
skipLibCheck?: boolean | undefined;
|
|
943
|
-
declaration?: boolean | undefined;
|
|
944
|
-
declarationMap?: boolean | undefined;
|
|
945
|
-
paths?: Record<string, string[]> | undefined;
|
|
946
|
-
baseUrl?: string | undefined;
|
|
947
|
-
} & {
|
|
948
|
-
[k: string]: unknown;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
extractionConfig?: {
|
|
952
|
-
rules: {
|
|
953
|
-
wrapperSymbols?: string[] | undefined;
|
|
954
|
-
machineryIndicators?: string[] | undefined;
|
|
955
|
-
originModuleGlobs?: string[] | undefined;
|
|
956
|
-
payloadGenericIndex?: number | undefined;
|
|
957
|
-
payloadPropertyPath?: string[] | undefined;
|
|
958
|
-
unwrapRecursively?: boolean | undefined;
|
|
959
|
-
maxDepth?: number | undefined;
|
|
960
|
-
}[];
|
|
961
|
-
} | undefined;
|
|
962
|
-
surfaceContent?: string | undefined;
|
|
963
|
-
}>, "many">;
|
|
964
|
-
workspace_root: z.ZodOptional<z.ZodString>;
|
|
965
|
-
}, "strip", z.ZodTypeAny, {
|
|
966
|
-
request_id: string;
|
|
967
|
-
action: "build_workspace";
|
|
968
|
-
repos: {
|
|
969
|
-
repoName: string;
|
|
970
|
-
dependencies: Record<string, string>;
|
|
971
|
-
tsconfig: {
|
|
972
|
-
compilerOptions: {
|
|
973
|
-
module?: string | undefined;
|
|
974
|
-
moduleResolution?: string | undefined;
|
|
975
|
-
target?: string | undefined;
|
|
976
|
-
lib?: string[] | undefined;
|
|
977
|
-
types?: string[] | undefined;
|
|
978
|
-
typeRoots?: string[] | undefined;
|
|
979
|
-
jsx?: string | undefined;
|
|
980
|
-
strict?: boolean | undefined;
|
|
981
|
-
esModuleInterop?: boolean | undefined;
|
|
982
|
-
skipLibCheck?: boolean | undefined;
|
|
983
|
-
declaration?: boolean | undefined;
|
|
984
|
-
declarationMap?: boolean | undefined;
|
|
985
|
-
paths?: Record<string, string[]> | undefined;
|
|
986
|
-
baseUrl?: string | undefined;
|
|
987
|
-
} & {
|
|
988
|
-
[k: string]: unknown;
|
|
989
|
-
};
|
|
990
|
-
};
|
|
991
|
-
extractionConfig?: {
|
|
992
|
-
rules: {
|
|
993
|
-
wrapperSymbols?: string[] | undefined;
|
|
994
|
-
machineryIndicators?: string[] | undefined;
|
|
995
|
-
originModuleGlobs?: string[] | undefined;
|
|
996
|
-
payloadGenericIndex?: number | undefined;
|
|
997
|
-
payloadPropertyPath?: string[] | undefined;
|
|
998
|
-
unwrapRecursively?: boolean | undefined;
|
|
999
|
-
maxDepth?: number | undefined;
|
|
1000
|
-
}[];
|
|
1001
|
-
} | undefined;
|
|
1002
|
-
surfaceContent?: string | undefined;
|
|
1003
|
-
}[];
|
|
1004
|
-
workspace_root?: string | undefined;
|
|
1005
|
-
}, {
|
|
1006
|
-
request_id: string;
|
|
1007
|
-
action: "build_workspace";
|
|
1008
|
-
repos: {
|
|
1009
|
-
repoName: string;
|
|
1010
|
-
dependencies: Record<string, string>;
|
|
1011
|
-
tsconfig: {
|
|
1012
|
-
compilerOptions: {
|
|
1013
|
-
module?: string | undefined;
|
|
1014
|
-
moduleResolution?: string | undefined;
|
|
1015
|
-
target?: string | undefined;
|
|
1016
|
-
lib?: string[] | undefined;
|
|
1017
|
-
types?: string[] | undefined;
|
|
1018
|
-
typeRoots?: string[] | undefined;
|
|
1019
|
-
jsx?: string | undefined;
|
|
1020
|
-
strict?: boolean | undefined;
|
|
1021
|
-
esModuleInterop?: boolean | undefined;
|
|
1022
|
-
skipLibCheck?: boolean | undefined;
|
|
1023
|
-
declaration?: boolean | undefined;
|
|
1024
|
-
declarationMap?: boolean | undefined;
|
|
1025
|
-
paths?: Record<string, string[]> | undefined;
|
|
1026
|
-
baseUrl?: string | undefined;
|
|
1027
|
-
} & {
|
|
1028
|
-
[k: string]: unknown;
|
|
1029
|
-
};
|
|
1030
|
-
};
|
|
1031
|
-
extractionConfig?: {
|
|
1032
|
-
rules: {
|
|
1033
|
-
wrapperSymbols?: string[] | undefined;
|
|
1034
|
-
machineryIndicators?: string[] | undefined;
|
|
1035
|
-
originModuleGlobs?: string[] | undefined;
|
|
1036
|
-
payloadGenericIndex?: number | undefined;
|
|
1037
|
-
payloadPropertyPath?: string[] | undefined;
|
|
1038
|
-
unwrapRecursively?: boolean | undefined;
|
|
1039
|
-
maxDepth?: number | undefined;
|
|
1040
|
-
}[];
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
surfaceContent?: string | undefined;
|
|
1043
|
-
}[];
|
|
1044
|
-
workspace_root?: string | undefined;
|
|
1045
|
-
}>;
|
|
1046
|
-
export declare const CheckCompatibilityRequestSchema: z.ZodObject<{
|
|
1047
|
-
request_id: z.ZodString;
|
|
1048
|
-
} & {
|
|
1049
|
-
action: z.ZodLiteral<"check_compatibility">;
|
|
1050
|
-
workspace_root: z.ZodString;
|
|
1051
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
1052
|
-
source_repo: z.ZodString;
|
|
1053
|
-
source_alias: z.ZodString;
|
|
1054
|
-
target_repo: z.ZodString;
|
|
1055
|
-
target_alias: z.ZodString;
|
|
1056
|
-
direction: z.ZodEnum<["source_extends_target", "target_extends_source", "bidirectional"]>;
|
|
1057
|
-
}, "strip", z.ZodTypeAny, {
|
|
1058
|
-
source_repo: string;
|
|
1059
|
-
source_alias: string;
|
|
1060
|
-
target_repo: string;
|
|
1061
|
-
target_alias: string;
|
|
1062
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
1063
|
-
}, {
|
|
1064
|
-
source_repo: string;
|
|
1065
|
-
source_alias: string;
|
|
1066
|
-
target_repo: string;
|
|
1067
|
-
target_alias: string;
|
|
1068
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
1069
|
-
}>, "many">;
|
|
1070
|
-
}, "strip", z.ZodTypeAny, {
|
|
1071
|
-
request_id: string;
|
|
1072
|
-
action: "check_compatibility";
|
|
1073
|
-
workspace_root: string;
|
|
1074
|
-
checks: {
|
|
1075
|
-
source_repo: string;
|
|
1076
|
-
source_alias: string;
|
|
1077
|
-
target_repo: string;
|
|
1078
|
-
target_alias: string;
|
|
1079
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
1080
|
-
}[];
|
|
1081
|
-
}, {
|
|
1082
|
-
request_id: string;
|
|
1083
|
-
action: "check_compatibility";
|
|
1084
|
-
workspace_root: string;
|
|
1085
|
-
checks: {
|
|
1086
|
-
source_repo: string;
|
|
1087
|
-
source_alias: string;
|
|
1088
|
-
target_repo: string;
|
|
1089
|
-
target_alias: string;
|
|
1090
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
1091
|
-
}[];
|
|
1092
|
-
}>;
|
|
1093
671
|
export declare const HealthRequestSchema: z.ZodObject<{
|
|
1094
672
|
request_id: z.ZodString;
|
|
1095
673
|
} & {
|
|
@@ -1359,6 +937,7 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1359
937
|
}, "strip", z.ZodTypeAny, {
|
|
1360
938
|
request_id: string;
|
|
1361
939
|
action: "verify_client_semantics";
|
|
940
|
+
from_dir: string;
|
|
1362
941
|
checks: {
|
|
1363
942
|
export: string;
|
|
1364
943
|
claim_id: string;
|
|
@@ -1392,11 +971,11 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1392
971
|
url_key?: string | undefined;
|
|
1393
972
|
};
|
|
1394
973
|
}[];
|
|
1395
|
-
from_dir: string;
|
|
1396
974
|
budget_ms?: number | undefined;
|
|
1397
975
|
}, {
|
|
1398
976
|
request_id: string;
|
|
1399
977
|
action: "verify_client_semantics";
|
|
978
|
+
from_dir: string;
|
|
1400
979
|
checks: {
|
|
1401
980
|
export: string;
|
|
1402
981
|
claim_id: string;
|
|
@@ -1430,7 +1009,6 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1430
1009
|
url_key?: string | undefined;
|
|
1431
1010
|
};
|
|
1432
1011
|
}[];
|
|
1433
|
-
from_dir: string;
|
|
1434
1012
|
budget_ms?: number | undefined;
|
|
1435
1013
|
}>;
|
|
1436
1014
|
export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
@@ -2002,6 +1580,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
2002
1580
|
}, "strip", z.ZodTypeAny, {
|
|
2003
1581
|
request_id: string;
|
|
2004
1582
|
action: "verify_library_claims";
|
|
1583
|
+
from_dir: string;
|
|
2005
1584
|
checks: {
|
|
2006
1585
|
export: string;
|
|
2007
1586
|
claim_id: string;
|
|
@@ -2100,11 +1679,11 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
2100
1679
|
};
|
|
2101
1680
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
2102
1681
|
}[];
|
|
2103
|
-
from_dir: string;
|
|
2104
1682
|
budget_ms?: number | null | undefined;
|
|
2105
1683
|
}, {
|
|
2106
1684
|
request_id: string;
|
|
2107
1685
|
action: "verify_library_claims";
|
|
1686
|
+
from_dir: string;
|
|
2108
1687
|
checks: {
|
|
2109
1688
|
export: string;
|
|
2110
1689
|
claim_id: string;
|
|
@@ -2203,7 +1782,6 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
2203
1782
|
};
|
|
2204
1783
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
2205
1784
|
}[];
|
|
2206
|
-
from_dir: string;
|
|
2207
1785
|
budget_ms?: number | null | undefined;
|
|
2208
1786
|
}>;
|
|
2209
1787
|
export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
|
|
@@ -2238,6 +1816,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2238
1816
|
action: z.ZodLiteral<"init">;
|
|
2239
1817
|
repo_root: z.ZodString;
|
|
2240
1818
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
1819
|
+
scan_root: z.ZodOptional<z.ZodString>;
|
|
2241
1820
|
tsconfig_snapshot: z.ZodOptional<z.ZodObject<{
|
|
2242
1821
|
compilerOptions: z.ZodObject<{
|
|
2243
1822
|
module: z.ZodOptional<z.ZodString>;
|
|
@@ -2330,6 +1909,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2330
1909
|
action: "init";
|
|
2331
1910
|
repo_root: string;
|
|
2332
1911
|
tsconfig_path?: string | undefined;
|
|
1912
|
+
scan_root?: string | undefined;
|
|
2333
1913
|
tsconfig_snapshot?: {
|
|
2334
1914
|
compilerOptions: {
|
|
2335
1915
|
module?: string | undefined;
|
|
@@ -2356,6 +1936,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2356
1936
|
action: "init";
|
|
2357
1937
|
repo_root: string;
|
|
2358
1938
|
tsconfig_path?: string | undefined;
|
|
1939
|
+
scan_root?: string | undefined;
|
|
2359
1940
|
tsconfig_snapshot?: {
|
|
2360
1941
|
compilerOptions: {
|
|
2361
1942
|
module?: string | undefined;
|
|
@@ -2387,13 +1968,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2387
1968
|
alias: z.ZodOptional<z.ZodString>;
|
|
2388
1969
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2389
1970
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
source_file: string;
|
|
2391
1971
|
symbol_name: string;
|
|
1972
|
+
source_file: string;
|
|
2392
1973
|
alias?: string | undefined;
|
|
2393
1974
|
array_depth?: number | undefined;
|
|
2394
1975
|
}, {
|
|
2395
|
-
source_file: string;
|
|
2396
1976
|
symbol_name: string;
|
|
1977
|
+
source_file: string;
|
|
2397
1978
|
alias?: string | undefined;
|
|
2398
1979
|
array_depth?: number | undefined;
|
|
2399
1980
|
}>, "many">;
|
|
@@ -2401,8 +1982,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2401
1982
|
request_id: string;
|
|
2402
1983
|
action: "bundle";
|
|
2403
1984
|
symbols: {
|
|
2404
|
-
source_file: string;
|
|
2405
1985
|
symbol_name: string;
|
|
1986
|
+
source_file: string;
|
|
2406
1987
|
alias?: string | undefined;
|
|
2407
1988
|
array_depth?: number | undefined;
|
|
2408
1989
|
}[];
|
|
@@ -2410,99 +1991,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2410
1991
|
request_id: string;
|
|
2411
1992
|
action: "bundle";
|
|
2412
1993
|
symbols: {
|
|
2413
|
-
source_file: string;
|
|
2414
1994
|
symbol_name: string;
|
|
1995
|
+
source_file: string;
|
|
2415
1996
|
alias?: string | undefined;
|
|
2416
1997
|
array_depth?: number | undefined;
|
|
2417
1998
|
}[];
|
|
2418
1999
|
}>, z.ZodObject<{
|
|
2419
2000
|
request_id: z.ZodString;
|
|
2420
|
-
} & {
|
|
2421
|
-
action: z.ZodLiteral<"emit_surface">;
|
|
2422
|
-
repo_name: z.ZodString;
|
|
2423
|
-
payloads: z.ZodArray<z.ZodObject<{
|
|
2424
|
-
alias: z.ZodString;
|
|
2425
|
-
type_string: z.ZodString;
|
|
2426
|
-
source_file: z.ZodOptional<z.ZodString>;
|
|
2427
|
-
source_location: z.ZodOptional<z.ZodObject<{
|
|
2428
|
-
file_path: z.ZodString;
|
|
2429
|
-
start_line: z.ZodNumber;
|
|
2430
|
-
end_line: z.ZodNumber;
|
|
2431
|
-
start_column: z.ZodOptional<z.ZodNumber>;
|
|
2432
|
-
end_column: z.ZodOptional<z.ZodNumber>;
|
|
2433
|
-
}, "strip", z.ZodTypeAny, {
|
|
2434
|
-
file_path: string;
|
|
2435
|
-
start_line: number;
|
|
2436
|
-
end_line: number;
|
|
2437
|
-
start_column?: number | undefined;
|
|
2438
|
-
end_column?: number | undefined;
|
|
2439
|
-
}, {
|
|
2440
|
-
file_path: string;
|
|
2441
|
-
start_line: number;
|
|
2442
|
-
end_line: number;
|
|
2443
|
-
start_column?: number | undefined;
|
|
2444
|
-
end_column?: number | undefined;
|
|
2445
|
-
}>>;
|
|
2446
|
-
}, "strip", z.ZodTypeAny, {
|
|
2447
|
-
alias: string;
|
|
2448
|
-
type_string: string;
|
|
2449
|
-
source_file?: string | undefined;
|
|
2450
|
-
source_location?: {
|
|
2451
|
-
file_path: string;
|
|
2452
|
-
start_line: number;
|
|
2453
|
-
end_line: number;
|
|
2454
|
-
start_column?: number | undefined;
|
|
2455
|
-
end_column?: number | undefined;
|
|
2456
|
-
} | undefined;
|
|
2457
|
-
}, {
|
|
2458
|
-
alias: string;
|
|
2459
|
-
type_string: string;
|
|
2460
|
-
source_file?: string | undefined;
|
|
2461
|
-
source_location?: {
|
|
2462
|
-
file_path: string;
|
|
2463
|
-
start_line: number;
|
|
2464
|
-
end_line: number;
|
|
2465
|
-
start_column?: number | undefined;
|
|
2466
|
-
end_column?: number | undefined;
|
|
2467
|
-
} | undefined;
|
|
2468
|
-
}>, "many">;
|
|
2469
|
-
output_path: z.ZodString;
|
|
2470
|
-
}, "strip", z.ZodTypeAny, {
|
|
2471
|
-
request_id: string;
|
|
2472
|
-
action: "emit_surface";
|
|
2473
|
-
repo_name: string;
|
|
2474
|
-
payloads: {
|
|
2475
|
-
alias: string;
|
|
2476
|
-
type_string: string;
|
|
2477
|
-
source_file?: string | undefined;
|
|
2478
|
-
source_location?: {
|
|
2479
|
-
file_path: string;
|
|
2480
|
-
start_line: number;
|
|
2481
|
-
end_line: number;
|
|
2482
|
-
start_column?: number | undefined;
|
|
2483
|
-
end_column?: number | undefined;
|
|
2484
|
-
} | undefined;
|
|
2485
|
-
}[];
|
|
2486
|
-
output_path: string;
|
|
2487
|
-
}, {
|
|
2488
|
-
request_id: string;
|
|
2489
|
-
action: "emit_surface";
|
|
2490
|
-
repo_name: string;
|
|
2491
|
-
payloads: {
|
|
2492
|
-
alias: string;
|
|
2493
|
-
type_string: string;
|
|
2494
|
-
source_file?: string | undefined;
|
|
2495
|
-
source_location?: {
|
|
2496
|
-
file_path: string;
|
|
2497
|
-
start_line: number;
|
|
2498
|
-
end_line: number;
|
|
2499
|
-
start_column?: number | undefined;
|
|
2500
|
-
end_column?: number | undefined;
|
|
2501
|
-
} | undefined;
|
|
2502
|
-
}[];
|
|
2503
|
-
output_path: string;
|
|
2504
|
-
}>, z.ZodObject<{
|
|
2505
|
-
request_id: z.ZodString;
|
|
2506
2001
|
} & {
|
|
2507
2002
|
action: z.ZodLiteral<"capture_v2">;
|
|
2508
2003
|
repo_root: z.ZodString;
|
|
@@ -2516,16 +2011,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2516
2011
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2517
2012
|
}, "strip", z.ZodTypeAny, {
|
|
2518
2013
|
kind: "symbol";
|
|
2519
|
-
alias: string;
|
|
2520
|
-
source_file: string;
|
|
2521
2014
|
symbol_name: string;
|
|
2015
|
+
source_file: string;
|
|
2016
|
+
alias: string;
|
|
2522
2017
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2523
2018
|
array_depth?: number | undefined;
|
|
2524
2019
|
}, {
|
|
2525
2020
|
kind: "symbol";
|
|
2526
|
-
alias: string;
|
|
2527
|
-
source_file: string;
|
|
2528
2021
|
symbol_name: string;
|
|
2022
|
+
source_file: string;
|
|
2023
|
+
alias: string;
|
|
2529
2024
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2530
2025
|
array_depth?: number | undefined;
|
|
2531
2026
|
}>, z.ZodObject<{
|
|
@@ -2536,15 +2031,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2536
2031
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
2537
2032
|
}, "strip", z.ZodTypeAny, {
|
|
2538
2033
|
kind: "handler_return";
|
|
2539
|
-
alias: string;
|
|
2540
|
-
source_file: string;
|
|
2541
2034
|
symbol_name: string;
|
|
2035
|
+
source_file: string;
|
|
2036
|
+
alias: string;
|
|
2542
2037
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2543
2038
|
}, {
|
|
2544
2039
|
kind: "handler_return";
|
|
2545
|
-
alias: string;
|
|
2546
|
-
source_file: string;
|
|
2547
2040
|
symbol_name: string;
|
|
2041
|
+
source_file: string;
|
|
2042
|
+
alias: string;
|
|
2548
2043
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2549
2044
|
}>, z.ZodObject<{
|
|
2550
2045
|
kind: z.ZodLiteral<"infer">;
|
|
@@ -2558,8 +2053,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2558
2053
|
unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
|
|
2559
2054
|
}, "strip", z.ZodTypeAny, {
|
|
2560
2055
|
kind: "infer";
|
|
2561
|
-
alias: string;
|
|
2562
2056
|
source_file: string;
|
|
2057
|
+
alias: string;
|
|
2563
2058
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2564
2059
|
line_number?: number | undefined;
|
|
2565
2060
|
span_start?: number | undefined;
|
|
@@ -2568,8 +2063,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2568
2063
|
unwrap?: "awaited" | "none" | undefined;
|
|
2569
2064
|
}, {
|
|
2570
2065
|
kind: "infer";
|
|
2571
|
-
alias: string;
|
|
2572
2066
|
source_file: string;
|
|
2067
|
+
alias: string;
|
|
2573
2068
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2574
2069
|
line_number?: number | undefined;
|
|
2575
2070
|
span_start?: number | undefined;
|
|
@@ -2597,6 +2092,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2597
2092
|
}>]>, "many">;
|
|
2598
2093
|
out_dir: z.ZodString;
|
|
2599
2094
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
2095
|
+
scan_root: z.ZodOptional<z.ZodString>;
|
|
2600
2096
|
}, "strip", z.ZodTypeAny, {
|
|
2601
2097
|
request_id: string;
|
|
2602
2098
|
action: "capture_v2";
|
|
@@ -2604,21 +2100,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2604
2100
|
service_name: string;
|
|
2605
2101
|
anchors: ({
|
|
2606
2102
|
kind: "symbol";
|
|
2607
|
-
alias: string;
|
|
2608
|
-
source_file: string;
|
|
2609
2103
|
symbol_name: string;
|
|
2104
|
+
source_file: string;
|
|
2105
|
+
alias: string;
|
|
2610
2106
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2611
2107
|
array_depth?: number | undefined;
|
|
2612
2108
|
} | {
|
|
2613
2109
|
kind: "handler_return";
|
|
2614
|
-
alias: string;
|
|
2615
|
-
source_file: string;
|
|
2616
2110
|
symbol_name: string;
|
|
2111
|
+
source_file: string;
|
|
2112
|
+
alias: string;
|
|
2617
2113
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2618
2114
|
} | {
|
|
2619
2115
|
kind: "infer";
|
|
2620
|
-
alias: string;
|
|
2621
2116
|
source_file: string;
|
|
2117
|
+
alias: string;
|
|
2622
2118
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2623
2119
|
line_number?: number | undefined;
|
|
2624
2120
|
span_start?: number | undefined;
|
|
@@ -2634,6 +2130,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2634
2130
|
})[];
|
|
2635
2131
|
out_dir: string;
|
|
2636
2132
|
tsconfig_path?: string | undefined;
|
|
2133
|
+
scan_root?: string | undefined;
|
|
2637
2134
|
}, {
|
|
2638
2135
|
request_id: string;
|
|
2639
2136
|
action: "capture_v2";
|
|
@@ -2641,21 +2138,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2641
2138
|
service_name: string;
|
|
2642
2139
|
anchors: ({
|
|
2643
2140
|
kind: "symbol";
|
|
2644
|
-
alias: string;
|
|
2645
|
-
source_file: string;
|
|
2646
2141
|
symbol_name: string;
|
|
2142
|
+
source_file: string;
|
|
2143
|
+
alias: string;
|
|
2647
2144
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2648
2145
|
array_depth?: number | undefined;
|
|
2649
2146
|
} | {
|
|
2650
2147
|
kind: "handler_return";
|
|
2651
|
-
alias: string;
|
|
2652
|
-
source_file: string;
|
|
2653
2148
|
symbol_name: string;
|
|
2149
|
+
source_file: string;
|
|
2150
|
+
alias: string;
|
|
2654
2151
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2655
2152
|
} | {
|
|
2656
2153
|
kind: "infer";
|
|
2657
|
-
alias: string;
|
|
2658
2154
|
source_file: string;
|
|
2155
|
+
alias: string;
|
|
2659
2156
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2660
2157
|
line_number?: number | undefined;
|
|
2661
2158
|
span_start?: number | undefined;
|
|
@@ -2671,6 +2168,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2671
2168
|
})[];
|
|
2672
2169
|
out_dir: string;
|
|
2673
2170
|
tsconfig_path?: string | undefined;
|
|
2171
|
+
scan_root?: string | undefined;
|
|
2674
2172
|
}>, z.ZodObject<{
|
|
2675
2173
|
request_id: z.ZodString;
|
|
2676
2174
|
} & {
|
|
@@ -2914,345 +2412,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2914
2412
|
} | undefined;
|
|
2915
2413
|
}>, z.ZodObject<{
|
|
2916
2414
|
request_id: z.ZodString;
|
|
2917
|
-
} & {
|
|
2918
|
-
action: z.ZodLiteral<"build_workspace">;
|
|
2919
|
-
repos: z.ZodArray<z.ZodObject<{
|
|
2920
|
-
repoName: z.ZodString;
|
|
2921
|
-
dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2922
|
-
tsconfig: z.ZodObject<{
|
|
2923
|
-
compilerOptions: z.ZodObject<{
|
|
2924
|
-
module: z.ZodOptional<z.ZodString>;
|
|
2925
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
2926
|
-
target: z.ZodOptional<z.ZodString>;
|
|
2927
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2928
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2929
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2930
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
2931
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
2932
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
2933
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
2934
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
2935
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
2936
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
2937
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2938
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2939
|
-
module: z.ZodOptional<z.ZodString>;
|
|
2940
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
2941
|
-
target: z.ZodOptional<z.ZodString>;
|
|
2942
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2943
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2944
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2945
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
2946
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
2947
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
2948
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
2949
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
2950
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
2951
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
2952
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2953
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2954
|
-
module: z.ZodOptional<z.ZodString>;
|
|
2955
|
-
moduleResolution: z.ZodOptional<z.ZodString>;
|
|
2956
|
-
target: z.ZodOptional<z.ZodString>;
|
|
2957
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2958
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2959
|
-
typeRoots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2960
|
-
jsx: z.ZodOptional<z.ZodString>;
|
|
2961
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
2962
|
-
esModuleInterop: z.ZodOptional<z.ZodBoolean>;
|
|
2963
|
-
skipLibCheck: z.ZodOptional<z.ZodBoolean>;
|
|
2964
|
-
declaration: z.ZodOptional<z.ZodBoolean>;
|
|
2965
|
-
declarationMap: z.ZodOptional<z.ZodBoolean>;
|
|
2966
|
-
paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
2967
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2968
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2969
|
-
}, "strip", z.ZodTypeAny, {
|
|
2970
|
-
compilerOptions: {
|
|
2971
|
-
module?: string | undefined;
|
|
2972
|
-
moduleResolution?: string | undefined;
|
|
2973
|
-
target?: string | undefined;
|
|
2974
|
-
lib?: string[] | undefined;
|
|
2975
|
-
types?: string[] | undefined;
|
|
2976
|
-
typeRoots?: string[] | undefined;
|
|
2977
|
-
jsx?: string | undefined;
|
|
2978
|
-
strict?: boolean | undefined;
|
|
2979
|
-
esModuleInterop?: boolean | undefined;
|
|
2980
|
-
skipLibCheck?: boolean | undefined;
|
|
2981
|
-
declaration?: boolean | undefined;
|
|
2982
|
-
declarationMap?: boolean | undefined;
|
|
2983
|
-
paths?: Record<string, string[]> | undefined;
|
|
2984
|
-
baseUrl?: string | undefined;
|
|
2985
|
-
} & {
|
|
2986
|
-
[k: string]: unknown;
|
|
2987
|
-
};
|
|
2988
|
-
}, {
|
|
2989
|
-
compilerOptions: {
|
|
2990
|
-
module?: string | undefined;
|
|
2991
|
-
moduleResolution?: string | undefined;
|
|
2992
|
-
target?: string | undefined;
|
|
2993
|
-
lib?: string[] | undefined;
|
|
2994
|
-
types?: string[] | undefined;
|
|
2995
|
-
typeRoots?: string[] | undefined;
|
|
2996
|
-
jsx?: string | undefined;
|
|
2997
|
-
strict?: boolean | undefined;
|
|
2998
|
-
esModuleInterop?: boolean | undefined;
|
|
2999
|
-
skipLibCheck?: boolean | undefined;
|
|
3000
|
-
declaration?: boolean | undefined;
|
|
3001
|
-
declarationMap?: boolean | undefined;
|
|
3002
|
-
paths?: Record<string, string[]> | undefined;
|
|
3003
|
-
baseUrl?: string | undefined;
|
|
3004
|
-
} & {
|
|
3005
|
-
[k: string]: unknown;
|
|
3006
|
-
};
|
|
3007
|
-
}>;
|
|
3008
|
-
extractionConfig: z.ZodOptional<z.ZodObject<{
|
|
3009
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
3010
|
-
wrapperSymbols: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3011
|
-
machineryIndicators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3012
|
-
originModuleGlobs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3013
|
-
payloadGenericIndex: z.ZodOptional<z.ZodNumber>;
|
|
3014
|
-
payloadPropertyPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3015
|
-
unwrapRecursively: z.ZodOptional<z.ZodBoolean>;
|
|
3016
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
3017
|
-
}, "strip", z.ZodTypeAny, {
|
|
3018
|
-
wrapperSymbols?: string[] | undefined;
|
|
3019
|
-
machineryIndicators?: string[] | undefined;
|
|
3020
|
-
originModuleGlobs?: string[] | undefined;
|
|
3021
|
-
payloadGenericIndex?: number | undefined;
|
|
3022
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3023
|
-
unwrapRecursively?: boolean | undefined;
|
|
3024
|
-
maxDepth?: number | undefined;
|
|
3025
|
-
}, {
|
|
3026
|
-
wrapperSymbols?: string[] | undefined;
|
|
3027
|
-
machineryIndicators?: string[] | undefined;
|
|
3028
|
-
originModuleGlobs?: string[] | undefined;
|
|
3029
|
-
payloadGenericIndex?: number | undefined;
|
|
3030
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3031
|
-
unwrapRecursively?: boolean | undefined;
|
|
3032
|
-
maxDepth?: number | undefined;
|
|
3033
|
-
}>, "many">;
|
|
3034
|
-
}, "strip", z.ZodTypeAny, {
|
|
3035
|
-
rules: {
|
|
3036
|
-
wrapperSymbols?: string[] | undefined;
|
|
3037
|
-
machineryIndicators?: string[] | undefined;
|
|
3038
|
-
originModuleGlobs?: string[] | undefined;
|
|
3039
|
-
payloadGenericIndex?: number | undefined;
|
|
3040
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3041
|
-
unwrapRecursively?: boolean | undefined;
|
|
3042
|
-
maxDepth?: number | undefined;
|
|
3043
|
-
}[];
|
|
3044
|
-
}, {
|
|
3045
|
-
rules: {
|
|
3046
|
-
wrapperSymbols?: string[] | undefined;
|
|
3047
|
-
machineryIndicators?: string[] | undefined;
|
|
3048
|
-
originModuleGlobs?: string[] | undefined;
|
|
3049
|
-
payloadGenericIndex?: number | undefined;
|
|
3050
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3051
|
-
unwrapRecursively?: boolean | undefined;
|
|
3052
|
-
maxDepth?: number | undefined;
|
|
3053
|
-
}[];
|
|
3054
|
-
}>>;
|
|
3055
|
-
surfaceContent: z.ZodOptional<z.ZodString>;
|
|
3056
|
-
}, "strip", z.ZodTypeAny, {
|
|
3057
|
-
repoName: string;
|
|
3058
|
-
dependencies: Record<string, string>;
|
|
3059
|
-
tsconfig: {
|
|
3060
|
-
compilerOptions: {
|
|
3061
|
-
module?: string | undefined;
|
|
3062
|
-
moduleResolution?: string | undefined;
|
|
3063
|
-
target?: string | undefined;
|
|
3064
|
-
lib?: string[] | undefined;
|
|
3065
|
-
types?: string[] | undefined;
|
|
3066
|
-
typeRoots?: string[] | undefined;
|
|
3067
|
-
jsx?: string | undefined;
|
|
3068
|
-
strict?: boolean | undefined;
|
|
3069
|
-
esModuleInterop?: boolean | undefined;
|
|
3070
|
-
skipLibCheck?: boolean | undefined;
|
|
3071
|
-
declaration?: boolean | undefined;
|
|
3072
|
-
declarationMap?: boolean | undefined;
|
|
3073
|
-
paths?: Record<string, string[]> | undefined;
|
|
3074
|
-
baseUrl?: string | undefined;
|
|
3075
|
-
} & {
|
|
3076
|
-
[k: string]: unknown;
|
|
3077
|
-
};
|
|
3078
|
-
};
|
|
3079
|
-
extractionConfig?: {
|
|
3080
|
-
rules: {
|
|
3081
|
-
wrapperSymbols?: string[] | undefined;
|
|
3082
|
-
machineryIndicators?: string[] | undefined;
|
|
3083
|
-
originModuleGlobs?: string[] | undefined;
|
|
3084
|
-
payloadGenericIndex?: number | undefined;
|
|
3085
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3086
|
-
unwrapRecursively?: boolean | undefined;
|
|
3087
|
-
maxDepth?: number | undefined;
|
|
3088
|
-
}[];
|
|
3089
|
-
} | undefined;
|
|
3090
|
-
surfaceContent?: string | undefined;
|
|
3091
|
-
}, {
|
|
3092
|
-
repoName: string;
|
|
3093
|
-
dependencies: Record<string, string>;
|
|
3094
|
-
tsconfig: {
|
|
3095
|
-
compilerOptions: {
|
|
3096
|
-
module?: string | undefined;
|
|
3097
|
-
moduleResolution?: string | undefined;
|
|
3098
|
-
target?: string | undefined;
|
|
3099
|
-
lib?: string[] | undefined;
|
|
3100
|
-
types?: string[] | undefined;
|
|
3101
|
-
typeRoots?: string[] | undefined;
|
|
3102
|
-
jsx?: string | undefined;
|
|
3103
|
-
strict?: boolean | undefined;
|
|
3104
|
-
esModuleInterop?: boolean | undefined;
|
|
3105
|
-
skipLibCheck?: boolean | undefined;
|
|
3106
|
-
declaration?: boolean | undefined;
|
|
3107
|
-
declarationMap?: boolean | undefined;
|
|
3108
|
-
paths?: Record<string, string[]> | undefined;
|
|
3109
|
-
baseUrl?: string | undefined;
|
|
3110
|
-
} & {
|
|
3111
|
-
[k: string]: unknown;
|
|
3112
|
-
};
|
|
3113
|
-
};
|
|
3114
|
-
extractionConfig?: {
|
|
3115
|
-
rules: {
|
|
3116
|
-
wrapperSymbols?: string[] | undefined;
|
|
3117
|
-
machineryIndicators?: string[] | undefined;
|
|
3118
|
-
originModuleGlobs?: string[] | undefined;
|
|
3119
|
-
payloadGenericIndex?: number | undefined;
|
|
3120
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3121
|
-
unwrapRecursively?: boolean | undefined;
|
|
3122
|
-
maxDepth?: number | undefined;
|
|
3123
|
-
}[];
|
|
3124
|
-
} | undefined;
|
|
3125
|
-
surfaceContent?: string | undefined;
|
|
3126
|
-
}>, "many">;
|
|
3127
|
-
workspace_root: z.ZodOptional<z.ZodString>;
|
|
3128
|
-
}, "strip", z.ZodTypeAny, {
|
|
3129
|
-
request_id: string;
|
|
3130
|
-
action: "build_workspace";
|
|
3131
|
-
repos: {
|
|
3132
|
-
repoName: string;
|
|
3133
|
-
dependencies: Record<string, string>;
|
|
3134
|
-
tsconfig: {
|
|
3135
|
-
compilerOptions: {
|
|
3136
|
-
module?: string | undefined;
|
|
3137
|
-
moduleResolution?: string | undefined;
|
|
3138
|
-
target?: string | undefined;
|
|
3139
|
-
lib?: string[] | undefined;
|
|
3140
|
-
types?: string[] | undefined;
|
|
3141
|
-
typeRoots?: string[] | undefined;
|
|
3142
|
-
jsx?: string | undefined;
|
|
3143
|
-
strict?: boolean | undefined;
|
|
3144
|
-
esModuleInterop?: boolean | undefined;
|
|
3145
|
-
skipLibCheck?: boolean | undefined;
|
|
3146
|
-
declaration?: boolean | undefined;
|
|
3147
|
-
declarationMap?: boolean | undefined;
|
|
3148
|
-
paths?: Record<string, string[]> | undefined;
|
|
3149
|
-
baseUrl?: string | undefined;
|
|
3150
|
-
} & {
|
|
3151
|
-
[k: string]: unknown;
|
|
3152
|
-
};
|
|
3153
|
-
};
|
|
3154
|
-
extractionConfig?: {
|
|
3155
|
-
rules: {
|
|
3156
|
-
wrapperSymbols?: string[] | undefined;
|
|
3157
|
-
machineryIndicators?: string[] | undefined;
|
|
3158
|
-
originModuleGlobs?: string[] | undefined;
|
|
3159
|
-
payloadGenericIndex?: number | undefined;
|
|
3160
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3161
|
-
unwrapRecursively?: boolean | undefined;
|
|
3162
|
-
maxDepth?: number | undefined;
|
|
3163
|
-
}[];
|
|
3164
|
-
} | undefined;
|
|
3165
|
-
surfaceContent?: string | undefined;
|
|
3166
|
-
}[];
|
|
3167
|
-
workspace_root?: string | undefined;
|
|
3168
|
-
}, {
|
|
3169
|
-
request_id: string;
|
|
3170
|
-
action: "build_workspace";
|
|
3171
|
-
repos: {
|
|
3172
|
-
repoName: string;
|
|
3173
|
-
dependencies: Record<string, string>;
|
|
3174
|
-
tsconfig: {
|
|
3175
|
-
compilerOptions: {
|
|
3176
|
-
module?: string | undefined;
|
|
3177
|
-
moduleResolution?: string | undefined;
|
|
3178
|
-
target?: string | undefined;
|
|
3179
|
-
lib?: string[] | undefined;
|
|
3180
|
-
types?: string[] | undefined;
|
|
3181
|
-
typeRoots?: string[] | undefined;
|
|
3182
|
-
jsx?: string | undefined;
|
|
3183
|
-
strict?: boolean | undefined;
|
|
3184
|
-
esModuleInterop?: boolean | undefined;
|
|
3185
|
-
skipLibCheck?: boolean | undefined;
|
|
3186
|
-
declaration?: boolean | undefined;
|
|
3187
|
-
declarationMap?: boolean | undefined;
|
|
3188
|
-
paths?: Record<string, string[]> | undefined;
|
|
3189
|
-
baseUrl?: string | undefined;
|
|
3190
|
-
} & {
|
|
3191
|
-
[k: string]: unknown;
|
|
3192
|
-
};
|
|
3193
|
-
};
|
|
3194
|
-
extractionConfig?: {
|
|
3195
|
-
rules: {
|
|
3196
|
-
wrapperSymbols?: string[] | undefined;
|
|
3197
|
-
machineryIndicators?: string[] | undefined;
|
|
3198
|
-
originModuleGlobs?: string[] | undefined;
|
|
3199
|
-
payloadGenericIndex?: number | undefined;
|
|
3200
|
-
payloadPropertyPath?: string[] | undefined;
|
|
3201
|
-
unwrapRecursively?: boolean | undefined;
|
|
3202
|
-
maxDepth?: number | undefined;
|
|
3203
|
-
}[];
|
|
3204
|
-
} | undefined;
|
|
3205
|
-
surfaceContent?: string | undefined;
|
|
3206
|
-
}[];
|
|
3207
|
-
workspace_root?: string | undefined;
|
|
3208
|
-
}>, z.ZodObject<{
|
|
3209
|
-
request_id: z.ZodString;
|
|
3210
|
-
} & {
|
|
3211
|
-
action: z.ZodLiteral<"check_compatibility">;
|
|
3212
|
-
workspace_root: z.ZodString;
|
|
3213
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
3214
|
-
source_repo: z.ZodString;
|
|
3215
|
-
source_alias: z.ZodString;
|
|
3216
|
-
target_repo: z.ZodString;
|
|
3217
|
-
target_alias: z.ZodString;
|
|
3218
|
-
direction: z.ZodEnum<["source_extends_target", "target_extends_source", "bidirectional"]>;
|
|
3219
|
-
}, "strip", z.ZodTypeAny, {
|
|
3220
|
-
source_repo: string;
|
|
3221
|
-
source_alias: string;
|
|
3222
|
-
target_repo: string;
|
|
3223
|
-
target_alias: string;
|
|
3224
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
3225
|
-
}, {
|
|
3226
|
-
source_repo: string;
|
|
3227
|
-
source_alias: string;
|
|
3228
|
-
target_repo: string;
|
|
3229
|
-
target_alias: string;
|
|
3230
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
3231
|
-
}>, "many">;
|
|
3232
|
-
}, "strip", z.ZodTypeAny, {
|
|
3233
|
-
request_id: string;
|
|
3234
|
-
action: "check_compatibility";
|
|
3235
|
-
workspace_root: string;
|
|
3236
|
-
checks: {
|
|
3237
|
-
source_repo: string;
|
|
3238
|
-
source_alias: string;
|
|
3239
|
-
target_repo: string;
|
|
3240
|
-
target_alias: string;
|
|
3241
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
3242
|
-
}[];
|
|
3243
|
-
}, {
|
|
3244
|
-
request_id: string;
|
|
3245
|
-
action: "check_compatibility";
|
|
3246
|
-
workspace_root: string;
|
|
3247
|
-
checks: {
|
|
3248
|
-
source_repo: string;
|
|
3249
|
-
source_alias: string;
|
|
3250
|
-
target_repo: string;
|
|
3251
|
-
target_alias: string;
|
|
3252
|
-
direction: "source_extends_target" | "target_extends_source" | "bidirectional";
|
|
3253
|
-
}[];
|
|
3254
|
-
}>, z.ZodObject<{
|
|
3255
|
-
request_id: z.ZodString;
|
|
3256
2415
|
} & {
|
|
3257
2416
|
action: z.ZodLiteral<"resolve_definitions">;
|
|
3258
2417
|
stub_dir: z.ZodString;
|
|
@@ -3496,6 +2655,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3496
2655
|
}, "strip", z.ZodTypeAny, {
|
|
3497
2656
|
request_id: string;
|
|
3498
2657
|
action: "verify_client_semantics";
|
|
2658
|
+
from_dir: string;
|
|
3499
2659
|
checks: {
|
|
3500
2660
|
export: string;
|
|
3501
2661
|
claim_id: string;
|
|
@@ -3529,11 +2689,11 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3529
2689
|
url_key?: string | undefined;
|
|
3530
2690
|
};
|
|
3531
2691
|
}[];
|
|
3532
|
-
from_dir: string;
|
|
3533
2692
|
budget_ms?: number | undefined;
|
|
3534
2693
|
}, {
|
|
3535
2694
|
request_id: string;
|
|
3536
2695
|
action: "verify_client_semantics";
|
|
2696
|
+
from_dir: string;
|
|
3537
2697
|
checks: {
|
|
3538
2698
|
export: string;
|
|
3539
2699
|
claim_id: string;
|
|
@@ -3567,7 +2727,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3567
2727
|
url_key?: string | undefined;
|
|
3568
2728
|
};
|
|
3569
2729
|
}[];
|
|
3570
|
-
from_dir: string;
|
|
3571
2730
|
budget_ms?: number | undefined;
|
|
3572
2731
|
}>, z.ZodObject<{
|
|
3573
2732
|
request_id: z.ZodString;
|
|
@@ -4138,6 +3297,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4138
3297
|
}, "strip", z.ZodTypeAny, {
|
|
4139
3298
|
request_id: string;
|
|
4140
3299
|
action: "verify_library_claims";
|
|
3300
|
+
from_dir: string;
|
|
4141
3301
|
checks: {
|
|
4142
3302
|
export: string;
|
|
4143
3303
|
claim_id: string;
|
|
@@ -4236,11 +3396,11 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4236
3396
|
};
|
|
4237
3397
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
4238
3398
|
}[];
|
|
4239
|
-
from_dir: string;
|
|
4240
3399
|
budget_ms?: number | null | undefined;
|
|
4241
3400
|
}, {
|
|
4242
3401
|
request_id: string;
|
|
4243
3402
|
action: "verify_library_claims";
|
|
3403
|
+
from_dir: string;
|
|
4244
3404
|
checks: {
|
|
4245
3405
|
export: string;
|
|
4246
3406
|
claim_id: string;
|
|
@@ -4339,7 +3499,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4339
3499
|
};
|
|
4340
3500
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
4341
3501
|
}[];
|
|
4342
|
-
from_dir: string;
|
|
4343
3502
|
budget_ms?: number | null | undefined;
|
|
4344
3503
|
}>, z.ZodObject<{
|
|
4345
3504
|
request_id: z.ZodString;
|
|
@@ -4411,10 +3570,7 @@ export declare function parseRequest(json: unknown): ParseResult;
|
|
|
4411
3570
|
export declare function parseRequestOrThrow(json: unknown): SidecarRequest;
|
|
4412
3571
|
export type ValidatedInitRequest = z.infer<typeof InitRequestSchema>;
|
|
4413
3572
|
export type ValidatedBundleRequest = z.infer<typeof BundleRequestSchema>;
|
|
4414
|
-
export type ValidatedEmitSurfaceRequest = z.infer<typeof EmitSurfaceRequestSchema>;
|
|
4415
3573
|
export type ValidatedInferRequest = z.infer<typeof InferRequestSchema>;
|
|
4416
|
-
export type ValidatedBuildWorkspaceRequest = z.infer<typeof BuildWorkspaceRequestSchema>;
|
|
4417
|
-
export type ValidatedCheckCompatibilityRequest = z.infer<typeof CheckCompatibilityRequestSchema>;
|
|
4418
3574
|
export type ValidatedHealthRequest = z.infer<typeof HealthRequestSchema>;
|
|
4419
3575
|
export type ValidatedShutdownRequest = z.infer<typeof ShutdownRequestSchema>;
|
|
4420
3576
|
export type ValidatedSidecarRequest = z.infer<typeof SidecarRequestSchema>;
|