pi-repoprompt-cli 0.2.5 → 0.2.6

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "readcacheReadFile": true
2
+ "readcacheReadFile": false
3
3
  }
@@ -1458,8 +1458,11 @@ export default function (pi: ExtensionAPI) {
1458
1458
  };
1459
1459
  }
1460
1460
 
1461
- const readRequest =
1462
- config.readcacheReadFile === true && rawJson !== true ? parseReadFileRequest(params.cmd) : null;
1461
+ // Parse read-like commands to:
1462
+ // - detect cacheable reads (when enabled)
1463
+ // - strip wrapper-only args like bypass_cache=true even when caching is disabled
1464
+ // (so agents can safely use bypass_cache in instructions regardless of config)
1465
+ const readRequest = parseReadFileRequest(params.cmd);
1463
1466
 
1464
1467
  const cmdToRun = readRequest ? readRequest.cmdToRun : params.cmd;
1465
1468
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-repoprompt-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Integrates RepoPrompt with Pi via RepoPrompt's `rp-cli` executable",
5
5
  "keywords": ["pi-package", "pi", "pi-coding-agent", "repoprompt"],
6
6
  "license": "MIT",