🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

opencode-ralph-loop

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-ralph-loop - npm Package Compare versions

Comparing version
1.0.5
to
1.0.6
+1
-1
package.json
{
"name": "opencode-ralph-loop",
"version": "1.0.5",
"version": "1.0.6",
"description": "Minimal Ralph Loop plugin for opencode - auto-continues until task completion",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -49,5 +49,4 @@ import { existsSync, readFileSync, writeFileSync, mkdirSync, unlinkSync, cpSync } from "fs";

cpSync(srcSkillDir, destSkillDir, { recursive: true });
console.log(`[ralph-loop] Installed skill: ${skill}`);
} catch (e) {
console.error(`[ralph-loop] Failed to install skill ${skill}:`, e);
} catch {
// Silent fail
}

@@ -70,5 +69,4 @@ }

cpSync(srcCmd, destCmd);
console.log(`[ralph-loop] Installed command: ${cmd}`);
} catch (e) {
console.error(`[ralph-loop] Failed to install command ${cmd}:`, e);
} catch {
// Silent fail
}

@@ -181,4 +179,4 @@ }

}
} catch (e) {
console.error("[ralph-loop] Failed to check completion:", e);
} catch {
// Silent fail
}

@@ -291,3 +289,2 @@

if (await isComplete(client, sessionId, directory)) {
console.log("[ralph-loop] Task complete - DONE promise found");
clearState(directory);

@@ -298,3 +295,2 @@ return;

if (state.iteration >= state.maxIterations) {
console.log(`[ralph-loop] Max iterations (${state.maxIterations}) reached`);
clearState(directory);

@@ -317,5 +313,4 @@ return;

});
console.log(`[ralph-loop] Injected continuation (iteration ${newState.iteration})`);
} catch (e) {
console.error("[ralph-loop] Failed to inject continuation:", e);
} catch {
// Silent fail - don't pollute TUI
}

@@ -322,0 +317,0 @@ }