@vibescope/mcp-server 0.3.0 → 0.3.3

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 (154) hide show
  1. package/dist/api-client/blockers.d.ts +46 -0
  2. package/dist/api-client/blockers.js +43 -0
  3. package/dist/api-client/cost.d.ts +112 -0
  4. package/dist/api-client/cost.js +76 -0
  5. package/dist/api-client/decisions.d.ts +55 -0
  6. package/dist/api-client/decisions.js +32 -0
  7. package/dist/api-client/discovery.d.ts +62 -0
  8. package/dist/api-client/discovery.js +21 -0
  9. package/dist/api-client/ideas.d.ts +75 -0
  10. package/dist/api-client/ideas.js +36 -0
  11. package/dist/api-client/index.d.ts +749 -0
  12. package/dist/api-client/index.js +291 -0
  13. package/dist/api-client/project.d.ts +132 -0
  14. package/dist/api-client/project.js +45 -0
  15. package/dist/api-client/session.d.ts +163 -0
  16. package/dist/api-client/session.js +52 -0
  17. package/dist/api-client/tasks.d.ts +328 -0
  18. package/dist/api-client/tasks.js +132 -0
  19. package/dist/api-client/types.d.ts +25 -0
  20. package/dist/api-client/types.js +4 -0
  21. package/dist/api-client/worktrees.d.ts +33 -0
  22. package/dist/api-client/worktrees.js +26 -0
  23. package/dist/api-client.d.ts +9 -0
  24. package/dist/api-client.js +104 -25
  25. package/dist/cli-init.d.ts +17 -0
  26. package/dist/cli-init.js +445 -0
  27. package/dist/cli.js +0 -0
  28. package/dist/handlers/cloud-agents.d.ts +21 -0
  29. package/dist/handlers/cloud-agents.js +91 -0
  30. package/dist/handlers/discovery.js +7 -0
  31. package/dist/handlers/index.d.ts +1 -0
  32. package/dist/handlers/index.js +3 -0
  33. package/dist/handlers/session.js +3 -1
  34. package/dist/handlers/tasks.js +10 -12
  35. package/dist/handlers/types.d.ts +2 -1
  36. package/dist/handlers/validation.js +5 -1
  37. package/dist/index.js +8 -3
  38. package/dist/token-tracking.js +2 -2
  39. package/dist/tools/blockers.d.ts +13 -0
  40. package/dist/tools/blockers.js +119 -0
  41. package/dist/tools/bodies-of-work.d.ts +19 -0
  42. package/dist/tools/bodies-of-work.js +280 -0
  43. package/dist/tools/cloud-agents.d.ts +9 -0
  44. package/dist/tools/cloud-agents.js +67 -0
  45. package/dist/tools/connectors.d.ts +14 -0
  46. package/dist/tools/connectors.js +188 -0
  47. package/dist/tools/cost.d.ts +11 -0
  48. package/dist/tools/cost.js +108 -0
  49. package/dist/tools/decisions.d.ts +12 -0
  50. package/dist/tools/decisions.js +108 -0
  51. package/dist/tools/deployment.d.ts +24 -0
  52. package/dist/tools/deployment.js +439 -0
  53. package/dist/tools/discovery.d.ts +10 -0
  54. package/dist/tools/discovery.js +73 -0
  55. package/dist/tools/fallback.d.ts +11 -0
  56. package/dist/tools/fallback.js +108 -0
  57. package/dist/tools/file-checkouts.d.ts +13 -0
  58. package/dist/tools/file-checkouts.js +141 -0
  59. package/dist/tools/findings.d.ts +13 -0
  60. package/dist/tools/findings.js +98 -0
  61. package/dist/tools/git-issues.d.ts +11 -0
  62. package/dist/tools/git-issues.js +127 -0
  63. package/dist/tools/ideas.d.ts +13 -0
  64. package/dist/tools/ideas.js +159 -0
  65. package/dist/tools/index.d.ts +71 -0
  66. package/dist/tools/index.js +98 -0
  67. package/dist/tools/milestones.d.ts +12 -0
  68. package/dist/tools/milestones.js +115 -0
  69. package/dist/tools/organizations.d.ts +17 -0
  70. package/dist/tools/organizations.js +221 -0
  71. package/dist/tools/progress.d.ts +9 -0
  72. package/dist/tools/progress.js +70 -0
  73. package/dist/tools/project.d.ts +13 -0
  74. package/dist/tools/project.js +199 -0
  75. package/dist/tools/requests.d.ts +10 -0
  76. package/dist/tools/requests.js +65 -0
  77. package/dist/tools/roles.d.ts +11 -0
  78. package/dist/tools/roles.js +109 -0
  79. package/dist/tools/session.d.ts +15 -0
  80. package/dist/tools/session.js +178 -0
  81. package/dist/tools/sprints.d.ts +18 -0
  82. package/dist/tools/sprints.js +295 -0
  83. package/dist/tools/tasks.d.ts +27 -0
  84. package/dist/tools/tasks.js +539 -0
  85. package/dist/tools/types.d.ts +7 -0
  86. package/dist/tools/types.js +6 -0
  87. package/dist/tools/validation.d.ts +10 -0
  88. package/dist/tools/validation.js +72 -0
  89. package/dist/tools/worktrees.d.ts +9 -0
  90. package/dist/tools/worktrees.js +63 -0
  91. package/dist/utils.d.ts +66 -0
  92. package/dist/utils.js +102 -0
  93. package/docs/TOOLS.md +55 -2
  94. package/package.json +5 -3
  95. package/scripts/generate-docs.ts +1 -1
  96. package/src/api-client/blockers.ts +86 -0
  97. package/src/api-client/cost.ts +185 -0
  98. package/src/api-client/decisions.ts +87 -0
  99. package/src/api-client/discovery.ts +81 -0
  100. package/src/api-client/ideas.ts +112 -0
  101. package/src/api-client/index.ts +378 -0
  102. package/src/api-client/project.ts +179 -0
  103. package/src/api-client/session.ts +220 -0
  104. package/src/api-client/tasks.ts +450 -0
  105. package/src/api-client/types.ts +32 -0
  106. package/src/api-client/worktrees.ts +53 -0
  107. package/src/api-client.test.ts +136 -9
  108. package/src/api-client.ts +125 -27
  109. package/src/cli-init.ts +504 -0
  110. package/src/handlers/__test-utils__.ts +2 -0
  111. package/src/handlers/cloud-agents.ts +138 -0
  112. package/src/handlers/discovery.ts +7 -0
  113. package/src/handlers/index.ts +3 -0
  114. package/src/handlers/session.ts +3 -1
  115. package/src/handlers/tasks.ts +10 -12
  116. package/src/handlers/tool-categories.test.ts +1 -1
  117. package/src/handlers/types.ts +2 -1
  118. package/src/handlers/validation.ts +6 -1
  119. package/src/index.test.ts +2 -2
  120. package/src/index.ts +8 -2
  121. package/src/token-tracking.ts +3 -2
  122. package/src/tools/blockers.ts +122 -0
  123. package/src/tools/bodies-of-work.ts +283 -0
  124. package/src/tools/cloud-agents.ts +70 -0
  125. package/src/tools/connectors.ts +191 -0
  126. package/src/tools/cost.ts +111 -0
  127. package/src/tools/decisions.ts +111 -0
  128. package/src/tools/deployment.ts +442 -0
  129. package/src/tools/discovery.ts +76 -0
  130. package/src/tools/fallback.ts +111 -0
  131. package/src/tools/file-checkouts.ts +145 -0
  132. package/src/tools/findings.ts +101 -0
  133. package/src/tools/git-issues.ts +130 -0
  134. package/src/tools/ideas.ts +162 -0
  135. package/src/tools/index.ts +131 -0
  136. package/src/tools/milestones.ts +118 -0
  137. package/src/tools/organizations.ts +224 -0
  138. package/src/tools/progress.ts +73 -0
  139. package/src/tools/project.ts +202 -0
  140. package/src/tools/requests.ts +68 -0
  141. package/src/tools/roles.ts +112 -0
  142. package/src/tools/session.ts +181 -0
  143. package/src/tools/sprints.ts +298 -0
  144. package/src/tools/tasks.ts +542 -0
  145. package/src/tools/tools.test.ts +222 -0
  146. package/src/tools/types.ts +9 -0
  147. package/src/tools/validation.ts +75 -0
  148. package/src/tools/worktrees.ts +66 -0
  149. package/src/tools.test.ts +1 -1
  150. package/src/utils.test.ts +229 -0
  151. package/src/utils.ts +117 -0
  152. package/dist/tools.d.ts +0 -2
  153. package/dist/tools.js +0 -3602
  154. package/src/tools.ts +0 -3607
@@ -0,0 +1,71 @@
1
+ /**
2
+ * MCP Tool Definitions
3
+ *
4
+ * This module exports all tool definitions organized by domain.
5
+ * Each domain file exports an array of Tool objects.
6
+ */
7
+ import type { Tool } from './types.js';
8
+ export type { Tool };
9
+ import { sessionTools } from './session.js';
10
+ import { costTools } from './cost.js';
11
+ import { discoveryTools } from './discovery.js';
12
+ import { worktreeTools } from './worktrees.js';
13
+ import { projectTools } from './project.js';
14
+ import { taskTools } from './tasks.js';
15
+ import { progressTools } from './progress.js';
16
+ import { blockerTools } from './blockers.js';
17
+ import { decisionTools } from './decisions.js';
18
+ import { ideaTools } from './ideas.js';
19
+ import { findingTools } from './findings.js';
20
+ import { validationTools } from './validation.js';
21
+ import { deploymentTools } from './deployment.js';
22
+ import { fallbackTools } from './fallback.js';
23
+ import { requestTools } from './requests.js';
24
+ import { milestoneTools } from './milestones.js';
25
+ import { bodiesOfWorkTools } from './bodies-of-work.js';
26
+ import { organizationTools } from './organizations.js';
27
+ import { fileCheckoutTools } from './file-checkouts.js';
28
+ import { roleTools } from './roles.js';
29
+ import { sprintTools } from './sprints.js';
30
+ import { gitIssueTools } from './git-issues.js';
31
+ import { connectorTools } from './connectors.js';
32
+ import { cloudAgentTools } from './cloud-agents.js';
33
+ /**
34
+ * All MCP tool definitions combined
35
+ */
36
+ export declare const tools: Tool[];
37
+ /**
38
+ * Build the complete tool list from all domain modules
39
+ * (Backward compatible function - use `tools` export directly)
40
+ */
41
+ export declare function buildToolList(): Tool[];
42
+ /**
43
+ * Get tool names by domain for categorization
44
+ */
45
+ export declare const toolCategories: {
46
+ readonly session: string[];
47
+ readonly cost: string[];
48
+ readonly discovery: string[];
49
+ readonly worktrees: string[];
50
+ readonly project: string[];
51
+ readonly tasks: string[];
52
+ readonly progress: string[];
53
+ readonly blockers: string[];
54
+ readonly decisions: string[];
55
+ readonly ideas: string[];
56
+ readonly findings: string[];
57
+ readonly validation: string[];
58
+ readonly deployment: string[];
59
+ readonly fallback: string[];
60
+ readonly requests: string[];
61
+ readonly milestones: string[];
62
+ readonly bodiesOfWork: string[];
63
+ readonly organizations: string[];
64
+ readonly fileCheckouts: string[];
65
+ readonly roles: string[];
66
+ readonly sprints: string[];
67
+ readonly gitIssues: string[];
68
+ readonly connectors: string[];
69
+ readonly cloudAgents: string[];
70
+ };
71
+ export { sessionTools, costTools, discoveryTools, worktreeTools, projectTools, taskTools, progressTools, blockerTools, decisionTools, ideaTools, findingTools, validationTools, deploymentTools, fallbackTools, requestTools, milestoneTools, bodiesOfWorkTools, organizationTools, fileCheckoutTools, roleTools, sprintTools, gitIssueTools, connectorTools, cloudAgentTools, };
@@ -0,0 +1,98 @@
1
+ /**
2
+ * MCP Tool Definitions
3
+ *
4
+ * This module exports all tool definitions organized by domain.
5
+ * Each domain file exports an array of Tool objects.
6
+ */
7
+ // Domain-specific tool imports
8
+ import { sessionTools } from './session.js';
9
+ import { costTools } from './cost.js';
10
+ import { discoveryTools } from './discovery.js';
11
+ import { worktreeTools } from './worktrees.js';
12
+ import { projectTools } from './project.js';
13
+ import { taskTools } from './tasks.js';
14
+ import { progressTools } from './progress.js';
15
+ import { blockerTools } from './blockers.js';
16
+ import { decisionTools } from './decisions.js';
17
+ import { ideaTools } from './ideas.js';
18
+ import { findingTools } from './findings.js';
19
+ import { validationTools } from './validation.js';
20
+ import { deploymentTools } from './deployment.js';
21
+ import { fallbackTools } from './fallback.js';
22
+ import { requestTools } from './requests.js';
23
+ import { milestoneTools } from './milestones.js';
24
+ import { bodiesOfWorkTools } from './bodies-of-work.js';
25
+ import { organizationTools } from './organizations.js';
26
+ import { fileCheckoutTools } from './file-checkouts.js';
27
+ import { roleTools } from './roles.js';
28
+ import { sprintTools } from './sprints.js';
29
+ import { gitIssueTools } from './git-issues.js';
30
+ import { connectorTools } from './connectors.js';
31
+ import { cloudAgentTools } from './cloud-agents.js';
32
+ /**
33
+ * All MCP tool definitions combined
34
+ */
35
+ export const tools = [
36
+ ...sessionTools,
37
+ ...costTools,
38
+ ...discoveryTools,
39
+ ...worktreeTools,
40
+ ...projectTools,
41
+ ...taskTools,
42
+ ...progressTools,
43
+ ...blockerTools,
44
+ ...decisionTools,
45
+ ...ideaTools,
46
+ ...findingTools,
47
+ ...validationTools,
48
+ ...deploymentTools,
49
+ ...fallbackTools,
50
+ ...requestTools,
51
+ ...milestoneTools,
52
+ ...bodiesOfWorkTools,
53
+ ...organizationTools,
54
+ ...fileCheckoutTools,
55
+ ...roleTools,
56
+ ...sprintTools,
57
+ ...gitIssueTools,
58
+ ...connectorTools,
59
+ ...cloudAgentTools,
60
+ ];
61
+ /**
62
+ * Build the complete tool list from all domain modules
63
+ * (Backward compatible function - use `tools` export directly)
64
+ */
65
+ export function buildToolList() {
66
+ return tools;
67
+ }
68
+ /**
69
+ * Get tool names by domain for categorization
70
+ */
71
+ export const toolCategories = {
72
+ session: sessionTools.map((t) => t.name),
73
+ cost: costTools.map((t) => t.name),
74
+ discovery: discoveryTools.map((t) => t.name),
75
+ worktrees: worktreeTools.map((t) => t.name),
76
+ project: projectTools.map((t) => t.name),
77
+ tasks: taskTools.map((t) => t.name),
78
+ progress: progressTools.map((t) => t.name),
79
+ blockers: blockerTools.map((t) => t.name),
80
+ decisions: decisionTools.map((t) => t.name),
81
+ ideas: ideaTools.map((t) => t.name),
82
+ findings: findingTools.map((t) => t.name),
83
+ validation: validationTools.map((t) => t.name),
84
+ deployment: deploymentTools.map((t) => t.name),
85
+ fallback: fallbackTools.map((t) => t.name),
86
+ requests: requestTools.map((t) => t.name),
87
+ milestones: milestoneTools.map((t) => t.name),
88
+ bodiesOfWork: bodiesOfWorkTools.map((t) => t.name),
89
+ organizations: organizationTools.map((t) => t.name),
90
+ fileCheckouts: fileCheckoutTools.map((t) => t.name),
91
+ roles: roleTools.map((t) => t.name),
92
+ sprints: sprintTools.map((t) => t.name),
93
+ gitIssues: gitIssueTools.map((t) => t.name),
94
+ connectors: connectorTools.map((t) => t.name),
95
+ cloudAgents: cloudAgentTools.map((t) => t.name),
96
+ };
97
+ // Re-export domain tools for selective imports
98
+ export { sessionTools, costTools, discoveryTools, worktreeTools, projectTools, taskTools, progressTools, blockerTools, decisionTools, ideaTools, findingTools, validationTools, deploymentTools, fallbackTools, requestTools, milestoneTools, bodiesOfWorkTools, organizationTools, fileCheckoutTools, roleTools, sprintTools, gitIssueTools, connectorTools, cloudAgentTools, };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Milestone Tool Definitions
3
+ *
4
+ * Tools for managing task milestones:
5
+ * - add_milestone
6
+ * - update_milestone
7
+ * - complete_milestone
8
+ * - delete_milestone
9
+ * - get_milestones
10
+ */
11
+ import type { Tool } from './types.js';
12
+ export declare const milestoneTools: Tool[];
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Milestone Tool Definitions
3
+ *
4
+ * Tools for managing task milestones:
5
+ * - add_milestone
6
+ * - update_milestone
7
+ * - complete_milestone
8
+ * - delete_milestone
9
+ * - get_milestones
10
+ */
11
+ export const milestoneTools = [
12
+ {
13
+ name: 'add_milestone',
14
+ description: `Add a milestone to a task.
15
+ Milestones help break down large tasks into smaller trackable steps.
16
+ Use this to show progress on complex tasks and help gauge completion.`,
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ task_id: {
21
+ type: 'string',
22
+ description: 'Task UUID to add milestone to',
23
+ },
24
+ title: {
25
+ type: 'string',
26
+ description: 'Milestone title (brief description of what needs to be done)',
27
+ },
28
+ description: {
29
+ type: 'string',
30
+ description: 'Optional detailed description',
31
+ },
32
+ order_index: {
33
+ type: 'number',
34
+ minimum: 0,
35
+ description: 'Order of this milestone (0-based, defaults to end of list)',
36
+ },
37
+ },
38
+ required: ['task_id', 'title'],
39
+ },
40
+ },
41
+ {
42
+ name: 'update_milestone',
43
+ description: `Update a milestone's title, description, status, or order.`,
44
+ inputSchema: {
45
+ type: 'object',
46
+ properties: {
47
+ milestone_id: {
48
+ type: 'string',
49
+ description: 'Milestone UUID',
50
+ },
51
+ title: {
52
+ type: 'string',
53
+ description: 'Updated title',
54
+ },
55
+ description: {
56
+ type: 'string',
57
+ description: 'Updated description',
58
+ },
59
+ status: {
60
+ type: 'string',
61
+ enum: ['pending', 'in_progress', 'completed'],
62
+ description: 'Milestone status',
63
+ },
64
+ order_index: {
65
+ type: 'number',
66
+ minimum: 0,
67
+ description: 'Updated order',
68
+ },
69
+ },
70
+ required: ['milestone_id'],
71
+ },
72
+ },
73
+ {
74
+ name: 'complete_milestone',
75
+ description: `Mark a milestone as completed. This is a convenience wrapper for update_milestone with status=completed.`,
76
+ inputSchema: {
77
+ type: 'object',
78
+ properties: {
79
+ milestone_id: {
80
+ type: 'string',
81
+ description: 'Milestone UUID',
82
+ },
83
+ },
84
+ required: ['milestone_id'],
85
+ },
86
+ },
87
+ {
88
+ name: 'delete_milestone',
89
+ description: `Delete a milestone from a task.`,
90
+ inputSchema: {
91
+ type: 'object',
92
+ properties: {
93
+ milestone_id: {
94
+ type: 'string',
95
+ description: 'Milestone UUID',
96
+ },
97
+ },
98
+ required: ['milestone_id'],
99
+ },
100
+ },
101
+ {
102
+ name: 'get_milestones',
103
+ description: `Get all milestones for a task, ordered by order_index.`,
104
+ inputSchema: {
105
+ type: 'object',
106
+ properties: {
107
+ task_id: {
108
+ type: 'string',
109
+ description: 'Task UUID',
110
+ },
111
+ },
112
+ required: ['task_id'],
113
+ },
114
+ },
115
+ ];
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Organization Tool Definitions
3
+ *
4
+ * Tools for managing organizations and sharing:
5
+ * - create_organization
6
+ * - update_organization
7
+ * - delete_organization
8
+ * - invite_member
9
+ * - update_member_role
10
+ * - remove_member
11
+ * - leave_organization
12
+ * - share_project_with_org
13
+ * - update_project_share
14
+ * - unshare_project
15
+ */
16
+ import type { Tool } from './types.js';
17
+ export declare const organizationTools: Tool[];
@@ -0,0 +1,221 @@
1
+ /**
2
+ * Organization Tool Definitions
3
+ *
4
+ * Tools for managing organizations and sharing:
5
+ * - create_organization
6
+ * - update_organization
7
+ * - delete_organization
8
+ * - invite_member
9
+ * - update_member_role
10
+ * - remove_member
11
+ * - leave_organization
12
+ * - share_project_with_org
13
+ * - update_project_share
14
+ * - unshare_project
15
+ */
16
+ export const organizationTools = [
17
+ {
18
+ name: 'create_organization',
19
+ description: 'Create a new organization. You become the owner.',
20
+ inputSchema: {
21
+ type: 'object',
22
+ properties: {
23
+ name: {
24
+ type: 'string',
25
+ description: 'Organization display name',
26
+ },
27
+ description: {
28
+ type: 'string',
29
+ description: 'Brief description of the organization',
30
+ },
31
+ slug: {
32
+ type: 'string',
33
+ description: 'URL-friendly identifier (auto-generated from name if not provided)',
34
+ },
35
+ },
36
+ required: ['name'],
37
+ },
38
+ },
39
+ {
40
+ name: 'update_organization',
41
+ description: 'Update organization details. Requires admin role.',
42
+ inputSchema: {
43
+ type: 'object',
44
+ properties: {
45
+ organization_id: {
46
+ type: 'string',
47
+ description: 'Organization UUID',
48
+ },
49
+ name: {
50
+ type: 'string',
51
+ description: 'New organization name',
52
+ },
53
+ description: {
54
+ type: 'string',
55
+ description: 'New description',
56
+ },
57
+ logo_url: {
58
+ type: 'string',
59
+ description: 'URL to organization logo',
60
+ },
61
+ },
62
+ required: ['organization_id'],
63
+ },
64
+ },
65
+ {
66
+ name: 'delete_organization',
67
+ description: 'Delete an organization. Requires owner role. Removes all shares.',
68
+ inputSchema: {
69
+ type: 'object',
70
+ properties: {
71
+ organization_id: {
72
+ type: 'string',
73
+ description: 'Organization UUID',
74
+ },
75
+ },
76
+ required: ['organization_id'],
77
+ },
78
+ },
79
+ {
80
+ name: 'invite_member',
81
+ description: 'Invite a user to an organization by email. Requires admin role.',
82
+ inputSchema: {
83
+ type: 'object',
84
+ properties: {
85
+ organization_id: {
86
+ type: 'string',
87
+ description: 'Organization UUID',
88
+ },
89
+ email: {
90
+ type: 'string',
91
+ description: 'Email address to invite',
92
+ },
93
+ role: {
94
+ type: 'string',
95
+ enum: ['admin', 'member', 'viewer'],
96
+ description: 'Role to assign (default: member)',
97
+ },
98
+ },
99
+ required: ['organization_id', 'email'],
100
+ },
101
+ },
102
+ {
103
+ name: 'update_member_role',
104
+ description: 'Change a member\'s role. Requires admin role. Cannot change owner.',
105
+ inputSchema: {
106
+ type: 'object',
107
+ properties: {
108
+ organization_id: {
109
+ type: 'string',
110
+ description: 'Organization UUID',
111
+ },
112
+ user_id: {
113
+ type: 'string',
114
+ description: 'User UUID to update',
115
+ },
116
+ role: {
117
+ type: 'string',
118
+ enum: ['admin', 'member', 'viewer'],
119
+ description: 'New role to assign',
120
+ },
121
+ },
122
+ required: ['organization_id', 'user_id', 'role'],
123
+ },
124
+ },
125
+ {
126
+ name: 'remove_member',
127
+ description: 'Remove a member from an organization. Requires admin role.',
128
+ inputSchema: {
129
+ type: 'object',
130
+ properties: {
131
+ organization_id: {
132
+ type: 'string',
133
+ description: 'Organization UUID',
134
+ },
135
+ user_id: {
136
+ type: 'string',
137
+ description: 'User UUID to remove',
138
+ },
139
+ },
140
+ required: ['organization_id', 'user_id'],
141
+ },
142
+ },
143
+ {
144
+ name: 'leave_organization',
145
+ description: 'Leave an organization. Owner cannot leave without transferring ownership.',
146
+ inputSchema: {
147
+ type: 'object',
148
+ properties: {
149
+ organization_id: {
150
+ type: 'string',
151
+ description: 'Organization UUID',
152
+ },
153
+ },
154
+ required: ['organization_id'],
155
+ },
156
+ },
157
+ {
158
+ name: 'share_project_with_org',
159
+ description: 'Share a project with an organization. You must own the project.',
160
+ inputSchema: {
161
+ type: 'object',
162
+ properties: {
163
+ project_id: {
164
+ type: 'string',
165
+ description: 'Project UUID',
166
+ },
167
+ organization_id: {
168
+ type: 'string',
169
+ description: 'Organization UUID to share with',
170
+ },
171
+ permission: {
172
+ type: 'string',
173
+ enum: ['read', 'write', 'admin'],
174
+ description: 'Permission level (default: read)',
175
+ },
176
+ },
177
+ required: ['project_id', 'organization_id'],
178
+ },
179
+ },
180
+ {
181
+ name: 'update_project_share',
182
+ description: 'Update the permission level for a project share.',
183
+ inputSchema: {
184
+ type: 'object',
185
+ properties: {
186
+ project_id: {
187
+ type: 'string',
188
+ description: 'Project UUID',
189
+ },
190
+ organization_id: {
191
+ type: 'string',
192
+ description: 'Organization UUID',
193
+ },
194
+ permission: {
195
+ type: 'string',
196
+ enum: ['read', 'write', 'admin'],
197
+ description: 'New permission level',
198
+ },
199
+ },
200
+ required: ['project_id', 'organization_id', 'permission'],
201
+ },
202
+ },
203
+ {
204
+ name: 'unshare_project',
205
+ description: 'Remove a project share from an organization.',
206
+ inputSchema: {
207
+ type: 'object',
208
+ properties: {
209
+ project_id: {
210
+ type: 'string',
211
+ description: 'Project UUID',
212
+ },
213
+ organization_id: {
214
+ type: 'string',
215
+ description: 'Organization UUID',
216
+ },
217
+ },
218
+ required: ['project_id', 'organization_id'],
219
+ },
220
+ },
221
+ ];
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Progress Tool Definitions
3
+ *
4
+ * Tools for logging and viewing progress:
5
+ * - log_progress
6
+ * - get_activity_feed
7
+ */
8
+ import type { Tool } from './types.js';
9
+ export declare const progressTools: Tool[];
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Progress Tool Definitions
3
+ *
4
+ * Tools for logging and viewing progress:
5
+ * - log_progress
6
+ * - get_activity_feed
7
+ */
8
+ export const progressTools = [
9
+ {
10
+ name: 'log_progress',
11
+ description: `Log progress update. Record significant milestones or observations.`,
12
+ inputSchema: {
13
+ type: 'object',
14
+ properties: {
15
+ project_id: {
16
+ type: 'string',
17
+ description: 'Project UUID',
18
+ },
19
+ task_id: {
20
+ type: 'string',
21
+ description: 'Task UUID (optional, links progress to specific task)',
22
+ },
23
+ summary: {
24
+ type: 'string',
25
+ description: 'Brief summary of progress',
26
+ },
27
+ details: {
28
+ type: 'string',
29
+ description: 'Detailed notes (optional)',
30
+ },
31
+ },
32
+ required: ['project_id', 'summary'],
33
+ },
34
+ },
35
+ {
36
+ name: 'get_activity_feed',
37
+ description: `Get combined activity feed (tasks, progress, blockers, decisions) in chronological order.`,
38
+ inputSchema: {
39
+ type: 'object',
40
+ properties: {
41
+ project_id: {
42
+ type: 'string',
43
+ description: 'Project UUID',
44
+ },
45
+ types: {
46
+ type: 'array',
47
+ items: {
48
+ type: 'string',
49
+ enum: ['task', 'progress', 'blocker', 'decision'],
50
+ },
51
+ description: 'Filter by activity types (default: all)',
52
+ },
53
+ created_by: {
54
+ type: 'string',
55
+ enum: ['agent', 'user'],
56
+ description: 'Filter by creator (default: all)',
57
+ },
58
+ since: {
59
+ type: 'string',
60
+ description: 'ISO date string - only return activity after this time',
61
+ },
62
+ limit: {
63
+ type: 'number',
64
+ description: 'Max number of items to return (default 10, max 200)',
65
+ },
66
+ },
67
+ required: ['project_id'],
68
+ },
69
+ },
70
+ ];
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Project Tool Definitions
3
+ *
4
+ * Tools for project management:
5
+ * - get_project_context
6
+ * - get_git_workflow
7
+ * - create_project
8
+ * - update_project
9
+ * - update_project_readme
10
+ * - get_project_summary
11
+ */
12
+ import type { Tool } from './types.js';
13
+ export declare const projectTools: Tool[];