nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:NoxTyrannus/dsh-cipher
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin package that brings cipher's core design — persistent thinking, the three platforms (execution / insight / memory), four local memory types (attention, experience, preference, cognitive), and the UNNI/LOOP session modes — to DSH as a native bundle (no Rust process, no cipher binary required).
After installing and configuring a model in DSH, UNNI and LOOP become selectable in DSH's native agent-preset picker (next to Standard / PTC / Minimal). Conversations composed from one of these presets get the full cipher pipeline: every turn is sedimented into four memory types, recalled cross-session, and LOOP sessions self-continue after each sediment round.
standard preset + the cipher rows) into the user preset root — they show up in the native picker immediately, no restartsystemPrompt.context, re-recorded only when the snapshot changes)Cipher·UNNI / Cipher·LOOP toggle in the session header (cipher-preset sessions only); LOOP auto-continuation uses interval + run-count guards via Agent.followup, independent of DSH goal APIscipher_memory_search, cipher_memory_ingestdsh plugin --profile <name> add dsh-cipher
What you get after install:
~/.dsh/.agent-presets/) by copying your deployment's standard preset and appending the cipher rows. Re-synced automatically on plugin upgrade; removed on uninstall. A user-authored preset with the same id is never touched.cipher_memory_search, cipher_memory_ingest (only in cipher-preset sessions)agentPresets.copy('standard', ...) — the deployment's standard preset (or the default preset) is the composition source. Without it the plugin still runs (settings/pool), but the UNNI/LOOP presets cannot be materialized and no cipher rows activate.storageDomain is optional: when the composition mounts storage, memory persists to the deployment storages directory (cipher_memory domain). Without it, the plugin degrades to in-process memory (warned once, not durable across restarts).The bundle rows split into two planes (v0.1.2, "Design A" — cipher capabilities exist only inside the UNNI/LOOP presets):
| Plane | Row | Responsibility |
|---|---|---|
| host (bundle patch) | dsh-cipher/core |
Private service ctx.cipher: four-type memory store, deterministic retrieval, quotas, session mode, settings namespaces |
| host | dsh-cipher |
Dual-face panel row: host REST routes (config/settings/mode/subagents) + client settings page / pool panel / header toggle |
| host | dsh-cipher/presets |
Materializes the UNNI/LOOP presets (copy standard → append cipher rows → metadata; idempotent, version-marked, self-healing) |
| preset (UNNI/LOOP) | dsh-cipher/memory |
Sediment: session/event turn/end → evidence → 4 memory agents → store (deduplicated, per-session watermark) |
| preset | dsh-cipher/insight |
Evidence review (three-question self-check) → output sedimented as [INSIGHT] experience |
| preset | dsh-cipher/prompt |
Injection: SOUL+mode section (order 60, static snapshot) + four-type memory context (re-recorded only on snapshot change) |
| preset | dsh-cipher/mode |
Mode pinning (presetMode row config, written as the session default at creation) + LOOP followup scheduling after sediment |
| preset | dsh-cipher/tools |
cipher_memory_search / cipher_memory_ingest |
Preset rows are mounted once per preset (standing mount) and joined per session by scope, exactly like other DSH preset rows. Sessions composed from Standard/PTC/Minimal have no cipher rows at all.
Storage note: the memory domain is optional at runtime — storage faults (for example headless one-shot teardown windows) degrade to in-memory storage for the process instead of failing the turn.
presetMode); the header toggle overrides it for that session (stored in the modes table), and the settings default is the last fallback.cipher_memory domain; per process when no storage is mounted).Per DSH package convention:
context (cipher-memory): append-only growth — re-recorded only when the full snapshot changes (new sediment or compaction removal); zero re-record otherwise.cipher_memory_search/ingest are independent requests; they do not affect session request caching.pnpm install
pnpm build # tsc (host lib/) + tsdown (client/client.js, __ModuleLoader__ format)
pnpm test # vitest (retrieval, evidence boundaries, preset materialization)
pnpm preflight # publish artifact checks
@deepseek-ai/dsh-*) are declared as peers and resolved against the DSH install; only zod is a direct dependency.Installing a plugin runs third-party code with your own permissions — review the source before installing. This package runs no post-install scripts beyond building its own artifacts (prepare).
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、memory。