-
-
Notifications
You must be signed in to change notification settings - Fork 855
tsunami app builder 2 #2486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
tsunami app builder 2 #2486
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1da25f0
working on an app selection modal
sawka 84044f1
implement some app file management rpc calls
sawka 1ab1605
implement readappfile
sawka ddd95cf
working on hooking up more apppanel stuff
sawka cc7e5c6
improve builder focus handling
sawka 99c0c04
move tsunami prompts, save/restore appid from rtinfo, code tab save/l…
sawka ed0cf75
update builder system prompt
sawka 071a73b
hook up new system prompt and tools for builder mode in wave ai...
sawka 29267d3
inject tools and app.go context...
sawka 21051ee
subscribe to update events... reload file after ai tool calls... retu…
sawka 5fdc0ac
up max output tokens for builder
sawka 15cf299
Merge remote-tracking branch 'origin/main' into sawka/tsunami-app-bui…
sawka 22f2004
better multireaderlinebuffer to handle stdout+stderr...
sawka 2a1ce1b
fix atob and btoa to use base64ToString and stringToBase64 (or base64…
sawka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ | |
|
|
||
| .modal-backdrop { | ||
| position: fixed; | ||
| top: 0; | ||
| top: 36px; | ||
| left: 0; | ||
| right: 0; | ||
| bottom: 0; | ||
|
|
||
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Type mismatch: builderAppIdAtom initialized with null but typed as string.
Initialize and export as string | null to avoid unsound casts and downstream type errors.
Also ensure GlobalAtomsType in frontend/types/custom.d.ts reflects builderAppId: jotai.PrimitiveAtom<string | null>.
Also applies to: 176-176
🏁 Script executed:
Length of output: 1467
🏁 Script executed:
Length of output: 1466
🏁 Script executed:
Length of output: 765
Fix type mismatch: builderAppIdAtom initialized with null but typed as string.
Line 57 declares
atom<string>(null)cast toPrimitiveAtom<string>, but jotai requires the initial value to match the type parameter. Change toatom<string | null>(null)and update the cast accordingly.Also update
frontend/types/custom.d.tsline 12 frombuilderAppId: jotai.PrimitiveAtom<string>tobuilderAppId: jotai.PrimitiveAtom<string | null>.📝 Committable suggestion
🤖 Prompt for AI Agents