docs(cli): remove stale auth command section

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-03-06 20:50:11 +09:00
parent 68a8f303cb
commit a0683b5ccb
+12 -31
View File
@@ -15,7 +15,7 @@ npx oh-my-opencode
## Commands ## Commands
| Command | Description | | Command | Description |
|---------|-------------| | ------------------- | ----------------------------------------- |
| `install` | Interactive setup wizard | | `install` | Interactive setup wizard |
| `doctor` | Environment diagnostics and health checks | | `doctor` | Environment diagnostics and health checks |
| `run` | OpenCode session runner | | `run` | OpenCode session runner |
@@ -45,7 +45,7 @@ bunx oh-my-opencode install
### Options ### Options
| Option | Description | | Option | Description |
|--------|-------------| | ----------- | ---------------------------------------------------------------- |
| `--no-tui` | Run in non-interactive mode without TUI (for CI/CD environments) | | `--no-tui` | Run in non-interactive mode without TUI (for CI/CD environments) |
| `--verbose` | Display detailed logs | | `--verbose` | Display detailed logs |
@@ -64,7 +64,7 @@ bunx oh-my-opencode doctor
### Diagnostic Categories ### Diagnostic Categories
| Category | Check Items | | Category | Check Items |
|----------|-------------| | ------------------ | --------------------------------------------------------- |
| **Installation** | OpenCode version (>= 1.0.150), plugin registration status | | **Installation** | OpenCode version (>= 1.0.150), plugin registration status |
| **Configuration** | Configuration file validity, JSONC parsing | | **Configuration** | Configuration file validity, JSONC parsing |
| **Authentication** | Anthropic, OpenAI, Google API key validity | | **Authentication** | Anthropic, OpenAI, Google API key validity |
@@ -75,7 +75,7 @@ bunx oh-my-opencode doctor
### Options ### Options
| Option | Description | | Option | Description |
|--------|-------------| | ------------------- | ---------------------------------------------------------------- |
| `--category <name>` | Check specific category only (e.g., `--category authentication`) | | `--category <name>` | Check specific category only (e.g., `--category authentication`) |
| `--json` | Output results in JSON format | | `--json` | Output results in JSON format |
| `--verbose` | Include detailed information | | `--verbose` | Include detailed information |
@@ -125,7 +125,7 @@ bunx oh-my-opencode run [prompt]
### Options ### Options
| Option | Description | | Option | Description |
|--------|-------------| | ------------------------ | ------------------------------------------------- |
| `--enforce-completion` | Keep session active until all TODOs are completed | | `--enforce-completion` | Keep session active until all TODOs are completed |
| `--timeout <seconds>` | Set maximum execution time | | `--timeout <seconds>` | Set maximum execution time |
| `--agent <name>` | Specify agent to use | | `--agent <name>` | Specify agent to use |
@@ -163,7 +163,7 @@ bunx oh-my-opencode mcp oauth status [server-name]
### Options ### Options
| Option | Description | | Option | Description |
|--------|-------------| | -------------------- | ------------------------------------------------------------------------- |
| `--server-url <url>` | MCP server URL (required for login) | | `--server-url <url>` | MCP server URL (required for login) |
| `--client-id <id>` | OAuth client ID (optional if server supports Dynamic Client Registration) | | `--client-id <id>` | OAuth client ID (optional if server supports Dynamic Client Registration) |
| `--scopes <scopes>` | Comma-separated OAuth scopes | | `--scopes <scopes>` | Comma-separated OAuth scopes |
@@ -174,25 +174,6 @@ Tokens are stored in `~/.config/opencode/mcp-oauth.json` with `0600` permissions
--- ---
## auth
Manages Google Antigravity OAuth authentication. Required for using Gemini models.
### Usage
```bash
# Login
bunx oh-my-opencode auth login
# Logout
bunx oh-my-opencode auth logout
# Check current status
bunx oh-my-opencode auth status
```
---
## Configuration Files ## Configuration Files
The CLI searches for configuration files in the following locations (in priority order): The CLI searches for configuration files in the following locations (in priority order):
@@ -215,7 +196,7 @@ Configuration files support **JSONC (JSON with Comments)** format. You can use c
/* Category customization */ /* Category customization */
"categories": { "categories": {
"visual-engineering": { "visual-engineering": {
"model": "google/gemini-3-pro", "model": "google/gemini-3.1-pro",
}, },
}, },
} }
@@ -291,25 +272,25 @@ src/cli/
Create `src/cli/doctor/checks/my-check.ts`: Create `src/cli/doctor/checks/my-check.ts`:
```typescript ```typescript
import type { DoctorCheck } from "../types" import type { DoctorCheck } from "../types";
export const myCheck: DoctorCheck = { export const myCheck: DoctorCheck = {
name: "my-check", name: "my-check",
category: "environment", category: "environment",
check: async () => { check: async () => {
// Check logic // Check logic
const isOk = await someValidation() const isOk = await someValidation();
return { return {
status: isOk ? "pass" : "fail", status: isOk ? "pass" : "fail",
message: isOk ? "Everything looks good" : "Something is wrong", message: isOk ? "Everything looks good" : "Something is wrong",
} };
}, },
} };
``` ```
Register in `src/cli/doctor/checks/index.ts`: Register in `src/cli/doctor/checks/index.ts`:
```typescript ```typescript
export { myCheck } from "./my-check" export { myCheck } from "./my-check";
``` ```