跳到主要内容

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

提交记录
修改tests/06-help-and-setup-script.sh+3 −0看文件
@@ -222,6 +222,8 @@ section "code-server JSON schemas"
222222if ! command -v jq >/dev/null 2>&1 || [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
223223 printf ' skip code-server schema tests (needs jq and bash 4)\n'
224224else
225新增: # A native jq.exe writes CRLF unless -b, and mapfile keeps the CR.
226新增: if _agent_vm_on_windows; then jq() { command jq -b "$@"; }; fi
225227 SCH="$SB/schemas"; mkdir -p "$SCH/ext/a" "$SCH/ext/b" "$SCH/web"
226228 web() { printf '%s' "$1" | tr -c 'a-zA-Z0-9' _; }
227229 echo '{"contributes":{"jsonValidation":[{"fileMatch":"a.json","url":"https://h.test/s/a"},{"fileMatch":"x","url":"vscode://schemas/x"}]}}' > "$SCH/ext/a/package.json"
@@ -255,6 +257,7 @@ else
255257 *"could not download the JSON schema https://h.test/gone"*"rc=0") pass "a failed download is a warning, not a failure" ;;
256258 *) fail "failed download: $out" ;;
257259 esac
260新增: unset -f jq
258261fi
259262
260263# =============================================================================