Open
Conversation
|
Latest downloadable build artifacts for this PR commit
Available artifact 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.
New behavior: ask the minimal amount of questions
Currently this removes the possibility to use the setup wizard
org choice:
if --api-key is passed, use the provided api key
else if --prefer--profile, use the already registered profile (probably registered with OAuth previously)
else if the user has an api key in the env (variable BRAINTRUST_API_KEY), use it
else if there is already a registered profile, use it. If a profile is registered but the access token isn't accessible (for example storing the access token in plain text in ~/.config/bt/secrets.json but the file was deleted), just force re authentication
else same behavior as a user picking OAuth: give a url to paste in the browser
project choice:
if the user has two or more projects, don't change anything
if the user has exactly one project, the default 'My Project' projects, create a project in the user's organization named '{whoami}-test' where {whoami} is the result of the whoami command and use this project
skills, mcp, local, global:
by default, choose skills and mcp and global scope
don't prompt the user
--no-skill, --no-mcp unselect skill/mcp
--global selects global instead of local
instrument:
by default, instrument and skip the question
--(no-)instrument (un)select instrumentation
agent:
if --agent AGENT flag is passed, use this agent
else if only one exists in [claude code, codex, cursor, opencode], use it
otherwise, ask the question to the user
workflow docs:
if one or multiple --workflow WORKFLOW flags are passed, fetch these workflows
otherwise, fetch instrument and observe and don't prompt the user
language:
don't prompt the user
keep trying to identify the language based on file like pyproject.toml in the project root/sub folders, just don't prompt the user
TUI/background:
TUI by default, don't prompt the user
if --background is passed, launch the agent in the background
yolo mode for opencode, language flag not yet implemented
I might be missing something but I think everything in opencode is always in yolo mode.
Besides, --yolo or equivalent don't exist in opencode yet (don't trust your LLM about this, there are many closed/merged/open PRS about this but just check
opencode -hand you'll see it's not there).most flags haven't been tested yet, the default options work