bootstrap
Adom Hydrogen (Windows / WSL2)
Public Made by Adomby adom
The Windows (WSL2) platform layer for Hydrogen.
← Commit history
install.sh+10−9@@ -62,15 +62,16 @@ html = open(wb).read() # not land. # Takes effect on the NEXT load, because VS Code reads this state at startup. That is # what the two post-load re-assertions in ah's cascade are for in the current session.-SCRIPT = ('<script>(function(){var n=0;var iv=setInterval(function(){n++;'- 'if(n>60){clearInterval(iv);return}'- 'var r;try{r=indexedDB.open("vscode-web-state-db-global")}catch(_){return}'+SCRIPT = ('<script>(function(){var db=null,n=0,done=false;'+ 'var iv=setInterval(function(){'+ 'if(done||++n>60){clearInterval(iv);if(db){try{db.close()}catch(_){}}return}'+ 'if(!db){var r;try{r=indexedDB.open("vscode-web-state-db-global")}catch(_){return}' 'r.onsuccess=function(e){var d=e.target.result;'- 'if(!d.objectStoreNames.contains("ItemTable"))return;'- 'try{var t=d.transaction("ItemTable","readwrite");var os=t.objectStore("ItemTable");'+ 'if(!d.objectStoreNames.contains("ItemTable")){try{d.close()}catch(_){}return}db=d};return}'+ 'try{var t=db.transaction("ItemTable","readwrite");var os=t.objectStore("ItemTable");' 'os.put(JSON.stringify(["*"]),"http.linkProtectionTrustedDomains");' 'var sg=os.get("adom.activityBarSeeded");'- 'sg.onsuccess=function(){if(sg.result){clearInterval(iv);return}'+ 'sg.onsuccess=function(){if(sg.result){done=true;return}' 'var pg=os.get("workbench.activity.pinnedViewlets2");' 'pg.onsuccess=function(){var arr=[];try{if(pg.result)arr=JSON.parse(pg.result)}catch(_){}' 'if(!arr.length)return;'@@ -78,9 +79,9 @@ SCRIPT = ('<script>(function(){var n=0;var iv=setInterval(function(){n++;' 'ids.forEach(function(id){var f=null;for(var i=0;i<arr.length;i++){if(arr[i].id===id)f=arr[i]}' 'if(f){f.pinned=false;f.visible=false}else{arr.push({id:id,pinned:false,visible:false})}});' 'os.put(JSON.stringify(arr),"workbench.activity.pinnedViewlets2");'- 'os.put("1","adom.activityBarSeeded");'- 't.oncomplete=function(){clearInterval(iv)}}}}catch(_){}};'- 'window.__hdTrustedDomains=1;window.__hdAbSeed=1},500)})();</script>'+ 'os.put("1","adom.activityBarSeeded");done=true}};'+ 't.oncomplete=function(){if(done){clearInterval(iv);try{db.close()}catch(_){}}}}catch(_){}'+ '},500);window.__hdTrustedDomains=1;window.__hdAbSeed=1})();</script>' # Collapse the primary sidebar ONCE per profile so the golden image opens clean # (no Explorer panel). Guarded by a localStorage marker so it won't fight the # user if they later open it. Sidebar visibility is workspace-scoped (not a
package.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Adom Hydrogen (Windows / WSL2)", "brief": "The Windows (WSL2) platform layer for Hydrogen.",- "version": "0.3.8",+ "version": "0.3.9", "description": "The Windows platform layer for Hydrogen, where the workspace runs in a WSL2 Ubuntu distro. Depends on adom/hydrogen-bootstrap (the platform-generic layer, which bundles the generic hydrogen-* skills) and adds everything specific to the WSL2 runtime: the WSL2/networking/lifecycle hydrogen-* skills (BUNDLED here by design, John+Kyle 2026-07-16) and the WSL2 code-server workbench seed. Sibling adom/hydrogen-mac-bootstrap carries the parallel mac skills. This is the package the golden WSL2 image installs.", "org": "adom", "platform": "linux",
page.json+1−1@@ -4,7 +4,7 @@ "slug": "hydrogen-windows-bootstrap", "title": "Adom Hydrogen (Windows / WSL2)", "brief": "The Windows (WSL2) platform layer for Hydrogen.",- "version": "0.3.8",+ "version": "0.3.9", "author": { "name": "John Lauer", "email": "[email protected]"