← Plugins

Merge thinking into tool groups

Folds thinking rows between tool calls into the collapsed tool call group, and thoughts in a row into one group

$ clisbot plugin add ragokan/merge-thinking
Report a bug
ragokanUtils0installs16e714b6c3c2Source
Merge thinking into tool groups screenshot 1Merge thinking into tool groups screenshot 2

Folds the thinking rows around tool calls into the collapsed tool call group, so a turn that alternates thinking and commands shows one "Thought 4 times and ran 4 commands" row instead of a Thinking row before every command. Expand the group to read each thought in order between the commands. Thinking that ends a run of tool calls, such as the thought before the reply or the one being written, joins the group too, and the group shows its spinner while that thought streams. Two or more thoughts in a row with no tool call next to them, such as several Thinking rows before a reply, fold into one "Thought 4 times" row; a single thought on its own stays as it is.

The plugin SDK has no tool call grouping or label API yet, so the plugin finds the app's own grouping functions and translation function among the app's loaded code and wraps them. It works the same in the desktop, web, iOS and Android apps, and may stop working after a Paseo update. A chat already on screen when the plugin loads merges once its next item arrives or it is opened again. It applies when Settings → Chat → Tool call display is Summary; Full detail shows every row as before. The thought count is worded in English in every language. Thoughts inside a group start collapsed even when thinking is set to show expanded.