worsoft-frontend-codegen-local-mcp 0.1.26 → 0.1.27

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.
Files changed (2) hide show
  1. package/mcp_server.js +2 -46
  2. package/package.json +1 -1
package/mcp_server.js CHANGED
@@ -5,7 +5,7 @@ const fs = require('fs');
5
5
  const path = require('path');
6
6
 
7
7
  const SERVER_NAME = 'worsoft-codegen-local';
8
- const SERVER_VERSION = '0.1.26';
8
+ const SERVER_VERSION = '0.1.27';
9
9
  const PROTOCOL_VERSION = '2024-11-05';
10
10
  const TOOL_NAME = 'worsoft_codegen_local_generate_frontend';
11
11
  const TEMPLATE_LIBRARY_ROOT = path.resolve(__dirname, '..', 'template');
@@ -2505,51 +2505,7 @@ onMounted(async () => {
2505
2505
  });
2506
2506
  </script>
2507
2507
 
2508
- <style scoped>
2509
- .multi-level-dict-layout {
2510
- display: flex;
2511
- gap: 16px;
2512
- height: calc(100vh - 100px);
2513
- }
2514
- .multi-level-left {
2515
- width: 50%;
2516
- min-width: 320px;
2517
- }
2518
- .multi-level-right {
2519
- flex: 1;
2520
- display: flex;
2521
- flex-direction: column;
2522
- gap: 16px;
2523
- }
2524
- .multi-level-right-top,
2525
- .multi-level-right-bottom,
2526
- .multi-level-left {
2527
- min-height: 0;
2528
- }
2529
- .multi-level-right-top {
2530
- flex: 1;
2531
- }
2532
- .multi-level-right-bottom {
2533
- flex: 1;
2534
- }
2535
- .multi-level-slot {
2536
- height: 100%;
2537
- display: flex;
2538
- flex-direction: column;
2539
- min-height: 0;
2540
- background: var(--el-bg-color);
2541
- border-radius: 4px;
2542
- overflow: hidden;
2543
- }
2544
- .multi-level-tabs {
2545
- flex-shrink: 0;
2546
- }
2547
- .multi-level-panel {
2548
- flex: 1;
2549
- min-height: 0;
2550
- }
2551
- </style>
2552
- `;
2508
+ `;
2553
2509
  }
2554
2510
 
2555
2511
  function renderMultiLevelMenuSql(model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worsoft-frontend-codegen-local-mcp",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Worsoft frontend local-template code generation MCP server.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "worsoft <sw@worsoft.vip>",