Skip to content

feat(frontend): port terminal presentation - #314

Draft
sandersonstabo wants to merge 3 commits into
agent/frontend-host-identity-controller-port-9148ee8from
agent/frontend-terminal-presentation-port-ccdd26e
Draft

feat(frontend): port terminal presentation#314
sandersonstabo wants to merge 3 commits into
agent/frontend-host-identity-controller-port-9148ee8from
agent/frontend-terminal-presentation-port-ccdd26e

Conversation

@sandersonstabo

@sandersonstabo sandersonstabo commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Dependency

Scope

  • Port pure terminal output/session presentation to dependency-free Rust.
  • Preserve bounded UTF-8-safe raw tails, whole-buffer ANSI/control stripping, carriage-return overwrite semantics, command and shell naming, live-state classification, and lifecycle replacement/append behavior.
  • Register the frontend module and focused Bazel test target.

Exclusions

  • No PTY/process custody, backend lifecycle execution, protocol wiring, or GPUI rendering.

Verification

  • //modules/frontend:frontend focused jobs=1 build passed.
  • //tests/frontend:terminal_presentation_test passed (12 Rust tests).
  • Fresh strict Clippy passed for production and test sources.
  • Root Rust format and locked/offline Cargo metadata passed.
  • Exact seven-path/hash guards, clean diff/status, and Bazel shutdown passed.
  • Receipt: D:/artisan-editor-gate-logs/frontend-terminal-presentation-20260829-gate2/receipt.json.

Remaining work

  • Native terminal-card composition and protocol wiring remain dependency-aware follow-up work.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Ports the pure terminal output and session presentation logic from TypeScript to dependency-free Rust, preserving the same behavior for raw tail, ANSI stripping, carriage returns, command naming, and lifecycle updates.

  • Registers the new terminal_presentation module and a focused Bazel test target.
  • Excludes PTY/process custody, backend lifecycle execution, and GPUI rendering.

Written for commit ada36b5. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant