@chatpanel/bridge 0.10.5 → 0.10.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/bridge",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "type": "module",
5
5
  "description": "Local bridge that exposes the AI coding agents installed on your machine — Claude Code (CLI), Codex (CLI), and Gemini CLI — to the ChatPanel Chrome extension over a localhost SSE endpoint. Bring your own agent.",
6
6
  "keywords": [
package/src/env.js CHANGED
@@ -67,7 +67,7 @@ function shellWhich(name) {
67
67
  if (process.platform === 'win32') return '';
68
68
  try {
69
69
  const shell = process.env.SHELL || '/bin/zsh';
70
- const r = spawnSync(shell, ['-ilc', `command -v ${name} 2>/dev/null`], {
70
+ const r = spawnSync(shell, ['-lc', `command -v ${name} 2>/dev/null`], {
71
71
  encoding: 'utf8',
72
72
  timeout: 4000,
73
73
  });
@@ -319,7 +319,7 @@ export function enrichPath() {
319
319
  let shellPath = '';
320
320
  try {
321
321
  const shell = process.env.SHELL || '/bin/zsh';
322
- const r = spawnSync(shell, ['-ilc', 'command -p echo "$PATH"'], {
322
+ const r = spawnSync(shell, ['-lc', 'command -p echo "$PATH"'], {
323
323
  encoding: 'utf8',
324
324
  timeout: 4000,
325
325
  });
package/src/server.js CHANGED
@@ -30,7 +30,7 @@ import { callLocalMcp } from './mcp-local.js';
30
30
  // Hardcoded (not read from package.json) so it survives Bun's single-file
31
31
  // --compile, where package.json isn't on a readable FS. CI fails the publish if
32
32
  // this drifts from package.json, so the two can't silently diverge.
33
- const VERSION = '0.10.5';
33
+ const VERSION = '0.10.6';
34
34
  const HOST = process.env.CHATPANEL_BRIDGE_HOST || '127.0.0.1';
35
35
  const PORT = Number(process.env.CHATPANEL_BRIDGE_PORT) || 4319;
36
36