File size: 707 Bytes
fc93158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { runOmegaSmoke, runJepaTensionBridge } from "./src/omega/runtime.js";

const repoRoot = process.cwd();

async function test() {
  console.log("--- Testing OMEGA Smoke ---");
  try {
    const smoke = runOmegaSmoke(repoRoot);
    console.log("Smoke result:", JSON.stringify(smoke, null, 2));
  } catch (err) {
    console.error("Smoke failed:", err.message);
  }

  console.log("\n--- Testing JEPA Tension Bridge ---");
  try {
    const jepa = await runJepaTensionBridge(repoRoot, {
      t: 100,
      v: [1, 2, 3],
      m: { test: 1 },
    } as any);
    console.log("JEPA result:", JSON.stringify(jepa, null, 2));
  } catch (err) {
    console.error("JEPA failed:", err.message);
  }
}

test();