@juanbenjumea/pi-agy 0.5.5 → 0.5.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.6
4
+
5
+ - Report user cancellations accurately when postflight is cut short: the diff-skip note no longer claims deadline expiry for user-initiated cancels (found in the final adversarial pass).
6
+
3
7
  ## 0.5.5
4
8
 
5
9
  - Preserve completed responses past the deadline: a result that fully arrived before cancellation or timeout is returned with an explanatory note instead of being discarded — previously a kill landing between delivery and process exit threw the finished response away.
@@ -217,7 +217,8 @@ export async function executeAgyTask(
217
217
  preexistingFiles = diff.preexistingFiles;
218
218
  } catch (error) {
219
219
  if (!abortSignal.aborted) throw error;
220
- text += "\n\n(diff summary skipped: the run reached its deadline as agy finished)";
220
+ const reason = signal?.aborted ? "cancelled" : "reaching its deadline";
221
+ text += `\n\n(diff summary skipped: the run was ${reason} as agy finished)`;
221
222
  }
222
223
  }
223
224
  if (abortSignal.aborted) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juanbenjumea/pi-agy",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Enhanced Antigravity CLI (agy) bridge for Pi — streaming progress, conversation continuity, repo-aware verify, and diff summaries.",
5
5
  "type": "module",
6
6
  "license": "MIT",