@devflow-tools/cli 0.17.5 → 0.17.6

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.
Files changed (2) hide show
  1. package/README.md +27 -34
  2. package/package.json +27 -27
package/README.md CHANGED
@@ -1,50 +1,43 @@
1
1
  # @devflow-tools/cli
2
2
 
3
- DevFlow CLI 一行命令在任意项目中初始化和管理 DevFlow
3
+ > 初始化项目、安装插件、连接 Agent 并管理 DevFlow 服务的命令行工具。(v0.17.6)
4
4
 
5
- ## Installation
5
+ [![npm version](https://img.shields.io/npm/v/%40devflow-tools%2Fcli.svg)](https://www.npmjs.com/package/@devflow-tools/cli)
6
+
7
+ ## 安装
6
8
 
7
9
  ```bash
8
- npm install -g @devflow-tools/cli
10
+ npm install @devflow-tools/cli
9
11
  ```
10
12
 
11
- ## Quick Start
13
+ ## 快速开始
12
14
 
13
15
  ```bash
16
+ npm install -g @devflow-tools/cli
14
17
  cd your-project
15
18
  devflow init
19
+ devflow --help
16
20
  ```
17
21
 
18
- 此命令自动完成:
19
- - 初始化 `.devflow/` 项目配置目录
20
- - 分析项目技术栈和结构
21
- - 生成 Onboarding Pack(`devflow init --report` 可查看)
22
- - 部署 DevFlow Claude Code 插件到 `~/.claude/plugins/`
23
- - 配置 MCP server 在 `.claude/mcp.json`
24
-
25
- 然后运行 `claude`,直接使用 `/devflow:context`、`/devflow:react` 等命令。
26
-
27
- ## Commands
28
-
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 服务器 |
43
-
44
- ## Requirements
45
-
46
- - Node.js >= 18
47
- - npm >= 9
22
+ ## 公共 API / 命令
23
+
24
+ `devflow init`、`connect`、`index`、`graph`、`context`、`workflow`、`memory`、`knowledge`、`doctor` 和 `server start`。
25
+
26
+
27
+ ## 配置与运行时
28
+
29
+ 要求 Node.js >= 18、npm >= 9;`devflow init` 会生成 `.devflow/` 配置并同步 Claude Code/MCP 配置。
30
+
31
+ ## 版本与兼容性
32
+
33
+ - 当前包版本:`0.17.6`
34
+ - Node.js:未在 package manifest 声明更高版本时,使用 Node.js 18+;原生 SQLite/Playwright 能力请按对应依赖安装
35
+ - workspace 内部包应使用同一 DevFlow minor/patch 版本,避免类型和数据库 schema 不一致
36
+
37
+ ## 相关链接
38
+
39
+ - [DevFlow 仓库](https://github.com/shilongfeicool/dev-flow)
40
+ - [问题反馈](https://github.com/shilongfeicool/dev-flow/issues)
48
41
 
49
42
  ## License
50
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/cli",
3
- "version": "0.17.5",
3
+ "version": "0.17.6",
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.17.5",
16
- "@devflow-tools/benchmark": "0.17.5",
17
- "@devflow-tools/context-engine": "0.17.5",
18
- "@devflow-tools/database": "0.17.4",
19
- "@devflow-tools/knowledge-engine": "0.17.5",
20
- "@devflow-tools/mcp-server": "0.17.5",
21
- "@devflow-tools/memory-engine": "0.17.5",
22
- "@devflow-tools/plugin-animation": "0.17.5",
23
- "@devflow-tools/plugin-css": "0.17.5",
24
- "@devflow-tools/plugin-docker": "0.17.5",
25
- "@devflow-tools/plugin-electron": "0.17.5",
26
- "@devflow-tools/plugin-git": "0.17.5",
27
- "@devflow-tools/plugin-graphql": "0.17.5",
28
- "@devflow-tools/plugin-nest": "0.17.5",
29
- "@devflow-tools/plugin-nextjs": "0.17.5",
30
- "@devflow-tools/plugin-performance": "0.17.5",
31
- "@devflow-tools/plugin-react": "0.17.5",
32
- "@devflow-tools/plugin-tailwind": "0.17.5",
33
- "@devflow-tools/plugin-taro": "0.17.5",
34
- "@devflow-tools/plugin-ui-layout": "0.17.5",
35
- "@devflow-tools/plugin-vue": "0.17.5",
36
- "@devflow-tools/sdk": "0.17.5",
37
- "@devflow-tools/server": "0.17.5",
38
- "@devflow-tools/telemetry": "0.17.5",
39
- "@devflow-tools/workflow-engine": "0.17.5",
15
+ "@devflow-tools/adapters": "0.17.6",
16
+ "@devflow-tools/benchmark": "0.17.6",
17
+ "@devflow-tools/context-engine": "0.17.6",
18
+ "@devflow-tools/database": "0.17.6",
19
+ "@devflow-tools/knowledge-engine": "0.17.6",
20
+ "@devflow-tools/mcp-server": "0.17.6",
21
+ "@devflow-tools/memory-engine": "0.17.6",
22
+ "@devflow-tools/plugin-animation": "0.17.6",
23
+ "@devflow-tools/plugin-css": "0.17.6",
24
+ "@devflow-tools/plugin-docker": "0.17.6",
25
+ "@devflow-tools/plugin-electron": "0.17.6",
26
+ "@devflow-tools/plugin-git": "0.17.6",
27
+ "@devflow-tools/plugin-graphql": "0.17.6",
28
+ "@devflow-tools/plugin-nest": "0.17.6",
29
+ "@devflow-tools/plugin-nextjs": "0.17.6",
30
+ "@devflow-tools/plugin-performance": "0.17.6",
31
+ "@devflow-tools/plugin-react": "0.17.6",
32
+ "@devflow-tools/plugin-tailwind": "0.17.6",
33
+ "@devflow-tools/plugin-taro": "0.17.6",
34
+ "@devflow-tools/plugin-ui-layout": "0.17.6",
35
+ "@devflow-tools/plugin-vue": "0.17.6",
36
+ "@devflow-tools/sdk": "0.17.6",
37
+ "@devflow-tools/server": "0.17.6",
38
+ "@devflow-tools/telemetry": "0.17.6",
39
+ "@devflow-tools/workflow-engine": "0.17.6",
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": "817b0286c249eed9c2bd27d3974ee3b3d6ded4bb"
52
+ "gitHead": "669fea3aa72aa3fde14ed50d24c1fec4dfac088f"
53
53
  }