Skip to content

Commit b6ab213

Browse files
committed
fix copy command to include full agent id
1 parent 5f15436 commit b6ab213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/app/store/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,14 @@ const AgentStorePage = () => {
240240
<button
241241
onClick={() => {
242242
navigator.clipboard.writeText(
243-
`codebuff --agent ${agent.id}`
243+
`codebuff --agent ${agent.publisher.id}/${agent.id}@${agent.version}`
244244
)
245245
toast({
246-
description: `Agent run command copied to clipboard:\n"codebuff --agent ${agent.id}"`,
246+
description: `Agent run command copied to clipboard:\n"codebuff --agent ${agent.publisher.id}/${agent.id}@${agent.version}"`,
247247
})
248248
}}
249249
className="p-1 hover:bg-muted/50 rounded transition-colors"
250-
title={`Copy: codebuff --agent ${agent.id}`}
250+
title={`Copy: codebuff --agent ${agent.publisher.id}/${agent.id}@${agent.version}`}
251251
>
252252
<Copy className="h-3 w-3 text-muted-foreground hover:text-foreground" />
253253
</button>

0 commit comments

Comments
 (0)