@devflow-tools/cli 0.8.10 → 0.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @devflow-tools/cli
2
2
 
3
- DevFlow CLI — one command to initialize and manage DevFlow in any project.
3
+ DevFlow CLI — 一行命令在任意项目中初始化和管理 DevFlow。
4
4
 
5
5
  ## Installation
6
6
 
@@ -15,30 +15,31 @@ cd your-project
15
15
  devflow init
16
16
  ```
17
17
 
18
- This single command:
19
- - Initializes `.devflow/` project config
20
- - Indexes codebase with CodeGraph
21
- - Deploys the DevFlow Claude Code plugin
22
- - Enables the plugin in `~/.claude/settings.json`
23
- - Configures MCP server in `.claude/mcp.json`
18
+ 此命令自动完成:
19
+ - 初始化 `.devflow/` 项目配置目录
20
+ - 分析项目技术栈和结构
21
+ - 生成 Onboarding Pack(`devflow init --report` 可查看)
22
+ - 部署 DevFlow Claude Code 插件到 `~/.claude/plugins/`
23
+ - 配置 MCP server 在 `.claude/mcp.json`
24
24
 
25
- Then run `claude` and use `/devflow:react`, `/devflow:context`, etc.
25
+ 然后运行 `claude`,直接使用 `/devflow:context`、`/devflow:react` 等命令。
26
26
 
27
27
  ## Commands
28
28
 
29
- | Command | Description |
30
- |---------|-------------|
31
- | `devflow init` | Initialize DevFlow in the current project |
32
- | `devflow connect [agent]` | Configure MCP for Claude Code, Cursor, Codex |
33
- | `devflow index` | Show code index status |
34
- | `devflow graph [target]` | Show dependency graph (`--depth <n>`) |
35
- | `devflow context <query>` | Search project context (`--mode fast\|deep`) |
36
- | `devflow workflow list` | List available workflows |
37
- | `devflow workflow run <type>` | Run a workflow |
38
- | `devflow memory show` | Show project memory |
39
- | `devflow knowledge <query>` | Search knowledge base |
40
- | `devflow doctor` | Run project health check |
41
- | `devflow server start` | Start DevFlow REST server |
29
+ | 命令 | 说明 |
30
+ |------|------|
31
+ | `devflow init` | 初始化 DevFlow(生成 Onboarding Pack + 部署插件) |
32
+ | `devflow init --report` | 初始化并生成人类可读的 Markdown 报告 |
33
+ | `devflow connect [agent]` | 配置 AI Agent MCP 连接(claude/cursor/codex) |
34
+ | `devflow index` | 查看代码索引状态 |
35
+ | `devflow graph [target]` | 显示依赖图谱(`--depth <n>` 控制展开深度) |
36
+ | `devflow context <query>` | 检索项目上下文(`--task` 任务模式,`--why` 显示推理) |
37
+ | `devflow workflow list` | 列出可用工作流 |
38
+ | `devflow workflow run <type>` | 运行工作流 |
39
+ | `devflow memory show` | 查看项目记忆(技术栈、约定、历史决策) |
40
+ | `devflow knowledge <query>` | 搜索技术文档知识库 |
41
+ | `devflow doctor` | 运行项目健康检查 |
42
+ | `devflow server start` | 启动 DevFlow REST 服务器 |
42
43
 
43
44
  ## Requirements
44
45
 
@@ -35,6 +35,18 @@
35
35
  }
36
36
  ]
37
37
  }
38
+ ],
39
+ "Stop": [
40
+ {
41
+ "matcher": "",
42
+ "hooks": [
43
+ {
44
+ "type": "command",
45
+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/stop\"",
46
+ "async": false
47
+ }
48
+ ]
49
+ }
38
50
  ]
39
51
  }
40
52
  }
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@devflow-tools/claude-code-plugin",
3
- "version": "0.8.9",
4
- "description": "DevFlow \u2014 Developer Intelligence Platform for Claude Code",
3
+ "version": "0.8.10",
4
+ "description": "DevFlow — Developer Intelligence Platform for Claude Code",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "npx tsx scripts/inject-gates.ts",
8
8
  "deploy": "npx tsx scripts/inject-gates.ts --deploy"
9
9
  },
10
10
  "devDependencies": {
11
- "@devflow-tools/mcp-server": "^0.8.9"
11
+ "@devflow-tools/mcp-server": "^0.8.10"
12
12
  },
13
13
  "keywords": [
14
14
  "pi-package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/cli",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -12,31 +12,31 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@colbymchenry/codegraph": "^1.1.1",
15
- "@devflow-tools/adapters": "^0.8.10",
16
- "@devflow-tools/benchmark": "^0.8.10",
17
- "@devflow-tools/context-engine": "^0.8.10",
18
- "@devflow-tools/database": "^0.8.10",
19
- "@devflow-tools/knowledge-engine": "^0.8.10",
20
- "@devflow-tools/mcp-server": "^0.8.10",
21
- "@devflow-tools/memory-engine": "^0.8.10",
22
- "@devflow-tools/plugin-animation": "^0.8.10",
23
- "@devflow-tools/plugin-css": "^0.8.10",
24
- "@devflow-tools/plugin-docker": "^0.8.10",
25
- "@devflow-tools/plugin-electron": "^0.8.10",
26
- "@devflow-tools/plugin-git": "^0.8.10",
27
- "@devflow-tools/plugin-graphql": "^0.8.10",
28
- "@devflow-tools/plugin-nest": "^0.8.10",
29
- "@devflow-tools/plugin-nextjs": "^0.8.10",
30
- "@devflow-tools/plugin-performance": "^0.8.10",
31
- "@devflow-tools/plugin-react": "^0.8.10",
32
- "@devflow-tools/plugin-tailwind": "^0.8.10",
33
- "@devflow-tools/plugin-taro": "^0.8.10",
34
- "@devflow-tools/plugin-ui-layout": "^0.8.10",
35
- "@devflow-tools/plugin-vue": "^0.8.10",
36
- "@devflow-tools/sdk": "^0.8.10",
37
- "@devflow-tools/server": "^0.8.10",
38
- "@devflow-tools/telemetry": "^0.8.10",
39
- "@devflow-tools/workflow-engine": "^0.8.10",
15
+ "@devflow-tools/adapters": "^0.8.11",
16
+ "@devflow-tools/benchmark": "^0.8.11",
17
+ "@devflow-tools/context-engine": "^0.8.11",
18
+ "@devflow-tools/database": "^0.8.11",
19
+ "@devflow-tools/knowledge-engine": "^0.8.11",
20
+ "@devflow-tools/mcp-server": "^0.8.11",
21
+ "@devflow-tools/memory-engine": "^0.8.11",
22
+ "@devflow-tools/plugin-animation": "^0.8.11",
23
+ "@devflow-tools/plugin-css": "^0.8.11",
24
+ "@devflow-tools/plugin-docker": "^0.8.11",
25
+ "@devflow-tools/plugin-electron": "^0.8.11",
26
+ "@devflow-tools/plugin-git": "^0.8.11",
27
+ "@devflow-tools/plugin-graphql": "^0.8.11",
28
+ "@devflow-tools/plugin-nest": "^0.8.11",
29
+ "@devflow-tools/plugin-nextjs": "^0.8.11",
30
+ "@devflow-tools/plugin-performance": "^0.8.11",
31
+ "@devflow-tools/plugin-react": "^0.8.11",
32
+ "@devflow-tools/plugin-tailwind": "^0.8.11",
33
+ "@devflow-tools/plugin-taro": "^0.8.11",
34
+ "@devflow-tools/plugin-ui-layout": "^0.8.11",
35
+ "@devflow-tools/plugin-vue": "^0.8.11",
36
+ "@devflow-tools/sdk": "^0.8.11",
37
+ "@devflow-tools/server": "^0.8.11",
38
+ "@devflow-tools/telemetry": "^0.8.11",
39
+ "@devflow-tools/workflow-engine": "^0.8.11",
40
40
  "@inquirer/prompts": "^7.10.1",
41
41
  "chalk": "^5.3.0",
42
42
  "commander": "^12.0.0"
@@ -49,5 +49,5 @@
49
49
  "dist",
50
50
  "bin"
51
51
  ],
52
- "gitHead": "ac4f93d6a52fa40b4126b514e899eee581f8f46e"
52
+ "gitHead": "a0a0b61377aa88ebbd380f50a5d532f63175ef45"
53
53
  }