Skip to content

[Enhancement] Support CLI installation from GitHub Releases/URL + Unified credentials management #741

@mrgoonie

Description

@mrgoonie

Problem

Hiện tại CLI packages chỉ có thể cài qua 3 package managers: apk, npm, và pip. Tuy nhiên, nhiều CLI tools phổ biến được phân phối qua:

  • GitHub Releases (binary downloads)
  • Direct URL downloads
  • Custom installers

Impact

  • Không thể cài các CLI tools từ Golang hay Rust hay bash shell
  • Phải cài thủ công bên ngoài, không quản lý được qua agent
  • Hạn chế khả năng mở rộng của agent ecosystem

Proposed Solutions

1. Support GitHub Releases Installation

# Example: Install from GitHub releases
install-cli --from-github nextlevelbuilder/zernio
# Auto-detect latest release, download binary, add to PATH

2. Support URL-based Installation

# Example: Install from direct URL
install-cli --from-url https://example.com/cli-tool.tar.gz
# Download, extract, verify checksum, install

3. Unified CLI Credentials Management

Hiện tại credentials cho CLI packages được quản lý rời rạc. Đề xuất:

  • Gom vào trang CLI Packages trong UI
  • Mỗi package có section riêng để quản lý credentials
  • Bấm vào package → xem/config credentials ngay tại đó
  • Hỗ trợ OAuth flows, API key input, env var injection

Related

Related to #493 - LLM-powered package installer với natural language chat UI.

Implementation Notes

  • Cần cơ chế verify checksum/signature cho security
  • Auto-detect OS/architecture để download binary phù hợp
  • Support .tar.gz, .zip, và standalone binaries
  • Credential management nên integrate với secrets manager hiện có
  • Cần cơ chế scan security trước khi cài

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions