@codexview/react 0.1.3 → 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 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
- Reference adapters for several real-world agent log formats live in [`playground/adapter.mjs`](playground/adapter.mjs); see [Supported sources](#supported-sources) below.
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,14 @@ 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 sources
40
+ ## Supported source formats
41
41
 
42
- CodexView itself only renders `ChatStreamEvent[]`. Hosts convert their raw logs to that shape — either inline or by reusing the reference adapters in [`playground/adapter.mjs`](playground/adapter.mjs):
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__*` tools, with sensible fallbacks for unknown tools
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
- - 🔲 **Claude Code subagents** (`subagents/agent-*.jsonl`) — planned (will link to the parent `Task` tool call)
49
-
50
- 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.
51
48
 
52
49
  ## Status
53
50
 
package/dist/index.d.ts CHANGED
@@ -35,4 +35,4 @@ export { ItemErrorBoundary } from './components/ItemErrorBoundary.js';
35
35
  export type { ItemErrorBoundaryProps } from './components/ItemErrorBoundary.js';
36
36
  export { Markdown } from './components/Markdown.js';
37
37
  export type { MarkdownProps } from './components/Markdown.js';
38
- export declare const VERSION = "0.1.3";
38
+ export declare const VERSION = "0.1.4";
package/dist/index.js CHANGED
@@ -13494,7 +13494,7 @@ function renderItem(item, c, disableSmoothStream) {
13494
13494
  return /* @__PURE__ */ jsx(c.RawEventBlock, { item });
13495
13495
  }
13496
13496
  }
13497
- const VERSION = "0.1.3";
13497
+ const VERSION = "0.1.4";
13498
13498
  export {
13499
13499
  CodexTranscript,
13500
13500
  EMPTY_MODEL,