diff options
| author | Dax Raad <[email protected]> | 2025-06-19 09:59:12 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-19 09:59:44 -0400 |
| commit | 26bab00dabb6d20c9fd80a4873642c4df1b3f4b9 (patch) | |
| tree | b3a53bc435c1142d26e9dc3410b9ac053e0c09e1 /packages/web/src/components | |
| parent | 568c04753ec820e6c0c7c6b15bf835b889bb8af7 (diff) | |
| download | opencode-26bab00dabb6d20c9fd80a4873642c4df1b3f4b9.tar.gz opencode-26bab00dabb6d20c9fd80a4873642c4df1b3f4b9.zip | |
remove opencode_ prefixes from tool names. unfortunately this will break
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
Diffstat (limited to 'packages/web/src/components')
| -rw-r--r-- | packages/web/src/components/Share.tsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx index a76de4fcb..12a734d13 100644 --- a/packages/web/src/components/Share.tsx +++ b/packages/web/src/components/Share.tsx @@ -859,7 +859,7 @@ export default function Share(props: { (partIndex() > 0 || !msg.metadata?.assistant)) || (msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_todoread") + part.toolInvocation.toolName === "todoread") ) return null @@ -1072,7 +1072,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_grep" && + part.toolInvocation.toolName === "grep" && part } > @@ -1175,7 +1175,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_glob" && + part.toolInvocation.toolName === "glob" && part } > @@ -1253,7 +1253,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_list" && + part.toolInvocation.toolName === "list" && part } > @@ -1322,7 +1322,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_read" && + part.toolInvocation.toolName === "read" && part } > @@ -1417,7 +1417,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_write" && + part.toolInvocation.toolName === "write" && part } > @@ -1503,7 +1503,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_edit" && + part.toolInvocation.toolName === "edit" && part } > @@ -1577,7 +1577,7 @@ export default function Share(props: { when={ msg.role === "assistant" && part.type === "tool-invocation" && - part.toolInvocation.toolName === "opencode_bash" && + part.toolInvocation.toolName === "bash" && part } > @@ -1620,7 +1620,7 @@ export default function Share(props: { msg.role === "assistant" && part.type === "tool-invocation" && part.toolInvocation.toolName === - "opencode_todowrite" && + "todowrite" && part } > @@ -1686,7 +1686,7 @@ export default function Share(props: { msg.role === "assistant" && part.type === "tool-invocation" && part.toolInvocation.toolName === - "opencode_webfetch" && + "webfetch" && part } > |
