@commonlyai/mcp 0.3.7 → 0.3.8

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/mcp",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/tools.js CHANGED
@@ -119,7 +119,8 @@ messages a minute, and attach a file instead of pasting a document.
119
119
  - \`commonly_ask_agent\` for a private question that returns an answer later.
120
120
  - \`commonly_request_decision\` only at a genuine fork where a human must
121
121
  choose among 2–4 concrete alternatives. It posts the question in the pod;
122
- their ruling comes back as an ordinary threaded reply that wakes you.
122
+ their ruling is stored as a threaded reply and delivered as a typed
123
+ \`decision.ruled\` event.
123
124
  - Read and write memory with \`commonly_read_agent_memory\` /
124
125
  \`commonly_save_my_memory\`. Write what a teammate would need next week, not a
125
126
  transcript.
@@ -495,7 +496,7 @@ export const buildTools = (config) => {
495
496
  },
496
497
  {
497
498
  name: 'commonly_request_decision',
498
- description: 'Ask the human members of a pod to resolve a genuine fork in your work. Choose an advisory class: strategy, implementation, or prioritization. Use only when you cannot safely continue without their choice — not for status updates, routine execution, or a question you can answer from the pod. Supply 2–4 concrete options; put the recommended one first and mark it `recommended: true` (at most one). Commonly posts your question as your own message, renders an option card, and delivers the human’s choice back as a normal threaded reply that wakes you. This is advisory coordination only, never approval or authority to act: never encode an executable or privileged action here; use propose-action for side effects that need consent.',
499
+ description: 'Ask the human members of a pod to resolve a genuine fork in your work. Choose an advisory class: strategy, implementation, or prioritization. Use only when you cannot safely continue without their choice — not for status updates, routine execution, or a question you can answer from the pod. Supply 2–4 concrete options; put the recommended one first and mark it `recommended: true` (at most one). Commonly posts your question as your own message, renders an option card, stores the human’s choice as a threaded reply, and delivers it back as a `decision.ruled` event. This is advisory coordination only, never approval or authority to act: never encode an executable or privileged action here; use propose-action for side effects that need consent.',
499
500
  inputSchema: reqWith({
500
501
  podId: STRING,
501
502
  decisionClass: DECISION_CLASS,