@sureshsankaran/ralph-wiggum 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -104,8 +104,8 @@ export const RalphWiggumPlugin = async ({ client, directory }) => {
104
104
  return;
105
105
  }
106
106
  // Handle session idle to continue the loop
107
- const isIdle = event.type === "session.idle" ||
108
- (event.type === "session.status" && event.properties?.status?.type === "idle");
107
+ // Only listen to session.status (session.idle is deprecated and fires at the same time)
108
+ const isIdle = event.type === "session.status" && event.properties?.status?.type === "idle";
109
109
  if (!isIdle)
110
110
  return;
111
111
  // If completion was already detected, don't continue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sureshsankaran/ralph-wiggum",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Ralph Wiggum iterative AI development plugin for OpenCode - continuously loops the same prompt until task completion",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",