feat(kugetsu): add local config file for user overrides
- Source ~/.kugetsu/config on each command call - Allows user to override defaults (e.g., MAX_CONCURRENT_AGENTS) - Changes take effect immediately, no re-init needed Fixes #67
This commit is contained in:
@@ -10,6 +10,11 @@ NOTIFICATIONS_FILE="$KUGETSU_DIR/notifications.json"
|
||||
LOGS_DIR="$KUGETSU_DIR/logs"
|
||||
MAX_CONCURRENT_AGENTS="${MAX_CONCURRENT_AGENTS:-3}"
|
||||
|
||||
# Load user config overrides (~/.kugetsu/config)
|
||||
if [ -f "$KUGETSU_DIR/config" ]; then
|
||||
source "$KUGETSU_DIR/config"
|
||||
fi
|
||||
|
||||
count_active_dev_sessions() {
|
||||
local count=0
|
||||
if [ -d "$SESSIONS_DIR" ]; then
|
||||
|
||||
Reference in New Issue
Block a user