Skip to content

Wes/core architecture client rework - #2749

Draft
bwreid wants to merge 6 commits into
mainfrom
wes/core-architecture-client-rework
Draft

Wes/core architecture client rework#2749
bwreid wants to merge 6 commits into
mainfrom
wes/core-architecture-client-rework

Conversation

@bwreid

@bwreid bwreid commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Expands upon and improves the "Client" page of the Core Architecture section.

bwreid added 6 commits August 7, 2026 14:25
Adds three new MDX block components for packages/core/docs/content
reference pages: Signature (a collapsible function/hook/action
signature with parameter and return-type breakdown), and Image/Video
(full width or aligned left/right with paired markdown text, alt
text, and a caption). Video additionally supports reduced-motion-aware
autoplay and looping. Documented all three on /docs/docs-components
with live examples.
Hovering the image reveals a top-right button that opens it in a
larger popup, matching the Escape/click-outside/close-button contract
already established for diagrams. Paired left/right text and the
caption render stacked below the image inside the popup instead of
beside it, since the two-column layout only makes sense at the inline
aligned size. Video is unchanged.
Adds a static "Function signature" caption above the component (no
longer forced to uppercase, which mangled camelCase function names),
and a thin border around the expanded parameter/return content so
it's clear where the expanded state ends.
Covers app/ and public/: where the display of an agent-native app is
built, the browser runtime pieces nothing else documents (root.tsx,
AppProviders, entry points), and static assets. Links out to the
focused Data & Sync and Agent Chat pages for the data/agent hooks.
Covers useActionQuery, useActionMutation, callAction, and useDbSync:
the action hooks app/ uses to read, write, and stay live-synced with
the same actions the agent calls. Examples are grounded in a real
ticket-support reference app rather than a hypothetical domain.
Covers askUserQuestion, useAgentChatGenerating, sendToAgentChat,
openAgentSettings, and dynamic suggestions: the client entry points
into agent chat. Ordered around a running "Draft Response" ticket
example, built up from askUserQuestion() through the full handler.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Visual recap — skipped

The visual recap job did not run for this pull request. This is informational only and does not block the PR.

Recap skipped for 097a117: draft PR.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant