@basou/cli 0.68.1 → 0.68.2
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/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/program.js +7 -6
- package/dist/program.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1919,10 +1919,10 @@ The input is a JSON object: measure_digest (the digest of the measurement the
|
|
|
1919
1919
|
judgement saw), observed (exactly the observations the board declares, when it
|
|
1920
1920
|
declares any), cells (every lane at every stage), prose, judged_by and
|
|
1921
1921
|
axis_review. The board is measured again, and nothing is written when the
|
|
1922
|
-
digest differs. Records are never written
|
|
1923
|
-
codes: 0 when the record was written, or with
|
|
1924
|
-
checked out (nothing is written then); 1 when it
|
|
1925
|
-
written; the reasons are on stderr).`
|
|
1922
|
+
digest differs (it covers board.yaml as read). Records are never written
|
|
1923
|
+
under a .basou/ directory. Exit codes: 0 when the record was written, or with
|
|
1924
|
+
--dry-run when everything checked out (nothing is written then); 1 when it
|
|
1925
|
+
was refused (nothing is written; the reasons are on stderr).`
|
|
1926
1926
|
).action(async (options) => {
|
|
1927
1927
|
await runBoardRecord(options);
|
|
1928
1928
|
});
|
|
@@ -2083,6 +2083,7 @@ async function doRunBoardGuide(_options, ctx) {
|
|
|
2083
2083
|
language: resolveViewLanguage(manifest),
|
|
2084
2084
|
basouCommand: ctx.basouCommand ?? [process.execPath, process.argv[1] ?? ""].filter((part) => part !== "").map(shellWord).join(" "),
|
|
2085
2085
|
basouVersion: BASOU_CLI_VERSION,
|
|
2086
|
+
basouBuild: ctx.basouBuild !== void 0 ? ctx.basouBuild : BASOU_BUILD?.commit ?? null,
|
|
2086
2087
|
now: ctx.nowProvider?.() ?? /* @__PURE__ */ new Date()
|
|
2087
2088
|
};
|
|
2088
2089
|
let guide;
|
|
@@ -2182,7 +2183,7 @@ ${parsed.errors.map((e) => ` - ${displayPath3(e)}`).join("\n")}`
|
|
|
2182
2183
|
const measurement = await measureLoaded(loaded, ctx, parsed.input.judged_by.model, previous);
|
|
2183
2184
|
if (measurement.digest !== parsed.input.measure_digest) {
|
|
2184
2185
|
throw new RecordRefusal(
|
|
2185
|
-
`measure_digest is ${parsed.input.measure_digest}, but the board measures ${measurement.digest} now: something it measures
|
|
2186
|
+
`measure_digest is ${parsed.input.measure_digest}, but the board measures ${measurement.digest} now: something it measures or board.yaml changed since the judgement, or basou was rebuilt or upgraded since that measurement. Measure again and judge that; nothing was written.`
|
|
2186
2187
|
);
|
|
2187
2188
|
}
|
|
2188
2189
|
const record = buildRecord({
|
|
@@ -16040,7 +16041,7 @@ function installExperimentalNotice(program2, names = EXPERIMENTAL_COMMANDS, writ
|
|
|
16040
16041
|
function readBuildStamp() {
|
|
16041
16042
|
if (false) return void 0;
|
|
16042
16043
|
try {
|
|
16043
|
-
return JSON.parse('{"version":"0.68.
|
|
16044
|
+
return JSON.parse('{"version":"0.68.2","commit":"db6d49f","committedAt":"2026-10-13T11:10:06+09:00"}');
|
|
16044
16045
|
} catch {
|
|
16045
16046
|
return void 0;
|
|
16046
16047
|
}
|