@task-shepherd/agent 1.0.6 → 1.0.8

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 (80) hide show
  1. package/dist/cli/index.js +1054 -86
  2. package/dist/index.js +1 -1
  3. package/dist/meta.json +358 -67
  4. package/package.json +2 -2
  5. package/shared/dist/index.d.ts +15 -0
  6. package/shared/dist/index.js +12 -0
  7. package/shared/dist/mcp-client/client.d.ts +18 -0
  8. package/shared/dist/mcp-client/client.js +49 -0
  9. package/shared/dist/mcp-client/index.d.ts +7 -0
  10. package/shared/dist/mcp-client/index.js +7 -0
  11. package/shared/dist/mcp-client/types.d.ts +822 -0
  12. package/shared/dist/mcp-client/types.js +193 -0
  13. package/shared/dist/schema/index.d.ts +189 -0
  14. package/shared/dist/schema/index.js +142 -0
  15. package/shared/dist/schema/mcp-mappings.d.ts +50 -0
  16. package/shared/dist/schema/mcp-mappings.js +563 -0
  17. package/shared/dist/schema/validation.d.ts +91 -0
  18. package/shared/dist/schema/validation.js +282 -0
  19. package/shared/dist/work-queue/index.d.ts +7 -0
  20. package/shared/dist/work-queue/index.js +7 -0
  21. package/shared/dist/work-queue/types.d.ts +147 -0
  22. package/shared/dist/work-queue/types.js +4 -0
  23. package/shared/dist/work-queue/validation.d.ts +24 -0
  24. package/shared/dist/work-queue/validation.js +160 -0
  25. package/shared/dist/workspace/constants.d.ts +148 -0
  26. package/shared/dist/workspace/constants.js +432 -0
  27. package/shared/dist/workspace/index.d.ts +10 -0
  28. package/shared/dist/workspace/index.js +10 -0
  29. package/shared/dist/workspace/types.d.ts +477 -0
  30. package/shared/dist/workspace/types.js +9 -0
  31. package/shared/dist/workspace/utils.d.ts +79 -0
  32. package/shared/dist/workspace/utils.js +334 -0
  33. package/shared/dist/workspace/validation.d.ts +1312 -0
  34. package/shared/dist/workspace/validation.js +467 -0
  35. package/shared/graphql/generated-internal.ts +3629 -0
  36. package/shared/graphql/generated-public.ts +773 -0
  37. package/shared/graphql/generated.d.ts +7456 -0
  38. package/shared/graphql/generated.js +11799 -0
  39. package/shared/graphql/generated.ts +27569 -0
  40. package/shared/graphql/generated.ts.backup +16531 -0
  41. package/shared/graphql/generated.ts.working +4828 -0
  42. package/shared/graphql/introspection-internal.json +15845 -0
  43. package/shared/graphql/introspection-public.json +9658 -0
  44. package/shared/graphql/introspection.json +44263 -0
  45. package/shared/graphql/operations/ai-service.graphql +131 -0
  46. package/shared/graphql/operations/ai-work-queue.graphql +31 -0
  47. package/shared/graphql/operations/analytics.graphql +283 -0
  48. package/shared/graphql/operations/analytics.ts +3 -0
  49. package/shared/graphql/operations/api-keys.graphql +126 -0
  50. package/shared/graphql/operations/attachments.graphql +53 -0
  51. package/shared/graphql/operations/attachments.ts +39 -0
  52. package/shared/graphql/operations/audit.graphql +46 -0
  53. package/shared/graphql/operations/auth.graphql +83 -0
  54. package/shared/graphql/operations/claude-usage.graphql +178 -0
  55. package/shared/graphql/operations/comments.graphql +4 -0
  56. package/shared/graphql/operations/dashboard.graphql +29 -0
  57. package/shared/graphql/operations/development-plans.graphql +408 -0
  58. package/shared/graphql/operations/early-access.graphql.disabled +21 -0
  59. package/shared/graphql/operations/errors.graphql.disabled +83 -0
  60. package/shared/graphql/operations/internal-api.graphql +931 -0
  61. package/shared/graphql/operations/notifications.graphql +4 -0
  62. package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
  63. package/shared/graphql/operations/performance.graphql +4 -0
  64. package/shared/graphql/operations/project-reviews.graphql +610 -0
  65. package/shared/graphql/operations/projects.graphql +98 -0
  66. package/shared/graphql/operations/settings.graphql +4 -0
  67. package/shared/graphql/operations/stories.graphql +113 -0
  68. package/shared/graphql/operations/subscriptions.graphql +235 -0
  69. package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
  70. package/shared/graphql/operations/tasks.graphql +257 -0
  71. package/shared/graphql/operations/team.graphql +111 -0
  72. package/shared/graphql/operations/team.ts +226 -0
  73. package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
  74. package/shared/graphql/operations/work-queue.graphql +210 -0
  75. package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
  76. package/shared/graphql/operations/workspace.graphql +146 -0
  77. package/shared/graphql/schema-internal.graphql +1085 -0
  78. package/shared/graphql/schema-public.graphql +709 -0
  79. package/shared/graphql/schema.graphql +3473 -0
  80. package/shared/package.json +23 -0
@@ -0,0 +1,4 @@
1
+ # Notifications Operations
2
+ # Note: Notifications system is temporarily disabled until backend is verified
3
+
4
+ # TODO: Enable when notifications backend support is verified
@@ -0,0 +1,32 @@
1
+ # Organization Invites Operations
2
+ # Used by www app for invite acceptance flow
3
+
4
+ query GetOrganizationInviteByToken($token: String!) {
5
+ getOrganizationInviteByToken(token: $token) {
6
+ id
7
+ email
8
+ role
9
+ message
10
+ organizationName
11
+ status
12
+ expiresAt
13
+ createdAt
14
+ }
15
+ }
16
+
17
+ mutation AcceptOrganizationInvite($input: AcceptOrganizationInviteInput!) {
18
+ acceptOrganizationInvite(input: $input) {
19
+ success
20
+ message
21
+ loginUrl
22
+ organizationId
23
+ }
24
+ }
25
+
26
+ query ValidateSubdomain($subdomain: String!) {
27
+ validateSubdomain(subdomain: $subdomain) {
28
+ isValid
29
+ error
30
+ suggestions
31
+ }
32
+ }
@@ -0,0 +1,4 @@
1
+ # Performance and Monitoring Operations
2
+ # Note: Performance monitoring is temporarily disabled until backend is verified
3
+
4
+ # TODO: Enable when performance monitoring backend support is verified
@@ -0,0 +1,610 @@
1
+ # Project Review Operations
2
+
3
+ query GetApplicationStatus($reviewId: String!) {
4
+ reviewApplicationStatus(reviewId: $reviewId) {
5
+ reviewId
6
+ status
7
+ progress {
8
+ currentStep
9
+ stage
10
+ percentage
11
+ filesModified
12
+ estimatedCompletion
13
+ requirementsProgressJson
14
+ }
15
+ errors
16
+ }
17
+ }
18
+
19
+ query ProjectReviews {
20
+ projectReviews {
21
+ id
22
+ project {
23
+ id
24
+ name
25
+ }
26
+ status
27
+ version
28
+ reviewData {
29
+ analysis {
30
+ strengths
31
+ weaknesses
32
+ risks
33
+ opportunities
34
+ }
35
+ scores {
36
+ completeness
37
+ clarity
38
+ feasibility
39
+ overall
40
+ }
41
+ suggestedProductRequirements {
42
+ explicitRequirements {
43
+ requirement
44
+ source_text
45
+ confidence
46
+ }
47
+ inferredFunctionalRequirements {
48
+ requirement
49
+ rationale
50
+ domain_pattern
51
+ priority
52
+ }
53
+ suggestedNonFunctionalRequirements {
54
+ category
55
+ requirement
56
+ industry_standard
57
+ customization_needed
58
+ }
59
+ requirementsClarificationQuestions {
60
+ category
61
+ question
62
+ impact_if_unclear
63
+ suggested_default
64
+ }
65
+ }
66
+ }
67
+ suggestions {
68
+ requirements {
69
+ id
70
+ type
71
+ current
72
+ suggested
73
+ rationale
74
+ priority
75
+ }
76
+ architecture {
77
+ component
78
+ suggestion
79
+ impact
80
+ }
81
+ risks {
82
+ risk
83
+ mitigation
84
+ severity
85
+ }
86
+ }
87
+ reviewerType
88
+ reviewerId
89
+ approvedAt
90
+ approvedByUser {
91
+ id
92
+ email
93
+ }
94
+ createdAt
95
+ updatedAt
96
+ }
97
+ }
98
+
99
+ query GetProjectReviews {
100
+ projectReviews {
101
+ id
102
+ project {
103
+ id
104
+ name
105
+ }
106
+ status
107
+ version
108
+ reviewData {
109
+ analysis {
110
+ strengths
111
+ weaknesses
112
+ risks
113
+ opportunities
114
+ }
115
+ scores {
116
+ completeness
117
+ clarity
118
+ feasibility
119
+ overall
120
+ }
121
+ suggestedProductRequirements {
122
+ explicitRequirements {
123
+ requirement
124
+ source_text
125
+ confidence
126
+ }
127
+ inferredFunctionalRequirements {
128
+ requirement
129
+ rationale
130
+ domain_pattern
131
+ priority
132
+ }
133
+ suggestedNonFunctionalRequirements {
134
+ category
135
+ requirement
136
+ industry_standard
137
+ customization_needed
138
+ }
139
+ requirementsClarificationQuestions {
140
+ category
141
+ question
142
+ impact_if_unclear
143
+ suggested_default
144
+ }
145
+ }
146
+ }
147
+ suggestions {
148
+ requirements {
149
+ id
150
+ type
151
+ current
152
+ suggested
153
+ rationale
154
+ priority
155
+ }
156
+ architecture {
157
+ component
158
+ suggestion
159
+ impact
160
+ }
161
+ risks {
162
+ risk
163
+ mitigation
164
+ severity
165
+ }
166
+ }
167
+ reviewerType
168
+ reviewerId
169
+ approvedAt
170
+ approvedByUser {
171
+ id
172
+ email
173
+ }
174
+ createdAt
175
+ updatedAt
176
+ }
177
+ }
178
+
179
+ query ProjectReview($id: String!) {
180
+ projectReview(id: $id) {
181
+ id
182
+ project {
183
+ id
184
+ name
185
+ }
186
+ status
187
+ version
188
+ reviewData {
189
+ analysis {
190
+ strengths
191
+ weaknesses
192
+ risks
193
+ opportunities
194
+ }
195
+ scores {
196
+ completeness
197
+ clarity
198
+ feasibility
199
+ overall
200
+ }
201
+ suggestedProductRequirements {
202
+ explicitRequirements {
203
+ requirement
204
+ source_text
205
+ confidence
206
+ }
207
+ inferredFunctionalRequirements {
208
+ requirement
209
+ rationale
210
+ domain_pattern
211
+ priority
212
+ }
213
+ suggestedNonFunctionalRequirements {
214
+ category
215
+ requirement
216
+ industry_standard
217
+ customization_needed
218
+ }
219
+ requirementsClarificationQuestions {
220
+ category
221
+ question
222
+ impact_if_unclear
223
+ suggested_default
224
+ }
225
+ }
226
+ }
227
+ suggestions {
228
+ requirements {
229
+ id
230
+ type
231
+ current
232
+ suggested
233
+ rationale
234
+ priority
235
+ }
236
+ architecture {
237
+ component
238
+ suggestion
239
+ impact
240
+ }
241
+ risks {
242
+ risk
243
+ mitigation
244
+ severity
245
+ }
246
+ }
247
+ reviewerType
248
+ reviewerId
249
+ approvedAt
250
+ approvedByUser {
251
+ id
252
+ email
253
+ }
254
+ createdAt
255
+ updatedAt
256
+ }
257
+ }
258
+
259
+ query GetProjectReview($id: String!) {
260
+ projectReview(id: $id) {
261
+ id
262
+ project {
263
+ id
264
+ name
265
+ description
266
+ }
267
+ status
268
+ version
269
+ reviewData {
270
+ executiveSummary
271
+ analysis {
272
+ strengths
273
+ weaknesses
274
+ risks
275
+ opportunities
276
+ }
277
+ scores {
278
+ completeness
279
+ clarity
280
+ feasibility
281
+ overall
282
+ }
283
+ suggestedProductRequirements {
284
+ explicitRequirements {
285
+ requirement
286
+ source_text
287
+ confidence
288
+ }
289
+ inferredFunctionalRequirements {
290
+ requirement
291
+ rationale
292
+ domain_pattern
293
+ priority
294
+ }
295
+ suggestedNonFunctionalRequirements {
296
+ category
297
+ requirement
298
+ industry_standard
299
+ customization_needed
300
+ }
301
+ requirementsClarificationQuestions {
302
+ category
303
+ question
304
+ impact_if_unclear
305
+ suggested_default
306
+ }
307
+ }
308
+ featureGapAnalysis {
309
+ missingCoreFeatures {
310
+ feature
311
+ priority
312
+ rationale
313
+ suggestedApproach
314
+ estimatedEffort
315
+ }
316
+ missingNonFunctionalRequirements {
317
+ requirement
318
+ category
319
+ impact
320
+ recommendation
321
+ }
322
+ }
323
+ }
324
+ suggestions {
325
+ requirements {
326
+ id
327
+ type
328
+ current
329
+ suggested
330
+ rationale
331
+ priority
332
+ }
333
+ architecture {
334
+ component
335
+ suggestion
336
+ impact
337
+ }
338
+ risks {
339
+ risk
340
+ mitigation
341
+ severity
342
+ }
343
+ }
344
+ reviewerType
345
+ reviewerId
346
+ approvedAt
347
+ approvedByUser {
348
+ id
349
+ email
350
+ }
351
+ createdAt
352
+ updatedAt
353
+ }
354
+ }
355
+
356
+ # DISABLED: projectReviewVersions query doesn't exist in schema
357
+ # query ProjectReviewVersions($reviewId: String!) {
358
+ # projectReviewVersions(reviewId: $reviewId) {
359
+ # id
360
+ # project {
361
+ # id
362
+ # name
363
+ # }
364
+ # status
365
+ # version
366
+ # reviewData {
367
+ # scores {
368
+ # overall
369
+ # }
370
+ # }
371
+ # createdAt
372
+ # }
373
+ # }
374
+
375
+ # DISABLED: projectReviewVersions query doesn't exist in schema
376
+ # query GetProjectReviewVersions($reviewId: String!) {
377
+ # projectReviewVersions(reviewId: $reviewId) {
378
+ # id
379
+ # project {
380
+ # id
381
+ # name
382
+ # }
383
+ # status
384
+ # version
385
+ # reviewData {
386
+ # scores {
387
+ # overall
388
+ # }
389
+ # }
390
+ # createdAt
391
+ # }
392
+ # }
393
+
394
+ mutation CreateProjectReview($input: CreateProjectReviewInput!) {
395
+ generateProjectReview(input: $input) {
396
+ id
397
+ project {
398
+ id
399
+ name
400
+ }
401
+ status
402
+ version
403
+ reviewData {
404
+ scores {
405
+ overall
406
+ }
407
+ }
408
+ createdAt
409
+ }
410
+ }
411
+
412
+ mutation ApproveProjectReview($id: String!, $comments: String) {
413
+ approveProjectReview(id: $id, comments: $comments) {
414
+ id
415
+ status
416
+ approvedAt
417
+ approvedByUser {
418
+ id
419
+ email
420
+ }
421
+ }
422
+ }
423
+
424
+
425
+
426
+ mutation RepromptProjectReview($input: RepromptReviewInput!) {
427
+ repromptProjectReview(input: $input) {
428
+ id
429
+ status
430
+ updatedAt
431
+ }
432
+ }
433
+
434
+ mutation ApplyProjectReview($input: ApplyReviewInput!) {
435
+ applyProjectReview(input: $input) {
436
+ id
437
+ status
438
+ workQueueId
439
+ estimatedDuration
440
+ message
441
+ }
442
+ }
443
+
444
+ mutation CancelReviewApplication($reviewId: String!) {
445
+ cancelReviewApplication(reviewId: $reviewId)
446
+ }
447
+
448
+ # Subscription for real-time project review updates
449
+ subscription ProjectReviewUpdated($projectId: String, $reviewId: String) {
450
+ projectReviewUpdated(projectId: $projectId, reviewId: $reviewId) {
451
+ id
452
+ project {
453
+ id
454
+ name
455
+ }
456
+ status
457
+ version
458
+ reviewData {
459
+ analysis {
460
+ strengths
461
+ weaknesses
462
+ risks
463
+ opportunities
464
+ }
465
+ scores {
466
+ completeness
467
+ clarity
468
+ feasibility
469
+ overall
470
+ }
471
+ suggestedProductRequirements {
472
+ explicitRequirements {
473
+ requirement
474
+ source_text
475
+ confidence
476
+ }
477
+ inferredFunctionalRequirements {
478
+ requirement
479
+ rationale
480
+ domain_pattern
481
+ priority
482
+ }
483
+ suggestedNonFunctionalRequirements {
484
+ category
485
+ requirement
486
+ industry_standard
487
+ customization_needed
488
+ }
489
+ requirementsClarificationQuestions {
490
+ category
491
+ question
492
+ impact_if_unclear
493
+ suggested_default
494
+ }
495
+ }
496
+ }
497
+ suggestions {
498
+ requirements {
499
+ id
500
+ type
501
+ current
502
+ suggested
503
+ rationale
504
+ priority
505
+ }
506
+ architecture {
507
+ component
508
+ suggestion
509
+ impact
510
+ }
511
+ risks {
512
+ risk
513
+ mitigation
514
+ severity
515
+ }
516
+ }
517
+ reviewerType
518
+ reviewerId
519
+ approvedAt
520
+ approvedByUser {
521
+ id
522
+ email
523
+ }
524
+ completedAt
525
+ createdAt
526
+ updatedAt
527
+ }
528
+ }
529
+
530
+ # Query all Project Reviews (filter by projectId on client side)
531
+ query GetProjectReviewsByProject {
532
+ projectReviews {
533
+ id
534
+ project {
535
+ id
536
+ name
537
+ }
538
+ status
539
+ version
540
+ reviewData {
541
+ analysis {
542
+ strengths
543
+ weaknesses
544
+ risks
545
+ opportunities
546
+ }
547
+ scores {
548
+ completeness
549
+ clarity
550
+ feasibility
551
+ overall
552
+ }
553
+ suggestedProductRequirements {
554
+ explicitRequirements {
555
+ requirement
556
+ source_text
557
+ confidence
558
+ }
559
+ inferredFunctionalRequirements {
560
+ requirement
561
+ rationale
562
+ domain_pattern
563
+ priority
564
+ }
565
+ suggestedNonFunctionalRequirements {
566
+ category
567
+ requirement
568
+ industry_standard
569
+ customization_needed
570
+ }
571
+ requirementsClarificationQuestions {
572
+ category
573
+ question
574
+ impact_if_unclear
575
+ suggested_default
576
+ }
577
+ }
578
+ }
579
+ suggestions {
580
+ requirements {
581
+ id
582
+ type
583
+ current
584
+ suggested
585
+ rationale
586
+ priority
587
+ }
588
+ architecture {
589
+ component
590
+ suggestion
591
+ impact
592
+ }
593
+ risks {
594
+ risk
595
+ mitigation
596
+ severity
597
+ }
598
+ }
599
+ reviewerType
600
+ reviewerId
601
+ approvedAt
602
+ approvedByUser {
603
+ id
604
+ email
605
+ }
606
+ createdAt
607
+ updatedAt
608
+ }
609
+ }
610
+