UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

13 lines (12 loc) 438 B
import type { string_token } from '../../types/string_token'; /** * Generates random token * * Note: `$` is used to indicate that this function is not a pure function - it is not deterministic * Note: This function is cryptographically secure (it uses crypto.randomBytes internally) * * @returns secure random token * * @private internal helper function */ export declare function $randomToken(randomness: number): string_token;