@th0rgal/ralph-wiggum 1.0.4 → 1.0.5
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/bin/ralph +0 -0
- package/package.json +3 -3
- package/ralph.ts +1 -1
- package/bin/ralph.js +0 -14
package/bin/ralph
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@th0rgal/ralph-wiggum",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Ralph Wiggum technique for OpenCode - iterative AI development loops with self-correcting agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": ".opencode/plugin/ralph-wiggum.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"ralph": "./bin/ralph
|
|
8
|
+
"ralph": "./bin/ralph"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "bun ralph.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"install-local": "bun link"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
|
-
"bin/ralph
|
|
17
|
+
"bin/ralph",
|
|
18
18
|
"ralph.ts",
|
|
19
19
|
".opencode/command/",
|
|
20
20
|
".opencode/plugin/",
|
package/ralph.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { $ } from "bun";
|
|
|
10
10
|
import { existsSync, readFileSync, writeFileSync, mkdirSync, statSync } from "fs";
|
|
11
11
|
import { join } from "path";
|
|
12
12
|
|
|
13
|
-
const VERSION = "1.0.
|
|
13
|
+
const VERSION = "1.0.5";
|
|
14
14
|
|
|
15
15
|
// Parse arguments
|
|
16
16
|
const args = process.argv.slice(2);
|
package/bin/ralph.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { spawnSync } from "node:child_process";
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
import { dirname, resolve } from "node:path";
|
|
5
|
-
|
|
6
|
-
const scriptPath = resolve(dirname(fileURLToPath(import.meta.url)), "..", "ralph.ts");
|
|
7
|
-
const result = spawnSync("bun", [scriptPath, ...process.argv.slice(2)], { stdio: "inherit" });
|
|
8
|
-
|
|
9
|
-
if (result.error) {
|
|
10
|
-
console.error("Error: Bun is required to run ralph. Install Bun: https://bun.sh");
|
|
11
|
-
process.exit(1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
process.exit(result.status ?? 1);
|