Dies ist eine ältere Version. Aktuell ist Version 1.8.2. MicroClaw 1.8.2 · Veröffentlicht:
Installationsdateien 1.1.0
| Architektur | Typ | Bereich | Dateigröße | Download | SHA256 |
|---|---|---|---|---|---|
| 64-Bit | ZIP → Portabel | — | — | github.com | VirusTotal |
Link und SHA256 stammen aus dem Community-Manifest des Windows-Paket-Managers. Vergleichen Sie den Hash der heruntergeladenen Datei, bevor Sie sie ausführen.
Versionshinweise
Smarter, cheaper and visible, safer to share. No breaking change: the
library API, /api/v1 and the config format only grew. Upgrading from
1.0.0 migrates the database to schema v47 after an automatic backup.
Added
- Usage footer (usage_footer: off | tokens | cost, per channel with
channels.<name>.usage_footer): each final reply ends with one line of the
turn's input / output / cached tokens and, with cost, the estimated cost
(every model call of the turn in the chat, sub-agents included). Shown, not
stored; kept in the last part when a channel splits long replies. The Web
console renders it under the reply. Prices: model_prices entries gain
provider and cached_input_per_million_usd, and a built-in table covers
model ids with a known public list price; other models show tokens only.
- Budgets (budgets.*): token and cost limits per day (all chats and per
chat), per session and per scheduled task run. A turn over a limit is not
started and the chat gets one line saying which limit; a turn that crosses
one stops at the next iteration boundary; a scheduled run over a limit ends
failed with reason budget and goes through the failure notices.
- /usage now answers with today's usage (all chats, this chat, this
session) and what is left of every limit; the old report is /usage detail.
- Operators (channels.<name>.operators, operators.<channel>): on a
channel with an operator list, a non-operator cannot trigger shell commands,
file writes, exec scheduling, ACP sub-agents or other high-risk tools; the
model is told why and answers with a short explanation. Sub-agents,
scheduled tasks (who created them is recorded), approval replies and
approval buttons (only an operator may approve) follow the sender. Without a
list nothing changes; doctor and the config self-check warn
(channel_operators_missing).
- Tool-call audit trail (tool_audit.enabled, tool_audit.retention_days,
default 90): every tool call with time, channel, chat, session, sender,
principal, tool, risk, outcome (allowed, approved, approval_required,
denied_operator, denied_policy, denied_user, budget) and duration.
- GET /api/v1/usage/summary and GET /api/v1/audit/tool-calls (filters
sender, tool, outcome, channel, chat_id, since, until,
before_id, limit); the Web System page has a Usage and budgets card
and an Activity list.
- Schema v46: llm_usage_logs.cache_read_tokens,
scheduled_tasks.created_by / created_by_operator, table
tool_call_audit.
- Memory transparency. Every structured memory records how it was
written (tool call, reflector run, "remember" request, correction), the
message that led to it, and each time it is recalled into a turn
(last_recalled_at, recall_count, and which memories went into which
turn). New chat command /memory on every channel: list, search, why,
fix, forget. New routes GET /api/v1/memory,
GET|PATCH|DELETE /api/v1/memory/:id, GET /api/v1/memory/compactions,
GET /api/v1/memory/compactions/:id (additions only). The Web console's
System page has a Memory section: search, provenance, edit, delete and
recent compactions.
- Compaction records. Each context compaction stores what it summarized,
the summary, and what was re-injected next to it (earlier user messages,
changed files).
- microclaw eval replay and microclaw eval compaction: replay suites run
through a fresh Server against a provider-matrix row (default
deepseek-chat) or --offline against a deterministic model. Cases
(docs/test/eval-replay, docs/test/eval-compaction) cover memory recall
after /reset, scheduling from chat, group etiquette, a multi-step tool
chain, the approval flow, and 24 facts across two compactions. Every case
records input, cached and output tokens, tokens per task and estimated
cost; --json / --markdown write the score table. See
site/docs/eval.md for the 1.1 DeepSeek baseline.
Changed
- Memories in shared chats belong to people (P3). In a group chat a
memory about one member is only recalled when that member is answered;
chat-wide memories stay visible to all. The chat AGENTS.md shows only
the answered member's ## Person: section, the reflector attributes facts
to the member they are about and never merges or supersedes across
members, and knowledge-graph recall is skipped in groups. Owners are
platform sender ids (<channel>:<sender id>), never display names, so a
copied or changed name neither grants nor loses access; channels without a
stable id (IRC, Web console, ACP) keep memories chat-wide. A group's
USER.md is not injected or updated in shared chats. Existing memories
stay chat-wide. write_memory gains an optional shared flag.
- The "remember that …" / "记住:…" shortcut (saved without a model call)
now becomes part of the conversation: the message and its reply are written
to the session, so the next turn no longer answers it again. The reply is
in the user's script (Chinese for CJK text, English otherwise).
- Database schema v47 (adds columns to memories and
memory_injection_logs, and the compaction_records and
message_senders tables). Upgrading
from 1.0.0 is automatic and backed up first; microclaw upgrade --rollback restores a 1.0.0 data directory.
- Cross-turn prompt cache. The per-turn <turn_context> block (clock,
ranked skill instructions, recalled memories) is now frozen into the user
message of the turn it was built for and persisted with the session, so
every message already sent is byte-identical in later requests. It used to
move to the newest message each turn, which broke the provider cache at the
previous message. A new block leaves out skill instructions and memory
lines an earlier block still in the conversation carried. On DeepSeek the
agent_cache hit ratio went from 0.61–0.62 to 0.94–0.97 (turn 3; turn 2, which ranks new skills, 0.73–0.84); the
replay suite's cached input share went from 80–87% to 92–93% and its
estimated cost from $0.024–0.030 to $0.018 per run. Logic lives in the new
engine/turn_context.rs.
- Anthropic requests lift every plain-string message into one text block,
so the serialized prefix no longer changes as cache breakpoints move.
- Skill ranking ignores stop words; "the" or "with" no longer inline a
skill's full instructions.
- Compaction keeps key facts. The summary message re-injects assistant
proposals the user accepted with a bare "yes"/"do that"; re-injected user
words, accepted proposals and changed files are carried forward through
later compactions instead of depending on the model's summary; one quoted
user message is capped at 600 characters; the summary prompt gains "Facts
and figures" and "Open items" sections and must not infer statuses nobody
stated. Offline (no summarizer) the compaction suite went from 46% to 96%.
- microclaw canary providers: agent_cache passes at a 90% hit ratio
(MICROCLAW_MATRIX_AGENT_CACHE_MIN_RATIO); prompt_cache keeps 50%. The
detail lists every turn tried.
Fixed
- A message whose sender record could not be written was reported as a duplicate and dropped without a reply; it is now answered and the failure logged.
- A new memory whose owner cannot be recorded is archived instead of staying visible to every member of a shared chat.
- /memory no longer prints raw database errors into the chat.
- Slack: replies are converted to Slack mrkdwn (bold, links, headings, bullets), and code fences no longer show their language tag as a code line.
- The progress message of a turn that stops for a tool approval reads "Waiting for your approval below." instead of "Done".
- The offline replay eval reads files written by Windows PowerShell (UTF-16).