Releases: a903067276-rgb/dsh-file-mentions
Releases · a903067276-rgb/dsh-file-mentions
Release list
v1.0.3
Fix
- Input area skip (issue #5): bare-path processing no longer touches React-owned composer/input nodes (textarea / contenteditable / mirrors / backdrops), so typing
/planand pressing space no longer makes the input box disappear. The skip logic follows xiaya007's PR #6 approach; merged with the Windows path handling kept intact.
中文说明
修复 issue #5:裸路径处理跳过 React 输入区(textarea/contenteditable/mirror/backdrop 等),/plan 后按空格不再导致输入框消失。思路取自 xiaya007 的 PR #6,合入时保留了 Windows 路径逻辑。
v1.0.2
Security fixes
- /open now requires a real session; body limited to 100KB
- /check no longer probes absolute paths outside the session cwd (existence oracle closed)
- Relative ../ paths can no longer escape the session directory
Other fixes
- hover marker re-applied on re-render (PR #8 style survives React updates)
- Windows path joining uses platform separator; trailing punctuation (foo.md.) now matched
- docs/architecture.md corrected; package.json files includes docs/
中文说明
安全加固:/open 要求真实会话 + body 上限,/check 不再探测会话目录外的绝对路径,../ 逃逸拒绝;顺带修 hover 标记重渲染恢复、平台分隔符、尾随标点匹配、文档与打包修正。