carrick 0.3.108 → 0.3.110
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 +9 -10
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/bundler.d.ts +10 -0
- package/sidecar/dist/src/bundler.js +42 -0
- package/sidecar/dist/src/capture/anchors.js +32 -0
- package/sidecar/dist/src/capture/api.d.ts +5 -0
- package/sidecar/dist/src/capture/check-deep.js +2 -1
- package/sidecar/dist/src/capture/check-workspace.d.ts +11 -0
- package/sidecar/dist/src/capture/check-workspace.js +81 -8
- package/sidecar/dist/src/capture/compiler-options.d.ts +39 -0
- package/sidecar/dist/src/capture/compiler-options.js +100 -0
- package/sidecar/dist/src/capture/deno-project.js +3 -2
- package/sidecar/dist/src/capture/index.d.ts +2 -0
- package/sidecar/dist/src/capture/index.js +25 -8
- package/sidecar/dist/src/capture/installed-package-directory.d.ts +22 -0
- package/sidecar/dist/src/capture/installed-package-directory.js +30 -0
- package/sidecar/dist/src/capture/installed-package.js +3 -2
- package/sidecar/dist/src/capture/resolution-edges.d.ts +36 -0
- package/sidecar/dist/src/capture/resolution-edges.js +150 -0
- package/sidecar/dist/src/capture/self-check.js +3 -2
- package/sidecar/dist/src/capture/status-table.d.ts +62 -0
- package/sidecar/dist/src/capture/status-table.js +104 -0
- package/sidecar/dist/src/definition-resolver.js +3 -2
- package/sidecar/dist/src/failure-path.d.ts +42 -2
- package/sidecar/dist/src/failure-path.js +38 -13
- package/sidecar/dist/src/index.js +91 -7
- package/sidecar/dist/src/library-claims.js +2 -0
- package/sidecar/dist/src/line-index.d.ts +9 -0
- package/sidecar/dist/src/line-index.js +24 -0
- package/sidecar/dist/src/print-type.d.ts +48 -0
- package/sidecar/dist/src/print-type.js +71 -0
- package/sidecar/dist/src/printed-names.js +2 -1
- package/sidecar/dist/src/program-files.d.ts +44 -0
- package/sidecar/dist/src/program-files.js +64 -0
- package/sidecar/dist/src/project-loader.d.ts +5 -0
- package/sidecar/dist/src/project-loader.js +14 -5
- package/sidecar/dist/src/response-modes.d.ts +77 -0
- package/sidecar/dist/src/response-modes.js +459 -0
- package/sidecar/dist/src/retype.js +7 -1
- package/sidecar/dist/src/type-inferrer.d.ts +53 -0
- package/sidecar/dist/src/type-inferrer.js +267 -79
- package/sidecar/dist/src/types.d.ts +50 -2
- package/sidecar/dist/src/validators.d.ts +159 -88
- package/sidecar/dist/src/validators.js +13 -0
|
@@ -10,14 +10,17 @@ export declare const SymbolRequestSchema: z.ZodObject<{
|
|
|
10
10
|
source_file: z.ZodString;
|
|
11
11
|
alias: z.ZodOptional<z.ZodString>;
|
|
12
12
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
symbol_name: string;
|
|
15
16
|
source_file: string;
|
|
17
|
+
consumer_response?: boolean | undefined;
|
|
16
18
|
alias?: string | undefined;
|
|
17
19
|
array_depth?: number | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
symbol_name: string;
|
|
20
22
|
source_file: string;
|
|
23
|
+
consumer_response?: boolean | undefined;
|
|
21
24
|
alias?: string | undefined;
|
|
22
25
|
array_depth?: number | undefined;
|
|
23
26
|
}>;
|
|
@@ -35,22 +38,22 @@ export declare const InferRequestItemSchema: z.ZodObject<{
|
|
|
35
38
|
file_path: string;
|
|
36
39
|
line_number: number;
|
|
37
40
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
41
|
+
param_name?: string | undefined;
|
|
38
42
|
alias?: string | undefined;
|
|
39
43
|
span_start?: number | undefined;
|
|
40
44
|
span_end?: number | undefined;
|
|
41
45
|
expression_text?: string | undefined;
|
|
42
46
|
expression_line?: number | undefined;
|
|
43
|
-
param_name?: string | undefined;
|
|
44
47
|
}, {
|
|
45
48
|
file_path: string;
|
|
46
49
|
line_number: number;
|
|
47
50
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
51
|
+
param_name?: string | undefined;
|
|
48
52
|
alias?: string | undefined;
|
|
49
53
|
span_start?: number | undefined;
|
|
50
54
|
span_end?: number | undefined;
|
|
51
55
|
expression_text?: string | undefined;
|
|
52
56
|
expression_line?: number | undefined;
|
|
53
|
-
param_name?: string | undefined;
|
|
54
57
|
}>;
|
|
55
58
|
/**
|
|
56
59
|
* Per-item locator validation for infer requests.
|
|
@@ -221,14 +224,17 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
221
224
|
source_file: z.ZodString;
|
|
222
225
|
alias: z.ZodOptional<z.ZodString>;
|
|
223
226
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
224
228
|
}, "strip", z.ZodTypeAny, {
|
|
225
229
|
symbol_name: string;
|
|
226
230
|
source_file: string;
|
|
231
|
+
consumer_response?: boolean | undefined;
|
|
227
232
|
alias?: string | undefined;
|
|
228
233
|
array_depth?: number | undefined;
|
|
229
234
|
}, {
|
|
230
235
|
symbol_name: string;
|
|
231
236
|
source_file: string;
|
|
237
|
+
consumer_response?: boolean | undefined;
|
|
232
238
|
alias?: string | undefined;
|
|
233
239
|
array_depth?: number | undefined;
|
|
234
240
|
}>, "many">;
|
|
@@ -238,6 +244,7 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
238
244
|
symbols: {
|
|
239
245
|
symbol_name: string;
|
|
240
246
|
source_file: string;
|
|
247
|
+
consumer_response?: boolean | undefined;
|
|
241
248
|
alias?: string | undefined;
|
|
242
249
|
array_depth?: number | undefined;
|
|
243
250
|
}[];
|
|
@@ -247,6 +254,7 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
247
254
|
symbols: {
|
|
248
255
|
symbol_name: string;
|
|
249
256
|
source_file: string;
|
|
257
|
+
consumer_response?: boolean | undefined;
|
|
250
258
|
alias?: string | undefined;
|
|
251
259
|
array_depth?: number | undefined;
|
|
252
260
|
}[];
|
|
@@ -264,19 +272,22 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
264
272
|
source_file: z.ZodString;
|
|
265
273
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
266
274
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
267
276
|
}, "strip", z.ZodTypeAny, {
|
|
268
277
|
kind: "symbol";
|
|
278
|
+
alias: string;
|
|
269
279
|
symbol_name: string;
|
|
270
280
|
source_file: string;
|
|
271
|
-
alias: string;
|
|
272
281
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
282
|
+
consumer_response?: boolean | undefined;
|
|
273
283
|
array_depth?: number | undefined;
|
|
274
284
|
}, {
|
|
275
285
|
kind: "symbol";
|
|
286
|
+
alias: string;
|
|
276
287
|
symbol_name: string;
|
|
277
288
|
source_file: string;
|
|
278
|
-
alias: string;
|
|
279
289
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
290
|
+
consumer_response?: boolean | undefined;
|
|
280
291
|
array_depth?: number | undefined;
|
|
281
292
|
}>, z.ZodObject<{
|
|
282
293
|
kind: z.ZodLiteral<"handler_return">;
|
|
@@ -286,15 +297,15 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
286
297
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
287
298
|
}, "strip", z.ZodTypeAny, {
|
|
288
299
|
kind: "handler_return";
|
|
300
|
+
alias: string;
|
|
289
301
|
symbol_name: string;
|
|
290
302
|
source_file: string;
|
|
291
|
-
alias: string;
|
|
292
303
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
293
304
|
}, {
|
|
294
305
|
kind: "handler_return";
|
|
306
|
+
alias: string;
|
|
295
307
|
symbol_name: string;
|
|
296
308
|
source_file: string;
|
|
297
|
-
alias: string;
|
|
298
309
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
299
310
|
}>, z.ZodObject<{
|
|
300
311
|
kind: z.ZodLiteral<"infer">;
|
|
@@ -309,25 +320,25 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
309
320
|
unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
|
|
310
321
|
}, "strip", z.ZodTypeAny, {
|
|
311
322
|
kind: "infer";
|
|
312
|
-
source_file: string;
|
|
313
323
|
alias: string;
|
|
324
|
+
source_file: string;
|
|
314
325
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
326
|
+
param_name?: string | undefined;
|
|
315
327
|
line_number?: number | undefined;
|
|
316
328
|
span_start?: number | undefined;
|
|
317
329
|
span_end?: number | undefined;
|
|
318
330
|
expression_text?: string | undefined;
|
|
319
|
-
param_name?: string | undefined;
|
|
320
331
|
unwrap?: "awaited" | "none" | undefined;
|
|
321
332
|
}, {
|
|
322
333
|
kind: "infer";
|
|
323
|
-
source_file: string;
|
|
324
334
|
alias: string;
|
|
335
|
+
source_file: string;
|
|
325
336
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
337
|
+
param_name?: string | undefined;
|
|
326
338
|
line_number?: number | undefined;
|
|
327
339
|
span_start?: number | undefined;
|
|
328
340
|
span_end?: number | undefined;
|
|
329
341
|
expression_text?: string | undefined;
|
|
330
|
-
param_name?: string | undefined;
|
|
331
342
|
unwrap?: "awaited" | "none" | undefined;
|
|
332
343
|
}>, z.ZodObject<{
|
|
333
344
|
kind: z.ZodLiteral<"literal">;
|
|
@@ -354,25 +365,25 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
354
365
|
alias: string;
|
|
355
366
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
356
367
|
type_text: string;
|
|
368
|
+
raw_text_read?: true | undefined;
|
|
357
369
|
source_file?: string | undefined;
|
|
358
370
|
printed_names?: {
|
|
359
371
|
name: string;
|
|
360
372
|
file: string;
|
|
361
373
|
export_path: string[];
|
|
362
374
|
}[] | undefined;
|
|
363
|
-
raw_text_read?: true | undefined;
|
|
364
375
|
}, {
|
|
365
376
|
kind: "literal";
|
|
366
377
|
alias: string;
|
|
367
378
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
368
379
|
type_text: string;
|
|
380
|
+
raw_text_read?: true | undefined;
|
|
369
381
|
source_file?: string | undefined;
|
|
370
382
|
printed_names?: {
|
|
371
383
|
name: string;
|
|
372
384
|
file: string;
|
|
373
385
|
export_path: string[];
|
|
374
386
|
}[] | undefined;
|
|
375
|
-
raw_text_read?: true | undefined;
|
|
376
387
|
}>]>, "many">;
|
|
377
388
|
out_dir: z.ZodString;
|
|
378
389
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
@@ -380,40 +391,41 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
380
391
|
}, "strip", z.ZodTypeAny, {
|
|
381
392
|
anchors: ({
|
|
382
393
|
kind: "symbol";
|
|
394
|
+
alias: string;
|
|
383
395
|
symbol_name: string;
|
|
384
396
|
source_file: string;
|
|
385
|
-
alias: string;
|
|
386
397
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
398
|
+
consumer_response?: boolean | undefined;
|
|
387
399
|
array_depth?: number | undefined;
|
|
388
400
|
} | {
|
|
389
401
|
kind: "handler_return";
|
|
402
|
+
alias: string;
|
|
390
403
|
symbol_name: string;
|
|
391
404
|
source_file: string;
|
|
392
|
-
alias: string;
|
|
393
405
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
394
406
|
} | {
|
|
395
407
|
kind: "infer";
|
|
396
|
-
source_file: string;
|
|
397
408
|
alias: string;
|
|
409
|
+
source_file: string;
|
|
398
410
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
411
|
+
param_name?: string | undefined;
|
|
399
412
|
line_number?: number | undefined;
|
|
400
413
|
span_start?: number | undefined;
|
|
401
414
|
span_end?: number | undefined;
|
|
402
415
|
expression_text?: string | undefined;
|
|
403
|
-
param_name?: string | undefined;
|
|
404
416
|
unwrap?: "awaited" | "none" | undefined;
|
|
405
417
|
} | {
|
|
406
418
|
kind: "literal";
|
|
407
419
|
alias: string;
|
|
408
420
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
409
421
|
type_text: string;
|
|
422
|
+
raw_text_read?: true | undefined;
|
|
410
423
|
source_file?: string | undefined;
|
|
411
424
|
printed_names?: {
|
|
412
425
|
name: string;
|
|
413
426
|
file: string;
|
|
414
427
|
export_path: string[];
|
|
415
428
|
}[] | undefined;
|
|
416
|
-
raw_text_read?: true | undefined;
|
|
417
429
|
})[];
|
|
418
430
|
request_id: string;
|
|
419
431
|
action: "capture_v2";
|
|
@@ -425,40 +437,41 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
425
437
|
}, {
|
|
426
438
|
anchors: ({
|
|
427
439
|
kind: "symbol";
|
|
440
|
+
alias: string;
|
|
428
441
|
symbol_name: string;
|
|
429
442
|
source_file: string;
|
|
430
|
-
alias: string;
|
|
431
443
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
444
|
+
consumer_response?: boolean | undefined;
|
|
432
445
|
array_depth?: number | undefined;
|
|
433
446
|
} | {
|
|
434
447
|
kind: "handler_return";
|
|
448
|
+
alias: string;
|
|
435
449
|
symbol_name: string;
|
|
436
450
|
source_file: string;
|
|
437
|
-
alias: string;
|
|
438
451
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
439
452
|
} | {
|
|
440
453
|
kind: "infer";
|
|
441
|
-
source_file: string;
|
|
442
454
|
alias: string;
|
|
455
|
+
source_file: string;
|
|
443
456
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
457
|
+
param_name?: string | undefined;
|
|
444
458
|
line_number?: number | undefined;
|
|
445
459
|
span_start?: number | undefined;
|
|
446
460
|
span_end?: number | undefined;
|
|
447
461
|
expression_text?: string | undefined;
|
|
448
|
-
param_name?: string | undefined;
|
|
449
462
|
unwrap?: "awaited" | "none" | undefined;
|
|
450
463
|
} | {
|
|
451
464
|
kind: "literal";
|
|
452
465
|
alias: string;
|
|
453
466
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
454
467
|
type_text: string;
|
|
468
|
+
raw_text_read?: true | undefined;
|
|
455
469
|
source_file?: string | undefined;
|
|
456
470
|
printed_names?: {
|
|
457
471
|
name: string;
|
|
458
472
|
file: string;
|
|
459
473
|
export_path: string[];
|
|
460
474
|
}[] | undefined;
|
|
461
|
-
raw_text_read?: true | undefined;
|
|
462
475
|
})[];
|
|
463
476
|
request_id: string;
|
|
464
477
|
action: "capture_v2";
|
|
@@ -534,12 +547,6 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
534
547
|
workspace_root: z.ZodOptional<z.ZodString>;
|
|
535
548
|
keep_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
536
549
|
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
request_id: string;
|
|
538
|
-
action: "check_v2";
|
|
539
|
-
stubs: {
|
|
540
|
-
service_name: string;
|
|
541
|
-
stub_dir: string;
|
|
542
|
-
}[];
|
|
543
550
|
pairs: {
|
|
544
551
|
producer: {
|
|
545
552
|
alias: string;
|
|
@@ -553,15 +560,15 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
553
560
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
554
561
|
type_kind: "request" | "response" | "both";
|
|
555
562
|
}[];
|
|
556
|
-
workspace_root?: string | undefined;
|
|
557
|
-
keep_workspace?: boolean | undefined;
|
|
558
|
-
}, {
|
|
559
563
|
request_id: string;
|
|
560
564
|
action: "check_v2";
|
|
561
565
|
stubs: {
|
|
562
566
|
service_name: string;
|
|
563
567
|
stub_dir: string;
|
|
564
568
|
}[];
|
|
569
|
+
workspace_root?: string | undefined;
|
|
570
|
+
keep_workspace?: boolean | undefined;
|
|
571
|
+
}, {
|
|
565
572
|
pairs: {
|
|
566
573
|
producer: {
|
|
567
574
|
alias: string;
|
|
@@ -575,6 +582,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
575
582
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
576
583
|
type_kind: "request" | "response" | "both";
|
|
577
584
|
}[];
|
|
585
|
+
request_id: string;
|
|
586
|
+
action: "check_v2";
|
|
587
|
+
stubs: {
|
|
588
|
+
service_name: string;
|
|
589
|
+
stub_dir: string;
|
|
590
|
+
}[];
|
|
578
591
|
workspace_root?: string | undefined;
|
|
579
592
|
keep_workspace?: boolean | undefined;
|
|
580
593
|
}>;
|
|
@@ -596,22 +609,22 @@ export declare const InferRequestSchema: z.ZodObject<{
|
|
|
596
609
|
file_path: string;
|
|
597
610
|
line_number: number;
|
|
598
611
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
612
|
+
param_name?: string | undefined;
|
|
599
613
|
alias?: string | undefined;
|
|
600
614
|
span_start?: number | undefined;
|
|
601
615
|
span_end?: number | undefined;
|
|
602
616
|
expression_text?: string | undefined;
|
|
603
617
|
expression_line?: number | undefined;
|
|
604
|
-
param_name?: string | undefined;
|
|
605
618
|
}, {
|
|
606
619
|
file_path: string;
|
|
607
620
|
line_number: number;
|
|
608
621
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
622
|
+
param_name?: string | undefined;
|
|
609
623
|
alias?: string | undefined;
|
|
610
624
|
span_start?: number | undefined;
|
|
611
625
|
span_end?: number | undefined;
|
|
612
626
|
expression_text?: string | undefined;
|
|
613
627
|
expression_line?: number | undefined;
|
|
614
|
-
param_name?: string | undefined;
|
|
615
628
|
}>, "many">;
|
|
616
629
|
extraction_config: z.ZodOptional<z.ZodObject<{
|
|
617
630
|
rules: z.ZodArray<z.ZodObject<{
|
|
@@ -667,12 +680,12 @@ export declare const InferRequestSchema: z.ZodObject<{
|
|
|
667
680
|
file_path: string;
|
|
668
681
|
line_number: number;
|
|
669
682
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
683
|
+
param_name?: string | undefined;
|
|
670
684
|
alias?: string | undefined;
|
|
671
685
|
span_start?: number | undefined;
|
|
672
686
|
span_end?: number | undefined;
|
|
673
687
|
expression_text?: string | undefined;
|
|
674
688
|
expression_line?: number | undefined;
|
|
675
|
-
param_name?: string | undefined;
|
|
676
689
|
}[];
|
|
677
690
|
extraction_config?: {
|
|
678
691
|
rules: {
|
|
@@ -692,12 +705,12 @@ export declare const InferRequestSchema: z.ZodObject<{
|
|
|
692
705
|
file_path: string;
|
|
693
706
|
line_number: number;
|
|
694
707
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
708
|
+
param_name?: string | undefined;
|
|
695
709
|
alias?: string | undefined;
|
|
696
710
|
span_start?: number | undefined;
|
|
697
711
|
span_end?: number | undefined;
|
|
698
712
|
expression_text?: string | undefined;
|
|
699
713
|
expression_line?: number | undefined;
|
|
700
|
-
param_name?: string | undefined;
|
|
701
714
|
}[];
|
|
702
715
|
extraction_config?: {
|
|
703
716
|
rules: {
|
|
@@ -733,6 +746,31 @@ export declare const ShutdownRequestSchema: z.ZodObject<{
|
|
|
733
746
|
request_id: string;
|
|
734
747
|
action: "shutdown";
|
|
735
748
|
}>;
|
|
749
|
+
export declare const ListProgramFilesRequestSchema: z.ZodObject<{
|
|
750
|
+
request_id: z.ZodString;
|
|
751
|
+
} & {
|
|
752
|
+
action: z.ZodLiteral<"list_program_files">;
|
|
753
|
+
}, "strip", z.ZodTypeAny, {
|
|
754
|
+
request_id: string;
|
|
755
|
+
action: "list_program_files";
|
|
756
|
+
}, {
|
|
757
|
+
request_id: string;
|
|
758
|
+
action: "list_program_files";
|
|
759
|
+
}>;
|
|
760
|
+
export declare const AddProgramFilesRequestSchema: z.ZodObject<{
|
|
761
|
+
request_id: z.ZodString;
|
|
762
|
+
} & {
|
|
763
|
+
action: z.ZodLiteral<"add_program_files">;
|
|
764
|
+
files: z.ZodArray<z.ZodString, "many">;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
files: string[];
|
|
767
|
+
request_id: string;
|
|
768
|
+
action: "add_program_files";
|
|
769
|
+
}, {
|
|
770
|
+
files: string[];
|
|
771
|
+
request_id: string;
|
|
772
|
+
action: "add_program_files";
|
|
773
|
+
}>;
|
|
736
774
|
export declare const ResolveDefinitionsRequestSchema: z.ZodObject<{
|
|
737
775
|
request_id: z.ZodString;
|
|
738
776
|
} & {
|
|
@@ -912,10 +950,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
912
950
|
url_key?: string | undefined;
|
|
913
951
|
}>]>;
|
|
914
952
|
}, "strip", z.ZodTypeAny, {
|
|
953
|
+
receiver: string;
|
|
915
954
|
export: string;
|
|
916
955
|
claim_id: string;
|
|
917
956
|
package: string;
|
|
918
|
-
receiver: string;
|
|
919
957
|
claim: {
|
|
920
958
|
kind: "factory";
|
|
921
959
|
member: string;
|
|
@@ -944,10 +982,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
944
982
|
url_key?: string | undefined;
|
|
945
983
|
};
|
|
946
984
|
}, {
|
|
985
|
+
receiver: string;
|
|
947
986
|
export: string;
|
|
948
987
|
claim_id: string;
|
|
949
988
|
package: string;
|
|
950
|
-
receiver: string;
|
|
951
989
|
claim: {
|
|
952
990
|
kind: "factory";
|
|
953
991
|
member: string;
|
|
@@ -982,10 +1020,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
982
1020
|
action: "verify_client_semantics";
|
|
983
1021
|
from_dir: string;
|
|
984
1022
|
checks: {
|
|
1023
|
+
receiver: string;
|
|
985
1024
|
export: string;
|
|
986
1025
|
claim_id: string;
|
|
987
1026
|
package: string;
|
|
988
|
-
receiver: string;
|
|
989
1027
|
claim: {
|
|
990
1028
|
kind: "factory";
|
|
991
1029
|
member: string;
|
|
@@ -1020,10 +1058,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1020
1058
|
action: "verify_client_semantics";
|
|
1021
1059
|
from_dir: string;
|
|
1022
1060
|
checks: {
|
|
1061
|
+
receiver: string;
|
|
1023
1062
|
export: string;
|
|
1024
1063
|
claim_id: string;
|
|
1025
1064
|
package: string;
|
|
1026
|
-
receiver: string;
|
|
1027
1065
|
claim: {
|
|
1028
1066
|
kind: "factory";
|
|
1029
1067
|
member: string;
|
|
@@ -1425,10 +1463,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1425
1463
|
of?: string | undefined;
|
|
1426
1464
|
}>]>;
|
|
1427
1465
|
}, "strict", z.ZodTypeAny, {
|
|
1466
|
+
receiver: string;
|
|
1428
1467
|
export: string;
|
|
1429
1468
|
claim_id: string;
|
|
1430
1469
|
package: string;
|
|
1431
|
-
receiver: string;
|
|
1432
1470
|
claim: {
|
|
1433
1471
|
kind: "make";
|
|
1434
1472
|
member: string | null;
|
|
@@ -1522,10 +1560,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1522
1560
|
};
|
|
1523
1561
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
1524
1562
|
}, {
|
|
1563
|
+
receiver: string;
|
|
1525
1564
|
export: string;
|
|
1526
1565
|
claim_id: string;
|
|
1527
1566
|
package: string;
|
|
1528
|
-
receiver: string;
|
|
1529
1567
|
claim: {
|
|
1530
1568
|
kind: "make";
|
|
1531
1569
|
member: string | null;
|
|
@@ -1625,10 +1663,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1625
1663
|
action: "verify_library_claims";
|
|
1626
1664
|
from_dir: string;
|
|
1627
1665
|
checks: {
|
|
1666
|
+
receiver: string;
|
|
1628
1667
|
export: string;
|
|
1629
1668
|
claim_id: string;
|
|
1630
1669
|
package: string;
|
|
1631
|
-
receiver: string;
|
|
1632
1670
|
claim: {
|
|
1633
1671
|
kind: "make";
|
|
1634
1672
|
member: string | null;
|
|
@@ -1728,10 +1766,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1728
1766
|
action: "verify_library_claims";
|
|
1729
1767
|
from_dir: string;
|
|
1730
1768
|
checks: {
|
|
1769
|
+
receiver: string;
|
|
1731
1770
|
export: string;
|
|
1732
1771
|
claim_id: string;
|
|
1733
1772
|
package: string;
|
|
1734
|
-
receiver: string;
|
|
1735
1773
|
claim: {
|
|
1736
1774
|
kind: "make";
|
|
1737
1775
|
member: string | null;
|
|
@@ -1836,17 +1874,17 @@ export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
|
|
|
1836
1874
|
max_entries: z.ZodOptional<z.ZodNumber>;
|
|
1837
1875
|
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1838
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1877
|
+
packages: string[];
|
|
1839
1878
|
request_id: string;
|
|
1840
1879
|
action: "list_library_surface";
|
|
1841
1880
|
from_dir: string;
|
|
1842
|
-
packages: string[];
|
|
1843
1881
|
max_entries?: number | undefined;
|
|
1844
1882
|
exports?: Record<string, string[]> | undefined;
|
|
1845
1883
|
}, {
|
|
1884
|
+
packages: string[];
|
|
1846
1885
|
request_id: string;
|
|
1847
1886
|
action: "list_library_surface";
|
|
1848
1887
|
from_dir: string;
|
|
1849
|
-
packages: string[];
|
|
1850
1888
|
max_entries?: number | undefined;
|
|
1851
1889
|
exports?: Record<string, string[]> | undefined;
|
|
1852
1890
|
}>;
|
|
@@ -2010,14 +2048,17 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2010
2048
|
source_file: z.ZodString;
|
|
2011
2049
|
alias: z.ZodOptional<z.ZodString>;
|
|
2012
2050
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2051
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
2013
2052
|
}, "strip", z.ZodTypeAny, {
|
|
2014
2053
|
symbol_name: string;
|
|
2015
2054
|
source_file: string;
|
|
2055
|
+
consumer_response?: boolean | undefined;
|
|
2016
2056
|
alias?: string | undefined;
|
|
2017
2057
|
array_depth?: number | undefined;
|
|
2018
2058
|
}, {
|
|
2019
2059
|
symbol_name: string;
|
|
2020
2060
|
source_file: string;
|
|
2061
|
+
consumer_response?: boolean | undefined;
|
|
2021
2062
|
alias?: string | undefined;
|
|
2022
2063
|
array_depth?: number | undefined;
|
|
2023
2064
|
}>, "many">;
|
|
@@ -2027,6 +2068,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2027
2068
|
symbols: {
|
|
2028
2069
|
symbol_name: string;
|
|
2029
2070
|
source_file: string;
|
|
2071
|
+
consumer_response?: boolean | undefined;
|
|
2030
2072
|
alias?: string | undefined;
|
|
2031
2073
|
array_depth?: number | undefined;
|
|
2032
2074
|
}[];
|
|
@@ -2036,6 +2078,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2036
2078
|
symbols: {
|
|
2037
2079
|
symbol_name: string;
|
|
2038
2080
|
source_file: string;
|
|
2081
|
+
consumer_response?: boolean | undefined;
|
|
2039
2082
|
alias?: string | undefined;
|
|
2040
2083
|
array_depth?: number | undefined;
|
|
2041
2084
|
}[];
|
|
@@ -2052,19 +2095,22 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2052
2095
|
source_file: z.ZodString;
|
|
2053
2096
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
2054
2097
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2098
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
2055
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2056
2100
|
kind: "symbol";
|
|
2101
|
+
alias: string;
|
|
2057
2102
|
symbol_name: string;
|
|
2058
2103
|
source_file: string;
|
|
2059
|
-
alias: string;
|
|
2060
2104
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2105
|
+
consumer_response?: boolean | undefined;
|
|
2061
2106
|
array_depth?: number | undefined;
|
|
2062
2107
|
}, {
|
|
2063
2108
|
kind: "symbol";
|
|
2109
|
+
alias: string;
|
|
2064
2110
|
symbol_name: string;
|
|
2065
2111
|
source_file: string;
|
|
2066
|
-
alias: string;
|
|
2067
2112
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2113
|
+
consumer_response?: boolean | undefined;
|
|
2068
2114
|
array_depth?: number | undefined;
|
|
2069
2115
|
}>, z.ZodObject<{
|
|
2070
2116
|
kind: z.ZodLiteral<"handler_return">;
|
|
@@ -2074,15 +2120,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2074
2120
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
2075
2121
|
}, "strip", z.ZodTypeAny, {
|
|
2076
2122
|
kind: "handler_return";
|
|
2123
|
+
alias: string;
|
|
2077
2124
|
symbol_name: string;
|
|
2078
2125
|
source_file: string;
|
|
2079
|
-
alias: string;
|
|
2080
2126
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2081
2127
|
}, {
|
|
2082
2128
|
kind: "handler_return";
|
|
2129
|
+
alias: string;
|
|
2083
2130
|
symbol_name: string;
|
|
2084
2131
|
source_file: string;
|
|
2085
|
-
alias: string;
|
|
2086
2132
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2087
2133
|
}>, z.ZodObject<{
|
|
2088
2134
|
kind: z.ZodLiteral<"infer">;
|
|
@@ -2097,25 +2143,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2097
2143
|
unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
|
|
2098
2144
|
}, "strip", z.ZodTypeAny, {
|
|
2099
2145
|
kind: "infer";
|
|
2100
|
-
source_file: string;
|
|
2101
2146
|
alias: string;
|
|
2147
|
+
source_file: string;
|
|
2102
2148
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2149
|
+
param_name?: string | undefined;
|
|
2103
2150
|
line_number?: number | undefined;
|
|
2104
2151
|
span_start?: number | undefined;
|
|
2105
2152
|
span_end?: number | undefined;
|
|
2106
2153
|
expression_text?: string | undefined;
|
|
2107
|
-
param_name?: string | undefined;
|
|
2108
2154
|
unwrap?: "awaited" | "none" | undefined;
|
|
2109
2155
|
}, {
|
|
2110
2156
|
kind: "infer";
|
|
2111
|
-
source_file: string;
|
|
2112
2157
|
alias: string;
|
|
2158
|
+
source_file: string;
|
|
2113
2159
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2160
|
+
param_name?: string | undefined;
|
|
2114
2161
|
line_number?: number | undefined;
|
|
2115
2162
|
span_start?: number | undefined;
|
|
2116
2163
|
span_end?: number | undefined;
|
|
2117
2164
|
expression_text?: string | undefined;
|
|
2118
|
-
param_name?: string | undefined;
|
|
2119
2165
|
unwrap?: "awaited" | "none" | undefined;
|
|
2120
2166
|
}>, z.ZodObject<{
|
|
2121
2167
|
kind: z.ZodLiteral<"literal">;
|
|
@@ -2142,25 +2188,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2142
2188
|
alias: string;
|
|
2143
2189
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2144
2190
|
type_text: string;
|
|
2191
|
+
raw_text_read?: true | undefined;
|
|
2145
2192
|
source_file?: string | undefined;
|
|
2146
2193
|
printed_names?: {
|
|
2147
2194
|
name: string;
|
|
2148
2195
|
file: string;
|
|
2149
2196
|
export_path: string[];
|
|
2150
2197
|
}[] | undefined;
|
|
2151
|
-
raw_text_read?: true | undefined;
|
|
2152
2198
|
}, {
|
|
2153
2199
|
kind: "literal";
|
|
2154
2200
|
alias: string;
|
|
2155
2201
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2156
2202
|
type_text: string;
|
|
2203
|
+
raw_text_read?: true | undefined;
|
|
2157
2204
|
source_file?: string | undefined;
|
|
2158
2205
|
printed_names?: {
|
|
2159
2206
|
name: string;
|
|
2160
2207
|
file: string;
|
|
2161
2208
|
export_path: string[];
|
|
2162
2209
|
}[] | undefined;
|
|
2163
|
-
raw_text_read?: true | undefined;
|
|
2164
2210
|
}>]>, "many">;
|
|
2165
2211
|
out_dir: z.ZodString;
|
|
2166
2212
|
tsconfig_path: z.ZodOptional<z.ZodString>;
|
|
@@ -2168,40 +2214,41 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2168
2214
|
}, "strip", z.ZodTypeAny, {
|
|
2169
2215
|
anchors: ({
|
|
2170
2216
|
kind: "symbol";
|
|
2217
|
+
alias: string;
|
|
2171
2218
|
symbol_name: string;
|
|
2172
2219
|
source_file: string;
|
|
2173
|
-
alias: string;
|
|
2174
2220
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2221
|
+
consumer_response?: boolean | undefined;
|
|
2175
2222
|
array_depth?: number | undefined;
|
|
2176
2223
|
} | {
|
|
2177
2224
|
kind: "handler_return";
|
|
2225
|
+
alias: string;
|
|
2178
2226
|
symbol_name: string;
|
|
2179
2227
|
source_file: string;
|
|
2180
|
-
alias: string;
|
|
2181
2228
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2182
2229
|
} | {
|
|
2183
2230
|
kind: "infer";
|
|
2184
|
-
source_file: string;
|
|
2185
2231
|
alias: string;
|
|
2232
|
+
source_file: string;
|
|
2186
2233
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2234
|
+
param_name?: string | undefined;
|
|
2187
2235
|
line_number?: number | undefined;
|
|
2188
2236
|
span_start?: number | undefined;
|
|
2189
2237
|
span_end?: number | undefined;
|
|
2190
2238
|
expression_text?: string | undefined;
|
|
2191
|
-
param_name?: string | undefined;
|
|
2192
2239
|
unwrap?: "awaited" | "none" | undefined;
|
|
2193
2240
|
} | {
|
|
2194
2241
|
kind: "literal";
|
|
2195
2242
|
alias: string;
|
|
2196
2243
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2197
2244
|
type_text: string;
|
|
2245
|
+
raw_text_read?: true | undefined;
|
|
2198
2246
|
source_file?: string | undefined;
|
|
2199
2247
|
printed_names?: {
|
|
2200
2248
|
name: string;
|
|
2201
2249
|
file: string;
|
|
2202
2250
|
export_path: string[];
|
|
2203
2251
|
}[] | undefined;
|
|
2204
|
-
raw_text_read?: true | undefined;
|
|
2205
2252
|
})[];
|
|
2206
2253
|
request_id: string;
|
|
2207
2254
|
action: "capture_v2";
|
|
@@ -2213,40 +2260,41 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2213
2260
|
}, {
|
|
2214
2261
|
anchors: ({
|
|
2215
2262
|
kind: "symbol";
|
|
2263
|
+
alias: string;
|
|
2216
2264
|
symbol_name: string;
|
|
2217
2265
|
source_file: string;
|
|
2218
|
-
alias: string;
|
|
2219
2266
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2267
|
+
consumer_response?: boolean | undefined;
|
|
2220
2268
|
array_depth?: number | undefined;
|
|
2221
2269
|
} | {
|
|
2222
2270
|
kind: "handler_return";
|
|
2271
|
+
alias: string;
|
|
2223
2272
|
symbol_name: string;
|
|
2224
2273
|
source_file: string;
|
|
2225
|
-
alias: string;
|
|
2226
2274
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2227
2275
|
} | {
|
|
2228
2276
|
kind: "infer";
|
|
2229
|
-
source_file: string;
|
|
2230
2277
|
alias: string;
|
|
2278
|
+
source_file: string;
|
|
2231
2279
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2280
|
+
param_name?: string | undefined;
|
|
2232
2281
|
line_number?: number | undefined;
|
|
2233
2282
|
span_start?: number | undefined;
|
|
2234
2283
|
span_end?: number | undefined;
|
|
2235
2284
|
expression_text?: string | undefined;
|
|
2236
|
-
param_name?: string | undefined;
|
|
2237
2285
|
unwrap?: "awaited" | "none" | undefined;
|
|
2238
2286
|
} | {
|
|
2239
2287
|
kind: "literal";
|
|
2240
2288
|
alias: string;
|
|
2241
2289
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2242
2290
|
type_text: string;
|
|
2291
|
+
raw_text_read?: true | undefined;
|
|
2243
2292
|
source_file?: string | undefined;
|
|
2244
2293
|
printed_names?: {
|
|
2245
2294
|
name: string;
|
|
2246
2295
|
file: string;
|
|
2247
2296
|
export_path: string[];
|
|
2248
2297
|
}[] | undefined;
|
|
2249
|
-
raw_text_read?: true | undefined;
|
|
2250
2298
|
})[];
|
|
2251
2299
|
request_id: string;
|
|
2252
2300
|
action: "capture_v2";
|
|
@@ -2321,12 +2369,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2321
2369
|
workspace_root: z.ZodOptional<z.ZodString>;
|
|
2322
2370
|
keep_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
2323
2371
|
}, "strip", z.ZodTypeAny, {
|
|
2324
|
-
request_id: string;
|
|
2325
|
-
action: "check_v2";
|
|
2326
|
-
stubs: {
|
|
2327
|
-
service_name: string;
|
|
2328
|
-
stub_dir: string;
|
|
2329
|
-
}[];
|
|
2330
2372
|
pairs: {
|
|
2331
2373
|
producer: {
|
|
2332
2374
|
alias: string;
|
|
@@ -2340,15 +2382,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2340
2382
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
2341
2383
|
type_kind: "request" | "response" | "both";
|
|
2342
2384
|
}[];
|
|
2343
|
-
workspace_root?: string | undefined;
|
|
2344
|
-
keep_workspace?: boolean | undefined;
|
|
2345
|
-
}, {
|
|
2346
2385
|
request_id: string;
|
|
2347
2386
|
action: "check_v2";
|
|
2348
2387
|
stubs: {
|
|
2349
2388
|
service_name: string;
|
|
2350
2389
|
stub_dir: string;
|
|
2351
2390
|
}[];
|
|
2391
|
+
workspace_root?: string | undefined;
|
|
2392
|
+
keep_workspace?: boolean | undefined;
|
|
2393
|
+
}, {
|
|
2352
2394
|
pairs: {
|
|
2353
2395
|
producer: {
|
|
2354
2396
|
alias: string;
|
|
@@ -2362,6 +2404,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2362
2404
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
2363
2405
|
type_kind: "request" | "response" | "both";
|
|
2364
2406
|
}[];
|
|
2407
|
+
request_id: string;
|
|
2408
|
+
action: "check_v2";
|
|
2409
|
+
stubs: {
|
|
2410
|
+
service_name: string;
|
|
2411
|
+
stub_dir: string;
|
|
2412
|
+
}[];
|
|
2365
2413
|
workspace_root?: string | undefined;
|
|
2366
2414
|
keep_workspace?: boolean | undefined;
|
|
2367
2415
|
}>, z.ZodObject<{
|
|
@@ -2382,22 +2430,22 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2382
2430
|
file_path: string;
|
|
2383
2431
|
line_number: number;
|
|
2384
2432
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
2433
|
+
param_name?: string | undefined;
|
|
2385
2434
|
alias?: string | undefined;
|
|
2386
2435
|
span_start?: number | undefined;
|
|
2387
2436
|
span_end?: number | undefined;
|
|
2388
2437
|
expression_text?: string | undefined;
|
|
2389
2438
|
expression_line?: number | undefined;
|
|
2390
|
-
param_name?: string | undefined;
|
|
2391
2439
|
}, {
|
|
2392
2440
|
file_path: string;
|
|
2393
2441
|
line_number: number;
|
|
2394
2442
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
2443
|
+
param_name?: string | undefined;
|
|
2395
2444
|
alias?: string | undefined;
|
|
2396
2445
|
span_start?: number | undefined;
|
|
2397
2446
|
span_end?: number | undefined;
|
|
2398
2447
|
expression_text?: string | undefined;
|
|
2399
2448
|
expression_line?: number | undefined;
|
|
2400
|
-
param_name?: string | undefined;
|
|
2401
2449
|
}>, "many">;
|
|
2402
2450
|
extraction_config: z.ZodOptional<z.ZodObject<{
|
|
2403
2451
|
rules: z.ZodArray<z.ZodObject<{
|
|
@@ -2453,12 +2501,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2453
2501
|
file_path: string;
|
|
2454
2502
|
line_number: number;
|
|
2455
2503
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
2504
|
+
param_name?: string | undefined;
|
|
2456
2505
|
alias?: string | undefined;
|
|
2457
2506
|
span_start?: number | undefined;
|
|
2458
2507
|
span_end?: number | undefined;
|
|
2459
2508
|
expression_text?: string | undefined;
|
|
2460
2509
|
expression_line?: number | undefined;
|
|
2461
|
-
param_name?: string | undefined;
|
|
2462
2510
|
}[];
|
|
2463
2511
|
extraction_config?: {
|
|
2464
2512
|
rules: {
|
|
@@ -2478,12 +2526,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2478
2526
|
file_path: string;
|
|
2479
2527
|
line_number: number;
|
|
2480
2528
|
infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
|
|
2529
|
+
param_name?: string | undefined;
|
|
2481
2530
|
alias?: string | undefined;
|
|
2482
2531
|
span_start?: number | undefined;
|
|
2483
2532
|
span_end?: number | undefined;
|
|
2484
2533
|
expression_text?: string | undefined;
|
|
2485
2534
|
expression_line?: number | undefined;
|
|
2486
|
-
param_name?: string | undefined;
|
|
2487
2535
|
}[];
|
|
2488
2536
|
extraction_config?: {
|
|
2489
2537
|
rules: {
|
|
@@ -2673,10 +2721,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2673
2721
|
url_key?: string | undefined;
|
|
2674
2722
|
}>]>;
|
|
2675
2723
|
}, "strip", z.ZodTypeAny, {
|
|
2724
|
+
receiver: string;
|
|
2676
2725
|
export: string;
|
|
2677
2726
|
claim_id: string;
|
|
2678
2727
|
package: string;
|
|
2679
|
-
receiver: string;
|
|
2680
2728
|
claim: {
|
|
2681
2729
|
kind: "factory";
|
|
2682
2730
|
member: string;
|
|
@@ -2705,10 +2753,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2705
2753
|
url_key?: string | undefined;
|
|
2706
2754
|
};
|
|
2707
2755
|
}, {
|
|
2756
|
+
receiver: string;
|
|
2708
2757
|
export: string;
|
|
2709
2758
|
claim_id: string;
|
|
2710
2759
|
package: string;
|
|
2711
|
-
receiver: string;
|
|
2712
2760
|
claim: {
|
|
2713
2761
|
kind: "factory";
|
|
2714
2762
|
member: string;
|
|
@@ -2743,10 +2791,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2743
2791
|
action: "verify_client_semantics";
|
|
2744
2792
|
from_dir: string;
|
|
2745
2793
|
checks: {
|
|
2794
|
+
receiver: string;
|
|
2746
2795
|
export: string;
|
|
2747
2796
|
claim_id: string;
|
|
2748
2797
|
package: string;
|
|
2749
|
-
receiver: string;
|
|
2750
2798
|
claim: {
|
|
2751
2799
|
kind: "factory";
|
|
2752
2800
|
member: string;
|
|
@@ -2781,10 +2829,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2781
2829
|
action: "verify_client_semantics";
|
|
2782
2830
|
from_dir: string;
|
|
2783
2831
|
checks: {
|
|
2832
|
+
receiver: string;
|
|
2784
2833
|
export: string;
|
|
2785
2834
|
claim_id: string;
|
|
2786
2835
|
package: string;
|
|
2787
|
-
receiver: string;
|
|
2788
2836
|
claim: {
|
|
2789
2837
|
kind: "factory";
|
|
2790
2838
|
member: string;
|
|
@@ -3185,10 +3233,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3185
3233
|
of?: string | undefined;
|
|
3186
3234
|
}>]>;
|
|
3187
3235
|
}, "strict", z.ZodTypeAny, {
|
|
3236
|
+
receiver: string;
|
|
3188
3237
|
export: string;
|
|
3189
3238
|
claim_id: string;
|
|
3190
3239
|
package: string;
|
|
3191
|
-
receiver: string;
|
|
3192
3240
|
claim: {
|
|
3193
3241
|
kind: "make";
|
|
3194
3242
|
member: string | null;
|
|
@@ -3282,10 +3330,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3282
3330
|
};
|
|
3283
3331
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
3284
3332
|
}, {
|
|
3333
|
+
receiver: string;
|
|
3285
3334
|
export: string;
|
|
3286
3335
|
claim_id: string;
|
|
3287
3336
|
package: string;
|
|
3288
|
-
receiver: string;
|
|
3289
3337
|
claim: {
|
|
3290
3338
|
kind: "make";
|
|
3291
3339
|
member: string | null;
|
|
@@ -3385,10 +3433,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3385
3433
|
action: "verify_library_claims";
|
|
3386
3434
|
from_dir: string;
|
|
3387
3435
|
checks: {
|
|
3436
|
+
receiver: string;
|
|
3388
3437
|
export: string;
|
|
3389
3438
|
claim_id: string;
|
|
3390
3439
|
package: string;
|
|
3391
|
-
receiver: string;
|
|
3392
3440
|
claim: {
|
|
3393
3441
|
kind: "make";
|
|
3394
3442
|
member: string | null;
|
|
@@ -3488,10 +3536,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3488
3536
|
action: "verify_library_claims";
|
|
3489
3537
|
from_dir: string;
|
|
3490
3538
|
checks: {
|
|
3539
|
+
receiver: string;
|
|
3491
3540
|
export: string;
|
|
3492
3541
|
claim_id: string;
|
|
3493
3542
|
package: string;
|
|
3494
|
-
receiver: string;
|
|
3495
3543
|
claim: {
|
|
3496
3544
|
kind: "make";
|
|
3497
3545
|
member: string | null;
|
|
@@ -3595,17 +3643,17 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3595
3643
|
max_entries: z.ZodOptional<z.ZodNumber>;
|
|
3596
3644
|
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
3597
3645
|
}, "strip", z.ZodTypeAny, {
|
|
3646
|
+
packages: string[];
|
|
3598
3647
|
request_id: string;
|
|
3599
3648
|
action: "list_library_surface";
|
|
3600
3649
|
from_dir: string;
|
|
3601
|
-
packages: string[];
|
|
3602
3650
|
max_entries?: number | undefined;
|
|
3603
3651
|
exports?: Record<string, string[]> | undefined;
|
|
3604
3652
|
}, {
|
|
3653
|
+
packages: string[];
|
|
3605
3654
|
request_id: string;
|
|
3606
3655
|
action: "list_library_surface";
|
|
3607
3656
|
from_dir: string;
|
|
3608
|
-
packages: string[];
|
|
3609
3657
|
max_entries?: number | undefined;
|
|
3610
3658
|
exports?: Record<string, string[]> | undefined;
|
|
3611
3659
|
}>, z.ZodObject<{
|
|
@@ -3628,6 +3676,29 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3628
3676
|
}, {
|
|
3629
3677
|
request_id: string;
|
|
3630
3678
|
action: "shutdown";
|
|
3679
|
+
}>, z.ZodObject<{
|
|
3680
|
+
request_id: z.ZodString;
|
|
3681
|
+
} & {
|
|
3682
|
+
action: z.ZodLiteral<"list_program_files">;
|
|
3683
|
+
}, "strip", z.ZodTypeAny, {
|
|
3684
|
+
request_id: string;
|
|
3685
|
+
action: "list_program_files";
|
|
3686
|
+
}, {
|
|
3687
|
+
request_id: string;
|
|
3688
|
+
action: "list_program_files";
|
|
3689
|
+
}>, z.ZodObject<{
|
|
3690
|
+
request_id: z.ZodString;
|
|
3691
|
+
} & {
|
|
3692
|
+
action: z.ZodLiteral<"add_program_files">;
|
|
3693
|
+
files: z.ZodArray<z.ZodString, "many">;
|
|
3694
|
+
}, "strip", z.ZodTypeAny, {
|
|
3695
|
+
files: string[];
|
|
3696
|
+
request_id: string;
|
|
3697
|
+
action: "add_program_files";
|
|
3698
|
+
}, {
|
|
3699
|
+
files: string[];
|
|
3700
|
+
request_id: string;
|
|
3701
|
+
action: "add_program_files";
|
|
3631
3702
|
}>]>;
|
|
3632
3703
|
/**
|
|
3633
3704
|
* Result type for parseRequest
|