oira666_pi-subagent 0.2.14 → 0.2.15

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/resume.ts +1 -1
  3. package/runner.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oira666_pi-subagent",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Subagent extension for Pi coding agent. Delegate tasks to specialized agents.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/resume.ts CHANGED
@@ -23,7 +23,7 @@ export function getDefaultSubagentSessionRoot(ctx: ExtensionContext): string {
23
23
 
24
24
  const mainSessionDir = ctx.sessionManager.getSessionDir?.();
25
25
  if (typeof mainSessionDir === "string" && mainSessionDir.length > 0) {
26
- return path.join(path.dirname(mainSessionDir), "sessions-subagents");
26
+ return path.join(mainSessionDir, "subagents");
27
27
  }
28
28
 
29
29
  throw new Error("Cannot determine subagent session root: sessionManager.getSessionDir() is unavailable.");
package/runner.ts CHANGED
@@ -224,7 +224,7 @@ function parseInheritedCliArgs(argv: string[]): InheritedCliArgs {
224
224
 
225
225
  // ── ALWAYS-PROXY: known value flags ──────────────────────────────────────
226
226
  if ([
227
- "--provider", "--api-key", "--system-prompt", "--session-dir",
227
+ "--provider", "--api-key", "--system-prompt",
228
228
  "--models", "--skill", "--prompt-template", "--theme",
229
229
  ].includes(flagName)) {
230
230
  const [value, skip] = getVal();