Skip to content

refactor(mobile): share session presentation semantics#3640

Draft
richardsolomou wants to merge 1 commit into
posthog-code/share-composer-control-semanticsfrom
posthog-code/share-session-presentation-semantics
Draft

refactor(mobile): share session presentation semantics#3640
richardsolomou wants to merge 1 commit into
posthog-code/share-composer-control-semanticsfrom
posthog-code/share-session-presentation-semantics

Conversation

@richardsolomou

Copy link
Copy Markdown
Member

Problem

Desktop and mobile independently parse PostHog MCP exec commands and maintain duplicate thinking-activity catalogs. Tool rows and generating indicators can therefore present the same session differently.

Changes

Move PostHog exec recognition, command parsing, labels, and body formatting into core and consume it from both renderers. Move thinking activities and deterministic next-activity selection into core while retaining host-specific animation timing.

How did you test this?

  • Focused core thinking-activity tests
  • Mobile PostHog exec and session-view tests
  • Core and UI typechecks
  • Biome on changed files
  • Host-boundary check

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
@github-actions

Copy link
Copy Markdown

React Doctor found 1 issue in 1 file · 1 warning.

1 warning

src/features/chat/components/AgentMessage.tsx

Reviewed by React Doctor for commit 436f795.

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