品牌重塑: - 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
11 lines
255 B
JSON
11 lines
255 B
JSON
{
|
|
"name": "example-bundled",
|
|
"version": "0.1.0",
|
|
"description": "Example bundled plugin scaffold for the Rust plugin system",
|
|
"defaultEnabled": false,
|
|
"hooks": {
|
|
"PreToolUse": ["./hooks/pre.sh"],
|
|
"PostToolUse": ["./hooks/post.sh"]
|
|
}
|
|
}
|