@atlisp/mcp 1.8.8 → 1.8.10

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.
@@ -593,6 +593,9 @@ async function handleMessage(msg) {
593
593
  });
594
594
  }
595
595
  if (msg.type === 'send') {
596
+ if (!msg.code.endsWith('\n')) {
597
+ msg.code += '\n';
598
+ }
596
599
  const docCheck = await new Promise((resolve, reject) => {
597
600
  cadHasDoc(msg.platform || 'AutoCAD', (e, r) => {
598
601
  if (e) reject(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlisp/mcp",
3
- "version": "1.8.8",
3
+ "version": "1.8.10",
4
4
  "description": "MCP Server for @lisp on CAD,support AutoCAD/GstarCAD/ZWCAD/BricsCAD or CAD platform compatible with AutoLISP",
5
5
  "type": "module",
6
6
  "bin": {