myai-tools
v0.1.2
Published
Standalone OpenCode plugin with grep, ast-grep, and LSP tools
Maintainers
Readme
myai-tools
Standalone OpenCode plugin that provides extracted custom tools:
grepast_grep_searchast_grep_replacelsp_goto_definitionlsp_find_referenceslsp_diagnosticslsp_rename
This package is intentionally independent from oh-my-opencode-slim so it can
be installed and used as a separate OpenCode plugin.
Install
Add to OpenCode config:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["myai-tools"]
}Local development
bun run typecheck
bun run build
bun testPublish
bun run prepublishOnly
bun run pack:dry-run
npm publish --access publicIf this is your first publish from this machine, run npm login first.
Plugin shape
The plugin exports a default Plugin function from src/index.ts and registers
only tool hooks (tool), following:
- https://opencode.ai/docs/plugins/#custom-tools
- https://opencode.ai/docs/custom-tools/
