pi-better-harness 0.61.2 → 0.61.4

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 (31) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +3 -4
  3. package/extensions/task-context/compact-task-header.ts +2 -2
  4. package/extensions/task-context/index.ts +20 -15
  5. package/node_modules/pi-better-background-tasks/package.json +1 -1
  6. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-arm64.gz +0 -0
  7. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-arm64.json +1 -1
  8. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-x64.gz +0 -0
  9. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-x64.json +1 -1
  10. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-arm64.gz +0 -0
  11. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-arm64.json +1 -1
  12. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-x64.gz +0 -0
  13. package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-x64.json +1 -1
  14. package/node_modules/pi-better-goal/package.json +1 -1
  15. package/node_modules/pi-better-goal/src/index.ts +27 -10
  16. package/node_modules/pi-better-goal/src/task-context.ts +2 -0
  17. package/node_modules/pi-better-subagents/README.md +6 -5
  18. package/node_modules/pi-better-subagents/docs/usage.md +7 -8
  19. package/node_modules/pi-better-subagents/index.ts +4 -4
  20. package/node_modules/pi-better-subagents/package.json +1 -1
  21. package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-arm64.gz +0 -0
  22. package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-arm64.json +1 -1
  23. package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-x64.gz +0 -0
  24. package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-x64.json +1 -1
  25. package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-arm64.gz +0 -0
  26. package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-arm64.json +1 -1
  27. package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-x64.gz +0 -0
  28. package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-x64.json +1 -1
  29. package/node_modules/pi-better-subagents/settings-page.ts +54 -44
  30. package/node_modules/pi-better-subagents/skill-picker.ts +1 -1
  31. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.61.4] - 2026-11-29
4
+
5
+ ### Fixed
6
+
7
+ - A saved Goal shows **Resume** in the Todo panel, even without a checklist. Click it or press Alt+G to start the Goal.
8
+ - `update_todo` reports whether the Goal is saved or running. If auto-start needs completion criteria, the reply names `goal.doneWhen` and shows the manual start command.
9
+
10
+ ## [0.61.3] - 2026-11-29
11
+
12
+ ### Fixed
13
+
14
+ - Open **Skill exposure** in Subagent settings to choose all skills, no skills, or only selected skills. Choosing selected skills opens the checkbox list.
15
+
3
16
  ## [0.61.2] - 2026-11-29
4
17
 
5
18
  ### Changed
package/README.md CHANGED
@@ -22,10 +22,9 @@ Use `pi-better-harness` when you want the full working set for Pi. It manages:
22
22
 
23
23
  The Goal records what the user wants to achieve. Its Todo lists the steps. The
24
24
  panel shows checklist progress on the left and Goal status on the right. A
25
- saved Goal has a **Start Goal** button. Click it or press **Alt+G** to start work
26
- with the existing checklist. Use `/goal pause` to interrupt
27
- foreground work and hold continuation. Both commands use the current Todo,
28
- including checklists saved before a Goal was attached.
25
+ saved Goal has a **Resume** button, even without a checklist. Click it, press
26
+ **Alt+G**, or enter `/goal resume` to start the saved work. The Goal keeps any
27
+ existing checklist. Use `/goal pause` to interrupt foreground work and hold continuation.
29
28
 
30
29
  `/harness-settings` has one Goal setting, **Auto-start Goals** (default **Off**).
31
30
  Turn it on to start a newly saved Goal with acceptance criteria, restart explicitly
@@ -50,8 +50,8 @@ export function renderCompactTaskHeader(summary: string | undefined, width: numb
50
50
  }
51
51
  if (details.length > 0) {
52
52
  lines.push(...details);
53
- const fullLabel = "[Start Goal · Alt+G]";
54
- const label = indent + fullLabel.length <= size ? fullLabel : "[Start]";
53
+ const fullLabel = "[Resume · Alt+G]";
54
+ const label = indent + fullLabel.length <= size ? fullLabel : "[Resume]";
55
55
  if (header.onStartButton && size >= indent + label.length) {
56
56
  header.onStartButton(lines.length, indent, indent + label.length);
57
57
  lines.push(" ".repeat(indent) + theme.fg("accent", label));
@@ -17,7 +17,7 @@ import { OUTCOME_ENTRY, prepareOutcome, restoreOutcome, formatOutcome, type Outc
17
17
  import { changeLedgerPreference, parseOutcomeTodoPreferences } from "./preferences.js";
18
18
  import { canRenderTaskRuntime, renderCompactTaskHeader, type CompactTaskHeader } from "./compact-task-header.js";
19
19
  import type { GoalSnapshot } from "pi-better-goal/src/types.ts";
20
- import { GOAL_PANEL_START_EVENT, type GoalPanelStartRequest, OUTCOME_ACCEPTED_EVENT, type TaskContextRequest } from "pi-better-goal/src/task-context.ts";
20
+ import { GOAL_PANEL_START_EVENT, type GoalPanelStartRequest, OUTCOME_ACCEPTED_EVENT, type OutcomeAcceptedEvent, type TaskContextRequest } from "pi-better-goal/src/task-context.ts";
21
21
 
22
22
  import {
23
23
  completedPlanClearDelay,
@@ -640,7 +640,7 @@ export default function taskContextExtension(pi: ExtensionAPI): void {
640
640
  description: "Manage the accepted Goal, Todo, workflow canonical task plan, and optional durable long-term work ledger through one interface. Existing workflow and ledger revision checks apply.",
641
641
  promptSnippet: "Remember the accepted Goal and update Todo, workflow, or durable ledger progress",
642
642
  promptGuidelines: [
643
- "Capture the accepted Goal before substantive implementation, delegation, or investigation. A goal-only update is valid. Record the user’s acceptance criteria when available.",
643
+ "Capture the accepted Goal before substantive implementation, delegation, or investigation. A goal-only update is valid. Derive observable goal.doneWhen criteria from the requested result. For example, verifying and configuring access means checking current permissions, making any necessary authorized change, and verifying that change. After saving, continue the work the user already authorized in this turn.",
644
644
  "Use newTask:true with its goal when the user switches to unrelated work. Omit newTask for a correction or refinement of the same task. For a running Goal, call update_goal after verifying delivery. For a saved Goal, set goal.status to complete after verification.",
645
645
  "Use a Todo checklist when several meaningful milestones help track delivery; update it when work completes, is blocked, or changes scope.",
646
646
  "Write each Todo label as a short action in plain language, usually 3-7 English words or a similarly short phrase in the task's language. For example: 'Add Todo toggle' or 'Test keyboard controls'. Put methods, file paths, rationale, and acceptance criteria in the goal, explanation, or workflow records, not the label. Apply this to workflow titles too; do not copy long issue headings.",
@@ -724,9 +724,9 @@ export default function taskContextExtension(pi: ExtensionAPI): void {
724
724
  const replacement = steps?.length ? replacePlan(input.newTask ? null : currentPlan, steps, input.explanation ?? inherited?.explanation) : null;
725
725
  const detachOnCommit = input.newTask && ledgerId !== null;
726
726
  // Commit task memory only after the requested checklist or workflow operation succeeds.
727
- const commitOutcome = (): void => {
727
+ const commitOutcome = (summary = ""): string => {
728
728
  if (activeRun?.evidence && (input.newTask || input.todo || input.workflow)) dynamic.clear();
729
- if (!nextOutcome) return;
729
+ if (!nextOutcome) return summary;
730
730
  if (detachOnCommit) detachLedger(ctx);
731
731
  if (input.newTask && input.todo === undefined) {
732
732
  if (!input.workflow) clearWorkflowPlan();
@@ -734,13 +734,17 @@ export default function taskContextExtension(pi: ExtensionAPI): void {
734
734
  }
735
735
  saveOutcome(nextOutcome);
736
736
  const sessionId = ctx.sessionManager.getSessionId?.();
737
+ let feedback = "Goal saved.";
737
738
  if (typeof sessionId === "string") {
738
- pi.events.emit(OUTCOME_ACCEPTED_EVENT, { sessionId, reopenedGoalId: nextOutcome.reopenedGoalId, outcome: { ...nextOutcome } });
739
+ const event: OutcomeAcceptedEvent = { sessionId, reopenedGoalId: nextOutcome.reopenedGoalId, outcome: { ...nextOutcome } };
740
+ pi.events.emit(OUTCOME_ACCEPTED_EVENT, event);
741
+ feedback = event.feedback ?? feedback;
739
742
  }
743
+ return summary ? `${feedback}\n${summary}` : feedback;
740
744
  };
741
745
  if (!input.workflow && input.todo === undefined) {
742
- commitOutcome();
743
- return { content: [{ type: "text", text: "Goal updated." }], details: { ok: true, goal: outcome, outcome } };
746
+ const text = commitOutcome();
747
+ return { content: [{ type: "text", text }], details: { ok: true, goal: outcome, outcome } };
744
748
  }
745
749
  if (input.workflow !== undefined) {
746
750
  const savedBinding = workflowBinding(ctx.sessionManager.getBranch());
@@ -774,21 +778,21 @@ export default function taskContextExtension(pi: ExtensionAPI): void {
774
778
  binding = { owner: owner ?? binding!.owner, path, runId: plan.runId };
775
779
  if (transition.event === undefined) {
776
780
  displayWorkflowPlan(plan, binding, ctx, !owner);
777
- commitOutcome();
778
- return { content: [{ type: "text", text: `Showing ${binding.owner} rev ${plan.planRevision}: ${plan.issues.length} units.${owner ? "" : " Read-only handoff."}` }], details: { ok: true, runId: plan.runId, revision: plan.planRevision, ...(!owner ? { readOnly: true } : {}) } };
781
+ const text = commitOutcome(`Showing ${binding.owner} rev ${plan.planRevision}: ${plan.issues.length} units.${owner ? "" : " Read-only handoff."}`);
782
+ return { content: [{ type: "text", text }], details: { ok: true, runId: plan.runId, revision: plan.planRevision, ...(!owner ? { readOnly: true } : {}) } };
779
783
  }
780
784
  }
781
785
  if (!binding) throw new Error(`No ${owner} plan is bound; send workflow.path and workflow.revision to update_todo first.`);
782
786
  if (transition.event === undefined) throw new Error("workflow.path is required to bind or reload a plan; otherwise send workflow.event and changes.");
783
787
  const result = applyRushPlanUpdate(binding.path, ctx.cwd, binding.runId, { ...transition, event: transition.event });
784
788
  displayWorkflowPlan(result.plan, binding, ctx);
785
- commitOutcome();
786
789
  const rows = result.changed.map(({ target, id, added }) =>
787
790
  `${added ? "+" : ""}${id === null ? "run" : target === "unit" ? `#${id}` : id}`);
788
791
  const logNote = result.logAheadRevision === undefined ? ""
789
792
  : ` The profiling log already held rev ${result.logAheadRevision} (an earlier write stopped after logging); this event supersedes it.`;
793
+ const text = commitOutcome(`Saved ${owner} rev ${result.revision} (${transition.event.trim()})${rows.length ? `: ${rows.join(", ")}` : ""}${input.workflow.decision ? `${rows.length ? ";" : ":"} decision ${input.workflow.decision.id}` : ""}. Profiling: ${result.profilingPath}.${logNote}`);
790
794
  return {
791
- content: [{ type: "text", text: `Saved ${owner} rev ${result.revision} (${transition.event.trim()})${rows.length ? `: ${rows.join(", ")}` : ""}${input.workflow.decision ? `${rows.length ? ";" : ":"} decision ${input.workflow.decision.id}` : ""}. Profiling: ${result.profilingPath}.${logNote}` }],
795
+ content: [{ type: "text", text }],
792
796
  details: {
793
797
  ok: true, runId: result.plan.runId, revision: result.revision, changed: result.changed, profilingPath: result.profilingPath,
794
798
  ...(result.logAheadRevision === undefined ? {} : { logAheadRevision: result.logAheadRevision }),
@@ -797,16 +801,17 @@ export default function taskContextExtension(pi: ExtensionAPI): void {
797
801
  }
798
802
  if (input.todo === undefined) throw new Error("todo is required: send the full list of steps.");
799
803
  if (!replacement) {
800
- clearWorkflowPlan(); clearPlan(); commitOutcome();
801
- return { content: [{ type: "text", text: "Todo cleared." }], details: { ok: true, goal: outcome, outcome } };
804
+ clearWorkflowPlan(); clearPlan();
805
+ const text = commitOutcome("Todo cleared.");
806
+ return { content: [{ type: "text", text }], details: { ok: true, goal: outcome, outcome } };
802
807
  }
803
808
  const plan = replacement;
804
809
  if (!inherited) clearWorkflowPlan();
805
810
  persistPlan(plan);
806
- commitOutcome();
807
811
  const progress = planProgress(plan);
812
+ const text = commitOutcome(formatProgress(plan));
808
813
  return {
809
- content: [{ type: "text", text: formatProgress(plan) }],
814
+ content: [{ type: "text", text }],
810
815
  details: { ok: true, plan, progress, goal: outcome },
811
816
  };
812
817
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-background-tasks",
3
- "version": "0.21.7",
3
+ "version": "0.21.8",
4
4
  "description": "Pi extension for durable background shell tasks, watchers, logs, and status inspection.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"04442594dc110af3d73e5075de2094a9fe2b2adb2955de39c84e785a869eb543"},"sha256":"f79ecee29823e829770a4847c3d86d2cbd86bf93f7d097fa4c16b0f1cadd8a52"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"d2ffa65a6f47ded955f2fda72baf04dee23af6cb73112a76a727d8d2be2ec51b"},"sha256":"ecc52ce22442b2695721a8be720591625846e053a22e37c6cb8733579a5e45af"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"5cb393f556c1b787e1c0be6d78154f66fd4140b6f29e2030a1c811d1c607b7f3"},"sha256":"356ce80e21bde804765241c0ef150408505c2a039a2792d642dc25c7a494ce30"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"618352ae5141f4109cc929912ccc696342766816a98d5429538f0c2044ffe9b2"},"sha256":"4541ed304e0ed34b3a2896a7dbad4ef0e475730fe01f368b51d2b0c70aedfb67"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"f2e844fedd5a6e14d68f0ab68eb11d378d7d4c55ac2bd0e1d7633583df3265fb"},"sha256":"ec088febda80c19361e0670b32e3ccff03b190e9edcf6926a77eec7433895204"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"4c3d05d143af14c889f7cb743bc8795f8e6647db8d63be11ff472cf852ca3ff5"},"sha256":"18f543353322a2981d19c2ab96d0aa8b7f81db30358cfdc511f553ff47d5bde9"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"f0cc8b712cf3f8e34e2f112b713a0d1318991061ce120a107d6351500adf621c"},"sha256":"802c0e819cf9896d840cb4da23cac3b777c7a48711d20ff68d7479764cf75fc4"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"d0db4dfa880815b86159c9aa0c8d45631c7bc72bbcff8146a446a6c99edc1246"},"sha256":"4df7318a838d9f8e522cfb10097bda6fa1f690e5bd849fb8dec2982a4e0fa82e"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-goal",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Pi extension for goal tracking with background-aware continuation.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1060,21 +1060,38 @@ export default function (pi: ExtensionAPI): void {
1060
1060
  return { goal, restore: restoredOwner, plan };
1061
1061
  };
1062
1062
 
1063
- const unsubscribeOutcomeAccepted = pi.events.on(OUTCOME_ACCEPTED_EVENT, (value: unknown) => {
1064
- const ctx = currentCtx;
1065
- const event = value as Partial<OutcomeAcceptedEvent> | null;
1066
- if (!preferences.autoStartFromOutcome || !ctx || !event ||
1067
- typeof event.sessionId !== "string" || event.sessionId !== ctx.sessionManager.getSessionId()) return;
1063
+ const acceptOutcome = (ctx: ExtensionContext, event: OutcomeAcceptedEvent): string => {
1064
+ const saved = event.outcome;
1068
1065
  const current = getGoal(ctx);
1069
- if (current && current.status !== "complete") return;
1066
+ if (current && current.goalId === saved.goalId) {
1067
+ if (current.status === "active") return "Goal is running.";
1068
+ if (current.status === "budgetLimited") return "Goal reached its token budget.";
1069
+ return `Goal ${current.status}.`;
1070
+ }
1071
+ if (saved.status !== "active") return `Goal ${saved.status}.`;
1072
+ if (current && current.status !== "complete") return "Goal saved. Another Goal owns execution. Inspect it with /goal.";
1070
1073
  const reopenedGoal = current?.status === "complete" && current.goalId === event.reopenedGoalId ? current : undefined;
1071
- if (event.reopenedGoalId && !reopenedGoal) return;
1072
- if (!canStartGoalFromOutcome(event.outcome, reopenedGoal)) return;
1073
- const prepared = prepareSavedGoal(ctx, event.outcome.objective.trim(), reopenedGoal);
1074
- if (typeof prepared === "string") return;
1074
+ if (saved.goalId || (event.reopenedGoalId && !reopenedGoal)) return "Goal saved. Reinvoke its original Goal or workflow to continue.";
1075
+ const objective = saved.objective.trim();
1076
+ if (!canStartGoalFromOutcome(saved, reopenedGoal)) {
1077
+ if (objective.startsWith("/")) return "Goal saved. Reinvoke the original command to continue.";
1078
+ if (preferences.autoStartFromOutcome) return "Goal saved. Auto-start requires completion criteria in goal.doneWhen. Use /goal resume to start it manually.";
1079
+ }
1080
+ if (!preferences.autoStartFromOutcome) return "Goal saved. Use /goal resume to start it.";
1081
+ const prepared = prepareSavedGoal(ctx, objective, reopenedGoal);
1082
+ if (typeof prepared === "string") return `Goal saved. ${prepared}`;
1075
1083
  if (prepared.restore) recordWorkflow(prepared.restore, prepared.plan);
1076
1084
  setGoal(prepared.goal, ctx, "runtime", "bind");
1077
1085
  resetContinuationState(prepared.goal);
1086
+ return "Goal is running.";
1087
+ };
1088
+
1089
+ const unsubscribeOutcomeAccepted = pi.events.on(OUTCOME_ACCEPTED_EVENT, (value: unknown) => {
1090
+ const ctx = currentCtx;
1091
+ const event = value as OutcomeAcceptedEvent | null;
1092
+ if (!ctx || typeof event?.outcome?.objective !== "string" ||
1093
+ typeof event.sessionId !== "string" || event.sessionId !== ctx.sessionManager.getSessionId()) return;
1094
+ event.feedback = acceptOutcome(ctx, event);
1078
1095
  });
1079
1096
 
1080
1097
  const inspectGoal = (ctx: ExtensionContext) => {
@@ -16,6 +16,8 @@ export type GoalPanelStartRequest =
16
16
 
17
17
  export interface OutcomeAcceptedEvent {
18
18
  sessionId: string;
19
+ /** The Goal extension fills this in synchronously for the update_todo reply. */
20
+ feedback?: string;
19
21
  reopenedGoalId?: string;
20
22
  outcome: {
21
23
  objective: string;
@@ -99,12 +99,13 @@ The user config sets `delegationMode` to `manual`, `adaptive` (default), or
99
99
  for delegation mode, the concurrent-subagent cap (default 6), and Git workspace
100
100
  (Clone or Worktree). Run timeout supports a duration or **24 hours**. The
101
101
  tool-wait alert (default 5 minutes) and no-progress alert (default 10 minutes)
102
- have separate intervals. Enter `0` to turn an alert off. Skill exposure cycles between Discover automatically and No skill
103
- catalog. The Selected skills row opens the same searchable checkbox picker used
104
- by `/agents`: it lists loaded skills by name and description, Space toggles one,
102
+ have separate intervals. Enter `0` to turn an alert off. Open **Skill exposure** to choose
103
+ **Load all skills**, **Load no skills**, or **Load selected skills only**. The
104
+ last option opens the same picker as the **Selected skills** row and `/agents`.
105
+ It lists loaded skills by name and description. Space toggles one,
105
106
  Enter applies, and typing filters without dropping checked items. Saved paths
106
- missing from discovery stay visible as unavailable and survive apply. Zero
107
- checked applies No skill catalog, not discovery. Manual Add skill path remains
107
+ missing from discovery stay visible as unavailable and survive apply. Applying an empty selection
108
+ switches to **Load no skills**. Manual Add skill path remains
108
109
  available. The Skill exposure row shows where the current skill setting comes from. The session choice controls the next launch before Ctrl+S, and
109
110
  edits persist across reloads. Ctrl+S saves delegation, workspace, timing, and skill
110
111
  settings as defaults, and Reset to defaults clears session overrides, including
@@ -24,14 +24,13 @@ followed by skills, the Agents catalog, and Reset to defaults. As in
24
24
  `/harness-settings`, the cursor marks the active row and its help appears
25
25
  below the list. On Run timeout, Space selects **24 hours** and Enter edits
26
26
  the duration. Each alert has a separate interval in minutes. Enter `0`
27
- to turn that alert off. Skill exposure cycles between
28
- Discover automatically and No skill catalog. The Selected skills row opens the
29
- shared searchable checkbox picker, which lists loaded skills by name and
30
- description, uses Space to toggle, Enter to apply, and Esc to cancel. Typing
27
+ to turn that alert off. Open **Skill exposure** and choose **Load all skills**, **Load no skills**,
28
+ or **Load selected skills only**. The last option opens the same picker as the
29
+ **Selected skills** row. It lists loaded skills by name and description.
30
+ Press Space to toggle a skill, Enter to apply, or Esc to cancel. Typing
31
31
  filters the list without losing checked items. A saved path missing from current
32
- discovery stays visible as unavailable and survives apply. Zero checked applies
33
- No skill catalog, never discovery and never an invalid empty Selected skills
34
- draft. Manual Add skill path remains available inside the picker; a path must be
32
+ discovery stays visible as unavailable and survives apply. Applying an empty selection
33
+ switches to **Load no skills**. Manual Add skill path remains available inside the picker; a path must be
35
34
  absolute and exist. Invalid input stays in the editor with an explanation rather
36
35
  than being dropped.
37
36
  Edits automatically persist for this session, including across reloads; Escape
@@ -708,7 +707,7 @@ The effective config also sets:
708
707
  - `defaultSkills` — skill exposure when neither the launch nor a catalog role or
709
708
  agent chooses one. Omit it (or set `null`) for discovery, `[]` for no skills,
710
709
  or absolute paths for exactly those skills. `/subagents settings` writes
711
- `null` when Discover automatically is saved, so it overrides an older path
710
+ `null` when **Load all skills** is saved, so it overrides an older path
712
711
  list. See [skill exposure](#skill-exposure).
713
712
  - `delegationMode` — foreground policy (`manual`, `adaptive`, or `coordinator`;
714
713
  default `adaptive`). `/subagents mode ...` changes only the current session.
@@ -2486,7 +2486,7 @@ export default function (pi: ExtensionAPI, managed?: import("./managed-launch-po
2486
2486
  const skills = activeSkills();
2487
2487
  const value = skills.mode === "inherit" ? undefined : [...skills.paths];
2488
2488
  const error = skills.error ?? (skills.mode === "explicit" && skills.paths.length === 0
2489
- ? "Selected skills has no paths. Add at least one skill path or choose No skill catalog."
2489
+ ? "Selected skills has no paths. Add at least one skill path or choose Load no skills."
2490
2490
  : undefined);
2491
2491
  return { value, source: skills.source, ...(error ? { error } : {}) };
2492
2492
  };
@@ -2503,7 +2503,7 @@ export default function (pi: ExtensionAPI, managed?: import("./managed-launch-po
2503
2503
  const sessionSkillChoice = (): { value?: unknown } | undefined => {
2504
2504
  if (!skillsOverride) return undefined;
2505
2505
  if (skillsOverride.mode === "explicit" && skillsOverride.paths.length === 0) {
2506
- throw new Error("Selected skills has no paths. Add at least one skill path or choose No skill catalog before launching.");
2506
+ throw new Error("Selected skills has no paths. Add at least one skill path or choose Load no skills before launching.");
2507
2507
  }
2508
2508
  if (skillsOverride.mode === "inherit") return {};
2509
2509
  return { value: skillsOverride.mode === "none" ? [] : [...skillsOverride.paths] };
@@ -2655,7 +2655,7 @@ export default function (pi: ExtensionAPI, managed?: import("./managed-launch-po
2655
2655
  };
2656
2656
  }
2657
2657
  if (skills.mode === "explicit" && skills.paths.length === 0) {
2658
- return { ok: false, message: "Add at least one skill path, or choose No skill catalog to load none." };
2658
+ return { ok: false, message: "Add at least one skill path, or choose Load no skills." };
2659
2659
  }
2660
2660
  // Saving mode and cap must not write a skill key into a config that
2661
2661
  // never had one. Discovery only replaces a saved choice when a saved
@@ -4664,7 +4664,7 @@ export default function (pi: ExtensionAPI, managed?: import("./managed-launch-po
4664
4664
  if (tokens.length === 1 && tokens[0] === "save") {
4665
4665
  const skills = activeSkills();
4666
4666
  if (skills.mode === "explicit" && skills.paths.length === 0) {
4667
- ctx.ui.notify("Add at least one skill path, or choose No skill catalog to load none.", "warning");
4667
+ ctx.ui.notify("Add at least one skill path, or choose Load no skills.", "warning");
4668
4668
  return;
4669
4669
  }
4670
4670
  const skillChoice = skills.mode === "inherit" ? "skill discovery"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-subagents",
3
- "version": "0.41.0",
3
+ "version": "0.41.1",
4
4
  "description": "Pi extension for detached, sandboxed subagent runs that keep the foreground session free.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"04442594dc110af3d73e5075de2094a9fe2b2adb2955de39c84e785a869eb543"},"sha256":"f79ecee29823e829770a4847c3d86d2cbd86bf93f7d097fa4c16b0f1cadd8a52"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"d2ffa65a6f47ded955f2fda72baf04dee23af6cb73112a76a727d8d2be2ec51b"},"sha256":"ecc52ce22442b2695721a8be720591625846e053a22e37c6cb8733579a5e45af"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"5cb393f556c1b787e1c0be6d78154f66fd4140b6f29e2030a1c811d1c607b7f3"},"sha256":"356ce80e21bde804765241c0ef150408505c2a039a2792d642dc25c7a494ce30"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"618352ae5141f4109cc929912ccc696342766816a98d5429538f0c2044ffe9b2"},"sha256":"4541ed304e0ed34b3a2896a7dbad4ef0e475730fe01f368b51d2b0c70aedfb67"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"f2e844fedd5a6e14d68f0ab68eb11d378d7d4c55ac2bd0e1d7633583df3265fb"},"sha256":"ec088febda80c19361e0670b32e3ccff03b190e9edcf6926a77eec7433895204"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"4c3d05d143af14c889f7cb743bc8795f8e6647db8d63be11ff472cf852ca3ff5"},"sha256":"18f543353322a2981d19c2ab96d0aa8b7f81db30358cfdc511f553ff47d5bde9"}
@@ -1 +1 @@
1
- {"build":{"format":1,"sourceDigest":"f07e192489dd63381cb4b9dcfdaf0b6d8dd72e69057bf49f5acbab089cd08c5d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.1","contentId":"f0cc8b712cf3f8e34e2f112b713a0d1318991061ce120a107d6351500adf621c"},"sha256":"802c0e819cf9896d840cb4da23cac3b777c7a48711d20ff68d7479764cf75fc4"}
1
+ {"build":{"format":1,"sourceDigest":"5ec2e8b82e54114988979e0c6c99625a187aa36f03fd3a55e8e9de1c4e9e886d","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"6becccc0aa89805268794027bb9d0927ceab5ca05bee26a346d0d32e568968de","protocolVersion":1,"serverVersion":"0.10.2","contentId":"d0db4dfa880815b86159c9aa0c8d45631c7bc72bbcff8146a446a6c99edc1246"},"sha256":"4df7318a838d9f8e522cfb10097bda6fa1f690e5bd849fb8dec2982a4e0fa82e"}
@@ -51,7 +51,7 @@ export interface SubagentSettingsHandlers {
51
51
 
52
52
  type EditTarget = { kind: "cap" } | { kind: "toolWait" } | { kind: "stuck" } | { kind: "timeout" };
53
53
 
54
- const rows = [
54
+ const settingsRows = [
55
55
  { section: "Delegation", kind: "mode", label: "Delegation mode" },
56
56
  { section: "Delegation", kind: "cap", label: "Concurrent subagents" },
57
57
  { section: "Delegation", kind: "workspace", label: "Git workspace" },
@@ -64,14 +64,14 @@ const rows = [
64
64
  { section: "Session defaults", kind: "reset", label: "Reset to defaults" },
65
65
  ] as const;
66
66
 
67
- type Row = typeof rows[number];
68
- const labelWidth = Math.max(...rows.map(({ label }) => Tui.visibleWidth(label)));
67
+ const skillModeRows = [
68
+ { section: "Skill exposure", kind: "inherit", label: "Load all skills" },
69
+ { section: "Skill exposure", kind: "none", label: "Load no skills" },
70
+ { section: "Skill exposure", kind: "explicit", label: "Load selected skills only" },
71
+ ] as const satisfies readonly { section: string; kind: SkillExposureMode; label: string }[];
69
72
 
70
- const SKILL_MODES: readonly { mode: SkillExposureMode; label: string }[] = [
71
- { mode: "inherit", label: "Discover automatically" },
72
- { mode: "none", label: "No skill catalog" },
73
- { mode: "explicit", label: "Selected skills" },
74
- ];
73
+ type Row = typeof settingsRows[number] | typeof skillModeRows[number];
74
+ const labelWidth = Math.max(...settingsRows.map(({ label }) => Tui.visibleWidth(label)));
75
75
 
76
76
  const MAX_TIMEOUT = "24 hours";
77
77
 
@@ -85,14 +85,6 @@ function parseRunTimeout(input: string): number {
85
85
  return minutes;
86
86
  }
87
87
 
88
- function skillLabel(mode: SkillExposureMode): string {
89
- return SKILL_MODES.find((entry) => entry.mode === mode)!.label;
90
- }
91
-
92
- function cycleSkillMode(mode: SkillExposureMode): SkillExposureMode {
93
- return mode === "inherit" ? "none" : "inherit";
94
- }
95
-
96
88
  function skillSource(settings: SubagentSettingsSnapshot): string {
97
89
  if (settings.skillsSource === "session") return "Source: this session (unsaved)";
98
90
  if (settings.skillsSource === "config") return "Source: config defaultSkills";
@@ -107,10 +99,10 @@ function settingValue(kind: Row["kind"], s: SubagentSettingsSnapshot): string {
107
99
  case "timeout": return s.maxMinutes === 0 || s.maxMinutes >= 1440 ? MAX_TIMEOUT : `${s.maxMinutes} min`;
108
100
  case "toolWait": return s.toolWaitMinutes === 0 ? "Off" : `${s.toolWaitMinutes} min`;
109
101
  case "stuck": return s.stuckMinutes === 0 ? "Off" : `${s.stuckMinutes} min`;
110
- case "skills": return skillLabel(s.skillsMode);
102
+ case "skills": return skillModeRows.find(entry => entry.kind === s.skillsMode)!.label;
111
103
  case "choose": return s.skillsMode === "explicit" ? `${s.skillsPaths.length} checked ›` : "›";
112
104
  case "agents": return "›";
113
- case "reset": return "";
105
+ case "inherit": case "none": case "explicit": case "reset": return "";
114
106
  }
115
107
  }
116
108
 
@@ -128,7 +120,10 @@ function description(kind: Row["kind"], s: SubagentSettingsSnapshot): string {
128
120
  case "timeout": return "Stop a subagent when its run reaches this limit. The maximum is 24 hours.";
129
121
  case "toolWait": return "Notify the parent when a tool call stays open this long. Enter 0 to turn this alert off.";
130
122
  case "stuck": return "Notify the parent after this long without progress. Time spent waiting for a tool is excluded. Enter 0 to turn this alert off.";
131
- case "skills": return "Choose how new subagents discover skills.\n" + skillSource(s);
123
+ case "skills": return "Choose which skills new subagents load by default.\n" + skillSource(s);
124
+ case "inherit": return "Let Pi discover all available skills when a subagent starts.";
125
+ case "none": return "Start new subagents with no skills.";
126
+ case "explicit": return "Choose the skills new subagents will load.";
132
127
  case "choose": return "Choose the skills to load for new subagents.";
133
128
  case "agents": return "Browse agent roles and edit their profiles in /agents.";
134
129
  case "reset": return "Restore saved defaults for this session, including its workspace, limits, and skills.";
@@ -142,15 +137,17 @@ function primaryKey(action: Tui.Keybinding, excludeSpace = false): string | unde
142
137
  return key.split("+").map(part => part.length === 1 ? part : part[0]!.toUpperCase() + part.slice(1)).join("+");
143
138
  }
144
139
 
145
- function shortcuts(kind: Row["kind"], editing: boolean): string {
140
+ function shortcuts(kind: Row["kind"], editing: boolean, choosingMode: boolean): string {
146
141
  const cancel = primaryKey("tui.select.cancel");
147
142
  const confirm = primaryKey(editing ? "tui.input.submit" : "tui.select.confirm", !editing);
148
143
  const change = confirm ? `${confirm}/Space` : "Space";
149
- const verb = kind === "agents" || kind === "choose" ? "open" : kind === "reset" ? "restore" : "change";
144
+ const verb = choosingMode ? "select"
145
+ : kind === "agents" || kind === "choose" || kind === "skills" ? "open"
146
+ : kind === "reset" ? "restore" : "change";
150
147
  const actions = editing ? [confirm && `${confirm} to apply`]
151
148
  : kind === "timeout" ? ["Space for 24 hours", confirm && `${confirm} to edit minutes`]
152
149
  : [`${change} to ${verb}`];
153
- if (!editing) actions.push("Ctrl+S to save defaults");
150
+ if (!editing && !choosingMode) actions.push("Ctrl+S to save defaults");
154
151
  if (cancel) actions.push(`${cancel} to ${editing ? "cancel" : "go back"}`);
155
152
  return actions.filter(Boolean).join(" · ");
156
153
  }
@@ -161,11 +158,12 @@ export function createSubagentSettingsPage(
161
158
  requestRender: () => void,
162
159
  close: () => void,
163
160
  getHeight: () => number = () => process.stdout.rows ?? 30,
164
- selected?: Row["kind"],
161
+ selected?: typeof settingsRows[number]["kind"],
165
162
  ): Tui.Component & Tui.Focusable {
166
163
  const input = new Tui.Input();
167
164
  let settings = handlers.get();
168
165
  let focused = false;
166
+ let rows: readonly Row[] = settingsRows;
169
167
  let row = Math.max(0, rows.findIndex(entry => entry.kind === selected));
170
168
  let editing: EditTarget | undefined;
171
169
  let picker: ReturnType<typeof createSkillPicker> | undefined;
@@ -200,11 +198,16 @@ export function createSubagentSettingsPage(
200
198
  reportChange(text);
201
199
  }
202
200
 
203
- function openSkillPicker(initial: readonly string[], previousMode: SkillExposureMode): void {
201
+ function closeModeMenu(): void {
202
+ rows = settingsRows;
203
+ row = settingsRows.findIndex(entry => entry.kind === "skills");
204
+ }
205
+
206
+ function openSkillPicker(): void {
204
207
  picker = createSkillPicker({
205
208
  theme,
206
209
  skills: handlers.discoverSkills?.() ?? [],
207
- selected: initial,
210
+ selected: settings.skillsMode === "explicit" ? settings.skillsPaths : rememberedSkillPaths ?? [],
208
211
  requestRender,
209
212
  getHeight,
210
213
  title: "Selected skills",
@@ -213,8 +216,8 @@ export function createSubagentSettingsPage(
213
216
  if (paths.length === 0) {
214
217
  handlers.changeSkills("none", []);
215
218
  rememberedSkillPaths = [];
216
- reportChange("No skills checked. Skill exposure set to No skill catalog.");
217
- return { ok: true, message: "No skill catalog selected." };
219
+ reportChange("No skills checked. New subagents will load no skills.");
220
+ return { ok: true, message: "No skills selected." };
218
221
  }
219
222
  handlers.changeSkills("explicit", paths);
220
223
  rememberedSkillPaths = [...paths];
@@ -224,12 +227,15 @@ export function createSubagentSettingsPage(
224
227
  return { ok: false, message: cause instanceof Error ? cause.message : String(cause) };
225
228
  }
226
229
  },
227
- finish() { picker = undefined; requestRender(); },
228
- cancel() {
230
+ finish() {
229
231
  picker = undefined;
230
- report(previousMode === "explicit" ? "Skill selection unchanged." : "Skill mode unchanged.");
232
+ if (rows === skillModeRows) closeModeMenu();
231
233
  requestRender();
232
234
  },
235
+ cancel() {
236
+ picker = undefined;
237
+ report("Skill selection unchanged.");
238
+ },
233
239
  });
234
240
  picker.focused = focused;
235
241
  requestRender();
@@ -260,16 +266,16 @@ export function createSubagentSettingsPage(
260
266
  startEditing(selected, settings.maxMinutes === 0 || settings.maxMinutes >= 1440 ? MAX_TIMEOUT : String(settings.maxMinutes));
261
267
  }
262
268
  } else if (selected.kind === "skills") {
269
+ rows = skillModeRows;
270
+ row = skillModeRows.findIndex(entry => entry.kind === settings.skillsMode);
271
+ message = "";
272
+ } else if (selected.kind === "inherit" || selected.kind === "none") {
263
273
  if (settings.skillsMode === "explicit") rememberedSkillPaths = [...settings.skillsPaths];
264
- const next = cycleSkillMode(settings.skillsMode);
265
- handlers.changeSkills(next, []);
266
- reportChange(`Skill exposure: ${skillLabel(next).toLowerCase()}.`);
267
- } else if (selected.kind === "choose") {
268
- openSkillPicker(
269
- settings.skillsMode === "explicit" ? settings.skillsPaths : rememberedSkillPaths ?? [],
270
- settings.skillsMode,
271
- );
272
- return;
274
+ handlers.changeSkills(selected.kind, []);
275
+ closeModeMenu();
276
+ reportChange(`Skill exposure: ${selected.label.toLowerCase()}.`);
277
+ } else if (selected.kind === "choose" || selected.kind === "explicit") {
278
+ openSkillPicker();
273
279
  } else if (selected.kind === "agents") {
274
280
  handlers.openAgents?.();
275
281
  } else {
@@ -332,7 +338,7 @@ export function createSubagentSettingsPage(
332
338
  },
333
339
  handleInput(data: string) {
334
340
  if (picker) {
335
- picker.handleInput(data);
341
+ picker.handleInput?.(data);
336
342
  requestRender();
337
343
  return;
338
344
  }
@@ -343,12 +349,16 @@ export function createSubagentSettingsPage(
343
349
  }
344
350
  const selected = rows[row]!;
345
351
  const keys = Tui.getKeybindings();
346
- if (keys.matches(data, "tui.select.cancel")) close();
347
- else if (keys.matches(data, "tui.select.up") || keys.matches(data, "tui.select.down")) {
352
+ if (keys.matches(data, "tui.select.cancel")) {
353
+ if (rows === skillModeRows) {
354
+ closeModeMenu();
355
+ message = "";
356
+ } else close();
357
+ } else if (keys.matches(data, "tui.select.up") || keys.matches(data, "tui.select.down")) {
348
358
  row = Math.max(0, Math.min(rows.length - 1, row + (keys.matches(data, "tui.select.up") ? -1 : 1)));
349
359
  message = "";
350
360
  } else if (keys.matches(data, "tui.select.confirm") || data === " ") action(selected, data);
351
- else if (Tui.matchesKey(data, "ctrl+s")) {
361
+ else if (rows === settingsRows && Tui.matchesKey(data, "ctrl+s")) {
352
362
  const result = handlers.save();
353
363
  if (result.ok) {
354
364
  rememberedSkillPaths = settings.skillsMode === "explicit" ? [...settings.skillsPaths] : undefined;
@@ -392,7 +402,7 @@ export function createSubagentSettingsPage(
392
402
  }
393
403
 
394
404
  const selected = rows[row]!.kind;
395
- const hint = shortcuts(selected, editing !== undefined);
405
+ const hint = shortcuts(selected, editing !== undefined, rows === skillModeRows);
396
406
  const wrap = (text: string, color: Parameters<Theme["fg"]>[0]) =>
397
407
  Tui.wrapTextWithAnsi(text, Math.max(1, w - 2)).map(line => " " + theme.fg(color, line));
398
408
  const help = wrap(description(selected, settings), "text");
@@ -326,7 +326,7 @@ export function createSkillPicker(options: SkillPickerOptions): Tui.Component &
326
326
  const hiddenChecked = [...checked.keys()].filter((key) => !visibleChecked.has(key)).length;
327
327
  const footer = [
328
328
  theme.fg("dim", ` ${checked.size} checked${hiddenChecked ? ` · ${hiddenChecked} checked hidden by filter` : ""}`),
329
- theme.fg("dim", " 0 checked applies No skill catalog, not discovery."),
329
+ theme.fg("dim", " Applying an empty selection loads no skills."),
330
330
  ];
331
331
  if (message) footer.unshift(theme.fg(error ? "error" : "muted", " " + message.replace(/[\r\n]+/g, " ")));
332
332
  if (height < header.length + footer.length + 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-harness",
3
- "version": "0.61.2",
3
+ "version": "0.61.4",
4
4
  "description": "Pi extension bundle for a write sandbox, subagents, background tasks, SSH, Goals, and Todo lists.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -68,11 +68,11 @@
68
68
  "test": "node --import tsx --import ../../scripts/isolate-registry.mjs --test test/*.test.mjs test/*.test.ts test/task-context/*.test.ts"
69
69
  },
70
70
  "dependencies": {
71
- "pi-better-background-tasks": "0.21.7",
72
- "pi-better-goal": "0.18.2",
71
+ "pi-better-background-tasks": "0.21.8",
72
+ "pi-better-goal": "0.18.3",
73
73
  "pi-better-sandbox": "0.15.2",
74
74
  "pi-better-ssh": "0.1.7",
75
- "pi-better-subagents": "0.41.0",
75
+ "pi-better-subagents": "0.41.1",
76
76
  "openai": "6.26.0",
77
77
  "proper-lockfile": "^4.1.2",
78
78
  "shell-quote": "1.12.0",