@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 739 B
TypeScript
export type AccountBlockRecord = {
readonly account: string;
readonly reason: string;
readonly until: number | undefined;
/** Whether the block was written to the credential store for every session, or held for this session only. */
readonly shared: boolean;
readonly detail: string;
};
/**
* Writes one `account_blocked` line to session.log for every block that is saved, so a pool that later
* refuses a request locally has a recorded cause (senpi#4671). The account is named by its seat digest,
* never its name (Desktop#4753); an unknown end time is left out rather than guessed.
*/
export declare function logAccountBlocked(record: AccountBlockRecord): void;
//# sourceMappingURL=account-block-log.d.ts.map