{"id":44131042,"url":"https://github.com/jwintz/pi-island","last_synced_at":"2026-02-09T23:00:43.417Z","repository":{"id":336314604,"uuid":"1149149931","full_name":"jwintz/pi-island","owner":"jwintz","description":"A native macOS dynamic island interface for the Pi coding agent. Real-time session monitoring, ambient notifications, and seamless multi-session management - all from your notch.","archived":false,"fork":false,"pushed_at":"2026-02-08T20:57:07.000Z","size":3065,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-09T01:52:38.456Z","etag":null,"topics":["agent","coding","dynamic","island","notch","pi"],"latest_commit_sha":null,"homepage":"https://jwintz.github.io/pi-island/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwintz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T19:24:37.000Z","updated_at":"2026-02-08T20:47:36.000Z","dependencies_parsed_at":"2026-02-09T23:00:32.295Z","dependency_job_id":null,"html_url":"https://github.com/jwintz/pi-island","commit_stats":null,"previous_names":["jwintz/pi-island"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jwintz/pi-island","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwintz%2Fpi-island","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwintz%2Fpi-island/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwintz%2Fpi-island/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwintz%2Fpi-island/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwintz","download_url":"https://codeload.github.com/jwintz/pi-island/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwintz%2Fpi-island/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29284715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","coding","dynamic","island","notch","pi"],"created_at":"2026-02-08T22:11:05.186Z","updated_at":"2026-02-09T23:00:43.412Z","avatar_url":"https://github.com/jwintz.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi Island\n\nA native macOS Dynamic Island-style interface for the [Pi Coding Agent](https://pi.dev). Pi Island provides a floating notch UI that gives you a glanceable view of your Pi agent's status with full chat capabilities.\n\n\u003cimg width=\"1920\" height=\"1080\" alt=\"612_1x_shots_so\" src=\"https://github.com/user-attachments/assets/7289590b-67df-4e67-9605-8353736acbd4\" /\u003e\n\n## Features\n\n### Core\n- **Floating Notch UI** - Sits at the top of your screen, mimicking Dynamic Island\n- **Full Chat Interface** - Send messages, receive streaming responses\n- **Real-time Status** - See thinking, executing, idle states at a glance\n- **Tool Execution** - Watch tool calls with live output streaming\n- **Native macOS** - Built with SwiftUI, optimized for macOS 14+\n\n### Session Management\n- **Multi-session Support** - Manage multiple Pi sessions simultaneously\n- **Session Resume** - Click any historical session to resume where you left off\n- **Historical Sessions** - Browse recent sessions from ~/.pi/agent/sessions/\n- **External Activity Detection** - Yellow indicator for sessions active in other terminals\n- **Live Session Indicators** - Green dot for connected sessions\n\n### Model \u0026 Provider\n- **Model Selector** - Dropdown to switch between available models\n- **Provider Grouping** - Models organized by provider\n- **Thinking Level** - Adjustable reasoning depth for supported models\n\n### Settings\n- **Launch at Login** - Start Pi Island automatically\n- **Show in Dock** - Toggle dock icon visibility\n- **Menu Bar** - Quick access to quit\n\n### UI Polish\n- **Boot Animation** - Smooth expand/collapse on launch\n- **Hover to Expand** - Natural interaction with notch area\n- **Click Outside to Close** - Dismiss by clicking elsewhere\n- **Auto-scroll** - Chat scrolls to latest message\n- **Glass Effect** - Ultra-thin material background\n\n## Architecture\n\nPi Island spawns Pi in RPC mode (`pi --mode rpc`) and communicates via stdin/stdout JSON protocol:\n\n```\nPi Island (macOS app)\n    |\n    |--- stdin: Commands (prompt, switch_session, get_messages, etc.)\n    |--- stdout: Events (message streaming, tool execution, etc.)\n    |\n    v\npi --mode rpc (child process)\n```\n\n## Requirements\n\n- macOS 14.0+\n- Pi Coding Agent installed (`npm install -g @mariozechner/pi-coding-agent`)\n- Valid API key for your preferred provider\n\n## Building\n\n### Development (Debug)\n\n```bash\nswift build\n.build/debug/PiIsland\n```\n\n### Production (App Bundle)\n\nCreate a proper macOS `.app` bundle with icon and LSUIElement support:\n\n```bash\n./scripts/bundle.sh\n```\n\nThis generates `Pi Island.app` with:\n- Proper app icon from `pi-island.icon` (Xcode 15+ Icon Composer format)\n- `LSUIElement: true` - no dock icon by default, no terminal on launch\n- All resources bundled correctly\n- Login shell environment extraction (works when launched from Finder)\n\n### Creating a DMG for Distribution\n\nTo distribute the app with proper codesigning (to avoid Gatekeeper warnings), you should sign it with a Developer ID Application certificate and notarize it with Apple.\n\nFind your signing identity:\n```bash\nsecurity find-identity -p codesigning -v\n```\n\nBuild and sign:\n```bash\n# Build + ad-hoc sign + create DMG (for local/trusted distribution)\n./scripts/bundle.sh --sign --dmg\n\n# Build + sign with Developer ID + create DMG (for public distribution)\n./scripts/bundle.sh --sign-id \"Developer ID Application: Your Name (TEAM_ID)\" --dmg\n```\n\nThis creates `Pi-Island-0.3.0.dmg`. To completely remove the \"Apple could not verify...\" warning for other users, you must notarize the DMG:\n\n```bash\nexport APPLE_ID=\"your@email.com\"\nexport APPLE_PASSWORD=\"app-specific-password\"\nexport APPLE_TEAM_ID=\"YOUR_TEAM_ID\"\n\n./scripts/notarize.sh Pi-Island-0.3.0.dmg\n```\n\nYou can verify the result with:\n```bash\nspctl -a -vv -t install \"Pi-Island-0.3.0.dmg\"\n```\n\n**Note:** Without a Developer ID certificate and notarization, recipients may see a \"damaged\" error or a security warning. They can bypass this by right-clicking the app and selecting **Open**, or by running:\n```bash\nxattr -cr \"/Applications/Pi Island.app\"\n```\n\n### Installation\n\nFrom DMG:\n1. Open `Pi-Island-0.3.0.dmg`\n2. Drag `Pi Island` to the `Applications` folder\n\nOr manually:\n```bash\ncp -R \"Pi Island.app\" /Applications/\n```\n\n### Auto-launch at Login\n\n1. Open **System Settings \u003e General \u003e Login Items**\n2. Click **+** and add **Pi Island** from Applications\n\nThe app will launch silently without opening a terminal window.\n\n## Usage\n\n1. Launch Pi Island\n2. Hover over the notch area at the top of your screen to expand\n3. Click a session to open chat, or click gear icon for settings\n4. Type messages in the input bar to interact with Pi\n\n### Status Indicators\n\n- **Gray** - Disconnected / Historical session\n- **Yellow** - Externally active (modified recently)\n- **Orange** - Connecting\n- **Green** - Connected and idle\n- **Blue** - Thinking\n- **Cyan** - Executing tool\n- **Red** - Error\n\n## File Structure\n\n```\npi-island/\n  Package.swift\n  Sources/\n    PiIsland/\n      PiIslandApp.swift           # Entry point, AppDelegate, StatusBarController\n      Core/\n        EventMonitors.swift       # Global mouse event monitoring\n        NotchGeometry.swift       # Geometry calculations\n        NotchViewModel.swift      # State management\n        NSScreen+Notch.swift      # Screen extensions\n      UI/\n        NotchView.swift           # Main SwiftUI view\n        NotchShape.swift          # Animatable notch shape\n        NotchWindowController.swift\n        PiLogo.swift              # Pi logo shape\n        SettingsView.swift        # Settings panel\n      RPC/\n        PiRPCClient.swift         # RPC process management\n        RPCChatView.swift         # Chat UI components\n        RPCTypes.swift            # Protocol types\n        SessionManager.swift      # Session management\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwintz%2Fpi-island","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwintz%2Fpi-island","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwintz%2Fpi-island/lists"}