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 CHANGED
@@ -2,7 +2,7 @@
2
2
  * Constants and tool path configurations
3
3
  */
4
4
 
5
- const VERSION = '0.44.32';
5
+ const VERSION = '0.44.34';
6
6
 
7
7
  // Tool-specific path configurations
8
8
  const TOOL_PATHS = {
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
- const task = state.task.original.replace(/"/g, '\\"');
395
- // Escape single quotes in completion promise (replace ' with '\'' for shell)
396
- const completionPromise = (state.completionPromise || 'DONE').replace(/'/g, "'\\''");
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 "/ralph-loop ${task} --max-iterations ${state.iterations.max} --completion-promise '${completionPromise}'"`);
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.32",
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",