SDK Reference
The@id-wispera/core package is the foundation of ID Wispera. It provides credential detection, encrypted vault storage, policy evaluation, delegation management, secure sharing, and framework integrations.
All three SDKs (TypeScript, Python, Go) implement the same vault format and core concepts. This reference documents the TypeScript API — Python and Go follow identical patterns with language-appropriate naming conventions.
Installation
Package Structure
The SDK is organized into these modules:| Module | Purpose |
|---|---|
| Vault | Encrypted credential storage with AES-256-GCM |
| Passport | Create, read, update, revoke credential passports |
| Detection | Auto-detect credentials from text, files, directories |
| Policy | Cedar-inspired declarative policy engine |
| Audit | Append-only audit trail with suspicious activity detection |
| Delegation | Multi-hop delegation chains with scope narrowing |
| Sharing | Zero-knowledge credential sharing |
| Integrations | Framework providers for OpenAI, LangChain, Slack, A2A |
| Exec | Subprocess credential injection |
| Provisioning | Provision credentials from external providers |