mirror of
https://github.com/sst/opencode.git
synced 2025-08-28 00:44:14 +00:00
docs: share page hide patch part
This commit is contained in:
parent
4506e5a824
commit
99dfe65862
1 changed files with 1 additions and 0 deletions
|
@ -342,6 +342,7 @@ export default function Share(props: {
|
|||
msg.parts.filter((x, index) => {
|
||||
if (x.type === "step-start" && index > 0) return false
|
||||
if (x.type === "snapshot") return false
|
||||
if (x.type === "patch") return false
|
||||
if (x.type === "step-finish") return false
|
||||
if (x.type === "text" && x.synthetic === true) return false
|
||||
if (x.type === "tool" && x.tool === "todoread") return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue