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

@@ -601,7 +601,12 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
設定ファイルの場所(優先順):
1. `.opencode/oh-my-opencode.json` (プロジェクト)
2. `~/.config/opencode/oh-my-opencode.json` (ユーザー)
2. ユーザー設定(プラットフォーム別):
| プラットフォーム | ユーザー設定パス |
|------------------|------------------|
| **Windows** | `%APPDATA%\opencode\oh-my-opencode.json` |
| **macOS/Linux** | `~/.config/opencode/oh-my-opencode.json` |
スキーマ自動補完がサポートされています: