dsh-ccswitch-sync 0.1.1 → 0.1.2
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.
- package/README.md +8 -1
- package/README.zh.md +8 -1
- package/dsh-plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[中文](README.zh.md) · [npm](https://www.npmjs.com/package/dsh-ccswitch-sync) · [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) · [Plugin directory](https://dshtui.com/plugins)
|
|
4
4
|
|
|
5
|
+
<p>
|
|
6
|
+
<img src="docs/footer.png" alt="Footer field: ccs 3p 3mcp 33m" width="358"><br>
|
|
7
|
+
<img src="docs/ccswitch.png" alt="/ccswitch output: providers, MCP servers, patch age" width="443">
|
|
8
|
+
</p>
|
|
9
|
+
|
|
5
10
|
A [dsh-TUI](https://dshtui.com) plugin that mirrors the DSH configuration **CC Switch** keeps
|
|
6
11
|
in its own profile into the `dsh-tui` profile, and shows how fresh the mirror is in the footer.
|
|
7
12
|
|
|
@@ -88,7 +93,9 @@ The managed rows go into one marked block at the end of the target patch:
|
|
|
88
93
|
|
|
89
94
|
- `~/.dsh/.credentials.yaml` and every credential. Provider entries reference
|
|
90
95
|
`CC_SWITCH_DSH_*` environment names; the secrets stay where CC Switch put them.
|
|
91
|
-
- `~/.dsh/skills` and any shared skill tree.
|
|
96
|
+
- `~/.dsh/skills` and any shared skill tree — and skills need no mirror. CC Switch links them
|
|
97
|
+
into `~/.dsh/skills`, which every profile reads (dsh-tui included, through `dsh-base`'s
|
|
98
|
+
`skill-filesystem`). Enable a skill for DSH in CC Switch and dsh-TUI picks it up.
|
|
92
99
|
- Rows outside the managed block, and every other profile.
|
|
93
100
|
- CC Switch's own files: it only reads them.
|
|
94
101
|
|
package/README.zh.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) · [npm](https://www.npmjs.com/package/dsh-ccswitch-sync) · [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) · [插件目录](https://dshtui.com/plugins)
|
|
4
4
|
|
|
5
|
+
<p>
|
|
6
|
+
<img src="docs/footer.png" alt="底栏字段:ccs 3p 3mcp 33m" width="358"><br>
|
|
7
|
+
<img src="docs/ccswitch.png" alt="/ccswitch 输出:provider 数、MCP 数、patch 时间" width="443">
|
|
8
|
+
</p>
|
|
9
|
+
|
|
5
10
|
把 **CC Switch** 写在自己 profile 里的 DSH 配置,镜像进 `dsh-tui` profile 的
|
|
6
11
|
[dsh-TUI](https://dshtui.com) 插件;底栏顺带显示这份镜像有多新。
|
|
7
12
|
|
|
@@ -84,7 +89,9 @@ dsh plugin --profile dsh-tui remove dsh-ccswitch-sync
|
|
|
84
89
|
|
|
85
90
|
- `~/.dsh/.credentials.yaml` 与任何凭证。provider 条目引用的是 `CC_SWITCH_DSH_*`
|
|
86
91
|
环境变量名,密钥留在 CC Switch 放的位置。
|
|
87
|
-
- `~/.dsh/skills`
|
|
92
|
+
- `~/.dsh/skills` 与任何共享技能树——技能也不需要镜像。CC Switch 把技能链接进
|
|
93
|
+
`~/.dsh/skills`,所有 profile 都读这个目录(dsh-tui 通过 `dsh-base` 的 `skill-filesystem`
|
|
94
|
+
读取)。在 CC Switch 里给 DSH 启用某个技能,dsh-TUI 就能用。
|
|
88
95
|
- 托管区块以外的行,以及其他所有 profile。
|
|
89
96
|
- CC Switch 自己的文件:只读,不写。
|
|
90
97
|
|
package/dsh-plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://unpkg.com/@dsh-std/manifest@0.1.1-rc.2/schema/dsh-plugin-0.15.schema.json",
|
|
3
3
|
"id": "msyzzm.dsh-ccswitch-sync",
|
|
4
4
|
"name": "CC Switch → dsh-TUI sync",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.2",
|
|
6
6
|
"manifestVersion": "0.15",
|
|
7
7
|
"facets": {
|
|
8
8
|
"host": {
|