claudecode/CLAW.md
fengmengqi 05a778bad9 feat: Claw Code 重命名及架构升级
品牌重塑:
  - Claude Code → Claw Code
  - .claude → .claw 配置目录
  - CLAUDE_* → CLAW_* 环境变量

  新增功能:
  - 多 Provider 架构 (ClawApi/Xai/OpenAI)
  - 插件系统 (生命周期/钩子/工具扩展)
  - LSP 集成 (诊断/代码智能)
  - Hook 系统 (PreToolUse/PostToolUse)
  - 独立 CLI (claw-cli)
  - HTTP Server (Axum/SSE)
  - Slash Commands 扩展 (branch/worktree/commit/pr/plugin等)

  优化改进:
  - Compaction 支持增量压缩
  - 全局工具注册表
  - 配置文件统一为 .claw.json
2026-04-02 15:14:31 +08:00

22 lines
1022 B
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.

# CLAW.md
此文件为 Claw Code 在此仓库中处理代码时提供指导。
## 检测到的技术栈
- 语言Rust。
- 框架:未从支持的启动标记中检测到任何框架。
## 验证
-`rust/` 目录下运行 Rust 验证:`cargo fmt`、`cargo clippy --workspace --all-targets -- -D warnings`、`cargo test --workspace`
- `src/``tests/` 均已存在;当行为发生变化时,请同时更新这两个部分。
## 仓库结构
- `rust/` 包含 Rust 工作区以及活跃的 CLI/运行时实现。
- `src/` 包含应与生成的指导和测试保持一致的源文件。
- `tests/` 包含应随代码更改而一同审查的验证部分。
## 工作协议
- 优先采用小而易于审查的更改,并保持生成的引导文件与实际仓库工作流对齐。
- 将共享的默认值保留在 `.claw.json` 中;`.claw/settings.local.json` 预留给机器本地的覆盖设置。
- 不要自动覆盖现有的 `CLAW.md` 内容;当仓库工作流更改时,请有目的地更新它。