Repository navigation
fix(server): wire Antigravity HTTP MCP tools, ask_question forms, 1.5 errors, and per-model thinking levels - #1065
Merged
Merged
Conversation
… errors, and per-model thinking levels Antigravity sessions dropped Threadlines' HTTP MCP tools because agy acp omits mcpCapabilities.http in initialize, missed Antigravity 1.5 JSON quota/verification/post-settle errors, did not handle ask_question form elicitations, only cached thinking levels for one model at a time, and left throwaway probe/auth/text-generation session files behind. Added assumeHttpMcp for HTTP MCP delivery, handled ACP form elicitations (folding Antigravity's qN/qN_other pairs into question cards), updated error parsing and turn-machine post-settle log checks, probed per-model thought_level options in one session during sign-in and discovery, hardened the child process environment, passed the GCP project on Gemini Enterprise usage requests, and cleaned up ephemeral session files on exit.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
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
Several gaps remained in the Antigravity CLI (
agy acp1.5) integration:agy acpomitsagentCapabilities.mcpCapabilities.httpininitializeeven though it acceptstype: "http"servers insession/new/session/resume/session/load."reason": "QUOTA_EXHAUSTED","retryDelay", protobuf-prefixed gRPC status names),VALIDATION_REQUIREDaccount-verification errors, mid-turn401blips, and upstream errors written during post-prompt wake-up replies were missed or misclassified.ask_questiontool emits ACP form elicitations (elicitation/create) pairingqNchoices withqN_otherfree-text fields, which were not advertised or handled.thought_leveloptions for the initially selected model rather than probing every model in the account's catalog.{}without the configured GCP project; and the child environment did not strip Electron internals or set non-interactive pager / Linux CA bundle fallbacks.Fix
assumeHttpMcp): Added an opt-in descriptor flag forwarded toAcpSessionRuntime.supportedMcpServersandAcpAdapter'sroomToolsAttached, enabled on Antigravity.ask_question): AdvertisedclientCapabilities.elicitation.form, registeredelicitation/createandsession/elicitationhandlers inAcpAdapter(with genericComposerMcpElicitationfallback), and addedextractAntigravityElicitationFormto foldqN/qN_othersingle- and multi-select questions in numeric order into standard question cards.AntigravityTurnsfor JSON + Go-map quota/reset details, canonical gRPC status matching,VALIDATION_REQUIREDverification links, and retryable mid-turn401s. ExtendedAcpTurnMachineandAcpAdapterto re-checkreadOutcomebefore a held turn settles whenever the agent spoke after its prompt answered.thought_levelprobing: AddeddiscoverModelOptionsonAcpProviderDescriptorto cycle models inside the single discovery or sign-in verification session, cache every model's thinking levels (withprobed: true), and restore the starting model. AddedExtra High/XHighfallback folding.ELECTRON_RUN_AS_NODE/CHROME_CRASHPAD_PIPE_NAME, set non-interactive pager/git defaults and LinuxSSL_CERT_FILEfallback, passed{ project }on Cloud Code usage requests when configured, and removed ephemeral session files after probe/auth/text-generation scopes exit.Checks
vp fmt,vp lint,vp run typecheck(14/14 packages)vp run --cache '@threadlines/server#test' Antigravity(10/10 files, 186/186 tests)vp run --cache '@threadlines/server#test' Acp(29/29 active files, 274/274 active tests, including theAcpTurnMachinestate-space explorer)AcpTurnMachine.test.ts(checkWorldand"a batched launch counts each subagent...") for the new post-settlereadOutcomestep afteragentOutput.ask_question, live{ project }Enterprise quota) still needs a real signed-in run on a dev/nightly build.