fix: add Windows config path documentation and config error warnings (#97) (#109)

- Document platform-specific config paths in README (en/ko/ja)
  - Windows: %APPDATA%\opencode\oh-my-opencode.json
  - macOS/Linux: ~/.config/opencode/oh-my-opencode.json
- Show config file path in startup toast
- Add config load error warnings when JSON parsing or validation fails
- Extract getUserConfigDir to shared/config-path.ts for reuse

Fixes #97

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-19 02:03:31 +09:00
parent 845a1d2a03
commit 63fea77572
8 changed files with 98 additions and 21 deletions

View File

@@ -660,7 +660,12 @@ Highly opinionated, but adjustable to taste.
Config file locations (priority order):
1. `.opencode/oh-my-opencode.json` (project)
2. `~/.config/opencode/oh-my-opencode.json` (user)
2. User config (platform-specific):
| Platform | User Config Path |
|----------|------------------|
| **Windows** | `%APPDATA%\opencode\oh-my-opencode.json` |
| **macOS/Linux** | `~/.config/opencode/oh-my-opencode.json` |
Schema autocomplete supported: