Skip to content

Releases

AutoCAD MCP Launcher v0.4.9

Choose a tag to compare

@github-actions github-actions released this 23 Nov 04:10

AutoCAD MCP Launcher v0.4.9

Tiếng Việt

Bản lớn cho CAD Studio (local) và giao diện launcher: nhiều phiên chạy song song, chọn agent khi tạo phiên (Claude CLI, Codex, Claude API) và cài/đăng nhập ngay trong app, chat lưu trong thư mục dự án, agent tự nạp skill và vẽ phương án mặt bằng thành hình, launcher có giao diện mới sáng/tối và hộp cập nhật mới.

Thêm (CAD Studio):

  • Chat lưu trong dự án: mỗi dự án là một thư mục; hội thoại và ảnh lưu trong <dự án>/.cadstudio/. Mở lại thư mục là thấy lại các phiên cũ.
  • Khu Dự án: nút Dự án mới và Mở dự án có sẵn (mở thư mục đã có .cadstudio/ thì báo số phiên tìm thấy, không tạo trùng), kéo thả thư mục vào cột để mở. Hộp chọn thư mục/file kiểu mới của Windows (thanh địa chỉ, Quick access, ô tìm).
  • Xóa dự án kèm thư mục (tùy chọn): tick "Xóa luôn thư mục dự án" rồi gõ OK; thư mục được chuyển vào Thùng rác (khôi phục được). Chặn xóa ổ gốc, thư mục tài khoản, Desktop/Documents/Downloads, thư mục chứa dự án khác, dự án đang chạy; báo rõ file đang bị chương trình khác mở.
  • Chọn agent khi tạo phiên: Claude CLI, Codex CLI hoặc Claude API. Agent chưa cài/chưa đăng nhập/chưa có key thì bấm Cài đặt / Đăng nhập / Nhập key ngay trong menu, xong là tạo phiên luôn.
  • Cài đặt > Trợ lý AI: danh sách agent kèm phiên bản, trạng thái và nút Cài / Đăng nhập / Cập nhật; chọn agent mặc định cho phiên mới. Kiểm tra máy: mạng tới claude.ai, Claude CLI, Git, PATH, Node/npm, đăng nhập, hồ sơ, có nút xử lý.
  • Cập nhật CLI: báo khi Claude Code / Codex có bản mới và cập nhật bằng một nút (thanh dưới cùng).
  • Nhiều phiên song song: tạo, mở và chuyển qua lại giữa các phiên khi phiên khác đang chạy; phiên cũ chạy ngầm, có chấm "đang chạy".
  • Phối hợp nhiều agent (giai đoạn 1): bảng điều phối của dự án (dải "Đang làm", tab Trao đổi và Khoá), khoá file/bản vẽ giữa các agent.
  • Agent tự nạp skill: mỗi lượt agent được báo các skill hiện có và phải nạp skill khớp việc trước khi làm. Skill thiết kế nhà có lộ trình 6 bước: hỏi thông tin lô đất, chọn hướng, 2-3 phương án mặt bằng vẽ thành hình SVG đặt cạnh nhau, chọn, rồi mới dựng 3D, hoàn thiện. Chat hiện hình SVG agent vẽ (phóng to, tải về) và ảnh agent lưu trong thư mục dự án.
  • Gõ "/" ở bất kỳ đâu trong câu để chọn skill; skill nhắc giữa câu vẫn được dùng.
  • Mức suy nghĩ lưu theo từng phiên, phiên mới mặc định "Vừa".
  • Esc dừng lượt đang chạy; tin vừa gửi về lại ô soạn để sửa. Nút Sửa trên tin cuối của bạn.
  • Tài liệu LiteBIM lưu sẵn: launcher tự lưu tài liệu API LiteBIM/LiteCAD (theo phiên bản) để agent đọc thẳng, không phải gọi lại mỗi phiên.

Thêm (launcher):

  • Giao diện mới: theme sáng/tối (theo Windows hoặc tự chọn trong Cài đặt), thanh tiêu đề theo theme, khối Dịch vụ có chấm màu, một nút Bật kết nối/Dừng, ô chọn agent hiện trạng thái MCP của từng agent.
  • Cài đặt theo nhóm: Chung, Kết nối & dịch vụ, Agent & Skill, Dữ liệu, Cập nhật, Nâng cao; ô tìm nhanh (không cần dấu), nhớ nhóm mở lần cuối.
  • Cập nhật mới: có bản mới thì hiện thẻ "Có bản mới" (không bật hộp chặn); hộp cập nhật có ghi chú phát hành, thanh tiến độ, Thử lại khi lỗi, Bỏ qua bản này, và chỉ khởi động lại khi bạn bấm "Khởi động lại để hoàn tất". Mục Cập nhật trong Cài đặt có nút Kiểm tra cập nhật.

Sửa:

  • Thêm vào agent cho Claude Code: kiểm đúng tệp cấu hình mà lệnh claude ghi (kể cả khi đặt CLAUDE_CONFIG_DIR); báo rõ tệp và nguyên nhân khi lệch.
  • Cài và đăng nhập Claude CLI trên máy mới: cửa sổ đăng nhập luôn hiện ra (kèm đường link nếu trình duyệt không mở), lỗi cài báo nguyên nhân (mạng/proxy, ExecutionPolicy) và tự thử cài qua npm; tìm claude ở %USERPROFILE%\.local\bin không cần PATH. Codex cũng mở cửa sổ đăng nhập theo cách mới.
  • Agent Claude đọc được kết quả tool dài (tool-results) thay vì bảo người dùng cấp quyền thư mục.
  • Câu hỏi của agent đã trả lời không còn hiện lại như chưa trả lời; ô tick ở chế độ tối thấy rõ; danh sách "Tệp đã nhắc tới" không trùng; nút "Mới nhất" ở góc phải không che hình.

Cần làm:

  • Thoát hẳn launcher rồi mở lại. Trong CAD Studio, vào Cài đặt > Trợ lý AI bấm Kiểm tra máy một lần.
  • Dùng Claude Code: bấm lại Thêm vào agent để thêm đủ 5 MCP (autocad_puran, autocad_beiming, dutoan, litebim, litecad).

Giới hạn:

  • Phối hợp nhiều agent mới ở giai đoạn 1. Đăng nhập Claude/Codex vẫn cần bạn làm trên trình duyệt. Thông báo có bản mới chưa hiện ở khay hệ thống. Chuyển sang dự án khác khi một phiên đang chạy vẫn bị chặn.

English

A large release for CAD Studio (local) and the launcher UI: parallel sessions, per-session agent choice (Claude CLI, Codex, Claude API) with in-app install and sign-in, chats stored in the project folder, agents load skills on their own and draw floor-plan options as images, and a new light/dark launcher with a new update flow.

Added (CAD Studio):

  • Chats stored in the project (<project>/.cadstudio/); reopening a folder shows its sessions.
  • Projects area: New project and Open existing project (no duplicates; reports sessions found), drag a folder in to open it, modern Windows folder/file picker.
  • Delete a project with its folder (optional): moved to the Recycle Bin after typing OK; system folders, folders holding other projects, running projects are refused; locked files are named.
  • Pick the agent per session, with Install / Sign in / Enter key right in the menu.
  • Settings > AI assistant: agent list with version, status and actions; default agent for new sessions; Machine check with fix buttons.
  • CLI updates for Claude Code and Codex from the status bar.
  • Parallel sessions: create and switch sessions while another runs; it keeps running in the background.
  • Multi-agent coordination (phase 1): project coordination board, messages and file/drawing locks.
  • Agents load matching skills before working; the house-design skill follows a 6-step route with 2-3 SVG floor-plan options side by side before any 3D model. Chat renders agent SVGs and images saved in the project.
  • "/" anywhere in the message to pick a skill; effort saved per session (default Medium); Esc stops the run and puts the message back; Edit on your last message.
  • LiteBIM reference cached per version for agents to read directly.

Added (launcher):

  • New UI: light/dark (follow Windows or choose), themed title bar, colored service status, single Start/Stop button, agent picker showing each agent's MCP status.
  • Settings by group with quick search and remembered group.
  • New update flow: non-blocking "New version" card, update dialog with notes, progress, retry, Skip this version, restart only when you choose.

Fixed:

  • Add to agent for Claude Code now checks the file claude actually writes (including CLAUDE_CONFIG_DIR).
  • Claude CLI install and sign-in on a new machine: the sign-in window always shows; install errors explain the cause and fall back to npm; claude found in %USERPROFILE%\.local\bin without PATH. Codex sign-in uses the same window.
  • Claude reads long tool results; answered agent questions no longer reappear; dark-mode checkboxes visible; no duplicate "files mentioned"; the "Latest" button moved to the right.

To do:

  • Quit the launcher completely and reopen it; run Machine check once in CAD Studio.
  • Claude Code users: click Add to agent again to add all 5 MCPs.

Limitations:

  • Multi-agent coordination is phase 1. Sign-in still needs the browser. No tray notification for new versions yet. Switching projects while a session runs is still blocked.

AutoCAD MCP Launcher v0.4.8

Choose a tag to compare

@github-actions github-actions released this 20 Nov 10:08

AutoCAD MCP Launcher v0.4.8

Tiếng Việt

Bản này cải thiện CAD Studio (local): báo khi agent làm xong, xem ảnh ngay trong trang, kéo đổi bề rộng cột, và tùy chọn cho agent chạy lệnh trong thư mục dự án.

Thêm:

  • Thông báo khi agent xong hoặc cần bạn trả lời: chỉ hiện khi bạn không đang nhìn trang CAD Studio. Mở trang ngay trên máy này thì popup hiện ở góc dưới phải màn hình (không bị Focus assist nuốt mất), tự tắt sau 15 giây, rê chuột lên thì giữ lại. Mở từ máy khác thì dùng thông báo của trình duyệt. Bật hoặc tắt trong Cài đặt, có nút gửi thử.
  • Xem ảnh trong trang: bấm ảnh để mở cửa sổ nổi. Lăn chuột để phóng to hoặc thu nhỏ, kéo để di chuyển, bấm đúp để về vừa khung, Esc để đóng.
  • Kéo đổi bề rộng cột dự án và cột file. Bấm đúp vào thanh kéo để về mặc định. Bề rộng được giữ khi tải lại trang.
  • Cho agent chạy lệnh (tùy chọn, theo từng dự án): bật trong Cài đặt dự án thì Claude CLI được chạy lệnh (Bash) trong thư mục dự án. Mặc định tắt: agent chỉ đọc và sửa file.

Sửa:

  • Gửi lỗi thì tin đã gõ (kèm ảnh) được giữ lại để gửi lại, không phải gõ lại từ đầu.
  • Phiên chat mới hiện ngay trong danh sách. Đang ở một phiên trống thì không tạo thêm phiên trống.
  • Biểu tượng file có màu nhạt theo loại file.

Cần làm:

  • Thoát hẳn launcher rồi mở lại.

Giới hạn:

  • Popup thông báo và quyền chạy lệnh mới thử trên máy làm, chưa thử trên máy sạch. Các giới hạn khác giữ như v0.4.7.

English

This release improves CAD Studio (local): notifications when the agent finishes, in-page image viewer, resizable columns, and an option to let the agent run commands in the project folder.

Added:

  • Notification when the agent finishes or needs your answer: shown only when you are not looking at the CAD Studio page. When the page is open on this machine, a popup appears at the bottom-right of the screen (not swallowed by Focus assist), closes after 15 seconds, and stays while hovered. From another machine the browser's notification is used. Toggle it in Settings, with a test button.
  • In-page image viewer: click an image to open it. Scroll to zoom, drag to pan, double-click to fit, Esc to close.
  • Resizable project and file columns. Double-click the handle to reset. Widths survive a reload.
  • Let the agent run commands (optional, per project): when enabled in project settings, Claude CLI may run commands (Bash) in the project folder. Off by default: the agent only reads and edits files.

Fixed:

  • If sending fails, the typed message (with images) is kept so it can be sent again.
  • A new chat session appears in the list right away. An empty session is reused instead of creating another.
  • File icons get a soft color by file type.

To do:

  • Quit the launcher completely and reopen it.

Limitations:

  • The notification popup and command permission were tried only on the dev machine, not on a clean machine. Other limitations as in v0.4.7.

AutoCAD MCP Launcher v0.4.7

Choose a tag to compare

@github-actions github-actions released this 20 Nov 07:31

AutoCAD MCP Launcher v0.4.7

Tiếng Việt

Bản này đưa CAD Studio (local), web chat gọi MCP ngay trên máy, vào sẵn trong bộ cài. Bản này cũng thêm MCP cho LiteBIM và LiteCAD.

Thêm:

  • CAD Studio (local) có sẵn trong launcher: bộ cài kèm web đã build và node.exe riêng (thư mục cadweb\), nên không cần cài Node.js hay chạy npm install. Bấm Mở CAD Studio (local) ở tab Điều khiển, trình duyệt mở http://localhost:8788. Hội thoại và cấu hình lưu ở launcher\state\cadweb\, bản cập nhật không ghi đè thư mục này.
  • Cài và đăng nhập Claude CLI ngay trong CAD Studio: khi máy chưa có Claude CLI, mục Cài đặt có nút Tải và cài Claude CLI (bộ cài chính thức của Anthropic, không cần quyền quản trị). Cài xong có nút Đăng nhập Claude, nút này mở cửa sổ đăng nhập. Trang tự cập nhật trạng thái.
  • CAD Studio có dự án và cột file: mỗi dự án là một thư mục trên máy (mặc định ~\CAD Studio\projects), có các cuộc trò chuyện riêng. Claude CLI và Codex làm việc ngay trong thư mục đó. Cột trái là cây dự án, cột phải là cây file của dự án: tạo, đổi tên, chép, di chuyển, kéo thả tải lên, tìm và mở file. Hộp chọn thư mục và file là hộp thoại thật của Windows. Có menu chuột phải.
  • CAD Studio: trang Cài đặt mới và thanh "Đã sử dụng": Cài đặt có ô tìm và các nhóm mục. Đáy trang hiện hạn mức gói Claude (Pro/Max) và Codex (ChatGPT Plus/Pro), kèm thời gian còn lại tới lúc đặt lại. Số liệu đọc từ chính Claude CLI và nhật ký Codex.
  • MCP LiteBIM và LiteCAD (tùy chọn): máy có LiteBIM thì gateway có thêm http://127.0.0.1:8764/litebim/mcp (12 tool). Máy có LiteCAD thì có thêm /litecad/mcp. Tự thêm vào agent cũng thêm hai mục này khi máy có. Chế độ kết nối ra server cũng gọi được hai đường này. Xem mục 2.11 trong docs/HUONG-DAN-CAI-DAT-MAY-MOI.md.
  • Skill điều phối dùng cho cả LiteCAD và LiteBIM: autocad-agent-coordinator có thêm mục chọn ứng dụng (AutoCAD, LiteCAD hay LiteBIM) và quy trình dựng mô hình LiteBIM bằng script theo từng phần, kiểm tra bằng view sau mỗi lần chạy. MCP LiteBIM và LiteCAD có thêm tool skills, để agent nạp skill nghiệp vụ ngay từ ứng dụng đó.
  • Skill thiet-ke-phong-nha: thêm quy tắc cánh cửa mở áp sát vách.

Đổi:

  • Thư mục Beiming đổi tên từ autocad-beiming-mcp-custom thành autocad-beiming-mcp. Lần mở đầu tiên sau khi cập nhật, launcher tự chuyển .venv cũ sang thư mục mới và cài lại Beiming từ đó, không cần cài từ đầu.
  • Icon mới cho launcher: cửa sổ, khay hệ thống, shortcut Start/Desktop và bộ cài.
  • Cài MCP: nếu .venv mất pip thì tự khôi phục bằng ensurepip trước khi cài.

Cần làm:

  • Thoát hẳn launcher rồi mở lại. Lần đầu có thể chậm thêm vài chục giây do bước chuyển .venv của Beiming.
  • Dùng Claude Desktop: tải lại skill autocad-agent-coordinator và thiet-ke-phong-nha (bản zip trong dist\) ở Cài đặt, mục Skills.

Giới hạn:

  • CAD Studio đóng gói: đã phát hành thử ở v0.4.7-beta.1 và chạy bản build trên máy làm (web, API dự án, hạn mức, trạng thái Claude CLI trả lời đúng). Phần dự án, cột file và hạn mức gói thêm sau bản beta. Chưa có kết quả thử trên máy sạch không có Node.js.
  • Bước chuyển .venv Beiming mới thử với một venv tạo để thử, chưa có kết quả khi cập nhật thật từ v0.4.6.
  • litecad chưa thử với LiteCAD thật. Với litebim, mới thử các lệnh đọc trên LiteBIM 27.4.19 thật. Chưa thử run_script/edit_script.
  • Các giới hạn khác giữ như v0.4.6.

English

This release ships CAD Studio (local), the web chat that calls MCP on this machine, inside the installer. It also adds MCP for LiteBIM and LiteCAD.

Added:

  • CAD Studio (local) built into the launcher: the installer carries the prebuilt web app and its own node.exe (folder cadweb\), so no Node.js install and no npm install are needed. Click Mở CAD Studio (local) on the Control tab and the browser opens http://localhost:8788. Conversations and settings live in launcher\state\cadweb\, which updates never overwrite.
  • Install and sign in to Claude CLI from CAD Studio: when Claude CLI is missing, Settings shows Tải và cài Claude CLI (Anthropic's official installer, no admin rights). Once installed, Đăng nhập Claude opens the sign-in window. The page refreshes its status on its own.
  • CAD Studio projects and file column: each project is a folder on this machine (default ~\CAD Studio\projects) with its own conversations. Claude CLI and Codex work inside that folder. The left column is the project tree, the right column is the project's file tree: create, rename, copy, move, drag-and-drop upload, search and open files. Folder and file pickers are the real Windows dialogs. There is a right-click menu.
  • CAD Studio: new Settings page and usage bar: Settings has a search box and grouped sections. The bottom of the page shows the Claude (Pro/Max) and Codex (ChatGPT Plus/Pro) plan limits with time until reset, read from Claude CLI itself and the Codex session logs.
  • LiteBIM and LiteCAD MCP (optional): on a machine with LiteBIM the gateway also serves http://127.0.0.1:8764/litebim/mcp (12 tools). With LiteCAD it also serves /litecad/mcp. Tự thêm vào agent adds them when present, and outbound mode can call them too. See section 2.11 of docs/HUONG-DAN-CAI-DAT-MAY-MOI.md.
  • Coordinator skill covers LiteCAD and LiteBIM: autocad-agent-coordinator gains a section on choosing the application (AutoCAD, LiteCAD or LiteBIM) and a LiteBIM workflow: build the model by script in parts and check with view after each run. The LiteBIM and LiteCAD MCPs gain a skills tool, so agents can load the domain skills from there.
  • thiet-ke-phong-nha skill: adds a rule for door leaves opening flush against a wall.

Changed:

  • The Beiming folder is renamed from autocad-beiming-mcp-custom to autocad-beiming-mcp. On the first start after updating, the launcher moves the old .venv into the new folder and reinstalls Beiming from there, so there is no full reinstall.
  • New launcher icon: window, system tray, Start/Desktop shortcuts and the installer.
  • MCP install: if a .venv has lost pip, it is restored with ensurepip before installing.

To do:

  • Quit the launcher completely and reopen it. The first start may take a few extra seconds while the Beiming .venv is moved.
  • On Claude Desktop: re-upload the autocad-agent-coordinator and thiet-ke-phong-nha skills (zips in dist\) under Settings, Skills.

Limitations:

  • Packaged CAD Studio: shipped for testing as v0.4.7-beta.1 and the build was run on the dev machine (web, projects API, plan limits and Claude CLI status answer correctly). Projects, the file column and plan limits were added after the beta. No result yet from a clean machine without Node.js.
  • The Beiming .venv move was tried only on a test venv; no result yet from a real update from v0.4.6.
  • litecad is not tried with real LiteCAD. For litebim, only read commands were tried, on real LiteBIM 27.4.19. run_script/edit_script are not tried.
  • Other limitations as in v0.4.6.

AutoCAD MCP Launcher v0.4.7-beta.1

Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 02:06

AutoCAD MCP Launcher v0.4.7-beta.1

Bản thử (pre-release). Launcher của người dùng không tự cập nhật lên bản này. Tải bộ cài hoặc gói zip ở dưới để thử. Máy đã cài bản beta sẽ tự được đề nghị lên v0.4.7 chính thức khi bản đó phát hành.

Tiếng Việt

Bản này đưa CAD Studio (local), web chat gọi MCP ngay trên máy, vào sẵn trong bộ cài. Bản này cũng thêm MCP cho LiteBIM và LiteCAD.

Thêm:

  • CAD Studio (local) có sẵn trong launcher: bộ cài kèm web đã build và node.exe riêng (thư mục cadweb\), nên không cần cài Node.js hay chạy npm install. Bấm Mở CAD Studio (local) ở tab Điều khiển, trình duyệt mở http://localhost:8788. Hội thoại và cấu hình lưu ở launcher\state\cadweb\, bản cập nhật không ghi đè thư mục này.
  • Cài và đăng nhập Claude CLI ngay trong CAD Studio: khi máy chưa có Claude CLI, mục Cài đặt có nút Tải và cài Claude CLI (bộ cài chính thức của Anthropic, không cần quyền quản trị). Cài xong có nút Đăng nhập Claude, nút này mở cửa sổ đăng nhập. Trang tự cập nhật trạng thái.
  • MCP LiteBIM và LiteCAD (tùy chọn): máy có LiteBIM thì gateway có thêm http://127.0.0.1:8764/litebim/mcp (12 tool). Máy có LiteCAD thì có thêm /litecad/mcp. Tự thêm vào agent cũng thêm hai mục này khi máy có. Chế độ kết nối ra server cũng gọi được hai đường này. Xem mục 2.11 trong docs/HUONG-DAN-CAI-DAT-MAY-MOI.md.

Đổi:

  • Thư mục Beiming đổi tên từ autocad-beiming-mcp-custom thành autocad-beiming-mcp. Lần mở đầu tiên sau khi cập nhật, launcher tự chuyển .venv cũ sang thư mục mới và cài lại Beiming từ đó, không cần cài từ đầu.
  • Cài MCP: nếu .venv mất pip thì tự khôi phục bằng ensurepip trước khi cài.

Cần làm:

  • Thoát hẳn launcher rồi mở lại. Lần đầu có thể chậm thêm vài chục giây do bước chuyển .venv của Beiming.

Giới hạn:

  • CAD Studio đóng gói: đã chạy thử bản build bằng node.exe riêng trên một máy (web, API, trạng thái Claude CLI). Chưa thử trên máy sạch không có Node.js, và chưa thử qua bộ cài .exe. Đó là mục đích của bản beta này.
  • Bước chuyển .venv Beiming chỉ mới thử với một venv tạo để thử, chưa thử khi cập nhật thật từ v0.4.6.
  • litecad chưa thử với LiteCAD thật. Với litebim, mới thử các lệnh đọc trên LiteBIM 27.4.19 thật. Chưa thử run_script/edit_script.
  • Các giới hạn khác giữ như v0.4.6.

English

This release ships CAD Studio (local), the web chat that calls MCP on this machine, inside the installer. It also adds MCP for LiteBIM and LiteCAD.

Added:

  • CAD Studio (local) built into the launcher: the installer carries the prebuilt web app and its own node.exe (folder cadweb\), so no Node.js install and no npm install are needed. Click Mở CAD Studio (local) on the Control tab and the browser opens http://localhost:8788. Conversations and settings live in launcher\state\cadweb\, which updates never overwrite.
  • Install and sign in to Claude CLI from CAD Studio: when Claude CLI is missing, Settings shows Tải và cài Claude CLI (Anthropic's official installer, no admin rights). Once installed, Đăng nhập Claude opens the sign-in window. The page refreshes its status on its own.
  • LiteBIM and LiteCAD MCP (optional): on a machine with LiteBIM the gateway also serves http://127.0.0.1:8764/litebim/mcp (12 tools). With LiteCAD it also serves /litecad/mcp. Tự thêm vào agent adds them when present, and outbound mode can call them too. See section 2.11 of docs/HUONG-DAN-CAI-DAT-MAY-MOI.md.

Changed:

  • The Beiming folder is renamed from autocad-beiming-mcp-custom to autocad-beiming-mcp. On the first start after updating, the launcher moves the old .venv into the new folder and reinstalls Beiming from there, so there is no full reinstall.
  • MCP install: if a .venv has lost pip, it is restored with ensurepip before installing.

To do:

  • Quit the launcher completely and reopen it. The first start may take a few extra seconds while the Beiming .venv is moved.

Limitations:

  • Packaged CAD Studio: the build was run with its own node.exe on one machine (web, API, Claude CLI status). Not yet tried on a clean machine without Node.js, or through the .exe installer. That is the purpose of this beta.
  • The Beiming .venv move was tried only on a test venv, not on a real update from v0.4.6.
  • litecad is not tried with real LiteCAD. For litebim, only read commands were tried, on real LiteBIM 27.4.19. run_script/edit_script are not tried.
  • Other limitations as in v0.4.6.

AutoCAD MCP Launcher v0.4.6

Choose a tag to compare

@github-actions github-actions released this 18 Nov 09:06

AutoCAD MCP Launcher v0.4.6

Tiếng Việt

Bản này thêm chế độ agent kết nối ra server (tùy chọn), giúp agent tự lấy và nạp skill chuyên biệt, và sửa nhiều lỗi khi vẽ trục, dim và khối lượng lớn qua MCP.

Thêm:

  • Kết nối ra server (agent từ xa), tắt mặc định: tab Cài đặt có mục Kết nối ra server. Launcher chủ động mở kết nối wss:// đi ra tới server và chuyển lời gọi MCP server gửi xuống vào gateway nội bộ; không mở cổng nào ở máy này. Server chỉ gọi được /beiming/mcp, /puran/mcp, /dutoan/mcp; tool launcher_set_backend bị chặn với server; cổng buộc đọc skill vẫn áp dụng. Token không hiện lại sau khi lưu và không vào log. Đặc tả: docs/GIAO-THUC-AGENT-KET-NOI-RA.md.
  • Agent tự nạp skill chuyên biệt: hướng dẫn của gateway và ghi chú agent nay có "Bước nạp skill tự động": sau skill điều phối, agent đọc bảng chọn và nạp các skill khớp việc. Nếu máy của agent chưa có bộ skill, agent đề nghị chép vào kho skill của chính nó (Claude Code ~/.claude/skills, Codex CLI ~/.codex/skills, agent khác thì thư mục skill riêng, không có thì ~/.agents/skills); hỏi người dùng một lần, không ghi đè skill người dùng đã sửa.
  • Phát hiện bản vẽ bị sửa tay: khi người dùng sửa bản vẽ ngoài agent, lệnh ghi kế tiếp báo E_DOCUMENT_REVISION_MISMATCH kèm external_change_detected để agent đọc lại trước khi vẽ tiếp. (Không thấy được sửa mà không đổi số đối tượng, HANDSEED và vùng bao.)
  • Skill dựng trục và dim: thêm references/truc-va-dim.md vào autocad-start-construction-drawing (cách bản CR8-2B dựng trục: dim giữa trục dùng vạch xiên, không mũi tên, không đường gióng; thứ tự dựng; con số ở 1:100; các bẫy). Skill điều phối thêm dòng cho việc dựng trục và dim, cùng mục vẽ khối lượng lớn theo lô.

Sửa:

  • cad_batch: nhận tham số ở cả params lẫn cấp ngoài cho từng thao tác; thiếu tham số thì báo E_PARAMETER_REJECTED có gợi ý, không còn KeyError 'entity_id' / 'x1'.
  • Dim tạo qua công cụ: create_dimension_linear/aligned/angular/radius nhận layer và text; dim mới lấy DIMSCALE của bản vẽ (trước đây ScaleFactor = 1 nên chữ nhỏ gấp 100 lần).
  • AutoCAD bận: đọc Application.HWND thử lại khi AutoCAD đang bận, hết báo sai E_AUTOCAD_INSTANCE_UNVERIFIED sau vài lệnh vẽ.

Cần làm:

  • Thoát hẳn launcher rồi mở lại (các sửa mã ở trên chỉ có hiệu lực sau khi gateway và Beiming khởi động lại), rồi mở phiên agent mới.
  • Dùng Claude Desktop: tải lại hai skill autocad-agent-coordinator và autocad-start-construction-drawing (bản zip dựng lại trong dist\) ở Cài đặt, mục Skills.

Giới hạn:

  • Kết nối ra server: đã thử bằng test với server WebSocket giả và một lượt chạy toàn tuyến trên gateway thật (ws:// localhost). Chưa thử với server wss:// thật và chứng chỉ TLS thật, với lệnh AutoCAD thật qua kênh này, và chạy nhiều giờ.
  • Công cụ vẫn chưa chọn được kiểu đầu dim hay bỏ đường gióng; việc đó làm bằng COM ngoài MCP (đã ghi trong skill). Phát hiện sửa tay có giới hạn như trên.
  • Việc agent tự chép skill là hướng dẫn cho mô hình, chưa kiểm với Claude Code, Codex, Claude Desktop thật.
  • Bài kiểm "một bản launcher" (test_launcher_single_instance) báo lỗi khi đang có launcher chạy trên máy; đã chạy khi launcher mở. Các giới hạn khác giữ như v0.4.5.

English

This release adds an optional outbound agent mode, makes agents fetch and load specialist skills on their own, and fixes several problems when drawing grids, dimensions and large drawings through MCP.

Added:

  • Outbound connection to a server (remote agent), off by default: the Settings tab has a new Kết nối ra server section. The launcher opens an outgoing wss:// connection to your server and relays the MCP calls it sends into the internal gateway; no port is opened on this machine. The server can only call /beiming/mcp, /puran/mcp, /dutoan/mcp; launcher_set_backend is blocked for it; the skill-read gate still applies. The token is never shown again after saving and never logged. Spec: docs/GIAO-THUC-AGENT-KET-NOI-RA.md.
  • Agents load specialist skills automatically: the gateway instructions and the agent note now carry an "automatic skill loading" step: after the coordinator skill, the agent reads its table and loads the matching skills. If the agent's machine lacks the skill set, it offers to copy it into its own skill store (Claude Code ~/.claude/skills, Codex CLI ~/.codex/skills, other agents their own skill folder, else ~/.agents/skills); it asks the user once and never overwrites skills the user edited.
  • Detect manual edits: when the user edits the drawing outside the agent, the next write call returns E_DOCUMENT_REVISION_MISMATCH with external_change_detected so the agent re-reads before continuing. (Edits that keep the object count, HANDSEED and extents unchanged are not seen.)
  • Grid and dimension skill: added references/truc-va-dim.md to autocad-start-construction-drawing (how the CR8-2B drawing builds grids: dimensions between grids use oblique ticks, no arrowheads, no extension lines; build order; 1:100 numbers; pitfalls). The coordinator skill gains a table row for grid and dimension work and a section on drawing large volumes in batches.

Fixed:

  • cad_batch: accepts parameters both inside params and at the top level of each operation; missing parameters give E_PARAMETER_REJECTED with a hint instead of KeyError 'entity_id' / 'x1'.
  • Dimensions made through the tool: create_dimension_linear/aligned/angular/radius accept layer and text; new dimensions take the drawing's DIMSCALE (before, ScaleFactor was 1 so text came out 100 times too small).
  • Busy AutoCAD: reading Application.HWND retries while AutoCAD is busy, ending the false E_AUTOCAD_INSTANCE_UNVERIFIED after a few drawing commands.

To do:

  • Quit the launcher completely and reopen it (the code fixes above only take effect after the gateway and Beiming restart), then start a new agent session.
  • On Claude Desktop: re-upload the two skills autocad-agent-coordinator and autocad-start-construction-drawing (rebuilt zips in dist\) under Settings, Skills.

Limitations:

  • Outbound mode: tried with tests against a fake WebSocket server and one end-to-end run on a real gateway (ws:// localhost). Not tried with a real wss:// server and real TLS certificate, with real AutoCAD commands through this channel, or over many hours.
  • The tool still cannot choose the dimension arrowhead type or suppress extension lines; that is done through COM outside MCP (documented in the skill). Manual-edit detection has the limits above.
  • Agents copying skills on their own is guidance for the model; not tried with real Claude Code, Codex or Claude Desktop.
  • The "single launcher instance" test (test_launcher_single_instance) fails while a launcher is running on the machine; it was run with the launcher open. Other limitations as in v0.4.5.

AutoCAD MCP Launcher v0.4.5

Choose a tag to compare

@github-actions github-actions released this 17 Nov 04:06

AutoCAD MCP Launcher v0.4.5

Tiếng Việt

Thêm nút Tự thêm vào agent: bấm một lần là launcher tự ghi cấu hình ba MCP (autocad_puran, autocad_beiming, dutoan) vào agent, không còn phải sao chép rồi dán tay.

Thêm:

  • Tab Điều khiển: hai nút Tự thêm vào agent và Gỡ khỏi agent cho OpenAI Codex, Claude Code, Claude Desktop và Cursor (mới có trong ô Agent). Trước khi ghi, launcher hiện tệp sẽ sửa và từng mục sẽ làm gì (thêm mới, đã đúng, hay đang khác nên thay), rồi hỏi xác nhận. Tệp cũ được sao lưu vào launcher\state\config-backups\. Chỉ ba mục của launcher bị đụng tới; MCP khác của bạn giữ nguyên. Bấm lại khi đã đúng thì không ghi gì.
  • Claude Code: chạy claude mcp add --transport http --scope user … (phạm vi user, dùng ở mọi project; cần lệnh claude trên PATH). Sau khi chạy, launcher đọc lại cấu hình để chắc mục đã vào, không tin mã thoát của lệnh.
  • Codex: sửa ~/.codex/config.toml, giữ nguyên kiểu xuống dòng, kiểm lại TOML trước khi ghi (Python 3.11 trở lên). Chỉ thay bảng chính của ba mục (và bảng con .env); giữ các bảng con của bạn như [mcp_servers.<tên>.tools.<tool>] với approval_mode. Gỡ thì bỏ cả bảng chính lẫn bảng con của ba mục đó, vì bảng con đứng một mình không hợp lệ.
  • Claude Desktop: gộp vào claude_desktop_config.json, tự chọn tệp của bản cài thường (%APPDATA%\Claude) hoặc bản Store (%LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude). Xong phải thoát hẳn và mở lại Claude Desktop.
  • Cursor: gộp vào %USERPROFILE%\.cursor\mcp.json.
  • Tệp cấu hình hỏng (JSON hoặc TOML không hợp lệ) thì launcher không sửa và báo lý do.

Thay đổi:

  • Lệnh Claude Code trong ô "Sao chép cấu hình" nay có --scope user, giống nút tự thêm.
  • Cửa sổ cao hơn để ô cấu hình không bị ép nhỏ; thông báo kết quả gọn một câu ("Đã cập nhật 3 mục: … Thoát hẳn Claude Desktop rồi mở lại.").

Cần làm:

  • Thoát hẳn launcher rồi mở lại, rồi mở phiên agent mới.
  • Máy đã ghi cấu hình bằng tay: bấm Tự thêm vào agent để đồng bộ (mục nào đã đúng thì giữ nguyên). Cấu hình trỏ tới thư mục cài của launcher đã bấm nút; đổi thư mục cài thì bấm lại.

Giới hạn:

  • Project có .mcp.json riêng khai báo cùng tên thì cấu hình của project đó được ưu tiên hơn cấu hình user của Claude Code.
  • Đã thử bằng test trên tệp tạm, trên bản sao config.toml Codex thật, với lệnh claude mcp thật dùng thư mục cấu hình tạm, và giao diện thật với ngữ cảnh tạm. Đã ghi thật một lần vào Claude Desktop bản Store: tệp hợp lệ và Claude Desktop liệt kê ba connector. Chưa thử ghi thật vào Cursor, Codex, Claude Code, và chưa thử kết nối thật tới gateway sau khi ghi.
  • Trên Python 3.10 không có bước kiểm TOML sau khi sửa Codex.
  • Các giới hạn khác giữ như v0.4.4 (cổng chặn skill chưa thử với Claude Code, Codex, Claude Desktop thật; dutoan qua HTTP chưa thử với dutoan.db thật 109 MB).

English

Adds the Tự thêm vào agent (add to agent) button: one click and the launcher writes the configuration of the three MCPs (autocad_puran, autocad_beiming, dutoan) into the agent, with no more copying and pasting by hand.

Added:

  • Control tab: two buttons, Tự thêm vào agent and Gỡ khỏi agent (remove), for OpenAI Codex, Claude Code, Claude Desktop and Cursor (new in the Agent box). Before writing, the launcher shows which file it will change and what it will do for each entry (add, already correct, or different and will be replaced), then asks for confirmation. The old file is backed up to launcher\state\config-backups\. Only the launcher's three entries are touched; your other MCPs stay as they are. Pressing it again when everything is correct writes nothing.
  • Claude Code: runs claude mcp add --transport http --scope user … (user scope, works in every project; needs the claude command on PATH). After running, the launcher re-reads the configuration to confirm the entries are there instead of trusting the command's exit code.
  • Codex: edits ~/.codex/config.toml, keeps the line-ending style, and re-validates the TOML before writing (Python 3.11 and later). Only the main table of the three entries (and the .env sub-table) is replaced; your own sub-tables are kept, such as [mcp_servers.<name>.tools.<tool>] with approval_mode. Removing drops both the main table and the sub-tables of those three entries, because a sub-table on its own is invalid.
  • Claude Desktop: merges into claude_desktop_config.json, choosing the regular install (%APPDATA%\Claude) or the Store build (%LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude) automatically. Quit Claude Desktop completely and reopen it afterwards.
  • Cursor: merges into %USERPROFILE%\.cursor\mcp.json.
  • A broken configuration file (invalid JSON or TOML) is not modified; the launcher says why.

Changed:

  • The Claude Code command in the "Sao chép cấu hình" (copy configuration) box now carries --scope user, like the button.
  • The window is taller so the configuration box is no longer squeezed; the result message is one short sentence ("Đã cập nhật 3 mục: … Thoát hẳn Claude Desktop rồi mở lại.").

To do:

  • Quit the launcher completely and reopen it, then start a new agent session.
  • If you wrote the configuration by hand: press Tự thêm vào agent to sync (entries that are already correct are left alone). The configuration points at the install folder of the launcher whose button was pressed; press it again if you change the install folder.

Limitations:

  • A project with its own .mcp.json declaring the same name takes precedence over Claude Code's user configuration.
  • Tried with tests on temporary files, on a copy of a real Codex config.toml, with the real claude mcp command using a temporary configuration folder, and with the real UI against a temporary context. One real write to the Store build of Claude Desktop was made: the file is valid and Claude Desktop lists the three connectors. Real writes to Cursor, Codex and Claude Code were not tried, nor a real connection to the gateway after writing.
  • On Python 3.10 there is no TOML re-validation step after editing Codex.
  • Other limitations as in v0.4.4 (the skill gate not tried with real Claude Code, Codex or Claude Desktop; dutoan over HTTP not tried with the real 109 MB dutoan.db).

AutoCAD MCP Launcher v0.4.4

Choose a tag to compare

@github-actions github-actions released this 17 Nov 03:42

AutoCAD MCP Launcher v0.4.4

Tiếng Việt

Gateway buộc agent đọc skill điều phối trước khi dùng tool CAD, và công cụ dutoan chuyển từ stdio sang HTTP qua gateway.

Thêm:

  • Cổng chặn skill. Lời dặn "nạp skill trước" trong hướng dẫn MCP và trong CLAUDE.md/AGENTS.md chỉ là nhắc, nên agent hay bỏ qua. Nay gateway phát Mcp-Session-Id lúc initialize, và mọi tool CAD của autocad_beiming/autocad_puran trả lỗi SKILL_NOT_READ (kèm bước kế tiếp: gọi skills với operation=get, name=autocad-agent-coordinator) cho tới khi phiên đó đã đọc skill. Việc chặn xảy ra trước hàng đợi CAD. Không bị chặn: skills, knowledge, knowledge_propose, launcher_set_backend và toàn bộ dutoan. Chỉ việc đọc thân skill điều phối bằng tool skills mới được tính.
  • Tab Cài đặt: ô "Buộc agent đọc skill điều phối trước khi dùng tool CAD" (mặc định bật, có hiệu lực ngay). Biến môi trường AUTOCAD_MCP_SKILL_GATE=off cũng tắt được.
  • dutoan qua gateway: địa chỉ http://127.0.0.1:8764/dutoan/mcp. Gateway chạy riêng một tiến trình dutoan (cổng nội bộ 8877, stateless) cho mọi agent, tự khởi động ở lần gọi đầu tiên, không đi qua bộ chọn MCP AutoCAD nên không bị ngắt khi đổi giữa Beiming và Puran và không cần AutoCAD. Thêm POST /dutoan/stop và mục dutoan trong /status.

Thay đổi:

  • Cấu hình agent: mục dutoan của Codex, Claude Code, Claude Desktop (qua stdio_bridge.py dutoan) và Cursor nay là địa chỉ HTTP, không còn đường dẫn Python. Nhãn trạng thái đổi thành "HTTP qua gateway".
  • Nhập hoặc tải dutoan.db: trước khi thay tệp, launcher nhờ gateway thả tiến trình dutoan (đang giữ tệp) và xóa các tệp phụ -wal/-shm của bản cũ. Tiến trình tự khởi động lại ở lần gọi kế tiếp.
  • Tài liệu: README.md, hướng dẫn cài docs/HUONG-DAN-CAI-DAT-MAY-MOI.md và du-toan-mcp/README.md cập nhật theo. Câu cũ "chưa phải cơ chế bắt buộc ở gateway" được sửa.

Cần làm:

  • Thoát hẳn launcher rồi mở lại, rồi mở phiên agent mới.
  • Cấu hình lại dutoan ở mọi agent đã dùng kiểu stdio: Claude Code chạy claude mcp remove dutoan rồi claude mcp add --transport http dutoan http://127.0.0.1:8764/dutoan/mcp; Codex thay mục command = ... bằng url; Claude Desktop thay mục dutoan bằng cấu hình sao chép mới từ launcher. Từ nay dutoan cần launcher đang chạy và đã Bật kết nối cho agent.

Giới hạn:

  • Gateway chỉ buộc một bước (đọc skill điều phối). Nó không kiểm được agent có làm theo skill hay có nạp thêm các skill chuyên biệt hay không.
  • Cổng chặn mới thử với client MCP của Python trên gateway thật (bị chặn khi chưa đọc, mở sau khi đọc, phiên mới bị chặn lại). Chưa thử với Claude Code, Codex, Claude Desktop thật; máy khách không gửi lại Mcp-Session-Id thì dùng chung cửa sổ 30 phút. Gateway khởi động lại thì mọi phiên phải đọc lại. Máy không có skill autocad-agent-coordinator thì cổng tự mở.
  • dutoan qua HTTP mới thử với cơ sở dữ liệu tạm (initialize, tools/list đủ 12 tool, tools/call, dừng rồi tự khởi động lại). Chưa thử với dutoan.db thật 109 MB, chưa thử cầu nối stdio_bridge.py dutoan trên Claude Desktop, và chưa thử cả luồng Nhập từ tệp… trong cửa sổ launcher (mới thử từng phần bằng test).
  • Các giới hạn khác giữ như v0.4.3.

English

The gateway now makes agents read the coordinator skill before using CAD tools, and the dutoan tool moves from stdio to HTTP through the gateway.

Added:

  • Skill gate. The "load the skill first" guidance in the MCP instructions and in CLAUDE.md/AGENTS.md is only a reminder, and agents often skip it. The gateway now issues an Mcp-Session-Id on initialize, and every CAD tool of autocad_beiming/autocad_puran returns a SKILL_NOT_READ error (with the next step: call skills with operation=get, name=autocad-agent-coordinator) until that session has read the skill. The refusal happens before the CAD queue. Not gated: skills, knowledge, knowledge_propose, launcher_set_backend and all of dutoan. Only reading the coordinator skill body through the skills tool counts.
  • Settings tab: a checkbox "Buộc agent đọc skill điều phối trước khi dùng tool CAD" (on by default, effective immediately). The environment variable AUTOCAD_MCP_SKILL_GATE=off also turns it off.
  • dutoan through the gateway: address http://127.0.0.1:8764/dutoan/mcp. The gateway runs one separate dutoan process (internal port 8877, stateless) for every agent, started on the first call. It bypasses the AutoCAD MCP switchboard, so it is not cut off when switching between Beiming and Puran and needs no AutoCAD. Adds POST /dutoan/stop and a dutoan entry in /status.

Changed:

  • Agent configuration: the dutoan entry for Codex, Claude Code, Claude Desktop (via stdio_bridge.py dutoan) and Cursor is now an HTTP address, no longer a Python path. The status label now reads "HTTP qua gateway".
  • Importing or downloading dutoan.db: before replacing the file, the launcher asks the gateway to drop the dutoan process (which holds the file) and removes the old database's -wal/-shm side files. The process restarts by itself on the next call.
  • Documentation: README.md, the install guide docs/HUONG-DAN-CAI-DAT-MAY-MOI.md and du-toan-mcp/README.md are updated. The old sentence "not an enforced mechanism at the gateway" is corrected.

To do:

  • Quit the launcher completely and reopen it, then start a new agent session.
  • Reconfigure dutoan in every agent that used stdio: Claude Code runs claude mcp remove dutoan then claude mcp add --transport http dutoan http://127.0.0.1:8764/dutoan/mcp; Codex replaces the command = ... entry with url; Claude Desktop replaces the dutoan entry with the new configuration copied from the launcher. From now on dutoan needs the launcher running with Bật kết nối cho agent on.

Limitations:

  • The gateway enforces one step only (reading the coordinator skill). It cannot check that the agent follows the skill or loads further specialised skills.
  • The gate was only tried with the Python MCP client against a real gateway (refused before reading, open after reading, a new session refused again). Not tried with real Claude Code, Codex or Claude Desktop; a client that does not send Mcp-Session-Id back shares a 30-minute window. A gateway restart makes every session read again. On a machine without the autocad-agent-coordinator skill the gate stays open.
  • dutoan over HTTP was only tried against a temporary database (initialize, tools/list with all 12 tools, tools/call, stop then automatic restart). Not tried with the real 109 MB dutoan.db, not with the stdio_bridge.py dutoan bridge on Claude Desktop, and the whole Nhập từ tệp… flow in the launcher window was not run (only parts, by test).
  • Other limitations as in v0.4.3.

AutoCAD MCP Launcher v0.4.3

Choose a tag to compare

@github-actions github-actions released this 16 Nov 07:56

AutoCAD MCP Launcher v0.4.3

Tiếng Việt

Bản này gỡ phần Revit thử nghiệm khỏi launcher và bổ sung nghiệp vụ cho các skill thiết kế chung cư, bóc khối lượng và dự toán.

Thêm:

  • Skill autocad-apartment-floor-plan: quy trình dừng ở 5 cổng (Chỉ tiêu, Hình khối, Lõi và hành lang, Căn điển hình, Giao) để người dùng chọn phương án. Thêm 3 tài liệu tham chiếu (cổng duyệt phương án, hiệu quả diện tích, QCVN 06 cho chung cư) và các mục kiểm tra tương ứng trong checklist.
  • Skill autocad-agent-coordinator: mục "Bản vẽ lớn và bóc khối lượng: đọc ngoại tuyến". Từ khoảng 100 đối tượng trở lên, đổi một bản sao DWG sang DXF bằng scripts/dwg_to_dxf.py (LibreDWG, cần pip install ezdxf) rồi đọc bằng ezdxf thay vì đọc qua MCP. Vẫn hỏi người dùng trước khi tạo DXF.
  • Skill tra-dinh-muc-du-toan: hướng dẫn lập dự toán Excel từ mẫu GXD, kèm mau-du-toan-gxd.md (cấu trúc mẫu), them_cong_tac_gxd.py (thêm công tác vào mẫu bằng Excel COM) và vi-du-spec-dam-san.json. Tệp mẫu MAU_du_toan_GXD_trong.xlsm không kèm theo vì có dữ liệu bản quyền của phần mềm GXD; mỗi người dùng tự có bản của mình.
  • Skill thiet-ke-phong-nha: ghi chú rằng chung cư phải theo QCVN 04:2021/BXD, số khác với TCVN 4451.
  • Tài liệu nguồn gốc và thay đổi so với upstream Beiming: autocad-beiming-mcp-custom/LOCAL_CHANGES.md.

Sửa:

  • du-toan-mcp: với tệp dữ liệu dự toán tải về chỉ có phần tham chiếu, công cụ tự tạo các bảng còn thiếu (dự án, người dùng...) khi khởi động.

Thay đổi:

  • Gỡ hai tab "Revit (thử nghiệm)" và "Revit pyRevit (thử nghiệm)" khỏi launcher, cùng mã tương ứng (revit_mcp.py, revit_pyrevit_mcp.py). Ai đang dùng các tab này cần chạy máy chủ Revit MCP bằng cách khác, ngoài launcher.

Cần làm:

  • Tải lại 4 zip skill lên Claude Desktop (Cài đặt, mục Skills): autocad-agent-coordinator, autocad-apartment-floor-plan, thiet-ke-phong-nha, tra-dinh-muc-du-toan.
  • Thoát hẳn launcher rồi mở lại sau khi cập nhật.

Giới hạn:

  • Đã chạy bộ kiểm thử: 187 đạt. Một kiểm thử (test_second_process_is_refused_until_first_exits, khóa một phiên bản) lỗi vì launcher thật đang chạy cùng thư mục lúc kiểm; kiểm thử này đạt khi chạy ở thư mục khác và đạt ở v0.4.2.
  • Chưa mở cửa sổ launcher sau khi gỡ hai tab Revit và chưa cài thử bộ cài .exe.
  • Chưa có kiểm thử riêng cho phần tự tạo bảng của du-toan-mcp.
  • Các thay đổi skill là hướng dẫn quy trình, không có kiểm thử tự động.
  • Các giới hạn khác giữ như v0.4.2.

English

This release removes the experimental Revit tabs from the launcher and adds domain guidance to the apartment-design, quantity take-off and cost-estimating skills.

Added:

  • Skill autocad-apartment-floor-plan: the workflow now stops at 5 gates (Targets, Massing, Core and corridor, Typical unit, Handover) so the user picks each option. Adds 3 reference documents (option review gates, area efficiency, QCVN 06 for apartment buildings) and matching checklist items.
  • Skill autocad-agent-coordinator: new section "Large drawings and quantity take-off: read offline". From about 100 objects up, convert a copy of the DWG to DXF with scripts/dwg_to_dxf.py (LibreDWG, needs pip install ezdxf) and read it with ezdxf instead of reading through MCP. The user is still asked before a DXF is created.
  • Skill tra-dinh-muc-du-toan: guidance for building an Excel estimate from the GXD template, with mau-du-toan-gxd.md (template structure), them_cong_tac_gxd.py (adds work items to the template through Excel COM) and vi-du-spec-dam-san.json. The template file MAU_du_toan_GXD_trong.xlsm is not included because it contains copyrighted data from the GXD software; each user supplies their own copy.
  • Skill thiet-ke-phong-nha: a note that apartment buildings must follow QCVN 04:2021/BXD, whose numbers differ from TCVN 4451.
  • Provenance and changes relative to upstream Beiming: autocad-beiming-mcp-custom/LOCAL_CHANGES.md.

Fixed:

  • du-toan-mcp: for a downloaded estimating data file that holds only the reference tables, the tool now creates the missing tables (projects, users...) at startup.

Changed:

  • The "Revit (thử nghiệm)" and "Revit pyRevit (thử nghiệm)" tabs are removed from the launcher, together with their code (revit_mcp.py, revit_pyrevit_mcp.py). Anyone using those tabs must run the Revit MCP server another way, outside the launcher.

To do:

  • Re-upload the 4 skill zips to Claude Desktop (Settings, Skills): autocad-agent-coordinator, autocad-apartment-floor-plan, thiet-ke-phong-nha, tra-dinh-muc-du-toan.
  • Quit the launcher completely and reopen it after updating.

Known limitations:

  • The test suite was run: 187 passed. One test (test_second_process_is_refused_until_first_exits, single-instance lock) failed because the real launcher was running from the same folder during the check; the test passes from another folder and passed on v0.4.2.
  • The launcher window was not opened after the Revit tabs were removed, and the .exe installer was not installed for this release.
  • There is no dedicated test yet for the table creation in du-toan-mcp.
  • The skill changes are workflow guidance and have no automated tests.
  • Other limitations are unchanged from v0.4.2.

AutoCAD MCP Launcher v0.4.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 10:27

AutoCAD MCP Launcher v0.4.2

Tiếng Việt

Thêm cách đơn giản nhất để đưa dữ liệu dự toán vào máy: người quản lý gửi tệp dutoan.db, thành viên bấm Nhập từ tệp là xong.

Thêm:

  • Tab Cài đặt, mục Dữ liệu dự toán, nút "Nhập từ tệp…": chọn tệp dutoan.db hoặc zip có chứa nó. Tệp được kiểm tra (kích thước, đủ bảng don_gia, dinh_muc, tu_dien_vat_tu) rồi mới thay bản cũ; lỗi thì giữ nguyên bản đang dùng. Zip có đúng một tệp .db và không được giải nén quá 2 GB.
  • Gửi file nên nén zip: bản 109 MB nén còn khoảng 18 MB.
  • Nếu công cụ dutoan đang chạy và giữ tệp, launcher báo rõ cần đóng phiên agent rồi nhập lại, thay vì báo lỗi hệ thống.

Giữ nguyên:

  • Mã cổng nhóm và tự tải từ v0.4.1 vẫn còn, chỉ hoạt động khi có khóa dữ liệu; không dùng thì không ảnh hưởng. Cách tải theo địa chỉ cũng vẫn dùng được.

Cần làm:

  • Người quản lý gửi bản đã xóa tài khoản admin (không gửi tệp đang dùng, vì vùng trống của SQLite còn giữ chuỗi băm). Cách tạo bản sạch: VACUUM INTO từ tệp đã xóa dòng admin.
  • Thoát hẳn launcher rồi mở lại sau khi cập nhật.

Giới hạn:

  • dutoan.db được chuyển từ phần mềm dự toán thương mại (GXD); gửi tệp cho người khác vẫn là phát hành dữ liệu, chưa kiểm tra giấy phép có cho phép trong nhóm hay không.
  • Đã thử nhập bản 109 MB và bản zip 18 MB thật vào thư mục tạm (SHA-256 khớp). Chưa bấm nút trong cửa sổ launcher, chưa cài thử bộ cài .exe.
  • Các giới hạn khác giữ như v0.4.1.

English

Adds the simplest way to get the estimating data onto a machine: the administrator sends the dutoan.db file and a member presses Nhập từ tệp (Import from file).

Added:

  • Settings, "Dữ liệu dự toán", button "Nhập từ tệp…": pick a dutoan.db file or a zip containing it. The file is checked (size, required tables don_gia, dinh_muc, tu_dien_vat_tu) before it replaces the old one; on failure the current file is kept. The zip must hold exactly one .db file and may not expand beyond 2 GB.
  • Zip the file before sending: the 109 MB file compresses to about 18 MB.
  • If the dutoan tool is running and holding the file, the launcher says to close the agent sessions and import again, instead of showing a system error.

Unchanged:

  • The team-gateway and automatic download code from v0.4.1 stays; it only runs when a data key is set, so leaving it unused changes nothing. Downloading from an address still works.

To do:

  • The administrator sends a copy with the admin account removed (not the file in use, since SQLite's free space still holds the password hash). Make it with VACUUM INTO from the file after deleting the admin row.
  • Quit the launcher completely and reopen it after updating.

Limitations:

  • dutoan.db was migrated from a commercial estimating package (GXD); sending the file to others is still distributing the data, and whether the licence allows that within the team has not been checked.
  • Importing the real 109 MB file and the 18 MB zip was tried into a temporary folder (SHA-256 matched). Not tried by pressing the button in the launcher window, nor with the packaged installer.
  • Other limitations as in v0.4.1.

AutoCAD MCP Launcher v0.4.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 08:50

AutoCAD MCP Launcher v0.4.1

Tiếng Việt

Launcher tự tải và tự cập nhật dữ liệu dự toán dutoan.db từ cổng của nhóm, và khi cài skill thì ghi sẵn chỉ dẫn "việc AutoCAD thì nạp skill trước" vào tệp chỉ dẫn của agent.

Thêm:

  • Tự tải dữ liệu dự toán. Khi mở launcher (và sáu giờ một lần) launcher hỏi cổng của nhóm, so SHA-256 với tệp trên máy và chỉ tải khi khác. Tệp tải về phải đúng SHA-256 và đủ bảng don_gia, dinh_muc, tu_dien_vat_tu mới thay bản cũ; lỗi thì giữ nguyên bản đang dùng. Tệp chép tay vẫn được nhận, không tải thừa.
  • Tab Cài đặt, mục Dữ liệu dự toán: thêm ô Khóa dữ liệu (ẩn nội dung), nút Cập nhật từ cổng nhóm và ô tích bật hoặc tắt tự cập nhật. Cách tải theo địa chỉ cũ vẫn dùng được (nút Tải theo địa chỉ).
  • Cổng knowledge-gateway: thêm GET /dutoan/manifest và GET /dutoan/db phát tệp từ kho R2 riêng tư; công cụ tools/upload-dutoan.mjs để tải dữ liệu lên. Hướng dẫn thiết lập ở README của knowledge-gateway.
  • Cài skill ghi chỉ dẫn cho agent: khi bấm cài skill cho Claude Code hoặc Codex, launcher ghi một khối có đánh dấu vào ~/.claude/CLAUDE.md hoặc ~/.codex/AGENTS.md, để agent dùng skill AutoCAD cả khi launcher tắt. Khối được cập nhật tại chỗ, không đụng phần bạn tự viết. Claude Desktop không có tệp chỉ dẫn toàn cục nên không được ghi.

Cần làm:

  • Quản trị cổng (một lần): bật R2, tạo bucket dutoan-data, đặt bí mật DUTOAN_KEY, triển khai lại cổng, rồi chạy node tools/upload-dutoan.mjs <dutoan.db>. Các bước ở README của knowledge-gateway.
  • Thành viên: dán khóa dữ liệu do người quản lý cấp vào ô Khóa dữ liệu. Khóa này riêng, không nhúng sẵn trong launcher.
  • Thoát hẳn launcher rồi mở lại sau khi cập nhật.

Lưu ý bảo mật:

  • Khóa nhóm chung nằm sẵn trong launcher công khai (chỉ che mờ), nên không bảo vệ được dữ liệu dự toán. Hãy đặt DUTOAN_KEY riêng; nếu không, cổng dùng khóa nhóm chung và ai tải launcher cũng lấy được dữ liệu.

Giới hạn:

  • Mới thử cổng ở máy cục bộ với kho R2 giả lập và tệp thử 2 MB: khóa chung bị từ chối (401), tải lần đầu đúng SHA-256, lần sau nhận ra đã mới nhất. Chưa thử với Cloudflare thật, tệp 106 MB thật, hay bấm nút trong giao diện launcher; chưa thử việc ghi chỉ dẫn khi cài skill trong giao diện.
  • dutoan.db được chuyển từ phần mềm dự toán thương mại (GXD); chưa kiểm tra giấy phép cho phép chia sẻ trong nhóm. Tệp còn một tài khoản admin (mật khẩu băm) cần xóa trước khi tải lên cổng.
  • Các giới hạn khác giữ như v0.4.0.

English

The launcher now downloads and keeps the estimating data dutoan.db up to date from the team gateway, and installing skills also writes a "load the skill first for AutoCAD work" instruction into the agent's instruction file.

Added:

  • Automatic estimating data. On start (and every six hours) the launcher asks the team gateway, compares the SHA-256 with the local file and downloads only when it differs. The download must match the SHA-256 and contain the tables don_gia, dinh_muc, tu_dien_vat_tu before it replaces the old file; on failure the current file is kept. A file copied by hand is recognised and not downloaded again.
  • Settings, "Dữ liệu dự toán": a hidden Khóa dữ liệu field, a Cập nhật từ cổng nhóm button and a checkbox to turn automatic updates on or off. The address-based download still works (Tải theo địa chỉ).
  • knowledge-gateway: adds GET /dutoan/manifest and GET /dutoan/db, serving the file from a private R2 bucket, plus tools/upload-dutoan.mjs to upload the data. Setup is in the knowledge-gateway README.
  • Skill install writes agent instructions: installing skills for Claude Code or Codex writes a marked block into ~/.claude/CLAUDE.md or ~/.codex/AGENTS.md, so agents use the AutoCAD skills even when the launcher is off. The block is updated in place and never touches your own text. Claude Desktop has no global instruction file, so it is not written.

To do:

  • Gateway administrator (once): enable R2, create the dutoan-data bucket, set the DUTOAN_KEY secret, redeploy the gateway, then run node tools/upload-dutoan.mjs <dutoan.db>. Steps are in the knowledge-gateway README.
  • Members: paste the data key you were given into Khóa dữ liệu. This key is separate and is not embedded in the launcher.
  • Quit the launcher completely and reopen it after updating.

Security note:

  • The shared team key ships inside the public launcher (only obscured), so it cannot protect the estimating data. Set a separate DUTOAN_KEY; otherwise the gateway falls back to the shared key and anyone who downloads the launcher can fetch the data.

Limitations:

  • The gateway was only tried locally with a simulated R2 bucket and a 2 MB test file: the shared key is refused (401), the first download matches the SHA-256, and the next run recognises it is current. Not tried with real Cloudflare, the real 106 MB file, or by pressing the buttons in the launcher window; the instruction block on skill install was not tried in the window either.
  • dutoan.db was migrated from a commercial estimating package (GXD); whether the licence allows sharing within the team has not been checked. It also holds an admin account (hashed password) that should be removed before uploading to the gateway.
  • Other limitations as in v0.4.0.