botinabox 1.9.0 → 1.9.2
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/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1695,9 +1695,8 @@ var ChatPipeline = class {
|
|
|
1695
1695
|
if (msg.channel !== this.channel) return;
|
|
1696
1696
|
if (this.messageFilter && !this.messageFilter(msg)) return;
|
|
1697
1697
|
if (await this.isDuplicate(msg)) return;
|
|
1698
|
-
const rawTs = msg.raw?.ts;
|
|
1699
1698
|
const channelId = msg.account ?? "";
|
|
1700
|
-
const threadTs = msg.threadId
|
|
1699
|
+
const threadTs = channelId || msg.threadId || msg.id;
|
|
1701
1700
|
if (threadTs && channelId) {
|
|
1702
1701
|
this.threadChannelMap.set(threadTs, channelId);
|
|
1703
1702
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botinabox",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Bot in a Box — framework for building multi-agent bots",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/uuid": "^10.0.0",
|
|
60
60
|
"ajv": "^8.17.1",
|
|
61
61
|
"cron-parser": "^4.9.0",
|
|
62
|
-
"latticesql": "^1.3.
|
|
62
|
+
"latticesql": "^1.3.1",
|
|
63
63
|
"uuid": "^13.0.0",
|
|
64
64
|
"yaml": "^2.7.0"
|
|
65
65
|
},
|