From d62ef7187a6a8ae858a664c130f49cde4ad80c89 Mon Sep 17 00:00:00 2001 From: aktasbatuhan Date: Mon, 15 Jun 2026 13:48:13 +0100 Subject: [PATCH] fix(cli): rename `kai` console script to `kaievolve` (stop shadowing kai-agent) kai-agent registers the `kai` console script for its CLI. Registering `kai` here too means whichever package is installed last owns `~/.local/bin/kai`, so on a machine with both, typing `kai` could launch this evolve TUI instead of the agent. Rename the TUI entry to `kaievolve` (the runner stays `kaievolve-run`) so `kai` unambiguously belongs to kai-agent. Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b521169..9fb8148 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,10 @@ Repository = "https://github.com/firstbatchxyz/kai-evolve" Issues = "https://github.com/firstbatchxyz/kai-evolve/issues" [project.scripts] -kai = "kaievolve.cli:cli_main" +# The TUI command is `kaievolve`. It must NOT be named `kai`: kai-agent owns the +# `kai` console script, and registering `kai` here shadows it on PATH (whoever +# is installed last wins), so `kai` would launch this TUI instead of the agent. +kaievolve = "kaievolve.cli:cli_main" kaievolve-run = "kaievolve.cli:main" [tool.setuptools.packages.find]