Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c0404bc. Configure here.
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vjs-registry ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (18)
Players (5)
Skins (29)
UI Components (62)
⚛️ @videojs/react — no changesPresets (7)
Media (22)
Extensions (2)
Players (5)
Skins (18)
UI Components (39)
🧩 @videojs/core — no changesEntries (76)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (13)
📦 @videojs/cdn — no changes📦 @videojs/cloudflare-video — no changes📦 @videojs/dash-video — no changes📦 @videojs/google-cast — no changes📦 @videojs/hlsjs-video — no changes📦 @videojs/media — no changesEntries (3)
📦 @videojs/mux — no changes📦 @videojs/mux-audio — no changesEntries (2)
📦 @videojs/mux-data — no changes📦 @videojs/mux-video — no changesEntries (2)
📦 @videojs/native-hls-video — no changes📦 @videojs/shaka-video — no changes📦 @videojs/spf — no changesEntries (7)
📦 @videojs/spotify-audio — no changes📦 @videojs/tiktok-video — no changes📦 @videojs/twitch-video — no changes📦 @videojs/other — no changesEntries (3)
📦 @videojs/vimeo-video — no changes📦 @videojs/wistia-video — no changesEntries (2)
📦 @videojs/youtube-video — no changesℹ️ How to interpretEach entry is independently bundled, minified, and brotli-compressed. Initial size includes its static import graph; lazy dynamic chunks are reported separately. Entries are not additive because their dependency graphs overlap. Preset rows represent realistic combined bundles. Changes of 300 B or less across initial, lazy, and total size are collapsed, not discarded. Run |
…he decision guide The agents init decision guide left three common situations to guesswork: a workspace with several apps, a project that already runs Video.js 8, and the cost of owning editable skin source. Say what to do in each, give agents a concrete question with the default they would otherwise use, and say what to report when they cannot ask.
c0404bc to
9eb91dd
Compare
@videojs/cdn
@videojs/cli
@videojs/core
@videojs/element
@videojs/html
@videojs/media
@videojs/react
@videojs/spf
@videojs/store
@videojs/utils
@videojs/cloudflare-video
@videojs/dash-video
@videojs/hlsjs-video
@videojs/mux-audio
@videojs/mux-video
@videojs/native-hls-video
@videojs/shaka-video
@videojs/spotify-audio
@videojs/tiktok-video
@videojs/twitch-video
@videojs/vimeo-video
@videojs/wistia-video
@videojs/youtube-video
@videojs/google-cast
@videojs/mux-data
commit: |
|
Moved to videojs/video.js#9472 |

Fixes videojs/video.js#9414
Summary
The
agents initdecision guide didn't say what to do in a workspace with several apps, in a project that already runs Video.js 8, or about the cost of owning editable skin source. It also never said what to ask or what to do without an answer. In the rc.4 eval, agents guessed: they built new players on Video.js 8, picked an app by accident, and rarely asked. Opus 5.5 asked the needed question in 4 of 12 attempts and GPT-6 Sol in none. Each of those situations now gets a default, a short question with that default, and what to report when the agent can't ask.Changes
package.jsonwhere it runs. If the request doesn't pick one, the agent asks which app should get the player. Without an answer, it uses the app that serves the page and reports that choice.The site's agent-facing installation section renders the same guide, so it picks up the changes too.
Testing
pnpm -F @videojs/installation test, with newinstallationDecisionOrderForcases for each situation and for the guides that fix the install method.agents initwith no flags against the built package and read the full guide.The skill makes the matching Video.js 8 change in videojs/skills#14.
Stacked on #3104.
🤖 Generated with Claude Code
Note
Low Risk
Changes are agent-facing guidance strings and tests only; no install execution or API behavior is modified.
Overview
Expands the
agents init/ installation decision guide (installationDecisionOrderFor) so agents stop guessing in ambiguous setups.Multi-app workspaces: Inspect the project now says to run from the named app’s directory, ask which app gets the player when unclear, and default to the app that serves the described page.
Video.js 8 coexistence: Adds a Check for Video.js 8 step (right after inspect) to install Video.js 10 for new players, leave existing v8 players alone, migrate only on request, and default to adding v10 while telling the user both versions may run.
Shadcn vs packaged: When both install methods are offered, Choose how to install appends guidance on owning editable skin source (no auto-upgrades on Video.js bumps), a clarifying question, and default to packaged modules.
Clarified defaults elsewhere: Choose the starting point gets an explicit question/default; Return one explicit plan batches open questions in one message with stated defaults and requires reporting defaults when the agent cannot ask.
Tests lock in the new copy and conditional
sourceTradeOffbehavior.Reviewed by Cursor Bugbot for commit 9eb91dd. Bugbot is set up for automated code reviews on this repo. Configure here.