carrick 0.3.133 → 0.3.135

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 (70) hide show
  1. package/dist/contract.d.ts +6 -0
  2. package/dist/contract.js.map +1 -1
  3. package/dist/hook/post-edit.d.ts +10 -5
  4. package/dist/hook/post-edit.js +80 -23
  5. package/dist/hook/post-edit.js.map +1 -1
  6. package/dist/hook/refresh.d.ts +23 -3
  7. package/dist/hook/refresh.js +48 -6
  8. package/dist/hook/refresh.js.map +1 -1
  9. package/dist/hook/reuse.d.ts +7 -21
  10. package/dist/hook/reuse.js +23 -36
  11. package/dist/hook/reuse.js.map +1 -1
  12. package/dist/hook/session-start.js +15 -2
  13. package/dist/hook/session-start.js.map +1 -1
  14. package/dist/hook/stop.js.map +1 -1
  15. package/dist/init/agents-section.js +1 -1
  16. package/dist/init/agents-section.js.map +1 -1
  17. package/dist/init/doctor.js +4 -0
  18. package/dist/init/doctor.js.map +1 -1
  19. package/dist/init/hosted.d.ts +1 -0
  20. package/dist/init/hosted.js +4 -1
  21. package/dist/init/hosted.js.map +1 -1
  22. package/dist/init/remove.js +7 -1
  23. package/dist/init/remove.js.map +1 -1
  24. package/dist/init/repo-copies.js +3 -1
  25. package/dist/init/repo-copies.js.map +1 -1
  26. package/dist/init/run.d.ts +1 -1
  27. package/dist/init/run.js +10 -2
  28. package/dist/init/run.js.map +1 -1
  29. package/dist/init/task-skills.d.ts +22 -1
  30. package/dist/init/task-skills.js +65 -1
  31. package/dist/init/task-skills.js.map +1 -1
  32. package/dist/render.d.ts +41 -16
  33. package/dist/render.js +91 -102
  34. package/dist/render.js.map +1 -1
  35. package/package.json +10 -9
  36. package/plugin/.claude-plugin/plugin.json +1 -1
  37. package/sidecar/dist/src/capture/anchors.js +18 -1
  38. package/sidecar/dist/src/capture/api.d.ts +17 -4
  39. package/sidecar/dist/src/capture/check-workspace.js +1 -1
  40. package/sidecar/dist/src/capture/check.d.ts +44 -0
  41. package/sidecar/dist/src/capture/check.js +112 -10
  42. package/sidecar/dist/src/capture/index.js +18 -0
  43. package/sidecar/dist/src/capture/installed-package.d.ts +5 -0
  44. package/sidecar/dist/src/capture/installed-package.js +64 -6
  45. package/sidecar/dist/src/capture/machine-paths.d.ts +44 -0
  46. package/sidecar/dist/src/capture/machine-paths.js +97 -0
  47. package/sidecar/dist/src/capture/node-builder.d.ts +2 -0
  48. package/sidecar/dist/src/capture/node-builder.js +1 -1
  49. package/sidecar/dist/src/capture/paths-rewrite.js +3 -3
  50. package/sidecar/dist/src/capture/result-label.d.ts +42 -0
  51. package/sidecar/dist/src/capture/result-label.js +91 -0
  52. package/sidecar/dist/src/capture/self-check.js +13 -2
  53. package/sidecar/dist/src/index.js +117 -5
  54. package/sidecar/dist/src/infer-cache.d.ts +125 -0
  55. package/sidecar/dist/src/infer-cache.js +244 -0
  56. package/sidecar/dist/src/library-claims.d.ts +35 -3
  57. package/sidecar/dist/src/library-claims.js +417 -61
  58. package/sidecar/dist/src/node-index.d.ts +53 -0
  59. package/sidecar/dist/src/node-index.js +100 -0
  60. package/sidecar/dist/src/project-loader.d.ts +11 -0
  61. package/sidecar/dist/src/project-loader.js +15 -0
  62. package/sidecar/dist/src/result-candidates.d.ts +28 -0
  63. package/sidecar/dist/src/result-candidates.js +209 -0
  64. package/sidecar/dist/src/type-inferrer.d.ts +27 -0
  65. package/sidecar/dist/src/type-inferrer.js +175 -43
  66. package/sidecar/dist/src/types.d.ts +77 -1
  67. package/sidecar/dist/src/unwidened.js +10 -1
  68. package/sidecar/dist/src/validators.d.ts +931 -197
  69. package/sidecar/dist/src/validators.js +34 -0
  70. package/templates/skills/carrick-reuse.md +11 -0
@@ -24,6 +24,29 @@ export declare const SymbolRequestSchema: z.ZodObject<{
24
24
  alias?: string | undefined;
25
25
  array_depth?: number | undefined;
26
26
  }>;
27
+ /**
28
+ * The library store's label for which part of a call's result holds the
29
+ * response body (carrick#2818). Exactly one key.
30
+ */
31
+ export declare const ResultLabelSchema: z.ZodUnion<[z.ZodObject<{
32
+ whole: z.ZodLiteral<true>;
33
+ }, "strict", z.ZodTypeAny, {
34
+ whole: true;
35
+ }, {
36
+ whole: true;
37
+ }>, z.ZodObject<{
38
+ member: z.ZodTuple<[z.ZodString], null>;
39
+ }, "strict", z.ZodTypeAny, {
40
+ member: [string];
41
+ }, {
42
+ member: [string];
43
+ }>, z.ZodObject<{
44
+ parse: z.ZodString;
45
+ }, "strict", z.ZodTypeAny, {
46
+ parse: string;
47
+ }, {
48
+ parse: string;
49
+ }>]>;
27
50
  export declare const InferRequestItemSchema: z.ZodObject<{
28
51
  file_path: z.ZodString;
29
52
  line_number: z.ZodNumber;
@@ -35,13 +58,39 @@ export declare const InferRequestItemSchema: z.ZodObject<{
35
58
  alias: z.ZodOptional<z.ZodString>;
36
59
  param_name: z.ZodOptional<z.ZodString>;
37
60
  member: z.ZodOptional<z.ZodString>;
61
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
62
+ whole: z.ZodLiteral<true>;
63
+ }, "strict", z.ZodTypeAny, {
64
+ whole: true;
65
+ }, {
66
+ whole: true;
67
+ }>, z.ZodObject<{
68
+ member: z.ZodTuple<[z.ZodString], null>;
69
+ }, "strict", z.ZodTypeAny, {
70
+ member: [string];
71
+ }, {
72
+ member: [string];
73
+ }>, z.ZodObject<{
74
+ parse: z.ZodString;
75
+ }, "strict", z.ZodTypeAny, {
76
+ parse: string;
77
+ }, {
78
+ parse: string;
79
+ }>]>>;
38
80
  }, "strip", z.ZodTypeAny, {
39
81
  file_path: string;
40
82
  line_number: number;
41
83
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
84
+ member?: string | undefined;
85
+ result?: {
86
+ whole: true;
87
+ } | {
88
+ member: [string];
89
+ } | {
90
+ parse: string;
91
+ } | undefined;
42
92
  param_name?: string | undefined;
43
93
  alias?: string | undefined;
44
- member?: string | undefined;
45
94
  span_start?: number | undefined;
46
95
  span_end?: number | undefined;
47
96
  expression_text?: string | undefined;
@@ -50,9 +99,16 @@ export declare const InferRequestItemSchema: z.ZodObject<{
50
99
  file_path: string;
51
100
  line_number: number;
52
101
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
102
+ member?: string | undefined;
103
+ result?: {
104
+ whole: true;
105
+ } | {
106
+ member: [string];
107
+ } | {
108
+ parse: string;
109
+ } | undefined;
53
110
  param_name?: string | undefined;
54
111
  alias?: string | undefined;
55
- member?: string | undefined;
56
112
  span_start?: number | undefined;
57
113
  span_end?: number | undefined;
58
114
  expression_text?: string | undefined;
@@ -125,39 +181,39 @@ export declare const InitRequestSchema: z.ZodObject<{
125
181
  }, z.ZodTypeAny, "passthrough">>;
126
182
  }, "strip", z.ZodTypeAny, {
127
183
  compilerOptions: {
128
- types?: string[] | undefined;
129
184
  module?: string | undefined;
130
185
  moduleResolution?: string | undefined;
131
186
  target?: string | undefined;
132
- skipLibCheck?: boolean | undefined;
133
- paths?: Record<string, string[]> | undefined;
134
- baseUrl?: string | undefined;
135
- declaration?: boolean | undefined;
136
- declarationMap?: boolean | undefined;
137
- jsx?: string | undefined;
138
187
  lib?: string[] | undefined;
139
- strict?: boolean | undefined;
188
+ types?: string[] | undefined;
140
189
  typeRoots?: string[] | undefined;
190
+ jsx?: string | undefined;
191
+ strict?: boolean | undefined;
141
192
  esModuleInterop?: boolean | undefined;
193
+ skipLibCheck?: boolean | undefined;
194
+ declaration?: boolean | undefined;
195
+ declarationMap?: boolean | undefined;
196
+ paths?: Record<string, string[]> | undefined;
197
+ baseUrl?: string | undefined;
142
198
  } & {
143
199
  [k: string]: unknown;
144
200
  };
145
201
  }, {
146
202
  compilerOptions: {
147
- types?: string[] | undefined;
148
203
  module?: string | undefined;
149
204
  moduleResolution?: string | undefined;
150
205
  target?: string | undefined;
151
- skipLibCheck?: boolean | undefined;
152
- paths?: Record<string, string[]> | undefined;
153
- baseUrl?: string | undefined;
154
- declaration?: boolean | undefined;
155
- declarationMap?: boolean | undefined;
156
- jsx?: string | undefined;
157
206
  lib?: string[] | undefined;
158
- strict?: boolean | undefined;
207
+ types?: string[] | undefined;
159
208
  typeRoots?: string[] | undefined;
209
+ jsx?: string | undefined;
210
+ strict?: boolean | undefined;
160
211
  esModuleInterop?: boolean | undefined;
212
+ skipLibCheck?: boolean | undefined;
213
+ declaration?: boolean | undefined;
214
+ declarationMap?: boolean | undefined;
215
+ paths?: Record<string, string[]> | undefined;
216
+ baseUrl?: string | undefined;
161
217
  } & {
162
218
  [k: string]: unknown;
163
219
  };
@@ -171,20 +227,20 @@ export declare const InitRequestSchema: z.ZodObject<{
171
227
  scan_root?: string | undefined;
172
228
  tsconfig_snapshot?: {
173
229
  compilerOptions: {
174
- types?: string[] | undefined;
175
230
  module?: string | undefined;
176
231
  moduleResolution?: string | undefined;
177
232
  target?: string | undefined;
178
- skipLibCheck?: boolean | undefined;
179
- paths?: Record<string, string[]> | undefined;
180
- baseUrl?: string | undefined;
181
- declaration?: boolean | undefined;
182
- declarationMap?: boolean | undefined;
183
- jsx?: string | undefined;
184
233
  lib?: string[] | undefined;
185
- strict?: boolean | undefined;
234
+ types?: string[] | undefined;
186
235
  typeRoots?: string[] | undefined;
236
+ jsx?: string | undefined;
237
+ strict?: boolean | undefined;
187
238
  esModuleInterop?: boolean | undefined;
239
+ skipLibCheck?: boolean | undefined;
240
+ declaration?: boolean | undefined;
241
+ declarationMap?: boolean | undefined;
242
+ paths?: Record<string, string[]> | undefined;
243
+ baseUrl?: string | undefined;
188
244
  } & {
189
245
  [k: string]: unknown;
190
246
  };
@@ -198,20 +254,20 @@ export declare const InitRequestSchema: z.ZodObject<{
198
254
  scan_root?: string | undefined;
199
255
  tsconfig_snapshot?: {
200
256
  compilerOptions: {
201
- types?: string[] | undefined;
202
257
  module?: string | undefined;
203
258
  moduleResolution?: string | undefined;
204
259
  target?: string | undefined;
205
- skipLibCheck?: boolean | undefined;
206
- paths?: Record<string, string[]> | undefined;
207
- baseUrl?: string | undefined;
208
- declaration?: boolean | undefined;
209
- declarationMap?: boolean | undefined;
210
- jsx?: string | undefined;
211
260
  lib?: string[] | undefined;
212
- strict?: boolean | undefined;
261
+ types?: string[] | undefined;
213
262
  typeRoots?: string[] | undefined;
263
+ jsx?: string | undefined;
264
+ strict?: boolean | undefined;
214
265
  esModuleInterop?: boolean | undefined;
266
+ skipLibCheck?: boolean | undefined;
267
+ declaration?: boolean | undefined;
268
+ declarationMap?: boolean | undefined;
269
+ paths?: Record<string, string[]> | undefined;
270
+ baseUrl?: string | undefined;
215
271
  } & {
216
272
  [k: string]: unknown;
217
273
  };
@@ -324,11 +380,37 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
324
380
  expression_text: z.ZodOptional<z.ZodString>;
325
381
  param_name: z.ZodOptional<z.ZodString>;
326
382
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
383
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
384
+ whole: z.ZodLiteral<true>;
385
+ }, "strict", z.ZodTypeAny, {
386
+ whole: true;
387
+ }, {
388
+ whole: true;
389
+ }>, z.ZodObject<{
390
+ member: z.ZodTuple<[z.ZodString], null>;
391
+ }, "strict", z.ZodTypeAny, {
392
+ member: [string];
393
+ }, {
394
+ member: [string];
395
+ }>, z.ZodObject<{
396
+ parse: z.ZodString;
397
+ }, "strict", z.ZodTypeAny, {
398
+ parse: string;
399
+ }, {
400
+ parse: string;
401
+ }>]>>;
327
402
  }, "strip", z.ZodTypeAny, {
328
403
  kind: "infer";
329
404
  alias: string;
330
405
  source_file: string;
331
406
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
407
+ result?: {
408
+ whole: true;
409
+ } | {
410
+ member: [string];
411
+ } | {
412
+ parse: string;
413
+ } | undefined;
332
414
  param_name?: string | undefined;
333
415
  line_number?: number | undefined;
334
416
  span_start?: number | undefined;
@@ -340,6 +422,13 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
340
422
  alias: string;
341
423
  source_file: string;
342
424
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
425
+ result?: {
426
+ whole: true;
427
+ } | {
428
+ member: [string];
429
+ } | {
430
+ parse: string;
431
+ } | undefined;
343
432
  param_name?: string | undefined;
344
433
  line_number?: number | undefined;
345
434
  span_start?: number | undefined;
@@ -418,6 +507,13 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
418
507
  alias: string;
419
508
  source_file: string;
420
509
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
510
+ result?: {
511
+ whole: true;
512
+ } | {
513
+ member: [string];
514
+ } | {
515
+ parse: string;
516
+ } | undefined;
421
517
  param_name?: string | undefined;
422
518
  line_number?: number | undefined;
423
519
  span_start?: number | undefined;
@@ -466,6 +562,13 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
466
562
  alias: string;
467
563
  source_file: string;
468
564
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
565
+ result?: {
566
+ whole: true;
567
+ } | {
568
+ member: [string];
569
+ } | {
570
+ parse: string;
571
+ } | undefined;
469
572
  param_name?: string | undefined;
470
573
  line_number?: number | undefined;
471
574
  span_start?: number | undefined;
@@ -650,13 +753,39 @@ export declare const InferRequestSchema: z.ZodObject<{
650
753
  alias: z.ZodOptional<z.ZodString>;
651
754
  param_name: z.ZodOptional<z.ZodString>;
652
755
  member: z.ZodOptional<z.ZodString>;
756
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
757
+ whole: z.ZodLiteral<true>;
758
+ }, "strict", z.ZodTypeAny, {
759
+ whole: true;
760
+ }, {
761
+ whole: true;
762
+ }>, z.ZodObject<{
763
+ member: z.ZodTuple<[z.ZodString], null>;
764
+ }, "strict", z.ZodTypeAny, {
765
+ member: [string];
766
+ }, {
767
+ member: [string];
768
+ }>, z.ZodObject<{
769
+ parse: z.ZodString;
770
+ }, "strict", z.ZodTypeAny, {
771
+ parse: string;
772
+ }, {
773
+ parse: string;
774
+ }>]>>;
653
775
  }, "strip", z.ZodTypeAny, {
654
776
  file_path: string;
655
777
  line_number: number;
656
778
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
779
+ member?: string | undefined;
780
+ result?: {
781
+ whole: true;
782
+ } | {
783
+ member: [string];
784
+ } | {
785
+ parse: string;
786
+ } | undefined;
657
787
  param_name?: string | undefined;
658
788
  alias?: string | undefined;
659
- member?: string | undefined;
660
789
  span_start?: number | undefined;
661
790
  span_end?: number | undefined;
662
791
  expression_text?: string | undefined;
@@ -665,9 +794,16 @@ export declare const InferRequestSchema: z.ZodObject<{
665
794
  file_path: string;
666
795
  line_number: number;
667
796
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
797
+ member?: string | undefined;
798
+ result?: {
799
+ whole: true;
800
+ } | {
801
+ member: [string];
802
+ } | {
803
+ parse: string;
804
+ } | undefined;
668
805
  param_name?: string | undefined;
669
806
  alias?: string | undefined;
670
- member?: string | undefined;
671
807
  span_start?: number | undefined;
672
808
  span_end?: number | undefined;
673
809
  expression_text?: string | undefined;
@@ -756,9 +892,16 @@ export declare const InferRequestSchema: z.ZodObject<{
756
892
  file_path: string;
757
893
  line_number: number;
758
894
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
895
+ member?: string | undefined;
896
+ result?: {
897
+ whole: true;
898
+ } | {
899
+ member: [string];
900
+ } | {
901
+ parse: string;
902
+ } | undefined;
759
903
  param_name?: string | undefined;
760
904
  alias?: string | undefined;
761
- member?: string | undefined;
762
905
  span_start?: number | undefined;
763
906
  span_end?: number | undefined;
764
907
  expression_text?: string | undefined;
@@ -793,9 +936,16 @@ export declare const InferRequestSchema: z.ZodObject<{
793
936
  file_path: string;
794
937
  line_number: number;
795
938
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
939
+ member?: string | undefined;
940
+ result?: {
941
+ whole: true;
942
+ } | {
943
+ member: [string];
944
+ } | {
945
+ parse: string;
946
+ } | undefined;
796
947
  param_name?: string | undefined;
797
948
  alias?: string | undefined;
798
- member?: string | undefined;
799
949
  span_start?: number | undefined;
800
950
  span_end?: number | undefined;
801
951
  expression_text?: string | undefined;
@@ -880,15 +1030,15 @@ export declare const PositionRowsRequestSchema: z.ZodObject<{
880
1030
  out_path: z.ZodString;
881
1031
  service: z.ZodString;
882
1032
  }, "strip", z.ZodTypeAny, {
883
- files: string[];
884
1033
  service: string;
1034
+ files: string[];
885
1035
  request_id: string;
886
1036
  action: "position_rows";
887
1037
  scan_root: string;
888
1038
  out_path: string;
889
1039
  }, {
890
- files: string[];
891
1040
  service: string;
1041
+ files: string[];
892
1042
  request_id: string;
893
1043
  action: "position_rows";
894
1044
  scan_root: string;
@@ -1332,13 +1482,32 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1332
1482
  scope: z.ZodEnum<["global", "service"]>;
1333
1483
  namespace: z.ZodNullable<z.ZodString>;
1334
1484
  }, "strict", z.ZodTypeAny, {
1335
- scope: "service" | "global";
1485
+ scope: "global" | "service";
1336
1486
  namespace: string | null;
1337
1487
  }, {
1338
- scope: "service" | "global";
1488
+ scope: "global" | "service";
1339
1489
  namespace: string | null;
1340
1490
  }>>;
1341
1491
  picker: z.ZodOptional<z.ZodString>;
1492
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1493
+ whole: z.ZodLiteral<true>;
1494
+ }, "strict", z.ZodTypeAny, {
1495
+ whole: true;
1496
+ }, {
1497
+ whole: true;
1498
+ }>, z.ZodObject<{
1499
+ member: z.ZodTuple<[z.ZodString], null>;
1500
+ }, "strict", z.ZodTypeAny, {
1501
+ member: [string];
1502
+ }, {
1503
+ member: [string];
1504
+ }>, z.ZodObject<{
1505
+ parse: z.ZodString;
1506
+ }, "strict", z.ZodTypeAny, {
1507
+ parse: string;
1508
+ }, {
1509
+ parse: string;
1510
+ }>]>>;
1342
1511
  }, "strict", z.ZodTypeAny, {
1343
1512
  kind: "make";
1344
1513
  member: string | null;
@@ -1347,6 +1516,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1347
1516
  arg: number;
1348
1517
  key?: string | undefined;
1349
1518
  } | undefined;
1519
+ result?: {
1520
+ whole: true;
1521
+ } | {
1522
+ member: [string];
1523
+ } | {
1524
+ parse: string;
1525
+ } | undefined;
1350
1526
  base?: {
1351
1527
  arg: number;
1352
1528
  key?: string | undefined;
@@ -1365,7 +1541,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1365
1541
  } | undefined;
1366
1542
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1367
1543
  name_scope?: {
1368
- scope: "service" | "global";
1544
+ scope: "global" | "service";
1369
1545
  namespace: string | null;
1370
1546
  } | undefined;
1371
1547
  picker?: string | undefined;
@@ -1377,6 +1553,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1377
1553
  arg: number;
1378
1554
  key?: string | undefined;
1379
1555
  } | undefined;
1556
+ result?: {
1557
+ whole: true;
1558
+ } | {
1559
+ member: [string];
1560
+ } | {
1561
+ parse: string;
1562
+ } | undefined;
1380
1563
  base?: {
1381
1564
  arg: number;
1382
1565
  key?: string | undefined;
@@ -1395,7 +1578,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1395
1578
  } | undefined;
1396
1579
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1397
1580
  name_scope?: {
1398
- scope: "service" | "global";
1581
+ scope: "global" | "service";
1399
1582
  namespace: string | null;
1400
1583
  } | undefined;
1401
1584
  picker?: string | undefined;
@@ -1420,10 +1603,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1420
1603
  scope: z.ZodEnum<["global", "service"]>;
1421
1604
  namespace: z.ZodNullable<z.ZodString>;
1422
1605
  }, "strict", z.ZodTypeAny, {
1423
- scope: "service" | "global";
1606
+ scope: "global" | "service";
1424
1607
  namespace: string | null;
1425
1608
  }, {
1426
- scope: "service" | "global";
1609
+ scope: "global" | "service";
1427
1610
  namespace: string | null;
1428
1611
  }>>;
1429
1612
  picker: z.ZodOptional<z.ZodString>;
@@ -1487,7 +1670,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1487
1670
  } | undefined;
1488
1671
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1489
1672
  name_scope?: {
1490
- scope: "service" | "global";
1673
+ scope: "global" | "service";
1491
1674
  namespace: string | null;
1492
1675
  } | undefined;
1493
1676
  of?: string | undefined;
@@ -1521,7 +1704,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1521
1704
  } | undefined;
1522
1705
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1523
1706
  name_scope?: {
1524
- scope: "service" | "global";
1707
+ scope: "global" | "service";
1525
1708
  namespace: string | null;
1526
1709
  } | undefined;
1527
1710
  of?: string | undefined;
@@ -1551,9 +1734,9 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1551
1734
  name: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1552
1735
  bound: z.ZodEnum<["maker", "scope", "key"]>;
1553
1736
  }, "strict", z.ZodTypeAny, {
1554
- bound: "key" | "scope" | "maker";
1737
+ bound: "maker" | "scope" | "key";
1555
1738
  }, {
1556
- bound: "key" | "scope" | "maker";
1739
+ bound: "maker" | "scope" | "key";
1557
1740
  }>, z.ZodObject<{
1558
1741
  arg: z.ZodNumber;
1559
1742
  key: z.ZodOptional<z.ZodString>;
@@ -1599,10 +1782,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1599
1782
  scope: z.ZodEnum<["global", "service"]>;
1600
1783
  namespace: z.ZodNullable<z.ZodString>;
1601
1784
  }, "strict", z.ZodTypeAny, {
1602
- scope: "service" | "global";
1785
+ scope: "global" | "service";
1603
1786
  namespace: string | null;
1604
1787
  }, {
1605
- scope: "service" | "global";
1788
+ scope: "global" | "service";
1606
1789
  namespace: string | null;
1607
1790
  }>>;
1608
1791
  picker: z.ZodOptional<z.ZodString>;
@@ -1673,32 +1856,58 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1673
1856
  }, "strict", z.ZodTypeAny, {
1674
1857
  param: number;
1675
1858
  body?: string[] | undefined;
1676
- path?: string[] | undefined;
1677
1859
  url?: string[] | undefined;
1860
+ path?: string[] | undefined;
1678
1861
  method?: string[] | undefined;
1679
1862
  }, {
1680
1863
  param: number;
1681
1864
  body?: string[] | undefined;
1682
- path?: string[] | undefined;
1683
1865
  url?: string[] | undefined;
1866
+ path?: string[] | undefined;
1684
1867
  method?: string[] | undefined;
1685
1868
  }>>;
1869
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1870
+ whole: z.ZodLiteral<true>;
1871
+ }, "strict", z.ZodTypeAny, {
1872
+ whole: true;
1873
+ }, {
1874
+ whole: true;
1875
+ }>, z.ZodObject<{
1876
+ member: z.ZodTuple<[z.ZodString], null>;
1877
+ }, "strict", z.ZodTypeAny, {
1878
+ member: [string];
1879
+ }, {
1880
+ member: [string];
1881
+ }>, z.ZodObject<{
1882
+ parse: z.ZodString;
1883
+ }, "strict", z.ZodTypeAny, {
1884
+ parse: string;
1885
+ }, {
1886
+ parse: string;
1887
+ }>]>>;
1686
1888
  }, "strict", z.ZodTypeAny, {
1687
1889
  kind: "op";
1688
1890
  member: string | null;
1689
1891
  op: "request" | "send" | "receive" | "execute";
1892
+ name?: {
1893
+ arg: number;
1894
+ key?: string | undefined;
1895
+ } | {
1896
+ bound: "maker" | "scope" | "key";
1897
+ } | undefined;
1690
1898
  request?: {
1691
1899
  param: number;
1692
1900
  body?: string[] | undefined;
1693
- path?: string[] | undefined;
1694
1901
  url?: string[] | undefined;
1902
+ path?: string[] | undefined;
1695
1903
  method?: string[] | undefined;
1696
1904
  } | undefined;
1697
- name?: {
1698
- arg: number;
1699
- key?: string | undefined;
1905
+ result?: {
1906
+ whole: true;
1907
+ } | {
1908
+ member: [string];
1700
1909
  } | {
1701
- bound: "key" | "scope" | "maker";
1910
+ parse: string;
1702
1911
  } | undefined;
1703
1912
  path?: string[] | undefined;
1704
1913
  method_default?: string | undefined;
@@ -1717,7 +1926,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1717
1926
  } | undefined;
1718
1927
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1719
1928
  name_scope?: {
1720
- scope: "service" | "global";
1929
+ scope: "global" | "service";
1721
1930
  namespace: string | null;
1722
1931
  } | undefined;
1723
1932
  method?: string | undefined;
@@ -1749,18 +1958,25 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1749
1958
  kind: "op";
1750
1959
  member: string | null;
1751
1960
  op: "request" | "send" | "receive" | "execute";
1961
+ name?: {
1962
+ arg: number;
1963
+ key?: string | undefined;
1964
+ } | {
1965
+ bound: "maker" | "scope" | "key";
1966
+ } | undefined;
1752
1967
  request?: {
1753
1968
  param: number;
1754
1969
  body?: string[] | undefined;
1755
- path?: string[] | undefined;
1756
1970
  url?: string[] | undefined;
1971
+ path?: string[] | undefined;
1757
1972
  method?: string[] | undefined;
1758
1973
  } | undefined;
1759
- name?: {
1760
- arg: number;
1761
- key?: string | undefined;
1974
+ result?: {
1975
+ whole: true;
1762
1976
  } | {
1763
- bound: "key" | "scope" | "maker";
1977
+ member: [string];
1978
+ } | {
1979
+ parse: string;
1764
1980
  } | undefined;
1765
1981
  path?: string[] | undefined;
1766
1982
  method_default?: string | undefined;
@@ -1779,7 +1995,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1779
1995
  } | undefined;
1780
1996
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1781
1997
  name_scope?: {
1782
- scope: "service" | "global";
1998
+ scope: "global" | "service";
1783
1999
  namespace: string | null;
1784
2000
  } | undefined;
1785
2001
  method?: string | undefined;
@@ -1807,6 +2023,63 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1807
2023
  export: string;
1808
2024
  param: number;
1809
2025
  } | undefined;
2026
+ }>, z.ZodObject<{
2027
+ kind: z.ZodLiteral<"result">;
2028
+ form: z.ZodEnum<["make", "op"]>;
2029
+ member: z.ZodNullable<z.ZodString>;
2030
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2031
+ on: z.ZodOptional<z.ZodEnum<["export", "instance", "both"]>>;
2032
+ of: z.ZodOptional<z.ZodString>;
2033
+ picker: z.ZodOptional<z.ZodString>;
2034
+ result: z.ZodUnion<[z.ZodObject<{
2035
+ whole: z.ZodLiteral<true>;
2036
+ }, "strict", z.ZodTypeAny, {
2037
+ whole: true;
2038
+ }, {
2039
+ whole: true;
2040
+ }>, z.ZodObject<{
2041
+ member: z.ZodTuple<[z.ZodString], null>;
2042
+ }, "strict", z.ZodTypeAny, {
2043
+ member: [string];
2044
+ }, {
2045
+ member: [string];
2046
+ }>, z.ZodObject<{
2047
+ parse: z.ZodString;
2048
+ }, "strict", z.ZodTypeAny, {
2049
+ parse: string;
2050
+ }, {
2051
+ parse: string;
2052
+ }>]>;
2053
+ }, "strict", z.ZodTypeAny, {
2054
+ kind: "result";
2055
+ member: string | null;
2056
+ result: {
2057
+ whole: true;
2058
+ } | {
2059
+ member: [string];
2060
+ } | {
2061
+ parse: string;
2062
+ };
2063
+ form: "make" | "op";
2064
+ path?: string[] | undefined;
2065
+ of?: string | undefined;
2066
+ on?: "both" | "export" | "instance" | undefined;
2067
+ picker?: string | undefined;
2068
+ }, {
2069
+ kind: "result";
2070
+ member: string | null;
2071
+ result: {
2072
+ whole: true;
2073
+ } | {
2074
+ member: [string];
2075
+ } | {
2076
+ parse: string;
2077
+ };
2078
+ form: "make" | "op";
2079
+ path?: string[] | undefined;
2080
+ of?: string | undefined;
2081
+ on?: "both" | "export" | "instance" | undefined;
2082
+ picker?: string | undefined;
1810
2083
  }>, z.ZodObject<{
1811
2084
  kind: z.ZodLiteral<"reserved">;
1812
2085
  member: z.ZodString;
@@ -1845,6 +2118,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1845
2118
  arg: number;
1846
2119
  key?: string | undefined;
1847
2120
  } | undefined;
2121
+ result?: {
2122
+ whole: true;
2123
+ } | {
2124
+ member: [string];
2125
+ } | {
2126
+ parse: string;
2127
+ } | undefined;
1848
2128
  base?: {
1849
2129
  arg: number;
1850
2130
  key?: string | undefined;
@@ -1863,7 +2143,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1863
2143
  } | undefined;
1864
2144
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1865
2145
  name_scope?: {
1866
- scope: "service" | "global";
2146
+ scope: "global" | "service";
1867
2147
  namespace: string | null;
1868
2148
  } | undefined;
1869
2149
  picker?: string | undefined;
@@ -1881,7 +2161,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1881
2161
  } | undefined;
1882
2162
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1883
2163
  name_scope?: {
1884
- scope: "service" | "global";
2164
+ scope: "global" | "service";
1885
2165
  namespace: string | null;
1886
2166
  } | undefined;
1887
2167
  of?: string | undefined;
@@ -1905,18 +2185,25 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1905
2185
  kind: "op";
1906
2186
  member: string | null;
1907
2187
  op: "request" | "send" | "receive" | "execute";
2188
+ name?: {
2189
+ arg: number;
2190
+ key?: string | undefined;
2191
+ } | {
2192
+ bound: "maker" | "scope" | "key";
2193
+ } | undefined;
1908
2194
  request?: {
1909
2195
  param: number;
1910
2196
  body?: string[] | undefined;
1911
- path?: string[] | undefined;
1912
2197
  url?: string[] | undefined;
2198
+ path?: string[] | undefined;
1913
2199
  method?: string[] | undefined;
1914
2200
  } | undefined;
1915
- name?: {
1916
- arg: number;
1917
- key?: string | undefined;
2201
+ result?: {
2202
+ whole: true;
2203
+ } | {
2204
+ member: [string];
1918
2205
  } | {
1919
- bound: "key" | "scope" | "maker";
2206
+ parse: string;
1920
2207
  } | undefined;
1921
2208
  path?: string[] | undefined;
1922
2209
  method_default?: string | undefined;
@@ -1935,7 +2222,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1935
2222
  } | undefined;
1936
2223
  key_labels?: Record<string, "name" | "not_name"> | undefined;
1937
2224
  name_scope?: {
1938
- scope: "service" | "global";
2225
+ scope: "global" | "service";
1939
2226
  namespace: string | null;
1940
2227
  } | undefined;
1941
2228
  method?: string | undefined;
@@ -1963,6 +2250,21 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1963
2250
  export: string;
1964
2251
  param: number;
1965
2252
  } | undefined;
2253
+ } | {
2254
+ kind: "result";
2255
+ member: string | null;
2256
+ result: {
2257
+ whole: true;
2258
+ } | {
2259
+ member: [string];
2260
+ } | {
2261
+ parse: string;
2262
+ };
2263
+ form: "make" | "op";
2264
+ path?: string[] | undefined;
2265
+ of?: string | undefined;
2266
+ on?: "both" | "export" | "instance" | undefined;
2267
+ picker?: string | undefined;
1966
2268
  } | {
1967
2269
  kind: "reserved";
1968
2270
  name: string;
@@ -1986,6 +2288,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
1986
2288
  arg: number;
1987
2289
  key?: string | undefined;
1988
2290
  } | undefined;
2291
+ result?: {
2292
+ whole: true;
2293
+ } | {
2294
+ member: [string];
2295
+ } | {
2296
+ parse: string;
2297
+ } | undefined;
1989
2298
  base?: {
1990
2299
  arg: number;
1991
2300
  key?: string | undefined;
@@ -2004,7 +2313,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2004
2313
  } | undefined;
2005
2314
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2006
2315
  name_scope?: {
2007
- scope: "service" | "global";
2316
+ scope: "global" | "service";
2008
2317
  namespace: string | null;
2009
2318
  } | undefined;
2010
2319
  picker?: string | undefined;
@@ -2022,7 +2331,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2022
2331
  } | undefined;
2023
2332
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2024
2333
  name_scope?: {
2025
- scope: "service" | "global";
2334
+ scope: "global" | "service";
2026
2335
  namespace: string | null;
2027
2336
  } | undefined;
2028
2337
  of?: string | undefined;
@@ -2046,18 +2355,25 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2046
2355
  kind: "op";
2047
2356
  member: string | null;
2048
2357
  op: "request" | "send" | "receive" | "execute";
2358
+ name?: {
2359
+ arg: number;
2360
+ key?: string | undefined;
2361
+ } | {
2362
+ bound: "maker" | "scope" | "key";
2363
+ } | undefined;
2049
2364
  request?: {
2050
2365
  param: number;
2051
2366
  body?: string[] | undefined;
2052
- path?: string[] | undefined;
2053
2367
  url?: string[] | undefined;
2368
+ path?: string[] | undefined;
2054
2369
  method?: string[] | undefined;
2055
2370
  } | undefined;
2056
- name?: {
2057
- arg: number;
2058
- key?: string | undefined;
2371
+ result?: {
2372
+ whole: true;
2059
2373
  } | {
2060
- bound: "key" | "scope" | "maker";
2374
+ member: [string];
2375
+ } | {
2376
+ parse: string;
2061
2377
  } | undefined;
2062
2378
  path?: string[] | undefined;
2063
2379
  method_default?: string | undefined;
@@ -2076,7 +2392,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2076
2392
  } | undefined;
2077
2393
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2078
2394
  name_scope?: {
2079
- scope: "service" | "global";
2395
+ scope: "global" | "service";
2080
2396
  namespace: string | null;
2081
2397
  } | undefined;
2082
2398
  method?: string | undefined;
@@ -2104,6 +2420,21 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2104
2420
  export: string;
2105
2421
  param: number;
2106
2422
  } | undefined;
2423
+ } | {
2424
+ kind: "result";
2425
+ member: string | null;
2426
+ result: {
2427
+ whole: true;
2428
+ } | {
2429
+ member: [string];
2430
+ } | {
2431
+ parse: string;
2432
+ };
2433
+ form: "make" | "op";
2434
+ path?: string[] | undefined;
2435
+ of?: string | undefined;
2436
+ on?: "both" | "export" | "instance" | undefined;
2437
+ picker?: string | undefined;
2107
2438
  } | {
2108
2439
  kind: "reserved";
2109
2440
  name: string;
@@ -2133,6 +2464,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2133
2464
  arg: number;
2134
2465
  key?: string | undefined;
2135
2466
  } | undefined;
2467
+ result?: {
2468
+ whole: true;
2469
+ } | {
2470
+ member: [string];
2471
+ } | {
2472
+ parse: string;
2473
+ } | undefined;
2136
2474
  base?: {
2137
2475
  arg: number;
2138
2476
  key?: string | undefined;
@@ -2151,7 +2489,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2151
2489
  } | undefined;
2152
2490
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2153
2491
  name_scope?: {
2154
- scope: "service" | "global";
2492
+ scope: "global" | "service";
2155
2493
  namespace: string | null;
2156
2494
  } | undefined;
2157
2495
  picker?: string | undefined;
@@ -2169,7 +2507,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2169
2507
  } | undefined;
2170
2508
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2171
2509
  name_scope?: {
2172
- scope: "service" | "global";
2510
+ scope: "global" | "service";
2173
2511
  namespace: string | null;
2174
2512
  } | undefined;
2175
2513
  of?: string | undefined;
@@ -2193,18 +2531,25 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2193
2531
  kind: "op";
2194
2532
  member: string | null;
2195
2533
  op: "request" | "send" | "receive" | "execute";
2534
+ name?: {
2535
+ arg: number;
2536
+ key?: string | undefined;
2537
+ } | {
2538
+ bound: "maker" | "scope" | "key";
2539
+ } | undefined;
2196
2540
  request?: {
2197
2541
  param: number;
2198
2542
  body?: string[] | undefined;
2199
- path?: string[] | undefined;
2200
2543
  url?: string[] | undefined;
2544
+ path?: string[] | undefined;
2201
2545
  method?: string[] | undefined;
2202
2546
  } | undefined;
2203
- name?: {
2204
- arg: number;
2205
- key?: string | undefined;
2547
+ result?: {
2548
+ whole: true;
2549
+ } | {
2550
+ member: [string];
2206
2551
  } | {
2207
- bound: "key" | "scope" | "maker";
2552
+ parse: string;
2208
2553
  } | undefined;
2209
2554
  path?: string[] | undefined;
2210
2555
  method_default?: string | undefined;
@@ -2223,7 +2568,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2223
2568
  } | undefined;
2224
2569
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2225
2570
  name_scope?: {
2226
- scope: "service" | "global";
2571
+ scope: "global" | "service";
2227
2572
  namespace: string | null;
2228
2573
  } | undefined;
2229
2574
  method?: string | undefined;
@@ -2251,6 +2596,21 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2251
2596
  export: string;
2252
2597
  param: number;
2253
2598
  } | undefined;
2599
+ } | {
2600
+ kind: "result";
2601
+ member: string | null;
2602
+ result: {
2603
+ whole: true;
2604
+ } | {
2605
+ member: [string];
2606
+ } | {
2607
+ parse: string;
2608
+ };
2609
+ form: "make" | "op";
2610
+ path?: string[] | undefined;
2611
+ of?: string | undefined;
2612
+ on?: "both" | "export" | "instance" | undefined;
2613
+ picker?: string | undefined;
2254
2614
  } | {
2255
2615
  kind: "reserved";
2256
2616
  name: string;
@@ -2281,6 +2641,13 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2281
2641
  arg: number;
2282
2642
  key?: string | undefined;
2283
2643
  } | undefined;
2644
+ result?: {
2645
+ whole: true;
2646
+ } | {
2647
+ member: [string];
2648
+ } | {
2649
+ parse: string;
2650
+ } | undefined;
2284
2651
  base?: {
2285
2652
  arg: number;
2286
2653
  key?: string | undefined;
@@ -2299,7 +2666,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2299
2666
  } | undefined;
2300
2667
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2301
2668
  name_scope?: {
2302
- scope: "service" | "global";
2669
+ scope: "global" | "service";
2303
2670
  namespace: string | null;
2304
2671
  } | undefined;
2305
2672
  picker?: string | undefined;
@@ -2317,7 +2684,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2317
2684
  } | undefined;
2318
2685
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2319
2686
  name_scope?: {
2320
- scope: "service" | "global";
2687
+ scope: "global" | "service";
2321
2688
  namespace: string | null;
2322
2689
  } | undefined;
2323
2690
  of?: string | undefined;
@@ -2341,18 +2708,25 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2341
2708
  kind: "op";
2342
2709
  member: string | null;
2343
2710
  op: "request" | "send" | "receive" | "execute";
2711
+ name?: {
2712
+ arg: number;
2713
+ key?: string | undefined;
2714
+ } | {
2715
+ bound: "maker" | "scope" | "key";
2716
+ } | undefined;
2344
2717
  request?: {
2345
2718
  param: number;
2346
2719
  body?: string[] | undefined;
2347
- path?: string[] | undefined;
2348
2720
  url?: string[] | undefined;
2721
+ path?: string[] | undefined;
2349
2722
  method?: string[] | undefined;
2350
2723
  } | undefined;
2351
- name?: {
2352
- arg: number;
2353
- key?: string | undefined;
2724
+ result?: {
2725
+ whole: true;
2354
2726
  } | {
2355
- bound: "key" | "scope" | "maker";
2727
+ member: [string];
2728
+ } | {
2729
+ parse: string;
2356
2730
  } | undefined;
2357
2731
  path?: string[] | undefined;
2358
2732
  method_default?: string | undefined;
@@ -2371,7 +2745,7 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2371
2745
  } | undefined;
2372
2746
  key_labels?: Record<string, "name" | "not_name"> | undefined;
2373
2747
  name_scope?: {
2374
- scope: "service" | "global";
2748
+ scope: "global" | "service";
2375
2749
  namespace: string | null;
2376
2750
  } | undefined;
2377
2751
  method?: string | undefined;
@@ -2399,6 +2773,21 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
2399
2773
  export: string;
2400
2774
  param: number;
2401
2775
  } | undefined;
2776
+ } | {
2777
+ kind: "result";
2778
+ member: string | null;
2779
+ result: {
2780
+ whole: true;
2781
+ } | {
2782
+ member: [string];
2783
+ } | {
2784
+ parse: string;
2785
+ };
2786
+ form: "make" | "op";
2787
+ path?: string[] | undefined;
2788
+ of?: string | undefined;
2789
+ on?: "both" | "export" | "instance" | undefined;
2790
+ picker?: string | undefined;
2402
2791
  } | {
2403
2792
  kind: "reserved";
2404
2793
  name: string;
@@ -2421,11 +2810,15 @@ export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
2421
2810
  packages: z.ZodArray<z.ZodString, "many">;
2422
2811
  max_entries: z.ZodOptional<z.ZodNumber>;
2423
2812
  exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2813
+ handlers: z.ZodOptional<z.ZodBoolean>;
2814
+ result_candidates: z.ZodOptional<z.ZodBoolean>;
2424
2815
  }, "strip", z.ZodTypeAny, {
2425
2816
  packages: string[];
2426
2817
  request_id: string;
2427
2818
  action: "list_library_surface";
2428
2819
  from_dir: string;
2820
+ handlers?: boolean | undefined;
2821
+ result_candidates?: boolean | undefined;
2429
2822
  max_entries?: number | undefined;
2430
2823
  exports?: Record<string, string[]> | undefined;
2431
2824
  }, {
@@ -2433,6 +2826,8 @@ export declare const ListLibrarySurfaceRequestSchema: z.ZodObject<{
2433
2826
  request_id: string;
2434
2827
  action: "list_library_surface";
2435
2828
  from_dir: string;
2829
+ handlers?: boolean | undefined;
2830
+ result_candidates?: boolean | undefined;
2436
2831
  max_entries?: number | undefined;
2437
2832
  exports?: Record<string, string[]> | undefined;
2438
2833
  }>;
@@ -2495,39 +2890,39 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2495
2890
  }, z.ZodTypeAny, "passthrough">>;
2496
2891
  }, "strip", z.ZodTypeAny, {
2497
2892
  compilerOptions: {
2498
- types?: string[] | undefined;
2499
2893
  module?: string | undefined;
2500
2894
  moduleResolution?: string | undefined;
2501
2895
  target?: string | undefined;
2502
- skipLibCheck?: boolean | undefined;
2503
- paths?: Record<string, string[]> | undefined;
2504
- baseUrl?: string | undefined;
2505
- declaration?: boolean | undefined;
2506
- declarationMap?: boolean | undefined;
2507
- jsx?: string | undefined;
2508
2896
  lib?: string[] | undefined;
2509
- strict?: boolean | undefined;
2897
+ types?: string[] | undefined;
2510
2898
  typeRoots?: string[] | undefined;
2899
+ jsx?: string | undefined;
2900
+ strict?: boolean | undefined;
2511
2901
  esModuleInterop?: boolean | undefined;
2902
+ skipLibCheck?: boolean | undefined;
2903
+ declaration?: boolean | undefined;
2904
+ declarationMap?: boolean | undefined;
2905
+ paths?: Record<string, string[]> | undefined;
2906
+ baseUrl?: string | undefined;
2512
2907
  } & {
2513
2908
  [k: string]: unknown;
2514
2909
  };
2515
2910
  }, {
2516
2911
  compilerOptions: {
2517
- types?: string[] | undefined;
2518
- module?: string | undefined;
2519
- moduleResolution?: string | undefined;
2520
- target?: string | undefined;
2521
- skipLibCheck?: boolean | undefined;
2522
- paths?: Record<string, string[]> | undefined;
2523
- baseUrl?: string | undefined;
2524
- declaration?: boolean | undefined;
2525
- declarationMap?: boolean | undefined;
2526
- jsx?: string | undefined;
2912
+ module?: string | undefined;
2913
+ moduleResolution?: string | undefined;
2914
+ target?: string | undefined;
2527
2915
  lib?: string[] | undefined;
2528
- strict?: boolean | undefined;
2916
+ types?: string[] | undefined;
2529
2917
  typeRoots?: string[] | undefined;
2918
+ jsx?: string | undefined;
2919
+ strict?: boolean | undefined;
2530
2920
  esModuleInterop?: boolean | undefined;
2921
+ skipLibCheck?: boolean | undefined;
2922
+ declaration?: boolean | undefined;
2923
+ declarationMap?: boolean | undefined;
2924
+ paths?: Record<string, string[]> | undefined;
2925
+ baseUrl?: string | undefined;
2531
2926
  } & {
2532
2927
  [k: string]: unknown;
2533
2928
  };
@@ -2541,20 +2936,20 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2541
2936
  scan_root?: string | undefined;
2542
2937
  tsconfig_snapshot?: {
2543
2938
  compilerOptions: {
2544
- types?: string[] | undefined;
2545
2939
  module?: string | undefined;
2546
2940
  moduleResolution?: string | undefined;
2547
2941
  target?: string | undefined;
2548
- skipLibCheck?: boolean | undefined;
2549
- paths?: Record<string, string[]> | undefined;
2550
- baseUrl?: string | undefined;
2551
- declaration?: boolean | undefined;
2552
- declarationMap?: boolean | undefined;
2553
- jsx?: string | undefined;
2554
2942
  lib?: string[] | undefined;
2555
- strict?: boolean | undefined;
2943
+ types?: string[] | undefined;
2556
2944
  typeRoots?: string[] | undefined;
2945
+ jsx?: string | undefined;
2946
+ strict?: boolean | undefined;
2557
2947
  esModuleInterop?: boolean | undefined;
2948
+ skipLibCheck?: boolean | undefined;
2949
+ declaration?: boolean | undefined;
2950
+ declarationMap?: boolean | undefined;
2951
+ paths?: Record<string, string[]> | undefined;
2952
+ baseUrl?: string | undefined;
2558
2953
  } & {
2559
2954
  [k: string]: unknown;
2560
2955
  };
@@ -2568,20 +2963,20 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2568
2963
  scan_root?: string | undefined;
2569
2964
  tsconfig_snapshot?: {
2570
2965
  compilerOptions: {
2571
- types?: string[] | undefined;
2572
2966
  module?: string | undefined;
2573
2967
  moduleResolution?: string | undefined;
2574
2968
  target?: string | undefined;
2575
- skipLibCheck?: boolean | undefined;
2576
- paths?: Record<string, string[]> | undefined;
2577
- baseUrl?: string | undefined;
2578
- declaration?: boolean | undefined;
2579
- declarationMap?: boolean | undefined;
2580
- jsx?: string | undefined;
2581
2969
  lib?: string[] | undefined;
2582
- strict?: boolean | undefined;
2970
+ types?: string[] | undefined;
2583
2971
  typeRoots?: string[] | undefined;
2972
+ jsx?: string | undefined;
2973
+ strict?: boolean | undefined;
2584
2974
  esModuleInterop?: boolean | undefined;
2975
+ skipLibCheck?: boolean | undefined;
2976
+ declaration?: boolean | undefined;
2977
+ declarationMap?: boolean | undefined;
2978
+ paths?: Record<string, string[]> | undefined;
2979
+ baseUrl?: string | undefined;
2585
2980
  } & {
2586
2981
  [k: string]: unknown;
2587
2982
  };
@@ -2692,11 +3087,37 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2692
3087
  expression_text: z.ZodOptional<z.ZodString>;
2693
3088
  param_name: z.ZodOptional<z.ZodString>;
2694
3089
  unwrap: z.ZodOptional<z.ZodEnum<["awaited", "none"]>>;
3090
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3091
+ whole: z.ZodLiteral<true>;
3092
+ }, "strict", z.ZodTypeAny, {
3093
+ whole: true;
3094
+ }, {
3095
+ whole: true;
3096
+ }>, z.ZodObject<{
3097
+ member: z.ZodTuple<[z.ZodString], null>;
3098
+ }, "strict", z.ZodTypeAny, {
3099
+ member: [string];
3100
+ }, {
3101
+ member: [string];
3102
+ }>, z.ZodObject<{
3103
+ parse: z.ZodString;
3104
+ }, "strict", z.ZodTypeAny, {
3105
+ parse: string;
3106
+ }, {
3107
+ parse: string;
3108
+ }>]>>;
2695
3109
  }, "strip", z.ZodTypeAny, {
2696
3110
  kind: "infer";
2697
3111
  alias: string;
2698
3112
  source_file: string;
2699
3113
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
3114
+ result?: {
3115
+ whole: true;
3116
+ } | {
3117
+ member: [string];
3118
+ } | {
3119
+ parse: string;
3120
+ } | undefined;
2700
3121
  param_name?: string | undefined;
2701
3122
  line_number?: number | undefined;
2702
3123
  span_start?: number | undefined;
@@ -2708,6 +3129,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2708
3129
  alias: string;
2709
3130
  source_file: string;
2710
3131
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
3132
+ result?: {
3133
+ whole: true;
3134
+ } | {
3135
+ member: [string];
3136
+ } | {
3137
+ parse: string;
3138
+ } | undefined;
2711
3139
  param_name?: string | undefined;
2712
3140
  line_number?: number | undefined;
2713
3141
  span_start?: number | undefined;
@@ -2786,6 +3214,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2786
3214
  alias: string;
2787
3215
  source_file: string;
2788
3216
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
3217
+ result?: {
3218
+ whole: true;
3219
+ } | {
3220
+ member: [string];
3221
+ } | {
3222
+ parse: string;
3223
+ } | undefined;
2789
3224
  param_name?: string | undefined;
2790
3225
  line_number?: number | undefined;
2791
3226
  span_start?: number | undefined;
@@ -2834,6 +3269,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
2834
3269
  alias: string;
2835
3270
  source_file: string;
2836
3271
  anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
3272
+ result?: {
3273
+ whole: true;
3274
+ } | {
3275
+ member: [string];
3276
+ } | {
3277
+ parse: string;
3278
+ } | undefined;
2837
3279
  param_name?: string | undefined;
2838
3280
  line_number?: number | undefined;
2839
3281
  span_start?: number | undefined;
@@ -3016,13 +3458,39 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3016
3458
  alias: z.ZodOptional<z.ZodString>;
3017
3459
  param_name: z.ZodOptional<z.ZodString>;
3018
3460
  member: z.ZodOptional<z.ZodString>;
3461
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3462
+ whole: z.ZodLiteral<true>;
3463
+ }, "strict", z.ZodTypeAny, {
3464
+ whole: true;
3465
+ }, {
3466
+ whole: true;
3467
+ }>, z.ZodObject<{
3468
+ member: z.ZodTuple<[z.ZodString], null>;
3469
+ }, "strict", z.ZodTypeAny, {
3470
+ member: [string];
3471
+ }, {
3472
+ member: [string];
3473
+ }>, z.ZodObject<{
3474
+ parse: z.ZodString;
3475
+ }, "strict", z.ZodTypeAny, {
3476
+ parse: string;
3477
+ }, {
3478
+ parse: string;
3479
+ }>]>>;
3019
3480
  }, "strip", z.ZodTypeAny, {
3020
3481
  file_path: string;
3021
3482
  line_number: number;
3022
3483
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
3484
+ member?: string | undefined;
3485
+ result?: {
3486
+ whole: true;
3487
+ } | {
3488
+ member: [string];
3489
+ } | {
3490
+ parse: string;
3491
+ } | undefined;
3023
3492
  param_name?: string | undefined;
3024
3493
  alias?: string | undefined;
3025
- member?: string | undefined;
3026
3494
  span_start?: number | undefined;
3027
3495
  span_end?: number | undefined;
3028
3496
  expression_text?: string | undefined;
@@ -3031,9 +3499,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3031
3499
  file_path: string;
3032
3500
  line_number: number;
3033
3501
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
3502
+ member?: string | undefined;
3503
+ result?: {
3504
+ whole: true;
3505
+ } | {
3506
+ member: [string];
3507
+ } | {
3508
+ parse: string;
3509
+ } | undefined;
3034
3510
  param_name?: string | undefined;
3035
3511
  alias?: string | undefined;
3036
- member?: string | undefined;
3037
3512
  span_start?: number | undefined;
3038
3513
  span_end?: number | undefined;
3039
3514
  expression_text?: string | undefined;
@@ -3122,9 +3597,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3122
3597
  file_path: string;
3123
3598
  line_number: number;
3124
3599
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
3600
+ member?: string | undefined;
3601
+ result?: {
3602
+ whole: true;
3603
+ } | {
3604
+ member: [string];
3605
+ } | {
3606
+ parse: string;
3607
+ } | undefined;
3125
3608
  param_name?: string | undefined;
3126
3609
  alias?: string | undefined;
3127
- member?: string | undefined;
3128
3610
  span_start?: number | undefined;
3129
3611
  span_end?: number | undefined;
3130
3612
  expression_text?: string | undefined;
@@ -3159,9 +3641,16 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3159
3641
  file_path: string;
3160
3642
  line_number: number;
3161
3643
  infer_kind: "function_return" | "expression" | "call_result" | "variable" | "response_body" | "request_body" | "signature_return" | "function_param" | "receiver_type" | "request_config";
3644
+ member?: string | undefined;
3645
+ result?: {
3646
+ whole: true;
3647
+ } | {
3648
+ member: [string];
3649
+ } | {
3650
+ parse: string;
3651
+ } | undefined;
3162
3652
  param_name?: string | undefined;
3163
3653
  alias?: string | undefined;
3164
- member?: string | undefined;
3165
3654
  span_start?: number | undefined;
3166
3655
  span_end?: number | undefined;
3167
3656
  expression_text?: string | undefined;
@@ -3578,13 +4067,32 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3578
4067
  scope: z.ZodEnum<["global", "service"]>;
3579
4068
  namespace: z.ZodNullable<z.ZodString>;
3580
4069
  }, "strict", z.ZodTypeAny, {
3581
- scope: "service" | "global";
4070
+ scope: "global" | "service";
3582
4071
  namespace: string | null;
3583
4072
  }, {
3584
- scope: "service" | "global";
4073
+ scope: "global" | "service";
3585
4074
  namespace: string | null;
3586
4075
  }>>;
3587
4076
  picker: z.ZodOptional<z.ZodString>;
4077
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4078
+ whole: z.ZodLiteral<true>;
4079
+ }, "strict", z.ZodTypeAny, {
4080
+ whole: true;
4081
+ }, {
4082
+ whole: true;
4083
+ }>, z.ZodObject<{
4084
+ member: z.ZodTuple<[z.ZodString], null>;
4085
+ }, "strict", z.ZodTypeAny, {
4086
+ member: [string];
4087
+ }, {
4088
+ member: [string];
4089
+ }>, z.ZodObject<{
4090
+ parse: z.ZodString;
4091
+ }, "strict", z.ZodTypeAny, {
4092
+ parse: string;
4093
+ }, {
4094
+ parse: string;
4095
+ }>]>>;
3588
4096
  }, "strict", z.ZodTypeAny, {
3589
4097
  kind: "make";
3590
4098
  member: string | null;
@@ -3593,6 +4101,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3593
4101
  arg: number;
3594
4102
  key?: string | undefined;
3595
4103
  } | undefined;
4104
+ result?: {
4105
+ whole: true;
4106
+ } | {
4107
+ member: [string];
4108
+ } | {
4109
+ parse: string;
4110
+ } | undefined;
3596
4111
  base?: {
3597
4112
  arg: number;
3598
4113
  key?: string | undefined;
@@ -3611,7 +4126,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3611
4126
  } | undefined;
3612
4127
  key_labels?: Record<string, "name" | "not_name"> | undefined;
3613
4128
  name_scope?: {
3614
- scope: "service" | "global";
4129
+ scope: "global" | "service";
3615
4130
  namespace: string | null;
3616
4131
  } | undefined;
3617
4132
  picker?: string | undefined;
@@ -3623,6 +4138,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3623
4138
  arg: number;
3624
4139
  key?: string | undefined;
3625
4140
  } | undefined;
4141
+ result?: {
4142
+ whole: true;
4143
+ } | {
4144
+ member: [string];
4145
+ } | {
4146
+ parse: string;
4147
+ } | undefined;
3626
4148
  base?: {
3627
4149
  arg: number;
3628
4150
  key?: string | undefined;
@@ -3641,7 +4163,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3641
4163
  } | undefined;
3642
4164
  key_labels?: Record<string, "name" | "not_name"> | undefined;
3643
4165
  name_scope?: {
3644
- scope: "service" | "global";
4166
+ scope: "global" | "service";
3645
4167
  namespace: string | null;
3646
4168
  } | undefined;
3647
4169
  picker?: string | undefined;
@@ -3666,10 +4188,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3666
4188
  scope: z.ZodEnum<["global", "service"]>;
3667
4189
  namespace: z.ZodNullable<z.ZodString>;
3668
4190
  }, "strict", z.ZodTypeAny, {
3669
- scope: "service" | "global";
4191
+ scope: "global" | "service";
3670
4192
  namespace: string | null;
3671
4193
  }, {
3672
- scope: "service" | "global";
4194
+ scope: "global" | "service";
3673
4195
  namespace: string | null;
3674
4196
  }>>;
3675
4197
  picker: z.ZodOptional<z.ZodString>;
@@ -3733,7 +4255,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3733
4255
  } | undefined;
3734
4256
  key_labels?: Record<string, "name" | "not_name"> | undefined;
3735
4257
  name_scope?: {
3736
- scope: "service" | "global";
4258
+ scope: "global" | "service";
3737
4259
  namespace: string | null;
3738
4260
  } | undefined;
3739
4261
  of?: string | undefined;
@@ -3767,7 +4289,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3767
4289
  } | undefined;
3768
4290
  key_labels?: Record<string, "name" | "not_name"> | undefined;
3769
4291
  name_scope?: {
3770
- scope: "service" | "global";
4292
+ scope: "global" | "service";
3771
4293
  namespace: string | null;
3772
4294
  } | undefined;
3773
4295
  of?: string | undefined;
@@ -3797,9 +4319,9 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3797
4319
  name: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3798
4320
  bound: z.ZodEnum<["maker", "scope", "key"]>;
3799
4321
  }, "strict", z.ZodTypeAny, {
3800
- bound: "key" | "scope" | "maker";
4322
+ bound: "maker" | "scope" | "key";
3801
4323
  }, {
3802
- bound: "key" | "scope" | "maker";
4324
+ bound: "maker" | "scope" | "key";
3803
4325
  }>, z.ZodObject<{
3804
4326
  arg: z.ZodNumber;
3805
4327
  key: z.ZodOptional<z.ZodString>;
@@ -3845,10 +4367,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3845
4367
  scope: z.ZodEnum<["global", "service"]>;
3846
4368
  namespace: z.ZodNullable<z.ZodString>;
3847
4369
  }, "strict", z.ZodTypeAny, {
3848
- scope: "service" | "global";
4370
+ scope: "global" | "service";
3849
4371
  namespace: string | null;
3850
4372
  }, {
3851
- scope: "service" | "global";
4373
+ scope: "global" | "service";
3852
4374
  namespace: string | null;
3853
4375
  }>>;
3854
4376
  picker: z.ZodOptional<z.ZodString>;
@@ -3919,32 +4441,58 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3919
4441
  }, "strict", z.ZodTypeAny, {
3920
4442
  param: number;
3921
4443
  body?: string[] | undefined;
3922
- path?: string[] | undefined;
3923
4444
  url?: string[] | undefined;
4445
+ path?: string[] | undefined;
3924
4446
  method?: string[] | undefined;
3925
4447
  }, {
3926
4448
  param: number;
3927
4449
  body?: string[] | undefined;
3928
- path?: string[] | undefined;
3929
4450
  url?: string[] | undefined;
4451
+ path?: string[] | undefined;
3930
4452
  method?: string[] | undefined;
3931
4453
  }>>;
4454
+ result: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4455
+ whole: z.ZodLiteral<true>;
4456
+ }, "strict", z.ZodTypeAny, {
4457
+ whole: true;
4458
+ }, {
4459
+ whole: true;
4460
+ }>, z.ZodObject<{
4461
+ member: z.ZodTuple<[z.ZodString], null>;
4462
+ }, "strict", z.ZodTypeAny, {
4463
+ member: [string];
4464
+ }, {
4465
+ member: [string];
4466
+ }>, z.ZodObject<{
4467
+ parse: z.ZodString;
4468
+ }, "strict", z.ZodTypeAny, {
4469
+ parse: string;
4470
+ }, {
4471
+ parse: string;
4472
+ }>]>>;
3932
4473
  }, "strict", z.ZodTypeAny, {
3933
4474
  kind: "op";
3934
4475
  member: string | null;
3935
4476
  op: "request" | "send" | "receive" | "execute";
4477
+ name?: {
4478
+ arg: number;
4479
+ key?: string | undefined;
4480
+ } | {
4481
+ bound: "maker" | "scope" | "key";
4482
+ } | undefined;
3936
4483
  request?: {
3937
4484
  param: number;
3938
4485
  body?: string[] | undefined;
3939
- path?: string[] | undefined;
3940
4486
  url?: string[] | undefined;
4487
+ path?: string[] | undefined;
3941
4488
  method?: string[] | undefined;
3942
4489
  } | undefined;
3943
- name?: {
3944
- arg: number;
3945
- key?: string | undefined;
4490
+ result?: {
4491
+ whole: true;
3946
4492
  } | {
3947
- bound: "key" | "scope" | "maker";
4493
+ member: [string];
4494
+ } | {
4495
+ parse: string;
3948
4496
  } | undefined;
3949
4497
  path?: string[] | undefined;
3950
4498
  method_default?: string | undefined;
@@ -3963,7 +4511,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3963
4511
  } | undefined;
3964
4512
  key_labels?: Record<string, "name" | "not_name"> | undefined;
3965
4513
  name_scope?: {
3966
- scope: "service" | "global";
4514
+ scope: "global" | "service";
3967
4515
  namespace: string | null;
3968
4516
  } | undefined;
3969
4517
  method?: string | undefined;
@@ -3995,18 +4543,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
3995
4543
  kind: "op";
3996
4544
  member: string | null;
3997
4545
  op: "request" | "send" | "receive" | "execute";
4546
+ name?: {
4547
+ arg: number;
4548
+ key?: string | undefined;
4549
+ } | {
4550
+ bound: "maker" | "scope" | "key";
4551
+ } | undefined;
3998
4552
  request?: {
3999
4553
  param: number;
4000
4554
  body?: string[] | undefined;
4001
- path?: string[] | undefined;
4002
4555
  url?: string[] | undefined;
4556
+ path?: string[] | undefined;
4003
4557
  method?: string[] | undefined;
4004
4558
  } | undefined;
4005
- name?: {
4006
- arg: number;
4007
- key?: string | undefined;
4559
+ result?: {
4560
+ whole: true;
4561
+ } | {
4562
+ member: [string];
4008
4563
  } | {
4009
- bound: "key" | "scope" | "maker";
4564
+ parse: string;
4010
4565
  } | undefined;
4011
4566
  path?: string[] | undefined;
4012
4567
  method_default?: string | undefined;
@@ -4025,7 +4580,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4025
4580
  } | undefined;
4026
4581
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4027
4582
  name_scope?: {
4028
- scope: "service" | "global";
4583
+ scope: "global" | "service";
4029
4584
  namespace: string | null;
4030
4585
  } | undefined;
4031
4586
  method?: string | undefined;
@@ -4053,6 +4608,63 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4053
4608
  export: string;
4054
4609
  param: number;
4055
4610
  } | undefined;
4611
+ }>, z.ZodObject<{
4612
+ kind: z.ZodLiteral<"result">;
4613
+ form: z.ZodEnum<["make", "op"]>;
4614
+ member: z.ZodNullable<z.ZodString>;
4615
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4616
+ on: z.ZodOptional<z.ZodEnum<["export", "instance", "both"]>>;
4617
+ of: z.ZodOptional<z.ZodString>;
4618
+ picker: z.ZodOptional<z.ZodString>;
4619
+ result: z.ZodUnion<[z.ZodObject<{
4620
+ whole: z.ZodLiteral<true>;
4621
+ }, "strict", z.ZodTypeAny, {
4622
+ whole: true;
4623
+ }, {
4624
+ whole: true;
4625
+ }>, z.ZodObject<{
4626
+ member: z.ZodTuple<[z.ZodString], null>;
4627
+ }, "strict", z.ZodTypeAny, {
4628
+ member: [string];
4629
+ }, {
4630
+ member: [string];
4631
+ }>, z.ZodObject<{
4632
+ parse: z.ZodString;
4633
+ }, "strict", z.ZodTypeAny, {
4634
+ parse: string;
4635
+ }, {
4636
+ parse: string;
4637
+ }>]>;
4638
+ }, "strict", z.ZodTypeAny, {
4639
+ kind: "result";
4640
+ member: string | null;
4641
+ result: {
4642
+ whole: true;
4643
+ } | {
4644
+ member: [string];
4645
+ } | {
4646
+ parse: string;
4647
+ };
4648
+ form: "make" | "op";
4649
+ path?: string[] | undefined;
4650
+ of?: string | undefined;
4651
+ on?: "both" | "export" | "instance" | undefined;
4652
+ picker?: string | undefined;
4653
+ }, {
4654
+ kind: "result";
4655
+ member: string | null;
4656
+ result: {
4657
+ whole: true;
4658
+ } | {
4659
+ member: [string];
4660
+ } | {
4661
+ parse: string;
4662
+ };
4663
+ form: "make" | "op";
4664
+ path?: string[] | undefined;
4665
+ of?: string | undefined;
4666
+ on?: "both" | "export" | "instance" | undefined;
4667
+ picker?: string | undefined;
4056
4668
  }>, z.ZodObject<{
4057
4669
  kind: z.ZodLiteral<"reserved">;
4058
4670
  member: z.ZodString;
@@ -4091,6 +4703,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4091
4703
  arg: number;
4092
4704
  key?: string | undefined;
4093
4705
  } | undefined;
4706
+ result?: {
4707
+ whole: true;
4708
+ } | {
4709
+ member: [string];
4710
+ } | {
4711
+ parse: string;
4712
+ } | undefined;
4094
4713
  base?: {
4095
4714
  arg: number;
4096
4715
  key?: string | undefined;
@@ -4109,7 +4728,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4109
4728
  } | undefined;
4110
4729
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4111
4730
  name_scope?: {
4112
- scope: "service" | "global";
4731
+ scope: "global" | "service";
4113
4732
  namespace: string | null;
4114
4733
  } | undefined;
4115
4734
  picker?: string | undefined;
@@ -4127,7 +4746,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4127
4746
  } | undefined;
4128
4747
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4129
4748
  name_scope?: {
4130
- scope: "service" | "global";
4749
+ scope: "global" | "service";
4131
4750
  namespace: string | null;
4132
4751
  } | undefined;
4133
4752
  of?: string | undefined;
@@ -4151,18 +4770,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4151
4770
  kind: "op";
4152
4771
  member: string | null;
4153
4772
  op: "request" | "send" | "receive" | "execute";
4773
+ name?: {
4774
+ arg: number;
4775
+ key?: string | undefined;
4776
+ } | {
4777
+ bound: "maker" | "scope" | "key";
4778
+ } | undefined;
4154
4779
  request?: {
4155
4780
  param: number;
4156
4781
  body?: string[] | undefined;
4157
- path?: string[] | undefined;
4158
4782
  url?: string[] | undefined;
4783
+ path?: string[] | undefined;
4159
4784
  method?: string[] | undefined;
4160
4785
  } | undefined;
4161
- name?: {
4162
- arg: number;
4163
- key?: string | undefined;
4786
+ result?: {
4787
+ whole: true;
4788
+ } | {
4789
+ member: [string];
4164
4790
  } | {
4165
- bound: "key" | "scope" | "maker";
4791
+ parse: string;
4166
4792
  } | undefined;
4167
4793
  path?: string[] | undefined;
4168
4794
  method_default?: string | undefined;
@@ -4181,7 +4807,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4181
4807
  } | undefined;
4182
4808
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4183
4809
  name_scope?: {
4184
- scope: "service" | "global";
4810
+ scope: "global" | "service";
4185
4811
  namespace: string | null;
4186
4812
  } | undefined;
4187
4813
  method?: string | undefined;
@@ -4209,6 +4835,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4209
4835
  export: string;
4210
4836
  param: number;
4211
4837
  } | undefined;
4838
+ } | {
4839
+ kind: "result";
4840
+ member: string | null;
4841
+ result: {
4842
+ whole: true;
4843
+ } | {
4844
+ member: [string];
4845
+ } | {
4846
+ parse: string;
4847
+ };
4848
+ form: "make" | "op";
4849
+ path?: string[] | undefined;
4850
+ of?: string | undefined;
4851
+ on?: "both" | "export" | "instance" | undefined;
4852
+ picker?: string | undefined;
4212
4853
  } | {
4213
4854
  kind: "reserved";
4214
4855
  name: string;
@@ -4232,6 +4873,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4232
4873
  arg: number;
4233
4874
  key?: string | undefined;
4234
4875
  } | undefined;
4876
+ result?: {
4877
+ whole: true;
4878
+ } | {
4879
+ member: [string];
4880
+ } | {
4881
+ parse: string;
4882
+ } | undefined;
4235
4883
  base?: {
4236
4884
  arg: number;
4237
4885
  key?: string | undefined;
@@ -4250,7 +4898,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4250
4898
  } | undefined;
4251
4899
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4252
4900
  name_scope?: {
4253
- scope: "service" | "global";
4901
+ scope: "global" | "service";
4254
4902
  namespace: string | null;
4255
4903
  } | undefined;
4256
4904
  picker?: string | undefined;
@@ -4268,7 +4916,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4268
4916
  } | undefined;
4269
4917
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4270
4918
  name_scope?: {
4271
- scope: "service" | "global";
4919
+ scope: "global" | "service";
4272
4920
  namespace: string | null;
4273
4921
  } | undefined;
4274
4922
  of?: string | undefined;
@@ -4292,18 +4940,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4292
4940
  kind: "op";
4293
4941
  member: string | null;
4294
4942
  op: "request" | "send" | "receive" | "execute";
4943
+ name?: {
4944
+ arg: number;
4945
+ key?: string | undefined;
4946
+ } | {
4947
+ bound: "maker" | "scope" | "key";
4948
+ } | undefined;
4295
4949
  request?: {
4296
4950
  param: number;
4297
4951
  body?: string[] | undefined;
4298
- path?: string[] | undefined;
4299
4952
  url?: string[] | undefined;
4953
+ path?: string[] | undefined;
4300
4954
  method?: string[] | undefined;
4301
4955
  } | undefined;
4302
- name?: {
4303
- arg: number;
4304
- key?: string | undefined;
4956
+ result?: {
4957
+ whole: true;
4958
+ } | {
4959
+ member: [string];
4305
4960
  } | {
4306
- bound: "key" | "scope" | "maker";
4961
+ parse: string;
4307
4962
  } | undefined;
4308
4963
  path?: string[] | undefined;
4309
4964
  method_default?: string | undefined;
@@ -4322,7 +4977,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4322
4977
  } | undefined;
4323
4978
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4324
4979
  name_scope?: {
4325
- scope: "service" | "global";
4980
+ scope: "global" | "service";
4326
4981
  namespace: string | null;
4327
4982
  } | undefined;
4328
4983
  method?: string | undefined;
@@ -4350,6 +5005,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4350
5005
  export: string;
4351
5006
  param: number;
4352
5007
  } | undefined;
5008
+ } | {
5009
+ kind: "result";
5010
+ member: string | null;
5011
+ result: {
5012
+ whole: true;
5013
+ } | {
5014
+ member: [string];
5015
+ } | {
5016
+ parse: string;
5017
+ };
5018
+ form: "make" | "op";
5019
+ path?: string[] | undefined;
5020
+ of?: string | undefined;
5021
+ on?: "both" | "export" | "instance" | undefined;
5022
+ picker?: string | undefined;
4353
5023
  } | {
4354
5024
  kind: "reserved";
4355
5025
  name: string;
@@ -4379,6 +5049,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4379
5049
  arg: number;
4380
5050
  key?: string | undefined;
4381
5051
  } | undefined;
5052
+ result?: {
5053
+ whole: true;
5054
+ } | {
5055
+ member: [string];
5056
+ } | {
5057
+ parse: string;
5058
+ } | undefined;
4382
5059
  base?: {
4383
5060
  arg: number;
4384
5061
  key?: string | undefined;
@@ -4397,7 +5074,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4397
5074
  } | undefined;
4398
5075
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4399
5076
  name_scope?: {
4400
- scope: "service" | "global";
5077
+ scope: "global" | "service";
4401
5078
  namespace: string | null;
4402
5079
  } | undefined;
4403
5080
  picker?: string | undefined;
@@ -4415,7 +5092,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4415
5092
  } | undefined;
4416
5093
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4417
5094
  name_scope?: {
4418
- scope: "service" | "global";
5095
+ scope: "global" | "service";
4419
5096
  namespace: string | null;
4420
5097
  } | undefined;
4421
5098
  of?: string | undefined;
@@ -4439,18 +5116,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4439
5116
  kind: "op";
4440
5117
  member: string | null;
4441
5118
  op: "request" | "send" | "receive" | "execute";
5119
+ name?: {
5120
+ arg: number;
5121
+ key?: string | undefined;
5122
+ } | {
5123
+ bound: "maker" | "scope" | "key";
5124
+ } | undefined;
4442
5125
  request?: {
4443
5126
  param: number;
4444
5127
  body?: string[] | undefined;
4445
- path?: string[] | undefined;
4446
5128
  url?: string[] | undefined;
5129
+ path?: string[] | undefined;
4447
5130
  method?: string[] | undefined;
4448
5131
  } | undefined;
4449
- name?: {
4450
- arg: number;
4451
- key?: string | undefined;
5132
+ result?: {
5133
+ whole: true;
5134
+ } | {
5135
+ member: [string];
4452
5136
  } | {
4453
- bound: "key" | "scope" | "maker";
5137
+ parse: string;
4454
5138
  } | undefined;
4455
5139
  path?: string[] | undefined;
4456
5140
  method_default?: string | undefined;
@@ -4469,7 +5153,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4469
5153
  } | undefined;
4470
5154
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4471
5155
  name_scope?: {
4472
- scope: "service" | "global";
5156
+ scope: "global" | "service";
4473
5157
  namespace: string | null;
4474
5158
  } | undefined;
4475
5159
  method?: string | undefined;
@@ -4497,6 +5181,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4497
5181
  export: string;
4498
5182
  param: number;
4499
5183
  } | undefined;
5184
+ } | {
5185
+ kind: "result";
5186
+ member: string | null;
5187
+ result: {
5188
+ whole: true;
5189
+ } | {
5190
+ member: [string];
5191
+ } | {
5192
+ parse: string;
5193
+ };
5194
+ form: "make" | "op";
5195
+ path?: string[] | undefined;
5196
+ of?: string | undefined;
5197
+ on?: "both" | "export" | "instance" | undefined;
5198
+ picker?: string | undefined;
4500
5199
  } | {
4501
5200
  kind: "reserved";
4502
5201
  name: string;
@@ -4527,6 +5226,13 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4527
5226
  arg: number;
4528
5227
  key?: string | undefined;
4529
5228
  } | undefined;
5229
+ result?: {
5230
+ whole: true;
5231
+ } | {
5232
+ member: [string];
5233
+ } | {
5234
+ parse: string;
5235
+ } | undefined;
4530
5236
  base?: {
4531
5237
  arg: number;
4532
5238
  key?: string | undefined;
@@ -4545,7 +5251,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4545
5251
  } | undefined;
4546
5252
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4547
5253
  name_scope?: {
4548
- scope: "service" | "global";
5254
+ scope: "global" | "service";
4549
5255
  namespace: string | null;
4550
5256
  } | undefined;
4551
5257
  picker?: string | undefined;
@@ -4563,7 +5269,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4563
5269
  } | undefined;
4564
5270
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4565
5271
  name_scope?: {
4566
- scope: "service" | "global";
5272
+ scope: "global" | "service";
4567
5273
  namespace: string | null;
4568
5274
  } | undefined;
4569
5275
  of?: string | undefined;
@@ -4587,18 +5293,25 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4587
5293
  kind: "op";
4588
5294
  member: string | null;
4589
5295
  op: "request" | "send" | "receive" | "execute";
5296
+ name?: {
5297
+ arg: number;
5298
+ key?: string | undefined;
5299
+ } | {
5300
+ bound: "maker" | "scope" | "key";
5301
+ } | undefined;
4590
5302
  request?: {
4591
5303
  param: number;
4592
5304
  body?: string[] | undefined;
4593
- path?: string[] | undefined;
4594
5305
  url?: string[] | undefined;
5306
+ path?: string[] | undefined;
4595
5307
  method?: string[] | undefined;
4596
5308
  } | undefined;
4597
- name?: {
4598
- arg: number;
4599
- key?: string | undefined;
5309
+ result?: {
5310
+ whole: true;
5311
+ } | {
5312
+ member: [string];
4600
5313
  } | {
4601
- bound: "key" | "scope" | "maker";
5314
+ parse: string;
4602
5315
  } | undefined;
4603
5316
  path?: string[] | undefined;
4604
5317
  method_default?: string | undefined;
@@ -4617,7 +5330,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4617
5330
  } | undefined;
4618
5331
  key_labels?: Record<string, "name" | "not_name"> | undefined;
4619
5332
  name_scope?: {
4620
- scope: "service" | "global";
5333
+ scope: "global" | "service";
4621
5334
  namespace: string | null;
4622
5335
  } | undefined;
4623
5336
  method?: string | undefined;
@@ -4645,6 +5358,21 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4645
5358
  export: string;
4646
5359
  param: number;
4647
5360
  } | undefined;
5361
+ } | {
5362
+ kind: "result";
5363
+ member: string | null;
5364
+ result: {
5365
+ whole: true;
5366
+ } | {
5367
+ member: [string];
5368
+ } | {
5369
+ parse: string;
5370
+ };
5371
+ form: "make" | "op";
5372
+ path?: string[] | undefined;
5373
+ of?: string | undefined;
5374
+ on?: "both" | "export" | "instance" | undefined;
5375
+ picker?: string | undefined;
4648
5376
  } | {
4649
5377
  kind: "reserved";
4650
5378
  name: string;
@@ -4666,11 +5394,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4666
5394
  packages: z.ZodArray<z.ZodString, "many">;
4667
5395
  max_entries: z.ZodOptional<z.ZodNumber>;
4668
5396
  exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
5397
+ handlers: z.ZodOptional<z.ZodBoolean>;
5398
+ result_candidates: z.ZodOptional<z.ZodBoolean>;
4669
5399
  }, "strip", z.ZodTypeAny, {
4670
5400
  packages: string[];
4671
5401
  request_id: string;
4672
5402
  action: "list_library_surface";
4673
5403
  from_dir: string;
5404
+ handlers?: boolean | undefined;
5405
+ result_candidates?: boolean | undefined;
4674
5406
  max_entries?: number | undefined;
4675
5407
  exports?: Record<string, string[]> | undefined;
4676
5408
  }, {
@@ -4678,6 +5410,8 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4678
5410
  request_id: string;
4679
5411
  action: "list_library_surface";
4680
5412
  from_dir: string;
5413
+ handlers?: boolean | undefined;
5414
+ result_candidates?: boolean | undefined;
4681
5415
  max_entries?: number | undefined;
4682
5416
  exports?: Record<string, string[]> | undefined;
4683
5417
  }>, z.ZodObject<{
@@ -4732,15 +5466,15 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
4732
5466
  out_path: z.ZodString;
4733
5467
  service: z.ZodString;
4734
5468
  }, "strip", z.ZodTypeAny, {
4735
- files: string[];
4736
5469
  service: string;
5470
+ files: string[];
4737
5471
  request_id: string;
4738
5472
  action: "position_rows";
4739
5473
  scan_root: string;
4740
5474
  out_path: string;
4741
5475
  }, {
4742
- files: string[];
4743
5476
  service: string;
5477
+ files: string[];
4744
5478
  request_id: string;
4745
5479
  action: "position_rows";
4746
5480
  scan_root: string;