Skip to content

Commit d185550

Browse files
Add hint property to PublishAgentsErrorResponse schema
This enables the npm-app CLI to display helpful hints when agent publishing fails, improving the developer experience. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent cf37765 commit d185550

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

common/src/types/api/agents/publish.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const publishAgentsErrorResponseSchema = z.object({
2727
success: z.literal(false),
2828
error: z.string(),
2929
details: z.string().optional(),
30+
hint: z.string().optional(),
3031
availablePublishers: z
3132
.object({
3233
id: z.string(),

0 commit comments

Comments
 (0)