carrick 0.3.109 → 0.3.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/render.d.ts +14 -7
- package/dist/render.js +49 -36
- package/dist/render.js.map +1 -1
- package/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/bundler.d.ts +10 -0
- package/sidecar/dist/src/bundler.js +39 -0
- package/sidecar/dist/src/capture/anchors.js +35 -0
- package/sidecar/dist/src/capture/api.d.ts +5 -0
- package/sidecar/dist/src/capture/check-workspace.d.ts +10 -0
- package/sidecar/dist/src/capture/check-workspace.js +68 -6
- package/sidecar/dist/src/capture/index.d.ts +1 -0
- package/sidecar/dist/src/capture/index.js +18 -3
- package/sidecar/dist/src/capture/installed-package-directory.d.ts +22 -0
- package/sidecar/dist/src/capture/installed-package-directory.js +30 -0
- package/sidecar/dist/src/capture/resolution-edges.d.ts +36 -0
- package/sidecar/dist/src/capture/resolution-edges.js +150 -0
- package/sidecar/dist/src/capture/status-table.d.ts +62 -0
- package/sidecar/dist/src/capture/status-table.js +104 -0
- package/sidecar/dist/src/failure-path.d.ts +42 -2
- package/sidecar/dist/src/failure-path.js +38 -13
- package/sidecar/dist/src/library-claims.js +2 -0
- package/sidecar/dist/src/line-index.d.ts +9 -0
- package/sidecar/dist/src/line-index.js +24 -0
- package/sidecar/dist/src/response-modes.d.ts +77 -0
- package/sidecar/dist/src/response-modes.js +459 -0
- package/sidecar/dist/src/type-inferrer.d.ts +93 -1
- package/sidecar/dist/src/type-inferrer.js +436 -97
- package/sidecar/dist/src/types.d.ts +20 -1
- package/sidecar/dist/src/validators.d.ts +39 -16
- package/sidecar/dist/src/validators.js +4 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Type definitions for the sidecar message protocol
|
|
3
3
|
* These types define the JSON messages exchanged between Rust and the Node.js sidecar
|
|
4
4
|
*/
|
|
5
|
+
import type { ResponseModes } from './response-modes.js';
|
|
5
6
|
/**
|
|
6
7
|
* The kind of type inference to perform
|
|
7
8
|
*/
|
|
@@ -496,6 +497,12 @@ export interface SymbolRequest {
|
|
|
496
497
|
* symbol as-is (the HTTP/socket/consumer default).
|
|
497
498
|
*/
|
|
498
499
|
array_depth?: number;
|
|
500
|
+
/**
|
|
501
|
+
* carrick#1841: the symbol names what a consumer receives. A symbol that is
|
|
502
|
+
* a response table keyed by status code (`{ 200: Item }`) then bundles as
|
|
503
|
+
* its 2xx body, never as the table.
|
|
504
|
+
*/
|
|
505
|
+
consumer_response?: boolean;
|
|
499
506
|
}
|
|
500
507
|
/**
|
|
501
508
|
* Request for type inference at a specific location
|
|
@@ -878,7 +885,10 @@ export interface InferredType {
|
|
|
878
885
|
* `array_depth: 1`. Lets `resolve_all_types` copy the use-site's array-ness
|
|
879
886
|
* onto an explicit `SymbolRequest` for the same alias, which would otherwise
|
|
880
887
|
* bundle the bare element and erase the array (array-vs-scalar scored
|
|
881
|
-
* compatible, #306). Omitted when 0
|
|
888
|
+
* compatible, #306). Omitted when 0. Reported without an anchor symbol
|
|
889
|
+
* too (carrick#1967): a list whose element prints structurally is still a
|
|
890
|
+
* list, and at a handler's send the join copies its depth onto the model's
|
|
891
|
+
* symbol.
|
|
882
892
|
*/
|
|
883
893
|
array_depth?: number;
|
|
884
894
|
/**
|
|
@@ -947,6 +957,15 @@ export interface InferredType {
|
|
|
947
957
|
* Absent when the body is not a raw-text read.
|
|
948
958
|
*/
|
|
949
959
|
raw_text_read?: true;
|
|
960
|
+
/**
|
|
961
|
+
* carrick#2054, a response joined from two or more success bodies: the
|
|
962
|
+
* request fields whose values pick among them (`reads`), and, for one
|
|
963
|
+
* query parameter or body field whose every test the reading follows, the
|
|
964
|
+
* union each stated value receives (`cases`). `type_string` is unchanged.
|
|
965
|
+
* Absent when no request read separates the bodies, or when every value
|
|
966
|
+
* receives the same union.
|
|
967
|
+
*/
|
|
968
|
+
response_modes?: ResponseModes;
|
|
950
969
|
}
|
|
951
970
|
/**
|
|
952
971
|
* What the source states a body read to be (carrick#1749). The scanner
|
|
@@ -10,14 +10,17 @@ export declare const SymbolRequestSchema: z.ZodObject<{
|
|
|
10
10
|
source_file: z.ZodString;
|
|
11
11
|
alias: z.ZodOptional<z.ZodString>;
|
|
12
12
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
symbol_name: string;
|
|
15
16
|
source_file: string;
|
|
17
|
+
consumer_response?: boolean | undefined;
|
|
16
18
|
alias?: string | undefined;
|
|
17
19
|
array_depth?: number | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
symbol_name: string;
|
|
20
22
|
source_file: string;
|
|
23
|
+
consumer_response?: boolean | undefined;
|
|
21
24
|
alias?: string | undefined;
|
|
22
25
|
array_depth?: number | undefined;
|
|
23
26
|
}>;
|
|
@@ -221,14 +224,17 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
221
224
|
source_file: z.ZodString;
|
|
222
225
|
alias: z.ZodOptional<z.ZodString>;
|
|
223
226
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
224
228
|
}, "strip", z.ZodTypeAny, {
|
|
225
229
|
symbol_name: string;
|
|
226
230
|
source_file: string;
|
|
231
|
+
consumer_response?: boolean | undefined;
|
|
227
232
|
alias?: string | undefined;
|
|
228
233
|
array_depth?: number | undefined;
|
|
229
234
|
}, {
|
|
230
235
|
symbol_name: string;
|
|
231
236
|
source_file: string;
|
|
237
|
+
consumer_response?: boolean | undefined;
|
|
232
238
|
alias?: string | undefined;
|
|
233
239
|
array_depth?: number | undefined;
|
|
234
240
|
}>, "many">;
|
|
@@ -238,6 +244,7 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
238
244
|
symbols: {
|
|
239
245
|
symbol_name: string;
|
|
240
246
|
source_file: string;
|
|
247
|
+
consumer_response?: boolean | undefined;
|
|
241
248
|
alias?: string | undefined;
|
|
242
249
|
array_depth?: number | undefined;
|
|
243
250
|
}[];
|
|
@@ -247,6 +254,7 @@ export declare const BundleRequestSchema: z.ZodObject<{
|
|
|
247
254
|
symbols: {
|
|
248
255
|
symbol_name: string;
|
|
249
256
|
source_file: string;
|
|
257
|
+
consumer_response?: boolean | undefined;
|
|
250
258
|
alias?: string | undefined;
|
|
251
259
|
array_depth?: number | undefined;
|
|
252
260
|
}[];
|
|
@@ -264,12 +272,14 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
264
272
|
source_file: z.ZodString;
|
|
265
273
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
266
274
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
267
276
|
}, "strip", z.ZodTypeAny, {
|
|
268
277
|
kind: "symbol";
|
|
269
278
|
alias: string;
|
|
270
279
|
symbol_name: string;
|
|
271
280
|
source_file: string;
|
|
272
281
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
282
|
+
consumer_response?: boolean | undefined;
|
|
273
283
|
array_depth?: number | undefined;
|
|
274
284
|
}, {
|
|
275
285
|
kind: "symbol";
|
|
@@ -277,6 +287,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
277
287
|
symbol_name: string;
|
|
278
288
|
source_file: string;
|
|
279
289
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
290
|
+
consumer_response?: boolean | undefined;
|
|
280
291
|
array_depth?: number | undefined;
|
|
281
292
|
}>, z.ZodObject<{
|
|
282
293
|
kind: z.ZodLiteral<"handler_return">;
|
|
@@ -384,6 +395,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
384
395
|
symbol_name: string;
|
|
385
396
|
source_file: string;
|
|
386
397
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
398
|
+
consumer_response?: boolean | undefined;
|
|
387
399
|
array_depth?: number | undefined;
|
|
388
400
|
} | {
|
|
389
401
|
kind: "handler_return";
|
|
@@ -429,6 +441,7 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
429
441
|
symbol_name: string;
|
|
430
442
|
source_file: string;
|
|
431
443
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
444
|
+
consumer_response?: boolean | undefined;
|
|
432
445
|
array_depth?: number | undefined;
|
|
433
446
|
} | {
|
|
434
447
|
kind: "handler_return";
|
|
@@ -937,10 +950,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
937
950
|
url_key?: string | undefined;
|
|
938
951
|
}>]>;
|
|
939
952
|
}, "strip", z.ZodTypeAny, {
|
|
953
|
+
receiver: string;
|
|
940
954
|
export: string;
|
|
941
955
|
claim_id: string;
|
|
942
956
|
package: string;
|
|
943
|
-
receiver: string;
|
|
944
957
|
claim: {
|
|
945
958
|
kind: "factory";
|
|
946
959
|
member: string;
|
|
@@ -969,10 +982,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
969
982
|
url_key?: string | undefined;
|
|
970
983
|
};
|
|
971
984
|
}, {
|
|
985
|
+
receiver: string;
|
|
972
986
|
export: string;
|
|
973
987
|
claim_id: string;
|
|
974
988
|
package: string;
|
|
975
|
-
receiver: string;
|
|
976
989
|
claim: {
|
|
977
990
|
kind: "factory";
|
|
978
991
|
member: string;
|
|
@@ -1007,10 +1020,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1007
1020
|
action: "verify_client_semantics";
|
|
1008
1021
|
from_dir: string;
|
|
1009
1022
|
checks: {
|
|
1023
|
+
receiver: string;
|
|
1010
1024
|
export: string;
|
|
1011
1025
|
claim_id: string;
|
|
1012
1026
|
package: string;
|
|
1013
|
-
receiver: string;
|
|
1014
1027
|
claim: {
|
|
1015
1028
|
kind: "factory";
|
|
1016
1029
|
member: string;
|
|
@@ -1045,10 +1058,10 @@ export declare const VerifyClientSemanticsRequestSchema: z.ZodObject<{
|
|
|
1045
1058
|
action: "verify_client_semantics";
|
|
1046
1059
|
from_dir: string;
|
|
1047
1060
|
checks: {
|
|
1061
|
+
receiver: string;
|
|
1048
1062
|
export: string;
|
|
1049
1063
|
claim_id: string;
|
|
1050
1064
|
package: string;
|
|
1051
|
-
receiver: string;
|
|
1052
1065
|
claim: {
|
|
1053
1066
|
kind: "factory";
|
|
1054
1067
|
member: string;
|
|
@@ -1450,10 +1463,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1450
1463
|
of?: string | undefined;
|
|
1451
1464
|
}>]>;
|
|
1452
1465
|
}, "strict", z.ZodTypeAny, {
|
|
1466
|
+
receiver: string;
|
|
1453
1467
|
export: string;
|
|
1454
1468
|
claim_id: string;
|
|
1455
1469
|
package: string;
|
|
1456
|
-
receiver: string;
|
|
1457
1470
|
claim: {
|
|
1458
1471
|
kind: "make";
|
|
1459
1472
|
member: string | null;
|
|
@@ -1547,10 +1560,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1547
1560
|
};
|
|
1548
1561
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
1549
1562
|
}, {
|
|
1563
|
+
receiver: string;
|
|
1550
1564
|
export: string;
|
|
1551
1565
|
claim_id: string;
|
|
1552
1566
|
package: string;
|
|
1553
|
-
receiver: string;
|
|
1554
1567
|
claim: {
|
|
1555
1568
|
kind: "make";
|
|
1556
1569
|
member: string | null;
|
|
@@ -1650,10 +1663,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1650
1663
|
action: "verify_library_claims";
|
|
1651
1664
|
from_dir: string;
|
|
1652
1665
|
checks: {
|
|
1666
|
+
receiver: string;
|
|
1653
1667
|
export: string;
|
|
1654
1668
|
claim_id: string;
|
|
1655
1669
|
package: string;
|
|
1656
|
-
receiver: string;
|
|
1657
1670
|
claim: {
|
|
1658
1671
|
kind: "make";
|
|
1659
1672
|
member: string | null;
|
|
@@ -1753,10 +1766,10 @@ export declare const VerifyLibraryClaimsRequestSchema: z.ZodObject<{
|
|
|
1753
1766
|
action: "verify_library_claims";
|
|
1754
1767
|
from_dir: string;
|
|
1755
1768
|
checks: {
|
|
1769
|
+
receiver: string;
|
|
1756
1770
|
export: string;
|
|
1757
1771
|
claim_id: string;
|
|
1758
1772
|
package: string;
|
|
1759
|
-
receiver: string;
|
|
1760
1773
|
claim: {
|
|
1761
1774
|
kind: "make";
|
|
1762
1775
|
member: string | null;
|
|
@@ -2035,14 +2048,17 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2035
2048
|
source_file: z.ZodString;
|
|
2036
2049
|
alias: z.ZodOptional<z.ZodString>;
|
|
2037
2050
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2051
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
2038
2052
|
}, "strip", z.ZodTypeAny, {
|
|
2039
2053
|
symbol_name: string;
|
|
2040
2054
|
source_file: string;
|
|
2055
|
+
consumer_response?: boolean | undefined;
|
|
2041
2056
|
alias?: string | undefined;
|
|
2042
2057
|
array_depth?: number | undefined;
|
|
2043
2058
|
}, {
|
|
2044
2059
|
symbol_name: string;
|
|
2045
2060
|
source_file: string;
|
|
2061
|
+
consumer_response?: boolean | undefined;
|
|
2046
2062
|
alias?: string | undefined;
|
|
2047
2063
|
array_depth?: number | undefined;
|
|
2048
2064
|
}>, "many">;
|
|
@@ -2052,6 +2068,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2052
2068
|
symbols: {
|
|
2053
2069
|
symbol_name: string;
|
|
2054
2070
|
source_file: string;
|
|
2071
|
+
consumer_response?: boolean | undefined;
|
|
2055
2072
|
alias?: string | undefined;
|
|
2056
2073
|
array_depth?: number | undefined;
|
|
2057
2074
|
}[];
|
|
@@ -2061,6 +2078,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2061
2078
|
symbols: {
|
|
2062
2079
|
symbol_name: string;
|
|
2063
2080
|
source_file: string;
|
|
2081
|
+
consumer_response?: boolean | undefined;
|
|
2064
2082
|
alias?: string | undefined;
|
|
2065
2083
|
array_depth?: number | undefined;
|
|
2066
2084
|
}[];
|
|
@@ -2077,12 +2095,14 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2077
2095
|
source_file: z.ZodString;
|
|
2078
2096
|
anchor_origin: z.ZodEnum<["llm-symbol", "deterministic-infer", "anchor-backfill", "manifest-placeholder"]>;
|
|
2079
2097
|
array_depth: z.ZodOptional<z.ZodNumber>;
|
|
2098
|
+
consumer_response: z.ZodOptional<z.ZodBoolean>;
|
|
2080
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2081
2100
|
kind: "symbol";
|
|
2082
2101
|
alias: string;
|
|
2083
2102
|
symbol_name: string;
|
|
2084
2103
|
source_file: string;
|
|
2085
2104
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2105
|
+
consumer_response?: boolean | undefined;
|
|
2086
2106
|
array_depth?: number | undefined;
|
|
2087
2107
|
}, {
|
|
2088
2108
|
kind: "symbol";
|
|
@@ -2090,6 +2110,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2090
2110
|
symbol_name: string;
|
|
2091
2111
|
source_file: string;
|
|
2092
2112
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2113
|
+
consumer_response?: boolean | undefined;
|
|
2093
2114
|
array_depth?: number | undefined;
|
|
2094
2115
|
}>, z.ZodObject<{
|
|
2095
2116
|
kind: z.ZodLiteral<"handler_return">;
|
|
@@ -2197,6 +2218,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2197
2218
|
symbol_name: string;
|
|
2198
2219
|
source_file: string;
|
|
2199
2220
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2221
|
+
consumer_response?: boolean | undefined;
|
|
2200
2222
|
array_depth?: number | undefined;
|
|
2201
2223
|
} | {
|
|
2202
2224
|
kind: "handler_return";
|
|
@@ -2242,6 +2264,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2242
2264
|
symbol_name: string;
|
|
2243
2265
|
source_file: string;
|
|
2244
2266
|
anchor_origin: "llm-symbol" | "deterministic-infer" | "anchor-backfill" | "manifest-placeholder";
|
|
2267
|
+
consumer_response?: boolean | undefined;
|
|
2245
2268
|
array_depth?: number | undefined;
|
|
2246
2269
|
} | {
|
|
2247
2270
|
kind: "handler_return";
|
|
@@ -2698,10 +2721,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2698
2721
|
url_key?: string | undefined;
|
|
2699
2722
|
}>]>;
|
|
2700
2723
|
}, "strip", z.ZodTypeAny, {
|
|
2724
|
+
receiver: string;
|
|
2701
2725
|
export: string;
|
|
2702
2726
|
claim_id: string;
|
|
2703
2727
|
package: string;
|
|
2704
|
-
receiver: string;
|
|
2705
2728
|
claim: {
|
|
2706
2729
|
kind: "factory";
|
|
2707
2730
|
member: string;
|
|
@@ -2730,10 +2753,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2730
2753
|
url_key?: string | undefined;
|
|
2731
2754
|
};
|
|
2732
2755
|
}, {
|
|
2756
|
+
receiver: string;
|
|
2733
2757
|
export: string;
|
|
2734
2758
|
claim_id: string;
|
|
2735
2759
|
package: string;
|
|
2736
|
-
receiver: string;
|
|
2737
2760
|
claim: {
|
|
2738
2761
|
kind: "factory";
|
|
2739
2762
|
member: string;
|
|
@@ -2768,10 +2791,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2768
2791
|
action: "verify_client_semantics";
|
|
2769
2792
|
from_dir: string;
|
|
2770
2793
|
checks: {
|
|
2794
|
+
receiver: string;
|
|
2771
2795
|
export: string;
|
|
2772
2796
|
claim_id: string;
|
|
2773
2797
|
package: string;
|
|
2774
|
-
receiver: string;
|
|
2775
2798
|
claim: {
|
|
2776
2799
|
kind: "factory";
|
|
2777
2800
|
member: string;
|
|
@@ -2806,10 +2829,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
2806
2829
|
action: "verify_client_semantics";
|
|
2807
2830
|
from_dir: string;
|
|
2808
2831
|
checks: {
|
|
2832
|
+
receiver: string;
|
|
2809
2833
|
export: string;
|
|
2810
2834
|
claim_id: string;
|
|
2811
2835
|
package: string;
|
|
2812
|
-
receiver: string;
|
|
2813
2836
|
claim: {
|
|
2814
2837
|
kind: "factory";
|
|
2815
2838
|
member: string;
|
|
@@ -3210,10 +3233,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3210
3233
|
of?: string | undefined;
|
|
3211
3234
|
}>]>;
|
|
3212
3235
|
}, "strict", z.ZodTypeAny, {
|
|
3236
|
+
receiver: string;
|
|
3213
3237
|
export: string;
|
|
3214
3238
|
claim_id: string;
|
|
3215
3239
|
package: string;
|
|
3216
|
-
receiver: string;
|
|
3217
3240
|
claim: {
|
|
3218
3241
|
kind: "make";
|
|
3219
3242
|
member: string | null;
|
|
@@ -3307,10 +3330,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3307
3330
|
};
|
|
3308
3331
|
role: "none" | "socket" | "http_client" | "graphql_client" | "broker" | "in_process_bus" | "server_framework";
|
|
3309
3332
|
}, {
|
|
3333
|
+
receiver: string;
|
|
3310
3334
|
export: string;
|
|
3311
3335
|
claim_id: string;
|
|
3312
3336
|
package: string;
|
|
3313
|
-
receiver: string;
|
|
3314
3337
|
claim: {
|
|
3315
3338
|
kind: "make";
|
|
3316
3339
|
member: string | null;
|
|
@@ -3410,10 +3433,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3410
3433
|
action: "verify_library_claims";
|
|
3411
3434
|
from_dir: string;
|
|
3412
3435
|
checks: {
|
|
3436
|
+
receiver: string;
|
|
3413
3437
|
export: string;
|
|
3414
3438
|
claim_id: string;
|
|
3415
3439
|
package: string;
|
|
3416
|
-
receiver: string;
|
|
3417
3440
|
claim: {
|
|
3418
3441
|
kind: "make";
|
|
3419
3442
|
member: string | null;
|
|
@@ -3513,10 +3536,10 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
3513
3536
|
action: "verify_library_claims";
|
|
3514
3537
|
from_dir: string;
|
|
3515
3538
|
checks: {
|
|
3539
|
+
receiver: string;
|
|
3516
3540
|
export: string;
|
|
3517
3541
|
claim_id: string;
|
|
3518
3542
|
package: string;
|
|
3519
|
-
receiver: string;
|
|
3520
3543
|
claim: {
|
|
3521
3544
|
kind: "make";
|
|
3522
3545
|
member: string | null;
|
|
@@ -75,6 +75,9 @@ export const SymbolRequestSchema = z.object({
|
|
|
75
75
|
// `symbol_failures` entry rather than sinking every other symbol in the
|
|
76
76
|
// batch.
|
|
77
77
|
array_depth: z.number().int().nonnegative().optional(),
|
|
78
|
+
// carrick#1841: the symbol names a consumer's response (a status-keyed
|
|
79
|
+
// response table bundles as its 2xx body).
|
|
80
|
+
consumer_response: z.boolean().optional(),
|
|
78
81
|
});
|
|
79
82
|
// ============================================================================
|
|
80
83
|
// Infer Request Item Schema
|
|
@@ -159,6 +162,7 @@ const CaptureAnchorRequestSchema = z.discriminatedUnion('kind', [
|
|
|
159
162
|
source_file: z.string().min(1),
|
|
160
163
|
anchor_origin: AnchorOriginSchema,
|
|
161
164
|
array_depth: z.number().int().nonnegative().optional(),
|
|
165
|
+
consumer_response: z.boolean().optional(),
|
|
162
166
|
}),
|
|
163
167
|
z.object({
|
|
164
168
|
kind: z.literal('handler_return'),
|