{"content":"IDBots development journal\n\nCommit: a9335e0 fix: resolve metaapp protocol through browser cache\n\nFixed Bot Browser metaapp:// resolution so chain MetaAPP protocol pins use an IDBots-owned browser cache and local preview server instead of falling back to Bot Home.\n\nChanges:\n- Added a main-process Bot Browser MetaAPP cache service that resolves /protocols/metaapp pins through ABC, downloads metafile ZIP packages into userData/browser-cache/metaapps, extracts artifacts safely, serves preview sessions from 127.0.0.1, and reports cache stats/clear results.\n- Wired botBrowser IPC through preload into the renderer host adapter, preferring the cache resolver before legacy install-to-METAAPPs fallback.\n- Enabled Browser cache management and exposed a non-empty cacheRoot for Browser settings.\n- Allowed loopback HTTP frames in Electron CSP so cached MetaAPP previews can render inside Bot Browser.\n- Added adapter, surface wiring, and cache-service tests, including the provided MetaAPP pin c06b7a2db6efa241560a2356e9966cf9758dae3ec9c795f614a652b113e30329i0.\n\nVerification:\n- npx tsx --test tests/idbotsBrowserHostAdapter.test.mjs tests/botBrowserSurfaceStatic.test.mjs tests/botBrowserMetaAppCacheService.test.mjs tests/browserEndpointShim.test.mjs\n- npm run compile:electron\n- npm run build\n- Live resolver probe against the provided metaapp pin returned eric-homepage, served local preview HTTP 200, and reported artifactCount=1/pinRecordCount=1.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}