@guanlin4924/devflow-pi 0.1.23 → 0.1.24

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
@@ -2,19 +2,16 @@
2
2
 
3
3
  面向项目代码开发的 OMP 原生 Devflow 能力仓库。仓库同时提供 Agent Skills、运行时 extension、task agents、项目配置模板和 marketplace 插件目录。Devflow 的流程真相由需求图谱、冻结测试集、机器证据和控制面状态组成,Markdown 只负责展示。
4
4
 
5
- 完整的第一性原理拆分、控制面不变量和对抗式审查见 [`docs/OMP-NATIVE-ARCHITECTURE.md`](docs/OMP-NATIVE-ARCHITECTURE.md)。本项目不依赖外部会话式验收或里程碑工作流;验收和版本收口均由 Devflow 自有节点完成。
5
+ 本项目不依赖外部会话式验收或里程碑工作流;验收和版本收口均由 Devflow 自有节点完成。架构设计材料仅保留在内部源码仓库,不随 npm 包发布。
6
6
 
7
- ## Devflow 专项 Pi(当前功能分支)
7
+ ## Devflow Pi
8
8
 
9
- `feat/devflow-pi-distribution` 新增了一个独立产品入口:它把固定版本 OMP SDK 当作通用 Runtime,把六个 Devflow 插件当作产品内置能力。目标项目不再需要复制本仓库到 `.skills`,也不需要另装或覆盖官方 `omp` 命令。
9
+ Devflow Pi 是一个面向项目研发交付的独立 OMP 产品入口,内置固定版本的 OMP Runtime 和六个 Devflow 插件。安装后可以直接在目标项目中进行初始化、需求梳理、方案设计、代码执行和验收,不需要把本仓库复制到业务项目中。
10
10
 
11
- 当前为本地发行验证版,要求 Bun `>=1.3.14`:
11
+ 安装与启动:
12
12
 
13
13
  ```bash
14
- git switch feat/devflow-pi-distribution
15
- npm install
16
- npm link
17
-
14
+ npm install -g @guanlin4924/devflow-pi@0.1.23
18
15
  cd /path/to/your-project
19
16
  devflow-pi init
20
17
  devflow-pi doctor
@@ -50,14 +47,12 @@ devflow-pi
50
47
  - MCP 默认关闭,避免自动连接用户全局服务器;确需复用时显式加 `devflow-pi --mcp`;
51
48
  - `task` 只允许六个 Devflow 角色 Agent,且必须显式写明 agent;同名项目/用户 Agent 与产品定义不一致时拒绝执行;
52
49
  - `devflow-pi usage`、`devflow_usage_stats` 与 `usage_stats` 默认只统计当前项目的隔离 Session;`usage_stats` 显式传 `source=omp` 时才读取 `~/.omp` 历史会话。
53
- - 以 `devflow-pi` 启动时,确定性工作流和代码索引脚本只从产品包内六插件解析;项目遗留 `.skills` 不会覆盖专项版本。`install.sh --apply` 兼容模式仍可使用项目 `.skills`。
50
+ - 以 `devflow-pi` 启动时,确定性工作流和代码索引脚本只从产品包内六个插件解析;项目遗留 `.skills` 不会覆盖产品版本。
54
51
 
55
- `devflow-pi doctor` 是产品壳和资源检查;TUI 内的 `/devflow doctor` 还会验证活动 Extension、30 个必需 Skills、6 个 Agents,以及 `@smol/@task/@slow` 三个不同的已认证模型。专项 Pi 默认用 `@slow` 处理用户交互和规划,`@smol` 仅负责只读侦察,`@task` 仅负责受限执行与验证。完整产品设计见 [`features/20260805Devflow专项Pi发行版.md`](features/20260805Devflow专项Pi发行版.md),双模型控制规范见 [`features/devflow-agent-orchestration/00-架构总览.md`](features/devflow-agent-orchestration/00-架构总览.md)。
52
+ `devflow-pi doctor` 是产品壳和资源检查;TUI 内的 `/devflow doctor` 还会验证活动 Extension、30 个必需 Skills、6 个 Agents,以及 `@smol/@task/@slow` 三个不同的已认证模型。专项 Pi 默认用 `@slow` 处理用户交互和规划,`@smol` 仅负责只读侦察,`@task` 仅负责受限执行与验证。
56
53
 
57
54
  专项 Pi 会复用 `~/.omp/agent/` 里的登录凭据和可用模型列表,但模型角色选择写在 `~/.devflow-pi/agent/` 这个产品级目录里,不写入目标项目,也不读取官方 OMP 的 Session。首次进入专项 Pi 后,先在模型角色界面把 `smol`、`task`、`slow` 配成三个不同模型,再执行 `/devflow doctor`;未配好时 `/devflow start` 会被拒绝。
58
55
 
59
- 现有 `install.sh --apply` 模式仍保留,作为未迁移项目的兼容入口;下文描述的是该兼容模式。
60
-
61
56
  ## Skill 如何被加载
62
57
 
63
58
  Skill 仍采用标准目录结构:
@@ -80,18 +75,6 @@ skills:
80
75
  # 其余四个插件目录同理
81
76
  ```
82
77
 
83
- ## npm 安装:推荐入口
84
-
85
- ```bash
86
- npm install -g @guanlin4924/devflow-pi@0.1.22
87
- cd /path/to/your-project
88
- devflow-pi init
89
- devflow-pi doctor
90
- devflow-pi
91
- ```
92
-
93
- npm 包已经内置完整 Devflow Runtime、Extension、task agents、项目策略和生命周期配置,不需要复制私有 Git 仓库,也不需要把本仓库作为 submodule 加入业务项目。
94
-
95
78
  ## 私有源码兼容模式
96
79
 
97
80
  `install.sh --apply` 只用于已经获得内部源码访问权限的开发环境。本文档不提供私有仓库地址;在内部工作副本中执行:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanlin4924/devflow-pi",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "type": "module",
5
5
  "description": "Devflow 专项研发 Pi,基于固定版本 OMP Runtime 组装研发状态机、代码智能、设计、实现与质量门禁。",
6
6
  "license": "UNLICENSED",
package/src/constants.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const PRODUCT_NAME = "Devflow Pi";
2
- export const PRODUCT_VERSION = "0.1.23";
2
+ export const PRODUCT_VERSION = "0.1.24";
3
3
  export const PROJECT_SCHEMA_VERSION = 1;
4
4
  export const OMP_RUNTIME_VERSION = "17.2.7";
5
5