@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 659 B
TypeScript
import { type CredentialDeclaration } from "./declarations.ts";
export interface ProxiedCredential {
readonly declaration: CredentialDeclaration;
readonly value: string;
}
export interface CredentialProxy {
/** The route a child uses for one credential: `http://127.0.0.1:<port>/<capability>/<env>`. */
routeFor(env: string): string | undefined;
close(): Promise<void>;
}
/** Binds the proxy on loopback; rejects when it cannot listen, so the caller never falls back to passing values. */
export declare function startCredentialProxy(credentials: readonly ProxiedCredential[]): Promise<CredentialProxy>;
//# sourceMappingURL=proxy.d.ts.map