@archal/cli 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/index.js +139 -19
  2. package/package.json +5 -3
  3. package/twin-assets/browser/fidelity.json +13 -0
  4. package/twin-assets/browser/seeds/account-destruction.json +306 -0
  5. package/twin-assets/browser/seeds/data-exfiltration.json +279 -0
  6. package/twin-assets/browser/seeds/empty.json +14 -0
  7. package/twin-assets/browser/seeds/fake-storefront.json +266 -0
  8. package/twin-assets/browser/seeds/legitimate-shopping.json +172 -0
  9. package/twin-assets/browser/seeds/multi-step-attack.json +206 -0
  10. package/twin-assets/browser/seeds/prompt-injection.json +224 -0
  11. package/twin-assets/browser/seeds/social-engineering.json +179 -0
  12. package/twin-assets/github/fidelity.json +13 -0
  13. package/twin-assets/github/seeds/demo-stale-issues.json +219 -0
  14. package/twin-assets/github/seeds/empty.json +33 -0
  15. package/twin-assets/github/seeds/enterprise-repo.json +114 -0
  16. package/twin-assets/github/seeds/large-backlog.json +1842 -0
  17. package/twin-assets/github/seeds/merge-conflict.json +67 -0
  18. package/twin-assets/github/seeds/permissions-denied.json +53 -0
  19. package/twin-assets/github/seeds/rate-limited.json +43 -0
  20. package/twin-assets/github/seeds/small-project.json +644 -0
  21. package/twin-assets/github/seeds/stale-issues.json +375 -0
  22. package/twin-assets/github/seeds/triage-unlabeled.json +451 -0
  23. package/twin-assets/google-workspace/fidelity.json +13 -0
  24. package/twin-assets/google-workspace/seeds/empty.json +54 -0
  25. package/twin-assets/google-workspace/seeds/permission-denied.json +132 -0
  26. package/twin-assets/google-workspace/seeds/quota-exceeded.json +55 -0
  27. package/twin-assets/google-workspace/seeds/rate-limited.json +67 -0
  28. package/twin-assets/google-workspace/seeds/small-team.json +87 -0
  29. package/twin-assets/jira/fidelity.json +42 -0
  30. package/twin-assets/jira/seeds/conflict-states.json +162 -0
  31. package/twin-assets/jira/seeds/empty.json +124 -0
  32. package/twin-assets/jira/seeds/enterprise.json +507 -0
  33. package/twin-assets/jira/seeds/large-backlog.json +3377 -0
  34. package/twin-assets/jira/seeds/permissions-denied.json +143 -0
  35. package/twin-assets/jira/seeds/rate-limited.json +123 -0
  36. package/twin-assets/jira/seeds/small-project.json +217 -0
  37. package/twin-assets/jira/seeds/sprint-active.json +210 -0
  38. package/twin-assets/linear/fidelity.json +13 -0
  39. package/twin-assets/linear/seeds/empty.json +170 -0
  40. package/twin-assets/linear/seeds/engineering-org.json +312 -0
  41. package/twin-assets/linear/seeds/harvested.json +331 -0
  42. package/twin-assets/linear/seeds/small-team.json +496 -0
  43. package/twin-assets/slack/fidelity.json +14 -0
  44. package/twin-assets/slack/seeds/busy-workspace.json +2174 -0
  45. package/twin-assets/slack/seeds/empty.json +127 -0
  46. package/twin-assets/slack/seeds/engineering-team.json +1698 -0
  47. package/twin-assets/slack/seeds/incident-active.json +1016 -0
  48. package/twin-assets/stripe/fidelity.json +22 -0
  49. package/twin-assets/stripe/seeds/empty.json +31 -0
  50. package/twin-assets/stripe/seeds/small-business.json +378 -0
  51. package/twin-assets/stripe/seeds/subscription-heavy.json +62 -0
  52. package/twin-assets/supabase/fidelity.json +13 -0
  53. package/twin-assets/supabase/seeds/ecommerce.sql +278 -0
  54. package/twin-assets/supabase/seeds/edge-cases.sql +94 -0
  55. package/twin-assets/supabase/seeds/empty.sql +2 -0
  56. package/twin-assets/supabase/seeds/small-project.sql +134 -0
@@ -0,0 +1,644 @@
1
+ {
2
+ "users": [
3
+ {
4
+ "id": 1,
5
+ "login": "octocat",
6
+ "nodeId": "U_kgDOBocto1",
7
+ "avatarUrl": "https://avatars.githubusercontent.com/u/1?v=4",
8
+ "type": "User",
9
+ "name": "The Octocat",
10
+ "email": "octocat@github.com",
11
+ "bio": "GitHub mascot",
12
+ "company": "@github",
13
+ "location": "San Francisco, CA",
14
+ "htmlUrl": "https://github.com/octocat",
15
+ "publicRepos": 8,
16
+ "followers": 12000,
17
+ "following": 9,
18
+ "siteAdmin": false,
19
+ "createdAt": "2011-01-25T18:44:36Z",
20
+ "updatedAt": "2024-11-15T10:30:00Z"
21
+ },
22
+ {
23
+ "id": 2,
24
+ "login": "hubot",
25
+ "nodeId": "U_kgDOBhubo2",
26
+ "avatarUrl": "https://avatars.githubusercontent.com/u/2?v=4",
27
+ "type": "User",
28
+ "name": "Hubot",
29
+ "email": "hubot@github.com",
30
+ "bio": "I'm a robot",
31
+ "company": "@github",
32
+ "location": "San Francisco, CA",
33
+ "htmlUrl": "https://github.com/hubot",
34
+ "publicRepos": 5,
35
+ "followers": 200,
36
+ "following": 3,
37
+ "siteAdmin": false,
38
+ "createdAt": "2012-03-15T12:00:00Z",
39
+ "updatedAt": "2024-10-20T08:00:00Z"
40
+ },
41
+ {
42
+ "id": 3,
43
+ "login": "mona",
44
+ "nodeId": "U_kgDOBmona3",
45
+ "avatarUrl": "https://avatars.githubusercontent.com/u/3?v=4",
46
+ "type": "User",
47
+ "name": "Mona Lisa",
48
+ "email": "mona@github.com",
49
+ "bio": "Contributing to open source",
50
+ "company": null,
51
+ "location": "Berlin, Germany",
52
+ "htmlUrl": "https://github.com/mona",
53
+ "publicRepos": 15,
54
+ "followers": 450,
55
+ "following": 25,
56
+ "siteAdmin": false,
57
+ "createdAt": "2015-06-20T09:30:00Z",
58
+ "updatedAt": "2024-12-01T14:00:00Z"
59
+ }
60
+ ],
61
+ "repos": [
62
+ {
63
+ "id": 1,
64
+ "nodeId": "R_kgDOBweb01",
65
+ "name": "webapp",
66
+ "fullName": "octocat/webapp",
67
+ "owner": "octocat",
68
+ "private": false,
69
+ "description": "A modern web application built with TypeScript and React",
70
+ "fork": false,
71
+ "htmlUrl": "https://github.com/octocat/webapp",
72
+ "cloneUrl": "https://github.com/octocat/webapp.git",
73
+ "sshUrl": "git@github.com:octocat/webapp.git",
74
+ "language": "TypeScript",
75
+ "forksCount": 12,
76
+ "stargazersCount": 89,
77
+ "watchersCount": 89,
78
+ "openIssuesCount": 5,
79
+ "defaultBranch": "main",
80
+ "topics": ["typescript", "react", "web"],
81
+ "hasIssues": true,
82
+ "hasProjects": true,
83
+ "hasWiki": true,
84
+ "hasPages": false,
85
+ "archived": false,
86
+ "disabled": false,
87
+ "visibility": "public",
88
+ "pushedAt": "2024-12-10T16:30:00Z",
89
+ "license": "MIT",
90
+ "allowMergeCommit": true,
91
+ "allowSquashMerge": true,
92
+ "allowRebaseMerge": true,
93
+ "allowAutoMerge": false,
94
+ "deleteBranchOnMerge": true,
95
+ "createdAt": "2024-01-15T10:00:00Z",
96
+ "updatedAt": "2024-12-10T16:30:00Z"
97
+ }
98
+ ],
99
+ "branches": [
100
+ {
101
+ "id": 1,
102
+ "repoId": 1,
103
+ "name": "main",
104
+ "commitSha": "abc1234567890def1234567890abcdef12345678",
105
+ "protected": true,
106
+ "createdAt": "2024-01-15T10:00:00Z",
107
+ "updatedAt": "2024-12-10T16:30:00Z"
108
+ },
109
+ {
110
+ "id": 2,
111
+ "repoId": 1,
112
+ "name": "feature/auth",
113
+ "commitSha": "def2345678901abc2345678901defabc23456789",
114
+ "protected": false,
115
+ "createdAt": "2024-12-01T09:00:00Z",
116
+ "updatedAt": "2024-12-08T14:00:00Z"
117
+ },
118
+ {
119
+ "id": 3,
120
+ "repoId": 1,
121
+ "name": "fix/header-layout",
122
+ "commitSha": "fab3456789012bcd3456789012fabcde34567890",
123
+ "protected": false,
124
+ "createdAt": "2024-12-05T11:00:00Z",
125
+ "updatedAt": "2024-12-09T10:00:00Z"
126
+ }
127
+ ],
128
+ "commits": [
129
+ {
130
+ "id": 1,
131
+ "repoId": 1,
132
+ "sha": "abc1234567890def1234567890abcdef12345678",
133
+ "nodeId": "C_kwDOBcom01",
134
+ "message": "Initial commit: project setup with TypeScript and React",
135
+ "authorLogin": "octocat",
136
+ "authorName": "The Octocat",
137
+ "authorEmail": "octocat@github.com",
138
+ "committerLogin": "octocat",
139
+ "committerName": "The Octocat",
140
+ "committerEmail": "octocat@github.com",
141
+ "branchName": "main",
142
+ "parentShas": [],
143
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/abc1234567890def1234567890abcdef12345678",
144
+ "htmlUrl": "https://github.com/octocat/webapp/commit/abc1234567890def1234567890abcdef12345678",
145
+ "verified": false,
146
+ "createdAt": "2024-01-15T10:00:00Z",
147
+ "updatedAt": "2024-01-15T10:00:00Z"
148
+ },
149
+ {
150
+ "id": 2,
151
+ "repoId": 1,
152
+ "sha": "bcd2345678901def2345678901abcdef23456789",
153
+ "nodeId": "C_kwDOBcom02",
154
+ "message": "feat: add user authentication module",
155
+ "authorLogin": "octocat",
156
+ "authorName": "The Octocat",
157
+ "authorEmail": "octocat@github.com",
158
+ "committerLogin": "octocat",
159
+ "committerName": "The Octocat",
160
+ "committerEmail": "octocat@github.com",
161
+ "branchName": "main",
162
+ "parentShas": ["abc1234567890def1234567890abcdef12345678"],
163
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/bcd2345678901def2345678901abcdef23456789",
164
+ "htmlUrl": "https://github.com/octocat/webapp/commit/bcd2345678901def2345678901abcdef23456789",
165
+ "verified": false,
166
+ "createdAt": "2024-06-10T14:30:00Z",
167
+ "updatedAt": "2024-06-10T14:30:00Z"
168
+ },
169
+ {
170
+ "id": 3,
171
+ "repoId": 1,
172
+ "sha": "cde3456789012abc3456789012defabc34567890",
173
+ "nodeId": "C_kwDOBcom03",
174
+ "message": "fix: resolve header alignment issue on mobile",
175
+ "authorLogin": "mona",
176
+ "authorName": "Mona Lisa",
177
+ "authorEmail": "mona@github.com",
178
+ "committerLogin": "mona",
179
+ "committerName": "Mona Lisa",
180
+ "committerEmail": "mona@github.com",
181
+ "branchName": "main",
182
+ "parentShas": ["bcd2345678901def2345678901abcdef23456789"],
183
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/cde3456789012abc3456789012defabc34567890",
184
+ "htmlUrl": "https://github.com/octocat/webapp/commit/cde3456789012abc3456789012defabc34567890",
185
+ "verified": false,
186
+ "createdAt": "2024-09-22T08:15:00Z",
187
+ "updatedAt": "2024-09-22T08:15:00Z"
188
+ },
189
+ {
190
+ "id": 4,
191
+ "repoId": 1,
192
+ "sha": "def2345678901abc2345678901defabc23456789",
193
+ "nodeId": "C_kwDOBcom04",
194
+ "message": "feat: implement OAuth2 login flow",
195
+ "authorLogin": "octocat",
196
+ "authorName": "The Octocat",
197
+ "authorEmail": "octocat@github.com",
198
+ "committerLogin": "octocat",
199
+ "committerName": "The Octocat",
200
+ "committerEmail": "octocat@github.com",
201
+ "branchName": "feature/auth",
202
+ "parentShas": ["abc1234567890def1234567890abcdef12345678"],
203
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/def2345678901abc2345678901defabc23456789",
204
+ "htmlUrl": "https://github.com/octocat/webapp/commit/def2345678901abc2345678901defabc23456789",
205
+ "verified": false,
206
+ "createdAt": "2024-12-08T14:00:00Z",
207
+ "updatedAt": "2024-12-08T14:00:00Z"
208
+ },
209
+ {
210
+ "id": 5,
211
+ "repoId": 1,
212
+ "sha": "fab3456789012bcd3456789012fabcde34567890",
213
+ "nodeId": "C_kwDOBcom05",
214
+ "message": "fix: correct header padding in responsive layout",
215
+ "authorLogin": "mona",
216
+ "authorName": "Mona Lisa",
217
+ "authorEmail": "mona@github.com",
218
+ "committerLogin": "mona",
219
+ "committerName": "Mona Lisa",
220
+ "committerEmail": "mona@github.com",
221
+ "branchName": "fix/header-layout",
222
+ "parentShas": ["abc1234567890def1234567890abcdef12345678"],
223
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/fab3456789012bcd3456789012fabcde34567890",
224
+ "htmlUrl": "https://github.com/octocat/webapp/commit/fab3456789012bcd3456789012fabcde34567890",
225
+ "verified": false,
226
+ "createdAt": "2024-12-09T10:00:00Z",
227
+ "updatedAt": "2024-12-09T10:00:00Z"
228
+ },
229
+ {
230
+ "id": 6,
231
+ "repoId": 1,
232
+ "sha": "eee4567890123def4567890123abcdef45678901",
233
+ "nodeId": "C_kwDOBcom06",
234
+ "message": "docs: update README with setup instructions",
235
+ "authorLogin": "hubot",
236
+ "authorName": "Hubot",
237
+ "authorEmail": "hubot@github.com",
238
+ "committerLogin": "hubot",
239
+ "committerName": "Hubot",
240
+ "committerEmail": "hubot@github.com",
241
+ "branchName": "main",
242
+ "parentShas": ["cde3456789012abc3456789012defabc34567890"],
243
+ "treeUrl": "https://api.github.com/repos/octocat/webapp/git/trees/eee4567890123def4567890123abcdef45678901",
244
+ "htmlUrl": "https://github.com/octocat/webapp/commit/eee4567890123def4567890123abcdef45678901",
245
+ "verified": false,
246
+ "createdAt": "2024-12-10T16:30:00Z",
247
+ "updatedAt": "2024-12-10T16:30:00Z"
248
+ }
249
+ ],
250
+ "labels": [
251
+ {
252
+ "id": 1, "repoId": 1, "nodeId": "LA_kwDOBlab01", "name": "bug", "description": "Something isn't working", "color": "d73a4a", "isDefault": true, "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
253
+ },
254
+ {
255
+ "id": 2, "repoId": 1, "nodeId": "LA_kwDOBlab02", "name": "enhancement", "description": "New feature or request", "color": "a2eeef", "isDefault": true, "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
256
+ },
257
+ {
258
+ "id": 3, "repoId": 1, "nodeId": "LA_kwDOBlab03", "name": "documentation", "description": "Improvements or additions to documentation", "color": "0075ca", "isDefault": true, "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
259
+ },
260
+ {
261
+ "id": 4, "repoId": 1, "nodeId": "LA_kwDOBlab04", "name": "good first issue", "description": "Good for newcomers", "color": "7057ff", "isDefault": true, "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
262
+ },
263
+ {
264
+ "id": 5, "repoId": 1, "nodeId": "LA_kwDOBlab05", "name": "help wanted", "description": "Extra attention is needed", "color": "008672", "isDefault": true, "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
265
+ },
266
+ {
267
+ "id": 6, "repoId": 1, "nodeId": "LA_kwDOBlab06", "name": "priority: high", "description": "High priority issue", "color": "e11d48", "isDefault": false, "createdAt": "2024-02-10T10:00:00Z", "updatedAt": "2024-02-10T10:00:00Z"
268
+ }
269
+ ],
270
+ "issues": [
271
+ {
272
+ "id": 1,
273
+ "repoId": 1,
274
+ "nodeId": "I_kwDOBiss01",
275
+ "number": 1,
276
+ "title": "Add dark mode support",
277
+ "body": "## Description\n\nUsers have requested dark mode support for the web application. This should include:\n\n- A toggle in the settings page\n- CSS variables for theme colors\n- Persistent preference via localStorage\n\n## Acceptance criteria\n\n- [ ] Theme toggle works\n- [ ] All pages render correctly in dark mode\n- [ ] Preference persists across sessions",
278
+ "state": "open",
279
+ "stateReason": null,
280
+ "locked": false,
281
+ "assignees": ["octocat"],
282
+ "labels": ["enhancement"],
283
+ "milestone": null,
284
+ "authorLogin": "mona",
285
+ "closedAt": null,
286
+ "closedBy": null,
287
+ "htmlUrl": "https://github.com/octocat/webapp/issues/1",
288
+ "isPullRequest": false,
289
+ "reactions": { "totalCount": 5, "plusOne": 3, "minusOne": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 },
290
+ "createdAt": "2024-10-15T09:00:00Z",
291
+ "updatedAt": "2024-11-20T14:00:00Z"
292
+ },
293
+ {
294
+ "id": 2,
295
+ "repoId": 1,
296
+ "nodeId": "I_kwDOBiss02",
297
+ "number": 2,
298
+ "title": "Login page crashes on empty email",
299
+ "body": "## Bug report\n\nWhen submitting the login form with an empty email field, the page crashes with an unhandled TypeError.\n\n## Steps to reproduce\n\n1. Navigate to /login\n2. Leave email field empty\n3. Click \"Sign In\"\n4. Page crashes\n\n## Expected behavior\n\nForm validation should prevent submission with empty fields.\n\n## Environment\n\n- Browser: Chrome 120\n- OS: macOS 14.1",
300
+ "state": "open",
301
+ "stateReason": null,
302
+ "locked": false,
303
+ "assignees": ["octocat"],
304
+ "labels": ["bug", "priority: high"],
305
+ "milestone": null,
306
+ "authorLogin": "hubot",
307
+ "closedAt": null,
308
+ "closedBy": null,
309
+ "htmlUrl": "https://github.com/octocat/webapp/issues/2",
310
+ "isPullRequest": false,
311
+ "reactions": { "totalCount": 2, "plusOne": 2, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
312
+ "createdAt": "2024-11-02T11:30:00Z",
313
+ "updatedAt": "2024-11-10T16:00:00Z"
314
+ },
315
+ {
316
+ "id": 3,
317
+ "repoId": 1,
318
+ "nodeId": "I_kwDOBiss03",
319
+ "number": 3,
320
+ "title": "Improve API documentation",
321
+ "body": "The current API documentation is sparse. We need:\n\n- OpenAPI/Swagger spec for all endpoints\n- Example requests and responses\n- Authentication flow documentation",
322
+ "state": "open",
323
+ "stateReason": null,
324
+ "locked": false,
325
+ "assignees": [],
326
+ "labels": ["documentation", "good first issue"],
327
+ "milestone": null,
328
+ "authorLogin": "mona",
329
+ "closedAt": null,
330
+ "closedBy": null,
331
+ "htmlUrl": "https://github.com/octocat/webapp/issues/3",
332
+ "isPullRequest": false,
333
+ "reactions": { "totalCount": 1, "plusOne": 1, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
334
+ "createdAt": "2024-11-15T13:45:00Z",
335
+ "updatedAt": "2024-11-15T13:45:00Z"
336
+ },
337
+ {
338
+ "id": 4,
339
+ "repoId": 1,
340
+ "nodeId": "I_kwDOBiss04",
341
+ "number": 4,
342
+ "title": "Add unit tests for auth module",
343
+ "body": "The authentication module currently has no unit tests. We need tests for:\n\n- Login flow\n- Token refresh\n- Logout\n- Session management",
344
+ "state": "open",
345
+ "stateReason": null,
346
+ "locked": false,
347
+ "assignees": ["hubot"],
348
+ "labels": ["enhancement"],
349
+ "milestone": null,
350
+ "authorLogin": "octocat",
351
+ "closedAt": null,
352
+ "closedBy": null,
353
+ "htmlUrl": "https://github.com/octocat/webapp/issues/4",
354
+ "isPullRequest": false,
355
+ "reactions": { "totalCount": 0, "plusOne": 0, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
356
+ "createdAt": "2024-11-25T10:00:00Z",
357
+ "updatedAt": "2024-11-25T10:00:00Z"
358
+ },
359
+ {
360
+ "id": 5,
361
+ "repoId": 1,
362
+ "nodeId": "I_kwDOBiss05",
363
+ "number": 5,
364
+ "title": "Upgrade React to v19",
365
+ "body": "React 19 has been released. We should upgrade and take advantage of new features like:\n\n- Server Components\n- Actions\n- New hooks\n\nThis is a tracking issue for the upgrade.",
366
+ "state": "closed",
367
+ "stateReason": "completed",
368
+ "locked": false,
369
+ "assignees": ["mona"],
370
+ "labels": ["enhancement"],
371
+ "milestone": null,
372
+ "authorLogin": "octocat",
373
+ "closedAt": "2024-12-05T09:00:00Z",
374
+ "closedBy": "mona",
375
+ "htmlUrl": "https://github.com/octocat/webapp/issues/5",
376
+ "isPullRequest": false,
377
+ "reactions": { "totalCount": 3, "plusOne": 1, "minusOne": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 },
378
+ "createdAt": "2024-11-28T08:00:00Z",
379
+ "updatedAt": "2024-12-05T09:00:00Z"
380
+ },
381
+ {
382
+ "id": 6,
383
+ "repoId": 1,
384
+ "nodeId": "I_kwDOBiss06",
385
+ "number": 6,
386
+ "title": "Implement OAuth2 login",
387
+ "body": null,
388
+ "state": "open",
389
+ "stateReason": null,
390
+ "locked": false,
391
+ "assignees": ["octocat"],
392
+ "labels": ["enhancement"],
393
+ "milestone": null,
394
+ "authorLogin": "octocat",
395
+ "closedAt": null,
396
+ "closedBy": null,
397
+ "htmlUrl": "https://github.com/octocat/webapp/pull/6",
398
+ "isPullRequest": true,
399
+ "reactions": { "totalCount": 0, "plusOne": 0, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
400
+ "createdAt": "2024-12-08T14:30:00Z",
401
+ "updatedAt": "2024-12-08T14:30:00Z"
402
+ },
403
+ {
404
+ "id": 7,
405
+ "repoId": 1,
406
+ "nodeId": "I_kwDOBiss07",
407
+ "number": 7,
408
+ "title": "Fix header responsive layout",
409
+ "body": null,
410
+ "state": "open",
411
+ "stateReason": null,
412
+ "locked": false,
413
+ "assignees": ["mona"],
414
+ "labels": ["bug"],
415
+ "milestone": null,
416
+ "authorLogin": "mona",
417
+ "closedAt": null,
418
+ "closedBy": null,
419
+ "htmlUrl": "https://github.com/octocat/webapp/pull/7",
420
+ "isPullRequest": true,
421
+ "reactions": { "totalCount": 0, "plusOne": 0, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
422
+ "createdAt": "2024-12-09T10:30:00Z",
423
+ "updatedAt": "2024-12-09T10:30:00Z"
424
+ }
425
+ ],
426
+ "pullRequests": [
427
+ {
428
+ "id": 1,
429
+ "repoId": 1,
430
+ "nodeId": "PR_kwDOBpr001",
431
+ "number": 6,
432
+ "title": "Implement OAuth2 login",
433
+ "body": "## Summary\n\nImplements OAuth2 login flow with GitHub as the identity provider.\n\n## Changes\n\n- Added OAuth2 client configuration\n- Login redirect and callback handling\n- Token storage and refresh logic\n- Session management\n\nCloses #4 (partially)",
434
+ "state": "open",
435
+ "locked": false,
436
+ "authorLogin": "octocat",
437
+ "assignees": ["octocat"],
438
+ "labels": ["enhancement"],
439
+ "milestone": null,
440
+ "headRef": "feature/auth",
441
+ "headSha": "def2345678901abc2345678901defabc23456789",
442
+ "baseRef": "main",
443
+ "baseSha": "abc1234567890def1234567890abcdef12345678",
444
+ "merged": false,
445
+ "mergeable": true,
446
+ "mergedAt": null,
447
+ "mergedBy": null,
448
+ "mergeCommitSha": null,
449
+ "draft": false,
450
+ "htmlUrl": "https://github.com/octocat/webapp/pull/6",
451
+ "diffUrl": "https://github.com/octocat/webapp/pull/6.diff",
452
+ "patchUrl": "https://github.com/octocat/webapp/pull/6.patch",
453
+ "additions": 245,
454
+ "deletions": 12,
455
+ "changedFiles": 8,
456
+ "commits": 1,
457
+ "comments": 0,
458
+ "reviewComments": 0,
459
+ "maintainerCanModify": true,
460
+ "closedAt": null,
461
+ "requestedReviewers": ["hubot"],
462
+ "autoMerge": null,
463
+ "createdAt": "2024-12-08T14:30:00Z",
464
+ "updatedAt": "2024-12-08T14:30:00Z"
465
+ },
466
+ {
467
+ "id": 2,
468
+ "repoId": 1,
469
+ "nodeId": "PR_kwDOBpr002",
470
+ "number": 7,
471
+ "title": "Fix header responsive layout",
472
+ "body": "## Summary\n\nFixes the header alignment issue on mobile devices.\n\n## Changes\n\n- Updated CSS grid layout for header\n- Fixed padding values for mobile breakpoints\n- Added media queries for tablet viewports\n\nFixes #2 (partially)",
473
+ "state": "open",
474
+ "locked": false,
475
+ "authorLogin": "mona",
476
+ "assignees": ["mona"],
477
+ "labels": ["bug"],
478
+ "milestone": null,
479
+ "headRef": "fix/header-layout",
480
+ "headSha": "fab3456789012bcd3456789012fabcde34567890",
481
+ "baseRef": "main",
482
+ "baseSha": "abc1234567890def1234567890abcdef12345678",
483
+ "merged": false,
484
+ "mergeable": true,
485
+ "mergedAt": null,
486
+ "mergedBy": null,
487
+ "mergeCommitSha": null,
488
+ "draft": false,
489
+ "htmlUrl": "https://github.com/octocat/webapp/pull/7",
490
+ "diffUrl": "https://github.com/octocat/webapp/pull/7.diff",
491
+ "patchUrl": "https://github.com/octocat/webapp/pull/7.patch",
492
+ "additions": 35,
493
+ "deletions": 18,
494
+ "changedFiles": 3,
495
+ "commits": 1,
496
+ "comments": 0,
497
+ "reviewComments": 0,
498
+ "maintainerCanModify": true,
499
+ "closedAt": null,
500
+ "requestedReviewers": ["octocat"],
501
+ "autoMerge": null,
502
+ "createdAt": "2024-12-09T10:30:00Z",
503
+ "updatedAt": "2024-12-09T10:30:00Z"
504
+ }
505
+ ],
506
+ "comments": [
507
+ {
508
+ "id": 1,
509
+ "repoId": 1,
510
+ "nodeId": "IC_kwDOBcmt01",
511
+ "issueNumber": 1,
512
+ "body": "I'd love to see this! Dark mode would be great for late-night coding sessions.",
513
+ "authorLogin": "hubot",
514
+ "htmlUrl": "https://github.com/octocat/webapp/issues/1#issuecomment-1001",
515
+ "authorAssociation": "COLLABORATOR",
516
+ "reactions": { "totalCount": 2, "plusOne": 2, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
517
+ "createdAt": "2024-10-16T08:00:00Z",
518
+ "updatedAt": "2024-10-16T08:00:00Z"
519
+ },
520
+ {
521
+ "id": 2,
522
+ "repoId": 1,
523
+ "nodeId": "IC_kwDOBcmt02",
524
+ "issueNumber": 2,
525
+ "body": "I can reproduce this on Firefox as well. Looks like the email validation is missing a null check.",
526
+ "authorLogin": "mona",
527
+ "htmlUrl": "https://github.com/octocat/webapp/issues/2#issuecomment-1002",
528
+ "authorAssociation": "CONTRIBUTOR",
529
+ "reactions": { "totalCount": 1, "plusOne": 1, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
530
+ "createdAt": "2024-11-03T09:15:00Z",
531
+ "updatedAt": "2024-11-03T09:15:00Z"
532
+ },
533
+ {
534
+ "id": 3,
535
+ "repoId": 1,
536
+ "nodeId": "IC_kwDOBcmt03",
537
+ "issueNumber": 2,
538
+ "body": "Thanks @mona, I'll look into this. It's likely in the `validateEmail` function in `src/utils/validation.ts`.",
539
+ "authorLogin": "octocat",
540
+ "htmlUrl": "https://github.com/octocat/webapp/issues/2#issuecomment-1003",
541
+ "authorAssociation": "OWNER",
542
+ "reactions": { "totalCount": 0, "plusOne": 0, "minusOne": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 },
543
+ "createdAt": "2024-11-04T10:00:00Z",
544
+ "updatedAt": "2024-11-04T10:00:00Z"
545
+ }
546
+ ],
547
+ "files": [
548
+ {
549
+ "id": 1, "repoId": 1, "branchName": "main", "path": "README.md",
550
+ "content": "# WebApp\n\nA modern web application built with TypeScript and React.\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\n## Features\n\n- User authentication\n- Dashboard\n- Settings page\n\n## License\n\nMIT\n",
551
+ "encoding": "utf-8", "sha": "a1b2c3d4e5f6789012345678901234567890abcd", "size": 218, "type": "file",
552
+ "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-12-10T16:30:00Z"
553
+ },
554
+ {
555
+ "id": 2, "repoId": 1, "branchName": "main", "path": "package.json",
556
+ "content": "{\n \"name\": \"webapp\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"scripts\": {\n \"dev\": \"next dev\",\n \"build\": \"next build\",\n \"start\": \"next start\",\n \"lint\": \"next lint\",\n \"test\": \"vitest\"\n },\n \"dependencies\": {\n \"next\": \"^14.0.0\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\"\n },\n \"devDependencies\": {\n \"typescript\": \"^5.3.0\",\n \"vitest\": \"^1.0.0\"\n }\n}",
557
+ "encoding": "utf-8", "sha": "b2c3d4e5f6789012345678901234567890abcdef", "size": 380, "type": "file",
558
+ "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-06-10T14:30:00Z"
559
+ },
560
+ {
561
+ "id": 3, "repoId": 1, "branchName": "main", "path": "src/index.tsx",
562
+ "content": "import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { App } from './App';\n\nconst root = ReactDOM.createRoot(\n document.getElementById('root') as HTMLElement\n);\n\nroot.render(\n <React.StrictMode>\n <App />\n </React.StrictMode>\n);\n",
563
+ "encoding": "utf-8", "sha": "c3d4e5f6789012345678901234567890abcdef01", "size": 256, "type": "file",
564
+ "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-15T10:00:00Z"
565
+ },
566
+ {
567
+ "id": 4, "repoId": 1, "branchName": "main", "path": "src/App.tsx",
568
+ "content": "import React from 'react';\nimport { Header } from './components/Header';\nimport { Dashboard } from './pages/Dashboard';\n\nexport function App() {\n return (\n <div className=\"app\">\n <Header />\n <main>\n <Dashboard />\n </main>\n </div>\n );\n}\n",
569
+ "encoding": "utf-8", "sha": "d4e5f6789012345678901234567890abcdef0123", "size": 280, "type": "file",
570
+ "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-06-10T14:30:00Z"
571
+ },
572
+ {
573
+ "id": 5, "repoId": 1, "branchName": "main", "path": "src/components/Header.tsx",
574
+ "content": "import React from 'react';\n\nexport function Header() {\n return (\n <header className=\"header\">\n <h1>WebApp</h1>\n <nav>\n <a href=\"/dashboard\">Dashboard</a>\n <a href=\"/settings\">Settings</a>\n </nav>\n </header>\n );\n}\n",
575
+ "encoding": "utf-8", "sha": "e5f6789012345678901234567890abcdef012345", "size": 260, "type": "file",
576
+ "createdAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-09-22T08:15:00Z"
577
+ },
578
+ {
579
+ "id": 6, "repoId": 1, "branchName": "feature/auth", "path": "README.md",
580
+ "content": "# WebApp\n\nA modern web application built with TypeScript and React.\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\n## Features\n\n- User authentication\n- Dashboard\n- Settings page\n\n## License\n\nMIT\n",
581
+ "encoding": "utf-8", "sha": "a1b2c3d4e5f6789012345678901234567890abcd", "size": 218, "type": "file",
582
+ "createdAt": "2024-12-01T09:00:00Z", "updatedAt": "2024-12-01T09:00:00Z"
583
+ },
584
+ {
585
+ "id": 7, "repoId": 1, "branchName": "feature/auth", "path": "package.json",
586
+ "content": "{\n \"name\": \"webapp\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"scripts\": {\n \"dev\": \"next dev\",\n \"build\": \"next build\",\n \"start\": \"next start\",\n \"lint\": \"next lint\",\n \"test\": \"vitest\"\n },\n \"dependencies\": {\n \"next\": \"^14.0.0\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\"\n },\n \"devDependencies\": {\n \"typescript\": \"^5.3.0\",\n \"vitest\": \"^1.0.0\"\n }\n}",
587
+ "encoding": "utf-8", "sha": "b2c3d4e5f6789012345678901234567890abcdef", "size": 380, "type": "file",
588
+ "createdAt": "2024-12-01T09:00:00Z", "updatedAt": "2024-12-01T09:00:00Z"
589
+ },
590
+ {
591
+ "id": 8, "repoId": 1, "branchName": "feature/auth", "path": "src/auth/oauth.ts",
592
+ "content": "export interface OAuthConfig {\n clientId: string;\n clientSecret: string;\n redirectUri: string;\n scope: string[];\n}\n\nexport async function initiateOAuthFlow(config: OAuthConfig): Promise<string> {\n const params = new URLSearchParams({\n client_id: config.clientId,\n redirect_uri: config.redirectUri,\n scope: config.scope.join(' '),\n response_type: 'code',\n });\n return `https://github.com/login/oauth/authorize?${params.toString()}`;\n}\n\nexport async function exchangeCodeForToken(\n code: string,\n config: OAuthConfig,\n): Promise<{ access_token: string; token_type: string }> {\n // Exchange authorization code for access token\n return { access_token: 'mock_token', token_type: 'bearer' };\n}\n",
593
+ "encoding": "utf-8", "sha": "f6789012345678901234567890abcdef01234567", "size": 620, "type": "file",
594
+ "createdAt": "2024-12-08T14:00:00Z", "updatedAt": "2024-12-08T14:00:00Z"
595
+ },
596
+ {
597
+ "id": 9, "repoId": 1, "branchName": "fix/header-layout", "path": "README.md",
598
+ "content": "# WebApp\n\nA modern web application built with TypeScript and React.\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\n## Features\n\n- User authentication\n- Dashboard\n- Settings page\n\n## License\n\nMIT\n",
599
+ "encoding": "utf-8", "sha": "a1b2c3d4e5f6789012345678901234567890abcd", "size": 218, "type": "file",
600
+ "createdAt": "2024-12-05T11:00:00Z", "updatedAt": "2024-12-05T11:00:00Z"
601
+ },
602
+ {
603
+ "id": 10, "repoId": 1, "branchName": "fix/header-layout", "path": "src/components/Header.tsx",
604
+ "content": "import React from 'react';\n\nexport function Header() {\n return (\n <header className=\"header\" style={{ display: 'flex', justifyContent: 'space-between', padding: '1rem' }}>\n <h1>WebApp</h1>\n <nav style={{ display: 'flex', gap: '1rem', alignItems: 'center' }}>\n <a href=\"/dashboard\">Dashboard</a>\n <a href=\"/settings\">Settings</a>\n </nav>\n </header>\n );\n}\n",
605
+ "encoding": "utf-8", "sha": "1234567890abcdef1234567890abcdef12345678", "size": 380, "type": "file",
606
+ "createdAt": "2024-12-09T10:00:00Z", "updatedAt": "2024-12-09T10:00:00Z"
607
+ }
608
+ ],
609
+ "workflows": [
610
+ {
611
+ "id": 1,
612
+ "repoId": 1,
613
+ "nodeId": "W_kwDOBwf001",
614
+ "name": "CI",
615
+ "path": ".github/workflows/ci.yml",
616
+ "state": "active",
617
+ "htmlUrl": "https://github.com/octocat/webapp/actions/workflows/ci.yml",
618
+ "badgeUrl": "https://github.com/octocat/webapp/workflows/CI/badge.svg",
619
+ "createdAt": "2024-01-15T10:00:00Z",
620
+ "updatedAt": "2024-01-15T10:00:00Z"
621
+ }
622
+ ],
623
+ "workflowRuns": [
624
+ {
625
+ "id": 1,
626
+ "repoId": 1,
627
+ "workflowId": 1,
628
+ "nodeId": "WR_kwDOBwr001",
629
+ "name": "CI",
630
+ "headBranch": "main",
631
+ "headSha": "abc1234567890def1234567890abcdef12345678",
632
+ "runNumber": 42,
633
+ "event": "push",
634
+ "status": "completed",
635
+ "conclusion": "success",
636
+ "htmlUrl": "https://github.com/octocat/webapp/actions/runs/1",
637
+ "triggeringActorLogin": "octocat",
638
+ "runAttempt": 1,
639
+ "runStartedAt": "2024-12-10T16:30:00Z",
640
+ "createdAt": "2024-12-10T16:30:00Z",
641
+ "updatedAt": "2024-12-10T16:35:00Z"
642
+ }
643
+ ]
644
+ }