Simplified the approach to use npx @z_ai/coding-helper directly instead of complex component detection. Removed 200+ lines of unnecessary code. Changes: - Remove detect_coding_helper_components() (10-component JSON parsing) - Remove display_component_status() (unused display function) - Remove check_coding_helper_installed() (duplicated logic) - Remove install_coding_helper() (old complex version) - Remove launch_coding_helper() (wrapper function) - Keep offer_coding_helper_addons() with simple check - Keep install_coding_helper_simple() with EACCES handling This addresses the "0/10 components installed" bug where complex grep/cut JSON parsing was failing in subshell context. Co-Authored-By: Claude <noreply@anthropic.com>
30 KiB
Executable File
30 KiB
Executable File