JSPM

@yeshwanthyk/base-tools

0.2.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q64614F
  • License MIT

Package Exports

  • @yeshwanthyk/base-tools
  • @yeshwanthyk/base-tools/package.json

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-tools

Usage

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