soli0x4ea/dsh-dlc
soli0x4ea★ 0TypeScript最后同步: 2026-08-16
DLC 数字生命卡片协议 × DeepSeek Harness 原生插件(全量 TS 重写)
README 摘要
dsh-dlc DLC 数字生命卡片协议 × DeepSeek Harness 原生插件 — 全量 TypeScript 重写。 一个文件夹,一段数字生命。 dsh-dlc 把 DLC Protocol v3.0 的 Python 引擎整体重写为 TypeScript,以 Cordis 插件 的形式长进 DeepSeek Harness:状态机常驻、命令即工具、叙事自动组装、记忆与状态本地持久化。 特性 - 状态机引擎 ( DlcEngine ):命令/触发词 → 状态转移 → 叙事编号 → 阈值 → diff,零自然语言,纯计算; - 交互系统 :命令加载、最长触发词匹配、 /命令 与自然语言双入口、四类效果(modifier / state / narrative / command narrative)、道具与库存(稀有度五档); - 叙事组装 ( NarrativeAssembly ):编号域分发(action / threshold / boundary / system / emergence)、管道操作(range / switch / cond / rand / interp)、legacy 兼容; - 记忆系统 :双核线性记忆 —— ChatlogStore (按日 JSONL · MD5 去重 · 原子写)+ TimelineStore (小时槽覆盖)+ MemorySearch (按日/区间/关键词检索); - 可插拔存储 : StateStore 接口(文件 / 内存 / DSH storages 可替换)+ 导出/导入/备份; - Cordis 插件化 : ctx.dlc 服务 + 三个模型工具 + systemPrompt 提示段; - 卡片格式 v3.0 兼容 : card.json + engine/ + interaction/ + narratives/ + identity/ 结构不变,现有卡片即插即用。 架构 快速开始 作为 DSH 插件挂载 挂载后模型获得三个工具: 工具 作用 :-- :-- dlc execute 执行卡片命令,返回叙事编号 + 状态 diff dlc get state 读取卡片状态快照(channels / flags) dlc reset 重置卡片状态到初始值 阶段历史 阶段 交付 测试 :-- :-- :-- P0 规划 · GitHub 建仓 · 参考实现克隆 — P1 引擎核心(types / entity / modifiers / thresholds / loader / persistence / engine) 9 P2 交互与叙事(interaction / NarrativeAssembly / dlc/change 事件) 18 P3 记忆与存储(chatlog / t…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,271
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,588
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,692