Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Doorman11991/smallcode
/ getShell
Function
getShell
src/tools/shell_session.js:321–324 ·
view source on GitHub ↗
(options)
Source
from the content-addressed store, hash-verified
319
let
_instance = null;
320
321
function
getShell(options) {
322
if
(!_instance) _instance =
new
ShellSession(options);
323
return
_instance;
324
}
325
326
function
resetShell() {
327
if
(_instance) {
Callers
1
executeTool
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected