0c46850973
- run a singleton Codex App Server adapter in each dev workspace - gate Web Studio with a reloadable fragment-token to HttpOnly-session exchange - add ChatGPT device login and streamed chat to Web Studio - isolate authoring access in a declarative NixOS service account - split Web Studio canvas, object, panel, and model concerns - check generated Quixos protocol clients for drift - resolve same-repository quixos.lock fragments deterministically - preserve the collaborative canvas gesture fixes
20 lines
583 B
JavaScript
20 lines
583 B
JavaScript
#!/usr/bin/env node
|
|
import { loadQuixosLock } from "./loader.js";
|
|
|
|
const fileName = process.argv[2];
|
|
if (!fileName || process.argv.length !== 3) {
|
|
console.error("Usage: quixos-lock-check <quixos.lock>");
|
|
process.exit(2);
|
|
}
|
|
|
|
const result = await loadQuixosLock(fileName);
|
|
if (!result.ok) {
|
|
for (const diagnostic of result.diagnostics) {
|
|
console.error(
|
|
`${diagnostic.fileName}:${diagnostic.line}:${diagnostic.column + 1}: ${diagnostic.phase}/${diagnostic.code}: ${diagnostic.message}`,
|
|
);
|
|
}
|
|
process.exit(1);
|
|
}
|
|
console.log(JSON.stringify(result.lock, null, 2));
|