← Commit history

Publish 0.1.34

John Lauer ·c19221965c · ·parent c8e129e
5 files changed +18−8
README.md+2
@@ -120,6 +120,8 @@ Version 0.1.32 fixes two ways a Codex conversation left waiting on an approval c  Version 0.1.33 says plainly what happened when a held-back Codex build shows up: the notice now leads with "Codex <version> is broken for everyone right now", names OpenAI's issue, says you are already on the working Codex with the newest models, and that you can skip the update because it comes back by itself once OpenAI fixes it. It also removes Codex Audio (openai.codex-audio), OpenAI's microphone add-on for dictation: it is a desktop-only extension with no browser build, so code-server can never run it and it only sat there with a warning. +Version 0.1.34 makes those fixes reach everyone. The background watcher used to restart only when one of its files changed, so a machine that took 0.1.33 while Codex was open kept running the old check and kept Codex Audio. It now restarts when any of its files change, and it removes Codex Audio whenever it shows up again (a Codex update can bring it back).+ ### Skip the repeated IDE walkthrough  Version 0.1.23 opens new Codex editor tabs directly at the prompt. The default ships through Hydrogen’s existing Codex package dependency; it preserves sign-in and permission prompts. See [diagnosis and verification](docs/CODEX-WALKTHROUGH.md). Already-open walkthrough tabs should be closed and reopened.
package.json+1−1
@@ -4,7 +4,7 @@   "type": "app",   "title": "Codex",   "brief": "Codex in Adom Hydrogen: ecosystem setup, dock dashboard and live engineering demos.",-  "version": "0.1.33",+  "version": "0.1.34",   "description": "Codex in Adom Hydrogen with reusable CAD routing, electrical review, copper-ablation and narrated video skills, plus verified KiCad and Fusion demo progressions.",   "org": "adom",   "needs_sudo": false,
page.json+1−1
@@ -4,7 +4,7 @@   "type": "app",   "title": "Codex",   "brief": "Codex in Adom Hydrogen: ecosystem setup, dock dashboard and live engineering demos.",-  "version": "0.1.33",+  "version": "0.1.34",   "hero": {     "type": "image",     "path": "screenshots/hero.png"
runtime/guard.py+6−4
@@ -142,18 +142,20 @@ class Guard:     def drop_unrunnable_companions(self):         """Codex Audio (openai.codex-audio, microphone dictation) is a desktop-only ('ui') extension         with no browser build: code-server can never run it, so it only sits there with a warning-        (AdomLapper 2026-10-31, installed beside the bad 26.1021 build). Remove it once."""-        if self.state.get('companions_dropped'): return+        (AdomLapper 2026-10-31, installed beside the bad 26.1021 build). Remove it whenever it+        shows up (a Codex update can bring it back); a failed removal retries once an hour."""         try: entries = json.loads(self.registry.read_text())         except (OSError, ValueError): return-        if not any(e.get('identifier', {}).get('id') == 'openai.codex-audio' for e in entries):-            self.state['companions_dropped'] = time.time(); return+        if not any(e.get('identifier', {}).get('id') == 'openai.codex-audio' for e in entries): return+        if time.time() - self.state.get('companion_attempt', 0) < 3600: return+        self.state['companion_attempt'] = time.time(); self.save()         code_server = shutil.which('code-server') or '/usr/lib/code-server/bin/code-server'         env = {k: v for k, v in os.environ.items() if not k.startswith('VSCODE_')}         r = subprocess.run([code_server, '--uninstall-extension', 'openai.codex-audio'],                            capture_output=True, text=True, timeout=180, env=env)         if r.returncode == 0:             self.state['companions_dropped'] = time.time()+            self.state.pop('companion_attempt', None)             self.save()      def check(self):
runtime/manage.py+8−2
@@ -30,6 +30,12 @@ def atomic(path, data):     temporary.replace(path)  ++def code_revision():+    """Every runtime source file, not just manage.py: guard.py is imported once per watcher, so an+    update that changed only guard.py kept the old guard running (0.1.33 on arav-rog, 2026-10-31)."""+    return tuple(sorted((p.name, p.stat().st_mtime_ns) for p in ROOT.glob('*.py')))+ class Integration:     def __init__(self, home):         self.home = home.resolve()@@ -161,8 +167,8 @@ class Integration:         with (self.state / 'watch.lock').open('a') as guard:             try: fcntl.flock(guard, fcntl.LOCK_EX | fcntl.LOCK_NB)             except BlockingIOError: return-            revision = (ROOT / 'manage.py').stat().st_mtime_ns-            while self.marker.exists() and (ROOT / 'manage.py').stat().st_mtime_ns == revision:+            revision = code_revision()+            while self.marker.exists() and code_revision() == revision:                 try:                     with (self.state / 'mutation.lock').open('a') as mutation:                         fcntl.flock(mutation, fcntl.LOCK_EX)