pi-goal-x 0.7.1 → 0.8.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.
@@ -104,7 +104,7 @@ export function goalDraftingPrompt(topic: string, focus: GoalDraftingFocus): str
104
104
  "- If the topic is already concrete, you may proceed directly to propose_goal_draft.",
105
105
  "- The goal contract should make the objective, success criteria, boundaries, constraints, and blocker rule explicit.",
106
106
  "- Keep grilling assumptions until the objective, success criteria, boundaries, constraints, and blocker rule are clear enough to confirm.",
107
- "- propose_goal_draft opens the user's Confirm / Continue Chatting dialog. Confirm creates and focuses the goal; Continue Chatting means keep clarifying.",
107
+ "- propose_goal_draft opens the user's Confirm / Continue Chatting dialog. Confirm creates and focuses the goal; Continue Chatting means keep refining through normal proposal cycles.",
108
108
  "- create_goal is not a shortcut. Direct create_goal calls are rejected so the user keeps explicit say in goal creation.",
109
109
  ];
110
110
 
@@ -56,6 +56,7 @@ export function formatQuestionnaireAnswers(result: GoalQuestionnaireResult): str
56
56
  }
57
57
 
58
58
  export function shouldAutoConfirmProposal(args: { hasUI: boolean; autoConfirmEnv?: string }): boolean {
59
+ if (args.autoConfirmEnv === "0") return false; // explicit opt-out (benchmarking)
59
60
  return !args.hasUI || args.autoConfirmEnv === "1";
60
61
  }
61
62
 
@@ -1677,7 +1677,7 @@ export default function goalExtension(pi: ExtensionAPI): void {
1677
1677
  return {
1678
1678
  content: [{
1679
1679
  type: "text",
1680
- text: "User clicked 'Continue Chatting'. The goal was NOT created. Ask the user what they want to change about the draft (objective, scope, criteria, steps), then revise and call propose_goal_draft again. Do not call propose_goal_draft again with the same content — wait for the user's input first.",
1680
+ text: "Goal draft refinement requested (Continue Chatting). The goal was not created — drafting remains active. Ask the user what they want changed about the draft (objective, scope, criteria, steps), then revise and call propose_goal_draft again. Do not re-propose the same content — wait for the user's input first.",
1681
1681
  }],
1682
1682
  details: goalDetails(state.goal),
1683
1683
  };
@@ -1754,7 +1754,7 @@ export default function goalExtension(pi: ExtensionAPI): void {
1754
1754
  // Auditor disabled and confirmed — skip audit, complete immediately
1755
1755
  await pi.sendMessage<GoalAuditEventDetails>({
1756
1756
  customType: GOAL_AUDIT_ENTRY,
1757
- content: `Auditor disabledcompletion bypassed for goal ${auditTarget.id}.`,
1757
+ content: `Goal completedauditor disabled in settings.`,
1758
1758
  display: true,
1759
1759
  details: { phase: "skipped", goalId: auditTarget.id, auditor: auditorLabel },
1760
1760
  }, { triggerTurn: true });
@@ -1886,7 +1886,7 @@ export default function goalExtension(pi: ExtensionAPI): void {
1886
1886
  if (auditor.error === "Auditor aborted.") {
1887
1887
  await pi.sendMessage<GoalAuditEventDetails>({
1888
1888
  customType: GOAL_AUDIT_ENTRY,
1889
- content: `Auditor abortedcompletion bypassed for goal ${auditTarget.id}.`,
1889
+ content: `Goal completedauditor bypassed (user pressed Escape during audit).`,
1890
1890
  display: true,
1891
1891
  details: { phase: "skipped", goalId: auditTarget.id, auditor: auditorLabel },
1892
1892
  }, { triggerTurn: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-x",
3
- "version": "0.7.1",
3
+ "version": "0.8.1",
4
4
  "description": "Goal mode extension for pi: persistent long-running objectives, /goal-set drafting, Sisyphus prompt style, autoContinue, and an above-editor status overlay. Fork of @capyup/pi-goal.",
5
5
  "license": "MIT",
6
6
  "author": "pi-goal-x contributors",
@@ -32,7 +32,8 @@
32
32
  "pi": {
33
33
  "extensions": [
34
34
  "extensions/goal.ts"
35
- ]
35
+ ],
36
+ "image": "https://github.com/tmonk/pi-goal-x/raw/main/screenshot.png"
36
37
  },
37
38
  "scripts": {
38
39
  "check": "tsc --noEmit",