{"version":3,"file":"authorFacade.cjs","names":["Type"],"sources":["../../src/schemas/authorFacade.ts"],"sourcesContent":["import { type Static, Type } from 'typebox';\n\n/** The two stable Pi tools that expose the active Author viewport. */\nexport const AUTHOR_DESCRIBE_TOOL_NAME = 'describe_author_tools' as const;\nexport const AUTHOR_USE_TOOL_NAME = 'use_author_tools' as const;\nexport const AUTHOR_FACADE_TOOL_NAMES = [AUTHOR_DESCRIBE_TOOL_NAME, AUTHOR_USE_TOOL_NAME] as const;\n\nconst AuthorCapabilityNameSchema = Type.String({\n  minLength: 1,\n  maxLength: 30,\n  pattern: '^[a-z][a-z0-9_]*$',\n});\n\n/** Lists the capabilities exposed by the current Author viewport. */\nexport const AuthorDescribeToolsInputSchema = Type.Object({}, { additionalProperties: false });\nexport type AuthorDescribeToolsInput = Static<typeof AuthorDescribeToolsInputSchema>;\n\n/** Invokes one capability exposed by the current Author viewport. */\nexport const AuthorUseToolsInputSchema = Type.Object(\n  {\n    catalogToken: Type.String({ minLength: 1, maxLength: 256 }),\n    name: AuthorCapabilityNameSchema,\n    arguments: Type.Record(Type.String(), Type.Unknown()),\n  },\n  { additionalProperties: false },\n);\nexport type AuthorUseToolsInput = Static<typeof AuthorUseToolsInputSchema>;\n"],"mappings":"yBAGA,MAAa,EAA4B,wBAC5B,EAAuB,mBACvB,EAA2B,CAAC,EAA2B,CAAoB,EAElF,EAA6BA,EAAAA,KAAK,OAAO,CAC7C,UAAW,EACX,UAAW,GACX,QAAS,mBACX,CAAC,EAGY,EAAiCA,EAAAA,KAAK,OAAO,CAAC,EAAG,CAAE,qBAAsB,EAAM,CAAC,EAIhF,EAA4BA,EAAAA,KAAK,OAC5C,CACE,aAAcA,EAAAA,KAAK,OAAO,CAAE,UAAW,EAAG,UAAW,GAAI,CAAC,EAC1D,KAAM,EACN,UAAWA,EAAAA,KAAK,OAAOA,EAAAA,KAAK,OAAO,EAAGA,EAAAA,KAAK,QAAQ,CAAC,CACtD,EACA,CAAE,qBAAsB,EAAM,CAChC"}