Recently Written · git

ai-config

One canonical AI agent config (rules, skills, MCP servers) rendered into Claude Code, Codex, Copilot CLI and Antigravity by acsync

git clone https://github.com/equwal/ai-config

Log | Files | Refs


commit 162c96f99e5b07b44a2a54dce7a13fe6f9c598f0
equwal <13551856+equwal@users.noreply.github.com>
2026-10-04 06:32:17 -0700

Drop g turn-finished notifications: remove notify-done.sh and Linux Copilot agentStop hook

 acsync.toml                                 |  9 ---------
 hooks/copilot-notification-hooks.linux.json | 12 ------------
 hooks/notify-done.sh                        | 14 --------------
 3 files changed, 35 deletions(-)
diff --git a/acsync.toml b/acsync.toml
index 9b97766..0c8c7e0 100644
--- a/acsync.toml
+++ b/acsync.toml
@@ -147,12 +147,3 @@ targets = ["copilot", "antigravity", "codex"]
 command = "node"
 args = ['${home}\shipyard\bin\shipyard.js']
 env = { MEMSTATE_DB = '${home}\.memstate\memstate.db' }
-
-# ---------- hooks ----------
-[files."${home}/.copilot/hooks/notification-hooks.json"]
-src = "hooks/copilot-notification-hooks.linux.json"
-machines = ["g"]
-
-[files."${home}/.claude/hooks/notify-done.sh"]
-src = "hooks/notify-done.sh"
-machines = ["g"]
diff --git a/hooks/copilot-notification-hooks.linux.json b/hooks/copilot-notification-hooks.linux.json
deleted file mode 100644
index b314095..0000000
--- a/hooks/copilot-notification-hooks.linux.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "version": 1,
-  "hooks": {
-    "agentStop": [
-      {
-        "type": "command",
-        "bash": "/home/jose/.claude/hooks/notify-done.sh 'Copilot CLI' 'Turn finished'",
-        "timeoutSec": 15
-      }
-    ]
-  }
-}
\ No newline at end of file
diff --git a/hooks/notify-done.sh b/hooks/notify-done.sh
deleted file mode 100644
index d6f8881..0000000
--- a/hooks/notify-done.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-# Desktop notification on g (dwl/Wayland). Starts a private session bus + mako on demand.
-# Usage: notify-done.sh [title] [message]
-export PATH=$PATH:/bin:/usr/bin:/home/jose/.local/state/nix/profiles/extra/bin
-export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp}
-BUS=/tmp/jose-notify-bus
-export DBUS_SESSION_BUS_ADDRESS=unix:path=$BUS
-# newest wayland socket belongs to the live dwl session
-export WAYLAND_DISPLAY=$(ls -t /tmp/wayland-? 2>/dev/null | head -1 | sed 's|.*/||')
-[ -S "$BUS" ] || { rm -f "$BUS"; DBD=$(ls /nix/store/*dbus-1.*/bin/dbus-daemon 2>/dev/null | head -1)
-  [ -n "$DBD" ] && "$DBD" --config-file="$(dirname "$DBD")/../share/dbus-1/session.conf" --fork --address="$DBUS_SESSION_BUS_ADDRESS" >/dev/null 2>&1; }
-pgrep -x mako >/dev/null || { nohup mako >/dev/null 2>&1 & sleep 1; }
-notify-send "${1:-AI done}" "${2:-Turn finished}" 2>/dev/null
-exit 0
\ No newline at end of file