MCPcopy Create free account
hub / github.com/anus-dev/ANUS / constructor

Method constructor

packages/core/src/tools/shell.ts:49–55  ·  view source on GitHub ↗
(
    private readonly config: Config,
    params: ShellToolParams,
    private readonly allowlist: Set<string>,
  )

Source from the content-addressed store, hash-verified

47 ToolResult
48> {
49 constructor(
50 private readonly config: Config,
51 params: ShellToolParams,
52 private readonly allowlist: Set<string>,
53 ) {
54 super(params);
55 }
56
57 getDescription(): string {
58 let description = `${this.params.command}`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected