vault backup: 2026-05-28 15:24:14

This commit is contained in:
2026-05-28 15:24:14 +08:00
parent b970c04c2a
commit dee2f40bf0
2 changed files with 7 additions and 35 deletions

View File

@@ -19,4 +19,4 @@
- Hook - Hook
- PreToolUse - PreToolUse
- PostToolUse - PostToolUse
- `claude mcp add gitnexus -- cmd /c npx -y gitnexus@latest mcp` - MCP:`claude mcp add gitnexus -- cmd /c npx -y gitnexus@latest mcp`

View File

@@ -320,15 +320,10 @@ for module in core_modules:
# 其他项目用命令行 # 其他项目用命令行
## AssetMaker ## AssetMaker
### Graphify
> **2026-05-28 验证通过** 版本 graphifyy 0.8.22 + watchdog #### 前置条件
### 前置条件
1. 确保 `.graphifyignore` 已放在项目根目录(`D:\AI\Website\CharacterMaker\.graphifyignore`),内容: 1. 确保 `.graphifyignore` 已放在项目根目录(`D:\AI\Website\CharacterMaker\.graphifyignore`),内容:
``` ```
frontend/public/ frontend/public/
frontend/dist/ frontend/dist/
@@ -350,13 +345,11 @@ graphify-out/
``` ```
2. 安装 watchdogwatch 模式依赖): 2. 安装 watchdogwatch 模式依赖):
```powershell ```powershell
pip install watchdog pip install watchdog
``` ```
### 初始构建(首次或全量重建) #### 初始构建(首次或全量重建)
``` ```
/graphify D:\AI\Website\CharacterMaker --directed --no-viz /graphify D:\AI\Website\CharacterMaker --directed --no-viz
``` ```
@@ -367,36 +360,15 @@ pip install watchdog
- **注意**`--output` 不是有效 flaggraphify 固定输出到项目根目录的 `graphify-out/` - **注意**`--output` 不是有效 flaggraphify 固定输出到项目根目录的 `graphify-out/`
- **注意**`--ignore` 不是有效 flag排除规则一律通过 `.graphifyignore` 文件控制 - **注意**`--ignore` 不是有效 flag排除规则一律通过 `.graphifyignore` 文件控制
### watch 模式(文件变更时自动更新图谱) #### watch 模式(文件变更时自动更新图谱)
Claude Code 中运行(通过 skill 调度): Claude Code 中运行(通过 skill 调度):
``` ```
/graphify D:\AI\Website\CharacterMaker --watch /graphify D:\AI\Website\CharacterMaker --watch
``` ```
或直接在终端运行(无需 Claude Code 或直接在终端运行(无需 Claude Code
```powershell ```powershell
python -m graphify.watch D:\AI\Website\CharacterMaker --debounce 3 python -m graphify.watch D:\AI\Website\CharacterMaker --debounce 3
``` ```
**行为说明:** ## GitNexus
- 代码文件变更(.ts/.js/.py 等)→ 自动 AST 重建 + 聚类更新,无需 LLM
- 文档/图片变更 → 写入 `graphify-out/needs_update` 标记,提示手动 `/graphify --update`
- 自动读取 `.graphifyignore` 排除规则
- `--debounce 3`:等待 3 秒无新变更后才触发(避免频繁重建)
- Ctrl+C 停止
### 原错误命令(备忘,不可用)
以下写法中的 `--output``--ignore` 在 v0.8.22 中不存在:
```
# 错误!--output 和 --ignore 不是有效 flag
/graphify D:\AI\Website\CharacterMaker \
--directed \
--no-viz \
--output D:\AI\Website\CharacterMaker\docs\graphify \
--ignore "..."
```