ai-agentmanager 1.46.0 → 1.48.0
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 +19 -0
- package/README.md +79 -0
- package/package.json +1 -1
- package/public/app.js +51 -4
- package/public/index.html +9 -0
- package/public/keys.js +4 -2
- package/public/plan.js +323 -0
- package/public/style.css +87 -2
- package/public/system.js +151 -0
- package/public/today.js +102 -2
- package/src/calendar.js +385 -0
- package/src/cli.js +113 -0
- package/src/config.js +4 -0
- package/src/debt.js +276 -0
- package/src/decisions.js +188 -0
- package/src/milestones.js +282 -0
- package/src/notify.js +1 -0
- package/src/server.js +107 -3
- package/src/system.js +239 -0
- package/src/today.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.48.0 (2026-11-13)
|
|
4
|
+
|
|
5
|
+
- **OS.** **OS** in the top bar (or `u`, `#os`, `agentmgr os`) shows the computer the agents run on and how loaded it is right now: the processor in use and the load average against the number of cores, memory and swap, and the free space on your disks, with a line of the last ten minutes for processor and memory. A tag sums it up: light load, busy or heavy load.
|
|
6
|
+
- **What takes it.** Each open agent session with the processor and memory it takes, counting everything it started (click a name to open the agent), and the busiest processes on the whole computer. Also the basics: name, system, kernel, processor and cores, memory, uptime, addresses and the app's version. It reads again every 3 seconds while open; nothing leaves the computer.
|
|
7
|
+
- **Running, as a filter.** **N running** above the agent list is clickable: it lists only the agents whose session is open; click again for all.
|
|
8
|
+
|
|
9
|
+
## 1.47.1 (2026-11-13)
|
|
10
|
+
|
|
11
|
+
- **Lists scroll on a small screen.** In AI News, Plan and Bugs the list ran past the bottom of the window on a phone (or any screen shorter than the list) and was cut off; it now scrolls inside the window.
|
|
12
|
+
|
|
13
|
+
## 1.47.0 (2026-11-13)
|
|
14
|
+
|
|
15
|
+
- **Plan.** **Plan** in the top bar (or `c`, `#plan`) has three tabs: Dates, Decisions and Debt. Its badge counts dates that are late or at risk.
|
|
16
|
+
- **Dates.** Give a project its code complete, RC and GA dates. Each has a checklist: the app counts agents still working, unfinished backlog, open or failing pull requests and critical or high bugs, and you tick the rest (scope agreed, release notes, docs). A date is on track, at risk (a week or less away with counted work open), late or reached. **Show** opens what is behind a count; **Have an agent do it** puts an item on the project's backlog. Reminders come 14, 7, 3 and 1 days ahead, on the day and once when a date passes, with what is still open; dates show in Today from two weeks out. `agentmgr dates [project] --cc --rc --ga`.
|
|
17
|
+
- **Decisions.** One log of what was decided and why: plans you approved or sent back with your notes, your answers to agents' questions, and the decisions in each agent's design doc. Entries stay after the agent is deleted. Add your own, filter by project or words, copy as Markdown. `agentmgr decisions [project] --md`.
|
|
18
|
+
- **Debt.** Files ranked by how often they changed in 90 days, how many of those changes were fixes and how tangled they are, from git history, scanned weekly. **Hand to an agent** queues a refactor task; **Not debt** sets a file aside. `agentmgr debt [project] --scan`. Turn it off with `"debt": { "enabled": false }`.
|
|
19
|
+
- **Your day.** Paste your calendar's private iCal address (Google or Outlook) in Today and it opens with your meetings, the free time between them with what needs you placed in it, and the agents or issues each meeting names. Read-only; the address stays on this computer and isn't shown again.
|
|
20
|
+
- No model calls are added by any of this.
|
|
21
|
+
|
|
3
22
|
## 1.46.0 (2026-11-13)
|
|
4
23
|
|
|
5
24
|
- **Debug.** **🐞 Debug** in an agent's detail (or the **Debug** tab of the split) puts the agent's session on the left and a debug pane on the right. Say what goes wrong (a failure, E2E instability at max scale, slowness under load) and the agent investigates in its own session: it reads the code and logs, reproduces and measures where it can, and changes no code yet.
|
package/README.md
CHANGED
|
@@ -27,7 +27,10 @@ Run one background [Claude Code](https://claude.com/claude-code) agent per inten
|
|
|
27
27
|
- **Slack alerts.** A message in your channel when an agent needs input, finishes a backlog item, or fails.
|
|
28
28
|
- **Priority.** Mark agents P0–P3. P0 and P1 are highlighted, and lists sort by priority.
|
|
29
29
|
- **Share for review.** One click writes an **Analysis**, **Design**, **Flow** or **Proposal** document from the agent's work, a human time **Estimate** for planning, or the change's **Documentation** with an OpenAPI spec of any API changes. Copy it as Markdown, download it, or print it to PDF with diagrams.
|
|
30
|
+
- **Plan.** A project's commitment dates (code complete, release candidate, GA) with a checklist of what is still open for each, reminders as they come near, and an at-risk or late flag. A **decision log** gathered from plan reviews, your answers and design docs. A **tech debt radar** from git history and the code. What is open can be handed to an agent.
|
|
31
|
+
- **Your day.** Connect your calendar and Today lays the day out around your meetings: the free time between them with what needs you placed in it, and what each meeting is about.
|
|
30
32
|
- **Debug.** Say what to debug (a failure, E2E instability at max scale, slowness under load) in the **Debug** tab beside an agent's session. The agent investigates there and writes a report next to it: animated diagrams of the code path and the data flow with where it breaks, findings with evidence, likely causes and recommended fixes. It changes no code until you press **Apply fixes**.
|
|
33
|
+
- **OS.** The computer the agents run on and how loaded it is right now: processor, load average, memory, swap and disks with the last ten minutes, what each open agent session takes, and the busiest processes.
|
|
31
34
|
- **AI News.** The frontier labs' latest releases in one list, newest first: Claude Platform, Claude Code, the OpenAI API and the Gemini API from their release notes, and the other top labs from a daily web search. Each is summarized in a sentence or two, with its links.
|
|
32
35
|
- **MCP servers and tools.** See every MCP server Claude Code has in a folder (yours, the project's, claude.ai connectors and plugins) with its tools, sign in to the ones that need it, and run any tool directly, through Claude Code, or in an agent's session.
|
|
33
36
|
- **Human vs AI.** It splits the open questions about the work into the top 5 that need your judgment and the ones a model can answer from the evidence. It answers those, then a second model double-checks every answer.
|
|
@@ -184,6 +187,10 @@ agentmgr remote on | off | status | rotate # phone / remote access (see below
|
|
|
184
187
|
agentmgr backlog add "ask" -r <repo> [-p 1] # queue work; also: ls, start, accept, reopen, move, limit, pause
|
|
185
188
|
agentmgr notify slack --webhook <url> # Slack alerts; also: test, status, on, off, event <name> on|off
|
|
186
189
|
agentmgr debug <agent> "what goes wrong" # debug with an agent; no question prints its report; --fix applies the fixes
|
|
190
|
+
agentmgr dates <project> --cc 2026-12-01 --rc 2026-12-10 --ga 2026-12-20 # commitment dates; no dates: where each stands
|
|
191
|
+
agentmgr decisions [project] [--md] # the decision log; --add "<question>" --decision "<what>" adds one
|
|
192
|
+
agentmgr debt <project> --scan # the tech debt radar: files that change often and are hard to read
|
|
193
|
+
agentmgr os # this computer and its load: processor, memory, disks, what each open session takes (--json)
|
|
187
194
|
agentmgr news # the frontier labs' latest releases, summarized (--refresh, --lab, --days)
|
|
188
195
|
agentmgr inbox # prompts, questions, stuck agents and overlaps waiting on you
|
|
189
196
|
agentmgr answer <agent> <question-id> "…" # answer a question from the inbox
|
|
@@ -1149,6 +1156,65 @@ Usage comes from the session transcripts and is refreshed every few seconds whil
|
|
|
1149
1156
|
|
|
1150
1157
|
`agentmgr mcp run <agent|home> <server> <tool> [arguments or request]` does the first two, and `--session` the third. A destructive tool needs a second click. Plugins can refuse runs outside an agent's session with the `mcp.run` policy.
|
|
1151
1158
|
|
|
1159
|
+
## Plan: dates, decisions and tech debt
|
|
1160
|
+
|
|
1161
|
+
**Plan** in the top bar (or `c`, or `#plan`) looks ahead, in three tabs. Its button counts the dates that are late or at risk.
|
|
1162
|
+
|
|
1163
|
+
### Dates
|
|
1164
|
+
|
|
1165
|
+
Give a project its **code complete**, **release candidate** and **GA** dates (**+ Dates for a project**, or `agentmgr dates <project> --cc … --rc … --ga …`; they must be in that order). For each date you get:
|
|
1166
|
+
|
|
1167
|
+
- **How far it is and where it stands.** *On track*, *at risk* (a week or less away with counted work still open), *late*, or *reached* once you mark it.
|
|
1168
|
+
- **A checklist.** What the app can count for itself, and what only you can tick:
|
|
1169
|
+
|
|
1170
|
+
| Date | Counted by the app | Yours to tick |
|
|
1171
|
+
|---|---|---|
|
|
1172
|
+
| Code complete | agents still working, backlog items not finished, things waiting on you (plans, questions, prompts) | scope agreed |
|
|
1173
|
+
| Release candidate | pull requests still open, pull requests with failing checks, critical or high bugs open (bug hunts) | release notes and changelog drafted, RC cut and smoke-tested |
|
|
1174
|
+
| GA | critical or high bugs open, pull requests still open | docs and upgrade notes, release notes final, version tagged and published |
|
|
1175
|
+
|
|
1176
|
+
- **Related actions.** **Show** jumps to the agents, backlog, Land tab or Bugs behind a count. **Have an agent do it** hands one of your items (release notes, docs) to an agent through the project's backlog.
|
|
1177
|
+
- **Reminders.** Planned 14, 7, 3 and 1 days before and on the day, and once when a date passes. Each goes to Slack with what is still open (Alerts → *a project's date*), between 8:00 and 20:00; coming within a nearer one covers the further ones. A date you move gets its reminders again.
|
|
1178
|
+
- **In Today.** A date shows from two weeks out, higher up as it nears, with what is open.
|
|
1179
|
+
|
|
1180
|
+
### Decisions
|
|
1181
|
+
|
|
1182
|
+
What was decided on each project and why, newest first, gathered from what already happens here:
|
|
1183
|
+
|
|
1184
|
+
- **Plan reviews:** a plan you approved or sent back, with your notes.
|
|
1185
|
+
- **Your answers** to agents' questions.
|
|
1186
|
+
- **Design docs:** the bullets under *Decisions and risks*. When a design moves on, what it no longer says is kept and marked *replaced since*.
|
|
1187
|
+
- **Your own**, with **+ Add a decision** (or `agentmgr decisions <project> --add …`).
|
|
1188
|
+
|
|
1189
|
+
Entries stay after their agent is deleted. Filter by project or by words, remove one with ×, and **Copy as Markdown** (or `agentmgr decisions --md`) gives the log as a document. No model is called.
|
|
1190
|
+
|
|
1191
|
+
### Debt
|
|
1192
|
+
|
|
1193
|
+
Where a project's code costs the most to change. **Scan** (or `agentmgr debt <project> --scan`) reads the repository's last 90 days of git history and its source files, and scores each file by:
|
|
1194
|
+
|
|
1195
|
+
- how often it changed, and how many of those changes were fixes;
|
|
1196
|
+
- how tangled it is: its length, branch points, lines nested five deep or more, TODO/FIXME notes;
|
|
1197
|
+
- open bugs the bug hunts found in it.
|
|
1198
|
+
|
|
1199
|
+
Files that are both changed often and hard to read come first, each with its reasons. Test files count for less; vendored, generated and binary files, and commits that touch more than 40 files, are left out. **Hand to an agent** queues a task in the project's backlog (cover it with tests, then refactor in small steps); **Not debt** sets a file aside for good. Projects with a repository on this computer are scanned again every 7 days. It reads git and the files only: no model is called and nothing leaves the machine. In config.json: `"debt": { "enabled": true, "days": 90, "autoDays": 7, "top": 30 }`.
|
|
1200
|
+
|
|
1201
|
+
## Your day: Today around your calendar
|
|
1202
|
+
|
|
1203
|
+
In **Today**, **Connect calendar** takes your calendar's private iCal address:
|
|
1204
|
+
|
|
1205
|
+
- **Google Calendar:** Settings → your calendar → Integrate calendar → *Secret address in iCal format*.
|
|
1206
|
+
- **Outlook:** Settings → Calendar → Shared calendars → Publish a calendar → *ICS*.
|
|
1207
|
+
|
|
1208
|
+
The address gives read access only. It is kept in config.json on this computer, is never shown in the page again, and is fetched only by the daemon (every 10 minutes at most). Nothing is written to your calendar.
|
|
1209
|
+
|
|
1210
|
+
With it, Today opens with **Your day**:
|
|
1211
|
+
|
|
1212
|
+
- **Meetings** from now on, with the one in progress marked, and all-day events on a line of their own.
|
|
1213
|
+
- **Free time** between them until the end of your working day (09:00 to 18:00 unless you change it), with what needs you placed in it, most pressing first. Each kind of item has a usual length (a prompt 3 minutes, a question 5, a pull request review 25), and what doesn't fit is counted as *won't fit today* instead of squeezed in.
|
|
1214
|
+
- **What a meeting is about:** the agents, pull requests and issues its title or description names (a Jira key, `#482`, an agent's or project's name), to open before you walk in.
|
|
1215
|
+
|
|
1216
|
+
Repeating meetings, time zones, moved or cancelled occurrences and events marked *free* are understood. Several calendars can be added; **Disconnect** forgets them. In config.json: `"calendar": { "ics": ["https://…"], "workStart": "09:00", "workEnd": "18:00" }`.
|
|
1217
|
+
|
|
1152
1218
|
## Debug
|
|
1153
1219
|
|
|
1154
1220
|
**🐞 Debug** in an agent's detail (or the **Debug** tab of the split, **◫ Split** in the terminal bar) puts the agent's session on the left and the debug pane on the right. Type what is going wrong, for example *E2E tests fail at max scale after about 20 minutes* or *p99 latency triples under load*, and press **Debug** (or Enter).
|
|
@@ -1173,6 +1239,19 @@ The agent investigates in its own session, with everything it already knows abou
|
|
|
1173
1239
|
|
|
1174
1240
|
`agentmgr debug <agent> "<what goes wrong>"` asks from the terminal, `agentmgr debug <agent>` prints the report, and `--fix ["1 and 3"]` applies fixes.
|
|
1175
1241
|
|
|
1242
|
+
## OS
|
|
1243
|
+
|
|
1244
|
+
**OS** in the top bar (or `u`, `#os`, or `agentmgr os`) shows the computer the agents run on and how loaded it is right now:
|
|
1245
|
+
|
|
1246
|
+
- **Load**: the processor in use and the load average against the number of cores, memory and swap in use, and the free space on the disks under your home folder and the app's data. Processor and memory come with a line of their last ten minutes. A word sums it up: light load, busy, or heavy load.
|
|
1247
|
+
- **This computer**: its name, system and kernel, processor and cores, memory, how long it has been up, its network addresses, and the app's version and uptime.
|
|
1248
|
+
- **Agent sessions**: each open session with the processor and memory it takes, counting everything it started (Claude Code, the tools and tests it runs). Click a name to open the agent.
|
|
1249
|
+
- **Busiest processes**: the top of everything running on the computer.
|
|
1250
|
+
|
|
1251
|
+
It reads again every 3 seconds while open, with `ps` and the system's own counters; nothing leaves the computer.
|
|
1252
|
+
|
|
1253
|
+
Above the agent list, **N running** is a filter: click it to list only the agents whose session is open, and again to list them all.
|
|
1254
|
+
|
|
1176
1255
|
## AI News
|
|
1177
1256
|
|
|
1178
1257
|
**AI News** in the top bar (or `l`, `#news`, or `agentmgr news`) lists what the frontier labs released in the last 30 days, newest first and grouped by day. Each entry has its lab, a summary of a sentence or two, a link to the release and the links from the note. Filter by lab or by words. What arrived since you last looked is marked *new* and counted on the button.
|
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -39,6 +39,8 @@ import { initBugHunt } from '/bughunt.js';
|
|
|
39
39
|
import { drawDiagram } from '/diagram.js';
|
|
40
40
|
import { initValue } from '/value.js';
|
|
41
41
|
import { initNews } from '/news.js';
|
|
42
|
+
import { initPlan } from '/plan.js';
|
|
43
|
+
import { initSystem } from '/system.js';
|
|
42
44
|
import { initMcp } from '/mcp.js';
|
|
43
45
|
import { initCodeMap } from '/codemap.js';
|
|
44
46
|
import { initKeys } from '/keys.js';
|
|
@@ -68,13 +70,18 @@ const standupOnLoad = hashId === 'standup';
|
|
|
68
70
|
const mapOnLoad = hashId === 'map';
|
|
69
71
|
const valueOnLoad = hashId === 'value';
|
|
70
72
|
const newsOnLoad = hashId === 'news';
|
|
73
|
+
// "#plan" or "#plan/<dates|decisions|debt>".
|
|
74
|
+
const planOnLoad = hashId === 'plan';
|
|
75
|
+
const osOnLoad = hashId === 'os';
|
|
71
76
|
const reviewsOnLoad = hashId === 'reviews';
|
|
72
77
|
// "#mcp" or "#mcp/<agent>": the MCP window on its own.
|
|
73
78
|
const mcpOnLoad = hashId === 'mcp';
|
|
74
79
|
let watchShown = false;
|
|
75
|
-
let selectedId = (watchOnLoad || standupOnLoad || mapOnLoad || valueOnLoad || newsOnLoad || reviewsOnLoad || mcpOnLoad ? null : hashId) || null;
|
|
80
|
+
let selectedId = (watchOnLoad || standupOnLoad || mapOnLoad || valueOnLoad || newsOnLoad || planOnLoad || osOnLoad || reviewsOnLoad || mcpOnLoad ? null : hashId) || null;
|
|
76
81
|
let openTermOnLoad = hashView === 'term' || hashView === 'code' || isShell(hashView) || isBrowser(hashView);
|
|
77
82
|
let filterText = '';
|
|
83
|
+
// Only agents whose session is open (the "running" count above the list, clicked).
|
|
84
|
+
let listRunning = false;
|
|
78
85
|
// "Only agents created in the last N days": remembered in this browser.
|
|
79
86
|
const recent = (() => {
|
|
80
87
|
try {
|
|
@@ -279,6 +286,7 @@ const todayUi = initToday({
|
|
|
279
286
|
openBugs: (show = 'open') => bugsUi.open({ show }),
|
|
280
287
|
openChanges: (id) => (showTab('agents'), select(id), reviewUi.open(id)),
|
|
281
288
|
openEval: (id) => (showTab('agents'), select(id), openDoc(id, 'eval')),
|
|
289
|
+
openPlan: (tab) => planUi.open(tab),
|
|
282
290
|
});
|
|
283
291
|
$('#today-btn').onclick = () => todayUi.open();
|
|
284
292
|
// Designs: every agent's design doc, the ones waiting for your review first.
|
|
@@ -304,6 +312,24 @@ $('#value-btn').onclick = () => valueUi.open();
|
|
|
304
312
|
// AI News: the frontier labs' latest releases, summarized.
|
|
305
313
|
const newsUi = initNews({ api, $, esc, ago, toast: (m, ms) => toast(m, ms) });
|
|
306
314
|
$('#news-btn').onclick = () => newsUi.open();
|
|
315
|
+
// Plan: project dates with their checklists and reminders, the decision log, the tech debt radar.
|
|
316
|
+
const planUi = initPlan({
|
|
317
|
+
api,
|
|
318
|
+
$,
|
|
319
|
+
esc,
|
|
320
|
+
ago,
|
|
321
|
+
toast: (m, ms) => toast(m, ms),
|
|
322
|
+
projects: () => projectsState.map((p) => ({ key: p.shortcut, name: p.name })),
|
|
323
|
+
openTab: (what, id) => {
|
|
324
|
+
if (what === 'agent') return showTab('agents'), select(id);
|
|
325
|
+
if (what === 'bugs') return bugsUi.open({ show: 'open' });
|
|
326
|
+
showTab(what);
|
|
327
|
+
},
|
|
328
|
+
});
|
|
329
|
+
$('#plan-btn').onclick = () => planUi.open();
|
|
330
|
+
// OS: this computer and its load right now.
|
|
331
|
+
const osUi = initSystem({ api, $, esc, toast: (m, ms) => toast(m, ms), openAgent: (id) => (showTab('agents'), select(id)) });
|
|
332
|
+
$('#os-btn').onclick = () => osUi.open();
|
|
307
333
|
// MCP: the MCP servers and tools Claude Code has in a folder, and running one.
|
|
308
334
|
const mcpUi = initMcp({ api, $, esc, ago, md: (t) => md(t), toast: (m, ms) => toast(m, ms), agents: () => [...agents.values()] });
|
|
309
335
|
$('#mcp-btn').onclick = () => mcpUi.open(selectedId && agents.get(selectedId)?.workdir ? selectedId : null);
|
|
@@ -358,6 +384,8 @@ function shortcut(act) {
|
|
|
358
384
|
if (act === 'bugs') return bugsUi.open();
|
|
359
385
|
if (act === 'value') return valueUi.open();
|
|
360
386
|
if (act === 'news') return newsUi.open();
|
|
387
|
+
if (act === 'plan') return planUi.open();
|
|
388
|
+
if (act === 'os') return osUi.open();
|
|
361
389
|
if (act === 'today') return todayUi.open();
|
|
362
390
|
if (act.startsWith('tab:')) return showTab(act.slice(4));
|
|
363
391
|
return false;
|
|
@@ -1157,7 +1185,9 @@ function renderList() {
|
|
|
1157
1185
|
const at = filterText.startsWith('@') ? filterText.slice(1) : null;
|
|
1158
1186
|
renderProjectPicker([...agents.values()]);
|
|
1159
1187
|
const list = [...agents.values()].filter((a) =>
|
|
1160
|
-
|
|
1188
|
+
listRunning && !a.runtime.running
|
|
1189
|
+
? false
|
|
1190
|
+
: listProject && (a.projectInfo?.key ?? 'other') !== listProject
|
|
1161
1191
|
? false
|
|
1162
1192
|
: !filterText
|
|
1163
1193
|
? true
|
|
@@ -1181,7 +1211,7 @@ function renderList() {
|
|
|
1181
1211
|
const running = all.filter((a) => a.runtime.running).length;
|
|
1182
1212
|
const open = all.filter((a) => a.runtime.running && a.kind !== 'assistant').length;
|
|
1183
1213
|
$('#counts').innerHTML = agents.size
|
|
1184
|
-
? `<span title="Projects">${projects} project${projects === 1 ? '' : 's'}</span><span>${agents.size} agents</span><
|
|
1214
|
+
? `<span title="Projects">${projects} project${projects === 1 ? '' : 's'}</span><span>${agents.size} agents</span><button class="link count-running${listRunning ? ' active' : ''}" id="running-btn" aria-pressed="${listRunning}" title="${listRunning ? 'Showing only agents whose session is open. Click to show all' : 'Show only the agents whose session is open'}">${running} running${listRunning ? ' ✕' : ''}</button>
|
|
1185
1215
|
${waiting ? `<span class="fail">${waiting} need${waiting === 1 ? 's' : ''} input</span>` : ''}
|
|
1186
1216
|
<span class="spacer"></span><button class="link" id="import-btn" title="Continue Claude sessions you started in a terminal or the Claude desktop app on this machine">Import</button>${open ? `<button class="link" id="close-all-btn" title="Close every open agent session (the assistant's stays); they resume when you open them">Close all</button>` : ''}<button class="link" id="flush-btn" title="Save session IDs, terminal scrollback and state to disk now (also automatic every 30s)">Save now</button>`
|
|
1187
1217
|
: '';
|
|
@@ -1197,7 +1227,7 @@ function renderList() {
|
|
|
1197
1227
|
const total = totals.get(g.key) ?? g.agents.length;
|
|
1198
1228
|
const n = g.agents.length;
|
|
1199
1229
|
// While filtering, show every match; otherwise respect collapsed projects.
|
|
1200
|
-
const open = filterText || !collapsed.has(g.key) || g.agents.some((a) => a.id === selectedId);
|
|
1230
|
+
const open = filterText || listRunning || !collapsed.has(g.key) || g.agents.some((a) => a.id === selectedId);
|
|
1201
1231
|
return `<li class="project ${open ? 'open' : ''}" data-key="${esc(g.key)}" data-move="${esc(dropRef(g))}">
|
|
1202
1232
|
<button class="project-head" data-toggle="${esc(g.key)}" aria-expanded="${open}" title="${esc(g.full || g.name)}">
|
|
1203
1233
|
<span class="caret">${open ? '▾' : '▸'}</span>
|
|
@@ -3699,6 +3729,10 @@ async function closeAll(working = false) {
|
|
|
3699
3729
|
|
|
3700
3730
|
$('#counts').addEventListener('click', (e) => {
|
|
3701
3731
|
if (e.target.id === 'import-btn') return openImport();
|
|
3732
|
+
if (e.target.id === 'running-btn') {
|
|
3733
|
+
listRunning = !listRunning;
|
|
3734
|
+
return renderList();
|
|
3735
|
+
}
|
|
3702
3736
|
if (e.target.id === 'close-all-btn') return closeAll();
|
|
3703
3737
|
if (e.target.id !== 'flush-btn') return;
|
|
3704
3738
|
act(async () => {
|
|
@@ -4420,6 +4454,16 @@ function handleEvent(msg) {
|
|
|
4420
4454
|
history.replaceState(null, '', '#');
|
|
4421
4455
|
valueUi.open();
|
|
4422
4456
|
}
|
|
4457
|
+
if (planOnLoad && !watchShown) {
|
|
4458
|
+
watchShown = true;
|
|
4459
|
+
history.replaceState(null, '', '#');
|
|
4460
|
+
planUi.open(hashView || 'dates');
|
|
4461
|
+
}
|
|
4462
|
+
if (osOnLoad && !watchShown) {
|
|
4463
|
+
watchShown = true;
|
|
4464
|
+
history.replaceState(null, '', '#');
|
|
4465
|
+
osUi.open();
|
|
4466
|
+
}
|
|
4423
4467
|
if (newsOnLoad && !watchShown) {
|
|
4424
4468
|
watchShown = true;
|
|
4425
4469
|
history.replaceState(null, '', '#');
|
|
@@ -4476,6 +4520,9 @@ function handleEvent(msg) {
|
|
|
4476
4520
|
valueUi.changed();
|
|
4477
4521
|
} else if (msg.t === 'news') {
|
|
4478
4522
|
newsUi.changed();
|
|
4523
|
+
} else if (msg.t === 'plan') {
|
|
4524
|
+
planUi.changed();
|
|
4525
|
+
todayUi.changed();
|
|
4479
4526
|
} else if (msg.t === 'standup') {
|
|
4480
4527
|
standupUi.set(msg.latest);
|
|
4481
4528
|
if (msg.latest?.reason === 'scheduled' && msg.latest.items.length) toast('Standup ready: press Standup (or p) to play it', 8000);
|
package/public/index.html
CHANGED
|
@@ -40,10 +40,12 @@
|
|
|
40
40
|
<button id="bugs-btn" title="Bugs: background hunts in a project or folder, and what they found, checked and worst first">Bugs <span id="bugs-count" class="badge"></span></button>
|
|
41
41
|
<button id="reviews-btn" title="Reviews: pull requests you review. Reviewer agents ask the critical questions and find what blocks approval; you post what you pick">Reviews <span id="reviews-count" class="badge ready"></span></button>
|
|
42
42
|
<button id="value-btn" title="Value: what the delivered work is worth, by day, week, month and quarter, against the AI cost and your time; reports for management">Value</button>
|
|
43
|
+
<button id="plan-btn" title="Plan: a project's dates (code complete, RC, GA) with their checklists and reminders, the decision log, and the tech debt radar">Plan <span id="plan-count" class="badge"></span></button>
|
|
43
44
|
<button id="news-btn" title="AI News: the frontier labs' latest releases (Anthropic, OpenAI, Google and the other top labs), each summarized, with links">AI News <span id="news-count" class="badge ready"></span></button>
|
|
44
45
|
<button id="map-btn" title="The codebase map: where each agent is changing and reading code, and who is about to collide">Map</button>
|
|
45
46
|
<button id="watch-btn" title="Running agents' sessions side by side, live: follow them all without clicking from one to the next">Watch</button>
|
|
46
47
|
<button id="mcp-btn" title="MCP: the MCP servers Claude Code has (yours, projects', claude.ai connectors and plugins), their tools, and running one in an agent's session or workspace">MCP</button>
|
|
48
|
+
<button id="os-btn" title="OS: this computer and how loaded it is right now: processor, memory, disks, what each open agent session takes, and the busiest processes">OS</button>
|
|
47
49
|
<button id="machine-btn" title="A terminal on this computer (your home folder), from any device you're signed in on">Terminal</button>
|
|
48
50
|
<button id="ask-btn" title="A general session with no repo or folder, on Claude Code or another engine you have (Codex, Muse Code, …)">Ask Agent</button>
|
|
49
51
|
<div class="menu-wrap top-more" id="top-more" hidden>
|
|
@@ -417,6 +419,12 @@
|
|
|
417
419
|
<dialog id="value-dialog" class="issues-dialog value-dialog" aria-label="Value">
|
|
418
420
|
<div id="value-body"></div>
|
|
419
421
|
</dialog>
|
|
422
|
+
<dialog id="plan-dialog" class="issues-dialog plan-dialog" aria-label="Plan">
|
|
423
|
+
<div id="plan-body"></div>
|
|
424
|
+
</dialog>
|
|
425
|
+
<dialog id="os-dialog" class="issues-dialog os-dialog" aria-label="OS">
|
|
426
|
+
<div id="os-body"></div>
|
|
427
|
+
</dialog>
|
|
420
428
|
<dialog id="news-dialog" class="issues-dialog news-dialog" aria-label="AI News">
|
|
421
429
|
<div id="news-body"></div>
|
|
422
430
|
</dialog>
|
|
@@ -595,6 +603,7 @@
|
|
|
595
603
|
<label class="check"><input type="checkbox" name="ev_budget" /> nears or reaches its budget, or today's spend reaches the daily limit</label>
|
|
596
604
|
<label class="check"><input type="checkbox" name="ev_standup" /> the daily standup is ready (with a link to play it)</label>
|
|
597
605
|
<label class="check"><input type="checkbox" name="ev_value" /> value reports (weekly, monthly, quarterly, as set in Value)</label>
|
|
606
|
+
<label class="check"><input type="checkbox" name="ev_milestone" /> a project's date (code complete, RC, GA) is 14, 7, 3 or 1 days away, today, or late (Plan → Dates)</label>
|
|
598
607
|
<label class="check"><input type="checkbox" name="ev_waiting" /> finished its turn and is idle after <input name="waitingDelaySec" type="number" min="0" class="num" />s</label>
|
|
599
608
|
<label class="check"><input type="checkbox" name="skipWhenWatching" /> not while I have its terminal open</label>
|
|
600
609
|
<label class="check"><input type="checkbox" name="includeIntent" /> include the intent text in the message</label>
|
package/public/keys.js
CHANGED
|
@@ -28,6 +28,8 @@ export const SHORTCUTS = [
|
|
|
28
28
|
[['g'], 'Reviews: pull requests you review', 'reviews'],
|
|
29
29
|
[['v'], 'Value: what the work is worth', 'value'],
|
|
30
30
|
[['l'], 'AI News: the latest frontier releases', 'news'],
|
|
31
|
+
[['c'], 'Plan: project dates, decisions and tech debt', 'plan'],
|
|
32
|
+
[['u'], 'OS: this computer and its load', 'os'],
|
|
31
33
|
[['1'], 'Agents tab', 'tab:agents'],
|
|
32
34
|
[['2'], 'Inbox: what needs you', 'tab:inbox'],
|
|
33
35
|
[['3'], 'Backlog', 'tab:backlog'],
|
|
@@ -71,11 +73,11 @@ export const SHORTCUTS = [
|
|
|
71
73
|
// A single key, as an event names it, to its action.
|
|
72
74
|
export const SINGLE = {
|
|
73
75
|
j: 'next', k: 'prev', Enter: 'terminal', t: 'terminal',
|
|
74
|
-
r: 'changes', s: 'start', X: 'stop', e: 'edit', n: 'new', a: 'ask', '/': 'filter', w: 'watch', p: 'standup', m: 'map', i: 'issues', o: 'actions', h: 'assistant', ',': 'settings', d: 'designs', g: 'reviews', v: 'value', l: 'news', y: 'today', b: 'bugs', '?': 'help',
|
|
76
|
+
r: 'changes', s: 'start', X: 'stop', e: 'edit', n: 'new', a: 'ask', '/': 'filter', w: 'watch', p: 'standup', m: 'map', i: 'issues', o: 'actions', h: 'assistant', ',': 'settings', d: 'designs', g: 'reviews', v: 'value', l: 'news', c: 'plan', u: 'os', y: 'today', b: 'bugs', '?': 'help',
|
|
75
77
|
1: 'tab:agents', 2: 'tab:inbox', 3: 'tab:backlog', 4: 'tab:land', 5: 'tab:built',
|
|
76
78
|
};
|
|
77
79
|
// While Watch is open: only what makes sense there.
|
|
78
|
-
const ON_WATCH = new Set(['today', 'new', 'ask', 'watch', 'standup', 'map', 'issues', 'actions', 'assistant', 'settings', 'designs', 'reviews', 'value', 'news', 'bugs', 'help']);
|
|
80
|
+
const ON_WATCH = new Set(['today', 'new', 'ask', 'watch', 'standup', 'map', 'issues', 'actions', 'assistant', 'settings', 'designs', 'reviews', 'value', 'news', 'plan', 'os', 'bugs', 'help']);
|
|
79
81
|
|
|
80
82
|
/** Typing somewhere: a field, an editor or a terminal (xterm types through a textarea). */
|
|
81
83
|
const typing = (el) => Boolean(el?.closest?.('input, textarea, select, [contenteditable=""], [contenteditable="true"], .xterm, .cm-editor'));
|