Repository navigation
feat: 通过 GitHub Release 分发 CLI 与 MCP 完整包 - #104
Merged
Merged
Conversation
- Release 完成后自动构建 Linux/macOS/Windows 的 shield + shellsmith-mcp 包 - 复用发布中的 android-runtime 资源,附带 apktool、apksigner 与校验和 - shellsmith-mcp 默认查找同目录 shield,解压即可接入 MCP 客户端 - 文档补充 GitHub Release 安装与客户端配置
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.
目标
让用户从 GitHub Release 直接下载完整可用的
shield+shellsmith-mcp包,不需要自己编译;仍然保持本地运行、不上传 APK/证书/密码。改动
.github/workflows/cli-release.ymlbin/shield、bin/shellsmith-mcp、lib/apktool.jar、lib/apksigner.jar、lib/xop-pvm2-packer.jar、resources/*、许可证和 READMEandroid-runtime资源,不重复构建 Android 壳shellsmith-mcp默认先查找同目录的shield,找不到再查PATH;解压后无需传--clidocs/mcp.md增加 GitHub Release 安装、客户端配置和 macOS Gatekeeper 说明workflow_run触发,避免GITHUB_TOKEN发布 Release 时不触发release: published的 GitHub 限制使用方式
下载
Shellsmith-cli-<version>-<platform>.tar.gz/.zip,解压后:MCP 客户端:
{ "mcpServers": { "shellsmith": { "command": "/absolute/path/to/bin/shellsmith-mcp", "args": ["--allow-root", "/absolute/path/to/projects"] } } }验证
cargo fmt --all --checkcargo clippy -p shellsmith-mcp --all-targets -- -D warningscargo test -p shellsmith-mcp(10 passed)shellsmith-mcp与同目录假shield,不传--cli可正常发现并调用run脚本通过bash -n