ai-agentmanager 1.25.1 → 1.25.2
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/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/public/designs.js +4 -0
- package/public/expand.js +1 -1
- package/public/reviews.js +3 -0
- package/public/style.css +4 -4
- package/public/value.js +4 -0
- package/src/manager.js +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.25.2 (2026-11-07)
|
|
4
|
+
|
|
5
|
+
- **Designs, Reviews and Value: bigger too.** Drag the corner to any size, or fill the window with ⤢ (or `f`), as in the Jira and Actions lists.
|
|
6
|
+
- **Fixed: Close all could leave an agent open without saying so.** An agent busy when you clicked, which finished while the others closed, was neither closed nor listed as left working; it's now listed as left open.
|
|
7
|
+
- For contributors: `npm test` runs the end-to-end tests in parallel slices, each with its own daemon (`E2E_PARTS=1` for one), about three times faster; several timing-dependent tests no longer fail now and then.
|
|
8
|
+
|
|
3
9
|
## 1.25.1 (2026-11-06)
|
|
4
10
|
|
|
5
11
|
- **Jira and Actions lists: bigger.** Drag the corner to any size, or fill the window with ⤢ (or `f`); it's remembered. Filled, an issue's summary and synopsis show in full.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-agentmanager",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.2",
|
|
4
4
|
"description": "Run background coding agents (Claude Code, Codex) per intent, and keep track of them from a web UI, your phone or the CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
43
|
"start": "node bin/agentmgr.js serve",
|
|
44
|
-
"test": "node
|
|
44
|
+
"test": "node test/run.js",
|
|
45
45
|
"postinstall": "node scripts/fix-pty.js"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
package/public/designs.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Designs: every agent's design doc in one list, the ones waiting for your review first: its name
|
|
2
2
|
// and summary, where it's published, the specs it builds on, and the agent and its issue.
|
|
3
3
|
|
|
4
|
+
import { expandButton, expandable } from './expand.js';
|
|
5
|
+
|
|
4
6
|
const SAVED = 'agentmgr.designsFilter';
|
|
5
7
|
const FILTERS = [
|
|
6
8
|
['you', 'Waiting for you'],
|
|
@@ -100,6 +102,7 @@ export function initDesigns({ api, $, esc, ago, openAgent, openDoc, toast }) {
|
|
|
100
102
|
<span class="spacer"></span>
|
|
101
103
|
<button class="small" data-designs="copy" title="Copy this list as Markdown, to paste into Slack, Jira or a doc" ${shown.length ? '' : 'disabled'}>Copy</button>
|
|
102
104
|
<button class="small" data-designs="refresh" title="Look again now">↻</button>
|
|
105
|
+
${expandButton(dialog)}
|
|
103
106
|
<button class="small" data-designs="close" title="Close (Esc)">Close</button>
|
|
104
107
|
</div>
|
|
105
108
|
${shown.length ? `<div class="designs-list">${shown.map(card).join('')}</div>` : `<p class="hint issues-empty">${esc(empty)}</p>`}`;
|
|
@@ -168,5 +171,6 @@ export function initDesigns({ api, $, esc, ago, openAgent, openDoc, toast }) {
|
|
|
168
171
|
}
|
|
169
172
|
|
|
170
173
|
load({ quiet: true });
|
|
174
|
+
expandable(dialog, render);
|
|
171
175
|
return { open, changed, isOpen: () => dialog.open };
|
|
172
176
|
}
|
package/public/expand.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Making a list dialog (Jira, Actions) bigger: a button in its header, or f, fills the window,
|
|
1
|
+
// Making a list dialog (Jira, Actions, Designs, Reviews, Value) bigger: a button in its header, or f, fills the window,
|
|
2
2
|
// remembered per list. The dialog's corner can also be dragged to any size.
|
|
3
3
|
|
|
4
4
|
const saved = (id) => `agentmgr.expanded.${id}`;
|
package/public/reviews.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// under your name (or copy it). PRs where your review is requested and no reviewer has started
|
|
4
4
|
// come first, with a box to tick.
|
|
5
5
|
|
|
6
|
+
import { expandButton, expandable } from './expand.js';
|
|
6
7
|
import { listenHtml, speakable } from './speak.js';
|
|
7
8
|
|
|
8
9
|
const VERDICT = { approve: ['Approve', 'ok'], approve_with_nits: ['Approve with nits', 'ok'], blocked: ['Blocked', 'bad'] };
|
|
@@ -165,6 +166,7 @@ export function initReviews({ api, $, esc, ago, openAgent, toast }) {
|
|
|
165
166
|
</form>
|
|
166
167
|
<span class="spacer"></span>
|
|
167
168
|
<button class="small" data-rv="refresh" title="Look again now, including GitHub">↻</button>
|
|
169
|
+
${expandButton(dialog)}
|
|
168
170
|
<button class="small" data-rv="close" title="Close (Esc)">Close</button>
|
|
169
171
|
</div>
|
|
170
172
|
${requested.length ? `<div class="issues-pickbar"><span>${requested.length} pull request${requested.length === 1 ? '' : 's'} where your review is requested.</span>
|
|
@@ -314,5 +316,6 @@ export function initReviews({ api, $, esc, ago, openAgent, toast }) {
|
|
|
314
316
|
}
|
|
315
317
|
|
|
316
318
|
load({ quiet: true });
|
|
319
|
+
expandable(dialog, render);
|
|
317
320
|
return { open, changed, isOpen: () => dialog.open, speech: (id) => reviewerSpeech(rowOf(id)), show: (id) => ((openId = id), dialog.open ? render() : open()) };
|
|
318
321
|
}
|
package/public/style.css
CHANGED
|
@@ -1131,10 +1131,10 @@ body.mapping .layout, body.mapping .watch-view { display: none; }
|
|
|
1131
1131
|
.issues-dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 16px; }
|
|
1132
1132
|
/* Only while open: a display on the dialog itself would keep a closed one on screen. */
|
|
1133
1133
|
.issues-dialog[open] { display: flex; flex-direction: column; }
|
|
1134
|
-
#issues-body, #actions-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
|
|
1135
|
-
/*
|
|
1136
|
-
|
|
1137
|
-
|
|
1134
|
+
#issues-body, #actions-body, #designs-body, #reviews-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
|
|
1135
|
+
/* The lists: drag the corner to any size, or fill the window (⤢ or f). */
|
|
1136
|
+
.issues-dialog { resize: both; overflow: hidden; min-width: min(520px, calc(100% - 32px)); min-height: 240px; max-width: calc(100% - 16px); max-height: calc(100% - 16px); }
|
|
1137
|
+
.issues-dialog.expanded { width: calc(100% - 16px); height: calc(100% - 16px); }
|
|
1138
1138
|
.issues-dialog.expanded table.issues .issue-title, .issues-dialog.expanded table.issues .issue-synopsis { max-width: none; }
|
|
1139
1139
|
.issues-dialog.expanded table.issues .issue-synopsis { -webkit-line-clamp: 6; }
|
|
1140
1140
|
.issues-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
|
package/public/value.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// saved, other savings, potential revenue and strategic weight, against the AI cost and your own
|
|
3
3
|
// time. Each item's figures are AI estimates you can correct; reports go out on a schedule.
|
|
4
4
|
|
|
5
|
+
import { expandButton, expandable } from './expand.js';
|
|
6
|
+
|
|
5
7
|
const PERIODS = [
|
|
6
8
|
['day', 'Day'],
|
|
7
9
|
['week', 'Week'],
|
|
@@ -159,6 +161,7 @@ export function initValue({ api, $, esc, toast, openAgent }) {
|
|
|
159
161
|
<button class="small" data-value="copy" title="Copy this period's report as Markdown, for an email, doc or review">Copy report</button>
|
|
160
162
|
<button class="small" data-value="send" title="Send this period's report now, to Slack and Google Drive as set below">Send</button>
|
|
161
163
|
<button class="small" data-value="csv" title="Every item with its figures, for a spreadsheet">CSV</button>
|
|
164
|
+
${expandButton(dialog)}
|
|
162
165
|
<button class="small" data-value="close" title="Close (Esc)">Close</button>
|
|
163
166
|
</div>
|
|
164
167
|
<p class="value-period"><b>${esc(p.label)}</b>${p.current ? ' <span class="hint">so far</span>' : ''} · ${t.items} item${t.items === 1 ? '' : 's'} delivered${data.pending ? ` · <span class="hint">${data.pending} waiting for an estimate</span>` : ''}</p>
|
|
@@ -295,5 +298,6 @@ export function initValue({ api, $, esc, toast, openAgent }) {
|
|
|
295
298
|
again = setTimeout(load, 800);
|
|
296
299
|
}
|
|
297
300
|
|
|
301
|
+
expandable(dialog, render);
|
|
298
302
|
return { open, changed, isOpen: () => dialog.open };
|
|
299
303
|
}
|
package/src/manager.js
CHANGED
|
@@ -1473,14 +1473,15 @@ export class AgentManager extends EventEmitter {
|
|
|
1473
1473
|
*/
|
|
1474
1474
|
async closeAll({ working = false } = {}) {
|
|
1475
1475
|
const open = this.store.list().filter((a) => a.kind !== 'assistant' && this.runtimes.get(a.id)?.pty);
|
|
1476
|
-
|
|
1477
|
-
const
|
|
1476
|
+
// Busy as of the click: one that finishes while the others close is still reported as left open.
|
|
1477
|
+
const left = working ? [] : open.filter((a) => this.runtimes.get(a.id)?.busy);
|
|
1478
|
+
const close = open.filter((a) => !left.includes(a));
|
|
1478
1479
|
const results = await Promise.allSettled(close.map((a) => this.stop(a.id)));
|
|
1479
1480
|
const failed = close.filter((a, i) => results[i].status === 'rejected').map((a) => ({ id: a.id, name: a.name }));
|
|
1480
1481
|
return {
|
|
1481
1482
|
closed: close.filter((a, i) => results[i].status === 'fulfilled').map((a) => ({ id: a.id, name: a.name })),
|
|
1482
1483
|
failed,
|
|
1483
|
-
working:
|
|
1484
|
+
working: left.map((a) => ({ id: a.id, name: a.name })),
|
|
1484
1485
|
};
|
|
1485
1486
|
}
|
|
1486
1487
|
|