From 38bf4c65220486d45cc7551c5faa71994fc4f4f4 Mon Sep 17 00:00:00 2001 From: Jakob Karlstrand Date: Mon, 14 Sep 2026 11:24:21 +0200 Subject: [PATCH] feat: clearer login method labels - 'Berget Code Seat - Login using other device with QR' (device method) - README updated to match --- README.md | 4 ++-- src/plugin.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 456c07f..6714266 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,12 @@ For team members with a Berget Code seat, on machines with a browser: 2. Select "Berget Code Seat - Magic link" 3. The login page opens in your browser — token refresh is automatic -### Berget Code Seat — QR or device code +### Berget Code Seat — Login using other device with QR For headless environments (SSH, CI, containers) where the browser cannot open on the same machine: 1. Run `/connect` in OpenCode -2. Select "Berget Code Seat - QR or device code" +2. Select "Berget Code Seat - Login using other device with QR" 3. Scan the QR code with your phone, or open the link shown in the dialog — the sign-in code is already included in it 4. Approve the sign-in on the other device; OpenCode continues automatically diff --git a/src/plugin.ts b/src/plugin.ts index c7a7f31..57987e0 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -137,7 +137,7 @@ export const BergetAuthPlugin = async ({ client }: PluginInput): Promise }, { authorize: createDeviceAuthorizeMethod(), - label: 'Berget Code Seat - QR or device code', + label: 'Berget Code Seat - Login using other device with QR', type: 'oauth' as const, }, {