patchrelay 0.25.5 → 0.25.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.25.5",
4
- "commit": "ce4e0940795d",
5
- "builtAt": "2026-03-26T20:58:38.297Z"
3
+ "version": "0.25.6",
4
+ "commit": "427f9c51ab49",
5
+ "builtAt": "2026-03-26T21:20:50.822Z"
6
6
  }
@@ -51,15 +51,37 @@ function detailPrefix(detail) {
51
51
  return "$ ";
52
52
  return "";
53
53
  }
54
+ function verboseItemLabel(type) {
55
+ switch (type) {
56
+ case "agentMessage":
57
+ return "message";
58
+ case "commandExecution":
59
+ return "command";
60
+ case "fileChange":
61
+ return "files";
62
+ case "mcpToolCall":
63
+ case "dynamicToolCall":
64
+ return "tool";
65
+ case "userMessage":
66
+ return "you";
67
+ case "plan":
68
+ return "plan";
69
+ case "reasoning":
70
+ return "reasoning";
71
+ default:
72
+ return type;
73
+ }
74
+ }
54
75
  function FeedRow({ entry }) {
55
76
  const label = entry.feed.status ?? entry.feed.feedKind;
56
77
  return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsxs(Box, { children: [_jsxs(Text, { dimColor: true, children: [formatTime(entry.at), " "] }), _jsx(Text, { color: "cyan", bold: true, children: label.padEnd(12) })] }), _jsx(Box, { paddingLeft: 6, children: _jsx(Text, { wrap: "wrap", children: entry.feed.summary }) })] }));
57
78
  }
58
- function RunRow({ entry }) {
79
+ function RunRow({ entry, mode, }) {
59
80
  const run = entry.run;
60
81
  const color = runStatusColor(run.status);
61
82
  const duration = run.endedAt ? formatDuration(run.startedAt, run.endedAt) : undefined;
62
- return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsxs(Box, { children: [_jsxs(Text, { dimColor: true, children: [formatTime(entry.at), " "] }), _jsx(Text, { bold: true, color: "yellow", children: (RUN_LABELS[run.runType] ?? run.runType).padEnd(12) }), _jsxs(Text, { bold: true, color: color, children: [" ", runStatusLabel(run.status)] }), duration ? _jsx(Text, { dimColor: true, children: ` ${duration}` }) : null] }), entry.details.length > 0 && _jsx(Text, { children: " " }), entry.details.map((detail, index) => (_jsx(Box, { paddingLeft: 6, marginBottom: index === entry.details.length - 1 ? 0 : 1, children: _jsxs(Text, { wrap: "wrap", ...(detailColor(detail) ? { color: detailColor(detail) } : {}), bold: detail.tone === "message", children: [detailPrefix(detail), detail.text] }) }, `${entry.id}-detail-${index}`)))] }));
83
+ const showVerboseItems = mode === "verbose" && entry.items.length > 0;
84
+ return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsxs(Box, { children: [_jsxs(Text, { dimColor: true, children: [formatTime(entry.at), " "] }), _jsx(Text, { bold: true, color: "yellow", children: (RUN_LABELS[run.runType] ?? run.runType).padEnd(12) }), _jsxs(Text, { bold: true, color: color, children: [" ", runStatusLabel(run.status)] }), duration ? _jsx(Text, { dimColor: true, children: ` ${duration}` }) : null] }), entry.details.length > 0 && _jsx(Text, { children: " " }), entry.details.map((detail, index) => (_jsx(Box, { paddingLeft: 6, marginBottom: index === entry.details.length - 1 ? 0 : 1, children: _jsxs(Text, { wrap: "wrap", ...(detailColor(detail) ? { color: detailColor(detail) } : {}), bold: detail.tone === "message", children: [detailPrefix(detail), detail.text] }) }, `${entry.id}-detail-${index}`))), showVerboseItems && _jsx(Text, { children: " " }), showVerboseItems && entry.items.map((itemEntry, index) => (_jsxs(Box, { flexDirection: "column", paddingLeft: 6, marginBottom: index === entry.items.length - 1 ? 0 : 1, children: [_jsxs(Box, { marginBottom: 1, children: [_jsxs(Text, { dimColor: true, children: [formatTime(itemEntry.at), " "] }), _jsx(Text, { dimColor: true, children: verboseItemLabel(itemEntry.item.type) })] }), _jsx(Box, { paddingLeft: 2, children: _jsx(ItemLine, { item: itemEntry.item }) })] }, `${entry.id}-item-${index}`)))] }));
63
85
  }
64
86
  function ItemRow({ entry, mode, }) {
65
87
  return (_jsxs(Box, { flexDirection: "column", paddingLeft: 6, marginBottom: mode === "verbose" ? 1 : 0, children: [_jsxs(Box, { marginBottom: 1, children: [_jsxs(Text, { dimColor: true, children: [formatTime(entry.at), " "] }), _jsx(Text, { dimColor: true, children: entry.item.type })] }), _jsx(Box, { paddingLeft: 2, children: _jsx(ItemLine, { item: entry.item }) })] }));
@@ -73,7 +95,7 @@ export function TimelineRow({ entry, mode }) {
73
95
  case "feed":
74
96
  return _jsx(FeedRow, { entry: entry });
75
97
  case "run":
76
- return _jsx(RunRow, { entry: entry });
98
+ return _jsx(RunRow, { entry: entry, mode: mode });
77
99
  case "item":
78
100
  return _jsx(ItemRow, { entry: entry, mode: mode });
79
101
  case "ci-checks":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.25.5",
3
+ "version": "0.25.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {