@fieldwangai/agentflow 0.1.80 → 0.1.82
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.
- package/bin/lib/locales/en.json +4 -4
- package/bin/lib/locales/zh.json +4 -4
- package/bin/lib/ui-server.mjs +1 -1
- package/builtin/nodes/tool_wecom_send_app_markdown.md +3 -3
- package/builtin/nodes/tool_wecom_send_group_markdown.md +2 -2
- package/builtin/web-ui/dist/assets/index-CVdxKCZm.css +1 -0
- package/builtin/web-ui/dist/assets/index-D86Dmbon.js +297 -0
- package/builtin/web-ui/dist/index.html +2 -2
- package/package.json +1 -1
- package/builtin/web-ui/dist/assets/index-BpJR_bek.js +0 -297
- package/builtin/web-ui/dist/assets/index-C7Z_ECuU.css +0 -1
package/bin/lib/locales/en.json
CHANGED
|
@@ -290,12 +290,12 @@
|
|
|
290
290
|
"description": "Create or reuse a GitLab merge request for the current branch and output its URL"
|
|
291
291
|
},
|
|
292
292
|
"tool_wecom_send_group_markdown": {
|
|
293
|
-
"displayName": "WeCom Group Markdown",
|
|
294
|
-
"description": "Send a Markdown message through a WeCom group robot webhook"
|
|
293
|
+
"displayName": "WeCom Group Chat Markdown",
|
|
294
|
+
"description": "Send a Markdown message to a group chat through a WeCom group robot webhook"
|
|
295
295
|
},
|
|
296
296
|
"tool_wecom_send_app_markdown": {
|
|
297
|
-
"displayName": "WeCom
|
|
298
|
-
"description": "Send a Markdown message to users through a WeCom enterprise application"
|
|
297
|
+
"displayName": "WeCom Direct Markdown",
|
|
298
|
+
"description": "Send a Markdown message to one or more users through a WeCom enterprise application"
|
|
299
299
|
},
|
|
300
300
|
"tool_display_share_link": {
|
|
301
301
|
"displayName": "Display Share Link",
|
package/bin/lib/locales/zh.json
CHANGED
|
@@ -290,12 +290,12 @@
|
|
|
290
290
|
"description": "为当前分支创建或复用 GitLab Merge Request,并输出 MR 链接"
|
|
291
291
|
},
|
|
292
292
|
"tool_wecom_send_group_markdown": {
|
|
293
|
-
"displayName": "
|
|
294
|
-
"description": "通过企业微信群机器人 webhook 发送 Markdown
|
|
293
|
+
"displayName": "企业微信群聊 Markdown",
|
|
294
|
+
"description": "通过企业微信群机器人 webhook 发送 Markdown 到群聊"
|
|
295
295
|
},
|
|
296
296
|
"tool_wecom_send_app_markdown": {
|
|
297
|
-
"displayName": "
|
|
298
|
-
"description": "通过企业微信应用消息接口发送 Markdown
|
|
297
|
+
"displayName": "企业微信个人 Markdown",
|
|
298
|
+
"description": "通过企业微信应用消息接口发送 Markdown 给个人或多个用户"
|
|
299
299
|
},
|
|
300
300
|
"tool_display_share_link": {
|
|
301
301
|
"displayName": "展示分享链接",
|
package/bin/lib/ui-server.mjs
CHANGED
|
@@ -1481,7 +1481,7 @@ function readWorkspaceGraph(workspaceRoot) {
|
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
const DISPLAY_SHARE_FILENAME = "display-shares.json";
|
|
1484
|
-
const DISPLAY_SHARE_TTL_MS = 24 * 60 * 60 * 1000;
|
|
1484
|
+
const DISPLAY_SHARE_TTL_MS = 30 * 24 * 60 * 60 * 1000;
|
|
1485
1485
|
|
|
1486
1486
|
function displaySharesPath() {
|
|
1487
1487
|
return path.join(getAgentflowDataRoot(), DISPLAY_SHARE_FILENAME);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
# Built-in node: WeCom
|
|
2
|
+
# Built-in node: WeCom direct markdown message
|
|
3
3
|
description: Send Markdown message to WeCom users through an enterprise application
|
|
4
|
-
displayName: WeCom
|
|
4
|
+
displayName: WeCom Direct Markdown
|
|
5
5
|
input:
|
|
6
6
|
- type: node
|
|
7
7
|
name: prev
|
|
@@ -51,6 +51,6 @@ output:
|
|
|
51
51
|
default: ""
|
|
52
52
|
showOnNode: false
|
|
53
53
|
---
|
|
54
|
-
Send `${markdown}` to `${toUser}` using a WeCom enterprise application.
|
|
54
|
+
Send `${markdown}` to one or more WeCom users (`${toUser}`) using a WeCom enterprise application.
|
|
55
55
|
|
|
56
56
|
If credential inputs are empty, AgentFlow reads `WECOM_CORP_ID`, `WECOM_APP_SECRET` / `WECOM_CORP_SECRET`, `WECOM_AGENT_ID`, and optionally `WECOM_TO_USER` from environment config.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
# Built-in node: WeCom group robot markdown message
|
|
3
3
|
description: Send Markdown message to a WeCom group robot webhook
|
|
4
|
-
displayName: WeCom Group Markdown
|
|
4
|
+
displayName: WeCom Group Chat Markdown
|
|
5
5
|
input:
|
|
6
6
|
- type: node
|
|
7
7
|
name: prev
|
|
@@ -39,6 +39,6 @@ output:
|
|
|
39
39
|
default: ""
|
|
40
40
|
showOnNode: false
|
|
41
41
|
---
|
|
42
|
-
Send `${markdown}` to a WeCom group robot.
|
|
42
|
+
Send `${markdown}` to a WeCom group chat through a group robot webhook.
|
|
43
43
|
|
|
44
44
|
Use either `webhookUrl` or `webhookKey`. If both are empty, AgentFlow reads `WECOM_GROUP_WEBHOOK` / `WECOM_BOT_WEBHOOK` or `WECOM_GROUP_WEBHOOK_KEY` / `WECOM_BOT_KEY` from environment config.
|