feat(shipping-notice): 收敛订单处理状态与履约门禁

This commit is contained in:
hugo committed 2026-09-07 09:42:12 +08:00
1 parent bffcd55b40
commit 70dd0051b8
153 files changed
+10916 -4296

No files matched your search

@@ -51,7 +51,7 @@ def _post_op(
"200": {
"description": (
"Tool response (status: ok|running|needs_human|failed). "
"May include checkpoint; business buttons are exposed only by ui_state.actions."
"May include position; business buttons are exposed only by ui_state.actions."
),
"content": {
"application/json": {
@@ -86,7 +86,7 @@ def build_dify_openapi_spec(base_url: str) -> dict[str, Any]:
"paths": {
"/tools/get_task_status": _post_op(
"get_task_status",
"查询任务当前状态;响应含库存连接器独立字段与候选结构",
"查询任务当前状态;响应含库存源状态与候选结构",
{
"task_id": task_id,
"conversation_id": _str_prop("Dify 会话 ID"),
@@ -94,8 +94,8 @@ def build_dify_openapi_spec(base_url: str) -> dict[str, Any]:
},
required=["task_id", "shipping_chat_capability_token"],
description=(
"返回 inventory_source_code、inventory_connector_type、"
"inventory_warehouse_id、inventory_source_status(unresolved|ambiguous|resolved|"
"返回 inventory_source_code、inventory_warehouse_id、"
"inventory_source_status(unresolved|ambiguous|resolved|"
"candidates_frozen|invalid|conflicted)、inventory_source_method、"
"inventory_source_config_version、inventory_routing_fingerprint、"
"以及 step_payload.inventory_source_resolution.candidates。"