ClaudeMods
☰
ZH-TW
● — 人在線上 · 瀏覽 — 次
贊助提交作品
Reddit 貼文 · 發布者 Fabulous-Confection6

我用 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]

其他同名作品

更多類似作品