claude-evolve 1.5.6 → 1.5.8
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.
|
@@ -268,9 +268,17 @@ class AutoStatus:
|
|
|
268
268
|
self.display.move_cursor(row, 1)
|
|
269
269
|
print("-" * min(self.display.cols, len(header_fmt)))
|
|
270
270
|
row += 1
|
|
271
|
+
# Sort generations numerically by extracting the number after "gen"
|
|
272
|
+
def gen_sort_key(gen_str):
|
|
273
|
+
"""Extract numeric value from generation string for sorting."""
|
|
274
|
+
if gen_str.startswith("gen"):
|
|
275
|
+
try:
|
|
276
|
+
return int(gen_str[3:])
|
|
277
|
+
except ValueError:
|
|
278
|
+
return 999999 # Put non-numeric at end
|
|
279
|
+
return 999999
|
|
271
280
|
|
|
272
|
-
|
|
273
|
-
sorted_gens = sorted(generations.keys(), key=lambda g: int(g[3:]) if g.startswith("gen") and g[3:].isdigit() else 0)
|
|
281
|
+
sorted_gens = sorted(generations.keys(), key=gen_sort_key)
|
|
274
282
|
|
|
275
283
|
# Calculate how many generations we can show
|
|
276
284
|
available_rows = self.display.rows - row - 1 # Leave room at bottom
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|