mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 16:48:09 +00:00
Keep iMessage native typing indicators alive through long tool-running gaps by bridging tool-start activity into the existing typing controller, while preserving typingMode and sendPolicy suppression semantics. Real behavior proof was added from the live iMessage generated-image run: inbound id 5805, outgoing media reply id 5806, and requester-observed typing during the 84s tool path. Co-authored-by: omarshahine <10343873+omarshahine@users.noreply.github.com> Reviewed-by: @lobster
45 lines
1.6 KiB
TypeScript
45 lines
1.6 KiB
TypeScript
// Narrow session-store helpers for channel hot paths.
|
|
|
|
import { loadSessionStore as loadSessionStoreImpl } from "../config/sessions/store-load.js";
|
|
|
|
/**
|
|
* @deprecated Use getSessionEntry/listSessionEntries for reads and
|
|
* patchSessionEntry/upsertSessionEntry for writes. loadSessionStore keeps the
|
|
* legacy mutable whole-store shape and will remain a compatibility escape hatch.
|
|
*/
|
|
export const loadSessionStore = loadSessionStoreImpl;
|
|
|
|
export { resolveSessionStoreEntry } from "../config/sessions/store-entry.js";
|
|
export {
|
|
resolveSessionFilePath,
|
|
resolveSessionTranscriptPathInDir,
|
|
resolveStorePath,
|
|
} from "../config/sessions/paths.js";
|
|
export { resolveAndPersistSessionFile } from "../config/sessions/session-file.js";
|
|
export { readLatestAssistantTextFromSessionTranscript } from "../config/sessions/transcript.js";
|
|
export { resolveSessionKey } from "../config/sessions/session-key.js";
|
|
export { resolveGroupSessionKey } from "../config/sessions/group.js";
|
|
export { canonicalizeMainSessionAlias } from "../config/sessions/main-session.js";
|
|
export {
|
|
clearSessionStoreCacheForTest,
|
|
getSessionEntry,
|
|
listSessionEntries,
|
|
patchSessionEntry,
|
|
readSessionUpdatedAt,
|
|
recordSessionMetaFromInbound,
|
|
saveSessionStore,
|
|
updateLastRoute,
|
|
updateSessionStore,
|
|
updateSessionStoreEntry,
|
|
upsertSessionEntry,
|
|
} from "../config/sessions/store.js";
|
|
export {
|
|
evaluateSessionFreshness,
|
|
resolveChannelResetConfig,
|
|
resolveSessionResetPolicy,
|
|
resolveSessionResetType,
|
|
resolveThreadFlag,
|
|
} from "../config/sessions/reset.js";
|
|
export { resolveSendPolicy } from "../sessions/send-policy.js";
|
|
export type { SessionEntry, SessionScope } from "../config/sessions/types.js";
|