mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-08 22:00:50 +08:00
Stop fetching unpublished @deepseek-ai/cordis on install.
Runtime install via dsh plugin add only needs public dependencies; cordis comes from the Host. Document that other machines do not need a plugin-local pnpm install when lib/ is present.
This commit is contained in:
parent
cbbf373b6a
commit
d8c7671bd7
3 changed files with 27 additions and 8 deletions
3
.npmrc
Normal file
3
.npmrc
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# @deepseek-ai/* comes from the DSH Host profile, never the public registry.
|
||||||
|
auto-install-peers=false
|
||||||
|
strict-peer-dependencies=false
|
||||||
28
FORK.md
28
FORK.md
|
|
@ -14,20 +14,36 @@
|
||||||
|
|
||||||
## 安装(替换社区 im)
|
## 安装(替换社区 im)
|
||||||
|
|
||||||
|
### 其他电脑 / 只跑插件(推荐)
|
||||||
|
|
||||||
|
仓库已提交 `lib/` 产物时:**不必**在插件目录执行 `pnpm install` / `npm install`。
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
# 若已安装社区包,先从 profile 移除 @xmanrui/dsh-im
|
# 拉代码(含 lib/)后,只让 DSH profile 安装本包的生产依赖(qqbot/wecom/…)
|
||||||
cd D:\project\chatgpt\dsh-im-ops
|
dsh plugin --profile web add -w "D:\path\to\dsh-im-ops"
|
||||||
npm install
|
# 或:
|
||||||
npm run build
|
|
||||||
dsh plugin --profile web add -w "github:hansjone/dsh-im-ops"
|
dsh plugin --profile web add -w "github:hansjone/dsh-im-ops"
|
||||||
# 或本地:dsh plugin --profile web add -w "D:\project\chatgpt\dsh-im-ops"
|
|
||||||
# 重启 dsh web
|
# 重启 dsh web
|
||||||
```
|
```
|
||||||
|
|
||||||
包名:`dsh-im-ops@4.9.1-ops.3`(cordis id:`dsh-im-ops`)。
|
说明:这里的 `-w` 是 pnpm 的 **workspace-root**(装到 profile 根),不是「先手动 install 插件仓库」。Host 侧 `@deepseek-ai/*` 由 DSH 提供,插件 **不得** 再声明/安装它们(公共 registry 会 404,例如 `dsh-type-meta`)。
|
||||||
|
|
||||||
|
### 本机改源码再发版
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
cd D:\path\to\dsh-im-ops
|
||||||
|
pnpm install # 只装公开包:baileys/esbuild/…;不要指望能装 @deepseek-ai/*
|
||||||
|
pnpm run build # 写出 lib/
|
||||||
|
# 再 push;或本机:
|
||||||
|
dsh plugin --profile web add -w "D:\path\to\dsh-im-ops"
|
||||||
|
```
|
||||||
|
|
||||||
|
若已安装社区包 `@xmanrui/dsh-im`,先从 profile 移除再 add 本 fork。
|
||||||
|
|
||||||
扫码态一般仍在 `~/.dsh/integrations/…`;换包后若异常,在 IM 设置里重新关联设备。
|
扫码态一般仍在 `~/.dsh/integrations/…`;换包后若异常,在 IM 设置里重新关联设备。
|
||||||
|
|
||||||
|
包名:`dsh-im-ops`(cordis id:`dsh-im-ops`)。
|
||||||
|
|
||||||
## 已落地的运维改动
|
## 已落地的运维改动
|
||||||
|
|
||||||
1. **群 Session 策略**(对齐 oclaw `user_in_chat`)
|
1. **群 Session 策略**(对齐 oclaw `user_in_chat`)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dsh-im-ops",
|
"name": "dsh-im-ops",
|
||||||
"version": "4.9.1-ops.30",
|
"version": "4.9.1-ops.31",
|
||||||
"description": "Ops fork of dsh-im (all channels kept). Based on @xmanrui/dsh-im@4.9.1 - access/session policies owned here.",
|
"description": "Ops fork of dsh-im (all channels kept). Based on @xmanrui/dsh-im@4.9.1 - access/session policies owned here.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"deepseek-harness",
|
"deepseek-harness",
|
||||||
|
|
@ -66,6 +66,7 @@
|
||||||
"plugin-src",
|
"plugin-src",
|
||||||
"scripts",
|
"scripts",
|
||||||
"src",
|
"src",
|
||||||
|
".npmrc",
|
||||||
"PROACTIVE_DELIVERY.md",
|
"PROACTIVE_DELIVERY.md",
|
||||||
"PROACTIVE_DELIVERY.en.md",
|
"PROACTIVE_DELIVERY.en.md",
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
|
|
@ -105,7 +106,6 @@
|
||||||
"undici": "7.29.0"
|
"undici": "7.29.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@deepseek-ai/cordis": "4.0.1",
|
|
||||||
"@larksuiteoapi/node-sdk": "1.73.0",
|
"@larksuiteoapi/node-sdk": "1.73.0",
|
||||||
"@whiskeysockets/baileys": "7.0.0-rc14",
|
"@whiskeysockets/baileys": "7.0.0-rc14",
|
||||||
"esbuild": "0.25.9",
|
"esbuild": "0.25.9",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue