MCPcopy
hub / github.com/superagent-ai/grok-cli / buildShellInitScript

Function buildShellInitScript

src/tools/bash.ts:559–561  ·  view source on GitHub ↗
(settings: SandboxSettings)

Source from the content-addressed store, hash-verified

557}
558
559function buildShellInitScript(settings: SandboxSettings): string {
560 return (settings.shellInit ?? []).filter(Boolean).join(" && ");
561}
562
563function getSandboxUnsupportedReason(): string | null {
564 if (process.platform !== "darwin" || process.arch !== "arm64") {

Callers 1

wrapCommandForShuruFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected