@dshforge/devflow

中文文档
0.2.5发布于 2026/11/11Apache-2.0ES Module零依赖近 30 天下载 3311

DevFlow is a bundled provider for @dshforge/workflow. It contributes nine packaged research and development workflows. Every script declares export const meta = { … }, parsed by the same shared Acorn parser as project and user workflows. DevFlow prese

原始使用文档
文档目录4 节
  1. Composition
  2. Commands
  3. Verification
  4. Limitations

DevFlow

DevFlow is a bundled provider for @dshforge/workflow. It contributes nine packaged research and development workflows. Every script declares export const meta = { … }, parsed by the same shared Acorn parser as project and user workflows. DevFlow preserves its question/instruction argument mapping. The shared registry owns discovery, slash handlers, the run_workflow model tool, Session records, and Jobs.

Composition

dagger --progress=plain call dsh web \
  --plugins ./plugins/workflow \
  --plugins ./plugins/workflow-filesystem \
  --plugins ./plugins/devflow \
  up --ports 3080:3080

The filesystem provider is optional when only the bundled commands are needed.

Commands

  • /deep-research <question> runs Scope, Search, Fetch/Extract, Verify, and Synthesize.
  • /batch <change> creates a plan without starting workers. After approval, /batch continue <approved plan> assigns independent units to worktree-backed workers.
  • /init, /review, /simplify, /security-review, /debug, /run, and /verify run their packaged workflows.

Submitting a slash command queues its original text as a followup user message. The resulting first turn calls the generic run_workflow model tool, which starts a Session-owned background Job and returns its Job ID immediately. Starting that turn before the Job keeps the Session visible when another Workspace becomes current; job_output collects results and job_kill cancels the run.

Use /workflows to list bundled and filesystem workflows, and /workflows reload after changing workflow files. The refreshed definitions also populate the Agent-scoped dsh-workflow:catalog system-prompt section for the next model request.

Verification

cd plugins/devflow && pnpm test

Real-composition scenarios live in .dagger/module/bdd/features/devflow.feature.

Limitations

  • /batch continue requires create_worktree in the worker Agent's tool set; workers must not edit the source checkout concurrently.
  • /debug cannot change Host logging flags through the command interface.
  • /review ultra is local multi-agent review, not Claude's cloud ultrareview.

版本与发布记录

@dshforge/devflow 共发布 18 个版本,首次发布于 2026/10/29;过去 12 个月发布了 18 个版本。

版本发布日期距今
0.2.5latest2026/11/112 天前
0.2.42026/11/103 天前
0.2.22026/11/103 天前
0.2.12026/11/094 天前
0.2.02026/11/058 天前
0.1.122026/11/0211 天前

关于 @dshforge/devflow 的常见问题

@dshforge/devflow 是什么?

DevFlow is a bundled provider for @dshforge/workflow. It contributes nine packaged research and development workflows. Every script declares export const meta = { … }, parsed by the same shared Acorn parser as project and user workflows. DevFlow prese

如何安装 @dshforge/devflow?

在项目目录运行 npm install @dshforge/devflow,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@dshforge/workflow(>=0.1.0 <0.2.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@dshforge/devflow 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/dshforge__devflow 是否存在。

@dshforge/devflow 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@dshforge/devflow 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.9.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@dshforge/devflow 可以商用吗?

@dshforge/devflow 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@dshforge/devflow 的下载量有多少?

根据 npm 官方下载统计,@dshforge/devflow 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,311 次,日均约 110 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dshforge/devflow 还在维护吗?

最新版本 0.2.5 发布于 2026/11/11(2 天前);至今共发布 18 个版本,其中过去 12 个月发布了 18 个;首次发布于 2026/10/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。