coder-config 0.44.23 → 0.44.24
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/package.json +1 -1
- package/ui/server.cjs +16 -0
package/lib/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.24",
|
|
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",
|
package/ui/server.cjs
CHANGED
|
@@ -252,6 +252,9 @@ class ConfigUIServer {
|
|
|
252
252
|
// ==================== HTTP Server ====================
|
|
253
253
|
|
|
254
254
|
start() {
|
|
255
|
+
// Run migrations
|
|
256
|
+
this.runMigrations();
|
|
257
|
+
|
|
255
258
|
const server = http.createServer((req, res) => this.handleRequest(req, res));
|
|
256
259
|
this.terminalServer.attach(server);
|
|
257
260
|
|
|
@@ -262,6 +265,19 @@ class ConfigUIServer {
|
|
|
262
265
|
});
|
|
263
266
|
}
|
|
264
267
|
|
|
268
|
+
/**
|
|
269
|
+
* Run migrations on server start
|
|
270
|
+
*/
|
|
271
|
+
runMigrations() {
|
|
272
|
+
try {
|
|
273
|
+
// Migration: Remove global ralph-loop hooks (v0.44.23+)
|
|
274
|
+
// Hooks are now installed per-project instead of globally
|
|
275
|
+
routes.loops.removeGlobalHooks();
|
|
276
|
+
} catch (e) {
|
|
277
|
+
// Ignore migration errors
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
265
281
|
async handleRequest(req, res) {
|
|
266
282
|
const parsedUrl = url.parse(req.url, true);
|
|
267
283
|
const pathname = parsedUrl.pathname;
|