@maycombhq/sdk 2.0.0-beta.25 → 2.0.0-beta.27
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 +1620 -37
- package/npm/core/audit.d.ts +9 -0
- package/npm/core/canary.d.ts +369 -0
- package/npm/core/cite.d.ts +55 -0
- package/npm/core/curated.d.ts +10 -0
- package/npm/core/facts-join-vendor.d.ts +47 -5
- package/npm/core/facts-join.d.ts +1 -1
- package/npm/core/index.d.ts +2 -0
- package/npm/core/light.d.ts +3 -1
- package/npm/core/manifest-edit.d.ts +10 -0
- package/npm/core/metarepo.d.ts +1 -1
- package/npm/core/process-trees.d.ts +86 -0
- package/npm/core/questions.d.ts +8 -0
- package/npm/core/run-log.d.ts +173 -7
- package/npm/index.js +3859 -2939
- package/package.json +1 -1
package/npm/core/api.d.ts
CHANGED
|
@@ -494,8 +494,80 @@ import { z } from "zod";
|
|
|
494
494
|
* A rename to the box's own name, or to another box, is refused (400); a box whose system holds a
|
|
495
495
|
* YAML anchor other lines use, 422. An Ignore's `reason` is at most 300 characters from every
|
|
496
496
|
* caller. Additive only.
|
|
497
|
+
* 3.12.0 (beta.27: every additive change of the release, in one version). GET /api/outside: a
|
|
498
|
+
* caller's `operations` (every operation a wildcard route reaches) and a system's `notes` (an
|
|
499
|
+
* alias that is an estate repo's host, said plainly). The app's plumbing: GET
|
|
500
|
+
* /api/facts?repo=<id>&repo=<id> gives several repos' facts in one call (the Map asked once per
|
|
501
|
+
* repo, 65 calls on a large estate): `facts` by repo as GET /api/facts/{repo} gives each, and
|
|
502
|
+
* `problems` by repo for a name refused or not found. GET
|
|
503
|
+
* /api/changes/{changeId}/artifacts/{artifact}/files?file=<path>&file=<path> gives several
|
|
504
|
+
* files of a many-file artifact in one call (the Stories tab asked once per story), with
|
|
505
|
+
* `problems` by file. A job (GET /api/jobs/{jobId}) and a Console entry say `stopping` once
|
|
506
|
+
* Stop was asked and until the job ends. A Console entry `where: app` that is not this app's
|
|
507
|
+
* job is a job an earlier run of the app started (kept in the run log); `ended` there means it
|
|
508
|
+
* stopped when that app closed. GET /api/health gains `rootKey` (the root's real path as the
|
|
509
|
+
* file system gives it, compared exactly; only a Windows drive letter folded), which a page
|
|
510
|
+
* compares after a restart.
|
|
511
|
+
* The screens (beta.27 review): GET /api/changes/{id}/status says the change's one next step
|
|
512
|
+
* in `nextStep` (as GET /api/release/{id} and the releases view do, a releases row with
|
|
513
|
+
* `stepFirst` too) and `stepFirst` when nothing blocks the gate (the report's `ready`) yet
|
|
514
|
+
* another step comes first: then At a glance says "the step below comes first" and the others
|
|
515
|
+
* "…yet: first, <that step's why>". A cockpit stage may be `person` (planning files a person
|
|
516
|
+
* wrote, named in `files`) or `skipped`; a stage thread names `byPerson`. GET
|
|
517
|
+
* /api/change-problems lists the changes whose change.yaml doesn't read. An activity entry may
|
|
518
|
+
* say `outcome: refused`. An owner question carries `ownerName` and `sentAt` (from its own
|
|
519
|
+
* record's newest manual evidence, so every machine says Sent once the record is merged); POST
|
|
520
|
+
* /api/owner-questions/{id}/send writes that record and takes `again` (409 for a second live
|
|
521
|
+
* send without it); propose takes scope `upgrade`. Final round: the status, a release's status
|
|
522
|
+
* and a releases row carry `nextStepApp` with `stepFirst`, the same sentence in the app's words
|
|
523
|
+
* (no command to type); a send that became a manual step (manual notifications, or a live
|
|
524
|
+
* notifier that couldn't start or reach the system) answers `state: step` with why and writes
|
|
525
|
+
* no record; a send already under way answers 409; the upgrade view and the upgrade job's
|
|
526
|
+
* result name `upgraded`. Review of the fix: an owner question carries `asked` while its Send's
|
|
527
|
+
* manual step is open (one step per question), and that step marked done is a send on record;
|
|
528
|
+
* a send's 409 says which in the problem's `code` (`being-sent`, `already-sent`); a Send after
|
|
529
|
+
* the step was done or skipped makes a new step. Canaries (ADR 0196): GET /api/trust/canaries (`CanaryView`): the latest canary report of each
|
|
530
|
+
* repo in reports/canaries/ (what it covers and skipped), the canaries planted on this machine
|
|
531
|
+
* and not yet scored, and how often a claim graded as backed is wrong as two numbers side by
|
|
532
|
+
* side, never pooled (`rates`: the audit misread rate from the sample audit's answers, a link's
|
|
533
|
+
* answer counted as given; the canary pass-through rate from the canaries), each with its count
|
|
534
|
+
* and 95% interval. Files only.
|
|
535
|
+
* The catalog (ADR 0195 ticket CS3, the owner's decision of 2026-11-11): the readers'
|
|
536
|
+
* cross-check and the build's confirm steps. GET /api/crosscheck (every repo) and
|
|
537
|
+
* GET /api/crosscheck/{repo} (one, with its items): what the readers found that the facts
|
|
538
|
+
* don't have, where they disagree (both values, with citations), and a count of what only the
|
|
539
|
+
* facts have; POST /api/crosscheck/{repo}/dismiss keeps or takes back a dismissal in
|
|
540
|
+
* facts/<repo>.crosscheck.yaml, as `atticus catalog crosscheck <repo> --dismiss|--undismiss`.
|
|
541
|
+
* GET /api/build: each repo's source, what `atticus catalog build` would do now (its
|
|
542
|
+
* refusal with the removals and hand edits it lists, and the counts that confirm them) and what
|
|
543
|
+
* the last build changed; POST /api/build confirms with those counts
|
|
544
|
+
* (`allowRemovals`, `discardEdits`), POST /api/build/edits/curate makes the hand edits
|
|
545
|
+
* curated; GET and POST /api/build/undo list the last five builds and take one back; GET and
|
|
546
|
+
* POST /api/build/prune list the slot files no build reads and remove exactly those; GET and
|
|
547
|
+
* POST /api/build/upgrade show the upgrade to source slots as a dry run and apply it
|
|
548
|
+
* (`atticus upgrade --yes`) with the count of files listed and the listing's hash; GET and
|
|
549
|
+
* POST /api/crosscheck/{repo}/promote show and write a readers-only item as a person's fact
|
|
550
|
+
* (`--promote`), then verify the repo. `last` is the latest build's own report, a terminal's
|
|
551
|
+
* refusals included. Every
|
|
552
|
+
* write is the CLI's own command as a local job (its lines in the Console), and is refused
|
|
553
|
+
* (409, nothing written) when what it would change is no longer what the page showed.
|
|
554
|
+
* POST /api/scan takes `allowRemovals` and `discardEdits`, and its job's result gives each
|
|
555
|
+
* repo's `sources` (read in full, or kept its last good read and why). So does Apply (POST
|
|
556
|
+
* /api/facts/{repo}/apply, `verify <repo> --write`): its job's result carries the build's
|
|
557
|
+
* `refused` (BuildRefusalView) when the build refused. A refusal carries its `plan`, which
|
|
558
|
+
* both send back with a count: what was listed is what is written.
|
|
559
|
+
* A Copilot run from the app (beta.27 fixes): POST /api/copilot-runs takes `maxTokens`, the
|
|
560
|
+
* model's limit the dialog asks for when Atticus doesn't know it (no maxInput in runtime.yaml,
|
|
561
|
+
* no limit atticus probe measured): passed as --max-tokens and kept on this machine
|
|
562
|
+
* (.atticus/map-all/limit.json) to fill the field next time; without it there the run is
|
|
563
|
+
* refused (400, code `limit-unknown`). GET /api/copilot-runs/current says `limit` (known, from
|
|
564
|
+
* where, or the value to fill the field with) and `assistantFiles` (whether the /atticus-*
|
|
565
|
+
* files are current; out-of-date ones the run writes first, as atticus assistant-files does;
|
|
566
|
+
* one edited by hand refuses the run, 409 code `assistant-files-edited`). A run's view carries
|
|
567
|
+
* `problems`: a repo the run stopped on after two Copilot sessions added nothing, with what
|
|
568
|
+
* verify rejected and why. Additive only.
|
|
497
569
|
*/
|
|
498
|
-
export declare const API_VERSION = "3.
|
|
570
|
+
export declare const API_VERSION = "3.12.0";
|
|
499
571
|
export declare const DEFAULT_PORT = 4321;
|
|
500
572
|
/** RFC 9457 problem details, used for every error. */
|
|
501
573
|
/**
|
|
@@ -528,6 +600,7 @@ export declare const Problem: z.ZodObject<{
|
|
|
528
600
|
repo: z.ZodOptional<z.ZodString>;
|
|
529
601
|
file: z.ZodString;
|
|
530
602
|
}, z.core.$strip>>>;
|
|
603
|
+
code: z.ZodOptional<z.ZodString>;
|
|
531
604
|
}, z.core.$strip>;
|
|
532
605
|
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>>[]]>;
|
|
533
606
|
export declare const RecordPage: z.ZodObject<{
|
|
@@ -1806,6 +1879,7 @@ export declare const Job: z.ZodObject<{
|
|
|
1806
1879
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1807
1880
|
errors: z.ZodArray<z.ZodString>;
|
|
1808
1881
|
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1882
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
1809
1883
|
}, z.core.$strip>;
|
|
1810
1884
|
export declare const JobAccepted: z.ZodObject<{
|
|
1811
1885
|
jobId: z.ZodString;
|
|
@@ -2014,6 +2088,33 @@ export declare const ArtifactContent: z.ZodObject<{
|
|
|
2014
2088
|
content: z.ZodString;
|
|
2015
2089
|
sha256: z.ZodString;
|
|
2016
2090
|
}, z.core.$strip>;
|
|
2091
|
+
/** 3.12.0: several files of a many-file artifact, each as GET .../artifacts/{artifact} gives it. */
|
|
2092
|
+
export declare const ArtifactFiles: z.ZodObject<{
|
|
2093
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2094
|
+
artifact: z.ZodEnum<{
|
|
2095
|
+
interfaces: "interfaces";
|
|
2096
|
+
data: "data";
|
|
2097
|
+
ux: "ux";
|
|
2098
|
+
brief: "brief";
|
|
2099
|
+
proposal: "proposal";
|
|
2100
|
+
specs: "specs";
|
|
2101
|
+
mappings: "mappings";
|
|
2102
|
+
design: "design";
|
|
2103
|
+
stories: "stories";
|
|
2104
|
+
tasks: "tasks";
|
|
2105
|
+
snow: "snow";
|
|
2106
|
+
}>;
|
|
2107
|
+
path: z.ZodString;
|
|
2108
|
+
content: z.ZodString;
|
|
2109
|
+
sha256: z.ZodString;
|
|
2110
|
+
file: z.ZodString;
|
|
2111
|
+
}, z.core.$strip>>;
|
|
2112
|
+
problems: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2113
|
+
status: z.ZodNumber;
|
|
2114
|
+
title: z.ZodString;
|
|
2115
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
2116
|
+
}, z.core.$strip>>>;
|
|
2117
|
+
}, z.core.$strip>;
|
|
2017
2118
|
export declare const Task: z.ZodObject<{
|
|
2018
2119
|
id: z.ZodString;
|
|
2019
2120
|
repo: z.ZodString;
|
|
@@ -3477,40 +3578,1093 @@ export declare const TrustView: z.ZodObject<{
|
|
|
3477
3578
|
message: z.ZodString;
|
|
3478
3579
|
}, z.core.$strip>>;
|
|
3479
3580
|
}, z.core.$strip>;
|
|
3480
|
-
export type TrustViewT = z.infer<typeof TrustView>;
|
|
3581
|
+
export type TrustViewT = z.infer<typeof TrustView>;
|
|
3582
|
+
/**
|
|
3583
|
+
* 3.10.0 (beta.24 review): POST /api/trust/answer-boxes/ignore and /rename: put right a box an
|
|
3584
|
+
* answer's words made. Ignore turns each answer that names it into Ignore and takes the system out
|
|
3585
|
+
* of its profile; rename names it (a repo or system Atticus knows, or a new outside system's short
|
|
3586
|
+
* name) and points the answers at it. `preview` writes nothing. Local writes in the metarepo, for
|
|
3587
|
+
* review in the pull request (Propose for review), as the setup forms' are.
|
|
3588
|
+
*/
|
|
3589
|
+
export declare const AnswerBoxRequest: z.ZodObject<{
|
|
3590
|
+
id: z.ZodString;
|
|
3591
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3592
|
+
preview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3593
|
+
stamp: z.ZodOptional<z.ZodString>;
|
|
3594
|
+
}, z.core.$strict>;
|
|
3595
|
+
export declare const AnswerBoxResult: z.ZodObject<{
|
|
3596
|
+
id: z.ZodString;
|
|
3597
|
+
written: z.ZodBoolean;
|
|
3598
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
3599
|
+
id: z.ZodString;
|
|
3600
|
+
repo: z.ZodString;
|
|
3601
|
+
was: z.ZodString;
|
|
3602
|
+
now: z.ZodString;
|
|
3603
|
+
}, z.core.$strip>>;
|
|
3604
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
3605
|
+
path: z.ZodString;
|
|
3606
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
3607
|
+
was: z.ZodOptional<z.ZodString>;
|
|
3608
|
+
now: z.ZodOptional<z.ZodString>;
|
|
3609
|
+
}, z.core.$strip>>;
|
|
3610
|
+
}, z.core.$strip>>;
|
|
3611
|
+
repos: z.ZodArray<z.ZodString>;
|
|
3612
|
+
stamp: z.ZodOptional<z.ZodString>;
|
|
3613
|
+
}, z.core.$strip>;
|
|
3614
|
+
export type AnswerBoxResultT = z.infer<typeof AnswerBoxResult>;
|
|
3615
|
+
/** 3.12.0: where a value is said, at the slot's commit. */
|
|
3616
|
+
export declare const CrossCheckCite: z.ZodObject<{
|
|
3617
|
+
file: z.ZodString;
|
|
3618
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3619
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
}, z.core.$strip>;
|
|
3621
|
+
/** 3.12.0: one side of a cross-check item: its record's id, the kind's value, its citations. */
|
|
3622
|
+
export declare const CrossCheckSide: z.ZodObject<{
|
|
3623
|
+
id: z.ZodString;
|
|
3624
|
+
value: z.ZodUnknown;
|
|
3625
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3626
|
+
file: z.ZodString;
|
|
3627
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3628
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3629
|
+
}, z.core.$strip>>;
|
|
3630
|
+
}, z.core.$strip>;
|
|
3631
|
+
/**
|
|
3632
|
+
* 3.12.0 (ADR 0195 point 3): one item of a repo's cross-check. `readers-only`: the readers found
|
|
3633
|
+
* it, the facts don't have it; `disagree`: both have it, with the `fields` that differ;
|
|
3634
|
+
* `facts-only`: the facts have it, the readers don't. `dismissed` while it is dismissed at the
|
|
3635
|
+
* readers' value it has now.
|
|
3636
|
+
*/
|
|
3637
|
+
export declare const CrossCheckItem: z.ZodObject<{
|
|
3638
|
+
key: z.ZodString;
|
|
3639
|
+
kind: z.ZodString;
|
|
3640
|
+
state: z.ZodEnum<{
|
|
3641
|
+
agree: "agree";
|
|
3642
|
+
"readers-only": "readers-only";
|
|
3643
|
+
"facts-only": "facts-only";
|
|
3644
|
+
disagree: "disagree";
|
|
3645
|
+
}>;
|
|
3646
|
+
readers: z.ZodOptional<z.ZodObject<{
|
|
3647
|
+
id: z.ZodString;
|
|
3648
|
+
value: z.ZodUnknown;
|
|
3649
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3650
|
+
file: z.ZodString;
|
|
3651
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3652
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3653
|
+
}, z.core.$strip>>;
|
|
3654
|
+
}, z.core.$strip>>;
|
|
3655
|
+
facts: z.ZodOptional<z.ZodObject<{
|
|
3656
|
+
id: z.ZodString;
|
|
3657
|
+
value: z.ZodUnknown;
|
|
3658
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3659
|
+
file: z.ZodString;
|
|
3660
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3661
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3662
|
+
}, z.core.$strip>>;
|
|
3663
|
+
}, z.core.$strip>>;
|
|
3664
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3665
|
+
field: z.ZodString;
|
|
3666
|
+
readers: z.ZodUnknown;
|
|
3667
|
+
facts: z.ZodUnknown;
|
|
3668
|
+
}, z.core.$strip>>>;
|
|
3669
|
+
dismissed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3670
|
+
readersSha256: z.ZodOptional<z.ZodString>;
|
|
3671
|
+
promoted: z.ZodOptional<z.ZodObject<{
|
|
3672
|
+
fact: z.ZodString;
|
|
3673
|
+
state: z.ZodEnum<{
|
|
3674
|
+
verified: "verified";
|
|
3675
|
+
written: "written";
|
|
3676
|
+
rejected: "rejected";
|
|
3677
|
+
}>;
|
|
3678
|
+
file: z.ZodString;
|
|
3679
|
+
line: z.ZodNumber;
|
|
3680
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
}, z.core.$strip>>;
|
|
3682
|
+
}, z.core.$strip>;
|
|
3683
|
+
export type CrossCheckItemT = z.infer<typeof CrossCheckItem>;
|
|
3684
|
+
export declare const CrossCheckCounts: z.ZodObject<{
|
|
3685
|
+
agree: z.ZodNumber;
|
|
3686
|
+
readersOnly: z.ZodNumber;
|
|
3687
|
+
factsOnly: z.ZodNumber;
|
|
3688
|
+
disagree: z.ZodNumber;
|
|
3689
|
+
dismissed: z.ZodNumber;
|
|
3690
|
+
}, z.core.$strip>;
|
|
3691
|
+
/**
|
|
3692
|
+
* 3.12.0: a repo's cross-check. `state` says whether it is compared: `no-facts` (the readers are
|
|
3693
|
+
* its source), `no-readers` (no readers slot yet), `legacy` (the upgrade's slot, not compared
|
|
3694
|
+
* until a scan), `unusable` (a slot that doesn't read, `problem`).
|
|
3695
|
+
*/
|
|
3696
|
+
export declare const RepoCrossCheck: z.ZodObject<{
|
|
3697
|
+
repo: z.ZodString;
|
|
3698
|
+
state: z.ZodEnum<{
|
|
3699
|
+
compared: "compared";
|
|
3700
|
+
"no-facts": "no-facts";
|
|
3701
|
+
"no-readers": "no-readers";
|
|
3702
|
+
legacy: "legacy";
|
|
3703
|
+
unusable: "unusable";
|
|
3704
|
+
}>;
|
|
3705
|
+
readersCommit: z.ZodOptional<z.ZodString>;
|
|
3706
|
+
factsCommit: z.ZodOptional<z.ZodString>;
|
|
3707
|
+
readersSlot: z.ZodOptional<z.ZodString>;
|
|
3708
|
+
factsSlot: z.ZodOptional<z.ZodString>;
|
|
3709
|
+
dismissals: z.ZodString;
|
|
3710
|
+
counts: z.ZodObject<{
|
|
3711
|
+
agree: z.ZodNumber;
|
|
3712
|
+
readersOnly: z.ZodNumber;
|
|
3713
|
+
factsOnly: z.ZodNumber;
|
|
3714
|
+
disagree: z.ZodNumber;
|
|
3715
|
+
dismissed: z.ZodNumber;
|
|
3716
|
+
}, z.core.$strip>;
|
|
3717
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3718
|
+
key: z.ZodString;
|
|
3719
|
+
kind: z.ZodString;
|
|
3720
|
+
state: z.ZodEnum<{
|
|
3721
|
+
agree: "agree";
|
|
3722
|
+
"readers-only": "readers-only";
|
|
3723
|
+
"facts-only": "facts-only";
|
|
3724
|
+
disagree: "disagree";
|
|
3725
|
+
}>;
|
|
3726
|
+
readers: z.ZodOptional<z.ZodObject<{
|
|
3727
|
+
id: z.ZodString;
|
|
3728
|
+
value: z.ZodUnknown;
|
|
3729
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3730
|
+
file: z.ZodString;
|
|
3731
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3732
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3733
|
+
}, z.core.$strip>>;
|
|
3734
|
+
}, z.core.$strip>>;
|
|
3735
|
+
facts: z.ZodOptional<z.ZodObject<{
|
|
3736
|
+
id: z.ZodString;
|
|
3737
|
+
value: z.ZodUnknown;
|
|
3738
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3739
|
+
file: z.ZodString;
|
|
3740
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3741
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
}, z.core.$strip>>;
|
|
3743
|
+
}, z.core.$strip>>;
|
|
3744
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3745
|
+
field: z.ZodString;
|
|
3746
|
+
readers: z.ZodUnknown;
|
|
3747
|
+
facts: z.ZodUnknown;
|
|
3748
|
+
}, z.core.$strip>>>;
|
|
3749
|
+
dismissed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3750
|
+
readersSha256: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
promoted: z.ZodOptional<z.ZodObject<{
|
|
3752
|
+
fact: z.ZodString;
|
|
3753
|
+
state: z.ZodEnum<{
|
|
3754
|
+
verified: "verified";
|
|
3755
|
+
written: "written";
|
|
3756
|
+
rejected: "rejected";
|
|
3757
|
+
}>;
|
|
3758
|
+
file: z.ZodString;
|
|
3759
|
+
line: z.ZodNumber;
|
|
3760
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3761
|
+
}, z.core.$strip>>;
|
|
3762
|
+
}, z.core.$strip>>;
|
|
3763
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
head: z.ZodOptional<z.ZodString>;
|
|
3765
|
+
}, z.core.$strip>;
|
|
3766
|
+
export type RepoCrossCheckT = z.infer<typeof RepoCrossCheck>;
|
|
3767
|
+
export declare const CrossCheckView: z.ZodObject<{
|
|
3768
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
3769
|
+
repo: z.ZodString;
|
|
3770
|
+
state: z.ZodEnum<{
|
|
3771
|
+
compared: "compared";
|
|
3772
|
+
"no-facts": "no-facts";
|
|
3773
|
+
"no-readers": "no-readers";
|
|
3774
|
+
legacy: "legacy";
|
|
3775
|
+
unusable: "unusable";
|
|
3776
|
+
}>;
|
|
3777
|
+
readersCommit: z.ZodOptional<z.ZodString>;
|
|
3778
|
+
factsCommit: z.ZodOptional<z.ZodString>;
|
|
3779
|
+
readersSlot: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
factsSlot: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
dismissals: z.ZodString;
|
|
3782
|
+
counts: z.ZodObject<{
|
|
3783
|
+
agree: z.ZodNumber;
|
|
3784
|
+
readersOnly: z.ZodNumber;
|
|
3785
|
+
factsOnly: z.ZodNumber;
|
|
3786
|
+
disagree: z.ZodNumber;
|
|
3787
|
+
dismissed: z.ZodNumber;
|
|
3788
|
+
}, z.core.$strip>;
|
|
3789
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3790
|
+
key: z.ZodString;
|
|
3791
|
+
kind: z.ZodString;
|
|
3792
|
+
state: z.ZodEnum<{
|
|
3793
|
+
agree: "agree";
|
|
3794
|
+
"readers-only": "readers-only";
|
|
3795
|
+
"facts-only": "facts-only";
|
|
3796
|
+
disagree: "disagree";
|
|
3797
|
+
}>;
|
|
3798
|
+
readers: z.ZodOptional<z.ZodObject<{
|
|
3799
|
+
id: z.ZodString;
|
|
3800
|
+
value: z.ZodUnknown;
|
|
3801
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3802
|
+
file: z.ZodString;
|
|
3803
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3804
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3805
|
+
}, z.core.$strip>>;
|
|
3806
|
+
}, z.core.$strip>>;
|
|
3807
|
+
facts: z.ZodOptional<z.ZodObject<{
|
|
3808
|
+
id: z.ZodString;
|
|
3809
|
+
value: z.ZodUnknown;
|
|
3810
|
+
cites: z.ZodArray<z.ZodObject<{
|
|
3811
|
+
file: z.ZodString;
|
|
3812
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3813
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
}, z.core.$strip>>;
|
|
3815
|
+
}, z.core.$strip>>;
|
|
3816
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3817
|
+
field: z.ZodString;
|
|
3818
|
+
readers: z.ZodUnknown;
|
|
3819
|
+
facts: z.ZodUnknown;
|
|
3820
|
+
}, z.core.$strip>>>;
|
|
3821
|
+
dismissed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3822
|
+
readersSha256: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
promoted: z.ZodOptional<z.ZodObject<{
|
|
3824
|
+
fact: z.ZodString;
|
|
3825
|
+
state: z.ZodEnum<{
|
|
3826
|
+
verified: "verified";
|
|
3827
|
+
written: "written";
|
|
3828
|
+
rejected: "rejected";
|
|
3829
|
+
}>;
|
|
3830
|
+
file: z.ZodString;
|
|
3831
|
+
line: z.ZodNumber;
|
|
3832
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
}, z.core.$strip>>;
|
|
3834
|
+
}, z.core.$strip>>;
|
|
3835
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
head: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
}, z.core.$strip>>;
|
|
3838
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
3839
|
+
file: z.ZodString;
|
|
3840
|
+
message: z.ZodString;
|
|
3841
|
+
}, z.core.$strip>>;
|
|
3842
|
+
}, z.core.$strip>;
|
|
3843
|
+
export type CrossCheckViewT = z.infer<typeof CrossCheckView>;
|
|
3844
|
+
/** 3.12.0: dismiss an item at the readers' value it has now, or take the dismissal back. */
|
|
3845
|
+
export declare const CrossCheckDismissRequest: z.ZodObject<{
|
|
3846
|
+
key: z.ZodString;
|
|
3847
|
+
undo: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3848
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
}, z.core.$strict>;
|
|
3850
|
+
/**
|
|
3851
|
+
* 3.12.0 (ADR 0195 point 3): GET /api/crosscheck/{repo}/promote?key=, what promoting a
|
|
3852
|
+
* readers-only item to assert writes: the `by: person` fact (its JSON `line`, appended to
|
|
3853
|
+
* `factsFile`), the line it cites with that line's text, and `sha256` of the fact line, which the
|
|
3854
|
+
* confirm sends back; or why it can't be (`why`). `fromSnapshot`: the facts file isn't there, so
|
|
3855
|
+
* it is started from the snapshot verify last kept. `already`: the same fact is in the file.
|
|
3856
|
+
*/
|
|
3857
|
+
export declare const CrossCheckPromoteView: z.ZodObject<{
|
|
3858
|
+
repo: z.ZodString;
|
|
3859
|
+
key: z.ZodString;
|
|
3860
|
+
can: z.ZodBoolean;
|
|
3861
|
+
why: z.ZodOptional<z.ZodString>;
|
|
3862
|
+
factsFile: z.ZodString;
|
|
3863
|
+
fact: z.ZodOptional<z.ZodString>;
|
|
3864
|
+
factKind: z.ZodOptional<z.ZodString>;
|
|
3865
|
+
line: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
3867
|
+
cite: z.ZodOptional<z.ZodObject<{
|
|
3868
|
+
file: z.ZodString;
|
|
3869
|
+
line: z.ZodNumber;
|
|
3870
|
+
value: z.ZodString;
|
|
3871
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3872
|
+
commit: z.ZodString;
|
|
3873
|
+
}, z.core.$strip>>;
|
|
3874
|
+
fromSnapshot: z.ZodOptional<z.ZodBoolean>;
|
|
3875
|
+
already: z.ZodOptional<z.ZodBoolean>;
|
|
3876
|
+
}, z.core.$strip>;
|
|
3877
|
+
export type CrossCheckPromoteViewT = z.infer<typeof CrossCheckPromoteView>;
|
|
3878
|
+
/** 3.12.0: promote the item to assert, as the preview showed it (`sha256` of its fact line). */
|
|
3879
|
+
export declare const CrossCheckPromoteRequest: z.ZodObject<{
|
|
3880
|
+
key: z.ZodString;
|
|
3881
|
+
sha256: z.ZodString;
|
|
3882
|
+
}, z.core.$strict>;
|
|
3883
|
+
/**
|
|
3884
|
+
* 3.12.0: a build input other than a slot whose change explains a removal (the owner's decision
|
|
3885
|
+
* of 2026-11-11: it is the person's own action, so it is listed as such): the answers, the
|
|
3886
|
+
* pairings, the org pack, the curated decisions, the traffic, a shared map, inputs/, the
|
|
3887
|
+
* proposals, a federated catalog, or another input (`other`), with its path.
|
|
3888
|
+
*/
|
|
3889
|
+
export declare const BuildRemovalInput: z.ZodObject<{
|
|
3890
|
+
what: z.ZodEnum<{
|
|
3891
|
+
other: "other";
|
|
3892
|
+
inputs: "inputs";
|
|
3893
|
+
"org-pack": "org-pack";
|
|
3894
|
+
proposals: "proposals";
|
|
3895
|
+
shared: "shared";
|
|
3896
|
+
answers: "answers";
|
|
3897
|
+
pairings: "pairings";
|
|
3898
|
+
curated: "curated";
|
|
3899
|
+
traffic: "traffic";
|
|
3900
|
+
federated: "federated";
|
|
3901
|
+
}>;
|
|
3902
|
+
path: z.ZodString;
|
|
3903
|
+
}, z.core.$strip>;
|
|
3904
|
+
/** 3.12.0: one removal a build lists (ADR 0195 point 4): its record, repos and what explains it. */
|
|
3905
|
+
export declare const BuildRemoval: z.ZodObject<{
|
|
3906
|
+
path: z.ZodString;
|
|
3907
|
+
kind: z.ZodString;
|
|
3908
|
+
id: z.ZodString;
|
|
3909
|
+
repos: z.ZodArray<z.ZodString>;
|
|
3910
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
3911
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3912
|
+
input: "input";
|
|
3913
|
+
build: "build";
|
|
3914
|
+
archived: "archived";
|
|
3915
|
+
manifest: "manifest";
|
|
3916
|
+
curated: "curated";
|
|
3917
|
+
slot: "slot";
|
|
3918
|
+
}>>>;
|
|
3919
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3920
|
+
what: z.ZodEnum<{
|
|
3921
|
+
other: "other";
|
|
3922
|
+
inputs: "inputs";
|
|
3923
|
+
"org-pack": "org-pack";
|
|
3924
|
+
proposals: "proposals";
|
|
3925
|
+
shared: "shared";
|
|
3926
|
+
answers: "answers";
|
|
3927
|
+
pairings: "pairings";
|
|
3928
|
+
curated: "curated";
|
|
3929
|
+
traffic: "traffic";
|
|
3930
|
+
federated: "federated";
|
|
3931
|
+
}>;
|
|
3932
|
+
path: z.ZodString;
|
|
3933
|
+
}, z.core.$strip>>>;
|
|
3934
|
+
}, z.core.$strip>;
|
|
3935
|
+
export type BuildRemovalT = z.infer<typeof BuildRemoval>;
|
|
3936
|
+
export declare const BuildHandEdit: z.ZodObject<{
|
|
3937
|
+
path: z.ZodString;
|
|
3938
|
+
how: z.ZodEnum<{
|
|
3939
|
+
added: "added";
|
|
3940
|
+
changed: "changed";
|
|
3941
|
+
deleted: "deleted";
|
|
3942
|
+
}>;
|
|
3943
|
+
}, z.core.$strip>;
|
|
3944
|
+
/**
|
|
3945
|
+
* 3.12.0: a refused build: every reason, the whole refusal in words, and the lists with the
|
|
3946
|
+
* counts that confirm them (`allowRemovals`, `discardEdits`); `command` goes on in a terminal.
|
|
3947
|
+
*/
|
|
3948
|
+
export declare const BuildRefusalView: z.ZodObject<{
|
|
3949
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
3950
|
+
"nothing-read": "nothing-read";
|
|
3951
|
+
empty: "empty";
|
|
3952
|
+
"unexplained-removals": "unexplained-removals";
|
|
3953
|
+
"large-removals": "large-removals";
|
|
3954
|
+
"hand-edits": "hand-edits";
|
|
3955
|
+
"not-upgraded": "not-upgraded";
|
|
3956
|
+
}>>;
|
|
3957
|
+
message: z.ZodString;
|
|
3958
|
+
removals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3959
|
+
path: z.ZodString;
|
|
3960
|
+
kind: z.ZodString;
|
|
3961
|
+
id: z.ZodString;
|
|
3962
|
+
repos: z.ZodArray<z.ZodString>;
|
|
3963
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
3964
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3965
|
+
input: "input";
|
|
3966
|
+
build: "build";
|
|
3967
|
+
archived: "archived";
|
|
3968
|
+
manifest: "manifest";
|
|
3969
|
+
curated: "curated";
|
|
3970
|
+
slot: "slot";
|
|
3971
|
+
}>>>;
|
|
3972
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3973
|
+
what: z.ZodEnum<{
|
|
3974
|
+
other: "other";
|
|
3975
|
+
inputs: "inputs";
|
|
3976
|
+
"org-pack": "org-pack";
|
|
3977
|
+
proposals: "proposals";
|
|
3978
|
+
shared: "shared";
|
|
3979
|
+
answers: "answers";
|
|
3980
|
+
pairings: "pairings";
|
|
3981
|
+
curated: "curated";
|
|
3982
|
+
traffic: "traffic";
|
|
3983
|
+
federated: "federated";
|
|
3984
|
+
}>;
|
|
3985
|
+
path: z.ZodString;
|
|
3986
|
+
}, z.core.$strip>>>;
|
|
3987
|
+
}, z.core.$strip>>>;
|
|
3988
|
+
unexplained: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3989
|
+
path: z.ZodString;
|
|
3990
|
+
kind: z.ZodString;
|
|
3991
|
+
id: z.ZodString;
|
|
3992
|
+
repos: z.ZodArray<z.ZodString>;
|
|
3993
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
3994
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3995
|
+
input: "input";
|
|
3996
|
+
build: "build";
|
|
3997
|
+
archived: "archived";
|
|
3998
|
+
manifest: "manifest";
|
|
3999
|
+
curated: "curated";
|
|
4000
|
+
slot: "slot";
|
|
4001
|
+
}>>>;
|
|
4002
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4003
|
+
what: z.ZodEnum<{
|
|
4004
|
+
other: "other";
|
|
4005
|
+
inputs: "inputs";
|
|
4006
|
+
"org-pack": "org-pack";
|
|
4007
|
+
proposals: "proposals";
|
|
4008
|
+
shared: "shared";
|
|
4009
|
+
answers: "answers";
|
|
4010
|
+
pairings: "pairings";
|
|
4011
|
+
curated: "curated";
|
|
4012
|
+
traffic: "traffic";
|
|
4013
|
+
federated: "federated";
|
|
4014
|
+
}>;
|
|
4015
|
+
path: z.ZodString;
|
|
4016
|
+
}, z.core.$strip>>>;
|
|
4017
|
+
}, z.core.$strip>>>;
|
|
4018
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
4019
|
+
edits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4020
|
+
path: z.ZodString;
|
|
4021
|
+
how: z.ZodEnum<{
|
|
4022
|
+
added: "added";
|
|
4023
|
+
changed: "changed";
|
|
4024
|
+
deleted: "deleted";
|
|
4025
|
+
}>;
|
|
4026
|
+
}, z.core.$strip>>>;
|
|
4027
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
4028
|
+
unread: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4029
|
+
repo: z.ZodString;
|
|
4030
|
+
why: z.ZodString;
|
|
4031
|
+
}, z.core.$strip>>>;
|
|
4032
|
+
command: z.ZodString;
|
|
4033
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
}, z.core.$strip>;
|
|
4035
|
+
export type BuildRefusalViewT = z.infer<typeof BuildRefusalView>;
|
|
4036
|
+
/** 3.12.0: a record file a build added or changed, as its report lists it. */
|
|
4037
|
+
export declare const BuildReportFile: z.ZodObject<{
|
|
4038
|
+
path: z.ZodString;
|
|
4039
|
+
kind: z.ZodString;
|
|
4040
|
+
id: z.ZodString;
|
|
4041
|
+
}, z.core.$strip>;
|
|
4042
|
+
/**
|
|
4043
|
+
* 3.12.0: what the latest build on this machine did or refused, whichever command built (a scan,
|
|
4044
|
+
* `verify --write`, a rename, `catalog build`, in the app or a terminal): the build's own report
|
|
4045
|
+
* (`.index/build-report.json`). `outcome` `written`, `unchanged`, `refused` (nothing written;
|
|
4046
|
+
* `refused` says why and lists it, `run` the commands that go on) or `stopped` (the write threw
|
|
4047
|
+
* part way: an undo copy holds what it replaced, and the next build finishes it).
|
|
4048
|
+
*/
|
|
4049
|
+
export declare const BuildReportView: z.ZodObject<{
|
|
4050
|
+
command: z.ZodString;
|
|
4051
|
+
at: z.ZodString;
|
|
4052
|
+
generated: z.ZodString;
|
|
4053
|
+
outcome: z.ZodEnum<{
|
|
4054
|
+
refused: "refused";
|
|
4055
|
+
written: "written";
|
|
4056
|
+
stopped: "stopped";
|
|
4057
|
+
unchanged: "unchanged";
|
|
4058
|
+
}>;
|
|
4059
|
+
refused: z.ZodOptional<z.ZodObject<{
|
|
4060
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
4061
|
+
"nothing-read": "nothing-read";
|
|
4062
|
+
empty: "empty";
|
|
4063
|
+
"unexplained-removals": "unexplained-removals";
|
|
4064
|
+
"large-removals": "large-removals";
|
|
4065
|
+
"hand-edits": "hand-edits";
|
|
4066
|
+
"not-upgraded": "not-upgraded";
|
|
4067
|
+
}>>;
|
|
4068
|
+
message: z.ZodString;
|
|
4069
|
+
removals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4070
|
+
path: z.ZodString;
|
|
4071
|
+
kind: z.ZodString;
|
|
4072
|
+
id: z.ZodString;
|
|
4073
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4074
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4075
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4076
|
+
input: "input";
|
|
4077
|
+
build: "build";
|
|
4078
|
+
archived: "archived";
|
|
4079
|
+
manifest: "manifest";
|
|
4080
|
+
curated: "curated";
|
|
4081
|
+
slot: "slot";
|
|
4082
|
+
}>>>;
|
|
4083
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4084
|
+
what: z.ZodEnum<{
|
|
4085
|
+
other: "other";
|
|
4086
|
+
inputs: "inputs";
|
|
4087
|
+
"org-pack": "org-pack";
|
|
4088
|
+
proposals: "proposals";
|
|
4089
|
+
shared: "shared";
|
|
4090
|
+
answers: "answers";
|
|
4091
|
+
pairings: "pairings";
|
|
4092
|
+
curated: "curated";
|
|
4093
|
+
traffic: "traffic";
|
|
4094
|
+
federated: "federated";
|
|
4095
|
+
}>;
|
|
4096
|
+
path: z.ZodString;
|
|
4097
|
+
}, z.core.$strip>>>;
|
|
4098
|
+
}, z.core.$strip>>>;
|
|
4099
|
+
unexplained: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4100
|
+
path: z.ZodString;
|
|
4101
|
+
kind: z.ZodString;
|
|
4102
|
+
id: z.ZodString;
|
|
4103
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4104
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4105
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4106
|
+
input: "input";
|
|
4107
|
+
build: "build";
|
|
4108
|
+
archived: "archived";
|
|
4109
|
+
manifest: "manifest";
|
|
4110
|
+
curated: "curated";
|
|
4111
|
+
slot: "slot";
|
|
4112
|
+
}>>>;
|
|
4113
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4114
|
+
what: z.ZodEnum<{
|
|
4115
|
+
other: "other";
|
|
4116
|
+
inputs: "inputs";
|
|
4117
|
+
"org-pack": "org-pack";
|
|
4118
|
+
proposals: "proposals";
|
|
4119
|
+
shared: "shared";
|
|
4120
|
+
answers: "answers";
|
|
4121
|
+
pairings: "pairings";
|
|
4122
|
+
curated: "curated";
|
|
4123
|
+
traffic: "traffic";
|
|
4124
|
+
federated: "federated";
|
|
4125
|
+
}>;
|
|
4126
|
+
path: z.ZodString;
|
|
4127
|
+
}, z.core.$strip>>>;
|
|
4128
|
+
}, z.core.$strip>>>;
|
|
4129
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
4130
|
+
edits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4131
|
+
path: z.ZodString;
|
|
4132
|
+
how: z.ZodEnum<{
|
|
4133
|
+
added: "added";
|
|
4134
|
+
changed: "changed";
|
|
4135
|
+
deleted: "deleted";
|
|
4136
|
+
}>;
|
|
4137
|
+
}, z.core.$strip>>>;
|
|
4138
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
4139
|
+
unread: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4140
|
+
repo: z.ZodString;
|
|
4141
|
+
why: z.ZodString;
|
|
4142
|
+
}, z.core.$strip>>>;
|
|
4143
|
+
command: z.ZodString;
|
|
4144
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4145
|
+
}, z.core.$strip>>;
|
|
4146
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
4147
|
+
run: z.ZodArray<z.ZodString>;
|
|
4148
|
+
counts: z.ZodObject<{
|
|
4149
|
+
records: z.ZodNumber;
|
|
4150
|
+
added: z.ZodNumber;
|
|
4151
|
+
changed: z.ZodNumber;
|
|
4152
|
+
removed: z.ZodNumber;
|
|
4153
|
+
written: z.ZodNumber;
|
|
4154
|
+
unchanged: z.ZodNumber;
|
|
4155
|
+
}, z.core.$strip>;
|
|
4156
|
+
added: z.ZodArray<z.ZodObject<{
|
|
4157
|
+
path: z.ZodString;
|
|
4158
|
+
kind: z.ZodString;
|
|
4159
|
+
id: z.ZodString;
|
|
4160
|
+
}, z.core.$strip>>;
|
|
4161
|
+
changed: z.ZodArray<z.ZodObject<{
|
|
4162
|
+
path: z.ZodString;
|
|
4163
|
+
kind: z.ZodString;
|
|
4164
|
+
id: z.ZodString;
|
|
4165
|
+
}, z.core.$strip>>;
|
|
4166
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
4167
|
+
path: z.ZodString;
|
|
4168
|
+
kind: z.ZodString;
|
|
4169
|
+
id: z.ZodString;
|
|
4170
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4171
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4172
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4173
|
+
input: "input";
|
|
4174
|
+
build: "build";
|
|
4175
|
+
archived: "archived";
|
|
4176
|
+
manifest: "manifest";
|
|
4177
|
+
curated: "curated";
|
|
4178
|
+
slot: "slot";
|
|
4179
|
+
}>>>;
|
|
4180
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4181
|
+
what: z.ZodEnum<{
|
|
4182
|
+
other: "other";
|
|
4183
|
+
inputs: "inputs";
|
|
4184
|
+
"org-pack": "org-pack";
|
|
4185
|
+
proposals: "proposals";
|
|
4186
|
+
shared: "shared";
|
|
4187
|
+
answers: "answers";
|
|
4188
|
+
pairings: "pairings";
|
|
4189
|
+
curated: "curated";
|
|
4190
|
+
traffic: "traffic";
|
|
4191
|
+
federated: "federated";
|
|
4192
|
+
}>;
|
|
4193
|
+
path: z.ZodString;
|
|
4194
|
+
}, z.core.$strip>>>;
|
|
4195
|
+
}, z.core.$strip>>;
|
|
4196
|
+
slots: z.ZodArray<z.ZodString>;
|
|
4197
|
+
undo: z.ZodOptional<z.ZodNumber>;
|
|
4198
|
+
discarded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4199
|
+
path: z.ZodString;
|
|
4200
|
+
how: z.ZodEnum<{
|
|
4201
|
+
added: "added";
|
|
4202
|
+
changed: "changed";
|
|
4203
|
+
deleted: "deleted";
|
|
4204
|
+
}>;
|
|
4205
|
+
}, z.core.$strip>>>;
|
|
4206
|
+
}, z.core.$strip>;
|
|
4207
|
+
export type BuildReportViewT = z.infer<typeof BuildReportView>;
|
|
4208
|
+
/** 3.12.0: each repo's source in the build (point 5). */
|
|
4209
|
+
export declare const BuildSourceView: z.ZodObject<{
|
|
4210
|
+
repo: z.ZodString;
|
|
4211
|
+
source: z.ZodEnum<{
|
|
4212
|
+
none: "none";
|
|
4213
|
+
readers: "readers";
|
|
4214
|
+
facts: "facts";
|
|
4215
|
+
legacy: "legacy";
|
|
4216
|
+
}>;
|
|
4217
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4218
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
4219
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
4220
|
+
}, z.core.$strip>;
|
|
4221
|
+
/**
|
|
4222
|
+
* 3.12.0: GET /api/build. `pending`: what `atticus catalog build` would do now (nothing
|
|
4223
|
+
* when catalog/generated is what the slots build; else the removals it would write, or its
|
|
4224
|
+
* refusal). `last`: the latest build's own report on this machine, whatever command built and
|
|
4225
|
+
* whether it wrote or refused, when there is one. `upgrade`: the upgrade to source slots waits
|
|
4226
|
+
* (a catalog from before beta.27): GET /api/build/upgrade shows what it writes.
|
|
4227
|
+
*/
|
|
4228
|
+
export declare const CatalogBuildView: z.ZodObject<{
|
|
4229
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
4230
|
+
repo: z.ZodString;
|
|
4231
|
+
source: z.ZodEnum<{
|
|
4232
|
+
none: "none";
|
|
4233
|
+
readers: "readers";
|
|
4234
|
+
facts: "facts";
|
|
4235
|
+
legacy: "legacy";
|
|
4236
|
+
}>;
|
|
4237
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4238
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
4239
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
}, z.core.$strip>>;
|
|
4241
|
+
pending: z.ZodObject<{
|
|
4242
|
+
upToDate: z.ZodBoolean;
|
|
4243
|
+
removals: z.ZodArray<z.ZodObject<{
|
|
4244
|
+
path: z.ZodString;
|
|
4245
|
+
kind: z.ZodString;
|
|
4246
|
+
id: z.ZodString;
|
|
4247
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4248
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4249
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4250
|
+
input: "input";
|
|
4251
|
+
build: "build";
|
|
4252
|
+
archived: "archived";
|
|
4253
|
+
manifest: "manifest";
|
|
4254
|
+
curated: "curated";
|
|
4255
|
+
slot: "slot";
|
|
4256
|
+
}>>>;
|
|
4257
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4258
|
+
what: z.ZodEnum<{
|
|
4259
|
+
other: "other";
|
|
4260
|
+
inputs: "inputs";
|
|
4261
|
+
"org-pack": "org-pack";
|
|
4262
|
+
proposals: "proposals";
|
|
4263
|
+
shared: "shared";
|
|
4264
|
+
answers: "answers";
|
|
4265
|
+
pairings: "pairings";
|
|
4266
|
+
curated: "curated";
|
|
4267
|
+
traffic: "traffic";
|
|
4268
|
+
federated: "federated";
|
|
4269
|
+
}>;
|
|
4270
|
+
path: z.ZodString;
|
|
4271
|
+
}, z.core.$strip>>>;
|
|
4272
|
+
}, z.core.$strip>>;
|
|
4273
|
+
refused: z.ZodOptional<z.ZodObject<{
|
|
4274
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
4275
|
+
"nothing-read": "nothing-read";
|
|
4276
|
+
empty: "empty";
|
|
4277
|
+
"unexplained-removals": "unexplained-removals";
|
|
4278
|
+
"large-removals": "large-removals";
|
|
4279
|
+
"hand-edits": "hand-edits";
|
|
4280
|
+
"not-upgraded": "not-upgraded";
|
|
4281
|
+
}>>;
|
|
4282
|
+
message: z.ZodString;
|
|
4283
|
+
removals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4284
|
+
path: z.ZodString;
|
|
4285
|
+
kind: z.ZodString;
|
|
4286
|
+
id: z.ZodString;
|
|
4287
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4288
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4289
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4290
|
+
input: "input";
|
|
4291
|
+
build: "build";
|
|
4292
|
+
archived: "archived";
|
|
4293
|
+
manifest: "manifest";
|
|
4294
|
+
curated: "curated";
|
|
4295
|
+
slot: "slot";
|
|
4296
|
+
}>>>;
|
|
4297
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4298
|
+
what: z.ZodEnum<{
|
|
4299
|
+
other: "other";
|
|
4300
|
+
inputs: "inputs";
|
|
4301
|
+
"org-pack": "org-pack";
|
|
4302
|
+
proposals: "proposals";
|
|
4303
|
+
shared: "shared";
|
|
4304
|
+
answers: "answers";
|
|
4305
|
+
pairings: "pairings";
|
|
4306
|
+
curated: "curated";
|
|
4307
|
+
traffic: "traffic";
|
|
4308
|
+
federated: "federated";
|
|
4309
|
+
}>;
|
|
4310
|
+
path: z.ZodString;
|
|
4311
|
+
}, z.core.$strip>>>;
|
|
4312
|
+
}, z.core.$strip>>>;
|
|
4313
|
+
unexplained: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4314
|
+
path: z.ZodString;
|
|
4315
|
+
kind: z.ZodString;
|
|
4316
|
+
id: z.ZodString;
|
|
4317
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4318
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4319
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4320
|
+
input: "input";
|
|
4321
|
+
build: "build";
|
|
4322
|
+
archived: "archived";
|
|
4323
|
+
manifest: "manifest";
|
|
4324
|
+
curated: "curated";
|
|
4325
|
+
slot: "slot";
|
|
4326
|
+
}>>>;
|
|
4327
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4328
|
+
what: z.ZodEnum<{
|
|
4329
|
+
other: "other";
|
|
4330
|
+
inputs: "inputs";
|
|
4331
|
+
"org-pack": "org-pack";
|
|
4332
|
+
proposals: "proposals";
|
|
4333
|
+
shared: "shared";
|
|
4334
|
+
answers: "answers";
|
|
4335
|
+
pairings: "pairings";
|
|
4336
|
+
curated: "curated";
|
|
4337
|
+
traffic: "traffic";
|
|
4338
|
+
federated: "federated";
|
|
4339
|
+
}>;
|
|
4340
|
+
path: z.ZodString;
|
|
4341
|
+
}, z.core.$strip>>>;
|
|
4342
|
+
}, z.core.$strip>>>;
|
|
4343
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
4344
|
+
edits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4345
|
+
path: z.ZodString;
|
|
4346
|
+
how: z.ZodEnum<{
|
|
4347
|
+
added: "added";
|
|
4348
|
+
changed: "changed";
|
|
4349
|
+
deleted: "deleted";
|
|
4350
|
+
}>;
|
|
4351
|
+
}, z.core.$strip>>>;
|
|
4352
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
4353
|
+
unread: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4354
|
+
repo: z.ZodString;
|
|
4355
|
+
why: z.ZodString;
|
|
4356
|
+
}, z.core.$strip>>>;
|
|
4357
|
+
command: z.ZodString;
|
|
4358
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
}, z.core.$strip>>;
|
|
4360
|
+
plan: z.ZodString;
|
|
4361
|
+
}, z.core.$strip>;
|
|
4362
|
+
last: z.ZodOptional<z.ZodObject<{
|
|
4363
|
+
command: z.ZodString;
|
|
4364
|
+
at: z.ZodString;
|
|
4365
|
+
generated: z.ZodString;
|
|
4366
|
+
outcome: z.ZodEnum<{
|
|
4367
|
+
refused: "refused";
|
|
4368
|
+
written: "written";
|
|
4369
|
+
stopped: "stopped";
|
|
4370
|
+
unchanged: "unchanged";
|
|
4371
|
+
}>;
|
|
4372
|
+
refused: z.ZodOptional<z.ZodObject<{
|
|
4373
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
4374
|
+
"nothing-read": "nothing-read";
|
|
4375
|
+
empty: "empty";
|
|
4376
|
+
"unexplained-removals": "unexplained-removals";
|
|
4377
|
+
"large-removals": "large-removals";
|
|
4378
|
+
"hand-edits": "hand-edits";
|
|
4379
|
+
"not-upgraded": "not-upgraded";
|
|
4380
|
+
}>>;
|
|
4381
|
+
message: z.ZodString;
|
|
4382
|
+
removals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4383
|
+
path: z.ZodString;
|
|
4384
|
+
kind: z.ZodString;
|
|
4385
|
+
id: z.ZodString;
|
|
4386
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4387
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4388
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4389
|
+
input: "input";
|
|
4390
|
+
build: "build";
|
|
4391
|
+
archived: "archived";
|
|
4392
|
+
manifest: "manifest";
|
|
4393
|
+
curated: "curated";
|
|
4394
|
+
slot: "slot";
|
|
4395
|
+
}>>>;
|
|
4396
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4397
|
+
what: z.ZodEnum<{
|
|
4398
|
+
other: "other";
|
|
4399
|
+
inputs: "inputs";
|
|
4400
|
+
"org-pack": "org-pack";
|
|
4401
|
+
proposals: "proposals";
|
|
4402
|
+
shared: "shared";
|
|
4403
|
+
answers: "answers";
|
|
4404
|
+
pairings: "pairings";
|
|
4405
|
+
curated: "curated";
|
|
4406
|
+
traffic: "traffic";
|
|
4407
|
+
federated: "federated";
|
|
4408
|
+
}>;
|
|
4409
|
+
path: z.ZodString;
|
|
4410
|
+
}, z.core.$strip>>>;
|
|
4411
|
+
}, z.core.$strip>>>;
|
|
4412
|
+
unexplained: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4413
|
+
path: z.ZodString;
|
|
4414
|
+
kind: z.ZodString;
|
|
4415
|
+
id: z.ZodString;
|
|
4416
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4417
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4418
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4419
|
+
input: "input";
|
|
4420
|
+
build: "build";
|
|
4421
|
+
archived: "archived";
|
|
4422
|
+
manifest: "manifest";
|
|
4423
|
+
curated: "curated";
|
|
4424
|
+
slot: "slot";
|
|
4425
|
+
}>>>;
|
|
4426
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4427
|
+
what: z.ZodEnum<{
|
|
4428
|
+
other: "other";
|
|
4429
|
+
inputs: "inputs";
|
|
4430
|
+
"org-pack": "org-pack";
|
|
4431
|
+
proposals: "proposals";
|
|
4432
|
+
shared: "shared";
|
|
4433
|
+
answers: "answers";
|
|
4434
|
+
pairings: "pairings";
|
|
4435
|
+
curated: "curated";
|
|
4436
|
+
traffic: "traffic";
|
|
4437
|
+
federated: "federated";
|
|
4438
|
+
}>;
|
|
4439
|
+
path: z.ZodString;
|
|
4440
|
+
}, z.core.$strip>>>;
|
|
4441
|
+
}, z.core.$strip>>>;
|
|
4442
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
4443
|
+
edits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4444
|
+
path: z.ZodString;
|
|
4445
|
+
how: z.ZodEnum<{
|
|
4446
|
+
added: "added";
|
|
4447
|
+
changed: "changed";
|
|
4448
|
+
deleted: "deleted";
|
|
4449
|
+
}>;
|
|
4450
|
+
}, z.core.$strip>>>;
|
|
4451
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
4452
|
+
unread: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4453
|
+
repo: z.ZodString;
|
|
4454
|
+
why: z.ZodString;
|
|
4455
|
+
}, z.core.$strip>>>;
|
|
4456
|
+
command: z.ZodString;
|
|
4457
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4458
|
+
}, z.core.$strip>>;
|
|
4459
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
4460
|
+
run: z.ZodArray<z.ZodString>;
|
|
4461
|
+
counts: z.ZodObject<{
|
|
4462
|
+
records: z.ZodNumber;
|
|
4463
|
+
added: z.ZodNumber;
|
|
4464
|
+
changed: z.ZodNumber;
|
|
4465
|
+
removed: z.ZodNumber;
|
|
4466
|
+
written: z.ZodNumber;
|
|
4467
|
+
unchanged: z.ZodNumber;
|
|
4468
|
+
}, z.core.$strip>;
|
|
4469
|
+
added: z.ZodArray<z.ZodObject<{
|
|
4470
|
+
path: z.ZodString;
|
|
4471
|
+
kind: z.ZodString;
|
|
4472
|
+
id: z.ZodString;
|
|
4473
|
+
}, z.core.$strip>>;
|
|
4474
|
+
changed: z.ZodArray<z.ZodObject<{
|
|
4475
|
+
path: z.ZodString;
|
|
4476
|
+
kind: z.ZodString;
|
|
4477
|
+
id: z.ZodString;
|
|
4478
|
+
}, z.core.$strip>>;
|
|
4479
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
4480
|
+
path: z.ZodString;
|
|
4481
|
+
kind: z.ZodString;
|
|
4482
|
+
id: z.ZodString;
|
|
4483
|
+
repos: z.ZodArray<z.ZodString>;
|
|
4484
|
+
explainedBy: z.ZodArray<z.ZodString>;
|
|
4485
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4486
|
+
input: "input";
|
|
4487
|
+
build: "build";
|
|
4488
|
+
archived: "archived";
|
|
4489
|
+
manifest: "manifest";
|
|
4490
|
+
curated: "curated";
|
|
4491
|
+
slot: "slot";
|
|
4492
|
+
}>>>;
|
|
4493
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4494
|
+
what: z.ZodEnum<{
|
|
4495
|
+
other: "other";
|
|
4496
|
+
inputs: "inputs";
|
|
4497
|
+
"org-pack": "org-pack";
|
|
4498
|
+
proposals: "proposals";
|
|
4499
|
+
shared: "shared";
|
|
4500
|
+
answers: "answers";
|
|
4501
|
+
pairings: "pairings";
|
|
4502
|
+
curated: "curated";
|
|
4503
|
+
traffic: "traffic";
|
|
4504
|
+
federated: "federated";
|
|
4505
|
+
}>;
|
|
4506
|
+
path: z.ZodString;
|
|
4507
|
+
}, z.core.$strip>>>;
|
|
4508
|
+
}, z.core.$strip>>;
|
|
4509
|
+
slots: z.ZodArray<z.ZodString>;
|
|
4510
|
+
undo: z.ZodOptional<z.ZodNumber>;
|
|
4511
|
+
discarded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4512
|
+
path: z.ZodString;
|
|
4513
|
+
how: z.ZodEnum<{
|
|
4514
|
+
added: "added";
|
|
4515
|
+
changed: "changed";
|
|
4516
|
+
deleted: "deleted";
|
|
4517
|
+
}>;
|
|
4518
|
+
}, z.core.$strip>>>;
|
|
4519
|
+
}, z.core.$strip>>;
|
|
4520
|
+
upgrade: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4521
|
+
orphaned: z.ZodArray<z.ZodObject<{
|
|
4522
|
+
repo: z.ZodString;
|
|
4523
|
+
why: z.ZodEnum<{
|
|
4524
|
+
archived: "archived";
|
|
4525
|
+
"not-listed": "not-listed";
|
|
4526
|
+
}>;
|
|
4527
|
+
files: z.ZodArray<z.ZodString>;
|
|
4528
|
+
}, z.core.$strip>>;
|
|
4529
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
4530
|
+
file: z.ZodString;
|
|
4531
|
+
message: z.ZodString;
|
|
4532
|
+
}, z.core.$strip>>;
|
|
4533
|
+
}, z.core.$strip>;
|
|
4534
|
+
export type CatalogBuildViewT = z.infer<typeof CatalogBuildView>;
|
|
4535
|
+
/** 3.12.0: confirm a refused build with the counts it listed (point 4). */
|
|
4536
|
+
export declare const CatalogBuildRequest: z.ZodObject<{
|
|
4537
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
4538
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
4539
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4540
|
+
}, z.core.$strict>;
|
|
4541
|
+
/**
|
|
4542
|
+
* 3.12.0: make the hand edits listed curated decisions; `count` is how many were listed and
|
|
4543
|
+
* `plan` GET /api/build's `pending.plan` for them.
|
|
4544
|
+
*/
|
|
4545
|
+
export declare const CatalogEditsRequest: z.ZodObject<{
|
|
4546
|
+
count: z.ZodNumber;
|
|
4547
|
+
plan: z.ZodString;
|
|
4548
|
+
}, z.core.$strict>;
|
|
4549
|
+
/** 3.12.0: a build kept on this machine to undo (point 7), numbered as `atticus catalog undo` does. */
|
|
4550
|
+
export declare const UndoCopyView: z.ZodObject<{
|
|
4551
|
+
n: z.ZodNumber;
|
|
4552
|
+
command: z.ZodString;
|
|
4553
|
+
at: z.ZodString;
|
|
4554
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
4555
|
+
files: z.ZodNumber;
|
|
4556
|
+
}, z.core.$strip>;
|
|
4557
|
+
/**
|
|
4558
|
+
* 3.12.0: GET /api/build/undo: the builds kept, newest first, and what taking back the `n`
|
|
4559
|
+
* latest puts back (the builds it takes back, and each file restored or removed).
|
|
4560
|
+
*/
|
|
4561
|
+
export declare const CatalogUndoView: z.ZodObject<{
|
|
4562
|
+
copies: z.ZodArray<z.ZodObject<{
|
|
4563
|
+
n: z.ZodNumber;
|
|
4564
|
+
command: z.ZodString;
|
|
4565
|
+
at: z.ZodString;
|
|
4566
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
4567
|
+
files: z.ZodNumber;
|
|
4568
|
+
}, z.core.$strip>>;
|
|
4569
|
+
plan: z.ZodOptional<z.ZodObject<{
|
|
4570
|
+
n: z.ZodNumber;
|
|
4571
|
+
takesBack: z.ZodArray<z.ZodObject<{
|
|
4572
|
+
n: z.ZodNumber;
|
|
4573
|
+
command: z.ZodString;
|
|
4574
|
+
}, z.core.$strip>>;
|
|
4575
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4576
|
+
path: z.ZodString;
|
|
4577
|
+
to: z.ZodEnum<{
|
|
4578
|
+
file: "file";
|
|
4579
|
+
absent: "absent";
|
|
4580
|
+
}>;
|
|
4581
|
+
}, z.core.$strip>>;
|
|
4582
|
+
hash: z.ZodString;
|
|
4583
|
+
}, z.core.$strip>>;
|
|
4584
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
4585
|
+
}, z.core.$strip>;
|
|
4586
|
+
export type CatalogUndoViewT = z.infer<typeof CatalogUndoView>;
|
|
4587
|
+
/** 3.12.0: take back the `n` latest builds; `files` is how many files the page listed. */
|
|
4588
|
+
export declare const CatalogUndoRequest: z.ZodObject<{
|
|
4589
|
+
n: z.ZodNumber;
|
|
4590
|
+
files: z.ZodNumber;
|
|
4591
|
+
plan: z.ZodString;
|
|
4592
|
+
}, z.core.$strict>;
|
|
4593
|
+
/** 3.12.0: GET /api/build/prune: the slot files no build reads, each with why. */
|
|
4594
|
+
export declare const CatalogPruneView: z.ZodObject<{
|
|
4595
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4596
|
+
path: z.ZodString;
|
|
4597
|
+
why: z.ZodString;
|
|
4598
|
+
}, z.core.$strip>>;
|
|
4599
|
+
plan: z.ZodString;
|
|
4600
|
+
}, z.core.$strip>;
|
|
4601
|
+
export type CatalogPruneViewT = z.infer<typeof CatalogPruneView>;
|
|
4602
|
+
/** 3.12.0: remove exactly the files listed; `count` is how many the page listed. */
|
|
4603
|
+
export declare const CatalogPruneRequest: z.ZodObject<{
|
|
4604
|
+
count: z.ZodNumber;
|
|
4605
|
+
plan: z.ZodString;
|
|
4606
|
+
}, z.core.$strict>;
|
|
4607
|
+
/**
|
|
4608
|
+
* 3.12.0 (ADR 0195 point 6): GET /api/build/upgrade, the upgrade to source slots as a dry run,
|
|
4609
|
+
* exactly what `atticus upgrade --json` lists under `slots`: every file `atticus upgrade --yes`
|
|
4610
|
+
* writes with its size and hash, the copy of catalog/generated kept in
|
|
4611
|
+
* generated-before-upgrade/, and what the first build would change (nothing; else each file,
|
|
4612
|
+
* accepted with their count). `plan` is a hash of the files listed and the changes, which the
|
|
4613
|
+
* confirm sends back.
|
|
4614
|
+
*/
|
|
4615
|
+
export declare const CatalogUpgradeView: z.ZodObject<{
|
|
4616
|
+
pending: z.ZodBoolean;
|
|
4617
|
+
records: z.ZodNumber;
|
|
4618
|
+
write: z.ZodArray<z.ZodObject<{
|
|
4619
|
+
path: z.ZodString;
|
|
4620
|
+
records: z.ZodNumber;
|
|
4621
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
4622
|
+
}, z.core.$strip>>;
|
|
4623
|
+
writes: z.ZodArray<z.ZodObject<{
|
|
4624
|
+
path: z.ZodString;
|
|
4625
|
+
what: z.ZodEnum<{
|
|
4626
|
+
copy: "copy";
|
|
4627
|
+
"readers-slot": "readers-slot";
|
|
4628
|
+
"legacy-joins": "legacy-joins";
|
|
4629
|
+
"build-manifest": "build-manifest";
|
|
4630
|
+
}>;
|
|
4631
|
+
bytes: z.ZodNumber;
|
|
4632
|
+
sha256: z.ZodString;
|
|
4633
|
+
}, z.core.$strip>>;
|
|
4634
|
+
copy: z.ZodObject<{
|
|
4635
|
+
dir: z.ZodString;
|
|
4636
|
+
files: z.ZodNumber;
|
|
4637
|
+
}, z.core.$strip>;
|
|
4638
|
+
firstBuildChanges: z.ZodArray<z.ZodString>;
|
|
4639
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
4640
|
+
path: z.ZodString;
|
|
4641
|
+
how: z.ZodEnum<{
|
|
4642
|
+
added: "added";
|
|
4643
|
+
changed: "changed";
|
|
4644
|
+
removed: "removed";
|
|
4645
|
+
}>;
|
|
4646
|
+
}, z.core.$strip>>;
|
|
4647
|
+
acceptChanges: z.ZodNumber;
|
|
4648
|
+
applies: z.ZodBoolean;
|
|
4649
|
+
run: z.ZodString;
|
|
4650
|
+
verifiable: z.ZodArray<z.ZodString>;
|
|
4651
|
+
plan: z.ZodString;
|
|
4652
|
+
others: z.ZodArray<z.ZodObject<{
|
|
4653
|
+
id: z.ZodString;
|
|
4654
|
+
summary: z.ZodString;
|
|
4655
|
+
}, z.core.$strip>>;
|
|
4656
|
+
}, z.core.$strip>;
|
|
4657
|
+
export type CatalogUpgradeViewT = z.infer<typeof CatalogUpgradeView>;
|
|
3481
4658
|
/**
|
|
3482
|
-
* 3.
|
|
3483
|
-
*
|
|
3484
|
-
*
|
|
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.
|
|
4659
|
+
* 3.12.0: apply the upgrade listed: `count` files (typed by the person) and the listing's `plan`;
|
|
4660
|
+
* when the first build changes the catalog, `acceptChanges` is the count of `changes` the person
|
|
4661
|
+
* accepted (typed), as `atticus upgrade --yes --accept-changes <n>` names it.
|
|
3487
4662
|
*/
|
|
3488
|
-
export declare const
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
stamp: z.ZodOptional<z.ZodString>;
|
|
4663
|
+
export declare const CatalogUpgradeRequest: z.ZodObject<{
|
|
4664
|
+
count: z.ZodNumber;
|
|
4665
|
+
plan: z.ZodString;
|
|
4666
|
+
acceptChanges: z.ZodOptional<z.ZodNumber>;
|
|
3493
4667
|
}, 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>;
|
|
3514
4668
|
/**
|
|
3515
4669
|
* 2.34.0 (ADR 0141, plan item P5): which repos' clones have moved past their facts' commit, and
|
|
3516
4670
|
* what reading each again costs, for every repo at once (the per-repo re-read plan of ADR 0124
|
|
@@ -3581,6 +4735,188 @@ export declare const FreshView: z.ZodObject<{
|
|
|
3581
4735
|
}, z.core.$strip>>;
|
|
3582
4736
|
}, z.core.$strip>;
|
|
3583
4737
|
export type FreshViewT = z.infer<typeof FreshView>;
|
|
4738
|
+
/** 3.12.0 (ADR 0196, Z2): a share with its count and its Wilson interval at 95%. */
|
|
4739
|
+
export declare const CanaryRateView: z.ZodObject<{
|
|
4740
|
+
k: z.ZodNumber;
|
|
4741
|
+
n: z.ZodNumber;
|
|
4742
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4743
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4744
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4745
|
+
}, z.core.$strip>;
|
|
4746
|
+
/** 3.12.0 (ADR 0196): the latest canary of one repo, from its report in reports/canaries/. */
|
|
4747
|
+
export declare const CanaryRepoView: z.ZodObject<{
|
|
4748
|
+
repo: z.ZodString;
|
|
4749
|
+
path: z.ZodString;
|
|
4750
|
+
at: z.ZodString;
|
|
4751
|
+
by: z.ZodString;
|
|
4752
|
+
seed: z.ZodString;
|
|
4753
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4754
|
+
stacks: z.ZodArray<z.ZodString>;
|
|
4755
|
+
covers: z.ZodArray<z.ZodObject<{
|
|
4756
|
+
stack: z.ZodString;
|
|
4757
|
+
what: z.ZodArray<z.ZodString>;
|
|
4758
|
+
}, z.core.$strip>>;
|
|
4759
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
4760
|
+
stack: z.ZodString;
|
|
4761
|
+
what: z.ZodString;
|
|
4762
|
+
reason: z.ZodString;
|
|
4763
|
+
}, z.core.$strip>>;
|
|
4764
|
+
unread: z.ZodNumber;
|
|
4765
|
+
planted: z.ZodObject<{
|
|
4766
|
+
n: z.ZodNumber;
|
|
4767
|
+
found: z.ZodNumber;
|
|
4768
|
+
rejected: z.ZodNumber;
|
|
4769
|
+
missed: z.ZodNumber;
|
|
4770
|
+
}, z.core.$strip>;
|
|
4771
|
+
removed: z.ZodObject<{
|
|
4772
|
+
n: z.ZodNumber;
|
|
4773
|
+
absent: z.ZodNumber;
|
|
4774
|
+
kept: z.ZodNumber;
|
|
4775
|
+
rejected: z.ZodNumber;
|
|
4776
|
+
elsewhere: z.ZodNumber;
|
|
4777
|
+
}, z.core.$strip>;
|
|
4778
|
+
recall: z.ZodObject<{
|
|
4779
|
+
k: z.ZodNumber;
|
|
4780
|
+
n: z.ZodNumber;
|
|
4781
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4782
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4783
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4784
|
+
}, z.core.$strip>;
|
|
4785
|
+
fabrication: z.ZodObject<{
|
|
4786
|
+
k: z.ZodNumber;
|
|
4787
|
+
n: z.ZodNumber;
|
|
4788
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4789
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4790
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4791
|
+
}, z.core.$strip>;
|
|
4792
|
+
passed: z.ZodObject<{
|
|
4793
|
+
k: z.ZodNumber;
|
|
4794
|
+
n: z.ZodNumber;
|
|
4795
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4796
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4797
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4798
|
+
}, z.core.$strip>;
|
|
4799
|
+
}, z.core.$strip>;
|
|
4800
|
+
/**
|
|
4801
|
+
* 3.12.0 (ADR 0196): canaries for Map › Trust: the latest canary of each repo, the canaries
|
|
4802
|
+
* planted on this machine and not yet scored, and how often a claim graded as backed is wrong as
|
|
4803
|
+
* two numbers side by side (the audit misread rate and the canary pass-through rate), each with
|
|
4804
|
+
* its count and interval, never pooled. Files only: an audit's link answer is counted as given,
|
|
4805
|
+
* as Trust does.
|
|
4806
|
+
*/
|
|
4807
|
+
export declare const CanaryView: z.ZodObject<{
|
|
4808
|
+
reportsDir: z.ZodString;
|
|
4809
|
+
latest: z.ZodArray<z.ZodObject<{
|
|
4810
|
+
repo: z.ZodString;
|
|
4811
|
+
path: z.ZodString;
|
|
4812
|
+
at: z.ZodString;
|
|
4813
|
+
by: z.ZodString;
|
|
4814
|
+
seed: z.ZodString;
|
|
4815
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
4816
|
+
stacks: z.ZodArray<z.ZodString>;
|
|
4817
|
+
covers: z.ZodArray<z.ZodObject<{
|
|
4818
|
+
stack: z.ZodString;
|
|
4819
|
+
what: z.ZodArray<z.ZodString>;
|
|
4820
|
+
}, z.core.$strip>>;
|
|
4821
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
4822
|
+
stack: z.ZodString;
|
|
4823
|
+
what: z.ZodString;
|
|
4824
|
+
reason: z.ZodString;
|
|
4825
|
+
}, z.core.$strip>>;
|
|
4826
|
+
unread: z.ZodNumber;
|
|
4827
|
+
planted: z.ZodObject<{
|
|
4828
|
+
n: z.ZodNumber;
|
|
4829
|
+
found: z.ZodNumber;
|
|
4830
|
+
rejected: z.ZodNumber;
|
|
4831
|
+
missed: z.ZodNumber;
|
|
4832
|
+
}, z.core.$strip>;
|
|
4833
|
+
removed: z.ZodObject<{
|
|
4834
|
+
n: z.ZodNumber;
|
|
4835
|
+
absent: z.ZodNumber;
|
|
4836
|
+
kept: z.ZodNumber;
|
|
4837
|
+
rejected: z.ZodNumber;
|
|
4838
|
+
elsewhere: z.ZodNumber;
|
|
4839
|
+
}, z.core.$strip>;
|
|
4840
|
+
recall: z.ZodObject<{
|
|
4841
|
+
k: z.ZodNumber;
|
|
4842
|
+
n: z.ZodNumber;
|
|
4843
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4844
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4845
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4846
|
+
}, z.core.$strip>;
|
|
4847
|
+
fabrication: z.ZodObject<{
|
|
4848
|
+
k: z.ZodNumber;
|
|
4849
|
+
n: z.ZodNumber;
|
|
4850
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4851
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4852
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4853
|
+
}, z.core.$strip>;
|
|
4854
|
+
passed: z.ZodObject<{
|
|
4855
|
+
k: z.ZodNumber;
|
|
4856
|
+
n: z.ZodNumber;
|
|
4857
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4858
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4859
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4860
|
+
}, z.core.$strip>;
|
|
4861
|
+
}, z.core.$strip>>;
|
|
4862
|
+
pending: z.ZodArray<z.ZodObject<{
|
|
4863
|
+
repo: z.ZodString;
|
|
4864
|
+
at: z.ZodString;
|
|
4865
|
+
seed: z.ZodString;
|
|
4866
|
+
}, z.core.$strip>>;
|
|
4867
|
+
rates: z.ZodObject<{
|
|
4868
|
+
misread: z.ZodObject<{
|
|
4869
|
+
k: z.ZodNumber;
|
|
4870
|
+
n: z.ZodNumber;
|
|
4871
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4872
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4873
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4874
|
+
}, z.core.$strip>;
|
|
4875
|
+
passed: z.ZodObject<{
|
|
4876
|
+
k: z.ZodNumber;
|
|
4877
|
+
n: z.ZodNumber;
|
|
4878
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4879
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4880
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4881
|
+
}, z.core.$strip>;
|
|
4882
|
+
recall: z.ZodObject<{
|
|
4883
|
+
k: z.ZodNumber;
|
|
4884
|
+
n: z.ZodNumber;
|
|
4885
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4886
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4887
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4888
|
+
}, z.core.$strip>;
|
|
4889
|
+
fabrication: z.ZodObject<{
|
|
4890
|
+
k: z.ZodNumber;
|
|
4891
|
+
n: z.ZodNumber;
|
|
4892
|
+
rate: z.ZodNullable<z.ZodNumber>;
|
|
4893
|
+
low: z.ZodNullable<z.ZodNumber>;
|
|
4894
|
+
high: z.ZodNullable<z.ZodNumber>;
|
|
4895
|
+
}, z.core.$strip>;
|
|
4896
|
+
caught: z.ZodNumber;
|
|
4897
|
+
elsewhere: z.ZodNumber;
|
|
4898
|
+
repos: z.ZodObject<{
|
|
4899
|
+
audited: z.ZodNumber;
|
|
4900
|
+
canaries: z.ZodNumber;
|
|
4901
|
+
}, z.core.$strip>;
|
|
4902
|
+
covers: z.ZodArray<z.ZodObject<{
|
|
4903
|
+
stack: z.ZodString;
|
|
4904
|
+
what: z.ZodArray<z.ZodString>;
|
|
4905
|
+
}, z.core.$strip>>;
|
|
4906
|
+
}, z.core.$strip>;
|
|
4907
|
+
commands: z.ZodObject<{
|
|
4908
|
+
plant: z.ZodString;
|
|
4909
|
+
score: z.ZodString;
|
|
4910
|
+
report: z.ZodString;
|
|
4911
|
+
}, z.core.$strip>;
|
|
4912
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
4913
|
+
file: z.ZodString;
|
|
4914
|
+
message: z.ZodString;
|
|
4915
|
+
}, z.core.$strip>>;
|
|
4916
|
+
}, z.core.$strip>;
|
|
4917
|
+
export type CanaryViewT = z.infer<typeof CanaryView>;
|
|
4918
|
+
export type CanaryRepoViewT = z.infer<typeof CanaryRepoView>;
|
|
4919
|
+
export type CanaryRateViewT = z.infer<typeof CanaryRateView>;
|
|
3584
4920
|
export type FreshRepoT = z.infer<typeof FreshRepo>;
|
|
3585
4921
|
export type TrustRepoT = z.infer<typeof TrustRepo>;
|
|
3586
4922
|
/**
|
|
@@ -4096,6 +5432,124 @@ export declare const RepoFactsView: z.ZodObject<{
|
|
|
4096
5432
|
message: z.ZodString;
|
|
4097
5433
|
}, z.core.$strip>>;
|
|
4098
5434
|
}, z.core.$strip>;
|
|
5435
|
+
/** 3.12.0: several repos' facts in one call (GET /api/facts?repo=...), the Map's one read. */
|
|
5436
|
+
export declare const RepoFactsBatch: z.ZodObject<{
|
|
5437
|
+
facts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5438
|
+
repo: z.ZodString;
|
|
5439
|
+
file: z.ZodString;
|
|
5440
|
+
present: z.ZodBoolean;
|
|
5441
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
5442
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
5443
|
+
id: z.ZodString;
|
|
5444
|
+
kind: z.ZodString;
|
|
5445
|
+
label: z.ZodString;
|
|
5446
|
+
claim: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5447
|
+
cite: z.ZodObject<{
|
|
5448
|
+
file: z.ZodString;
|
|
5449
|
+
line: z.ZodNumber;
|
|
5450
|
+
value: z.ZodString;
|
|
5451
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
5452
|
+
}, z.core.$strip>;
|
|
5453
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5454
|
+
file: z.ZodString;
|
|
5455
|
+
line: z.ZodNumber;
|
|
5456
|
+
value: z.ZodString;
|
|
5457
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
5458
|
+
what: z.ZodString;
|
|
5459
|
+
}, z.core.$strip>>>;
|
|
5460
|
+
verified: z.ZodEnum<{
|
|
5461
|
+
line: "line";
|
|
5462
|
+
none: "none";
|
|
5463
|
+
person: "person";
|
|
5464
|
+
sample: "sample";
|
|
5465
|
+
}>;
|
|
5466
|
+
by: z.ZodEnum<{
|
|
5467
|
+
person: "person";
|
|
5468
|
+
assistant: "assistant";
|
|
5469
|
+
reader: "reader";
|
|
5470
|
+
}>;
|
|
5471
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
5472
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
5473
|
+
fact: z.ZodString;
|
|
5474
|
+
target: z.ZodObject<{
|
|
5475
|
+
kind: z.ZodEnum<{
|
|
5476
|
+
config: "config";
|
|
5477
|
+
component: "component";
|
|
5478
|
+
field: "field";
|
|
5479
|
+
dependency: "dependency";
|
|
5480
|
+
term: "term";
|
|
5481
|
+
framework: "framework";
|
|
5482
|
+
entry: "entry";
|
|
5483
|
+
store: "store";
|
|
5484
|
+
call: "call";
|
|
5485
|
+
deploy: "deploy";
|
|
5486
|
+
flow: "flow";
|
|
5487
|
+
artifact: "artifact";
|
|
5488
|
+
}>;
|
|
5489
|
+
file: z.ZodString;
|
|
5490
|
+
line: z.ZodNumber;
|
|
5491
|
+
value: z.ZodString;
|
|
5492
|
+
}, z.core.$strict>;
|
|
5493
|
+
action: z.ZodEnum<{
|
|
5494
|
+
link: "link";
|
|
5495
|
+
wrong: "wrong";
|
|
5496
|
+
edit: "edit";
|
|
5497
|
+
unlink: "unlink";
|
|
5498
|
+
}>;
|
|
5499
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
5500
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
5501
|
+
system: z.ZodOptional<z.ZodString>;
|
|
5502
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
5503
|
+
method: z.ZodOptional<z.ZodString>;
|
|
5504
|
+
path: z.ZodString;
|
|
5505
|
+
}, z.core.$strict>>;
|
|
5506
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5507
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
5508
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5509
|
+
by: z.ZodString;
|
|
5510
|
+
at: z.ZodISODateTime;
|
|
5511
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
5512
|
+
runtime: z.ZodEnum<{
|
|
5513
|
+
"hand-off": "hand-off";
|
|
5514
|
+
"copilot-acp": "copilot-acp";
|
|
5515
|
+
}>;
|
|
5516
|
+
run: z.ZodString;
|
|
5517
|
+
bar: z.ZodOptional<z.ZodEnum<{
|
|
5518
|
+
confident: "confident";
|
|
5519
|
+
"agrees-with-shapes": "agrees-with-shapes";
|
|
5520
|
+
"person-rule": "person-rule";
|
|
5521
|
+
}>>;
|
|
5522
|
+
}, z.core.$strict>>;
|
|
5523
|
+
batch: z.ZodOptional<z.ZodString>;
|
|
5524
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
5525
|
+
from: z.ZodString;
|
|
5526
|
+
match: z.ZodString;
|
|
5527
|
+
}, z.core.$strict>>;
|
|
5528
|
+
match: z.ZodOptional<z.ZodString>;
|
|
5529
|
+
}, z.core.$strict>>;
|
|
5530
|
+
}, z.core.$strip>>;
|
|
5531
|
+
corrections: z.ZodObject<{
|
|
5532
|
+
file: z.ZodString;
|
|
5533
|
+
count: z.ZodNumber;
|
|
5534
|
+
stale: z.ZodArray<z.ZodString>;
|
|
5535
|
+
}, z.core.$strip>;
|
|
5536
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
5537
|
+
id: z.ZodString;
|
|
5538
|
+
question: z.ZodString;
|
|
5539
|
+
evidence: z.ZodArray<z.ZodString>;
|
|
5540
|
+
}, z.core.$strip>>;
|
|
5541
|
+
verify: z.ZodString;
|
|
5542
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
5543
|
+
file: z.ZodString;
|
|
5544
|
+
message: z.ZodString;
|
|
5545
|
+
}, z.core.$strip>>;
|
|
5546
|
+
}, z.core.$strip>>;
|
|
5547
|
+
problems: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5548
|
+
status: z.ZodNumber;
|
|
5549
|
+
title: z.ZodString;
|
|
5550
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5551
|
+
}, z.core.$strip>>;
|
|
5552
|
+
}, z.core.$strip>;
|
|
4099
5553
|
/** Mark a fact wrong (with why) or correct its claim: its fields, or the line it is on. */
|
|
4100
5554
|
export declare const FactCorrectionRequest: z.ZodObject<{
|
|
4101
5555
|
fact: z.ZodString;
|
|
@@ -4820,6 +6274,7 @@ export declare const OutsideCallView: z.ZodObject<{
|
|
|
4820
6274
|
}>>;
|
|
4821
6275
|
interface: z.ZodOptional<z.ZodString>;
|
|
4822
6276
|
operation: z.ZodOptional<z.ZodString>;
|
|
6277
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4823
6278
|
through: z.ZodOptional<z.ZodObject<{
|
|
4824
6279
|
repo: z.ZodString;
|
|
4825
6280
|
at: z.ZodString;
|
|
@@ -4852,6 +6307,7 @@ export declare const OutsideSystemView: z.ZodObject<{
|
|
|
4852
6307
|
}>>;
|
|
4853
6308
|
interface: z.ZodOptional<z.ZodString>;
|
|
4854
6309
|
operation: z.ZodOptional<z.ZodString>;
|
|
6310
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4855
6311
|
through: z.ZodOptional<z.ZodObject<{
|
|
4856
6312
|
repo: z.ZodString;
|
|
4857
6313
|
at: z.ZodString;
|
|
@@ -4890,6 +6346,7 @@ export declare const OutsideSystemView: z.ZodObject<{
|
|
|
4890
6346
|
}>>;
|
|
4891
6347
|
interface: z.ZodOptional<z.ZodString>;
|
|
4892
6348
|
operation: z.ZodOptional<z.ZodString>;
|
|
6349
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4893
6350
|
through: z.ZodOptional<z.ZodObject<{
|
|
4894
6351
|
repo: z.ZodString;
|
|
4895
6352
|
at: z.ZodString;
|
|
@@ -4917,6 +6374,7 @@ export declare const OutsideSystemView: z.ZodObject<{
|
|
|
4917
6374
|
}>>;
|
|
4918
6375
|
interface: z.ZodOptional<z.ZodString>;
|
|
4919
6376
|
operation: z.ZodOptional<z.ZodString>;
|
|
6377
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4920
6378
|
through: z.ZodOptional<z.ZodObject<{
|
|
4921
6379
|
repo: z.ZodString;
|
|
4922
6380
|
at: z.ZodString;
|
|
@@ -4934,6 +6392,7 @@ export declare const OutsideSystemView: z.ZodObject<{
|
|
|
4934
6392
|
repo: z.ZodString;
|
|
4935
6393
|
question: z.ZodString;
|
|
4936
6394
|
}, z.core.$strip>>;
|
|
6395
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4937
6396
|
addSpec: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4938
6397
|
shared: z.ZodOptional<z.ZodObject<{
|
|
4939
6398
|
team: z.ZodString;
|
|
@@ -4965,6 +6424,7 @@ export declare const OutsideSystemView: z.ZodObject<{
|
|
|
4965
6424
|
}>>;
|
|
4966
6425
|
interface: z.ZodOptional<z.ZodString>;
|
|
4967
6426
|
operation: z.ZodOptional<z.ZodString>;
|
|
6427
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4968
6428
|
through: z.ZodOptional<z.ZodObject<{
|
|
4969
6429
|
repo: z.ZodString;
|
|
4970
6430
|
at: z.ZodString;
|
|
@@ -5060,6 +6520,7 @@ export declare const OutsideView: z.ZodObject<{
|
|
|
5060
6520
|
}>>;
|
|
5061
6521
|
interface: z.ZodOptional<z.ZodString>;
|
|
5062
6522
|
operation: z.ZodOptional<z.ZodString>;
|
|
6523
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5063
6524
|
through: z.ZodOptional<z.ZodObject<{
|
|
5064
6525
|
repo: z.ZodString;
|
|
5065
6526
|
at: z.ZodString;
|
|
@@ -5098,6 +6559,7 @@ export declare const OutsideView: z.ZodObject<{
|
|
|
5098
6559
|
}>>;
|
|
5099
6560
|
interface: z.ZodOptional<z.ZodString>;
|
|
5100
6561
|
operation: z.ZodOptional<z.ZodString>;
|
|
6562
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5101
6563
|
through: z.ZodOptional<z.ZodObject<{
|
|
5102
6564
|
repo: z.ZodString;
|
|
5103
6565
|
at: z.ZodString;
|
|
@@ -5125,6 +6587,7 @@ export declare const OutsideView: z.ZodObject<{
|
|
|
5125
6587
|
}>>;
|
|
5126
6588
|
interface: z.ZodOptional<z.ZodString>;
|
|
5127
6589
|
operation: z.ZodOptional<z.ZodString>;
|
|
6590
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5128
6591
|
through: z.ZodOptional<z.ZodObject<{
|
|
5129
6592
|
repo: z.ZodString;
|
|
5130
6593
|
at: z.ZodString;
|
|
@@ -5142,6 +6605,7 @@ export declare const OutsideView: z.ZodObject<{
|
|
|
5142
6605
|
repo: z.ZodString;
|
|
5143
6606
|
question: z.ZodString;
|
|
5144
6607
|
}, z.core.$strip>>;
|
|
6608
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5145
6609
|
addSpec: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5146
6610
|
shared: z.ZodOptional<z.ZodObject<{
|
|
5147
6611
|
team: z.ZodString;
|
|
@@ -5173,6 +6637,7 @@ export declare const OutsideView: z.ZodObject<{
|
|
|
5173
6637
|
}>>;
|
|
5174
6638
|
interface: z.ZodOptional<z.ZodString>;
|
|
5175
6639
|
operation: z.ZodOptional<z.ZodString>;
|
|
6640
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5176
6641
|
through: z.ZodOptional<z.ZodObject<{
|
|
5177
6642
|
repo: z.ZodString;
|
|
5178
6643
|
at: z.ZodString;
|
|
@@ -5253,6 +6718,8 @@ export type OutsideCallViewT = z.infer<typeof OutsideCallView>;
|
|
|
5253
6718
|
export type OutsideViewT = z.infer<typeof OutsideView>;
|
|
5254
6719
|
export type FactCiteViewT = z.infer<typeof FactCiteView>;
|
|
5255
6720
|
export type RepoFactsViewT = z.infer<typeof RepoFactsView>;
|
|
6721
|
+
export type RepoFactsBatchT = z.infer<typeof RepoFactsBatch>;
|
|
6722
|
+
export type ArtifactFilesT = z.infer<typeof ArtifactFiles>;
|
|
5256
6723
|
export type FactCorrectionResultT = z.infer<typeof FactCorrectionResult>;
|
|
5257
6724
|
export type FactCorrectionRequestT = z.infer<typeof FactCorrectionRequest>;
|
|
5258
6725
|
export type LinkCorrectionsRequestT = z.infer<typeof LinkCorrectionsRequest>;
|
|
@@ -6604,6 +8071,7 @@ export declare const StageThreadView: z.ZodObject<{
|
|
|
6604
8071
|
prompt: z.ZodString;
|
|
6605
8072
|
}, z.core.$strip>>;
|
|
6606
8073
|
step: z.ZodArray<z.ZodString>;
|
|
8074
|
+
byPerson: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6607
8075
|
reply: z.ZodObject<{
|
|
6608
8076
|
open: z.ZodBoolean;
|
|
6609
8077
|
why: z.ZodOptional<z.ZodString>;
|
|
@@ -6613,6 +8081,18 @@ export declare const StageThreadView: z.ZodObject<{
|
|
|
6613
8081
|
message: z.ZodString;
|
|
6614
8082
|
}, z.core.$strip>>;
|
|
6615
8083
|
}, z.core.$strip>;
|
|
8084
|
+
/**
|
|
8085
|
+
* 3.12.0 (beta.27 review): the changes whose change.yaml doesn't read (cut short, a merge's
|
|
8086
|
+
* conflict markers, a field that isn't valid). GET /api/changes leaves them out so one bad file
|
|
8087
|
+
* never fails every page; this names them, with the file and the line where YAML says so.
|
|
8088
|
+
*/
|
|
8089
|
+
export declare const ChangeProblems: z.ZodArray<z.ZodObject<{
|
|
8090
|
+
id: z.ZodString;
|
|
8091
|
+
file: z.ZodString;
|
|
8092
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
8093
|
+
message: z.ZodString;
|
|
8094
|
+
}, z.core.$strip>>;
|
|
8095
|
+
export type ChangeProblemsT = z.infer<typeof ChangeProblems>;
|
|
6616
8096
|
export declare const StageThreadPost: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6617
8097
|
kind: z.ZodLiteral<"reply">;
|
|
6618
8098
|
text: z.ZodString;
|
|
@@ -7037,6 +8517,7 @@ export declare const StageThreadPostResult: z.ZodObject<{
|
|
|
7037
8517
|
prompt: z.ZodString;
|
|
7038
8518
|
}, z.core.$strip>>;
|
|
7039
8519
|
step: z.ZodArray<z.ZodString>;
|
|
8520
|
+
byPerson: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7040
8521
|
reply: z.ZodObject<{
|
|
7041
8522
|
open: z.ZodBoolean;
|
|
7042
8523
|
why: z.ZodOptional<z.ZodString>;
|
|
@@ -8345,16 +9826,33 @@ export declare const Health: z.ZodObject<{
|
|
|
8345
9826
|
apiVersion: z.ZodString;
|
|
8346
9827
|
schemaVersion: z.ZodNumber;
|
|
8347
9828
|
root: z.ZodString;
|
|
9829
|
+
rootKey: z.ZodOptional<z.ZodString>;
|
|
8348
9830
|
openspec: z.ZodOptional<z.ZodString>;
|
|
8349
9831
|
user: z.ZodString;
|
|
8350
9832
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
8351
9833
|
metarepo: z.ZodOptional<z.ZodBoolean>;
|
|
8352
9834
|
}, z.core.$strip>;
|
|
9835
|
+
/**
|
|
9836
|
+
* 3.12.0 (ADR 0195 point 4): Apply (`atticus verify <repo> --write`) confirms a refused build
|
|
9837
|
+
* with the counts it listed (`--allow-removals`, `--discard-edits`); any other count refuses
|
|
9838
|
+
* again. Its job's result carries the build's `refused` (BuildRefusalView, with its `plan`)
|
|
9839
|
+
* when it refused. `plan` is required with a count: the refusal's own, compared with the latest
|
|
9840
|
+
* build's report before a job starts (409) and with what the build lists under the lock (the
|
|
9841
|
+
* job writes nothing when that isn't it).
|
|
9842
|
+
*/
|
|
9843
|
+
export declare const FactsApplyRequest: z.ZodObject<{
|
|
9844
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
9845
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
9846
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
9847
|
+
}, z.core.$strict>;
|
|
8353
9848
|
export declare const ScanRequest: z.ZodObject<{
|
|
8354
9849
|
repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8355
9850
|
full: z.ZodDefault<z.ZodBoolean>;
|
|
8356
9851
|
ref: z.ZodOptional<z.ZodString>;
|
|
8357
9852
|
askAll: z.ZodOptional<z.ZodBoolean>;
|
|
9853
|
+
allowRemovals: z.ZodOptional<z.ZodNumber>;
|
|
9854
|
+
discardEdits: z.ZodOptional<z.ZodNumber>;
|
|
9855
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
8358
9856
|
}, z.core.$strict>;
|
|
8359
9857
|
/** ADR 0123: each repo's branches, as the Repos screen shows them. */
|
|
8360
9858
|
export declare const RepoBranchesView: z.ZodObject<{
|
|
@@ -8499,6 +9997,7 @@ export declare const ChangeCockpit: z.ZodObject<{
|
|
|
8499
9997
|
feature: "feature";
|
|
8500
9998
|
}>;
|
|
8501
9999
|
state: z.ZodString;
|
|
10000
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8502
10001
|
drafts: z.ZodNumber;
|
|
8503
10002
|
rounds: z.ZodNumber;
|
|
8504
10003
|
openQuestions: z.ZodNumber;
|
|
@@ -8553,6 +10052,7 @@ export declare const ProposeScope: z.ZodEnum<{
|
|
|
8553
10052
|
work: "work";
|
|
8554
10053
|
audit: "audit";
|
|
8555
10054
|
answers: "answers";
|
|
10055
|
+
upgrade: "upgrade";
|
|
8556
10056
|
corrections: "corrections";
|
|
8557
10057
|
"owner-answers": "owner-answers";
|
|
8558
10058
|
baseline: "baseline";
|
|
@@ -8566,6 +10066,7 @@ export declare const ProposePlanView: z.ZodObject<{
|
|
|
8566
10066
|
work: "work";
|
|
8567
10067
|
audit: "audit";
|
|
8568
10068
|
answers: "answers";
|
|
10069
|
+
upgrade: "upgrade";
|
|
8569
10070
|
corrections: "corrections";
|
|
8570
10071
|
"owner-answers": "owner-answers";
|
|
8571
10072
|
baseline: "baseline";
|
|
@@ -8654,6 +10155,7 @@ export declare const ProposeRequest: z.ZodObject<{
|
|
|
8654
10155
|
work: "work";
|
|
8655
10156
|
audit: "audit";
|
|
8656
10157
|
answers: "answers";
|
|
10158
|
+
upgrade: "upgrade";
|
|
8657
10159
|
corrections: "corrections";
|
|
8658
10160
|
"owner-answers": "owner-answers";
|
|
8659
10161
|
baseline: "baseline";
|
|
@@ -8688,6 +10190,12 @@ export declare const OwnerQuestionView: z.ZodObject<{
|
|
|
8688
10190
|
overdue: "overdue";
|
|
8689
10191
|
}>;
|
|
8690
10192
|
answer: z.ZodOptional<z.ZodString>;
|
|
10193
|
+
ownerName: z.ZodOptional<z.ZodString>;
|
|
10194
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
10195
|
+
asked: z.ZodOptional<z.ZodObject<{
|
|
10196
|
+
step: z.ZodString;
|
|
10197
|
+
at: z.ZodString;
|
|
10198
|
+
}, z.core.$strip>>;
|
|
8691
10199
|
routeTo: z.ZodOptional<z.ZodString>;
|
|
8692
10200
|
fill: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8693
10201
|
file: z.ZodString;
|
|
@@ -8718,6 +10226,12 @@ export declare const OwnerQuestionList: z.ZodObject<{
|
|
|
8718
10226
|
overdue: "overdue";
|
|
8719
10227
|
}>;
|
|
8720
10228
|
answer: z.ZodOptional<z.ZodString>;
|
|
10229
|
+
ownerName: z.ZodOptional<z.ZodString>;
|
|
10230
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
10231
|
+
asked: z.ZodOptional<z.ZodObject<{
|
|
10232
|
+
step: z.ZodString;
|
|
10233
|
+
at: z.ZodString;
|
|
10234
|
+
}, z.core.$strip>>;
|
|
8721
10235
|
routeTo: z.ZodOptional<z.ZodString>;
|
|
8722
10236
|
fill: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8723
10237
|
file: z.ZodString;
|
|
@@ -8751,6 +10265,12 @@ export declare const OwnerAnswerResult: z.ZodObject<{
|
|
|
8751
10265
|
overdue: "overdue";
|
|
8752
10266
|
}>;
|
|
8753
10267
|
answer: z.ZodOptional<z.ZodString>;
|
|
10268
|
+
ownerName: z.ZodOptional<z.ZodString>;
|
|
10269
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
10270
|
+
asked: z.ZodOptional<z.ZodObject<{
|
|
10271
|
+
step: z.ZodString;
|
|
10272
|
+
at: z.ZodString;
|
|
10273
|
+
}, z.core.$strip>>;
|
|
8754
10274
|
routeTo: z.ZodOptional<z.ZodString>;
|
|
8755
10275
|
fill: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8756
10276
|
file: z.ZodString;
|
|
@@ -12188,6 +13708,7 @@ export declare const UpgradeView: z.ZodObject<{
|
|
|
12188
13708
|
summary: z.ZodString;
|
|
12189
13709
|
files: z.ZodArray<z.ZodString>;
|
|
12190
13710
|
}, z.core.$strip>>;
|
|
13711
|
+
upgraded: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12191
13712
|
}, z.core.$strip>;
|
|
12192
13713
|
/**
|
|
12193
13714
|
* 3.5.0: what a setup edit changed, or with `preview: true` would change: the file
|
|
@@ -12491,9 +14012,9 @@ export declare const SketchStrokeRequest: z.ZodObject<{
|
|
|
12491
14012
|
call: "call";
|
|
12492
14013
|
retire: "retire";
|
|
12493
14014
|
topic: "topic";
|
|
14015
|
+
undo: "undo";
|
|
12494
14016
|
remove: "remove";
|
|
12495
14017
|
retarget: "retarget";
|
|
12496
|
-
undo: "undo";
|
|
12497
14018
|
}>;
|
|
12498
14019
|
}, z.core.$loose>;
|
|
12499
14020
|
preview: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12820,6 +14341,7 @@ export declare const StartCopilotRunRequest: z.ZodObject<{
|
|
|
12820
14341
|
}>;
|
|
12821
14342
|
repos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12822
14343
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
14344
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
12823
14345
|
}, z.core.$strip>;
|
|
12824
14346
|
export declare const CopilotRunState: z.ZodEnum<{
|
|
12825
14347
|
done: "done";
|
|
@@ -12874,6 +14396,17 @@ export declare const CopilotRunView: z.ZodObject<{
|
|
|
12874
14396
|
tokens: z.ZodNumber;
|
|
12875
14397
|
}, z.core.$strip>;
|
|
12876
14398
|
message: z.ZodOptional<z.ZodString>;
|
|
14399
|
+
problems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14400
|
+
repo: z.ZodString;
|
|
14401
|
+
part: z.ZodOptional<z.ZodNumber>;
|
|
14402
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
14403
|
+
message: z.ZodString;
|
|
14404
|
+
rejected: z.ZodArray<z.ZodObject<{
|
|
14405
|
+
code: z.ZodString;
|
|
14406
|
+
message: z.ZodString;
|
|
14407
|
+
}, z.core.$strip>>;
|
|
14408
|
+
rejectedCount: z.ZodNumber;
|
|
14409
|
+
}, z.core.$strip>>>;
|
|
12877
14410
|
tabs: z.ZodArray<z.ZodObject<{
|
|
12878
14411
|
id: z.ZodString;
|
|
12879
14412
|
title: z.ZodString;
|
|
@@ -12923,6 +14456,17 @@ export declare const CopilotRunCurrent: z.ZodObject<{
|
|
|
12923
14456
|
tokens: z.ZodNumber;
|
|
12924
14457
|
}, z.core.$strip>;
|
|
12925
14458
|
message: z.ZodOptional<z.ZodString>;
|
|
14459
|
+
problems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14460
|
+
repo: z.ZodString;
|
|
14461
|
+
part: z.ZodOptional<z.ZodNumber>;
|
|
14462
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
14463
|
+
message: z.ZodString;
|
|
14464
|
+
rejected: z.ZodArray<z.ZodObject<{
|
|
14465
|
+
code: z.ZodString;
|
|
14466
|
+
message: z.ZodString;
|
|
14467
|
+
}, z.core.$strip>>;
|
|
14468
|
+
rejectedCount: z.ZodNumber;
|
|
14469
|
+
}, z.core.$strip>>>;
|
|
12926
14470
|
tabs: z.ZodArray<z.ZodObject<{
|
|
12927
14471
|
id: z.ZodString;
|
|
12928
14472
|
title: z.ZodString;
|
|
@@ -12940,6 +14484,21 @@ export declare const CopilotRunCurrent: z.ZodObject<{
|
|
|
12940
14484
|
allowed: z.ZodBoolean;
|
|
12941
14485
|
why: z.ZodOptional<z.ZodString>;
|
|
12942
14486
|
model: z.ZodOptional<z.ZodString>;
|
|
14487
|
+
limit: z.ZodOptional<z.ZodObject<{
|
|
14488
|
+
known: z.ZodBoolean;
|
|
14489
|
+
tokens: z.ZodOptional<z.ZodNumber>;
|
|
14490
|
+
from: z.ZodOptional<z.ZodEnum<{
|
|
14491
|
+
"runtime.yaml": "runtime.yaml";
|
|
14492
|
+
last: "last";
|
|
14493
|
+
probe: "probe";
|
|
14494
|
+
}>>;
|
|
14495
|
+
}, z.core.$strip>>;
|
|
14496
|
+
assistantFiles: z.ZodOptional<z.ZodObject<{
|
|
14497
|
+
upToDate: z.ZodBoolean;
|
|
14498
|
+
stale: z.ZodArray<z.ZodString>;
|
|
14499
|
+
edited: z.ZodArray<z.ZodString>;
|
|
14500
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14501
|
+
}, z.core.$strip>>;
|
|
12943
14502
|
}, z.core.$strip>;
|
|
12944
14503
|
export type CopilotRunKindT = z.infer<typeof CopilotRunKind>;
|
|
12945
14504
|
export type StartCopilotRunRequestT = z.infer<typeof StartCopilotRunRequest>;
|
|
@@ -13022,6 +14581,10 @@ export declare const ActivityEntry: z.ZodObject<{
|
|
|
13022
14581
|
from: z.ZodNumber;
|
|
13023
14582
|
rev: z.ZodOptional<z.ZodString>;
|
|
13024
14583
|
stop: z.ZodOptional<z.ZodString>;
|
|
14584
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
14585
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
14586
|
+
refused: "refused";
|
|
14587
|
+
}>>;
|
|
13025
14588
|
jobId: z.ZodOptional<z.ZodString>;
|
|
13026
14589
|
copilotRunId: z.ZodOptional<z.ZodString>;
|
|
13027
14590
|
runId: z.ZodOptional<z.ZodString>;
|
|
@@ -13078,6 +14641,10 @@ export declare const ActivityList: z.ZodObject<{
|
|
|
13078
14641
|
from: z.ZodNumber;
|
|
13079
14642
|
rev: z.ZodOptional<z.ZodString>;
|
|
13080
14643
|
stop: z.ZodOptional<z.ZodString>;
|
|
14644
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
14645
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
14646
|
+
refused: "refused";
|
|
14647
|
+
}>>;
|
|
13081
14648
|
jobId: z.ZodOptional<z.ZodString>;
|
|
13082
14649
|
copilotRunId: z.ZodOptional<z.ZodString>;
|
|
13083
14650
|
runId: z.ZodOptional<z.ZodString>;
|
|
@@ -13176,6 +14743,17 @@ export declare const LiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13176
14743
|
sessions: z.ZodNumber;
|
|
13177
14744
|
}, z.core.$strip>;
|
|
13178
14745
|
model: z.ZodOptional<z.ZodString>;
|
|
14746
|
+
problems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14747
|
+
repo: z.ZodString;
|
|
14748
|
+
part: z.ZodOptional<z.ZodNumber>;
|
|
14749
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
14750
|
+
message: z.ZodString;
|
|
14751
|
+
rejected: z.ZodArray<z.ZodObject<{
|
|
14752
|
+
code: z.ZodString;
|
|
14753
|
+
message: z.ZodString;
|
|
14754
|
+
}, z.core.$strip>>;
|
|
14755
|
+
rejectedCount: z.ZodNumber;
|
|
14756
|
+
}, z.core.$strip>>>;
|
|
13179
14757
|
jobId: z.ZodString;
|
|
13180
14758
|
totals: z.ZodObject<{
|
|
13181
14759
|
kept: z.ZodNumber;
|
|
@@ -13236,6 +14814,10 @@ export declare const LiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13236
14814
|
from: z.ZodNumber;
|
|
13237
14815
|
rev: z.ZodOptional<z.ZodString>;
|
|
13238
14816
|
stop: z.ZodOptional<z.ZodString>;
|
|
14817
|
+
stopping: z.ZodOptional<z.ZodBoolean>;
|
|
14818
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
14819
|
+
refused: "refused";
|
|
14820
|
+
}>>;
|
|
13239
14821
|
jobId: z.ZodOptional<z.ZodString>;
|
|
13240
14822
|
copilotRunId: z.ZodOptional<z.ZodString>;
|
|
13241
14823
|
runId: z.ZodOptional<z.ZodString>;
|
|
@@ -13434,10 +15016,10 @@ export declare const WorkItemPlan: z.ZodObject<{
|
|
|
13434
15016
|
type: z.ZodString;
|
|
13435
15017
|
title: z.ZodString;
|
|
13436
15018
|
action: z.ZodEnum<{
|
|
13437
|
-
update: "update";
|
|
13438
|
-
create: "create";
|
|
13439
15019
|
unchanged: "unchanged";
|
|
13440
15020
|
orphaned: "orphaned";
|
|
15021
|
+
update: "update";
|
|
15022
|
+
create: "create";
|
|
13441
15023
|
}>;
|
|
13442
15024
|
id: z.ZodOptional<z.ZodString>;
|
|
13443
15025
|
step: z.ZodOptional<z.ZodString>;
|
|
@@ -13463,10 +15045,10 @@ export declare const WorkItemSyncResult: z.ZodObject<{
|
|
|
13463
15045
|
type: z.ZodString;
|
|
13464
15046
|
title: z.ZodString;
|
|
13465
15047
|
action: z.ZodEnum<{
|
|
13466
|
-
update: "update";
|
|
13467
|
-
create: "create";
|
|
13468
15048
|
unchanged: "unchanged";
|
|
13469
15049
|
orphaned: "orphaned";
|
|
15050
|
+
update: "update";
|
|
15051
|
+
create: "create";
|
|
13470
15052
|
}>;
|
|
13471
15053
|
id: z.ZodOptional<z.ZodString>;
|
|
13472
15054
|
step: z.ZodOptional<z.ZodString>;
|
|
@@ -13493,6 +15075,7 @@ export type WorkItemSyncResultT = z.infer<typeof WorkItemSyncResult>;
|
|
|
13493
15075
|
*/
|
|
13494
15076
|
export declare const SendOwnerAskRequest: z.ZodObject<{
|
|
13495
15077
|
confirmation: z.ZodOptional<z.ZodString>;
|
|
15078
|
+
again: z.ZodOptional<z.ZodBoolean>;
|
|
13496
15079
|
}, z.core.$strict>;
|
|
13497
15080
|
export declare const SentOwnerAsk: z.ZodObject<{
|
|
13498
15081
|
state: z.ZodEnum<{
|