LitSquare Stage Integrations
This repository packages the shared litsquare-stage-animation plugin for Codex and Claude Code. It gives both clients reusable skills and the local MCP connection needed to create code-first LitSquare Stage animations and render them through the LitSquare Stage macOS app.
Layout
.agents/plugins/marketplace.json
.claude-plugin/marketplace.json
plugins/litsquare-stage-animation/.codex-plugin/plugin.json
plugins/litsquare-stage-animation/.claude-plugin/plugin.json
plugins/litsquare-stage-animation/.mcp.json
plugins/litsquare-stage-animation/skills/
plugins/litsquare-stage-animation/prompts/
plugins/litsquare-stage-animation/references/
plugins/litsquare-stage-animation/scripts/
plugins/litsquare-stage-animation/templates/
Both marketplaces resolve the same shared plugin payload. The shared MCP configuration explicitly declares its HTTP transport so both clients can load it while skills, scripts, templates, and references stay single-source.
Install in Codex
From the published marketplace:
codex plugin marketplace add thierryc/litsquare-stage-integrations
codex plugin add litsquare-stage-animation@litsquare-stage
Start a new Codex task after installation. To refresh an existing installation:
codex plugin marketplace upgrade litsquare-stage
codex plugin add litsquare-stage-animation@litsquare-stage
Verify the reported version with codex plugin list --json.
Install in Claude Code
claude plugin marketplace add thierryc/litsquare-stage-integrations
claude plugin install litsquare-stage-animation@litsquare-stage --scope user
Run /reload-plugins inside Claude Code after installation.
Install in Cursor
Use Add Stage in the native app's Connections tab. It installs all eight bundled skills and the loopback MCP connection under your user account. Reload Cursor and start a new chat in a project folder. Use Update Stage when the app offers a newer bundled version.
Runtime Requirement
This release requires the LitSquare Stage macOS app. The bundled skills must verify that the session is running on macOS and that the app is installed before attempting to render.
Preflight treats the verified native litsquare-stage-macos service as authoritative. A running development build outside /Applications may pass with a debug_app_unregistered warning; unavailable or incompatible services return a precise remediation message.
Custom project authoring requires Node.js 22 or later and pnpm 10.29.2. When pnpm is unavailable, use npx --yes [email protected] for project commands. The native app's local sample runs without Node.js.
Future Service Path
The private litsquare-stage-chromium renderer defines the same render-oriented MCP concepts, but this plugin intentionally does not activate that path. The distributed plugin remains a macOS companion integration.
Development Checks
python3 -m pip install -r release/requirements-validation.txt
python3 release/scripts/validate_plugin.py plugins/litsquare-stage-animation
python3 -m unittest discover -s tests -p 'test_*.py'
claude plugin validate .
node --check plugins/litsquare-stage-animation/scripts/check-stage-app.mjs
node --check plugins/litsquare-stage-animation/scripts/render-stage-project.mjs
node --check plugins/litsquare-stage-animation/scripts/get-render-progress-state.mjs
node --check plugins/litsquare-stage-animation/scripts/make-render-progress-preview-url.mjs
node --check plugins/litsquare-stage-animation/scripts/stage-runtime-release.mjs
node --check plugins/litsquare-stage-animation/scripts/sync-template-runtime.mjs
node --check plugins/litsquare-stage-animation/scripts/check-template-portability.mjs
node --check plugins/litsquare-stage-animation/scripts/test-anotherplanet-smoke.mjs
node --test tests/*.test.mjs
node plugins/litsquare-stage-animation/scripts/make-render-progress-preview-url.mjs
Before publishing the plugin, run the isolated template gate:
node plugins/litsquare-stage-animation/scripts/check-template-portability.mjs
The preview URL command fetches the canonical compact widget and current progress state from the running LitSquare Stage app. In-conversation rendering requires the app JSON-RPC MCP bridge to expose litsquare_stage_start_video_render, litsquare_stage_start_sequence_render, litsquare_stage_render_progress, the private app action litsquare_stage_open_render_artifact, and ui://widget/litsquare-stage-render-progress-v4.html through standard _meta.ui.resourceUri plus the openai/outputTemplate compatibility alias.
The render progress UI is served as an MCP widget resource by the LitSquare Stage macOS app. It is not installed through a ChatGPT app Connect redirect.
Anotherplanet Smoke Render
With the LitSquare Stage macOS app running on http://127.0.0.1:7460, render the local stages/anotherplanet-cube-litsquare-stage smoke project through the plugin: