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