@amaster.ai/pi-goal 0.1.2-beta.69 → 0.1.2-beta.71

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/dist/prompts.js CHANGED
@@ -55,10 +55,10 @@ export function buildEvaluateUserPrompt(condition, transcript, omittedCount = 0)
55
55
  * Adapted from CC's `system-reminder-session-stop-hook-active`.
56
56
  */
57
57
  export function buildActivationMessage(condition) {
58
- return `A goal is now active with condition: "${condition}". Briefly acknowledge the goal, then immediately start (or continue) working toward it — treat the condition itself as your directive and do not pause to ask the user what to do. Work will be blocked from stopping until the condition holds. It auto-clears once the condition is met — do not tell the user to run \`/goal clear\` after success; that's only for clearing a goal early.`;
58
+ return `A goal is now active with condition: "${condition}". Briefly acknowledge the goal, then immediately start (or continue) working toward it — pursue the condition within the existing authorization. A goal does not grant new permissions. If blocked by missing permission or user decision, report the blocker and continue only independent authorized work. Work will be blocked from stopping until the condition holds. It auto-clears once the condition is met — do not tell the user to run \`/goal clear\` after success; that's only for clearing a goal early.`;
59
59
  }
60
60
  /** Injected after a not-yet-met evaluation to drive the next round of work. */
61
61
  export function buildContinueMessage(condition, reason) {
62
- return `The goal condition is not yet met: "${condition}". ${reason} Continue working toward the condition now — do not stop until it holds.`;
62
+ return `The goal condition is not yet met: "${condition}". ${reason} Continue working toward the condition within the existing authorization. If blocked by missing permission or user decision, report the blocker and continue only independent authorized work; the goal does not grant new permissions.`;
63
63
  }
64
64
  //# sourceMappingURL=prompts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;wEASoC,CAAC;AAEzE,MAAM,UAAU,qBAAqB,CAAC,UAAkB;IACtD,OAAO,6BAA6B,UAAU,4EAA4E,CAAC;AAC7H,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM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CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAChF,OAAO,iCAAiC,IAAI,GAAG,UAAU,uBAAuB,SAAS,8EAA8E,CAAC;AAC1K,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,SAAiB;IACtD,OAAO,yCAAyC,SAAS,0fAA0f,CAAC;AACtjB,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,oBAAoB,CAAC,SAAiB,EAAE,MAAc;IACpE,OAAO,uCAAuC,SAAS,MAAM,MAAM,yOAAyO,CAAC;AAC/S,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/pi-goal",
3
- "version": "0.1.2-beta.69",
3
+ "version": "0.1.2-beta.71",
4
4
  "description": "Pi extension that derives a goal from the conversation and keeps the agent working until the condition is met",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -48,7 +48,7 @@
48
48
  "directory": "packages/pi-goal"
49
49
  },
50
50
  "dependencies": {
51
- "@amaster.ai/pi-shared": "0.1.2-beta.69"
51
+ "@amaster.ai/pi-shared": "0.1.2-beta.71"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@earendil-works/pi-agent-core": ">=0.74.0",