@peac/cli 0.14.5 → 0.15.1
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 +3 -3
- package/dist/commands/samples.d.ts +3 -3
- package/dist/commands/samples.d.ts.map +1 -1
- package/dist/index.cjs +350 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +352 -124
- package/dist/index.mjs.map +1 -1
- package/dist/lib/public-key.d.ts +21 -0
- package/dist/lib/public-key.d.ts.map +1 -0
- package/dist/lib/samples-loader.d.ts +31 -6
- package/dist/lib/samples-loader.d.ts.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npx @peac/cli verify <receipt.jws>
|
|
|
16
16
|
|
|
17
17
|
## What It Does
|
|
18
18
|
|
|
19
|
-
`@peac/cli` provides the `peac` command for working with signed interaction
|
|
19
|
+
`@peac/cli` provides the `peac` command for working with signed interaction records from the terminal. It supports verifying record signatures, decoding record contents, validating issuer configurations, managing policies, running conformance test suites, generating sample records, and reconciling evidence bundles.
|
|
20
20
|
|
|
21
21
|
## How Do I Use It?
|
|
22
22
|
|
|
@@ -86,11 +86,11 @@ peac reconcile <bundle-a.json> <bundle-b.json>
|
|
|
86
86
|
|
|
87
87
|
Merges two evidence bundles and detects conflicts using composite `(iss, jti)` keys with fallback resolution. Conflicts are surfaced for human decision; no auto-resolution.
|
|
88
88
|
|
|
89
|
-
### Generate sample
|
|
89
|
+
### Generate sample records
|
|
90
90
|
|
|
91
91
|
```bash
|
|
92
92
|
peac samples list # List available samples
|
|
93
|
-
peac samples show basic-
|
|
93
|
+
peac samples show basic-record # Show a specific sample
|
|
94
94
|
peac samples generate --output ./out # Generate sample files
|
|
95
95
|
```
|
|
96
96
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* PEAC Samples CLI Commands (v0.10.8+)
|
|
3
3
|
*
|
|
4
|
-
* Commands for working with sample
|
|
5
|
-
* - list: List available sample
|
|
6
|
-
* - generate: Generate sample
|
|
4
|
+
* Commands for working with sample records:
|
|
5
|
+
* - list: List available sample records
|
|
6
|
+
* - generate: Generate sample records for testing
|
|
7
7
|
* - show: Show details of a specific sample
|
|
8
8
|
*
|
|
9
9
|
* Uses specs/conformance/samples/ as canonical source when available,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/commands/samples.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/commands/samples.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+EpC,QAAA,MAAM,OAAO,SAE+B,CAAC;AAmZ7C,OAAO,EAAE,OAAO,EAAE,CAAC"}
|