Skip to content

v0.5.1 — type quality, sidebar-aware rendering

Choose a tag to compare

@buddingnewinsights buddingnewinsights released this 03 Jun 13:56
· 14 commits to main since this release

Changes

  • Type quality: Removed 32 any types, added PiTheme interface, typed content items, (result as any).detailsRecord<string, unknown>
  • Sidebar-aware split/unified: getWidthAwareText wrapper intercepts TUIs render(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, proper mode: String(diff.mode)
  • Write renderResult: Replaced ctx.state._wdk + termW() with __piDiffTask pattern using the TUI-provided width
  • Edit tool: Execute passes diff/language in details; renderCall simplified to summary (async moved to renderResult); renderResult uses getWidthAwareText + __piDiffTask
  • Build: tsc clean, tests: 0 new failures