@femtomc/mu-agent 26.2.107 → 26.2.108

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
@@ -36,7 +36,6 @@ They are organized as category meta-skills plus subskills:
36
36
  - `execution`
37
37
  - `control-flow`
38
38
  - `model-routing`
39
- - `hud`
40
39
  - `automation`
41
40
  - `heartbeats`
42
41
  - `crons`
@@ -76,9 +75,7 @@ Current stack:
76
75
 
77
76
  - `brandingExtension` — mu compact header/footer branding + default theme
78
77
  - `eventLogExtension` — event tail + watch widget
79
- - `hudExtension` — HUD surface for skill-directed planning/subagents communication (`/mu hud ...`, `mu_hud`) with tone/style-aware TUI widget rows, including `metadata.style_preset` support for `planning|subagents` (plain deterministic snapshots remain available via `/mu hud snapshot`)
80
-
81
- Extensions emit contract-valid `hud_docs` (`HudDoc`) so control-plane/server renderers can provide a consistent cross-surface HUD experience.
78
+ - `uiExtension` — programmable `UiDoc` surface (`/mu ui ...`, `mu_ui`) with terminal auto-prompt/awaiting behavior and deterministic action fallbacks
82
79
 
83
80
  Default operator UI theme is `mu-gruvbox-dark`.
84
81
 
@@ -87,9 +84,9 @@ Default operator UI theme is `mu-gruvbox-dark`.
87
84
  - `/mu events [n]` / `/mu events tail [n]` — event log tail
88
85
  - `/mu events watch on|off` — toggle event watch widget
89
86
  - `/mu brand on|off|toggle` — enable/disable UI branding
90
- - `/mu hud ...` — HUD command for enabling/inspecting/clearing HUD docs; does not inject HUD metadata into branding footer
91
- - `/mu help` — dispatcher catalog of registered `/mu` subcommands
92
87
  - `/mu ui ...` — inspect interactive `UiDoc`s (`status`/`snapshot`)
88
+ - `/mu help` — dispatcher catalog of registered `/mu` subcommands
89
+ - `ctrl+shift+u` — reopen local programmable-UI interaction flow (in-TUI doc/action picker, auto-fill payload-backed template values, prompt unresolved values, submit composed prompt)
93
90
 
94
91
  ## Programmable UI documents
95
92
 
@@ -102,7 +99,8 @@ Actions without `metadata.command_text` are treated as non-interactive and rende
102
99
  Current runtime behavior is channel-specific:
103
100
 
104
101
  - Slack renders rich blocks + interactive action buttons.
105
- - Discord/Telegram/Neovim render text-first docs plus tokenized action callbacks.
102
+ - Discord/Telegram/Neovim render text-first docs; interactive actions are tokenized, while status-profile actions deterministically degrade to command-text fallback.
103
+ - Terminal operator UI (`mu serve`) renders docs in-widget, auto-prompts when agent publishes new runnable actions, shows `awaiting` UI status/widget state until resolved, and supports manual reopen via `ctrl+shift+u` (in-TUI picker overlay + prompt composition).
106
104
  - When interactive controls cannot be rendered, adapters append deterministic text fallback.
107
105
 
108
106
  See the [Programmable UI substrate guide](../../docs/mu-ui.md) for the full support matrix and workflow.
Binary file
@@ -1,6 +1,5 @@
1
1
  export { brandingExtension } from "./branding.js";
2
2
  export { eventLogExtension } from "./event-log.js";
3
- export { hudExtension } from "./hud.js";
4
3
  export { muOperatorExtension } from "./mu-operator.js";
5
4
  export { muServeExtension } from "./mu-serve.js";
6
5
  export { uiExtension } from "./ui.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQtC;;GAEG;AACH,eAAO,MAAM,mBAAmB,UAA4C,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,sBAAsB,UAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQtC;;GAEG;AACH,eAAO,MAAM,mBAAmB,UAA4C,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,sBAAsB,UAA+C,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export { brandingExtension } from "./branding.js";
2
2
  export { eventLogExtension } from "./event-log.js";
3
- export { hudExtension } from "./hud.js";
4
3
  export { muOperatorExtension } from "./mu-operator.js";
5
4
  export { muServeExtension } from "./mu-serve.js";
6
5
  export { uiExtension } from "./ui.js";
@@ -1 +1 @@
1
- {"version":3,"file":"mu-operator.d.ts","sourceRoot":"","sources":["../../src/extensions/mu-operator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAMlE,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,YAAY,QAKnD;AAED,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"mu-operator.d.ts","sourceRoot":"","sources":["../../src/extensions/mu-operator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKlE,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,YAAY,QAInD;AAED,eAAe,mBAAmB,CAAC"}
@@ -6,10 +6,8 @@
6
6
  */
7
7
  import { brandingExtension } from "./branding.js";
8
8
  import { eventLogExtension } from "./event-log.js";
9
- import { hudExtension } from "./hud.js";
10
9
  import { uiExtension } from "./ui.js";
11
10
  export function muOperatorExtension(pi) {
12
- hudExtension(pi);
13
11
  uiExtension(pi);
14
12
  brandingExtension(pi);
15
13
  eventLogExtension(pi);
@@ -1 +1 @@
1
- {"version":3,"file":"mu-serve.d.ts","sourceRoot":"","sources":["../../src/extensions/mu-serve.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAMlE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,YAAY,QAKhD;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"mu-serve.d.ts","sourceRoot":"","sources":["../../src/extensions/mu-serve.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAKlE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,YAAY,QAIhD;AAED,eAAe,gBAAgB,CAAC"}
@@ -6,10 +6,8 @@
6
6
  */
7
7
  import { brandingExtension } from "./branding.js";
8
8
  import { eventLogExtension } from "./event-log.js";
9
- import { hudExtension } from "./hud.js";
10
9
  import { uiExtension } from "./ui.js";
11
10
  export function muServeExtension(pi) {
12
- hudExtension(pi);
13
11
  uiExtension(pi);
14
12
  brandingExtension(pi);
15
13
  eventLogExtension(pi);
@@ -1 +1 @@
1
- {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/extensions/ui.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AA4TpF,wBAAgB,WAAW,CAAC,EAAE,EAAE,YAAY,QAiF3C;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/extensions/ui.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AA8+BpF,wBAAgB,WAAW,CAAC,EAAE,EAAE,YAAY,QA2N3C;AAED,eAAe,WAAW,CAAC"}