verdifax 0.2.9 → 0.2.11
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 +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ console.log(`Sealed run ${run.run_id}, manifest hash ${run.manifest.ManifestHash
|
|
|
39
39
|
// Verify the seal recomputes correctly.
|
|
40
40
|
const v = await client.verifyRun(run.run_id);
|
|
41
41
|
if (v.verified) {
|
|
42
|
-
console.log("✓ Manifest hash recomputes
|
|
42
|
+
console.log("✓ Manifest hash recomputes.");
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
package/dist/index.d.mts
CHANGED
|
@@ -44,7 +44,7 @@ interface ExecuteRequest {
|
|
|
44
44
|
program_id: Hex64;
|
|
45
45
|
route_id: string;
|
|
46
46
|
registry_record_hash: Hex64;
|
|
47
|
-
/** When non-empty, opts the request into the AIVP
|
|
47
|
+
/** When non-empty, opts the request into the AIVP governance pipeline. */
|
|
48
48
|
ai_output_text?: string;
|
|
49
49
|
/** Caller-attested actor + decision metadata; open schema. */
|
|
50
50
|
attested_context?: Record<string, unknown>;
|
|
@@ -302,7 +302,7 @@ declare class VerdifaxClient {
|
|
|
302
302
|
adminListKeys(): Promise<AdminAPIKey[]>;
|
|
303
303
|
adminRevokeKey(keyId: number): Promise<void>;
|
|
304
304
|
/** Convenience for attesting an Anthropic Claude API response.
|
|
305
|
-
* Wires the response text into the AIVP
|
|
305
|
+
* Wires the response text into the AIVP governance pipeline
|
|
306
306
|
* by setting `ai_output_text`. */
|
|
307
307
|
attestClaudeResponse(args: {
|
|
308
308
|
program_id: Hex64;
|
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ interface ExecuteRequest {
|
|
|
44
44
|
program_id: Hex64;
|
|
45
45
|
route_id: string;
|
|
46
46
|
registry_record_hash: Hex64;
|
|
47
|
-
/** When non-empty, opts the request into the AIVP
|
|
47
|
+
/** When non-empty, opts the request into the AIVP governance pipeline. */
|
|
48
48
|
ai_output_text?: string;
|
|
49
49
|
/** Caller-attested actor + decision metadata; open schema. */
|
|
50
50
|
attested_context?: Record<string, unknown>;
|
|
@@ -302,7 +302,7 @@ declare class VerdifaxClient {
|
|
|
302
302
|
adminListKeys(): Promise<AdminAPIKey[]>;
|
|
303
303
|
adminRevokeKey(keyId: number): Promise<void>;
|
|
304
304
|
/** Convenience for attesting an Anthropic Claude API response.
|
|
305
|
-
* Wires the response text into the AIVP
|
|
305
|
+
* Wires the response text into the AIVP governance pipeline
|
|
306
306
|
* by setting `ai_output_text`. */
|
|
307
307
|
attestClaudeResponse(args: {
|
|
308
308
|
program_id: Hex64;
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function validateRouteId(value) {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
// src/version.ts
|
|
108
|
-
var SDK_VERSION = "0.2.
|
|
108
|
+
var SDK_VERSION = "0.2.11";
|
|
109
109
|
|
|
110
110
|
// src/client.ts
|
|
111
111
|
var DEFAULT_BASE_URL = "https://api.verdifax.com";
|
|
@@ -313,7 +313,7 @@ var VerdifaxClient = class {
|
|
|
313
313
|
}
|
|
314
314
|
// ── Provider helpers (Claude / OpenAI) ───────────────────────
|
|
315
315
|
/** Convenience for attesting an Anthropic Claude API response.
|
|
316
|
-
* Wires the response text into the AIVP
|
|
316
|
+
* Wires the response text into the AIVP governance pipeline
|
|
317
317
|
* by setting `ai_output_text`. */
|
|
318
318
|
async attestClaudeResponse(args) {
|
|
319
319
|
return this.attestProviderResponse({ ...args, provider: "anthropic" });
|
package/dist/index.mjs
CHANGED
|
@@ -71,7 +71,7 @@ function validateRouteId(value) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// src/version.ts
|
|
74
|
-
var SDK_VERSION = "0.2.
|
|
74
|
+
var SDK_VERSION = "0.2.11";
|
|
75
75
|
|
|
76
76
|
// src/client.ts
|
|
77
77
|
var DEFAULT_BASE_URL = "https://api.verdifax.com";
|
|
@@ -279,7 +279,7 @@ var VerdifaxClient = class {
|
|
|
279
279
|
}
|
|
280
280
|
// ── Provider helpers (Claude / OpenAI) ───────────────────────
|
|
281
281
|
/** Convenience for attesting an Anthropic Claude API response.
|
|
282
|
-
* Wires the response text into the AIVP
|
|
282
|
+
* Wires the response text into the AIVP governance pipeline
|
|
283
283
|
* by setting `ai_output_text`. */
|
|
284
284
|
async attestClaudeResponse(args) {
|
|
285
285
|
return this.attestProviderResponse({ ...args, provider: "anthropic" });
|