feat(mentor): editorial chat voice for the transcript (#155)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Wayfinder map #153, build slice 1 of the #154 contract: the shared SessionTranscriptView speaks the two-color editorial voice — speaker prefixes map onto serif agent prose (markdown at flush, verbatim streaming), right-aligned terracotta user capsules, and the mono status box on the fg-wash card; ThinkingBlock port; composer restyle with one Send/Stop button, floating liveness chip, and the Debug toggle moved to its trailing edge (Sessions pane inherits the same surface). Finish-audit fanout hardened it: interpreted markdown opens http(s) only (openURL gate at the sink — engine prose echoes imported content; pinned via the pure linkVerdict seam), Caps Lock no longer turns Shift+Return into a send (pinned), the plain-Button toggles speak state to VoiceOver, and the dead GeometryReader wrapper is gone. Suite 584/584 (xcresult count), flip-verified pins, swiftformat + swiftlint clean at the error tier.
This commit is contained in:
1 parent
ef246e3f27
commit
2aa8bdabd8
8 files changed
+542
-101
No files matched your search
@@ -108,7 +108,8 @@ struct MentorPaneView: View {
|
||||
// #28: the transcript rendering is shared — the Sessions pane
|
||||
// reads the same surface in the writing voice. #30: the
|
||||
// freeform input + liveness ride the shared surface too.
|
||||
SessionTranscriptView(model: model, showsDebugRows: debugRows, home: home)
|
||||
// #155: the debug toggle's seat is the composer's edge.
|
||||
SessionTranscriptView(model: model, showsDebugRows: debugRows, debugBinding: $debugRows, home: home)
|
||||
case let .crashed(lastPrompt):
|
||||
crashCard(lastPrompt: lastPrompt)
|
||||
}
|
||||
@@ -162,11 +163,6 @@ struct MentorPaneView: View {
|
||||
.foregroundStyle(.tertiary)
|
||||
.textSelection(.enabled)
|
||||
}
|
||||
Toggle("Debug", isOn: $debugRows)
|
||||
.toggleStyle(.checkbox)
|
||||
.controlSize(.mini)
|
||||
.foregroundStyle(.tertiary)
|
||||
.help("Show session updates, tool calls, and engine thinking.")
|
||||
}
|
||||
.padding(.horizontal, 12)
|
||||
// #90: pane heads align at the export's 52px — same height as the
|
||||
|
||||
Reference in new issue
Block a user