跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

提交记录
修改CHANGELOG.md+3 −1看文件
@@ -1,8 +1,10 @@
11# Changelog
22
3新增:## Unreleased
4新增:
35## 0.3.0
46
5删除:agent-vm 0.3 is one Go binary with Lima built in (see PLAN_0.3.0.md). The
7新增:agent-vm 0.3 is one Go binary with Lima built in. The
68bash version (`agent-vm.sh`, `lib/`) is gone from the repository: 0.2.x
79stays on its tags. Changes against 0.2.1:
810
修改Makefile+3 −3看文件
@@ -12,9 +12,9 @@
1212GO ?= go
1313GOOS ?= $(shell $(GO) env GOOS)
1414GOARCH ?= $(shell $(GO) env GOARCH)
15删除:# The tag when HEAD has one, else the next release's: a build of the 0.3
16删除:# branch is 0.3.0-dev, not 0.2.0-N after the last tag (version --min).
17删除:NEXT_VERSION := 0.3.0
15新增:# The tag when HEAD has one, else the next release's: a build after 0.3.0 is
16新增:# 0.3.1-dev, not 0.3.0-N after the last tag (version --min).
17新增:NEXT_VERSION := 0.3.1
1818VERSION ?= $(shell t=$$(git describe --tags --match 'v[0-9]*' --exact-match --dirty=.m 2>/dev/null) && echo "$$t" | sed 's/^v//' || \
1919 echo "$(NEXT_VERSION)-dev.$$(git rev-parse --short HEAD 2>/dev/null || echo unknown)")
2020LIMA_VERSION := $(shell awk '$$1 == "lima" { print $$4 }' third_party/SOURCES)
修改README.md+1 −1看文件
@@ -50,7 +50,7 @@ make check-third-party test-third-party # Lima, sshocker, pkg/sftp, gvisor-ta
5050make fuzz FUZZTIME=5m # each fuzzer; their seeds run with the tests
5151```
5252
53删除:Releases: [RELEASING.md](RELEASING.md). Plan: [PLAN_0.3.0.md](PLAN_0.3.0.md). The website is in [`www/`](www/README.md). Changes: [CHANGELOG.md](CHANGELOG.md).
53新增:Releases: [RELEASING.md](RELEASING.md). The website is in [`www/`](www/README.md). Changes: [CHANGELOG.md](CHANGELOG.md).
5454
5555## License
5656
修改RELEASING.md+10 −54看文件
@@ -26,57 +26,13 @@ binaries `osslsigncode` (`brew install osslsigncode`).
2626 - A run that tagged and then failed is resumed by running it again.
27273. In a commit after it: `NEXT_VERSION` to the next version, and a new `## Unreleased` section.
2828
29删除:## 0.3.0 from its branch, main staying on 0.2.1
30删除:
31删除:`main` holds 0.2.1, and the site, `www/public/install.sh` included, is deployed from it. 0.3.0 can
32删除:go out from the `0.3.0` branch for those who ask for it, while everyone else keeps 0.2.1.
33删除:
34删除:1. On `main`, the new installer only: it takes the tarball of the machine, as 0.3 publishes them,
35删除: and still installs 0.2.x releases (one tarball for all). Without it, nothing installs 0.3.0.
36删除:
37删除: ```bash
38删除: git checkout main
39删除: git checkout 0.3.0 -- www/public/install.sh
40删除: git commit -m "installer: per-platform release tarballs"
41删除: git push # the www workflow deploys it
42删除: ```
43删除:
44删除: Then check that `curl -fsSL https://www.agent-vm.org/install.sh | sh` still installs 0.2.1.
45删除:
46删除:2. On `0.3.0`: CHANGELOG.md's `## Unreleased` renamed `## 0.3.0` (`NEXT_VERSION` is already
47删除: 0.3.0), committed and pushed; CI passes on it.
48删除:
49删除:3. On the Mac, from the `0.3.0` branch:
50删除:
51删除: ```bash
52删除: RELEASE_BRANCH=0.3.0 ./release.sh 0.3.0 --not-latest --dry-run
53删除: RELEASE_BRANCH=0.3.0 ./release.sh 0.3.0 --not-latest
54删除: ```
55删除:
56删除: `--not-latest` publishes it without making it GitHub's latest release: the installer's default
57删除: stays 0.2.1. It also leaves the Homebrew formula alone, `AGENT_VM_TAP` or not.
58删除:
59删除:4. Check: `gh release view v0.3.0` shows it; a plain install still gives 0.2.1; on a test machine,
60删除: `curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version 0.3.0` gives 0.3.0.
61删除:
62删除:5. Tell people how to try it:
63删除:
64删除: ```bash
65删除: curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version 0.3.0
66删除: # or, from a clone (Go needed)
67删除: git checkout v0.3.0 && ./agent-vm.sh install
68删除: ```
69删除:
70删除: Their 0.2 setup carries over: the first command offers to move their VMs, and what 0.2 left on
71删除: their PATH or in their shell rc runs 0.3 (CHANGELOG.md).
72删除:
73删除:A 0.2.x release from `main` meanwhile is made with `main`'s own `release.sh`, as before. It
74删除:becomes the latest release, which the installer then gives by default, as wanted.
75删除:
76删除:## Making 0.3 the default
77删除:
78删除:1. Merge `0.3.0` into `main`: the site then documents 0.3.
79删除:2. `gh release edit v0.3.0 --latest`, or release the next 0.3.x without `--not-latest`.
80删除:3. The Homebrew formula: one url and sha256 per platform (`on_macos`/`on_linux`,
81删除: `on_arm`/`on_intel`), installing the tarball's `agent-vm`. From then on, `AGENT_VM_TAP` keeps it
82删除: up to date at each release.
29新增:## After it
30新增:
31新增:- Check: `gh release view vX.Y.Z` shows it, and on a test machine
32新增: `curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version X.Y.Z` gives X.Y.Z.
33新增:- The Homebrew formula has one url and sha256 per platform (`on_macos`/`on_linux`,
34新增: `on_arm`/`on_intel`), installing the tarball's `agent-vm`: that is the shape `AGENT_VM_TAP` updates.
35新增: Then, in the tap: `brew audit --strict sylvinus/tap/agent-vm`, `brew reinstall` and `brew test`
36新增: before pushing.
37新增:- `--not-latest` publishes a release without making it GitHub's latest: the installer's default
38新增: stays the previous release, and the Homebrew formula is left alone, `AGENT_VM_TAP` or not.