carrick 0.3.101 → 0.3.103

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.
Files changed (39) hide show
  1. package/package.json +6 -6
  2. package/plugin/.claude-plugin/plugin.json +1 -1
  3. package/sidecar/dist/src/bundler.d.ts +3 -92
  4. package/sidecar/dist/src/bundler.js +5 -265
  5. package/sidecar/dist/src/capture/anchors.js +113 -8
  6. package/sidecar/dist/src/capture/check-fields.js +19 -5
  7. package/sidecar/dist/src/capture/check-probe.d.ts +5 -0
  8. package/sidecar/dist/src/capture/check-probe.js +31 -2
  9. package/sidecar/dist/src/capture/check-workspace.d.ts +3 -0
  10. package/sidecar/dist/src/capture/check-workspace.js +13 -16
  11. package/sidecar/dist/src/capture/check.js +5 -5
  12. package/sidecar/dist/src/capture/deep-walk.js +45 -12
  13. package/sidecar/dist/src/capture/deno-project.d.ts +2 -1
  14. package/sidecar/dist/src/capture/deno-project.js +22 -18
  15. package/sidecar/dist/src/capture/guarded-fs.d.ts +76 -0
  16. package/sidecar/dist/src/capture/guarded-fs.js +182 -0
  17. package/sidecar/dist/src/capture/index.js +60 -26
  18. package/sidecar/dist/src/capture/outside-root.d.ts +41 -0
  19. package/sidecar/dist/src/capture/outside-root.js +101 -0
  20. package/sidecar/dist/src/capture/paths-rewrite.d.ts +8 -0
  21. package/sidecar/dist/src/capture/paths-rewrite.js +9 -7
  22. package/sidecar/dist/src/capture/repair-dangling.d.ts +11 -1
  23. package/sidecar/dist/src/capture/repair-dangling.js +15 -4
  24. package/sidecar/dist/src/capture/self-check.d.ts +3 -0
  25. package/sidecar/dist/src/capture/self-check.js +3 -3
  26. package/sidecar/dist/src/index.d.ts +1 -1
  27. package/sidecar/dist/src/index.js +2 -115
  28. package/sidecar/dist/src/origin.d.ts +49 -8
  29. package/sidecar/dist/src/origin.js +81 -8
  30. package/sidecar/dist/src/project-loader.js +15 -5
  31. package/sidecar/dist/src/type-inferrer.d.ts +72 -0
  32. package/sidecar/dist/src/type-inferrer.js +248 -8
  33. package/sidecar/dist/src/type-structural-expander.d.ts +5 -1
  34. package/sidecar/dist/src/type-structural-expander.js +1 -1
  35. package/sidecar/dist/src/types.d.ts +31 -178
  36. package/sidecar/dist/src/validators.d.ts +58 -914
  37. package/sidecar/dist/src/validators.js +0 -55
  38. package/sidecar/dist/src/monorepo-builder.d.ts +0 -129
  39. 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
  }>;
@@ -219,13 +219,13 @@ export declare const BundleRequestSchema: z.ZodObject<{
219
219
  alias: z.ZodOptional<z.ZodString>;
220
220
  array_depth: z.ZodOptional<z.ZodNumber>;
221
221
  }, "strip", z.ZodTypeAny, {
222
- source_file: string;
223
222
  symbol_name: string;
223
+ source_file: string;
224
224
  alias?: string | undefined;
225
225
  array_depth?: number | undefined;
226
226
  }, {
227
- source_file: string;
228
227
  symbol_name: string;
228
+ source_file: string;
229
229
  alias?: string | undefined;
230
230
  array_depth?: number | undefined;
231
231
  }>, "many">;
@@ -233,8 +233,8 @@ export declare const BundleRequestSchema: z.ZodObject<{
233
233
  request_id: string;
234
234
  action: "bundle";
235
235
  symbols: {
236
- source_file: string;
237
236
  symbol_name: string;
237
+ source_file: string;
238
238
  alias?: string | undefined;
239
239
  array_depth?: number | undefined;
240
240
  }[];
@@ -242,99 +242,12 @@ export declare const BundleRequestSchema: z.ZodObject<{
242
242
  request_id: string;
243
243
  action: "bundle";
244
244
  symbols: {
245
- source_file: string;
246
245
  symbol_name: string;
246
+ source_file: string;
247
247
  alias?: string | undefined;
248
248
  array_depth?: number | undefined;
249
249
  }[];
250
250
  }>;
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
251
  export declare const CaptureV2RequestSchema: z.ZodObject<{
339
252
  request_id: z.ZodString;
340
253
  } & {
@@ -350,16 +263,16 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
350
263
  array_depth: z.ZodOptional<z.ZodNumber>;
351
264
  }, "strip", z.ZodTypeAny, {
352
265
  kind: "symbol";
353
- alias: string;
354
- source_file: string;
355
266
  symbol_name: string;
267
+ source_file: string;
268
+ alias: string;
356
269
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
357
270
  array_depth?: number | undefined;
358
271
  }, {
359
272
  kind: "symbol";
360
- alias: string;
361
- source_file: string;
362
273
  symbol_name: string;
274
+ source_file: string;
275
+ alias: string;
363
276
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
364
277
  array_depth?: number | undefined;
365
278
  }>, z.ZodObject<{
@@ -370,15 +283,15 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
370
283
  anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
371
284
  }, "strip", z.ZodTypeAny, {
372
285
  kind: "handler_return";
373
- alias: string;
374
- source_file: string;
375
286
  symbol_name: string;
287
+ source_file: string;
288
+ alias: string;
376
289
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
377
290
  }, {
378
291
  kind: "handler_return";
379
- alias: string;
380
- source_file: string;
381
292
  symbol_name: string;
293
+ source_file: string;
294
+ alias: string;
382
295
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
383
296
  }>, z.ZodObject<{
384
297
  kind: z.ZodLiteral<"infer">;
@@ -392,8 +305,8 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
392
305
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
393
306
  }, "strip", z.ZodTypeAny, {
394
307
  kind: "infer";
395
- alias: string;
396
308
  source_file: string;
309
+ alias: string;
397
310
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
398
311
  line_number?: number | undefined;
399
312
  span_start?: number | undefined;
@@ -402,8 +315,8 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
402
315
  unwrap?: "awaited" | "none" | undefined;
403
316
  }, {
404
317
  kind: "infer";
405
- alias: string;
406
318
  source_file: string;
319
+ alias: string;
407
320
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
408
321
  line_number?: number | undefined;
409
322
  span_start?: number | undefined;
@@ -438,21 +351,21 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
438
351
  service_name: string;
439
352
  anchors: ({
440
353
  kind: "symbol";
441
- alias: string;
442
- source_file: string;
443
354
  symbol_name: string;
355
+ source_file: string;
356
+ alias: string;
444
357
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
445
358
  array_depth?: number | undefined;
446
359
  } | {
447
360
  kind: "handler_return";
448
- alias: string;
449
- source_file: string;
450
361
  symbol_name: string;
362
+ source_file: string;
363
+ alias: string;
451
364
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
452
365
  } | {
453
366
  kind: "infer";
454
- alias: string;
455
367
  source_file: string;
368
+ alias: string;
456
369
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
457
370
  line_number?: number | undefined;
458
371
  span_start?: number | undefined;
@@ -475,21 +388,21 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
475
388
  service_name: string;
476
389
  anchors: ({
477
390
  kind: "symbol";
478
- alias: string;
479
- source_file: string;
480
391
  symbol_name: string;
392
+ source_file: string;
393
+ alias: string;
481
394
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
482
395
  array_depth?: number | undefined;
483
396
  } | {
484
397
  kind: "handler_return";
485
- alias: string;
486
- source_file: string;
487
398
  symbol_name: string;
399
+ source_file: string;
400
+ alias: string;
488
401
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
489
402
  } | {
490
403
  kind: "infer";
491
- alias: string;
492
404
  source_file: string;
405
+ alias: string;
493
406
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
494
407
  line_number?: number | undefined;
495
408
  span_start?: number | undefined;
@@ -749,347 +662,6 @@ export declare const InferRequestSchema: z.ZodObject<{
749
662
  }[];
750
663
  } | undefined;
751
664
  }>;
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
665
  export declare const HealthRequestSchema: z.ZodObject<{
1094
666
  request_id: z.ZodString;
1095
667
  } & {
@@ -1359,6 +931,7 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
1359
931
  }, "strip", z.ZodTypeAny, {
1360
932
  request_id: string;
1361
933
  action: "verify_client_semantics";
934
+ from_dir: string;
1362
935
  checks: {
1363
936
  export: string;
1364
937
  claim_id: string;
@@ -1392,11 +965,11 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
1392
965
  url_key?: string | undefined;
1393
966
  };
1394
967
  }[];
1395
- from_dir: string;
1396
968
  budget_ms?: number | undefined;
1397
969
  }, {
1398
970
  request_id: string;
1399
971
  action: "verify_client_semantics";
972
+ from_dir: string;
1400
973
  checks: {
1401
974
  export: string;
1402
975
  claim_id: string;
@@ -1430,7 +1003,6 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
1430
1003
  url_key?: string | undefined;
1431
1004
  };
1432
1005
  }[];
1433
- from_dir: string;
1434
1006
  budget_ms?: number | undefined;
1435
1007
  }>;
1436
1008
  export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
@@ -2002,6 +1574,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2002
1574
  }, "strip", z.ZodTypeAny, {
2003
1575
  request_id: string;
2004
1576
  action: "verify_library_claims";
1577
+ from_dir: string;
2005
1578
  checks: {
2006
1579
  export: string;
2007
1580
  claim_id: string;
@@ -2100,11 +1673,11 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2100
1673
  };
2101
1674
  role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
2102
1675
  }[];
2103
- from_dir: string;
2104
1676
  budget_ms?: number | null | undefined;
2105
1677
  }, {
2106
1678
  request_id: string;
2107
1679
  action: "verify_library_claims";
1680
+ from_dir: string;
2108
1681
  checks: {
2109
1682
  export: string;
2110
1683
  claim_id: string;
@@ -2203,7 +1776,6 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2203
1776
  };
2204
1777
  role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
2205
1778
  }[];
2206
- from_dir: string;
2207
1779
  budget_ms?: number | null | undefined;
2208
1780
  }>;
2209
1781
  export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
@@ -2387,13 +1959,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2387
1959
  alias: z.ZodOptional<z.ZodString>;
2388
1960
  array_depth: z.ZodOptional<z.ZodNumber>;
2389
1961
  }, "strip", z.ZodTypeAny, {
2390
- source_file: string;
2391
1962
  symbol_name: string;
1963
+ source_file: string;
2392
1964
  alias?: string | undefined;
2393
1965
  array_depth?: number | undefined;
2394
1966
  }, {
2395
- source_file: string;
2396
1967
  symbol_name: string;
1968
+ source_file: string;
2397
1969
  alias?: string | undefined;
2398
1970
  array_depth?: number | undefined;
2399
1971
  }>, "many">;
@@ -2401,8 +1973,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2401
1973
  request_id: string;
2402
1974
  action: "bundle";
2403
1975
  symbols: {
2404
- source_file: string;
2405
1976
  symbol_name: string;
1977
+ source_file: string;
2406
1978
  alias?: string | undefined;
2407
1979
  array_depth?: number | undefined;
2408
1980
  }[];
@@ -2410,99 +1982,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2410
1982
  request_id: string;
2411
1983
  action: "bundle";
2412
1984
  symbols: {
2413
- source_file: string;
2414
1985
  symbol_name: string;
1986
+ source_file: string;
2415
1987
  alias?: string | undefined;
2416
1988
  array_depth?: number | undefined;
2417
1989
  }[];
2418
1990
  }>, z.ZodObject<{
2419
1991
  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
1992
  } & {
2507
1993
  action: z.ZodLiteral<"capture_v2">;
2508
1994
  repo_root: z.ZodString;
@@ -2516,16 +2002,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2516
2002
  array_depth: z.ZodOptional<z.ZodNumber>;
2517
2003
  }, "strip", z.ZodTypeAny, {
2518
2004
  kind: "symbol";
2519
- alias: string;
2520
- source_file: string;
2521
2005
  symbol_name: string;
2006
+ source_file: string;
2007
+ alias: string;
2522
2008
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2523
2009
  array_depth?: number | undefined;
2524
2010
  }, {
2525
2011
  kind: "symbol";
2526
- alias: string;
2527
- source_file: string;
2528
2012
  symbol_name: string;
2013
+ source_file: string;
2014
+ alias: string;
2529
2015
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2530
2016
  array_depth?: number | undefined;
2531
2017
  }>, z.ZodObject<{
@@ -2536,15 +2022,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2536
2022
  anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
2537
2023
  }, "strip", z.ZodTypeAny, {
2538
2024
  kind: "handler_return";
2539
- alias: string;
2540
- source_file: string;
2541
2025
  symbol_name: string;
2026
+ source_file: string;
2027
+ alias: string;
2542
2028
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2543
2029
  }, {
2544
2030
  kind: "handler_return";
2545
- alias: string;
2546
- source_file: string;
2547
2031
  symbol_name: string;
2032
+ source_file: string;
2033
+ alias: string;
2548
2034
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2549
2035
  }>, z.ZodObject<{
2550
2036
  kind: z.ZodLiteral<"infer">;
@@ -2558,8 +2044,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2558
2044
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
2559
2045
  }, "strip", z.ZodTypeAny, {
2560
2046
  kind: "infer";
2561
- alias: string;
2562
2047
  source_file: string;
2048
+ alias: string;
2563
2049
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2564
2050
  line_number?: number | undefined;
2565
2051
  span_start?: number | undefined;
@@ -2568,8 +2054,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2568
2054
  unwrap?: "awaited" | "none" | undefined;
2569
2055
  }, {
2570
2056
  kind: "infer";
2571
- alias: string;
2572
2057
  source_file: string;
2058
+ alias: string;
2573
2059
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2574
2060
  line_number?: number | undefined;
2575
2061
  span_start?: number | undefined;
@@ -2604,21 +2090,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2604
2090
  service_name: string;
2605
2091
  anchors: ({
2606
2092
  kind: "symbol";
2607
- alias: string;
2608
- source_file: string;
2609
2093
  symbol_name: string;
2094
+ source_file: string;
2095
+ alias: string;
2610
2096
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2611
2097
  array_depth?: number | undefined;
2612
2098
  } | {
2613
2099
  kind: "handler_return";
2614
- alias: string;
2615
- source_file: string;
2616
2100
  symbol_name: string;
2101
+ source_file: string;
2102
+ alias: string;
2617
2103
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2618
2104
  } | {
2619
2105
  kind: "infer";
2620
- alias: string;
2621
2106
  source_file: string;
2107
+ alias: string;
2622
2108
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2623
2109
  line_number?: number | undefined;
2624
2110
  span_start?: number | undefined;
@@ -2641,21 +2127,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2641
2127
  service_name: string;
2642
2128
  anchors: ({
2643
2129
  kind: "symbol";
2644
- alias: string;
2645
- source_file: string;
2646
2130
  symbol_name: string;
2131
+ source_file: string;
2132
+ alias: string;
2647
2133
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2648
2134
  array_depth?: number | undefined;
2649
2135
  } | {
2650
2136
  kind: "handler_return";
2651
- alias: string;
2652
- source_file: string;
2653
2137
  symbol_name: string;
2138
+ source_file: string;
2139
+ alias: string;
2654
2140
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2655
2141
  } | {
2656
2142
  kind: "infer";
2657
- alias: string;
2658
2143
  source_file: string;
2144
+ alias: string;
2659
2145
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
2660
2146
  line_number?: number | undefined;
2661
2147
  span_start?: number | undefined;
@@ -2914,345 +2400,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2914
2400
  } | undefined;
2915
2401
  }>, z.ZodObject<{
2916
2402
  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
2403
  } & {
3257
2404
  action: z.ZodLiteral<"resolve_definitions">;
3258
2405
  stub_dir: z.ZodString;
@@ -3496,6 +2643,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3496
2643
  }, "strip", z.ZodTypeAny, {
3497
2644
  request_id: string;
3498
2645
  action: "verify_client_semantics";
2646
+ from_dir: string;
3499
2647
  checks: {
3500
2648
  export: string;
3501
2649
  claim_id: string;
@@ -3529,11 +2677,11 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3529
2677
  url_key?: string | undefined;
3530
2678
  };
3531
2679
  }[];
3532
- from_dir: string;
3533
2680
  budget_ms?: number | undefined;
3534
2681
  }, {
3535
2682
  request_id: string;
3536
2683
  action: "verify_client_semantics";
2684
+ from_dir: string;
3537
2685
  checks: {
3538
2686
  export: string;
3539
2687
  claim_id: string;
@@ -3567,7 +2715,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3567
2715
  url_key?: string | undefined;
3568
2716
  };
3569
2717
  }[];
3570
- from_dir: string;
3571
2718
  budget_ms?: number | undefined;
3572
2719
  }>, z.ZodObject<{
3573
2720
  request_id: z.ZodString;
@@ -4138,6 +3285,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4138
3285
  }, "strip", z.ZodTypeAny, {
4139
3286
  request_id: string;
4140
3287
  action: "verify_library_claims";
3288
+ from_dir: string;
4141
3289
  checks: {
4142
3290
  export: string;
4143
3291
  claim_id: string;
@@ -4236,11 +3384,11 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4236
3384
  };
4237
3385
  role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
4238
3386
  }[];
4239
- from_dir: string;
4240
3387
  budget_ms?: number | null | undefined;
4241
3388
  }, {
4242
3389
  request_id: string;
4243
3390
  action: "verify_library_claims";
3391
+ from_dir: string;
4244
3392
  checks: {
4245
3393
  export: string;
4246
3394
  claim_id: string;
@@ -4339,7 +3487,6 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4339
3487
  };
4340
3488
  role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
4341
3489
  }[];
4342
- from_dir: string;
4343
3490
  budget_ms?: number | null | undefined;
4344
3491
  }>, z.ZodObject<{
4345
3492
  request_id: z.ZodString;
@@ -4411,10 +3558,7 @@ export declare function parseRequest(json: unknown): ParseResult;
4411
3558
  export declare function parseRequestOrThrow(json: unknown): SidecarRequest;
4412
3559
  export type ValidatedInitRequest = z.infer<typeof InitRequestSchema>;
4413
3560
  export type ValidatedBundleRequest = z.infer<typeof BundleRequestSchema>;
4414
- export type ValidatedEmitSurfaceRequest = z.infer<typeof EmitSurfaceRequestSchema>;
4415
3561
  export type ValidatedInferRequest = z.infer<typeof InferRequestSchema>;
4416
- export type ValidatedBuildWorkspaceRequest = z.infer<typeof BuildWorkspaceRequestSchema>;
4417
- export type ValidatedCheckCompatibilityRequest = z.infer<typeof CheckCompatibilityRequestSchema>;
4418
3562
  export type ValidatedHealthRequest = z.infer<typeof HealthRequestSchema>;
4419
3563
  export type ValidatedShutdownRequest = z.infer<typeof ShutdownRequestSchema>;
4420
3564
  export type ValidatedSidecarRequest = z.infer<typeof SidecarRequestSchema>;