@task-shepherd/agent 1.0.6 → 1.0.7
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.
- package/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.json +5 -5
- package/package.json +2 -2
- package/shared/dist/index.d.ts +15 -0
- package/shared/dist/index.js +12 -0
- package/shared/dist/mcp-client/client.d.ts +18 -0
- package/shared/dist/mcp-client/client.js +49 -0
- package/shared/dist/mcp-client/index.d.ts +7 -0
- package/shared/dist/mcp-client/index.js +7 -0
- package/shared/dist/mcp-client/types.d.ts +822 -0
- package/shared/dist/mcp-client/types.js +193 -0
- package/shared/dist/schema/index.d.ts +189 -0
- package/shared/dist/schema/index.js +142 -0
- package/shared/dist/schema/mcp-mappings.d.ts +50 -0
- package/shared/dist/schema/mcp-mappings.js +563 -0
- package/shared/dist/schema/validation.d.ts +91 -0
- package/shared/dist/schema/validation.js +282 -0
- package/shared/dist/work-queue/index.d.ts +7 -0
- package/shared/dist/work-queue/index.js +7 -0
- package/shared/dist/work-queue/types.d.ts +147 -0
- package/shared/dist/work-queue/types.js +4 -0
- package/shared/dist/work-queue/validation.d.ts +24 -0
- package/shared/dist/work-queue/validation.js +160 -0
- package/shared/dist/workspace/constants.d.ts +148 -0
- package/shared/dist/workspace/constants.js +432 -0
- package/shared/dist/workspace/index.d.ts +10 -0
- package/shared/dist/workspace/index.js +10 -0
- package/shared/dist/workspace/types.d.ts +477 -0
- package/shared/dist/workspace/types.js +9 -0
- package/shared/dist/workspace/utils.d.ts +79 -0
- package/shared/dist/workspace/utils.js +334 -0
- package/shared/dist/workspace/validation.d.ts +1312 -0
- package/shared/dist/workspace/validation.js +467 -0
- package/shared/graphql/generated-internal.ts +3629 -0
- package/shared/graphql/generated-public.ts +773 -0
- package/shared/graphql/generated.d.ts +7456 -0
- package/shared/graphql/generated.js +11799 -0
- package/shared/graphql/generated.ts +27569 -0
- package/shared/graphql/generated.ts.backup +16531 -0
- package/shared/graphql/generated.ts.working +4828 -0
- package/shared/graphql/introspection-internal.json +15845 -0
- package/shared/graphql/introspection-public.json +9658 -0
- package/shared/graphql/introspection.json +44263 -0
- package/shared/graphql/operations/ai-service.graphql +131 -0
- package/shared/graphql/operations/ai-work-queue.graphql +31 -0
- package/shared/graphql/operations/analytics.graphql +283 -0
- package/shared/graphql/operations/analytics.ts +3 -0
- package/shared/graphql/operations/api-keys.graphql +126 -0
- package/shared/graphql/operations/attachments.graphql +53 -0
- package/shared/graphql/operations/attachments.ts +39 -0
- package/shared/graphql/operations/audit.graphql +46 -0
- package/shared/graphql/operations/auth.graphql +83 -0
- package/shared/graphql/operations/claude-usage.graphql +178 -0
- package/shared/graphql/operations/comments.graphql +4 -0
- package/shared/graphql/operations/dashboard.graphql +29 -0
- package/shared/graphql/operations/development-plans.graphql +408 -0
- package/shared/graphql/operations/early-access.graphql.disabled +21 -0
- package/shared/graphql/operations/errors.graphql.disabled +83 -0
- package/shared/graphql/operations/internal-api.graphql +931 -0
- package/shared/graphql/operations/notifications.graphql +4 -0
- package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
- package/shared/graphql/operations/performance.graphql +4 -0
- package/shared/graphql/operations/project-reviews.graphql +610 -0
- package/shared/graphql/operations/projects.graphql +98 -0
- package/shared/graphql/operations/settings.graphql +4 -0
- package/shared/graphql/operations/stories.graphql +113 -0
- package/shared/graphql/operations/subscriptions.graphql +235 -0
- package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
- package/shared/graphql/operations/tasks.graphql +257 -0
- package/shared/graphql/operations/team.graphql +111 -0
- package/shared/graphql/operations/team.ts +226 -0
- package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
- package/shared/graphql/operations/work-queue.graphql +210 -0
- package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
- package/shared/graphql/operations/workspace.graphql +146 -0
- package/shared/graphql/schema-internal.graphql +1085 -0
- package/shared/graphql/schema-public.graphql +709 -0
- package/shared/graphql/schema.graphql +3473 -0
- package/shared/package.json +23 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
mutation Login($input: LoginInput!) {
|
|
2
|
+
login(input: $input) {
|
|
3
|
+
user {
|
|
4
|
+
id
|
|
5
|
+
email
|
|
6
|
+
firstName
|
|
7
|
+
lastName
|
|
8
|
+
fullName
|
|
9
|
+
role
|
|
10
|
+
status
|
|
11
|
+
timezone
|
|
12
|
+
displayName
|
|
13
|
+
isActive
|
|
14
|
+
platformRoles {
|
|
15
|
+
id
|
|
16
|
+
role
|
|
17
|
+
grantedAt
|
|
18
|
+
expiresAt
|
|
19
|
+
reason
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
token
|
|
23
|
+
refreshToken
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
mutation Register($input: RegisterInput!) {
|
|
28
|
+
register(input: $input) {
|
|
29
|
+
user {
|
|
30
|
+
id
|
|
31
|
+
email
|
|
32
|
+
firstName
|
|
33
|
+
lastName
|
|
34
|
+
fullName
|
|
35
|
+
role
|
|
36
|
+
status
|
|
37
|
+
timezone
|
|
38
|
+
displayName
|
|
39
|
+
isActive
|
|
40
|
+
}
|
|
41
|
+
token
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
mutation Logout {
|
|
46
|
+
logout {
|
|
47
|
+
success
|
|
48
|
+
message
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
query Me {
|
|
53
|
+
me {
|
|
54
|
+
id
|
|
55
|
+
email
|
|
56
|
+
firstName
|
|
57
|
+
lastName
|
|
58
|
+
fullName
|
|
59
|
+
role
|
|
60
|
+
status
|
|
61
|
+
timezone
|
|
62
|
+
displayName
|
|
63
|
+
isActive
|
|
64
|
+
platformRoles {
|
|
65
|
+
id
|
|
66
|
+
role
|
|
67
|
+
grantedAt
|
|
68
|
+
expiresAt
|
|
69
|
+
reason
|
|
70
|
+
}
|
|
71
|
+
organizationMemberships {
|
|
72
|
+
id
|
|
73
|
+
role
|
|
74
|
+
status
|
|
75
|
+
organization {
|
|
76
|
+
id
|
|
77
|
+
name
|
|
78
|
+
description
|
|
79
|
+
status
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Claude Usage Sessions Query
|
|
2
|
+
query GetClaudeUsageSessions($query: ClaudeUsageQueryInput!) {
|
|
3
|
+
claudeUsageSessions(query: $query) {
|
|
4
|
+
id
|
|
5
|
+
sessionId
|
|
6
|
+
type
|
|
7
|
+
subtype
|
|
8
|
+
organization {
|
|
9
|
+
id
|
|
10
|
+
name
|
|
11
|
+
}
|
|
12
|
+
isError
|
|
13
|
+
durationMs
|
|
14
|
+
durationApiMs
|
|
15
|
+
numTurns
|
|
16
|
+
totalCostUsd
|
|
17
|
+
usage {
|
|
18
|
+
inputTokens
|
|
19
|
+
outputTokens
|
|
20
|
+
cacheCreationInputTokens
|
|
21
|
+
cacheReadInputTokens
|
|
22
|
+
totalTokens
|
|
23
|
+
}
|
|
24
|
+
permissionDenials {
|
|
25
|
+
toolName
|
|
26
|
+
toolUseId
|
|
27
|
+
toolInput
|
|
28
|
+
reason
|
|
29
|
+
}
|
|
30
|
+
result
|
|
31
|
+
errorMessage
|
|
32
|
+
errorStack
|
|
33
|
+
metadata
|
|
34
|
+
claudeModel
|
|
35
|
+
serviceTier
|
|
36
|
+
startedAt
|
|
37
|
+
completedAt
|
|
38
|
+
createdAt
|
|
39
|
+
updatedAt
|
|
40
|
+
project {
|
|
41
|
+
id
|
|
42
|
+
name
|
|
43
|
+
}
|
|
44
|
+
story {
|
|
45
|
+
id
|
|
46
|
+
title
|
|
47
|
+
}
|
|
48
|
+
task {
|
|
49
|
+
id
|
|
50
|
+
title
|
|
51
|
+
}
|
|
52
|
+
user {
|
|
53
|
+
id
|
|
54
|
+
fullName
|
|
55
|
+
email
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
# Claude Usage Metrics Query
|
|
61
|
+
query GetClaudeUsageMetrics($query: ClaudeMetricsQueryInput!) {
|
|
62
|
+
claudeUsageMetrics(query: $query) {
|
|
63
|
+
id
|
|
64
|
+
organization {
|
|
65
|
+
id
|
|
66
|
+
name
|
|
67
|
+
}
|
|
68
|
+
periodType
|
|
69
|
+
periodStart
|
|
70
|
+
periodEnd
|
|
71
|
+
sessionType
|
|
72
|
+
sessionCount
|
|
73
|
+
uniqueUserCount
|
|
74
|
+
totalCostUsd
|
|
75
|
+
averageCostUsd
|
|
76
|
+
tokenUsage {
|
|
77
|
+
totalInputTokens
|
|
78
|
+
totalOutputTokens
|
|
79
|
+
totalCacheCreationTokens
|
|
80
|
+
totalCacheReadTokens
|
|
81
|
+
totalTokens
|
|
82
|
+
averageInputTokens
|
|
83
|
+
averageOutputTokens
|
|
84
|
+
}
|
|
85
|
+
performance {
|
|
86
|
+
averageDurationMs
|
|
87
|
+
}
|
|
88
|
+
successMetrics {
|
|
89
|
+
successRate
|
|
90
|
+
errorRate
|
|
91
|
+
}
|
|
92
|
+
totalTurns
|
|
93
|
+
averageTurnsPerSession
|
|
94
|
+
cacheHitRate
|
|
95
|
+
topProjects
|
|
96
|
+
topUsers
|
|
97
|
+
errorBreakdown
|
|
98
|
+
metadata
|
|
99
|
+
aggregatedAt
|
|
100
|
+
periodLabel
|
|
101
|
+
costPerSession
|
|
102
|
+
tokensPerSession
|
|
103
|
+
costPerToken
|
|
104
|
+
outputToInputRatio
|
|
105
|
+
createdAt
|
|
106
|
+
updatedAt
|
|
107
|
+
project {
|
|
108
|
+
id
|
|
109
|
+
name
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
# Claude Total Usage Query
|
|
115
|
+
query GetClaudeTotalUsage($organizationId: String!, $startDate: Date, $endDate: Date) {
|
|
116
|
+
claudeTotalUsage(organizationId: $organizationId, startDate: $startDate, endDate: $endDate) {
|
|
117
|
+
totalSessions
|
|
118
|
+
totalCost
|
|
119
|
+
totalTokens
|
|
120
|
+
totalDuration
|
|
121
|
+
averageCostPerSession
|
|
122
|
+
averageTokensPerSession
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# Claude Usage By Project Query
|
|
127
|
+
query GetClaudeUsageByProject($organizationId: String!, $startDate: Date, $endDate: Date, $limit: Int) {
|
|
128
|
+
claudeUsageByProject(organizationId: $organizationId, startDate: $startDate, endDate: $endDate, limit: $limit) {
|
|
129
|
+
projectId
|
|
130
|
+
projectName
|
|
131
|
+
sessionCount
|
|
132
|
+
totalCost
|
|
133
|
+
totalTokens
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
# Claude Usage Trends Query
|
|
138
|
+
query GetClaudeUsageTrends($organizationId: String!, $periodType: MetricsAggregationPeriod!, $startDate: Date!, $endDate: Date!, $projectId: String) {
|
|
139
|
+
claudeUsageTrends(organizationId: $organizationId, periodType: $periodType, startDate: $startDate, endDate: $endDate, projectId: $projectId) {
|
|
140
|
+
id
|
|
141
|
+
periodStart
|
|
142
|
+
periodEnd
|
|
143
|
+
periodLabel
|
|
144
|
+
sessionCount
|
|
145
|
+
totalCostUsd
|
|
146
|
+
tokenUsage {
|
|
147
|
+
totalTokens
|
|
148
|
+
totalInputTokens
|
|
149
|
+
totalOutputTokens
|
|
150
|
+
}
|
|
151
|
+
performance {
|
|
152
|
+
averageDurationMs
|
|
153
|
+
}
|
|
154
|
+
successMetrics {
|
|
155
|
+
successRate
|
|
156
|
+
errorRate
|
|
157
|
+
}
|
|
158
|
+
costPerSession
|
|
159
|
+
tokensPerSession
|
|
160
|
+
project {
|
|
161
|
+
id
|
|
162
|
+
name
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
# Claude Error Analysis Query
|
|
168
|
+
query GetClaudeErrorAnalysis($organizationId: String!, $startDate: Date, $endDate: Date) {
|
|
169
|
+
claudeErrorAnalysis(organizationId: $organizationId, startDate: $startDate, endDate: $endDate) {
|
|
170
|
+
totalErrors
|
|
171
|
+
errorsByType
|
|
172
|
+
errorsBySubtype
|
|
173
|
+
mostCommonErrors {
|
|
174
|
+
message
|
|
175
|
+
count
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
query GetMyDashboard($filter: AnalyticsFilter) {
|
|
2
|
+
myDashboard(filter: $filter) {
|
|
3
|
+
createdProjects
|
|
4
|
+
assignedStories
|
|
5
|
+
completedStories
|
|
6
|
+
assignedTasks
|
|
7
|
+
completedTasks
|
|
8
|
+
totalComments
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
query GetDashboardData($filter: AnalyticsFilter) {
|
|
13
|
+
dashboardData(filter: $filter) {
|
|
14
|
+
topProjects {
|
|
15
|
+
projectId
|
|
16
|
+
completedStories
|
|
17
|
+
completedTasks
|
|
18
|
+
completionPercentage
|
|
19
|
+
}
|
|
20
|
+
recentActivity {
|
|
21
|
+
date
|
|
22
|
+
storiesCreated
|
|
23
|
+
storiesCompleted
|
|
24
|
+
tasksCreated
|
|
25
|
+
tasksCompleted
|
|
26
|
+
commentsAdded
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# Development Plan Operations
|
|
2
|
+
|
|
3
|
+
query GetDevelopmentPlan($id: String!) {
|
|
4
|
+
developmentPlan(id: $id) {
|
|
5
|
+
id
|
|
6
|
+
project {
|
|
7
|
+
id
|
|
8
|
+
name
|
|
9
|
+
description
|
|
10
|
+
stage
|
|
11
|
+
}
|
|
12
|
+
planData {
|
|
13
|
+
overview
|
|
14
|
+
phases {
|
|
15
|
+
name
|
|
16
|
+
description
|
|
17
|
+
storyIds
|
|
18
|
+
estimatedDuration
|
|
19
|
+
parallelizationFactor
|
|
20
|
+
}
|
|
21
|
+
architecture {
|
|
22
|
+
components
|
|
23
|
+
technologies
|
|
24
|
+
integrations
|
|
25
|
+
}
|
|
26
|
+
timeline {
|
|
27
|
+
startDate
|
|
28
|
+
endDate
|
|
29
|
+
milestones {
|
|
30
|
+
name
|
|
31
|
+
date
|
|
32
|
+
deliverables
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
resources {
|
|
36
|
+
requiredSkills
|
|
37
|
+
estimatedTeamSize
|
|
38
|
+
aiWorkloadPercentage
|
|
39
|
+
}
|
|
40
|
+
workspaceStrategy {
|
|
41
|
+
primaryWorkspace
|
|
42
|
+
workspaceCoordination {
|
|
43
|
+
workspaceId
|
|
44
|
+
role
|
|
45
|
+
services
|
|
46
|
+
integrationPoints
|
|
47
|
+
}
|
|
48
|
+
crossWorkspaceDeployment {
|
|
49
|
+
sequence
|
|
50
|
+
dependencies
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
estimates {
|
|
55
|
+
totalHours
|
|
56
|
+
totalDays
|
|
57
|
+
stories {
|
|
58
|
+
storyId
|
|
59
|
+
title
|
|
60
|
+
estimatedHours
|
|
61
|
+
confidence
|
|
62
|
+
complexity
|
|
63
|
+
dependencies
|
|
64
|
+
}
|
|
65
|
+
confidenceInterval {
|
|
66
|
+
best
|
|
67
|
+
likely
|
|
68
|
+
worst
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
dependencies {
|
|
72
|
+
storyGraph
|
|
73
|
+
externalDependencies {
|
|
74
|
+
name
|
|
75
|
+
type
|
|
76
|
+
status
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
generatedBy
|
|
80
|
+
version
|
|
81
|
+
status
|
|
82
|
+
createdByUser {
|
|
83
|
+
id
|
|
84
|
+
displayName
|
|
85
|
+
email
|
|
86
|
+
}
|
|
87
|
+
approvedByUser {
|
|
88
|
+
id
|
|
89
|
+
displayName
|
|
90
|
+
email
|
|
91
|
+
}
|
|
92
|
+
approvedAt
|
|
93
|
+
approvalNotes
|
|
94
|
+
targetWorkspaces
|
|
95
|
+
coordinatedServices
|
|
96
|
+
totalEstimatedHours
|
|
97
|
+
totalEstimatedDays
|
|
98
|
+
phaseCount
|
|
99
|
+
storyCount
|
|
100
|
+
averageConfidence
|
|
101
|
+
criticalPathLength
|
|
102
|
+
isDraft
|
|
103
|
+
isApproved
|
|
104
|
+
isActive
|
|
105
|
+
isAIGenerated
|
|
106
|
+
createdAt
|
|
107
|
+
updatedAt
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
query GetDevelopmentPlans($projectId: String, $status: String, $limit: Int, $offset: Int) {
|
|
112
|
+
developmentPlans(projectId: $projectId, status: $status, limit: $limit, offset: $offset) {
|
|
113
|
+
id
|
|
114
|
+
project {
|
|
115
|
+
id
|
|
116
|
+
name
|
|
117
|
+
description
|
|
118
|
+
stage
|
|
119
|
+
}
|
|
120
|
+
generatedBy
|
|
121
|
+
version
|
|
122
|
+
status
|
|
123
|
+
createdByUser {
|
|
124
|
+
id
|
|
125
|
+
displayName
|
|
126
|
+
email
|
|
127
|
+
}
|
|
128
|
+
approvedByUser {
|
|
129
|
+
id
|
|
130
|
+
displayName
|
|
131
|
+
email
|
|
132
|
+
}
|
|
133
|
+
approvedAt
|
|
134
|
+
targetWorkspaces
|
|
135
|
+
coordinatedServices
|
|
136
|
+
totalEstimatedHours
|
|
137
|
+
totalEstimatedDays
|
|
138
|
+
phaseCount
|
|
139
|
+
storyCount
|
|
140
|
+
averageConfidence
|
|
141
|
+
criticalPathLength
|
|
142
|
+
isDraft
|
|
143
|
+
isApproved
|
|
144
|
+
isActive
|
|
145
|
+
isAIGenerated
|
|
146
|
+
createdAt
|
|
147
|
+
updatedAt
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
query GetActiveDevelopmentPlan($projectId: String!) {
|
|
152
|
+
currentDevelopmentPlan(projectId: $projectId) {
|
|
153
|
+
id
|
|
154
|
+
project {
|
|
155
|
+
id
|
|
156
|
+
name
|
|
157
|
+
description
|
|
158
|
+
stage
|
|
159
|
+
}
|
|
160
|
+
planData {
|
|
161
|
+
overview
|
|
162
|
+
phases {
|
|
163
|
+
name
|
|
164
|
+
description
|
|
165
|
+
storyIds
|
|
166
|
+
estimatedDuration
|
|
167
|
+
parallelizationFactor
|
|
168
|
+
}
|
|
169
|
+
architecture {
|
|
170
|
+
components
|
|
171
|
+
technologies
|
|
172
|
+
integrations
|
|
173
|
+
}
|
|
174
|
+
timeline {
|
|
175
|
+
startDate
|
|
176
|
+
endDate
|
|
177
|
+
milestones {
|
|
178
|
+
name
|
|
179
|
+
date
|
|
180
|
+
deliverables
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
resources {
|
|
184
|
+
requiredSkills
|
|
185
|
+
estimatedTeamSize
|
|
186
|
+
aiWorkloadPercentage
|
|
187
|
+
}
|
|
188
|
+
workspaceStrategy {
|
|
189
|
+
primaryWorkspace
|
|
190
|
+
workspaceCoordination {
|
|
191
|
+
workspaceId
|
|
192
|
+
role
|
|
193
|
+
services
|
|
194
|
+
integrationPoints
|
|
195
|
+
}
|
|
196
|
+
crossWorkspaceDeployment {
|
|
197
|
+
sequence
|
|
198
|
+
dependencies
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
estimates {
|
|
203
|
+
totalHours
|
|
204
|
+
totalDays
|
|
205
|
+
stories {
|
|
206
|
+
storyId
|
|
207
|
+
title
|
|
208
|
+
estimatedHours
|
|
209
|
+
confidence
|
|
210
|
+
complexity
|
|
211
|
+
dependencies
|
|
212
|
+
}
|
|
213
|
+
confidenceInterval {
|
|
214
|
+
best
|
|
215
|
+
likely
|
|
216
|
+
worst
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
dependencies {
|
|
220
|
+
storyGraph
|
|
221
|
+
externalDependencies {
|
|
222
|
+
name
|
|
223
|
+
type
|
|
224
|
+
status
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
generatedBy
|
|
228
|
+
version
|
|
229
|
+
status
|
|
230
|
+
createdByUser {
|
|
231
|
+
id
|
|
232
|
+
displayName
|
|
233
|
+
email
|
|
234
|
+
}
|
|
235
|
+
approvedByUser {
|
|
236
|
+
id
|
|
237
|
+
displayName
|
|
238
|
+
email
|
|
239
|
+
}
|
|
240
|
+
approvedAt
|
|
241
|
+
approvalNotes
|
|
242
|
+
targetWorkspaces
|
|
243
|
+
coordinatedServices
|
|
244
|
+
totalEstimatedHours
|
|
245
|
+
totalEstimatedDays
|
|
246
|
+
phaseCount
|
|
247
|
+
storyCount
|
|
248
|
+
averageConfidence
|
|
249
|
+
criticalPathLength
|
|
250
|
+
isDraft
|
|
251
|
+
isApproved
|
|
252
|
+
isActive
|
|
253
|
+
isAIGenerated
|
|
254
|
+
createdAt
|
|
255
|
+
updatedAt
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
# DISABLED: createDevelopmentPlan mutation doesn't exist, use generateDevelopmentPlan instead
|
|
260
|
+
# mutation CreateDevelopmentPlan($input: CreateDevelopmentPlanInput!) {
|
|
261
|
+
# createDevelopmentPlan(input: $input) {
|
|
262
|
+
# id
|
|
263
|
+
# project {
|
|
264
|
+
# id
|
|
265
|
+
# name
|
|
266
|
+
# }
|
|
267
|
+
# generatedBy
|
|
268
|
+
# version
|
|
269
|
+
# status
|
|
270
|
+
# totalEstimatedHours
|
|
271
|
+
# totalEstimatedDays
|
|
272
|
+
# phaseCount
|
|
273
|
+
# storyCount
|
|
274
|
+
# averageConfidence
|
|
275
|
+
# isAIGenerated
|
|
276
|
+
# createdAt
|
|
277
|
+
# }
|
|
278
|
+
# }
|
|
279
|
+
|
|
280
|
+
mutation UpdateDevelopmentPlan($id: String!, $input: UpdateDevelopmentPlanInput!) {
|
|
281
|
+
updateDevelopmentPlan(id: $id, input: $input) {
|
|
282
|
+
id
|
|
283
|
+
planData {
|
|
284
|
+
overview
|
|
285
|
+
phases {
|
|
286
|
+
name
|
|
287
|
+
description
|
|
288
|
+
storyIds
|
|
289
|
+
estimatedDuration
|
|
290
|
+
parallelizationFactor
|
|
291
|
+
}
|
|
292
|
+
architecture {
|
|
293
|
+
components
|
|
294
|
+
technologies
|
|
295
|
+
integrations
|
|
296
|
+
}
|
|
297
|
+
timeline {
|
|
298
|
+
startDate
|
|
299
|
+
endDate
|
|
300
|
+
milestones {
|
|
301
|
+
name
|
|
302
|
+
date
|
|
303
|
+
deliverables
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
resources {
|
|
307
|
+
requiredSkills
|
|
308
|
+
estimatedTeamSize
|
|
309
|
+
aiWorkloadPercentage
|
|
310
|
+
}
|
|
311
|
+
workspaceStrategy {
|
|
312
|
+
primaryWorkspace
|
|
313
|
+
workspaceCoordination {
|
|
314
|
+
workspaceId
|
|
315
|
+
role
|
|
316
|
+
services
|
|
317
|
+
integrationPoints
|
|
318
|
+
}
|
|
319
|
+
crossWorkspaceDeployment {
|
|
320
|
+
sequence
|
|
321
|
+
dependencies
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
estimates {
|
|
326
|
+
totalHours
|
|
327
|
+
totalDays
|
|
328
|
+
stories {
|
|
329
|
+
storyId
|
|
330
|
+
title
|
|
331
|
+
estimatedHours
|
|
332
|
+
confidence
|
|
333
|
+
complexity
|
|
334
|
+
dependencies
|
|
335
|
+
}
|
|
336
|
+
confidenceInterval {
|
|
337
|
+
best
|
|
338
|
+
likely
|
|
339
|
+
worst
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
dependencies {
|
|
343
|
+
storyGraph
|
|
344
|
+
externalDependencies {
|
|
345
|
+
name
|
|
346
|
+
type
|
|
347
|
+
status
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
status
|
|
351
|
+
approvalNotes
|
|
352
|
+
totalEstimatedHours
|
|
353
|
+
totalEstimatedDays
|
|
354
|
+
phaseCount
|
|
355
|
+
storyCount
|
|
356
|
+
averageConfidence
|
|
357
|
+
criticalPathLength
|
|
358
|
+
updatedAt
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
mutation ApproveDevelopmentPlan($id: String!, $comments: String) {
|
|
363
|
+
approveDevelopmentPlan(id: $id, comments: $comments) {
|
|
364
|
+
id
|
|
365
|
+
status
|
|
366
|
+
approvedByUser {
|
|
367
|
+
id
|
|
368
|
+
displayName
|
|
369
|
+
email
|
|
370
|
+
}
|
|
371
|
+
approvedAt
|
|
372
|
+
approvalNotes
|
|
373
|
+
isApproved
|
|
374
|
+
updatedAt
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
# DISABLED: developmentPlanUpdated subscription doesn't exist in schema
|
|
379
|
+
# subscription DevPlanDevelopmentPlanUpdated {
|
|
380
|
+
# developmentPlanUpdated {
|
|
381
|
+
# id
|
|
382
|
+
# status
|
|
383
|
+
# approvedAt
|
|
384
|
+
# approvalNotes
|
|
385
|
+
# totalEstimatedHours
|
|
386
|
+
# totalEstimatedDays
|
|
387
|
+
# phaseCount
|
|
388
|
+
# storyCount
|
|
389
|
+
# averageConfidence
|
|
390
|
+
# criticalPathLength
|
|
391
|
+
# updatedAt
|
|
392
|
+
# }
|
|
393
|
+
# }
|
|
394
|
+
|
|
395
|
+
query GetDevelopmentPlanVersions($projectId: String!) {
|
|
396
|
+
developmentPlans(projectId: $projectId) {
|
|
397
|
+
id
|
|
398
|
+
version
|
|
399
|
+
status
|
|
400
|
+
generatedBy
|
|
401
|
+
totalEstimatedDays
|
|
402
|
+
averageConfidence
|
|
403
|
+
createdAt
|
|
404
|
+
approvedAt
|
|
405
|
+
approvalNotes
|
|
406
|
+
isActive
|
|
407
|
+
}
|
|
408
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Early Access Registration Operations
|
|
2
|
+
# Used by www app for marketing lead capture
|
|
3
|
+
|
|
4
|
+
mutation CreatePublicEarlyAccessRegistration($input: PublicEarlyAccessRegistrationInput!) {
|
|
5
|
+
createEarlyAccessRegistration(input: $input) {
|
|
6
|
+
id
|
|
7
|
+
email
|
|
8
|
+
status
|
|
9
|
+
message
|
|
10
|
+
createdAt
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
query GetEarlyAccessRegistrationStats {
|
|
15
|
+
earlyAccessStats {
|
|
16
|
+
totalRegistrations
|
|
17
|
+
recentRegistrations
|
|
18
|
+
topRoles
|
|
19
|
+
topTeamSizes
|
|
20
|
+
}
|
|
21
|
+
}
|