beast-agent 1.2.0 → 1.2.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/package.json +1 -1
- package/src/renderer/renderer.js +7 -1
- package/src/renderer/style.css +12 -2
package/package.json
CHANGED
package/src/renderer/renderer.js
CHANGED
|
@@ -3845,12 +3845,18 @@ function renderAgentRail() {
|
|
|
3845
3845
|
const when = j.startedAt
|
|
3846
3846
|
? new Date(j.startedAt).toLocaleTimeString('tr-TR', { hour: '2-digit', minute: '2-digit' })
|
|
3847
3847
|
: '';
|
|
3848
|
+
/* iptal sebebi LİSTEDE yazmaz (yatay scroll çıkarır) — tooltip + açınca
|
|
3849
|
+
detaydaki .ag-err satırında görünür */
|
|
3850
|
+
const abortTip =
|
|
3851
|
+
j.status === 'aborted' && j.error
|
|
3852
|
+
? ` title="İptal sebebi: ${escapeHtml(String(j.error).slice(0, 200))}"`
|
|
3853
|
+
: '';
|
|
3848
3854
|
row.innerHTML =
|
|
3849
3855
|
`<div class="rj-head">` +
|
|
3850
3856
|
`<span class="ag-dot"></span>` +
|
|
3851
3857
|
`<span class="sess-title">${escapeHtml(j.title)}</span>` +
|
|
3852
3858
|
(j.code ? `<span class="sess-code" title="Oturum kodu">${escapeHtml(j.code)}</span>` : ``) +
|
|
3853
|
-
`<span class="rj-time">${j.status === 'running' ? when + ' · ' + agentTimerHtml(j.startedAt) + ' · ' + _t('ag_working') : (agStText(j.status) === _t('ag_st_done') ? '\u2713' : (agStText(j.status) || j.status)
|
|
3859
|
+
`<span class="rj-time"${abortTip}>${j.status === 'running' ? when + ' · ' + agentTimerHtml(j.startedAt) + ' · ' + _t('ag_working') : (agStText(j.status) === _t('ag_st_done') ? '\u2713' : (agStText(j.status) || j.status))}</span>` +
|
|
3854
3860
|
(j.status === 'running'
|
|
3855
3861
|
? `<button class="rj-cancel" title="${_t('ag_cancel')}">×</button>`
|
|
3856
3862
|
: `<button class="rj-cancel" title="${_t('ag_delete')}"><svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M10 11v6M14 11v6"/></svg></button>`) +
|
package/src/renderer/style.css
CHANGED
|
@@ -1770,7 +1770,7 @@ body.browser-open #settingsDialog { width: min(70vw, calc(100vw - var(--bw, 480p
|
|
|
1770
1770
|
#railClear svg { display: block; }
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
|
-
#railList { flex: 1; overflow-y: auto; padding: 4px 8px; }
|
|
1773
|
+
#railList { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 8px; }
|
|
1774
1774
|
|
|
1775
1775
|
.rail-empty {
|
|
1776
1776
|
color: var(--muted);
|
|
@@ -1788,13 +1788,23 @@ body.browser-open #settingsDialog { width: min(70vw, calc(100vw - var(--bw, 480p
|
|
|
1788
1788
|
border-radius: 7px;
|
|
1789
1789
|
cursor: pointer;
|
|
1790
1790
|
color: var(--muted);
|
|
1791
|
+
min-width: 0;
|
|
1792
|
+
overflow: hidden;
|
|
1791
1793
|
margin-bottom: 2px;
|
|
1792
1794
|
}
|
|
1793
1795
|
.rj:hover { background: var(--panel2); color: var(--text); }
|
|
1794
1796
|
.rj.open { background: var(--panel2); color: var(--text); }
|
|
1795
1797
|
.rj-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
1796
1798
|
.rj .sess-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
|
|
1797
|
-
.rj-time {
|
|
1799
|
+
.rj-time {
|
|
1800
|
+
font-size: 10.5px;
|
|
1801
|
+
color: var(--muted);
|
|
1802
|
+
flex: 0 1 auto;
|
|
1803
|
+
min-width: 0;
|
|
1804
|
+
white-space: nowrap;
|
|
1805
|
+
overflow: hidden;
|
|
1806
|
+
text-overflow: ellipsis;
|
|
1807
|
+
}
|
|
1798
1808
|
.rj.st-done .rj-time { color: #43c463; font-weight: 700; }
|
|
1799
1809
|
.rj-cancel {
|
|
1800
1810
|
visibility: hidden;
|