Skip to content

Add an icon on windows + show CWD in notification title#4

Open
PurpleMyst wants to merge 4 commits into
ferologics:masterfrom
PurpleMyst:master
Open

Add an icon on windows + show CWD in notification title#4
PurpleMyst wants to merge 4 commits into
ferologics:masterfrom
PurpleMyst:master

Conversation

@PurpleMyst
Copy link
Copy Markdown

Summary

Add Windows Toast notifications with icon support and project name in title.

Changes

  • feat: Windows Toast icon support

    • Add logo.png as app icon for Windows notifications
    • Use ToastImageAndText02 template with custom image path
    • Resolve icon path for WSL compatibility via wslpath -w
  • feat: show project name in notification title

    • Title now shows Pi (projectName) instead of just Pi
    • Project name extracted from current working directory
  • fix: PowerShell XML manipulation

    • Switch from GetElementsByTagName to SelectSingleNode to avoid "Collection was modified" errors
  • chore: TypeScript setup

    • Add tsconfig.json, @types/node, and typescript devDependencies
    • Add pi-coding-agent.d.ts type declarations
    • Add .gitignore for node_modules/, dist/, logs

Testing

Notifications should display correctly on:

  • Windows Terminal with icon and proper title/description
  • iTerm2, Kitty, Ghostty/WezTerm via OSC protocols
  • tmux passthrough support maintained

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