@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 721 B
JavaScript
export class SecretNotLeased extends Error {
constructor(field) {
super(`secret not leased: ${field}`);
this.name = "SecretNotLeased";
this.field = field;
}
}
/**
* A sealed release that did not produce a value. It is never a plaintext fallback: the caller routes the step to a
* device or waits. `retryable` marks the refusals that clear on their own (custody design 3.3 and the L844 rule).
*/
export class CredentialWait extends Error {
constructor(reason, retryable) {
super(`sealed credential unavailable: ${reason}`);
this.name = "CredentialWait";
this.reason = reason;
this.retryable = retryable;
}
}
//# sourceMappingURL=credentials.js.map