Skip to content

Conversation

@dcermak
Copy link

@dcermak dcermak commented Sep 8, 2025

When we launch opencode via bun dev /path/to/prj, opencode would no longer correctly resolve paths in chat messages via @path/to/local/file.ts. It would use the path where bun is run as the basedir and not path/to/prj, resulting in a bunch of error 400.

@dcermak dcermak force-pushed the fix-cwd-to-roodir branch 2 times, most recently from ac9d26f to 82597a9 Compare September 25, 2025 09:50
When we launch opencode via `bun dev /path/to/prj`, opencode would no longer
correctly resolve paths in chat messages via `@path/to/local/file.ts`. It would
use the path where `bun` is run as the basedir and not `path/to/prj`, resulting
in a bunch of error 400.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants