refactor: 将应用数据与工作流统一归入应用平台子模块

建立 applications 的应用模型和查询出口,保留基础及详情投影差异。
下沉 DataLink,将工作流模型、API、编排及执行上下文归回 workflow。
同步 CLI、SDK、生成脚本、测试和活跃文档引用,公开命令与 SDK 名称保持兼容。

验证:943 项测试、类型和版本检查通过;三份生成规范字节一致,README 审计通过。
This commit is contained in:
gitea committed 2026-10-30 16:56:09 +08:00
1 parent edf300b808
commit 4e03c9bcd7
107 files changed
+423 -496

No files matched your search

@@ -1,7 +1,7 @@
import { expect, spyOn, test } from "bun:test";
import { handleWorkflowCommand } from "./workflow/index.js";
import { parseArgs } from "../parser.js";
import * as services from "../../domains/platform/services.js";
import * as services from "../../domains/platform/workflow/services.js";
test("failed grants retain gateway details and never report success", async () => {
const grant = spyOn(services, "grantWorkflowNodes").mockResolvedValue({ success: false, saved: [], skipped: [], rawMessage: "permission denied" });
try {