@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.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-receipts/schema",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Zod schemas and TypeScript types for the Action Receipt Protocol",
5
5
  "license": "MIT",
6
6
  "author": "Amin <amin@webaes.co> (https://webaes.co)",