File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ pub struct AvailableCommand {
230230#[ cfg( feature = "unstable" ) ]
231231pub enum AvailableCommandInput {
232232 /// All text that was typed after the command name is provided as input.
233+ #[ schemars( rename = "UnstructuredCommandInput" ) ]
233234 Unstructured {
234235 /// A brief description of the expected input
235236 hint : String ,
Original file line number Diff line number Diff line change 209209 }
210210 },
211211 "required" : [" hint" ],
212- "title" : " unstructured " ,
212+ "title" : " UnstructuredCommandInput " ,
213213 "type" : " object"
214214 }
215215 ]
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export type AgentResponse =
295295 | LoadSessionResponse
296296 | PromptResponse ;
297297export type AuthenticateResponse = null ;
298- export type AvailableCommandInput = Unstructured ;
298+ export type AvailableCommandInput = UnstructuredCommandInput ;
299299export type LoadSessionResponse = null ;
300300/**
301301 * All possible notifications that an agent can send to a client.
@@ -861,7 +861,7 @@ export interface AvailableCommand {
861861/**
862862 * All text that was typed after the command name is provided as input.
863863 */
864- export interface Unstructured {
864+ export interface UnstructuredCommandInput {
865865 /**
866866 * A brief description of the expected input
867867 */
@@ -1169,7 +1169,7 @@ export const promptResponseSchema = z.object({
11691169} ) ;
11701170
11711171/** @internal */
1172- export const unstructuredSchema = z . object ( {
1172+ export const unstructuredCommandInputSchema = z . object ( {
11731173 hint : z . string ( ) ,
11741174} ) ;
11751175
@@ -1352,7 +1352,7 @@ export const promptCapabilitiesSchema = z.object({
13521352} ) ;
13531353
13541354/** @internal */
1355- export const availableCommandInputSchema = unstructuredSchema ;
1355+ export const availableCommandInputSchema = unstructuredCommandInputSchema ;
13561356
13571357/** @internal */
13581358export const planEntrySchema = z . object ( {
You can’t perform that action at this time.
0 commit comments