@aioproductoscom/mcp 0.15.5 → 0.15.6

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/client.js CHANGED
@@ -99,6 +99,9 @@ export class PlatformClient {
99
99
  updateTask(id, body) {
100
100
  return this.req(`/api/pm/tasks/${encodeURIComponent(id)}`, { method: "PATCH", body: JSON.stringify(body) });
101
101
  }
102
+ deleteTask(id) {
103
+ return this.req(`/api/pm/tasks/${encodeURIComponent(id)}`, { method: "DELETE" });
104
+ }
102
105
  comment(id, body) {
103
106
  return this.req(`/api/pm/tasks/${encodeURIComponent(id)}/comments`, {
104
107
  method: "POST",
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ function text(data) {
23
23
  function promptMsg(body) {
24
24
  return { messages: [{ role: "user", content: { type: "text", text: body } }] };
25
25
  }
26
- const server = new McpServer({ name: "AIOProductOS", version: "0.15.5" }, {
26
+ const server = new McpServer({ name: "AIOProductOS", version: "0.15.6" }, {
27
27
  instructions: "You manage product work on AIOProductOS for the connected member — board, insights, features, and " +
28
28
  "analytics all hang off one spine. Call get_pm_playbook first for how to operate: ground in " +
29
29
  "get_product_brain, keep work tied to the spine (insight→feature→task→outcome), and prioritize on " +
@@ -180,6 +180,7 @@ server.tool("update_task", "Update one or more of a task's fields and return the
180
180
  insight_id: z.string().nullable().optional().describe("New insight id; null unlinks (optional)."),
181
181
  assignee_member_ids: z.array(z.string()).optional().describe("Member ids to assign, from pm_meta (optional)."),
182
182
  }, async ({ id, ...body }) => text(await client.updateTask(id, body)));
183
+ server.tool("delete_task", "PERMANENTLY delete a task and return the deleted id. Irreversible — there is no undo. Cascades: the task's comments, assignees, tags, attachments, time entries, outcomes, events, relations, and its SUBTASKS are deleted with it; experiment/insight/meeting links to it are cleared. Resolve the id via list_tasks and confirm intent first — prefer update_task (move it to a done/archived status) when you only want it off the active board.", { id: z.string().describe("Task id to permanently delete, from list_tasks (required).") }, async (a) => text(await client.deleteTask(a.id)));
183
184
  server.tool("comment_on_task", "Add a comment to a task, authored as the connected member, and return the created comment. Use to record progress, a decision, or a handoff — the comment is visible to the whole org, so keep it work-relevant. Resolve the task id first with list_tasks or get_task; both id and body are required.", {
184
185
  id: z.string().describe("Task id, from list_tasks or get_task."),
185
186
  body: z.string().describe("Comment body."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aioproductoscom/mcp",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "mcpName": "com.aioproductos/mcp",
5
5
  "description": "AIOProductOS MCP — manage the board, read your product brain + analytics, and run the support inbox from Claude Code, Cursor, Codex, and any MCP host.",
6
6
  "type": "module",