diff --git a/README.md b/README.md index 5b6adc9..e9c3e7f 100644 --- a/README.md +++ b/README.md @@ -93,10 +93,10 @@ const client = new ElydoraClient({ ### Authentication ```typescript -// Register a new user and organization +// Register a new user and organization (returns session token) const reg = await ElydoraClient.register(baseUrl, email, password, displayName?, orgName?); -// Login and receive a JWT +// Login and receive a session token const auth = await ElydoraClient.login(baseUrl, email, password); // Set token on client diff --git a/src/cli.ts b/src/cli.ts index b4e42d9..25719b1 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -41,7 +41,7 @@ function printUsage(): void { console.log(`Elydora CLI — Tamper-evident audit for AI coding agents Usage: - elydora install --agent --org_id --agent_id --private_key --kid [--token ] [--base_url ] + elydora install --agent --org_id --agent_id --private_key --kid [--token ] [--base_url ] elydora uninstall --agent [--agent_id ] elydora status elydora agents diff --git a/src/client.ts b/src/client.ts index e359322..abf9129 100644 --- a/src/client.ts +++ b/src/client.ts @@ -66,7 +66,7 @@ export class ElydoraClient { } /** - * Set the JWT token used for authenticated API calls. + * Set the API token used for authenticated API calls. */ setToken(token: string): void { this.token = token; diff --git a/src/types.ts b/src/types.ts index a187b5c..4f7b5fa 100644 --- a/src/types.ts +++ b/src/types.ts @@ -273,7 +273,6 @@ export interface RotateApiTokenResponse { readonly token: string; readonly expires_at: number | null; readonly token_id: string; - readonly previous_token_grace_until: number; } export interface HealthResponse {