ci: the agent pane page ships the Inspector's ContextSection.css (base red since #23789)

Merged
TE
14d ago
+2-1

What

#23789 added webviews/src/agent-session/acpmux/inspector/ContextSection.css (imported by ContextSection.tsx) but scripts/cmux-next/build-agent-pane-web.sh does not inline it. The script's imported-sheets check then stops the web step of every fleet app build on feat-cmux-next:

error: the agent pane imports webviews/src/agent-session/acpmux/inspector/ContextSection.css but build-agent-pane-web.sh does not add it to the page's styles

(fleet build job c1b9e21094ac3bbb5c792890, a capture build for #23883). This adds the sheet beside inspector.css. With the sheet on the page, webviews/test/agent-pane-no-capsules.test.ts sees the context section's 6 px meter (.acpmux-chat-inspector-context__bar, 3 px radius) as a capsule; it is a progress bar like .acpmux-context-bar, so it joins that test's capsules-by-nature list.

Tests

Observed / Not run

  • Observed: on this branch scripts/cmux-next/build-agent-pane-web.sh --check prints "agent pane web bundle builds" (exit 0). The failure above is the same check on the base.
  • Observed: bun test test/agent-pane-no-capsules.test.ts passes after a local build-agent-pane-web.sh; scripts/web-lint.sh passes.
  • Not run: a full fleet app build at this head.

Changelog

none

🤖 Generated with Claude Code

Agent session: cmux16