@band-app/server 0.5.0 → 0.5.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.
@@ -133660,21 +133660,6 @@ function findCliBinary() {
133660
133660
  }
133661
133661
  }
133662
133662
  }
133663
- if (platform2() === "darwin") {
133664
- const macOsCandidates = [
133665
- // From cwd (Resources/web/) → Contents/MacOS/band
133666
- resolve5(process.cwd(), "..", "..", "MacOS", "band"),
133667
- // From bundled dist file (Resources/web/dist/) → Contents/MacOS/band
133668
- resolve5(import.meta.dirname, "..", "..", "..", "MacOS", "band")
133669
- ];
133670
- for (const p6 of macOsCandidates) {
133671
- try {
133672
- lstatSync2(p6);
133673
- return p6;
133674
- } catch {
133675
- }
133676
- }
133677
- }
133678
133663
  const exe = platform2() === "win32" ? "band.exe" : "band";
133679
133664
  const electronCandidates = [
133680
133665
  // From cwd (<Resources>/web/dist) → <Resources>/binaries/band
@@ -133704,12 +133689,15 @@ async function checkCli() {
133704
133689
  return "NotInstalled";
133705
133690
  }
133706
133691
  const isCargoBuild = target.includes(join18("apps", "cli", "target"));
133707
- const isTauriSidecar = target.includes(join18("Contents", "MacOS", "band"));
133708
133692
  const isElectronSidecar = target.endsWith(join18("binaries", "band"));
133709
- if (!isCargoBuild && !isTauriSidecar && !isElectronSidecar) {
133710
- return "ConflictingBinary";
133693
+ if (isCargoBuild || isElectronSidecar) {
133694
+ return "Installed";
133695
+ }
133696
+ const isStaleAppLink = target.toLowerCase().includes("/band.app/contents/macos/");
133697
+ if (isStaleAppLink) {
133698
+ return "NotInstalled";
133711
133699
  }
133712
- return "Installed";
133700
+ return "ConflictingBinary";
133713
133701
  } catch (err) {
133714
133702
  const code = err.code;
133715
133703
  if (code === "ENOENT") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@band-app/server",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "band-server": "./bin/band-server.mjs"
@@ -82,10 +82,10 @@
82
82
  "vitest": "^4.0.18",
83
83
  "ws": "^8.18.0",
84
84
  "zod": "^3.25.67",
85
- "@band-app/ui": "^0.5.0",
86
- "@band-app/logger": "^0.5.0",
87
- "@band-app/coding-agent": "^0.5.0",
88
- "@band-app/dashboard-core": "^0.5.0"
85
+ "@band-app/coding-agent": "^0.5.2",
86
+ "@band-app/logger": "^0.5.2",
87
+ "@band-app/ui": "^0.5.2",
88
+ "@band-app/dashboard-core": "^0.5.2"
89
89
  },
90
90
  "scripts": {
91
91
  "dev": "vite dev --port 3456 --host 0.0.0.0",