cc-hub-cli 1.0.11 → 1.1.1

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 (3) hide show
  1. package/README.md +8 -2
  2. package/dist/index.js +607 -333
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Manage Claude CLI profiles, hooks, and sessions — one tool, all in one place.
4
4
 
5
- > **Note:** Currently macOS only.
5
+ > **Note:** macOS, Linux, and Windows supported.
6
6
 
7
7
  ## Install
8
8
 
@@ -100,9 +100,12 @@ cc-hub hook disable -i <index> [-i <index>] # Disable active h
100
100
  **Examples:**
101
101
 
102
102
  ```bash
103
- # Desktop notification when Claude finishes
103
+ # Desktop notification when Claude finishes (macOS)
104
104
  cc-hub hook add -e Stop -c 'osascript -e "display notification \"Done\""'
105
105
 
106
+ # Desktop notification when Claude finishes (Windows PowerShell)
107
+ cc-hub hook add -e Stop -c 'powershell -Command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show(\"Claude Done\")"'
108
+
106
109
  # Hook only for Bash tool usage
107
110
  cc-hub hook add -e PreToolUse -m Bash -c 'echo "Running bash..."'
108
111
 
@@ -149,6 +152,9 @@ eval "$(cc-hub complete zsh)"
149
152
 
150
153
  # bash — add to ~/.bashrc
151
154
  eval "$(cc-hub complete bash)"
155
+
156
+ # PowerShell — add to $PROFILE
157
+ Invoke-Expression (& cc-hub complete powershell | Out-String)
152
158
  ```
153
159
 
154
160
  Completes subcommands, profile names, and event types.