返回目錄

dsh-muse

維護狀態: 活躍

ttmouse/dsh-muse

為 DSH 提供類似 Muse 的持久化能力,支援跨重啟保持自主執行,並提供靜默的主動心跳。

前往 GitHub
$ dsh plugin add dsh-muse

安裝

dsh 沒有統一的安裝指令 —— 把該外掛 README(見下方)中的設定行加入你的 profile / patch 設定,然後重啟即可。

查看安裝教學

0

星數

0

Fork

TypeScript

語言

MIT

授權條款

2026-10-04

建立於

2026-10-17

最近推送

README

dsh-muse

Give your DSH agent Muse-like persistence: authorize once, and it keeps working across restarts — plus a silent heartbeat that only speaks when there is something worth saying.

中文说明

What is this

Three DSH plugins + a set of experience recipes that replicate the core feel of Meta Muse: one long-lived conversation where the agent watches, keeps going, and only speaks when it matters.

Piece What it does
muse/ — @deepseek-ai/dsh-muse Persists your grant with proof of the original human message; a keeper re-arms disarmed active goals on session resume, so long-running goals survive process restarts
tool-muse/ — @deepseek-ai/dsh-tool-muse The muse_autonomy model tool: only a direct human request can grant or revoke autonomy; auto-continuations and subagents are always rejected
tool-memory/ — @deepseek-ai/dsh-tool-memory memory_save tool + per-turn memory injection over a human-editable plain-text memory file (~/.dsh/memories/main.md) — the "gets smarter over time" piece
docs/ Mechanism analysis, proactivity design (event-driven + speak/not-speak gate), install notes, release checklist

Security boundary inherited from dsh-goal: activation never auto-inherits. Manual disarm always wins; paused/blocked goals are never auto-resumed.

Install

Requires a DSH runtime whose plugin tree includes the goal family (dsh-goal, dsh-goal-round-driver).

# in your profile directory, e.g. ~/.dsh/profiles/web
dsh plugin --profile web add <published-package-or-git-url>   # both packages

Developing from a clone (verified on a fresh git clone):

pnpm install && pnpm build && pnpm -r test && pnpm test:timers

Then add both bundles to your profile's dsh.profile.bundles list, after the goal family. Packages carry their own dsh.bundle.patch metadata, so the plugin panel recognizes them as profile-level plugins. If your runtime version differs from the peer range, grant a per-profile compatibility exemption (compatibility.json).

A ready-made composition example lives at composition example examples/muse.cordis.yml and install notes in docs/install-notes.md.

Experience it

  1. Continuous pursuit — in a new session:

    Create a long-term goal: <your task>. I'm leaving — keep going autonomously, don't ask me, until it's done.

    Watch it call create_goal, then muse_autonomy { autonomy: true }, then run goal rounds back to back.

  2. Survives restarts — stop the runtime, start it again, reopen the session, say "continue". The keeper re-arms the goal from the persisted grant; no re-authorization needed.

  3. Silent heartbeat — schedule a recurring check with "check but don't speak unless there's something worth saying" semantics. See docs/experience-guide.md and docs/proactivity-design.md.

Docs

Status

The timer-first loop has package and CLI integration tests, including real AgentLoop + JSONL cold recovery. Current work focuses on bounded progress in the same conversation, waiting/completion state and quiet reflection; external events and other conversations are deferred. See docs/timer-first.md for behavior, verification and remaining limits.

License

MIT

Timer-first progress loop / 定时推进闭环 — same-session routines, waiting/completion state, native cold wake, non-human mailbox delivery and proposal-only reflection.

廣告

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。