@femtomc/mu-agent 26.2.94 → 26.2.95

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/README.md CHANGED
@@ -46,7 +46,7 @@ Current stack:
46
46
  - `brandingExtension` — mu compact header/footer branding + default theme
47
47
  - `eventLogExtension` — event tail + watch widget
48
48
  - `planningUiExtension` — planning mode: compact HUD for next-step/approval flow in widget/status surfaces while keeping the branding footer unchanged (`/mu plan ...`)
49
- - `subagentsUiExtension` — subagents mode: compact HUD with activity sentences from issue/forum events plus footer-ready queue/health metadata (`/mu subagents ...`)
49
+ - `subagentsUiExtension` — subagents mode: compact HUD with activity sentences from issue/forum events, with state kept in widget/status surfaces while branding footer stays unchanged (`/mu subagents ...`)
50
50
 
51
51
  Default operator UI theme is `mu-gruvbox-dark`.
52
52
 
@@ -56,7 +56,7 @@ Default operator UI theme is `mu-gruvbox-dark`.
56
56
  - `/mu events watch on|off` — toggle event watch widget
57
57
  - `/mu brand on|off|toggle` — enable/disable UI branding
58
58
  - `/mu plan ...` — planning HUD (phases, checklist editing, communication state, snapshots); does not inject planning metadata into branding footer
59
- - `/mu subagents ...` — tmux + issue queue monitor/spawner (profiles, spawn pause, stale/refresh controls, snapshots)
59
+ - `/mu subagents ...` — tmux + issue queue monitor/spawner (profiles, spawn pause, stale/refresh controls, snapshots); does not inject subagents metadata into branding footer
60
60
  - `/mu help` — dispatcher catalog of registered `/mu` subcommands
61
61
 
62
62
  ## Tooling model (CLI-first)
@@ -1 +1 @@
1
- {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../../src/extensions/branding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AAyEpF,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,YAAY,QA6OjD;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../../src/extensions/branding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AAwEpF,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,YAAY,QAoOjD;AAED,eAAe,iBAAiB,CAAC"}
@@ -8,7 +8,6 @@
8
8
  */
9
9
  import { basename } from "node:path";
10
10
  import { MU_DEFAULT_THEME_NAME, MU_VERSION } from "../ui_defaults.js";
11
- import { getActiveHudMode } from "./hud-mode.js";
12
11
  import { registerMuSubcommand } from "./mu-command-dispatcher.js";
13
12
  import { fetchMuStatus, muServerUrl } from "./shared.js";
14
13
  const EMPTY_SNAPSHOT = {
@@ -128,15 +127,6 @@ export function brandingExtension(pi) {
128
127
  const barColor = pct >= 80 ? "warning" : pct >= 60 ? "muted" : "dim";
129
128
  parts.push(theme.fg("muted", "·"), theme.fg(barColor, `ctx ${pct}%`), theme.fg(barColor, contextBar(pct, 10)));
130
129
  }
131
- const activeHudMode = getActiveHudMode();
132
- if (activeHudMode === "subagents") {
133
- const extensionStatuses = footerData.getExtensionStatuses();
134
- const modeMeta = extensionStatuses.get("mu-subagents-meta") ?? "";
135
- parts.push(theme.fg("muted", "·"), theme.fg("accent", "hud:subagents"));
136
- if (modeMeta.length > 0) {
137
- parts.push(theme.fg("muted", "·"), theme.fg("dim", truncateToWidth(modeMeta, 42)));
138
- }
139
- }
140
130
  if (snapshot.openCount > 0 || snapshot.readyCount > 0) {
141
131
  parts.push(theme.fg("muted", "·"), theme.fg("dim", `open ${snapshot.openCount} ready ${snapshot.readyCount}`));
142
132
  }
@@ -1 +1 @@
1
- {"version":3,"file":"subagents-ui.d.ts","sourceRoot":"","sources":["../../src/extensions/subagents-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AAi6BpF,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,YAAY,QAkoBpD;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"subagents-ui.d.ts","sourceRoot":"","sources":["../../src/extensions/subagents-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AAu5BpF,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,YAAY,QAkoBpD;AAED,eAAe,oBAAoB,CAAC"}
@@ -597,17 +597,7 @@ function renderSubagentsUi(ctx, state) {
597
597
  statusParts.push(ctx.ui.theme.fg("muted", truncateOneLine(issueScope, 18)));
598
598
  }
599
599
  ctx.ui.setStatus("mu-subagents", statusParts.join(` ${ctx.ui.theme.fg("muted", "·")} `));
600
- const footerMetaParts = [`q:${state.readyIssues.length}/${state.activeIssues.length}`, `tmux:${state.sessions.length}`];
601
- if (staleCount > 0) {
602
- footerMetaParts.push(`drift:${staleCount}`);
603
- }
604
- if (refreshStale) {
605
- footerMetaParts.push("refresh:stale");
606
- }
607
- if (state.issueError || state.sessionError || state.activityError) {
608
- footerMetaParts.push("err");
609
- }
610
- ctx.ui.setStatus("mu-subagents-meta", footerMetaParts.join(" "));
600
+ ctx.ui.setStatus("mu-subagents-meta", undefined);
611
601
  const titleParts = [
612
602
  ctx.ui.theme.fg("accent", ctx.ui.theme.bold("Subagents")),
613
603
  ctx.ui.theme.fg("muted", "·"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@femtomc/mu-agent",
3
- "version": "26.2.94",
3
+ "version": "26.2.95",
4
4
  "description": "Shared operator runtime for mu assistant sessions and serve extensions.",
5
5
  "keywords": [
6
6
  "mu",
@@ -24,7 +24,7 @@
24
24
  "themes/**"
25
25
  ],
26
26
  "dependencies": {
27
- "@femtomc/mu-core": "26.2.94",
27
+ "@femtomc/mu-core": "26.2.95",
28
28
  "@mariozechner/pi-agent-core": "^0.53.0",
29
29
  "@mariozechner/pi-ai": "^0.53.0",
30
30
  "@mariozechner/pi-coding-agent": "^0.53.0",