@commonlyai/cli 0.1.138 → 0.1.139
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 +5 -0
package/package.json
CHANGED
package/src/lib/adapters/qwen.js
CHANGED
|
@@ -308,6 +308,11 @@ export default {
|
|
|
308
308
|
'--mcp-config', mcpPath, '--exclude-tools', [
|
|
309
309
|
...EXCLUDED_TOOLS, ...(isPublic ? PUBLIC_READ_TOOLS : []),
|
|
310
310
|
].join(','),
|
|
311
|
+
// Qwen ignores settings permissions in bare/safe mode, but still
|
|
312
|
+
// honours CLI allow rules. A private seat needs its declared Commonly
|
|
313
|
+
// tools approved before non-interactive execution begins.
|
|
314
|
+
...(!isPublic && Object.hasOwn(mcp.mcpServers, 'commonly')
|
|
315
|
+
? ['--allowed-tools', 'mcp__commonly__*'] : []),
|
|
311
316
|
'-o', 'stream-json', '-p', fullPrompt,
|
|
312
317
|
];
|
|
313
318
|
let cmd = executable;
|