@mimikkai/opencode-mimikkai-connect 1.0.1 → 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 +18 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@ OpenCode plugin for MimikkAi — device authorization flow + LiteLLM gateway int
|
|
|
8
8
|
opencode plugin @mimikkai/opencode-mimikkai-connect
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Authentication
|
|
12
12
|
|
|
13
13
|
```shell
|
|
14
|
-
#
|
|
14
|
+
# Login via device authorization
|
|
15
15
|
opencode providers login --provider mimikkai-connect --method "Device Authorization"
|
|
16
16
|
|
|
17
17
|
# Or use the interactive flow
|
|
@@ -20,6 +20,22 @@ opencode auth login
|
|
|
20
20
|
|
|
21
21
|
A browser opens — confirm the displayed code. The plugin fetches your LiteLLM virtual key and syncs available models automatically.
|
|
22
22
|
|
|
23
|
+
## CLI Commands
|
|
24
|
+
|
|
25
|
+
| Command | Description |
|
|
26
|
+
|---------|-------------|
|
|
27
|
+
| `opencode plugin @mimikkai/opencode-mimikkai-connect` | Install the plugin |
|
|
28
|
+
| `opencode providers login --provider mimikkai-connect --method "Device Authorization"` | Authenticate with MimikkAi |
|
|
29
|
+
| `opencode providers logout mimikkai-connect` | Remove stored credentials |
|
|
30
|
+
| `opencode providers list` | List configured providers |
|
|
31
|
+
|
|
32
|
+
## Environment Variables
|
|
33
|
+
|
|
34
|
+
| Variable | Default | Description |
|
|
35
|
+
|----------|---------|-------------|
|
|
36
|
+
| `LOG_LEVEL` | `warn` | Set to `debug` for verbose logging |
|
|
37
|
+
| `OPENCODE_CONFIG_DIR` | `~/.config/opencode` | Config directory path |
|
|
38
|
+
|
|
23
39
|
## License
|
|
24
40
|
|
|
25
41
|
MIT License.
|