Files
moeka-project/packages/vishot-runtime
RainbowBird 007fae6810 chore: update package dependencies and remove specific catalog references
- Removed specific catalog references for '@unocss/core', 'es-toolkit', 'nanoid', and 'valibot' in pnpm-workspace.yaml and various service package.json files.
- Updated versions for '@vueuse/core', 'es-toolkit', 'nanoid', 'reka-ui', and 'valibot' to their latest compatible versions.
- Cleaned up unused catalog entries in pnpm-workspace.yaml.
2026-06-07 19:45:28 +08:00
..

Vishot Runtime

Shared runtime contracts and Vue bindings for Vishot scene capture.

Purpose

This package owns the browser-side runtime surface used by scene packages. It provides:

  • readiness helpers via markScenarioReady() and resetScenarioReady()
  • the shared ScenarioCaptureRootProps type
  • framework-specific bindings through subpath exports such as @proj-airi/vishot-runtime/vue
    • Vue bindings include ScenarioCanvas, ScenarioCaptureRoot, useSceneReady()
    • Vue bindings also export screen-specific components/composables (router, navigator, markup, and navigation helpers)

Usage

import { markScenarioReady, resetScenarioReady } from '@proj-airi/vishot-runtime'
import {
  ScenarioCanvas,
  ScenarioCaptureRoot,
  ScreenNavigator,
  ScreenRouterProvider,
  useSceneNavigation,
} from '@proj-airi/vishot-runtime/vue'

Keep framework-agnostic contracts at the package root and import Vue SFC bindings from ./vue.

import {
  markScenarioReady,
  resetScenarioReady,
} from '@proj-airi/vishot-runtime'