@ariada-org/blamer-api-client
v0.1.0
Published
Typed HTTP client for the differential attribution API. Wraps @ariada-org/ai-authorship types. Usable standalone in any pipeline that needs AI-versus-human authorship analysis of code diffs.
Downloads
110
Maintainers
Readme
@ariada-org/blamer-api-client
Typed HTTP client for the differential authorship-attribution API. Wraps the
request/response types from @ariada-org/ai-authorship, so any pipeline that
needs AI-versus-human authorship analysis of code diffs can call the service
without hand-rolling the wire contract.
License: EUPL-1.2 (European Union Public Licence v1.2).
Install
npm install @ariada-org/blamer-api-clientRequires Node 22 LTS or newer.
Usage
import { BlamerClient } from '@ariada-org/blamer-api-client';
const client = new BlamerClient({ baseUrl: 'https://api.example.com' });
const result = await client.analyzeDiff({ diff, context });The client is standalone: it holds no credentials of its own and makes no calls until you invoke a method against a base URL you supply.
Documentation
Full API reference: https://github.com/ariada-org/ariada/tree/main/packages/blamer-api-client.
