oh-my-opencode 0.4.1 → 0.4.3
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.ko.md +15 -6
- package/README.md +15 -6
- package/dist/config/schema.d.ts +1 -0
- package/dist/index.js +1509 -31
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -43,7 +43,7 @@ OpenCode 가 낭만이 사라진것같은 오늘날의 시대에, 당신에게
|
|
|
43
43
|
- 이 플러그인은 [OpenCode Zen](https://opencode.ai/docs/zen/), Google, OpenAI, Anthropic 의 모델을 사용합니다.
|
|
44
44
|
- Anthropic 모델들을 사용하기 위해 [OpenCode 의 내장 Claude Code Max Plan 로그인 기능](https://opencode.ai/docs/providers/#anthropic)을 사용하세요.
|
|
45
45
|
- OpenAI 모델 (ChatGPT Plus/Pro)을 사용하기 위해 [OpenCode-OpenAI-Codex-Auth 플러그인](https://github.com/numman-ali/opencode-openai-codex-auth)을 설치하세요.
|
|
46
|
-
- Google Gemini 모델을 위해 `oh-my-opencode
|
|
46
|
+
- Google Gemini 모델을 위해 `oh-my-opencode.json`에서 `google_auth: true`를 활성화하세요 (**내장 Antigravity OAuth**).
|
|
47
47
|
- 다른 프로바이더를 위해 [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) 또는 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)를 대안으로 사용할 수 있습니다.
|
|
48
48
|
- **사실 밑의 내용은 읽지 않아도 됩니다. 그냥 설치하시면 됩니다. 모델 설정하고나면 추가로 공부하거나 알 필요가 없고, 설치하고 나면 그냥 더 좋아집니다.**
|
|
49
49
|
- **이 문서도 그냥 Claude Code, OpenCode, Cursor에 붙여넣고, 설치하고, 사용자의 개입이 필요할 때 알려달라고 프롬프팅하세요. 그럼 그냥 깔립니다.**
|
|
@@ -123,14 +123,11 @@ opencode auth login
|
|
|
123
123
|
|
|
124
124
|
#### 4.2 Google Gemini (내장 Antigravity OAuth)
|
|
125
125
|
|
|
126
|
-
먼저
|
|
126
|
+
먼저 `~/.config/opencode/oh-my-opencode.json` (또는 프로젝트 레벨의 `.opencode/oh-my-opencode.json`)에서 Google auth를 활성화:
|
|
127
127
|
|
|
128
128
|
```json
|
|
129
129
|
{
|
|
130
|
-
"
|
|
131
|
-
"oh-my-opencode",
|
|
132
|
-
"oh-my-opencode/google-auth"
|
|
133
|
-
]
|
|
130
|
+
"google_auth": true
|
|
134
131
|
}
|
|
135
132
|
```
|
|
136
133
|
|
|
@@ -444,6 +441,18 @@ Schema 자동 완성이 지원됩니다:
|
|
|
444
441
|
}
|
|
445
442
|
```
|
|
446
443
|
|
|
444
|
+
### Google Auth
|
|
445
|
+
|
|
446
|
+
Google Gemini 모델을 위한 내장 Antigravity OAuth를 활성화합니다:
|
|
447
|
+
|
|
448
|
+
```json
|
|
449
|
+
{
|
|
450
|
+
"google_auth": true
|
|
451
|
+
}
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
활성화하면 `opencode auth login` 실행 시 Google 프로바이더에서 "OAuth with Google (Antigravity)" 로그인 옵션이 표시됩니다.
|
|
455
|
+
|
|
447
456
|
### Agents
|
|
448
457
|
|
|
449
458
|
내장 에이전트 설정을 오버라이드할 수 있습니다:
|
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Even if you don't, invest a little time. Boost your skills and productivity by m
|
|
|
42
42
|
- This plugin utilizes models from [OpenCode Zen](https://opencode.ai/docs/zen/), Google, OpenAI, and Anthropic.
|
|
43
43
|
- For Anthropic models, use [OpenCode's built-in Claude Code Max Plan login](https://opencode.ai/docs/providers/#anthropic).
|
|
44
44
|
- For OpenAI models (ChatGPT Plus/Pro), install the [OpenCode-OpenAI-Codex-Auth plugin](https://github.com/numman-ali/opencode-openai-codex-auth).
|
|
45
|
-
- For Google Gemini models,
|
|
45
|
+
- For Google Gemini models, enable `google_auth: true` in `oh-my-opencode.json` for **built-in Antigravity OAuth**.
|
|
46
46
|
- For other providers, [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) remain available as alternatives.
|
|
47
47
|
- **Truth be told, the rest is optional. Just install it. Once set up, no further learning is required. It simply evolves.**
|
|
48
48
|
- **Paste this document into Claude Code, OpenCode, or Cursor, instruct it to install, and ask for assistance if needed. It just installs.**
|
|
@@ -122,14 +122,11 @@ opencode auth login
|
|
|
122
122
|
|
|
123
123
|
#### 4.2 Google Gemini (Built-in Antigravity OAuth)
|
|
124
124
|
|
|
125
|
-
First,
|
|
125
|
+
First, enable Google auth in `~/.config/opencode/oh-my-opencode.json` (or `.opencode/oh-my-opencode.json` for project-level):
|
|
126
126
|
|
|
127
127
|
```json
|
|
128
128
|
{
|
|
129
|
-
"
|
|
130
|
-
"oh-my-opencode",
|
|
131
|
-
"oh-my-opencode/google-auth"
|
|
132
|
-
]
|
|
129
|
+
"google_auth": true
|
|
133
130
|
}
|
|
134
131
|
```
|
|
135
132
|
|
|
@@ -442,6 +439,18 @@ Schema autocomplete is supported:
|
|
|
442
439
|
}
|
|
443
440
|
```
|
|
444
441
|
|
|
442
|
+
### Google Auth
|
|
443
|
+
|
|
444
|
+
Enable built-in Antigravity OAuth for Google Gemini models:
|
|
445
|
+
|
|
446
|
+
```json
|
|
447
|
+
{
|
|
448
|
+
"google_auth": true
|
|
449
|
+
}
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
When enabled, `opencode auth login` will show "OAuth with Google (Antigravity)" as a login option for the Google provider.
|
|
453
|
+
|
|
445
454
|
### Agents
|
|
446
455
|
|
|
447
456
|
Override built-in agent settings:
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -543,6 +543,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
543
543
|
agents: z.ZodOptional<z.ZodBoolean>;
|
|
544
544
|
hooks: z.ZodOptional<z.ZodBoolean>;
|
|
545
545
|
}, z.core.$strip>>;
|
|
546
|
+
google_auth: z.ZodOptional<z.ZodBoolean>;
|
|
546
547
|
}, z.core.$strip>;
|
|
547
548
|
export type OhMyOpenCodeConfig = z.infer<typeof OhMyOpenCodeConfigSchema>;
|
|
548
549
|
export type AgentOverrideConfig = z.infer<typeof AgentOverrideConfigSchema>;
|