reevesagents 1.3.0 → 1.3.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/AGENTS.md +183 -0
- package/CHANGELOG.md +20 -0
- package/README.md +3 -1
- package/dist/{chunk-5DOCQLT7.js → chunk-2LC6V55H.js} +2 -2
- package/dist/{chunk-4LWTEYRI.js → chunk-YMUISYYB.js} +625 -77
- package/dist/cli.js +73 -9
- package/dist/{router-I4WDR7CD.js → router-TGRU5BFX.js} +89 -57
- package/dist/{server-ZJKAIRL5.js → server-GYB53IBP.js} +9 -4
- package/dist/{tui-launch-VHLX6JOW.js → tui-launch-45ERRX5M.js} +2 -2
- package/dist/web/app.css +51 -14
- package/dist/web/app.js +98 -7
- package/package.json +4 -1
- package/README.ar.md +0 -397
- package/README.de.md +0 -406
- package/README.es.md +0 -418
- package/README.fr.md +0 -340
- package/README.it.md +0 -400
- package/README.pt.md +0 -417
- package/README.ru.md +0 -401
- package/README.tr.md +0 -415
- package/README.zh-Hans.md +0 -340
package/dist/web/app.css
CHANGED
|
@@ -79,11 +79,14 @@ body {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
html[dir="rtl"] .topbar,
|
|
82
|
-
html[dir="rtl"] .layout
|
|
83
|
-
html[dir="rtl"] .dialog {
|
|
82
|
+
html[dir="rtl"] .layout {
|
|
84
83
|
direction: ltr;
|
|
85
84
|
}
|
|
86
85
|
|
|
86
|
+
html[dir="rtl"] .dialog {
|
|
87
|
+
direction: rtl;
|
|
88
|
+
}
|
|
89
|
+
|
|
87
90
|
html[dir="rtl"] .stage-title,
|
|
88
91
|
html[dir="rtl"] .stage-sub,
|
|
89
92
|
html[dir="rtl"] .overlay-card,
|
|
@@ -130,13 +133,16 @@ button { letter-spacing: 0; }
|
|
|
130
133
|
/* topbar */
|
|
131
134
|
.topbar {
|
|
132
135
|
position: relative;
|
|
133
|
-
height: var(--topbar-h);
|
|
136
|
+
min-height: var(--topbar-h);
|
|
137
|
+
height: auto;
|
|
134
138
|
flex: 0 0 auto;
|
|
135
139
|
display: flex;
|
|
140
|
+
flex-wrap: wrap;
|
|
136
141
|
align-items: center;
|
|
142
|
+
align-content: center;
|
|
137
143
|
justify-content: space-between;
|
|
138
144
|
gap: var(--s-4);
|
|
139
|
-
padding:
|
|
145
|
+
padding: var(--s-2) var(--s-4);
|
|
140
146
|
border-bottom: 1px solid var(--border-soft);
|
|
141
147
|
background:
|
|
142
148
|
linear-gradient(90deg, rgba(111, 176, 168, 0.065), transparent 28%, rgba(168, 144, 209, 0.052) 64%, rgba(215, 168, 79, 0.045)),
|
|
@@ -148,7 +154,8 @@ button { letter-spacing: 0; }
|
|
|
148
154
|
}
|
|
149
155
|
|
|
150
156
|
.brand {
|
|
151
|
-
min-width:
|
|
157
|
+
min-width: max-content;
|
|
158
|
+
flex: 0 0 auto;
|
|
152
159
|
display: flex;
|
|
153
160
|
align-items: center;
|
|
154
161
|
gap: var(--s-3);
|
|
@@ -189,12 +196,16 @@ button { letter-spacing: 0; }
|
|
|
189
196
|
font-weight: 750;
|
|
190
197
|
line-height: 1.05;
|
|
191
198
|
letter-spacing: 0;
|
|
199
|
+
white-space: nowrap;
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
.topbar-actions {
|
|
195
|
-
|
|
203
|
+
min-width: 0;
|
|
204
|
+
flex: 1 1 0;
|
|
196
205
|
display: flex;
|
|
206
|
+
flex-wrap: wrap;
|
|
197
207
|
align-items: center;
|
|
208
|
+
justify-content: flex-end;
|
|
198
209
|
gap: var(--s-3);
|
|
199
210
|
}
|
|
200
211
|
|
|
@@ -858,9 +869,9 @@ button { letter-spacing: 0; }
|
|
|
858
869
|
.card {
|
|
859
870
|
--agent-color: var(--accent);
|
|
860
871
|
position: relative;
|
|
861
|
-
display:
|
|
862
|
-
|
|
863
|
-
align-items:
|
|
872
|
+
display: flex;
|
|
873
|
+
flex-direction: column;
|
|
874
|
+
align-items: stretch;
|
|
864
875
|
gap: var(--s-2);
|
|
865
876
|
width: 100%;
|
|
866
877
|
min-height: 66px;
|
|
@@ -922,6 +933,7 @@ button { letter-spacing: 0; }
|
|
|
922
933
|
|
|
923
934
|
.card-main {
|
|
924
935
|
min-width: 0;
|
|
936
|
+
width: 100%;
|
|
925
937
|
display: grid;
|
|
926
938
|
grid-template-columns: 38px minmax(0, 1fr);
|
|
927
939
|
align-items: center;
|
|
@@ -1015,10 +1027,14 @@ button { letter-spacing: 0; }
|
|
|
1015
1027
|
}
|
|
1016
1028
|
|
|
1017
1029
|
.card-tail {
|
|
1030
|
+
min-width: 0;
|
|
1031
|
+
width: 100%;
|
|
1018
1032
|
display: flex;
|
|
1033
|
+
flex-wrap: wrap;
|
|
1019
1034
|
align-items: center;
|
|
1020
|
-
justify-content: flex-
|
|
1035
|
+
justify-content: flex-start;
|
|
1021
1036
|
gap: var(--s-2);
|
|
1037
|
+
padding-left: calc(38px + var(--s-3));
|
|
1022
1038
|
}
|
|
1023
1039
|
|
|
1024
1040
|
.dot {
|
|
@@ -1375,12 +1391,13 @@ button { letter-spacing: 0; }
|
|
|
1375
1391
|
}
|
|
1376
1392
|
|
|
1377
1393
|
.dialog form {
|
|
1394
|
+
--dialog-pad: var(--s-5);
|
|
1378
1395
|
max-height: calc(100dvh - 32px);
|
|
1379
1396
|
overflow-y: auto;
|
|
1380
1397
|
display: flex;
|
|
1381
1398
|
flex-direction: column;
|
|
1382
1399
|
gap: var(--s-3);
|
|
1383
|
-
padding: var(--
|
|
1400
|
+
padding: var(--dialog-pad);
|
|
1384
1401
|
}
|
|
1385
1402
|
|
|
1386
1403
|
.dialog-header {
|
|
@@ -1712,6 +1729,16 @@ button { letter-spacing: 0; }
|
|
|
1712
1729
|
margin-top: var(--s-2);
|
|
1713
1730
|
}
|
|
1714
1731
|
|
|
1732
|
+
.dialog form .dialog-actions {
|
|
1733
|
+
position: sticky;
|
|
1734
|
+
bottom: 0;
|
|
1735
|
+
z-index: 2;
|
|
1736
|
+
margin: var(--s-2) calc(-1 * var(--dialog-pad)) calc(-1 * var(--dialog-pad));
|
|
1737
|
+
padding: var(--s-3) var(--dialog-pad) var(--dialog-pad);
|
|
1738
|
+
border-top: 1px solid var(--border-soft);
|
|
1739
|
+
background: var(--panel);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1715
1742
|
/* agent control (MCP installer) dialog */
|
|
1716
1743
|
.mcp-dialog { width: min(560px, calc(100vw - 32px)); }
|
|
1717
1744
|
|
|
@@ -1744,6 +1771,10 @@ button { letter-spacing: 0; }
|
|
|
1744
1771
|
border-color: color-mix(in srgb, var(--ok) 46%, var(--border));
|
|
1745
1772
|
}
|
|
1746
1773
|
|
|
1774
|
+
.mcp-host-row[data-state="loading"] {
|
|
1775
|
+
border-style: dashed;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1747
1778
|
.mcp-host-body {
|
|
1748
1779
|
display: flex;
|
|
1749
1780
|
flex-direction: column;
|
|
@@ -1773,7 +1804,8 @@ button { letter-spacing: 0; }
|
|
|
1773
1804
|
.mcp-host-row[data-state="attached"] .mcp-host-status { color: var(--ok); }
|
|
1774
1805
|
.mcp-host-row[data-state="detached"] .mcp-host-status { color: var(--warn); }
|
|
1775
1806
|
.mcp-host-row[data-state="absent"] .mcp-host-status,
|
|
1776
|
-
.mcp-host-row[data-state="manual"] .mcp-host-status
|
|
1807
|
+
.mcp-host-row[data-state="manual"] .mcp-host-status,
|
|
1808
|
+
.mcp-host-row[data-state="loading"] .mcp-host-status { color: var(--faint); }
|
|
1777
1809
|
|
|
1778
1810
|
.mcp-host-action {
|
|
1779
1811
|
min-height: 30px;
|
|
@@ -1911,7 +1943,7 @@ button { letter-spacing: 0; }
|
|
|
1911
1943
|
}
|
|
1912
1944
|
|
|
1913
1945
|
.brand {
|
|
1914
|
-
min-width:
|
|
1946
|
+
min-width: max-content;
|
|
1915
1947
|
}
|
|
1916
1948
|
|
|
1917
1949
|
.brand-duck {
|
|
@@ -2011,6 +2043,10 @@ button { letter-spacing: 0; }
|
|
|
2011
2043
|
padding-inline: var(--s-1);
|
|
2012
2044
|
}
|
|
2013
2045
|
|
|
2046
|
+
.card-tail {
|
|
2047
|
+
padding-left: calc(34px + var(--s-2));
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2014
2050
|
.stage-status {
|
|
2015
2051
|
min-width: 64px;
|
|
2016
2052
|
padding-inline: var(--s-2);
|
|
@@ -2034,7 +2070,8 @@ button { letter-spacing: 0; }
|
|
|
2034
2070
|
}
|
|
2035
2071
|
|
|
2036
2072
|
.dialog form {
|
|
2037
|
-
|
|
2073
|
+
--dialog-pad: var(--s-4);
|
|
2074
|
+
padding: var(--dialog-pad);
|
|
2038
2075
|
}
|
|
2039
2076
|
}
|
|
2040
2077
|
|
package/dist/web/app.js
CHANGED
|
@@ -167,6 +167,24 @@
|
|
|
167
167
|
'web.aboutProvidersNone': 'none detected',
|
|
168
168
|
'web.aboutLicense': 'License',
|
|
169
169
|
'web.aboutRepository': 'Repository',
|
|
170
|
+
'web.doctorSubtitle': 'Environment health checks for this machine.',
|
|
171
|
+
'web.refresh': 'Refresh',
|
|
172
|
+
'web.aboutSubtitle': 'Local tmux-first workspace manager for AI CLI agents.',
|
|
173
|
+
'web.configSubtitle': 'Edit global settings.',
|
|
174
|
+
'web.save': 'Save',
|
|
175
|
+
'web.presetsSubtitle': 'Saved agent-team templates.',
|
|
176
|
+
'web.saveCurrentRun': 'Save current run',
|
|
177
|
+
'web.auth': 'Auth',
|
|
178
|
+
'web.authDefaultLogin': 'Default login',
|
|
179
|
+
'web.authApiKey': 'API key',
|
|
180
|
+
'web.authHelp': 'Default uses the signed-in CLI session. API key forces key-based auth.',
|
|
181
|
+
'web.effort': 'Reasoning effort',
|
|
182
|
+
'web.effortLow': 'Low',
|
|
183
|
+
'web.effortMedium': 'Medium',
|
|
184
|
+
'web.effortHigh': 'High',
|
|
185
|
+
'web.effortXhigh': 'Extra high',
|
|
186
|
+
'web.effortMax': 'Max',
|
|
187
|
+
'web.effortHelp': 'Higher effort spends more on reasoning. Provider default is safest.',
|
|
170
188
|
}
|
|
171
189
|
|
|
172
190
|
const el = {
|
|
@@ -264,6 +282,9 @@
|
|
|
264
282
|
let createSubmitting = false
|
|
265
283
|
let mcpHosts = []
|
|
266
284
|
let mcpBusy = false
|
|
285
|
+
let mcpLoading = false
|
|
286
|
+
let mcpLoadFailed = false
|
|
287
|
+
let doctorLoading = false
|
|
267
288
|
|
|
268
289
|
// --- http helpers ---------------------------------------------------------
|
|
269
290
|
|
|
@@ -435,6 +456,34 @@
|
|
|
435
456
|
el.stageTitle.textContent = t('web.noAgentSelected')
|
|
436
457
|
el.stageSub.textContent = t('web.noAgentSub')
|
|
437
458
|
}
|
|
459
|
+
document.querySelector('#auth-mode-field .field-label').textContent = t('web.auth')
|
|
460
|
+
document.querySelector('#f-auth-mode option[value=""]').textContent = t('web.authDefaultLogin')
|
|
461
|
+
document.querySelector('#f-auth-mode option[value="api-key"]').textContent = t('web.authApiKey')
|
|
462
|
+
document.querySelector('#auth-mode-field .field-help').textContent = t('web.authHelp')
|
|
463
|
+
document.querySelector('#effort-field .field-label').textContent = t('web.effort')
|
|
464
|
+
document.querySelector('#f-effort option[value=""]').textContent = t('web.providerDefault')
|
|
465
|
+
document.querySelector('#f-effort option[value="low"]').textContent = t('web.effortLow')
|
|
466
|
+
document.querySelector('#f-effort option[value="medium"]').textContent = t('web.effortMedium')
|
|
467
|
+
document.querySelector('#f-effort option[value="high"]').textContent = t('web.effortHigh')
|
|
468
|
+
document.querySelector('#f-effort option[value="xhigh"]').textContent = t('web.effortXhigh')
|
|
469
|
+
document.querySelector('#f-effort option[value="max"]').textContent = t('web.effortMax')
|
|
470
|
+
document.querySelector('#effort-field .field-help').textContent = t('web.effortHelp')
|
|
471
|
+
document.querySelector('#doctor-dialog .dialog-title').textContent = t('web.doctor')
|
|
472
|
+
document.querySelector('#doctor-dialog .dialog-subtitle').textContent = t('web.doctorSubtitle')
|
|
473
|
+
el.doctorRefresh.textContent = t('web.refresh')
|
|
474
|
+
el.doctorClose.textContent = t('web.mcpClose')
|
|
475
|
+
document.querySelector('#about-dialog .dialog-title').textContent = `${t('web.about')} ReevesAgents`
|
|
476
|
+
document.querySelector('#about-dialog .dialog-subtitle').textContent = t('web.aboutSubtitle')
|
|
477
|
+
el.aboutClose.textContent = t('web.mcpClose')
|
|
478
|
+
document.querySelector('#config-dialog .dialog-title').textContent = t('web.config')
|
|
479
|
+
document.querySelector('#config-dialog .dialog-subtitle').textContent = t('web.configSubtitle')
|
|
480
|
+
el.configSave.textContent = t('web.save')
|
|
481
|
+
el.configClose.textContent = t('web.mcpClose')
|
|
482
|
+
document.querySelector('#presets-dialog .dialog-title').textContent = t('web.presets')
|
|
483
|
+
document.querySelector('#presets-dialog .dialog-subtitle').textContent = t('web.presetsSubtitle')
|
|
484
|
+
document.querySelector('#preset-save-field .field-label').textContent = t('web.saveCurrentRun')
|
|
485
|
+
el.presetSave.textContent = t('web.saveCurrentRun')
|
|
486
|
+
el.presetsClose.textContent = t('web.mcpClose')
|
|
438
487
|
renderSidebar()
|
|
439
488
|
}
|
|
440
489
|
|
|
@@ -1558,6 +1607,9 @@
|
|
|
1558
1607
|
}
|
|
1559
1608
|
|
|
1560
1609
|
async function loadDoctor() {
|
|
1610
|
+
if (doctorLoading) return
|
|
1611
|
+
doctorLoading = true
|
|
1612
|
+
el.doctorRefresh.disabled = true
|
|
1561
1613
|
el.doctorError.hidden = true
|
|
1562
1614
|
el.doctorList.textContent = t('web.runningChecks')
|
|
1563
1615
|
try {
|
|
@@ -1567,6 +1619,9 @@
|
|
|
1567
1619
|
el.doctorList.textContent = ''
|
|
1568
1620
|
el.doctorError.hidden = false
|
|
1569
1621
|
el.doctorError.textContent = err.message
|
|
1622
|
+
} finally {
|
|
1623
|
+
doctorLoading = false
|
|
1624
|
+
el.doctorRefresh.disabled = false
|
|
1570
1625
|
}
|
|
1571
1626
|
}
|
|
1572
1627
|
|
|
@@ -1595,19 +1650,29 @@
|
|
|
1595
1650
|
|
|
1596
1651
|
function openMcpDialog() {
|
|
1597
1652
|
setMcpError(null)
|
|
1598
|
-
|
|
1599
|
-
|
|
1653
|
+
mcpHosts = []
|
|
1654
|
+
mcpLoading = true
|
|
1655
|
+
mcpLoadFailed = false
|
|
1656
|
+
renderMcpHosts()
|
|
1600
1657
|
el.mcpDialog.showModal()
|
|
1601
1658
|
loadMcpHosts()
|
|
1602
1659
|
}
|
|
1603
1660
|
|
|
1604
1661
|
async function loadMcpHosts() {
|
|
1662
|
+
mcpLoading = true
|
|
1663
|
+
mcpLoadFailed = false
|
|
1664
|
+
renderMcpHosts()
|
|
1605
1665
|
try {
|
|
1606
1666
|
const data = await api('GET', '/api/mcp-hosts')
|
|
1607
1667
|
mcpHosts = (data && data.hosts) || []
|
|
1608
|
-
|
|
1668
|
+
setMcpError(null)
|
|
1609
1669
|
} catch (err) {
|
|
1670
|
+
mcpHosts = []
|
|
1671
|
+
mcpLoadFailed = true
|
|
1610
1672
|
setMcpError(t('web.mcpLoadError', { message: err.message }))
|
|
1673
|
+
} finally {
|
|
1674
|
+
mcpLoading = false
|
|
1675
|
+
renderMcpHosts()
|
|
1611
1676
|
}
|
|
1612
1677
|
}
|
|
1613
1678
|
|
|
@@ -1625,6 +1690,31 @@
|
|
|
1625
1690
|
|
|
1626
1691
|
function renderMcpHosts() {
|
|
1627
1692
|
el.mcpHostList.innerHTML = ''
|
|
1693
|
+
if (mcpLoading) {
|
|
1694
|
+
el.mcpEmpty.hidden = true
|
|
1695
|
+
const row = document.createElement('div')
|
|
1696
|
+
row.className = 'mcp-host-row'
|
|
1697
|
+
row.dataset.state = 'loading'
|
|
1698
|
+
const body = document.createElement('div')
|
|
1699
|
+
body.className = 'mcp-host-body'
|
|
1700
|
+
const name = document.createElement('span')
|
|
1701
|
+
name.className = 'mcp-host-name'
|
|
1702
|
+
name.textContent = t('web.loading')
|
|
1703
|
+
body.appendChild(name)
|
|
1704
|
+
row.appendChild(body)
|
|
1705
|
+
const status = document.createElement('span')
|
|
1706
|
+
status.className = 'mcp-host-status'
|
|
1707
|
+
status.textContent = t('web.loading')
|
|
1708
|
+
row.appendChild(status)
|
|
1709
|
+
el.mcpHostList.appendChild(row)
|
|
1710
|
+
el.mcpAttachAll.disabled = true
|
|
1711
|
+
return
|
|
1712
|
+
}
|
|
1713
|
+
if (mcpLoadFailed) {
|
|
1714
|
+
el.mcpEmpty.hidden = true
|
|
1715
|
+
el.mcpAttachAll.disabled = true
|
|
1716
|
+
return
|
|
1717
|
+
}
|
|
1628
1718
|
el.mcpEmpty.hidden = mcpHosts.length > 0
|
|
1629
1719
|
for (const host of mcpHosts) {
|
|
1630
1720
|
const row = document.createElement('div')
|
|
@@ -1666,7 +1756,7 @@
|
|
|
1666
1756
|
}
|
|
1667
1757
|
el.mcpHostList.appendChild(row)
|
|
1668
1758
|
}
|
|
1669
|
-
el.mcpAttachAll.disabled = mcpBusy || !mcpHosts.some(h => h.installed && !h.manual && !h.attached)
|
|
1759
|
+
el.mcpAttachAll.disabled = mcpBusy || mcpLoading || !mcpHosts.some(h => h.installed && !h.manual && !h.attached)
|
|
1670
1760
|
}
|
|
1671
1761
|
|
|
1672
1762
|
function setMcpError(message) {
|
|
@@ -1677,13 +1767,14 @@
|
|
|
1677
1767
|
|
|
1678
1768
|
function applyMcpResult(data) {
|
|
1679
1769
|
if (data && Array.isArray(data.hosts)) {
|
|
1770
|
+
mcpLoadFailed = false
|
|
1680
1771
|
mcpHosts = data.hosts
|
|
1681
1772
|
renderMcpHosts()
|
|
1682
1773
|
}
|
|
1683
1774
|
}
|
|
1684
1775
|
|
|
1685
1776
|
async function attachHost(host) {
|
|
1686
|
-
if (mcpBusy) return
|
|
1777
|
+
if (mcpBusy || mcpLoading) return
|
|
1687
1778
|
mcpBusy = true
|
|
1688
1779
|
setMcpError(null)
|
|
1689
1780
|
renderMcpHosts()
|
|
@@ -1702,7 +1793,7 @@
|
|
|
1702
1793
|
}
|
|
1703
1794
|
|
|
1704
1795
|
async function detachHost(host) {
|
|
1705
|
-
if (mcpBusy) return
|
|
1796
|
+
if (mcpBusy || mcpLoading) return
|
|
1706
1797
|
mcpBusy = true
|
|
1707
1798
|
setMcpError(null)
|
|
1708
1799
|
renderMcpHosts()
|
|
@@ -1721,7 +1812,7 @@
|
|
|
1721
1812
|
}
|
|
1722
1813
|
|
|
1723
1814
|
async function attachAllHosts() {
|
|
1724
|
-
if (mcpBusy) return
|
|
1815
|
+
if (mcpBusy || mcpLoading || mcpLoadFailed) return
|
|
1725
1816
|
mcpBusy = true
|
|
1726
1817
|
setMcpError(null)
|
|
1727
1818
|
renderMcpHosts()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reevesagents",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Local tmux-first workspace manager for AI CLI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.34.1",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
16
|
"!dist/**/*.map",
|
|
17
|
+
"AGENTS.md",
|
|
17
18
|
"CHANGELOG.md",
|
|
18
19
|
"LICENSE"
|
|
19
20
|
],
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"commander": "^14.0.3",
|
|
39
40
|
"ink": "^7.0.2",
|
|
40
41
|
"react": "^19.2.6",
|
|
42
|
+
"string-width": "^8.2.1",
|
|
41
43
|
"strip-ansi": "^7.1.0"
|
|
42
44
|
},
|
|
43
45
|
"optionalDependencies": {
|
|
@@ -58,6 +60,7 @@
|
|
|
58
60
|
"release-it": "^20.2.0",
|
|
59
61
|
"tsup": "^8.5.1",
|
|
60
62
|
"typescript": "^6.0.3",
|
|
63
|
+
"vite": "^8.0.16",
|
|
61
64
|
"vitest": "^4.1.6"
|
|
62
65
|
},
|
|
63
66
|
"engines": {
|