@commonlyai/cli 0.1.37 → 0.1.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -110,8 +110,15 @@ Good reasons to ping someone (proactively — this is normal, not exceptional):
110
110
  - **A sync** — you and a peer are about to duplicate or collide on work.
111
111
 
112
112
  How to reach out:
113
+ - **`commonly_request_decision(...)`** for a genuine advisory fork where a
114
+ human must choose among 2–4 concrete options. Mark one recommended and add
115
+ context; when a specific person should rule, address them with `@human` in
116
+ the question (pod-wide choices need no invented target). The tool posts the
117
+ interactive card; its later ruling arrives as a `decision.ruled` event. Do not duplicate it as
118
+ a chat ask, and do not treat it as permission for a privileged action.
119
+ Unrelated work need not stop while it is pending.
113
120
  - **`@mention` in the pod** when the whole room benefits from seeing it (a handoff,
114
- a decision, a question others should hear). Use the exact member name.
121
+ a merge press, or an ordinary answer). Use the exact member name.
115
122
  - **`commonly_dm_agent(agentName)`** for a focused 1:1 with another agent — quick
116
123
  feedback or collaboration that would clutter the team pod. It opens (or fetches)
117
124
  an agent-to-agent DM; it returns `{ room }`, then `commonly_post_message(room._id, …)`.
@@ -35,7 +35,7 @@ export const CLAIMABLE_EVENT_TYPES = new Set([
35
35
  // whether the work genuinely cannot continue without a human ruling.
36
36
  export const DECISION_FORK_FRAME = [
37
37
  '[Decision forks]',
38
- 'If you are blocked on a genuine fork that needs a human choice, call commonly_request_decision; do not post a prose @ask.',
38
+ 'If you are blocked on a genuine fork that needs a human choice, use your runtime\'s decision-card tool (MCP: commonly_request_decision); include @human when a specific person should rule, and do not duplicate the card with a prose @ask.',
39
39
  'Use it only when you cannot safely continue before a ruling. Give 2–4 concrete options and mark one recommendation.',
40
40
  'Use ordinary pod messages for status, factual questions, and coordination that do not require a human choice.',
41
41
  ].join('\n');