open-index/open-npm huggingface dataset:
npm package: @hospitalrun-org/components
Description: The new package is [available here](https://www.npmjs.com/package/@hospitalrun/components) at @hospitalrun/components
Latest version: 0.1.4
Deprecated: Deprecated package. The new package can be reached at @hospitalrun/components

# HospitalRun Components (Deprecate)

The new package is [available here](https://www.npmjs.com/package/@hospitalrun/components) at @hospitalrun/components
npm package: @hossamzein1/opencode-openai-multi-auth
Description: OpenCode plugin for OpenAI OAuth multi-account rotation
Author: PC2
Latest version: 0.1.1

# opencode-openai-multi-auth

OpenCode plugin that adds Antigravity-style multi-account rotation for the `openai` provider.

## Features

- Stores multiple OpenAI OAuth accounts in `~/.config/opencode/openai-accounts.json`
- Runs account rotation on rate-limit (`429`, `503`, `529`)
- Supports:
  - `sticky` strategy
  - `round-robin` strategy
- Optional `pid_offset_enabled` for parallel processes

## Configure

Add plugin in `~/.config/opencode/opencode.json`:

```json
{
  "plugin": [
    "@hossamzein1/opencode-openai-multi-auth",
    "opencode-pty"
  ]
}
```

Optional plugin config file `~/.config/opencode/openai-multi.json`:

```json
{
  "account_selection_strategy": "sticky",
  "pid_offset_enabled": true,
  "rate_limit_cooldown_seconds": 60
}
```

## Add Accounts

Run multiple times:

```bash
opencode auth login openai
```

Each successful login is merged into `openai-accounts.json`.