Frontend terminal view — VTE4 embedding #17
Labels
No labels
area:config
area:contracts
area:engine
area:eventsourcing
area:frontend
area:git
area:ipc
area:persistence
area:provider
area:scaffold
area:terminal
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/peon#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a user, I want an embedded terminal (VTE4) in the forge-agent window that connects to the backend PTY session, supports input, resize, and reconnection via replay buffer, so that I can use a shell alongside the AI agent.
Acceptance criteria
TerminalViewModel (RELM4 component,
components/terminal_view.rs)vte4::Terminalwidget in the bottom pane (toggle-able)TerminalCommand::Openvia IPC with the project's working directoryterminal_idreturned from the backendInput handling
vte.connect_commit()captures user input and sendsTerminalCommand::Writevia IPCglib::spawn_future_localOutput rendering
AppEvent::TerminalOutputand callsvte.feed(data)to renderTerminalSnapshotand feeds history for replayResize
vte.connect_char_size_changed()sendsTerminalCommand::Resizevia IPCConfiguration
AppConfig.terminal.embedded(font_family, font_size)Toggle
gtk::PanedsplitterTests
Out of scope
References
Dependencies
issue-13-app-shell