Skip to content

refactor(sideshow): rename a2ui-pane to sideshow - #98

Open
gspencergoog wants to merge 1 commit into
mainfrom
refactor/rename-to-sideshow
Open

gspencergoog wants to merge 1 commit into
mainfrom
refactor/rename-to-sideshow

Conversation

@gspencergoog

@gspencergoog gspencergoog commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Renames the a2ui-pane plugin in a2ui-project/labs to Sideshow across directories, workspace packages, MCP tools, custom elements, environment variables, bundled skill and rule files, scripts, docs, and GitHub workflows. Adds a custom assets/logo.svg icon wired into plugin.json and scripts/package.sh. Builds on #34 with no backward-compatibility shims because the package has not been published yet.

Reviewer Focus

  • Check the design of the SVG icon for Sideshow (Shows up in extensions menu)
  • plugin/sideshow/packages/sidecar/src/server.ts (defaultStaticDir): verifies candidate static directory resolution moved from pane / packages/pane-app/dist to app / packages/app/dist, matching scripts/install.sh and scripts/package.sh.
  • plugin/sideshow/packages/mcp-server/src/template-registry.ts and plugin/sideshow/packages/mcp-server/src/server.ts: verifies the @sideshow template header parser and skills/sideshow/templates lookup path.
  • plugin/sideshow/plugin/plugin.json, plugin/sideshow/plugin/assets/logo.svg, and plugin/sideshow/scripts/package.sh: verifies the custom plugin logo is referenced and staged into release archives.
  • .github/workflows/presubmit-plugin-sideshow.yml and .github/workflows/release-plugin-sideshow.yml: verifies CI path triggers, sideshow-v* release tags, and sideshow.{tar.gz,zip} archive names.
  • Mechanical scope/import renames across packages/*/{src,tests} and regenerated yarn.lock can be skimmed.

Changes

  • Moved plugin/a2ui-pane/ to plugin/sideshow/, packages/pane-app/ to packages/app/, plugin/sidecars/a2ui-pane/ to plugin/sidecars/sideshow/, plugin/skills/genui/ to plugin/skills/sideshow/, plugin/rules/genui.md to plugin/rules/sideshow.md, a2ui-pane-view.{ts,test.ts} to sideshow-view.{ts,test.ts}, and the plugin workflows to *-plugin-sideshow.yml.
  • Renamed the Yarn root to sideshow-root, workspace packages to @sideshow/{protocol,theme,renderer,app,embed,sidecar,mcp-server}, and regenerated plugin/sideshow/yarn.lock.
  • Renamed the MCP server to sideshow, MCP tools to sideshow_instructions, render_sideshow, and await_sideshow_action, sidecar URLs/IDs to sidecar://sideshow/sideshow/, custom element/class to <sideshow-view> / SideshowView (#sideshow-view), storage/state keys to sideshow:*, and all 14 A2UI_PANE_* environment variables to SIDESHOW_*.
  • Renamed the bundled skill and rule to sideshow, updated all 15 .a2ui template headers from // @genui to // @sideshow, and updated template fixtures and goldens.
  • Added plugin/sideshow/plugin/assets/logo.svg, wired "logo": "assets/logo.svg" in plugin/plugin.json, and staged plugin/assets/ in scripts/package.sh.
  • Updated AGENTS.md, plugin/README.md, .prettierignore, and all plugin documentation to reference Sideshow.
  • Added unit tests for #a2ui-embed-root sideshow-view in embed-writer.test.ts and defaultStaticDir() in packages/sidecar/tests/server.test.ts.

Impact & Risks

  • Breaking change (unreleased package): Plugin ID, MCP tool names, sidecar URL, npm scope, environment variables, release tags, and install path (~/.gemini/config/plugins/sideshow) all change with no shims. Existing local dogfood installs should uninstall a2ui-pane and install sideshow.
  • A2UI protocol identifiers (@a2ui/web_core, @a2ui/lit, @a2ui/markdown-it, A2uiActionDetails, A2uiServerMessage, <a2ui-action>, a2ui-link-click, --a2ui-* tokens, and catalog schemas) are unchanged.

Testing

  1. Verified workspace install, build, full unit and real-worker template golden tests (709 tests across 47 test files, 0 failures), and ESLint:
    • cd plugin/sideshow && yarn install --immutable && yarn build && SIDESHOW_PYTHON=<venv-python> yarn test && yarn lint
  2. Verified release archive build and layout via ./scripts/package.sh --skip-tests and tar -ztvf dist/sideshow.tar.gz (assets/logo.svg, sidecars/sideshow/dist/app/index.html, skills/sideshow/SKILL.md, rules/sideshow.md, mcp_config.json).
  3. Verified repo formatting and license headers via ./scripts/fix_format.sh and ./scripts/fix_licenses.py --check.
  4. Confirmed zero residual a2ui-pane, pane-app, dist/pane, render_a2ui, a2ui_instructions, await_a2ui_action, or genui references outside third_party/ and samples/.

Rename the unreleased a2ui-pane plugin in a2ui-project/labs to Sideshow across directories, @sideshow/* workspace packages, packages/app, MCP tools (sideshow_instructions, render_sideshow, await_sideshow_action), <sideshow-view> / SideshowView, SIDESHOW_* environment variables, bundled sideshow skill/rule and @sideshow templates, install/package scripts, docs, and GitHub workflows. Add plugin/assets/logo.svg and wire it into plugin.json and package.sh.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a comprehensive renaming of the a2ui-pane plugin and its associated packages, tools, environment variables, and skills to sideshow. Key changes include renaming packages to use the @sideshow scope, updating MCP tools (e.g., render_a2ui to render_sideshow), renaming the genui skill to sideshow, and updating all references in configuration files, scripts, tests, and documentation. Additionally, a new logo asset has been added for the plugin. I have no further feedback to provide as the changes are consistent and complete.

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