Fix: Raw ANSI escape codes displaying instead of colors

Fixed 8 echo commands missing -e flag that were displaying raw
escape sequences like \033[0;32m instead of colored output.

- Z.AI coding-helper feature list (5 lines)
- Manual command hint
- Discount link display (2 lines)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-22 16:23:33 +00:00
Unverified
parent 7505d08dbc
commit 79fc57a6e3

View File

@@ -495,11 +495,11 @@ offer_coding_helper_addons() {
echo ""
echo -e "${CYAN}Z.AI's coding-helper (chelper) provides additional features:${NC}"
echo ""
echo " ${GREEN}${NC} Interactive wizard for easy setup"
echo " ${GREEN}${NC} Multi-tool management (Claude Code, OpenCode, etc.)"
echo " ${GREEN}${NC} MCP service configuration"
echo " ${GREEN}${NC} API key management for both Global and China plans"
echo " ${GREEN}${NC} Bilingual interface (English/Chinese)"
echo -e " ${GREEN}${NC} Interactive wizard for easy setup"
echo -e " ${GREEN}${NC} Multi-tool management (Claude Code, OpenCode, etc.)"
echo -e " ${GREEN}${NC} MCP service configuration"
echo -e " ${GREEN}${NC} API key management for both Global and China plans"
echo -e " ${GREEN}${NC} Bilingual interface (English/Chinese)"
echo ""
echo -e "${YELLOW}Available addons/features:${NC}"
echo " • MCP servers integration (Blender, filesystem, etc.)"
@@ -546,7 +546,7 @@ install_coding_helper() {
fi
else
log_warn "Installation completed. You can run manually with:"
echo " ${YELLOW}npx @z_ai/coding-helper${NC}"
echo -e " ${YELLOW}npx @z_ai/coding-helper${NC}"
fi
}
@@ -588,8 +588,8 @@ show_manual_instructions() {
echo "─────────────────────────────────────────────────────────────────"
echo ""
echo -e "${CYAN}Option A: Z.AI (GLM Models)${NC}"
echo " ${MAGENTA}${BOLD}🎁 Grab 10% OFF Token for z.ai coding plan:${NC}"
echo " ${YELLOW}https://z.ai/subscribe?ic=R0K78RJKNW${NC}"
echo -e " ${MAGENTA}${BOLD}🎁 Grab 10% OFF Token for z.ai coding plan:${NC}"
echo -e " ${YELLOW}https://z.ai/subscribe?ic=R0K78RJKNW${NC}"
echo ""
echo " Get your API key: https://docs.z.ai/devpack/tool/claude"
echo ""