mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7459] [Issue]: Claude (Subscription) fails on Termux when the installed claude is older than the bundled one (no android-arm64 build) #4156
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qrewq5003-oss on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7459
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On Android (Termux), a Claude (Subscription) connection fails whenever Marinara doesn't pick the host
claudeinstall. The Agent SDK ships no Claude Code build for Android, so falling back to the bundled copy cannot work there.Expected behavior
On Termux, Claude (Subscription) uses the
claudeinstalled on the device, since there is nothing else it can run.Actual behavior
Test Connection fails within a few milliseconds:
findClaudeCodeInstall()(installed-cli.ts) uses the host install only when its version is at least the bundled one, and it does nothing when the bundled version is unknown. Otherwise the SDK falls back to its bundled build, and the SDK publishes no package forandroid-arm64. Its optional dependencies cover only linux, darwin and win32.Steps to reproduce
claudeis on PATH, and runclaude login.claudeolder than the Claude Code version bundled with the Agent SDK in use (this happens after an SDK bump, before the host install updates).Environment
staging)127.0.0.1:7860Logs, screenshots, or video
Error text above, from the connection editor's Connection Tests panel.
Additional context
On 2.5.0 (before the installed-CLI selection) this failed on every Termux setup. Current
stagingworks only while the hostclaudeis at least as new as the bundled copy. Fix: on Android, accept any installedclaude.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@qrewq5003-oss commented on GitHub (Oct 12, 2026):
Working on this: @qrewq5003-oss (with Claude Code). PR incoming against
staging.@SpicyMarinara commented on GitHub (Oct 12, 2026):
Fixed on staging by #7460.