Skip to content

OpenCode 桌面版 不支持读取中文名文件 #8172

@aaronlei

Description

@aaronlei

Description

ubuntu24 桌面版环境

Version: 1.1.16

在某个会话中,用OpenCode 生成了个中文名的markdown文件,在接下来的对话中对要求 agent 这个md文件修改时报错如下。

SyntaxError: '[data-key="file://"md/346\241\243.md""]' is not a valid selector.
querySelector@[native code]
@tauri://localhost/assets/session-3b5FGVVY.js:30:6115
Kv@tauri://localhost/assets/index-DcPG2uOI.js:2:8252
bl@tauri://localhost/assets/index-DcPG2uOI.js:2:7983
id@tauri://localhost/assets/index-DcPG2uOI.js:2:9468
Jk@tauri://localhost/assets/index-DcPG2uOI.js:2:10732
tn@tauri://localhost/assets/index-DcPG2uOI.js:2:9656
Xk@tauri://localhost/assets/index-DcPG2uOI.js:2:10317
tn@tauri://localhost/assets/index-DcPG2uOI.js:2:9668
M@tauri://localhost/assets/index-DcPG2uOI.js:2:3812
T@tauri://localhost/assets/index-DcPG2uOI.js:2:3770

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions