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, }, {