Repository navigation
Tiny Sunny: headless chat on option B of @base44/platform/react - #67
Closed
amitbardos wants to merge 1 commit into
Closed
amitbardos wants to merge 1 commit into
amitbardos wants to merge 1 commit into
Conversation
lean/sdk/ is now a copy of packages/platform/src/react from base44/javascript-sdk#314, with imports pointed at @base44/platform, until the subpath is published. The headless tab opens first, and its chat is rebuilt on that API; chatParts holds Tiny's look. The hand-written chats type their answer input as the SDK does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Option B ships the hook plus a provider and parts. Tiny wraps the chat in
<Base44ChatProvider components={chatParts}>, and<Message>draws each item with Tiny's parts. The list and the composer read the chat withuseChatState/useChatActions.lean/sdk/is a copy ofpackages/platform/src/reactfrom feat(platform): @base44/platform/react, option B: hook, provider and parts javascript-sdk#314, with imports pointed at@base44/platform, until@base44/platform/reactis published. The copy is byte-identical apart from those imports and a header comment, plus one file-level lint exception explained in the file.lean/components/chats/headless/:chatParts.tsxholds Tiny's look (the same file in both options, plus thechatPartsobject the provider takes), andHeadlessChat.tsxis rebuilt on option B.without-sdk/type their answer input asRecord<string, unknown>, as the SDK does.Checked
lean/shows only the two warnings that were already there.TINY_SUNNY_LEAN=trueagainst the workspace: the habit app's open clarifying question renders with Tiny's parts, the phase reads "Waiting for your answer", and Send is locked while the question is open. Nothing was answered or sent.🤖 Generated with Claude Code