@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 +5 -7
- package/assets/mu-tui-logo.png +0 -0
- package/dist/extensions/index.d.ts +0 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +0 -1
- package/dist/extensions/mu-operator.d.ts.map +1 -1
- package/dist/extensions/mu-operator.js +0 -2
- package/dist/extensions/mu-serve.d.ts.map +1 -1
- package/dist/extensions/mu-serve.js +0 -2
- package/dist/extensions/ui.d.ts.map +1 -1
- package/dist/extensions/ui.js +745 -25
- package/dist/operator.d.ts +7 -337
- package/dist/operator.d.ts.map +1 -1
- package/dist/operator.js +1 -62
- package/package.json +33 -33
- package/prompts/skills/core/SKILL.md +2 -2
- package/prompts/skills/core/memory/SKILL.md +2 -2
- package/prompts/skills/core/mu/SKILL.md +18 -7
- package/prompts/skills/subagents/SKILL.md +92 -8
- package/prompts/skills/subagents/control-flow/SKILL.md +118 -13
- package/prompts/skills/subagents/execution/SKILL.md +144 -31
- package/prompts/skills/subagents/model-routing/SKILL.md +146 -13
- package/prompts/skills/subagents/planning/SKILL.md +239 -90
- package/prompts/skills/writing/SKILL.md +2 -2
- package/dist/extensions/hud.d.ts +0 -4
- package/dist/extensions/hud.d.ts.map +0 -1
- package/dist/extensions/hud.js +0 -483
- package/prompts/skills/subagents/hud/SKILL.md +0 -205
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
|
-
- `
|
|
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
|
|
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.
|
package/assets/mu-tui-logo.png
CHANGED
|
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,
|
|
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"}
|
package/dist/extensions/index.js
CHANGED
|
@@ -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;
|
|
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;
|
|
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":"
|
|
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"}
|