fix(agent): add title field to SDK Agent type definition
The SDK's Agent type definition was missing the `title` field, causing TypeScript errors when accessing item.title in the agent dialog component. **Changes:** - Added optional `title?: string` field to Agent type in SDK This aligns the SDK type with the config schema definition where title was already added. Fixes typecheck failure in PR #13839 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>pull/13839/head
parent
a55eb53a24
commit
d7b3511689
|
|
@ -2211,6 +2211,7 @@ export type Command = {
|
|||
|
||||
export type Agent = {
|
||||
name: string
|
||||
title?: string
|
||||
description?: string
|
||||
mode: "subagent" | "primary" | "all"
|
||||
native?: boolean
|
||||
|
|
|
|||
Loading…
Reference in New Issue