Conversation
Added the `ssh` meta-command to the Eldritch WebAssembly Browser REPL, which triggers a new SSH session on the target address over the Tavern Portal network.
Changes include:
* Added `Ssh` variant to `MetaCommand` in the Rust `browser.rs` logic.
* Updated Rust AST parsing in `BrowserRepl::input` to extract `ssh("target")` calls.
* Added `useShellTerminal.ts` logic to intercept `ssh` meta commands and open a new `SshTerminal` route via `window.open`.
* Created `SshTerminal.tsx` to handle `/ssh` connections, manage xterm instances, and pipe data over a WebSocket to `/portals/ssh/ws`.
* Mapped the new `/ssh` route in `App.tsx`.
* Updated React signatures to properly pipe down `portalId` to use within the new meta command handling.
Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Summary
Previous Results
Insights
Fail Rate
Failed Tests
Test Changes0 test added, 0 removed Slowest Tests
🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 |
This pull request adds a new browser REPL
sshmeta command (ssh("user:password@target")).It enables browser REPLs to spawn standard terminal windows via xterm and websocket bindings directly into an active, tunneled SSH session.
implants/lib/eldritch/eldritch-wasmlogic to parse the command and proxy the meta event down to TS.SshTerminal.tsxas an Xterm container for the new session, directly connecting to/portals/ssh/ws.PR created automatically by Jules for task 7239299451537543956 started by @KCarretto