claude-evolve 1.6.22 → 1.6.23

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.
Files changed (2) hide show
  1. package/lib/config.sh +4 -11
  2. package/package.json +1 -1
package/lib/config.sh CHANGED
@@ -214,10 +214,9 @@ load_config() {
214
214
  LLM_RUN="$DEFAULT_LLM_RUN"
215
215
  LLM_IDEATE="$DEFAULT_LLM_IDEATE"
216
216
 
217
- # Determine local config file path
217
+ # If a config file is explicitly provided, use it as the local config
218
218
  local local_config_file="evolution/config.yaml"
219
219
  if [[ -n "$1" ]]; then
220
- # If a config file is explicitly provided, use it as the local config
221
220
  local_config_file="$1"
222
221
  fi
223
222
 
@@ -227,15 +226,9 @@ load_config() {
227
226
  # Load global config (overrides local config)
228
227
  local global_config_file="$HOME/.config/claude-evolve/config.yaml"
229
228
  _load_yaml_config "$global_config_file"
230
-
231
- # If LAST_CONFIG_FILE_LOADED is set, use its directory to infer evolution_dir
232
- if [[ -n "$LAST_CONFIG_FILE_LOADED" ]]; then
233
- local config_dir=$(dirname "$LAST_CONFIG_FILE_LOADED")
234
- if [[ "$config_dir" != "" && "$config_dir" != "." ]]; then
235
- EVOLUTION_DIR="$config_dir"
236
- echo "[DEBUG] Using evolution directory from last loaded config path: $EVOLUTION_DIR" >&2
237
- fi
238
- fi
229
+
230
+ # EVOLUTION_DIR should always be the project's evolution directory, not derived from config file location
231
+ # It is initialized to DEFAULT_EVOLUTION_DIR at the start of load_config and should not be changed here.
239
232
 
240
233
  # Create full paths - ALL paths are relative to evolution_dir
241
234
  # Make evolution_dir absolute if it's relative
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.6.22",
3
+ "version": "1.6.23",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",