@abide/bridge 0.7.3 → 0.7.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @abide/bridge
2
2
 
3
+ ## 0.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - e24354b: the native app finds claude on the login shell's PATH when opened from the Finder — Bun.which and Bun.spawn read the PATH the process started with, so localStands passes the current PATH and a turn's spawn hands the child the current env; the 44.77 test now starts with no claude on PATH and assigns it after, as runNative does ([`26a24cb`](https://github.com/briancray/abide/commit/26a24cbd98ebc248dce33a17fb0f5a28521247d4))
8
+
3
9
  ## 0.7.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abide/bridge",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "type": "module",
5
5
  "description": "Connects the Claude Code on your machine to the assistant on an abide site",
6
6
  "license": "MIT",
package/src/claudeTurn.ts CHANGED
@@ -240,6 +240,9 @@ export async function claudeTurn(
240
240
  String(turn.maxTurns),
241
241
  ],
242
242
  cwd: directory,
243
+ // The environment as it is NOW: without one, bun finds `claude` on the `PATH` the process
244
+ // started with and hands the child that, where a native app assigns the login shell's after.
245
+ env: { ...Bun.env },
243
246
  stdin: 'pipe',
244
247
  stdout: 'pipe',
245
248
  stderr: 'pipe',