pi-soly 1.15.0 → 1.15.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.
package/ask/picker.ts CHANGED
@@ -498,7 +498,11 @@ export class AskProComponent extends Container {
498
498
  * string in a multi answer). Returns "" if no custom string. */
499
499
  private getCustomString(ans: AskAnswer | AskMultiAnswer | undefined): string {
500
500
  if (ans === undefined) return "";
501
+ // Single-pick answers are numbers — not an array, so .find() would crash.
502
+ // Cover the string case (typed Other… in single-pick) and treat numeric
503
+ // answers as "no custom string yet".
501
504
  if (typeof ans === "string") return ans;
505
+ if (typeof ans === "number") return "";
502
506
  const found = (ans as AskMultiAnswer).find((a) => typeof a === "string");
503
507
  return typeof found === "string" ? found : "";
504
508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-soly",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "description": "Project management + workflow framework for pi-coding-agent. Plans, state, MANDATORY rules, self-review, multi-question picker, native footer + welcome chrome — one npm install, zero config. The LLM drives execution and delegates to a worker subagent when available.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/workflows/done.ts CHANGED
@@ -194,6 +194,9 @@ export function buildDoneTransform(
194
194
  ` Commit: ${commitHash.slice(0, 7)}\n` +
195
195
  ` Pushed: ${pushed ? "yes" : "no (no origin remote)"}\n` +
196
196
  ` ${prLine}`;
197
+
198
+ // (No registry file to update — the plan's git branch IS the source of
199
+ // truth for "active plans". See PLAN.md / "Out of scope" for the trade-off.)
197
200
  ui.notify(notice, "info");
198
201
  return {
199
202
  handled: true,