merge(main): 合入 main (v0.8.22) 解决 catalog 灰度开通网关冲突

- 解决 src/domains/platform/workflow/transport/catalog/api.ts 中的冲突,
  合并 innerData 解析与 interpretGatewayOutcome 判定逻辑;
- 执行 bun install 补齐 qrcode-terminal 依赖;
- 全部 1021 个单测通过,tsc --noEmit 校验通过。
This commit is contained in:
gitea committed 2026-11-03 17:53:57 +08:00
commit c3e39fe77a
53 files changed
+20116 -640

No files matched your search

@@ -10,6 +10,7 @@ import type {
WorkflowFormSpecComponentLike,
AnalyzeWorkflowOptions,
} from "./types.js";
import { isKnownGrayNodeType } from "../nodes/gray-nodes-catalog.js";
const KNOWN_TYPES = new Set([
"webhook",
@@ -473,7 +474,7 @@ export function analyzeWorkflow(
message: `${task.type} 控制节点没有子节点`,
});
}
if (!KNOWN_TYPES.has(task.type)) {
if (!KNOWN_TYPES.has(task.type) && !isKnownGrayNodeType(task.type)) {
addDiagnostic(diagnostics, {
severity: "warning",
code: "UNKNOWN_TASK_TYPE",