ikie-cli 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/repl.js +11 -0
  2. package/package.json +1 -1
package/dist/repl.js CHANGED
@@ -793,6 +793,17 @@ function notify(message) {
793
793
  else if (process.platform === 'linux') {
794
794
  exec(`notify-send "ikie" "${safe}" 2>/dev/null`, () => { });
795
795
  }
796
+ else if (process.platform === 'win32') {
797
+ const ps = `Add-Type -AssemblyName System.Windows.Forms;`
798
+ + `$n=New-Object System.Windows.Forms.NotifyIcon;`
799
+ + `$n.Icon=[System.Drawing.SystemIcons]::Application;`
800
+ + `$n.BalloonTipTitle='ikie';`
801
+ + `$n.BalloonTipText='${safe}';`
802
+ + `$n.Visible=$true;`
803
+ + `$n.ShowBalloonTip(5000);`
804
+ + `Start-Sleep 2;$n.Dispose()`;
805
+ exec(`powershell -NoProfile -NonInteractive -Command "& {${ps}}"`, () => { });
806
+ }
796
807
  }
797
808
  export async function startREPL(agent, config, projectContext, oneShot) {
798
809
  void HISTORY_FILE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikie-cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Agentic coding CLI — your terminal AI pair programmer",
5
5
  "type": "module",
6
6
  "bin": {