UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines • 891 B
import type { AccountPrincipal, PresenterAccountAuthority, PresenterAccountRefusal } from "./mcp-presenter-account.ts"; /** * Why an account principal is no longer current (D11 S3-4), or `undefined` while it is: the host must still be signed * into the attested account, and the attestation must not have reached `attestedUntil`. */ export declare function accountLapse(principal: Pick<AccountPrincipal, "acc" | "attestedUntil">, authority: PresenterAccountAuthority | undefined): PresenterAccountRefusal | undefined; /** One timer per account principal that revokes it at `attestedUntil`; each re-attestation re-arms it. */ export declare class AttestationExpiry { private readonly timers; arm(principal: AccountPrincipal, expire: () => void): void; clear(principal: AccountPrincipal): void; dispose(): void; } //# sourceMappingURL=mcp-presenter-account-lifetime.d.ts.map