dsh-chatgpt-sub 0.5.1 → 0.5.3
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 +10 -8
- package/README.zh-CN.md +10 -8
- package/docs/INSTALL.md +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -15,25 +15,27 @@ The companion [Bottom Info Bar](https://github.com/songoao25/dsh-bottom-info-bar
|
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
18
|
-
Recommended: open **Plugins → Add plugin** in DSH and
|
|
18
|
+
Recommended: open **Plugins → Add plugin** in DSH and enter the package name:
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
|
|
21
|
+
dsh-chatgpt-sub
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Prefer the terminal? For a CLI web profile:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
dsh plugin --profile web add
|
|
27
|
+
dsh plugin --profile web add dsh-chatgpt-sub
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**npm availability:** the public registry returned no package for `dsh-chatgpt-sub` on 2026-10-10. Use the repository address until a successful npm release is verified. After publication, the package-name command will be:
|
|
30
|
+
Installing from the repository also works — `lib/` is committed, so that path needs no build:
|
|
33
31
|
|
|
34
|
-
```bash
|
|
35
|
-
dsh plugin --profile web add dsh-chatgpt-sub
|
|
36
32
|
```
|
|
33
|
+
https://github.com/SONGOAO25/dsh-chatgpt-sub
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Then **restart DSH**. Refreshing the page is not enough. In the desktop app, use **Plugins → Add plugin**; its profile is managed by the app and cannot be installed into through the CLI. DSH uses pnpm to install plugins; the package ships its built files and requires no installation build.
|
|
37
|
+
|
|
38
|
+
The package has been public on npm since 2026-10-13 (0.5.1). If the package name cannot be resolved, fall back to the repository address.
|
|
37
39
|
|
|
38
40
|
Local installs, Windows guidance, updating and troubleshooting: [docs/INSTALL.md](docs/INSTALL.md).
|
|
39
41
|
|
package/README.zh-CN.md
CHANGED
|
@@ -15,25 +15,27 @@
|
|
|
15
15
|
|
|
16
16
|
## 安装
|
|
17
17
|
|
|
18
|
-
推荐:打开 DSH **插件 →
|
|
18
|
+
推荐:打开 DSH **插件 → 添加插件**,填包名:
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
|
|
21
|
+
dsh-chatgpt-sub
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
使用命令行启动的网页端,也可以执行:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
dsh plugin --profile web add
|
|
27
|
+
dsh plugin --profile web add dsh-chatgpt-sub
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**npm 状态:**2026-10-10 查询公开仓库时,未找到 `dsh-chatgpt-sub`。在确认发布成功之前,请使用仓库地址。发布成功后,按包名安装的命令为:
|
|
30
|
+
也可以填仓库地址 —— 仓库已包含构建文件,填地址安装无需构建:
|
|
33
31
|
|
|
34
|
-
```bash
|
|
35
|
-
dsh plugin --profile web add dsh-chatgpt-sub
|
|
36
32
|
```
|
|
33
|
+
https://github.com/SONGOAO25/dsh-chatgpt-sub
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
装完**重启 DSH**,只刷新页面不够。桌面客户端请使用 **插件 → 添加插件**;它的配置由客户端管理,不能通过命令行安装。DSH 使用 pnpm 安装插件;包已包含构建文件,安装时无需构建。
|
|
37
|
+
|
|
38
|
+
npm 上的 `dsh-chatgpt-sub` 自 2026-10-13(0.5.1)起公开可装。包名解析不到时,改用上面的仓库地址。
|
|
37
39
|
|
|
38
40
|
本地安装、Windows 说明、更新与故障排查见 [docs/INSTALL.md](docs/INSTALL.md)。
|
|
39
41
|
|
package/docs/INSTALL.md
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
### 方式一:在 DSH 插件页添加(推荐;桌面端唯一方式)
|
|
12
12
|
|
|
13
|
-
打开 DSH 的 **插件 →
|
|
13
|
+
打开 DSH 的 **插件 → 添加插件**,在「包名或地址」里填包名(推荐):
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
|
|
16
|
+
dsh-chatgpt-sub
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
npm 上的 `dsh-chatgpt-sub` 自 2026-10-13(0.5.1)起公开可装。也可以填仓库地址,安装的是仓库根(`lib/` 已入库,所以填地址安装**不跑构建、不会弹「待批准的构建脚本」**)。同一个框也接受:
|
|
20
20
|
|
|
21
21
|
- 本仓库工作副本的绝对路径 —— 用于开发(会产生 `link:` 安装)。
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@ https://github.com/SONGOAO25/dsh-chatgpt-sub
|
|
|
27
27
|
用你实际启动的 profile(`dsh web` 启动的是 `web`):
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
# npm
|
|
30
|
+
# 按包名(推荐;0.5.1 起已在 npm 公开)
|
|
31
31
|
dsh plugin --profile web add dsh-chatgpt-sub
|
|
32
32
|
|
|
33
33
|
# 或仓库默认分支(不跑构建,lib/ 已入库)
|
|
@@ -85,7 +85,7 @@ dsh --profile web --dump-config | grep dsh-chatgpt-sub
|
|
|
85
85
|
|
|
86
86
|
在插件页的**版本与更新**里选择自动更新(默认)或手动更新。自动更新在 DSH 启动时检查 npm、校验并替换插件文件,重启后生效;手动检查只查询版本,安装前会弹出确认。更新失败自动恢复旧文件,需要时可以回滚;登录和绑定信息保留。设置页会显示运行版本、最新版本、上次检查时间以及是否需要重启。
|
|
87
87
|
|
|
88
|
-
更新状态、日志和备份保存在本端 `DSH_HOME` 下的 `dsh-chatgpt-sub/`(默认 `~/.dsh/dsh-chatgpt-sub/`;`DSH_CHATGPT_DATA_DIR` 可覆盖)。共享 Codex
|
|
88
|
+
更新状态、日志和备份保存在本端 `DSH_HOME` 下的 `dsh-chatgpt-sub/`(默认 `~/.dsh/dsh-chatgpt-sub/`;`DSH_CHATGPT_DATA_DIR` 可覆盖)。共享 Codex 登录文件及已有绑定标记位置保持原样。源码和链接安装不自动替换文件,仍按下面的方法更新;自动/手动更新都依赖 npm 上的公开版本(`dsh-chatgpt-sub` 自 0.5.1 起已公开)。
|
|
89
89
|
|
|
90
90
|
### 手动更新本地副本或迁移安装
|
|
91
91
|
|
|
@@ -132,7 +132,7 @@ dsh plugin --profile web remove dsh-chatgpt-sub
|
|
|
132
132
|
| 现象 | 原因与处理 |
|
|
133
133
|
|---|---|
|
|
134
134
|
| 插件详情里没有配置页 | ① 没重启:需重启 DSH;② 装错 profile:确认启动用的 profile 与安装目标一致;③ `dsh --profile web --dump-config` 里没有 dsh-chatgpt-sub:重新执行安装 |
|
|
135
|
-
| 插件页或命令行报「未找到相关插件」 |
|
|
135
|
+
| 插件页或命令行报「未找到相关插件」 | 先检查包名拼写;包名解析不到时改用仓库地址安装 |
|
|
136
136
|
| 插件页报「这个包没有声明组合包」 | 装到的是一个「仓库根不是包」的仓库。本仓库根目录一直是包;请确认填的是本仓库,并用包含最新提交的地址 |
|
|
137
137
|
| 插件页提示「有依赖的安装脚本需要你允许」/「待批准的构建脚本」 | 装到的清单里声明了 `prepare` / `prepack`(本仓库当前清单没有,只有 `prepublishOnly`)。用最新提交的仓库地址重装;确实需要放行时,按提示把 pnpm 打印的那一行加进 profile 的 `pnpm-workspace.yaml` 的 `allowBuilds` 再重试 |
|
|
138
138
|
| 命令行报 `profile "desktop" is managed exclusively by the Electron application` | 桌面端客户端的 profile 不能用 CLI 改:请在客户端 **插件 → 添加插件** 里安装/卸载 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-chatgpt-sub",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Sign in with your ChatGPT account to use ChatGPT models in DSH.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/songoao25/dsh-chatgpt-sub.git"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://github.com/
|
|
18
|
+
"homepage": "https://github.com/songoao25/dsh-chatgpt-sub",
|
|
19
19
|
"author": "SONGOAO25",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"type": "module",
|