You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Databricks AI Tools as part of the configuration step (#230)
* Install Databricks AI Tools during ucode configure
`ucode configure` now runs `databricks aitools install` for each coding
agent it sets up (claude-code, codex, opencode, copilot), so agents work
with Databricks out of the box. Best-effort: a failure only warns with the
CLI's own error, since AI Tools aren't required to launch an agent.
Co-authored-by: Isaac
* Require Databricks CLI v1.0.0 for AI Tools; simplify install
v1.0.0 is the release that ships `databricks aitools install --agents
... --scope`, so bump MIN_DATABRICKS_CLI_VERSION to (1, 0, 0) and drop the
decorative AITOOLS_MIN_CLI_VERSION. `ensure_databricks_cli_version` already
runs (and auto-upgrades) before every path that reaches install_ai_tools,
so the install no longer guesses a version cause on failure: it just
surfaces the CLI's own error.
Co-authored-by: Isaac
* Decode bytes stderr in AI Tools install warning
subprocess.TimeoutExpired.stderr is bytes even when the call used text=True
(a CPython quirk), so a timed-out `databricks aitools install` rendered its
warning as `b'...'`. Decode bytes before building the reason string, and
cover the timeout-with-stderr path with a test.
Co-authored-by: Isaac
* Make Databricks AI Tools install opt-out via configure
Adds `configure --enable-databricks-ai-tools/--disable-databricks-ai-tools`
(installed by default) plus an interactive prompt that defaults yes but
honors a prior opt-out. The choice persists per workspace as
`databricks_ai_tools_enabled` and gates install_ai_tools_for_agents. Interim
client-side control ahead of admin-managed configuration.
Co-authored-by: Isaac
* Ask the AI Tools opt-out last in interactive configure
Move the "Install Databricks AI Tools?" prompt out of the top-level configure
body into configure_workspace_command, so it runs after the workspace and
agent picks instead of before them. Reword it to explain it adds Databricks
skills and plugins. An explicit --enable/--disable flag still answers upfront
and skips the prompt.
Co-authored-by: Isaac
---------
Co-authored-by: Rohit Agrawal <10210921+rohita5l@users.noreply.github.com>
0 commit comments