Skip to content

fix(opencode): encode non-ASCII vault paths to prevent session creation failure#215

Open
12068yxt wants to merge 2 commits intoblueberrycongee:mainfrom
12068yxt:fix-opencode-encodeuri
Open

fix(opencode): encode non-ASCII vault paths to prevent session creation failure#215
12068yxt wants to merge 2 commits intoblueberrycongee:mainfrom
12068yxt:fix-opencode-encodeuri

Conversation

@12068yxt
Copy link
Copy Markdown

feat(opencode): encode directory path to support non-ASCII characters

Encode the x-opencode-directory header value using encodeURI to support non-ASCII characters like CJK paths, preventing crashes in the browser Headers API which only accepts ISO-8859-1 code points.

@12068yxt 12068yxt force-pushed the fix-opencode-encodeuri branch from 2671662 to f60f468 Compare April 29, 2026 02:10
@12068yxt 12068yxt force-pushed the fix-opencode-encodeuri branch from f60f468 to 22d7849 Compare April 29, 2026 02:17
@12068yxt 12068yxt changed the title ```修复了win10系统下提交deepseek key但是无法创建session的问题 fix(opencode): encode non-ASCII vault paths to prevent session creation failure Apr 29, 2026
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.

1 participant