@wu529778790/open-im 1.11.2-beta.16 → 1.11.2-beta.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.
|
@@ -23,8 +23,10 @@ export function setupClawbotHandlers(config, sessionManager) {
|
|
|
23
23
|
});
|
|
24
24
|
const stopTaskCleanup = startTaskCleanup(ctx.runningTasks);
|
|
25
25
|
const platformSender = {
|
|
26
|
-
sendThinkingMessage: async (
|
|
27
|
-
|
|
26
|
+
sendThinkingMessage: async (chatId, _replyToMessageId, _toolId) => {
|
|
27
|
+
// ClawBot 不支持 typing indicator,先发一条"思考中"消息给用户反馈
|
|
28
|
+
await sendTextReply(chatId, '🤔 正在处理...');
|
|
29
|
+
return 'clawbot_thinking';
|
|
28
30
|
},
|
|
29
31
|
sendTextReply: async (chatId, text) => {
|
|
30
32
|
await sendTextReply(chatId, text);
|
|
@@ -24,17 +24,17 @@ export function setupWorkBuddyHandlers(config, sessionManager) {
|
|
|
24
24
|
});
|
|
25
25
|
// Start task cleanup
|
|
26
26
|
const stopTaskCleanup = startTaskCleanup(ctx.runningTasks);
|
|
27
|
-
// WorkBuddy-specific sender callbacks
|
|
27
|
+
// WorkBuddy-specific sender callbacks
|
|
28
28
|
const platformSender = {
|
|
29
|
-
sendThinkingMessage: async (
|
|
30
|
-
// WorkBuddy
|
|
31
|
-
|
|
29
|
+
sendThinkingMessage: async (chatId, _replyToMessageId, _toolId) => {
|
|
30
|
+
// WorkBuddy 不支持 typing indicator,先发一条"思考中"消息给用户反馈
|
|
31
|
+
await sendTextReply(null, chatId, '🤔 正在处理...', '');
|
|
32
|
+
return 'workbuddy_thinking';
|
|
32
33
|
},
|
|
33
34
|
sendTextReply: async (chatId, text) => {
|
|
34
35
|
await sendTextReply(null, chatId, text, '');
|
|
35
36
|
},
|
|
36
37
|
startTyping: (_chatId) => {
|
|
37
|
-
// WorkBuddy doesn't support typing indicators
|
|
38
38
|
return () => { };
|
|
39
39
|
},
|
|
40
40
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wu529778790/open-im",
|
|
3
|
-
"version": "1.11.2-beta.
|
|
3
|
+
"version": "1.11.2-beta.17",
|
|
4
4
|
"description": "Your AI coding assistant, in every chat app. Multi-platform IM bridge for Claude Code, Codex, and CodeBuddy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|