@poncho-ai/messaging 0.7.8 → 0.7.9
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/adapters/telegram/index.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/messaging@0.7.
|
|
2
|
+
> @poncho-ai/messaging@0.7.9 build /home/runner/work/poncho-ai/poncho-ai/packages/messaging
|
|
3
3
|
> tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m51.
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m51.93 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 52ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 4732ms
|
|
14
14
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m11.66 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @poncho-ai/messaging
|
|
2
2
|
|
|
3
|
+
## 0.7.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#71](https://github.com/cesr/poncho-ai/pull/71) [`3e5bf7e`](https://github.com/cesr/poncho-ai/commit/3e5bf7e527e394c5f823beac90712756e57cd491) Thanks [@cesr](https://github.com/cesr)! - Fix Telegram tool approval handler never persisting the approval decision, preventing the resume-from-checkpoint flow from triggering. Make answerCallbackQuery best-effort so transient fetch failures don't block approval processing.
|
|
8
|
+
|
|
3
9
|
## 0.7.8
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1526,6 +1526,7 @@ ${inputSummary}` : "(no input)"
|
|
|
1526
1526
|
const chatId = query.message?.chat.id ? String(query.message.chat.id) : void 0;
|
|
1527
1527
|
await answerCallbackQuery(this.botToken, query.id, {
|
|
1528
1528
|
text: approved ? "Approved" : "Denied"
|
|
1529
|
+
}).catch(() => {
|
|
1529
1530
|
});
|
|
1530
1531
|
if (this.approvalDecisionHandler && chatId) {
|
|
1531
1532
|
await this.approvalDecisionHandler(approvalId, approved, chatId);
|
package/package.json
CHANGED
|
@@ -502,7 +502,7 @@ export class TelegramAdapter implements MessagingAdapter {
|
|
|
502
502
|
|
|
503
503
|
await answerCallbackQuery(this.botToken, query.id, {
|
|
504
504
|
text: approved ? "Approved" : "Denied",
|
|
505
|
-
});
|
|
505
|
+
}).catch(() => {});
|
|
506
506
|
|
|
507
507
|
if (this.approvalDecisionHandler && chatId) {
|
|
508
508
|
await this.approvalDecisionHandler(approvalId, approved, chatId);
|