@exagone313/dsh-podman 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.0.
|
|
2
|
-
export declare const GIT_COMMIT = "
|
|
1
|
+
export declare const VERSION = "1.0.1";
|
|
2
|
+
export declare const GIT_COMMIT = "26bc28f";
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
SPDX-FileCopyrightText: 2026 Elouan Martinet <exa@elou.world>
|
|
3
|
+
|
|
4
|
+
SPDX-License-Identifier: MIT
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
# Documentation
|
|
8
|
+
|
|
9
|
+
[English](#english) | [中文](#中文)
|
|
10
|
+
|
|
11
|
+
## English
|
|
12
|
+
|
|
13
|
+
- [Install DeepSeek Harness & dsh-podman with rootless Podman](install-dsh-and-dsh-podman.md)
|
|
14
|
+
— install dsh and dsh-podman as rootless Podman Quadlet services and verify
|
|
15
|
+
the setup.
|
|
16
|
+
- [Update](update.md) — pull new images, restart the services, and set up
|
|
17
|
+
automatic updates.
|
|
18
|
+
- [Architecture](architecture.md) — the plugin, the orchestrator and the guest
|
|
19
|
+
agents, and how workspaces map to pods and containers.
|
|
20
|
+
- [Configuration](configuration.md) — the `DSH_PODMAN_*` environment variables
|
|
21
|
+
per component, and the plugin's UI settings.
|
|
22
|
+
- [Usage](usage.md) — the model-facing tools, the Podman page, and the image
|
|
23
|
+
model.
|
|
24
|
+
- [Development](development.md) — build the plugin from this repository and run
|
|
25
|
+
it from a development checkout.
|
|
26
|
+
- [Development container setup prompt](development-prompt.md) — the prompt that
|
|
27
|
+
creates the development image, volume and container.
|
|
28
|
+
- [Uninstall](uninstall.md) — remove dsh-podman and the Quadlet units, and run
|
|
29
|
+
dsh without it.
|
|
30
|
+
|
|
31
|
+
## 中文
|
|
32
|
+
|
|
33
|
+
- [使用 rootless Podman 安装 DeepSeek Harness 与 dsh-podman](install-dsh-and-dsh-podman.zh.md)
|
|
34
|
+
— 以 rootless Podman 的 Quadlet 服务安装 dsh 与 dsh-podman,并验证安装。
|
|
35
|
+
- [更新](update.zh.md) — 拉取新镜像、重启服务,并配置自动更新。
|
|
36
|
+
- [架构](architecture.zh.md) — 插件、orchestrator 与 guest
|
|
37
|
+
agent,以及工作区如何映射到 pod 与容器。
|
|
38
|
+
- [配置](configuration.zh.md) — 各组件读取的 `DSH_PODMAN_*`
|
|
39
|
+
环境变量,以及插件的界面设置。
|
|
40
|
+
- [使用](usage.zh.md) — 面向模型的工具、Podman 页面以及镜像模型。
|
|
41
|
+
- [开发](development.zh.md) — 从本仓库构建插件,并在开发检出环境中运行。
|
|
42
|
+
- [开发容器设置提示词](development-prompt.zh.md) —
|
|
43
|
+
用于创建开发镜像、卷与容器的提示词。
|
|
44
|
+
- [卸载](uninstall.zh.md) — 移除 dsh-podman 与 Quadlet
|
|
45
|
+
单元,并在没有它的情况下运行 dsh。
|
package/docs/configuration.md
CHANGED
|
@@ -197,5 +197,7 @@ host directory `<DSH_PODMAN_HOST_SOCKETS_ROOT>/<container>` is mounted at
|
|
|
197
197
|
single per-workspace directory is mounted, a guest container never sees the
|
|
198
198
|
orchestrator's `orchestrator.sock` nor any other workspace's socket directory.
|
|
199
199
|
Both the control socket and each guest socket are created with mode `0600`, and
|
|
200
|
-
both processes
|
|
201
|
-
reachable between `bind` and `chmod`.
|
|
200
|
+
both processes create them under a `0077` umask so the socket is never briefly
|
|
201
|
+
reachable between `bind` and `chmod`. The guest agent then restores the
|
|
202
|
+
conventional `0022` mask, so the commands it runs create files `0644` and
|
|
203
|
+
directories `0755`.
|
package/docs/configuration.zh.md
CHANGED
|
@@ -177,5 +177,7 @@ Quadlet 会挂载 `%h/.dsh/dsh-podman/state`。orchestrator
|
|
|
177
177
|
`<DSH_PODMAN_SOCKETS_ROOT>/<container>`。由于只挂载了这一个按工作区划分的目录,guest
|
|
178
178
|
容器永远看不到 orchestrator 的
|
|
179
179
|
`orchestrator.sock`,也看不到任何其他工作区的套接字目录。控制套接字和每个 guest
|
|
180
|
-
套接字都以权限模式 `0600`
|
|
181
|
-
|
|
180
|
+
套接字都以权限模式 `0600` 创建,两个进程都会在 `0077` umask
|
|
181
|
+
下创建它们,这样套接字在 `bind` 和 `chmod` 之间永远不会被短暂访问。随后 guest
|
|
182
|
+
agent 会恢复常规的 `0022` umask,因此它运行的命令创建的文件为 `0644`、目录为
|
|
183
|
+
`0755`。
|