← Commit history

Publish 0.1.41

John Lauer ·bd800c0524 · ·parent 51f9880
4 files changed +18−4
README.md+4
@@ -134,6 +134,10 @@ Version 0.1.35 gives OpenAI's newest models to fresh installs too. The newest-en  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. +## Introductory tour on Codex 26.1111 (0.1.41)++Codex 26.1111 reshaped the hook that decides whether a new editor tab shows the "Codex in your IDE" tour, so the 0.1.23 skip no longer matched and the tour came back for new users, in front of the composer, where it swallowed the first prompt Hydrogen typed (adom/codex#6). 0.1.41 recognizes both shapes with the same early return and the same rule: an unknown or ambiguous hook is left untouched and reported as unsupported.+ ## Native thread names (0.1.40)  Codex automatic titles and explicit renames now update the actual VS Code editor title, including Ctrl+Tab. Ask Codex to name the thread or run `adom-codex thread rename "Load tests"`. New nonce tabs retain their conversation identity through reloads. [Behavior, compatibility and activation](docs/THREAD-NAMES.md).
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.40",+  "version": "0.1.41",   "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.40",+  "version": "0.1.41",   "hero": {     "type": "image",     "path": "screenshots/hero.png"
runtime/walkthrough.py+12−2
@@ -2,7 +2,8 @@  The upstream NUX hook can redirect a new editor tab before its persisted completion query settles. Adom opens directly at the composer by default.-Only the identified 2025-09-15 tour hook is supported; fail closed on drift.+Only the identified 2025-09-15 tour hook (26.908 and 26.1111 shapes) is supported;+fail closed on drift. """ import re @@ -13,6 +14,15 @@ HOOK = re.compile(     r'[\w$]+\([\w$]+\.NUX_2025_09_15\),\{authMethod:[\w$]+\}=[\w$]+\(\);'     r'if\(!(?P=loading)\)\{if\((?P=data)\)return`none`;switch\(' )+# Codex 26.1111 (adom/codex#6): the same tour-status hook, reshaped. The query key is a variable,+# not keys.NUX_2025_09_15, it returns `none` when IDE onboarding is unavailable, and the completion+# check is `data?.completed`. Same early `none` return, same refuse-when-ambiguous rule.+HOOK_2611 = re.compile(+    r'function [\w$]+\(\)\{(?P<marker>' + re.escape(MARKER) + r')?'+    r'let\{data:(?P<data>[\w$]+),isLoading:(?P<loading>[\w$]+)\}=[\w$]+\([\w$]+\),'+    r'\{authMethod:[\w$]+\}=[\w$]+\(\);if\([\w$]+\?\.ideOnboarding==null\)return`none`;'+    r'if\(!(?P=loading)\)return (?P=data)\?\.completed\|\|'+)   def patch_tour(extension, write):@@ -23,7 +33,7 @@ def patch_tour(extension, write):         if not path.name.startswith(('app-initial-', 'index-')):             continue         text = path.read_text()-        for match in HOOK.finditer(text):+        for match in [*HOOK.finditer(text), *HOOK_2611.finditer(text)]:             tail = text[match.end():match.end() + 800]             if '`2025-09-15-full-chatgpt-auth`' in tail and '`2025-09-15-apikey-auth`' in tail:                 matches.append((path, text, match))