nathannli/dsh-fish-shell

插件 ⭐ 0 MIT tools

DeepSeek 集成插件,使用 Fish 运行 bash 工具命令。

catalog 简介:DeepSeek Harness plugin that runs bash-tool commands with Fish.

安装

The public tool remains named `bash` so its existing schema, presentation, sandbox approval, output, timeout, and background-job contracts remain intact. The plugin adds a system-prompt note instructing the agent to use Fish-compatible syntax.

It updates both foreground and background commands. When DSH mounts its sandboxing shell executor, it also changes the inner confined command from `bash -c` to `fish -c`. Persistent PTY terminal sessions are not changed.

When configured with [Babelfish](https://github.com/bouk/babelfish), it preprocesses commands containing standalone Bash assignments before Fish runs them. For example, `NAME=value`, `export NAME=value`, and `NAME=$(command)` become Fish `set` commands. Fish-native commands are left unchanged. Babelfish failures stop the tool call instead of executing untranslated Bash.

## Dependency

Bash-assignment translation depends on [Babelfish](https://github.com/bouk/babelfish). It is optional: omit `babelfishPath` to run Fish directly without Bash translation.

## Configuration

By default, the plugin uses `$SHELL` when it ends in `/fish`; otherwise it runs `fish` from `PATH`. On this system `$SHELL` is `/opt/homebrew/bin/fish`, so the default resolves to that absolute path.

Set explicit executable paths in the profile patch if needed:

nathannli/dsh-fish-shell 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。