Explored
The grouped read, search and list calls Codex runs while it looks around.
import { CodexExplored } from "../components/codex-explored";
import { CodexTerminal } from "../components/codex-terminal";
import { CODEX_DEMO_SESSION } from "../constants/codex-demo";
export default function CodexExploredExample() {
return (
<div className="w-full p-6">
<CodexTerminal title={CODEX_DEMO_SESSION.title}>
<CodexExplored
details={CODEX_DEMO_SESSION.exploredDetails}
items={CODEX_DEMO_SESSION.explored}
/>
<CodexExplored active items={CODEX_DEMO_SESSION.exploredDetails} />
</CodexTerminal>
</div>
);
}
$ bunx --bun shadcn@latest add @notra/codex-exploredCodexExplored groups file lookups under a bold Explored line. Each item starts with a blue verb, and searches can name a scope, as in Search changelog|release in CHANGELOG.md. Set active while calls are still running to show Exploring with a pulsing bullet. Extra calls in details stay folded behind + Show details, a shadcn Collapsible trigger.
| Prop | Default | Description |
|---|---|---|
items |
{ id, verb, target, scope? } items. verb is Read, Search or List. |
|
details |
[] |
Items revealed by + Show details. |
active |
false |
Shows Exploring instead of Explored. |
Used in
Codex
A full recreation of an OpenAI Codex CLI session, from the banner to the pinned prompt.