@llblab/pi-telegram 0.27.7 → 0.27.8
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/CHANGELOG.md +5 -0
- package/lib/updates.ts +1 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.27.8: Bidirectional Thread Routing Hotfix
|
|
4
|
+
|
|
5
|
+
- `Directional Ownership`: Internal cross-instance turns now bypass only ownership of the already-sent Telegram message id while preserving ownership of the destination thread. Impact: follower-to-leader turns avoid bouncing back to their sender, while leader-to-follower and follower-to-follower turns still forward through the destination follower's live registration.
|
|
6
|
+
- `Regression Coverage`: Focused tests independently prove source-message ownership bypass, destination-thread ownership forwarding with exact registration generation, and preservation of the internal agent-turn marker. Impact: both routing directions remain explicit instead of one fix silently disabling the opposite direction.
|
|
7
|
+
|
|
3
8
|
## 0.27.7: Bidirectional Thread Messaging Hotfix
|
|
4
9
|
|
|
5
10
|
- `Follower-to-Leader Agent Turns`: Internal cross-instance turns now bypass ownership lookup for the already-sent Telegram message id while retaining that id as reply context. Impact: a follower targeting the leader reaches the leader queue instead of ownership routing the synthetic turn back to the sending follower.
|
package/lib/updates.ts
CHANGED
|
@@ -813,12 +813,7 @@ export async function executeTelegramUpdate<
|
|
|
813
813
|
>,
|
|
814
814
|
): Promise<void> {
|
|
815
815
|
const runtimeDeps = update[TELEGRAM_INTERNAL_AGENT_MESSAGE]
|
|
816
|
-
? {
|
|
817
|
-
...deps,
|
|
818
|
-
getMessageOwnership: undefined,
|
|
819
|
-
getTargetOwnership: undefined,
|
|
820
|
-
recordMessageOwnership: undefined,
|
|
821
|
-
}
|
|
816
|
+
? { ...deps, getMessageOwnership: undefined }
|
|
822
817
|
: deps;
|
|
823
818
|
await executeTelegramUpdatePlan(
|
|
824
819
|
buildTelegramUpdateExecutionPlanFromUpdate(update, allowedUserId),
|