@juanbenjumea/pi-agy 0.5.2 → 0.5.3
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 +5 -0
- package/extensions/lib/execute.ts +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.3
|
|
4
|
+
|
|
5
|
+
- Persist timed-out or cancelled conversations so they stay resumable: the failure-path session save passed the already-aborted signal to the session store, whose lock guards reject it, making conversation continuity on timeout/cancel silently dead code. Found by dogfooding a real agy run.
|
|
6
|
+
- Extend the fake-agy test harness with a hang-after-output mode to reproduce hangs that start after a conversation id was emitted.
|
|
7
|
+
|
|
3
8
|
## 0.5.2
|
|
4
9
|
|
|
5
10
|
- Deliver large streamed result records intact: the per-record bound now fits a maximum-size response (1M chars with worst-case JSON escaping) instead of discarding records over 256 KB mid-stream.
|
|
@@ -237,7 +237,16 @@ export async function executeAgyTask(
|
|
|
237
237
|
const conversationId = getAgyConversationId(error);
|
|
238
238
|
if (conversationId) {
|
|
239
239
|
try {
|
|
240
|
-
|
|
240
|
+
// The composed signal is aborted in exactly the cases this save
|
|
241
|
+
// exists for (timeout, cancellation), and every store guard refuses
|
|
242
|
+
// an aborted signal — so persist under a fresh bounded deadline to
|
|
243
|
+
// keep the conversation resumable after the failure.
|
|
244
|
+
await saveSession(
|
|
245
|
+
options.dir,
|
|
246
|
+
conversationId,
|
|
247
|
+
effectiveModel,
|
|
248
|
+
AbortSignal.timeout(10_000),
|
|
249
|
+
);
|
|
241
250
|
} catch {
|
|
242
251
|
// Preserve the original agy failure; session persistence is best effort.
|
|
243
252
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juanbenjumea/pi-agy",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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",
|