fix(web): Web 检查 - 格式化拆分模块并修正源码断言

拆分出的前端模块未按 Prettier 格式化导致 CI 格式检查失败;源码断言改为忽略空白差异,导演台引导组件恢复别名导入。同时移除误提交的分析草稿、pnpm 锁文件和调试测试。
This commit is contained in:
ddcat666
2026-09-30 10:32:17 +08:00
parent 7f5d87ef1a
commit fda3b84277
22 changed files with 1197 additions and 2137 deletions

View File

@@ -21,7 +21,6 @@ export function normalizeRawModelName(value: unknown) {
return model && model !== "undefined" && model !== "null" ? model : "";
}
export function encodeChannelModel(channelId: string, model: string) {
return `${channelId}${CHANNEL_MODEL_SEPARATOR}${model.trim()}`;
}

View File

@@ -10,7 +10,20 @@ import { type ModelCapabilityConfig } from "@/lib/model-capabilities";
import { useUserStore } from "@/stores/use-user-store";
import type { CapabilitySpec, PublicLogicalModelPriceTier } from "@/services/api/logical-models";
import { type WorkflowFieldMapping, normalizeRunningHubCapability, normalizeRunningHubWorkflowKind, normalizeSavedWorkflowFields, mergeWorkflowFieldMappings, normalizeWorkflowFieldMappings } from "./config-workflow-fields";
import { decodeChannelModel, modelOptionName, modelOptionsFromChannels, normalizeModelOptionValue, CHANNEL_MODEL_SEPARATOR, uniqueModelOptions, encodeChannelModel, hasSystemModelPrice, isChannelModelValue, modelDisplayName, modelIcon, modelOptionLabel } from "./config-model-options";
import {
decodeChannelModel,
modelOptionName,
modelOptionsFromChannels,
normalizeModelOptionValue,
CHANNEL_MODEL_SEPARATOR,
uniqueModelOptions,
encodeChannelModel,
hasSystemModelPrice,
isChannelModelValue,
modelDisplayName,
modelIcon,
modelOptionLabel,
} from "./config-model-options";
import { normalizeRawModelName } from "./config-model-options";
export { CHANNEL_MODEL_SEPARATOR, normalizeRawModelName, uniqueModelOptions } from "./config-model-options";