feat(cli): add Termux support and curl installer - #2
Draft
continued-agent wants to merge 6 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
continued-agentwhile keeping thecncommandextensions/clicurlinstallation command and security warningcontinued-agentto npm with semantic-releaseTermux detection
Termux is detected only on Linux when a Termux version marker (
TERMUX_VERSIONorTERMUX_APP__VERSION_NAME) is present together with a Termux$PREFIXpath under acom.termux*app directory. This avoids relying onprocess.platform === "android"and avoids classifying ordinary Linux as Termux.Installer
The installer:
aarch64,arm,i686, andx86_64pkgwhen necessary, without invokingpkgautomaticallysudofnmnpm install --global continued-agentRelease automation
.github/workflows/cli-release.ymlruns for CLI-related changes onmain, builds the CLI, and invokes the existing semantic-release configuration. It requires the repository secretNPM_TOKENfor npm publishing and uses the normalGITHUB_TOKENfor GitHub releases.Validation status
The GitHub branch and commit were created, but this environment cannot execute the repository's local Node/npm toolchain or a real Termux environment. No claim of real Android/Termux validation is made. The added TypeScript tests and shell installer still require execution by CI/local tooling.
Limitations