makepad/apps/terminal/Cargo.toml
Admin 7f1fefd56d terminal + browser: the assistant can read the screen, run a command, read and steer the tabs
Two services on the AI bus. terminal: read_screen (the visible grid as
text, cursor and cwd in the note), read_scrollback (up to 2000 recent
lines) and run — which types the line into the live, unsandboxed shell
exactly as the person would, refuses control characters and anything
over 4 kB, and answers at once so the model reads the outcome with
read_screen next. browser: page (the active tab's title and url — CEF
exposes no page text, so none is promised), tabs, navigate and new_tab,
http(s) or about:blank only. Context lines: the shell's cwd, the active
tab. Written by the delegate from the sheets/files shapes; terminal
331 + 5 tests, browser checks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 17:55:54 +02:00

42 lines
1.3 KiB
TOML

# terminal — a first-class terminal emulator as a plain full-window Makepad app.
#
# The VT core under src/term/ is a clean Rust port of Ghostty's terminal
# subsystem (github.com/ghostty-org/ghostty, MIT license — see
# src/term/mod.rs for attribution). The PTY layer is carried over from
# makepad-terminal-core, which had already solved spawn/resize/controlling-tty
# on macOS, Linux and Windows (ConPTY).
#
# terminal runs standalone, and unmodified inside makepad-wm / Studio tiles via
# the shared --stdin-loop client runtime every Makepad app has.
[package]
name = "makepad-terminal"
version = "0.1.0"
edition = "2021"
default-run = "terminal"
[lib]
name = "makepad_terminal"
path = "src/lib.rs"
[[bin]]
name = "terminal"
path = "src/main.rs"
[dependencies]
makepad-widgets = { path = "../../widgets" }
makepad-ai-services = { path = "../../libs/ai/services" }
makepad-strict-json = { path = "../../libs/strict_json" }
makepad-wm-theme = { path = "../../libs/wm_theme" }
makepad-wm-api = { path = "../../libs/wm_api" }
[target.'cfg(windows)'.dependencies.windows]
path = "../../libs/windows/windows-rs"
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Console",
"Win32_System_Pipes",
"Win32_System_Threading",
]