cc-haha/docs/index.md
程序员阿江(Relakkes) 81845fbc49 fix: finalize Electron migration boundaries
Complete the Electron replacement boundary before merging by removing the renderer-side Tauri host fallback, tightening H5/browser access so only desktop navigation is tokenless, and moving desktop release publication to a tag-driven GitHub Actions matrix with a single final publish job.

Constraint: H5/browser capability access must not gain tokenless access through localhost or retired Tauri origins

Constraint: Desktop release artifacts must be built by GitHub Actions from version tags, not treated as local build outputs

Rejected: Keep localhost browser origins trusted for convenience | local browser contexts can access loopback services and must use the H5 token path

Rejected: Publish from each matrix job | partial releases can be created before all platforms finish

Confidence: high

Scope-risk: broad

Directive: Do not reintroduce Tauri origins or localhost browser origins into the trusted desktop origin set without a reviewed security design

Tested: bun test src/server/__tests__/h5-access-policy.test.ts src/server/__tests__/h5-access-auth.test.ts src/server/__tests__/diagnostics-service.test.ts src/server/middleware/cors.test.ts

Tested: bun test scripts/pr/release-workflow.test.ts scripts/release-update-metadata.test.ts

Tested: bun run check:desktop

Tested: bun run check:native

Tested: git diff --check

Not-tested: bun run check:server is blocked by expired quarantine entries server:cron-scheduler, server:providers-real, server:tasks, server:e2e:business-flow, server:e2e:full-flow
2026-06-02 22:42:53 +08:00

52 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: home
hero:
name: Claude Code Haha
text: 本地可运行的 Claude Code
tagline: 基于泄露源码修复,支持接入任意 Anthropic 兼容 APIMiniMax、OpenRouter 等)
image:
src: /images/logo-horizontal.png
alt: Claude Code Haha
actions:
- theme: brand
text: 快速开始
link: /guide/quick-start
- theme: alt
text: GitHub
link: https://github.com/NanmiCoder/cc-haha
features:
- icon: "\U0001F5A5"
title: 完整 TUI 交互
details: 与官方 Claude Code 一致的 Ink 终端界面,支持 --print 无头模式
- icon: "\U0001F9E0"
title: 记忆系统
details: 跨会话持久化记忆自动提取、智能检索、AutoDream 做梦整合
link: /memory/
- icon: "\U0001F916"
title: 多 Agent 系统
details: 多代理编排、并行任务执行、Teams 协作、Worktree 隔离
link: /agent/
- icon: "\U0001F9E9"
title: Skills 系统
details: 可扩展能力插件、自定义工作流、条件激活
link: /skills/01-usage-guide
- icon: "\U0001F310"
title: 第三方模型支持
details: 接入 OpenAI、DeepSeek、Ollama 等任意兼容模型
link: /guide/third-party-models
- icon: "\U0001F4AC"
title: IM 接入
details: 在桌面端 webapp 配置 Telegram / 飞书,并通过独立 adapter 进程远程对话 Claude Code
link: /im/
- icon: "\U0001F4BB"
title: Computer Use
details: 桌面控制功能 — 截屏、鼠标、键盘操作Python Bridge 实现)
link: /features/computer-use
- icon: "\U0001F5A5"
title: 桌面端
details: 基于 Electron + React 的图形化客户端多标签、多会话、IM 适配器接入,支持 macOS、Windows 和 Linux
link: /desktop/
---