instar 0.24.24 → 0.24.26

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.
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAyPH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAimCD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAuqGtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAyPH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAimCD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA4pGtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
@@ -3140,20 +3140,9 @@ export async function startServer(options) {
3140
3140
  if (!response.ok) {
3141
3141
  throw new Error(`Reply failed: ${response.status}`);
3142
3142
  }
3143
- // Mirror standby messages to the CORRECT Slack channel (not attention channel).
3144
- // PresenceProxy fires with a Telegram topicId. We need to find the session
3145
- // bound to that topic, then find the Slack channel bound to that session.
3146
- if (_slackAdapter && text.startsWith('🔭')) {
3147
- // Find which session owns this Telegram topic
3148
- const sessionName = telegram?.getSessionForTopic?.(topicId);
3149
- if (sessionName) {
3150
- // Find the Slack channel bound to that session
3151
- const mirrorChannelId = _slackAdapter.getChannelForSession(sessionName);
3152
- if (mirrorChannelId) {
3153
- _slackAdapter.sendToChannel(mirrorChannelId, text).catch(() => { });
3154
- }
3155
- }
3156
- }
3143
+ // Slack standby is now handled directly via its own PresenceProxy wiring
3144
+ // (Slack onMessageLogged synthetic ID PresenceProxy sendMessage Slack channel).
3145
+ // No more Telegram→Slack mirroring that caused standby spam when only Telegram was active.
3157
3146
  },
3158
3147
  getAuthorizedUserIds: () => {
3159
3148
  const ids = config.messaging?.[0]?.config?.authorizedUserIds;