pi-subagents-lite 0.3.0 → 0.3.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/menus.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagents-lite",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Lightweight sub-agents for pi — spawn specialized agents with isolated sessions, tools, and models.",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/menus.ts CHANGED
@@ -334,9 +334,9 @@ export async function showModelSettingsMenu(
334
334
  overridden.sort((a, b) => a.effectiveModel.localeCompare(b.effectiveModel));
335
335
  const padLen = Math.max(...types.map(t => t.length));
336
336
  for (const { typeName, cfg, sessionOverride, configOverride, hasSession, effectiveModel } of overridden) {
337
+ const frontmatterHint = !hasSession && configOverride && cfg?.model ? `${cfg.model} → ` : "";
337
338
  const displayModel = hasSession ? `${sessionOverride} [session]` : effectiveModel;
338
- const frontmatterHint = !hasSession && configOverride && cfg?.model ? ` → ${cfg.model}` : "";
339
- items.push(`${typeName.padEnd(padLen)} · ${displayModel}${frontmatterHint}`);
339
+ items.push(`${typeName.padEnd(padLen)} · ${frontmatterHint}${displayModel}`);
340
340
 
341
341
  const currentValue = hasSession ? sessionOverride! : effectiveModel;
342
342
  actions.push(buildOverrideAction(typeName, typeName, currentValue, !!configOverride));