@@ -5,16 +5,8 @@ import DESCRIPTION from "./github-triage.txt"
55const TEAM = {
66 desktop : [ "adamdotdevin" , "iamdavidhill" , "Brendonovich" , "nexxeln" ] ,
77 zen : [ "fwang" , "MrMushrooooom" ] ,
8- tui : [
9- "thdxr" ,
10- "kommander" ,
11- // "rekram1-node" (on vacation)
12- ] ,
13- core : [
14- "thdxr" ,
15- // "rekram1-node", (on vacation)
16- "jlongster" ,
17- ] ,
8+ tui : [ "thdxr" , "kommander" , "rekram1-node" ] ,
9+ core : [ "thdxr" , "rekram1-node" , "jlongster" ] ,
1810 docs : [ "R44VC0RP" ] ,
1911 windows : [ "Hona" ] ,
2012} as const
@@ -50,7 +42,10 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) {
5042export default tool ( {
5143 description : DESCRIPTION ,
5244 args : {
53- assignee : tool . schema . enum ( ASSIGNEES as [ string , ...string [ ] ] ) . describe ( "The username of the assignee" ) ,
45+ assignee : tool . schema
46+ . enum ( ASSIGNEES as [ string , ...string [ ] ] )
47+ . describe ( "The username of the assignee" )
48+ . default ( "rekram1-node" ) ,
5449 labels : tool . schema
5550 . array ( tool . schema . enum ( [ "nix" , "opentui" , "perf" , "web" , "desktop" , "zen" , "docs" , "windows" , "core" ] ) )
5651 . describe ( "The labels(s) to add to the issue" )
@@ -73,8 +68,7 @@ export default tool({
7368 results . push ( "Dropped label: nix (issue does not mention nix)" )
7469 }
7570
76- // const assignee = nix ? "rekram1-node" : web ? pick(TEAM.desktop) : args.assignee
77- const assignee = web ? pick ( TEAM . desktop ) : args . assignee
71+ const assignee = nix ? "rekram1-node" : web ? pick ( TEAM . desktop ) : args . assignee
7872
7973 if ( labels . includes ( "zen" ) && ! zen ) {
8074 throw new Error ( "Only add the zen label when issue title/body contains 'zen'" )
0 commit comments