-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
276 lines (276 loc) · 8.47 KB
/
package.json
File metadata and controls
276 lines (276 loc) · 8.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
"name": "tembo",
"title": "Tembo",
"description": "Tembo Raycast Extension for task management and creation",
"icon": "extension-icon.png",
"author": "tembo",
"categories": [
"Developer Tools",
"Productivity"
],
"license": "MIT",
"commands": [
{
"name": "create-task",
"title": "Create Task",
"subtitle": "Tembo",
"description": "Create a new task in Tembo",
"mode": "view"
},
{
"name": "view-tasks",
"title": "View Tasks",
"subtitle": "Tembo",
"description": "View all tasks in your organization",
"mode": "view"
},
{
"name": "menubar-tasks",
"title": "Tembo in Menubar",
"subtitle": "Tembo",
"description": "Show your tasks in the menubar for quick access",
"mode": "menu-bar",
"interval": "10m"
}
],
"dependencies": {
"@raycast/api": "^1.102.6",
"@raycast/utils": "^1.17.0",
"stream-json": "^1.9.1"
},
"devDependencies": {
"@raycast/eslint-config": "^2.0.4",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/stream-json": "^1.7.8",
"eslint": "^9.22.0",
"prettier": "^3.5.3",
"typescript": "^5.8.2"
},
"scripts": {
"build": "npx @raycast/api@latest build -e dist",
"dev": "npx @raycast/api@latest develop",
"fix-lint": "npx @raycast/api@latest lint --fix",
"lint": "npx @raycast/api@latest lint",
"publish": "npx @raycast/api@latest publish"
},
"preferences": [
{
"name": "apiKey",
"title": "Tembo API Key",
"description": "Find your API key in your Tembo dashboard under Settings → API Keys.",
"type": "password",
"required": true,
"placeholder": "Enter your Tembo API key"
}
],
"tools": [
{
"name": "create-task",
"title": "Create Tembo Task",
"description": "Creates a task in Tembo with the given prompt and optional repository/branch information. The task will be queued for processing by Tembo's AI agents."
},
{
"name": "view-tasks",
"title": "View Tembo Tasks",
"description": "Retrieves and displays tasks from Tembo, with optional filtering by repository and other criteria."
}
],
"ai": {
"evals": [
{
"input": "@tembo create a task to fix the login bug in the authentication service",
"mocks": {
"create-task": {
"success": true,
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Task: Fix the login bug in the authentication service",
"message": "Task \"Task: Fix the login bug in the authentication service\" created successfully and queued for processing."
}
},
"expected": [
{
"callsTool": "create-task"
}
]
},
{
"input": "@tembo I need to create a task for implementing user registration with email validation for the main repo",
"mocks": {
"create-task": {
"success": true,
"taskId": "b2c3d4e5-f6g7-8901-bcde-f23456789012",
"title": "Task: implementing user registration with email validation",
"message": "Task \"Task: implementing user registration with email validation\" created successfully and queued for processing."
}
},
"expected": [
{
"callsTool": "create-task"
}
]
},
{
"input": "@tembo what are my current tasks?",
"mocks": {
"view-tasks": {
"success": true,
"tasks": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Fix login bug in authentication service",
"summary": "Authentication service has a critical bug affecting user login",
"kind": "user-supplied",
"level": 3,
"status": "Success",
"repository": "auth-service",
"createdAt": "2024-01-15T10:30:00Z",
"tags": [
"bug",
"authentication"
]
},
{
"id": "b2c3d4e5-f6g7-8901-bcde-f23456789012",
"title": "Implement user registration with email validation",
"summary": "Add new user registration flow with proper email validation",
"kind": "user-supplied",
"level": 2,
"status": "Pending",
"repository": "main-repo",
"createdAt": "2024-01-15T11:00:00Z",
"tags": [
"feature",
"registration"
]
}
],
"totalCount": 2
}
},
"expected": [
{
"callsTool": "view-tasks"
}
]
},
{
"input": "@tembo show me all tasks in the auth-service repository",
"mocks": {
"view-tasks": {
"success": true,
"tasks": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Fix login bug in authentication service",
"summary": "Authentication service has a critical bug affecting user login",
"kind": "user-supplied",
"level": 3,
"status": "Success",
"repository": "auth-service",
"createdAt": "2024-01-15T10:30:00Z",
"tags": [
"bug",
"authentication"
]
}
],
"totalCount": 1,
"repository": "auth-service"
}
},
"expected": [
{
"callsTool": "view-tasks"
}
]
},
{
"input": "@tembo show me tasks in the docs-repo repository",
"mocks": {
"view-tasks": {
"success": true,
"tasks": [
{
"id": "c3d4e5f6-g7h8-9012-cdef-g34567890123",
"title": "Update API documentation",
"summary": "Documentation needs to be updated for the new API endpoints",
"kind": "user-supplied",
"level": 1,
"status": "Failed",
"repository": "docs-repo",
"createdAt": "2024-01-15T09:00:00Z",
"tags": [
"documentation"
]
}
],
"totalCount": 1,
"repository": "docs-repo"
}
},
"expected": [
{
"callsTool": "view-tasks"
}
]
},
{
"input": "@tembo create a task to optimize database queries and then show me all my current tasks",
"mocks": {
"create-task": {
"success": true,
"taskId": "d4e5f6g7-h8i9-0123-defg-h45678901234",
"title": "Task: optimize database queries",
"message": "Task \"Task: optimize database queries\" created successfully and queued for processing."
},
"view-tasks": {
"success": true,
"tasks": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Fix login bug in authentication service",
"summary": "Authentication service has a critical bug affecting user login",
"kind": "user-supplied",
"level": 3,
"status": "Success",
"repository": "auth-service",
"createdAt": "2024-01-15T10:30:00Z",
"tags": [
"bug",
"authentication"
]
},
{
"id": "d4e5f6g7-h8i9-0123-defg-h45678901234",
"title": "Optimize database queries",
"summary": "Improve database query performance across the application",
"kind": "user-supplied",
"level": 2,
"status": "Pending",
"repository": "backend",
"createdAt": "2024-01-15T12:00:00Z",
"tags": [
"performance",
"database"
]
}
],
"totalCount": 2
}
},
"expected": [
{
"callsTool": "create-task"
},
{
"callsTool": "view-tasks"
}
]
}
]
},
"platforms": [
"macOS"
]
}