v0.5.1 — type quality, sidebar-aware rendering
·
14 commits
to main
since this release
Changes
- Type quality: Removed 32
anytypes, addedPiThemeinterface, typed content items,(result as any).details→Record<string, unknown> - Sidebar-aware split/unified:
getWidthAwareTextwrapper intercepts TUIsrender(width)which accounts for Pis sidebar — toggling sidebar now correctly switches between side-by-side and stacked views - review_git_diff: Fixed return types with
as const, matching error/success shapes, propermode: String(diff.mode) - Write renderResult: Replaced
ctx.state._wdk+termW()with__piDiffTaskpattern using the TUI-provided width - Edit tool: Execute passes
diff/language in details; renderCall simplified to summary (async moved to renderResult); renderResult usesgetWidthAwareText+__piDiffTask - Build:
tscclean, tests: 0 new failures