@agent-plan/pi-adapter 0.2.19-next.22 → 0.2.19-next.24

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/index.js CHANGED
@@ -458,7 +458,7 @@ async function buildHandoffMarkdown(st, reason, overrides) {
458
458
  ...recentActivityLines,
459
459
  "",
460
460
  "## Reminder",
461
- "- This handoff is KEPT until a task in this phase starts (then auto-archived to .planner/.local/handoff-archive/) or the phase completes. No need to clear it manually.",
461
+ "- This handoff remains active until every task in this phase is done/canceled, a newer handoff replaces it, or the user explicitly clears it. Reading or starting a task never clears it.",
462
462
  ].join("\n");
463
463
  }
464
464
  async function writeProjectHandoff(st, reason, overrides) {
@@ -823,8 +823,8 @@ export default function planPiExtension(pi) {
823
823
  const handoffs = await st.listHandoffs().catch(() => []);
824
824
  if (handoffs.length > 0) {
825
825
  ctx.ui.notify(`ℹ️ ${handoffs.length} phase handoff(s) pending — review with /planner handoff list.`, "info");
826
- // Mark each handoff as read (recap presented). Do NOT clear — content is
827
- // kept until a task in the phase starts (auto-archived) or phase completes.
826
+ // Mark each handoff as read (recap presented). Do NOT clear — reading/load
827
+ // is non-mutating; only phase completion, replacement, or explicit clear archives it.
828
828
  for (const h of handoffs)
829
829
  await st.markHandoffRead(h.phaseId).catch(() => { });
830
830
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-plan/pi-adapter",
3
- "version": "0.2.19-next.22",
3
+ "version": "0.2.19-next.24",
4
4
  "private": false,
5
5
  "description": "Pi agent extension for Agent Plan — structured project planning in .planner/",
6
6
  "keywords": [
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "typebox": "^1.1.24",
30
30
  "zod": "^3.24.0",
31
- "@agent-plan/server": "0.2.19-next.22",
32
- "@agent-plan/core": "0.2.19-next.22"
31
+ "@agent-plan/core": "0.2.19-next.24",
32
+ "@agent-plan/server": "0.2.19-next.24"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@earendil-works/pi-coding-agent": "^0.74.0",