@d3ara1n/pi-command-palette 0.4.1 → 0.4.2

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pi-command-palette
2
2
 
3
- Global command palette for [Pi Coding Agent](https://pi.dev) — press **Ctrl+Alt+P** to search and run commands from anywhere.
3
+ Global command palette for [Pi Coding Agent](https://pi.dev) — press **Ctrl+Shift+P** to search and run commands from anywhere.
4
4
 
5
5
  ## Why?
6
6
 
@@ -30,7 +30,7 @@ Or add to `~/.pi/agent/settings.json`:
30
30
 
31
31
  | Shortcut | Action |
32
32
  |----------|--------|
33
- | `Ctrl+Alt+P` _(default, configurable)_ | Open command palette |
33
+ | `Ctrl+Shift+P` _(default, configurable)_ | Open command palette |
34
34
 
35
35
  The palette lists:
36
36
 
@@ -50,7 +50,7 @@ The "Model: Switch Model" action opens a secondary overlay listing all models wi
50
50
 
51
51
  ## Configuration
52
52
 
53
- The default shortcut is `Ctrl+Alt+P`. This avoids pi's built-in `Ctrl+P` / `Ctrl+Shift+P` model cycling shortcuts while keeping the palette mnemonic. If it conflicts with your terminal, override it via either of the following (evaluated in order, first match wins).
53
+ The default shortcut is `Ctrl+Shift+P`, matching VS Code's Command Palette for familiar muscle memory. If it conflicts with your terminal or other shortcuts, override it via either of the following (evaluated in order, first match wins).
54
54
 
55
55
  ### 1. Environment variable
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d3ara1n/pi-command-palette",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "description": "Global command palette for pi — press Ctrl+Shift+P to search and run commands from anywhere",
6
6
  "main": "src/index.ts",
package/src/config.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * `Ctrl+Shift+P` before it reaches the session (e.g. Termius on Windows/WSL2).
7
7
  * 2. `settings.json` `commandPalette.shortcut` (a present project
8
8
  * `commandPalette` block replaces the global block)
9
- * 3. default `"ctrl+alt+p"`
9
+ * 3. default `"ctrl+shift+p"`
10
10
  *
11
11
  * Why not a CLI flag? Flags are applied to the extension runtime AFTER extensions
12
12
  * load, so `pi.getFlag()` only returns the registered default at `registerShortcut()`
@@ -19,7 +19,7 @@ import * as os from "node:os";
19
19
  import * as path from "node:path";
20
20
  import type { KeyId } from "@earendil-works/pi-tui";
21
21
 
22
- export const DEFAULT_SHORTCUT = "ctrl+alt+p";
22
+ export const DEFAULT_SHORTCUT = "ctrl+shift+p";
23
23
 
24
24
  function getAgentDir(): string {
25
25
  const envDir = process.env.PI_AGENT_DIR;
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * pi-command-palette — Global command palette for pi.
3
3
  *
4
- * Press Ctrl+Alt+P to open a searchable command palette overlay,
4
+ * Press Ctrl+Shift+P to open a searchable command palette overlay,
5
5
  * regardless of whether the editor has content.
6
6
  *
7
7
  * Features: