跳到主要内容

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

浏览文件

TestBuildBash.json

80 行 · 7.0 KB历史下载
1{
2 "TestBuildBash": [
3 {
4 "Dir": "{ROOT}",
5 "Stdin": "",
6 "Snippet": "_agent_vm_build_mounts_json t-00000000 \"$1\" \"$2\" '[\".git\", \".hg\"]'; echo; cat \"$AGENT_VM_STATE_DIR/.agent-vm-file-mounts-t-00000000\"",
7 "Env": [
8 "HOME={T0}/003",
9 "HOME={T0}/002/home",
10 "AGENT_VM_STATE_DIR={T0}/002/home/.agent-vm",
11 "AGENT_VM_SSHFS_CACHE="
12 ],
13 "Args": [
14 "{T0}/002/home/proj",
15 "true"
16 ],
17 "Files": null,
18 "Stdout": "[{\"location\": \"{T0}/002/home/proj\", \"mountPoint\": \"{T0}/002/home/proj\", \"writable\": true, \"sshfs\": {\"sftpDriver\": \"builtin\", \"cache\": false, \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/002/data/a\", \"mountPoint\": \"/mnt/a\", \"writable\": true, \"sshfs\": {\"sftpDriver\": \"builtin\", \"cache\": false, \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/002/data/b\", \"mountPoint\": \"{T0}/002/data/b\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/002/home/.agent-vm/file-mounts/t-00000000/0\", \"mountPoint\": \"/tmp/.agent-vm-file-mounts/0\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/002/data/a\", \"mountPoint\": \"{T0}/002/home/proj/sub/inside\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}]\n{T0}/002/data/file.txt|{T0}/002/home/.agent-vm/file-mounts/t-00000000/0/file.txt|/tmp/.agent-vm-file-mounts/0/file.txt|/etc/f.txt\n",
19 "Stderr": "Warning: Mount entry '{T0}/002/data/file.txt:/etc/g.txt:rw' (from ~/.agent-vm/volumes) requests rw on a file; only directories support rw. Mount the parent directory instead. Skipping.\n",
20 "Code": 0
21 },
22 {
23 "Dir": "{ROOT}",
24 "Stdin": "",
25 "Snippet": "_agent_vm_build_mounts_json t-00000000 \"$1\" \"$2\" '[\".git\", \".hg\"]'; echo; cat \"$AGENT_VM_STATE_DIR/.agent-vm-file-mounts-t-00000000\"",
26 "Env": [
27 "HOME={T0}/006",
28 "HOME={T0}/005/home",
29 "AGENT_VM_STATE_DIR={T0}/005/home/.agent-vm",
30 "AGENT_VM_SSHFS_CACHE=1"
31 ],
32 "Args": [
33 "{T0}/005/home/proj",
34 "true"
35 ],
36 "Files": null,
37 "Stdout": "[{\"location\": \"{T0}/005/home/proj\", \"mountPoint\": \"{T0}/005/home/proj\", \"writable\": true, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/005/data/a\", \"mountPoint\": \"/mnt/a\", \"writable\": true, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/005/data/b\", \"mountPoint\": \"{T0}/005/data/b\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/005/home/.agent-vm/file-mounts/t-00000000/0\", \"mountPoint\": \"/tmp/.agent-vm-file-mounts/0\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/005/data/a\", \"mountPoint\": \"{T0}/005/home/proj/sub/inside\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}]\n{T0}/005/data/file.txt|{T0}/005/home/.agent-vm/file-mounts/t-00000000/0/file.txt|/tmp/.agent-vm-file-mounts/0/file.txt|/etc/f.txt\n",
38 "Stderr": "Warning: Mount entry '{T0}/005/data/file.txt:/etc/g.txt:rw' (from ~/.agent-vm/volumes) requests rw on a file; only directories support rw. Mount the parent directory instead. Skipping.\n",
39 "Code": 0
40 },
41 {
42 "Dir": "{ROOT}",
43 "Stdin": "",
44 "Snippet": "_agent_vm_build_mounts_json t-00000000 \"$1\" \"$2\" '[\".git\", \".hg\"]'; echo; cat \"$AGENT_VM_STATE_DIR/.agent-vm-file-mounts-t-00000000\"",
45 "Env": [
46 "HOME={T0}/009",
47 "HOME={T0}/008/home",
48 "AGENT_VM_STATE_DIR={T0}/008/home/.agent-vm",
49 "AGENT_VM_SSHFS_CACHE="
50 ],
51 "Args": [
52 "{T0}/008/home/proj",
53 "false"
54 ],
55 "Files": null,
56 "Stdout": "[{\"location\": \"{T0}/008/home/proj\", \"mountPoint\": \"{T0}/008/home/proj\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/008/data/a\", \"mountPoint\": \"/mnt/a\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/008/data/b\", \"mountPoint\": \"{T0}/008/data/b\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/008/home/.agent-vm/file-mounts/t-00000000/0\", \"mountPoint\": \"/tmp/.agent-vm-file-mounts/0\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/008/data/a\", \"mountPoint\": \"{T0}/008/home/proj/sub/inside\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}]\n{T0}/008/data/file.txt|{T0}/008/home/.agent-vm/file-mounts/t-00000000/0/file.txt|/tmp/.agent-vm-file-mounts/0/file.txt|/etc/f.txt\n",
57 "Stderr": "Note: --readonly: '{T0}/008/data/a' (rw in ~/.agent-vm/volumes) is mounted read-only too.\nWarning: Mount entry '{T0}/008/data/file.txt:/etc/g.txt:rw' (from ~/.agent-vm/volumes) requests rw on a file; only directories support rw. Mount the parent directory instead. Skipping.\n",
58 "Code": 0
59 },
60 {
61 "Dir": "{ROOT}",
62 "Stdin": "",
63 "Snippet": "_agent_vm_build_mounts_json t-00000000 \"$1\" \"$2\" '[\".git\", \".hg\"]'; echo; cat \"$AGENT_VM_STATE_DIR/.agent-vm-file-mounts-t-00000000\"",
64 "Env": [
65 "HOME={T0}/012",
66 "HOME={T0}/011/home",
67 "AGENT_VM_STATE_DIR={T0}/011/home/.agent-vm",
68 "AGENT_VM_SSHFS_CACHE=1"
69 ],
70 "Args": [
71 "{T0}/011/home/proj",
72 "false"
73 ],
74 "Files": null,
75 "Stdout": "[{\"location\": \"{T0}/011/home/proj\", \"mountPoint\": \"{T0}/011/home/proj\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/011/data/a\", \"mountPoint\": \"/mnt/a\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/011/data/b\", \"mountPoint\": \"{T0}/011/data/b\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/011/home/.agent-vm/file-mounts/t-00000000/0\", \"mountPoint\": \"/tmp/.agent-vm-file-mounts/0\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}, {\"location\": \"{T0}/011/data/a\", \"mountPoint\": \"{T0}/011/home/proj/sub/inside\", \"writable\": false, \"sshfs\": {\"sftpDriver\": \"builtin\", \"readonlyNames\": [\".git\", \".hg\"]}}]\n{T0}/011/data/file.txt|{T0}/011/home/.agent-vm/file-mounts/t-00000000/0/file.txt|/tmp/.agent-vm-file-mounts/0/file.txt|/etc/f.txt\n",
76 "Stderr": "Note: --readonly: '{T0}/011/data/a' (rw in ~/.agent-vm/volumes) is mounted read-only too.\nWarning: Mount entry '{T0}/011/data/file.txt:/etc/g.txt:rw' (from ~/.agent-vm/volumes) requests rw on a file; only directories support rw. Mount the parent directory instead. Skipping.\n",
77 "Code": 0
78 }
79 ]
80}