Skip to content

v0.2.0 — Agent 记忆系统 + 上下文管理升级 + embedding providers

Latest

Choose a tag to compare

@qxbyte qxbyte released this 07 Jun 15:13
· 22 commits to main since this release
e1911d0

Highlights

  • 🧠 Agent 记忆系统:scope 双层(project + user 独立 + 合并召回 + project 优先)
    • /memory 命令族(list / view / edit / delete / promote / promote-scope / trust / search / diff / diagnose)
    • /remember [--user|--project] <text> 用户显式入口(LLM 抽取结构化)
    • trust 三级(trusted / verified / auto)+ scope ×1.2 加权
    • MUSE.md / AGENTS.md 5 层 hierarchy + 子目录惰性加载
    • Compact-promote facts 自动写入 memory
  • 📐 上下文管理升级
    • trim-history 用户消息保护(对齐业界共识:user message sacred)
    • 9 节结构化 compaction schema(intent / errors / files / pending / etc.)
    • tool result 自动折叠(同文件 Read 多次只留最新)
    • cache-friendly stage 顺序
  • 🔍 向量召回(默认关闭,启用一行配置)
    • 6 个云端 OpenAI 兼容 preset:DashScope / 智谱 / OpenAI 3-small/large / Ollama nomic / Ollama bge-m3
    • 4 个 local-transformers preset(@huggingface/transformers 可选 peerDep):local-bge-zh / local-bge-en / local-minilm / local-bge-m3
    • hash-bag 兜底(零依赖)+ 启动 probe 校验 + /memory diagnose 排查入口
    • 三档降级永不阻塞(启动失败 → hash-bag;运行失败 → 全文模式)
  • /help 升级:按分类分组(Chat / Memory / Configuration / Exit)+ 按键速查表(Esc Esc rewind / Shift+Tab 切模式 / Cmd+V 粘贴等)

Install

npm install -g @qxbyte/muse@0.2.0

Docs

Stats

  • 43 测试文件 / 406 测试 / typecheck 干净
  • 14 commits since v0.1.3