summaryrefslogtreecommitdiffhomepage
path: root/.opencode/tool/github-triage.ts
diff options
context:
space:
mode:
authorDax <[email protected]>2026-03-19 19:02:42 -0400
committerGitHub <[email protected]>2026-03-19 19:02:42 -0400
commit812d1bb32a50aba78ad6b8d7023109a0e5b999bf (patch)
treed63c00fc996a3dfa2e466f774c5abe3f85bf8840 /.opencode/tool/github-triage.ts
parent9a58c43ef4de8952f2ba50da7b5f99fc39ad1a5f (diff)
downloadopencode-812d1bb32a50aba78ad6b8d7023109a0e5b999bf.tar.gz
opencode-812d1bb32a50aba78ad6b8d7023109a0e5b999bf.zip
chore: inline tool descriptions, remove separate .txt files (#18303)
Diffstat (limited to '.opencode/tool/github-triage.ts')
-rw-r--r--.opencode/tool/github-triage.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/.opencode/tool/github-triage.ts b/.opencode/tool/github-triage.ts
index ed80f49d5..c06d2407f 100644
--- a/.opencode/tool/github-triage.ts
+++ b/.opencode/tool/github-triage.ts
@@ -1,7 +1,5 @@
/// <reference path="../env.d.ts" />
import { tool } from "@opencode-ai/plugin"
-import DESCRIPTION from "./github-triage.txt"
-
const TEAM = {
desktop: ["adamdotdevin", "iamdavidhill", "Brendonovich", "nexxeln"],
zen: ["fwang", "MrMushrooooom"],
@@ -40,7 +38,12 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) {
}
export default tool({
- description: DESCRIPTION,
+ description: `Use this tool to assign and/or label a GitHub issue.
+
+Choose labels and assignee using the current triage policy and ownership rules.
+Pick the most fitting labels for the issue and assign one owner.
+
+If unsure, choose the team/section with the most overlap with the issue and assign a member from that team at random.`,
args: {
assignee: tool.schema
.enum(ASSIGNEES as [string, ...string[]])