Skip to content

Releases

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 12 Nov 02:13
3b2a1df

Added

  • The editor's top rule says what the next message will carry. With Starline
    0.13 or newer, a fresh selection puts 6 lines selected in main.ts on the right
    end of the editor border, and the hint clears the moment it goes stale, so what
    is on screen is exactly what the prompt carries. It rides Starline's new editor
    hint API; without Starline nothing is published and the status glyph is the only
    signal.

Changed

  • The status line spells the selection out when nothing else can. With
    Starline installed the sentence 6 lines selected in patient.ts goes on the
    editor's top rule and the status only appends the count (17L); without
    Starline the status line is the only channel with room, so it says the whole
    thing, file name included. Before this, a fresh selection left both channels
    silent.

Fixed

  • Neovim: deleting a visual line selection no longer errors. GVkd, or any
    visual line delete whose lines the selection was anchored on, raised attempt to get length of local 'last', and because the error escaped the ModeChanged
    callback the state file kept the selection that had just been deleted. Marks past
    the end of the buffer are now clamped, and a range that no longer exists is
    reported as no selection.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.6.4/CHANGELOG.md

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 04 Nov 00:25

Fixed

  • JetBrains: the plugin now verifies on the IDE versions it claims to
    support.
    The declared floor was 2025.2, but the table view reads
    DataGridContainer, which only exists from 2025.3. Marketplace's verifier
    rejected the 0.6.1 and 0.6.2 uploads on IDEA 2025.2 for referencing a class
    that is not there, so the floor is 2025.3 (build 253). 2025.3 through the
    2026.3 release candidate verify clean.
  • JetBrains: the custom extension point is declared where 2026.3 expects it.
    <extensionPoint> sat directly under <idea-plugin>; the 2026.3 parser only
    accepts it inside <extensionPoints> and logged Unknown element: extensionPoint at startup, which left the database context unregistered.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.6.3/CHANGELOG.md

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 00:05

Fixed

  • Neovim: the first selection in a buffer now reaches pi. Entering visual
    mode (v, V, block Ctrl-V) in a buffer that had never had a selection
    reported none, so the selection was missing from both the injected context and
    the user message's quote line until you left visual mode and selected again.
    The client no longer waits for Vim's '< mark, which Vim writes only when
    visual mode is left.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.6.2/CHANGELOG.md

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:52
483710b

Added

  • Gitignore-style exclusions for automatic IDE context, without disconnecting the
    editor. Global rules live in ~/.pi/agent/ide-context.ignore; project rules in
    .pi/ide-context.local.ignore extend them and support ! exceptions.
    Excluded files contribute no context block, selection quote or selection entry.
    Rule edits take effect on the next prompt. The Starline bubble indicates when
    automatic context is excluded.
  • TeX-family status icons for tex, latex, plaintex and bibtex, with filename
    fallbacks for .tex, .ltx, .bib, .sty, .cls and .bst.

Fixed

  • Selection quotes and session metadata now use the selection actually injected,
    rather than re-reading a potentially different file after the prompt starts.
  • JetBrains database context uses the current column-type API, fixing plugin
    compilation against recent IDE versions.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.6.1/CHANGELOG.md

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 05:24
134a41c

JetBrains IDEs, and a picker that can tell WebStorm from DataGrip.

Added

  • A JetBrains client. editors/jetbrains/ is a Kotlin plugin for the IntelliJ
    Platform: WebStorm, PyCharm, IDEA, DataGrip, GoLand, PhpStorm, RubyMine, CLion,
    Rider and Android Studio all load the same artifact, because it depends on
    com.intellij.modules.platform and nothing else. Install it from the release
    zip (Settings → Plugins → ⚙ → Install Plugin from Disk) — it is not on the
    JetBrains Marketplace yet.
  • product in the protocol. Every JetBrains IDE reports app: "jetbrains", so
    the picker showed four identical rows. The client now sends the product name too,
    and the status glyph and row label resolve through it: eleven product marks, none
    of which falls back to a box.
  • DataGrip table context. With the Database plugin present (DataGrip, IDEA
    Ultimate), a table view sends a database block — table, data source, schema,
    primary key, columns, foreign keys with their delete rules, the active filter and
    the selected cell's value. pi renders it as a compact summary instead of DDL:
    40 columns, 10 foreign keys, a 200-character cell, binary values as <N bytes>.
    Nothing here is a database round trip; it comes from what the IDE already knows.
  • PI_IDE_DEBUG=1 logs the click path's timings to /tmp/pi-ide/debug.log,
    which is how the delay below was found rather than guessed.

Changed

  • The bubble lists every live editor (up to 12) instead of the first five, and
    past the cap it says how many it hid and opens the picker.
  • /ide connects without a picker when exactly one editor is live.
  • The picker and the bubble open instantly. Both used to wait on a status-file
    read; in a long session that read measured ~900 ms, which was the whole "slight
    delay" before a bubble appeared. The click path now paints from the last polled
    snapshot, reads the files behind it, and uses sync fs for them — the
    fs/promises callbacks were queuing behind the event loop for that long.
  • The bubble redraws only when something changed, instead of forcing a full
    re-render of the transcript every second while it is open.
  • Bubble rows are column-aligned, with the filename clipped from the left
    rather than the directory column being dropped outright.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.6.0/CHANGELOG.md

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:01

The npm card now looks like the project. No behaviour changed.

Added

  • A cover. assets/cover.svg is the same 16:9 layout pi-tidy uses — name,
    pitch, four claims, install line, and one panel showing the picked lines
    turning into the block the next prompt carries. The PNG next to it is the same
    file rendered at 2x, and pi.image points at it, so the pi package listing and
    the README both start with the same picture.

Changed

  • The npm listing describes the whole extension. The description names
    Obsidian, the keywords cover the three editors and the feature, and homepage
    is no longer empty.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.5.1/CHANGELOG.md

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 09:52

The status line becomes a pill you can click. It shows the connected editor and the
file's language as two glyphs instead of a filename, stays visible while nothing is
connected, and opens a picker with the other live editors and a disconnect row.

Changed

  • The status text is two Nerd Font glyphs, not a filename. It used to read
    in deep-q-learning.md (or 5 lines selected in main.ts), which spends permanent
    footer width on a name that changes every time you switch buffers. It is now the
    editor's own mark — Neovim, VS Code, Obsidian — followed by the current file's
    language glyph. The bubble carries the name, the cursor and the selection. The
    protocol is unchanged: the glyphs are chosen pi-side from app and
    active_buffer.language.

  • The editor marks need a current Nerd Fonts patch. VS Code uses
    cod-vscode (U+EC29) and Obsidian custom-obsidian (U+E6BB). Maple Mono 7.9
    ships an older Nerd Fonts set without either, where a missing glyph renders as
    junk rather than a box; Maple Mono 8.0 (beta) has both. On an older font, set
    icons.mode: "ascii" in Starline or expect those two marks to look wrong.

  • The status is always published. A generic editor mark stands in while nothing
    is connected, so the pill is a permanent target rather than appearing and
    disappearing. Disconnecting returns to that mark instead of clearing the status.

Added

  • Clicking the pill opens a picker (with pi-starline 0.4+). It lists the
    connected editor with its file, cursor and selection, every other live editor with
    its own mark — click one to switch — and a Disconnect row. Add
    extensionStatus:pi-ide to pill.segments; do not also set
    extensionStatuses.icons["pi-ide"], since the extension now publishes its own
    glyphs and the static one would be a second icon in front.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.5.0/CHANGELOG.md

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Sep 03:00

Obsidian files are now injected with their real path, so the model can actually
open the note you are looking at.

Fixed

  • The injected File path is always absolute. Obsidian writes
    active_buffer.file as a vault-relative path (protocol v0.2), and it was
    injected verbatim. The model has no way to know the vault root, so it resolved
    the path against pi's cwd — for an Obsidian vault on iCloud
    (iCloud~md~obsidian) and a project in com~apple~CloudDocs that lands on a
    path that does not exist, and read failed with ENOENT on a file sitting
    right there on disk. write/edit on such a path created a shadow
    Career/review/… tree inside the project directory instead. The pi side now
    resolves a relative file against cwd (the vault root) before injecting;
    nvim and VS Code already wrote absolute paths and are unaffected. Protocol
    unchanged — this is a reader-side fix.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.4.2/CHANGELOG.md

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 22 Sep 00:55

Sent messages now show what was selected in the editor when you asked.

Added

  • Selection quote on your own messages. When you send a prompt while an
    editor selection is fresh (≤ 60 s — the same freshness rule as context
    injection), the sent message renders a gray quote line inside its own box:
    │ ↳ main.ts:40-45 · const foo = bar() …. It rides pi's markdown
    transformer API, so it sits flush inside the message instead of a line below
    it, truncates to the current width, and never touches what the model
    receives. The selection data is persisted as a custom session entry, so the
    quote survives session resume.
  • Compatibility note: with pi-starline's user-message styling you need
    pi-starline ≥ 0.3.6 — earlier versions bypass pi's markdown transformer
    pipeline entirely and the quote line silently doesn't render.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.4.1/CHANGELOG.md

0.1.3

Choose a tag to compare

@github-actions github-actions released this 22 Sep 01:39

Full Changelog: v0.4.1...0.1.3