{"_id":"@acretix-verify/sdk","name":"@acretix-verify/sdk","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@acretix-verify/sdk","version":"0.1.0","description":"TypeScript client for the AI Verify API — rubric-based verdicts with signed, re-verifiable proofs.","type":"module","main":"dist/client.js","types":"dist/client.d.ts","exports":{".":{"types":"./dist/client.d.ts","default":"./dist/client.js"}},"scripts":{"build":"tsc -p tsconfig.json"},"homepage":"https://api.acretix.io/docs","license":"MIT","_id":"@acretix-verify/sdk@0.1.0","gitHead":"2e6fa97f3cb47e4988fafcd54cf53621cf331ba8","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-oIJd5DW0hxgb23uQmvxQl0u4bHGae95zrwXaBCgZxFazPm68SkSKqUKtBAfZuN36YH6Ws1iZA1mV9429SRmXAw==","shasum":"b0c9b7085038077d115674345c96458f83f7e8a6","tarball":"https://registry.npmjs.org/@acretix-verify/sdk/-/sdk-0.1.0.tgz","fileCount":5,"unpackedSize":9865,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAyUwf+/ysp5Y0XT7lyWaxMU23uvm2CzzqFNl+lFpgpZAiBqa1hJWAUJSeobJnfP2TLdbkQCIyCvsmEQxU3JQ2Og6g=="}]},"_npmUser":{"name":"trevortileston","email":"trevor@alhambragrowthpartners.com"},"directories":{},"maintainers":[{"name":"trevortileston","email":"trevor@alhambragrowthpartners.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.0_1781186862901_0.5725478097058938"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-11T14:07:42.739Z","0.1.0":"2026-06-11T14:07:43.104Z","modified":"2026-06-11T14:07:43.413Z"},"maintainers":[{"name":"trevortileston","email":"trevor@alhambragrowthpartners.com"}],"description":"TypeScript client for the AI Verify API — rubric-based verdicts with signed, re-verifiable proofs.","homepage":"https://api.acretix.io/docs","license":"MIT","readme":"# @acretix-verify/sdk\n\nTypeScript client for the [AI Verify API](https://api.acretix.io/docs) — submit work against a\nrubric and receive a scored, explained verdict with an Ed25519-signed, independently re-verifiable\nproof.\n\n```ts\nimport { AcretixVerify } from '@acretix-verify/sdk';\n\nconst client = new AcretixVerify({ apiKey: process.env.VERIFY_API_KEY! });\n\nconst rubric = await client.compileRubric({\n  name: 'invoice-check',\n  criteria: [\n    { key: 'total_present', type: 'must_have', primitive: 'regex_match@1', config: { pattern: 'Total: \\\\$[0-9]+' } },\n  ],\n});\n\nconst verdict = await client.submitVerification(\n  { rubric_id: rubric.rubric_id, submission: { inline: 'Invoice... Total: $420' } },\n  { waitMs: 30000, idempotencyKey: 'invoice-001' },\n);\n// verdict.determination: 'met' | 'partial' | 'not_met' — flagged=true means needs_review:\n// below the confidence threshold the engine abstains rather than asserting a verdict.\n\nconst report = await client.reverify(verdict.verification_id);\n// report.ok && report.chain_ok — the proof verifies against the published public key.\n```\n\n- Verdicts below the confidence threshold are **flagged `needs_review`** — the engine abstains\n  instead of guessing; your application decides what happens next.\n- Proofs are signed with Ed25519 and re-verifiable by any third party against the published\n  public key — see the [docs](https://api.acretix.io/docs) for the proof format.\n- Also available: `getVerification`, `waitForVerification`, `getProof`, `getUsage`, `submitFeedback`.\n- Usage is metered per verification by judge tier.\n\nZero runtime dependencies. Node 18+ (built-in `fetch`).\n\nLicense: MIT\n","readmeFilename":"README.md","_rev":"1-c65e0ca3500d0a86b0c72b26b936c5af"}