@codexview/react 0.3.0 → 0.3.1

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
@@ -50,9 +50,15 @@ CodexView itself only renders `ChatStreamEvent[]`. Hosts convert their raw logs
50
50
 
51
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"`).
52
52
 
53
+ ## Reading layout
54
+
55
+ Consecutive tool-like items inside a turn (`tool_call`, `exec`, `search`, `patch`, `todo_list`) are wrapped automatically in a single collapsible `<ToolGroup>` titled by aggregated counts — e.g. `更新待办、执行 9 个命令、调用 4 个工具`. The transcript reads as narrative: text, a one-line summary of operations in between, more text. Messages, reasoning, and errors stay rendered standalone. See [docs/api.md#toolgroup](docs/api.md) for the API.
56
+
57
+ The default light palette is a "warm paper" look (ivory page, deep ink-brown text, peach user bubble, warm-ink code blocks). To restore the previous cool palette, drop in the override snippet in [docs/styling.md](docs/styling.md#restoring-the-pre-021-cool-palette).
58
+
53
59
  ## Customizing
54
60
 
55
- - Swap any block via `components` prop: `<CodexTranscript components={{ ToolCallBlock: MyToolUI }} />`
61
+ - Swap any block via `components` prop: `<CodexTranscript components={{ ToolCallBlock: MyToolUI, ToolGroup: MyGroupUI }} />`
56
62
  - Theme via CSS variables — see [docs/styling.md](docs/styling.md) for the full list.
57
63
 
58
64
  ## More docs
package/dist/index.d.ts CHANGED
@@ -37,4 +37,4 @@ export { ItemErrorBoundary } from './components/ItemErrorBoundary.js';
37
37
  export type { ItemErrorBoundaryProps } from './components/ItemErrorBoundary.js';
38
38
  export { Markdown } from './components/Markdown.js';
39
39
  export type { MarkdownProps } from './components/Markdown.js';
40
- export declare const VERSION = "0.3.0";
40
+ export declare const VERSION = "0.3.1";
package/dist/index.js CHANGED
@@ -13587,7 +13587,7 @@ function renderItem(item, c, disableSmoothStream) {
13587
13587
  return /* @__PURE__ */ jsx(c.RawEventBlock, { item });
13588
13588
  }
13589
13589
  }
13590
- const VERSION = "0.3.0";
13590
+ const VERSION = "0.3.1";
13591
13591
  export {
13592
13592
  CodexTranscript,
13593
13593
  EMPTY_MODEL,