# @exagone313/dsh-podman 中文文档

规范地址：https://npmcn.com/package/%40exagone313/dsh-podman/

版本：1\.10\.0
npm 元数据更新时间：2026-11-11T01:41:03.130Z
中文译文更新时间：2026-11-14T03:04:16.607Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40exagone313/dsh-podman
原文对照：https://npmcn.com/package/%40exagone313/dsh-podman/?lang=original
项目主页：https://github.com/Exagone313/dsh-podman#readme
源码仓库：https://github.com/Exagone313/dsh-podman

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：2.6 MB，260 个文件
- 模块格式：ES Module
- TypeScript 类型：包内自带
- Node.js 要求：\>=24\.9\.0
- 运行依赖：7 个
- peer 依赖：react ^18\.2\.0，@deepseek-ai/cordis 4\.1\.0，@deepseek-ai/dsh-fs 0\.2\.2-rc\.1，@deepseek-ai/schemastery 3\.19\.0，@deepseek-ai/dsh-subprocess 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-store 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-locale 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-tool 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-slots 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-shortcuts 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-renderer 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-settings 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-primitives 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-sidebar-right 0\.2\.2-rc\.1，@deepseek-ai/dsh-client-ui-plugin-manager 0\.2\.2-rc\.1
- 首次发布：2026-09-15T20:21:02.006Z
- 最新版本发布：2026-11-11T01:41:02.803Z
- 近 30 天下载量：3602（2026-10-14 至 2026-11-12，npm 官方下载统计）
- 已发布版本数：27（近 12 个月 27 个）

## 中文简介

由Podman支持为DeepSeek Harness而行刑 (dsh).

## 安装

```sh
npm install @exagone313/dsh-podman
```

也可以使用：`pnpm add @exagone313/dsh-podman`、`yarn add @exagone313/dsh-podman`、`bun add @exagone313/dsh-podman`

## README

# dsh-podman

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://npmcn.com/package/%40exagone313/dsh-podman/LICENSE) [![npm version](https://img.shields.io/npm/v/@exagone313/dsh-podman)](https://www.npmjs.com/package/@exagone313/dsh-podman) [![GitHub release](https://img.shields.io/github/v/release/Exagone313/dsh-podman)](https://github.com/Exagone313/dsh-podman/releases) [![dsh](https://img.shields.io/badge/dsh-GHCR-blue)](https://github.com/Exagone313/dsh-podman/pkgs/container/dsh-podman%2Fdsh) [![orchestrator](https://img.shields.io/badge/orchestrator-GHCR-blue)](https://github.com/Exagone313/dsh-podman/pkgs/container/dsh-podman%2Forchestrator) [![guest-agent](https://img.shields.io/badge/guest--agent-GHCR-blue)](https://github.com/Exagone313/dsh-podman/pkgs/container/dsh-podman%2Fguest-agent) [![gateway](https://img.shields.io/badge/gateway-GHCR-blue)](https://github.com/Exagone313/dsh-podman/pkgs/container/dsh-podman%2Fgateway)

[English](https://npmcn.com/package/%40exagone313/dsh-podman/README.md) | 中文

基于 [Podman](https://podman.io/) 的 [DeepSeek Harness](https://deepseek.com/harness)（`dsh`）执行后端。

dsh-podman 将所有的 shell 执行与文件访问都路由到一次性、按项目隔离的 Podman 容器中。

## 特性

-   一次性、按项目隔离的容器
-   每个工作区可添加额外的容器
-   创建基于 Arch Linux、Ubuntu 和 Alpine Linux 的容器镜像
-   感知审批的权限提升
-   在容器中运行进程（守护进程）
-   在容器中运行终端

## 文档

-   **[使用 rootless Podman 安装 DeepSeek Harness 与 dsh-podman](https://npmcn.com/package/%40exagone313/dsh-podman/docs/install-dsh-and-dsh-podman.zh.md)**
-   [更新](https://npmcn.com/package/%40exagone313/dsh-podman/docs/update.zh.md)
-   [架构](https://npmcn.com/package/%40exagone313/dsh-podman/docs/architecture.zh.md)
-   [配置](https://npmcn.com/package/%40exagone313/dsh-podman/docs/configuration.zh.md)
-   [使用](https://npmcn.com/package/%40exagone313/dsh-podman/docs/usage.zh.md)
-   [开发](https://npmcn.com/package/%40exagone313/dsh-podman/docs/development.zh.md)
-   [卸载](https://npmcn.com/package/%40exagone313/dsh-podman/docs/uninstall.zh.md)

## AI 使用声明

本仓库的大部分代码由 AI 模型编写：

-   DeepSeek Flash
-   早期提交使用 OpenAI GPT-5.6 Luna
-   少量修复由 Anthropic Claude Opus 5 完成

## 许可证

[MIT](https://npmcn.com/package/%40exagone313/dsh-podman/LICENSE)

## 常见问题

### @exagone313/dsh-podman 是什么？

由Podman支持为DeepSeek Harness而行刑 \(dsh\)\.

### 如何安装 @exagone313/dsh-podman？

在项目目录运行 npm install @exagone313/dsh-podman，或使用 pnpm add / yarn add / bun add。

### @exagone313/dsh-podman 支持 TypeScript 吗？

支持。包内自带 TypeScript 类型声明（package\.json 声明了 types 入口），安装后即可获得类型提示，无需再安装 @types 包。

### @exagone313/dsh-podman 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @exagone313/dsh-podman 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=24\.9\.0。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @exagone313/dsh-podman 可以商用吗？

@exagone313/dsh-podman 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @exagone313/dsh-podman 的下载量有多少？

根据 npm 官方下载统计，@exagone313/dsh-podman 在 2026/10/14 – 2026/11/12 这 30 天内被下载 3,602 次，日均约 120 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @exagone313/dsh-podman 还在维护吗？

最新版本 1\.10\.0 发布于 2026/11/11（3 天前）；至今共发布 27 个版本，其中过去 12 个月发布了 27 个；首次发布于 2026/09/16。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

