Skip to content

feat: add optional Inuyasha startup animation plugin host - #866

Draft
gansx wants to merge 2 commits into
mainfrom
gansx/startup-animation-plugin
Draft

gansx wants to merge 2 commits into
mainfrom
gansx/startup-animation-plugin

Conversation

@gansx

@gansx gansx commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

What changes

  • Adds an optional official startup animation plugin host. When an installed, enabled, verified plugin is present, Ling plays its muted MP4 over the already mounted AppShell; otherwise the existing Canvas windmill remains the fallback.
  • Adds a fixed static plugin manifest/descriptor, a read-only daemon media route, a Web client, a five-second exit limit, reduced-motion handling, skip controls, and a center-out handoff to the live AppShell.
  • Makes the official catalog collector accept the startup plugin only when a pinned stable release is explicitly supplied. The existing three official plugin sources remain required.

Boundaries and impact

  • The plugin cannot load JavaScript, HTML, CSS, or WASM. The daemon checks the official source, current cache pointer, package checksum, fixed contribution and descriptor before serving bytes. The renderer checks media duration before playback and releases its Blob URL.
  • There is no storage migration. Existing installations without the plugin keep the Canvas animation.
  • No copyrighted MP4 is committed. The selected Inuyasha clip was used only in an isolated local preview. The official plugin repository and signed release/catalog asset do not yet exist, so this PR does not make the plugin installable from the public catalog.

Validation

  • corepack pnpm --filter @ling-stack/daemon build:ci
  • corepack pnpm --filter @ling-stack/daemon typecheck:ci
  • node --experimental-strip-types --test packages/daemon/test/plugin-startup-animation.test.ts
  • node --experimental-strip-types --test scripts/ci/daemon-test-platforms.test.ts (portable fixture contract)
  • corepack pnpm --filter @ling-stack/web build:ci
  • corepack pnpm --filter @ling-stack/web lint
  • corepack pnpm check:docs
  • node --experimental-strip-types --test scripts/ci/plugin-catalog-signing.test.ts scripts/ci/plugin-release-sidecar.test.ts
  • Built and CRC-checked local macOS arm64 and Windows x64 plugin ZIPs from the temporary 3.5-second preview clip.
  • In the built-in browser, confirmed playback, the live AppShell handoff, button and Escape skipping, and no console errors at http://127.0.0.1:5173/.

CI Scope

node scripts/ci/classify-scope.mjs --event=pull_request --base=origin/main --head=HEAD selects full with reason CI control changes mixed with shared or unrecognized product inputs. The official release collector and new plugin package template trigger full scope; this PR retains all package, Linux/macOS Daemon, native helper, dependency, security, and release checks. No scope adjustment is proposed.

Remaining release gate

The official plugin repository, distributable video with permission to republish, signed platform Release assets, and catalog pin are required before the public plugin list can offer installation. The local preview is not production acceptance on macOS or Windows installed Desktop builds.

@gansx
gansx marked this pull request as ready for review December 1, 2026 07:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T08:12:40.730863Z 9036726 Draft marked ready
🔒 Security Review ✅ Completed 2026-12-01T08:33:50.152060Z 9036726 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gansx
gansx marked this pull request as draft December 1, 2026 08:19
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