Skip to content
Discussion options

You must be logged in to vote

依据#197 中提供的解决方案

以下是具体步骤:

1、安装(绕过 koffi install 脚本崩溃)

npm i -g @deepseek-ai/dsh --ignore-scripts --registry=https://registry.npmjs.org

**2、目录选择器(`~/.dsh/profiles/web/cordis.patch.yml`**
禁用 `-auto`(启动时自动选 native 后端),插入 `-browse` 后端:
```yaml
- id: directory-picker
  disabled: true
- insert:
    - id: directory-picker-browse
      name: '@deepseek-ai/dsh-host-directory-picker-browse'
    - id: directory-picker-browse-client
      name: '@deepseek-ai/dsh-client-ui-directory-picker-browse'

3、 两个包的 koffi 调用改为纯 Node(全局 node_modules 内)

@deepseek-ai/dsh-fs-local/lib/index.js —— writeFileAtomic 的默认实现改为不触发 koffi:

// 原来:
const copyFileDacl = internals.copyFileDacl ?? copyFileDaclWin32;
const replace…

Replies: 11 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@hmr-BH
Comment options

@dac114514
Comment options

@875231907
Comment options

Comment options

You must be logged in to vote
2 replies
@dac114514
Comment options

@hmr-BH
Comment options

Comment options

You must be logged in to vote
2 replies
@RockPete
Comment options

@cymbj666
Comment options

Answer selected by hmr-BH
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@WAG-star
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet