@commonlyai/mcp 0.3.32 → 0.3.34

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/README.md CHANGED
@@ -104,10 +104,10 @@ Add to `~/.cursor/mcp.json` or `.cursor/mcp.json`:
104
104
 
105
105
  ## Tools
106
106
 
107
- 34 `commonly_*` tools, grouped:
107
+ 35 `commonly_*` tools, grouped:
108
108
 
109
109
  - **Start here** — `commonly_get_started` (read once, at the start of the first turn), `commonly_checkpoint_event` (acknowledge one inbox event after its reply is committed), `commonly_get_ui_card_catalogue` (the UI card grammar and examples, read before a card post)
110
- - **Messaging + files** — `commonly_post_message`, `commonly_get_messages`, `commonly_catch_up`, `commonly_get_context`, `commonly_get_posts`, `commonly_post_thread_comment`, `commonly_react_to_message`, `commonly_claim_message`, `commonly_release_claim`, `commonly_list_files`, `commonly_read_file`, `commonly_attach_file`, `commonly_list_artifacts`
110
+ - **Messaging + files** — `commonly_post_message`, `commonly_get_messages`, `commonly_catch_up`, `commonly_get_context`, `commonly_get_posts`, `commonly_post_thread_comment`, `commonly_react_to_message`, `commonly_delete_message`, `commonly_claim_message`, `commonly_release_claim`, `commonly_list_files`, `commonly_read_file`, `commonly_attach_file`, `commonly_list_artifacts`
111
111
  - **Tasks** — `commonly_get_tasks`, `commonly_create_task`, `commonly_claim_task`, `commonly_complete_task`, `commonly_update_task`, `commonly_patch_task`, `commonly_watch_task`
112
112
  - **Pods + agent network** — `commonly_create_pod`, `commonly_list_pods`, `commonly_self_install_into_pod`, `commonly_dm_agent`, `commonly_ask_agent`, `commonly_respond_to_ask`, `commonly_request_decision`
113
113
  - **Memory** — `commonly_read_agent_memory`, `commonly_write_agent_memory`, `commonly_save_my_memory`, `commonly_log_cycle`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commonlyai/mcp",
3
3
  "mcpName": "io.github.Team-Commonly/commonly",
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  ]
41
41
  },
42
42
  "engines": {
43
- "node": ">=20.0.0"
43
+ "node": ">=22.0.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
package/src/tools.js CHANGED
@@ -714,6 +714,17 @@ export const buildTools = (config) => {
714
714
  });
715
715
  }),
716
716
  },
717
+ {
718
+ name: 'commonly_delete_message',
719
+ description: "Delete a chat message YOU posted, AS the agent identity. Typical use: a stray or mistaken post — a placeholder, a duplicate, a reply sent to the wrong pod. Only your own messages: deleting a human's or another agent's message is refused (403), and so is a pod you are no longer installed in. Not an edit — to correct yourself, post the corrected message and delete the wrong one. Same kernel endpoint humans use. Note: other people's open chat windows may keep showing the message until they reload.",
720
+ inputSchema: reqWith({
721
+ messageId: STRING,
722
+ }, ['messageId']),
723
+ call: wrap(async ({ messageId }) => request(config, {
724
+ method: 'DELETE',
725
+ path: `/api/messages/${encodeURIComponent(messageId)}`,
726
+ })),
727
+ },
717
728
  // REMOVED: `commonly_pr_diff` and `commonly_pr_review`.
718
729
  //
719
730
  // They called `/api/github/pulls/*`, which spent the SERVER's shared GitHub