Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Metis v1.4.7

Choose a tag to compare

@Wholiver Wholiver released this 07 Oct 07:08
· 16 commits to main since this release

Scheduled Routines, Plugin Contracts, Self-Learning Fast Loop, Length-Stop Compaction & Desktop UX

  • Context Window Length-Stop Auto-Compaction & Truncation Handling: Accurately detect context limit exhaustion (stopReason: "length" with >= 98% context filled and empty/minimal tokens) from reasoning models like DeepSeek-V4.1-Flash; trigger auto-compaction and pop trailing assistant messages before retrying so continuation proceeds seamlessly; treat empty length-stop turns as clear failure notices with retry affordances rather than displaying stale work text.
  • Desktop Conversation Turn Deduplication: Fix turn duplication in useMetisServer.ts during snapshot reconciliation (adoptSnapshotWithoutRegressing) when snapshot IDs differ from synthesized SSE IDs after abort or session reload.
  • Strict Language Consistency Enforcement: Enforce user language match across Plan/Build collaboration mode system prompts and milestone progress narration, strictly forbidding spontaneous switches to English when the user's latest prompt is Chinese.
  • Scheduled Routines System: Introduce the background RoutineHost scheduler and model-facing routine tool (list, create, update, delete, toggle, run), supporting standard 5-field cron expressions, interval scheduling, persistent execution status, and an interactive Routines management panel in Desktop Settings & Sidebar.
  • Plugin Architecture & Strict Contract Checking: Add the metis-plugin CLI (bin/metis-plugin.js) and contract validation suite (scripts/check-contracts.mjs, packages/) enforcing strict zero-drift contracts across BUILTIN roles, 16 evaluation frameworks, performance gates, and route providers.
  • Self-Learning Fast Loop & Adaptations Acceleration: Expand runtime adaptations with the Prompt Compiler (compiler.ts), Architecture Rule Engine (architecture-engine.ts), Preference Engine (preference-engine.ts), and Schedule Learner (schedule-learner.ts) to converge multi-turn adaptations rapidly while preserving clean baseline execution when inactive.
  • Multi-Agent Isolation & Subagent Experience: Strengthen recursive delegation boundaries, session barriers, and spawn guard protections; improve Desktop Inspector Subagents list and live transcript rendering with real-time status and graceful error handling.
  • Desktop UI & Localization Polish: Fully update and regenerate bilingual i18n catalogs (English & Chinese); refine Settings dialog layout and metric tiles; improve thinking block streaming lifecycle and plan progress point narration.