v0.30.3
v0.30.3
A patch release fixing the Pi retrospective dream task, the /ctx-embed loop on oversized compartments, and adding a log-path override.
Fixes
-
Pi retrospective dream task no longer fails silently (#201). On Pi, the
retrospectivetask calledpi-coding-agentsession APIs that don't exist (SessionManager.listSessionsand a publicloadEntriesFromFile), so it threw "Pi session APIs unavailable" every run and reported "Skipped (no work)" — meaning Pi users got no retrospective learning at all. It now uses the correctSessionManager.listAlland reconstructs entries via the publicparseSessionEntries. Thanks to @kachook for the fix. -
/ctx-embedno longer stalls on oversized compartments (#206). When a single canonical line inside a compartment (for example a large file dump rendered into one message) was larger than the embedding model's context window, it was sent whole and the provider rejected it — so that compartment could never embed and/ctx-embedreported no progress. Oversized lines are now split down to the window budget before embedding, and empty inputs are coerced to a single space so one blank string can't fail the whole batch. Thanks to @randomvariable for the fix.
Additions
MAGIC_CONTEXT_LOG_PATHoverrides the diagnostic log location (#183). Set this environment variable to redirectmagic-context.logaway from the default temp-dir path — useful in Docker/CI where the temp dir is disposable, or to point the plugin and dashboard at a shared file. Blank is treated as unset. Both the plugin and the dashboard log tail honor it. Thanks to @kecsap for the feature.
Docs & internals
- Documented the
system_prompt_injectionandkeep_subagentsconfig keys, which were in the schema but missing from the configuration reference. - Removed the stale
compressorconfig stanza from the configuration docs (the LLM-compressor subsystem was replaced by the decay renderer; the schema already rejected the key, so IDEs flagged it) (#204). - Fixed a test-isolation mock leak so the memory test directory passes when run on its own.