Commit 27a689d
fix: 修复 @file: 中文路径编码失败和 AskUserQuestion 被误杀
P0-1: htmlToMarkdown 移除 encodeURIComponent,@file: 直接传原始路径,
修复中文文件名传给 Agent 后无法识别的问题。
P0-2: finally 块不再清理 askUserService 待处理请求,避免 turn 结束时
误杀正在等待用户回答的 AskUserQuestion。真正清理保留在 DELETE_SESSION。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0caa6e7 commit 27a689d
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- apps/electron/src
- main/lib
- renderer/components/ai-elements
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1961 | 1961 | | |
1962 | 1962 | | |
1963 | 1963 | | |
1964 | | - | |
| 1964 | + | |
| 1965 | + | |
1965 | 1966 | | |
1966 | 1967 | | |
1967 | 1968 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments