run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
24 lines • 1.14 kB
TypeScript
/**
* Which local profiles hold a repo-key FILE for `repoId` — a directory
* listing plus a filename check, nothing more. Built on `core/src/profiles.ts`'s
* own `listProfileNames`/`profileDir` — the SAME "wallets on this machine"
* enumeration `run402 wallets list` uses — rather than a second copy of that
* logic. Never throws: an unreadable profiles directory, a permissions
* error, or a malformed `repoId` all resolve to "found nothing" rather than
* failing the refusal path this feeds into.
*/
export declare function findLocalProfilesHoldingVaultRepo(repoId: string, options?: {
excludeProfile?: string;
}): string[];
/**
* Build the `next_actions` entries naming the profile(s) found and the two
* selection mechanisms every keystore-miss refusal points at. `[]` when the
* scan finds nothing local to point at — callers append this to whatever
* refusal-specific remedies they already carry, never replacing them.
*/
export declare function crossProfileVaultHint(repoId: string, options?: {
excludeProfile?: string;
}): {
action: string;
}[];
//# sourceMappingURL=vault-profile-scan.d.ts.map