diff --git a/apps/website/content/docs-v2/getting-started/introduction.mdx b/apps/website/content/docs-v2/getting-started/introduction.mdx index eddc6d57d..574c57b4d 100644 --- a/apps/website/content/docs-v2/getting-started/introduction.mdx +++ b/apps/website/content/docs-v2/getting-started/introduction.mdx @@ -242,34 +242,9 @@ Open `http://localhost:4200` and start chatting with your agent. Messages stream ## Key Concepts -Here's what streamResource() gives you out of the box: +Everything streamResource() gives you out of the box — click any to learn more: - - - `chat.messages()` — live message list that updates as each token arrives from the agent - - - `chat.status()` — current state: idle, loading, resolved, or error - - - `threadId` option — conversations survive page refreshes via localStorage or backend - - - `chat.interrupt()` — agent pauses for human approval, your UI handles the decision - - - `chat.history()` — full checkpoint timeline for debugging and branching - - - `chat.subagents()` — track delegated agent work across multiple graphs - - - `chat.toolCalls()` — see what tools the agent is invoking in real-time - - - `MockStreamTransport` — deterministic testing without a running server - - + ## Deploy to Production diff --git a/apps/website/src/app/global.css b/apps/website/src/app/global.css index 4dfc73682..42a4a63f2 100644 --- a/apps/website/src/app/global.css +++ b/apps/website/src/app/global.css @@ -91,8 +91,8 @@ html { .docs-prose [data-rehype-pretty-code-figure] pre { padding: 1.25rem 1.5rem; border-radius: 0.75rem; - border: 1px solid rgba(255, 255, 255, 0.6); - box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); + border: 1px solid rgba(0, 0, 0, 0.1); + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04); overflow-x: auto; font-size: 0.8rem; line-height: 1.7; diff --git a/apps/website/src/components/docs/DocsTOC.tsx b/apps/website/src/components/docs/DocsTOC.tsx index 9c12354c9..8ae074112 100644 --- a/apps/website/src/components/docs/DocsTOC.tsx +++ b/apps/website/src/components/docs/DocsTOC.tsx @@ -29,8 +29,8 @@ export function DocsTOC({ headings }: { headings: DocHeading[] }) { if (headings.length === 0) return null; return ( -