Implement core coding tools (read, write, bash, search)

t-141.3·WorkTask·
·
·
·Omni/Agent/Engine.hs
Parent:t-141·Created3 months ago·Updated3 months ago

Dependencies

Description

Edit

Create Omni/Agent/Tools.hs with core coding tools:

Tools to Implement

1. readFileTool - Read file contents, return text or error 2. writeFileTool - Write content to file (create dirs if needed) 3. editFileTool - Search/replace with old_str, new_str 4. runBashTool - Execute shell command, return stdout/stderr/exitcode 5. searchCodebaseTool - Ripgrep wrapper for code search

ToolResult Type

  • success :: Bool
  • output :: Text
  • error :: Maybe Text

Tool Schema

Each tool needs proper JSON Schema for parameters. Reference orphaned commit 85c0be46 for patterns.

allTools Export

Export allTools :: [Tool] for easy use in AgentConfig.

Timeline (0)

No activity yet.