Skip to content

aci Lacks gum Version Check, Potential TUI Breakage #27

@10xdev4u-alt

Description

@10xdev4u-alt

Problem Description:

The main.sh script relies heavily on gum for its interactive Terminal User Interface (TUI), using various features and flags (e.g., --height, --placeholder, --spinner, --style options). However, the script does not perform any version check for gum. If a user has an older version of gum installed that predates certain features or flags used by aci, the script can fail unexpectedly, misrender TUI elements, or behave inconsistently due to unsupported gum arguments. This creates a brittle dependency, where aci's functionality is implicitly tied to a specific (and unverified) gum version.

Impact:

  • Leads to a broken or significantly degraded user experience for users with incompatible gum versions.
  • Can cause confusing error messages that do not clearly indicate a gum version mismatch.
  • Hindered adoption for users who might encounter this with their existing gum installations.

Steps to Reproduce:

  1. (Hypothetically) Install a version of gum known to be older than the version aci was developed against (e.g., if aci uses a feature introduced in gum v0.10.0, install v0.9.0).
  2. Run main.sh.
  3. Navigate through various menu options.
  4. Expected: aci functions correctly, or if gum is too old, it provides a clear warning and guidance.
  5. Actual: The script might encounter runtime errors due to unrecognized gum flags, or the TUI might not render as intended without a clear explanation for the user.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions