@complyedge/sdk 0.2.1 → 0.2.3

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 (3) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +13 -0
  3. package/package.json +2 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,71 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@complyedge/sdk` are documented here.
4
+
5
+ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
+ this package follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ **This record begins at 0.2.2.** Earlier releases shipped before the changelog
9
+ existed; 0.2.1 is reconstructed from its commits, and anything not evidenced
10
+ there is left out rather than guessed at.
11
+
12
+ The Python SDK (`complyedge` on PyPI) is versioned independently. Version
13
+ numbers are deliberately not kept level between the two — they are separate
14
+ implementations with different capability surfaces, so matching numbers would
15
+ imply a parity that does not exist.
16
+
17
+ ## [0.2.3] - 2026-08-20
18
+
19
+ ### Added
20
+ - Package-map capability table (CE-vs-CE only): offline vs hosted, Rego/OPA,
21
+ Article 12, bundled corpus, ESM/CJS, MCP. Named competitor comparisons stay
22
+ gated — they need an explicit messaging decision against the no-first/only
23
+ doctrine.
24
+
25
+ ### Fixed
26
+ - Release-path fact: publishes still use `NPM_TOKEN`. The 0.2.2 changelog
27
+ entry that claimed OIDC Trusted Publishing described an attempt that was
28
+ reverted (`repository.url` points at the public repo while workflows run in
29
+ the private platform). Provenance remains unavailable until that layout
30
+ changes (G1a).
31
+
32
+ ## [0.2.2] - 2026-08-20
33
+
34
+ ### Changed
35
+ - Releases now publish through npm Trusted Publishing (OIDC). Each publish uses
36
+ a short-lived, workflow-scoped credential instead of a long-lived token, and
37
+ the token has been removed from the release workflow rather than left in place
38
+ as a fallback.
39
+
40
+ ### Added
41
+ - This changelog.
42
+
43
+ ### Note
44
+ - Provenance attestations are still not generated. npm produces them only when
45
+ publishing from a public repository, and the release workflow lives in a
46
+ private one. No package page claims provenance.
47
+
48
+ ## [0.2.1] - 2026-08-16
49
+
50
+ ### Added
51
+ - `repository` field, which the package had never carried.
52
+ - `Limitations and honest scope` section in the README — the SDK calls the
53
+ hosted API and is not an offline engine, a rule finding is technical evidence
54
+ rather than legal advice, and the OpenAI middleware is not a security sandbox.
55
+ - Explicit note that the package works in both ESM and CommonJS projects.
56
+ - Cross-links to `@complyedge/mcp`, `trustlint`, and the PyPI packages.
57
+
58
+ ### Changed
59
+ - Description rewritten to name what the SDK actually does: OPA/Rego policy
60
+ checks, Article 12 audit trails, risk assessment, OpenAI middleware.
61
+ - Keywords: 5 → 16, replacing generic terms with the ones a compliance buyer
62
+ searches. `opa` and `rego` are kept here because this package does call the
63
+ OPA hot path — they were removed from `trustlint`, which does not.
64
+
65
+ ## 0.2.0 and earlier
66
+
67
+ Released before this changelog existed. See the repository history.
68
+
69
+ [0.2.3]: https://www.npmjs.com/package/@complyedge/sdk/v/0.2.3
70
+ [0.2.2]: https://www.npmjs.com/package/@complyedge/sdk/v/0.2.2
71
+ [0.2.1]: https://www.npmjs.com/package/@complyedge/sdk/v/0.2.1
package/README.md CHANGED
@@ -22,8 +22,21 @@ The SDK works in both ESM and CommonJS projects; no bundler-specific setup is re
22
22
 
23
23
  - [`@complyedge/mcp`](https://www.npmjs.com/package/@complyedge/mcp) runs the local, offline TrustLint MCP tools with `npx`.
24
24
  - [`trustlint`](https://www.npmjs.com/package/trustlint) is the local Node.js CLI for offline rule checks.
25
+ - [`complyedge` on PyPI](https://pypi.org/project/complyedge/) is the Python SDK with the same enforcement API.
25
26
  - [Documentation](https://www.complyedge.io/docs) covers the hosted API; the [trust portal](https://trust.complyedge.io) covers security and reliability information.
26
27
 
28
+ | | `@complyedge/sdk` | `trustlint` | `@complyedge/mcp` |
29
+ |---|:-:|:-:|:-:|
30
+ | Runs offline, no API key | ✗ | ✓ | ✓ |
31
+ | Rego / OPA evaluation | ✓ | ✗ | ✗ |
32
+ | Article 12 audit trail | ✓ | ✗ | ✗ |
33
+ | Bundled 64-rule corpus | ✗ | ✓ | ✓ |
34
+ | Temporal / effective-date rules | ✗ | ✗ | ✗ |
35
+ | ESM + CommonJS | ✓ | ✓ | ESM only |
36
+ | MCP host integration | ✗ | ✗ | ✓ |
37
+
38
+ Temporal / effective-date evaluation lives in the Python engine only. A shared version number across npm and PyPI is not a parity claim.
39
+
27
40
  ## Version policy
28
41
 
29
42
  The TypeScript SDK and Python `complyedge` package have independent semantic versions. A version number does not imply feature parity across languages; each release documents and tests its own supported API surface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@complyedge/sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "EU AI Act runtime enforcement SDK: OPA/Rego policy checks, Article 12 audit trails, risk assessment, and OpenAI middleware.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -43,6 +43,7 @@
43
43
  "files": [
44
44
  "dist/**/*",
45
45
  "README.md",
46
+ "CHANGELOG.md",
46
47
  "LICENSE"
47
48
  ],
48
49
  "scripts": {