Skip to content

refactor: minimize tui-components public API and fix internal imports#524

Merged
FL4TLiN3 merged 4 commits intomainfrom
refactor/tui-components-export-cleanup
Feb 15, 2026
Merged

refactor: minimize tui-components public API and fix internal imports#524
FL4TLiN3 merged 4 commits intomainfrom
refactor/tui-components-export-cleanup

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Remove internal-only types (RuntimeInfo, EventHistoryItem) from @perstack/tui-components public exports to minimize API surface
  • Replace barrel re-exports of external package types (Activity, PerstackEvent, PerRunStreamingState, StreamingState) with direct imports from @perstack/core and @perstack/react
  • Clean up types/base.ts and types/index.ts to stop re-exporting external types through the internal barrel

Test plan

  • pnpm typecheck passes (all 22 packages)
  • pnpm build passes (all 22 packages)
  • pnpm test passes (100 test files, 1093 tests)

🤖 Generated with Claude Code

FL4TLiN3 and others added 3 commits February 15, 2026 12:22
Remove internal-only types (RuntimeInfo, EventHistoryItem) from public
exports, replace barrel re-exports of external package types with direct
imports from @perstack/core and @perstack/react, and clean up the types
barrel to stop re-exporting Activity, PerstackEvent, PerRunStreamingState,
and StreamingState.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge February 15, 2026 12:26
@FL4TLiN3 FL4TLiN3 merged commit 159afd9 into main Feb 15, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 15, 2026
@FL4TLiN3 FL4TLiN3 deleted the refactor/tui-components-export-cleanup branch February 25, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant