Skip to content

Cedric/better dx#94

Open
ViaDézo1er / cedric (viadezo1er) wants to merge 6 commits intomainfrom
cedric/better-dx
Open

Cedric/better dx#94
ViaDézo1er / cedric (viadezo1er) wants to merge 6 commits intomainfrom
cedric/better-dx

Conversation

@viadezo1er
Copy link
Copy Markdown
Contributor

@viadezo1er ViaDézo1er / cedric (viadezo1er) commented Apr 2, 2026

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 -h and you'll see it's not there).
most flags haven't been tested yet, the default options work

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Latest downloadable build artifacts for this PR commit 2967c9c85891:

Available artifact names
  • ``artifacts-build-global
  • ``artifacts-build-local-x86_64-apple-darwin
  • ``artifacts-build-local-x86_64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-apple-darwin
  • ``artifacts-build-local-x86_64-unknown-linux-musl
  • ``artifacts-build-local-aarch64-unknown-linux-gnu
  • ``artifacts-build-local-aarch64-unknown-linux-musl
  • ``artifacts-build-local-x86_64-unknown-linux-gnu
  • ``artifacts-plan-dist-manifest
  • ``cargo-dist-cache

@viadezo1er ViaDézo1er / cedric (viadezo1er) marked this pull request as ready for review April 2, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant