mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 09:01:49 +00:00
19 lines
586 B
TypeScript
19 lines
586 B
TypeScript
import type { AgentTool } from "@mariozechner/pi-ai";
|
|
import type { Executor } from "../sandbox.js";
|
|
import { attachTool } from "./attach.js";
|
|
import { createBashTool } from "./bash.js";
|
|
import { createEditTool } from "./edit.js";
|
|
import { createReadTool } from "./read.js";
|
|
import { createWriteTool } from "./write.js";
|
|
|
|
export { setUploadFunction } from "./attach.js";
|
|
|
|
export function createMomTools(executor: Executor): AgentTool<any>[] {
|
|
return [
|
|
createReadTool(executor),
|
|
createBashTool(executor),
|
|
createEditTool(executor),
|
|
createWriteTool(executor),
|
|
attachTool,
|
|
];
|
|
}
|