Catalog npm
PACKAGE EXPLORERView in registry

@0xkobold/pi-suggest

npm

Context-aware suggestion engine for pi-coding-agent

context-awareintentpi-packagesuggestions
Versions collected5
Direct dependencies6From release 0.5.0
Last observed21 Oct, 09:03 UTC

README

Current package documentation

@0xkobold/pi-suggest

Ghost text prompt suggester for pi-coding-agent. Forked from @guwidoe/pi-prompt-suggester architecture.

Features

  • 👻 Ghost Text - Suggestions appear inline in the editor as ghost/dim text
  • ⌨️ Space to Accept - Press Space on empty editor to accept suggestion
  • ✏️ Type to Override - Any keypress hides ghost and types normally
  • 🔄 Auto-Generate - Suggestions generated after each agent response

Install

# Global install
pi install npm:@0xkobold/pi-suggest

# Project-local install
pi install -l npm:@0xkobold/pi-suggest

Usage

After an assistant completion, the extension suggests the next user prompt as ghost text in the editor.

Commands

  • /suggest status - Show current suggestion
  • /suggest ghost - Show current ghost text

How It Works

  1. After agent responds, a suggestion appears as gray/dim text in the empty input field
  2. Press Space on an empty editor to accept the full suggestion
  3. Type any character to dismiss the ghost and type normally

Architecture

Based on @guwidoe/pi-prompt-suggester:

  • GhostSuggestionEditor extends CustomEditor from pi-coding-agent
  • Overrides handleInput() to intercept Space key for acceptance
  • Overrides render() to draw ghost text inline with cursor
  • Uses ctx.ui.setEditorComponent() to install custom editor

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 5

Collected releases
VersionPublishedDirect dependenciesOpen version
0.5.0Registry latest24 Mar 20266
0.4.024 Mar 20266
0.3.024 Mar 20266
0.2.024 Mar 20266
0.1.024 Mar 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xkobold/pi-suggest

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e245a880c85d8d7777c22b5f6694a11f2399683122e220e3bb0fa3fc4cbac78e