@ycodium-ai/plugin-im 0.2.3024 → 0.2.3028
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 +2 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -139119,7 +139119,7 @@ var makeModelPlan = (core, deps) => {
|
|
|
139119
139119
|
};
|
|
139120
139120
|
|
|
139121
139121
|
// src/notifications.ts
|
|
139122
|
-
import { threadOrNull as threadOrNull4 } from "@ycodium-ai/plugin-api";
|
|
139122
|
+
import { readThreadFailed, threadOrNull as threadOrNull4 } from "@ycodium-ai/plugin-api";
|
|
139123
139123
|
|
|
139124
139124
|
// src/notificationTargets.ts
|
|
139125
139125
|
var notificationChatKeys = (state, threadId, projectId) => {
|
|
@@ -139276,10 +139276,7 @@ ${final.text}`;
|
|
|
139276
139276
|
(binding) => !(streamsTo(binding, threadId) && turnCards.covers(threadId))
|
|
139277
139277
|
);
|
|
139278
139278
|
const drawingTurn = turnCards.drawingTurn(threadId);
|
|
139279
|
-
const notice = textTargets.length > 0 || drawingTurn !== null ? failures.forFailure(
|
|
139280
|
-
threadId,
|
|
139281
|
-
(await threadOrNull4(host.threads, threadId).catch(() => null))?.session?.lastError
|
|
139282
|
-
) : null;
|
|
139279
|
+
const notice = textTargets.length > 0 || drawingTurn !== null ? failures.forFailure(threadId, readThreadFailed(event)?.detail) : null;
|
|
139283
139280
|
if (notice !== null && drawingTurn !== null)
|
|
139284
139281
|
failures.holdForCard(threadId, drawingTurn, notice);
|
|
139285
139282
|
for (const binding of targets) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-im",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3028",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"markdown-it": "^15.0.2",
|
|
33
33
|
"react": "19.2.6",
|
|
34
34
|
"vite-plus": "0.2.2",
|
|
35
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
35
|
+
"@ycodium-ai/plugin-api": "0.2.3028"
|
|
36
36
|
},
|
|
37
37
|
"ycodium": {
|
|
38
38
|
"plugin": "./dist/index.js",
|