@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 +22 -21
- package/dist/plugin-files/hooks.json +12 -0
- package/dist/plugin-files/package.json +3 -3
- package/package.json +27 -27
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @devflow-tools/cli
|
|
2
2
|
|
|
3
|
-
DevFlow CLI —
|
|
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
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
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
|
-
|
|
25
|
+
然后运行 `claude`,直接使用 `/devflow:context`、`/devflow:react` 等命令。
|
|
26
26
|
|
|
27
27
|
## Commands
|
|
28
28
|
|
|
29
|
-
|
|
|
30
|
-
|
|
31
|
-
| `devflow init` |
|
|
32
|
-
| `devflow
|
|
33
|
-
| `devflow
|
|
34
|
-
| `devflow
|
|
35
|
-
| `devflow
|
|
36
|
-
| `devflow
|
|
37
|
-
| `devflow workflow
|
|
38
|
-
| `devflow
|
|
39
|
-
| `devflow
|
|
40
|
-
| `devflow
|
|
41
|
-
| `devflow
|
|
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
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/claude-code-plugin",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "DevFlow
|
|
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.
|
|
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.
|
|
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.
|
|
16
|
-
"@devflow-tools/benchmark": "^0.8.
|
|
17
|
-
"@devflow-tools/context-engine": "^0.8.
|
|
18
|
-
"@devflow-tools/database": "^0.8.
|
|
19
|
-
"@devflow-tools/knowledge-engine": "^0.8.
|
|
20
|
-
"@devflow-tools/mcp-server": "^0.8.
|
|
21
|
-
"@devflow-tools/memory-engine": "^0.8.
|
|
22
|
-
"@devflow-tools/plugin-animation": "^0.8.
|
|
23
|
-
"@devflow-tools/plugin-css": "^0.8.
|
|
24
|
-
"@devflow-tools/plugin-docker": "^0.8.
|
|
25
|
-
"@devflow-tools/plugin-electron": "^0.8.
|
|
26
|
-
"@devflow-tools/plugin-git": "^0.8.
|
|
27
|
-
"@devflow-tools/plugin-graphql": "^0.8.
|
|
28
|
-
"@devflow-tools/plugin-nest": "^0.8.
|
|
29
|
-
"@devflow-tools/plugin-nextjs": "^0.8.
|
|
30
|
-
"@devflow-tools/plugin-performance": "^0.8.
|
|
31
|
-
"@devflow-tools/plugin-react": "^0.8.
|
|
32
|
-
"@devflow-tools/plugin-tailwind": "^0.8.
|
|
33
|
-
"@devflow-tools/plugin-taro": "^0.8.
|
|
34
|
-
"@devflow-tools/plugin-ui-layout": "^0.8.
|
|
35
|
-
"@devflow-tools/plugin-vue": "^0.8.
|
|
36
|
-
"@devflow-tools/sdk": "^0.8.
|
|
37
|
-
"@devflow-tools/server": "^0.8.
|
|
38
|
-
"@devflow-tools/telemetry": "^0.8.
|
|
39
|
-
"@devflow-tools/workflow-engine": "^0.8.
|
|
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": "
|
|
52
|
+
"gitHead": "a0a0b61377aa88ebbd380f50a5d532f63175ef45"
|
|
53
53
|
}
|