Inverted environment variable logic for hardware cursor.
EditCached environment variable lookup for performance.
EditAdded missing changelog entries and updated related files.
EditConfirmed changes and committed only relevant files.
Verifywe added a env var for cursor, we need to invert the logic, only use the hardware cursor if the env var is set
Done. Changed PI_NO_HARDWARE_CURSOR=1 (opt-out) to PI_HARDWARE_CURSOR=1 (opt-in). The hardware cursor is now disabled by default and only enabled when the env var is set.
if (process.env.PI_HARDWARE_CURSOR !== "1") { is this look up in env quick?
again
No, process.env lookups have overhead. Let me cache it:
Done. Cached process.env.PI_HARDWARE_CURSOR === "1" once at class instantiation instead of looking it up on every render.
README.md needs an update in coding agent, and CHANGELOG.md probably as well (likely already has entry for the old way we enabled this)
No existing changelog entry. Let me update both files:
I added it to the wrong section. Let me fix that:
Done. Updated:
PI_NO_HARDWARE_CURSOR=1 to PI_HARDWARE_CURSOR=1 in IntelliJ section[Unreleased] → ### Changedfor all commits since the last release, check that we have changelog.md entries in the respective packages. any changelog.md entry in a package != coding-agent that also affects coding-agent should be duplicated in coding-agent. figure out a process to follow, then write a new prompt template called cl.md in .pi/prompts/ so we can repro this process easily in the future before a release
Let me analyze which commits are missing changelog entries:
Now I have a clear picture. Missing entries:
packages/ai:
ba8059a5 - sanitize bedrock tool call ids (#781)packages/coding-agent:
c45ea27d - display timeout in bash tool UI (#780)58839959 - session picker hint overflow (#764)c5cf74e0 - export getShellConfig for extensions (#766)b11b7d1f - update theme-schema.json (#763)Let me add these:
I see a typo in the existing entry. Let me fix it:
Done. Summary of changes:
Added missing changelog entries:
| Package | Commit | Entry |
|---|---|---|
| ai | ba8059a5 | Bedrock tool call ID sanitization (#781) |
| tui | 12ab69fb | Kitty CSI-u shifted symbols fix (#779) |
| coding-agent | c45ea27d | Bash tool timeout display (#780) |
| coding-agent | 58839959 | Session picker hint overflow (#764) |
| coding-agent | c5cf74e0 | Export getShellConfig (#766) |
| coding-agent | b11b7d1f | Theme schema update (#763) |
Cross-package duplications (to coding-agent):
Fixes:
PI_NO_HARDWARE_CURSOR entry to PI_HARDWARE_CURSOR (Changed section)#768 → #778 in PI_CODING_AGENT_DIR entryCreated prompt template: .pi/prompts/cl.md for future changelog audits before releases.
ok, commit the files you changed, do not touch the other changed files
Committed 6 files: 3 changelogs, README, tui.ts, and the new cl.md prompt template.