@devflow-tools/claude-code-plugin 0.12.0 → 0.12.1
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/package.json +2 -2
- package/skills/devflow:start/SKILL.md +14 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/claude-code-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "DevFlow — Developer Intelligence Platform for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"hooks.json",
|
|
29
29
|
"skills"
|
|
30
30
|
],
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "221830920b02ecb0fffb7652ac7ceec5a3f884d3"
|
|
32
32
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devflow:start
|
|
3
|
-
description: 启动 DevFlow
|
|
3
|
+
description: 启动 DevFlow 服务端(API + Dashboard),显示访问信息
|
|
4
4
|
required_mcp_tools: []
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# DevFlow Start
|
|
8
8
|
|
|
9
|
-
启动 DevFlow
|
|
9
|
+
启动 DevFlow 开发环境。使用 `npx devflow start` 命令,无论在哪个目录下调用都能正确启动 DevFlow 服务。
|
|
10
10
|
|
|
11
11
|
## 执行步骤
|
|
12
12
|
|
|
@@ -15,40 +15,36 @@ required_mcp_tools: []
|
|
|
15
15
|
npx devflow start
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
18
|
+
Server 启动后同时提供:
|
|
19
|
+
- REST API(默认端口 13337)
|
|
20
|
+
- Dashboard(由 Server 在同一端口提供静态文件服务)
|
|
21
21
|
|
|
22
22
|
2. **显示启动信息**
|
|
23
23
|
服务启动后,显示以下信息:
|
|
24
24
|
|
|
25
25
|
```
|
|
26
26
|
╔═══════════════════════════════════════════════════════════╗
|
|
27
|
-
║
|
|
27
|
+
║ DevFlow Started! ║
|
|
28
28
|
╠═══════════════════════════════════════════════════════════╣
|
|
29
|
-
║
|
|
30
|
-
║
|
|
31
|
-
║
|
|
32
|
-
║ ║
|
|
33
|
-
║ Press Ctrl+C to stop all services ║
|
|
29
|
+
║ Server + Dashboard: http://localhost:13337 ║
|
|
30
|
+
║ ║
|
|
31
|
+
║ Press Ctrl+C to stop ║
|
|
34
32
|
╚═══════════════════════════════════════════════════════════╝
|
|
35
33
|
```
|
|
36
34
|
|
|
37
35
|
3. **保持运行**
|
|
38
36
|
- `devflow start` 会持续运行直到 Ctrl+C
|
|
39
|
-
-
|
|
37
|
+
- API 和 Dashboard 由 CLI 统一管理生命周期
|
|
40
38
|
|
|
41
39
|
## 注意事项
|
|
42
40
|
|
|
43
|
-
-
|
|
44
|
-
- 端口 17788:前端(Next.js Dashboard)
|
|
41
|
+
- Server 和 Dashboard 共用端口 13337(Dashboard 作为静态文件由 server 提供)
|
|
45
42
|
- 使用 `npx devflow start` 从任意目录启动,不依赖当前工作目录
|
|
46
|
-
- 如果端口被占用,提示用户 `lsof -i :13337`
|
|
43
|
+
- 如果端口被占用,提示用户 `lsof -i :13337` 检查
|
|
47
44
|
|
|
48
45
|
## 故障排除
|
|
49
46
|
|
|
50
47
|
如果启动失败:
|
|
51
|
-
1. 检查端口是否被占用:`lsof -i :13337`
|
|
48
|
+
1. 检查端口是否被占用:`lsof -i :13337`
|
|
52
49
|
2. 确认 devflow 已安装:`npx devflow --version`
|
|
53
|
-
3. 如需后台运行:`npx devflow start
|
|
54
|
-
4. 仅启动服务端(不要 Dashboard):`npx devflow start --no-dashboard`
|
|
50
|
+
3. 如需后台运行:`npx devflow start --background`
|