提交记录修改README.md+1 −1看文件
修改README.zh-TW.md+1 −1看文件
修改docs/releases/0.1.0-alpha.1.md+3 −3看文件
修改www/public/workbench.jpg看文件 修改www/src/components/CageHome.astro+1 −1看文件
修改www/src/i18n/cage.ts+1 −1看文件
修改www/src/styles/cage.css+32 −17看文件
| @@ -25,7 +25,7 @@ Claude Cage 是一个轻量 Linux 虚拟机,把 Linux 终端、浏览器和文 | ||
| 25 | 25 | |
| 26 | 26 | **Cage 运行主界面:** |
| 27 | 27 | |
| 28 | 删除: | |
| 28 | 新增: | |
| 29 | 29 | |
| 30 | 30 | ## 你可以用它做什么 |
| 31 | 31 | |
| @@ -25,7 +25,7 @@ Claude Cage 是一個輕量 Linux 虛擬機器,把 Linux 終端、瀏覽器和 | ||
| 25 | 25 | |
| 26 | 26 | **Cage 執行主介面:** |
| 27 | 27 | |
| 28 | 删除: | |
| 28 | 新增: | |
| 29 | 29 | |
| 30 | 30 | ## 你可以用它做什麼 |
| 31 | 31 | |
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | |
| 5 | 5 | ## 安装与开始使用 |
| 6 | 6 | |
| 7 | 删除:发布后,从[本版本 Release](https://github.com/Lee-xeo/Claude-Cage/releases/tag/v0.1.0-alpha.1) 下载 `Cage-0.1.0-alpha.1-macos-arm64.dmg`,将 Cage 拖入 Applications,再从应用程序打开。配置自己的 Clash / Mihomo YAML 或订阅,选择节点后启动环境。首次启动会下载 Linux 镜像与开发工具。 | |
| 7 | 新增:从[本版本 Release](https://github.com/Lee-xeo/Claude-Cage/releases/tag/v0.1.0-alpha.1) 下载 `Cage-0.1.0-alpha.1-macos-arm64.dmg`,将 Cage 拖入 Applications,再从应用程序打开。配置自己的 Clash / Mihomo YAML 或订阅,选择节点后启动环境。首次启动会下载 Linux 镜像与开发工具。 | |
| 8 | 8 | |
| 9 | 9 | 代理服务和 Claude 账户或授权需要自行准备。打开演示或测试项目,在终端输入 `claude`,并在 Cage 浏览器中完成自己的账户授权。完整步骤见[开始使用](../getting-started.md)。 |
| 10 | 10 | |
| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | |
| 22 | 22 | ## 发布验收 |
| 23 | 23 | |
| 24 | 删除:本版本正在准备发行。新编号安装包的 Developer ID 签名、Apple 公证、票据附加、Gatekeeper 与实际安装入口须针对最终构建完成验收;结果将在正式发布时补齐,不能沿用其他构建的公证结果。 | |
| 24 | 新增:本版本的 App 与 DMG 均已通过 Developer ID 签名、Apple 公证、票据附加和 Gatekeeper 验证。最终控制程序在独立空配置下启动,确认版本为 `0.1.0-alpha.1`;真实内置浏览器已打开 Claude 新对话页,原生窗口显示正常。 | |
| 25 | 25 | |
| 26 | 删除:源码验证覆盖 Go 回归、相关竞态检查与 vet、前端 lint 与单元测试、浏览器和文件操作、更新器、第三方补丁与依赖许可。公开附件校验还需核对实际下载内容与 `SHA256SUMS`,版本与源码标签保持一致。 | |
| 26 | 新增:源码验证覆盖 Go 回归、相关竞态检查与 vet、前端 lint 与单元测试、浏览器和文件操作、更新器、第三方补丁与依赖许可。安装包与对应 Mihomo 源码随附 `SHA256SUMS`,公开发行工作流会下载附件并再次验证摘要、签名、公证和应用版本。 | |
| 27 | 27 | |
| 28 | 28 | ## 内测范围与限制 |
| 29 | 29 | |
二进制文件,不显示改动。
| @@ -44,7 +44,7 @@ const canonical = new URL(pathFor(locale), Astro.site); | ||
| 44 | 44 | </section> |
| 45 | 45 | <section class="manifesto wrap"><h2>{c.why}</h2><p>{c.whyText}</p><ul class="key-features">{c.keyFeatures.map(text => <li>{text}</li>)}</ul><p class="small-note">{c.whyNote}</p></section> |
| 46 | 46 | <section class="tools wrap" aria-labelledby="tools-title"><div class="section-intro"><h2 id="tools-title">{c.featureTitle}</h2></div><div class="tool-list">{c.features.map(([title,text],i) => <article><span class="tool-icon" aria-hidden="true">{['>_','↔','◎','↗'][i]}</span><div><h3>{title}</h3><p>{text}</p></div></article>)}</div></section> |
| 47 | 删除: <div class="wrap"><figure class="product"><div class="window-bar" dir="ltr"><span class="window-dots" aria-hidden="true">● ● ●</span><span>Claude Cage · v{published.version}</span><span class="window-label">macOS</span></div><img src={`${base}workbench.jpg`} width="1230" height="692" alt={c.workbench} loading="lazy" /><figcaption>{c.workbench}</figcaption></figure></div> | |
| 47 | 新增: <div class="wrap"><figure class="product"><div class="window-bar" dir="ltr"><span class="window-dots" aria-hidden="true">● ● ●</span><span>Claude Cage · v{published.version}</span><span class="window-label">macOS</span></div><img src={`${base}workbench.jpg`} width="680" height="520" alt={c.workbench} loading="lazy" /><figcaption>{c.workbench}</figcaption></figure></div> | |
| 48 | 48 | <section class="evidence wrap"><h2>{c.evidenceTitle}</h2><div class="evidence-grid"><figure><a href={checks.src}><img src={checks.src} width={checks.width} height={checks.height} alt={c.checksLabel} loading="lazy" /></a><figcaption>{c.checksLabel}</figcaption></figure><figure><a href={communityCheck.src}><img src={communityCheck.src} width={communityCheck.width} height={communityCheck.height} alt={c.communityCheckLabel} loading="lazy" /></a><figcaption>{c.communityCheckLabel}</figcaption></figure></div><p class="small-note">{c.evidenceNote}</p></section> |
| 49 | 49 | <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> |
| 50 | 50 | <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> |
| @@ -54,7 +54,7 @@ function readCopy(language: typeof languages[number]) { | ||
| 54 | 54 | why: reason.title, whyText: reasonParagraphs[0], whyNote: limit, |
| 55 | 55 | keyFeatures: bullets(reason.body).map(plain), |
| 56 | 56 | featureTitle: uses.title, features: bullets(uses.body).map(pair), |
| 57 | 删除: workbench: `${captions[1] || 'Claude Cage'} · hello-cage`, | |
| 57 | 新增: workbench: `${captions[1] || 'Claude Cage'} · claude.ai`, | |
| 58 | 58 | evidenceTitle: captions[0] || language.checksLabel, evidenceNote: limit, |
| 59 | 59 | quickTitle: quick.title, quickText: paragraphs(quick.body)[0], |
| 60 | 60 | prompt: quick.body.match(/```[^\n]*\n([\s\S]*?)```/)?.[1]?.trim() || '', |
| @@ -209,9 +209,9 @@ footer a:hover, | ||
| 209 | 209 | } |
| 210 | 210 | .product > img { |
| 211 | 211 | width: 100%; |
| 212 | 删除: aspect-ratio: 1360/850; | |
| 213 | 删除: object-fit: cover; | |
| 214 | 删除: object-position: top; | |
| 212 | 新增: height: auto; | |
| 213 | 新增: aspect-ratio: auto; | |
| 214 | 新增: object-fit: contain; | |
| 215 | 215 | } |
| 216 | 216 | figcaption { |
| 217 | 217 | font-size: 12px; |
| @@ -223,10 +223,10 @@ figcaption { | ||
| 223 | 223 | } |
| 224 | 224 | .tools { |
| 225 | 225 | display: grid; |
| 226 | 删除: grid-template-columns: 1fr 1.15fr; | |
| 227 | 删除: gap: 90px; | |
| 228 | 删除: padding-top: 112px; | |
| 229 | 删除: padding-bottom: 108px; | |
| 226 | 新增: grid-template-columns: 1fr; | |
| 227 | 新增: gap: 36px; | |
| 228 | 新增: padding-top: 80px; | |
| 229 | 新增: padding-bottom: 80px; | |
| 230 | 230 | } |
| 231 | 231 | .section-intro .eyebrow, |
| 232 | 232 | .section-heading .eyebrow, |
| @@ -235,11 +235,16 @@ figcaption { | ||
| 235 | 235 | } |
| 236 | 236 | .tool-list { |
| 237 | 237 | display: grid; |
| 238 | 删除: gap: 30px; | |
| 238 | 新增: grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 239 | 新增: column-gap: 60px; | |
| 240 | 新增: row-gap: 36px; | |
| 239 | 241 | } |
| 240 | 242 | .tool-list article { |
| 241 | 删除: display: flex; | |
| 242 | 删除: gap: 22px; | |
| 243 | 新增: display: grid; | |
| 244 | 新增: grid-template-columns: 32px minmax(0, 1fr); | |
| 245 | 新增: gap: 16px; | |
| 246 | 新增: border-top: 1px solid var(--line); | |
| 247 | 新增: padding-top: 24px; | |
| 243 | 248 | } |
| 244 | 249 | .tool-list p, |
| 245 | 250 | .boundary-list p { |
| @@ -319,10 +324,10 @@ figcaption { | ||
| 319 | 324 | } |
| 320 | 325 | .boundaries { |
| 321 | 326 | display: grid; |
| 322 | 删除: grid-template-columns: 1fr 1.1fr; | |
| 323 | 删除: gap: 85px; | |
| 324 | 删除: padding-top: 105px; | |
| 325 | 删除: padding-bottom: 105px; | |
| 327 | 新增: grid-template-columns: 1fr; | |
| 328 | 新增: gap: 36px; | |
| 329 | 新增: padding-top: 80px; | |
| 330 | 新增: padding-bottom: 80px; | |
| 326 | 331 | } |
| 327 | 332 | .section-lead { |
| 328 | 333 | color: var(--muted); |
| @@ -331,11 +336,16 @@ figcaption { | ||
| 331 | 336 | } |
| 332 | 337 | .boundary-list { |
| 333 | 338 | display: grid; |
| 334 | 删除: gap: 29px; | |
| 339 | 新增: grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 340 | 新增: column-gap: 60px; | |
| 341 | 新增: row-gap: 36px; | |
| 335 | 342 | } |
| 336 | 343 | .boundary-list article { |
| 337 | 删除: display: flex; | |
| 338 | 删除: gap: 20px; | |
| 344 | 新增: display: grid; | |
| 345 | 新增: grid-template-columns: 32px minmax(0, 1fr); | |
| 346 | 新增: gap: 16px; | |
| 347 | 新增: border-top: 1px solid var(--line); | |
| 348 | 新增: padding-top: 24px; | |
| 339 | 349 | } |
| 340 | 350 | .boundary-list article > span { |
| 341 | 351 | display: grid; |
| @@ -611,6 +621,11 @@ code { | ||
| 611 | 621 | padding-bottom: 65px; |
| 612 | 622 | } |
| 613 | 623 | .tool-list { |
| 624 | 新增: grid-template-columns: 1fr; | |
| 625 | 新增: gap: 26px; | |
| 626 | 新增: } | |
| 627 | 新增: .boundary-list { | |
| 628 | 新增: grid-template-columns: 1fr; | |
| 614 | 629 | gap: 26px; |
| 615 | 630 | } |
| 616 | 631 | .start-section { |

