Skip to content

feat: dock UX redesign, stdin write, command refactoring#5

Merged
aliou merged 3 commits intomainfrom
feat/redeisng
Feb 25, 2026
Merged

feat: dock UX redesign, stdin write, command refactoring#5
aliou merged 3 commits intomainfrom
feat/redeisng

Conversation

@aliou
Copy link
Owner

@aliou aliou commented Feb 25, 2026

Summary

  • Add log dock component for viewing process output
  • Add stdin write action for interactive processes
  • Split commands into separate files for maintainability

Changes

Dock UX Redesign

  • Add /ps:dock, /ps:focus, /ps:logs commands
  • New DockStateManager for centralized dock state
  • New LogDockComponent for interleaved process logs view
  • Preserve ANSI colors in process output
  • Fix duplicate notifications

Stdin Write Action

  • Add write action to process tool for writing to process stdin
  • Support interactive processes that accept user input

Command Refactoring

  • Split commands from index.ts into separate files
  • Each command in its own file (ps-command.ts, ps-kill-command.ts, etc.)
  • Shared utilities in completions.ts and pick-process.ts

Testing

  • Run pnpm typecheck and pnpm lint - all pass
  • Manual testing of dock commands and process management

- Add /ps:dock, /ps:focus, /ps:logs commands
- Add deprecated /process:* commands for backward compatibility
- Replace status widget with log dock component
- Preserve ANSI colors in process output
- Fix duplicate notifications (notify after sendMessage)
- Use proper ThemeColor type to prevent invalid color errors
- Disable status widget by default
@aliou aliou changed the title feat: dock UX redesign feat: dock UX redesign, stdin write, command refactoring Feb 25, 2026
@aliou aliou merged commit dbcd3d1 into main Feb 25, 2026
1 check passed
@aliou aliou deleted the feat/redeisng branch February 25, 2026 16:20
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