Skip to content

Commit 8631984

Browse files
committed
feat: upgrade lwc-experts
1 parent 380b419 commit 8631984

File tree

3 files changed

+2549
-2422
lines changed

3 files changed

+2549
-2422
lines changed

packages/mcp-provider-mobile-web/src/tools/offline-guidance/get_mobile_lwc_offline_guidance.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ import { zodToJsonSchema } from 'zod-to-json-schema';
2929

3030
const EMPTY_INPUT_SCHEMA = z.object({}).describe('No input required');
3131

32+
// Cast to avoid deep type instantiation when passing to zodToJsonSchema
33+
const EXPERT_ISSUES_JSON_SCHEMA = zodToJsonSchema(
34+
ExpertCodeAnalysisIssuesSchema as z.ZodType,
35+
) as Record<string, unknown>;
36+
3237
type InputArgsShape = typeof EMPTY_INPUT_SCHEMA.shape;
3338
type OutputArgsShape = typeof ExpertsReviewInstructionsSchema.shape;
3439
type InputArgs = z.infer<typeof EMPTY_INPUT_SCHEMA>;

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@salesforce/mcp-provider-api": "0.5.0",
4747
"@salesforce/mcp-provider-dx-core": "0.8.0",
4848
"@salesforce/mcp-provider-code-analyzer": "0.5.2",
49-
"@salesforce/mcp-provider-lwc-experts": "0.6.5",
49+
"@salesforce/mcp-provider-lwc-experts": "0.6.7",
5050
"@salesforce/mcp-provider-aura-experts": "0.3.6",
5151
"@salesforce/mcp-provider-mobile-web": "0.2.2",
5252
"@salesforce/mcp-provider-devops": "0.2.1",

0 commit comments

Comments
 (0)