{"_id":"@atlascloudai/opencode","_rev":"5-68b29d32090ff03aad708ffff36e2387","name":"@atlascloudai/opencode","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@atlascloudai/opencode","version":"1.0.0","keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"author":{"name":"Atlas Cloud"},"license":"MIT","_id":"@atlascloudai/opencode@1.0.0","maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"homepage":"https://github.com/atlascloud/opencode-plugin#readme","bugs":{"url":"https://github.com/atlascloud/opencode-plugin/issues"},"bin":{"atlascloud-opencode-plugin":"bin/setup.cjs"},"dist":{"shasum":"6430cb841bf950765c8adbe38181b9f9250e336b","tarball":"https://registry.npmjs.org/@atlascloudai/opencode/-/opencode-1.0.0.tgz","fileCount":9,"integrity":"sha512-54A5PNAlvX3X9gkgmegCFLj23XB1ltqSBydWOiEZWTcpI5QNHcOYOjWhFIRmaTL9eOxJPvQIDMe7UZ9oo/HlTg==","signatures":[{"sig":"MEQCID07RCZNEpGsKIXP3f8NZpCMiXA2D0AV/IiFIeGCVK9XAiAINlQ6JwkybZV3/BQ+vLF1g1MPfbguijB10ixVy/YJKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78998},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7f4bdd419b49b7452856002522624f28aa5e8540","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"},"repository":{"url":"git+https://github.com/atlascloud/opencode-plugin.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.22.4","@opencode-ai/plugin":"^1.0.85"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode_1.0.0_1770153914592_0.6190496085663271","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@atlascloudai/opencode","version":"0.0.1","keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"author":{"name":"Atlas Cloud"},"license":"MIT","_id":"@atlascloudai/opencode@0.0.1","maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"homepage":"https://github.com/atlascloud/opencode-plugin#readme","bugs":{"url":"https://github.com/atlascloud/opencode-plugin/issues"},"bin":{"atlascloudai-opencode":"bin/setup.cjs"},"dist":{"shasum":"3871224454cd72908f8accbf7629db1e4f977702","tarball":"https://registry.npmjs.org/@atlascloudai/opencode/-/opencode-0.0.1.tgz","fileCount":9,"integrity":"sha512-XhKkA4osaE8sELwRfBkWPY3ZZVuP3RXA8nJCMlniMRBMjJd5uNRHzsj2Zs8u8V36I9ZrQV8Kr/HSWYsoTxTyhA==","signatures":[{"sig":"MEYCIQDYTEGRKKDOEePxpbo0EEn29hW9/ehD751/bwGQ1uquoQIhAOSdeF/389wJTfuH2OLzz5WXcuVXcvg/gahJJOrQrrTZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78973},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7f4bdd419b49b7452856002522624f28aa5e8540","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"},"repository":{"url":"git+https://github.com/atlascloud/opencode-plugin.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.22.4","@opencode-ai/plugin":"^1.0.85"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode_0.0.1_1770154124914_0.7612243892451762","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@atlascloudai/opencode","version":"1.0.1","keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"author":{"name":"Atlas Cloud"},"license":"MIT","_id":"@atlascloudai/opencode@1.0.1","maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"homepage":"https://github.com/atlascloud/opencode-plugin#readme","bugs":{"url":"https://github.com/atlascloud/opencode-plugin/issues"},"bin":{"atlascloudai-opencode":"bin/setup.cjs"},"dist":{"shasum":"f07649528c76966d5fc4bed5f9af1744e348c6d8","tarball":"https://registry.npmjs.org/@atlascloudai/opencode/-/opencode-1.0.1.tgz","fileCount":9,"integrity":"sha512-WrIxjMBHcGnk0x0R8wezL5cSIGDmC0JQRQvDK0Qnl9AL/W0ee0nV/DpLhRSGtcSLXHB86noOoZwhe71BMyge2Q==","signatures":[{"sig":"MEQCIH9GCNk8r+AeZVfUMv1HiLXaoBBMYd235e0mttAtHmUcAiAX+QqBnTTYP4THjrHZd6VVIvcJ4Sw9jI0/lnRNY61ulA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78973},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7f4bdd419b49b7452856002522624f28aa5e8540","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"},"repository":{"url":"git+https://github.com/atlascloud/opencode-plugin.git","type":"git"},"_npmVersion":"10.9.2","description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.22.4","@opencode-ai/plugin":"^1.0.85"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode_1.0.1_1770154298238_0.05397090998996901","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@atlascloudai/opencode","version":"1.0.2","keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"author":{"name":"Atlas Cloud"},"license":"MIT","_id":"@atlascloudai/opencode@1.0.2","maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"homepage":"https://github.com/atlascloud/opencode-plugin#readme","bugs":{"url":"https://github.com/atlascloud/opencode-plugin/issues"},"bin":{"atlascloudai-opencode":"bin/setup.cjs"},"dist":{"shasum":"c45436d932b71576ddb25d8b879a9d9569840aac","tarball":"https://registry.npmjs.org/@atlascloudai/opencode/-/opencode-1.0.2.tgz","fileCount":9,"integrity":"sha512-Cz6TeliUW9od0oUIo0kbx6twWJET9LdS5dqyVBGG7rXzwBhh9sF5+9uVc0OuL9i6OeY5C+H7SI6sHNJBNV1bnQ==","signatures":[{"sig":"MEUCIQCzJtHPNm/36RVTYAQ5Fgl4HEfXOYUWrAK0BCK+5oM9CQIgQK7voDr+LQfazv3O9FPWVv9fWbpuwnhAkYFBNegQL4E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79075},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"3d99121ddf5fdd7c9f263a33db57a40c5ff9b3af","scripts":{"dev":"tsc --watch","test":"echo \"No tests yet\" && exit 0","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"},"repository":{"url":"git+https://github.com/atlascloud/opencode-plugin.git","type":"git"},"_npmVersion":"10.9.3","description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.22.4","@opencode-ai/plugin":"^1.0.85"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode_1.0.2_1770388857695_0.21825843389856736","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@atlascloudai/opencode","version":"1.0.3","description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","main":"dist/index.js","types":"dist/index.d.ts","type":"module","bin":{"atlascloudai-opencode":"bin/setup.cjs"},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build","test":"echo \"No tests yet\" && exit 0"},"keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"author":{"name":"Atlas Cloud"},"license":"MIT","homepage":"https://github.com/AtlasCloudAI/opencode-plugin#readme","repository":{"type":"git","url":"git+https://github.com/AtlasCloudAI/opencode-plugin.git"},"bugs":{"url":"https://github.com/AtlasCloudAI/opencode-plugin/issues"},"dependencies":{"@opencode-ai/plugin":"^1.0.85","zod":"^3.22.4"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0"},"engines":{"node":">=18.0.0"},"_id":"@atlascloudai/opencode@1.0.3","gitHead":"3d99121ddf5fdd7c9f263a33db57a40c5ff9b3af","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-M15Fa3Lkt4vesUTzAd7nTz2sT7OWKh0hCg8LCDA+5ooBdQMsNqpWwUOwP9FbmfzT2G10uyOSQQ2PwZe0iwRiQg==","shasum":"7fb25f6a006685630a96e68bfc8c074b60b322ed","tarball":"https://registry.npmjs.org/@atlascloudai/opencode/-/opencode-1.0.3.tgz","fileCount":9,"unpackedSize":79081,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGhr4TzvZnc0H0bAEOjtouEgV4eElszHuJ7+vhkMQsIzAiEA34TgmhauWiD69THk8W/7kdh3IdGkelX0BL/5/dcg0U8="}]},"_npmUser":{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"},"directories":{},"maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode_1.0.3_1770389080763_0.5073720834499085"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-03T21:25:14.515Z","modified":"2026-02-06T14:44:41.101Z","1.0.0":"2026-02-03T21:25:14.737Z","0.0.1":"2026-02-03T21:28:45.058Z","1.0.1":"2026-02-03T21:31:38.405Z","1.0.2":"2026-02-06T14:40:57.845Z","1.0.3":"2026-02-06T14:44:40.930Z"},"bugs":{"url":"https://github.com/AtlasCloudAI/opencode-plugin/issues"},"author":{"name":"Atlas Cloud"},"license":"MIT","homepage":"https://github.com/AtlasCloudAI/opencode-plugin#readme","keywords":["opencode","plugin","atlascloud","atlas-cloud","ai","llm","gpt-4","claude","gemini","deepseek","openai-compatible"],"repository":{"type":"git","url":"git+https://github.com/AtlasCloudAI/opencode-plugin.git"},"description":"OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API","maintainers":[{"name":"milo.ding","email":"milo.ding@atlascloud.ai"},{"name":"shreyansh-atlascloud","email":"shreyansh.sheth@atlascloud.ai"}],"readme":"# Atlas Cloud Plugin for OpenCode\n\nAn [OpenCode](https://opencode.ai) plugin that integrates [Atlas Cloud's](https://atlascloud.ai?utm_source=github&utm_medium=readme&utm_campaign=opencode-plugin) OpenAI-compatible API, giving you access to 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek, and more.\n\n## Quick Start\n\n### 1. Install and register the plugin\n\n```bash\nnpx @atlascloudai/opencode\n```\n\nThis downloads the plugin and registers it with OpenCode.\n\n**Alternative: Global install**\n```bash\nnpm install -g @atlascloudai/opencode\natlascloudai-opencode\n```\n\n### 2. Start OpenCode and connect\n\n```bash\nopencode\n```\n\nThen connect to Atlas Cloud:\n\n1. Run `/connect`\n2. Select **Atlas Cloud** from the provider list\n3. Enter your API key when prompted\n\n### 3. Restart OpenCode to load models\n\nExit and restart OpenCode. Your Atlas Cloud models will now be available via `/models`.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/connect` | Open provider selection to connect |\n| `/models` | List available models |\n\n## Available Models\n\nThe plugin dynamically fetches all available models from Atlas Cloud. Popular models include:\n\n- GPT-4o, GPT-4o Mini, GPT-4.1, O1, O3\n- Claude Sonnet 4.5, Claude Opus 4.5\n- Gemini 2.5 Flash, Gemini 2.5 Pro\n- DeepSeek V3.2, DeepSeek R1\n- Kimi K2.5\n- GLM 4.7\n- MiniMax M2.1\n- Qwen 3 Max\n- Grok 4\n\nAnd many more...\n\n## Configuration\n\n### API Key Sources (in priority order)\n\n1. **OpenCode auth.json** - `~/.local/share/opencode/auth.json`\n2. **Plugin config** - `~/.atlascloud/config.json`\n3. **Environment variable** - `ATLASCLOUD_API_KEY`\n\n### Manual Configuration\n\nIf you prefer not to use `/connect`, you can manually create the config:\n\n**Option 1: Environment variable**\n```bash\nexport ATLASCLOUD_API_KEY=your-api-key\n```\n\n**Option 2: Config file** (`~/.atlascloud/config.json`)\n```json\n{\n  \"version\": \"1.0.0\",\n  \"apiKey\": \"your-api-key\"\n}\n```\n\n## Development\n\n### Prerequisites\n\n- Node.js >= 18.0.0\n- npm or bun\n- [OpenCode](https://opencode.ai) installed\n\n### Local Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/AtlasCloudAI/opencode-plugin.git\ncd opencode-plugin\n\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Register plugin locally\nnode bin/setup.cjs\n\n# Start OpenCode\nopencode\n```\n\n### Watch Mode\n\n```bash\nnpm run dev\n```\n\n### Testing in Docker\n\nFor a clean, isolated test environment:\n\n```bash\n# Build Docker image\nmake build\n\n# Run container\nmake run\n\n# Inside container:\nnode bin/setup.cjs    # Register plugin\nopencode              # Start OpenCode\n```\n\n## Troubleshooting\n\n### Models not showing up\n\n1. Ensure you've run `/connect` and selected Atlas Cloud with a valid key\n2. **Restart OpenCode** after connecting (required to load models)\n3. Try `/models` to see if Atlas Cloud models appear\n\n### Invalid API key error\n\n1. Verify your key at [Atlas Cloud dashboard](https://atlascloud.ai?utm_source=github&utm_medium=readme&utm_campaign=opencode-plugin)\n2. Run `/connect` again and re-enter your key\n\n### Plugin not loading\n\n1. Run `npx @atlascloudai/opencode` to re-register\n2. Check `~/.config/opencode/opencode.json` has the plugin listed\n\n### Debug mode\n\nEnable debug logging:\n```bash\nATLASCLOUD_DEBUG=1 opencode\n```\n\n## Architecture\n\n```\nopencode-atlascloud-plugin/\n├── bin/\n│   └── setup.cjs          # CLI setup script\n├── src/\n│   ├── index.ts           # Plugin entry point\n│   └── server/\n│       ├── config.ts      # Configuration management\n│       └── models.ts      # Model fetching & formatting\n├── dist/                  # Compiled output\n├── package.json\n└── tsconfig.json\n```\n\n## API Reference\n\n**Base URL**: `https://api.atlascloud.ai/v1`\n\nThe plugin uses Atlas Cloud's OpenAI-compatible API via `@ai-sdk/openai-compatible`.\n\n## License\n\nMIT\n\n## Links\n\n- [Atlas Cloud](https://atlascloud.ai?utm_source=github&utm_medium=readme&utm_campaign=opencode-plugin)\n- [OpenCode](https://opencode.ai)\n- [Report Issues](https://github.com/AtlasCloudAI/opencode-plugin/issues)\n","readmeFilename":"README.md"}