-
Notifications
You must be signed in to change notification settings - Fork 0
move release into a single unified GH action #69
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
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 was deleted.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,43 @@ | ||
| # Braintrust tracing for Google Antigravity | ||
|
|
||
| Capture your Google Antigravity sessions as Braintrust traces, including | ||
| prompts, model responses, and tool activity. | ||
| > **This repository is generated.** It is built from | ||
| > [braintrustdata/braintrust-coding-agent-plugins](https://github.com/braintrustdata/braintrust-coding-agent-plugins). | ||
| > Don't edit files here — make changes and file issues in that repository, and they | ||
| > will be rebuilt into this one. | ||
|
|
||
| ## Set up tracing | ||
| Trace Google Antigravity coding sessions in Braintrust. | ||
|
|
||
| Use the Braintrust CLI to install the plugin and choose where traces are sent: | ||
| ## Quickstart | ||
|
|
||
| ```bash | ||
| bt trace enable antigravity | ||
| ``` | ||
|
|
||
| You can disable it later with: | ||
| Prerequisites: | ||
|
|
||
| ```bash | ||
| bt trace disable antigravity | ||
| ``` | ||
| - The latest [Google Antigravity](https://antigravity.google/) | ||
| - The latest [Braintrust CLI (`bt`)](https://www.braintrust.dev/docs/reference/cli/quickstart) | ||
|
|
||
| The plugin requires the `bt` CLI and a Unix-compatible `sh`. You can also | ||
| install it directly with: | ||
| Install the plugin and choose where traces are sent: | ||
|
|
||
| ```bash | ||
| agy plugin install https://github.com/braintrustdata/braintrust-antigravity-plugin | ||
| bt login --profile myprofile | ||
| bt trace --profile myprofile -p my-coding-agent-project enable antigravity | ||
| ``` | ||
|
|
||
| However, `bt trace enable antigravity` is recommended because it also saves | ||
| your Braintrust destination. | ||
|
|
||
| ## Import an existing conversation | ||
|
|
||
| Replay a previous Antigravity conversation by its conversation ID: | ||
| This causes Google Antigravity sessions to report to your configured project. | ||
| You can disable the plugin later with: | ||
|
|
||
| ```bash | ||
| bt trace import antigravity <conversation-id> | ||
| bt trace disable antigravity | ||
| ``` | ||
|
|
||
| To continue reporting a conversation while it is active, add `--attach`: | ||
| ## What is captured | ||
|
|
||
| ```bash | ||
| bt trace import antigravity <conversation-id> --attach | ||
| ``` | ||
| Each traced session includes: | ||
|
|
||
| - a root span for the Antigravity session; | ||
| - a turn span for each user request and visible assistant response; | ||
| - LLM spans with available model inputs, outputs, and token usage; | ||
| - tool spans with observable inputs, outputs, duration, outcome, and errors; | ||
| - useful session metadata such as the Antigravity version, model, workspace, | ||
| and native conversation ID. | ||
|
|
||
| Managed `bt trace run antigravity` support and Windows support are not yet | ||
| available. | ||
| The plugin forwards events only to the local Braintrust daemon. It does not | ||
| contain Braintrust credentials or send traces directly to Braintrust. | ||
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.
For Windows users, this prerequisite list now implies support, but
setup_antigravity_atexplicitly fails on non-Unix platforms (bt-daemon/src/setup.rs:744-746), and the deployed commands invokesh(src/plugins/antigravity/content/hooks.json:9,18,25,32). Restore the Unix-compatibleshrequirement or the Windows limitation so users do not follow a quickstart that cannot succeed.Useful? React with 👍 / 👎.