Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

1.6 KB
Raw Blame

@univerjs/action-recorder

npm version license downloads

@univerjs/action-recorder records user actions in Univer and can replay them for debugging, demos, or automated workflow reproduction.

Package Overview

Package UMD global CSS Locales Facade entry Worker entry
@univerjs/action-recorder UniverActionRecorder Yes Yes No No

Installation

pnpm add @univerjs/action-recorder
# or
npm install @univerjs/action-recorder

Usage

Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.

import '@univerjs/action-recorder/lib/index.css';
import EnUS from '@univerjs/action-recorder/locale/en-US';
import { UniverActionRecorderPlugin } from '@univerjs/action-recorder';

univer.registerPlugin(UniverActionRecorderPlugin);

// Merge EnUS into your Univer locale map when this package contributes UI text.

Resources