Files
qwen-code/qwen-code-wrapper.sh
gaoandClaude c5286c0b3e feat: 完善 qwen-code 文档和脚本配置
- 大幅更新 README.md,添加详细的安装配置指南
- 新增多种 qwen-code 包装脚本
- 添加完整的使用示例和故障排除指南
- 优化 qwen3-coder:30b 模型配置说明

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
2025-11-03 06:47:44 +08:00

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