跳到主要内容

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

提交记录
修改www/src/components/CageHome.astro+2 −2看文件
@@ -49,8 +49,8 @@ const canonical = new URL(pathFor(locale), Astro.site);
4949 <section id="how" class="start-section"><div class="wrap"><div class="quick-start"><h2>{c.quickTitle}</h2><p>{c.quickText}</p><pre><code>{c.prompt}</code></pre><p class="small-note">{c.quickNote}</p></div><div class="section-heading"><h2 class="steps-title">{c.stepsTitle}</h2></div><div class="steps">{c.steps.map(([title,text],i)=><article><span class="step-number" dir="ltr">0{i+1}</span><h3>{title}</h3><p>{text}</p></article>)}</div><details class="first-look"><summary>{c.firstLookLabel}<span aria-hidden="true">+</span></summary><img src={`${base}first-run.jpg`} width="1230" height="692" alt={c.firstLookLabel} loading="lazy" /></details></div></section>
5050 <section id="boundaries" class="boundaries wrap"><h2>{c.boundaryTitle}</h2><div class="boundary-list">{c.boundaries.map(([title,text])=><article><span aria-hidden="true">↔</span><div>{title && <h3>{title}</h3>}<p>{text}</p></div></article>)}</div></section>
5151 <section id="download" class="download-section wrap"><div class="download-box"><img src={`${base}cage-icon.png`} width="84" height="84" alt="" /><span class="eyebrow">CLAUDE CAGE · ALPHA</span><h2>{c.downloadTitle}</h2><p>{c.downloadText}</p><a class="button" href={published.downloadURL}>{c.downloadLabel} ↗</a><div class="download-meta" dir="ltr"><span>v{published.version}</span><span>Apple Silicon</span><span>macOS 14+</span></div><p class="access-note">{c.downloadNote}</p><p class="access-note update-note">{c.updateNote}</p><a class="text-link" href={published.releaseURL}>{c.releaseNotesLabel} ↗</a></div></section>
52删除: <section class="community wrap"><div><h2>{c.communityTitle}</h2><p>{c.communityText}</p><div class="community-links"><a class="text-link" href={`${repo}/issues`}>{c.issuesLabel} ↗</a><a class="text-link" href={repo}>GitHub ↗</a></div></div><figure><a href={qr.src}><img src={qr.src} width={qr.width} height={qr.height} alt={c.group} loading="lazy" /></a><figcaption dir="ltr">{c.group}</figcaption></figure></section>
53删除: <section class="faq wrap"><h2>{c.docsTitle}</h2><ul class="doc-links">{c.docs.map(doc => <li><a class="text-link" href={doc.href}>{doc.label} ↗</a><p>{doc.title}</p></li>)}</ul></section>
52新增: <section class="community-docs wrap" aria-labelledby="docs-title"><h2 id="docs-title">{c.docsTitle}</h2><div class="docs-body"><div class="docs-content"><p class="community-intro">{c.communityText}</p><div class="community-links"><a class="text-link" href={`${repo}/issues`}>{c.issuesLabel} ↗</a><a class="text-link" href={repo}>GitHub ↗</a></div><ul class="doc-links">{c.docs.map(doc => <li><a class="text-link" href={doc.href}>{doc.label} ↗</a><p>{doc.title}</p></li>)}</ul></div><figure class="community-qr"><a href={qr.src}><img src={qr.src} width={qr.width} height={qr.height} alt={c.group} loading="lazy" /></a><figcaption dir="ltr">{c.group}</figcaption></figure></div></section>
53新增:
5454 <section class="license wrap"><h2>{c.licenseTitle}</h2><p>{c.licenseText}</p></section>
5555 </main>
5656 <footer class="wrap"><a class="brand" href={pathFor(locale)}><img src={`${base}cage-icon.png`} width="28" height="28" alt="" />Claude Cage</a><div><a href={repo}>GitHub ↗</a><a href={`${repo}/blob/main/${locale === 'zh' ? 'README.md' : `README.${locale}.md`}`}>README ↗</a></div><small>{c.independent}</small></footer>
修改www/src/styles/cage.css+40 −48看文件
@@ -396,33 +396,12 @@ figcaption {
396396 margin: 20px 0;
397397 max-width: 650px;
398398}
399删除:.faq {
400删除: padding-top: 95px;
401删除: padding-bottom: 90px;
402删除: display: grid;
403删除: grid-template-columns: 1fr 1.25fr;
404删除: gap: 65px;
405删除:}
406删除:.faq h2 {
407删除: font-size: 29px;
408删除:}
409删除:.faq details {
410删除: border-bottom: 1px solid var(--line);
411删除:}
412删除:.faq details:first-child {
413删除: border-top: 1px solid var(--line);
414删除:}
415删除:.faq summary {
416删除: cursor: pointer;
417删除: font-size: 16px;
418删除: padding: 22px 24px 22px 0;
419删除: line-height: 1.5;
420删除:}
421删除:.faq p {
422删除: padding: 0 0 24px;
423删除: font-size: 14px;
424删除: color: var(--muted);
425删除:}
399新增:
400新增:
401新增:
402新增:
403新增:
404新增:
426405details[open] summary {
427406 color: var(--accent);
428407}
@@ -543,10 +522,7 @@ code {
543522 .steps {
544523 gap: 25px;
545524 }
546删除: .faq {
547删除: gap: 30px;
548删除: grid-template-columns: 1fr 1.5fr;
549删除: }
525新增:
550526 .alpha {
551527 display: none;
552528 }
@@ -679,15 +655,8 @@ code {
679655 .access-note br {
680656 display: none;
681657 }
682删除: .faq {
683删除: grid-template-columns: 1fr;
684删除: padding-top: 60px;
685删除: padding-bottom: 55px;
686删除: gap: 30px;
687删除: }
688删除: .faq h2 {
689删除: font-size: 27px;
690删除: }
658新增:
659新增:
691660 footer {
692661 gap: 14px;
693662 }
@@ -746,16 +715,16 @@ figure { margin: 0; }
746715.quick-start pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #faf8f4; border: 1px solid #dacebf; border-radius: 8px; padding: 24px; line-height: 1.8; margin: 25px 0; }
747716.steps-title { font-size: 29px; }
748717.update-note { margin-top: 0; }
749删除:.community { display: grid; grid-template-columns: 1fr 320px; gap: 85px; align-items: center; padding-top: 90px; }
750删除:.community h2 { margin: 16px 0 24px; }
751删除:.community p { color: var(--muted); max-width: 42em; }
718新增:
719新增:
720新增:
752721.community-links { display: flex; gap: 30px; margin-top: 25px; }
753删除:.community figure { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: white; }
754删除:.community figcaption { text-align: center; }
722新增:
723新增:
755724@media (max-width: 900px) {
756725 .story-hero { gap: 30px; }
757726 .story-copy h1 { font-size: 42px; }
758删除: .community { gap: 35px; grid-template-columns: 1fr 260px; }
727新增:
759728 .nav nav { gap: 16px; }
760729 .nav .brand { font-size: 21px; }
761730}
@@ -773,8 +742,8 @@ figure { margin: 0; }
773742 .evidence-grid { grid-template-columns: 1fr; gap: 25px; }
774743 .quick-start { padding-bottom: 45px; }
775744 .quick-start pre { padding: 18px; font-size: 13px; }
776删除: .community { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
777删除: .community figure { max-width: 300px; }
745新增:
746新增:
778747 .community-links { flex-wrap: wrap; }
779748}
780749.language-switch { align-items: center; }
@@ -793,3 +762,26 @@ figure { margin: 0; }
793762[dir="rtl"] footer > div { margin-left: 0; margin-right: auto; }
794763[dir="rtl"] .quick-start pre { text-align: start; }
795764[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: normal; }
765新增:.community-docs { padding-top: 80px; padding-bottom: 80px; }
766新增:.community-docs > h2 { margin-bottom: 32px; }
767新增:.docs-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 48px; align-items: start; }
768新增:.community-intro { max-width: 52em; color: var(--muted); }
769新增:.community-docs .community-links { margin-top: 20px; }
770新增:.community-docs .doc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 30px; margin-top: 36px; }
771新增:.community-docs .doc-links li { padding: 18px 0 0; }
772新增:.community-docs .doc-links p { line-height: 1.7; }
773新增:.community-qr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
774新增:.community-qr figcaption { padding: 12px; font-size: 11px; }
775新增:@media (max-width: 1000px) {
776新增: .docs-body { grid-template-columns: minmax(0, 1fr) 200px; gap: 30px; }
777新增: .community-docs .doc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
778新增:}
779新增:@media (max-width: 640px) {
780新增: .community-docs { padding-top: 60px; padding-bottom: 55px; }
781新增: .docs-body { grid-template-columns: 1fr; }
782新增: .community-docs .doc-links { column-gap: 22px; }
783新增: .community-qr { width: 200px; justify-self: center; }
784新增:}
785新增:@media (max-width: 360px) {
786新增: .community-docs .doc-links { grid-template-columns: 1fr; }
787新增:}