@antelopejs/dms-automation

中文文档
0.9.1发布于 2026/11/06Apache-2.0TypeScriptCommonJS构建来源已验证近 30 天下载 1884

Visual automation builder for the AntelopeJS DMS: procedures as node graphs started by schedules, webhooks, manual runs or DMS events, with a trace for every run.

原始使用文档
文档目录7 节
  1. What it does
  2. Install
  3. Quick start
  4. Compatibility
  5. Documentation
  6. Contributing
  7. License

@antelopejs/dms-automation

npm License Discord Documentation

The visual automation builder of the AntelopeJS DMS.

The Automation builder: a ticket trigger, two actions, an If node and a notification action on the canvas

What it does

  • Builds procedures as node graphs. Triggers start a run, actions do the work, and flow and data nodes branch, loop and shape values.
  • Starts procedures from schedules, webhooks, manual runs or DMS events such as a user registering or a record being created.
  • Keeps every run with its trace, shows where and why it failed, and re-runs it with its own payload.
  • Shows the health of every procedure, with KPIs over the last 24 hours, 7 days or 30 days.
  • Lets any module add its own nodes through @antelopejs/interface-dms-automation.

Install

Run the AntelopeJS CLI from the root of a project that already loads @antelopejs/dms:

ajs project modules add @antelopejs/dms-automation

Quick start

The module works without configuration. Restart the backend, then the frontend, and open Automation in the Modules group. While no procedure exists, the Overview offers three recipes to start from: Forward a webhook, Send a scheduled digest and Run it on demand.

To add a node from your own module, depend on the interface and register the node in start():

import { RegisterActionType } from "@antelopejs/interface-dms-automation";

RegisterActionType({
  id: "bakery.restock-order",
  name: "Place restock order",
  description: "Order an ingredient restock from a supplier",
  icon: "i-lucide-shopping-cart",
  inputSchema: { type: "object", properties: { ingredient: { type: "string" } } },
  outputSchema: { type: "object", properties: { ordered: { type: "boolean" } } },
  async execute(input: { ingredient?: string }, ctx) {
    ctx.log("info", "placing restock order", input);
    return { ordered: true };
  },
});

Compatibility

PackageSupportedTested with
@antelopejs/interface-api>=0.2.0 <1.0.00.2.0
@antelopejs/interface-api-util>=0.3.0 <1.0.00.3.0
@antelopejs/interface-core>=0.4.0 <1.0.00.4.0
@antelopejs/interface-data-api>=0.6.0 <1.0.00.6.0
@antelopejs/interface-database>=0.3.1 <1.0.00.3.1
@antelopejs/interface-database-decorators>=0.2.1 <1.0.00.2.1
@antelopejs/interface-dms>=0.12.0 <1.0.00.12.0
@antelopejs/interface-dms-automation>=0.6.1 <0.7.00.6.1
@antelopejs/interface-redis>=0.0.9 <1.0.00.0.9

The @antelopejs/interface-dms-automation row is the interface range this release implements. The module also needs these:

  • A DMS backend that implements the @antelopejs/interface-dms range in the table above.
  • The @antelopejs/dms-frontend renderer in the range that engines["@antelopejs/dms-frontend"] of frontend-vue/package.json declares. The ajs dms CLI refuses to build the module with a renderer outside that range.
  • An API provider, @antelopejs/api, for webhooks.
  • An @antelopejs/interface-database implementation.
  • @antelopejs/interface-redis, only to run several instances. See Clustering.

Documentation

The sources of the guide are in packages/dms-automation/docs. The module ships the dms-automation Claude Code skill in packages/dms-automation/skills, declared under antelopeJs.skills.

Contributing

This package lives in the AntelopeJS/dms-automation pnpm workspace, next to @antelopejs/interface-dms-automation. Read CONTRIBUTING.md and the repository README for the development commands.

License

Apache-2.0

版本与发布记录

@antelopejs/dms-automation 共发布 27 个版本,首次发布于 2026/09/17;过去 12 个月发布了 27 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.9.1latest2026/11/061 天前
0.9.02026/11/053 天前
0.8.02026/11/026 天前
0.7.02026/10/2415 天前
0.6.02026/10/2316 天前
0.5.12026/10/2019 天前

关于 @antelopejs/dms-automation 的常见问题

@antelopejs/dms-automation 是什么?

Visual automation builder for the AntelopeJS DMS: procedures as node graphs started by schedules, webhooks, manual runs or DMS events, with a trace for every run.

如何安装 @antelopejs/dms-automation?

在项目目录运行 npm install @antelopejs/dms-automation,或使用 pnpm add / yarn add / bun add。

@antelopejs/dms-automation 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@antelopejs/dms-automation 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@antelopejs/dms-automation 可以商用吗?

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

@antelopejs/dms-automation 的下载量有多少?

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

@antelopejs/dms-automation 还在维护吗?

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