DSH Hub
amadeus-for-dsh cover

yyxcnasd/amadeus-for-dsh

amadeus-for-dsh

UIWeb UI33 GitHub stars· updated 2026-09-08

Amadeus (AI assistant from Steins;Gate 0) for DeepSeek Harness

Install

npx @deepseek-ai/dsh plugin --profile desktop add github:yyxcnasd/amadeus-for-dsh

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

amadeus-for-dsh DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/amadeus-for-dsh.svg)](https://dshhub.dev/plugins/amadeus-for-dsh)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from yyxcnasd/amadeus-for-dsh, cleaned of badges and images.

AMADEUS for DSH

《命运石之门 0》Amadeus —— 牧濑红莉栖(Makise Kurisu)智能助手,DeepSeek Harness 插件。

红发翻盖手机里的她:Live2D 立绘 + 日语语音 + 长期记忆 + 主动来电 + AI 聊天。

🎬 效果预览与演示

🚀 安装(与生态其它插件一致,dsh plugin add)

仓库根即 npm 包(amadeus-for-dsh,声明了 dsh.bundle.patch),因此安装方式和其他 GitHub 插件完全相同:

# 安装到 desktop profile(DSH Desktop 自带 CLI 的默认 profile)
dsh plugin --profile desktop add github:yyxcnasd/amadeus-for-dsh

# 或安装到 web profile
dsh plugin --profile web add github:yyxcnasd/amadeus-for-dsh

dsh plugin add 会:

  1. 用 pnpm 把包装进该 profile 的依赖(profiles\<profile>\package.json);
  2. 因为包内声明了 dsh.bundle.patch,自动把它加入该 profile 的 dsh.profile.bundles;
  3. 重启 DSH 后,Amadeus 对该 profile 的所有会话自动加载(右侧栏出现翻盖手机面板)。

零命令替代:在你正在使用的 profile 上重启即可看到效果。更新:重跑同一条 add 命令即可(或 dsh plugin --profile <p> update github:…)。

老用户(v2.x 时代 install.ps1)迁移

v2.0 的 install.ps1 会把插件复制到 profiles\node_modules\amadeus-for-dsh 并在 profiles\web\cordis.patch.yml 手写加载行。新安装方式会自动清理这些旧痕迹 (幂等,原文件备份 .bak-*),避免重复加载冲突。

辅助脚本(可选)

  • 在线一行命令(自动选 profile、初始化数据目录、可选 TTS 通道):

    powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/yyxcnasd/amadeus-for-dsh/main/install-online.ps1 | iex"
    
  • 本地发行包(zip)→ 解压 → 双击 Amadeus-OneClick.bat 或运行 .\install.ps1 [-Profile desktop|web] [-Channel edge|quest]

pnpm 依赖:dsh plugin 需要 pnpm 在 PATH(DSH Desktop 自带;普通安装 npm i -g pnpm 或 corepack enable)。

🐧 Linux

插件本体是跨平台的(Node / 浏览器 / Python 均按平台解析可执行文件), PowerShell / .bat / install.ps1 等辅助工具仅面向 Windows,Linux 下直接用 dsh plugin add 即可。

  1. 安装插件(DSH Web 模式):

    dsh plugin --profile web add github:yyxcnasd/amadeus-for-dsh
    dsh web   # 重启 / 启动后右侧栏出现翻盖手机面板
    
  2. 准备 curl(TTS 备用通道需要):

    # Arch: sudo pacman -S curl    Debian/Ubuntu: sudo apt install curl    Fedora: sudo dnf install curl
    
  3. 准备 Python 与 edge-tts(主 TTS 通道)。推荐使用 venv,避免污染系统 Python:

    python -m venv ~/.local/share/amadeus/venv
    ~/.local/share/amadeus/venv/bin/python -m pip install edge-tts
    export AMADEUS_PYTHON="$HOME/.local/share/amadeus/venv/bin/python"   # 可选:显式指定解释器
    

    插件解析 Python 的顺序:AMADEUS_PYTHON 环境变量 → python → python3(非 Windows)。 若不想用 venv,也可以直接 pip install --user edge-tts。

  4. 数据目录:默认 ~/.dsh/amadeus(DSH_HOME 优先于家目录),不会随启动目录漂移。 配置 / 长期记忆 / 临时音频都在这里,重装不丢。

  5. 可选环境变量:

    变量作用
    DSH_HOME覆盖 DSH 与 Amadeus 数据根目录(默认 ~/.dsh)
    AMADEUS_ROOT覆盖插件资源根(一般只在开发时用)
    AMADEUS_PYTHON指定 Python 解释器路径(venv 等)
  6. 其他说明:curl / python 名称按平台自动选择(Windows curl.exe / POSIX curl); 浏览器端行为与平台无关(Firefox / Chrome 均可)。

Edge TTS 通道需要 Python 3.9+(脚本自动 pip install edge-tts,失败可改用 VOICEVOX 公共 API 通道,无需 Python)。

⚙️ 安装位置

路径内容
%DSH_HOME%\profiles\<profile>\node_modules\amadeus-for-dsh\插件本体(pnpm 管理,update 即升级)
%DSH_HOME%\amadeus\{config,memory,tmp}\配置 / 长期记忆 / 临时音频(升级不丢)
%DSH_HOME%\profiles\<profile>\package.jsondependencies + dsh.profile.bundles(dsh 自动维护)

%DSH_HOME% 默认 C:\Users\<你>\.dsh,可用环境变量覆盖。 卸载:dsh plugin --profile <p> remove amadeus-for-dsh(保留数据目录)。

✨ 功能

…

Related plugins