coder-config 0.44.34 → 0.44.35
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
package/lib/loops.js
CHANGED
|
@@ -391,14 +391,13 @@ 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
|
-
const
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
.replace(/\n/g, '\\n');
|
|
394
|
+
// Truncate for display, replace newlines with space
|
|
395
|
+
const shortTask = state.task.original.replace(/\n+/g, ' ').substring(0, 100);
|
|
396
|
+
const ellipsis = state.task.original.length > 100 ? '...' : '';
|
|
397
|
+
const escapedTask = shortTask.replace(/"/g, '\\"');
|
|
399
398
|
const completionPromise = state.completionPromise || 'DONE';
|
|
400
399
|
console.log('\nTo run this loop with Claude Code (uses official ralph-loop plugin):');
|
|
401
|
-
console.log(` claude --dangerously-skip-permissions
|
|
400
|
+
console.log(` claude --dangerously-skip-permissions "/ralph-loop ${escapedTask}${ellipsis} --max-iterations ${state.iterations.max} --completion-promise ${completionPromise}"`);
|
|
402
401
|
|
|
403
402
|
return state;
|
|
404
403
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.35",
|
|
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",
|