linear-grab-bridge 0.24.0 → 0.24.1
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/linear-grab-bridge.mjs +14 -9
- package/package.json +1 -1
package/linear-grab-bridge.mjs
CHANGED
|
@@ -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.24.
|
|
31
|
+
const VERSION = '0.24.1';
|
|
32
32
|
|
|
33
33
|
/** Best-effort command runner (git/gh introspection). Never throws. */
|
|
34
34
|
function run(cmd, args, cwd = DIR) {
|
|
@@ -742,14 +742,19 @@ createServer(async (req, res) => {
|
|
|
742
742
|
: ''),
|
|
743
743
|
),
|
|
744
744
|
'',
|
|
745
|
-
'## Recent interactions',
|
|
746
|
-
...interactions
|
|
747
|
-
.
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
745
|
+
'## Recent interactions (what the user did → what re-rendered because of it)',
|
|
746
|
+
...interactions.slice(-10).flatMap((i) => [
|
|
747
|
+
`- ${i.type ?? '?'} on **${i.target ?? '?'}**${i.page ? ` (${i.page})` : ''} — ${Math.round(i.duration ?? 0)}ms` +
|
|
748
|
+
(i.slow ? ' ⚠ SLOW (>150ms INP)' : ''),
|
|
749
|
+
...(i.components ?? [])
|
|
750
|
+
.slice(0, 4)
|
|
751
|
+
.map(
|
|
752
|
+
(c) =>
|
|
753
|
+
` ↳ ${c.name} ×${c.renders} · ${(c.selfTime ?? 0).toFixed(1)}ms` +
|
|
754
|
+
(c.changes?.length ? ` · ${c.changes.join(', ')}` : '') +
|
|
755
|
+
(c.source ? ` · \`${c.source}\`` : ''),
|
|
756
|
+
),
|
|
757
|
+
]),
|
|
753
758
|
].join('\n');
|
|
754
759
|
return json(res, 200, {
|
|
755
760
|
report: md,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linear-grab-bridge",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
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": {
|