Add tea_issues tool for listing GitHub issues

This commit is contained in:
2026-05-14 22:18:07 +02:00
parent 7310a1b079
commit d5fbeb75ff

View File

@@ -0,0 +1,11 @@
import { tool } from "@opencode-ai/plugin"
import path from "path"
export default tool({
description: "List all issues in the project using tea CLI",
args: {},
async execute(args, context) {
const result = await Bun.$`tea issues list`.text()
return result.trim()
},
})