githolon 0.111.1 → 0.112.0
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/dist/full-cli.mjs +27 -0
- package/package.json +2 -2
package/dist/full-cli.mjs
CHANGED
|
@@ -34229,6 +34229,19 @@ function runLsp(args) {
|
|
|
34229
34229
|
const r = spawnSync2(process.execPath, [launcher, ...args], { stdio: "inherit", cwd: process.cwd() });
|
|
34230
34230
|
return r.status ?? 1;
|
|
34231
34231
|
}
|
|
34232
|
+
function runInspectRelease(args) {
|
|
34233
|
+
const compile = resolveCompileLauncher(process.cwd());
|
|
34234
|
+
if (!compile) {
|
|
34235
|
+
process.stderr.write(`error: ${NO_DSL_REMEDY}
|
|
34236
|
+
`);
|
|
34237
|
+
return 1;
|
|
34238
|
+
}
|
|
34239
|
+
return spawnSync2(
|
|
34240
|
+
process.execPath,
|
|
34241
|
+
[join10(dirname2(compile), "inspect_release.mjs"), ...args],
|
|
34242
|
+
{ stdio: "inherit", cwd: process.cwd() }
|
|
34243
|
+
).status ?? 1;
|
|
34244
|
+
}
|
|
34232
34245
|
var NO_DSL_REMEDY;
|
|
34233
34246
|
var init_compile = __esm({
|
|
34234
34247
|
"src/compile.ts"() {
|
|
@@ -34413,6 +34426,7 @@ var init_commands = __esm({
|
|
|
34413
34426
|
"use strict";
|
|
34414
34427
|
DISPATCHED_COMMANDS = [
|
|
34415
34428
|
"compile",
|
|
34429
|
+
"inspect-release",
|
|
34416
34430
|
"check",
|
|
34417
34431
|
"lsp",
|
|
34418
34432
|
"mcp",
|
|
@@ -34497,6 +34511,17 @@ var init_help = __esm({
|
|
|
34497
34511
|
],
|
|
34498
34512
|
examples: ["githolon compile", "githolon compile nomos.application.ts --require-usdcat"]
|
|
34499
34513
|
},
|
|
34514
|
+
"inspect-release": {
|
|
34515
|
+
usage: "githolon inspect-release --identity <ledger.usda> --units <build/app.units>",
|
|
34516
|
+
what: "Read-only release baseline observations as JSON. Verify unit bytes, compare identity metadata and\noptionally compare an installed workspace export. No admission, publication or installation approval.",
|
|
34517
|
+
flags: [
|
|
34518
|
+
["--identity <path>", "current authoring identity ledger"],
|
|
34519
|
+
["--units <directory>", "compiler-emitted law unit directory"],
|
|
34520
|
+
["--against <path>", "optional prior identity ledger"],
|
|
34521
|
+
["--installed <path>", "optional JSON export from the console workspace API"]
|
|
34522
|
+
],
|
|
34523
|
+
examples: ["githolon inspect-release --identity nomos.identity.usda --units build/app.units"]
|
|
34524
|
+
},
|
|
34500
34525
|
check: {
|
|
34501
34526
|
usage: "githolon check [config] [--against <nomos.identity.usda|package dir>] [--json]",
|
|
34502
34527
|
what: "THE AUTHOR-TIME GATE: run the static twins over the law you have written and print everything the\nkernel can already prove it would refuse \u2014 before a compile, before a deploy, before a user. --against adds\nthe EVOLVE PREVIEW: diff this build against a prior identity surface and pre-fire the evolve gate, so a\nrename, removal or retype is named here instead of at the install offer. Exit non-zero on any refusal.",
|
|
@@ -38113,6 +38138,7 @@ Start here:
|
|
|
38113
38138
|
githolon compile compile aggregates, birth, directives, and reads into law + a typed client
|
|
38114
38139
|
githolon test run generated Dart scenarios with real local custody
|
|
38115
38140
|
githolon conformance check the installed stack with an isolated generated application
|
|
38141
|
+
githolon inspect-release inspect identity continuity and compiled/installed units (read-only)
|
|
38116
38142
|
githolon check explain anything the law can already prove it would refuse
|
|
38117
38143
|
|
|
38118
38144
|
The application surface is one idea:
|
|
@@ -38307,6 +38333,7 @@ async function main(argv) {
|
|
|
38307
38333
|
if (argv[0] === "compile") {
|
|
38308
38334
|
return runCompileCommand(argv.slice(1));
|
|
38309
38335
|
}
|
|
38336
|
+
if (argv[0] === "inspect-release") return runInspectRelease(argv.slice(1));
|
|
38310
38337
|
if (argv[0] === "check") {
|
|
38311
38338
|
return runCheck(argv.slice(1));
|
|
38312
38339
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.112.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "githolon — the Nomos developer CLI: Rails-style generators for @githolon/dsl domains + the package compiler. Kernel-independent.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bjorn3/browser_wasi_shim": "0.4.2",
|
|
32
32
|
"@bufbuild/protobuf": "^2.13.0",
|
|
33
|
-
"@githolon/dsl": "^0.
|
|
33
|
+
"@githolon/dsl": "^0.112.0",
|
|
34
34
|
"fast-xml-parser": "5.10.1",
|
|
35
35
|
"isomorphic-git": "^1.38.4",
|
|
36
36
|
"tsx": "^4.19.2",
|