linear-grab-bridge 0.21.0 → 0.22.0

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.
@@ -28,7 +28,7 @@ const flag = (name, fallback) => {
28
28
  const PORT = Number(flag('--port', '4577'));
29
29
  const DIR = flag('--dir', process.cwd());
30
30
  const CLAUDE_BIN = flag('--claude', 'claude');
31
- const VERSION = '0.21.0';
31
+ const VERSION = '0.22.0';
32
32
 
33
33
  /** Best-effort command runner (git/gh introspection). Never throws. */
34
34
  function run(cmd, args, cwd = DIR) {
@@ -465,11 +465,19 @@ createServer(async (req, res) => {
465
465
  const url = new URL(req.url ?? '/', 'http://localhost');
466
466
 
467
467
  if (req.method === 'GET' && url.pathname === '/health') {
468
+ // Committed project config — read fresh each poll so edits apply live.
469
+ let projectConfig = null;
470
+ try {
471
+ projectConfig = JSON.parse(readFileSync(join(DIR, '.lineargrab.json'), 'utf8'));
472
+ } catch {
473
+ /* missing or invalid — fine */
474
+ }
468
475
  return json(res, 200, {
469
476
  ok: true,
470
477
  version: VERSION,
471
478
  cwd: DIR,
472
479
  active: [...tasks.values()].filter((t) => t.status === 'running').length,
480
+ projectConfig,
473
481
  });
474
482
  }
475
483
  if (req.method === 'GET' && url.pathname === '/tasks') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-grab-bridge",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Local bridge for Linear Grab — delegate issues from the browser panel to headless Claude Code sessions running in your repo, with live status and an upload relay.",
5
5
  "type": "module",
6
6
  "bin": {