跳到主要内容

Demiurge 0.2.0

Demiurge 是 alpha / developer-preview 软件。APIs、runtime layout 和 authoring contracts 之后仍可能变化。

概述

这个版本扩展了 authored agent-core surface,加入了 MCP declarations、本地 package management 和内置的基础 memory support。同时也改进了 TUI transcript 对有序列表和 markdown 内容的渲染。

用户可见变化

  • Agent cores 现在可以在其 authored surface 下声明 core-scoped MCP tools。
  • package catalog 现在包含一个基于文件的基础 memory package,带有 transient memory context injection、一个 memory tool,以及用于检查当前本地 memory 的只读 list action。
  • memory package 不再安装 memory policy skill;紧凑的 memory guidance 由 input module 注入,详细的写入指导位于 tool schema 中。
  • package catalog 包含分层 package cleanup 和 MiniMax TTS config sharing 改进。
  • TUI transcript 的 markdown 渲染对 ordered list 的对齐更一致了。

破坏性变更

  • 基础 memory package 的形态从 lib/input/tool/skill 改为 lib/input/tool。若现有 runtime cores 需要新的 memory 行为,请重新安装该 package。

已知限制

  • 本地 memory 仍然只是一个紧凑的文件后端存储,不是 semantic search。
  • package catalog 仍然是 local-only。
  • code slots 默认运行在 host-shared Python environment 中。
  • Telegram 仍然只是 long-polling。
  • candidate core evolution 和 automatic promotion 仍未完成。

验证

  • uv run pytest tests/packages/test_packages.py tests/packages/test_memory_basic_package.py
  • uv run python -m compileall demiurge tests
  • uv run pytest
  • cd ui-tui && npm test -- --run
  • cd ui-tui && npm run typecheck
  • cd ui-tui && npm run build
  • cmp ui-tui/dist/entry.js demiurge/ui/tui_dist/entry.js
  • uv build
  • scripts/smoke_wheel_install.sh
  • git diff --check