@zosmaai/pi-llm-wiki 0.10.3 → 0.10.4
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.
|
@@ -354,7 +354,12 @@ export function registerObservationReminder(
|
|
|
354
354
|
reminderState.observeDoneThisSession = false;
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
pi.on("agent_end", async (
|
|
357
|
+
pi.on("agent_end", async (event, _ctx) => {
|
|
358
|
+
// Skip reminder on retries — willRetry means pi will re-run the agent,
|
|
359
|
+
// and queuing another reminder would duplicate them (issue: connection
|
|
360
|
+
// errors cause multiple retries, each firing agent_end).
|
|
361
|
+
if ("willRetry" in event && (event as { willRetry?: boolean }).willRetry) return;
|
|
362
|
+
|
|
358
363
|
turnsSinceLastReminder++;
|
|
359
364
|
if (turnsSinceLastReminder < REMINDER_INTERVAL) return;
|
|
360
365
|
if (reminderState.observeDoneThisSession) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zosmaai/pi-llm-wiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "Self-maintaining LLM Wiki for Pi — Karpathy-pattern knowledge base with immutable source capture, automated ingestion, search, linting, and Obsidian-compatible vault. auto-updating personal & company wiki.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|