@henryqw/pi-subagent 29.1.1 → 29.1.2

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/dist/ephemeral.js CHANGED
@@ -221,7 +221,8 @@ export function createEphemeralSubagentExecutor(options) {
221
221
  }
222
222
  function piInvocation() {
223
223
  const currentScript = process.argv[1];
224
- const isBunVirtualScript = currentScript?.startsWith("/$bunfs/root/");
224
+ const isBunVirtualScript = currentScript !== undefined &&
225
+ (currentScript.startsWith("/$bunfs/root/") || /^[A-Za-z]:[\\/]~BUN[\\/]root[\\/]/.test(currentScript));
225
226
  if (currentScript && !isBunVirtualScript && existsSync(currentScript)) {
226
227
  return { command: process.execPath, args: [currentScript] };
227
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-subagent",
3
- "version": "29.1.1",
3
+ "version": "29.1.2",
4
4
  "description": "Delegate bounded direct work or durable checked isolated task graphs to Pi roles.",
5
5
  "keywords": [
6
6
  "pi-package",