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

Function withShellGuidance

packages/runtime/src/shell-tools.ts:331–334  ·  view source on GitHub ↗
(lead: string, shell: ShellPlan)

Source from the content-addressed store, hash-verified

329}
330
331export function withShellGuidance(lead: string, shell: ShellPlan): string {
332 const guidance = bashToolShellGuidance(shell);
333 return guidance ? `${lead} ${guidance}` : lead;
334}
335
336export function buildStopBackgroundTaskTool(backgroundTasks: BackgroundTaskStopper): MakaTool {
337 return {

Callers 3

buildExecutorBashToolFunction · 0.85
buildManagedBashToolFunction · 0.85

Calls 1

bashToolShellGuidanceFunction · 0.85

Tested by

no test coverage detected