@johnz4021/illuminate 0.5.15 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Ask Claude Code how your code works and get a map you can point at. Claude reads
4
4
  boxes and arrows in your browser. A plain program then checks every box and arrow against the real code before you see
5
5
  it, so the map can't show something that isn't there.
6
6
 
7
- Using Codex? Support is in [preview](#codex-preview): still rough, and best in the ChatGPT desktop app.
7
+ Using Codex? Support is in [preview](#codex-preview).
8
8
 
9
9
  ![A map of what happens when a patient converts, with the missing connection marked in red](docs/images/arch.png)
10
10
 
@@ -192,9 +192,8 @@ and fixes are still applied by illuminate only after you approve them.
192
192
 
193
193
  ## Codex (preview)
194
194
 
195
- illuminate also runs in Codex, as a preview: it works, but it's still rough, and it's best in the ChatGPT desktop app,
196
- whose built-in browser shows the map beside the chat. If you'd use it in Codex, say so (and what got in the way) on
197
- [the Codex issue](https://github.com/johnz4021/illuminate/issues/1): that's where it's tracked, and where it'll be announced when it's ready.
195
+ Codex support is in preview. You can share feedback and follow progress on
196
+ [the Codex issue](https://github.com/johnz4021/illuminate/issues/1).
198
197
 
199
198
  Your Codex session does the reading and writing, and illuminate checks every claim and draws the map, as in Claude
200
199
  Code. Install it as a plugin:
@@ -217,24 +216,22 @@ Or add only the server: `codex mcp add illuminate -- npx -y @johnz4021/illuminat
217
216
  this repo: `npm i && npm run build`, then `codex mcp add illuminate -- node "$PWD/packages/server/bin/illuminate.mjs" channel`.
218
217
  To update the plugin, refresh its marketplace with `codex plugin marketplace upgrade`; with `@latest`, restart Codex.
219
218
 
220
- Then ask for a map in the chat ("map what happens when a user signs up"). Codex gives you the map's link and opens it
221
- in the built-in browser if it can; otherwise click the link. The first time, the browser asks whether to open
222
- `127.0.0.1:4317`. illuminate keeps that port when it's free, so you're asked once. If 4317 is taken, it uses the next
223
- port and says so.
219
+ Ask for a map in the chat, for example “Map what happens when a user signs up.” illuminate opens your default
220
+ browser. Codex gives you the link in case the tab didn’t appear.
224
221
 
225
- Ask about the map in the Codex chat, not on the page. Codex can't be woken from the page, so the page's question box
226
- points to the chat instead. Click a box or arrow first: the page tells illuminate what you selected (or which
227
- walkthrough step is on screen), and your question in the chat is about that. Codex hands the question to illuminate,
228
- does the work, illuminate checks the answer and lights up what it's about on the map, and Codex posts the checked
229
- answer in the chat, with the lines of code it points at. The page has no conversation column in Codex; it opens only for
230
- something to do there: approving a fix (that still happens on the page), or taking up the offer of a new map.
222
+ Select a box or arrow, type your question on the map, and press Send. illuminate queues a turn in the chat that
223
+ most recently opened or made a map on this connection. If Codex is busy, the question can wait until its current
224
+ turn finishes. The checked answer appears on the map. If the page keeps waiting, say “carry on with illuminate” in the original chat.
231
225
 
232
- In the Codex CLI or IDE extension there's no built-in browser: open the link in your own browser, and in the chat name
233
- the box you mean (or select it on the page first; that still works).
226
+ Pairing uses the chat ID from `CODEX_THREAD_ID` and a Codex CLI that supports `codex queue`. On macOS,
227
+ illuminate also checks the CLI bundled with ChatGPT. You can also ask in the Codex chat and get the checked reply there.
228
+ If pairing is unavailable, the page directs you to that chat. Select a step first if you want to ask about it. Codex posts the checked reply in that chat.
234
229
 
235
- What's different from Claude Code:
236
- - Codex has no background tool calls, so nothing listens for questions asked on the page. If you start work from the
237
- page (a new map, or "Just answer in words"), the page tells you to say "carry on with illuminate" in the chat.
230
+ From a built checkout, test delivery with `node scripts/test-codex-queue.mjs /path/to/codex`. It runs a local
231
+ Codex app-server in a temporary home with a scripted model, submits a question through the viewer's HTTP
232
+ endpoint, and verifies that the queued turn reaches the model and the checked answer is saved.
233
+
234
+ Differences from Claude Code:
238
235
  - Codex cuts off a tool call after a minute by default (`tool_timeout_sec`), so illuminate's calls return within about 40
239
236
  seconds and Codex picks up where it left off. Long requests come in parts.
240
237
  - illuminate's tools say they change nothing outside `.illuminate/` and reach nothing beyond this machine, so Codex