Repository navigation
docs: curl install from a self-hosted test file server - #173
Merged
Merged
Conversation
A PR build can be click-tested from a Linux static host without publishing over the stable GitHub Release or npm channel. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
The curl script no longer calls shasum -c or embeds a server address, so a Linux checksum line and a new Tailscale origin both work without editing install.sh. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This was referenced Oct 17, 2026
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
README 增加「Self-hosted test install」:Linux 只做静态文件站,Mac 用
curl把测试包装到~/.local/viva-test,用单独的VIVA_HOME启动。Tailscale 内网 IP 用 HTTP,网站只绑这个地址。viva update仍只跟踪 GitHub Releases 和 npm 的稳定版。第二轮按 QA 改了安装脚本和发布命令的衔接:校验只比 64 位 SHA-256,不再调用
shasum -c;服务器地址只出现在 curl 命令的VIVA_TEST_BASE里,install.sh里不写死。Refs #172
验收标准
install.sh,以及channel/下 macOS arm64 / Intel 的 tar.gz 和 sha256。install.sh:安装到~/.local/viva-test,不修改~/.viva,不覆盖 PATH 上已有的viva。VIVA_HOME启动,以及怎样替换channel/里的包来更新测试安装。viva --version仍可能是Cargo.toml里的版本,报 bug 时要记录git rev-parse HEAD。shasum -a 256比较。install.sh不含服务器地址。换地址只改 curl 那一行的VIVA_TEST_BASE。证据(Validation)
文档 diff。按 AGENTS.md 的 Docs-only fast path,本地不跑
cargo test。安装脚本从 README 抽出后,在这台 Mac 上对http://127.0.0.1:8765的夹具包跑过。夹具不是 viva 二进制。对应 commit
95f36c0。CI 由 GitHub Actions 跑。风险与安全边界(Risk/Safety Boundaries)
只改
README.md。没有改版本号、发布流程、权限或viva update的下载地址。文档里的安装脚本会删除并重写~/.local/viva-test。install.sh本身没有校验和,压缩包校验的是 SHA-256 摘要。未验证项(Known Limitations)
没有在 Tailscale 上发布文件,也没有用真实的 viva 二进制走完这条 curl。本机
shasum -c接受digest *name;QA 在另一台 Mac 上看到星号行失败。现在的脚本不再调用shasum -c。