@yeshwanthyk/base-tools
v0.1.0
Published
Core file system and shell tools for AI coding agents.
Readme
@yeshwanthyk/base-tools
Core file system and shell tools for AI coding agents.
Tools
- read — Read file contents (text and images)
- write — Write content to files
- edit — Surgical text replacement
- bash — Execute shell commands
Installation
npm install @yeshwanthyk/base-toolsUsage
import { createToolRegistry, createReadTool } from "@yeshwanthyk/base-tools";
const cwd = process.cwd();
const registry = createToolRegistry(cwd);
const readTool = await registry.read.load();
const directReadTool = createReadTool(cwd);
const result = await readTool.execute("id", { path: "./file.ts" });License
MIT
