carrick 0.3.157 → 0.3.158
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/cli.d.ts +7 -0
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/contract.d.ts +8 -1
- package/dist/contract.js.map +1 -1
- package/dist/engine-ask.d.ts +21 -0
- package/dist/engine-ask.js +50 -0
- package/dist/engine-ask.js.map +1 -0
- package/dist/facts/diff.d.ts +14 -1
- package/dist/facts/diff.js +21 -8
- package/dist/facts/diff.js.map +1 -1
- package/dist/facts/fetch.d.ts +7 -0
- package/dist/facts/fetch.js +22 -1
- package/dist/facts/fetch.js.map +1 -1
- package/dist/facts/lines.d.ts +22 -4
- package/dist/facts/lines.js +31 -9
- package/dist/facts/lines.js.map +1 -1
- package/dist/facts/peers.d.ts +13 -4
- package/dist/facts/peers.js +17 -15
- package/dist/facts/peers.js.map +1 -1
- package/dist/facts/rules/packages.js +3 -1
- package/dist/facts/rules/packages.js.map +1 -1
- package/dist/facts/rules/same-name.js +1 -1
- package/dist/facts/rules/same-name.js.map +1 -1
- package/dist/facts/store.d.ts +15 -0
- package/dist/facts/store.js +30 -0
- package/dist/facts/store.js.map +1 -1
- package/dist/held/backoff.d.ts +8 -0
- package/dist/held/backoff.js +43 -0
- package/dist/held/backoff.js.map +1 -0
- package/dist/held/build.d.ts +17 -0
- package/dist/held/build.js +62 -0
- package/dist/held/build.js.map +1 -0
- package/dist/held/client.d.ts +12 -3
- package/dist/held/client.js +123 -8
- package/dist/held/client.js.map +1 -1
- package/dist/held/daemon.d.ts +47 -2
- package/dist/held/daemon.js +115 -23
- package/dist/held/daemon.js.map +1 -1
- package/dist/held/early.d.ts +28 -0
- package/dist/held/early.js +115 -0
- package/dist/held/early.js.map +1 -0
- package/dist/held/paths.d.ts +6 -0
- package/dist/held/paths.js +17 -0
- package/dist/held/paths.js.map +1 -1
- package/dist/held/place.d.ts +76 -30
- package/dist/held/place.js +121 -83
- package/dist/held/place.js.map +1 -1
- package/dist/held/run.js +24 -6
- package/dist/held/run.js.map +1 -1
- package/dist/held/runtime.d.ts +22 -0
- package/dist/held/runtime.js +612 -0
- package/dist/held/runtime.js.map +1 -0
- package/dist/held/shadow.d.ts +33 -0
- package/dist/held/shadow.js +68 -0
- package/dist/held/shadow.js.map +1 -0
- package/dist/held/steps.d.ts +11 -0
- package/dist/held/steps.js +29 -0
- package/dist/held/steps.js.map +1 -0
- package/dist/hook/confirm.d.ts +79 -0
- package/dist/hook/confirm.js +220 -0
- package/dist/hook/confirm.js.map +1 -0
- package/dist/hook/edit-flow.d.ts +14 -3
- package/dist/hook/edit-flow.js +113 -33
- package/dist/hook/edit-flow.js.map +1 -1
- package/dist/hook/generation.d.ts +19 -0
- package/dist/hook/generation.js +75 -0
- package/dist/hook/generation.js.map +1 -0
- package/dist/hook/late.d.ts +50 -9
- package/dist/hook/late.js +104 -24
- package/dist/hook/late.js.map +1 -1
- package/dist/hook/post-bash.js +3 -3
- package/dist/hook/post-bash.js.map +1 -1
- package/dist/hook/post-edit.js +2 -2
- package/dist/hook/post-edit.js.map +1 -1
- package/dist/hook/post-read.js +25 -3
- package/dist/hook/post-read.js.map +1 -1
- package/dist/hook/post-search.js +1 -1
- package/dist/hook/post-search.js.map +1 -1
- package/dist/hook/probe.js +1 -0
- package/dist/hook/probe.js.map +1 -1
- package/dist/hook/read-answer.d.ts +5 -0
- package/dist/hook/read-answer.js +8 -4
- package/dist/hook/read-answer.js.map +1 -1
- package/dist/hook/rechecks.d.ts +58 -2
- package/dist/hook/rechecks.js +132 -9
- package/dist/hook/rechecks.js.map +1 -1
- package/dist/hook/session-start.d.ts +1 -1
- package/dist/hook/session-start.js +19 -5
- package/dist/hook/session-start.js.map +1 -1
- package/dist/hook/similar.d.ts +1 -1
- package/dist/hook/similar.js +21 -8
- package/dist/hook/similar.js.map +1 -1
- package/dist/hook/stop-wait.js +35 -16
- package/dist/hook/stop-wait.js.map +1 -1
- package/dist/hook/timings.d.ts +29 -1
- package/dist/hook/timings.js +7 -1
- package/dist/hook/timings.js.map +1 -1
- package/dist/hook/user-prompt.js +2 -2
- package/dist/hook/user-prompt.js.map +1 -1
- package/dist/hosted-snapshot.d.ts +27 -0
- package/dist/hosted-snapshot.js +32 -0
- package/dist/hosted-snapshot.js.map +1 -1
- package/dist/init/hosted.js +2 -9
- package/dist/init/hosted.js.map +1 -1
- package/dist/render.d.ts +15 -1
- package/dist/render.js +50 -4
- package/dist/render.js.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/capture/anchors.d.ts +8 -0
- package/sidecar/dist/src/capture/anchors.js +3 -2
- package/sidecar/dist/src/capture/api.d.ts +70 -3
- package/sidecar/dist/src/capture/check-classify.d.ts +7 -0
- package/sidecar/dist/src/capture/check-classify.js +24 -0
- package/sidecar/dist/src/capture/check-probe.d.ts +76 -7
- package/sidecar/dist/src/capture/check-probe.js +147 -19
- package/sidecar/dist/src/capture/check.js +13 -1
- package/sidecar/dist/src/capture/graphql-leaves.d.ts +46 -0
- package/sidecar/dist/src/capture/graphql-leaves.js +142 -0
- package/sidecar/dist/src/capture/index.d.ts +4 -1
- package/sidecar/dist/src/capture/index.js +3 -1
- package/sidecar/dist/src/definition-resolver.d.ts +2 -1
- package/sidecar/dist/src/definition-resolver.js +15 -9
- package/sidecar/dist/src/engine-stamp.json +1 -1
- package/sidecar/dist/src/held-shadow.d.ts +12 -2
- package/sidecar/dist/src/held-shadow.js +9 -9
- package/sidecar/dist/src/index.js +18 -1
- package/sidecar/dist/src/library-claims.js +26 -3
- package/sidecar/dist/src/retype.d.ts +47 -0
- package/sidecar/dist/src/retype.js +274 -18
- package/sidecar/dist/src/site-find.d.ts +27 -0
- package/sidecar/dist/src/site-find.js +109 -0
- package/sidecar/dist/src/type-inferrer.d.ts +5 -0
- package/sidecar/dist/src/type-inferrer.js +8 -4
- package/sidecar/dist/src/type-structural-expander.d.ts +10 -0
- package/sidecar/dist/src/type-structural-expander.js +73 -4
- package/sidecar/dist/src/types.d.ts +50 -2
- package/sidecar/dist/src/validators.d.ts +328 -8
- package/sidecar/dist/src/validators.js +29 -0
|
@@ -642,6 +642,18 @@ export declare const CaptureV2RequestSchema: z.ZodObject<{
|
|
|
642
642
|
backfill_texts?: Record<string, string> | undefined;
|
|
643
643
|
backfill_out_dir?: string | undefined;
|
|
644
644
|
}>;
|
|
645
|
+
/** carrick#4403: an SDL field's output type (`GraphqlLeaf`). */
|
|
646
|
+
type GraphqlLeafInput = {
|
|
647
|
+
scalar: string;
|
|
648
|
+
} | {
|
|
649
|
+
enum: string;
|
|
650
|
+
} | {
|
|
651
|
+
list: GraphqlLeafInput;
|
|
652
|
+
} | {
|
|
653
|
+
non_null: GraphqlLeafInput;
|
|
654
|
+
} | {
|
|
655
|
+
type: string;
|
|
656
|
+
};
|
|
645
657
|
export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
646
658
|
request_id: z.ZodString;
|
|
647
659
|
} & {
|
|
@@ -649,12 +661,35 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
649
661
|
stubs: z.ZodArray<z.ZodObject<{
|
|
650
662
|
service_name: z.ZodString;
|
|
651
663
|
stub_dir: z.ZodString;
|
|
664
|
+
graphql_types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
665
|
+
fields: z.ZodRecord<z.ZodString, z.ZodType<GraphqlLeafInput, z.ZodTypeDef, GraphqlLeafInput>>;
|
|
666
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
668
|
+
}, {
|
|
669
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
670
|
+
}>, z.ZodObject<{
|
|
671
|
+
members: z.ZodArray<z.ZodString, "many">;
|
|
672
|
+
}, "strict", z.ZodTypeAny, {
|
|
673
|
+
members: string[];
|
|
674
|
+
}, {
|
|
675
|
+
members: string[];
|
|
676
|
+
}>]>>>;
|
|
652
677
|
}, "strip", z.ZodTypeAny, {
|
|
653
678
|
service_name: string;
|
|
654
679
|
stub_dir: string;
|
|
680
|
+
graphql_types?: Record<string, {
|
|
681
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
682
|
+
} | {
|
|
683
|
+
members: string[];
|
|
684
|
+
}> | undefined;
|
|
655
685
|
}, {
|
|
656
686
|
service_name: string;
|
|
657
687
|
stub_dir: string;
|
|
688
|
+
graphql_types?: Record<string, {
|
|
689
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
690
|
+
} | {
|
|
691
|
+
members: string[];
|
|
692
|
+
}> | undefined;
|
|
658
693
|
}>, "many">;
|
|
659
694
|
pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
660
695
|
pair_key: z.ZodString;
|
|
@@ -681,6 +716,17 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
681
716
|
service_name: string;
|
|
682
717
|
}>;
|
|
683
718
|
topic: z.ZodOptional<z.ZodString>;
|
|
719
|
+
procedure: z.ZodOptional<z.ZodLiteral<true>>;
|
|
720
|
+
graphql_root: z.ZodOptional<z.ZodObject<{
|
|
721
|
+
type: z.ZodString;
|
|
722
|
+
field: z.ZodString;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
field: string;
|
|
725
|
+
type: string;
|
|
726
|
+
}, {
|
|
727
|
+
field: string;
|
|
728
|
+
type: string;
|
|
729
|
+
}>>;
|
|
684
730
|
}, "strip", z.ZodTypeAny, {
|
|
685
731
|
producer: {
|
|
686
732
|
alias: string;
|
|
@@ -693,7 +739,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
693
739
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
694
740
|
pair_key: string;
|
|
695
741
|
type_kind: "request" | "response" | "both";
|
|
742
|
+
procedure?: true | undefined;
|
|
696
743
|
topic?: string | undefined;
|
|
744
|
+
graphql_root?: {
|
|
745
|
+
field: string;
|
|
746
|
+
type: string;
|
|
747
|
+
} | undefined;
|
|
697
748
|
}, {
|
|
698
749
|
producer: {
|
|
699
750
|
alias: string;
|
|
@@ -706,7 +757,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
706
757
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
707
758
|
pair_key: string;
|
|
708
759
|
type_kind: "request" | "response" | "both";
|
|
760
|
+
procedure?: true | undefined;
|
|
709
761
|
topic?: string | undefined;
|
|
762
|
+
graphql_root?: {
|
|
763
|
+
field: string;
|
|
764
|
+
type: string;
|
|
765
|
+
} | undefined;
|
|
710
766
|
}>, {
|
|
711
767
|
producer: {
|
|
712
768
|
alias: string;
|
|
@@ -719,7 +775,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
719
775
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
720
776
|
pair_key: string;
|
|
721
777
|
type_kind: "request" | "response" | "both";
|
|
778
|
+
procedure?: true | undefined;
|
|
722
779
|
topic?: string | undefined;
|
|
780
|
+
graphql_root?: {
|
|
781
|
+
field: string;
|
|
782
|
+
type: string;
|
|
783
|
+
} | undefined;
|
|
723
784
|
}, {
|
|
724
785
|
producer: {
|
|
725
786
|
alias: string;
|
|
@@ -732,7 +793,12 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
732
793
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
733
794
|
pair_key: string;
|
|
734
795
|
type_kind: "request" | "response" | "both";
|
|
796
|
+
procedure?: true | undefined;
|
|
735
797
|
topic?: string | undefined;
|
|
798
|
+
graphql_root?: {
|
|
799
|
+
field: string;
|
|
800
|
+
type: string;
|
|
801
|
+
} | undefined;
|
|
736
802
|
}>, "many">;
|
|
737
803
|
workspace_root: z.ZodOptional<z.ZodString>;
|
|
738
804
|
keep_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -749,13 +815,23 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
749
815
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
750
816
|
pair_key: string;
|
|
751
817
|
type_kind: "request" | "response" | "both";
|
|
818
|
+
procedure?: true | undefined;
|
|
752
819
|
topic?: string | undefined;
|
|
820
|
+
graphql_root?: {
|
|
821
|
+
field: string;
|
|
822
|
+
type: string;
|
|
823
|
+
} | undefined;
|
|
753
824
|
}[];
|
|
754
825
|
request_id: string;
|
|
755
826
|
action: "check_v2";
|
|
756
827
|
stubs: {
|
|
757
828
|
service_name: string;
|
|
758
829
|
stub_dir: string;
|
|
830
|
+
graphql_types?: Record<string, {
|
|
831
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
832
|
+
} | {
|
|
833
|
+
members: string[];
|
|
834
|
+
}> | undefined;
|
|
759
835
|
}[];
|
|
760
836
|
workspace_root?: string | undefined;
|
|
761
837
|
keep_workspace?: boolean | undefined;
|
|
@@ -772,13 +848,23 @@ export declare const CheckV2RequestSchema: z.ZodObject<{
|
|
|
772
848
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
773
849
|
pair_key: string;
|
|
774
850
|
type_kind: "request" | "response" | "both";
|
|
851
|
+
procedure?: true | undefined;
|
|
775
852
|
topic?: string | undefined;
|
|
853
|
+
graphql_root?: {
|
|
854
|
+
field: string;
|
|
855
|
+
type: string;
|
|
856
|
+
} | undefined;
|
|
776
857
|
}[];
|
|
777
858
|
request_id: string;
|
|
778
859
|
action: "check_v2";
|
|
779
860
|
stubs: {
|
|
780
861
|
service_name: string;
|
|
781
862
|
stub_dir: string;
|
|
863
|
+
graphql_types?: Record<string, {
|
|
864
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
865
|
+
} | {
|
|
866
|
+
members: string[];
|
|
867
|
+
}> | undefined;
|
|
782
868
|
}[];
|
|
783
869
|
workspace_root?: string | undefined;
|
|
784
870
|
keep_workspace?: boolean | undefined;
|
|
@@ -1107,6 +1193,32 @@ export declare const WriteShadowRequestSchema: z.ZodObject<{
|
|
|
1107
1193
|
action: "write_shadow";
|
|
1108
1194
|
out_dir: string;
|
|
1109
1195
|
}>;
|
|
1196
|
+
export declare const FindSiteRequestSchema: z.ZodObject<{
|
|
1197
|
+
request_id: z.ZodString;
|
|
1198
|
+
} & {
|
|
1199
|
+
action: z.ZodLiteral<"find_site">;
|
|
1200
|
+
file: z.ZodString;
|
|
1201
|
+
oldText: z.ZodString;
|
|
1202
|
+
newText: z.ZodString;
|
|
1203
|
+
start: z.ZodNumber;
|
|
1204
|
+
end: z.ZodNumber;
|
|
1205
|
+
}, "strip", z.ZodTypeAny, {
|
|
1206
|
+
file: string;
|
|
1207
|
+
end: number;
|
|
1208
|
+
request_id: string;
|
|
1209
|
+
start: number;
|
|
1210
|
+
action: "find_site";
|
|
1211
|
+
oldText: string;
|
|
1212
|
+
newText: string;
|
|
1213
|
+
}, {
|
|
1214
|
+
file: string;
|
|
1215
|
+
end: number;
|
|
1216
|
+
request_id: string;
|
|
1217
|
+
start: number;
|
|
1218
|
+
action: "find_site";
|
|
1219
|
+
oldText: string;
|
|
1220
|
+
newText: string;
|
|
1221
|
+
}>;
|
|
1110
1222
|
export declare const ReachGraphRequestSchema: z.ZodObject<{
|
|
1111
1223
|
request_id: z.ZodString;
|
|
1112
1224
|
} & {
|
|
@@ -1331,24 +1443,55 @@ export declare const ResolveDefinitionsRequestSchema: z.ZodObject<{
|
|
|
1331
1443
|
} & {
|
|
1332
1444
|
action: z.ZodLiteral<"resolve_definitions">;
|
|
1333
1445
|
stub_dir: z.ZodString;
|
|
1446
|
+
graphql_types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1447
|
+
fields: z.ZodRecord<z.ZodString, z.ZodType<GraphqlLeafInput, z.ZodTypeDef, GraphqlLeafInput>>;
|
|
1448
|
+
}, "strict", z.ZodTypeAny, {
|
|
1449
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
1450
|
+
}, {
|
|
1451
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
1452
|
+
}>, z.ZodObject<{
|
|
1453
|
+
members: z.ZodArray<z.ZodString, "many">;
|
|
1454
|
+
}, "strict", z.ZodTypeAny, {
|
|
1455
|
+
members: string[];
|
|
1456
|
+
}, {
|
|
1457
|
+
members: string[];
|
|
1458
|
+
}>]>>>;
|
|
1334
1459
|
aliases: z.ZodArray<z.ZodObject<{
|
|
1335
1460
|
alias: z.ZodString;
|
|
1336
1461
|
protocol: z.ZodEnum<["http", "graphql", "socket", "pubsub"]>;
|
|
1337
1462
|
type_kind: z.ZodEnum<["request", "response"]>;
|
|
1338
1463
|
side: z.ZodEnum<["producer", "consumer"]>;
|
|
1339
1464
|
procedure: z.ZodBoolean;
|
|
1465
|
+
graphql_root: z.ZodOptional<z.ZodObject<{
|
|
1466
|
+
type: z.ZodString;
|
|
1467
|
+
field: z.ZodString;
|
|
1468
|
+
}, "strip", z.ZodTypeAny, {
|
|
1469
|
+
field: string;
|
|
1470
|
+
type: string;
|
|
1471
|
+
}, {
|
|
1472
|
+
field: string;
|
|
1473
|
+
type: string;
|
|
1474
|
+
}>>;
|
|
1340
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1341
1476
|
side: "producer" | "consumer";
|
|
1342
1477
|
alias: string;
|
|
1478
|
+
procedure: boolean;
|
|
1343
1479
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
1344
1480
|
type_kind: "request" | "response";
|
|
1345
|
-
|
|
1481
|
+
graphql_root?: {
|
|
1482
|
+
field: string;
|
|
1483
|
+
type: string;
|
|
1484
|
+
} | undefined;
|
|
1346
1485
|
}, {
|
|
1347
1486
|
side: "producer" | "consumer";
|
|
1348
1487
|
alias: string;
|
|
1488
|
+
procedure: boolean;
|
|
1349
1489
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
1350
1490
|
type_kind: "request" | "response";
|
|
1351
|
-
|
|
1491
|
+
graphql_root?: {
|
|
1492
|
+
field: string;
|
|
1493
|
+
type: string;
|
|
1494
|
+
} | undefined;
|
|
1352
1495
|
}>, "many">;
|
|
1353
1496
|
}, "strip", z.ZodTypeAny, {
|
|
1354
1497
|
request_id: string;
|
|
@@ -1357,10 +1500,19 @@ export declare const ResolveDefinitionsRequestSchema: z.ZodObject<{
|
|
|
1357
1500
|
aliases: {
|
|
1358
1501
|
side: "producer" | "consumer";
|
|
1359
1502
|
alias: string;
|
|
1503
|
+
procedure: boolean;
|
|
1360
1504
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
1361
1505
|
type_kind: "request" | "response";
|
|
1362
|
-
|
|
1506
|
+
graphql_root?: {
|
|
1507
|
+
field: string;
|
|
1508
|
+
type: string;
|
|
1509
|
+
} | undefined;
|
|
1363
1510
|
}[];
|
|
1511
|
+
graphql_types?: Record<string, {
|
|
1512
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
1513
|
+
} | {
|
|
1514
|
+
members: string[];
|
|
1515
|
+
}> | undefined;
|
|
1364
1516
|
}, {
|
|
1365
1517
|
request_id: string;
|
|
1366
1518
|
action: "resolve_definitions";
|
|
@@ -1368,10 +1520,19 @@ export declare const ResolveDefinitionsRequestSchema: z.ZodObject<{
|
|
|
1368
1520
|
aliases: {
|
|
1369
1521
|
side: "producer" | "consumer";
|
|
1370
1522
|
alias: string;
|
|
1523
|
+
procedure: boolean;
|
|
1371
1524
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
1372
1525
|
type_kind: "request" | "response";
|
|
1373
|
-
|
|
1526
|
+
graphql_root?: {
|
|
1527
|
+
field: string;
|
|
1528
|
+
type: string;
|
|
1529
|
+
} | undefined;
|
|
1374
1530
|
}[];
|
|
1531
|
+
graphql_types?: Record<string, {
|
|
1532
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
1533
|
+
} | {
|
|
1534
|
+
members: string[];
|
|
1535
|
+
}> | undefined;
|
|
1375
1536
|
}>;
|
|
1376
1537
|
export declare const RetypePrescreenRequestSchema: z.ZodObject<{
|
|
1377
1538
|
request_id: z.ZodString;
|
|
@@ -1443,6 +1604,7 @@ export declare const RetypeCheckRequestSchema: z.ZodObject<{
|
|
|
1443
1604
|
producer_type: z.ZodString;
|
|
1444
1605
|
producer_unwidened_type: z.ZodOptional<z.ZodString>;
|
|
1445
1606
|
wire: z.ZodBoolean;
|
|
1607
|
+
procedure_path: z.ZodOptional<z.ZodString>;
|
|
1446
1608
|
}, "strip", z.ZodTypeAny, {
|
|
1447
1609
|
wire: boolean;
|
|
1448
1610
|
file_path: string;
|
|
@@ -1454,6 +1616,7 @@ export declare const RetypeCheckRequestSchema: z.ZodObject<{
|
|
|
1454
1616
|
expression_text?: string | undefined;
|
|
1455
1617
|
expression_line?: number | undefined;
|
|
1456
1618
|
producer_unwidened_type?: string | undefined;
|
|
1619
|
+
procedure_path?: string | undefined;
|
|
1457
1620
|
}, {
|
|
1458
1621
|
wire: boolean;
|
|
1459
1622
|
file_path: string;
|
|
@@ -1465,6 +1628,7 @@ export declare const RetypeCheckRequestSchema: z.ZodObject<{
|
|
|
1465
1628
|
expression_text?: string | undefined;
|
|
1466
1629
|
expression_line?: number | undefined;
|
|
1467
1630
|
producer_unwidened_type?: string | undefined;
|
|
1631
|
+
procedure_path?: string | undefined;
|
|
1468
1632
|
}>, "many">;
|
|
1469
1633
|
budget_ms: z.ZodOptional<z.ZodNumber>;
|
|
1470
1634
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1481,6 +1645,7 @@ export declare const RetypeCheckRequestSchema: z.ZodObject<{
|
|
|
1481
1645
|
expression_text?: string | undefined;
|
|
1482
1646
|
expression_line?: number | undefined;
|
|
1483
1647
|
producer_unwidened_type?: string | undefined;
|
|
1648
|
+
procedure_path?: string | undefined;
|
|
1484
1649
|
}[];
|
|
1485
1650
|
budget_ms?: number | undefined;
|
|
1486
1651
|
}, {
|
|
@@ -1497,6 +1662,7 @@ export declare const RetypeCheckRequestSchema: z.ZodObject<{
|
|
|
1497
1662
|
expression_text?: string | undefined;
|
|
1498
1663
|
expression_line?: number | undefined;
|
|
1499
1664
|
producer_unwidened_type?: string | undefined;
|
|
1665
|
+
procedure_path?: string | undefined;
|
|
1500
1666
|
}[];
|
|
1501
1667
|
budget_ms?: number | undefined;
|
|
1502
1668
|
}>;
|
|
@@ -4754,12 +4920,35 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4754
4920
|
stubs: z.ZodArray<z.ZodObject<{
|
|
4755
4921
|
service_name: z.ZodString;
|
|
4756
4922
|
stub_dir: z.ZodString;
|
|
4923
|
+
graphql_types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
4924
|
+
fields: z.ZodRecord<z.ZodString, z.ZodType<GraphqlLeafInput, z.ZodTypeDef, GraphqlLeafInput>>;
|
|
4925
|
+
}, "strict", z.ZodTypeAny, {
|
|
4926
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
4927
|
+
}, {
|
|
4928
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
4929
|
+
}>, z.ZodObject<{
|
|
4930
|
+
members: z.ZodArray<z.ZodString, "many">;
|
|
4931
|
+
}, "strict", z.ZodTypeAny, {
|
|
4932
|
+
members: string[];
|
|
4933
|
+
}, {
|
|
4934
|
+
members: string[];
|
|
4935
|
+
}>]>>>;
|
|
4757
4936
|
}, "strip", z.ZodTypeAny, {
|
|
4758
4937
|
service_name: string;
|
|
4759
4938
|
stub_dir: string;
|
|
4939
|
+
graphql_types?: Record<string, {
|
|
4940
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
4941
|
+
} | {
|
|
4942
|
+
members: string[];
|
|
4943
|
+
}> | undefined;
|
|
4760
4944
|
}, {
|
|
4761
4945
|
service_name: string;
|
|
4762
4946
|
stub_dir: string;
|
|
4947
|
+
graphql_types?: Record<string, {
|
|
4948
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
4949
|
+
} | {
|
|
4950
|
+
members: string[];
|
|
4951
|
+
}> | undefined;
|
|
4763
4952
|
}>, "many">;
|
|
4764
4953
|
pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4765
4954
|
pair_key: z.ZodString;
|
|
@@ -4786,6 +4975,17 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4786
4975
|
service_name: string;
|
|
4787
4976
|
}>;
|
|
4788
4977
|
topic: z.ZodOptional<z.ZodString>;
|
|
4978
|
+
procedure: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4979
|
+
graphql_root: z.ZodOptional<z.ZodObject<{
|
|
4980
|
+
type: z.ZodString;
|
|
4981
|
+
field: z.ZodString;
|
|
4982
|
+
}, "strip", z.ZodTypeAny, {
|
|
4983
|
+
field: string;
|
|
4984
|
+
type: string;
|
|
4985
|
+
}, {
|
|
4986
|
+
field: string;
|
|
4987
|
+
type: string;
|
|
4988
|
+
}>>;
|
|
4789
4989
|
}, "strip", z.ZodTypeAny, {
|
|
4790
4990
|
producer: {
|
|
4791
4991
|
alias: string;
|
|
@@ -4798,7 +4998,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4798
4998
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4799
4999
|
pair_key: string;
|
|
4800
5000
|
type_kind: "request" | "response" | "both";
|
|
5001
|
+
procedure?: true | undefined;
|
|
4801
5002
|
topic?: string | undefined;
|
|
5003
|
+
graphql_root?: {
|
|
5004
|
+
field: string;
|
|
5005
|
+
type: string;
|
|
5006
|
+
} | undefined;
|
|
4802
5007
|
}, {
|
|
4803
5008
|
producer: {
|
|
4804
5009
|
alias: string;
|
|
@@ -4811,7 +5016,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4811
5016
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4812
5017
|
pair_key: string;
|
|
4813
5018
|
type_kind: "request" | "response" | "both";
|
|
5019
|
+
procedure?: true | undefined;
|
|
4814
5020
|
topic?: string | undefined;
|
|
5021
|
+
graphql_root?: {
|
|
5022
|
+
field: string;
|
|
5023
|
+
type: string;
|
|
5024
|
+
} | undefined;
|
|
4815
5025
|
}>, {
|
|
4816
5026
|
producer: {
|
|
4817
5027
|
alias: string;
|
|
@@ -4824,7 +5034,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4824
5034
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4825
5035
|
pair_key: string;
|
|
4826
5036
|
type_kind: "request" | "response" | "both";
|
|
5037
|
+
procedure?: true | undefined;
|
|
4827
5038
|
topic?: string | undefined;
|
|
5039
|
+
graphql_root?: {
|
|
5040
|
+
field: string;
|
|
5041
|
+
type: string;
|
|
5042
|
+
} | undefined;
|
|
4828
5043
|
}, {
|
|
4829
5044
|
producer: {
|
|
4830
5045
|
alias: string;
|
|
@@ -4837,7 +5052,12 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4837
5052
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4838
5053
|
pair_key: string;
|
|
4839
5054
|
type_kind: "request" | "response" | "both";
|
|
5055
|
+
procedure?: true | undefined;
|
|
4840
5056
|
topic?: string | undefined;
|
|
5057
|
+
graphql_root?: {
|
|
5058
|
+
field: string;
|
|
5059
|
+
type: string;
|
|
5060
|
+
} | undefined;
|
|
4841
5061
|
}>, "many">;
|
|
4842
5062
|
workspace_root: z.ZodOptional<z.ZodString>;
|
|
4843
5063
|
keep_workspace: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4854,13 +5074,23 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4854
5074
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4855
5075
|
pair_key: string;
|
|
4856
5076
|
type_kind: "request" | "response" | "both";
|
|
5077
|
+
procedure?: true | undefined;
|
|
4857
5078
|
topic?: string | undefined;
|
|
5079
|
+
graphql_root?: {
|
|
5080
|
+
field: string;
|
|
5081
|
+
type: string;
|
|
5082
|
+
} | undefined;
|
|
4858
5083
|
}[];
|
|
4859
5084
|
request_id: string;
|
|
4860
5085
|
action: "check_v2";
|
|
4861
5086
|
stubs: {
|
|
4862
5087
|
service_name: string;
|
|
4863
5088
|
stub_dir: string;
|
|
5089
|
+
graphql_types?: Record<string, {
|
|
5090
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5091
|
+
} | {
|
|
5092
|
+
members: string[];
|
|
5093
|
+
}> | undefined;
|
|
4864
5094
|
}[];
|
|
4865
5095
|
workspace_root?: string | undefined;
|
|
4866
5096
|
keep_workspace?: boolean | undefined;
|
|
@@ -4877,13 +5107,23 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
4877
5107
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
4878
5108
|
pair_key: string;
|
|
4879
5109
|
type_kind: "request" | "response" | "both";
|
|
5110
|
+
procedure?: true | undefined;
|
|
4880
5111
|
topic?: string | undefined;
|
|
5112
|
+
graphql_root?: {
|
|
5113
|
+
field: string;
|
|
5114
|
+
type: string;
|
|
5115
|
+
} | undefined;
|
|
4881
5116
|
}[];
|
|
4882
5117
|
request_id: string;
|
|
4883
5118
|
action: "check_v2";
|
|
4884
5119
|
stubs: {
|
|
4885
5120
|
service_name: string;
|
|
4886
5121
|
stub_dir: string;
|
|
5122
|
+
graphql_types?: Record<string, {
|
|
5123
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5124
|
+
} | {
|
|
5125
|
+
members: string[];
|
|
5126
|
+
}> | undefined;
|
|
4887
5127
|
}[];
|
|
4888
5128
|
workspace_root?: string | undefined;
|
|
4889
5129
|
keep_workspace?: boolean | undefined;
|
|
@@ -5168,24 +5408,55 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5168
5408
|
} & {
|
|
5169
5409
|
action: z.ZodLiteral<"resolve_definitions">;
|
|
5170
5410
|
stub_dir: z.ZodString;
|
|
5411
|
+
graphql_types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
5412
|
+
fields: z.ZodRecord<z.ZodString, z.ZodType<GraphqlLeafInput, z.ZodTypeDef, GraphqlLeafInput>>;
|
|
5413
|
+
}, "strict", z.ZodTypeAny, {
|
|
5414
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5415
|
+
}, {
|
|
5416
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5417
|
+
}>, z.ZodObject<{
|
|
5418
|
+
members: z.ZodArray<z.ZodString, "many">;
|
|
5419
|
+
}, "strict", z.ZodTypeAny, {
|
|
5420
|
+
members: string[];
|
|
5421
|
+
}, {
|
|
5422
|
+
members: string[];
|
|
5423
|
+
}>]>>>;
|
|
5171
5424
|
aliases: z.ZodArray<z.ZodObject<{
|
|
5172
5425
|
alias: z.ZodString;
|
|
5173
5426
|
protocol: z.ZodEnum<["http", "graphql", "socket", "pubsub"]>;
|
|
5174
5427
|
type_kind: z.ZodEnum<["request", "response"]>;
|
|
5175
5428
|
side: z.ZodEnum<["producer", "consumer"]>;
|
|
5176
5429
|
procedure: z.ZodBoolean;
|
|
5430
|
+
graphql_root: z.ZodOptional<z.ZodObject<{
|
|
5431
|
+
type: z.ZodString;
|
|
5432
|
+
field: z.ZodString;
|
|
5433
|
+
}, "strip", z.ZodTypeAny, {
|
|
5434
|
+
field: string;
|
|
5435
|
+
type: string;
|
|
5436
|
+
}, {
|
|
5437
|
+
field: string;
|
|
5438
|
+
type: string;
|
|
5439
|
+
}>>;
|
|
5177
5440
|
}, "strip", z.ZodTypeAny, {
|
|
5178
5441
|
side: "producer" | "consumer";
|
|
5179
5442
|
alias: string;
|
|
5443
|
+
procedure: boolean;
|
|
5180
5444
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
5181
5445
|
type_kind: "request" | "response";
|
|
5182
|
-
|
|
5446
|
+
graphql_root?: {
|
|
5447
|
+
field: string;
|
|
5448
|
+
type: string;
|
|
5449
|
+
} | undefined;
|
|
5183
5450
|
}, {
|
|
5184
5451
|
side: "producer" | "consumer";
|
|
5185
5452
|
alias: string;
|
|
5453
|
+
procedure: boolean;
|
|
5186
5454
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
5187
5455
|
type_kind: "request" | "response";
|
|
5188
|
-
|
|
5456
|
+
graphql_root?: {
|
|
5457
|
+
field: string;
|
|
5458
|
+
type: string;
|
|
5459
|
+
} | undefined;
|
|
5189
5460
|
}>, "many">;
|
|
5190
5461
|
}, "strip", z.ZodTypeAny, {
|
|
5191
5462
|
request_id: string;
|
|
@@ -5194,10 +5465,19 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5194
5465
|
aliases: {
|
|
5195
5466
|
side: "producer" | "consumer";
|
|
5196
5467
|
alias: string;
|
|
5468
|
+
procedure: boolean;
|
|
5197
5469
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
5198
5470
|
type_kind: "request" | "response";
|
|
5199
|
-
|
|
5471
|
+
graphql_root?: {
|
|
5472
|
+
field: string;
|
|
5473
|
+
type: string;
|
|
5474
|
+
} | undefined;
|
|
5200
5475
|
}[];
|
|
5476
|
+
graphql_types?: Record<string, {
|
|
5477
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5478
|
+
} | {
|
|
5479
|
+
members: string[];
|
|
5480
|
+
}> | undefined;
|
|
5201
5481
|
}, {
|
|
5202
5482
|
request_id: string;
|
|
5203
5483
|
action: "resolve_definitions";
|
|
@@ -5205,10 +5485,19 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5205
5485
|
aliases: {
|
|
5206
5486
|
side: "producer" | "consumer";
|
|
5207
5487
|
alias: string;
|
|
5488
|
+
procedure: boolean;
|
|
5208
5489
|
protocol: "http" | "graphql" | "socket" | "pubsub";
|
|
5209
5490
|
type_kind: "request" | "response";
|
|
5210
|
-
|
|
5491
|
+
graphql_root?: {
|
|
5492
|
+
field: string;
|
|
5493
|
+
type: string;
|
|
5494
|
+
} | undefined;
|
|
5211
5495
|
}[];
|
|
5496
|
+
graphql_types?: Record<string, {
|
|
5497
|
+
fields: Record<string, GraphqlLeafInput>;
|
|
5498
|
+
} | {
|
|
5499
|
+
members: string[];
|
|
5500
|
+
}> | undefined;
|
|
5212
5501
|
}>, z.ZodObject<{
|
|
5213
5502
|
request_id: z.ZodString;
|
|
5214
5503
|
} & {
|
|
@@ -5225,6 +5514,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5225
5514
|
producer_type: z.ZodString;
|
|
5226
5515
|
producer_unwidened_type: z.ZodOptional<z.ZodString>;
|
|
5227
5516
|
wire: z.ZodBoolean;
|
|
5517
|
+
procedure_path: z.ZodOptional<z.ZodString>;
|
|
5228
5518
|
}, "strip", z.ZodTypeAny, {
|
|
5229
5519
|
wire: boolean;
|
|
5230
5520
|
file_path: string;
|
|
@@ -5236,6 +5526,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5236
5526
|
expression_text?: string | undefined;
|
|
5237
5527
|
expression_line?: number | undefined;
|
|
5238
5528
|
producer_unwidened_type?: string | undefined;
|
|
5529
|
+
procedure_path?: string | undefined;
|
|
5239
5530
|
}, {
|
|
5240
5531
|
wire: boolean;
|
|
5241
5532
|
file_path: string;
|
|
@@ -5247,6 +5538,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5247
5538
|
expression_text?: string | undefined;
|
|
5248
5539
|
expression_line?: number | undefined;
|
|
5249
5540
|
producer_unwidened_type?: string | undefined;
|
|
5541
|
+
procedure_path?: string | undefined;
|
|
5250
5542
|
}>, "many">;
|
|
5251
5543
|
budget_ms: z.ZodOptional<z.ZodNumber>;
|
|
5252
5544
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5263,6 +5555,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5263
5555
|
expression_text?: string | undefined;
|
|
5264
5556
|
expression_line?: number | undefined;
|
|
5265
5557
|
producer_unwidened_type?: string | undefined;
|
|
5558
|
+
procedure_path?: string | undefined;
|
|
5266
5559
|
}[];
|
|
5267
5560
|
budget_ms?: number | undefined;
|
|
5268
5561
|
}, {
|
|
@@ -5279,6 +5572,7 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
5279
5572
|
expression_text?: string | undefined;
|
|
5280
5573
|
expression_line?: number | undefined;
|
|
5281
5574
|
producer_unwidened_type?: string | undefined;
|
|
5575
|
+
procedure_path?: string | undefined;
|
|
5282
5576
|
}[];
|
|
5283
5577
|
budget_ms?: number | undefined;
|
|
5284
5578
|
}>, z.ZodObject<{
|
|
@@ -8123,6 +8417,31 @@ export declare const SidecarRequestSchema: z.ZodDiscriminatedUnion<"action", [z.
|
|
|
8123
8417
|
out_dir: string;
|
|
8124
8418
|
}>, z.ZodObject<{
|
|
8125
8419
|
request_id: z.ZodString;
|
|
8420
|
+
} & {
|
|
8421
|
+
action: z.ZodLiteral<"find_site">;
|
|
8422
|
+
file: z.ZodString;
|
|
8423
|
+
oldText: z.ZodString;
|
|
8424
|
+
newText: z.ZodString;
|
|
8425
|
+
start: z.ZodNumber;
|
|
8426
|
+
end: z.ZodNumber;
|
|
8427
|
+
}, "strip", z.ZodTypeAny, {
|
|
8428
|
+
file: string;
|
|
8429
|
+
end: number;
|
|
8430
|
+
request_id: string;
|
|
8431
|
+
start: number;
|
|
8432
|
+
action: "find_site";
|
|
8433
|
+
oldText: string;
|
|
8434
|
+
newText: string;
|
|
8435
|
+
}, {
|
|
8436
|
+
file: string;
|
|
8437
|
+
end: number;
|
|
8438
|
+
request_id: string;
|
|
8439
|
+
start: number;
|
|
8440
|
+
action: "find_site";
|
|
8441
|
+
oldText: string;
|
|
8442
|
+
newText: string;
|
|
8443
|
+
}>, z.ZodObject<{
|
|
8444
|
+
request_id: z.ZodString;
|
|
8126
8445
|
} & {
|
|
8127
8446
|
action: z.ZodLiteral<"reach_graph">;
|
|
8128
8447
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8367,3 +8686,4 @@ export type ValidatedInferRequest = z.infer<typeof InferRequestSchema>;
|
|
|
8367
8686
|
export type ValidatedHealthRequest = z.infer<typeof HealthRequestSchema>;
|
|
8368
8687
|
export type ValidatedShutdownRequest = z.infer<typeof ShutdownRequestSchema>;
|
|
8369
8688
|
export type ValidatedSidecarRequest = z.infer<typeof SidecarRequestSchema>;
|
|
8689
|
+
export {};
|