
我用 Claude Code 构建了一个 Claude Code 模组,将工具调用放在右侧,就像聊天的另一侧一样(prismantis 0.10.0)
prismantis 0.10.0 是一个免费的 MIT Claude Code 插件,重新组织了会话记录:Claude 的文本保持左对齐,而工具调用移到右侧,变暗并限制在 60% 宽度内,类似于聊天应用。它添加了提示气泡,并提供了四种工具样式(chat、tree-dim、tree-bold、classic)和四种提示样式(bubble、bar、chevron、off),可在 /config 中选择,还支持主题化的 markdown、表格、mermaid 图表、条形图、复制按钮和 RTL 支持。

关于这个 mod
作者描述了使用 Claude Code 本身构建 prismantis 的过程,起因是对长会话中工具调用和助手文本在视觉上无法区分感到沮丧。在 0.10.0 中,工具调用被移到右侧并变暗,而 Claude 的句子保留在左侧,行宽限制在终端宽度的 60%,这样长路径不会占据屏幕。用户提示有自己的气泡,方便回滚时查找。每个功能都附带四种样式,通过 /config 选择:toolStyle 可以是 chat(默认)、tree-dim、tree-bold 或 classic;promptStyle 可以是 bubble(默认)、bar、chevron 或 off,其中 classic 和 off 恢复之前的外观。通过在 Terminal.app 中运行真实的 Haiku 会话并对每种样式截图来验证渲染效果,这暴露了诸如粗体+变暗在大多数终端中渲染过亮的问题。该插件还支持主题化的 markdown、表格、mermaid 图表、条形图、复制按钮以及希伯来语/阿拉伯语从右到左文本。安装通过插件市场命令进行,仓库中包含每种样式的截图。
安装
安装方法请查看原始来源。
原文 / README
Last week I was scrolling a long Claude Code session and couldn't tell what Claude said from what it ran. Every line starts with the same dot. "Read 1 file", "Now I'll read the roster", "Read 1 file", same color, same column. A wall of dots. So in prismantis 0.10.0 tool calls move to the right, dimmed, and Claude's sentences stay on the left. It reads like WhatsApp: Claude talks on one side, the tools answer on the other. Rows are capped at 60% of the width so a long path doesn't eat the screen. I built prismantis with Claude Code. I described the look I wanted, Claude Code wrote the render code and the tests, then ran real Haiku sessions in Terminal.app and screenshotted each style so I could pick. Every style in the README is one of those screenshots. It also caught its own mistakes, like bold plus dim rendering bright in most terminals, which is why the dim styles drop bold. The GIF is those real sessions, before and after, same prompt. Also new: your own prompts get a bubble, so scrolling back you find what you asked in a second. Bar and chevron if a box is too much. I couldn't pick one look, so each feature has 4 and you choose in /config. toolStyle is chat (default), tree-dim, tree-bold or classic. promptStyle is bubble (default), bar, chevron or off. classic and off give you the old look back exactly. prismantis is free and MIT. It already did themed markdown, tables, mermaid diagrams and bar charts in the terminal, copy buttons and Hebrew/Arabic right to left. To try it: /plugin marketplace add NahumLitvin/prismantis /plugin install prismantis@prismantis Repo with screenshots of every style: https://github.com/NahumLitvin/prismantis Which style did you end up on? I went back and forth between chat and tree-dim for a whole morning. submitted by /u/Fabulous-Confection6 [link] [comments]
其他同名作品
- 我用 Claude Code 做了一个 Claude Code 模组,让工具调用像聊天的另一侧一样靠右(prismantis 0.10.0)Fabulous-Confection6 · ★ 0
