@kmlckj/licos-ai-cli 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,4 +30,7 @@
|
|
|
30
30
|
- 工作流存在真实业务节点时,不要把输入输出写成 `{}`,除非它确实没有外部输入也没有返回结果。
|
|
31
31
|
- 涉及文件输入/输出时,schema 使用文件对象字段,例如 `url`、`file_type`、`content`、`name`。节点生成文件时优先写入 `assets/`,并在输出中返回 `/assets/<文件名>`、`assets/<文件名>` 或本地文件路径。运行时会自动把输出文件发布到 Studio 对象存储并补齐签名 URL、`download_url`、`file_id`、`expires_at` 等字段。
|
|
32
32
|
- 不要在节点代码里手写 workspace-file-service 公共 URL、MinIO URL、签名参数或平台文件服务路径;部署后的工作流没有开发态文件服务,文件发布交给运行时统一处理。
|
|
33
|
-
- 如果文档与源码 schema 冲突,应修正文档,不要为了匹配文档清空 `GraphInput` / `GraphOutput`。
|
|
33
|
+
- 如果文档与源码 schema 冲突,应修正文档,不要为了匹配文档清空 `GraphInput` / `GraphOutput`。
|
|
34
|
+
- 可视化条件节点必须在 `graph.py` 的 `add_node(..., metadata={...})` 中保存 `definition.branches`;`branches[].id` 与路由函数返回值一致,`branches[].target` 与 `add_conditional_edges(..., path_map=...)` 目标一致。条件节点函数只透传状态,不要把路由函数同时作为节点函数。
|
|
35
|
+
- 根据画布 QueryDiff 修改已有 Action 节点时,必须以 QueryDiff 的 `node.id` 为准更新同一个节点的 metadata、状态字段和实现文件;只有 QueryDiff 明确是新增节点且用户明确要增加业务步骤时才新增节点。
|
|
36
|
+
- 禁止保留默认标题“请填写动作内容”作为最终节点标题;Action 节点标题必须稳定、可读并表达业务含义,已有节点的 ID 不能因为标题或内容调整而改变。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
licos-agent-runtime>=0.2.25
|
|
1
|
+
licos-agent-runtime>=0.2.25
|