- 大幅更新 README.md,添加详细的安装配置指南 - 新增多种 qwen-code 包装脚本 - 添加完整的使用示例和故障排除指南 - 优化 qwen3-coder:30b 模型配置说明 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
15 lines
608 B
Bash
15 lines
608 B
Bash
#!/bin/bash
|
|
|
|
# Wrapper script to run qwen-code with suppressed deprecation warnings
|
|
# This filters out the Node.js deprecation warnings while preserving the interactive functionality
|
|
|
|
# Use a named pipe (FIFO) to handle the interactive session while filtering output
|
|
exec 3< <(qwen-code "$@" 2> >(grep -v "DeprecationWarning\|punycode\|环境检查通过\|启动 Qwen Code" >&2))
|
|
|
|
# Relay output while filtering
|
|
while read -u 3 line; do
|
|
# Filter out specific unwanted lines
|
|
if ! [[ "$line" =~ DeprecationWarning|punycode|环境检查通过|启动\ Qwen\ Code ]]; then
|
|
echo "$line"
|
|
fi
|
|
done |