From 1739817ee7908ad5ac929e10fce839d76ac113f7 Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Thu, 12 Mar 2026 14:38:44 -0400 Subject: [PATCH] style(auth): remove service docstrings Drop the temporary auth service method comments now that the key normalization behavior has been reviewed. --- packages/opencode/src/auth/service.ts | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/packages/opencode/src/auth/service.ts b/packages/opencode/src/auth/service.ts index 66d907dfb2..100a132b87 100644 --- a/packages/opencode/src/auth/service.ts +++ b/packages/opencode/src/auth/service.ts @@ -39,36 +39,9 @@ const fail = (message: string) => (cause: unknown) => new AuthServiceError({ mes export namespace AuthService { export interface Service { - /** - * Loads the auth entry stored under the given key. - * - * Keys are usually provider IDs, but some callers store URL-shaped keys. - */ readonly get: (providerID: string) => Effect.Effect - - /** - * Loads all persisted auth entries. - * - * Invalid entries are ignored instead of failing the whole file so older or - * partially-corrupt auth records do not break unrelated providers. - */ readonly all: () => Effect.Effect, AuthServiceError> - - /** - * Stores an auth entry under a normalized key. - * - * URL-shaped keys are normalized by trimming trailing slashes. Before - * writing, we delete both the original key and the normalized-with-slash - * variant so historical duplicates collapse to one canonical entry. - */ readonly set: (key: string, info: Info) => Effect.Effect - - /** - * Removes the auth entry stored under the provided key. - * - * The raw key and its normalized form are both deleted so callers can pass - * either version during cleanup. - */ readonly remove: (key: string) => Effect.Effect } }