@rahularya01/pi-cursor 1.4.5 → 1.4.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.7] - 2026-08-02
4
+
5
+ ### Fixed
6
+
7
+ - **Pi Lens automated context displaced the real user prompt.** Messages explicitly labeled `[pi-lens automated context — not a user request]` (and other `[pi-lens automated …]` variants) were not recognized as provider infrastructure. When appended after `hi`, Pi Cursor treated `hi` as history and the Pi Lens file-safety notice as the active task, causing replies such as “I'll re-read tests/request-size.test.ts before editing it.” These notices now move into `<provider_context>` while the actual user text remains the live turn.
8
+ - Handles both separate-message and concatenated forms (`hi\n\n[pi-lens automated …]`) with regression coverage derived from the durable journal payload.
9
+
10
+ ## [1.4.6] - 2026-08-02
11
+
12
+ ### Fixed
13
+
14
+ - **Trivial conversational turns no longer send tool schemas.** Exact greetings and acknowledgements such as `hi`, `hello`, `thanks`, and `sounds good` cannot require repository/MCP tools, yet previously paid for all 48 contracts. These turns now omit tools entirely; actionable text such as `hi, inspect src` still receives the full compact tool surface.
15
+ - Adds a `tools_omitted` lifecycle event with the original tool count. On the measured 48-tool `hi` request this should reduce estimated input from ~16.7k tokens to ~8.5k (roughly 10% → 5% for the current model). The remaining floor is Pi's system/project prompt.
16
+
3
17
  ## [1.4.5] - 2026-08-02
4
18
 
5
19
  ### Fixed
package/README.md CHANGED
@@ -135,7 +135,8 @@ Pi Coding Agent → streamSimple (cursor-native)
135
135
  ```
136
136
 
137
137
  - **Transport:** Native Connect/protobuf streaming over HTTP/2 via `h2-bridge.mjs`.
138
- - **Context-Mode Normalization:** Side-channel user messages (such as context-mode routing or post-compaction `<session_state>` blocks) are safely normalized into the system prompt so Cursor models stay focused on your primary task.
138
+ - **Infrastructure Context Normalization:** Side-channel user messages (context-mode routing, post-compaction `<session_state>`, and explicit `[pi-lens automated … not a user request]` notices) are safely normalized into the system prompt so Cursor models stay focused on your primary task.
139
+ - **Context-Efficient Tools:** MCP schemas are compacted without changing callable constraints, and exact conversational-only turns (`hi`, `thanks`, etc.) omit tools entirely. Actionable prompts always retain tools.
139
140
  - **Cross-Platform:** Tested and fully compatible with macOS, Linux, Windows, and WSL.
140
141
 
141
142
  ## Configuration