idkidknow/dsh-node-repl

idkidknow★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

Per-session Node REPL terminal in the DSH web UI: a session-local floating terminal (ghostty-web) bridged over WebSocket to an in-process node:repl that has the live agent Cordis Context (agent.ctx) in scope.

README 摘要

dsh-node-repl Per-session Node REPL terminal for the DSH web UI. Open a real Node.js REPL inside any conversation — with the live agent context ( ctx , agent ) in scope. Features - A REPL button in every session header opens a floating terminal window, local to that session (no global overlay, no conversation space taken). - A real node:repl prompt — Tab completion, up/down history, top-level await , ANSI colors, .help / .editor . - The live agent context is in scope: ctx (= agent.ctx ) and agent , so ctx.plugin , ctx.effect , ctx.get , ctx.on , ctx.provide all work — plus the usual Node globals ( require , process , console , fetch , …). - Draggable and resizable window; collapse keeps the REPL alive, close kills it. Install Restart dsh web , and the REPL button appears in each session header. Usage Open a session, click REPL , and type JavaScript. Top-level await works: Window controls Control Effect Header REPL button open / restore / collapse Title bar – collapse (keep the REPL alive) Title bar ✕ close (kill the REPL) Drag the title bar move the window Drag the bottom-right corner resize The REPL belongs to its session: refreshing the page, dropping the WebSocket, or disposing …

在 GitHub 查看完整 README →
终端/TUIdeepseek-harnessdsh-pluginreplvibe-codingterminalweb uiagent

分类