Skip to content

Conversation

catrielmuller
Copy link
Contributor

@catrielmuller catrielmuller commented Sep 5, 2025

Context

This PR adds enhanced macOS notification support with terminal-notifier integration while maintaining backward compatibility. The implementation prioritizes terminal-notifier for richer notifications and automatically falls back to AppleScript when it's unavailable.

Implementation

  • Adds terminal-notifier support for macOS notifications with custom icons and enhanced features
  • Implements comprehensive fallback mechanism from terminal-notifier to osascript
  • Includes extensive test coverage and detailed documentation for cross-platform system notifications

Screenshots

Screenshot 2025-09-05 at 5 40 45 PM

Copy link

changeset-bot bot commented Sep 5, 2025

🦋 Changeset detected

Latest commit: a4cc290

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
kilocode-docs Minor
kilo-code Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds enhanced macOS notification support with terminal-notifier integration while maintaining backward compatibility. The implementation prioritizes terminal-notifier for richer notifications and automatically falls back to AppleScript when it's unavailable.

  • Adds terminal-notifier support for macOS notifications with custom icons and enhanced features
  • Implements comprehensive fallback mechanism from terminal-notifier to osascript
  • Includes extensive test coverage and detailed documentation for cross-platform system notifications

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/integrations/notifications/index.ts Adds terminal-notifier support with fallback to osascript for macOS notifications
src/integrations/notifications/tests/index.spec.ts Comprehensive test suite covering terminal-notifier, fallback scenarios, and cross-platform notifications
apps/kilocode-docs/docs/features/system-notifications.md Detailed documentation for system notifications setup across macOS, Windows, and Linux
apps/kilocode-docs/sidebars.ts Adds system notifications to documentation navigation
jetbrains/host/package.json Removes unused watch scripts
.vscode/tasks.json Updates watch task configuration for better package.json monitoring
.changeset/spicy-animals-nail.md Documents the terminal notifier feature addition

args.push("-sound", "Tink")

// Add Kilo Code logo
const extensionUri = vscode.extensions.getExtension(`kilocode.kilo-code`)!.extensionUri
Copy link
Preview

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line adds Kilocode-specific functionality but is missing the required kilocode_change comment marking. According to the coding guidelines, all Kilocode-specific changes should be marked with // kilocode_change at the end of the line.

Copilot generated this review using guidance from repository custom instructions.


// Add Kilo Code logo
const extensionUri = vscode.extensions.getExtension(`kilocode.kilo-code`)!.extensionUri
const iconPath = vscode.Uri.joinPath(extensionUri, "assets", "icons", "kilo.png").fsPath
Copy link
Preview

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line adds Kilocode-specific functionality but is missing the required kilocode_change comment marking. According to the coding guidelines, all Kilocode-specific changes should be marked with // kilocode_change at the end of the line.

Copilot generated this review using guidance from repository custom instructions.

// Add Kilo Code logo
const extensionUri = vscode.extensions.getExtension(`kilocode.kilo-code`)!.extensionUri
const iconPath = vscode.Uri.joinPath(extensionUri, "assets", "icons", "kilo.png").fsPath
args.push("-appIcon", iconPath)
Copy link
Preview

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line adds Kilocode-specific functionality but is missing the required kilocode_change comment marking. According to the coding guidelines, all Kilocode-specific changes should be marked with // kilocode_change at the end of the line.

Copilot generated this review using guidance from repository custom instructions.

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