mu-harness 0.17.0 → 0.17.1
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.
|
@@ -54,12 +54,12 @@ export interface ChatHost {
|
|
|
54
54
|
*/
|
|
55
55
|
banner?: string;
|
|
56
56
|
/**
|
|
57
|
-
* Lean input presentation:
|
|
58
|
-
* model/provider/agent footer inside the input
|
|
59
|
-
* the status bar — leaving a
|
|
57
|
+
* Lean input presentation: keep the surface-background input frame but drop
|
|
58
|
+
* the model/provider/agent footer inside the input and the context readout on
|
|
59
|
+
* the status bar — leaving a framed prompt + editor. The {@link ChatHost.banner}
|
|
60
60
|
* splash is independent and still shown if set. Hosts that want the full
|
|
61
|
-
* information-rich input (
|
|
62
|
-
*
|
|
61
|
+
* information-rich input (model · provider · @agent footer, token/context usage
|
|
62
|
+
* in the status line) leave this unset (the default).
|
|
63
63
|
*/
|
|
64
64
|
minimal?: boolean;
|
|
65
65
|
onExit(code: number): void;
|
package/esm/tui/chat/ChatApp.js
CHANGED
|
@@ -1116,8 +1116,6 @@ export class ChatApp {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
inputPanel() {
|
|
1118
1118
|
const inner = this.approvalView() ?? this.editorInner();
|
|
1119
|
-
if (this.minimal)
|
|
1120
|
-
return box(inner, { padding: 0 });
|
|
1121
1119
|
return box(inner, { background: this.theme().colors.surface, padding: 1 });
|
|
1122
1120
|
}
|
|
1123
1121
|
editorInner() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mu-harness",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "Agent harness: createHarness wires mu-core into a host — XDG paths, model registry, plugins, disk-loaded agents & skills, sub-agents, sessions (JSONL + SQLite catalog), slash commands, permission/approval hooks, an optional scheduler, and a composable TUI chat app",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./script/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@swc/wasm-typescript": "^1.15.0",
|
|
24
24
|
"cli-highlight": "^2.1.11",
|
|
25
25
|
"croner": "^9.0.0",
|
|
26
|
-
"mu-core": "^0.17.
|
|
27
|
-
"mu-tui": "^0.17.
|
|
26
|
+
"mu-core": "^0.17.1",
|
|
27
|
+
"mu-tui": "^0.17.1"
|
|
28
28
|
},
|
|
29
29
|
"_generatedBy": "dnt@dev",
|
|
30
30
|
"types": "./esm/index.d.ts"
|
|
@@ -54,12 +54,12 @@ export interface ChatHost {
|
|
|
54
54
|
*/
|
|
55
55
|
banner?: string;
|
|
56
56
|
/**
|
|
57
|
-
* Lean input presentation:
|
|
58
|
-
* model/provider/agent footer inside the input
|
|
59
|
-
* the status bar — leaving a
|
|
57
|
+
* Lean input presentation: keep the surface-background input frame but drop
|
|
58
|
+
* the model/provider/agent footer inside the input and the context readout on
|
|
59
|
+
* the status bar — leaving a framed prompt + editor. The {@link ChatHost.banner}
|
|
60
60
|
* splash is independent and still shown if set. Hosts that want the full
|
|
61
|
-
* information-rich input (
|
|
62
|
-
*
|
|
61
|
+
* information-rich input (model · provider · @agent footer, token/context usage
|
|
62
|
+
* in the status line) leave this unset (the default).
|
|
63
63
|
*/
|
|
64
64
|
minimal?: boolean;
|
|
65
65
|
onExit(code: number): void;
|
|
@@ -1119,8 +1119,6 @@ class ChatApp {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
inputPanel() {
|
|
1121
1121
|
const inner = this.approvalView() ?? this.editorInner();
|
|
1122
|
-
if (this.minimal)
|
|
1123
|
-
return (0, mu_tui_1.box)(inner, { padding: 0 });
|
|
1124
1122
|
return (0, mu_tui_1.box)(inner, { background: this.theme().colors.surface, padding: 1 });
|
|
1125
1123
|
}
|
|
1126
1124
|
editorInner() {
|