pi-ralph-loop
Advanced tools
+7
-0
| # Changelog | ||
| ## Unreleased | ||
| ## v0.1.3 | ||
| ### Fixed | ||
| - Prevented unused Ralph Loop sessions from creating `.pi/ralph-loop-debug.jsonl` before `/loop` has started. | ||
| ## v0.1.2 | ||
@@ -4,0 +11,0 @@ |
@@ -252,2 +252,6 @@ export const DEFAULT_MAX_ITERATIONS = 10; | ||
| shutdown(): void { | ||
| if (!this.state.active) { | ||
| return; | ||
| } | ||
| this.stop(undefined, "info"); | ||
@@ -386,3 +390,6 @@ } | ||
| const ctx = this.context; | ||
| this.emitDebug({ event: "loop_stop", message, notifyType: type }); | ||
| const wasActive = this.state.active; | ||
| if (wasActive) { | ||
| this.emitDebug({ event: "loop_stop", message, notifyType: type }); | ||
| } | ||
| this.state = this.createInactiveState(); | ||
@@ -389,0 +396,0 @@ this.continuationScheduled = false; |
+1
-1
| { | ||
| "name": "pi-ralph-loop", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "description": "Pi extension that reruns a prompt from a clean session checkpoint for bounded Ralph loops.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
24955
1.03%543
1.12%