@inceptionstack/roundhouse 0.5.32 → 0.5.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inceptionstack/roundhouse",
3
- "version": "0.5.32",
3
+ "version": "0.5.33",
4
4
  "type": "module",
5
5
  "description": "Multi-platform chat gateway that routes messages through a configured AI agent",
6
6
  "license": "MIT",
@@ -169,10 +169,10 @@ async function showTopicMenu(
169
169
  const currentDisplay = current ?? "main (default)";
170
170
  const known = listTopics(chatId);
171
171
 
172
- // Try inline keyboard if we have any known topics and the adapter supports
173
- // raw Telegram calls. Otherwise fall back to text.
172
+ // Try inline keyboard if the adapter supports raw Telegram calls.
173
+ // Always show keyboard (main is always available), even if no custom topics yet.
174
174
  const telegramFetch = thread?.adapter?.telegramFetch;
175
- if (known.length > 0 && telegramFetch) {
175
+ if (telegramFetch) {
176
176
  const tgChatId = extractTelegramChatId(thread);
177
177
  if (tgChatId) {
178
178
  try {