[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-94515":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},94515,"partmode","BOMWiki\u002Fpartmode","BOMWiki","Local-first parametric browser CAD for people and typed agents","https:\u002F\u002Fpartmode.com\u002F",null,"JavaScript",111,16,101,10,0,6,44.29,"GNU Affero General Public License v3.0",false,"main",[23,24,25,26,27,28],"browser-cad","cad","opencascade","parametric-modeling","typescript","webassembly","2026-08-24 04:01:22","# PartMode\n\nPartMode is free and open-source, browser-based parametric CAD built for people\nand agents. It combines OpenCascade WebAssembly, replicad, and three.js with\neditable parts, structured assemblies, exact B-rep evaluation, drawings, and\nstandard interchange formats.\n\n- **Free and open source** — use, inspect, modify, and self-host PartMode under\n  the GNU AGPL v3 license.\n- **Browser-based** — create and edit exact CAD models through a local-first web\n  interface, with no desktop CAD installation required.\n- **Agent-first CAD** — permissioned agents use typed operations against the\n  same editable documents and exact geometry evidence as the human interface.\n  Agent-first does not mean agent-only: people and agents can build, inspect,\n  revise, and export the same models.\n\n[Try PartMode](https:\u002F\u002Fpartmode.com\u002F) · [Read the in-product help](https:\u002F\u002Fpartmode.com\u002Fhelp)\n\n[![PartMode contributor demo: open a template, edit a parameter, approve a typed agent change, rebuild exact geometry, and export STEP](docs\u002Fmedia\u002Fpartmode-contributor-demo.gif)](docs\u002Fmedia\u002Fpartmode-contributor-demo.mp4)\n\n_18-second contributor demo: open an editable template, make a human parameter\nedit, approve a typed agent change, rebuild exact geometry, and export STEP._\n\nThe demo was captured locally from the public source snapshot at `8db0b804`\nusing the production typed-agent protocol. See the [capture evidence](docs\u002Fmedia\u002FREADME.md).\n\n## What is included\n\n- Parametric sketches and feature history\n- Multiple exact solid bodies and reusable part definitions\n- Assembly occurrences, mates, exploded views, and sections\n- Configurations, inspection, measurements, and mass properties\n- STEP import\u002Fexport plus STL, AMF, 3MF, SVG, DXF, and PDF outputs\n- Browser-approved agent sessions and opt-in server-headless projects\n- Regression tests for document, topology, B-rep, export, and visible UI behavior\n\nPartMode is engineering software, not a certification authority. Validate\ndimensions, tolerances, material choices, and released manufacturing data for\nyour application.\n\n## Architecture at a glance\n\n```mermaid\nflowchart LR\n  H[\"Human browser UI\"] --> D[\"Canonical schema-5 document\"]\n  M[\"Typed agent client\"] --> C[\"Permissioned preview and commit\"]\n  C --> D\n  D --> K[\"OpenCascade WASM exact kernel\"]\n  K --> E[\"B-rep evidence and exports\"]\n```\n\nThe browser and agent paths edit the same document model and reuse the same\nexact kernel-worker implementation. See the\n[architecture guide](docs\u002Farchitecture.md) for the server, relay, headless,\ndrawing, and verification entry points.\n\n## Run locally\n\nPartMode requires Node.js 22.13 or newer.\n\n```sh\nnpm ci\nnpm run build\nnpm start\n```\n\nThe server listens on `http:\u002F\u002F127.0.0.1:4401` by default. Browser-local CAD does\nnot require an account or external service.\n\n## Verify a change\n\n```sh\nnpm run ci:gate\n```\n\nThe focused gate type-checks and builds the release, verifies the static and\nruntime manifests, and exercises the local HTTP, account, identity, MCP, cloud,\nand entrypoint contracts. The larger CAD and browser suites remain available as\nindividual `smoke:*` scripts and through `npm run release:gate`.\n\n## Contribute\n\nStart with a [good first issue](https:\u002F\u002Fgithub.com\u002FBOMWiki\u002Fpartmode\u002Flabels\u002Fgood%20first%20issue)\nor a [help wanted issue](https:\u002F\u002Fgithub.com\u002FBOMWiki\u002Fpartmode\u002Flabels\u002Fhelp%20wanted).\nComment before starting so scope and ownership are clear.\n\nFor a behavior change:\n\n1. Stay within the issue's accepted boundary.\n2. Add or update the narrowest relevant regression.\n3. Run `npm run ci:gate`.\n4. Run every affected `smoke:*` command listed in the issue.\n\n`ci:gate` is the focused baseline. CAD, kernel, assembly, export, and visible UI\nchanges also need their affected smoke checks. For CAD changes, screenshots and\nmesh counts are supporting evidence only. Report the settled document result\nand exact kernel, B-rep, topology, or export evidence required by the issue.\nVisible behavior changes also need browser evidence.\n\n| Area | Start here | Typical focused checks |\n| --- | --- | --- |\n| Browser UI and recovery | `src\u002Fpage.html`, `src\u002Fstatic\u002Fstudio.js`, `src\u002Fstatic\u002Fstudio-storage.js` | `smoke:browser`, `smoke:usability-ui` |\n| Documents and features | `src\u002Fstatic\u002Fstudio-project-v5.js`, `src\u002Fstatic\u002Fstudio-v5-runtime-document.js` | affected `smoke:*` feature test |\n| Exact geometry and topology | `src\u002Fstatic\u002Fstudio-kernel.worker.js`, `src\u002Fstatic\u002Fstudio-brep-evidence.js`, `src\u002Fstatic\u002Fstudio-topo-naming.js` | `smoke:brep-evidence`, `smoke:topology-hash`, `smoke:cad-regression` |\n| Assemblies | `src\u002Fstatic\u002Fstudio-v5-assembly.js`, `src\u002Fstatic\u002Fstudio-assembly-*` | `smoke:assembly-runtime` plus the affected assembly smoke |\n| Typed agents and headless | `src\u002Fstatic\u002Fstudio-agent-service.js`, `src\u002Fmcp.ts`, `src\u002Frelay-hub.ts`, `src\u002Fheadless-sessions.ts` | `smoke:cloud`, `smoke:mcp`, `smoke:headless-mcp` |\n| Drawings and exchange | `src\u002Fstatic\u002Fstudio-drawing-*`, kernel import and export handlers | affected `smoke:drawing-*`, `smoke:step-determinism` |\n\n[Contributing guide](CONTRIBUTING.md) · [Architecture](docs\u002Farchitecture.md) ·\n[Contribution roadmap](ROADMAP.md) · [Public-source changelog](CHANGELOG.md)\n\n## Repository scope\n\nThis repository contains the standalone PartMode product source, public\ntechnical documentation, fixtures, and tests. Production credentials, private\noperations, deployment configuration, internal handovers, and release records\nare intentionally outside this repository.\n\nThe BOMWiki organization is the administrative home of this repository;\nPartMode does not depend on BOMWiki applications, services, databases, ports,\nor deployment infrastructure.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) before proposing a change and\n[SECURITY.md](SECURITY.md) for vulnerability reports. Third-party components\nand their licenses are listed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n\n## License\n\nPartMode is licensed under the\n[GNU Affero General Public License v3.0 only](LICENSE). Copyright © 2026 Sphinx.\n","PartMode 是一款本地优先、基于浏览器的参数化CAD工具，面向工程师与AI代理协同设计场景。它基于WebAssembly运行OpenCascade精确几何内核，支持参数化草图、特征历史、装配体建模、B-rep精确求值、工程图及STEP\u002FSTL等多格式导入导出；采用统一文档模型，使人类用户与类型化代理（typed agents）共享同一可编辑、可验证的结构化CAD文档。适用于硬件原型开发、开源硬件协作、教育实践及需要人机协同验证的工程设计流程，无需安装桌面软件，支持完全离线使用与自托管。",2,"2026-08-11 02:30:03","CREATED_QUERY"]