We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f707fb3 commit bbeb579Copy full SHA for bbeb579
packages/opencode/src/cli/cmd/run.ts
@@ -124,7 +124,9 @@ export const RunCommand = cmd({
124
125
if (part.type === "tool" && part.state.status === "completed") {
126
const [tool, color] = TOOL[part.tool] ?? [part.tool, UI.Style.TEXT_INFO_BOLD]
127
- printEvent(color, tool, part.state.title || "Unknown")
+ const title =
128
+ part.state.title || Object.keys(part.state.input).length > 0 ? JSON.stringify(part.state.input) : "Unknown"
129
+ printEvent(color, tool, title)
130
}
131
132
if (part.type === "text") {
0 commit comments