helixevo 0.2.10 → 0.2.11

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/dist/cli.js +40 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -12350,6 +12350,8 @@ import { join as join15, dirname as dirname3 } from "node:path";
12350
12350
  import { existsSync as existsSync10, cpSync as cpSync3, mkdirSync as mkdirSync4, readdirSync as readdirSync2, readFileSync as readFileSync8, rmSync as rmSync2, writeFileSync as writeFileSync9 } from "node:fs";
12351
12351
  import { fileURLToPath as fileURLToPath2 } from "node:url";
12352
12352
  import { homedir as homedir3 } from "node:os";
12353
+ init_skills();
12354
+ init_data();
12353
12355
  var __filename = "/Users/tianchichen/Documents/GitHub/helixevo/src/commands/dashboard.ts";
12354
12356
  var HELIX_DASHBOARD_DIR = join15(homedir3(), ".helix", "dashboard");
12355
12357
  async function dashboardCommand() {
@@ -12373,6 +12375,7 @@ async function dashboardCommand() {
12373
12375
  process.exit(1);
12374
12376
  }
12375
12377
  }
12378
+ ensureSkillGraph();
12376
12379
  console.log(` \uD83C\uDF10 Starting HelixEvo Dashboard v${VERSION} at http://localhost:3847
12377
12380
  `);
12378
12381
  const child = spawn2("npx", ["next", "dev", "--port", "3847"], {
@@ -12489,6 +12492,43 @@ function copyToHelix(sourceDir) {
12489
12492
  writeFileSync9(join15(HELIX_DASHBOARD_DIR, ".helixevo-version"), VERSION);
12490
12493
  return HELIX_DASHBOARD_DIR;
12491
12494
  }
12495
+ function ensureSkillGraph() {
12496
+ try {
12497
+ const existing = loadSkillGraph();
12498
+ const skills = loadAllGeneralSkills();
12499
+ if (skills.length === 0)
12500
+ return;
12501
+ const existingIds = new Set(existing.nodes.map((n) => n.id));
12502
+ const newSkills = skills.filter((s) => !existingIds.has(s.slug));
12503
+ if (existing.nodes.length > 0 && newSkills.length === 0)
12504
+ return;
12505
+ const existingNodes = existing.nodes;
12506
+ const newNodes = newSkills.map((s) => ({
12507
+ id: s.slug,
12508
+ name: s.slug,
12509
+ layer: "system",
12510
+ score: 0.7,
12511
+ generation: 0,
12512
+ status: "active",
12513
+ tags: [],
12514
+ failureCount: 0,
12515
+ lastEvolved: new Date().toISOString()
12516
+ }));
12517
+ const allNodes = [...existingNodes, ...newNodes];
12518
+ const graph = {
12519
+ updated: new Date().toISOString(),
12520
+ nodes: allNodes,
12521
+ edges: existing.edges,
12522
+ clusters: existing.clusters
12523
+ };
12524
+ saveSkillGraph(graph);
12525
+ if (existing.nodes.length === 0) {
12526
+ console.log(` ✓ Discovered ${allNodes.length} skills for dashboard`);
12527
+ } else if (newSkills.length > 0) {
12528
+ console.log(` ✓ Added ${newSkills.length} new skills to dashboard (${allNodes.length} total)`);
12529
+ }
12530
+ } catch {}
12531
+ }
12492
12532
 
12493
12533
  // src/commands/watch.ts
12494
12534
  import { join as join17 } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helixevo",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
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": {