feat: 完善工作流工具链与大结果保护
- 工作流节点描述增加服务端托管黑名单,仅代码节点保留自定义 desc - 工作流保存新增 --in-place,并改进版本冲突提示 - platform records 新增 --page 分页,--all 强制走 ndjson 文件流 - platform schema 展示 ownerId/submitterId 等系统字段 - 更新 Agent Skill 的代码节点 agent use 标记规范 - 补充对应测试与文档
This commit is contained in:
1 parent
37643da254
commit
7423e166a1
10 files changed
+123
-20
No files matched your search
@@ -5,6 +5,17 @@ import type { CliParsedArgs, CliRuntime } from "../../types.js";
|
||||
|
||||
export const PLATFORM_ID_OPTION_KEYS = ["platform", "platform-id", "platformId", "app", "app-id", "appId"];
|
||||
|
||||
export function formatWorkflowVersion(workflow: {
|
||||
version?: string | null;
|
||||
tasksVersion?: number | null;
|
||||
updateTime?: string | null;
|
||||
}): string {
|
||||
const version = workflow.version || "-";
|
||||
const tasksVersion = workflow.tasksVersion ?? "-";
|
||||
const updateTime = workflow.updateTime ? `,更新时间 ${workflow.updateTime}` : "";
|
||||
return `版本 ${version}(tasksVersion ${tasksVersion})${updateTime}`;
|
||||
}
|
||||
|
||||
export async function createWorkflowDetailClient(
|
||||
parsed: CliParsedArgs,
|
||||
runtime: CliRuntime,
|
||||
|
||||
Reference in new issue
Block a user