forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(agy): queue turns, stream output, expose usage and image attachments #1
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
Mchicao
merged 13 commits into
main
from
feat/antigravity-stream-queue-usage-attachments
Aug 24, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6e2029c
feat(provider): allow adapter-native assistant streaming
Mchicao f8830f7
feat(queue): expose FIFO pending turn operations
Mchicao bc8678b
feat(queue): persist pending turns as FIFO
Mchicao ce96791
refactor(queue): keep projection pipeline compatibility
Mchicao 6b36e1b
fix(queue): consume FIFO starts without dropping backlog
Mchicao 495c06b
feat(agy): provide attachment storage to adapter
Mchicao d155d50
feat(agy): queue turns, normalize usage, and support image paths
Mchicao b68506e
feat(ui): label Antigravity usage
Mchicao 662faff
feat(ui): derive cache hit percentage
Mchicao fd26d61
feat(ui): show model token and cache breakdown
Mchicao a5fb27a
test(ui): cover cache percentage breakdown
Mchicao 95198a0
test(agy): cover cache normalization and image manifest
Mchicao e27d6f0
feat(runtime): honor provider-native assistant streaming
Mchicao 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
461 changes: 88 additions & 373 deletions
461
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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.
Stale pending-start placeholders can survive because
deletePendingTurnStartByMessageIdinapps/server/src/persistence/Layers/ProjectionTurns.tshas no production caller, so canceled or deleted queued prompts remain inprojection_turns.getPendingTurnStartByThreadIdthen reuses the oldest pending row even after its message is gone, misattributingpendingMessageIdandsourcePlansto a later turn; invokedeletePendingTurnStartByMessageId({ threadId, messageId })on queued prompt deletion or filter for message liveness.Prompt for LLM
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.