@misterhuydo/sentinel 1.1.0 → 1.1.1
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/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-23T08:
|
|
3
|
-
"checkpoint_at": "2026-03-23T08:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-23T08:28:23.743Z",
|
|
3
|
+
"checkpoint_at": "2026-03-23T08:28:23.744Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -424,15 +424,13 @@ async def _post(client, channel: str, text: str) -> str:
|
|
|
424
424
|
|
|
425
425
|
|
|
426
426
|
async def _update(client, channel: str, ts: str, text: str) -> None:
|
|
427
|
-
"""
|
|
428
|
-
if
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
logger.warning("Slack update failed (%s), posting new message", e)
|
|
435
|
-
await _post(client, channel, text)
|
|
427
|
+
"""Delete the 'thinking...' message then post the real reply as a clean message."""
|
|
428
|
+
if ts:
|
|
429
|
+
try:
|
|
430
|
+
await client.chat_delete(channel=channel, ts=ts)
|
|
431
|
+
except Exception as e:
|
|
432
|
+
logger.debug("Could not delete thinking message: %s", e)
|
|
433
|
+
await _post(client, channel, text)
|
|
436
434
|
|
|
437
435
|
|
|
438
436
|
async def _resolve_name(client, user_id: str) -> str:
|