@fieldwangai/agentflow 0.1.70 → 0.1.71

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.
@@ -158,6 +158,7 @@ function normalizeFrontmatterSlots(arr) {
158
158
  else if (typeof def !== "string") def = String(def);
159
159
  const slot = { type, name, default: def };
160
160
  if (item.required != null) slot.required = Boolean(item.required);
161
+ if (item.description != null) slot.description = String(item.description);
161
162
  slot.showOnNode = item.showOnNode != null ? Boolean(item.showOnNode) : defaultShowOnNodeForSlot(slot);
162
163
  return slot;
163
164
  });
@@ -289,6 +289,14 @@
289
289
  "displayName": "Create GitLab MR",
290
290
  "description": "Create or reuse a GitLab merge request for the current branch and output its URL"
291
291
  },
292
+ "tool_wecom_send_group_markdown": {
293
+ "displayName": "WeCom Group Markdown",
294
+ "description": "Send a Markdown message through a WeCom group robot webhook"
295
+ },
296
+ "tool_wecom_send_app_markdown": {
297
+ "displayName": "WeCom App Markdown",
298
+ "description": "Send a Markdown message to users through a WeCom enterprise application"
299
+ },
292
300
  "tool_nodejs": {
293
301
  "displayName": "Node.js Script",
294
302
  "description": "Execute Node.js script, success determined by exit code, stdout as result"
@@ -289,6 +289,14 @@
289
289
  "displayName": "提交 GitLab MR",
290
290
  "description": "为当前分支创建或复用 GitLab Merge Request,并输出 MR 链接"
291
291
  },
292
+ "tool_wecom_send_group_markdown": {
293
+ "displayName": "企业微信群 Markdown",
294
+ "description": "通过企业微信群机器人 webhook 发送 Markdown 消息"
295
+ },
296
+ "tool_wecom_send_app_markdown": {
297
+ "displayName": "企业微信应用 Markdown",
298
+ "description": "通过企业微信应用消息接口发送 Markdown 给用户"
299
+ },
292
300
  "tool_nodejs": {
293
301
  "displayName": "Node.js 脚本",
294
302
  "description": "执行 Node.js 脚本,以 exit code 判断成败,stdout 作为结果"
@@ -72,6 +72,7 @@ function normalizeSlotList(value) {
72
72
  default: def == null ? "" : String(def),
73
73
  };
74
74
  if (slot.required != null) normalized.required = Boolean(slot.required);
75
+ if (slot.description != null) normalized.description = String(slot.description);
75
76
  normalized.showOnNode = slot.showOnNode != null
76
77
  ? Boolean(slot.showOnNode)
77
78
  : Boolean(normalized.required) || type.toLowerCase() === "node";
package/bin/lib/paths.mjs CHANGED
@@ -302,6 +302,8 @@ export const LOCAL_ONLY_DEFINITION_IDS = new Set([
302
302
  "tool_git_worktree_load",
303
303
  "tool_git_worktree_unload",
304
304
  "tool_gitlab_create_mr",
305
+ "tool_wecom_send_group_markdown",
306
+ "tool_wecom_send_app_markdown",
305
307
  "tool_print",
306
308
  "tool_user_check",
307
309
  "tool_user_ask",