@@ -57,6 +57,8 @@ SDKs → Runtimes → x402 → ENS → Receipts**
5757---
5858## Quickstart
5959
60+ Install Commons + AJV:
61+
6062```
6163npm install @commandlayer/commons ajv
6264```
@@ -66,8 +68,9 @@ npm install @commandlayer/commons ajv
6668npx cl-validate examples/v1.0.0/commons/summarize/request.json
6769# ✓ VALID — trace: bafybeieoynknza...
6870```
69- ** Programmatic usage**
70- ``` js
71+ ** Programmatic usage (Node.js/ESM)**
72+
73+ ```
7174import Ajv from "ajv";
7275import analyzeRequest from "@commandlayer/commons/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json";
7376
@@ -82,7 +85,12 @@ const input = {
8285console.log(validate(input)); // true or false
8386console.log(validate.errors); // diagnostics if invalid
8487```
88+ ** Generate TypeScript types directly from schemas** for zero-drift validation:
89+ ```
90+ npx ajv compile -s schemas/v1.0.0 -o dist/types.d.ts
91+ ```
8592---
93+
8694## Table of Contents
8795- [ Real verbs. Real receipts.] ( #real-verbs-real-receipts )
8896- [ Quickstart] ( #quickstart )
@@ -115,7 +123,7 @@ Protocol-Commons delivers:
115123- ** Typed request/receipt envelopes**
116124- ** Receipt-level provability**
117125- ** Portable behavior across runtimes**
118- - ** Open standards alignment**
126+ - ** Open standards alignment → one shared language for all autonomous agents **
119127 - JSON Schema 2020-12
120128 - x402
121129 - ERC-8004
@@ -401,5 +409,6 @@ CommandLayer follows a clean separation of concerns:
401409
402410
403411
412+
404413
405414
0 commit comments