@atlascloudai/opencode 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -30
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
# Atlas Cloud Plugin for OpenCode
|
|
2
2
|
|
|
3
|
-
An [OpenCode](https://opencode.ai) plugin that integrates [Atlas Cloud's](https://atlascloud.ai) OpenAI-compatible API, giving you access to 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek, and more.
|
|
3
|
+
An [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.
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
7
|
### 1. Install and register the plugin
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx @
|
|
10
|
+
npx @atlascloudai/opencode
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
This downloads the plugin and registers it with OpenCode.
|
|
14
14
|
|
|
15
15
|
**Alternative: Global install**
|
|
16
16
|
```bash
|
|
17
|
-
npm install -g @
|
|
18
|
-
|
|
17
|
+
npm install -g @atlascloudai/opencode
|
|
18
|
+
atlascloudai-opencode
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### 2. Start OpenCode and connect
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
opencode
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Then connect
|
|
27
|
+
Then connect to Atlas Cloud:
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
1. Run `/connect`
|
|
30
|
+
2. Select **Atlas Cloud** from the provider list
|
|
31
|
+
3. Enter your API key when prompted
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### 3. Restart OpenCode to load models
|
|
34
34
|
|
|
35
35
|
Exit and restart OpenCode. Your Atlas Cloud models will now be available via `/models`.
|
|
36
36
|
|
|
@@ -38,23 +38,22 @@ Exit and restart OpenCode. Your Atlas Cloud models will now be available via `/m
|
|
|
38
38
|
|
|
39
39
|
| Command | Description |
|
|
40
40
|
|---------|-------------|
|
|
41
|
-
| `/connect
|
|
42
|
-
| `/
|
|
43
|
-
| `/atlascloud disconnect` | Remove your API key |
|
|
41
|
+
| `/connect` | Open provider selection to connect |
|
|
42
|
+
| `/models` | List available models |
|
|
44
43
|
|
|
45
44
|
## Available Models
|
|
46
45
|
|
|
47
46
|
The plugin dynamically fetches all available models from Atlas Cloud. Popular models include:
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
- GPT-4o, GPT-4o Mini, GPT-4.1, O1, O3
|
|
49
|
+
- Claude Sonnet 4.5, Claude Opus 4.5
|
|
50
|
+
- Gemini 2.5 Flash, Gemini 2.5 Pro
|
|
51
|
+
- DeepSeek V3.2, DeepSeek R1
|
|
52
|
+
- Kimi K2.5
|
|
53
|
+
- GLM 4.7
|
|
54
|
+
- MiniMax M2.1
|
|
55
|
+
- Qwen 3 Max
|
|
56
|
+
- Grok 4
|
|
58
57
|
|
|
59
58
|
And many more...
|
|
60
59
|
|
|
@@ -95,7 +94,7 @@ export ATLASCLOUD_API_KEY=your-api-key
|
|
|
95
94
|
|
|
96
95
|
```bash
|
|
97
96
|
# Clone the repository
|
|
98
|
-
git clone https://github.com/
|
|
97
|
+
git clone https://github.com/AtlasCloudAI/opencode-plugin.git
|
|
99
98
|
cd opencode-plugin
|
|
100
99
|
|
|
101
100
|
# Install dependencies
|
|
@@ -137,18 +136,18 @@ opencode # Start OpenCode
|
|
|
137
136
|
|
|
138
137
|
### Models not showing up
|
|
139
138
|
|
|
140
|
-
1. Ensure you've run `/connect
|
|
139
|
+
1. Ensure you've run `/connect` and selected Atlas Cloud with a valid key
|
|
141
140
|
2. **Restart OpenCode** after connecting (required to load models)
|
|
142
|
-
3.
|
|
141
|
+
3. Try `/models` to see if Atlas Cloud models appear
|
|
143
142
|
|
|
144
143
|
### Invalid API key error
|
|
145
144
|
|
|
146
|
-
1. Verify your key at [Atlas Cloud dashboard](https://atlascloud.ai)
|
|
147
|
-
2.
|
|
145
|
+
1. Verify your key at [Atlas Cloud dashboard](https://atlascloud.ai?utm_source=github&utm_medium=readme&utm_campaign=opencode-plugin)
|
|
146
|
+
2. Run `/connect` again and re-enter your key
|
|
148
147
|
|
|
149
148
|
### Plugin not loading
|
|
150
149
|
|
|
151
|
-
1. Run `npx @
|
|
150
|
+
1. Run `npx @atlascloudai/opencode` to re-register
|
|
152
151
|
2. Check `~/.config/opencode/opencode.json` has the plugin listed
|
|
153
152
|
|
|
154
153
|
### Debug mode
|
|
@@ -186,6 +185,6 @@ MIT
|
|
|
186
185
|
|
|
187
186
|
## Links
|
|
188
187
|
|
|
189
|
-
- [Atlas Cloud](https://atlascloud.ai)
|
|
188
|
+
- [Atlas Cloud](https://atlascloud.ai?utm_source=github&utm_medium=readme&utm_campaign=opencode-plugin)
|
|
190
189
|
- [OpenCode](https://opencode.ai)
|
|
191
|
-
- [Report Issues](https://github.com/
|
|
190
|
+
- [Report Issues](https://github.com/AtlasCloudAI/opencode-plugin/issues)
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlascloudai/opencode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "OpenCode plugin for Atlas Cloud - Access 100+ AI models including GPT-4o, Claude, Gemini, DeepSeek via OpenAI-compatible API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": {
|
|
9
|
-
"
|
|
9
|
+
"atlascloudai-opencode": "./bin/setup.cjs"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc",
|