Add tea_issue_create tool with Bun.$ and description support
This commit is contained in:
@@ -9,8 +9,7 @@ export default tool({
|
||||
milestone: tool.schema.string().optional().describe("Milestone name"),
|
||||
},
|
||||
async execute(args) {
|
||||
const cmd = `tea issues create -t "${args.title}" -d "${args.description}"`
|
||||
const result = await Bun.$`${cmd}`.text()
|
||||
const result = await Bun.$`tea issues create -t ${args.title} -d ${args.description}`.text()
|
||||
return result.trim()
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user