Skip to content

feat(release): distribute CLI/TUI for macOS arm64 #1510

Description

@Astro-Han

Problem

The current macOS arm64 release only distributes the Electron desktop DMG. Although the repository contains a working maka / maka-agent CLI whose default command launches the TUI, packages/cli and its internal workspace dependencies are private and no installable CLI/TUI artifact is attached to the GitHub Release.

Users who download Maka cannot use the CLI or TUI unless they clone the repository, install all development dependencies, and build the monorepo locally.

Desired outcome

Each version should be released from one source commit through one release workflow and one GitHub Release, while keeping the desktop and terminal products independently installable.

For the initial macOS arm64 scope, a release should contain:

  • a signed and notarized Maka-<version>-mac-arm64.dmg for the desktop application;
  • a standalone macOS arm64 CLI/TUI artifact containing the maka command;
  • matching checksums for both artifacts.

The CLI artifact should:

  • run without cloning the repository or installing its private workspace packages;
  • launch the TUI when invoked as maka or maka-agent;
  • support the existing non-interactive run, eval, and inspect commands;
  • report the same version as the desktop release;
  • remain usable without installing the desktop application.

The release workflow should build and verify both products before creating the draft release. Verification should cover at least maka --version, maka --help, TUI startup in a PTY, and one deterministic non-interactive command.

The standalone artifact should provide a stable source for a future Homebrew formula, while the desktop DMG can remain independently installable or be managed through a cask. Other operating systems and architectures can be added later.

Alternatives or workarounds

Today, contributors can run:

npm ci
npm run build
./node_modules/.bin/maka

This is a development workflow rather than a user-facing distribution path.

Bundling the CLI only inside Maka.app and exposing an “Install CLI” action would provide a single-download experience, but it would couple the CLI lifecycle to the desktop application and would not serve terminal-only or future cross-platform users cleanly.

Publishing the current workspace package directly to npm is also insufficient because its @maka/* dependencies are private; that would require either publishing the internal package graph or producing a self-contained CLI distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions