@basou/cli 0.56.0 → 0.57.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/program.js CHANGED
@@ -12090,6 +12090,7 @@ async function doRunVerify(options, ctx) {
12090
12090
  });
12091
12091
  }
12092
12092
  const tamperedCount = rows.filter((r) => r.status === "tampered").length;
12093
+ const unsupportedCount = rows.filter((r) => r.status === "unsupported").length;
12093
12094
  if (options.json === true) {
12094
12095
  console.log(JSON.stringify(rows, null, 2));
12095
12096
  } else {
@@ -12099,10 +12100,10 @@ async function doRunVerify(options, ctx) {
12099
12100
  }
12100
12101
  const tally = (status) => rows.filter((r) => r.status === status).length;
12101
12102
  console.log(
12102
- `Sessions: ${rows.length} total \u2014 ${tally("verified")} verified, ${tally("unchained")} unchained, ${tally("empty")} empty, ${tally("incomplete")} incomplete, ${tally("in_progress")} in_progress, ${tamperedCount} tampered`
12103
+ `Sessions: ${rows.length} total \u2014 ${tally("verified")} verified, ${tally("unchained")} unchained, ${tally("empty")} empty, ${tally("incomplete")} incomplete, ${tally("in_progress")} in_progress, ${unsupportedCount} unsupported, ${tamperedCount} tampered`
12103
12104
  );
12104
12105
  }
12105
- if (tamperedCount > 0) {
12106
+ if (tamperedCount > 0 || unsupportedCount > 0) {
12106
12107
  process.exitCode = 1;
12107
12108
  }
12108
12109
  }
@@ -12116,6 +12117,8 @@ function renderVerdict(row) {
12116
12117
  return "incomplete (session.yaml missing; re-import to repair)";
12117
12118
  case "in_progress":
12118
12119
  return `in_progress (${row.event_count} events; live session, anchor written at finalize)`;
12120
+ case "unsupported":
12121
+ return "unsupported (session.yaml written by a newer basou; upgrade basou to verify it)";
12119
12122
  case "unchained":
12120
12123
  return "unchained (session created before event-log chaining)";
12121
12124
  case "empty":
@@ -14115,7 +14118,7 @@ async function assertWorkspaceInitialized15(basouRoot) {
14115
14118
  function readBuildStamp() {
14116
14119
  if (false) return void 0;
14117
14120
  try {
14118
- return JSON.parse('{"version":"0.56.0","commit":"dcbb7ee","committedAt":"2026-09-30T13:15:29+09:00"}');
14121
+ return JSON.parse('{"version":"0.57.0","commit":"d86f273","committedAt":"2026-09-30T19:10:55+09:00"}');
14119
14122
  } catch {
14120
14123
  return void 0;
14121
14124
  }