-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwizard.json
More file actions
387 lines (387 loc) · 13.9 KB
/
Copy pathwizard.json
File metadata and controls
387 lines (387 loc) · 13.9 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
{
"patterns_url": "patterns/manifest.json",
"engines_url": "https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/engines.json",
"landing": {
"title": "Automate your repository with AI agents",
"message": "Answer a few questions and get a ready-to-run agentic workflow for your repository.",
"button": "Create Your Agentic Workflow",
"hint": "Takes about a minute — no sign-in required.",
"runner": "Runs safely on GitHub Actions",
"trigger_label": "When",
"trigger_description": "Trigger",
"agent_label": "Agent",
"outputs_label": "Safe outputs"
},
"finish": {
"step_label": "Finish",
"step_description": "copy your prompt and run it",
"title": "Your workflow generator prompt is ready",
"message": "Copy it, then paste it into your agent from the repository you want to automate.",
"copy_button": "Copy prompt",
"copy_failure_button": "Copy failed — try again",
"copy_failure_status": "Prompt could not be copied. Please try again.",
"preview_label": "Prompt preview",
"preview_hint": "Review before copying",
"preview_aria_label": "Generated prompt preview"
},
"assistant": {
"label": "Describe what you want to automate",
"field_placeholder": "e.g., Every morning, summarize the issues opened yesterday and post a digest…",
"run_button": "Analyze",
"analyzing_status": "Loading the in-browser model…",
"matched_status": "Selected the closest scenario:",
"no_match_status": "No close match found. Pick a scenario below.",
"empty_status": "Describe what you want to automate first.",
"no_scenarios_status": "Scenarios are not available yet. Please try again.",
"failure_status": "The in-browser model could not analyze the request. Pick a scenario below.",
"fallback_status": "The in-browser model is unavailable. Closest keyword match:",
"result_eyebrow": "Scenario selected",
"result_fallback_eyebrow": "Closest keyword match",
"result_copy_label": "Copy prompt",
"result_copy_success_label": "Copied",
"result_copy_failure_label": "Copy failed",
"result_close_label": "Close",
"model": {
"enabled": true,
"module_url": "slm/webllm.js",
"model_id": "Qwen2.5-1.5B-Instruct-q4f16_1-MLC",
"ios_model_id": "SmolLM2-360M-Instruct-q4f32_1-MLC",
"cache_backend": "cache",
"max_tokens": 24,
"analysis_attempts": 1,
"analysis_consensus": 1,
"ios_analysis_attempts": 3,
"ios_analysis_consensus": 2
}
},
"copy_success": {
"close_label": "Close",
"eyebrow": "Prompt copied",
"title": "Your workflow is one prompt away",
"description": "Open your coding agent from the repository you want to automate, then paste the prompt to generate your agentic workflow.",
"next_step_title": "Run it in your repository",
"next_step_description": "Your agent will take it from there.",
"action": "Got it"
},
"footer": {
"source": {
"url": "https://github.com/githubnext/gh-aw-wizard",
"label": "View source"
},
"report_issue": {
"url": "https://github.com/githubnext/gh-aw-wizard/issues",
"label": "Report an issue"
},
"evals": {
"url": "./?evals=1",
"label": "Run evals"
},
"copy_logs": {
"label": "Copy diagnostic logs",
"success": "Diagnostic logs copied.",
"failure": "Diagnostic logs could not be copied."
},
"terms": {
"url": "https://docs.github.com/en/site-policy/github-terms/github-terms-of-service",
"label": "Terms"
},
"privacy": {
"url": "https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement",
"label": "Privacy"
},
"security": {
"url": "https://github.com/security",
"label": "Security"
}
},
"archetypes": {
"pinned": [
"skill-pr-reviewer",
"code-improvement",
"daily-test-improver",
"documentation-updater"
],
"aliases": {
"pr reviewer": "skill-pr-reviewer",
"daily code improver": "code-improvement",
"iterative pr solver": "pr-iteration-loop",
"pr loop": "pr-iteration-loop",
"daily test generator": "daily-test-improver",
"documentation updater": "documentation-updater"
}
},
"steps": {
"trigger": {
"placeholder": "choose when it runs",
"options": [
{
"id": "issues",
"label": "New issue opened",
"description": "Runs when an issue is created",
"icon": "issue-opened",
"summary": "a new issue is opened"
},
{
"id": "pull_request",
"label": "Pull request opened",
"description": "Runs when a PR is created",
"icon": "git-pull-request",
"summary": "a pull request is opened"
},
{
"id": "pull_request_ready_for_review",
"label": "PR ready for review",
"description": "Runs when a draft PR is marked ready for review",
"icon": "git-pull-request",
"summary": "a pull request is ready for review"
},
{
"id": "schedule",
"label": "On a schedule (daily/weekly)",
"description": "Runs on a cron schedule",
"icon": "calendar",
"summary": "the schedule runs",
"detail": {
"label": "How often should it run, and what should each run cover?",
"placeholder": "e.g., every weekday morning, covering the last 24 hours of activity",
"requirement": "Use this schedule and per-run scope: {{detail}}"
}
},
{
"id": "slash_command",
"label": "Slash command (/slash-command in comments)",
"description": "Runs when a matching slash command is posted",
"icon": "terminal",
"summary": "a slash command is posted",
"detail": {
"label": "What should the slash command be called, and what should it do?",
"placeholder": "e.g., /triage — triage the issue it was posted on",
"requirement": "Configure the slash command as follows: {{detail}}"
}
},
{
"id": "label_command",
"label": "Label command (/label-command)",
"description": "Runs when a matching label is added",
"icon": "tag",
"summary": "a matching label is added",
"detail": {
"label": "Which label should trigger the workflow?",
"placeholder": "e.g., needs-triage",
"requirement": "Trigger the workflow on this label: {{detail}}"
}
},
{
"id": "push",
"label": "Push to branch",
"description": "Runs when code is pushed",
"icon": "git-commit",
"summary": "code is pushed to main"
}
]
},
"output": {
"placeholder": "choose what it can write",
"options": [
{
"id": "create-issue",
"label": "Create issue",
"description": "Create new issues for tracking or reporting",
"icon": "issue-opened",
"summary": "create issue"
},
{
"id": "add-comment",
"label": "Add comment",
"description": "Post comments with analysis, feedback, or results",
"icon": "comment-discussion",
"summary": "add comment"
},
{
"id": "add-labels",
"label": "Add label",
"description": "Add labels on issues",
"icon": "tag",
"summary": "add label"
},
{
"id": "create-pull-request",
"label": "Create pull request",
"description": "Open pull requests with code changes",
"icon": "git-pull-request",
"summary": "create pull request"
},
{
"id": "push-to-pull-request-branch",
"label": "Push to pull request branch",
"description": "Push code changes to an existing pull request branch",
"icon": "git-commit",
"summary": "push to pull request branch"
},
{
"id": "merge-pull-request",
"label": "Merge pull request",
"description": "Merge pull requests after required checks pass",
"icon": "git-pull-request",
"summary": "merge pull request"
},
{
"id": "create-pull-request-review-comment",
"label": "Create pull request review comment",
"description": "Leave review comments on pull request diffs",
"icon": "eye",
"summary": "create pull request review comment"
},
{
"id": "create-discussion",
"label": "Create discussion",
"description": "Publish periodic narrative digests or reports as GitHub Discussions",
"icon": "comment-discussion",
"summary": "create discussion"
}
]
},
"extra": {
"placeholder": "choose optional capabilities",
"options": [
{
"id": "memory",
"label": "Remember across runs",
"description": "Track trends and context between workflow executions",
"icon": "cache",
"summary": "memory between runs",
"detail": {
"label": "What do you want to remember between runs?",
"placeholder": "e.g., which issues were already triaged and how the failure count trends week over week",
"requirement": "Persist this context in cache-memory between runs, and read it back at the start of each run: {{detail}}"
}
},
{
"id": "charts",
"label": "Generate charts",
"description": "Upload generated charts and other visual assets",
"icon": "graph",
"summary": "chart generation",
"detail": {
"label": "What should the charts show?",
"placeholder": "e.g., open vs closed issues per week for the last quarter",
"requirement": "Generate and upload charts that show: {{detail}}"
}
},
{
"id": "browser",
"label": "Use browser",
"description": "Enable Playwright CLI for browser automation",
"icon": "device-desktop",
"summary": "browser access",
"detail": {
"label": "Which pages should the agent visit, and what should it check?",
"placeholder": "e.g., the deployed docs site, checking that every navigation link resolves",
"requirement": "Use the browser for: {{detail}}"
}
},
{
"id": "agentic-workflows",
"label": "Analyze workflows",
"description": "Create meta-workflows that analyze and optimize agentic workflows",
"icon": "tools",
"summary": "agentic workflow analysis",
"detail": {
"label": "Which workflows should it analyze, and what should it look for?",
"placeholder": "e.g., every .github/workflows/*.md file, looking for missing safe-outputs",
"requirement": "Scope the agentic workflow analysis to: {{detail}}"
}
},
{
"id": "lsp",
"label": "Use language services",
"description": "Use language service protocol tools for symbol-aware code analysis",
"icon": "terminal",
"summary": "language service access",
"detail": {
"label": "Which languages or areas of the codebase should it analyze?",
"placeholder": "e.g., the TypeScript sources under src/",
"requirement": "Configure language services for: {{detail}}"
}
}
]
},
"engine": {
"placeholder": "choose an agent",
"options": [
{
"id": "copilot",
"label": "Copilot",
"company": "GitHub",
"icon": "vendor-github"
},
{
"id": "claude",
"label": "Claude",
"company": "Anthropic",
"icon": "vendor-anthropic"
},
{
"id": "codex",
"label": "Codex",
"company": "OpenAI",
"icon": "vendor-openai"
},
{
"id": "gemini",
"label": "Gemini",
"company": "Google",
"icon": "vendor-google"
},
{
"id": "pi",
"label": "Pi",
"company": "Inflection",
"icon": "vendor-pi"
}
]
},
"purpose": {
"placeholder": "choose what the agent should do"
},
"intent": {
"placeholder": "tell us your intent",
"label": "Tell us your intent so that we can generate graders and evals",
"hint": "We will add your intent to the prompt and generate graders and BinEval evaluations for it.",
"field_placeholder": "e.g., Keep our release notes accurate so on-call engineers can triage incidents faster…"
}
},
"recommendations": {
"triggers": [
"issues",
"pull_request",
"schedule",
"slash_command",
"label_command",
"push"
],
"safe_outputs": {
"add-comment": ["add-comment"],
"add-label": ["add-labels"],
"add-labels": ["add-labels"],
"create-issue": ["create-issue"],
"create-pull-request": ["create-pull-request"],
"push-to-pull-request-branch": ["push-to-pull-request-branch"],
"merge-pull-request": ["merge-pull-request"],
"create-pull-request-review-comment": ["create-pull-request-review-comment"],
"create-discussion": ["create-discussion"],
"discussions": ["create-discussion"],
"commit-files": ["create-pull-request"],
"issues": ["add-comment", "add-labels", "create-issue"],
"pull-requests": ["create-pull-request", "push-to-pull-request-branch", "merge-pull-request", "add-comment", "create-pull-request-review-comment"],
"contents": ["create-pull-request"]
}
},
"summary_overrides": {
"pr-review": {
"trigger": {
"pull_request": "a pull request is ready for review"
}
}
}
}