max / Z.ai Classic Chat (restore "New Chat" + message Edit)

Install steps: Install a userscript manager, select Install, then open a website matched by the script.

Усерсцрипт Бегиннерс ХОВТО Chrome Edge Firefox

Објављено:

Версион: 1.1.1+c16aae6

Резиме: Restores classic New Chat navigation and re-enables the message edit button in agent and normal chats by patching /api/config and chat detail responses.

Лиценца: MIT

Антифеатуре: неодређено

Source and freshness

The following figures come from the original source and are separate from activity on this site.

Original script: Z.ai Classic Chat (restore "New Chat" + message Edit)

Source version: 1.1.1

Last source check:

Last successful check:

Source daily installs
0
Source total installs
0
OpenUserJS install requests
0

Requests received by this site are not proof that a user completed installation.

Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues

Z.ai updated their UI to route all new conversations through agent mode and removed the message edit button, but the original layout and features are still in the frontend bundle. When the site loads, it calls /api/config. If the response contains features.unified_agent = true, the client hides the standard chat layout and enables agent mode.

This script intercepts the /api/config response to set unified_agent to false, restoring the original sidebar layout with the separate Chat and Agents tabs and their respective New Chat and New Task buttons. It also strips the agent flags from /chats/<id> responses to bring back the message edit button (with the side effect of also working on any tasks in Agent mode). Existing chat threads at /c/<id> continue to load normally.

Оцена: 0