Skip to main content

Module opencode

Module opencode 

Source
Expand description

OpenCode-compatible tool set

This module provides tools compatible with OpenCode’s tool interface. These tools follow the same patterns and behaviors as the original OpenCode implementation.

Structs§

BashTool
Bash tool for executing shell commands
EditTool
Edit tool for performing string replacements in files
GlobTool
Glob tool for finding files by pattern
GrepTool
Grep tool for searching file contents
ListTool
List tool for directory listing
MultiEditTool
MultiEdit tool for performing multiple string replacements in one operation
ReadTool
Read tool for reading files
TodoReadTool
TodoRead tool for reading the current todo list
TodoWriteTool
TodoWrite tool for managing task list
WebFetchTool
WebFetch tool for fetching web content
WebSearchTool
WebSearch tool for searching the web
WriteTool
Write tool for writing files

Functions§

create_tool_registry
Initialize the tool registry with OpenCode-compatible tools
create_tool_registry_with_open_window_size
Initialize the tool registry with OpenCode-compatible tools and custom window size