pi-critique-model 1.1.0 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-critique-model",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "pi critique: work review + prompt challenge.",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/index.ts CHANGED
@@ -112,10 +112,14 @@ function autoPromptCritiqueModelSourceLabel(source: AutoPromptCritiqueModelSourc
112
112
  function updateCritiqueStatus(ctx: ExtensionContext): void {
113
113
  if (!ctx.hasUI) return;
114
114
  const config = loadConfig();
115
- ctx.ui.setStatus(
116
- "critique",
117
- config.autoPromptCritique ? "🧠 critique:on" : undefined,
118
- );
115
+ const parts: string[] = [];
116
+ if (config.autoPromptCritique) {
117
+ parts.push(`critique:${autoPromptCritiqueLevelLabel(config.autoPromptCritiqueLevel)}`);
118
+ }
119
+ if (config.questions) {
120
+ parts.push(`questions:${questionsFrequencyLabel(config.questionsFrequency)}`);
121
+ }
122
+ ctx.ui.setStatus("critique", parts.length > 0 ? parts.join(" ") : undefined);
119
123
  }
120
124
 
121
125
  /**
@@ -63,7 +63,7 @@ const LEVEL_GUIDANCE: Record<AutoPromptCritiqueLevel, string> = {
63
63
  const QUESTIONS_FREQUENCY_LABELS: Record<QuestionsFrequency, string> = {
64
64
  essential: "Essential only",
65
65
  normal: "Normal",
66
- verbose: "Verbose",
66
+ verbose: "Many questions",
67
67
  };
68
68
 
69
69
  export function autoPromptCritiqueLevelLabel(level: AutoPromptCritiqueLevel): string {
@@ -97,6 +97,7 @@ export function detectAmbiguity(
97
97
  ): { interpretationA: string; interpretationB: string } | null {
98
98
  const trimmed = text.trim();
99
99
  if (!trimmed) return null;
100
+ if (trimmed.includes("[Questions answer]")) return null;
100
101
 
101
102
  const normalized = trimmed
102
103
  .toLowerCase()