mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-01-15 01:20:44 -08:00
update opencode
This commit is contained in:
44
.config/opencode/oh-my-opencode.jsonc
Normal file
44
.config/opencode/oh-my-opencode.jsonc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
||||||
|
"google_auth": true,
|
||||||
|
"agents": {
|
||||||
|
"Sisyphus": {
|
||||||
|
"model": "opencode/glm-4.7-free"
|
||||||
|
},
|
||||||
|
"librarian": {
|
||||||
|
"model": "opencode/glm-4.7-free"
|
||||||
|
},
|
||||||
|
"explore": {
|
||||||
|
"model": "google/antigravity-gemini-3-flash"
|
||||||
|
},
|
||||||
|
"frontend-ui-ux-engineer": {
|
||||||
|
"model": "google/antigravity-gemini-3-pro-high"
|
||||||
|
},
|
||||||
|
"document-writer": {
|
||||||
|
"model": "google/antigravity-gemini-3-flash"
|
||||||
|
},
|
||||||
|
"multimodal-looker": {
|
||||||
|
"model": "google/antigravity-gemini-3-flash"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lsp": {
|
||||||
|
"typescript-language-server": {
|
||||||
|
"command": ["typescript-language-server", "--stdio"],
|
||||||
|
"extensions": [".ts", ".tsx"],
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
"pylsp": {
|
||||||
|
"disabled": true
|
||||||
|
},
|
||||||
|
"pyright": {
|
||||||
|
"command": ["basedpyright-languageserver", "--stdio"],
|
||||||
|
"extensions": [".py"],
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
"bash-language-server": {
|
||||||
|
"command": ["bash-language-server", "start"],
|
||||||
|
"extensions": [".sh", ".bash"],
|
||||||
|
"priority": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
224
.config/opencode/opencode.jsonc
Normal file
224
.config/opencode/opencode.jsonc
Normal file
@@ -0,0 +1,224 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"plugin": [
|
||||||
|
"opencode-openai-codex-auth",
|
||||||
|
"opencode-antigravity-auth@beta",
|
||||||
|
"oh-my-opencode"
|
||||||
|
],
|
||||||
|
"provider": {
|
||||||
|
"openai": {
|
||||||
|
"name": "OpenAI",
|
||||||
|
"options": {
|
||||||
|
"reasoningEffort": "medium",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium",
|
||||||
|
"include": [
|
||||||
|
"reasoning.encrypted_content"
|
||||||
|
],
|
||||||
|
"store": false
|
||||||
|
},
|
||||||
|
"models": {
|
||||||
|
"gpt-5.2": {
|
||||||
|
"name": "GPT 5.2 (OAuth)",
|
||||||
|
"limit": {
|
||||||
|
"context": 272000,
|
||||||
|
"output": 128000
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"none": {
|
||||||
|
"reasoningEffort": "none",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"low": {
|
||||||
|
"reasoningEffort": "low",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"medium": {
|
||||||
|
"reasoningEffort": "medium",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"high": {
|
||||||
|
"reasoningEffort": "high",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"xhigh": {
|
||||||
|
"reasoningEffort": "xhigh",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gpt-5.2-codex": {
|
||||||
|
"name": "GPT 5.2 Codex (OAuth)",
|
||||||
|
"limit": {
|
||||||
|
"context": 272000,
|
||||||
|
"output": 128000
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"low": {
|
||||||
|
"reasoningEffort": "low",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"medium": {
|
||||||
|
"reasoningEffort": "medium",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"high": {
|
||||||
|
"reasoningEffort": "high",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"xhigh": {
|
||||||
|
"reasoningEffort": "xhigh",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gpt-5.1-codex-max": {
|
||||||
|
"name": "GPT 5.1 Codex Max (OAuth)",
|
||||||
|
"limit": {
|
||||||
|
"context": 272000,
|
||||||
|
"output": 128000
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"low": {
|
||||||
|
"reasoningEffort": "low",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"medium": {
|
||||||
|
"reasoningEffort": "medium",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"high": {
|
||||||
|
"reasoningEffort": "high",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
},
|
||||||
|
"xhigh": {
|
||||||
|
"reasoningEffort": "xhigh",
|
||||||
|
"reasoningSummary": "detailed",
|
||||||
|
"textVerbosity": "medium"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"google": {
|
||||||
|
"name": "Google",
|
||||||
|
"models": {
|
||||||
|
"antigravity-gemini-3-pro-high": {
|
||||||
|
"name": "Gemini 3 Pro High (Antigravity)",
|
||||||
|
"thinking": true,
|
||||||
|
"attachment": true,
|
||||||
|
"limit": {
|
||||||
|
"context": 1048576,
|
||||||
|
"output": 65535
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image",
|
||||||
|
"pdf"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"antigravity-gemini-3-pro-low": {
|
||||||
|
"name": "Gemini 3 Pro Low (Antigravity)",
|
||||||
|
"thinking": true,
|
||||||
|
"attachment": true,
|
||||||
|
"limit": {
|
||||||
|
"context": 1048576,
|
||||||
|
"output": 65535
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image",
|
||||||
|
"pdf"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"antigravity-gemini-3-flash": {
|
||||||
|
"name": "Gemini 3 Flash (Antigravity)",
|
||||||
|
"attachment": true,
|
||||||
|
"limit": {
|
||||||
|
"context": 1048576,
|
||||||
|
"output": 65536
|
||||||
|
},
|
||||||
|
"modalities": {
|
||||||
|
"input": [
|
||||||
|
"text",
|
||||||
|
"image",
|
||||||
|
"pdf"
|
||||||
|
],
|
||||||
|
"output": [
|
||||||
|
"text"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"theme": "catppuccin-macchiato",
|
||||||
|
"share": "manual",
|
||||||
|
"formatter": {
|
||||||
|
"prettier": {
|
||||||
|
"disabled": false
|
||||||
|
},
|
||||||
|
"ruff": {
|
||||||
|
"disabled": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"instructions": [
|
||||||
|
"AGENTS.md",
|
||||||
|
"CONTRIBUTING.md",
|
||||||
|
"docs/guidelines.md",
|
||||||
|
".cursor/rules/*.md"
|
||||||
|
],
|
||||||
|
"permission": {
|
||||||
|
"edit": "ask",
|
||||||
|
"bash": "ask"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user