@nextclaw/channel-plugin-feishu 0.2.21 → 0.2.22
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/package.json +1 -1
- package/src/channel.ts +2 -1
package/package.json
CHANGED
package/src/channel.ts
CHANGED
|
@@ -109,7 +109,8 @@ export const feishuPlugin: ChannelPlugin<ResolvedFeishuAccount> = {
|
|
|
109
109
|
},
|
|
110
110
|
agentPrompt: {
|
|
111
111
|
messageToolHints: () => [
|
|
112
|
-
"- Feishu targeting: omit `target`
|
|
112
|
+
"- Feishu targeting: omit `target` only when replying in the current Feishu conversation. For proactive sends from UI/CLI/another channel, pass an explicit target such as `user:open_id` or `chat:chat_id`.",
|
|
113
|
+
"- If the current session is not Feishu, never rely on `channel=feishu` alone; resolve the route first (for example from an existing Feishu session) and then send to that explicit target.",
|
|
113
114
|
"- Feishu supports interactive cards for rich messages.",
|
|
114
115
|
],
|
|
115
116
|
},
|