pi-autosuggestions 0.6.0 → 0.6.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.
@@ -1 +1 @@
1
- {".":"0.6.0"}
1
+ {".":"0.6.1"}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1](https://github.com/0xPlayerOne/pi-autosuggestions/compare/pi-autosuggestions-v0.6.0...pi-autosuggestions-v0.6.1) (2026-09-05)
4
+
5
+
6
+ ### Documentation
7
+
8
+ * correct cursor description, remove unused theme helpers ([681f22d](https://github.com/0xPlayerOne/pi-autosuggestions/commit/681f22d629b6d5251e8c4543a288814855e633c5))
9
+
3
10
  ## [0.6.0](https://github.com/0xPlayerOne/pi-autosuggestions/compare/pi-autosuggestions-v0.5.0...pi-autosuggestions-v0.6.0) (2026-09-05)
4
11
 
5
12
 
package/README.md CHANGED
@@ -49,8 +49,9 @@ to suggest elsewhere.
49
49
  **Candidate cycling**: with multiple history matches, `Alt+Down` / `Alt+Up`
50
50
  rotate the ghost through the alternatives (most recent first).
51
51
 
52
- The cursor colors follow the **pi theme** (accent while "on", dim while
53
- "off"), so they stay visible on light and dark themes.
52
+ The cursor is the **terminal's native one** (see the cursor section below):
53
+ white in terminals honoring OSC 12, theme-colored elsewhere — notably Warp
54
+ paints it blue and ignores cursor-color overrides (warpdotdev/Warp#3210).
54
55
 
55
56
  ## Features
56
57
 
@@ -39,7 +39,6 @@ const RESET = "\x1b[0m";
39
39
  /** Set at extension load; used for dynamic completion exec calls. */
40
40
  let execApi: ExtensionAPI | undefined;
41
41
  /** Active pi theme (set at session start) for theme-aware cursor colors. */
42
- let themeRef: { fg(name: string, text: string): string } | undefined;
43
42
  /** Persisted extension settings (~/.pi/agent/pi-autosuggestions.json). */
44
43
  interface AutosuggestConfig {
45
44
  crossSessionHistory?: boolean;
@@ -435,16 +434,7 @@ class BashInlineEditor extends CustomEditor {
435
434
  return st.cursorCol === (st.lines[st.cursorLine] ?? "").length;
436
435
  }
437
436
 
438
- /** Theme-aware styles; fall back to white/dim when no theme is set. */
439
- private bright(text: string): string {
440
- return themeRef ? themeRef.fg("accent", text) : `${CURSOR_COLOR}${text}${RESET}`;
441
- }
442
-
443
- private dimmed(text: string): string {
444
- return themeRef ? themeRef.fg("dim", text) : `${DIM}${text}${RESET}`;
445
- }
446
-
447
- /** Suppress the dropdown in bash mode unless the popup is already open. */
437
+ /** Suppress the dropdown in bash mode unless the popup is already open. */
448
438
 
449
439
  /**
450
440
  * True while the command word after "!" is still being typed (no space
@@ -997,7 +987,6 @@ export default function (pi: ExtensionAPI): void {
997
987
  execApi = pi;
998
988
  loadConfig();
999
989
  pi.on("session_start", (_event, ctx) => {
1000
- themeRef = ctx.ui.theme;
1001
990
  ctx.ui.setEditorComponent((tui, theme, keybindings) => new BashInlineEditor(tui, theme, keybindings));
1002
991
  });
1003
992
  pi.registerCommand("autosuggest", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-autosuggestions",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "zsh-autosuggestions-style ghost completions for the pi coding agent — history-based inline suggestions, path completion in bash mode, blinking beam cursor",
5
5
  "keywords": [
6
6
  "pi-package",