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

@@ -8,8 +8,8 @@ import {
hasWorkflowVersionConflict,
patchWorkflowDraft,
} from "./index.js";
import { WorkflowDetailSchema } from "../../types.js";
import type { WorkflowDetail } from "../../types.js";
import { WorkflowDetailSchema } from "../types.js";
import type { WorkflowDetail } from "../types.js";
import {
getExecutionLogs,
getJob,
@@ -20,7 +20,7 @@ import {
listWorkflowSnapshots,
listWorkflowLogs,
toggleWorkflow,
} from "../../api.js";
} from "../api.js";
import {
extractFailureExecutions,
findExecutionNode,
@@ -28,7 +28,7 @@ import {
isTaskExecutionFailed,
updateWorkflow,
sanitizeWorkflowSnapshot,
} from "../../services.js";
} from "../services.js";
import { AuthenticationError, EkbApiError } from "../../../../core/errors.js";
import { WorkflowAlertStore } from "../alert/index.js";
import { mkdtempSync, readFileSync, rmSync } from "node:fs";
+1 -1
View File
@@ -1,5 +1,5 @@
import { NotFoundError, ValidationError } from "../../../../core/errors.js";
import type { WorkflowDetail } from "../../types.js";
import type { WorkflowDetail } from "../types.js";
export type WorkflowDraftStatus = "clean" | "dirty" | "saving" | "saved" | "partial" | "failed";