@rahularya01/pi-cursor 1.4.3 → 1.4.4

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,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.4] - 2026-08-02
4
+
5
+ ### Fixed
6
+
7
+ - **Simple turns looked like they "used 20% context".** The visible context-mode hierarchy blurb is tiny; the real cost is Pi's system prompt + full tool/MCP JSON schemas (often tens of thousands of tokens) re-sent every turn. pi-cursor now:
8
+ - drops no-op context-mode injections (hierarchy boilerplate + empty/mode-only `<session_state>`)
9
+ - slims tool descriptions/parameter docs/enums before building Cursor MCP tool defs (**default on**; `PI_CURSOR_SLIM_TOOLS=0` to disable)
10
+ - records a request-size breakdown on every stream (`lifecycle` `request_size` + `/cursor.doctor` `lastRequestSize`)
11
+
3
12
  ## [1.4.3] - 2026-08-02
4
13
 
5
14
  ### Fixed
package/README.md CHANGED
@@ -159,6 +159,7 @@ Pi Coding Agent → streamSimple (cursor-native)
159
159
  | `PI_CURSOR_ACTIVE_BRIDGE_TTL_MS` | How long a mid-tool bridge stays parked waiting for tool results (default: 1 hour). |
160
160
  | `PI_CURSOR_H2_CONNECT_TIMEOUT_MS` | h2-bridge initial connect kill (default: `30000`; `0` disables). |
161
161
  | `PI_CURSOR_H2_IDLE_TIMEOUT_MS` | h2-bridge activity idle kill. **Default `0` (disabled)**. Parent heartbeats reset it when enabled. |
162
+ | `PI_CURSOR_SLIM_TOOLS` | Truncate verbose tool descriptions/parameter docs/enums on the Cursor MCP tool surface. **Default on**; set `0`/`false` for full schemas. |
162
163
  | `PI_CURSOR_MIDPAUSE_REBUILD_MAX_AGE_MS` | Max age of mid-pause metadata used for full-history rebuild (default: 15 min). |
163
164
 
164
165
  ## Architecture notes