Skip to content

@agenttrust-sdk/trustgate v0.2.0 — ProgramIds ergonomics

Choose a tag to compare

@mohit-1710 mohit-1710 released this 07 May 16:56

Two e2e-surfaced API issues, shipped together as a single breaking-change release.

Breaking changes

  • `ProgramIds.trustgate` renamed to `ProgramIds.trustGate` (camelCase, matches `policyVault`).
  • `ProgramIds` now includes `validationRegistry`, populated by default with the live devnet validation-registry program ID.

One-line consumer migration: search-and-replace `.trustgate` → `.trustGate` for every `programIds.` / `DEFAULT_DEVNET_PROGRAM_IDS.` field access.

See the Breaking changes (0.2.0) section in the SDK README for the full migration walk-through.

Verification

  • 56 SDK unit tests, 146 server tests, 76 MCP tests, 20 demo tests, 52 anchor tests — all green on commit `00ca222`.
  • Fresh-install probe (`pnpm pack` + `npm install`) confirms the new exports: `['policyVault','trustGate','validationRegistry']`.
  • The MCP package was bumped to `0.2.0` in the same commit so its `@agenttrust-sdk/trustgate` dep tracks `^0.2.0`.

Install

```bash
pnpm add @agenttrust-sdk/trustgate
```

Diff

`62c5f2b...00ca222`