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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
@univerjs/action-recorder
@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.