bashkit 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # bashkit
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/bashkit)](https://www.npmjs.com/package/bashkit)
4
+
3
5
  Agentic coding tools for Vercel AI SDK. Give AI agents the ability to execute code, read/write files, and perform coding tasks in a sandboxed environment.
4
6
 
5
7
  ## Overview
@@ -0,0 +1,20 @@
1
+ /**
2
+ * bashkit/cloudflare - Cloudflare Workers compatible exports
3
+ *
4
+ * This module exports only the parts of bashkit that work in Cloudflare Workers.
5
+ * It excludes local sandbox (uses Bun/Node APIs) and bundled ripgrep.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import { createE2BSandbox, createBashTool } from 'bashkit/cloudflare';
10
+ * ```
11
+ */
12
+ export { createE2BSandbox, type E2BSandboxConfig } from "../sandbox/e2b";
13
+ export type { ExecOptions, ExecResult, Sandbox } from "../sandbox/interface";
14
+ export { createBashTool } from "../tools/bash";
15
+ export { createReadTool } from "../tools/read";
16
+ export { createWriteTool } from "../tools/write";
17
+ export { createEditTool } from "../tools/edit";
18
+ export { createGlobTool } from "../tools/glob";
19
+ export { createGrepTool } from "../tools/grep";
20
+ export type { BashOutput, BashError, ReadOutput, ReadError, WriteOutput, WriteError, EditOutput, EditError, GlobOutput, GlobError, GrepOutput, GrepError, } from "../tools";