TGYD-helige/dsh-plugins--packages-dsh-storage ↗★ 2

@amaster.ai/dsh-storage

Session storage mirror for DeepSeek Harness: projects the session event stream into MySQL/PostgreSQL/SQLite/SQL Server (ai_messages / ai_chat_histories) without replacing dsh's local persistence. 适合需要将聊天历史和消息持久化备份到外部关系型数据库的用户。

パッケージ
@amaster.ai/dsh-storage
互換性
未検証
Harness ピア範囲
>=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/29

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TGYD-helige/dsh-plugins#c5e90b86403a6463b8459173dc2d187f8c78b067&path:packages/dsh-storage

ドキュメント

README 全文を読む ↗

Configuration

Disabled by default. Configure via the profile's cordis.patch.yml:

- insert:
    - id: storage-mirror
      name: '@amaster.ai/dsh-storage'
      config:
        enabled: true
        database:
          enabled: true
          provider: mysql   # mysql | postgresql | sqlite | sqlserver
          url: mysql://user:pass@host:3306/agent

Create or upgrade the tables with the shipped schema variant:

npx prisma db push --schema node_modules/@amaster.ai/dsh-storage/prisma/schema.mysql.prisma --url "mysql://user:pass@host:3306/agent"