feat(cloud-agent): wire cloud attachments into task creation and session display#1516
Closed
tatoalo wants to merge 1 commit intoph-ai/feat/cloud-agent/cloud-prompt-builderfrom
Closed
Conversation
dbf0ca1 to
1eefe89
Compare
318bbe7 to
13b9713
Compare
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
Author
|
Recreating with clean branch names |
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.

Problem
The cloud prompt builder and file persistence need to be connected to the UI (file picker, task creation flow) and cloud attachment display in session views.
Changes
AttachmentMenu.tsx: native file picker viaselectFilestRPC, browser file persistence fallback, Tooltip removed (Radix ref loop workaround)useTiptapEditor.ts: use sharedpersistImageFile/persistTextContenthelpersuseDraftSync.ts: fix attachment clearing with functional setState guardposthogClient.ts:runTaskInCloudoptions bag replacing positional paramstask-creation.ts: build cloud prompt blocks from attached filesbuildConversationItems.ts: extract attachments from ACP resource/image blocksUserMessage.tsx: render attachment badgesservice.ts: addTERMINAL_CLOUD_STATUSESconst, cloud session improvementsTaskInputEditor.tsx: Tooltip removed (Radix ref loop workaround)Stack: 3/4 — depends on #1515