@codexview/react 0.1.4 → 0.2.0
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 +5 -7
- package/dist/index.js.map +1 -1
- package/docs/changelog.md +11 -0
- package/package.json +2 -2
- package/LICENSE +0 -21
- package/docs/superpowers/plans/2026-05-15-claude-code-adapter-implementation.md +0 -2005
- package/docs/superpowers/plans/2026-05-15-codexview-implementation.md +0 -3903
- package/docs/superpowers/specs/2026-05-15-claude-code-adapter-design.md +0 -402
- package/docs/superpowers/specs/2026-05-15-codexview-design.md +0 -661
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# codexview
|
|
1
|
+
# @codexview/react
|
|
2
2
|
|
|
3
3
|
React components for rendering AI coding agent transcripts. The library consumes a normalized `ChatStreamEvent` stream and is host-agnostic — any source that produces compatible events renders identically.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
For raw-log → `ChatStreamEvent[]` conversion, install the companion [`@codexview/adapters`](https://www.npmjs.com/package/@codexview/adapters) package or write your own adapter.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -37,17 +37,15 @@ export function App() {
|
|
|
37
37
|
|
|
38
38
|
`events` is a plain array. Append new events as they arrive (typically via SSE) and pass the same array reference back; CodexView reduces incrementally.
|
|
39
39
|
|
|
40
|
-
## Supported
|
|
40
|
+
## Supported source formats
|
|
41
41
|
|
|
42
|
-
CodexView itself only renders `ChatStreamEvent[]`. Hosts convert their raw logs to that shape — either inline or
|
|
42
|
+
CodexView itself only renders `ChatStreamEvent[]`. Hosts convert their raw logs to that shape — either inline or with [`@codexview/adapters`](https://www.npmjs.com/package/@codexview/adapters):
|
|
43
43
|
|
|
44
44
|
- ✅ **OpenAI Codex CLI** rollouts (`~/.codex/sessions/.../rollout-*.jsonl`)
|
|
45
45
|
- ✅ **AgentWeb codex-team** status logs (`~/Projects/agentweb/.codex-team/runs/*/events.jsonl`)
|
|
46
|
-
- ✅ **Claude Code** main sessions (`~/.claude/projects/<repo>/<sessionId>.jsonl`) — Bash / TodoWrite / Edit / Write / MultiEdit / `mcp__*` / `Agent` tools; subagent transcripts
|
|
46
|
+
- ✅ **Claude Code** main sessions (`~/.claude/projects/<repo>/<sessionId>.jsonl`) — Bash / TodoWrite / Edit / Write / MultiEdit / `mcp__*` / `Agent` tools; subagent transcripts can be embedded under each `Agent` tool call (pass `subagents` to `adapt()`).
|
|
47
47
|
- 🔲 **OpenCode** — planned
|
|
48
48
|
|
|
49
|
-
These adapters are not published as part of `@codexview/react` yet. To try them locally, clone the repo and run `pnpm playground` — it scans your home directory for sessions across all three supported formats.
|
|
50
|
-
|
|
51
49
|
## Status
|
|
52
50
|
|
|
53
51
|
Session-level status (`idle | working | completed | stopped | failed`) is inferred automatically. Override via the `status` prop (e.g. when SSE drops, set `status="stopped"`).
|