coder-config 0.44.32 → 0.44.34
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/lib/constants.js +1 -1
- package/lib/loops.js +7 -4
- package/package.json +1 -1
- package/ui/dist/assets/{index-CpUbGqbj.js → index-tGAkR-j-.js} +132 -132
- package/ui/dist/index.html +1 -1
package/lib/constants.js
CHANGED
package/lib/loops.js
CHANGED
|
@@ -391,11 +391,14 @@ function loopStart(installDir, idOrName) {
|
|
|
391
391
|
console.log(` Iteration: ${state.iterations.current}/${state.iterations.max}`);
|
|
392
392
|
|
|
393
393
|
// Output run instructions (using official ralph-loop plugin)
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
// Use $'...' syntax for proper handling of newlines and special characters
|
|
395
|
+
const escapedTask = state.task.original
|
|
396
|
+
.replace(/\\/g, '\\\\')
|
|
397
|
+
.replace(/'/g, "\\'")
|
|
398
|
+
.replace(/\n/g, '\\n');
|
|
399
|
+
const completionPromise = state.completionPromise || 'DONE';
|
|
397
400
|
console.log('\nTo run this loop with Claude Code (uses official ralph-loop plugin):');
|
|
398
|
-
console.log(` claude --dangerously-skip-permissions
|
|
401
|
+
console.log(` claude --dangerously-skip-permissions $'/ralph-loop ${escapedTask} --max-iterations ${state.iterations.max} --completion-promise ${completionPromise}'`);
|
|
399
402
|
|
|
400
403
|
return state;
|
|
401
404
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.34",
|
|
4
4
|
"description": "Configuration manager for AI coding tools - Claude Code, Gemini CLI, Codex CLI, Antigravity. Manage MCPs, rules, permissions, memory, and workstreams.",
|
|
5
5
|
"author": "regression.io",
|
|
6
6
|
"main": "config-loader.js",
|