github nicobailon/pi-subagents v0.3.1
v0.3.1 - Code Refactor & Expanded View Fixes

latest releases: v0.28.0, v0.27.0, v0.26.0...
4 months ago

What's Changed

Code Refactor

Split monolithic index.ts (~2000 lines) into focused modules for better maintainability:

  • execution.ts - Core runSync function for single agent execution
  • chain-execution.ts - Chain orchestration (sequential + parallel steps)
  • async-execution.ts - Async/background execution support
  • render.ts - TUI rendering (widget, tool result display)
  • schemas.ts - TypeBox parameter schemas
  • formatters.ts - Output formatting utilities
  • utils.ts - Shared utility functions
  • types.ts - Shared type definitions and constants

Bug Fixes

  • Expanded view visibility - Running chains now properly show:
    • Task preview (truncated to 80 chars) for each step
    • Recent tools fallback when between tool calls
    • Increased recent output from 2 to 3 lines
  • Progress matching - Added agent name fallback when index doesn't match
  • Type safety - Added defensive checks for union types

Installation

npx pi-subagents

Don't miss a new pi-subagents release

NewReleases is sending notifications on new releases.