feat(portable): 预装国内渠道+本地模型自动发现+4个新技能
- release.yml 便携包离线预装 钉钉/飞书中国版/企业微信 插件(借鉴 openclaw-china 生态) - config-server 新增 /api/local-models:自动探测 Ollama/LM Studio 本地模型(借鉴 RealShocky/openclaw-windows) - Config.html 检测到本地模型自动生成卡片、免 Key 点选即用;新增钉钉渠道卡片 - skills-cn 新增 pdf-toolkit/web-to-markdown/qrcode-maker/image-compress(13→17) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -100,6 +100,25 @@ jobs:
|
||||
--no-audit \
|
||||
--no-fund || true
|
||||
|
||||
# 5b) Pre-install China channel plugins (钉钉/飞书中国版/企业微信)
|
||||
# 借鉴自 BytePioneer-AI/openclaw-china 生态:这些是非官方主仓库插件,
|
||||
# 官方镜像默认不带 → U-Claw 离线预置 = 最大差异化价值。国内客户开箱即用,
|
||||
# 不用自己 npm install(很多客户机没法翻墙装非镜像包)。
|
||||
# 钉钉走 WebSocket 出站免公网 IP,是国内最易接入的渠道。
|
||||
# 全部 || true:装不上不阻断发版(个别包偶发 404 时便携版仍可用微信/QQ)。
|
||||
for cn_pkg in \
|
||||
"@openclaw-china/dingtalk" \
|
||||
"@openclaw-china/feishu-china" \
|
||||
"@openclaw-china/wecom" \
|
||||
"@openclaw-china/qqbot"; do
|
||||
echo "Installing China channel plugin: $cn_pkg"
|
||||
npm install "${cn_pkg}@latest" \
|
||||
--registry="$mirror_npm" \
|
||||
--ignore-scripts \
|
||||
--no-audit \
|
||||
--no-fund || echo "WARN: $cn_pkg install failed, skipping (便携版仍可用其它渠道)"
|
||||
done
|
||||
|
||||
# 6) Copy China-optimized skills if present
|
||||
skills_cn="$stage_dir/skills-cn"
|
||||
skills_target="$core_dir/node_modules/openclaw/skills"
|
||||
@@ -307,6 +326,7 @@ jobs:
|
||||
|
||||
- 打开 Config 选模型、填入自己的 API Key 即可使用,支持 DeepSeek / 通义 / Claude / GPT 等国内外大模型
|
||||
- 想用「虾盘云」中转站(一个 Key 调用国内外全部模型、免翻墙):先到 https://cloud.u-claw.org 注册并创建 Key
|
||||
- **聊天渠道开箱即用**:便携版已离线预装 微信 / QQ / 钉钉 / 飞书 / 企业微信 插件,无需自己 npm 安装
|
||||
- OpenClaw runtime: `${{ steps.openclaw_version.outputs.version }}`
|
||||
|
||||
### 下载
|
||||
|
||||
Reference in New Issue
Block a user