Abstract ports CAP depends on. Same DIP pattern as open-managed-agents/packages/vaults-store/src/ports.ts. These are tiny on purpose: every method takes plain data and returns plain data. No fetch, no Date, no console — those are what the consumer supplies via the impl. ─── Resol
// Source: https://github.com/openma-ai/open-managed-agents | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Abstract ports CAP depends on. Same DIP pattern as
// open-managed-agents/packages/vaults-store/src/ports.ts.
//
// These are tiny on purpose: every method takes plain data and returns
// plain data. No fetch, no Date, no console — those are what the consumer
// supplies via the impl.
// ─── Resolver: the credential lookup port ──────────────────────────────────
export interface Resolver {
/**
* Return the live credential for (principal, cli_id, hostname), or null if
* no credential is configured.
*
* The resolver owns lifecycle: cache, OAuth refresh, leas
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key