@basou/cli 0.55.0 → 0.56.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/index.js CHANGED
@@ -3154,7 +3154,7 @@ async function importDerivedSessions(paths, manifest, options, sourceKind, candi
3154
3154
  dryRun: options.dryRun === true
3155
3155
  });
3156
3156
  if (outcome.status === "skipped") {
3157
- const detail = outcome.reason === "prior_events_unreadable" ? "prior events.jsonl has unreadable lines" : outcome.reason === "prior_chain_broken" ? "prior events.jsonl failed hash-chain verification (run 'basou verify')" : "source changed in a non-append way (derived events would be dropped)";
3157
+ const detail = outcome.reason === "prior_events_unreadable" ? "prior events.jsonl has unreadable lines" : outcome.reason === "prior_chain_broken" ? "prior events.jsonl failed hash-chain verification (run 'basou verify')" : outcome.reason === "prior_yaml_invalid" ? "prior session.yaml does not load as a whole document" : "source changed in a non-append way (derived events would be dropped)";
3158
3158
  console.error(`Import: ${externalId} ${detail}; re-import skipped`);
3159
3159
  counts.skippedUnverifiable++;
3160
3160
  continue;
@@ -12085,7 +12085,8 @@ async function doRunVerify(options, ctx) {
12085
12085
  status: verdict.status,
12086
12086
  event_count: verdict.eventCount,
12087
12087
  ...verdict.reason !== void 0 ? { reason: verdict.reason } : {},
12088
- ...verdict.line !== void 0 ? { line: verdict.line } : {}
12088
+ ...verdict.line !== void 0 ? { line: verdict.line } : {},
12089
+ ...verdict.sessionYamlInvalid === true ? { session_yaml_invalid: true } : {}
12089
12090
  });
12090
12091
  }
12091
12092
  const tamperedCount = rows.filter((r) => r.status === "tampered").length;
@@ -12093,7 +12094,8 @@ async function doRunVerify(options, ctx) {
12093
12094
  console.log(JSON.stringify(rows, null, 2));
12094
12095
  } else {
12095
12096
  for (const row of rows) {
12096
- console.log(`${row.session_id} ${renderVerdict(row)}`);
12097
+ const note = row.session_yaml_invalid === true ? " \u2014 session.yaml does not load as a whole document (session_yaml_invalid)" : "";
12098
+ console.log(`${row.session_id} ${renderVerdict(row)}${note}`);
12097
12099
  }
12098
12100
  const tally = (status) => rows.filter((r) => r.status === status).length;
12099
12101
  console.log(
@@ -14113,7 +14115,7 @@ async function assertWorkspaceInitialized15(basouRoot) {
14113
14115
  function readBuildStamp() {
14114
14116
  if (false) return void 0;
14115
14117
  try {
14116
- return JSON.parse('{"version":"0.55.0","commit":"c59daeb","committedAt":"2026-09-30T10:04:37+09:00"}');
14118
+ return JSON.parse('{"version":"0.56.0","commit":"dcbb7ee","committedAt":"2026-09-30T13:15:29+09:00"}');
14117
14119
  } catch {
14118
14120
  return void 0;
14119
14121
  }