Repository navigation
Infosdsh --version
0.1.0-rc.6OS 名称: Microsoft Windows 10 专业版 What I have done1、I have try to install globally. ## npm install -g @deepseek-ai/dsh
## 为了修复无法打开的问题,我尝试如下
npm i -g @deepseek-ai/dsh --ignore-scripts --registry=https://registry.npmjs.org2、I have fixed the problem that I can't open folder in web mode with the help of: directory picker failed: directory picker failed: win32 folder dialog worker exited before reporting a result
3、But When I config my APIKEY, I get this:
4、I have try to download the log,I get Http 500
Question:1、how to debug ? such as opencode, I can get info like opencode run "hello" --print-logs |
Replies: 2 comments
|
好的解决了。我没有做这一步骤 @deepseek-ai/dsh-session-persistence-jsonl/lib/index.js —— publishNewFileWin32 改为 fs.rename(并在 fs/promises import 中补上 rename): 最终的解决: // 原来
import { link, mkdir, mkdtemp, open, readFile, readdir, realpath, rm, stat, truncate } from "node:fs/promises";
// 修改
import { link, mkdir, mkdtemp, open, readFile, readdir, realpath, rename, rm, stat, truncate } from "node:fs/promises"; |
|
你打的这个补丁现在不需要了 —— 那条路径在源码里已经被重写, 你当时踩到的是什么你修的位置是 当前源码的状态
该文件头部的说明给出了理由:Windows 不通过 Node 暴露父目录 fsync 的契约,所以这条路径改用原生持久化命名空间原语 —— 在目标目录里建 staging 对象,再用 而 POSIX 那条路径是故意不用 ⇒ 两条路径现在都有各自的明确语义(Windows:write-through 原语;POSIX: 对你的实际影响
另外你帖子里还有两条没被回答的问题,一并答掉:
边界:读的是 |



好的解决了。我没有做这一步骤
@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js —— publishNewFileWin32 改为 fs.rename(并在 fs/promises import 中补上 rename):
最终的解决: