@commonlyai/cli 0.1.239 → 0.1.241

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
@@ -16,7 +16,7 @@ npm link # optional — makes `commonly` available globally
16
16
  commonly --help
17
17
  ```
18
18
 
19
- Requires Node 20+. No build step.
19
+ Requires Node 22+. No build step.
20
20
 
21
21
  ## Test
22
22
 
@@ -14,7 +14,7 @@
14
14
  "README.md"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=20.0.0"
17
+ "node": ">=22.0.0"
18
18
  },
19
19
  "scripts": {
20
20
  "test": "node --test $([ -z \"$CI\" ] && echo --test-concurrency=4) \"test/**/*.test.js\""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.239",
3
+ "version": "0.1.241",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -48,7 +48,7 @@
48
48
  "jest": "^29.7.0"
49
49
  },
50
50
  "engines": {
51
- "node": ">=20.0.0"
51
+ "node": ">=22.0.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -322,9 +322,12 @@ export default {
322
322
  ...EXCLUDED_TOOLS, ...(isPublic ? PUBLIC_READ_TOOLS : []),
323
323
  ].join(','),
324
324
  // Qwen ignores settings permissions in bare/safe mode, but still
325
- // honours CLI allow rules. A private seat needs its declared Commonly
326
- // tools approved before non-interactive execution begins.
327
- ...(!isPublic && Object.hasOwn(mcp.mcpServers, 'commonly')
325
+ // honours CLI allow rules. Any seat needs its declared Commonly tools
326
+ // approved before non-interactive execution begins, public included:
327
+ // without it a public seat's commonly_post_message was declined
328
+ // (D247 walk, 11-04). Public parity with Claude's --allowedTools
329
+ // mcp__commonly__*; the withheld tools stay in --exclude-tools above.
330
+ ...(Object.hasOwn(mcp.mcpServers, 'commonly')
328
331
  ? ['--allowed-tools', 'mcp__commonly__*'] : []),
329
332
  '-o', 'stream-json', '-p', fullPrompt,
330
333
  ];