@task-shepherd/agent 1.0.8 → 1.0.11

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 +34 -34
  2. package/dist/index.js +1 -1
  3. package/dist/meta.json +7 -7
  4. package/package.json +2 -2
  5. package/shared/dist/index.d.ts +0 -15
  6. package/shared/dist/index.js +0 -12
  7. package/shared/dist/mcp-client/client.d.ts +0 -18
  8. package/shared/dist/mcp-client/client.js +0 -49
  9. package/shared/dist/mcp-client/index.d.ts +0 -7
  10. package/shared/dist/mcp-client/index.js +0 -7
  11. package/shared/dist/mcp-client/types.d.ts +0 -822
  12. package/shared/dist/mcp-client/types.js +0 -193
  13. package/shared/dist/schema/index.d.ts +0 -189
  14. package/shared/dist/schema/index.js +0 -142
  15. package/shared/dist/schema/mcp-mappings.d.ts +0 -50
  16. package/shared/dist/schema/mcp-mappings.js +0 -563
  17. package/shared/dist/schema/validation.d.ts +0 -91
  18. package/shared/dist/schema/validation.js +0 -282
  19. package/shared/dist/work-queue/index.d.ts +0 -7
  20. package/shared/dist/work-queue/index.js +0 -7
  21. package/shared/dist/work-queue/types.d.ts +0 -147
  22. package/shared/dist/work-queue/types.js +0 -4
  23. package/shared/dist/work-queue/validation.d.ts +0 -24
  24. package/shared/dist/work-queue/validation.js +0 -160
  25. package/shared/dist/workspace/constants.d.ts +0 -148
  26. package/shared/dist/workspace/constants.js +0 -432
  27. package/shared/dist/workspace/index.d.ts +0 -10
  28. package/shared/dist/workspace/index.js +0 -10
  29. package/shared/dist/workspace/types.d.ts +0 -477
  30. package/shared/dist/workspace/types.js +0 -9
  31. package/shared/dist/workspace/utils.d.ts +0 -79
  32. package/shared/dist/workspace/utils.js +0 -334
  33. package/shared/dist/workspace/validation.d.ts +0 -1312
  34. package/shared/dist/workspace/validation.js +0 -467
  35. package/shared/graphql/generated-internal.ts +0 -3629
  36. package/shared/graphql/generated-public.ts +0 -773
  37. package/shared/graphql/generated.d.ts +0 -7456
  38. package/shared/graphql/generated.js +0 -11799
  39. package/shared/graphql/generated.ts +0 -27569
  40. package/shared/graphql/generated.ts.backup +0 -16531
  41. package/shared/graphql/generated.ts.working +0 -4828
  42. package/shared/graphql/introspection-internal.json +0 -15845
  43. package/shared/graphql/introspection-public.json +0 -9658
  44. package/shared/graphql/introspection.json +0 -44263
  45. package/shared/graphql/operations/ai-service.graphql +0 -131
  46. package/shared/graphql/operations/ai-work-queue.graphql +0 -31
  47. package/shared/graphql/operations/analytics.graphql +0 -283
  48. package/shared/graphql/operations/analytics.ts +0 -3
  49. package/shared/graphql/operations/api-keys.graphql +0 -126
  50. package/shared/graphql/operations/attachments.graphql +0 -53
  51. package/shared/graphql/operations/attachments.ts +0 -39
  52. package/shared/graphql/operations/audit.graphql +0 -46
  53. package/shared/graphql/operations/auth.graphql +0 -83
  54. package/shared/graphql/operations/claude-usage.graphql +0 -178
  55. package/shared/graphql/operations/comments.graphql +0 -4
  56. package/shared/graphql/operations/dashboard.graphql +0 -29
  57. package/shared/graphql/operations/development-plans.graphql +0 -408
  58. package/shared/graphql/operations/early-access.graphql.disabled +0 -21
  59. package/shared/graphql/operations/errors.graphql.disabled +0 -83
  60. package/shared/graphql/operations/internal-api.graphql +0 -931
  61. package/shared/graphql/operations/notifications.graphql +0 -4
  62. package/shared/graphql/operations/organization-invites.graphql.disabled +0 -32
  63. package/shared/graphql/operations/performance.graphql +0 -4
  64. package/shared/graphql/operations/project-reviews.graphql +0 -610
  65. package/shared/graphql/operations/projects.graphql +0 -98
  66. package/shared/graphql/operations/settings.graphql +0 -4
  67. package/shared/graphql/operations/stories.graphql +0 -113
  68. package/shared/graphql/operations/subscriptions.graphql +0 -235
  69. package/shared/graphql/operations/subscriptions.graphql.disabled +0 -96
  70. package/shared/graphql/operations/tasks.graphql +0 -257
  71. package/shared/graphql/operations/team.graphql +0 -111
  72. package/shared/graphql/operations/team.ts +0 -226
  73. package/shared/graphql/operations/time-tracking.graphql.disabled +0 -96
  74. package/shared/graphql/operations/work-queue.graphql +0 -210
  75. package/shared/graphql/operations/work-queue.graphql.disabled +0 -474
  76. package/shared/graphql/operations/workspace.graphql +0 -146
  77. package/shared/graphql/schema-internal.graphql +0 -1085
  78. package/shared/graphql/schema-public.graphql +0 -709
  79. package/shared/graphql/schema.graphql +0 -3473
  80. package/shared/package.json +0 -23
@@ -1,3473 +0,0 @@
1
- type AIServiceCapabilitiesType {
2
- codeReview: Boolean!
3
- developmentPlanning: Boolean!
4
- maxConcurrentTasks: Int!
5
- projectReview: Boolean!
6
- storyImplementation: Boolean!
7
- supportedLanguages: [String!]!
8
- }
9
-
10
- type AIServiceSession {
11
- capabilities: AIServiceCapabilitiesType!
12
- completedAt: Date
13
- createdAt: Date!
14
- createdBy: String
15
- hasCodeReviewCapability: Boolean!
16
- hasDevelopmentPlanningCapability: Boolean!
17
- hasProjectReviewCapability: Boolean!
18
- hasStoryImplementationCapability: Boolean!
19
- id: ID!
20
- isConnected: Boolean!
21
- lastHeartbeat: Date
22
- metadata: String
23
- serviceEndpoint: String!
24
- sessionToken: String!
25
- startedAt: Date
26
- status: AIServiceStatus!
27
- updatedAt: Date!
28
- updatedBy: String
29
- user: User!
30
- workType: String
31
- }
32
-
33
- """
34
- Status of AI service connection
35
- """
36
- enum AIServiceStatus {
37
- ACTIVE
38
- DISCONNECTED
39
- ERROR
40
- INACTIVE
41
- }
42
-
43
- type AIWorkAssignment {
44
- assignedAt: Date!
45
- assignmentId: String!
46
- deadline: Date
47
- priority: Int!
48
- workData: JSONObject
49
- workItemId: String!
50
- workItemType: String!
51
- workerId: String!
52
- }
53
-
54
- type AIWorkAudit {
55
- actionType: AuditActionType!
56
- actorId: String
57
- actorName: String!
58
- actorType: AuditActorType!
59
- createdAt: Date!
60
- createdBy: String
61
- details: String
62
- duration: Int!
63
- errorMessage: String
64
- hasError: Boolean!
65
- id: ID!
66
- isStatusChange: Boolean!
67
- isWorkerChange: Boolean!
68
- metadata: JSONObject!
69
- newStatus: AIWorkStatus
70
- newWorkerId: String
71
- previousStatus: AIWorkStatus
72
- previousWorkerId: String
73
- reason: String!
74
- source: String!
75
- summaryText: String!
76
- updatedAt: Date!
77
- updatedBy: String
78
- user: User
79
- workItem: AIWorkQueue!
80
- }
81
-
82
- type AIWorkCompletion {
83
- assignmentId: String!
84
- completedAt: Date!
85
- errors: [String!]!
86
- result: String
87
- success: Boolean!
88
- workerId: String!
89
- }
90
-
91
- type AIWorkItemError {
92
- assignmentId: String!
93
- category: ErrorCategory!
94
- context: JSONObject
95
- createdAt: Date!
96
- createdBy: String
97
- errorType: WorkItemErrorType!
98
- id: ID!
99
- message: String!
100
- occurredAt: Date!
101
- resolutionDescription: String
102
- resolutionMethod: String
103
- resolved: Boolean!
104
- resolvedAt: Date
105
- retryable: Boolean!
106
- severity: ErrorSeverity!
107
- stack: String
108
- stage: String!
109
- tags: [String!]!
110
- updatedAt: Date!
111
- updatedBy: String
112
- workItem: AIWorkQueue
113
- workItemId: String!
114
- workType: String!
115
- workerId: String!
116
- }
117
-
118
- type AIWorkProgress {
119
- assignmentId: String!
120
- currentStep: String!
121
- estimatedCompletion: Date
122
- message: String!
123
- metadata: JSONObject
124
- progressPercentage: Int!
125
- stage: String!
126
- updatedAt: Date!
127
- workerId: String!
128
- }
129
-
130
- type AIWorkQueue {
131
- activeCompatibleAgentCount: Int
132
- actualDuration: Int
133
- agentAvailabilityReason: String
134
- agentAvailabilityStatus: String
135
- aiWorkerId: String
136
- assignedWorker: String
137
- attemptCount: Int!
138
- canRetry: Boolean!
139
- claimedAt: Date
140
- compatibleAgentCount: Int
141
- completedAt: Date
142
- createdAt: Date!
143
- createdBy: String
144
- currentStep: String!
145
- elapsedDuration: Int
146
- error: String
147
- estimatedDuration: Int
148
- failureClassification: String
149
- hasError: Boolean!
150
- id: ID!
151
- isClaimed: Boolean!
152
- isCompleted: Boolean!
153
- isFailed: Boolean!
154
- isFailedButRetrying: Boolean!
155
- isFailedPermanently: Boolean!
156
- isInProgress: Boolean!
157
- isQueued: Boolean!
158
- lastError: String
159
- lastHeartbeat: Date
160
- lastRetryAt: Date
161
- maxRetryAttempts: Int!
162
- metadata: WorkMetadataType!
163
- nextRetryAt: Date
164
- priority: Int!
165
- progressPercentage: Int!
166
- project: Project
167
- queuePosition: Int
168
- queuedByUser: User
169
- requiredWorkspaces: [String!]
170
- retryCount: Int
171
- retryDelay: Int
172
- startedAt: Date
173
- status: AIWorkStatus!
174
- story: Story
175
- updatedAt: Date!
176
- updatedBy: String
177
- workType: String!
178
- }
179
-
180
- """
181
- Status of AI work item
182
- """
183
- enum AIWorkStatus {
184
- ASSIGNED
185
- CANCELLED
186
- CLAIMED
187
- COMPLETED
188
- FAILED
189
- FAILED_PERMANENT
190
- FAILED_RETRYING
191
- IN_PROGRESS
192
- PENDING
193
- QUEUED
194
- }
195
-
196
- enum AIWorkType {
197
- CODE_REVIEW
198
- IMPLEMENTATION_PLAN
199
- PROJECT_REVIEW
200
- REVIEW_APPLICATION
201
- STORY_IMPLEMENTATION
202
- TASK_COMPLETION
203
- }
204
-
205
- type AIWorker {
206
- accessibleServices: [String!]!
207
- accessibleWorkspaces: [String!]!
208
- canAcceptWork: Boolean!
209
- capabilities: [AIWorkType!]!
210
- createdAt: Date!
211
- createdBy: String
212
- currentTaskCount: Int!
213
- healthMetrics: JSONObject
214
- id: ID!
215
- isAvailable: Boolean!
216
- isHealthy: Boolean!
217
- lastActivity: Date
218
- lastHeartbeat: Date
219
- maxConcurrentTasks: Int!
220
- metadata: JSONObject
221
- project: Project
222
- resourceLimits: JSONObject
223
- scope: WorkerScope!
224
- scopeId: String!
225
- status: AIWorkerStatus!
226
- team: Team
227
- updatedAt: Date!
228
- updatedBy: String
229
- uptimeSeconds: Int!
230
- user: User
231
- utilizationPercentage: Float!
232
- workerId: String!
233
- workerName: String!
234
- }
235
-
236
- type AIWorkerDisconnectionInfo {
237
- disconnectedAt: Date!
238
- reason: String!
239
- workerId: String!
240
- }
241
-
242
- input AIWorkerDiscoveryFilter {
243
- availableOnly: Boolean
244
- capabilities: [AIWorkType!]
245
- scope: WorkerScope
246
- scopeId: String
247
- status: [AIWorkerStatus!]
248
- }
249
-
250
- type AIWorkerDiscoveryUpdate {
251
- activeWorkers: Int!
252
- availableCapabilities: [String!]!
253
- totalWorkers: Int!
254
- }
255
-
256
- input AIWorkerHealthCheckInput {
257
- cpuUsage: Int
258
- errorRate: Int
259
- isHealthy: Boolean!
260
- localWorkState: [WorkStateItem!]
261
- memoryUsage: Int
262
- responseTime: Int
263
- workerId: String!
264
- }
265
-
266
- type AIWorkerHealthStatus {
267
- cpuUsage: Float!
268
- errorRate: Float!
269
- healthIssues: [String!]!
270
- isHealthy: Boolean!
271
- lastHealthCheck: Date!
272
- memoryUsage: Float!
273
- responseTime: Float!
274
- workerId: String!
275
- }
276
-
277
- input AIWorkerHeartbeatInput {
278
- cpuUsage: Int
279
- errorRate: Int
280
- isHealthy: Boolean!
281
- memoryUsage: Int
282
- responseTime: Int
283
- workProgress: [WorkProgressUpdateInput!]
284
- workerId: String!
285
- }
286
-
287
- type AIWorkerOperationResult {
288
- message: String
289
- success: Boolean!
290
- worker: AIWorker
291
- }
292
-
293
- type AIWorkerRegistration {
294
- approvedBy: User
295
- createdAt: Date!
296
- createdBy: String
297
- expiresAt: Date
298
- id: ID!
299
- isExpired: Boolean!
300
- isProcessed: Boolean!
301
- metadata: JSONObject
302
- notes: String
303
- processedAt: Date
304
- processingTimeMs: Float
305
- requestedBy: User
306
- status: RegistrationStatus!
307
- updatedAt: Date!
308
- updatedBy: String
309
- worker: AIWorker
310
- workerId: String!
311
- }
312
-
313
- input AIWorkerRegistrationInput {
314
- accessibleServices: [String!]
315
- accessibleWorkspaces: [String!]
316
- capabilities: [AIWorkType!]!
317
- maxConcurrentTasks: Int
318
- metadata: JSONObject
319
- scope: WorkerScope!
320
- scopeId: String!
321
- workerId: String!
322
- workerName: String!
323
- }
324
-
325
- type AIWorkerStatistics {
326
- activeWorkers: Int!
327
- availableCapabilities: [AIWorkType!]!
328
- availableWorkers: Int!
329
- busyWorkers: Int!
330
- disconnectedWorkers: Int!
331
- totalCapacity: Int!
332
- totalWorkers: Int!
333
- usedCapacity: Int!
334
- utilizationPercentage: Int!
335
- }
336
-
337
- enum AIWorkerStatus {
338
- ACTIVE
339
- BUSY
340
- DEGRADED
341
- DISCONNECTED
342
- ERROR
343
- IDLE
344
- REGISTERING
345
- }
346
-
347
- type APIVersionInfo {
348
- buildTimestamp: String!
349
- commitHash: String
350
- deprecationWarnings: [DeprecationWarning!]!
351
- minSupportedAgentVersion: String!
352
- supportedFeatures: [String!]!
353
- version: String!
354
- }
355
-
356
- input AcceptOrganizationInviteInput {
357
- acceptedTerms: Boolean
358
- ageVerified: Boolean!
359
- firstName: String!
360
- inviteToken: String!
361
- lastName: String!
362
- organizationName: String!
363
- organizationSubdomain: String!
364
- password: String!
365
- }
366
-
367
- type ActivityMetric {
368
- activeUsers: Int!
369
- attachmentsUploaded: Int!
370
- commentsAdded: Int!
371
- date: String!
372
- storiesCompleted: Int!
373
- storiesCreated: Int!
374
- tasksCompleted: Int!
375
- tasksCreated: Int!
376
- }
377
-
378
- type AgentAvailabilityStatusType {
379
- activeCompatibleAgentCount: Int!
380
- compatibleAgentCount: Int!
381
- lastChecked: String!
382
- reason: String
383
- status: String!
384
- }
385
-
386
- type AgentConfiguration {
387
- priorityFilters: PriorityFilters
388
- }
389
-
390
- input AgentConfigurationInput {
391
- priorityFilters: PriorityFiltersInput
392
- }
393
-
394
- type AggregatedTokenUsage {
395
- averageInputTokens: Float!
396
- averageOutputTokens: Float!
397
- totalCacheCreationTokens: Int!
398
- totalCacheReadTokens: Int!
399
- totalInputTokens: Int!
400
- totalOutputTokens: Int!
401
- totalTokens: Int!
402
- }
403
-
404
- input AnalysisInput {
405
- opportunities: [OpportunityInput!]!
406
- risks: [RiskInput!]!
407
- strengths: [StrengthInput!]!
408
- weaknesses: [WeaknessInput!]!
409
- }
410
-
411
- type AnalysisType {
412
- opportunities: [String!]!
413
- risks: [String!]!
414
- strengths: [String!]!
415
- weaknesses: [String!]!
416
- }
417
-
418
- input AnalyticsFilter {
419
- endDate: String
420
- includeInactive: Boolean
421
- projectId: String
422
- startDate: String
423
- teamId: String
424
- userId: String
425
- }
426
-
427
- type ApiKey {
428
- agentConfiguration: AgentConfiguration
429
- createdAt: Date!
430
- createdBy: User
431
- expiresAt: Date
432
- id: ID!
433
- isActive: Boolean!
434
- isExpired: Boolean!
435
- isValid: Boolean!
436
- keyPrefix: String!
437
- keyType: ApiKeyType!
438
- lastUsedAt: Date
439
- name: String!
440
- scope: ApiKeyScope!
441
- scopes: [String!]!
442
- updatedAt: Date!
443
- updatedBy: User
444
- user: User!
445
- }
446
-
447
- enum ApiKeyScope {
448
- ORGANIZATION
449
- USER
450
- }
451
-
452
- enum ApiKeyType {
453
- AGENT
454
- INTEGRATION
455
- SERVICE
456
- USER
457
- WEBHOOK
458
- }
459
-
460
- type ApiKeyWithSecret {
461
- agentConfiguration: AgentConfiguration
462
- createdAt: Date!
463
- createdBy: User
464
- id: String!
465
- isActive: Boolean!
466
- isExpired: Boolean!
467
- key: String!
468
- keyPrefix: String!
469
- keyType: ApiKeyType!
470
- lastUsedAt: Date
471
- name: String!
472
- scope: ApiKeyScope!
473
- user: User!
474
- }
475
-
476
- type ApplicationProgress {
477
- currentStep: String!
478
- estimatedCompletion: Date
479
- filesModified: [String!]!
480
- percentage: Float!
481
- requirementsProgressJson: String
482
- stage: String!
483
- }
484
-
485
- type ApplicationQueueItem {
486
- completedAt: Date
487
- createdAt: Date!
488
- estimatedDuration: Int
489
- id: String!
490
- priority: Int!
491
- progress: ApplicationProgress
492
- projectId: String!
493
- projectName: String!
494
- queuePosition: Int!
495
- reviewId: String!
496
- startedAt: Date
497
- status: ApplicationStatus!
498
- }
499
-
500
- type ApplicationResultType {
501
- applicationSummary: String!
502
- filesModified: [String!]!
503
- implementationPlan: String
504
- validationResults: ValidationResultsType
505
- }
506
-
507
- """
508
- Status of a review application
509
- """
510
- enum ApplicationStatus {
511
- CANCELLED
512
- COMPLETED
513
- FAILED
514
- IN_PROGRESS
515
- NOT_APPLICABLE
516
- PENDING
517
- QUEUED
518
- }
519
-
520
- input ApplyReviewInput {
521
- applicationPrompt: String
522
- customInstructions: String
523
- focusAreas: [String!]
524
- reviewId: String!
525
- validatedRequirementsJson: String
526
- }
527
-
528
- type ArchitectureSuggestionType {
529
- component: String!
530
- impact: String!
531
- suggestion: String!
532
- }
533
-
534
- type ArchitectureType {
535
- components: [String!]!
536
- integrations: [String!]!
537
- technologies: [String!]!
538
- }
539
-
540
- type Attachment {
541
- createdAt: Date!
542
- createdBy: String
543
- duration: Int
544
- fileExtension: String!
545
- fileSize: Int!
546
- fileSizeFormatted: String!
547
- filename: String!
548
- height: Int
549
- id: ID!
550
- isAudio: Boolean!
551
- isDocument: Boolean!
552
- isImage: Boolean!
553
- isPublic: Boolean!
554
- isVideo: Boolean!
555
- mimeType: String!
556
- originalFilename: String!
557
- storageProvider: String!
558
- story: Story
559
- task: Task
560
- updatedAt: Date!
561
- updatedBy: String
562
- width: Int
563
- }
564
-
565
- input AttachmentSearchInput {
566
- createdBy: String
567
- isDocument: String
568
- isImage: String
569
- isVideo: String
570
- mimeType: String
571
- storyId: String
572
- taskId: String
573
- }
574
-
575
- enum AuditAction {
576
- ASSIGNED
577
- CREATED
578
- DELETED
579
- STATE_CHANGED
580
- UNASSIGNED
581
- UPDATED
582
- }
583
-
584
- """
585
- Type of audit action performed on work item
586
- """
587
- enum AuditActionType {
588
- CANCELLED
589
- CLAIMED
590
- COMPLETED
591
- CREATED
592
- FAILED
593
- PROGRESS_UPDATED
594
- REASSIGNED
595
- RECLAIMED
596
- RELEASED
597
- RETRY
598
- STARTED
599
- TIMEOUT
600
- }
601
-
602
- type AuditActionTypeCount {
603
- actionType: AuditActionType!
604
- count: Int!
605
- }
606
-
607
- type AuditActorCount {
608
- actorId: String!
609
- count: Int!
610
- }
611
-
612
- """
613
- Type of actor that performed the audit action
614
- """
615
- enum AuditActorType {
616
- ADMIN
617
- AI_WORKER
618
- SYSTEM
619
- USER
620
- }
621
-
622
- type AuditActorTypeCount {
623
- actorType: AuditActorType!
624
- count: Int!
625
- }
626
-
627
- type AuditLogResult {
628
- audit: AIWorkAudit
629
- message: String
630
- success: String!
631
- }
632
-
633
- type AuditMetadataType {
634
- additionalData: String
635
- changedFields: [String!]
636
- ipAddress: String
637
- newStatus: String
638
- newVersion: Int
639
- previousStatus: String
640
- previousVersion: Int
641
- sessionId: String
642
- userAgent: String
643
- }
644
-
645
- input AuditSearchInput {
646
- actionType: AuditActionType
647
- actorId: String
648
- actorType: AuditActorType
649
- dateFrom: String
650
- dateTo: String
651
- hasErrors: String
652
- limit: Int = 100
653
- offset: Int = 0
654
- source: String
655
- userId: String
656
- workItemId: String
657
- }
658
-
659
- type AuditSearchResult {
660
- hasMore: String!
661
- items: [AIWorkAudit!]!
662
- limit: Int!
663
- offset: Int!
664
- total: Int!
665
- }
666
-
667
- type AuditSourceCount {
668
- count: Int!
669
- source: String!
670
- }
671
-
672
- type AuditStatsResult {
673
- actionTypeCounts: [AuditActionTypeCount!]!
674
- actorTypeCounts: [AuditActorTypeCount!]!
675
- averageDuration: String!
676
- errorRate: String!
677
- topActors: [AuditActorCount!]!
678
- topSources: [AuditSourceCount!]!
679
- totalActions: Int!
680
- }
681
-
682
- type AuditTrail {
683
- action: AuditAction!
684
- createdAt: Date!
685
- createdBy: String
686
- entityId: String!
687
- entityType: String!
688
- fieldName: String
689
- id: ID!
690
- isAssignment: Boolean!
691
- isCreation: Boolean!
692
- isDeletion: Boolean!
693
- isStateChange: Boolean!
694
- isUpdate: Boolean!
695
- metadata: JSONObject
696
- newValue: JSONObject
697
- oldValue: JSONObject
698
- updatedAt: Date!
699
- updatedBy: String
700
- user: User
701
- }
702
-
703
- type AuthPayload {
704
- refreshToken: String
705
- token: String!
706
- user: User!
707
- }
708
-
709
- type BulkOperationResult {
710
- errors: [String!]!
711
- failedOperations: String!
712
- successfulOperations: String!
713
- totalOperations: String!
714
- }
715
-
716
- input ChangePasswordInput {
717
- currentPassword: String!
718
- newPassword: String!
719
- }
720
-
721
- type ClarificationQuestionType {
722
- category: String!
723
- impact_if_unclear: String!
724
- question: String!
725
- suggested_default: String!
726
- }
727
-
728
- type ClaudeErrorAnalysis {
729
- errorsBySubtype: String!
730
- errorsByType: String!
731
- mostCommonErrors: [ClaudeErrorDetail!]!
732
- totalErrors: Int!
733
- }
734
-
735
- type ClaudeErrorDetail {
736
- count: Int!
737
- message: String!
738
- }
739
-
740
- input ClaudeMetricsQueryInput {
741
- endDate: Date!
742
- organizationId: String!
743
- periodType: MetricsAggregationPeriod!
744
- projectId: String
745
- sessionType: ClaudeSessionType
746
- startDate: Date!
747
- }
748
-
749
- type ClaudePermissionDenial {
750
- reason: String
751
- toolInput: String
752
- toolName: String!
753
- toolUseId: String!
754
- }
755
-
756
- input ClaudePermissionDenialInput {
757
- reason: String
758
- toolInput: String
759
- toolName: String!
760
- toolUseId: String!
761
- }
762
-
763
- type ClaudeProjectUsage {
764
- projectId: String!
765
- projectName: String!
766
- sessionCount: Int!
767
- totalCost: Float!
768
- totalTokens: Int!
769
- }
770
-
771
- """
772
- Subtype/result of Claude interaction
773
- """
774
- enum ClaudeSessionSubtype {
775
- CANCELLED
776
- FAILURE
777
- PARTIAL_SUCCESS
778
- RATE_LIMITED
779
- SUCCESS
780
- TIMEOUT
781
- TOKEN_LIMIT
782
- }
783
-
784
- """
785
- Type of Claude interaction
786
- """
787
- enum ClaudeSessionType {
788
- CODE_REVIEW
789
- DEVELOPMENT_PLAN
790
- ERROR_HANDLING
791
- GENERAL_QUERY
792
- PROJECT_REVIEW
793
- STORY_IMPLEMENTATION
794
- TASK_IMPLEMENTATION
795
- }
796
-
797
- type ClaudeTokenUsage {
798
- cacheCreationInputTokens: Int!
799
- cacheReadInputTokens: Int!
800
- inputTokens: Int!
801
- outputTokens: Int!
802
- totalTokens: Int!
803
- }
804
-
805
- input ClaudeTokenUsageInput {
806
- cacheCreationInputTokens: Int!
807
- cacheReadInputTokens: Int!
808
- inputTokens: Int!
809
- outputTokens: Int!
810
- totalTokens: Int!
811
- }
812
-
813
- type ClaudeTotalUsage {
814
- averageCostPerSession: Float!
815
- averageTokensPerSession: Float!
816
- totalCost: Float!
817
- totalDuration: Int!
818
- totalSessions: Int!
819
- totalTokens: Int!
820
- }
821
-
822
- type ClaudeUsageMetrics {
823
- aggregatedAt: Date!
824
- averageCostUsd: Float!
825
- averageTurnsPerSession: Float!
826
- cacheHitRate: Float!
827
- costPerSession: Float!
828
- costPerToken: Float!
829
- createdAt: Date!
830
- createdBy: String
831
- errorBreakdown: String
832
- id: ID!
833
- metadata: String
834
- organization: Organization!
835
- outputToInputRatio: Float!
836
- performance: PerformanceMetrics!
837
- periodEnd: Date!
838
- periodLabel: String!
839
- periodStart: Date!
840
- periodType: MetricsAggregationPeriod!
841
- project: Project
842
- sessionCount: Int!
843
- sessionType: ClaudeSessionType
844
- successMetrics: SuccessRateMetrics!
845
- tokenUsage: AggregatedTokenUsage!
846
- tokensPerSession: Float!
847
- topProjects: [String!]
848
- topUsers: [String!]
849
- totalCostUsd: Float!
850
- totalTurns: Int!
851
- uniqueUserCount: Int!
852
- updatedAt: Date!
853
- updatedBy: String
854
- }
855
-
856
- input ClaudeUsageQueryInput {
857
- endDate: Date
858
- limit: Int
859
- offset: Int
860
- organizationId: String!
861
- projectId: String
862
- startDate: Date
863
- storyId: String
864
- subtype: ClaudeSessionSubtype
865
- taskId: String
866
- type: ClaudeSessionType
867
- userId: String
868
- }
869
-
870
- type ClaudeUsageSession {
871
- averageResponseTime: Float!
872
- cacheHitRate: Float!
873
- claudeModel: String
874
- completedAt: Date
875
- costPerToken: Float!
876
- createdAt: Date!
877
- createdBy: String
878
- durationApiMs: Int!
879
- durationMs: Int!
880
- errorMessage: String
881
- errorStack: String
882
- id: ID!
883
- isError: Boolean!
884
- metadata: String
885
- numTurns: Int!
886
- organization: Organization!
887
- permissionDenials: [ClaudePermissionDenial!]
888
- project: Project
889
- result: String
890
- serviceTier: String
891
- sessionId: String!
892
- startedAt: Date!
893
- story: Story
894
- subtype: ClaudeSessionSubtype!
895
- task: Task
896
- totalCostUsd: Float!
897
- type: ClaudeSessionType!
898
- updatedAt: Date!
899
- updatedBy: String
900
- usage: ClaudeTokenUsage!
901
- user: User
902
- wasSuccessful: Boolean!
903
- workItem: AIWorkQueue
904
- }
905
-
906
- type Comment {
907
- canDelete: Boolean!
908
- canEdit: Boolean!
909
- canReply: Boolean!
910
- content: String!
911
- contentHtml: String
912
- createdAt: Date!
913
- createdBy: String
914
- editedAt: Date
915
- hasReplies: Boolean!
916
- id: ID!
917
- isEdited: Boolean!
918
- isReply: Boolean!
919
- isTopLevel: Boolean!
920
- parentComment: Comment
921
- replies: [Comment!]!
922
- replyCount: Int!
923
- story: Story
924
- task: Task
925
- threadDepth: Int!
926
- updatedAt: Date!
927
- updatedBy: String
928
- }
929
-
930
- input CommentSearchInput {
931
- includeReplies: String
932
- parentOnly: String
933
- storyId: String
934
- taskId: String
935
- }
936
-
937
- type CommentThread {
938
- comments: [CommentWithThread!]!
939
- topLevelCount: Int!
940
- totalCount: Int!
941
- }
942
-
943
- type CommentWithThread {
944
- comment: Comment!
945
- depth: Int!
946
- replies: [Comment!]!
947
- totalReplies: Int!
948
- }
949
-
950
- input CompleteAIReviewInput {
951
- overallScore: Float!
952
- reviewDataJson: String!
953
- reviewId: String!
954
- suggestionsJson: String!
955
- }
956
-
957
- type ConfidenceIntervalType {
958
- best: Float!
959
- likely: Float!
960
- worst: Float!
961
- }
962
-
963
- input CreateAIServiceSessionInput {
964
- capabilitiesJson: String!
965
- serviceEndpoint: String!
966
- sessionToken: String!
967
- }
968
-
969
- input CreateApiKeyInput {
970
- agentConfiguration: AgentConfigurationInput
971
- expiresAt: Date
972
- keyType: ApiKeyType!
973
- name: String!
974
- scope: ApiKeyScope!
975
- }
976
-
977
- input CreateAttachmentInput {
978
- duration: String
979
- fileSize: String!
980
- filename: String!
981
- height: String
982
- isPublic: Boolean! = false
983
- mimeType: String!
984
- originalFilename: String!
985
- storagePath: String!
986
- storyId: String
987
- taskId: String
988
- width: String
989
- }
990
-
991
- input CreateAuditLogInput {
992
- actionType: AuditActionType!
993
- actorId: String
994
- actorType: AuditActorType!
995
- details: String
996
- metadata: JSONObject
997
- reason: String!
998
- source: String
999
- workItemId: String!
1000
- }
1001
-
1002
- input CreateClaudeUsageSessionInput {
1003
- claudeModel: String
1004
- completedAt: Date
1005
- durationApiMs: Int!
1006
- durationMs: Int!
1007
- errorMessage: String
1008
- errorStack: String
1009
- isError: Boolean!
1010
- metadata: String
1011
- numTurns: Int!
1012
- organizationId: String!
1013
- permissionDenials: [ClaudePermissionDenialInput!]
1014
- projectId: String
1015
- result: String
1016
- serviceTier: String
1017
- sessionId: String!
1018
- startedAt: Date!
1019
- storyId: String
1020
- subtype: ClaudeSessionSubtype!
1021
- taskId: String
1022
- totalCostUsd: Float!
1023
- type: ClaudeSessionType!
1024
- usage: ClaudeTokenUsageInput!
1025
- userId: String
1026
- workItemId: String
1027
- }
1028
-
1029
- input CreateCommentInput {
1030
- content: String!
1031
- parentCommentId: String
1032
- storyId: String!
1033
- }
1034
-
1035
- input CreateDevelopmentPlanInput {
1036
- createdByUserId: String
1037
- dependenciesJson: String!
1038
- estimatesJson: String!
1039
- planDataJson: String!
1040
- projectId: String!
1041
- }
1042
-
1043
- input CreateInviteFromEarlyAccessInput {
1044
- earlyAccessId: String!
1045
- expiresInDays: Int
1046
- message: String
1047
- suggestedOrgName: String
1048
- suggestedSubdomain: String
1049
- }
1050
-
1051
- input CreateOrganizationInviteInput {
1052
- companySize: String
1053
- email: String!
1054
- expiresInDays: Int
1055
- features: [String!]!
1056
- message: String
1057
- useCase: String
1058
- }
1059
-
1060
- input CreateProjectInput {
1061
- affectedServiceIds: [String!]
1062
- description: String
1063
- documentationUrl: String
1064
- isPublic: Boolean
1065
- name: String!
1066
- repositoryUrl: String
1067
- stage: ProjectStage
1068
- startDate: Date
1069
- targetCompletionDate: Date
1070
- workspaceConfig: JSONObject
1071
- workspaceIds: [String!]
1072
- }
1073
-
1074
- input CreateProjectReviewInput {
1075
- additionalContext: String
1076
- focusAreas: [String!]
1077
- projectId: String!
1078
- reviewScope: String
1079
- }
1080
-
1081
- input CreateReplyInput {
1082
- content: String!
1083
- parentCommentId: String!
1084
- }
1085
-
1086
- input CreateStoryDependencyInput {
1087
- dependsOnStoryId: String!
1088
- storyId: String!
1089
- }
1090
-
1091
- input CreateStoryInput {
1092
- acceptanceCriteria: [String!]
1093
- assignedTo: String
1094
- description: String
1095
- estimate: Int
1096
- orderIndex: Int
1097
- priority: PriorityLevel
1098
- projectId: String!
1099
- storyLink: String
1100
- tags: [String!]
1101
- title: String!
1102
- }
1103
-
1104
- input CreateTaskInput {
1105
- areas: [String!]!
1106
- assignedTo: String
1107
- description: String
1108
- dueDate: String
1109
- estimate: Int
1110
- estimatedHours: Int
1111
- priority: PriorityLevel
1112
- status: TaskState
1113
- storyId: String!
1114
- title: String!
1115
- type: TaskType
1116
- }
1117
-
1118
- input CreateUserInput {
1119
- email: String!
1120
- firstName: String
1121
- lastName: String
1122
- role: UserRole
1123
- status: UserStatus
1124
- timezone: String
1125
- }
1126
-
1127
- type CrossWorkspaceDeploymentType {
1128
- dependencies: String!
1129
- sequence: [String!]!
1130
- }
1131
-
1132
- type DashboardData {
1133
- projectProgress: [ProgressMetric!]!
1134
- recentActivity: [ActivityMetric!]!
1135
- teamPerformance: [TeamPerformance!]!
1136
- topPerformers: [UserStats!]!
1137
- topProjects: [ProjectStats!]!
1138
- velocityTrend: [VelocityMetric!]!
1139
- workspaceStats: WorkspaceStats!
1140
- }
1141
-
1142
- """
1143
- Date custom scalar type that accepts both date-only (YYYY-MM-DD) and full DateTime (ISO 8601) strings
1144
- """
1145
- scalar Date
1146
-
1147
- type DeprecationWarning {
1148
- deprecatedInVersion: String!
1149
- feature: String!
1150
- message: String!
1151
- removedInVersion: String!
1152
- }
1153
-
1154
- type DevelopmentPlan {
1155
- activatedAt: Date
1156
- activatedByUser: User
1157
- activationNotes: String
1158
- approvalNotes: String
1159
- approvedAt: Date
1160
- approvedByUser: User
1161
- averageConfidence: Float!
1162
- childVersionCount: Int!
1163
- childVersions: [DevelopmentPlan!]!
1164
- coordinatedServices: [String!]!
1165
- createdAt: Date!
1166
- createdBy: String
1167
- createdByUser: User
1168
- criticalPathLength: Int!
1169
- dependencies: PlanDependenciesType!
1170
- estimates: PlanEstimatesType!
1171
- generatedBy: PlanGeneratedBy!
1172
- hasChildVersions: Boolean!
1173
- id: ID!
1174
- isAIGenerated: Boolean!
1175
- isActive: Boolean!
1176
- isApproved: Boolean!
1177
- isDraft: Boolean!
1178
- isLatestVersion: Boolean!
1179
- isOriginalVersion: Boolean!
1180
- parentPlan: DevelopmentPlan
1181
- phaseCount: Int!
1182
- planData: PlanDataType!
1183
- project: Project!
1184
- rejectedAt: Date
1185
- rejectedByUser: User
1186
- rejectionReason: String
1187
- repromptContext: String
1188
- requestedByUser: User
1189
- status: PlanStatus!
1190
- storyCount: Int!
1191
- targetWorkspaces: [String!]!
1192
- totalEstimatedDays: Float!
1193
- totalEstimatedHours: Float!
1194
- updatedAt: Date!
1195
- updatedBy: String
1196
- version: Int!
1197
- versionNotes: String
1198
- }
1199
-
1200
- type DevelopmentPlanAuditLog {
1201
- action: PlanAuditAction!
1202
- createdAt: Date!
1203
- createdBy: String
1204
- description: String
1205
- id: ID!
1206
- metadata: AuditMetadataType
1207
- notes: String
1208
- performedBy: User
1209
- plan: DevelopmentPlan!
1210
- planVersion: Int
1211
- timestamp: Date!
1212
- updatedAt: Date!
1213
- updatedBy: String
1214
- }
1215
-
1216
- type EarlyAccessRegistration {
1217
- acceptedTerms: Boolean!
1218
- ageVerified: Boolean!
1219
- aiTools: [String!]!
1220
- comments: String
1221
- companyName: String
1222
- contactName: String
1223
- createdAt: Date!
1224
- createdBy: String
1225
- currentTools: [String!]!
1226
- email: String!
1227
- id: ID!
1228
- inviteSentAt: Date
1229
- inviteToken: String
1230
- notes: String
1231
- organizationInviteId: String
1232
- painPoints: [String!]!
1233
- primaryLanguages: [String!]!
1234
- projectTypes: [String!]!
1235
- repoStructure: String
1236
- role: String
1237
- serviceCount: String
1238
- status: String!
1239
- subscribeToNewsletter: Boolean
1240
- teamSize: String
1241
- updatedAt: Date!
1242
- updatedBy: String
1243
- }
1244
-
1245
- enum EmailDigestFrequency {
1246
- DAILY
1247
- NEVER
1248
- WEEKLY
1249
- }
1250
-
1251
- """
1252
- Error categories for analysis
1253
- """
1254
- enum ErrorCategory {
1255
- CONFIGURATION
1256
- PERMANENT
1257
- SYSTEM
1258
- TRANSIENT
1259
- }
1260
-
1261
- type ErrorHistoryType {
1262
- attemptNumber: Int!
1263
- error: String!
1264
- failureType: String!
1265
- timestamp: String!
1266
- }
1267
-
1268
- type ErrorRecord {
1269
- duration: Int!
1270
- errors: [GraphQLError!]!
1271
- operationName: String!
1272
- organizationId: String!
1273
- timestamp: Int!
1274
- }
1275
-
1276
- """
1277
- Error severity levels
1278
- """
1279
- enum ErrorSeverity {
1280
- CRITICAL
1281
- HIGH
1282
- LOW
1283
- MEDIUM
1284
- }
1285
-
1286
- input ExplicitRequirementInput {
1287
- confidence: String!
1288
- requirement: String!
1289
- source_text: String!
1290
- }
1291
-
1292
- type ExplicitRequirementType {
1293
- confidence: String!
1294
- requirement: String!
1295
- source_text: String!
1296
- }
1297
-
1298
- type ExternalDependencyType {
1299
- name: String!
1300
- status: String!
1301
- type: String!
1302
- }
1303
-
1304
- type FeatureGapAnalysisType {
1305
- missingCoreFeatures: [FeatureGapType!]!
1306
- missingNonFunctionalRequirements: [MissingNonFunctionalRequirementType!]!
1307
- }
1308
-
1309
- type FeatureGapType {
1310
- estimatedEffort: String!
1311
- feature: String!
1312
- priority: String!
1313
- rationale: String!
1314
- suggestedApproach: String!
1315
- }
1316
-
1317
- type FileDownloadResponse {
1318
- fileSize: String!
1319
- filename: String!
1320
- mimeType: String!
1321
- url: String!
1322
- }
1323
-
1324
- input FileModificationInput {
1325
- change_type: String!
1326
- path: String!
1327
- summary: String!
1328
- }
1329
-
1330
- type GenerateStoriesFromPlanResult {
1331
- message: String!
1332
- storyIds: [String!]!
1333
- success: Boolean!
1334
- }
1335
-
1336
- type GlobalMetrics {
1337
- averageResponseTime: Float!
1338
- operationCounts: [OperationMetric!]!
1339
- totalErrors: Int!
1340
- totalRequests: Int!
1341
- }
1342
-
1343
- type GraphQLError {
1344
- extensions: String
1345
- message: String!
1346
- path: [String!]
1347
- }
1348
-
1349
- input ImplementationPlanInput {
1350
- analysis: AnalysisInput!
1351
- analysis_type: String!
1352
- executive_summary: String!
1353
- metadata: MetadataInput!
1354
- project_id: String!
1355
- recommendations: [RecommendationInput!]!
1356
- scores: ScoresInput!
1357
- suggested_product_requirements: ProductRequirementsInput!
1358
- timeline: TimelineInput!
1359
- }
1360
-
1361
- input InferredFunctionalRequirementInput {
1362
- domain_pattern: String!
1363
- priority: String!
1364
- rationale: String!
1365
- requirement: String!
1366
- }
1367
-
1368
- type InferredRequirementType {
1369
- domain_pattern: String!
1370
- priority: String!
1371
- rationale: String!
1372
- requirement: String!
1373
- }
1374
-
1375
- type InviteResponse {
1376
- error: String
1377
- inviteToken: String
1378
- inviteUrl: String
1379
- success: Boolean!
1380
- }
1381
-
1382
- """
1383
- The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
1384
- """
1385
- scalar JSONObject
1386
-
1387
- input LoginInput {
1388
- email: String!
1389
- password: String!
1390
- }
1391
-
1392
- type LoginPayload {
1393
- expiresIn: String!
1394
- refreshToken: String
1395
- token: String!
1396
- tokenType: String!
1397
- user: User!
1398
- }
1399
-
1400
- type LogoutPayload {
1401
- message: String!
1402
- success: Boolean!
1403
- }
1404
-
1405
- type MCPAgentOperationResult {
1406
- analysisId: String
1407
- message: String!
1408
- planId: String
1409
- success: String!
1410
- taskId: String
1411
- }
1412
-
1413
- input MetadataInput {
1414
- analysis_duration_seconds: Float!
1415
- analysis_timestamp: String!
1416
- claude_model: String!
1417
- confidence_level: Float!
1418
- reviewer_notes: String
1419
- }
1420
-
1421
- """
1422
- Time period for metrics aggregation
1423
- """
1424
- enum MetricsAggregationPeriod {
1425
- DAILY
1426
- HOURLY
1427
- MONTHLY
1428
- WEEKLY
1429
- }
1430
-
1431
- type MilestoneType {
1432
- date: String!
1433
- deliverables: [String!]!
1434
- name: String!
1435
- }
1436
-
1437
- type MissingNonFunctionalRequirementType {
1438
- category: String!
1439
- impact: String!
1440
- recommendation: String!
1441
- requirement: String!
1442
- }
1443
-
1444
- type Mutation {
1445
- acceptOrganizationInvite(
1446
- input: AcceptOrganizationInviteInput!
1447
- ): OrganizationRegistrationResponse!
1448
- applyProjectReview(input: ApplyReviewInput!): ReviewApplicationResult!
1449
- approveDevelopmentPlan(comments: String, id: String!): DevelopmentPlan!
1450
- approveProjectReview(comments: String, id: String!): ProjectReview!
1451
- bulkUpdateUsers(operations: [UserOperation!]!): BulkOperationResult!
1452
- cancelAIWorkItem(id: String!): AIWorkQueue!
1453
- cancelReviewApplication(reviewId: String!): Boolean!
1454
- cancelWorkItem(reason: String!, workId: String!): Boolean!
1455
- changePassword(input: ChangePasswordInput!): PasswordChangePayload!
1456
- claimStory(id: String!): Story!
1457
- claimTask(id: String!): Task!
1458
- claimWorkItem(workId: String!, workerId: String!): Boolean!
1459
- cleanupStaleAIWorkers: AIWorkerOperationResult!
1460
- completeAIReview(input: CompleteAIReviewInput!): ProjectReview!
1461
- completeAIWork(
1462
- artifacts: [String!] = []
1463
- id: String!
1464
- summary: String!
1465
- ): AIWorkQueue!
1466
- completeDevelopmentPlan(id: String!): DevelopmentPlan!
1467
- completeStory(id: String!, implementationSummary: String): Story!
1468
- completeTask(id: String!, implementationSummary: String): Task!
1469
- createAIServiceSession(input: CreateAIServiceSessionInput!): AIServiceSession!
1470
- createApiKey(input: CreateApiKeyInput!): ApiKeyWithSecret!
1471
- createAttachment(input: CreateAttachmentInput!): Attachment!
1472
- createAuditLog(input: CreateAuditLogInput!): AuditLogResult!
1473
- createClaudeUsageSession(
1474
- input: CreateClaudeUsageSessionInput!
1475
- ): ClaudeUsageSession!
1476
- createComment(input: CreateCommentInput!): Comment!
1477
- createDevelopmentPlan(input: CreateDevelopmentPlanInput!): DevelopmentPlan!
1478
- createEarlyAccessRegistration(
1479
- input: PublicEarlyAccessRegistrationInput!
1480
- ): EarlyAccessRegistration!
1481
- createInviteFromEarlyAccess(
1482
- input: CreateInviteFromEarlyAccessInput!
1483
- ): InviteResponse!
1484
- createOrganizationInvite(
1485
- input: CreateOrganizationInviteInput!
1486
- ): OrganizationInvite!
1487
- createProject(input: CreateProjectInput!): Project!
1488
- createReply(input: CreateReplyInput!): Comment!
1489
- createStory(input: CreateStoryInput!): Story!
1490
- createStoryDependency(input: CreateStoryDependencyInput!): Story!
1491
- createTask(input: CreateTaskInput!): Task!
1492
- createUser(input: CreateUserInput!): User!
1493
- deactivateUser(userId: String!): Boolean!
1494
- deactivateWorkspace(workspaceId: String!): Boolean!
1495
- deleteApiKey(id: ID!): Boolean!
1496
- deleteAttachment(id: String!): Boolean!
1497
- deleteComment(id: String!): Boolean!
1498
- deleteProject(id: String!): Boolean!
1499
- deleteStory(id: String!): Boolean!
1500
- deleteTask(id: String!): Boolean!
1501
- deleteUser(userId: String!): Boolean!
1502
- deleteWorkspace(workspaceId: String!): Boolean!
1503
- disableUser(userId: String!): User!
1504
- disconnectAIService: Boolean!
1505
- enableUser(userId: String!): User!
1506
- exchangeApiKeyForToken(apiKey: String!): LoginPayload!
1507
- generateDevelopmentPlan(
1508
- projectId: String!
1509
- reviewId: String
1510
- sessionId: String
1511
- ): DevelopmentPlan!
1512
- generateInviteToken(earlyAccessId: String!): InviteResponse!
1513
- generateProjectReview(input: CreateProjectReviewInput!): ProjectReview!
1514
- generateStoriesFromPlan(planId: String!): GenerateStoriesFromPlanResult!
1515
- logUserActivity(
1516
- actionType: String!
1517
- metadata: JSONObject
1518
- resourceId: String
1519
- resourceType: String
1520
- ): UserActivity!
1521
- logWorkItemError(input: WorkItemErrorInput!): WorkItemErrorResult!
1522
- logWorkItemEvent(input: WorkItemLogInput!): WorkItemLogResult!
1523
- login(input: LoginInput!): LoginPayload!
1524
- logout: LogoutPayload!
1525
- queueAIWork(input: QueueAIWorkInput!): AIWorkQueue!
1526
- reactivateUser(userId: String!): Boolean!
1527
- refreshToken(input: RefreshTokenInput!): LoginPayload!
1528
- register(input: RegisterInput!): AuthPayload!
1529
- registerAIWorker(input: AIWorkerRegistrationInput!): AIWorkerOperationResult!
1530
- registerWorkspace(input: WorkspaceRegistrationInput!): Workspace!
1531
- rejectDevelopmentPlan(id: String!, reason: String!): DevelopmentPlan!
1532
- rejectProjectReview(id: String!, reason: String!): ProjectReview!
1533
- releaseStory(id: String!): Story!
1534
- removeStoryDependency(input: RemoveStoryDependencyInput!): Story!
1535
- repromptProjectReview(input: RepromptReviewInput!): ProjectReview!
1536
- requestPasswordReset(
1537
- input: RequestPasswordResetInput!
1538
- ): PasswordResetRequestPayload!
1539
- requeueAIWorkItem(id: String!): AIWorkQueue!
1540
- resendOrganizationInvite(id: String!): OrganizationInvite
1541
- resetPassword(input: ResetPasswordInput!): PasswordResetPayload!
1542
- retryReviewApplication(reviewId: String!): Boolean!
1543
- reviewStory(approved: Boolean!, id: String!, reviewNotes: String): Story!
1544
- revokeOrganizationInvite(id: String!): OrganizationInvite
1545
- startDevelopmentPlan(id: String!): DevelopmentPlan!
1546
- submitImplementationPlan(
1547
- plan: ImplementationPlanInput!
1548
- ): MCPAgentOperationResult!
1549
- submitProjectAnalysis(
1550
- analysis: ProjectAnalysisInput!
1551
- ): MCPAgentOperationResult!
1552
- submitStoryForReview(id: String!, implementationSummary: String): Story!
1553
- submitStoryProgress(progress: StoryProgressInput!): MCPAgentOperationResult!
1554
- submitTaskImplementation(
1555
- implementation: TaskImplementationInput!
1556
- ): MCPAgentOperationResult!
1557
- unregisterAIWorker(workerId: String!): AIWorkerOperationResult!
1558
- updateAIWork(input: UpdateAIWorkInput!): AIWorkQueue!
1559
- updateAIWorkerHeartbeat(
1560
- input: AIWorkerHealthCheckInput!
1561
- ): AIWorkerOperationResult!
1562
- updateAIWorkerHeartbeatWithProgress(
1563
- input: AIWorkerHeartbeatInput!
1564
- ): AIWorkerOperationResult!
1565
- updateAIWorkerTaskCount(
1566
- taskCount: Int!
1567
- workerId: String!
1568
- ): AIWorkerOperationResult!
1569
- updateApiKey(id: ID!, input: UpdateApiKeyInput!): ApiKey!
1570
- updateComment(id: String!, input: UpdateCommentInput!): Comment!
1571
- updateDevelopmentPlan(
1572
- id: String!
1573
- input: UpdateDevelopmentPlanInput!
1574
- ): DevelopmentPlan!
1575
- updateEarlyAccessRegistration(
1576
- id: String!
1577
- input: UpdateEarlyAccessRegistrationInput!
1578
- ): EarlyAccessRegistration
1579
- updateProject(id: String!, input: UpdateProjectInput!): Project!
1580
- updateProjectReview(
1581
- id: String!
1582
- input: UpdateProjectReviewInput!
1583
- ): ProjectReview!
1584
- updateStory(id: String!, input: UpdateStoryInput!): Story!
1585
- updateStoryStatus(id: String!, status: StoryState!): Story!
1586
- updateTask(id: String!, input: UpdateTaskInput!): Task!
1587
- updateUser(id: String!, input: UpdateUserInput!): User!
1588
- updateUserPreferences(input: UpdateUserPreferencesInput!): UserPreferences!
1589
- updateUserRole(roleId: String!, userId: String!): User!
1590
- }
1591
-
1592
- input NonFunctionalRequirementInput {
1593
- category: String!
1594
- customization_needed: String!
1595
- industry_standard: String!
1596
- requirement: String!
1597
- }
1598
-
1599
- type NonFunctionalRequirementType {
1600
- category: String!
1601
- customization_needed: Boolean!
1602
- industry_standard: Boolean!
1603
- requirement: String!
1604
- }
1605
-
1606
- type Notification {
1607
- createdAt: Date!
1608
- createdBy: String
1609
- emailSent: Boolean!
1610
- emailSentAt: Date
1611
- entityId: String
1612
- entityType: String
1613
- id: ID!
1614
- isRead: Boolean!
1615
- isRecent: Boolean!
1616
- isUnread: Boolean!
1617
- message: String!
1618
- readAt: Date
1619
- shouldSendEmail: Boolean!
1620
- targetUrl: String
1621
- title: String!
1622
- type: NotificationType!
1623
- updatedAt: Date!
1624
- updatedBy: String
1625
- user: User!
1626
- }
1627
-
1628
- enum NotificationType {
1629
- ASSIGNMENT
1630
- COMMENT
1631
- DEADLINE
1632
- MENTION
1633
- STATUS_CHANGE
1634
- }
1635
-
1636
- type OperationMetric {
1637
- operation: String!
1638
- type: String!
1639
- value: Int!
1640
- }
1641
-
1642
- type OperationResult {
1643
- count: Int!
1644
- operation: String!
1645
- status: String!
1646
- }
1647
-
1648
- input OpportunityInput {
1649
- description: String!
1650
- implementation_complexity: String
1651
- potential_value: String!
1652
- title: String!
1653
- }
1654
-
1655
- type Organization {
1656
- createdAt: Date!
1657
- createdBy: String
1658
- deletedAt: Date
1659
- description: String
1660
- fullDomain: String!
1661
- id: ID!
1662
- isActive: Boolean!
1663
- name: String!
1664
- settings: JSONObject
1665
- status: OrganizationStatus!
1666
- subdomain: String!
1667
- updatedAt: Date!
1668
- updatedBy: String
1669
- }
1670
-
1671
- type OrganizationInvite {
1672
- acceptedAt: Date
1673
- acceptedByUserId: String
1674
- companySize: String
1675
- createdAt: Date!
1676
- createdBy: String
1677
- createdOrganizationId: String
1678
- email: String!
1679
- expiresAt: Date
1680
- features: [String!]!
1681
- id: ID!
1682
- inviteToken: String!
1683
- invitedBy: User
1684
- message: String
1685
- status: String!
1686
- suggestedOrgName: String
1687
- suggestedSubdomain: String
1688
- updatedAt: Date!
1689
- updatedBy: String
1690
- useCase: String
1691
- }
1692
-
1693
- type OrganizationRegistrationResponse {
1694
- loginUrl: String
1695
- message: String!
1696
- organizationId: String
1697
- success: Boolean!
1698
- userId: String
1699
- }
1700
-
1701
- enum OrganizationRole {
1702
- ADMIN
1703
- MEMBER
1704
- OWNER
1705
- VIEWER
1706
- }
1707
-
1708
- enum OrganizationStatus {
1709
- ACTIVE
1710
- ARCHIVED
1711
- DELETED
1712
- SUSPENDED
1713
- }
1714
-
1715
- input PaginationInput {
1716
- limit: Int = 20
1717
- offset: Int = 0
1718
- }
1719
-
1720
- type PasswordChangePayload {
1721
- message: String!
1722
- success: Boolean!
1723
- }
1724
-
1725
- type PasswordResetPayload {
1726
- message: String!
1727
- success: Boolean!
1728
- }
1729
-
1730
- type PasswordResetRequestPayload {
1731
- message: String!
1732
- }
1733
-
1734
- type PerformanceMetrics {
1735
- averageApiDurationMs: Float!
1736
- averageDurationMs: Float!
1737
- maxDurationMs: Int!
1738
- minDurationMs: Int!
1739
- p50DurationMs: Float!
1740
- p95DurationMs: Float!
1741
- p99DurationMs: Float!
1742
- }
1743
-
1744
- type Phase {
1745
- allStoriesComplete: Boolean!
1746
- completedAt: Date
1747
- completedStories: Int!
1748
- createdAt: Date!
1749
- createdBy: String
1750
- description: String
1751
- id: ID!
1752
- isCompleted: Boolean!
1753
- name: String!
1754
- orderIndex: Int!
1755
- progressPercentage: Int!
1756
- project: Project!
1757
- stories: [Story!]!
1758
- totalStories: Int!
1759
- updatedAt: Date!
1760
- updatedBy: String
1761
- }
1762
-
1763
- input PhaseInput {
1764
- deliverables: [String!]
1765
- dependencies: [String!]
1766
- description: String!
1767
- duration_weeks: Int!
1768
- id: String!
1769
- key_milestones: [String!]
1770
- name: String!
1771
- resources_required: [String!]
1772
- risks: [String!]
1773
- start_week: Int!
1774
- }
1775
-
1776
- """
1777
- Actions that can be performed on development plans
1778
- """
1779
- enum PlanAuditAction {
1780
- ACTIVATED
1781
- APPROVED
1782
- COMMENTED
1783
- COMPLETED
1784
- CREATED
1785
- REJECTED
1786
- SUBMITTED
1787
- UPDATED
1788
- VERSION_CREATED
1789
- }
1790
-
1791
- type PlanDataType {
1792
- architecture: ArchitectureType!
1793
- overview: String!
1794
- phases: [PlanPhaseType!]!
1795
- resources: ResourcesType!
1796
- timeline: TimelineType!
1797
- workspaceStrategy: WorkspaceStrategyType!
1798
- }
1799
-
1800
- type PlanDependenciesType {
1801
- externalDependencies: [ExternalDependencyType!]!
1802
- storyGraph: String!
1803
- }
1804
-
1805
- type PlanEstimatesType {
1806
- confidenceInterval: ConfidenceIntervalType!
1807
- stories: [StoryEstimateType!]!
1808
- totalDays: Float!
1809
- totalHours: Float!
1810
- }
1811
-
1812
- """
1813
- Who generated the development plan
1814
- """
1815
- enum PlanGeneratedBy {
1816
- AI
1817
- HUMAN
1818
- }
1819
-
1820
- type PlanPhaseType {
1821
- description: String!
1822
- estimatedDuration: Float!
1823
- name: String!
1824
- parallelizationFactor: Float!
1825
- storyIds: [String!]!
1826
- }
1827
-
1828
- """
1829
- Status of the development plan
1830
- """
1831
- enum PlanStatus {
1832
- ACTIVE
1833
- APPROVED
1834
- CANCELLED
1835
- COMPLETED
1836
- DRAFT
1837
- PENDING
1838
- REJECTED
1839
- }
1840
-
1841
- enum PlatformRole {
1842
- AGENT_ADMIN
1843
- AGENT_REVIEWER
1844
- AUDIT_VIEWER
1845
- BILLING_ADMIN
1846
- SUPER_ADMIN
1847
- SUPPORT
1848
- }
1849
-
1850
- type PriorityFilters {
1851
- priorities: [String!]
1852
- projects: [String!]
1853
- taskTypes: [String!]
1854
- teams: [String!]
1855
- }
1856
-
1857
- input PriorityFiltersInput {
1858
- priorities: [String!]
1859
- projects: [String!]
1860
- taskTypes: [String!]
1861
- teams: [String!]
1862
- }
1863
-
1864
- enum PriorityLevel {
1865
- CRITICAL
1866
- HIGH
1867
- LOW
1868
- MEDIUM
1869
- }
1870
-
1871
- input ProductRequirementsInput {
1872
- explicit_requirements: [ExplicitRequirementInput!]!
1873
- inferred_functional_requirements: [InferredFunctionalRequirementInput!]!
1874
- requirements_clarification_questions: [RequirementsClarificationQuestionInput!]!
1875
- suggested_non_functional_requirements: [NonFunctionalRequirementInput!]!
1876
- }
1877
-
1878
- type ProgressMetric {
1879
- completedItems: Int!
1880
- completionPercentage: Float!
1881
- endDate: String
1882
- entityId: String!
1883
- entityTitle: String!
1884
- entityType: String!
1885
- estimatedEndDate: String
1886
- inProgressItems: Int!
1887
- overdueItems: Int!
1888
- startDate: String!
1889
- totalItems: Int!
1890
- }
1891
-
1892
- type Project {
1893
- affectedServices: [WorkspaceService!]!
1894
- blockedStoriesCount: Int!
1895
- completedStoriesCount: Int!
1896
- createdAt: Date!
1897
- createdBy: String
1898
- createdByUser: User
1899
- description: String
1900
- documentationUrl: String
1901
- healthScore: Int
1902
- id: ID!
1903
- implementationStoriesCount: Int!
1904
- isActive: Boolean!
1905
- isArchived: Boolean!
1906
- isComplete: Boolean!
1907
- isPublic: Boolean!
1908
- links: JSONObject
1909
- name: String!
1910
- notes: [ProjectNote!]!
1911
- organization: Organization!
1912
- pendingStoriesCount: Int!
1913
- phases: [Phase!]!
1914
- progressPercentage: Int!
1915
- qualityMetrics: JSONObject
1916
- repositoryUrl: String
1917
- requirements: [ProjectRequirement!]!
1918
- reviewHistory: JSONObject
1919
- reviewStoriesCount: Int!
1920
- riskProfile: JSONObject
1921
- sprints: [Sprint!]!
1922
- stage: ProjectStage!
1923
- startDate: Date
1924
- stories(limit: Int! = 50, offset: Int! = 0): [Story!]!
1925
- storiesCount: Int!
1926
- targetCompletionDate: Date
1927
- tasksCount: Int!
1928
- team: Team
1929
- updatedAt: Date!
1930
- updatedBy: String
1931
- workspaceConfig: JSONObject
1932
- workspaces: [Workspace!]!
1933
- }
1934
-
1935
- input ProjectAnalysisInput {
1936
- analysis: AnalysisInput!
1937
- analysis_type: String!
1938
- executive_summary: String!
1939
- metadata: MetadataInput!
1940
- project_id: String!
1941
- recommendations: [RecommendationInput!]!
1942
- scores: ScoresInput!
1943
- suggested_product_requirements: ProductRequirementsInput!
1944
- timeline: TimelineInput!
1945
- }
1946
-
1947
- type ProjectNote {
1948
- content: String!
1949
- createdAt: Date!
1950
- createdBy: String
1951
- id: ID!
1952
- isPinned: Boolean!
1953
- project: Project!
1954
- title: String
1955
- updatedAt: Date!
1956
- updatedBy: String
1957
- }
1958
-
1959
- type ProjectRequirement {
1960
- acceptanceCriteria: [String!]!
1961
- applicationArea: String
1962
- createdAt: Date!
1963
- createdBy: String
1964
- description: String!
1965
- id: ID!
1966
- isCompleted: Boolean!
1967
- priority: PriorityLevel!
1968
- project: Project!
1969
- title: String!
1970
- updatedAt: Date!
1971
- updatedBy: String
1972
- }
1973
-
1974
- type ProjectReview {
1975
- analysisScope: [String!]!
1976
- applicationPrompt: String
1977
- applicationResult: ApplicationResultType
1978
- appliedAt: Date
1979
- approvalCount: Int!
1980
- approvedAt: Date
1981
- approvedByUser: User
1982
- canBeApplied: Boolean!
1983
- completedAt: Date
1984
- createdAt: Date!
1985
- createdBy: String
1986
- hasApprovals: Boolean!
1987
- highPrioritySuggestionCount: Int!
1988
- id: ID!
1989
- isAIReview: Boolean!
1990
- isApplied: Boolean!
1991
- isApplying: Boolean!
1992
- isApproved: Boolean!
1993
- isCompleted: Boolean!
1994
- isCurrentVersion: Boolean!
1995
- isPending: Boolean!
1996
- originalReview: ProjectReview
1997
- overallScore: Int!
1998
- previousVersion: ProjectReview
1999
- project: Project!
2000
- rejectionCount: Int!
2001
- repromptContext: String
2002
- repromptedAt: Date
2003
- reviewData: ReviewDataType!
2004
- reviewNotes: String
2005
- reviewedBy: User
2006
- reviewerId: String
2007
- reviewerType: ReviewerType!
2008
- reviewerUser: User
2009
- status: ReviewStatus!
2010
- suggestedProductRequirements: SuggestedProductRequirementsType
2011
- suggestionCount: Int!
2012
- suggestions: ReviewSuggestionsType!
2013
- targetServices: [String!]!
2014
- updatedAt: Date!
2015
- updatedBy: String
2016
- version: Int!
2017
- }
2018
-
2019
- input ProjectSearchInput {
2020
- query: String
2021
- stage: ProjectStage
2022
- }
2023
-
2024
- enum ProjectStage {
2025
- ARCHIVED
2026
- COMPLETE
2027
- DESIGN
2028
- DEVELOPMENT
2029
- IMPLEMENTATION
2030
- REQUIREMENTS
2031
- }
2032
-
2033
- type ProjectStats {
2034
- activeTeamMembers: Int!
2035
- averageStoryPoints: Float!
2036
- completedStories: Int!
2037
- completedStoryPoints: Int!
2038
- completedTasks: Int!
2039
- completionPercentage: Float!
2040
- inProgressStories: Int!
2041
- inProgressTasks: Int!
2042
- lastActivityAt: String!
2043
- projectId: String!
2044
- projectName: String!
2045
- todoStories: Int!
2046
- todoTasks: Int!
2047
- totalAttachments: Int!
2048
- totalComments: Int!
2049
- totalStories: Int!
2050
- totalStoryPoints: Int!
2051
- totalTasks: Int!
2052
- velocityLastWeek: Float!
2053
- velocityThisWeek: Float!
2054
- }
2055
-
2056
- type ProjectStatsSummary {
2057
- completedStories: Int!
2058
- completedTasks: Int!
2059
- completionPercentage: Int!
2060
- totalComments: Int!
2061
- totalStories: Int!
2062
- totalTasks: Int!
2063
- }
2064
-
2065
- enum ProjectView {
2066
- CALENDAR
2067
- KANBAN
2068
- LIST
2069
- }
2070
-
2071
- type ProjectWithStats {
2072
- affectedServices: [WorkspaceService!]!
2073
- blockedStoriesCount: Int!
2074
- completedStoriesCount: Int!
2075
- createdAt: Date!
2076
- createdBy: String
2077
- createdByUser: User
2078
- description: String
2079
- documentationUrl: String
2080
- healthScore: Int
2081
- id: ID!
2082
- implementationStoriesCount: Int!
2083
- isActive: Boolean!
2084
- isArchived: Boolean!
2085
- isComplete: Boolean!
2086
- isPublic: Boolean!
2087
- links: JSONObject
2088
- name: String!
2089
- notes: [ProjectNote!]!
2090
- organization: Organization!
2091
- pendingStoriesCount: Int!
2092
- phases: [Phase!]!
2093
- progressPercentage: Int!
2094
- qualityMetrics: JSONObject
2095
- repositoryUrl: String
2096
- requirements: [ProjectRequirement!]!
2097
- reviewHistory: JSONObject
2098
- reviewStoriesCount: Int!
2099
- riskProfile: JSONObject
2100
- sprints: [Sprint!]!
2101
- stage: ProjectStage!
2102
- startDate: Date
2103
- stats: ProjectStatsSummary!
2104
- stories(limit: Int! = 50, offset: Int! = 0): [Story!]!
2105
- storiesCount: Int!
2106
- targetCompletionDate: Date
2107
- tasksCount: Int!
2108
- team: Team
2109
- updatedAt: Date!
2110
- updatedBy: String
2111
- workspaceConfig: JSONObject
2112
- workspaces: [Workspace!]!
2113
- }
2114
-
2115
- input PublicEarlyAccessRegistrationInput {
2116
- acceptedTerms: Boolean!
2117
- ageVerified: Boolean!
2118
- aiTools: [String!]!
2119
- comments: String
2120
- companyName: String
2121
- contactName: String
2122
- currentTools: [String!]!
2123
- email: String!
2124
- painPoints: [String!]!
2125
- primaryLanguages: [String!]!
2126
- projectTypes: [String!]!
2127
- repoStructure: String
2128
- role: String
2129
- serviceCount: String
2130
- subscribeToNewsletter: Boolean
2131
- teamSize: String
2132
- }
2133
-
2134
- type Query {
2135
- activeDevelopmentPlans(projectId: String): [DevelopmentPlan!]!
2136
- activityMetrics(
2137
- filter: AnalyticsFilter
2138
- timeRange: TimeRange!
2139
- ): [ActivityMetric!]!
2140
- aiServiceSessions: [AIServiceSession!]!
2141
- aiWorkQueue: [AIWorkQueue!]!
2142
- aiWorker(workerId: String!): AIWorker
2143
- aiWorkerRegistrations(limit: Int): [AIWorkerRegistration!]!
2144
- aiWorkerStatistics: AIWorkerStatistics!
2145
- aiWorkersByScope(scope: WorkerScope!, scopeId: String!): [AIWorker!]!
2146
- apiKey(id: ID!): ApiKey
2147
- apiKeys(scope: ApiKeyScope): [ApiKey!]!
2148
- apiVersion: APIVersionInfo!
2149
- attachment(id: String!): Attachment
2150
- attachments(
2151
- limit: Int! = 50
2152
- offset: Int! = 0
2153
- search: AttachmentSearchInput
2154
- ): [Attachment!]!
2155
- auditTrail(
2156
- entityId: String
2157
- entityType: String
2158
- limit: Int! = 100
2159
- offset: Int! = 0
2160
- userId: String
2161
- ): [AuditTrail!]!
2162
- availableWorkspaces: [Workspace!]!
2163
- claudeErrorAnalysis(
2164
- endDate: Date
2165
- organizationId: String!
2166
- startDate: Date
2167
- ): ClaudeErrorAnalysis!
2168
- claudeTotalUsage(
2169
- endDate: Date
2170
- organizationId: String!
2171
- startDate: Date
2172
- ): ClaudeTotalUsage!
2173
- claudeUsageByProject(
2174
- endDate: Date
2175
- limit: Int = 10
2176
- organizationId: String!
2177
- startDate: Date
2178
- ): [ClaudeProjectUsage!]!
2179
- claudeUsageMetrics(query: ClaudeMetricsQueryInput!): [ClaudeUsageMetrics!]!
2180
- claudeUsageSession(sessionId: String!): ClaudeUsageSession
2181
- claudeUsageSessions(query: ClaudeUsageQueryInput!): [ClaudeUsageSession!]!
2182
- claudeUsageTrends(
2183
- endDate: Date!
2184
- organizationId: String!
2185
- periodType: MetricsAggregationPeriod!
2186
- projectId: String
2187
- startDate: Date!
2188
- ): [ClaudeUsageMetrics!]!
2189
- commentThread(
2190
- limit: Int! = 50
2191
- offset: Int! = 0
2192
- storyId: String!
2193
- ): CommentThread!
2194
- comments(
2195
- limit: Int! = 50
2196
- offset: Int! = 0
2197
- search: CommentSearchInput!
2198
- ): [Comment!]!
2199
- currentDevelopmentPlan(projectId: String!): DevelopmentPlan
2200
- dashboardData(filter: AnalyticsFilter): DashboardData!
2201
- developmentPlan(id: String!): DevelopmentPlan
2202
- developmentPlanAuditLogs(planId: String!): [DevelopmentPlanAuditLog!]!
2203
- developmentPlans(
2204
- limit: Int! = 10
2205
- offset: Int! = 0
2206
- projectId: String
2207
- status: String
2208
- ): [DevelopmentPlan!]!
2209
- discoverAIWorkers(filter: AIWorkerDiscoveryFilter): [AIWorker!]!
2210
- earlyAccessRegistration(id: String!): EarlyAccessRegistration
2211
- earlyAccessRegistrationCount(status: String): Float!
2212
- earlyAccessRegistrations(status: String): [EarlyAccessRegistration!]!
2213
- entityAuditTrail(
2214
- entityId: String!
2215
- entityType: String!
2216
- limit: Int! = 50
2217
- offset: Int! = 0
2218
- ): [AuditTrail!]!
2219
- getAttachmentDownloadUrl(id: String!): FileDownloadResponse!
2220
- getAuditStats(dateFrom: Date, dateTo: Date): AuditStatsResult!
2221
- getAverageResponseTime(
2222
- keyPrefix: String! = "gql:metrics"
2223
- operationName: String!
2224
- organizationId: String!
2225
- ): Float!
2226
- getErrorRate(
2227
- keyPrefix: String! = "gql:metrics"
2228
- operationName: String!
2229
- organizationId: String!
2230
- ): Float!
2231
- getGlobalMetrics(keyPrefix: String! = "gql:metrics"): GlobalMetrics!
2232
- getOperationCounts(
2233
- keyPrefix: String! = "gql:metrics"
2234
- organizationId: String!
2235
- ): [OperationMetric!]!
2236
- getOperationResults(
2237
- keyPrefix: String! = "gql:metrics"
2238
- organizationId: String!
2239
- ): [OperationResult!]!
2240
- getOperationTimings(
2241
- keyPrefix: String! = "gql:metrics"
2242
- organizationId: String!
2243
- ): [OperationMetric!]!
2244
- getOrganizationInviteByToken(token: String!): OrganizationInvite
2245
- getRecentErrors(
2246
- keyPrefix: String! = "gql:metrics"
2247
- limit: Int! = 10
2248
- organizationId: String!
2249
- ): [ErrorRecord!]!
2250
- getSlowOperations(
2251
- keyPrefix: String! = "gql:metrics"
2252
- limit: Int! = 10
2253
- organizationId: String!
2254
- ): [SlowOperation!]!
2255
- getTimeSpanMetrics(
2256
- hours: Int! = 24
2257
- keyPrefix: String! = "gql:metrics"
2258
- organizationId: String!
2259
- ): [TimeSpanMetrics!]!
2260
- getWorkItemAuditHistory(
2261
- limit: Int! = 50
2262
- workItemId: String!
2263
- ): [AIWorkAudit!]!
2264
- getWorkItemAuditSummary(workItemId: String!): WorkItemAuditSummary
2265
- getWorkItemErrors(workItemId: String!): [AIWorkItemError!]!
2266
- getWorkerCurrentWork(workerId: String!): [AIWorkQueue!]!
2267
- me: User
2268
- myActiveAISession: AIServiceSession
2269
- myDashboard(filter: AnalyticsFilter): UserStats!
2270
- organizationInvite(id: String!): OrganizationInvite
2271
- organizationInvites(status: String): [OrganizationInvite!]!
2272
- pendingProjectReviews(limit: Int! = 10): [ProjectReview!]!
2273
- pollForWork(
2274
- autoClaimWork: Boolean = true
2275
- capabilities: [String!]!
2276
- maxWork: Int = 3
2277
- workerId: String!
2278
- ): WorkPollResult!
2279
- project(id: String!): Project
2280
- projectHealthMetrics(projectId: String!): JSONObject!
2281
- projectHealthRankings(limit: Int! = 10): [JSONObject!]!
2282
- projectProgress(filter: AnalyticsFilter): [ProgressMetric!]!
2283
- projectReview(id: String!): ProjectReview
2284
- projectReviews(
2285
- limit: Int! = 50
2286
- offset: Int! = 0
2287
- projectId: String
2288
- status: String
2289
- ): [ProjectReview!]!
2290
- projectStats(filter: AnalyticsFilter, projectId: String!): ProjectStats!
2291
- projectVelocity(projectId: String!, weeks: Int! = 8): [VelocityMetric!]!
2292
- projectWithStats(id: String!): ProjectWithStats
2293
- projects(
2294
- limit: Int! = 50
2295
- offset: Int! = 0
2296
- search: ProjectSearchInput
2297
- ): [Project!]!
2298
- publicApiHealth: String!
2299
- recentActivity(days: Int! = 7, filter: AnalyticsFilter): [ActivityMetric!]!
2300
- recentlyAppliedReviews(limit: Int! = 10): [ProjectReview!]!
2301
- reviewApplicationStatus(reviewId: String!): ReviewApplicationStatus
2302
- roleUsage: [RoleUsageStats!]!
2303
- searchAuditLogs(input: AuditSearchInput!): AuditSearchResult!
2304
- sessionInfo: SessionInfo!
2305
- stories(
2306
- limit: Int! = 50
2307
- offset: Int! = 0
2308
- projectId: String
2309
- search: StorySearchInput
2310
- ): [Story!]!
2311
- story(id: String!): Story
2312
- storyWithTasks(id: String!): StoryWithTasks
2313
- task(id: String!): Task
2314
- teamPerformance(filter: AnalyticsFilter): [TeamPerformance!]!
2315
- testAuth: String!
2316
- topPerformers(filter: AnalyticsFilter, limit: Int! = 5): [UserStats!]!
2317
- topProjects(filter: AnalyticsFilter, limit: Int! = 5): [ProjectStats!]!
2318
- user(id: String!): User
2319
- userActivities(limit: Int = 50, userId: String!): [UserActivity!]!
2320
- userComparison(filter: AnalyticsFilter, userIds: [String!]!): [UserStats!]!
2321
- userDetails(id: String!): User
2322
- userPreferences: UserPreferences
2323
- userStats(filter: AnalyticsFilter, userId: String): UserStats!
2324
- users(
2325
- pagination: PaginationInput
2326
- search: TeamUserSearchInput
2327
- ): UserConnection!
2328
- validateSubdomain(subdomain: String!): SubdomainValidationResponse!
2329
- velocityMetrics(
2330
- filter: AnalyticsFilter
2331
- timeRange: TimeRange!
2332
- ): [VelocityMetric!]!
2333
- workQueueMetrics: WorkQueueMetrics!
2334
- workspaceStats(filter: AnalyticsFilter): WorkspaceStats!
2335
- }
2336
-
2337
- input QueueAIWorkInput {
2338
- estimatedDuration: Int
2339
- metadataJson: String
2340
- priority: Int! = 5
2341
- projectId: String
2342
- requiredCapabilities: [String!]
2343
- requiredWorkspaces: [String!]
2344
- reviewId: String
2345
- storyId: String
2346
- workType: String
2347
- }
2348
-
2349
- input RecommendationInput {
2350
- business_impact: String
2351
- category: String!
2352
- description: String!
2353
- estimated_effort: String
2354
- id: String!
2355
- implementation_guide: String
2356
- priority: String!
2357
- technical_complexity: String
2358
- title: String!
2359
- }
2360
-
2361
- input RefreshTokenInput {
2362
- refreshToken: String!
2363
- }
2364
-
2365
- input RegisterInput {
2366
- email: String!
2367
- firstName: String
2368
- lastName: String
2369
- password: String!
2370
- role: UserRole
2371
- }
2372
-
2373
- """
2374
- Status of AI agent registration request
2375
- """
2376
- enum RegistrationStatus {
2377
- APPROVED
2378
- EXPIRED
2379
- PENDING
2380
- REJECTED
2381
- }
2382
-
2383
- input RemoveStoryDependencyInput {
2384
- dependsOnStoryId: String!
2385
- storyId: String!
2386
- }
2387
-
2388
- input RepromptReviewInput {
2389
- additionalContext: String
2390
- focusAreas: [String!]
2391
- improvements: String
2392
- reviewId: String!
2393
- }
2394
-
2395
- input RequestPasswordResetInput {
2396
- email: String!
2397
- }
2398
-
2399
- input RequirementsClarificationQuestionInput {
2400
- category: String!
2401
- impact_if_unclear: String!
2402
- question: String!
2403
- suggested_default: String!
2404
- }
2405
-
2406
- input ResetPasswordInput {
2407
- newPassword: String!
2408
- token: String!
2409
- }
2410
-
2411
- type ResourcesType {
2412
- aiWorkloadPercentage: Float!
2413
- estimatedTeamSize: Int!
2414
- requiredSkills: [String!]!
2415
- }
2416
-
2417
- type RetryInfoType {
2418
- errorHistory: [ErrorHistoryType!]
2419
- failureClassification: String
2420
- nextRetryAt: String
2421
- retryDelay: Int
2422
- retryReason: String
2423
- }
2424
-
2425
- type ReviewApplicationResult {
2426
- estimatedDuration: Int
2427
- id: String!
2428
- message: String!
2429
- status: ApplicationStatus!
2430
- workQueueId: String
2431
- }
2432
-
2433
- type ReviewApplicationStatus {
2434
- errors: [String!]!
2435
- progress: ApplicationProgress
2436
- reviewId: String!
2437
- status: ApplicationStatus!
2438
- workQueue: ApplicationQueueItem
2439
- }
2440
-
2441
- type ReviewDataType {
2442
- analysis: AnalysisType!
2443
- executiveSummary: String
2444
- featureGapAnalysis: FeatureGapAnalysisType
2445
- scores: ScoresType!
2446
- suggestedProductRequirements: SuggestedProductRequirementsType
2447
- }
2448
-
2449
- """
2450
- Completion status of the review generation
2451
- """
2452
- enum ReviewStatus {
2453
- APPLIED
2454
- APPLYING
2455
- APPROVED
2456
- COMPLETED
2457
- FAILED
2458
- PENDING
2459
- }
2460
-
2461
- type ReviewSuggestionsType {
2462
- architecture: [ArchitectureSuggestionType!]!
2463
- requirements: [SuggestionRequirementType!]!
2464
- risks: [RiskSuggestionType!]!
2465
- }
2466
-
2467
- """
2468
- Type of reviewer (human or AI)
2469
- """
2470
- enum ReviewerType {
2471
- AI
2472
- HUMAN
2473
- }
2474
-
2475
- input RiskInput {
2476
- description: String!
2477
- impact: String!
2478
- mitigation_strategy: String
2479
- probability: String!
2480
- title: String!
2481
- }
2482
-
2483
- type RiskSuggestionType {
2484
- mitigation: String!
2485
- risk: String!
2486
- severity: String!
2487
- }
2488
-
2489
- type Role {
2490
- createdAt: Date!
2491
- createdBy: String
2492
- description: String
2493
- id: ID!
2494
- isSystemRole: Boolean!
2495
- name: String!
2496
- permissions: JSONObject!
2497
- updatedAt: Date!
2498
- updatedBy: String
2499
- }
2500
-
2501
- type RoleUsageStats {
2502
- activeUserCount: String!
2503
- roleId: String!
2504
- roleName: String!
2505
- userCount: String!
2506
- }
2507
-
2508
- input ScoreInput {
2509
- reasoning: String!
2510
- score: Int!
2511
- }
2512
-
2513
- input ScoresInput {
2514
- clarity: ScoreInput!
2515
- completeness: ScoreInput!
2516
- feasibility: ScoreInput!
2517
- overall: ScoreInput!
2518
- }
2519
-
2520
- type ScoresType {
2521
- clarity: Int!
2522
- completeness: Int!
2523
- feasibility: Int!
2524
- overall: Int!
2525
- }
2526
-
2527
- input ServiceRegistrationInput {
2528
- description: String
2529
- healthCheckUrl: String
2530
- name: String!
2531
- path: String
2532
- port: Int
2533
- repositoryUrl: String
2534
- serviceId: String!
2535
- technology: String! = "other"
2536
- }
2537
-
2538
- """
2539
- Available service technologies
2540
- """
2541
- enum ServiceTechnology {
2542
- DATABASE
2543
- DOCKER
2544
- GO
2545
- JAVA
2546
- NGINX
2547
- NODEJS
2548
- OTHER
2549
- PYTHON
2550
- REACT
2551
- REDIS
2552
- RUST
2553
- }
2554
-
2555
- type SessionInfo {
2556
- expiresAt: Date
2557
- isValid: Boolean!
2558
- issuedAt: Date
2559
- user: User
2560
- }
2561
-
2562
- type SlowOperation {
2563
- duration: Int!
2564
- errors: [String!]
2565
- operationName: String!
2566
- organizationId: String!
2567
- status: String!
2568
- timestamp: Int!
2569
- }
2570
-
2571
- type Sprint {
2572
- completedStories: Int!
2573
- createdAt: Date!
2574
- createdBy: String
2575
- duration: Int!
2576
- endDate: Date!
2577
- goal: String
2578
- id: ID!
2579
- isActive: Boolean!
2580
- isEnded: Boolean!
2581
- isInProgress: Boolean!
2582
- isStarted: Boolean!
2583
- name: String!
2584
- progressPercentage: Int!
2585
- project: Project!
2586
- startDate: Date!
2587
- stories: [Story!]!
2588
- totalStories: Int!
2589
- updatedAt: Date!
2590
- updatedBy: String
2591
- }
2592
-
2593
- type Story {
2594
- acceptanceCriteria: [String!]!
2595
- affectedServices: [String!]!
2596
- assignedTo: String
2597
- assignedToUser: User
2598
- attachments: [Attachment!]!
2599
- canBeClaimed: Boolean!
2600
- claimedAt: Date
2601
- comments: [Comment!]!
2602
- completedAt: Date
2603
- completedTasks: Int!
2604
- completedTasksCount: Int!
2605
- createdAt: Date!
2606
- createdBy: String
2607
- crossWorkspaceCoordination: String
2608
- dependencies: [Story!]
2609
- dependsOn: [Story!]
2610
- description: String
2611
- estimate: Int
2612
- hasBlockingDependencies: Boolean!
2613
- id: ID!
2614
- implementationDuration: Int
2615
- isAssigned: Boolean!
2616
- isBlocked: Boolean!
2617
- isComplete: Boolean!
2618
- isInProgress: Boolean!
2619
- isInReview: Boolean!
2620
- isPending: Boolean!
2621
- orderIndex: Int
2622
- organization: Organization!
2623
- phase: Phase
2624
- priority: PriorityLevel!
2625
- progressPercentage: Int!
2626
- project: Project!
2627
- pullRequestLink: String
2628
- relatedWorkspaces: [String!]!
2629
- reviewNotes: String
2630
- reviewedAt: Date
2631
- reviewedBy: User
2632
- sprint: Sprint
2633
- startedAt: Date
2634
- status: StoryState!
2635
- storyLink: String
2636
- tags: [String!]!
2637
- taskProgressPercentage: Int!
2638
- tasks(limit: Int! = 100, offset: Int! = 0): [Task!]!
2639
- tasksCount: Int!
2640
- title: String!
2641
- totalTasks: Int!
2642
- updatedAt: Date!
2643
- updatedBy: String
2644
- workspaceId: String
2645
- }
2646
-
2647
- type StoryEstimateType {
2648
- complexity: String
2649
- confidence: Float
2650
- dependencies: [String!]
2651
- estimatedHours: Float
2652
- storyId: String!
2653
- title: String!
2654
- }
2655
-
2656
- input StoryProgressInput {
2657
- next_steps: [String!]
2658
- overall_progress: Int!
2659
- status_summary: String!
2660
- story_id: String!
2661
- tasks_completed: [String!]
2662
- tasks_remaining: [String!]
2663
- }
2664
-
2665
- input StorySearchInput {
2666
- assignedTo: String
2667
- projectId: String
2668
- query: String
2669
- state: StoryState
2670
- type: TaskType
2671
- }
2672
-
2673
- enum StoryState {
2674
- BLOCKED
2675
- COMPLETE
2676
- IMPLEMENTATION
2677
- PENDING
2678
- REVIEW
2679
- }
2680
-
2681
- type StoryWithTasks {
2682
- createdAt: Date!
2683
- createdBy: String!
2684
- description: String
2685
- id: String!
2686
- priority: PriorityLevel
2687
- priorityLevel: PriorityLevel!
2688
- project: Project!
2689
- status: StoryState!
2690
- storyPoints: Int
2691
- tasks: [Task!]!
2692
- title: String!
2693
- type: TaskType
2694
- updatedAt: Date!
2695
- updatedBy: String
2696
- }
2697
-
2698
- input StrengthInput {
2699
- description: String!
2700
- evidence: [String!]
2701
- impact: String!
2702
- title: String!
2703
- }
2704
-
2705
- type SubdomainValidationResponse {
2706
- error: String
2707
- isValid: Boolean!
2708
- suggestions: [String!]!
2709
- }
2710
-
2711
- type Subscription {
2712
- aiWorkAssigned(projectId: String, workerId: String): AIWorkAssignment!
2713
- aiWorkCompleted(
2714
- assignmentId: String
2715
- projectId: String
2716
- workerId: String
2717
- ): AIWorkCompletion!
2718
- aiWorkProgressUpdated(
2719
- assignmentId: String
2720
- projectId: String
2721
- workerId: String
2722
- ): AIWorkProgress!
2723
- aiWorkUpdated(projectId: String): AIWorkQueue!
2724
- aiWorkerDisconnected(projectId: String): AIWorkerDisconnectionInfo!
2725
- aiWorkerDiscoveryUpdated(projectId: String): AIWorkerDiscoveryUpdate!
2726
- aiWorkerHealthUpdated(
2727
- projectId: String
2728
- workerId: String
2729
- ): AIWorkerHealthStatus!
2730
- aiWorkerRegistered(capabilities: [AIWorkType!], projectId: String): AIWorker!
2731
- aiWorkerStatusChanged(projectId: String, workerId: String): AIWorker!
2732
- commentAdded(storyId: String!): Comment!
2733
- notificationReceived: Notification!
2734
- projectReviewUpdated(projectId: String, reviewId: String): ProjectReview!
2735
- projectUpdated(projectId: String!): Project!
2736
- storyUpdated(projectId: String!): Story!
2737
- taskUpdated(storyId: String!): Task!
2738
- userPresence(projectId: String!): UserPresence!
2739
- workspaceCreated: Workspace!
2740
- workspaceDeleted(workspaceId: String): String!
2741
- workspaceUpdated(workspaceId: String): Workspace!
2742
- }
2743
-
2744
- type SuccessRateMetrics {
2745
- errorRate: Float!
2746
- failedSessions: Int!
2747
- rateLimitedSessions: Int!
2748
- successRate: Float!
2749
- successfulSessions: Int!
2750
- timeoutSessions: Int!
2751
- totalSessions: Int!
2752
- }
2753
-
2754
- type SuggestedProductRequirementsType {
2755
- explicitRequirements: [ExplicitRequirementType!]!
2756
- inferredFunctionalRequirements: [InferredRequirementType!]!
2757
- requirementsClarificationQuestions: [ClarificationQuestionType!]!
2758
- suggestedNonFunctionalRequirements: [NonFunctionalRequirementType!]!
2759
- }
2760
-
2761
- type SuggestionRequirementType {
2762
- current: String
2763
- id: String!
2764
- priority: String!
2765
- rationale: String!
2766
- suggested: String!
2767
- type: String!
2768
- }
2769
-
2770
- type Task {
2771
- actualHours: Int
2772
- actualTime: Int
2773
- affectedWorkspaces: [String!]!
2774
- areas: [String!]!
2775
- assignedTo: String
2776
- assignedToUser: User
2777
- attachments: [Attachment!]!
2778
- canBeClaimed: Boolean!
2779
- claimedAt: Date
2780
- comments: [Comment!]!
2781
- completedAt: Date
2782
- createdAt: Date!
2783
- createdBy: String
2784
- currentSessionDuration: Int!
2785
- currentSessionStart: Date
2786
- deadline: Date
2787
- dependencies: [Task!]
2788
- dependsOn: [Task!]
2789
- description: String
2790
- dueDate: Date
2791
- estimate: Int
2792
- estimatedHours: Int
2793
- estimatedTime: Int
2794
- hasBlockingDependencies: Boolean!
2795
- id: ID!
2796
- implementationDuration: Int
2797
- implementationSummary: String
2798
- isAsk: Boolean!
2799
- isAssigned: Boolean!
2800
- isBlocked: Boolean!
2801
- isComplete: Boolean!
2802
- isFollowup: Boolean!
2803
- isInProgress: Boolean!
2804
- isPending: Boolean!
2805
- isPlanned: Boolean!
2806
- isTimerRunning: Boolean!
2807
- keyFiles: [String!]
2808
- orderIndex: Int
2809
- organization: Organization!
2810
- priority: PriorityLevel!
2811
- startedAt: Date
2812
- state: TaskState!
2813
- status: TaskState!
2814
- story: Story!
2815
- targetFilePaths: [String!]!
2816
- targetService: String
2817
- title: String!
2818
- totalTimeIncludingCurrent: Int!
2819
- totalTrackedTime: Int!
2820
- type: TaskType!
2821
- updatedAt: Date!
2822
- updatedBy: String
2823
- workspaceId: String
2824
- }
2825
-
2826
- input TaskImplementationInput {
2827
- blockers: [String!]
2828
- completion_status: String!
2829
- files_modified: [FileModificationInput!]!
2830
- implementation_summary: String!
2831
- task_id: String!
2832
- tests_added: [String!]
2833
- }
2834
-
2835
- enum TaskState {
2836
- BLOCKED
2837
- COMPLETE
2838
- IMPLEMENTATION
2839
- PENDING
2840
- }
2841
-
2842
- enum TaskType {
2843
- ASK
2844
- FOLLOWUP
2845
- PLANNED
2846
- }
2847
-
2848
- type Team {
2849
- createdAt: Date!
2850
- createdBy: String
2851
- description: String
2852
- id: ID!
2853
- isActive: Boolean!
2854
- members: [TeamMember!]!
2855
- name: String!
2856
- settings: JSONObject
2857
- updatedAt: Date!
2858
- updatedBy: String
2859
- }
2860
-
2861
- type TeamMember {
2862
- createdAt: Date!
2863
- createdBy: String
2864
- id: ID!
2865
- joinedAt: Date!
2866
- role: Role!
2867
- status: String!
2868
- team: Team!
2869
- updatedAt: Date!
2870
- updatedBy: String
2871
- user: User!
2872
- }
2873
-
2874
- type TeamPerformance {
2875
- averageCompletionTime: Float!
2876
- completedItems: Int!
2877
- completedStoryPoints: Int!
2878
- completionRate: Float!
2879
- inProgressItems: Int!
2880
- lastActivityAt: String!
2881
- teamMemberAvatar: String
2882
- teamMemberId: String!
2883
- teamMemberName: String!
2884
- totalStoryPoints: Int!
2885
- }
2886
-
2887
- input TeamUserSearchInput {
2888
- email: String
2889
- firstName: String
2890
- isActive: String
2891
- lastName: String
2892
- teamId: String
2893
- }
2894
-
2895
- enum Theme {
2896
- DARK
2897
- LIGHT
2898
- SYSTEM
2899
- }
2900
-
2901
- enum TimeFormat {
2902
- TWELVE_HOUR
2903
- TWENTY_FOUR_HOUR
2904
- }
2905
-
2906
- input TimeRange {
2907
- end: String!
2908
- granularity: String! = "day"
2909
- start: String!
2910
- }
2911
-
2912
- type TimeSpanMetrics {
2913
- operations: [TimeSpanOperation!]!
2914
- timeSpan: String!
2915
- }
2916
-
2917
- type TimeSpanOperation {
2918
- count: Int!
2919
- duration: Int!
2920
- operation: String!
2921
- }
2922
-
2923
- input TimelineInput {
2924
- phases: [PhaseInput!]!
2925
- total_duration_weeks: Int!
2926
- }
2927
-
2928
- type TimelineType {
2929
- endDate: String!
2930
- milestones: [MilestoneType!]!
2931
- startDate: String!
2932
- }
2933
-
2934
- input UpdateAIWorkInput {
2935
- metadataJson: String
2936
- status: AIWorkStatus
2937
- workId: String!
2938
- }
2939
-
2940
- input UpdateApiKeyInput {
2941
- agentConfiguration: AgentConfigurationInput
2942
- isActive: Boolean
2943
- name: String
2944
- }
2945
-
2946
- input UpdateCommentInput {
2947
- content: String!
2948
- }
2949
-
2950
- input UpdateDevelopmentPlanInput {
2951
- approvalNotes: String
2952
- dependenciesJson: String
2953
- estimatesJson: String
2954
- planDataJson: String
2955
- status: PlanStatus
2956
- }
2957
-
2958
- input UpdateEarlyAccessRegistrationInput {
2959
- companyName: String
2960
- contactName: String
2961
- notes: String
2962
- status: String
2963
- }
2964
-
2965
- input UpdateProjectInput {
2966
- affectedServiceIds: [String!]
2967
- description: String
2968
- documentationUrl: String
2969
- isPublic: Boolean
2970
- name: String
2971
- repositoryUrl: String
2972
- stage: ProjectStage
2973
- startDate: Date
2974
- targetCompletionDate: Date
2975
- workspaceConfig: JSONObject
2976
- workspaceIds: [String!]
2977
- }
2978
-
2979
- input UpdateProjectReviewInput {
2980
- additionalContext: String
2981
- focusAreas: [String!]
2982
- reviewId: String!
2983
- reviewScope: String
2984
- }
2985
-
2986
- input UpdateStoryInput {
2987
- acceptanceCriteria: [String!]
2988
- assignedTo: String
2989
- description: String
2990
- estimate: Int
2991
- priority: PriorityLevel
2992
- storyLink: String
2993
- tags: [String!]
2994
- title: String
2995
- }
2996
-
2997
- input UpdateTaskInput {
2998
- description: String
2999
- implementationSummary: String
3000
- keyFiles: [String!]
3001
- status: TaskState
3002
- title: String
3003
- }
3004
-
3005
- input UpdateUserInput {
3006
- avatarUrl: String
3007
- firstName: String
3008
- lastName: String
3009
- role: UserRole
3010
- status: UserStatus
3011
- timezone: String
3012
- }
3013
-
3014
- input UpdateUserPreferencesInput {
3015
- dateFormat: String
3016
- defaultProjectView: String
3017
- emailDigestFrequency: String
3018
- emailNotifications: Boolean
3019
- itemsPerPage: Int
3020
- notifyOnAssignment: Boolean
3021
- notifyOnComment: Boolean
3022
- notifyOnMention: Boolean
3023
- notifyOnStatusChange: Boolean
3024
- theme: String
3025
- timeFormat: String
3026
- timezone: String
3027
- }
3028
-
3029
- type User {
3030
- activeApiKeysCount: Int!
3031
- aiWorkers: [AIWorker!]!
3032
- assignedStoriesCount: Int!
3033
- assignedTasksCount: Int!
3034
- avatarUrl: String
3035
- canAccessAudits: Boolean!
3036
- canAccessInternal: Boolean!
3037
- canManageBilling: Boolean!
3038
- canSupportOrganizations: Boolean!
3039
- commentsCount: Int!
3040
- createdAt: Date!
3041
- createdBy: String
3042
- createdProjectsCount: Int!
3043
- displayName: String!
3044
- email: String!
3045
- firstName: String
3046
- fullName: String!
3047
- id: ID!
3048
- isActive: Boolean!
3049
- isAdmin: Boolean!
3050
- lastLoginAt: Date
3051
- lastName: String
3052
- organizationMemberships: [UserOrganization!]!
3053
- platformRoles: [UserPlatformRole!]!
3054
- role: UserRole!
3055
- status: UserStatus!
3056
- storiesCount: Int!
3057
- tasksCount: Int!
3058
- teamMemberships: [TeamMember!]!
3059
- timezone: String
3060
- updatedAt: Date!
3061
- updatedBy: String
3062
- }
3063
-
3064
- type UserActivity {
3065
- actionType: String!
3066
- createdAt: Date!
3067
- createdBy: String
3068
- id: ID!
3069
- metadata: JSONObject
3070
- resourceId: String
3071
- resourceType: String
3072
- updatedAt: Date!
3073
- updatedBy: String
3074
- user: User!
3075
- }
3076
-
3077
- type UserConnection {
3078
- hasNextPage: String!
3079
- hasPreviousPage: String!
3080
- nodes: [User!]!
3081
- totalCount: String!
3082
- }
3083
-
3084
- input UserOperation {
3085
- operation: String!
3086
- userId: String!
3087
- value: String
3088
- }
3089
-
3090
- type UserOrganization {
3091
- createdAt: Date!
3092
- createdBy: String
3093
- id: ID!
3094
- invitationToken: String
3095
- invitedAt: Date
3096
- invitedBy: String
3097
- joinedAt: Date
3098
- lastAccessedAt: Date
3099
- organization: Organization!
3100
- role: OrganizationRole!
3101
- status: UserOrganizationStatus!
3102
- updatedAt: Date!
3103
- updatedBy: String
3104
- user: User!
3105
- }
3106
-
3107
- """
3108
- Status of user membership in an organization
3109
- """
3110
- enum UserOrganizationStatus {
3111
- ACTIVE
3112
- INVITED
3113
- LEFT
3114
- SUSPENDED
3115
- }
3116
-
3117
- type UserPlatformRole {
3118
- createdAt: Date!
3119
- createdBy: String
3120
- expiresAt: Date
3121
- grantedAt: Date
3122
- grantedBy: User
3123
- id: ID!
3124
- reason: String
3125
- role: PlatformRole!
3126
- updatedAt: Date!
3127
- updatedBy: String
3128
- user: User!
3129
- }
3130
-
3131
- type UserPreferences {
3132
- createdAt: Date!
3133
- createdBy: String
3134
- dateFormat: String!
3135
- defaultProjectView: ProjectView!
3136
- emailDigestFrequency: EmailDigestFrequency!
3137
- emailNotifications: Boolean!
3138
- hasEmailNotificationsEnabled: Boolean!
3139
- id: ID!
3140
- isDarkMode: Boolean!
3141
- isLightMode: Boolean!
3142
- itemsPerPage: Int!
3143
- notifyOnAssignment: Boolean!
3144
- notifyOnComment: Boolean!
3145
- notifyOnMention: Boolean!
3146
- notifyOnStatusChange: Boolean!
3147
- prefersKanbanView: Boolean!
3148
- theme: Theme!
3149
- timeFormat: TimeFormat!
3150
- timezone: String!
3151
- updatedAt: Date!
3152
- updatedBy: String
3153
- user: User!
3154
- uses24HourTime: Boolean!
3155
- usesSystemTheme: Boolean!
3156
- }
3157
-
3158
- type UserPresence {
3159
- avatarUrl: String
3160
- currentPage: String
3161
- fullName: String!
3162
- lastSeen: Date!
3163
- status: String!
3164
- userId: String!
3165
- }
3166
-
3167
- enum UserRole {
3168
- ADMIN
3169
- PRODUCT
3170
- VIEW
3171
- WORKER
3172
- }
3173
-
3174
- type UserStats {
3175
- assignedStories: Int!
3176
- assignedTasks: Int!
3177
- averageTaskCompletionTime: Float!
3178
- completedStories: Int!
3179
- completedTasks: Int!
3180
- completionRate: Float!
3181
- createdProjects: Int!
3182
- lastActiveAt: String!
3183
- totalAttachments: Int!
3184
- totalComments: Int!
3185
- userAvatarUrl: String
3186
- userFullName: String!
3187
- userId: String!
3188
- }
3189
-
3190
- enum UserStatus {
3191
- ACTIVE
3192
- DISABLED
3193
- }
3194
-
3195
- type ValidationResultsType {
3196
- errors: [String!]!
3197
- passed: Boolean!
3198
- warnings: [String!]!
3199
- }
3200
-
3201
- type VelocityMetric {
3202
- averageCompletionTime: Float!
3203
- storiesCompleted: Int!
3204
- storyPointsCompleted: Int!
3205
- tasksCompleted: Int!
3206
- teamSize: Int!
3207
- week: String!
3208
- }
3209
-
3210
- input WeaknessInput {
3211
- affected_areas: [String!]
3212
- description: String!
3213
- improvement_effort: String
3214
- severity: String!
3215
- title: String!
3216
- }
3217
-
3218
- type WorkArtifactType {
3219
- location: String!
3220
- name: String!
3221
- type: String!
3222
- }
3223
-
3224
- type WorkItemAuditSummary {
3225
- actionBreakdown: [AuditActionTypeCount!]!
3226
- averageActionDuration: String!
3227
- errors: Int!
3228
- firstAction: Date!
3229
- lastAction: Date!
3230
- statusChanges: Int!
3231
- totalActions: Int!
3232
- uniqueActors: Int!
3233
- workItemId: String!
3234
- workerChanges: Int!
3235
- }
3236
-
3237
- input WorkItemErrorInput {
3238
- assignmentId: String!
3239
- category: ErrorCategory!
3240
- contextJson: String
3241
- errorType: WorkItemErrorType!
3242
- message: String!
3243
- resolutionJson: String
3244
- resolved: Boolean! = false
3245
- retryable: Boolean!
3246
- severity: ErrorSeverity!
3247
- stack: String
3248
- stage: String!
3249
- tags: [String!]!
3250
- workItemId: String!
3251
- workType: String!
3252
- workerId: String!
3253
- }
3254
-
3255
- type WorkItemErrorResult {
3256
- id: String!
3257
- logged: Boolean!
3258
- message: String
3259
- }
3260
-
3261
- """
3262
- Types of work item errors
3263
- """
3264
- enum WorkItemErrorType {
3265
- AI_RESPONSE_ERROR
3266
- ANALYSIS_FAILED
3267
- AUTHENTICATION_ERROR
3268
- CLAUDE_API_ERROR
3269
- CLAUDE_CLI_ERROR
3270
- CONNECTION_ERROR
3271
- HANDLER_NOT_FOUND
3272
- INTERNAL_ERROR
3273
- INVALID_PROJECT_ID
3274
- INVALID_WORK_DATA
3275
- MISSING_PROJECT
3276
- MISSING_REQUIRED_FIELD
3277
- NETWORK_ERROR
3278
- PLAN_GENERATION_FAILED
3279
- RECOVERY_FAILED
3280
- RESOURCE_EXHAUSTED
3281
- RETRY_LIMIT_EXCEEDED
3282
- SAVE_FAILED
3283
- TIMEOUT_ERROR
3284
- TOKEN_LIMIT_ERROR
3285
- VALIDATION_FAILED
3286
- WORK_TYPE_MISMATCH
3287
- }
3288
-
3289
- input WorkItemLogInput {
3290
- assignmentId: String!
3291
- duration: Int
3292
- metadataJson: String
3293
- progress: Float
3294
- stage: String!
3295
- status: String!
3296
- timestamp: Date!
3297
- workItemId: String!
3298
- workType: String!
3299
- }
3300
-
3301
- type WorkItemLogResult {
3302
- id: String!
3303
- logged: Boolean!
3304
- message: String
3305
- }
3306
-
3307
- type WorkMetadataType {
3308
- agentAvailabilityStatus: AgentAvailabilityStatusType
3309
- aiWorkerId: String
3310
- attemptCount: Int
3311
- cancelledAt: String
3312
- cancelledBy: String
3313
- lastError: String
3314
- maxRetryAttempts: Int
3315
- orphanedAt: String
3316
- output: WorkOutputType
3317
- progress: WorkProgressType
3318
- projectId: String
3319
- reconciledAt: String
3320
- reconciledFrom: String
3321
- requiredCapabilities: [String!]
3322
- requiredWorkspaces: [String!]
3323
- requirementsProgressJson: String
3324
- retryInfo: RetryInfoType
3325
- reviewId: String
3326
- timeSinceAssignment: String
3327
- workType: String!
3328
- }
3329
-
3330
- type WorkOutputType {
3331
- artifacts: [WorkArtifactType!]!
3332
- summary: String!
3333
- }
3334
-
3335
- type WorkPollResult {
3336
- availableWork: [AIWorkQueue!]!
3337
-
3338
- """
3339
- New work being assigned to this agent
3340
- """
3341
- claimedWork: [AIWorkQueue!]!
3342
- hasMoreWork: Boolean!
3343
-
3344
- """
3345
- Work previously claimed by this agent (for recovery)
3346
- """
3347
- myClaimedWork: [AIWorkQueue!]!
3348
- nextPollInterval: Int!
3349
- queueStats: WorkQueueStats!
3350
- workerStatus: String!
3351
- }
3352
-
3353
- type WorkProgressType {
3354
- completedSteps: [String!]
3355
- currentStep: String!
3356
- percentage: Int!
3357
- totalSteps: Int
3358
- }
3359
-
3360
- input WorkProgressUpdateInput {
3361
- completedSteps: [String!]
3362
- currentStep: String!
3363
- estimatedTimeRemaining: Int
3364
- lastError: String
3365
- percentage: Int!
3366
- workItemId: String!
3367
- }
3368
-
3369
- type WorkQueueMetrics {
3370
- activeWorkers: Int!
3371
- averageProcessingTimeSeconds: Float
3372
- averageWaitTimeSeconds: Float
3373
- cancelled: Int!
3374
- claimed: Int!
3375
- completed: Int!
3376
- failed: Int!
3377
- inProgress: Int!
3378
- oldestQueuedItem: AIWorkQueue
3379
- queued: Int!
3380
- total: Int!
3381
- utilizationPercentage: Float!
3382
- }
3383
-
3384
- type WorkQueueStats {
3385
- estimatedWaitTime: Int!
3386
- totalInProgress: Int!
3387
- totalQueued: Int!
3388
- }
3389
-
3390
- input WorkStateItem {
3391
- completedAt: String
3392
- lastUpdate: String
3393
- startedAt: String
3394
- status: String!
3395
- workItemId: String!
3396
- }
3397
-
3398
- enum WorkerScope {
3399
- ORGANIZATION
3400
- PROJECT
3401
- TEAM
3402
- USER
3403
- }
3404
-
3405
- type Workspace {
3406
- config: JSONObject
3407
- createdAt: Date!
3408
- createdBy: String
3409
- description: String
3410
- errors: [String!]!
3411
- id: ID!
3412
- isActive: Boolean!
3413
- name: String!
3414
- path: String!
3415
- pattern: String!
3416
- projects: [Project!]!
3417
- services: [WorkspaceService!]!
3418
- updatedAt: Date!
3419
- updatedBy: String
3420
- workspaceId: String!
3421
- }
3422
-
3423
- type WorkspaceCoordinationType {
3424
- integrationPoints: [String!]!
3425
- role: String!
3426
- services: [String!]!
3427
- workspaceId: String!
3428
- }
3429
-
3430
- input WorkspaceRegistrationInput {
3431
- description: String
3432
- name: String!
3433
- path: String!
3434
- pattern: String! = "monorepo"
3435
- services: [ServiceRegistrationInput!]!
3436
- workspaceId: String!
3437
- }
3438
-
3439
- type WorkspaceService {
3440
- createdAt: Date!
3441
- createdBy: String
3442
- description: String
3443
- healthCheckUrl: String
3444
- id: ID!
3445
- isActive: Boolean!
3446
- name: String!
3447
- path: String
3448
- port: Int
3449
- repositoryUrl: String
3450
- serviceId: String!
3451
- technology: ServiceTechnology!
3452
- updatedAt: Date!
3453
- updatedBy: String
3454
- }
3455
-
3456
- type WorkspaceStats {
3457
- activeProjects: Int!
3458
- activeUsers: Int!
3459
- averageProjectVelocity: Float!
3460
- overallCompletionRate: Float!
3461
- totalAttachments: Int!
3462
- totalComments: Int!
3463
- totalProjects: Int!
3464
- totalStories: Int!
3465
- totalTasks: Int!
3466
- totalUsers: Int!
3467
- }
3468
-
3469
- type WorkspaceStrategyType {
3470
- crossWorkspaceDeployment: CrossWorkspaceDeploymentType!
3471
- primaryWorkspace: String!
3472
- workspaceCoordination: [WorkspaceCoordinationType!]!
3473
- }