Commit Graph
6 Commits
Author SHA1 Message Date
necpition205 fda9df9393 Throttle mission transcript updates 2026-06-28 02:02:14 +02:00
Ole André Vadla Ravnåsandtrufae 2e00198952 Add block-level Markdown renderer
Port the mai-ios block parser into LumaCore; render headings,
lists, tables, task lists, blockquotes, code blocks and
footnotes across the SwiftUI and GTK frontends.

Parse inline spans and rewrite LaTeX to Unicode in LumaCore so
both frontends share one parser. Highlight code through
StyledText. Drop the inline-only AttributedString path.

Co-authored-by: trufae <[email protected]>
2026-06-26 16:00:59 +02:00
Ole André Vadla Ravnås 8d6f91fe1e Plumb image attachments through to the LLM
Console widgets get an appendImage / respond.image API on the
agent. read_widget_state surfaces image entries as attachments
scaled to at most max_dimension pixels (default 1568) on the
longest edge. Anthropic nests image blocks inside tool_result;
OpenAI gets a synthetic follow-up user message. The host scales
via CoreImage on macOS and GdkPixbuf on GTK.
2026-05-22 12:15:53 +02:00
Ole André Vadla Ravnås b0fdd927bb ui: Distinguish user turns from tool results
User-role mission turns can now contain either tool results
(the synthesized turn after actions) or text the user
typed into the input bar. Inspect the blocks: if any are
text, show the turn as "You" with a person icon; if it's
all tool_result blocks, keep the existing wrench/Tool
results presentation.
2026-05-09 22:27:12 +02:00
Ole André Vadla Ravnås ebdaf5b376 ui: Render assistant text as markdown
Inline markdown (bold, italic, code spans, links) now goes
through AttributedString so the transcript stops showing
literal asterisks and backticks.
2026-05-09 21:35:24 +02:00
Ole André Vadla Ravnås 5d0748515b mission: Add goal-driven agent loop
LLM agent for user-stated RE goals: propose-and-approve over the
existing RPC, evidence-grounded findings, collab via the op-outbox
pattern. Anthropic / OpenAI / local-OAI providers. r2ai used for
explain_function when the plugin is loaded; falls back to the
mission's own provider otherwise.
2026-05-09 12:54:14 +02:00