@regression-io/claude-config 0.14.20 → 0.14.22

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/README.md CHANGED
@@ -86,12 +86,12 @@ claude-config registry-remove <name> # Remove MCP from registry
86
86
  claude-config ui # Start UI on port 3333
87
87
  claude-config ui --port 8080 # Custom port
88
88
  claude-config ui /path/to/project # Specific project directory
89
- claude-config ui --daemon # Run as background daemon
89
+ claude-config ui --foreground # Run in foreground (blocking)
90
90
  claude-config ui status # Check if daemon is running
91
91
  claude-config ui stop # Stop the daemon
92
92
  ```
93
93
 
94
- **Daemon Mode**: Run `claude-config ui --daemon` to start the UI as a background service.
94
+ **Daemon Mode**: By default, `claude-config ui` runs as a background daemon.
95
95
  The UI runs from your home directory and persists across terminal sessions.
96
96
  Switch between registered projects using the dropdown in the header.
97
97
 
package/cli.js CHANGED
@@ -145,7 +145,7 @@ function startUI() {
145
145
  const flags = {
146
146
  port: 3333,
147
147
  dir: null, // Will default to active project or home
148
- daemon: false
148
+ foreground: false // Default to daemon mode
149
149
  };
150
150
 
151
151
  for (let i = 1; i < args.length; i++) {
@@ -168,15 +168,16 @@ function startUI() {
168
168
  flags.dir = args[++i] || null;
169
169
  } else if (arg.startsWith('--dir=')) {
170
170
  flags.dir = arg.split('=')[1] || null;
171
- } else if (arg === '--daemon' || arg === '-D') {
172
- flags.daemon = true;
171
+ } else if (arg === '--foreground' || arg === '-f' || arg === '--daemon' || arg === '-D') {
172
+ // --foreground runs in foreground, --daemon kept for backwards compat (now default)
173
+ flags.foreground = (arg === '--foreground' || arg === '-f');
173
174
  } else if (!arg.startsWith('-') && fs.existsSync(arg) && fs.statSync(arg).isDirectory()) {
174
175
  flags.dir = arg;
175
176
  }
176
177
  }
177
178
 
178
- // Daemon mode: spawn detached and exit
179
- if (flags.daemon) {
179
+ // Default: daemon mode (spawn detached and exit)
180
+ if (!flags.foreground) {
180
181
  return startDaemon(flags);
181
182
  }
182
183
 
package/config-loader.js CHANGED
@@ -19,7 +19,7 @@ const fs = require('fs');
19
19
  const path = require('path');
20
20
  const { execSync } = require('child_process');
21
21
 
22
- const VERSION = '0.14.20';
22
+ const VERSION = '0.14.22';
23
23
 
24
24
  class ClaudeConfigManager {
25
25
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regression-io/claude-config",
3
- "version": "0.14.20",
3
+ "version": "0.14.22",
4
4
  "description": "Configuration management UI for Claude Code - manage MCPs, rules, commands, memory, and .claude folders",
5
5
  "author": "regression.io",
6
6
  "main": "config-loader.js",