@agent-receipts/schema 0.2.1 → 0.2.2
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/README.md +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,13 +40,18 @@ const input = validate(CreateReceiptInput, {
|
|
|
40
40
|
| `ListReceiptsQuery` | Query parameters for listing receipts |
|
|
41
41
|
| `PaginationMeta` | Pagination metadata |
|
|
42
42
|
| `ErrorResponse` | Structured error response |
|
|
43
|
+
| `ConstraintDefinition` | Constraint rule definition (`type`, `value`, `message?`) |
|
|
44
|
+
| `SingleConstraintResult` | Individual constraint evaluation result |
|
|
45
|
+
| `ConstraintResult` | Aggregate constraint evaluation (`passed`, `results[]`, `evaluated_at`) |
|
|
46
|
+
| `JudgmentRubric` | AI Judge rubric with criteria, weights, and thresholds |
|
|
47
|
+
| `JudgmentResult` | AI Judge evaluation result with verdict and criteria scores |
|
|
43
48
|
|
|
44
49
|
## Enums
|
|
45
50
|
|
|
46
51
|
| Enum | Values |
|
|
47
52
|
|------|--------|
|
|
48
53
|
| `ReceiptStatus` | `pending`, `completed`, `failed`, `timeout` |
|
|
49
|
-
| `ReceiptType` | `action` |
|
|
54
|
+
| `ReceiptType` | `action`, `judgment` |
|
|
50
55
|
| `Environment` | `development`, `staging`, `production` |
|
|
51
56
|
| `ErrorCode` | `VALIDATION_ERROR`, `NOT_FOUND`, `VERIFICATION_FAILED`, `INTERNAL_ERROR` |
|
|
52
57
|
|
package/package.json
CHANGED