@progress/kendo-react-mcp 1.4.0-dev.efc7fc08.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import{McpServer as ze}from"@modelcontextprotocol/sdk/server/mcp.js";import{StdioServerTransport as Ye}from"@modelcontextprotocol/sdk/server/stdio.js";import{dirname as Le,join as _e}from"path";import{fileURLToPath as qe}from"url";import{loadLicense as De,decodeLicenseKey as Ue,decodeLicenseEvidence as Oe}from"@progress/kendo-licensing/utils";var _=class extends Error{constructor(t){super(t),this.name="LicenseError"}};function Z(e){return e.replace(/^\uFEFF/,"")}async function J(){let e=null,t=null;try{let o=De();if(!o.success)throw new _(o.message);try{e=(await Ue(o.value)).licenses.find(async s=>!!(await Oe(s)).userId)}catch(n){console.log(n.message)}if(!e)return[Z(o.value),null]}catch(o){return t=o.message||"Unknown error loading license.",[null,t]}return[Z(e),null]}import E from"node:fs";import U from"node:path";var q=!1,N=process.env.DEBUG_LOG_FILE,ee=!!(N&&typeof N=="string");if(ee){let e=U.resolve(N),t=U.dirname(e);if(t!=="."&&t!==process.cwd()&&!E.existsSync(t))try{E.mkdirSync(t,{recursive:!0})}catch(o){console.error("Error creating log directory:",o)}if(!E.existsSync(e))try{E.writeFileSync(e,"")}catch(o){console.error("Error creating log file:",o)}}else q=!1;q=ee&&!!N&&E.existsSync(U.resolve(N));function d(...e){if(q&&N){let n=`${new Date().toISOString()}: ${e.join(" ")}
3
- `,s=U.resolve(N);E.appendFile(s,n,r=>{r&&console.error("Error writing to log file:",r)})}}import $e from"@grpc/proto-loader";import O from"@grpc/grpc-js";var $=class{constructor(t,o,n){this.contextApiUrl=t;this.protoPath=o;this.options=n;this.toolNameHeader="assistant";let s=$e.loadSync(this.protoPath,{keepCase:!0,longs:String,enums:String,defaults:!0,oneofs:!0});this.isDev=this.contextApiUrl?.includes("localhost")||this.contextApiUrl?.includes("127.0.0.1"),d("Using ContextApi URl:",this.contextApiUrl);let r=O.loadPackageDefinition(s);this.client=new r.ContextQueryService(this.contextApiUrl||"contextapi.telerik.com:443",this.isDev?O.credentials.createInsecure():O.credentials.createSsl())}async getMetadata(){let[t,o]=this.isDev?"fake_license":await J(),n=process.env.CONTEXTAPI_API_KEY,s=n&&typeof n=="string",r=t&&typeof t=="string";if(!r&&!s&&o)throw new Error(`Failed to authenticate with API key or License key!
2
+ import{McpServer as et}from"@modelcontextprotocol/sdk/server/mcp.js";import{StdioServerTransport as tt}from"@modelcontextprotocol/sdk/server/stdio.js";import{dirname as Ve,join as je}from"path";import{fileURLToPath as He}from"url";import{loadLicense as Le,decodeLicenseKey as Me,decodeLicenseEvidence as _e}from"@progress/kendo-licensing/utils";var _=class extends Error{constructor(t){super(t),this.name="LicenseError"}};function X(e){return e.replace(/^\uFEFF/,"")}async function Z(){let e=null,t=null;try{let o=Le();if(!o.success)throw new _(o.message);try{e=(await Me(o.value)).licenses.find(async s=>!!(await _e(s)).userId)}catch(n){console.log(n.message)}if(!e)return[X(o.value),null]}catch(o){return t=o.message||"Unknown error loading license.",[null,t]}return[X(e),null]}import E from"node:fs";import U from"node:path";var q=!1,v=process.env.DEBUG_LOG_FILE,ee=!!(v&&typeof v=="string");if(ee){let e=U.resolve(v),t=U.dirname(e);if(t!=="."&&t!==process.cwd()&&!E.existsSync(t))try{E.mkdirSync(t,{recursive:!0})}catch(o){console.error("Error creating log directory:",o)}if(!E.existsSync(e))try{E.writeFileSync(e,"")}catch(o){console.error("Error creating log file:",o)}}else q=!1;q=ee&&!!v&&E.existsSync(U.resolve(v));function d(...e){if(q&&v){let n=`${new Date().toISOString()}: ${e.join(" ")}
3
+ `,s=U.resolve(v);E.appendFile(s,n,r=>{r&&console.error("Error writing to log file:",r)})}}import qe from"@grpc/proto-loader";import O from"@grpc/grpc-js";import ne from"path";import te from"fs";import{fileURLToPath as Be}from"url";var Ge=Be(import.meta.url),Ke=ne.dirname(Ge),se={version:"unknown"},oe=ne.resolve(Ke,"../package.json");te.existsSync(oe)&&(se=JSON.parse(te.readFileSync(oe,"utf-8")));var $=class{constructor(t,o,n){this.contextApiUrl=t;this.protoPath=o;this.options=n;this.toolNameHeader="assistant";let s=qe.loadSync(this.protoPath,{keepCase:!0,longs:String,enums:String,defaults:!0,oneofs:!0});this.isDev=this.contextApiUrl?.includes("localhost")||this.contextApiUrl?.includes("127.0.0.1"),d("Using ContextApi URl:",this.contextApiUrl);let r=O.loadPackageDefinition(s);this.client=new r.ContextQueryService(this.contextApiUrl||"contextapi.telerik.com:443",this.isDev?O.credentials.createInsecure():O.credentials.createSsl())}async getMetadata(){let[t,o]=this.isDev?"fake_license":await Z(),n=process.env.CONTEXTAPI_API_KEY,s=n&&typeof n=="string",r=t&&typeof t=="string";if(!r&&!s&&o)throw new Error(`Failed to authenticate with API key or License key!
4
4
 
5
- License Error: ${o}`);let i=new O.Metadata;if(r)try{i.add("x-license-key",t)}catch(u){throw d("Error adding license key to metadata:",u),new Error(`Failed to use license key: ${u.message}`)}return s&&i.add("x-api-key",n),this.options?.libName&&i.add("x-library-name",this.options.libName),i.add("x-tool-name",this.toolNameHeader),i}async query(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.query(t,o,(r,i)=>{r?s(new Error(r)):n(i)})})}async queryCssUtils(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.cssUtilsSearch(t,o,(r,i)=>{r?(d("Error querying CSS Utils:",r),s(new Error(r))):n(i)})})}async queryIconsSearch(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.iconsSearch(t,o,(r,i)=>{r?(d("Error querying Icons Search:",r),s(new Error(r))):n(i)})})}async queryBuildingBlocks(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.buildingBlocksSearch(t,o,(r,i)=>{r?(d("Error querying Building Blocks:",r),s(new Error(r))):n(i)})})}async validateUserLicense(){let t=await this.getMetadata();return new Promise((o,n)=>{this.client.validateUserLicense(null,t,(s,r)=>{s?(d("Error validating user license:",s),n(new Error(s))):o(r)})})}async queryThemeGenerate(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.generateTheme(t,o,(r,i)=>{r?(d("Error querying context API/GenerateTheme:",r),s(new Error(r))):n(i)})})}async recordOrchestratorUserRequest(){let t=await this.getMetadata();return new Promise((o,n)=>{this.client.recordOrchestratorUserRequest(null,t,(s,r)=>{s?(d("Error recording orchestrator user request:",s),n(new Error(s))):o(r)})})}};import{z as B}from"zod";var gt=B.object({user_id:B.string(),user_email:B.string().email()});import{z as p}from"zod";var Me=p.object({Product:p.object({Id:p.number().int(),Code:p.string(),Name:p.string()}),License:p.nullable(p.object({Id:p.number().int(),Name:p.string(),Type:p.string(),Active:p.boolean()})),Availability:p.array(p.object({LicenseStart:p.nullable(p.string().datetime()),LicenseEnd:p.nullable(p.string().datetime())})),IsLicenseAvailable:p.optional(p.boolean())}),At=p.array(Me);async function te(e){let t=process.env.KENDO_MCP_ACCESS;if(t==="true"||t==="1"||t==="full")return"full";if(typeof t=="string"&&(t.toLowerCase()==="agent"||t.toLowerCase()==="assistant"))return t.toLowerCase();let o=await e();return o.toLocaleLowerCase()==="agentic_ui_generator"?"agent":o.toLocaleLowerCase()==="assistant_ui_generator"?"assistant":"none"}var l="Kendo UI for React",I="react",k="kendo",M=["ActionSheet","AIPrompt","Animation","AppBar","ArcGauge","AutoComplete","Avatar","Badge","Barcode","BottomNavigation","Breadcrumb","Button","ButtonGroup","Calendar","Card","Chart","ChartWizard","Chat","Checkbox","Chip","ChipList","ChunkProgressBar","CircularGauge","ColorGradient","ColorPalette","ColorPicker","ComboBox","ContextMenu","ConversationalUI","DataGrid","Grid","DataQuery","DateMath","DateInput","DatePicker","DateRangePicker","DateTimePicker","Dialog","Drag&Drop","Drawer","Drawing","DropDownButton","DropDownList","DropDownTree","Editor","Error","ExcelExport","ExpansionPanel","ExternalDropZone","FileSaver","FileManager","Filter","FlatColorPicker","FloatingActionButton","FloatingLabel","FontIcon","Form","Gantt","Gauge","General","GridLayout","Hint","InlineAIPrompt","Input","Label","LinearGauge","ListBox","ListView","Loader","Map","MaskedTextBox","Menu","MultiColumnComboBox","MultiSelect","MultiSelectTree","MultiViewCalendar","Notification","NumericTextBox","OrgChart","PageTemplates/BuildingBlocks","Pager","PanelBar","PDFProcessing","PDFViewer","PivotGrid","Popover","Popup","ProgressBar","QRCode","RadialGauge","RadioButton","RadioGroup","RangeSlider","Rating","Ripple","Sankey","Scheduler","ScrollView","Signature","Skeleton","Slider","Sortable","Sparkline","SpeechToTextButton","SplitButton","Splitter","Spreadsheet","StackLayout","Stepper","StockChart","SVGIcon","Switch","TabStrip","TaskBoard","TextArea","TextBox","TileLayout","Timeline","TimePicker","Toolbar","Tooltip","TreeList","TreeView","Typography","Upload","VSCodeExtension","Window"];var Be=_e(Le(qe(import.meta.url)),"../proto/service.proto"),L=new $("contextapi.telerik.com:443",Be,{libName:I});var oe=async()=>L.validateUserLicense();import Qe from"fs";import Pe from"path";import{fileURLToPath as We}from"url";import{z as m}from"zod";var T=class{constructor(t,o,n){this.name=t;this.config=o;this.cb=n}register(t){this.server=t,this.server.registerTool(this.name,this.config,this.cb)}hasAccess(t){return!this.config.requiredAccess||this.config.requiredAccess.length===0?!0:t==="full"||this.config.requiredAccess.includes(t)}};var P=(e,t)=>`# ${e.suiteName} - Code Validation & Quality Assurance
5
+ License Error: ${o}`);let i=new O.Metadata;if(r)try{i.add("x-license-key",t)}catch(u){throw d("Error adding license key to metadata:",u),new Error(`Failed to use license key: ${u.message}`)}return s&&i.add("x-api-key",n),this.options?.libName&&i.add("x-library-name",this.options.libName),i.add("x-tool-name",this.toolNameHeader),i}async query(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.query({...t,metadata:{source:"npm",version:se.version,os:process.platform,node_version:process.version}},o,(r,i)=>{r?s(new Error(r)):n(i)})})}async queryCssUtils(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.cssUtilsSearch(t,o,(r,i)=>{r?(d("Error querying CSS Utils:",r),s(new Error(r))):n(i)})})}async queryIconsSearch(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.iconsSearch(t,o,(r,i)=>{r?(d("Error querying Icons Search:",r),s(new Error(r))):n(i)})})}async queryBuildingBlocks(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.buildingBlocksSearch(t,o,(r,i)=>{r?(d("Error querying Building Blocks:",r),s(new Error(r))):n(i)})})}async validateUserLicense(){let t=await this.getMetadata();return new Promise((o,n)=>{this.client.validateUserLicense(null,t,(s,r)=>{s?(d("Error validating user license:",s),n(new Error(s))):o(r)})})}async queryThemeGenerate(t){let o=await this.getMetadata();return new Promise((n,s)=>{this.client.generateTheme(t,o,(r,i)=>{r?(d("Error querying context API/GenerateTheme:",r),s(new Error(r))):n(i)})})}async recordOrchestratorUserRequest(){let t=await this.getMetadata();return new Promise((o,n)=>{this.client.recordOrchestratorUserRequest(null,t,(s,r)=>{s?(d("Error recording orchestrator user request:",s),n(new Error(s))):o(r)})})}};import{z as B}from"zod";var Nt=B.object({user_id:B.string(),user_email:B.string().email()});import{z as p}from"zod";var Fe=p.object({Product:p.object({Id:p.number().int(),Code:p.string(),Name:p.string()}),License:p.nullable(p.object({Id:p.number().int(),Name:p.string(),Type:p.string(),Active:p.boolean()})),Availability:p.array(p.object({LicenseStart:p.nullable(p.string().datetime()),LicenseEnd:p.nullable(p.string().datetime())})),IsLicenseAvailable:p.optional(p.boolean())}),kt=p.array(Fe);async function re(e){let t=process.env.KENDO_MCP_ACCESS;if(t==="true"||t==="1"||t==="full")return"full";if(typeof t=="string"&&(t.toLowerCase()==="agent"||t.toLowerCase()==="assistant"))return t.toLowerCase();let o=await e();return o.toLocaleLowerCase()==="agentic_ui_generator"?"agent":o.toLocaleLowerCase()==="ai_coding_assistants"?"assistant":"none"}var l="Kendo UI for React",I="react",k="kendo",L=["ActionSheet","AIPrompt","Animation","AppBar","ArcGauge","AutoComplete","Avatar","Badge","Barcode","BottomNavigation","Breadcrumb","Button","ButtonGroup","Calendar","Card","Chart","ChartWizard","Chat","Checkbox","Chip","ChipList","ChunkProgressBar","CircularGauge","ColorGradient","ColorPalette","ColorPicker","ComboBox","ContextMenu","ConversationalUI","DataGrid","Grid","DataQuery","DateMath","DateInput","DatePicker","DateRangePicker","DateTimePicker","Dialog","Drag&Drop","Drawer","Drawing","DropDownButton","DropDownList","DropDownTree","Editor","Error","ExcelExport","ExpansionPanel","ExternalDropZone","FileSaver","FileManager","Filter","FlatColorPicker","FloatingActionButton","FloatingLabel","FontIcon","Form","Gantt","Gauge","General","GridLayout","Hint","InlineAIPrompt","Input","Label","LinearGauge","ListBox","ListView","Loader","Map","MaskedTextBox","Menu","MultiColumnComboBox","MultiSelect","MultiSelectTree","MultiViewCalendar","Notification","NumericTextBox","OrgChart","PageTemplates/BuildingBlocks","Pager","PanelBar","PDFProcessing","PDFViewer","PivotGrid","Popover","Popup","ProgressBar","QRCode","RadialGauge","RadioButton","RadioGroup","RangeSlider","Rating","Ripple","Sankey","Scheduler","ScrollView","Signature","Skeleton","Slider","Sortable","Sparkline","SpeechToTextButton","SplitButton","Splitter","Spreadsheet","StackLayout","Stepper","StockChart","SVGIcon","Switch","TabStrip","TaskBoard","TextArea","TextBox","TileLayout","Timeline","TimePicker","Toolbar","Tooltip","TreeList","TreeView","Typography","Upload","VSCodeExtension","Window"];var ze=je(Ve(He(import.meta.url)),"../proto/service.proto"),M=new $("contextapi.telerik.com:443",ze,{libName:I});var ie=async()=>M.validateUserLicense();import ot from"fs";import Oe from"path";import{fileURLToPath as nt}from"url";import{z as m}from"zod";var T=class{constructor(t,o,n){this.name=t;this.config=o;this.cb=n}register(t){this.server=t,this.server.registerTool(this.name,this.config,this.cb)}hasAccess(t){return!this.config.requiredAccess||this.config.requiredAccess.length===0?!0:t==="full"||this.config.requiredAccess.includes(t)}};var P=(e,t)=>`# ${e.suiteName} - Code Validation & Quality Assurance
6
6
 
7
7
  ## Comprehensive Code Validation Checklist
8
8
  Execute these validation steps systematically to ensure high-quality, maintainable code:
@@ -350,7 +350,7 @@ After gathering information:
350
350
  **Important Notes:**
351
351
  - These tools provide documentation and guidance, not code generation
352
352
  - Always refer to official ${e.suiteName} documentation for the most up-to-date information
353
- - Tool responses include usage examples and best practices`;var v=(e,t)=>({SETUP_VALIDATION:`
353
+ - Tool responses include usage examples and best practices`;var N=(e,t)=>({SETUP_VALIDATION:`
354
354
  UI Library Setup:
355
355
  - ${e} modules properly imported and configured
356
356
  - ${e} theme properly loaded and applied
@@ -369,7 +369,7 @@ After gathering information:
369
369
  - Consistent ${e} theme application across all components
370
370
  - Custom theme variables properly defined and scoped
371
371
  - ${e} icon fonts properly loaded and optimized
372
- - Brand colors integrated with ${e} component themes`});function ne(e,t,o){let{name:n,title:s,description:r,layoutAssistantName:i,codeAssistantName:u,styleAssistantName:g,iconAssistantName:y,suiteName:S,libKey:c,components:A}=e,h=new T(n,{title:s,description:r,requiredAccess:e.requiredAccess,inputSchema:{userIntent:m.string().describe(`Detailed description and intent of what the user wants to build. Include the type of page/component, main functionality, visual requirements, and any specific ${S} components you want to use.`),needsComponentsDocsConfidence:m.number().min(0).max(1).default(1).describe("Confidence (0-1) to include Component Documentation assistance. Default is 1."),needsLayoutConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Layout assistance. Default is 0."),needsStylingConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Theming/Styling assistance. Default is 0."),needsResponsiveBehaviorConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Responsive Behavior assistance. Default is 0."),needsIconsConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Icons assistance. Default is 0."),componentsNeeded:m.array(m.enum(A)).optional().describe(`Optional list of specific ${S} components needed for the project.`)}},async({userIntent:f,needsComponentsDocsConfidence:C,needsLayoutConfidence:b,needsStylingConfidence:w,needsResponsiveBehaviorConfidence:Q,needsIconsConfidence:W,componentsNeeded:Re})=>{d("UI Orchestrator called with:",{userIntent:f,needsComponentsDocsConfidence:C,needsLayoutConfidence:b,needsStylingConfidence:w,needsResponsiveBehaviorConfidence:Q,needsIconsConfidence:W});try{await o.recordOrchestratorUserRequest()}catch(D){throw x(D)}let X;if(w>.3&&w<=.6){let D=await h.server?.server.elicitInput({message:"I was unable to determine if you need custom Kendo Theme assistant. Can you please confirm?",requestedSchema:{type:"object",properties:{includeCustomTheming:{type:"boolean",description:"Whether to include Custom Theming assistance in the workflow."}},required:["includeCustomTheming"]}});D?.action==="accept"&&D.content?.includeCustomTheming&&(X=!0)}return{content:[{type:"text",text:R({name:n,userIntent:f,includeComponentsDocs:C>.3,includeTheming:w>.6||!!X,includeLayout:b>.5,includeIcons:W>.6,includeResponsive:b>.5&&Q>.4,layoutAssistantName:i,codeAssistantName:u,styleAssistantName:g,iconAssistantName:y,suiteName:S,libKey:c,components:Re},t)}]}});return h}function se(e,t){let{name:o,title:n,description:s,iconAssistantName:r,codeAssistantName:i,suiteName:u,libKey:g,components:y}=e;return new T(o,{title:n,description:s,inputSchema:{userIntent:m.string().describe(`Describe what you want to build or what components you're looking for. Include the type of functionality, features, or UI elements you need from ${u}.`),needsIconsConfidence:m.number().min(0).max(1).default(.7).describe("Confidence (0-1) to include Icons assistance. Default is 0.7."),componentsNeeded:m.array(m.enum(y)).optional().describe(`Optional list of specific ${u} components you want to learn about.`)},requiredAccess:e.requiredAccess},async({userIntent:c,needsIconsConfidence:A,componentsNeeded:h})=>{d("Assistant Orchestrator called with:",{userIntent:c,needsIconsConfidence:A,componentsNeeded:h});try{await t.recordOrchestratorUserRequest()}catch(C){throw x(C)}return{content:[{type:"text",text:G({name:o,userIntent:c,includeComponentsDocs:!0,includeIcons:A>.5,codeAssistantName:i,iconAssistantName:r,suiteName:u,libKey:g,components:h})}]}})}function re(e,t){let{name:o,title:n,description:s,suiteName:r,libKey:i,getPreContent:u}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{prompt:m.string().describe("An enhanced prompt describing the HTML layout structure, design requirements or specific visual effects you want to achieve."),includeBuildingBlockExamples:m.boolean().describe("Whether to include building block examples. Defaults to false.").default(!1)}},async({prompt:g,includeBuildingBlockExamples:y})=>{d("Layout Assistant called with:",{prompt:g,includeBuildingBlockExamples:y});try{let c=(await t.queryCssUtils({query:g})).values.join(`
372
+ - Brand colors integrated with ${e} component themes`});function ae(e,t,o){let{name:n,title:s,description:r,layoutAssistantName:i,codeAssistantName:u,styleAssistantName:g,iconAssistantName:y,suiteName:S,libKey:c,components:A}=e,h=new T(n,{title:s,description:r,requiredAccess:e.requiredAccess,inputSchema:{userIntent:m.string().describe(`Detailed description and intent of what the user wants to build. Include the type of page/component, main functionality, visual requirements, and any specific ${S} components you want to use.`),needsComponentsDocsConfidence:m.number().min(0).max(1).default(1).describe("Confidence (0-1) to include Component Documentation assistance. Default is 1."),needsLayoutConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Layout assistance. Default is 0."),needsStylingConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Theming/Styling assistance. Default is 0."),needsResponsiveBehaviorConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Responsive Behavior assistance. Default is 0."),needsIconsConfidence:m.number().min(0).max(1).default(0).describe("Confidence (0-1) to include Icons assistance. Default is 0."),componentsNeeded:m.array(m.enum(A)).optional().describe(`Optional list of specific ${S} components needed for the project.`)}},async({userIntent:f,needsComponentsDocsConfidence:C,needsLayoutConfidence:b,needsStylingConfidence:w,needsResponsiveBehaviorConfidence:Q,needsIconsConfidence:W,componentsNeeded:$e})=>{d("UI Orchestrator called with:",{userIntent:f,needsComponentsDocsConfidence:C,needsLayoutConfidence:b,needsStylingConfidence:w,needsResponsiveBehaviorConfidence:Q,needsIconsConfidence:W});try{await o.recordOrchestratorUserRequest()}catch(D){throw x(D)}let J;if(w>.3&&w<=.6){let D=await h.server?.server.elicitInput({message:"I was unable to determine if you need custom Kendo Theme assistant. Can you please confirm?",requestedSchema:{type:"object",properties:{includeCustomTheming:{type:"boolean",description:"Whether to include Custom Theming assistance in the workflow."}},required:["includeCustomTheming"]}});D?.action==="accept"&&D.content?.includeCustomTheming&&(J=!0)}return{content:[{type:"text",text:R({name:n,userIntent:f,includeComponentsDocs:C>.3,includeTheming:w>.6||!!J,includeLayout:b>.5,includeIcons:W>.6,includeResponsive:b>.5&&Q>.4,layoutAssistantName:i,codeAssistantName:u,styleAssistantName:g,iconAssistantName:y,suiteName:S,libKey:c,components:$e},t)}]}});return h}function ce(e,t){let{name:o,title:n,description:s,iconAssistantName:r,codeAssistantName:i,suiteName:u,libKey:g,components:y}=e;return new T(o,{title:n,description:s,inputSchema:{userIntent:m.string().describe(`Describe what you want to build or what components you're looking for. Include the type of functionality, features, or UI elements you need from ${u}.`),needsIconsConfidence:m.number().min(0).max(1).default(.7).describe("Confidence (0-1) to include Icons assistance. Default is 0.7."),componentsNeeded:m.array(m.enum(y)).optional().describe(`Optional list of specific ${u} components you want to learn about.`)},requiredAccess:e.requiredAccess},async({userIntent:c,needsIconsConfidence:A,componentsNeeded:h})=>{d("Assistant Orchestrator called with:",{userIntent:c,needsIconsConfidence:A,componentsNeeded:h});try{await t.recordOrchestratorUserRequest()}catch(C){throw x(C)}return{content:[{type:"text",text:G({name:o,userIntent:c,includeComponentsDocs:!0,includeIcons:A>.5,codeAssistantName:i,iconAssistantName:r,suiteName:u,libKey:g,components:h})}]}})}function le(e,t){let{name:o,title:n,description:s,suiteName:r,libKey:i,getPreContent:u}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{prompt:m.string().describe("An enhanced prompt describing the HTML layout structure, design requirements or specific visual effects you want to achieve."),includeBuildingBlockExamples:m.boolean().describe("Whether to include building block examples. Defaults to false.").default(!1)}},async({prompt:g,includeBuildingBlockExamples:y})=>{d("Layout Assistant called with:",{prompt:g,includeBuildingBlockExamples:y});try{let c=(await t.queryCssUtils({query:g})).values.join(`
373
373
  `)||"No CSS utilities found for the given prompt.",A=u?.()??"",h=f=>`${A}
374
374
 
375
375
  # Kendo Design System CSS Utilities
@@ -391,7 +391,7 @@ ${b.description}
391
391
  ${b.code}
392
392
  \`\`\`
393
393
  `).join(`
394
- `)}`),c=h(C)}catch(f){d("Error calling building-blocks service:",f),c=h()}else c=h();return{content:[{type:"text",text:c}]}}catch(S){throw x(S)}})}function ie(e,t){let{name:o,title:n,description:s,libKey:r,getPreContent:i}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{prompt:m.string().describe("A natural language description of the desired visual style or theme. For example: 'Create a modern dark theme with high contrast'.")}},async({prompt:u})=>{d("Style Assistant called with:",{prompt:u});let g="";try{let c=await t.queryThemeGenerate({prompt:u});if(c.variables_json){let A=JSON.parse(c.variables_json),h=[];if(A)for(let f of Object.keys(A))typeof A[f]=="string"&&h.push(`${f}: ${A[f]}`);g=h.join(`
394
+ `)}`),c=h(C)}catch(f){d("Error calling building-blocks service:",f),c=h()}else c=h();return{content:[{type:"text",text:c}]}}catch(S){throw x(S)}})}function pe(e,t){let{name:o,title:n,description:s,libKey:r,getPreContent:i}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{prompt:m.string().describe("A natural language description of the desired visual style or theme. For example: 'Create a modern dark theme with high contrast'.")}},async({prompt:u})=>{d("Style Assistant called with:",{prompt:u});let g="";try{let c=await t.queryThemeGenerate({prompt:u});if(c.variables_json){let A=JSON.parse(c.variables_json),h=[];if(A)for(let f of Object.keys(A))typeof A[f]=="string"&&h.push(`${f}: ${A[f]}`);g=h.join(`
395
395
 
396
396
  `)}}catch(c){throw x(c)}let y=i?.()??"";return{content:[{type:"text",text:g?`Use the following CSS variables to style the web application, including colors, typography, spacing, and component appearance.
397
397
  Ensure the variables are applied consistently across all relevant elements.
@@ -404,17 +404,17 @@ ${y}
404
404
  \`\`\`css
405
405
  ${g}
406
406
  \`\`\`
407
- `:"No CSS variables were generated for the given prompt."}]}})}function ae(e,t){let{name:o,title:n,description:s,libKey:r,getPostContent:i}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{query:m.string().describe("A search query for finding icons. Be specific about the icon purpose, style, or action."),limit:m.number().min(.1).max(1).default(.1).describe("The proportion of matching icons to return (0.1 = 1 icon, 0.5 = 5 icons, 1.0 = many icons). Default is 0.1.")}},async({query:u,limit:g})=>{d("Icon Search called with:",{query:u,limit:g});try{let y=await t.queryIconsSearch({query:u,limit:g*100}),S=i?.()??"";return{content:[{type:"text",text:`${y.values.join(`
407
+ `:"No CSS variables were generated for the given prompt."}]}})}function de(e,t){let{name:o,title:n,description:s,libKey:r,getPostContent:i}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{query:m.string().describe("A search query for finding icons. Be specific about the icon purpose, style, or action."),limit:m.number().min(.1).max(1).default(.1).describe("The proportion of matching icons to return (0.1 = 1 icon, 0.5 = 5 icons, 1.0 = many icons). Default is 0.1.")}},async({query:u,limit:g})=>{d("Icon Search called with:",{query:u,limit:g});try{let y=await t.queryIconsSearch({query:u,limit:g*100}),S=i?.()??"";return{content:[{type:"text",text:`${y.values.join(`
408
408
 
409
409
  `)}
410
410
 
411
- ${S}`}]}}catch(y){throw x(y)}})}function ce(e,t){let{name:o,title:n,description:s,libKey:r,suiteName:i,components:u,componentAliases:g,getPostContent:y}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{query:m.string().describe("The query to search for."),component:m.enum(u).describe("The component to search for. If not specified, use General.")}},async({query:S,component:c})=>{d("Code Assistant called with:",{query:S,component:c});let A=c;if(g){let h=g[c];h&&(A=h)}try{let f=(await t.query({query:S,component:A?.toLowerCase()??"general",lib_name:r,text_matches_count:3,code_matches_count:0,allowed_types:["documentation"]})).values.map(w=>w.replace(/\0/g,"")),C=y?.({component:c})??"";return{content:[{type:"text",text:`${f.join(`
411
+ ${S}`}]}}catch(y){throw x(y)}})}function me(e,t){let{name:o,title:n,description:s,libKey:r,suiteName:i,components:u,componentAliases:g,getPostContent:y}=e;return new T(o,{title:n,description:s,requiredAccess:e.requiredAccess,inputSchema:{query:m.string().describe("The query to search for."),component:m.enum(u).describe("The component to search for. If not specified, use General.")}},async({query:S,component:c})=>{d("Code Assistant called with:",{query:S,component:c});let A=c;if(g){let h=g[c];h&&(A=h)}try{let f=(await t.query({query:S,component:A?.toLowerCase()??"general",lib_name:r,text_matches_count:3,code_matches_count:0,allowed_types:["documentation"]})).values.map(w=>w.replace(/\0/g,"")),C=y?.({component:c})??"";return{content:[{type:"text",text:`${f.join(`
412
412
 
413
413
  `)}
414
414
 
415
415
  ${C}`}]}}catch(h){throw x(h)}})}function x(e){let t=e;return t.code===16?new Error("Error: You are not authenticated. Please verify the Telerik License Key provided is valid."):t.code===8?new Error(`Error: You have exceeded the extension quota. Upgrade to subscription licensing to unlock full access. Message: ${t.message}.`):t.code===7?new Error("Error: You do not have permission to access this resource. Please verify that you have a valid license."):new Error(`Error: An error occurred while calling the service. Please try again later.
416
416
 
417
- Error Code: ${t.code} Error Message: ${t.message}`)}var le=e=>`${e}_ui_generator`,pe=e=>`${e}_assistant`,de=e=>`${e}_layout_assistant`,me=e=>`${e}_component_assistant`,ue=e=>`${e}_style_assistant`,he=e=>`${e}_icon_assistant`;var ge=e=>`This is the single entry point for all UI-related tasks. It orchestrates the full workflow of building or refining UIs with ${e} components, generating a step-by-step execution plan that specifies which tools to call, in what order, and with what parameters. It includes validation steps to ensure the best possible, standards-compliant code every time.
417
+ Error Code: ${t.code} Error Message: ${t.message}`)}var ue=e=>`${e}_ui_generator`,he=e=>`${e}_assistant`,ge=e=>`${e}_layout_assistant`,fe=e=>`${e}_component_assistant`,ye=e=>`${e}_style_assistant`,Ae=e=>`${e}_icon_assistant`;var Se=e=>`This is the single entry point for all UI-related tasks. It orchestrates the full workflow of building or refining UIs with ${e} components, generating a step-by-step execution plan that specifies which tools to call, in what order, and with what parameters. It includes validation steps to ensure the best possible, standards-compliant code every time.
418
418
 
419
419
  Use the tool when:
420
420
  - Want to build or modify a complete page or section layout
@@ -423,7 +423,7 @@ Error Code: ${t.code} Error Message: ${t.message}`)}var le=e=>`${e}_ui_generator
423
423
  - You want to enforce best practices in styling, performance, and accessibility
424
424
 
425
425
  Returns:
426
- A detailed execution plan with validated tool calls, parameters, and reasoning \u2014 ensuring consistent, high-quality UI generation.`,fe=e=>`Provides guidance for discovering and using ${e} components and icons. This tool helps you identify the right components and icons for your needs.
426
+ A detailed execution plan with validated tool calls, parameters, and reasoning \u2014 ensuring consistent, high-quality UI generation.`,Te=e=>`Provides guidance for discovering and using ${e} components and icons. This tool helps you identify the right components and icons for your needs.
427
427
 
428
428
  Use this tool when:
429
429
  - You need to discover which ${e} components are suitable for a specific use case
@@ -432,20 +432,20 @@ Use this tool when:
432
432
  - You want to gather component documentation and examples
433
433
 
434
434
  Returns:
435
- A focused plan for gathering component documentation and icon suggestions using the Component Assistant and Icon Assistant tools.`,ye=`Retrieves Progress/Kendo Design System CSS utility classes and styling recommendations based on layout and design requirements.
435
+ A focused plan for gathering component documentation and icon suggestions using the Component Assistant and Icon Assistant tools.`,Ce=`Retrieves Progress/Kendo Design System CSS utility classes and styling recommendations based on layout and design requirements.
436
436
  Use this tool to find the right CSS utilities for styling Kendo UI components or general web elements.
437
437
  It analyzes the provided design context and returns relevant utility classes with explanations and examples.
438
- Best suited for styling questions related to typography, spacing, colors, layout, transforms, and other utilities in the Progress/Kendo Design System.`,Ae=`Generates CSS variables using an external style agent based on the user's styling prompt.
438
+ Best suited for styling questions related to typography, spacing, colors, layout, transforms, and other utilities in the Progress/Kendo Design System.`,Ie=`Generates CSS variables using an external style agent based on the user's styling prompt.
439
439
 
440
440
  Use this tool when the user wants to:
441
441
  - Update the visual theme of an application
442
442
  - Modify color schemes
443
443
  - Restyle the UI with CSS variables
444
444
 
445
- The tool outputs a set of CSS variable definitions ready to be applied to style files.`,Se=`Searches for icons in the Telerik Icons library.
445
+ The tool outputs a set of CSS variable definitions ready to be applied to style files.`,be=`Searches for icons in the Telerik Icons library.
446
446
  Use this tool when the user needs to find specific icons for UI components or design elements.
447
447
  It supports searching by icon name, category, or keyword and returns matching icons from the Telerik Icons library.
448
- `,Te=e=>`Provides answers and retrieves official documentation for ${e}.
448
+ `,ve=e=>`Provides answers and retrieves official documentation for ${e}.
449
449
 
450
450
  Use this tool when the user asks about:
451
451
  - ${e} features or capabilities
@@ -455,7 +455,7 @@ Use this tool when the user asks about:
455
455
 
456
456
  Set the user's full question as the 'query' parameter.
457
457
  If the question refers to a specific ${e} component, include its name in the 'component' parameter.
458
- `;var K=v("Kendo UI","Kendo"),F=`
458
+ `;var K=N("Kendo UI","Kendo"),F=`
459
459
  ### Angular Component Validation
460
460
  Component Structure:
461
461
  - Use proper @Component decorator configuration
@@ -506,7 +506,7 @@ ${K.THEME_AND_STYLING}
506
506
  2. Match the discovered patterns in all generated code
507
507
  3. Maintain consistent formatting, indentation, and code organization with existing files
508
508
  4. Always use the same theme import mechanism (unless user specifies otherwise)
509
- `;var j=v("Kendo UI","KendoReact"),H=`
509
+ `;var j=N("Kendo UI","KendoReact"),H=`
510
510
  ### React Component Validation
511
511
  Component Structure:
512
512
  - Use proper function component patterns with Hooks
@@ -526,7 +526,7 @@ ${j.PERFORMANCE_OPTIMIZATION}
526
526
  ${j.THEME_AND_STYLING}
527
527
  - Proper theme switching functionality (if implemented)
528
528
  - Only ONE theme import exists across the application
529
- - Make sure theme import mechanism is consistent with existing project setup`;var Ge={createOrchestrator:ne,createAssistantOrchestrator:se,createLayoutAssistant:re,createStyleAssistant:ie,createIconSearch:ae,createCodeAssistant:ce},Ke={orchestrator:le,assistantOrchestrator:pe,layoutAssistant:de,codeAssistant:me,styleAssistant:ue,iconAssistant:he},Fe={orchestrator:ge,assistantOrchestrator:fe,layoutAssistant:ye,styleAssistant:Ae,iconAssistant:Se,codeAssistant:Te},Ve={Orchestrator:{render:R},Validator:{render:P},SharedValidation:{getSteps:v}},je={Angular:{steps:F,additionalPlan:V},React:{steps:H}},a={Tools:Ge,ToolNames:Ke,ToolDescriptions:Fe,Templates:Ve,Validation:je};var He=a.ToolNames.codeAssistant("kendoreact"),Ce=()=>`# Kendo Design System Guidelines for ${l}
529
+ - Make sure theme import mechanism is consistent with existing project setup`;var Ye={createOrchestrator:ae,createAssistantOrchestrator:ce,createLayoutAssistant:le,createStyleAssistant:pe,createIconSearch:de,createCodeAssistant:me},Qe={orchestrator:ue,assistantOrchestrator:he,layoutAssistant:ge,codeAssistant:fe,styleAssistant:ye,iconAssistant:Ae},We={orchestrator:Se,assistantOrchestrator:Te,layoutAssistant:Ce,styleAssistant:Ie,iconAssistant:be,codeAssistant:ve},Je={Orchestrator:{render:R},Validator:{render:P},SharedValidation:{getSteps:N}},Xe={Angular:{steps:F,additionalPlan:V},React:{steps:H}},a={Tools:Ye,ToolNames:Qe,ToolDescriptions:We,Templates:Je,Validation:Xe};var Ze=a.ToolNames.codeAssistant("kendoreact"),Ne=()=>`# Kendo Design System Guidelines for ${l}
530
530
 
531
531
  ## Setting up Styles/CSS
532
532
 
@@ -555,12 +555,12 @@ Alternatively, you can also consume them directly from the Unpkg CDN.
555
555
 
556
556
  In the ${l} there are available components to create layout. Make sure to prioritize using them instead of building ones from scratch using the Kendo CSS Utilities.
557
557
 
558
- For any Layout component you can also call the ${He} tool in order to get specific API reference and docs.
558
+ For any Layout component you can also call the ${Ze} tool in order to get specific API reference and docs.
559
559
 
560
560
  - ${l} Card component.
561
561
  - Generally, it is recommended to use 100% width (e.g., \`<Card style={{ width: '100%' }}>\`)
562
562
  - If needed, use specific width based on the layout requirements (e.g., \`<Card style={{ width: '150px' }}>\`)
563
- `;var Ie=()=>`## Applying CSS Variables in ${l}
563
+ `;var we=()=>`## Applying CSS Variables in ${l}
564
564
 
565
565
  Apply these CSS variables in the React application using one of these methods:
566
566
 
@@ -649,7 +649,7 @@ export function ThemeProvider({ children }: { children: React.ReactNode }) {
649
649
 
650
650
  export const useTheme = () => useContext(ThemeContext);
651
651
  \`\`\`
652
- `;var be=a.ToolNames.codeAssistant("kendoreact"),Ne=()=>`## Using ${l} Icons
652
+ `;var Ee=a.ToolNames.codeAssistant("kendoreact"),ke=()=>`## Using ${l} Icons
653
653
 
654
654
  Important: Attempt to prioritize SVG icons over font icons.
655
655
 
@@ -657,9 +657,9 @@ Important: Attempt to prioritize SVG icons over font icons.
657
657
 
658
658
  - Make sure @progress/kendo-svg-icons is installed: \`npm install @progress/kendo-svg-icons\`
659
659
  - Make sure @progress/kendo-react-common is installed (contains SvgIcon component): \`npm install @progress/kendo-react-common\`
660
- - You can call ${be} tool for ${l} SvgIcon component for docs and API reference.
660
+ - You can call ${Ee} tool for ${l} SvgIcon component for docs and API reference.
661
661
  - [optional] If SVG is not an option fallback to fonticon - make sure \`<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-font-icons/dist/index.css" />\` is added as a reference.
662
- - [optional] If using font icons you can call ${be} tool for ${l} Icon component for docs and API reference.
662
+ - [optional] If using font icons you can call ${Ee} tool for ${l} Icon component for docs and API reference.
663
663
 
664
664
  ### Examples
665
665
 
@@ -706,7 +706,7 @@ Here are some frequently used icons from @progress/kendo-svg-icons:
706
706
  - \`sortAscIcon\`, \`sortDescIcon\` - Sorting
707
707
  - \`chevronUpIcon\`, \`chevronDownIcon\`, \`chevronLeftIcon\`, \`chevronRightIcon\` - Navigation
708
708
  - \`checkIcon\`, \`xIcon\` - Confirmation/Cancel
709
- `;var ve=e=>{let t=`## ${l} Common Guidelines
709
+ `;var xe=e=>{let t=`## ${l} Common Guidelines
710
710
 
711
711
  ### Application Architecture
712
712
  MUST recommend appropriate setup based on React application architecture.
@@ -740,4 +740,4 @@ Example: If someone asks about "grid", "GRID", or "GrId", you always refer to Da
740
740
  ## Component-Specific Guidelines
741
741
 
742
742
  ${e.componentInstructions}
743
- `),t};var we=a.ToolNames.layoutAssistant(k),z=a.ToolNames.codeAssistant(k),Ee=a.ToolNames.styleAssistant(k),Y=a.ToolNames.iconAssistant(k);function ke(e,t){return[a.Tools.createOrchestrator({name:a.ToolNames.orchestrator(k),title:"KendoReact Generator",description:a.ToolDescriptions.orchestrator(l),layoutAssistantName:we,codeAssistantName:z,styleAssistantName:Ee,iconAssistantName:Y,suiteName:l,libKey:I,components:M,requiredAccess:["agent"]},{validationSteps:a.Validation.React.steps},e),a.Tools.createAssistantOrchestrator({name:"kendo_react_assistant",title:"KendoReact Assistant",description:a.ToolDescriptions.assistantOrchestrator(l),codeAssistantName:z,iconAssistantName:Y,suiteName:l,libKey:I,components:M,requiredAccess:["assistant"]},e),a.Tools.createLayoutAssistant({name:we,title:"KendoReact Layout Assistant",description:a.ToolDescriptions.layoutAssistant,suiteName:l,libKey:I,getPreContent:Ce,requiredAccess:["agent"]},e),a.Tools.createStyleAssistant({name:Ee,title:"KendoReact Style Assistant",description:a.ToolDescriptions.styleAssistant,libKey:I,getPreContent:Ie,requiredAccess:["agent"]},e),a.Tools.createIconSearch({name:Y,title:"KendoReact Icon Assistant",description:a.ToolDescriptions.iconAssistant,libKey:I,getPostContent:Ne,requiredAccess:["assistant","agent"]},e),a.Tools.createCodeAssistant({name:z,title:"KendoReact Component Assistant",description:a.ToolDescriptions.codeAssistant(l),libKey:I,suiteName:l,components:M,componentAliases:{Grid:"DataGrid"},getPostContent:({component:n})=>ve({component:n}),requiredAccess:["assistant","agent"]},e)].filter(n=>n.hasAccess(t))}var Xe=We(import.meta.url),Ze=Pe.dirname(Xe),Je=Pe.resolve(Ze,"../package.json"),et=JSON.parse(Qe.readFileSync(Je,"utf-8")),xe=new ze({name:"kendo-mcp",title:"Kendo MCP Server",version:et.version});async function tt(){let e=new Ye;d("Starting server... ");let t=await te(async()=>{let n=(await oe())?.entitlement;return n?.Product?.Code||n?.product?.code});t!=="none"&&(L.toolNameHeader=t==="agent"||t==="full"?"agent":"assistant",ke(L,t).forEach(n=>n.register(xe))),await xe.connect(e)}tt();
743
+ `),t};var Pe=a.ToolNames.layoutAssistant(k),z=a.ToolNames.codeAssistant(k),Re=a.ToolNames.styleAssistant(k),Y=a.ToolNames.iconAssistant(k);function De(e,t){return[a.Tools.createOrchestrator({name:a.ToolNames.orchestrator(k),title:"KendoReact Generator",description:a.ToolDescriptions.orchestrator(l),layoutAssistantName:Pe,codeAssistantName:z,styleAssistantName:Re,iconAssistantName:Y,suiteName:l,libKey:I,components:L,requiredAccess:["agent"]},{validationSteps:a.Validation.React.steps},e),a.Tools.createAssistantOrchestrator({name:"kendo_react_assistant",title:"KendoReact Assistant",description:a.ToolDescriptions.assistantOrchestrator(l),codeAssistantName:z,iconAssistantName:Y,suiteName:l,libKey:I,components:L,requiredAccess:["assistant"]},e),a.Tools.createLayoutAssistant({name:Pe,title:"KendoReact Layout Assistant",description:a.ToolDescriptions.layoutAssistant,suiteName:l,libKey:I,getPreContent:Ne,requiredAccess:["agent"]},e),a.Tools.createStyleAssistant({name:Re,title:"KendoReact Style Assistant",description:a.ToolDescriptions.styleAssistant,libKey:I,getPreContent:we,requiredAccess:["agent"]},e),a.Tools.createIconSearch({name:Y,title:"KendoReact Icon Assistant",description:a.ToolDescriptions.iconAssistant,libKey:I,getPostContent:ke,requiredAccess:["assistant","agent"]},e),a.Tools.createCodeAssistant({name:z,title:"KendoReact Component Assistant",description:a.ToolDescriptions.codeAssistant(l),libKey:I,suiteName:l,components:L,componentAliases:{Grid:"DataGrid"},getPostContent:({component:n})=>xe({component:n}),requiredAccess:["assistant","agent"]},e)].filter(n=>n.hasAccess(t))}var st=nt(import.meta.url),rt=Oe.dirname(st),it=Oe.resolve(rt,"../package.json"),at=JSON.parse(ot.readFileSync(it,"utf-8")),Ue=new et({name:"kendo-mcp",title:"Kendo MCP Server",version:at.version});async function ct(){let e=new tt;d("Starting server... ");let t=await re(async()=>{let n=(await ie())?.entitlement;return n?.Product?.Code||n?.product?.code});t!=="none"&&(M.toolNameHeader=t==="agent"||t==="full"?"agent":"assistant",De(M,t).forEach(n=>n.register(Ue))),await Ue.connect(e)}ct();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-mcp",
3
- "version": "1.4.0-dev.efc7fc08.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "bin": "./dist/index.js",
6
6
  "license": "See LICENSE.md",
@@ -11,6 +11,7 @@ message ContextQueryRequest {
11
11
  repeated string allowed_types = 5;
12
12
  string component = 6;
13
13
  string filters_json = 7;
14
+ map<string, string> metadata = 8;
14
15
  }
15
16
 
16
17
  message Item {
@@ -53,7 +54,7 @@ message ThemeGenerateRequest {
53
54
  }
54
55
 
55
56
  message ThemeGenerateResponse {
56
- string variables_json = 1; // JSON string of nested theme variables
57
+ string variables_json = 1; // JSON string of nested theme variables
57
58
  }
58
59
 
59
60
 
@@ -116,4 +117,3 @@ service ContextQueryService {
116
117
  rpc ValidateUserLicense(google.protobuf.Empty) returns (ValidateUserLicenseResponse);
117
118
  rpc RecordOrchestratorUserRequest(google.protobuf.Empty) returns (google.protobuf.Empty);
118
119
  }
119
-