@maycombhq/sdk 2.0.0-beta.23 → 2.0.0-beta.25
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/npm/core/api.d.ts +530 -30
- package/npm/core/cite.d.ts +13 -2
- package/npm/core/facts-deps.d.ts +85 -0
- package/npm/core/facts-join.d.ts +33 -7
- package/npm/core/facts.d.ts +59 -0
- package/npm/core/host-questions.d.ts +180 -0
- package/npm/core/identity.d.ts +1 -17
- package/npm/core/index.d.ts +1 -0
- package/npm/core/paths.d.ts +23 -0
- package/npm/core/questions.d.ts +14 -0
- package/npm/core/schema/ai.d.ts +2 -2
- package/npm/core/schema/dialect.d.ts +12 -12
- package/npm/core/schema/fact-corrections.d.ts +2 -0
- package/npm/core/schema/facts.d.ts +315 -4
- package/npm/core/schema/frameworks.d.ts +10 -10
- package/npm/core/schema/review.d.ts +2 -2
- package/npm/core/schema/scan-verify.d.ts +45 -45
- package/npm/index.js +5530 -4902
- package/package.json +1 -1
package/npm/core/api.d.ts
CHANGED
|
@@ -428,8 +428,74 @@ import { z } from "zod";
|
|
|
428
428
|
* /api/runs for `map <repo>` runs `verify <repo> --write` after a read that kept every fact
|
|
429
429
|
* (`applied`), as a read's Done does. A Done's resume runs as a local job (one local step at a
|
|
430
430
|
* time). Propose for review fails when its branch wasn't pushed. Additive only.
|
|
431
|
+
* 3.10.0 (beta.24, a proxy to a system outside the estate): POST /api/links/corrections, This
|
|
432
|
+
* whole arrow is wrong: one correction of every call on a link, each in its caller repo's
|
|
433
|
+
* corrections file (several lines in one write per repo, every item checked before any is
|
|
434
|
+
* written), with every file, one git command and a verify command per repo. A graph join's
|
|
435
|
+
* `how` may be `base-path` (a call whose host nothing resolves, joined by the one proxy
|
|
436
|
+
* BasePath its whole path starts with, `joined-by-base-path`). A link whose first flag is a
|
|
437
|
+
* guess is never `verified` in its join; a verified link's `how` is its verified call's, and
|
|
438
|
+
* the guesses other calls it merged rest on are its join's `also`. Repo trust (GET /api/trust) gains `secrets`: a config
|
|
439
|
+
* file's line that holds what looks like a live secret, its file and line, never its value.
|
|
440
|
+
* Review of beta.24: POST /api/links/corrections writes all or none (every file held for the
|
|
441
|
+
* batch, each written whole and renamed; a failure puts back what was written, or answers 500
|
|
442
|
+
* naming the repos written, `written`), and skips an item whose newest correction on file says
|
|
443
|
+
* the same (`skipped`), so asked again it writes nothing twice. GET /api/graph/edge-calls gives
|
|
444
|
+
* every call merged into one edge of a view, not only the 20 the view lists. Additive only.
|
|
445
|
+
* Review of beta.24 (an answer's words made into boxes): POST /api/questions/{id}/answer takes
|
|
446
|
+
* `ignore: true` (with an optional `reason`) for a question about where calls go (hosts,
|
|
447
|
+
* targets, topics, the estate's call-outs): the calls aren't real (CI/CD, a test, a template),
|
|
448
|
+
* so the join leaves them; words that name no repo, component or system are refused (400) as
|
|
449
|
+
* such an answer, and a new outside system's name is a short name, never a sentence. GET
|
|
450
|
+
* /api/trust gains `answerBoxes`, the boxes made from an answer's words, and POST
|
|
451
|
+
* /api/trust/answer-boxes/ignore and /rename put one right (preview first). Additive only.
|
|
452
|
+
* A library of the estate's own (ADR 0192): a graph edge may be `depends-on`, a component that
|
|
453
|
+
* builds on coordinates another repo's build publishes (facts v5's `dependency` and `artifact`),
|
|
454
|
+
* drawn in the architecture and repo lenses, never merged into calls or their counts; its join's
|
|
455
|
+
* `how` is `coordinates` and it carries `dependency` (group, name, version, scope), with the
|
|
456
|
+
* dependency's lines as `caller` and the publishing lines as `callee`. Additive only.
|
|
457
|
+
* 3.11.0 (review of beta.24, round 2): POST /api/links/corrections takes up to 5000 items
|
|
458
|
+
* (`LINK_CORRECTIONS_MAX`, was 200), every call GET /api/graph/edge-calls can give, still all
|
|
459
|
+
* or none, in a body of up to 16 MB. An item is skipped only when the correction its fact
|
|
460
|
+
* meets now (by its id and cite, as verify meets it) says the same: one on file for a line the
|
|
461
|
+
* fact has left meets nothing, so the new one is written. A repo named in another case is the
|
|
462
|
+
* one the manifests or the facts files spell (one plan for it); a name none spells is 404. A
|
|
463
|
+
* corrections file another process holds past the wait answers 409 with `written: []`. A
|
|
464
|
+
* problem may carry `written` (the repos whose files were written, `{ repo, file }`); a 500
|
|
465
|
+
* names them, and most write none. GET /api/graph/edge-calls requires `edge` and one of
|
|
466
|
+
* `node` or `focus`, and takes the node view's `depth` and `all`, so an edge of a depth-2 or
|
|
467
|
+
* an all view is found. Repo trust's `secrets[].key` is empty when the key is a secret itself
|
|
468
|
+
* (an access key id), never shown. Additive only.
|
|
469
|
+
* Review of beta.24, round 3: POST /api/facts/{repo}/corrections takes the repo in another
|
|
470
|
+
* case as the batch does, and answers 409 with `written: []` while another process holds the
|
|
471
|
+
* corrections file. A repo the manifest spells in one case and only one facts file spells in
|
|
472
|
+
* another (on a file system that minds case) is the facts file's spelling, so its file is the
|
|
473
|
+
* one read and written; a repo name two facts files spell but for case is refused (422,
|
|
474
|
+
* `written: []`); a facts folder's `.rejected`, `.reviewed` and `.questions` files name no
|
|
475
|
+
* repo. GET /api/graph/edge-calls is as in round 2 (it names no call facts). Additive only.
|
|
476
|
+
* 3.11.0 (beta.25, a library's "depends on" arrows, ADR 0192 addendum): a `depends-on` join's
|
|
477
|
+
* `dependency` carries `facts`, every dependency fact the link rests on (its repo, id, cited
|
|
478
|
+
* line and every line it rests on, and the coordinates it names), `caller` listing all their
|
|
479
|
+
* lines and `callee` every publishing line: one link per pair of components, holding every
|
|
480
|
+
* coordinate one builds on of the other's. This link is wrong marks each one chosen, so the
|
|
481
|
+
* arrow can't come back from another line, in one POST /api/links/corrections (all or none,
|
|
482
|
+
* for dependency facts as for calls). GET /api/graph/edge-calls gives every join merged into a
|
|
483
|
+
* `depends-on` edge too, not only the 20 a view lists. The facts file stays at version 5 (a
|
|
484
|
+
* pom's `system` scope is recorded as `provided`). Additive only.
|
|
485
|
+
* 3.11.0 (beta.25, review of beta.24's answer boxes): GET /api/trust's `answerBoxes` are only what
|
|
486
|
+
* a person's own words made (answers whose words read as a sentence, and the system of a profile
|
|
487
|
+
* they made), never a system judged by the shape of its id, nor one an option, the picker or an
|
|
488
|
+
* outside system's answer made. POST /api/trust/answer-boxes/ignore and /rename answer a
|
|
489
|
+
* `stamp` (what the files the fix writes held), and take it back with the write: a file changed
|
|
490
|
+
* since the preview is refused (409, nothing written). The write is all or none as far as
|
|
491
|
+
* Atticus can make it (each file locked against its other locking writers, checked, written
|
|
492
|
+
* whole and renamed; a failure puts back only a file that still holds what the fix wrote, leaves
|
|
493
|
+
* one someone else changed, and answers 500 naming the files left written, Problem `written`).
|
|
494
|
+
* A rename to the box's own name, or to another box, is refused (400); a box whose system holds a
|
|
495
|
+
* YAML anchor other lines use, 422. An Ignore's `reason` is at most 300 characters from every
|
|
496
|
+
* caller. Additive only.
|
|
431
497
|
*/
|
|
432
|
-
export declare const API_VERSION = "3.
|
|
498
|
+
export declare const API_VERSION = "3.11.0";
|
|
433
499
|
export declare const DEFAULT_PORT = 4321;
|
|
434
500
|
/** RFC 9457 problem details, used for every error. */
|
|
435
501
|
/**
|
|
@@ -458,6 +524,10 @@ export declare const Problem: z.ZodObject<{
|
|
|
458
524
|
step: z.ZodLiteral<"sync">;
|
|
459
525
|
repos: z.ZodArray<z.ZodString>;
|
|
460
526
|
}, z.core.$strip>>;
|
|
527
|
+
written: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
528
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
529
|
+
file: z.ZodString;
|
|
530
|
+
}, z.core.$strip>>>;
|
|
461
531
|
}, z.core.$strip>;
|
|
462
532
|
export declare const CatalogRecord: z.ZodUnion<[z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, ...z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>[]]>;
|
|
463
533
|
export declare const RecordPage: z.ZodObject<{
|
|
@@ -695,7 +765,7 @@ export declare const HierNode: z.ZodObject<{
|
|
|
695
765
|
why: z.ZodString;
|
|
696
766
|
}, z.core.$strip>>;
|
|
697
767
|
}, z.core.$strip>;
|
|
698
|
-
export declare const HIER_EDGE_TYPES: readonly ["calls", "publishes", "subscribes", "uses", "reads", "writes", "references", "deployed-to"];
|
|
768
|
+
export declare const HIER_EDGE_TYPES: readonly ["calls", "publishes", "subscribes", "uses", "reads", "writes", "references", "deployed-to", "depends-on"];
|
|
699
769
|
/**
|
|
700
770
|
* 2.32.0 (ADR 0135, C1): how a link's call found its callee, from its Interface's flags and via:
|
|
701
771
|
* a person's `answer`, the component (`named`) or `repo` the call names, a `host` the manifest
|
|
@@ -708,7 +778,7 @@ export declare const HIER_EDGE_TYPES: readonly ["calls", "publishes", "subscribe
|
|
|
708
778
|
* 0181): or `ai`, a pairing the AI decided (never a person's word; inferred until one corrects or
|
|
709
779
|
* confirms it).
|
|
710
780
|
*/
|
|
711
|
-
export declare const LINK_HOWS: readonly ["person", "answer", "named", "repo", "host", "declared", "topic", "path", "label", "platform-setting", "folder-name", "conflict", "service-name", "shared", "ai", "unknown"];
|
|
781
|
+
export declare const LINK_HOWS: readonly ["person", "answer", "named", "repo", "host", "base-path", "declared", "topic", "path", "label", "platform-setting", "folder-name", "conflict", "service-name", "shared", "ai", "coordinates", "unknown"];
|
|
712
782
|
export declare const HierJoin: z.ZodObject<{
|
|
713
783
|
interface: z.ZodString;
|
|
714
784
|
from: z.ZodString;
|
|
@@ -726,13 +796,35 @@ export declare const HierJoin: z.ZodObject<{
|
|
|
726
796
|
shared: "shared";
|
|
727
797
|
topic: "topic";
|
|
728
798
|
named: "named";
|
|
799
|
+
"base-path": "base-path";
|
|
729
800
|
"platform-setting": "platform-setting";
|
|
730
801
|
"folder-name": "folder-name";
|
|
731
802
|
conflict: "conflict";
|
|
732
803
|
"service-name": "service-name";
|
|
804
|
+
coordinates: "coordinates";
|
|
733
805
|
}>;
|
|
734
806
|
gateway: z.ZodBoolean;
|
|
735
807
|
verified: z.ZodBoolean;
|
|
808
|
+
also: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
809
|
+
unknown: "unknown";
|
|
810
|
+
ai: "ai";
|
|
811
|
+
repo: "repo";
|
|
812
|
+
path: "path";
|
|
813
|
+
host: "host";
|
|
814
|
+
label: "label";
|
|
815
|
+
answer: "answer";
|
|
816
|
+
person: "person";
|
|
817
|
+
declared: "declared";
|
|
818
|
+
shared: "shared";
|
|
819
|
+
topic: "topic";
|
|
820
|
+
named: "named";
|
|
821
|
+
"base-path": "base-path";
|
|
822
|
+
"platform-setting": "platform-setting";
|
|
823
|
+
"folder-name": "folder-name";
|
|
824
|
+
conflict: "conflict";
|
|
825
|
+
"service-name": "service-name";
|
|
826
|
+
coordinates: "coordinates";
|
|
827
|
+
}>>>;
|
|
736
828
|
method: z.ZodOptional<z.ZodString>;
|
|
737
829
|
path: z.ZodOptional<z.ZodString>;
|
|
738
830
|
caller: z.ZodArray<z.ZodObject<{
|
|
@@ -762,6 +854,22 @@ export declare const HierJoin: z.ZodObject<{
|
|
|
762
854
|
commit: z.ZodOptional<z.ZodString>;
|
|
763
855
|
}, z.core.$strip>>;
|
|
764
856
|
run: z.ZodOptional<z.ZodString>;
|
|
857
|
+
dependency: z.ZodOptional<z.ZodObject<{
|
|
858
|
+
group: z.ZodString;
|
|
859
|
+
name: z.ZodString;
|
|
860
|
+
version: z.ZodOptional<z.ZodString>;
|
|
861
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
862
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
863
|
+
repo: z.ZodString;
|
|
864
|
+
fact: z.ZodString;
|
|
865
|
+
at: z.ZodString;
|
|
866
|
+
lines: z.ZodArray<z.ZodString>;
|
|
867
|
+
group: z.ZodOptional<z.ZodString>;
|
|
868
|
+
name: z.ZodOptional<z.ZodString>;
|
|
869
|
+
version: z.ZodOptional<z.ZodString>;
|
|
870
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
871
|
+
}, z.core.$strip>>>;
|
|
872
|
+
}, z.core.$strip>>;
|
|
765
873
|
}, z.core.$strip>;
|
|
766
874
|
/** Parallel edges between the same two nodes of the same type are one edge with a count. */
|
|
767
875
|
export declare const HierEdge: z.ZodObject<{
|
|
@@ -777,6 +885,7 @@ export declare const HierEdge: z.ZodObject<{
|
|
|
777
885
|
publishes: "publishes";
|
|
778
886
|
subscribes: "subscribes";
|
|
779
887
|
"deployed-to": "deployed-to";
|
|
888
|
+
"depends-on": "depends-on";
|
|
780
889
|
}>;
|
|
781
890
|
sync: z.ZodOptional<z.ZodEnum<{
|
|
782
891
|
sync: "sync";
|
|
@@ -814,13 +923,35 @@ export declare const HierEdge: z.ZodObject<{
|
|
|
814
923
|
shared: "shared";
|
|
815
924
|
topic: "topic";
|
|
816
925
|
named: "named";
|
|
926
|
+
"base-path": "base-path";
|
|
817
927
|
"platform-setting": "platform-setting";
|
|
818
928
|
"folder-name": "folder-name";
|
|
819
929
|
conflict: "conflict";
|
|
820
930
|
"service-name": "service-name";
|
|
931
|
+
coordinates: "coordinates";
|
|
821
932
|
}>;
|
|
822
933
|
gateway: z.ZodBoolean;
|
|
823
934
|
verified: z.ZodBoolean;
|
|
935
|
+
also: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
936
|
+
unknown: "unknown";
|
|
937
|
+
ai: "ai";
|
|
938
|
+
repo: "repo";
|
|
939
|
+
path: "path";
|
|
940
|
+
host: "host";
|
|
941
|
+
label: "label";
|
|
942
|
+
answer: "answer";
|
|
943
|
+
person: "person";
|
|
944
|
+
declared: "declared";
|
|
945
|
+
shared: "shared";
|
|
946
|
+
topic: "topic";
|
|
947
|
+
named: "named";
|
|
948
|
+
"base-path": "base-path";
|
|
949
|
+
"platform-setting": "platform-setting";
|
|
950
|
+
"folder-name": "folder-name";
|
|
951
|
+
conflict: "conflict";
|
|
952
|
+
"service-name": "service-name";
|
|
953
|
+
coordinates: "coordinates";
|
|
954
|
+
}>>>;
|
|
824
955
|
method: z.ZodOptional<z.ZodString>;
|
|
825
956
|
path: z.ZodOptional<z.ZodString>;
|
|
826
957
|
caller: z.ZodArray<z.ZodObject<{
|
|
@@ -850,6 +981,22 @@ export declare const HierEdge: z.ZodObject<{
|
|
|
850
981
|
commit: z.ZodOptional<z.ZodString>;
|
|
851
982
|
}, z.core.$strip>>;
|
|
852
983
|
run: z.ZodOptional<z.ZodString>;
|
|
984
|
+
dependency: z.ZodOptional<z.ZodObject<{
|
|
985
|
+
group: z.ZodString;
|
|
986
|
+
name: z.ZodString;
|
|
987
|
+
version: z.ZodOptional<z.ZodString>;
|
|
988
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
989
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
990
|
+
repo: z.ZodString;
|
|
991
|
+
fact: z.ZodString;
|
|
992
|
+
at: z.ZodString;
|
|
993
|
+
lines: z.ZodArray<z.ZodString>;
|
|
994
|
+
group: z.ZodOptional<z.ZodString>;
|
|
995
|
+
name: z.ZodOptional<z.ZodString>;
|
|
996
|
+
version: z.ZodOptional<z.ZodString>;
|
|
997
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
998
|
+
}, z.core.$strip>>>;
|
|
999
|
+
}, z.core.$strip>>;
|
|
853
1000
|
}, z.core.$strip>>>;
|
|
854
1001
|
}, z.core.$strip>;
|
|
855
1002
|
/** GET /api/graph/node/{id}: a node, its children (lazy), and its edges inside and out. */
|
|
@@ -1038,6 +1185,7 @@ export declare const GraphNodeView: z.ZodObject<{
|
|
|
1038
1185
|
publishes: "publishes";
|
|
1039
1186
|
subscribes: "subscribes";
|
|
1040
1187
|
"deployed-to": "deployed-to";
|
|
1188
|
+
"depends-on": "depends-on";
|
|
1041
1189
|
}>;
|
|
1042
1190
|
sync: z.ZodOptional<z.ZodEnum<{
|
|
1043
1191
|
sync: "sync";
|
|
@@ -1075,13 +1223,35 @@ export declare const GraphNodeView: z.ZodObject<{
|
|
|
1075
1223
|
shared: "shared";
|
|
1076
1224
|
topic: "topic";
|
|
1077
1225
|
named: "named";
|
|
1226
|
+
"base-path": "base-path";
|
|
1078
1227
|
"platform-setting": "platform-setting";
|
|
1079
1228
|
"folder-name": "folder-name";
|
|
1080
1229
|
conflict: "conflict";
|
|
1081
1230
|
"service-name": "service-name";
|
|
1231
|
+
coordinates: "coordinates";
|
|
1082
1232
|
}>;
|
|
1083
1233
|
gateway: z.ZodBoolean;
|
|
1084
1234
|
verified: z.ZodBoolean;
|
|
1235
|
+
also: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1236
|
+
unknown: "unknown";
|
|
1237
|
+
ai: "ai";
|
|
1238
|
+
repo: "repo";
|
|
1239
|
+
path: "path";
|
|
1240
|
+
host: "host";
|
|
1241
|
+
label: "label";
|
|
1242
|
+
answer: "answer";
|
|
1243
|
+
person: "person";
|
|
1244
|
+
declared: "declared";
|
|
1245
|
+
shared: "shared";
|
|
1246
|
+
topic: "topic";
|
|
1247
|
+
named: "named";
|
|
1248
|
+
"base-path": "base-path";
|
|
1249
|
+
"platform-setting": "platform-setting";
|
|
1250
|
+
"folder-name": "folder-name";
|
|
1251
|
+
conflict: "conflict";
|
|
1252
|
+
"service-name": "service-name";
|
|
1253
|
+
coordinates: "coordinates";
|
|
1254
|
+
}>>>;
|
|
1085
1255
|
method: z.ZodOptional<z.ZodString>;
|
|
1086
1256
|
path: z.ZodOptional<z.ZodString>;
|
|
1087
1257
|
caller: z.ZodArray<z.ZodObject<{
|
|
@@ -1111,6 +1281,22 @@ export declare const GraphNodeView: z.ZodObject<{
|
|
|
1111
1281
|
commit: z.ZodOptional<z.ZodString>;
|
|
1112
1282
|
}, z.core.$strip>>;
|
|
1113
1283
|
run: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
dependency: z.ZodOptional<z.ZodObject<{
|
|
1285
|
+
group: z.ZodString;
|
|
1286
|
+
name: z.ZodString;
|
|
1287
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1290
|
+
repo: z.ZodString;
|
|
1291
|
+
fact: z.ZodString;
|
|
1292
|
+
at: z.ZodString;
|
|
1293
|
+
lines: z.ZodArray<z.ZodString>;
|
|
1294
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
}, z.core.$strip>>>;
|
|
1299
|
+
}, z.core.$strip>>;
|
|
1114
1300
|
}, z.core.$strip>>>;
|
|
1115
1301
|
}, z.core.$strip>>;
|
|
1116
1302
|
reduced: z.ZodBoolean;
|
|
@@ -1268,6 +1454,7 @@ export declare const GraphFocusView: z.ZodObject<{
|
|
|
1268
1454
|
publishes: "publishes";
|
|
1269
1455
|
subscribes: "subscribes";
|
|
1270
1456
|
"deployed-to": "deployed-to";
|
|
1457
|
+
"depends-on": "depends-on";
|
|
1271
1458
|
}>;
|
|
1272
1459
|
sync: z.ZodOptional<z.ZodEnum<{
|
|
1273
1460
|
sync: "sync";
|
|
@@ -1305,13 +1492,35 @@ export declare const GraphFocusView: z.ZodObject<{
|
|
|
1305
1492
|
shared: "shared";
|
|
1306
1493
|
topic: "topic";
|
|
1307
1494
|
named: "named";
|
|
1495
|
+
"base-path": "base-path";
|
|
1308
1496
|
"platform-setting": "platform-setting";
|
|
1309
1497
|
"folder-name": "folder-name";
|
|
1310
1498
|
conflict: "conflict";
|
|
1311
1499
|
"service-name": "service-name";
|
|
1500
|
+
coordinates: "coordinates";
|
|
1312
1501
|
}>;
|
|
1313
1502
|
gateway: z.ZodBoolean;
|
|
1314
1503
|
verified: z.ZodBoolean;
|
|
1504
|
+
also: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1505
|
+
unknown: "unknown";
|
|
1506
|
+
ai: "ai";
|
|
1507
|
+
repo: "repo";
|
|
1508
|
+
path: "path";
|
|
1509
|
+
host: "host";
|
|
1510
|
+
label: "label";
|
|
1511
|
+
answer: "answer";
|
|
1512
|
+
person: "person";
|
|
1513
|
+
declared: "declared";
|
|
1514
|
+
shared: "shared";
|
|
1515
|
+
topic: "topic";
|
|
1516
|
+
named: "named";
|
|
1517
|
+
"base-path": "base-path";
|
|
1518
|
+
"platform-setting": "platform-setting";
|
|
1519
|
+
"folder-name": "folder-name";
|
|
1520
|
+
conflict: "conflict";
|
|
1521
|
+
"service-name": "service-name";
|
|
1522
|
+
coordinates: "coordinates";
|
|
1523
|
+
}>>>;
|
|
1315
1524
|
method: z.ZodOptional<z.ZodString>;
|
|
1316
1525
|
path: z.ZodOptional<z.ZodString>;
|
|
1317
1526
|
caller: z.ZodArray<z.ZodObject<{
|
|
@@ -1341,9 +1550,125 @@ export declare const GraphFocusView: z.ZodObject<{
|
|
|
1341
1550
|
commit: z.ZodOptional<z.ZodString>;
|
|
1342
1551
|
}, z.core.$strip>>;
|
|
1343
1552
|
run: z.ZodOptional<z.ZodString>;
|
|
1553
|
+
dependency: z.ZodOptional<z.ZodObject<{
|
|
1554
|
+
group: z.ZodString;
|
|
1555
|
+
name: z.ZodString;
|
|
1556
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1559
|
+
repo: z.ZodString;
|
|
1560
|
+
fact: z.ZodString;
|
|
1561
|
+
at: z.ZodString;
|
|
1562
|
+
lines: z.ZodArray<z.ZodString>;
|
|
1563
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
}, z.core.$strip>>>;
|
|
1568
|
+
}, z.core.$strip>>;
|
|
1344
1569
|
}, z.core.$strip>>>;
|
|
1345
1570
|
}, z.core.$strip>>;
|
|
1346
1571
|
}, z.core.$strip>;
|
|
1572
|
+
/**
|
|
1573
|
+
* 3.10.0 (review of beta.24): GET /api/graph/edge-calls: every call merged into one edge of a
|
|
1574
|
+
* view, not only the first 20 the view lists, so "All calls on this arrow are wrong" means all.
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const GraphEdgeCallsView: z.ZodObject<{
|
|
1577
|
+
edge: z.ZodString;
|
|
1578
|
+
count: z.ZodNumber;
|
|
1579
|
+
joins: z.ZodArray<z.ZodObject<{
|
|
1580
|
+
interface: z.ZodString;
|
|
1581
|
+
from: z.ZodString;
|
|
1582
|
+
to: z.ZodString;
|
|
1583
|
+
how: z.ZodEnum<{
|
|
1584
|
+
unknown: "unknown";
|
|
1585
|
+
ai: "ai";
|
|
1586
|
+
repo: "repo";
|
|
1587
|
+
path: "path";
|
|
1588
|
+
host: "host";
|
|
1589
|
+
label: "label";
|
|
1590
|
+
answer: "answer";
|
|
1591
|
+
person: "person";
|
|
1592
|
+
declared: "declared";
|
|
1593
|
+
shared: "shared";
|
|
1594
|
+
topic: "topic";
|
|
1595
|
+
named: "named";
|
|
1596
|
+
"base-path": "base-path";
|
|
1597
|
+
"platform-setting": "platform-setting";
|
|
1598
|
+
"folder-name": "folder-name";
|
|
1599
|
+
conflict: "conflict";
|
|
1600
|
+
"service-name": "service-name";
|
|
1601
|
+
coordinates: "coordinates";
|
|
1602
|
+
}>;
|
|
1603
|
+
gateway: z.ZodBoolean;
|
|
1604
|
+
verified: z.ZodBoolean;
|
|
1605
|
+
also: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1606
|
+
unknown: "unknown";
|
|
1607
|
+
ai: "ai";
|
|
1608
|
+
repo: "repo";
|
|
1609
|
+
path: "path";
|
|
1610
|
+
host: "host";
|
|
1611
|
+
label: "label";
|
|
1612
|
+
answer: "answer";
|
|
1613
|
+
person: "person";
|
|
1614
|
+
declared: "declared";
|
|
1615
|
+
shared: "shared";
|
|
1616
|
+
topic: "topic";
|
|
1617
|
+
named: "named";
|
|
1618
|
+
"base-path": "base-path";
|
|
1619
|
+
"platform-setting": "platform-setting";
|
|
1620
|
+
"folder-name": "folder-name";
|
|
1621
|
+
conflict: "conflict";
|
|
1622
|
+
"service-name": "service-name";
|
|
1623
|
+
coordinates: "coordinates";
|
|
1624
|
+
}>>>;
|
|
1625
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
caller: z.ZodArray<z.ZodObject<{
|
|
1628
|
+
source: z.ZodString;
|
|
1629
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1630
|
+
at: z.ZodString;
|
|
1631
|
+
}, z.core.$strip>>;
|
|
1632
|
+
callee: z.ZodArray<z.ZodObject<{
|
|
1633
|
+
source: z.ZodString;
|
|
1634
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
at: z.ZodString;
|
|
1636
|
+
}, z.core.$strip>>;
|
|
1637
|
+
hops: z.ZodArray<z.ZodObject<{
|
|
1638
|
+
source: z.ZodString;
|
|
1639
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1640
|
+
at: z.ZodString;
|
|
1641
|
+
}, z.core.$strip>>;
|
|
1642
|
+
other: z.ZodArray<z.ZodObject<{
|
|
1643
|
+
source: z.ZodString;
|
|
1644
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
at: z.ZodString;
|
|
1646
|
+
}, z.core.$strip>>;
|
|
1647
|
+
shared: z.ZodOptional<z.ZodObject<{
|
|
1648
|
+
team: z.ZodString;
|
|
1649
|
+
repo: z.ZodString;
|
|
1650
|
+
at: z.ZodString;
|
|
1651
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
}, z.core.$strip>>;
|
|
1653
|
+
run: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
dependency: z.ZodOptional<z.ZodObject<{
|
|
1655
|
+
group: z.ZodString;
|
|
1656
|
+
name: z.ZodString;
|
|
1657
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1660
|
+
repo: z.ZodString;
|
|
1661
|
+
fact: z.ZodString;
|
|
1662
|
+
at: z.ZodString;
|
|
1663
|
+
lines: z.ZodArray<z.ZodString>;
|
|
1664
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
}, z.core.$strip>>>;
|
|
1669
|
+
}, z.core.$strip>>;
|
|
1670
|
+
}, z.core.$strip>>;
|
|
1671
|
+
}, z.core.$strip>;
|
|
1347
1672
|
export declare const LayoutPosition: z.ZodObject<{
|
|
1348
1673
|
x: z.ZodNumber;
|
|
1349
1674
|
y: z.ZodNumber;
|
|
@@ -1380,6 +1705,7 @@ export type HierJoinT = z.infer<typeof HierJoin>;
|
|
|
1380
1705
|
export type HierEvidenceT = z.infer<typeof HierEvidence>;
|
|
1381
1706
|
export type GraphNodeViewT = z.infer<typeof GraphNodeView>;
|
|
1382
1707
|
export type GraphFocusViewT = z.infer<typeof GraphFocusView>;
|
|
1708
|
+
export type GraphEdgeCallsViewT = z.infer<typeof GraphEdgeCallsView>;
|
|
1383
1709
|
export declare const Impact: z.ZodObject<{
|
|
1384
1710
|
root: z.ZodString;
|
|
1385
1711
|
affected: z.ZodArray<z.ZodObject<{
|
|
@@ -2827,6 +3153,11 @@ export declare const TrustRepo: z.ZodObject<{
|
|
|
2827
3153
|
}, z.core.$strip>;
|
|
2828
3154
|
unknownFiles: z.ZodArray<z.ZodString>;
|
|
2829
3155
|
commit: z.ZodOptional<z.ZodString>;
|
|
3156
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3157
|
+
file: z.ZodString;
|
|
3158
|
+
line: z.ZodNumber;
|
|
3159
|
+
key: z.ZodString;
|
|
3160
|
+
}, z.core.$strip>>>;
|
|
2830
3161
|
}, z.core.$strip>>;
|
|
2831
3162
|
}, z.core.$strip>;
|
|
2832
3163
|
checkout: z.ZodObject<{
|
|
@@ -2956,6 +3287,23 @@ export declare const ContractCounts: z.ZodObject<{
|
|
|
2956
3287
|
unconfirmed: z.ZodNumber;
|
|
2957
3288
|
unlinked: z.ZodOptional<z.ZodNumber>;
|
|
2958
3289
|
}, z.core.$strip>;
|
|
3290
|
+
/**
|
|
3291
|
+
* 3.10.0 (beta.24 review): a box on the map made from an answer's words, not a system's name: the
|
|
3292
|
+
* answers to questions about where calls go whose words read as a sentence, and the system of a
|
|
3293
|
+
* profile those words made, if any. 3.11.0 (beta.25): never judged by the shape of an id; a system
|
|
3294
|
+
* an option, the picker or an outside system's answer made (with a host alias) is never one.
|
|
3295
|
+
*/
|
|
3296
|
+
export declare const AnswerBox: z.ZodObject<{
|
|
3297
|
+
id: z.ZodString;
|
|
3298
|
+
name: z.ZodString;
|
|
3299
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
3301
|
+
id: z.ZodString;
|
|
3302
|
+
repo: z.ZodString;
|
|
3303
|
+
question: z.ZodString;
|
|
3304
|
+
}, z.core.$strip>>;
|
|
3305
|
+
}, z.core.$strip>;
|
|
3306
|
+
export type AnswerBoxT = z.infer<typeof AnswerBox>;
|
|
2959
3307
|
export declare const TrustView: z.ZodObject<{
|
|
2960
3308
|
factsDir: z.ZodString;
|
|
2961
3309
|
repos: z.ZodArray<z.ZodObject<{
|
|
@@ -2981,6 +3329,11 @@ export declare const TrustView: z.ZodObject<{
|
|
|
2981
3329
|
}, z.core.$strip>;
|
|
2982
3330
|
unknownFiles: z.ZodArray<z.ZodString>;
|
|
2983
3331
|
commit: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3333
|
+
file: z.ZodString;
|
|
3334
|
+
line: z.ZodNumber;
|
|
3335
|
+
key: z.ZodString;
|
|
3336
|
+
}, z.core.$strip>>>;
|
|
2984
3337
|
}, z.core.$strip>>;
|
|
2985
3338
|
}, z.core.$strip>;
|
|
2986
3339
|
checkout: z.ZodObject<{
|
|
@@ -3102,6 +3455,16 @@ export declare const TrustView: z.ZodObject<{
|
|
|
3102
3455
|
}, z.core.$strip>>;
|
|
3103
3456
|
}, z.core.$strip>>;
|
|
3104
3457
|
}, z.core.$strip>>;
|
|
3458
|
+
answerBoxes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3459
|
+
id: z.ZodString;
|
|
3460
|
+
name: z.ZodString;
|
|
3461
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
3463
|
+
id: z.ZodString;
|
|
3464
|
+
repo: z.ZodString;
|
|
3465
|
+
question: z.ZodString;
|
|
3466
|
+
}, z.core.$strip>>;
|
|
3467
|
+
}, z.core.$strip>>>;
|
|
3105
3468
|
contracts: z.ZodOptional<z.ZodObject<{
|
|
3106
3469
|
links: z.ZodNumber;
|
|
3107
3470
|
compared: z.ZodNumber;
|
|
@@ -3115,6 +3478,39 @@ export declare const TrustView: z.ZodObject<{
|
|
|
3115
3478
|
}, z.core.$strip>>;
|
|
3116
3479
|
}, z.core.$strip>;
|
|
3117
3480
|
export type TrustViewT = z.infer<typeof TrustView>;
|
|
3481
|
+
/**
|
|
3482
|
+
* 3.10.0 (beta.24 review): POST /api/trust/answer-boxes/ignore and /rename: put right a box an
|
|
3483
|
+
* answer's words made. Ignore turns each answer that names it into Ignore and takes the system out
|
|
3484
|
+
* of its profile; rename names it (a repo or system Atticus knows, or a new outside system's short
|
|
3485
|
+
* name) and points the answers at it. `preview` writes nothing. Local writes in the metarepo, for
|
|
3486
|
+
* review in the pull request (Propose for review), as the setup forms' are.
|
|
3487
|
+
*/
|
|
3488
|
+
export declare const AnswerBoxRequest: z.ZodObject<{
|
|
3489
|
+
id: z.ZodString;
|
|
3490
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3491
|
+
preview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3492
|
+
stamp: z.ZodOptional<z.ZodString>;
|
|
3493
|
+
}, z.core.$strict>;
|
|
3494
|
+
export declare const AnswerBoxResult: z.ZodObject<{
|
|
3495
|
+
id: z.ZodString;
|
|
3496
|
+
written: z.ZodBoolean;
|
|
3497
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
3498
|
+
id: z.ZodString;
|
|
3499
|
+
repo: z.ZodString;
|
|
3500
|
+
was: z.ZodString;
|
|
3501
|
+
now: z.ZodString;
|
|
3502
|
+
}, z.core.$strip>>;
|
|
3503
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
3504
|
+
path: z.ZodString;
|
|
3505
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3506
|
+
was: z.ZodOptional<z.ZodString>;
|
|
3507
|
+
now: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
}, z.core.$strip>>;
|
|
3509
|
+
}, z.core.$strip>>;
|
|
3510
|
+
repos: z.ZodArray<z.ZodString>;
|
|
3511
|
+
stamp: z.ZodOptional<z.ZodString>;
|
|
3512
|
+
}, z.core.$strip>;
|
|
3513
|
+
export type AnswerBoxResultT = z.infer<typeof AnswerBoxResult>;
|
|
3118
3514
|
/**
|
|
3119
3515
|
* 2.34.0 (ADR 0141, plan item P5): which repos' clones have moved past their facts' commit, and
|
|
3120
3516
|
* what reading each again costs, for every repo at once (the per-repo re-read plan of ADR 0124
|
|
@@ -3538,6 +3934,7 @@ export declare const FactCiteView: z.ZodObject<{
|
|
|
3538
3934
|
config: "config";
|
|
3539
3935
|
component: "component";
|
|
3540
3936
|
field: "field";
|
|
3937
|
+
dependency: "dependency";
|
|
3541
3938
|
term: "term";
|
|
3542
3939
|
framework: "framework";
|
|
3543
3940
|
entry: "entry";
|
|
@@ -3545,6 +3942,7 @@ export declare const FactCiteView: z.ZodObject<{
|
|
|
3545
3942
|
call: "call";
|
|
3546
3943
|
deploy: "deploy";
|
|
3547
3944
|
flow: "flow";
|
|
3945
|
+
artifact: "artifact";
|
|
3548
3946
|
}>;
|
|
3549
3947
|
file: z.ZodString;
|
|
3550
3948
|
line: z.ZodNumber;
|
|
@@ -3630,6 +4028,7 @@ export declare const RepoFactsView: z.ZodObject<{
|
|
|
3630
4028
|
config: "config";
|
|
3631
4029
|
component: "component";
|
|
3632
4030
|
field: "field";
|
|
4031
|
+
dependency: "dependency";
|
|
3633
4032
|
term: "term";
|
|
3634
4033
|
framework: "framework";
|
|
3635
4034
|
entry: "entry";
|
|
@@ -3637,6 +4036,7 @@ export declare const RepoFactsView: z.ZodObject<{
|
|
|
3637
4036
|
call: "call";
|
|
3638
4037
|
deploy: "deploy";
|
|
3639
4038
|
flow: "flow";
|
|
4039
|
+
artifact: "artifact";
|
|
3640
4040
|
}>;
|
|
3641
4041
|
file: z.ZodString;
|
|
3642
4042
|
line: z.ZodNumber;
|
|
@@ -3716,6 +4116,7 @@ export declare const FactCorrectionResult: z.ZodObject<{
|
|
|
3716
4116
|
config: "config";
|
|
3717
4117
|
component: "component";
|
|
3718
4118
|
field: "field";
|
|
4119
|
+
dependency: "dependency";
|
|
3719
4120
|
term: "term";
|
|
3720
4121
|
framework: "framework";
|
|
3721
4122
|
entry: "entry";
|
|
@@ -3723,6 +4124,7 @@ export declare const FactCorrectionResult: z.ZodObject<{
|
|
|
3723
4124
|
call: "call";
|
|
3724
4125
|
deploy: "deploy";
|
|
3725
4126
|
flow: "flow";
|
|
4127
|
+
artifact: "artifact";
|
|
3726
4128
|
}>;
|
|
3727
4129
|
file: z.ZodString;
|
|
3728
4130
|
line: z.ZodNumber;
|
|
@@ -3770,6 +4172,99 @@ export declare const FactCorrectionResult: z.ZodObject<{
|
|
|
3770
4172
|
verify: z.ZodString;
|
|
3771
4173
|
line: z.ZodOptional<z.ZodString>;
|
|
3772
4174
|
}, z.core.$strip>;
|
|
4175
|
+
/**
|
|
4176
|
+
* 3.10.0 (beta.24): one correction of every call on an arrow between two boxes ("This whole arrow
|
|
4177
|
+
* is wrong"): each call's fact in its caller's repo, the same action for all, and the person's
|
|
4178
|
+
* why for every one (an item's own `reason` first). Every item is checked before any is written;
|
|
4179
|
+
* then each repo's corrections file takes its lines in one write.
|
|
4180
|
+
*/
|
|
4181
|
+
/** 3.11.0: the most calls one POST /api/links/corrections corrects (was 200). */
|
|
4182
|
+
export declare const LINK_CORRECTIONS_MAX = 5000;
|
|
4183
|
+
export declare const LinkCorrectionsRequest: z.ZodObject<{
|
|
4184
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4185
|
+
repo: z.ZodString;
|
|
4186
|
+
fact: z.ZodString;
|
|
4187
|
+
action: z.ZodEnum<{
|
|
4188
|
+
wrong: "wrong";
|
|
4189
|
+
edit: "edit";
|
|
4190
|
+
}>;
|
|
4191
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4192
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
}, z.core.$strict>>;
|
|
4194
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
}, z.core.$strict>;
|
|
4196
|
+
export declare const LinkCorrectionsResult: z.ZodObject<{
|
|
4197
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4198
|
+
repo: z.ZodString;
|
|
4199
|
+
file: z.ZodString;
|
|
4200
|
+
lines: z.ZodArray<z.ZodString>;
|
|
4201
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
4202
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4203
|
+
fact: z.ZodString;
|
|
4204
|
+
target: z.ZodObject<{
|
|
4205
|
+
kind: z.ZodEnum<{
|
|
4206
|
+
config: "config";
|
|
4207
|
+
component: "component";
|
|
4208
|
+
field: "field";
|
|
4209
|
+
dependency: "dependency";
|
|
4210
|
+
term: "term";
|
|
4211
|
+
framework: "framework";
|
|
4212
|
+
entry: "entry";
|
|
4213
|
+
store: "store";
|
|
4214
|
+
call: "call";
|
|
4215
|
+
deploy: "deploy";
|
|
4216
|
+
flow: "flow";
|
|
4217
|
+
artifact: "artifact";
|
|
4218
|
+
}>;
|
|
4219
|
+
file: z.ZodString;
|
|
4220
|
+
line: z.ZodNumber;
|
|
4221
|
+
value: z.ZodString;
|
|
4222
|
+
}, z.core.$strict>;
|
|
4223
|
+
action: z.ZodEnum<{
|
|
4224
|
+
link: "link";
|
|
4225
|
+
wrong: "wrong";
|
|
4226
|
+
edit: "edit";
|
|
4227
|
+
unlink: "unlink";
|
|
4228
|
+
}>;
|
|
4229
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
4230
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
system: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
4233
|
+
method: z.ZodOptional<z.ZodString>;
|
|
4234
|
+
path: z.ZodString;
|
|
4235
|
+
}, z.core.$strict>>;
|
|
4236
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4237
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4238
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4239
|
+
by: z.ZodString;
|
|
4240
|
+
at: z.ZodISODateTime;
|
|
4241
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
4242
|
+
runtime: z.ZodEnum<{
|
|
4243
|
+
"hand-off": "hand-off";
|
|
4244
|
+
"copilot-acp": "copilot-acp";
|
|
4245
|
+
}>;
|
|
4246
|
+
run: z.ZodString;
|
|
4247
|
+
bar: z.ZodOptional<z.ZodEnum<{
|
|
4248
|
+
confident: "confident";
|
|
4249
|
+
"agrees-with-shapes": "agrees-with-shapes";
|
|
4250
|
+
"person-rule": "person-rule";
|
|
4251
|
+
}>>;
|
|
4252
|
+
}, z.core.$strict>>;
|
|
4253
|
+
batch: z.ZodOptional<z.ZodString>;
|
|
4254
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
4255
|
+
from: z.ZodString;
|
|
4256
|
+
match: z.ZodString;
|
|
4257
|
+
}, z.core.$strict>>;
|
|
4258
|
+
match: z.ZodOptional<z.ZodString>;
|
|
4259
|
+
}, z.core.$strict>>;
|
|
4260
|
+
}, z.core.$strip>>;
|
|
4261
|
+
commit: z.ZodString;
|
|
4262
|
+
verify: z.ZodArray<z.ZodString>;
|
|
4263
|
+
skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4264
|
+
repo: z.ZodString;
|
|
4265
|
+
fact: z.ZodString;
|
|
4266
|
+
}, z.core.$strip>>>;
|
|
4267
|
+
}, z.core.$strip>;
|
|
3773
4268
|
/**
|
|
3774
4269
|
* 2.42.0 (ADR 0149, C4): after a correction the app writes, the commands a person runs (the app
|
|
3775
4270
|
* runs none) and what the next `atticus verify <repo> --write` will change, computed in-process
|
|
@@ -4759,6 +5254,9 @@ export type OutsideViewT = z.infer<typeof OutsideView>;
|
|
|
4759
5254
|
export type FactCiteViewT = z.infer<typeof FactCiteView>;
|
|
4760
5255
|
export type RepoFactsViewT = z.infer<typeof RepoFactsView>;
|
|
4761
5256
|
export type FactCorrectionResultT = z.infer<typeof FactCorrectionResult>;
|
|
5257
|
+
export type FactCorrectionRequestT = z.infer<typeof FactCorrectionRequest>;
|
|
5258
|
+
export type LinkCorrectionsRequestT = z.infer<typeof LinkCorrectionsRequest>;
|
|
5259
|
+
export type LinkCorrectionsResultT = z.infer<typeof LinkCorrectionsResult>;
|
|
4762
5260
|
/**
|
|
4763
5261
|
* 2.23.0 (ADR 0124 addendum D-app, B10): a stage tab's critic findings (the latest round of the
|
|
4764
5262
|
* stage's gate, `review/<gate>/<round>/`), each with the options it allows and the comments a
|
|
@@ -4843,8 +5341,8 @@ export declare const StageFindingView: z.ZodObject<{
|
|
|
4843
5341
|
export: "export";
|
|
4844
5342
|
manual: "manual";
|
|
4845
5343
|
}>, z.ZodEnum<{
|
|
4846
|
-
catalog: "catalog";
|
|
4847
5344
|
artifact: "artifact";
|
|
5345
|
+
catalog: "catalog";
|
|
4848
5346
|
rule: "rule";
|
|
4849
5347
|
}>]>;
|
|
4850
5348
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -4991,8 +5489,8 @@ export declare const StageReviewView: z.ZodObject<{
|
|
|
4991
5489
|
export: "export";
|
|
4992
5490
|
manual: "manual";
|
|
4993
5491
|
}>, z.ZodEnum<{
|
|
4994
|
-
catalog: "catalog";
|
|
4995
5492
|
artifact: "artifact";
|
|
5493
|
+
catalog: "catalog";
|
|
4996
5494
|
rule: "rule";
|
|
4997
5495
|
}>]>;
|
|
4998
5496
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -5425,8 +5923,8 @@ export declare const ThreadItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5425
5923
|
export: "export";
|
|
5426
5924
|
manual: "manual";
|
|
5427
5925
|
}>, z.ZodEnum<{
|
|
5428
|
-
catalog: "catalog";
|
|
5429
5926
|
artifact: "artifact";
|
|
5927
|
+
catalog: "catalog";
|
|
5430
5928
|
rule: "rule";
|
|
5431
5929
|
}>]>;
|
|
5432
5930
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -5830,8 +6328,8 @@ export declare const StageThreadView: z.ZodObject<{
|
|
|
5830
6328
|
export: "export";
|
|
5831
6329
|
manual: "manual";
|
|
5832
6330
|
}>, z.ZodEnum<{
|
|
5833
|
-
catalog: "catalog";
|
|
5834
6331
|
artifact: "artifact";
|
|
6332
|
+
catalog: "catalog";
|
|
5835
6333
|
rule: "rule";
|
|
5836
6334
|
}>]>;
|
|
5837
6335
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -6263,8 +6761,8 @@ export declare const StageThreadPostResult: z.ZodObject<{
|
|
|
6263
6761
|
export: "export";
|
|
6264
6762
|
manual: "manual";
|
|
6265
6763
|
}>, z.ZodEnum<{
|
|
6266
|
-
catalog: "catalog";
|
|
6267
6764
|
artifact: "artifact";
|
|
6765
|
+
catalog: "catalog";
|
|
6268
6766
|
rule: "rule";
|
|
6269
6767
|
}>]>;
|
|
6270
6768
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -7171,8 +7669,8 @@ export declare const TargetFlowList: z.ZodObject<{
|
|
|
7171
7669
|
}, z.core.$strip>;
|
|
7172
7670
|
export declare const MergedStep: z.ZodObject<{
|
|
7173
7671
|
mark: z.ZodEnum<{
|
|
7174
|
-
added: "added";
|
|
7175
7672
|
same: "same";
|
|
7673
|
+
added: "added";
|
|
7176
7674
|
changed: "changed";
|
|
7177
7675
|
removed: "removed";
|
|
7178
7676
|
}>;
|
|
@@ -7337,8 +7835,8 @@ export declare const TargetFlowView: z.ZodObject<{
|
|
|
7337
7835
|
}, z.core.$strict>>;
|
|
7338
7836
|
steps: z.ZodArray<z.ZodObject<{
|
|
7339
7837
|
mark: z.ZodEnum<{
|
|
7340
|
-
added: "added";
|
|
7341
7838
|
same: "same";
|
|
7839
|
+
added: "added";
|
|
7342
7840
|
changed: "changed";
|
|
7343
7841
|
removed: "removed";
|
|
7344
7842
|
}>;
|
|
@@ -7450,8 +7948,8 @@ export declare const ChangeMap: z.ZodObject<{
|
|
|
7450
7948
|
system: "system";
|
|
7451
7949
|
component: "component";
|
|
7452
7950
|
table: "table";
|
|
7453
|
-
topic: "topic";
|
|
7454
7951
|
box: "box";
|
|
7952
|
+
topic: "topic";
|
|
7455
7953
|
}>;
|
|
7456
7954
|
boundary: z.ZodOptional<z.ZodEnum<{
|
|
7457
7955
|
product: "product";
|
|
@@ -8054,8 +8552,8 @@ export declare const ProposeScope: z.ZodEnum<{
|
|
|
8054
8552
|
"org-pack": "org-pack";
|
|
8055
8553
|
work: "work";
|
|
8056
8554
|
audit: "audit";
|
|
8057
|
-
corrections: "corrections";
|
|
8058
8555
|
answers: "answers";
|
|
8556
|
+
corrections: "corrections";
|
|
8059
8557
|
"owner-answers": "owner-answers";
|
|
8060
8558
|
baseline: "baseline";
|
|
8061
8559
|
initiatives: "initiatives";
|
|
@@ -8067,8 +8565,8 @@ export declare const ProposePlanView: z.ZodObject<{
|
|
|
8067
8565
|
"org-pack": "org-pack";
|
|
8068
8566
|
work: "work";
|
|
8069
8567
|
audit: "audit";
|
|
8070
|
-
corrections: "corrections";
|
|
8071
8568
|
answers: "answers";
|
|
8569
|
+
corrections: "corrections";
|
|
8072
8570
|
"owner-answers": "owner-answers";
|
|
8073
8571
|
baseline: "baseline";
|
|
8074
8572
|
initiatives: "initiatives";
|
|
@@ -8155,8 +8653,8 @@ export declare const ProposeRequest: z.ZodObject<{
|
|
|
8155
8653
|
"org-pack": "org-pack";
|
|
8156
8654
|
work: "work";
|
|
8157
8655
|
audit: "audit";
|
|
8158
|
-
corrections: "corrections";
|
|
8159
8656
|
answers: "answers";
|
|
8657
|
+
corrections: "corrections";
|
|
8160
8658
|
"owner-answers": "owner-answers";
|
|
8161
8659
|
baseline: "baseline";
|
|
8162
8660
|
initiatives: "initiatives";
|
|
@@ -9703,6 +10201,8 @@ export declare const AnswerQuestionRequest: z.ZodObject<{
|
|
|
9703
10201
|
vendor: "vendor";
|
|
9704
10202
|
}>>;
|
|
9705
10203
|
name: z.ZodOptional<z.ZodString>;
|
|
10204
|
+
ignore: z.ZodOptional<z.ZodLiteral<true>>;
|
|
10205
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
9706
10206
|
}, z.core.$strict>;
|
|
9707
10207
|
/** ADR 0078: the answered question, the command to run next and, for a repo type, its skill file. */
|
|
9708
10208
|
export declare const AnsweredQuestion: z.ZodObject<{
|
|
@@ -11067,9 +11567,9 @@ export declare const CandidateSuggestion: z.ZodObject<{
|
|
|
11067
11567
|
api: z.ZodString;
|
|
11068
11568
|
score: z.ZodNumber;
|
|
11069
11569
|
why: z.ZodEnum<{
|
|
11070
|
-
"same-path": "same-path";
|
|
11071
11570
|
prefix: "prefix";
|
|
11072
11571
|
parameter: "parameter";
|
|
11572
|
+
"same-path": "same-path";
|
|
11073
11573
|
"names-alike": "names-alike";
|
|
11074
11574
|
setting: "setting";
|
|
11075
11575
|
"operation-words": "operation-words";
|
|
@@ -11096,9 +11596,9 @@ export declare const CandidateCallView: z.ZodObject<{
|
|
|
11096
11596
|
api: z.ZodString;
|
|
11097
11597
|
score: z.ZodNumber;
|
|
11098
11598
|
why: z.ZodEnum<{
|
|
11099
|
-
"same-path": "same-path";
|
|
11100
11599
|
prefix: "prefix";
|
|
11101
11600
|
parameter: "parameter";
|
|
11601
|
+
"same-path": "same-path";
|
|
11102
11602
|
"names-alike": "names-alike";
|
|
11103
11603
|
setting: "setting";
|
|
11104
11604
|
"operation-words": "operation-words";
|
|
@@ -11109,9 +11609,9 @@ export declare const CandidateCallView: z.ZodObject<{
|
|
|
11109
11609
|
api: z.ZodString;
|
|
11110
11610
|
score: z.ZodNumber;
|
|
11111
11611
|
why: z.ZodEnum<{
|
|
11112
|
-
"same-path": "same-path";
|
|
11113
11612
|
prefix: "prefix";
|
|
11114
11613
|
parameter: "parameter";
|
|
11614
|
+
"same-path": "same-path";
|
|
11115
11615
|
"names-alike": "names-alike";
|
|
11116
11616
|
setting: "setting";
|
|
11117
11617
|
"operation-words": "operation-words";
|
|
@@ -11160,9 +11660,9 @@ export declare const LinkCandidatesView: z.ZodObject<{
|
|
|
11160
11660
|
api: z.ZodString;
|
|
11161
11661
|
score: z.ZodNumber;
|
|
11162
11662
|
why: z.ZodEnum<{
|
|
11163
|
-
"same-path": "same-path";
|
|
11164
11663
|
prefix: "prefix";
|
|
11165
11664
|
parameter: "parameter";
|
|
11665
|
+
"same-path": "same-path";
|
|
11166
11666
|
"names-alike": "names-alike";
|
|
11167
11667
|
setting: "setting";
|
|
11168
11668
|
"operation-words": "operation-words";
|
|
@@ -11173,9 +11673,9 @@ export declare const LinkCandidatesView: z.ZodObject<{
|
|
|
11173
11673
|
api: z.ZodString;
|
|
11174
11674
|
score: z.ZodNumber;
|
|
11175
11675
|
why: z.ZodEnum<{
|
|
11176
|
-
"same-path": "same-path";
|
|
11177
11676
|
prefix: "prefix";
|
|
11178
11677
|
parameter: "parameter";
|
|
11678
|
+
"same-path": "same-path";
|
|
11179
11679
|
"names-alike": "names-alike";
|
|
11180
11680
|
setting: "setting";
|
|
11181
11681
|
"operation-words": "operation-words";
|
|
@@ -12044,8 +12544,8 @@ export declare const SketchResult: z.ZodObject<{
|
|
|
12044
12544
|
system: "system";
|
|
12045
12545
|
component: "component";
|
|
12046
12546
|
table: "table";
|
|
12047
|
-
topic: "topic";
|
|
12048
12547
|
box: "box";
|
|
12548
|
+
topic: "topic";
|
|
12049
12549
|
}>;
|
|
12050
12550
|
boundary: z.ZodOptional<z.ZodEnum<{
|
|
12051
12551
|
product: "product";
|
|
@@ -12308,15 +12808,15 @@ export type UpgradeViewT = z.infer<typeof UpgradeView>;
|
|
|
12308
12808
|
export declare const CopilotRunKind: z.ZodEnum<{
|
|
12309
12809
|
repos: "repos";
|
|
12310
12810
|
stale: "stale";
|
|
12311
|
-
gaps: "gaps";
|
|
12312
12811
|
all: "all";
|
|
12812
|
+
gaps: "gaps";
|
|
12313
12813
|
}>;
|
|
12314
12814
|
export declare const StartCopilotRunRequest: z.ZodObject<{
|
|
12315
12815
|
kind: z.ZodEnum<{
|
|
12316
12816
|
repos: "repos";
|
|
12317
12817
|
stale: "stale";
|
|
12318
|
-
gaps: "gaps";
|
|
12319
12818
|
all: "all";
|
|
12819
|
+
gaps: "gaps";
|
|
12320
12820
|
}>;
|
|
12321
12821
|
repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12322
12822
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12346,8 +12846,8 @@ export declare const CopilotRunView: z.ZodObject<{
|
|
|
12346
12846
|
kind: z.ZodEnum<{
|
|
12347
12847
|
repos: "repos";
|
|
12348
12848
|
stale: "stale";
|
|
12349
|
-
gaps: "gaps";
|
|
12350
12849
|
all: "all";
|
|
12850
|
+
gaps: "gaps";
|
|
12351
12851
|
}>;
|
|
12352
12852
|
repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12353
12853
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12395,8 +12895,8 @@ export declare const CopilotRunCurrent: z.ZodObject<{
|
|
|
12395
12895
|
kind: z.ZodEnum<{
|
|
12396
12896
|
repos: "repos";
|
|
12397
12897
|
stale: "stale";
|
|
12398
|
-
gaps: "gaps";
|
|
12399
12898
|
all: "all";
|
|
12899
|
+
gaps: "gaps";
|
|
12400
12900
|
}>;
|
|
12401
12901
|
repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12402
12902
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12655,8 +13155,8 @@ export declare const LiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12655
13155
|
kind: z.ZodEnum<{
|
|
12656
13156
|
repos: "repos";
|
|
12657
13157
|
stale: "stale";
|
|
12658
|
-
gaps: "gaps";
|
|
12659
13158
|
all: "all";
|
|
13159
|
+
gaps: "gaps";
|
|
12660
13160
|
}>;
|
|
12661
13161
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
12662
13162
|
startedAt: z.ZodString;
|
|
@@ -12875,8 +13375,8 @@ export declare const FindingView: z.ZodObject<{
|
|
|
12875
13375
|
export: "export";
|
|
12876
13376
|
manual: "manual";
|
|
12877
13377
|
}>, z.ZodEnum<{
|
|
12878
|
-
catalog: "catalog";
|
|
12879
13378
|
artifact: "artifact";
|
|
13379
|
+
catalog: "catalog";
|
|
12880
13380
|
rule: "rule";
|
|
12881
13381
|
}>]>;
|
|
12882
13382
|
record: z.ZodOptional<z.ZodString>;
|
|
@@ -13052,15 +13552,15 @@ export type KnowledgeAnswerViewT = z.infer<typeof KnowledgeAnswerView>;
|
|
|
13052
13552
|
export declare const StoryShapeOp: z.ZodEnum<{
|
|
13053
13553
|
split: "split";
|
|
13054
13554
|
add: "add";
|
|
13055
|
-
merge: "merge";
|
|
13056
13555
|
rename: "rename";
|
|
13556
|
+
merge: "merge";
|
|
13057
13557
|
}>;
|
|
13058
13558
|
export declare const StoryShapeRequest: z.ZodObject<{
|
|
13059
13559
|
op: z.ZodEnum<{
|
|
13060
13560
|
split: "split";
|
|
13061
13561
|
add: "add";
|
|
13062
|
-
merge: "merge";
|
|
13063
13562
|
rename: "rename";
|
|
13563
|
+
merge: "merge";
|
|
13064
13564
|
}>;
|
|
13065
13565
|
story: z.ZodOptional<z.ZodString>;
|
|
13066
13566
|
stories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13076,8 +13576,8 @@ export declare const StoryShapeEntryView: z.ZodObject<{
|
|
|
13076
13576
|
op: z.ZodEnum<{
|
|
13077
13577
|
split: "split";
|
|
13078
13578
|
add: "add";
|
|
13079
|
-
merge: "merge";
|
|
13080
13579
|
rename: "rename";
|
|
13580
|
+
merge: "merge";
|
|
13081
13581
|
}>;
|
|
13082
13582
|
story: z.ZodOptional<z.ZodString>;
|
|
13083
13583
|
stories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13105,8 +13605,8 @@ export declare const StoryShapeView: z.ZodObject<{
|
|
|
13105
13605
|
op: z.ZodEnum<{
|
|
13106
13606
|
split: "split";
|
|
13107
13607
|
add: "add";
|
|
13108
|
-
merge: "merge";
|
|
13109
13608
|
rename: "rename";
|
|
13609
|
+
merge: "merge";
|
|
13110
13610
|
}>;
|
|
13111
13611
|
story: z.ZodOptional<z.ZodString>;
|
|
13112
13612
|
stories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|