@selleragent/api-contract 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/auth.d.ts +457 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +122 -0
- package/dist/auth.js.map +1 -0
- package/dist/conversations.d.ts +135 -135
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/judge-files.d.ts +330 -37
- package/dist/judge-files.d.ts.map +1 -1
- package/dist/judge-files.js +150 -6
- package/dist/judge-files.js.map +1 -1
- package/dist/operations.d.ts +1205 -689
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +52 -7
- package/dist/operations.js.map +1 -1
- package/dist/ops.d.ts +123 -123
- package/dist/runtime.d.ts +3 -3
- package/dist/semantic-eval.d.ts +16 -16
- package/package.json +1 -1
package/dist/runtime.d.ts
CHANGED
|
@@ -30,8 +30,8 @@ export declare const runtimeReadinessSchema: z.ZodEnum<{
|
|
|
30
30
|
high: "high";
|
|
31
31
|
}>;
|
|
32
32
|
export declare const runtimeDecisionModeSchema: z.ZodEnum<{
|
|
33
|
-
draft: "draft";
|
|
34
33
|
reply: "reply";
|
|
34
|
+
draft: "draft";
|
|
35
35
|
review: "review";
|
|
36
36
|
}>;
|
|
37
37
|
export declare const runtimeDecisionStatusSchema: z.ZodEnum<{
|
|
@@ -1506,8 +1506,8 @@ export declare const decisionTraceSchema: z.ZodObject<{
|
|
|
1506
1506
|
conversationId: z.ZodString;
|
|
1507
1507
|
sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1508
1508
|
mode: z.ZodEnum<{
|
|
1509
|
-
draft: "draft";
|
|
1510
1509
|
reply: "reply";
|
|
1510
|
+
draft: "draft";
|
|
1511
1511
|
review: "review";
|
|
1512
1512
|
}>;
|
|
1513
1513
|
status: z.ZodEnum<{
|
|
@@ -1914,8 +1914,8 @@ export declare const runtimeListDecisionTracesResponseSchema: z.ZodObject<{
|
|
|
1914
1914
|
conversationId: z.ZodString;
|
|
1915
1915
|
sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1916
1916
|
mode: z.ZodEnum<{
|
|
1917
|
-
draft: "draft";
|
|
1918
1917
|
reply: "reply";
|
|
1918
|
+
draft: "draft";
|
|
1919
1919
|
review: "review";
|
|
1920
1920
|
}>;
|
|
1921
1921
|
status: z.ZodEnum<{
|
package/dist/semantic-eval.d.ts
CHANGED
|
@@ -9,22 +9,22 @@ export declare const semanticEvalContextPolicySchema: z.ZodEnum<{
|
|
|
9
9
|
allow_full: "allow_full";
|
|
10
10
|
}>;
|
|
11
11
|
export declare const semanticEvalContextLevelSchema: z.ZodEnum<{
|
|
12
|
+
full: "full";
|
|
12
13
|
minimal: "minimal";
|
|
13
14
|
windowed: "windowed";
|
|
14
|
-
full: "full";
|
|
15
15
|
}>;
|
|
16
16
|
export declare const semanticEvalVerdictSchema: z.ZodEnum<{
|
|
17
17
|
pass: "pass";
|
|
18
|
-
soft_fail: "soft_fail";
|
|
19
18
|
fail: "fail";
|
|
19
|
+
soft_fail: "soft_fail";
|
|
20
20
|
inconclusive: "inconclusive";
|
|
21
21
|
contract_error: "contract_error";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const semanticEvalFindingStatusSchema: z.ZodEnum<{
|
|
24
24
|
matched: "matched";
|
|
25
|
+
ambiguous: "ambiguous";
|
|
25
26
|
missed: "missed";
|
|
26
27
|
violated: "violated";
|
|
27
|
-
ambiguous: "ambiguous";
|
|
28
28
|
}>;
|
|
29
29
|
export declare const semanticEvidenceRefSchema: z.ZodObject<{
|
|
30
30
|
ref: z.ZodString;
|
|
@@ -999,9 +999,9 @@ export declare const semanticJudgeFindingSchema: z.ZodObject<{
|
|
|
999
999
|
expectationId: z.ZodString;
|
|
1000
1000
|
status: z.ZodEnum<{
|
|
1001
1001
|
matched: "matched";
|
|
1002
|
+
ambiguous: "ambiguous";
|
|
1002
1003
|
missed: "missed";
|
|
1003
1004
|
violated: "violated";
|
|
1004
|
-
ambiguous: "ambiguous";
|
|
1005
1005
|
}>;
|
|
1006
1006
|
because: z.ZodString;
|
|
1007
1007
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1023,8 +1023,8 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1023
1023
|
decision: z.ZodObject<{
|
|
1024
1024
|
verdict: z.ZodEnum<{
|
|
1025
1025
|
pass: "pass";
|
|
1026
|
-
soft_fail: "soft_fail";
|
|
1027
1026
|
fail: "fail";
|
|
1027
|
+
soft_fail: "soft_fail";
|
|
1028
1028
|
inconclusive: "inconclusive";
|
|
1029
1029
|
contract_error: "contract_error";
|
|
1030
1030
|
}>;
|
|
@@ -1040,9 +1040,9 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1040
1040
|
expectationId: z.ZodString;
|
|
1041
1041
|
status: z.ZodEnum<{
|
|
1042
1042
|
matched: "matched";
|
|
1043
|
+
ambiguous: "ambiguous";
|
|
1043
1044
|
missed: "missed";
|
|
1044
1045
|
violated: "violated";
|
|
1045
|
-
ambiguous: "ambiguous";
|
|
1046
1046
|
}>;
|
|
1047
1047
|
because: z.ZodString;
|
|
1048
1048
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1054,9 +1054,9 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1054
1054
|
expectationId: z.ZodString;
|
|
1055
1055
|
status: z.ZodEnum<{
|
|
1056
1056
|
matched: "matched";
|
|
1057
|
+
ambiguous: "ambiguous";
|
|
1057
1058
|
missed: "missed";
|
|
1058
1059
|
violated: "violated";
|
|
1059
|
-
ambiguous: "ambiguous";
|
|
1060
1060
|
}>;
|
|
1061
1061
|
because: z.ZodString;
|
|
1062
1062
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1068,9 +1068,9 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1068
1068
|
expectationId: z.ZodString;
|
|
1069
1069
|
status: z.ZodEnum<{
|
|
1070
1070
|
matched: "matched";
|
|
1071
|
+
ambiguous: "ambiguous";
|
|
1071
1072
|
missed: "missed";
|
|
1072
1073
|
violated: "violated";
|
|
1073
|
-
ambiguous: "ambiguous";
|
|
1074
1074
|
}>;
|
|
1075
1075
|
because: z.ZodString;
|
|
1076
1076
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1082,9 +1082,9 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1082
1082
|
expectationId: z.ZodString;
|
|
1083
1083
|
status: z.ZodEnum<{
|
|
1084
1084
|
matched: "matched";
|
|
1085
|
+
ambiguous: "ambiguous";
|
|
1085
1086
|
missed: "missed";
|
|
1086
1087
|
violated: "violated";
|
|
1087
|
-
ambiguous: "ambiguous";
|
|
1088
1088
|
}>;
|
|
1089
1089
|
because: z.ZodString;
|
|
1090
1090
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1094,9 +1094,9 @@ export declare const semanticJudgeResultSchema: z.ZodObject<{
|
|
|
1094
1094
|
}, z.core.$strip>>>;
|
|
1095
1095
|
missingContextItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1096
1096
|
contextUsed: z.ZodEnum<{
|
|
1097
|
+
full: "full";
|
|
1097
1098
|
minimal: "minimal";
|
|
1098
1099
|
windowed: "windowed";
|
|
1099
|
-
full: "full";
|
|
1100
1100
|
}>;
|
|
1101
1101
|
needsMoreContext: z.ZodBoolean;
|
|
1102
1102
|
escalationUsed: z.ZodBoolean;
|
|
@@ -1556,8 +1556,8 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1556
1556
|
decision: z.ZodObject<{
|
|
1557
1557
|
verdict: z.ZodEnum<{
|
|
1558
1558
|
pass: "pass";
|
|
1559
|
-
soft_fail: "soft_fail";
|
|
1560
1559
|
fail: "fail";
|
|
1560
|
+
soft_fail: "soft_fail";
|
|
1561
1561
|
inconclusive: "inconclusive";
|
|
1562
1562
|
contract_error: "contract_error";
|
|
1563
1563
|
}>;
|
|
@@ -1573,9 +1573,9 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1573
1573
|
expectationId: z.ZodString;
|
|
1574
1574
|
status: z.ZodEnum<{
|
|
1575
1575
|
matched: "matched";
|
|
1576
|
+
ambiguous: "ambiguous";
|
|
1576
1577
|
missed: "missed";
|
|
1577
1578
|
violated: "violated";
|
|
1578
|
-
ambiguous: "ambiguous";
|
|
1579
1579
|
}>;
|
|
1580
1580
|
because: z.ZodString;
|
|
1581
1581
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1587,9 +1587,9 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1587
1587
|
expectationId: z.ZodString;
|
|
1588
1588
|
status: z.ZodEnum<{
|
|
1589
1589
|
matched: "matched";
|
|
1590
|
+
ambiguous: "ambiguous";
|
|
1590
1591
|
missed: "missed";
|
|
1591
1592
|
violated: "violated";
|
|
1592
|
-
ambiguous: "ambiguous";
|
|
1593
1593
|
}>;
|
|
1594
1594
|
because: z.ZodString;
|
|
1595
1595
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1601,9 +1601,9 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1601
1601
|
expectationId: z.ZodString;
|
|
1602
1602
|
status: z.ZodEnum<{
|
|
1603
1603
|
matched: "matched";
|
|
1604
|
+
ambiguous: "ambiguous";
|
|
1604
1605
|
missed: "missed";
|
|
1605
1606
|
violated: "violated";
|
|
1606
|
-
ambiguous: "ambiguous";
|
|
1607
1607
|
}>;
|
|
1608
1608
|
because: z.ZodString;
|
|
1609
1609
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1615,9 +1615,9 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1615
1615
|
expectationId: z.ZodString;
|
|
1616
1616
|
status: z.ZodEnum<{
|
|
1617
1617
|
matched: "matched";
|
|
1618
|
+
ambiguous: "ambiguous";
|
|
1618
1619
|
missed: "missed";
|
|
1619
1620
|
violated: "violated";
|
|
1620
|
-
ambiguous: "ambiguous";
|
|
1621
1621
|
}>;
|
|
1622
1622
|
because: z.ZodString;
|
|
1623
1623
|
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1627,9 +1627,9 @@ export declare const semanticJudgeExecutionEnvelopeSchema: z.ZodObject<{
|
|
|
1627
1627
|
}, z.core.$strip>>>;
|
|
1628
1628
|
missingContextItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1629
1629
|
contextUsed: z.ZodEnum<{
|
|
1630
|
+
full: "full";
|
|
1630
1631
|
minimal: "minimal";
|
|
1631
1632
|
windowed: "windowed";
|
|
1632
|
-
full: "full";
|
|
1633
1633
|
}>;
|
|
1634
1634
|
needsMoreContext: z.ZodBoolean;
|
|
1635
1635
|
escalationUsed: z.ZodBoolean;
|