Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

chore: update IRL surfaces

nirholasd95d3f0e18f9
diff --git a/src/irl.js b/src/irl.js
index 993af326f..ce0531fc0 100644
--- a/src/irl.js
+++ b/src/irl.js
@@ -4865,7 +4865,13 @@ new MutationObserver(() => {
// L3 — Location & privacy center: honest disclosure + discovery precision +
// presence opt-in + a jump into pin management, all in one designed surface.
document.getElementById('irl-privacy-btn')?.addEventListener('click', () => {
- openPrivacyCenter({ getGhost: getShareGhost, setGhost: applyGhost, onManagePins: openMyPinsSheet });
+ openPrivacyCenter({
+ getGhost: getShareGhost,
+ setGhost: applyGhost,
+ onManagePins: openMyPinsSheet,
+ // A delete/unpublish from the data panel must vanish from the live world too.
+ onChanged: () => { loadNearbyPins().catch(() => {}); },
+ });
});
// Connect smart glasses — mirror the nearest-agent cue to a Frame / G1 lens over Web
diff --git a/src/irl/privacy-center.js b/src/irl/privacy-center.js
index fd6bc3746..765df747d 100644
--- a/src/irl/privacy-center.js
+++ b/src/irl/privacy-center.js
@@ -301,6 +301,13 @@ export function openPrivacyCenter({ getGhost, setGhost, onManagePins, onChanged
try { onManagePins && onManagePins(); } catch {}
});
+ // Privacy & my data → close then open the full H5 data-control surface
+ // (summary, per-pin unpublish/delete, export, remove-all, forget device).
+ sheet.querySelector('[data-mydata]')?.addEventListener('click', () => {
+ close();
+ openMyDataPanel({ onChanged });
+ });
+
setTimeout(() => sheet.querySelector('[data-close]')?.focus(), 60);
});
}