feat: surface system presence for the agent

This commit is contained in:
Peter Steinberger committed 2025-12-09 02:25:37 +01:00
1 parent 317f666d4c
commit 1969e78d54
10 files changed
+202 -3

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ export async function logoutWeb(runtime: RuntimeEnv = defaultRuntime) {
return true;
}
function readWebSelfId() {
export function readWebSelfId() {
// Read the cached WhatsApp Web identity (jid + E.164) from disk if present.
const credsPath = path.join(WA_WEB_AUTH_DIR, "creds.json");
try {