@task-shepherd/agent 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/cli/index.js +1054 -86
  2. package/dist/index.js +1 -1
  3. package/dist/meta.json +358 -67
  4. package/package.json +2 -2
  5. package/shared/dist/index.d.ts +15 -0
  6. package/shared/dist/index.js +12 -0
  7. package/shared/dist/mcp-client/client.d.ts +18 -0
  8. package/shared/dist/mcp-client/client.js +49 -0
  9. package/shared/dist/mcp-client/index.d.ts +7 -0
  10. package/shared/dist/mcp-client/index.js +7 -0
  11. package/shared/dist/mcp-client/types.d.ts +822 -0
  12. package/shared/dist/mcp-client/types.js +193 -0
  13. package/shared/dist/schema/index.d.ts +189 -0
  14. package/shared/dist/schema/index.js +142 -0
  15. package/shared/dist/schema/mcp-mappings.d.ts +50 -0
  16. package/shared/dist/schema/mcp-mappings.js +563 -0
  17. package/shared/dist/schema/validation.d.ts +91 -0
  18. package/shared/dist/schema/validation.js +282 -0
  19. package/shared/dist/work-queue/index.d.ts +7 -0
  20. package/shared/dist/work-queue/index.js +7 -0
  21. package/shared/dist/work-queue/types.d.ts +147 -0
  22. package/shared/dist/work-queue/types.js +4 -0
  23. package/shared/dist/work-queue/validation.d.ts +24 -0
  24. package/shared/dist/work-queue/validation.js +160 -0
  25. package/shared/dist/workspace/constants.d.ts +148 -0
  26. package/shared/dist/workspace/constants.js +432 -0
  27. package/shared/dist/workspace/index.d.ts +10 -0
  28. package/shared/dist/workspace/index.js +10 -0
  29. package/shared/dist/workspace/types.d.ts +477 -0
  30. package/shared/dist/workspace/types.js +9 -0
  31. package/shared/dist/workspace/utils.d.ts +79 -0
  32. package/shared/dist/workspace/utils.js +334 -0
  33. package/shared/dist/workspace/validation.d.ts +1312 -0
  34. package/shared/dist/workspace/validation.js +467 -0
  35. package/shared/graphql/generated-internal.ts +3629 -0
  36. package/shared/graphql/generated-public.ts +773 -0
  37. package/shared/graphql/generated.d.ts +7456 -0
  38. package/shared/graphql/generated.js +11799 -0
  39. package/shared/graphql/generated.ts +27569 -0
  40. package/shared/graphql/generated.ts.backup +16531 -0
  41. package/shared/graphql/generated.ts.working +4828 -0
  42. package/shared/graphql/introspection-internal.json +15845 -0
  43. package/shared/graphql/introspection-public.json +9658 -0
  44. package/shared/graphql/introspection.json +44263 -0
  45. package/shared/graphql/operations/ai-service.graphql +131 -0
  46. package/shared/graphql/operations/ai-work-queue.graphql +31 -0
  47. package/shared/graphql/operations/analytics.graphql +283 -0
  48. package/shared/graphql/operations/analytics.ts +3 -0
  49. package/shared/graphql/operations/api-keys.graphql +126 -0
  50. package/shared/graphql/operations/attachments.graphql +53 -0
  51. package/shared/graphql/operations/attachments.ts +39 -0
  52. package/shared/graphql/operations/audit.graphql +46 -0
  53. package/shared/graphql/operations/auth.graphql +83 -0
  54. package/shared/graphql/operations/claude-usage.graphql +178 -0
  55. package/shared/graphql/operations/comments.graphql +4 -0
  56. package/shared/graphql/operations/dashboard.graphql +29 -0
  57. package/shared/graphql/operations/development-plans.graphql +408 -0
  58. package/shared/graphql/operations/early-access.graphql.disabled +21 -0
  59. package/shared/graphql/operations/errors.graphql.disabled +83 -0
  60. package/shared/graphql/operations/internal-api.graphql +931 -0
  61. package/shared/graphql/operations/notifications.graphql +4 -0
  62. package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
  63. package/shared/graphql/operations/performance.graphql +4 -0
  64. package/shared/graphql/operations/project-reviews.graphql +610 -0
  65. package/shared/graphql/operations/projects.graphql +98 -0
  66. package/shared/graphql/operations/settings.graphql +4 -0
  67. package/shared/graphql/operations/stories.graphql +113 -0
  68. package/shared/graphql/operations/subscriptions.graphql +235 -0
  69. package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
  70. package/shared/graphql/operations/tasks.graphql +257 -0
  71. package/shared/graphql/operations/team.graphql +111 -0
  72. package/shared/graphql/operations/team.ts +226 -0
  73. package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
  74. package/shared/graphql/operations/work-queue.graphql +210 -0
  75. package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
  76. package/shared/graphql/operations/workspace.graphql +146 -0
  77. package/shared/graphql/schema-internal.graphql +1085 -0
  78. package/shared/graphql/schema-public.graphql +709 -0
  79. package/shared/graphql/schema.graphql +3473 -0
  80. package/shared/package.json +23 -0
@@ -0,0 +1,98 @@
1
+ query Projects($limit: Int = 50, $offset: Int = 0, $search: ProjectSearchInput) {
2
+ projects(limit: $limit, offset: $offset, search: $search) {
3
+ id
4
+ name
5
+ description
6
+ stage
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
11
+
12
+ query GetProject($id: String!) {
13
+ project(id: $id) {
14
+ id
15
+ name
16
+ description
17
+ stage
18
+ storiesCount
19
+ tasksCount
20
+ completedStoriesCount
21
+ progressPercentage
22
+ createdAt
23
+ updatedAt
24
+ stories {
25
+ id
26
+ title
27
+ status
28
+ priority
29
+ createdAt
30
+ }
31
+ }
32
+ }
33
+
34
+ mutation CreateProject($input: CreateProjectInput!) {
35
+ createProject(input: $input) {
36
+ id
37
+ name
38
+ description
39
+ stage
40
+ createdAt
41
+ updatedAt
42
+ }
43
+ }
44
+
45
+ mutation UpdateProject($id: String!, $input: UpdateProjectInput!) {
46
+ updateProject(id: $id, input: $input) {
47
+ id
48
+ name
49
+ description
50
+ stage
51
+ updatedAt
52
+ }
53
+ }
54
+
55
+ mutation DeleteProject($id: String!) {
56
+ deleteProject(id: $id)
57
+ }
58
+
59
+ query Project($id: String!) {
60
+ project(id: $id) {
61
+ id
62
+ name
63
+ description
64
+ stage
65
+ storiesCount
66
+ tasksCount
67
+ completedStoriesCount
68
+ progressPercentage
69
+ isPublic
70
+ startDate
71
+ targetCompletionDate
72
+ repositoryUrl
73
+ documentationUrl
74
+ workspaceConfig
75
+ createdAt
76
+ updatedAt
77
+ workspaces {
78
+ id
79
+ workspaceId
80
+ name
81
+ description
82
+ path
83
+ }
84
+ affectedServices {
85
+ id
86
+ serviceId
87
+ name
88
+ technology
89
+ }
90
+ stories {
91
+ id
92
+ title
93
+ status
94
+ priority
95
+ createdAt
96
+ }
97
+ }
98
+ }
@@ -0,0 +1,4 @@
1
+ # Settings Operations
2
+ # Note: Settings system is temporarily disabled until backend is verified
3
+
4
+ # TODO: Enable when settings backend support is verified
@@ -0,0 +1,113 @@
1
+ query Stories($limit: Int = 50, $offset: Int = 0, $projectId: String, $search: StorySearchInput) {
2
+ stories(limit: $limit, offset: $offset, projectId: $projectId, search: $search) {
3
+ id
4
+ title
5
+ description
6
+ status
7
+ priority
8
+ createdAt
9
+ updatedAt
10
+ project {
11
+ id
12
+ name
13
+ }
14
+ }
15
+ }
16
+
17
+ query GetStory($id: String!) {
18
+ story(id: $id) {
19
+ id
20
+ title
21
+ description
22
+ status
23
+ priority
24
+ acceptanceCriteria
25
+ createdAt
26
+ updatedAt
27
+ project {
28
+ id
29
+ name
30
+ }
31
+ }
32
+ }
33
+
34
+ mutation CreateStory($input: CreateStoryInput!) {
35
+ createStory(input: $input) {
36
+ id
37
+ title
38
+ description
39
+ status
40
+ priority
41
+ createdAt
42
+ project {
43
+ id
44
+ name
45
+ }
46
+ }
47
+ }
48
+
49
+ mutation UpdateStory($id: String!, $input: UpdateStoryInput!) {
50
+ updateStory(id: $id, input: $input) {
51
+ id
52
+ title
53
+ description
54
+ status
55
+ priority
56
+ updatedAt
57
+ }
58
+ }
59
+
60
+ mutation DeleteStory($id: String!) {
61
+ deleteStory(id: $id)
62
+ }
63
+
64
+ mutation ClaimStory($id: String!) {
65
+ claimStory(id: $id) {
66
+ id
67
+ status
68
+ claimedAt
69
+ }
70
+ }
71
+
72
+ mutation ReleaseStory($id: String!) {
73
+ releaseStory(id: $id) {
74
+ id
75
+ status
76
+ claimedAt
77
+ }
78
+ }
79
+
80
+ mutation CompleteStory($id: String!) {
81
+ completeStory(id: $id) {
82
+ id
83
+ status
84
+ completedAt
85
+ }
86
+ }
87
+
88
+ mutation UpdateStoryStatus($id: String!, $status: StoryState!) {
89
+ updateStoryStatus(id: $id, status: $status) {
90
+ id
91
+ status
92
+ updatedAt
93
+ }
94
+ }
95
+
96
+ query Story($id: String!) {
97
+ story(id: $id) {
98
+ id
99
+ title
100
+ description
101
+ status
102
+ priority
103
+ acceptanceCriteria
104
+ createdAt
105
+ updatedAt
106
+ project {
107
+ id
108
+ name
109
+ }
110
+ tasksCount
111
+ completedTasksCount
112
+ }
113
+ }
@@ -0,0 +1,235 @@
1
+ # Real-time Subscriptions
2
+
3
+ # DISABLED: aiServiceStatusUpdated doesn't exist in backend
4
+ # TODO: Implement in backend if needed
5
+ # subscription AIServiceStatusUpdated {
6
+ # aiServiceStatusUpdated {
7
+ # id
8
+ # status
9
+ # isConnected
10
+ # lastHeartbeat
11
+ # user {
12
+ # id
13
+ # fullName
14
+ # email
15
+ # }
16
+ # }
17
+ # }
18
+
19
+ # DISABLED: Simple aiWorkUpdated doesn't exist
20
+ # Backend has more specific subscriptions: aiWorkAssigned, aiWorkProgressUpdated, aiWorkCompleted
21
+ # subscription AIWorkUpdated {
22
+ # aiWorkUpdated {
23
+ # id
24
+ # status
25
+ # priority
26
+ # progressPercentage
27
+ # currentStep
28
+ # hasError
29
+ # lastError
30
+ # startedAt
31
+ # completedAt
32
+ # project {
33
+ # id
34
+ # name
35
+ # }
36
+ # story {
37
+ # id
38
+ # title
39
+ # }
40
+ # }
41
+ # }
42
+
43
+ # AI Work Assignment (exists in backend)
44
+ subscription AIWorkAssigned($projectId: String, $workerId: String) {
45
+ aiWorkAssigned(projectId: $projectId, workerId: $workerId) {
46
+ assignmentId
47
+ workerId
48
+ workItemType
49
+ workItemId
50
+ priority
51
+ assignedAt
52
+ deadline
53
+ workData
54
+ }
55
+ }
56
+
57
+ # AI Work Progress Updates (exists in backend)
58
+ subscription AIWorkProgressUpdated($projectId: String, $workerId: String, $assignmentId: String) {
59
+ aiWorkProgressUpdated(projectId: $projectId, workerId: $workerId, assignmentId: $assignmentId) {
60
+ workerId
61
+ assignmentId
62
+ stage
63
+ progressPercentage
64
+ currentStep
65
+ message
66
+ updatedAt
67
+ estimatedCompletion
68
+ metadata
69
+ }
70
+ }
71
+
72
+ # AI Work Completion (exists in backend)
73
+ subscription AIWorkCompleted($projectId: String, $workerId: String, $assignmentId: String) {
74
+ aiWorkCompleted(projectId: $projectId, workerId: $workerId, assignmentId: $assignmentId) {
75
+ workerId
76
+ assignmentId
77
+ completedAt
78
+ success
79
+ result
80
+ errors
81
+ }
82
+ }
83
+
84
+ # DISABLED: Generic projectReviewUpdated doesn't exist in schema
85
+ # TODO: Implement if needed
86
+ # subscription ProjectReviewUpdated {
87
+ # projectReviewUpdated {
88
+ # id
89
+ # status
90
+ # reviewNotes
91
+ # createdAt
92
+ # updatedAt
93
+ # project {
94
+ # id
95
+ # name
96
+ # }
97
+ # }
98
+ # }
99
+
100
+ # DISABLED: developmentPlanUpdated doesn't exist in schema
101
+ # TODO: Implement if needed
102
+ # subscription DevelopmentPlanUpdated {
103
+ # developmentPlanUpdated {
104
+ # id
105
+ # status
106
+ # version
107
+ # createdAt
108
+ # updatedAt
109
+ # project {
110
+ # id
111
+ # name
112
+ # }
113
+ # }
114
+ # }
115
+
116
+ # DISABLED: applicationProgressUpdated subscription doesn't exist in backend schema
117
+ # Backend has aiWorkProgressUpdated with different signature
118
+ # subscription ApplicationProgressUpdated($reviewId: String!) {
119
+ # applicationProgressUpdated(reviewId: $reviewId) {
120
+ # percentage
121
+ # currentStep
122
+ # stage
123
+ # filesModified
124
+ # estimatedCompletion
125
+ # requirementsProgressJson
126
+ # }
127
+ # }
128
+
129
+ # DISABLED: applicationCompleted doesn't exist in schema
130
+ # TODO: Implement if needed
131
+ # subscription ApplicationCompleted($reviewId: String!) {
132
+ # applicationCompleted(reviewId: $reviewId) {
133
+ # id
134
+ # status
135
+ # workQueueId
136
+ # estimatedDuration
137
+ # message
138
+ # }
139
+ # }
140
+
141
+ # Story Updates (exists in backend)
142
+ subscription StoryUpdated($projectId: String!) {
143
+ storyUpdated(projectId: $projectId) {
144
+ id
145
+ title
146
+ description
147
+ status
148
+ priority
149
+ estimate
150
+ createdAt
151
+ updatedAt
152
+ }
153
+ }
154
+
155
+ # Task Updates (exists in backend)
156
+ subscription TaskUpdated($storyId: String!) {
157
+ taskUpdated(storyId: $storyId) {
158
+ id
159
+ title
160
+ description
161
+ status
162
+ createdAt
163
+ updatedAt
164
+ }
165
+ }
166
+
167
+ # Project Updates (exists in backend)
168
+ subscription ProjectUpdated($projectId: String!) {
169
+ projectUpdated(projectId: $projectId) {
170
+ id
171
+ name
172
+ description
173
+ stage
174
+ updatedAt
175
+ }
176
+ }
177
+
178
+ # Comment Added (exists in backend)
179
+ subscription CommentAdded($storyId: String!) {
180
+ commentAdded(storyId: $storyId) {
181
+ id
182
+ content
183
+ createdAt
184
+ createdBy
185
+ }
186
+ }
187
+
188
+ # Notification Received (exists in backend)
189
+ subscription NotificationReceived {
190
+ notificationReceived {
191
+ id
192
+ type
193
+ title
194
+ message
195
+ createdAt
196
+ isRead
197
+ }
198
+ }
199
+
200
+ # User Presence (exists in backend)
201
+ subscription UserPresence($projectId: String!) {
202
+ userPresence(projectId: $projectId) {
203
+ userId
204
+ status
205
+ currentPage
206
+ lastSeen
207
+ }
208
+ }
209
+
210
+ # AI Worker Subscriptions (exist in backend)
211
+ subscription AIWorkerRegistered($projectId: String, $capabilities: [AIWorkType!]) {
212
+ aiWorkerRegistered(projectId: $projectId, capabilities: $capabilities) {
213
+ id
214
+ workerId
215
+ status
216
+ capabilities
217
+ }
218
+ }
219
+
220
+ subscription AIWorkerDisconnected($projectId: String) {
221
+ aiWorkerDisconnected(projectId: $projectId) {
222
+ workerId
223
+ disconnectedAt
224
+ reason
225
+ }
226
+ }
227
+
228
+ subscription AIWorkerStatusChanged($projectId: String, $workerId: String) {
229
+ aiWorkerStatusChanged(projectId: $projectId, workerId: $workerId) {
230
+ id
231
+ workerId
232
+ status
233
+ lastHeartbeat
234
+ }
235
+ }
@@ -0,0 +1,96 @@
1
+ # Real-time Subscriptions
2
+
3
+ # AI Service Status Updates
4
+ subscription AIServiceStatusUpdated {
5
+ aiServiceStatusUpdated {
6
+ id
7
+ status
8
+ isConnected
9
+ lastHeartbeat
10
+ user {
11
+ id
12
+ fullName
13
+ email
14
+ }
15
+ }
16
+ }
17
+
18
+ # AI Work Updates
19
+ subscription AIWorkUpdated {
20
+ aiWorkUpdated {
21
+ id
22
+ status
23
+ priority
24
+ progressPercentage
25
+ currentStep
26
+ hasError
27
+ lastError
28
+ startedAt
29
+ completedAt
30
+ project {
31
+ id
32
+ name
33
+ }
34
+ story {
35
+ id
36
+ title
37
+ }
38
+ }
39
+ }
40
+
41
+ # Project Review Updates
42
+ subscription ProjectReviewUpdated {
43
+ projectReviewUpdated {
44
+ id
45
+ status
46
+ reviewNotes
47
+ createdAt
48
+ updatedAt
49
+ project {
50
+ id
51
+ name
52
+ }
53
+ }
54
+ }
55
+
56
+ # Development Plan Updates
57
+ subscription DevelopmentPlanUpdated {
58
+ developmentPlanUpdated {
59
+ id
60
+ status
61
+ version
62
+ createdAt
63
+ updatedAt
64
+ project {
65
+ id
66
+ name
67
+ }
68
+ }
69
+ }
70
+
71
+ # Review Application Progress
72
+ subscription ApplicationProgressUpdated($reviewId: String!) {
73
+ applicationProgressUpdated(reviewId: $reviewId) {
74
+ percentage
75
+ currentStep
76
+ stage
77
+ filesModified
78
+ estimatedCompletion
79
+ requirementsProgressJson
80
+ }
81
+ }
82
+
83
+ # Review Application Completion
84
+ subscription ApplicationCompleted($reviewId: String!) {
85
+ applicationCompleted(reviewId: $reviewId) {
86
+ id
87
+ status
88
+ workQueueId
89
+ estimatedDuration
90
+ message
91
+ }
92
+ }
93
+
94
+ # Note: Story, task, comment, notification, and user presence subscriptions
95
+ # are not yet implemented in the backend
96
+ # TODO: Add when backend support is available