@commonlyai/cli 0.1.240 → 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/package.json +1 -1
- package/src/lib/adapters/qwen.js +6 -3
package/package.json
CHANGED
package/src/lib/adapters/qwen.js
CHANGED
|
@@ -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.
|
|
326
|
-
//
|
|
327
|
-
|
|
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
|
];
|