@yaoyuanchao/dingtalk 1.4.16 → 1.4.17

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/channel.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaoyuanchao/dingtalk",
3
- "version": "1.4.16",
3
+ "version": "1.4.17",
4
4
  "type": "module",
5
5
  "description": "DingTalk channel plugin for Clawdbot with Stream Mode support",
6
6
  "license": "MIT",
package/src/channel.ts CHANGED
@@ -349,6 +349,11 @@ export const dingtalkPlugin = {
349
349
 
350
350
  // Handle message actions (sendAttachment, etc.)
351
351
  actions: {
352
+ // List supported actions for this channel - SDK uses this to tell agent what's available
353
+ listActions({ cfg }: { cfg: any }) {
354
+ return ['send', 'sendAttachment'];
355
+ },
356
+
352
357
  supportsAction({ action }: { action: string }) {
353
358
  return action === 'sendAttachment' || action === 'send';
354
359
  },