MCPcopy Create free account
hub / github.com/apache/maka / defaultShellPlan

Function defaultShellPlan

packages/runtime/src/shell-detect.ts:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 * repeat it. The environment a desktop app runs in does not change under it.
54 */
55export function defaultShellPlan(): ShellPlan {
56 cachedDefault ??= detectShell();
57 return cachedDefault;
58}
59
60let cachedDefault: ShellPlan | undefined;
61

Callers 9

#startMethod · 0.90
startPipeMethod · 0.85
startPtyMethod · 0.85
buildBuiltinToolsFunction · 0.85
buildManagedBashToolFunction · 0.85
runShellWithBoundedTailFunction · 0.85
nodeCommandFunction · 0.85

Calls 1

detectShellFunction · 0.85

Tested by 1

nodeCommandFunction · 0.68