Skip to content

Commit 34c3d7d

Browse files
committed
fix(critical): binary discovery path mismatch in go_tui_launcher
find_tui_binary_fast() looked for the binary at lobster_ai_tui/lobster-tui but the package stores it at lobster_ai_tui/bin/lobster-tui. This caused lobster chat to always fall back to the classic Rich UI even when the lobster-ai-tui wheel was installed. Fix: use get_binary_path() from the lobster_ai_tui package instead of reimplementing the path lookup. Bump to v1.1.2.
1 parent ea72e91 commit 34c3d7d

File tree

12 files changed

+16
-17
lines changed

12 files changed

+16
-17
lines changed

lobster/cli_internal/go_tui_launcher.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,12 @@ def find_tui_binary_fast() -> Optional[str]:
9393

9494
# 3. Platform wheel package (tiny or absent -- safe to attempt)
9595
try:
96-
import lobster_ai_tui # type: ignore[import-untyped]
96+
from lobster_ai_tui import get_binary_path # type: ignore[import-untyped]
9797

98-
pkg_dir = Path(lobster_ai_tui.__file__).parent
99-
candidate = pkg_dir / "lobster-tui"
98+
candidate = get_binary_path()
10099
if candidate.is_file() and os.access(candidate, os.X_OK):
101100
return str(candidate)
102-
except (ImportError, AttributeError, TypeError):
101+
except (ImportError, FileNotFoundError, AttributeError, TypeError):
103102
pass
104103

105104
# 4. User cache

lobster/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.1"
1+
__version__ = "1.1.2"

packages/lobster-ai-tui/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-ai-tui"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Go TUI binary for Lobster AI (Charm/BubbleTea)"
99
readme = "README.md"
1010
license = {text = "Apache-2.0"}

packages/lobster-drug-discovery/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-drug-discovery"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Drug discovery agent for Lobster AI — target identification, compound profiling, clinical translation, pharmacogenomics"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"

packages/lobster-genomics/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-genomics"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Genomics agent for Lobster AI (VCF, PLINK, GWAS, variant annotation)"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"

packages/lobster-metabolomics/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-metabolomics"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Metabolomics agent for Lobster AI (LC-MS, GC-MS, NMR untargeted metabolomics)"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"

packages/lobster-metadata/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-metadata"
7-
version = "1.1.0"
7+
version = "1.1.2"
88
description = "Metadata assistant agent for Lobster AI - sample metadata and harmonization operations"
99
readme = "README.md"
1010
requires-python = ">=3.12,<3.14"
@@ -23,7 +23,7 @@ classifiers = [
2323
]
2424
keywords = ["bioinformatics", "metadata", "harmonization", "sample-mapping", "omics"]
2525
dependencies = [
26-
"lobster-ai~=1.0.0",
26+
"lobster-ai~=1.1.0",
2727
"pandas>=1.5.0",
2828
"pydantic>=2.0.0",
2929
"rapidfuzz>=3.0.0",

packages/lobster-ml/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-ml"
7-
version = "1.1.0"
7+
version = "1.1.2"
88
description = "Machine learning agents for Lobster AI (feature selection, survival analysis, interpretability)"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"
@@ -32,7 +32,7 @@ classifiers = [
3232
]
3333
requires-python = ">=3.12,<3.14"
3434
dependencies = [
35-
"lobster-ai~=1.0.0",
35+
"lobster-ai~=1.1.0",
3636
"anndata>=0.9.0",
3737
"h5py>=3.9.0",
3838
"numpy>=1.23.0",

packages/lobster-proteomics/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-proteomics"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Proteomics agent for Lobster AI (DDA/DIA mass spectrometry, affinity platforms)"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"

packages/lobster-research/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lobster-research"
7-
version = "1.1.1"
7+
version = "1.1.2"
88
description = "Research agents for Lobster AI - literature discovery and data management"
99
readme = "README.md"
1010
license = "AGPL-3.0-or-later"

0 commit comments

Comments
 (0)