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.
|
@@ -1458,8 +1458,11 @@ export default function (pi: ExtensionAPI) {
|
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
|
-
|
|
1462
|
-
|
|
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