mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
ignore: share version
This commit is contained in:
parent
e78d3b54bf
commit
f1f3f8d12c
2 changed files with 11 additions and 11 deletions
|
|
@ -801,7 +801,9 @@ export default function Share(props: {
|
|||
<div data-stat-icon title="opencode">
|
||||
<IconOpencode width={16} height={16} />
|
||||
</div>
|
||||
<span>v${store.info?.version}</span>
|
||||
<Show when={store.info?.version} fallback="v0.0.1">
|
||||
<span>v${store.info?.version}</span>
|
||||
</Show>
|
||||
</li>
|
||||
</ul>
|
||||
</Show>
|
||||
|
|
@ -1261,9 +1263,9 @@ export default function Share(props: {
|
|||
const path = createMemo(() =>
|
||||
toolData()?.args.path !== data().rootDir
|
||||
? stripWorkingDirectory(
|
||||
toolData()?.args.path,
|
||||
data().rootDir,
|
||||
)
|
||||
toolData()?.args.path,
|
||||
data().rootDir,
|
||||
)
|
||||
: toolData()?.args.path,
|
||||
)
|
||||
|
||||
|
|
@ -1620,7 +1622,7 @@ export default function Share(props: {
|
|||
msg.role === "assistant" &&
|
||||
part.type === "tool-invocation" &&
|
||||
part.toolInvocation.toolName ===
|
||||
"todowrite" &&
|
||||
"todowrite" &&
|
||||
part
|
||||
}
|
||||
>
|
||||
|
|
@ -1686,7 +1688,7 @@ export default function Share(props: {
|
|||
msg.role === "assistant" &&
|
||||
part.type === "tool-invocation" &&
|
||||
part.toolInvocation.toolName ===
|
||||
"webfetch" &&
|
||||
"webfetch" &&
|
||||
part
|
||||
}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue