MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / bashTool

Function bashTool

packages/agent-core/test/tools/bash.test.ts:254–261  ·  view source on GitHub ↗
(
  kaos: ConstructorParameters<typeof BashTool>[0],
  cwd = '/workspace',
  manager = createBackgroundManager().manager,
  options?: ConstructorParameters<typeof BashTool>[3],
)

Source from the content-addressed store, hash-verified

252}
253
254function bashTool(
255 kaos: ConstructorParameters<typeof BashTool>[0],
256 cwd = '/workspace',
257 manager = createBackgroundManager().manager,
258 options?: ConstructorParameters<typeof BashTool>[3],
259): BashTool {
260 return new BashTool(kaos, cwd, manager, options);
261}
262
263describe('BashTool', () => {
264 it('exposes current metadata and schema', () => {

Callers 1

bash.test.tsFile · 0.85

Calls 1

createBackgroundManagerFunction · 0.90

Tested by

no test coverage detected