Build workspace agent, capability graph, and versioned cutovers
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { parseQuixosLock } from "./parser.js";
|
||||
import { loadQuixosLock } from "./loader.js";
|
||||
|
||||
const fileName = process.argv[2];
|
||||
if (!fileName || process.argv.length !== 3) {
|
||||
@@ -8,7 +7,7 @@ if (!fileName || process.argv.length !== 3) {
|
||||
process.exit(2);
|
||||
}
|
||||
|
||||
const result = parseQuixosLock(await readFile(fileName, "utf8"), fileName);
|
||||
const result = await loadQuixosLock(fileName);
|
||||
if (!result.ok) {
|
||||
for (const diagnostic of result.diagnostics) {
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user