All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Optional
stageparameter for theadvisortool ("initial","recovery","final-check") so executors can explicitly signal the current phase while preserving auto-detection as a fallback.
- Migrated package imports and
peerDependenciesfrom@mariozechner/*to@earendil-works/*for the Pi namespace migration (v0.74+). - Migrated
@sinclair/typeboxtotypebox(TypeBox v1.x) for the Pi dependency migration. - Rewrote
promptGuidelineswith actual function-call syntax to remove executor guesswork around advisor parameters.
- Reasoning effort control for advisor model calls (
minimal–xhigh, defaulthigh). maxContextMessagesconfig to tune transcript size sent to the advisor (default18).- Tab completion for
/advisorsubcommands (on,off,config,ask) and config keys (provider=,model=,reasoning=, etc.).
- Advisor tool crash on OpenAI-compatible providers caused by dangling
toolCallblocks in the transcript — historical tool calls are now stripped from assistant messages, matching the already-skippedtoolResultblocks. - TUI rendering crash caused by
Box+Markdowndepth bug — replaced withContainer+Textand correctedrenderResultsignature. - Silent empty responses when advisor model returns only
thinkingblocks — thinking content is now used as a fallback. - Missing error propagation when
completeSimplereturnsresponse.errorMessage.
- Moved
advisor-messages.tsintosrc/directory for cleaner package layout. - Rewrote README with architecture diagram, configuration reference table, and stage detection docs.
- Added LICENSE copyright holder and updated package manifest
filesfield. - Advisor prompts restructured to a consistent verdict + action items format (
On track/Course-correct/Not done yet), with stage-specific directives for exploration, recovery, and final-check phases. - Switched from
complete()tocompleteSimple()to supportreasoningparameter.
- Initial
pi-advisorpackage with a Pi extension that adds a Claude-style advisor tool for strategic guidance during complex coding tasks. /advisor on,/advisor off,/advisor config, and/advisor askcommands.- Curated advisor context: bounded system prompt, active tools summary, and recent tool activity.
- Stage-aware guidance that adapts the advisor prompt based on executor activity.
- Compact advisor result rendering in the Pi TUI with token usage and expand-to-read hint.
- Per-run advisor usage limit (default 3 calls).
- Package metadata, smoke tests, MIT license, and install/use documentation for npm and GitHub distribution.