# Feishu New Topic

That is the difference from /new, which interrupts the running turn and clears the conversation.

- Type: Plugin
- Version: 0.3.5
- Updated: 22 Nov 2026
- Publisher: kaigregliu
- Category: Platform

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Inside a topic the trigger is stripped, because Feishu topics do not nest; if topic creation fails the message is dispatched normally with a note. Disclosure — Feishu/Lark only.

Keeps a 40-entry message-id → thread-id dedupe map in plugin state. Appended notes are Chinese-only.

## What you need first

- Requires plugins.isolation: in_process.

## How to set it up

Feishu/Lark only: a message starting with (or the spoken phrase 开启一个新话题) opens a new Feishu topic on that message, which Ulpi turns into a new session — a second lane, while the session that was already running keeps running with its turn untouched.

```
#new 
```

That is the difference from, which interrupts the running turn and clears the conversation.

```
/new
```

Hooks (runs before gateway auth) and checks the sender itself with the gateway's authorization probe; unauthorised senders, in-topic messages and cached duplicates cause no calls.

```
pre_gateway_dispatch
```

For an authorised message it makes two Feishu OpenAPI calls through the receiving bot's own client (messages/{id}/reply with reply_in_thread, retried up to three times, then messages/{id}/delete of the one-character placeholder), sets the message's thread id so Ulpi routes it to a new session, and strips the trigger from the text.

```
#new
```

Reaches gateway/adapter internals (,, the Feishu adapter's and ), so a core refactor can stop topic creation (the message is then dispatched normally with a note).

```
_is_user_authorized_for_source
```

```
_delivery_adapter_for
```

```
_client
```

```
_run_blocking
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Platform

- [fluxer-platform](https://www.ulpi.io/en/marketplace/plugins/fluxer-platform): Fluxer gateway adapter for Ulpi.
- [fmsg-platform](https://www.ulpi.io/en/marketplace/plugins/fmsg-platform): fmsg platform adapter for Ulpi.
- [Gadget](https://www.ulpi.io/en/marketplace/plugins/gadget): Talk to your Ulpi from small ESP32 devices with a screen, microphone and speaker: hold a button, ask, and hear the answer.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
