helixevo 0.2.29 → 0.2.30

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.
@@ -38,8 +38,8 @@ export default function EvolutionPage() {
38
38
  <div style={{ paddingLeft: 20, position: 'relative' }}>
39
39
  <div style={{ position: 'absolute', left: 9, top: 0, bottom: 0, width: 2, background: 'var(--border)' }} />
40
40
 
41
- {iterations.map(iter => (
42
- <div key={iter.id} style={{ position: 'relative', marginBottom: 24, paddingLeft: 28 }}>
41
+ {iterations.map((iter, idx) => (
42
+ <div key={`${iter.id}-${idx}`} style={{ position: 'relative', marginBottom: 24, paddingLeft: 28 }}>
43
43
  {/* Timeline dot */}
44
44
  <div style={{
45
45
  position: 'absolute', left: -1, top: 4, width: 14, height: 14,
@@ -57,15 +57,22 @@ export function UpdateBanner({ currentVersion }: { currentVersion: string }) {
57
57
  setState('reloading')
58
58
 
59
59
  // Next.js dev mode detects config change and auto-restarts.
60
- // Wait for it to recompile, then reload.
61
- let secs = 8
60
+ // Wait for recompilation, then poll until ready, then reload.
61
+ let secs = 12
62
62
  setCountdown(secs)
63
- const timer = setInterval(() => {
63
+ const timer = setInterval(async () => {
64
64
  secs--
65
65
  setCountdown(secs)
66
66
  if (secs <= 0) {
67
67
  clearInterval(timer)
68
- // Hard reload with cache busting
68
+ // Try polling a few times before force-reloading
69
+ for (let i = 0; i < 10; i++) {
70
+ try {
71
+ const check = await fetch('/?_v=' + Date.now(), { cache: 'no-store' })
72
+ if (check.ok) break
73
+ } catch {}
74
+ await new Promise(r => setTimeout(r, 1500))
75
+ }
69
76
  window.location.href = window.location.pathname + '?v=' + Date.now()
70
77
  }
71
78
  }, 1000)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helixevo",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Self-evolving skill ecosystem for AI agents. Skills and projects co-evolve through multi-judge evaluation and a Pareto frontier.",
5
5
  "type": "module",
6
6
  "bin": {