@nexart/ai-execution 0.5.0 → 0.7.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.
- package/README.md +238 -9
- package/dist/index.cjs +660 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +267 -3
- package/dist/index.d.ts +267 -3
- package/dist/index.mjs +649 -10
- package/dist/index.mjs.map +1 -1
- package/dist/providers/anthropic.cjs +7 -1
- package/dist/providers/anthropic.cjs.map +1 -1
- package/dist/providers/anthropic.d.cts +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/anthropic.mjs +7 -1
- package/dist/providers/anthropic.mjs.map +1 -1
- package/dist/providers/openai.cjs +7 -1
- package/dist/providers/openai.cjs.map +1 -1
- package/dist/providers/openai.d.cts +1 -1
- package/dist/providers/openai.d.ts +1 -1
- package/dist/providers/openai.mjs +7 -1
- package/dist/providers/openai.mjs.map +1 -1
- package/dist/providers/wrap.cjs +7 -1
- package/dist/providers/wrap.cjs.map +1 -1
- package/dist/providers/wrap.d.cts +1 -1
- package/dist/providers/wrap.d.ts +1 -1
- package/dist/providers/wrap.mjs +7 -1
- package/dist/providers/wrap.mjs.map +1 -1
- package/dist/{types-BjEqrksn.d.cts → types-CcqCDPrD.d.cts} +119 -1
- package/dist/{types-BjEqrksn.d.ts → types-CcqCDPrD.d.ts} +119 -1
- package/fixtures/v060/legacy-attestation.json +32 -0
- package/fixtures/v060/original-meta-bundle.json +36 -0
- package/fixtures/v060/pre-v05-bundle.json +29 -0
- package/fixtures/v060/redacted-bundle.json +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundleType": "cer.ai.execution.v1",
|
|
3
|
+
"certificateHash": "sha256:75dee0a57bab55bd7ff8526b19106b0ce4936f3da33d344c6287b1b5357327fb",
|
|
4
|
+
"createdAt": "2026-01-15T00:00:00.000Z",
|
|
5
|
+
"version": "0.1",
|
|
6
|
+
"snapshot": {
|
|
7
|
+
"type": "ai.execution.v1",
|
|
8
|
+
"protocolVersion": "1.2.0",
|
|
9
|
+
"executionSurface": "ai",
|
|
10
|
+
"executionId": "v060-pre-v05-001",
|
|
11
|
+
"timestamp": "2026-01-15T00:00:00.000Z",
|
|
12
|
+
"provider": "anthropic",
|
|
13
|
+
"model": "claude-3-haiku",
|
|
14
|
+
"modelVersion": null,
|
|
15
|
+
"prompt": "Summarize this document.",
|
|
16
|
+
"input": "The quick brown fox jumps over the lazy dog.",
|
|
17
|
+
"inputHash": "sha256:ef537f25c895bfa782526529a9b63d97aa631564d5d789c2b765448c8635fb6c",
|
|
18
|
+
"parameters": {
|
|
19
|
+
"temperature": 0.7,
|
|
20
|
+
"maxTokens": 512,
|
|
21
|
+
"topP": null,
|
|
22
|
+
"seed": null
|
|
23
|
+
},
|
|
24
|
+
"output": "A fox jumps over a dog.",
|
|
25
|
+
"outputHash": "sha256:57e8b3a1a5639796be8d6f5706e12e395d442b7ab409fc83934913099743a468",
|
|
26
|
+
"sdkVersion": "0.3.0",
|
|
27
|
+
"appId": "legacy-app"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundleType": "cer.ai.execution.v1",
|
|
3
|
+
"certificateHash": "sha256:74685f0c07eb4ad59bafc6d45aa071ee0da50ec518b814d24d47760d3fb30b4d",
|
|
4
|
+
"createdAt": "2026-01-15T00:00:00.000Z",
|
|
5
|
+
"version": "0.1",
|
|
6
|
+
"snapshot": {
|
|
7
|
+
"type": "ai.execution.v1",
|
|
8
|
+
"protocolVersion": "1.2.0",
|
|
9
|
+
"executionSurface": "ai",
|
|
10
|
+
"executionId": "v060-redacted-001",
|
|
11
|
+
"timestamp": "2026-01-15T00:00:00.000Z",
|
|
12
|
+
"provider": "mistral",
|
|
13
|
+
"model": "mistral-large-latest",
|
|
14
|
+
"modelVersion": null,
|
|
15
|
+
"prompt": "What is the capital of France?",
|
|
16
|
+
"input": "What is the capital of France?",
|
|
17
|
+
"inputHash": "sha256:115049a298532be2f181edb03f766770c0db84c22aff39003fec340deaec7545",
|
|
18
|
+
"parameters": {
|
|
19
|
+
"temperature": 0.7,
|
|
20
|
+
"maxTokens": 512,
|
|
21
|
+
"topP": null,
|
|
22
|
+
"seed": null
|
|
23
|
+
},
|
|
24
|
+
"output": "Paris",
|
|
25
|
+
"outputHash": "sha256:5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1",
|
|
26
|
+
"sdkVersion": "0.6.0",
|
|
27
|
+
"appId": "test-app"
|
|
28
|
+
},
|
|
29
|
+
"meta": {
|
|
30
|
+
"source": "api",
|
|
31
|
+
"tags": [
|
|
32
|
+
"geo"
|
|
33
|
+
],
|
|
34
|
+
"apiKey": "[REDACTED]"
|
|
35
|
+
}
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexart/ai-execution",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "AI Execution Integrity — tamper-evident records and Certified Execution Records (CER) for AI operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "node \"$(node -p 'require.resolve(\"tsup/dist/cli-default\")')\"",
|
|
34
34
|
"build:tsc": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\"",
|
|
35
|
-
"test": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\" && node --test dist-tsc/__tests__/vectors.test.js dist-tsc/__tests__/fixtures.test.js dist-tsc/__tests__/v020.test.js dist-tsc/__tests__/v030.test.js dist-tsc/__tests__/v040.test.js dist-tsc/__tests__/v041.test.js dist-tsc/__tests__/v042.test.js dist-tsc/__tests__/v050.test.js",
|
|
35
|
+
"test": "node \"$(node -p 'require.resolve(\"typescript/bin/tsc\")')\" && node --test dist-tsc/__tests__/vectors.test.js dist-tsc/__tests__/fixtures.test.js dist-tsc/__tests__/v020.test.js dist-tsc/__tests__/v030.test.js dist-tsc/__tests__/v040.test.js dist-tsc/__tests__/v041.test.js dist-tsc/__tests__/v042.test.js dist-tsc/__tests__/v050.test.js dist-tsc/__tests__/v060.test.js dist-tsc/__tests__/v070.test.js",
|
|
36
36
|
"release": "npm run build && npm run test && npm version patch && npm publish --access public",
|
|
37
37
|
"prepublishOnly": "npm run build && npm run test"
|
|
38
38
|
},
|