helixevo 0.2.6 → 0.2.7
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.
- package/dashboard/app/guide/page.tsx +28 -4
- package/dist/cli.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { useState } from 'react'
|
|
3
|
+
import { useState, useEffect, useRef } from 'react'
|
|
4
4
|
|
|
5
5
|
// ─── Table of Contents ──────────────────────────────────────────
|
|
6
6
|
const TOC = [
|
|
@@ -195,6 +195,30 @@ function HierarchyDiagram() {
|
|
|
195
195
|
// ─── Main Guide Page ────────────────────────────────────────────
|
|
196
196
|
export default function GuidePage() {
|
|
197
197
|
const [activeSection, setActiveSection] = useState('overview')
|
|
198
|
+
const contentRef = useRef<HTMLDivElement>(null)
|
|
199
|
+
|
|
200
|
+
useEffect(() => {
|
|
201
|
+
const sectionIds = TOC.map(t => t.id)
|
|
202
|
+
const observer = new IntersectionObserver(
|
|
203
|
+
(entries) => {
|
|
204
|
+
// Find the most visible section
|
|
205
|
+
const visible = entries
|
|
206
|
+
.filter(e => e.isIntersecting)
|
|
207
|
+
.sort((a, b) => b.intersectionRatio - a.intersectionRatio)
|
|
208
|
+
if (visible.length > 0) {
|
|
209
|
+
setActiveSection(visible[0].target.id)
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{ rootMargin: '-80px 0px -60% 0px', threshold: [0, 0.25, 0.5] }
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
for (const id of sectionIds) {
|
|
216
|
+
const el = document.getElementById(id)
|
|
217
|
+
if (el) observer.observe(el)
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return () => observer.disconnect()
|
|
221
|
+
}, [])
|
|
198
222
|
|
|
199
223
|
return (
|
|
200
224
|
<div className="guide-layout">
|
|
@@ -202,7 +226,7 @@ export default function GuidePage() {
|
|
|
202
226
|
<nav className="guide-toc">
|
|
203
227
|
<div className="guide-toc-header">
|
|
204
228
|
<div className="guide-toc-title">Documentation</div>
|
|
205
|
-
<div className="guide-toc-version">v0.2.
|
|
229
|
+
<div className="guide-toc-version">v0.2.6</div>
|
|
206
230
|
</div>
|
|
207
231
|
{TOC.map(item => (
|
|
208
232
|
<a
|
|
@@ -222,7 +246,7 @@ export default function GuidePage() {
|
|
|
222
246
|
{/* Hero */}
|
|
223
247
|
<div className="guide-hero">
|
|
224
248
|
<div className="guide-hero-badge">Documentation</div>
|
|
225
|
-
<h1 className="guide-hero-title">
|
|
249
|
+
<h1 className="guide-hero-title">HelixEvo Guide</h1>
|
|
226
250
|
<p className="guide-hero-desc">
|
|
227
251
|
A comprehensive guide to the self-evolving skill ecosystem for AI agents.
|
|
228
252
|
Capture failures, evolve skills through multi-judge evaluation, and maintain
|
|
@@ -958,7 +982,7 @@ generation: 3
|
|
|
958
982
|
{/* Footer */}
|
|
959
983
|
<div className="guide-footer">
|
|
960
984
|
<div className="guide-footer-content">
|
|
961
|
-
<div style={{ fontSize: 13, fontWeight: 600 }}>HelixEvo v0.2.
|
|
985
|
+
<div style={{ fontSize: 13, fontWeight: 600 }}>HelixEvo v0.2.6</div>
|
|
962
986
|
<div style={{ fontSize: 12, color: 'var(--text-dim)', marginTop: 4 }}>
|
|
963
987
|
Self-evolving skill ecosystem for AI agents · MIT License
|
|
964
988
|
</div>
|
package/dist/cli.js
CHANGED
|
@@ -12924,7 +12924,7 @@ async function metricsCommand(options) {
|
|
|
12924
12924
|
|
|
12925
12925
|
// src/cli.ts
|
|
12926
12926
|
var program2 = new Command;
|
|
12927
|
-
program2.name("helixevo").description("Self-evolving skill ecosystem for AI agents").version("0.2.
|
|
12927
|
+
program2.name("helixevo").description("Self-evolving skill ecosystem for AI agents").version("0.2.7").addHelpText("after", `
|
|
12928
12928
|
Examples:
|
|
12929
12929
|
$ helixevo watch Always-on learning (auto-capture + auto-evolve)
|
|
12930
12930
|
$ helixevo watch --project myapp Watch with project context
|
package/package.json
CHANGED