Skip to content

Releases: a903067276-rgb/dsh-file-mentions

v1.0.3

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 18 Aug 13:19

Fix

  • Input area skip (issue #5): bare-path processing no longer touches React-owned composer/input nodes (textarea / contenteditable / mirrors / backdrops), so typing /plan and 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

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 18 Aug 11:09

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 标记重渲染恢复、平台分隔符、尾随标点匹配、文档与打包修正。

v1.0.1

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 18 Aug 08:51

Features

  • Official dsw-styled folder reveal buttons (theme-aware)

Fix

  • Hover affordance for clickable inline file paths: pointer cursor, dotted underline, link color (contributed by joxmx, PR #8)

中文说明

正文反引号路径增加 hover 提示(手型光标 + 虚线 + 链接色,PR #8,感谢 joxmx);📂 按钮换官方 dsw 样式(跟随主题)。