跳到主要内容

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

提交记录
修改internal/workbench/instance_name_test.go+3 −2看文件
@@ -12,6 +12,7 @@ import (
1212
1313 "github.com/sylvinus/agent-vm/internal/cage"
1414 "github.com/sylvinus/agent-vm/internal/cli"
15新增: "github.com/sylvinus/agent-vm/internal/paths"
1516 "github.com/sylvinus/agent-vm/internal/vmname"
1617)
1718
@@ -80,8 +81,8 @@ func TestControllerNamesMatchCLIForIndependentProfiles(t *testing.T) {
8081 t.Errorf("SSH target %s; CLI name %s", got, want)
8182 return
8283 }
83删除: if got := filepath.Base(s.instanceDir()); got != want {
84删除: t.Errorf("instance directory %s; CLI name %s", got, want)
84新增: if got, wantDir := s.instanceDir(), filepath.Join(s.profile, "state", "lima", want); !paths.Equal(paths.Host(filepath.Clean(got)), paths.Host(wantDir)) {
85新增: t.Errorf("instance directory %s; expected profile-owned directory %s", got, wantDir)
8586 return
8687 }
8788 }