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.
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +3 -14
- package/dist/commands/server.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +12 -0
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +46 -46
- package/upgrades/0.24.25.md +15 -0
- package/upgrades/0.24.26.md +15 -0
|
@@ -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,
|
|
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"}
|
package/dist/commands/server.js
CHANGED
|
@@ -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
|
-
//
|
|
3144
|
-
//
|
|
3145
|
-
//
|
|
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;
|