claude-evolve 1.2.11 → 1.2.12

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.
@@ -11,7 +11,7 @@ load_config
11
11
  # Parse arguments
12
12
  open_chart=false
13
13
  csv_file="$FULL_CSV_PATH"
14
- output_file="$FULL_OUTPUT_DIR/performance.png"
14
+ output_file="" # Will be set later if not specified
15
15
 
16
16
  while [[ $# -gt 0 ]]; do
17
17
  case $1 in
@@ -53,6 +53,17 @@ EOF
53
53
  esac
54
54
  done
55
55
 
56
+ # Set default output file if not specified
57
+ if [[ -z "$output_file" ]]; then
58
+ if [[ -d "$FULL_OUTPUT_DIR" ]]; then
59
+ # We're in an evolution workspace
60
+ output_file="$FULL_OUTPUT_DIR/performance.png"
61
+ else
62
+ # Not in workspace, use temp file
63
+ output_file="/tmp/claude_evolve_performance_$$.png"
64
+ fi
65
+ fi
66
+
56
67
  # Check if CSV exists
57
68
  if [[ ! -f $csv_file ]]; then
58
69
  echo "[ERROR] CSV file not found: $csv_file" >&2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",