pi-do-always 0.16.0 → 0.17.0

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.
@@ -2979,6 +2979,7 @@ export default function doAlwaysExtension(pi: ExtensionAPI) {
2979
2979
  { value: "list", label: "list" },
2980
2980
  { value: "list-details", label: "list-details" },
2981
2981
  { value: "replan", label: "replan" },
2982
+ { value: "questionnaire", label: "questionnaire (toggle)" },
2982
2983
  ...visible.map((t, i) => ({ value: t.name, label: `${i + 1}. ${t.name}` })),
2983
2984
  ].filter((c) => c.value.toLowerCase().includes(p));
2984
2985
  return matches.length > 0 ? matches : null;
@@ -3039,6 +3040,18 @@ export default function doAlwaysExtension(pi: ExtensionAPI) {
3039
3040
  return;
3040
3041
  }
3041
3042
 
3043
+ // Toggle the questionnaire on/off for the rest of this session.
3044
+ if (arg.toLowerCase() === "questionnaire") {
3045
+ questionnaireEnabled = !questionnaireEnabled;
3046
+ ctx.ui.notify(
3047
+ questionnaireEnabled
3048
+ ? "do-always: questionnaire enabled (plan proposals will be offered)"
3049
+ : "do-always: questionnaire disabled (plan proposals will not be offered)",
3050
+ "info",
3051
+ );
3052
+ return;
3053
+ }
3054
+
3042
3055
  if (arg.toLowerCase() === "list-details") {
3043
3056
  // Display only — the description is metadata; selecting a task injects just its prompt.
3044
3057
  // Render with the current context so what is shown is what gets injected.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-do-always",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "type": "module",
5
5
  "description": "Pi extension: /do-always — pick a common task by number, it fills your prompt",
6
6
  "author": {