Skip to content

feat: integrate the Chat modality with the shared Rust core - #326

Draft
pgherveou wants to merge 5 commits into
mainfrom
feat/chat-modality-shared-core
Draft

feat: integrate the Chat modality with the shared Rust core#326
pgherveou wants to merge 5 commits into
mainfrom
feat/chat-modality-shared-core

Conversation

@pgherveou

Copy link
Copy Markdown
Collaborator

Summary

  • add immutable App and Chat execution contexts with generated execution filtering
  • make custom-message rendering a typed request/response stream while keeping existing Chat subscriptions one-way
  • add connection-scoped Chat state, native ProductRuntime controls, and the optional ChatPlatform adapter
  • expose typed native renderer trees through Swift, Kotlin, and generated TrUAPI bindings
  • add a Chat-only playground worker, diagnosis reporting, explorer results, and local iOS launch workflows
  • document the shared-core Chat protocol and product integration

Host drafts

Validation

  • cargo test -p truapi-server --all-features
  • cargo test -p truapi-codegen
  • cargo clippy for truapi-server and truapi-codegen with warnings denied
  • full code generation with nightly-2026-01-10
  • @parity/truapi: 208 tests and TypeScript build
  • playground lint, typecheck, and unit tests
  • TrUAPIHost Swift package build
  • Chat diagnosis report and iOS launcher script checks
  • dotli workspace typecheck and lint

Notes

The three PRs are drafts because the protocol and both host integrations should be reviewed together.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​vite@​8.2.0991008298100
Updatednpm/​@​parity/​truapi@​0.5.1 ⏵ 0.0.0100 +20100100 +1100 +4100

View full report

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