@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,210 +0,0 @@
1
- # AI Work Queue Management Operations
2
-
3
- # Query all work queue items (no filtering arguments in current schema)
4
- query GetWorkQueueItems {
5
- aiWorkQueue {
6
- id
7
- status
8
- priority
9
- aiWorkerId
10
- workType
11
- queuePosition
12
- estimatedDuration
13
- actualDuration
14
- elapsedDuration
15
- progressPercentage
16
- currentStep
17
- hasError
18
- lastError
19
- attemptCount
20
- isQueued
21
- isClaimed
22
- isInProgress
23
- isCompleted
24
- isFailed
25
- createdAt
26
- updatedAt
27
- startedAt
28
- completedAt
29
- claimedAt
30
- story {
31
- id
32
- title
33
- project {
34
- id
35
- name
36
- }
37
- }
38
- project {
39
- id
40
- name
41
- }
42
- queuedByUser {
43
- id
44
- fullName
45
- email
46
- }
47
- metadata {
48
- workType
49
- aiWorkerId
50
- attemptCount
51
- maxRetryAttempts
52
- progress {
53
- percentage
54
- currentStep
55
- totalSteps
56
- completedSteps
57
- }
58
- lastError
59
- projectId
60
- reviewId
61
- }
62
- }
63
- }
64
-
65
- # Work Queue Metrics Query
66
- query GetWorkQueueMetrics {
67
- workQueueMetrics {
68
- total
69
- queued
70
- claimed
71
- inProgress
72
- completed
73
- failed
74
- cancelled
75
- averageWaitTimeSeconds
76
- averageProcessingTimeSeconds
77
- oldestQueuedItem {
78
- id
79
- createdAt
80
- priority
81
- }
82
- activeWorkers
83
- utilizationPercentage
84
- }
85
- }
86
-
87
- # Queue AI Work Mutation
88
- mutation QueueAIWork($input: QueueAIWorkInput!) {
89
- queueAIWork(input: $input) {
90
- id
91
- status
92
- priority
93
- queuePosition
94
- createdAt
95
- project {
96
- id
97
- name
98
- }
99
- story {
100
- id
101
- title
102
- }
103
- }
104
- }
105
-
106
- # Requeue AI Work Item Mutation
107
- mutation RequeueAIWorkItem($id: String!) {
108
- requeueAIWorkItem(id: $id) {
109
- id
110
- status
111
- aiWorkerId
112
- queuePosition
113
- progressPercentage
114
- currentStep
115
- hasError
116
- lastError
117
- attemptCount
118
- metadata {
119
- workType
120
- attemptCount
121
- lastError
122
- projectId
123
- reviewId
124
- }
125
- updatedAt
126
- }
127
- }
128
-
129
- # Cancel AI Work Item Mutation
130
- mutation CancelAIWorkItem($id: String!) {
131
- cancelAIWorkItem(id: $id) {
132
- id
133
- status
134
- aiWorkerId
135
- completedAt
136
- metadata {
137
- workType
138
- cancelledAt
139
- cancelledBy
140
- }
141
- updatedAt
142
- }
143
- }
144
-
145
- # AI Work Updated Subscription
146
- subscription AIWorkUpdated($projectId: String) {
147
- aiWorkUpdated(projectId: $projectId) {
148
- id
149
- status
150
- priority
151
- aiWorkerId
152
- queuePosition
153
- progressPercentage
154
- currentStep
155
- hasError
156
- lastError
157
- startedAt
158
- completedAt
159
- updatedAt
160
- metadata {
161
- workType
162
- attemptCount
163
- lastError
164
- projectId
165
- reviewId
166
- }
167
- }
168
- }
169
-
170
- # DISABLED: applicationProgressUpdated subscription doesn't exist in backend
171
- # Backend has aiWorkProgressUpdated with different signature
172
- # subscription WorkQueueProgressUpdated($reviewId: String!) {
173
- # applicationProgressUpdated(reviewId: $reviewId) {
174
- # percentage
175
- # currentStep
176
- # stage
177
- # filesModified
178
- # estimatedCompletion
179
- # requirementsProgressJson
180
- # }
181
- # }
182
-
183
- # AI Work Progress subscription (actual backend subscription)
184
- subscription AIWorkProgressUpdated($projectId: String, $workerId: String, $assignmentId: String) {
185
- aiWorkProgressUpdated(projectId: $projectId, workerId: $workerId, assignmentId: $assignmentId) {
186
- workerId
187
- assignmentId
188
- stage
189
- progressPercentage
190
- currentStep
191
- message
192
- updatedAt
193
- estimatedCompletion
194
- metadata
195
- }
196
- }
197
-
198
- # Work Queue System Health Query (uses workQueueMetrics)
199
- query GetWorkQueueSystemHealth {
200
- workQueueMetrics {
201
- total
202
- queued
203
- inProgress
204
- completed
205
- failed
206
- averageWaitTimeSeconds
207
- activeWorkers
208
- utilizationPercentage
209
- }
210
- }
@@ -1,474 +0,0 @@
1
- # AI Work Queue Management Operations
2
-
3
- # Query all work queue items with filtering (management version)
4
- query GetWorkQueueItems(
5
- $search: AIWorkQueueSearchInput
6
- ) {
7
- aiWorkQueue(search: $search) {
8
- id
9
- status
10
- priority
11
- aiWorkerId
12
- workType
13
- queuePosition
14
- estimatedDuration
15
- actualDuration
16
- elapsedDuration
17
- progressPercentage
18
- currentStep
19
- hasError
20
- lastError
21
- attemptCount
22
- isQueued
23
- isClaimed
24
- isInProgress
25
- isCompleted
26
- isFailed
27
- createdAt
28
- startedAt
29
- completedAt
30
- story {
31
- id
32
- title
33
- }
34
- project {
35
- id
36
- name
37
- }
38
- queuedByUser {
39
- id
40
- fullName
41
- email
42
- }
43
- metadata {
44
- workType
45
- aiWorkerId
46
- attemptCount
47
- maxRetryAttempts
48
- progress {
49
- percentage
50
- currentStep
51
- totalSteps
52
- completedSteps
53
- }
54
- lastError
55
- projectId
56
- reviewId
57
- requiredWorkspaces
58
- requiredCapabilities
59
- agentAvailabilityStatus {
60
- status
61
- reason
62
- lastChecked
63
- compatibleAgentCount
64
- activeCompatibleAgentCount
65
- }
66
- retryInfo {
67
- nextRetryAt
68
- retryReason
69
- retryDelay
70
- failureClassification
71
- errorHistory {
72
- attemptNumber
73
- error
74
- timestamp
75
- failureType
76
- }
77
- }
78
- output {
79
- summary
80
- artifacts {
81
- type
82
- name
83
- location
84
- }
85
- }
86
- }
87
- }
88
- }
89
-
90
- # Query work queue statistics
91
- query GetWorkQueueMetrics {
92
- workQueueMetrics
93
- }
94
-
95
- # Queue new AI work
96
- mutation QueueAIWork($input: QueueAIWorkInput!) {
97
- queueAIWork(input: $input) {
98
- id
99
- status
100
- priority
101
- queuePosition
102
- createdAt
103
- project {
104
- id
105
- name
106
- }
107
- story {
108
- id
109
- title
110
- }
111
- }
112
- }
113
-
114
- # Remove queued work
115
- mutation RemoveAIWork($id: String!) {
116
- removeAIWork(id: $id)
117
- }
118
-
119
- # Retry failed work
120
- mutation RetryAIWork($id: String!) {
121
- retryAIWork(id: $id) {
122
- id
123
- status
124
- priority
125
- aiWorkerId
126
- queuePosition
127
- progressPercentage
128
- currentStep
129
- hasError
130
- lastError
131
- metadata {
132
- workType
133
- aiWorkerId
134
- attemptCount
135
- maxRetryAttempts
136
- progress {
137
- percentage
138
- currentStep
139
- totalSteps
140
- completedSteps
141
- }
142
- lastError
143
- projectId
144
- reviewId
145
- requiredWorkspaces
146
- requiredCapabilities
147
- agentAvailabilityStatus {
148
- status
149
- reason
150
- lastChecked
151
- compatibleAgentCount
152
- activeCompatibleAgentCount
153
- }
154
- retryInfo {
155
- nextRetryAt
156
- retryReason
157
- retryDelay
158
- failureClassification
159
- errorHistory {
160
- attemptNumber
161
- error
162
- timestamp
163
- failureType
164
- }
165
- }
166
- output {
167
- summary
168
- artifacts {
169
- type
170
- name
171
- location
172
- }
173
- }
174
- }
175
- updatedAt
176
- }
177
- }
178
-
179
- # Update AI work
180
- mutation UpdateAIWork($input: UpdateAIWorkInput!) {
181
- updateAIWork(input: $input) {
182
- id
183
- status
184
- priority
185
- metadata {
186
- workType
187
- aiWorkerId
188
- attemptCount
189
- maxRetryAttempts
190
- progress {
191
- percentage
192
- currentStep
193
- totalSteps
194
- completedSteps
195
- }
196
- lastError
197
- projectId
198
- reviewId
199
- requiredWorkspaces
200
- requiredCapabilities
201
- agentAvailabilityStatus {
202
- status
203
- reason
204
- lastChecked
205
- compatibleAgentCount
206
- activeCompatibleAgentCount
207
- }
208
- retryInfo {
209
- nextRetryAt
210
- retryReason
211
- retryDelay
212
- failureClassification
213
- errorHistory {
214
- attemptNumber
215
- error
216
- timestamp
217
- failureType
218
- }
219
- }
220
- output {
221
- summary
222
- artifacts {
223
- type
224
- name
225
- location
226
- }
227
- }
228
- }
229
- updatedAt
230
- }
231
- }
232
-
233
- # Reclaim work for a worker
234
- mutation ReclaimWork($workerId: String!) {
235
- reclaimWork(workerId: $workerId) {
236
- id
237
- status
238
- aiWorkerId
239
- metadata {
240
- workType
241
- aiWorkerId
242
- attemptCount
243
- maxRetryAttempts
244
- progress {
245
- percentage
246
- currentStep
247
- totalSteps
248
- completedSteps
249
- }
250
- lastError
251
- projectId
252
- reviewId
253
- requiredWorkspaces
254
- requiredCapabilities
255
- agentAvailabilityStatus {
256
- status
257
- reason
258
- lastChecked
259
- compatibleAgentCount
260
- activeCompatibleAgentCount
261
- }
262
- retryInfo {
263
- nextRetryAt
264
- retryReason
265
- retryDelay
266
- failureClassification
267
- errorHistory {
268
- attemptNumber
269
- error
270
- timestamp
271
- failureType
272
- }
273
- }
274
- output {
275
- summary
276
- artifacts {
277
- type
278
- name
279
- location
280
- }
281
- }
282
- }
283
- }
284
- }
285
-
286
- # Release/unclaim a work item
287
- mutation ReleaseWorkItem($input: WorkItemReleaseInput!) {
288
- releaseWorkItem(input: $input)
289
- }
290
-
291
- # Requeue a work item (clears claims and resets errors)
292
- mutation RequeueAIWorkItem($id: String!) {
293
- requeueAIWorkItem(id: $id) {
294
- id
295
- status
296
- aiWorkerId
297
- queuePosition
298
- progressPercentage
299
- currentStep
300
- hasError
301
- lastError
302
- attemptCount
303
- metadata {
304
- workType
305
- aiWorkerId
306
- attemptCount
307
- maxRetryAttempts
308
- progress {
309
- percentage
310
- currentStep
311
- totalSteps
312
- completedSteps
313
- }
314
- lastError
315
- projectId
316
- reviewId
317
- requiredWorkspaces
318
- requiredCapabilities
319
- agentAvailabilityStatus {
320
- status
321
- reason
322
- lastChecked
323
- compatibleAgentCount
324
- activeCompatibleAgentCount
325
- }
326
- retryInfo {
327
- nextRetryAt
328
- retryReason
329
- retryDelay
330
- failureClassification
331
- errorHistory {
332
- attemptNumber
333
- error
334
- timestamp
335
- failureType
336
- }
337
- }
338
- output {
339
- summary
340
- artifacts {
341
- type
342
- name
343
- location
344
- }
345
- }
346
- }
347
- updatedAt
348
- }
349
- }
350
-
351
- # Cancel a work item (marks as cancelled)
352
- mutation CancelAIWorkItem($id: String!) {
353
- cancelAIWorkItem(id: $id) {
354
- id
355
- status
356
- aiWorkerId
357
- completedAt
358
- metadata {
359
- workType
360
- aiWorkerId
361
- attemptCount
362
- maxRetryAttempts
363
- progress {
364
- percentage
365
- currentStep
366
- totalSteps
367
- completedSteps
368
- }
369
- lastError
370
- projectId
371
- reviewId
372
- requiredWorkspaces
373
- requiredCapabilities
374
- cancelledAt
375
- cancelledBy
376
- agentAvailabilityStatus {
377
- status
378
- reason
379
- lastChecked
380
- compatibleAgentCount
381
- activeCompatibleAgentCount
382
- }
383
- retryInfo {
384
- nextRetryAt
385
- retryReason
386
- retryDelay
387
- failureClassification
388
- errorHistory {
389
- attemptNumber
390
- error
391
- timestamp
392
- failureType
393
- }
394
- }
395
- output {
396
- summary
397
- artifacts {
398
- type
399
- name
400
- location
401
- }
402
- }
403
- }
404
- updatedAt
405
- }
406
- }
407
-
408
- # Real-time subscription for AI work updates
409
- subscription WorkQueueAIWorkUpdated {
410
- aiWorkUpdated {
411
- id
412
- status
413
- priority
414
- aiWorkerId
415
- startedAt
416
- completedAt
417
- metadata {
418
- workType
419
- aiWorkerId
420
- attemptCount
421
- maxRetryAttempts
422
- progress {
423
- percentage
424
- currentStep
425
- totalSteps
426
- completedSteps
427
- }
428
- lastError
429
- projectId
430
- reviewId
431
- requiredWorkspaces
432
- requiredCapabilities
433
- agentAvailabilityStatus {
434
- status
435
- reason
436
- lastChecked
437
- compatibleAgentCount
438
- activeCompatibleAgentCount
439
- }
440
- retryInfo {
441
- nextRetryAt
442
- retryReason
443
- retryDelay
444
- failureClassification
445
- errorHistory {
446
- attemptNumber
447
- error
448
- timestamp
449
- failureType
450
- }
451
- }
452
- output {
453
- summary
454
- artifacts {
455
- type
456
- name
457
- location
458
- }
459
- }
460
- }
461
- }
462
- }
463
-
464
- # Subscription for work queue progress updates
465
- subscription WorkQueueProgressUpdated($reviewId: String!) {
466
- applicationProgressUpdated(reviewId: $reviewId) {
467
- percentage
468
- currentStep
469
- stage
470
- filesModified
471
- estimatedCompletion
472
- requirementsProgressJson
473
- }
474
- }