@lovelybunch/mcp 1.0.48 → 1.0.51

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.
@@ -10,7 +10,7 @@ export const listProposalsTool = {
10
10
  properties: {
11
11
  status: {
12
12
  type: "string",
13
- enum: ["draft", "review", "approved", "rejected", "implemented"],
13
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
14
14
  description: "Filter by proposal status"
15
15
  },
16
16
  priority: {
@@ -53,7 +53,7 @@ export const proposalsTool = {
53
53
  properties: {
54
54
  status: {
55
55
  type: "string",
56
- enum: ["draft", "review", "approved", "rejected", "implemented"],
56
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
57
57
  description: "Filter by proposal status"
58
58
  },
59
59
  author: {
@@ -96,13 +96,28 @@ export const proposalsTool = {
96
96
  name: { type: "string" },
97
97
  email: { type: "string" },
98
98
  role: { type: "string" },
99
- type: { type: "string", enum: ["human", "ai"] }
99
+ type: { type: "string", enum: ["human", "agent"] }
100
100
  }
101
101
  },
102
102
  planSteps: {
103
103
  type: "array",
104
- items: { type: "string" },
105
- description: "Implementation plan steps"
104
+ description: "Implementation plan steps. Each item may be a string (description) or an object with fields.",
105
+ items: {
106
+ oneOf: [
107
+ { type: "string", description: "Step description" },
108
+ {
109
+ type: "object",
110
+ properties: {
111
+ id: { type: "string", description: "Step identifier (optional)" },
112
+ description: { type: "string", description: "Human-readable step description" },
113
+ status: { type: "string", enum: ["pending", "in-progress", "completed", "failed"], description: "Execution status" },
114
+ command: { type: "string", description: "Optional command to execute" },
115
+ expectedOutcome: { type: "string", description: "Expected outcome of the step" }
116
+ },
117
+ required: ["description"]
118
+ }
119
+ ]
120
+ }
106
121
  },
107
122
  evidence: {
108
123
  type: "array",
@@ -135,13 +150,13 @@ export const proposalsTool = {
135
150
  properties: {
136
151
  strategy: {
137
152
  type: "string",
138
- enum: ["immediate", "gradual", "canary", "feature-flag"]
153
+ enum: ["immediate", "gradual", "scheduled", "gated"]
139
154
  }
140
155
  }
141
156
  },
142
157
  status: {
143
158
  type: "string",
144
- enum: ["draft", "review", "approved", "rejected", "implemented"],
159
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
145
160
  description: "Current status of the proposal"
146
161
  },
147
162
  metadata: {
@@ -169,7 +184,8 @@ export const proposalsTool = {
169
184
  type: "string",
170
185
  description: "Reference to related product specification"
171
186
  }
172
- }
187
+ },
188
+ required: ["intent", "content"]
173
189
  }
174
190
  },
175
191
  required: ["operation"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovelybunch/mcp",
3
- "version": "1.0.48",
3
+ "version": "1.0.51",
4
4
  "description": "MCP tools for Coconut",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  "dev": "tsc --watch"
10
10
  },
11
11
  "dependencies": {
12
- "@lovelybunch/types": "^1.0.48",
12
+ "@lovelybunch/types": "^1.0.51",
13
13
  "hono": "^4.0.0"
14
14
  },
15
15
  "devDependencies": {
@@ -27,7 +27,7 @@ export const listProposalsTool: MCPTool = {
27
27
  properties: {
28
28
  status: {
29
29
  type: "string",
30
- enum: ["draft", "review", "approved", "rejected", "implemented"],
30
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
31
31
  description: "Filter by proposal status"
32
32
  },
33
33
  priority: {
@@ -71,7 +71,7 @@ export const proposalsTool: MCPTool = {
71
71
  properties: {
72
72
  status: {
73
73
  type: "string",
74
- enum: ["draft", "review", "approved", "rejected", "implemented"],
74
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
75
75
  description: "Filter by proposal status"
76
76
  },
77
77
  author: {
@@ -114,13 +114,28 @@ export const proposalsTool: MCPTool = {
114
114
  name: { type: "string" },
115
115
  email: { type: "string" },
116
116
  role: { type: "string" },
117
- type: { type: "string", enum: ["human", "ai"] }
117
+ type: { type: "string", enum: ["human", "agent"] }
118
118
  }
119
119
  },
120
120
  planSteps: {
121
121
  type: "array",
122
- items: { type: "string" },
123
- description: "Implementation plan steps"
122
+ description: "Implementation plan steps. Each item may be a string (description) or an object with fields.",
123
+ items: {
124
+ oneOf: [
125
+ { type: "string", description: "Step description" },
126
+ {
127
+ type: "object",
128
+ properties: {
129
+ id: { type: "string", description: "Step identifier (optional)" },
130
+ description: { type: "string", description: "Human-readable step description" },
131
+ status: { type: "string", enum: ["pending", "in-progress", "completed", "failed"], description: "Execution status" },
132
+ command: { type: "string", description: "Optional command to execute" },
133
+ expectedOutcome: { type: "string", description: "Expected outcome of the step" }
134
+ },
135
+ required: ["description"]
136
+ }
137
+ ]
138
+ }
124
139
  },
125
140
  evidence: {
126
141
  type: "array",
@@ -153,13 +168,13 @@ export const proposalsTool: MCPTool = {
153
168
  properties: {
154
169
  strategy: {
155
170
  type: "string",
156
- enum: ["immediate", "gradual", "canary", "feature-flag"]
171
+ enum: ["immediate", "gradual", "scheduled", "gated"]
157
172
  }
158
173
  }
159
174
  },
160
175
  status: {
161
176
  type: "string",
162
- enum: ["draft", "review", "approved", "rejected", "implemented"],
177
+ enum: ["draft", "proposed", "in-review", "approved", "merged", "rejected"],
163
178
  description: "Current status of the proposal"
164
179
  },
165
180
  metadata: {
@@ -187,7 +202,8 @@ export const proposalsTool: MCPTool = {
187
202
  type: "string",
188
203
  description: "Reference to related product specification"
189
204
  }
190
- }
205
+ },
206
+ required: ["intent", "content"]
191
207
  }
192
208
  },
193
209
  required: ["operation"]