@bli-cockpit/cli 0.2.246 → 0.2.247

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.
@@ -21,7 +21,7 @@ export async function runCockpitCli(argv, io) {
21
21
  }
22
22
 
23
23
  if (command === "--version" || command === "-V" || command === "version") {
24
- writeLine(io?.stdout ?? process.stdout, "0.2.246");
24
+ writeLine(io?.stdout ?? process.stdout, "0.2.247");
25
25
  return 0;
26
26
  }
27
27
 
@@ -62,11 +62,17 @@ export async function installLocalCollector(options = {}) {
62
62
  operator_id: existingConfig?.operator_id,
63
63
  default_repo_paths: defaultRepoPaths,
64
64
  raw_evidence_upload: rawEvidenceUpload,
65
+ // The operator's Claude opt-out survives every rewrite (doctor, onboard,
66
+ // update, roots add); only the operator turns it back on (BLI-22341).
67
+ collect_claude_jsonl: existingConfig?.collect_claude_jsonl,
65
68
  session_file_path: paths.session_file,
66
69
  state_dir_path: paths.state_dir,
67
70
  });
68
71
  await recordRootApprovals(paths, defaultRepoPaths, options.replaceRepoRoots);
69
72
  await writeJsonFile(paths.config_file, config);
73
+ if (config.collect_claude_jsonl === false) {
74
+ console.error("[install] claude session upload stays off", JSON.stringify({ reason: "collect_claude_jsonl_false" }));
75
+ }
70
76
  return {
71
77
  config,
72
78
  paths,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/cli",
3
- "version": "0.2.246",
3
+ "version": "0.2.247",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {