Move Qt/Tauri/full Web SPA under archive/, ship hermit as CLI/TUI plus libcstcore and cst-webui/1 HTTP+SSE (turn lifecycle hooks, capabilities). Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
797 B
QML
30 lines
797 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
// A one-line note from the engine (status text, a refusal, a hint).
|
|
RowLayout {
|
|
id: note
|
|
property string text: ""
|
|
property string level: "info" // info | warn | error
|
|
spacing: Theme.gap
|
|
|
|
Rectangle {
|
|
Layout.alignment: Qt.AlignTop
|
|
Layout.topMargin: 6
|
|
width: 5
|
|
height: 5
|
|
radius: 3
|
|
color: note.level === "error" ? Theme.err
|
|
: note.level === "warn" ? Theme.warn : Theme.textFaint
|
|
}
|
|
Text {
|
|
Layout.fillWidth: true
|
|
text: note.text
|
|
color: note.level === "error" ? Theme.err
|
|
: note.level === "warn" ? Theme.warn : Theme.textDim
|
|
font.pixelSize: Theme.smallSize
|
|
wrapMode: Text.Wrap
|
|
textFormat: Text.PlainText
|
|
}
|
|
}
|