@stfade/pi-read-delegator 1.0.7 → 1.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stfade/pi-read-delegator",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Pi extension that delegates all read operations to a Reader subagent, blocking read tools from the main model",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/reader-manager.js CHANGED
@@ -102,12 +102,12 @@ async function checkDependencies(prompt) {
102
102
  // Attempt installation
103
103
  console.log("[pi-read-delegator] 📦 Installing pi-subagents…");
104
104
  try {
105
- (0, child_process_1.execSync)("pi install pi-subagents", {
105
+ (0, child_process_1.execSync)("pi install npm:pi-subagents", {
106
106
  stdio: "pipe",
107
107
  timeout: 60_000,
108
108
  encoding: "utf-8",
109
109
  });
110
- console.log("[pi-read-delegator] ✅ pi-subagents installed via pi.");
110
+ console.log("[pi-read-delegator] ✅ pi-subagents installed via 'pi install npm:pi-subagents'.");
111
111
  }
112
112
  catch (firstErr) {
113
113
  // Fallback to global npm install