Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agent-score/sdk",
"version": "2.7.4",
"version": "2.7.5",
"description": "TypeScript client for the AgentScore APIs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
13 changes: 13 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,19 @@ export interface AssessResponse {
* Returned regardless of identity_method so agents can enumerate all wallets they could
* sign with to satisfy a wallet-auth claim. Capped at 100 entries. */
linked_wallets?: string[];
/** Stable pairwise handle (`oph_...`) for the ACCOUNT behind a presented operator token.
*
* This is the identity durable merchant state should key on, because it survives the
* token rotating, expiring or being revoked: an `opc_` lives 24h and rotates silently
* off a 90-day refresh, so anything keyed on the token instance is stranded daily.
* Pairwise per consuming account, so the same buyer presents an unrelated handle to
* every merchant and handles never correlate across them.
*
* Carries no compliance meaning: a registration-only (`sign_in`) credential resolves the
* same as a KYC-backed one, so read the decision fields for policy. Present only on the
* operator-token path, and returned on denials too, since it is identity rather than a
* verdict. */
operator_handle?: string;
verify_url?: string;
policy_result?: PolicyResult | null;
explanation?: PolicyExplanation[];
Expand Down