diff --git a/acceptance/experimental/aitools/skills/update-prune/output.txt b/acceptance/experimental/aitools/skills/update-prune/output.txt index 5cc1a8c5bd..744e53b0d3 100644 --- a/acceptance/experimental/aitools/skills/update-prune/output.txt +++ b/acceptance/experimental/aitools/skills/update-prune/output.txt @@ -3,7 +3,7 @@ >>> [CLI] experimental aitools install --skills-only --global Command "install" is deprecated, use "databricks aitools install" instead. Flag --global has been deprecated, use --scope=global -Installing Databricks skills for Claude Code... +Installing Databricks skills for Cursor... Using skills version test-ref Fetching skills manifest... Downloading alpha... @@ -15,8 +15,6 @@ Installed 2 skills. === update against a release where beta is gone: alpha updates, beta is pruned >>> DATABRICKS_SKILLS_REF=v2-ref [CLI] experimental aitools update --scope global Command "update" is deprecated, use "databricks aitools update" instead. -Installing databricks plugin for Claude Code... -Skipped Claude Code: claude-code: install-failed: ✘ Failed to install plugin "databricks@claude-plugins-official": Plugin "databricks" not found in marketplace "claude-plugins-official". Your local copy may be out of date — try `claude plugin marketplace update claude-plugins-official`. Downloading alpha... Exposing alpha to 1 agent... updated alpha v1.0.0 -> v2.0.0 diff --git a/acceptance/experimental/aitools/skills/update-prune/script b/acceptance/experimental/aitools/skills/update-prune/script index 3529672c53..bf24ea62fa 100644 --- a/acceptance/experimental/aitools/skills/update-prune/script +++ b/acceptance/experimental/aitools/skills/update-prune/script @@ -1,8 +1,12 @@ # Isolate HOME: this test reconciles the whole install state, so it must not # share ~/.databricks with the sibling aitools acceptance tests. sethome home -# Agent detection needs ~/.claude; prefer USERPROFILE on Windows. -mkdir -p "${USERPROFILE:-$HOME}/.claude" +# Detect Cursor, a skills-only agent (no databricks plugin), so update exercises +# the raw-skill prune path without shelling out to a plugin-capable agent's CLI. +# A plugin agent (e.g. Claude Code) would run `claude plugin install` during +# update, making the output depend on whether `claude` is on the host PATH. +# sethome sets HOME on Windows too, so $HOME is enough here. +mkdir -p "$HOME/.cursor" title "install two skills" trace $CLI experimental aitools install --skills-only --global