# @univerjs/action-recorder

> Language fallback: requested `zh-CN`; content is `en-US`.

- Human documentation: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/action-recorder](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/action-recorder)

- Agent Markdown: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/action-recorder.md](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/action-recorder.md)

- Requested language: `zh-CN`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [packages/plugins/univerjs/action-recorder.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/packages/plugins/univerjs/action-recorder.mdx)

---

Record and replay user actions in Univer.

```typescript
// [!code word:UniverActionRecorderPlugin]
// [!code word:IUniverActionRecorderConfig]
import { UniverActionRecorderPlugin } from '@univerjs/action-recorder'

univer.registerPlugin(UniverActionRecorderPlugin, IUniverActionRecorderConfig)
```

## Entry Points

* Locale: `@univerjs/action-recorder/locale/*`

## IUniverActionRecorderConfig

```ts
import type { MenuConfig } from '@univerjs/ui'

export interface IUniverActionRecorderConfig {
  menu?: MenuConfig
  replayOnly?: boolean
}
```
