claude-use 9.7.1 → 9.7.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/cli.cjs CHANGED
@@ -33242,7 +33242,7 @@ var init_package = __esm({
33242
33242
  "package.json"() {
33243
33243
  package_default = {
33244
33244
  name: "claude-use",
33245
- version: "9.7.1",
33245
+ version: "9.7.2",
33246
33246
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
33247
33247
  license: "MIT",
33248
33248
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -62430,10 +62430,16 @@ function decideLaunch(params, readOnly) {
62430
62430
  const assembled = assembleCascade(launchCascade);
62431
62431
  const flattened = flattenLayers(assembled.layers, { home: params.farm.home });
62432
62432
  cascadeLaunch = flattened.launch;
62433
- if (readOnly) {
62433
+ if (readOnly || farmContext === void 0) {
62434
62434
  for (const diagnostic of [...assembled.diagnostics, ...flattened.diagnostics]) {
62435
- if (diagnostic.severity !== "info") {
62436
- log.warn(`agent-shim: ${diagnostic.code}: ${diagnostic.message}`);
62435
+ if (diagnostic.severity === "info") {
62436
+ continue;
62437
+ }
62438
+ const message = `agent-shim: ${diagnostic.code}: ${diagnostic.message}`;
62439
+ if (diagnostic.severity === "error" && !readOnly) {
62440
+ log.error(message);
62441
+ } else {
62442
+ log.warn(message);
62437
62443
  }
62438
62444
  }
62439
62445
  }
package/dist/index.cjs CHANGED
@@ -2663,7 +2663,7 @@ var init_package = __esm({
2663
2663
  "package.json"() {
2664
2664
  package_default = {
2665
2665
  name: "claude-use",
2666
- version: "9.7.1",
2666
+ version: "9.7.2",
2667
2667
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
2668
2668
  license: "MIT",
2669
2669
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -7017,10 +7017,16 @@ function decideLaunch(params, readOnly) {
7017
7017
  const assembled = assembleCascade(launchCascade);
7018
7018
  const flattened = flattenLayers(assembled.layers, { home: params.farm.home });
7019
7019
  cascadeLaunch = flattened.launch;
7020
- if (readOnly) {
7020
+ if (readOnly || farmContext === void 0) {
7021
7021
  for (const diagnostic of [...assembled.diagnostics, ...flattened.diagnostics]) {
7022
- if (diagnostic.severity !== "info") {
7023
- log.warn(`agent-shim: ${diagnostic.code}: ${diagnostic.message}`);
7022
+ if (diagnostic.severity === "info") {
7023
+ continue;
7024
+ }
7025
+ const message = `agent-shim: ${diagnostic.code}: ${diagnostic.message}`;
7026
+ if (diagnostic.severity === "error" && !readOnly) {
7027
+ log.error(message);
7028
+ } else {
7029
+ log.warn(message);
7024
7030
  }
7025
7031
  }
7026
7032
  }
package/dist/index.mjs CHANGED
@@ -2639,7 +2639,7 @@ var init_package = __esm({
2639
2639
  "package.json"() {
2640
2640
  package_default = {
2641
2641
  name: "claude-use",
2642
- version: "9.7.1",
2642
+ version: "9.7.2",
2643
2643
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
2644
2644
  license: "MIT",
2645
2645
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -6992,10 +6992,16 @@ function decideLaunch(params, readOnly) {
6992
6992
  const assembled = assembleCascade(launchCascade);
6993
6993
  const flattened = flattenLayers(assembled.layers, { home: params.farm.home });
6994
6994
  cascadeLaunch = flattened.launch;
6995
- if (readOnly) {
6995
+ if (readOnly || farmContext === void 0) {
6996
6996
  for (const diagnostic of [...assembled.diagnostics, ...flattened.diagnostics]) {
6997
- if (diagnostic.severity !== "info") {
6998
- log.warn(`agent-shim: ${diagnostic.code}: ${diagnostic.message}`);
6997
+ if (diagnostic.severity === "info") {
6998
+ continue;
6999
+ }
7000
+ const message = `agent-shim: ${diagnostic.code}: ${diagnostic.message}`;
7001
+ if (diagnostic.severity === "error" && !readOnly) {
7002
+ log.error(message);
7003
+ } else {
7004
+ log.warn(message);
6999
7005
  }
7000
7006
  }
7001
7007
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "9.7.1",
3
+ "version": "9.7.2",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",