@parmanasystems/core 1.83.0 → 1.87.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @parmanasystems/core
1
+ # @parmanasystems/core
2
2
 
3
3
  Unified public SDK for Parmana Systems deterministic governance.
4
4
 
@@ -8,7 +8,7 @@ Unified public SDK for Parmana Systems deterministic governance.
8
8
 
9
9
  ## Overview
10
10
 
11
- `@parmanasystems/core` is the single entry point for most Parmana Systems integrations. It re-exports the complete public API from the underlying packages execution, runtime orchestration, portable verification, governance lifecycle, and cryptographic primitives under one install.
11
+ `@parmanasystems/core` is the single entry point for most Parmana Systems integrations. It re-exports the complete public API from the underlying packages - execution, runtime orchestration, portable verification, governance lifecycle, and cryptographic primitives - under one install.
12
12
 
13
13
  ---
14
14
 
@@ -22,7 +22,7 @@ npm install @parmanasystems/core
22
22
 
23
23
  ## ESM / CJS note
24
24
 
25
- `@parmanasystems/core` bundles CJS dependencies. Do **not** set `"type": "module"` in `package.json` it will break bundled transitive imports. Wrap all SDK calls in an `async` function instead of using top-level `await`:
25
+ `@parmanasystems/core` bundles CJS dependencies. Do **not** set `"type": "module"` in `package.json` - it will break bundled transitive imports. Wrap all SDK calls in an `async` function instead of using top-level `await`:
26
26
 
27
27
  ```typescript
28
28
  // ✅ Correct
@@ -31,7 +31,7 @@ async function main() {
31
31
  }
32
32
  main().catch(console.error);
33
33
 
34
- // ❌ Incorrect top-level await fails in CJS mode
34
+ // ❌ Incorrect - top-level await fails in CJS mode
35
35
  const result = await executeFromSignals(...);
36
36
  ```
37
37
 
@@ -92,7 +92,7 @@ Minimal `policy.json` with all required fields:
92
92
  | `policyVersion` | ✅ | Must match the subdirectory name (e.g. `"1.0.0"`) |
93
93
  | `schemaVersion` | ✅ | Always `"1.0.0"` for the current schema |
94
94
  | `signalsSchema` | ✅ | Map of signal names to `{ "type": "integer" \| "boolean" \| "string" }` |
95
- | `rules` | ✅ | Ordered list evaluated top-to-bottom, first match wins |
95
+ | `rules` | ✅ | Ordered list - evaluated top-to-bottom, first match wins |
96
96
 
97
97
  ---
98
98
 
@@ -138,7 +138,7 @@ async function main() {
138
138
  console.log(attestation.decision.action); // "approve"
139
139
  console.log(attestation.signature); // Ed25519 over canonical attestation JSON
140
140
 
141
- // Independently verify no runtime state required beyond the manifest
141
+ // Independently verify - no runtime state required beyond the manifest
142
142
  const manifest = getRuntimeManifest();
143
143
  const result = verifyAttestation(attestation, verifier, manifest);
144
144
  console.log(result.valid); // true
@@ -155,7 +155,7 @@ main().catch(console.error);
155
155
 
156
156
  | Export | Description |
157
157
  |---|---|
158
- | `executeFromSignals` | Primary execution entry point evaluates a policy, signs the result, returns `ExecutionAttestation` |
158
+ | `executeFromSignals` | Primary execution entry point - evaluates a policy, signs the result, returns `ExecutionAttestation` |
159
159
  | `MemoryReplayStore` | In-process replay store for development and testing |
160
160
  | `RedisReplayStore` | Distributed replay store for production use |
161
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parmanasystems/core",
3
- "version": "1.83.0",
3
+ "version": "1.87.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -18,13 +18,13 @@
18
18
  ],
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@parmanasystems/audit-db": "^1.83.0",
22
- "@parmanasystems/bundle": "^1.83.0",
23
- "@parmanasystems/crypto": "^1.83.0",
24
- "@parmanasystems/execution": "^1.83.0",
25
- "@parmanasystems/execution-runtime": "^1.83.0",
26
- "@parmanasystems/governance": "^1.83.0",
27
- "@parmanasystems/verifier": "^1.83.0"
21
+ "@parmanasystems/audit-db": "^1.87.0",
22
+ "@parmanasystems/bundle": "^1.87.0",
23
+ "@parmanasystems/crypto": "^1.87.0",
24
+ "@parmanasystems/execution": "^1.87.0",
25
+ "@parmanasystems/execution-runtime": "^1.87.0",
26
+ "@parmanasystems/governance": "^1.87.0",
27
+ "@parmanasystems/verifier": "^1.87.0"
28
28
  },
29
29
  "description": "Public orchestration and SDK surface for parmanasystems deterministic governance infrastructure.",
30
30
  "license": "Apache-2.0",