feat: link up to new agent - #7
Merged
Merged
Conversation
joshsny
approved these changes
Oct 8, 2025
joshsny
left a comment
Contributor
There was a problem hiding this comment.
low on context here, so will 💮 so as not to block!
| } | ||
| }, [task.description]); | ||
|
|
||
| useEffect(() => { |
Contributor
There was a problem hiding this comment.
nit: can we use react query or something similar for this stuff, avoids us having to put useEffect's everywhere - maybe worth doing that in a seperate PR
| taskId: posthogTaskId, | ||
| }); | ||
|
|
||
| (async () => { |
Contributor
There was a problem hiding this comment.
this anonymous function is immediately executed, can we delete the (async () => { wrapping it here or do we need it for some reason?
richardsolomou
added a commit
that referenced
this pull request
Jul 1, 2026
On the idle transition the builder discarded its state and re-parsed every event via buildConversationItems. Finalize the persistent builder in place instead — append the remaining events, then run the same finalization — so the cost is proportional to what's new, not the whole transcript. Falls back to the full rebuild when the append-only prefix is no longer valid or events are out of ts-order (a full rebuild sorts; the incremental builder processes in arrival order), keeping output identical. New tests stream then finalize in place across every scenario, incl. resume-after-finalize. Finding #7.
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.
Connect Array to the new agent SDK and handle polling for progress