Commit 8adff57
Jay Kumar
fix(registry/coder-labs/modules/codex): restore PATH persistence and auth.json seeding
Issue 1: Port ensure_codex_in_path and add_path_to_shell_profiles from
claude-code v5. Symlinks codex into CODER_SCRIPT_BIN_DIR and persists
the binary dir to shell profiles (bash, zsh, fish). Called after both
the install and skip-install branches.
Issue 3: Restore add_auth_json from v4. Writes OPENAI_API_KEY to
~/.codex/auth.json when AI Gateway is not enabled, fixing 401s on
Codex versions where the env var alone is insufficient.
Issue 6: Add README note warning that coder_app commands re-execute
on pane reconnect; recommend coder_script for one-shot prompts.1 parent 73dc281 commit 8adff57
3 files changed
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
Lines changed: 65 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
28 | 74 | | |
29 | 75 | | |
30 | 76 | | |
| 77 | + | |
31 | 78 | | |
32 | 79 | | |
33 | 80 | | |
| |||
61 | 108 | | |
62 | 109 | | |
63 | 110 | | |
| 111 | + | |
64 | 112 | | |
65 | 113 | | |
66 | 114 | | |
| |||
124 | 172 | | |
125 | 173 | | |
126 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
127 | 191 | | |
128 | 192 | | |
129 | 193 | | |
| 194 | + | |
0 commit comments