@maycombhq/sdk 2.0.0-beta.18 → 2.0.0-beta.21

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.
@@ -17,6 +17,7 @@ export type AuditAnswer = (typeof AUDIT_ANSWERS)[number];
17
17
  export declare const AuditItem: z.ZodObject<{
18
18
  id: z.ZodString;
19
19
  kind: z.ZodEnum<{
20
+ ai: "ai";
20
21
  link: "link";
21
22
  fact: "fact";
22
23
  }>;
@@ -26,10 +27,12 @@ export declare const AuditItem: z.ZodObject<{
26
27
  fact: z.ZodOptional<z.ZodString>;
27
28
  value: z.ZodOptional<z.ZodString>;
28
29
  to: z.ZodOptional<z.ZodString>;
30
+ decided: z.ZodOptional<z.ZodString>;
31
+ run: z.ZodOptional<z.ZodString>;
29
32
  answer: z.ZodOptional<z.ZodEnum<{
30
- unsure: "unsure";
31
- wrong: "wrong";
32
33
  right: "right";
34
+ wrong: "wrong";
35
+ unsure: "unsure";
33
36
  }>>;
34
37
  note: z.ZodOptional<z.ZodString>;
35
38
  by: z.ZodOptional<z.ZodString>;
@@ -55,6 +58,7 @@ export declare const AuditFile: z.ZodObject<{
55
58
  items: z.ZodArray<z.ZodObject<{
56
59
  id: z.ZodString;
57
60
  kind: z.ZodEnum<{
61
+ ai: "ai";
58
62
  link: "link";
59
63
  fact: "fact";
60
64
  }>;
@@ -64,10 +68,12 @@ export declare const AuditFile: z.ZodObject<{
64
68
  fact: z.ZodOptional<z.ZodString>;
65
69
  value: z.ZodOptional<z.ZodString>;
66
70
  to: z.ZodOptional<z.ZodString>;
71
+ decided: z.ZodOptional<z.ZodString>;
72
+ run: z.ZodOptional<z.ZodString>;
67
73
  answer: z.ZodOptional<z.ZodEnum<{
68
- unsure: "unsure";
69
- wrong: "wrong";
70
74
  right: "right";
75
+ wrong: "wrong";
76
+ unsure: "unsure";
71
77
  }>>;
72
78
  note: z.ZodOptional<z.ZodString>;
73
79
  by: z.ZodOptional<z.ZodString>;
@@ -96,6 +102,8 @@ export declare function auditCandidates(facts: readonly Fact[]): AuditItemT[];
96
102
  export declare function drawAudit(o: {
97
103
  facts: readonly AuditItemT[];
98
104
  links: readonly AuditItemT[];
105
+ /** ADR 0181: the AI's decisions standing for the repo (its pairings and answers). */
106
+ ai?: readonly AuditItemT[];
99
107
  size: number;
100
108
  seed: string;
101
109
  }): AuditItemT[];
@@ -132,6 +140,10 @@ export interface AuditPrecision {
132
140
  links: AuditTally;
133
141
  /** Links by how they were joined (ADR 0135's flags). */
134
142
  byHow: Record<string, AuditTally>;
143
+ /** ADR 0181: the AI's decisions (its pairings and answers), apart from the facts and links. */
144
+ ai: AuditTally;
145
+ /** ADR 0181: the AI's decisions by what they decided: `link` or `question`. */
146
+ byAi: Record<string, AuditTally>;
135
147
  }
136
148
  /**
137
149
  * Precision from the answers: of the items answered right or wrong, the share right, with the