carrick 0.3.108 → 0.3.109

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.
@@ -35,22 +35,22 @@ export declare const InferRequestItemSchema: z.ZodObject<{
35
35
  file_path: string;
36
36
  line_number: number;
37
37
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
38
+ param_name?: string | undefined;
38
39
  alias?: string | undefined;
39
40
  span_start?: number | undefined;
40
41
  span_end?: number | undefined;
41
42
  expression_text?: string | undefined;
42
43
  expression_line?: number | undefined;
43
- param_name?: string | undefined;
44
44
  }, {
45
45
  file_path: string;
46
46
  line_number: number;
47
47
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
48
+ param_name?: string | undefined;
48
49
  alias?: string | undefined;
49
50
  span_start?: number | undefined;
50
51
  span_end?: number | undefined;
51
52
  expression_text?: string | undefined;
52
53
  expression_line?: number | undefined;
53
- param_name?: string | undefined;
54
54
  }>;
55
55
  /**
56
56
  * Per-item locator validation for infer requests.
@@ -266,16 +266,16 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
266
266
  array_depth: z.ZodOptional<z.ZodNumber>;
267
267
  }, "strip", z.ZodTypeAny, {
268
268
  kind: "symbol";
269
+ alias: string;
269
270
  symbol_name: string;
270
271
  source_file: string;
271
- alias: string;
272
272
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
273
273
  array_depth?: number | undefined;
274
274
  }, {
275
275
  kind: "symbol";
276
+ alias: string;
276
277
  symbol_name: string;
277
278
  source_file: string;
278
- alias: string;
279
279
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
280
280
  array_depth?: number | undefined;
281
281
  }>, z.ZodObject<{
@@ -286,15 +286,15 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
286
286
  anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
287
287
  }, "strip", z.ZodTypeAny, {
288
288
  kind: "handler_return";
289
+ alias: string;
289
290
  symbol_name: string;
290
291
  source_file: string;
291
- alias: string;
292
292
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
293
293
  }, {
294
294
  kind: "handler_return";
295
+ alias: string;
295
296
  symbol_name: string;
296
297
  source_file: string;
297
- alias: string;
298
298
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
299
299
  }>, z.ZodObject<{
300
300
  kind: z.ZodLiteral<"infer">;
@@ -309,25 +309,25 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
309
309
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
310
310
  }, "strip", z.ZodTypeAny, {
311
311
  kind: "infer";
312
- source_file: string;
313
312
  alias: string;
313
+ source_file: string;
314
314
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
315
+ param_name?: string | undefined;
315
316
  line_number?: number | undefined;
316
317
  span_start?: number | undefined;
317
318
  span_end?: number | undefined;
318
319
  expression_text?: string | undefined;
319
- param_name?: string | undefined;
320
320
  unwrap?: "awaited" | "none" | undefined;
321
321
  }, {
322
322
  kind: "infer";
323
- source_file: string;
324
323
  alias: string;
324
+ source_file: string;
325
325
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
326
+ param_name?: string | undefined;
326
327
  line_number?: number | undefined;
327
328
  span_start?: number | undefined;
328
329
  span_end?: number | undefined;
329
330
  expression_text?: string | undefined;
330
- param_name?: string | undefined;
331
331
  unwrap?: "awaited" | "none" | undefined;
332
332
  }>, z.ZodObject<{
333
333
  kind: z.ZodLiteral<"literal">;
@@ -354,25 +354,25 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
354
354
  alias: string;
355
355
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
356
356
  type_text: string;
357
+ raw_text_read?: true | undefined;
357
358
  source_file?: string | undefined;
358
359
  printed_names?: {
359
360
  name: string;
360
361
  file: string;
361
362
  export_path: string[];
362
363
  }[] | undefined;
363
- raw_text_read?: true | undefined;
364
364
  }, {
365
365
  kind: "literal";
366
366
  alias: string;
367
367
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
368
368
  type_text: string;
369
+ raw_text_read?: true | undefined;
369
370
  source_file?: string | undefined;
370
371
  printed_names?: {
371
372
  name: string;
372
373
  file: string;
373
374
  export_path: string[];
374
375
  }[] | undefined;
375
- raw_text_read?: true | undefined;
376
376
  }>]>, "many">;
377
377
  out_dir: z.ZodString;
378
378
  tsconfig_path: z.ZodOptional<z.ZodString>;
@@ -380,40 +380,40 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
380
380
  }, "strip", z.ZodTypeAny, {
381
381
  anchors: ({
382
382
  kind: "symbol";
383
+ alias: string;
383
384
  symbol_name: string;
384
385
  source_file: string;
385
- alias: string;
386
386
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
387
387
  array_depth?: number | undefined;
388
388
  } | {
389
389
  kind: "handler_return";
390
+ alias: string;
390
391
  symbol_name: string;
391
392
  source_file: string;
392
- alias: string;
393
393
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
394
394
  } | {
395
395
  kind: "infer";
396
- source_file: string;
397
396
  alias: string;
397
+ source_file: string;
398
398
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
399
+ param_name?: string | undefined;
399
400
  line_number?: number | undefined;
400
401
  span_start?: number | undefined;
401
402
  span_end?: number | undefined;
402
403
  expression_text?: string | undefined;
403
- param_name?: string | undefined;
404
404
  unwrap?: "awaited" | "none" | undefined;
405
405
  } | {
406
406
  kind: "literal";
407
407
  alias: string;
408
408
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
409
409
  type_text: string;
410
+ raw_text_read?: true | undefined;
410
411
  source_file?: string | undefined;
411
412
  printed_names?: {
412
413
  name: string;
413
414
  file: string;
414
415
  export_path: string[];
415
416
  }[] | undefined;
416
- raw_text_read?: true | undefined;
417
417
  })[];
418
418
  request_id: string;
419
419
  action: "capture_v2";
@@ -425,40 +425,40 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
425
425
  }, {
426
426
  anchors: ({
427
427
  kind: "symbol";
428
+ alias: string;
428
429
  symbol_name: string;
429
430
  source_file: string;
430
- alias: string;
431
431
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
432
432
  array_depth?: number | undefined;
433
433
  } | {
434
434
  kind: "handler_return";
435
+ alias: string;
435
436
  symbol_name: string;
436
437
  source_file: string;
437
- alias: string;
438
438
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
439
439
  } | {
440
440
  kind: "infer";
441
- source_file: string;
442
441
  alias: string;
442
+ source_file: string;
443
443
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
444
+ param_name?: string | undefined;
444
445
  line_number?: number | undefined;
445
446
  span_start?: number | undefined;
446
447
  span_end?: number | undefined;
447
448
  expression_text?: string | undefined;
448
- param_name?: string | undefined;
449
449
  unwrap?: "awaited" | "none" | undefined;
450
450
  } | {
451
451
  kind: "literal";
452
452
  alias: string;
453
453
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
454
454
  type_text: string;
455
+ raw_text_read?: true | undefined;
455
456
  source_file?: string | undefined;
456
457
  printed_names?: {
457
458
  name: string;
458
459
  file: string;
459
460
  export_path: string[];
460
461
  }[] | undefined;
461
- raw_text_read?: true | undefined;
462
462
  })[];
463
463
  request_id: string;
464
464
  action: "capture_v2";
@@ -534,12 +534,6 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
534
534
  workspace_root: z.ZodOptional<z.ZodString>;
535
535
  keep_workspace: z.ZodOptional<z.ZodBoolean>;
536
536
  }, "strip", z.ZodTypeAny, {
537
- request_id: string;
538
- action: "check_v2";
539
- stubs: {
540
- service_name: string;
541
- stub_dir: string;
542
- }[];
543
537
  pairs: {
544
538
  producer: {
545
539
  alias: string;
@@ -553,15 +547,15 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
553
547
  protocol: "http" | "graphql" | "socket" | "pubsub";
554
548
  type_kind: "request" | "response" | "both";
555
549
  }[];
556
- workspace_root?: string | undefined;
557
- keep_workspace?: boolean | undefined;
558
- }, {
559
550
  request_id: string;
560
551
  action: "check_v2";
561
552
  stubs: {
562
553
  service_name: string;
563
554
  stub_dir: string;
564
555
  }[];
556
+ workspace_root?: string | undefined;
557
+ keep_workspace?: boolean | undefined;
558
+ }, {
565
559
  pairs: {
566
560
  producer: {
567
561
  alias: string;
@@ -575,6 +569,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
575
569
  protocol: "http" | "graphql" | "socket" | "pubsub";
576
570
  type_kind: "request" | "response" | "both";
577
571
  }[];
572
+ request_id: string;
573
+ action: "check_v2";
574
+ stubs: {
575
+ service_name: string;
576
+ stub_dir: string;
577
+ }[];
578
578
  workspace_root?: string | undefined;
579
579
  keep_workspace?: boolean | undefined;
580
580
  }>;
@@ -596,22 +596,22 @@ export declare const InferRequestSchema: z.ZodObject<{
596
596
  file_path: string;
597
597
  line_number: number;
598
598
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
599
+ param_name?: string | undefined;
599
600
  alias?: string | undefined;
600
601
  span_start?: number | undefined;
601
602
  span_end?: number | undefined;
602
603
  expression_text?: string | undefined;
603
604
  expression_line?: number | undefined;
604
- param_name?: string | undefined;
605
605
  }, {
606
606
  file_path: string;
607
607
  line_number: number;
608
608
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
609
+ param_name?: string | undefined;
609
610
  alias?: string | undefined;
610
611
  span_start?: number | undefined;
611
612
  span_end?: number | undefined;
612
613
  expression_text?: string | undefined;
613
614
  expression_line?: number | undefined;
614
- param_name?: string | undefined;
615
615
  }>, "many">;
616
616
  extraction_config: z.ZodOptional<z.ZodObject<{
617
617
  rules: z.ZodArray<z.ZodObject<{
@@ -667,12 +667,12 @@ export declare const InferRequestSchema: z.ZodObject<{
667
667
  file_path: string;
668
668
  line_number: number;
669
669
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
670
+ param_name?: string | undefined;
670
671
  alias?: string | undefined;
671
672
  span_start?: number | undefined;
672
673
  span_end?: number | undefined;
673
674
  expression_text?: string | undefined;
674
675
  expression_line?: number | undefined;
675
- param_name?: string | undefined;
676
676
  }[];
677
677
  extraction_config?: {
678
678
  rules: {
@@ -692,12 +692,12 @@ export declare const InferRequestSchema: z.ZodObject<{
692
692
  file_path: string;
693
693
  line_number: number;
694
694
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
695
+ param_name?: string | undefined;
695
696
  alias?: string | undefined;
696
697
  span_start?: number | undefined;
697
698
  span_end?: number | undefined;
698
699
  expression_text?: string | undefined;
699
700
  expression_line?: number | undefined;
700
- param_name?: string | undefined;
701
701
  }[];
702
702
  extraction_config?: {
703
703
  rules: {
@@ -733,6 +733,31 @@ export declare const ShutdownRequestSchema: z.ZodObject<{
733
733
  request_id: string;
734
734
  action: "shutdown";
735
735
  }>;
736
+ export declare const ListProgramFilesRequestSchema: z.ZodObject<{
737
+ request_id: z.ZodString;
738
+ } & {
739
+ action: z.ZodLiteral<"list_program_files">;
740
+ }, "strip", z.ZodTypeAny, {
741
+ request_id: string;
742
+ action: "list_program_files";
743
+ }, {
744
+ request_id: string;
745
+ action: "list_program_files";
746
+ }>;
747
+ export declare const AddProgramFilesRequestSchema: z.ZodObject<{
748
+ request_id: z.ZodString;
749
+ } & {
750
+ action: z.ZodLiteral<"add_program_files">;
751
+ files: z.ZodArray<z.ZodString, "many">;
752
+ }, "strip", z.ZodTypeAny, {
753
+ files: string[];
754
+ request_id: string;
755
+ action: "add_program_files";
756
+ }, {
757
+ files: string[];
758
+ request_id: string;
759
+ action: "add_program_files";
760
+ }>;
736
761
  export declare const ResolveDefinitionsRequestSchema: z.ZodObject<{
737
762
  request_id: z.ZodString;
738
763
  } & {
@@ -1836,17 +1861,17 @@ export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
1836
1861
  max_entries: z.ZodOptional<z.ZodNumber>;
1837
1862
  exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1838
1863
  }, "strip", z.ZodTypeAny, {
1864
+ packages: string[];
1839
1865
  request_id: string;
1840
1866
  action: "list_library_surface";
1841
1867
  from_dir: string;
1842
- packages: string[];
1843
1868
  max_entries?: number | undefined;
1844
1869
  exports?: Record<string, string[]> | undefined;
1845
1870
  }, {
1871
+ packages: string[];
1846
1872
  request_id: string;
1847
1873
  action: "list_library_surface";
1848
1874
  from_dir: string;
1849
- packages: string[];
1850
1875
  max_entries?: number | undefined;
1851
1876
  exports?: Record<string, string[]> | undefined;
1852
1877
  }>;
@@ -2054,16 +2079,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2054
2079
  array_depth: z.ZodOptional<z.ZodNumber>;
2055
2080
  }, "strip", z.ZodTypeAny, {
2056
2081
  kind: "symbol";
2082
+ alias: string;
2057
2083
  symbol_name: string;
2058
2084
  source_file: string;
2059
- alias: string;
2060
2085
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2061
2086
  array_depth?: number | undefined;
2062
2087
  }, {
2063
2088
  kind: "symbol";
2089
+ alias: string;
2064
2090
  symbol_name: string;
2065
2091
  source_file: string;
2066
- alias: string;
2067
2092
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2068
2093
  array_depth?: number | undefined;
2069
2094
  }>, z.ZodObject<{
@@ -2074,15 +2099,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2074
2099
  anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
2075
2100
  }, "strip", z.ZodTypeAny, {
2076
2101
  kind: "handler_return";
2102
+ alias: string;
2077
2103
  symbol_name: string;
2078
2104
  source_file: string;
2079
- alias: string;
2080
2105
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2081
2106
  }, {
2082
2107
  kind: "handler_return";
2108
+ alias: string;
2083
2109
  symbol_name: string;
2084
2110
  source_file: string;
2085
- alias: string;
2086
2111
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2087
2112
  }>, z.ZodObject<{
2088
2113
  kind: z.ZodLiteral<"infer">;
@@ -2097,25 +2122,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2097
2122
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
2098
2123
  }, "strip", z.ZodTypeAny, {
2099
2124
  kind: "infer";
2100
- source_file: string;
2101
2125
  alias: string;
2126
+ source_file: string;
2102
2127
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2128
+ param_name?: string | undefined;
2103
2129
  line_number?: number | undefined;
2104
2130
  span_start?: number | undefined;
2105
2131
  span_end?: number | undefined;
2106
2132
  expression_text?: string | undefined;
2107
- param_name?: string | undefined;
2108
2133
  unwrap?: "awaited" | "none" | undefined;
2109
2134
  }, {
2110
2135
  kind: "infer";
2111
- source_file: string;
2112
2136
  alias: string;
2137
+ source_file: string;
2113
2138
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2139
+ param_name?: string | undefined;
2114
2140
  line_number?: number | undefined;
2115
2141
  span_start?: number | undefined;
2116
2142
  span_end?: number | undefined;
2117
2143
  expression_text?: string | undefined;
2118
- param_name?: string | undefined;
2119
2144
  unwrap?: "awaited" | "none" | undefined;
2120
2145
  }>, z.ZodObject<{
2121
2146
  kind: z.ZodLiteral<"literal">;
@@ -2142,25 +2167,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2142
2167
  alias: string;
2143
2168
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2144
2169
  type_text: string;
2170
+ raw_text_read?: true | undefined;
2145
2171
  source_file?: string | undefined;
2146
2172
  printed_names?: {
2147
2173
  name: string;
2148
2174
  file: string;
2149
2175
  export_path: string[];
2150
2176
  }[] | undefined;
2151
- raw_text_read?: true | undefined;
2152
2177
  }, {
2153
2178
  kind: "literal";
2154
2179
  alias: string;
2155
2180
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2156
2181
  type_text: string;
2182
+ raw_text_read?: true | undefined;
2157
2183
  source_file?: string | undefined;
2158
2184
  printed_names?: {
2159
2185
  name: string;
2160
2186
  file: string;
2161
2187
  export_path: string[];
2162
2188
  }[] | undefined;
2163
- raw_text_read?: true | undefined;
2164
2189
  }>]>, "many">;
2165
2190
  out_dir: z.ZodString;
2166
2191
  tsconfig_path: z.ZodOptional<z.ZodString>;
@@ -2168,40 +2193,40 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2168
2193
  }, "strip", z.ZodTypeAny, {
2169
2194
  anchors: ({
2170
2195
  kind: "symbol";
2196
+ alias: string;
2171
2197
  symbol_name: string;
2172
2198
  source_file: string;
2173
- alias: string;
2174
2199
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2175
2200
  array_depth?: number | undefined;
2176
2201
  } | {
2177
2202
  kind: "handler_return";
2203
+ alias: string;
2178
2204
  symbol_name: string;
2179
2205
  source_file: string;
2180
- alias: string;
2181
2206
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2182
2207
  } | {
2183
2208
  kind: "infer";
2184
- source_file: string;
2185
2209
  alias: string;
2210
+ source_file: string;
2186
2211
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2212
+ param_name?: string | undefined;
2187
2213
  line_number?: number | undefined;
2188
2214
  span_start?: number | undefined;
2189
2215
  span_end?: number | undefined;
2190
2216
  expression_text?: string | undefined;
2191
- param_name?: string | undefined;
2192
2217
  unwrap?: "awaited" | "none" | undefined;
2193
2218
  } | {
2194
2219
  kind: "literal";
2195
2220
  alias: string;
2196
2221
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2197
2222
  type_text: string;
2223
+ raw_text_read?: true | undefined;
2198
2224
  source_file?: string | undefined;
2199
2225
  printed_names?: {
2200
2226
  name: string;
2201
2227
  file: string;
2202
2228
  export_path: string[];
2203
2229
  }[] | undefined;
2204
- raw_text_read?: true | undefined;
2205
2230
  })[];
2206
2231
  request_id: string;
2207
2232
  action: "capture_v2";
@@ -2213,40 +2238,40 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2213
2238
  }, {
2214
2239
  anchors: ({
2215
2240
  kind: "symbol";
2241
+ alias: string;
2216
2242
  symbol_name: string;
2217
2243
  source_file: string;
2218
- alias: string;
2219
2244
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2220
2245
  array_depth?: number | undefined;
2221
2246
  } | {
2222
2247
  kind: "handler_return";
2248
+ alias: string;
2223
2249
  symbol_name: string;
2224
2250
  source_file: string;
2225
- alias: string;
2226
2251
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2227
2252
  } | {
2228
2253
  kind: "infer";
2229
- source_file: string;
2230
2254
  alias: string;
2255
+ source_file: string;
2231
2256
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2257
+ param_name?: string | undefined;
2232
2258
  line_number?: number | undefined;
2233
2259
  span_start?: number | undefined;
2234
2260
  span_end?: number | undefined;
2235
2261
  expression_text?: string | undefined;
2236
- param_name?: string | undefined;
2237
2262
  unwrap?: "awaited" | "none" | undefined;
2238
2263
  } | {
2239
2264
  kind: "literal";
2240
2265
  alias: string;
2241
2266
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2242
2267
  type_text: string;
2268
+ raw_text_read?: true | undefined;
2243
2269
  source_file?: string | undefined;
2244
2270
  printed_names?: {
2245
2271
  name: string;
2246
2272
  file: string;
2247
2273
  export_path: string[];
2248
2274
  }[] | undefined;
2249
- raw_text_read?: true | undefined;
2250
2275
  })[];
2251
2276
  request_id: string;
2252
2277
  action: "capture_v2";
@@ -2321,12 +2346,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2321
2346
  workspace_root: z.ZodOptional<z.ZodString>;
2322
2347
  keep_workspace: z.ZodOptional<z.ZodBoolean>;
2323
2348
  }, "strip", z.ZodTypeAny, {
2324
- request_id: string;
2325
- action: "check_v2";
2326
- stubs: {
2327
- service_name: string;
2328
- stub_dir: string;
2329
- }[];
2330
2349
  pairs: {
2331
2350
  producer: {
2332
2351
  alias: string;
@@ -2340,15 +2359,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2340
2359
  protocol: "http" | "graphql" | "socket" | "pubsub";
2341
2360
  type_kind: "request" | "response" | "both";
2342
2361
  }[];
2343
- workspace_root?: string | undefined;
2344
- keep_workspace?: boolean | undefined;
2345
- }, {
2346
2362
  request_id: string;
2347
2363
  action: "check_v2";
2348
2364
  stubs: {
2349
2365
  service_name: string;
2350
2366
  stub_dir: string;
2351
2367
  }[];
2368
+ workspace_root?: string | undefined;
2369
+ keep_workspace?: boolean | undefined;
2370
+ }, {
2352
2371
  pairs: {
2353
2372
  producer: {
2354
2373
  alias: string;
@@ -2362,6 +2381,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2362
2381
  protocol: "http" | "graphql" | "socket" | "pubsub";
2363
2382
  type_kind: "request" | "response" | "both";
2364
2383
  }[];
2384
+ request_id: string;
2385
+ action: "check_v2";
2386
+ stubs: {
2387
+ service_name: string;
2388
+ stub_dir: string;
2389
+ }[];
2365
2390
  workspace_root?: string | undefined;
2366
2391
  keep_workspace?: boolean | undefined;
2367
2392
  }>, z.ZodObject<{
@@ -2382,22 +2407,22 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2382
2407
  file_path: string;
2383
2408
  line_number: number;
2384
2409
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
2410
+ param_name?: string | undefined;
2385
2411
  alias?: string | undefined;
2386
2412
  span_start?: number | undefined;
2387
2413
  span_end?: number | undefined;
2388
2414
  expression_text?: string | undefined;
2389
2415
  expression_line?: number | undefined;
2390
- param_name?: string | undefined;
2391
2416
  }, {
2392
2417
  file_path: string;
2393
2418
  line_number: number;
2394
2419
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
2420
+ param_name?: string | undefined;
2395
2421
  alias?: string | undefined;
2396
2422
  span_start?: number | undefined;
2397
2423
  span_end?: number | undefined;
2398
2424
  expression_text?: string | undefined;
2399
2425
  expression_line?: number | undefined;
2400
- param_name?: string | undefined;
2401
2426
  }>, "many">;
2402
2427
  extraction_config: z.ZodOptional<z.ZodObject<{
2403
2428
  rules: z.ZodArray<z.ZodObject<{
@@ -2453,12 +2478,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2453
2478
  file_path: string;
2454
2479
  line_number: number;
2455
2480
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
2481
+ param_name?: string | undefined;
2456
2482
  alias?: string | undefined;
2457
2483
  span_start?: number | undefined;
2458
2484
  span_end?: number | undefined;
2459
2485
  expression_text?: string | undefined;
2460
2486
  expression_line?: number | undefined;
2461
- param_name?: string | undefined;
2462
2487
  }[];
2463
2488
  extraction_config?: {
2464
2489
  rules: {
@@ -2478,12 +2503,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2478
2503
  file_path: string;
2479
2504
  line_number: number;
2480
2505
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type";
2506
+ param_name?: string | undefined;
2481
2507
  alias?: string | undefined;
2482
2508
  span_start?: number | undefined;
2483
2509
  span_end?: number | undefined;
2484
2510
  expression_text?: string | undefined;
2485
2511
  expression_line?: number | undefined;
2486
- param_name?: string | undefined;
2487
2512
  }[];
2488
2513
  extraction_config?: {
2489
2514
  rules: {
@@ -3595,17 +3620,17 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3595
3620
  max_entries: z.ZodOptional<z.ZodNumber>;
3596
3621
  exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
3597
3622
  }, "strip", z.ZodTypeAny, {
3623
+ packages: string[];
3598
3624
  request_id: string;
3599
3625
  action: "list_library_surface";
3600
3626
  from_dir: string;
3601
- packages: string[];
3602
3627
  max_entries?: number | undefined;
3603
3628
  exports?: Record<string, string[]> | undefined;
3604
3629
  }, {
3630
+ packages: string[];
3605
3631
  request_id: string;
3606
3632
  action: "list_library_surface";
3607
3633
  from_dir: string;
3608
- packages: string[];
3609
3634
  max_entries?: number | undefined;
3610
3635
  exports?: Record<string, string[]> | undefined;
3611
3636
  }>, z.ZodObject<{
@@ -3628,6 +3653,29 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3628
3653
  }, {
3629
3654
  request_id: string;
3630
3655
  action: "shutdown";
3656
+ }>, z.ZodObject<{
3657
+ request_id: z.ZodString;
3658
+ } & {
3659
+ action: z.ZodLiteral<"list_program_files">;
3660
+ }, "strip", z.ZodTypeAny, {
3661
+ request_id: string;
3662
+ action: "list_program_files";
3663
+ }, {
3664
+ request_id: string;
3665
+ action: "list_program_files";
3666
+ }>, z.ZodObject<{
3667
+ request_id: z.ZodString;
3668
+ } & {
3669
+ action: z.ZodLiteral<"add_program_files">;
3670
+ files: z.ZodArray<z.ZodString, "many">;
3671
+ }, "strip", z.ZodTypeAny, {
3672
+ files: string[];
3673
+ request_id: string;
3674
+ action: "add_program_files";
3675
+ }, {
3676
+ files: string[];
3677
+ request_id: string;
3678
+ action: "add_program_files";
3631
3679
  }>]>;
3632
3680
  /**
3633
3681
  * Result type for parseRequest