Prerequisites
Bug Description
I set prompt_append to file://~/.config/opencode/prompts/sisyphus.txt as indicated under https://github.com/code-yeongyu/oh-my-openagent/blob/dev/docs/reference/configuration.md
But I checked the actual request sent to provider, it shows:
[WARNING: Path rejected: file://~/.config/opencode/prompts/sisyphus.txt (resolved outside project root /path/to/my/project; file:// prompts must reside within the project boundary)]
Steps to Reproduce
- set
prompt_append to file under home directory.
- check request
Expected Behavior
prompt file will be parsed correctly.
Actual Behavior
path rejected
Doctor Output
troy@SM-NG ~/.c/opencode> bunx oh-my-openagent doctor
oMoMoMoMo Doctor
⚠ 3 issues found:
1. Loaded plugin is outdated
Loaded 4.2.3, latest 4.5.1.
Fix: Update: cd "/home/troy/.cache/opencode" && bun add oh-my-openagent@latest
Affects: plugin features
2. Model override uses unavailable provider
Provider(s) not found in OpenCode model cache: mas-swap, mas-codex
Affects: model resolution
3. Configured models rely on compatibility fallback
sisyphus=mas-swap/glm-5.1 (heuristic-backed), oracle=mas-codex/gpt-5.5 (heuristic-backed), librarian=mas-codex/gpt-5.5 (heuristic-backed), prometheus=mas-codex/gpt-5.5 (heuristic-backed), metis=mas-swap/glm-5.1 (heuristic-backed), momus=mas-swap/glm-5.1 (heuristic-backed), atlas=mas-swap/glm-5.1 (heuristic-backed), sisyphus-junior=mas-codex/gpt-5.5 (heuristic-backed), ultrabrain=mas-codex/gpt-5.5 (heuristic-backed), deep=mas-codex/gpt-5.5 (heuristic-backed), artistry=mas-codex/gpt-5.5 (heuristic-backed), unspecified-high=mas-swap/glm-5.1 (heuristic-backed), writing=mas-swap/glm-5.1 (heuristic-backed)
Affects: sisyphus, oracle, librarian, prometheus, metis, momus, atlas, sisyphus-junior, ultrabrain, deep, artistry, unspecified-high, writing
Error Logs
Configuration
Additional Context
No response
Operating System
Linux
OpenCode Version
1.15.10
Prerequisites
Bug Description
I set
prompt_appendtofile://~/.config/opencode/prompts/sisyphus.txtas indicated under https://github.com/code-yeongyu/oh-my-openagent/blob/dev/docs/reference/configuration.mdBut I checked the actual request sent to provider, it shows:
Steps to Reproduce
prompt_appendto file under home directory.Expected Behavior
prompt file will be parsed correctly.
Actual Behavior
path rejected
Doctor Output
Error Logs
Configuration
Additional Context
No response
Operating System
Linux
OpenCode Version
1.15.10