UNPKG

@code-yeongyu/senpi

Version:

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

19 lines • 1.03 kB
/** * RFC 7638/8037 thumbprint of an Ed25519 SPKI DER key: the raw 32 bytes after the fixed 12-byte prefix, as the OKP * JWK `{"crv":"Ed25519","kty":"OKP","x":…}`, SHA-256, base64url. `undefined` for any other key or encoding. */ export declare function presenterKeyThumbprint(spkiDer: Uint8Array): string | undefined; /** * Single-use `jti`s of one host incarnation. An entry is kept until its `exp` plus the issuer's 60 s skew, the last * moment the verifier still accepts the token. A full cache refuses instead of evicting: eviction reopens replay. */ export declare class PresenterJtiCache { private readonly seen; private readonly cap; constructor(cap?: number); admit(jti: string, exp: number, nowS: number): "ok" | "attestation_replayed" | "presenter_busy"; clear(): void; } /** Display and cache inputs from the issuer: non-empty, at most 256 characters, no control characters. */ export declare function boundedClaim(value: string): boolean; //# sourceMappingURL=mcp-presenter-attestation.d.ts.map