Commit Graph
26 Commits
Author SHA1 Message Date
Formsmith746 399dab9aa3 feat: add automated desktop release pipeline 2026-08-17 16:04:52 +03:00
Formsmith a42922c4f3 release: publish v1.0.0 2026-08-10 16:15:32 +03:00
Formsmith decf33521a fix: keep grouped object IDs unique 2026-08-03 18:54:15 +03:00
Formsmith c5f34422e4 release: publish v0.9.0 modeling update 2026-08-02 17:38:53 +03:00
Formsmith 4526a62c5f Merge remote-tracking branch 'origin/main'
# Conflicts:
#	apps/web/src/lib/skfProject.ts
2026-07-28 14:54:53 +03:00
Formsmith edbb11c97d release: improve rendering architecture and dark mode 2026-07-28 14:52:59 +03:00
Big OnionandClaude Opus 4.8 c931a55616 fix: keep .skf ZIP mtime within DOS date range in all timezones
The .skf writer pinned the ZIP entry mtime to a UTC-based epoch
(new Date("1980-01-01T00:00:00.000Z")). fflate encodes ZIP mtimes as
DOS dates using local-time getters and rejects years outside 1980-2099.
In any timezone west of UTC that instant is 1979-12-31 locally, so
exporting or saving a project (e.g. Save to shared) threw
"date not in range 1980-2099".

Build the pinned epoch from local components (new Date(1980, 0, 1)) so
the year is always 1980 regardless of timezone. Add a regression test
that exports under Etc/GMT+12 and round-trips the project.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-07-26 12:33:03 -04:00
Formsmith fe161f8d75 release: add sketch revolve and configurable gears 2026-07-24 11:55:44 +03:00
Formsmith 5dde9faceb Support SKF hashing over HTTP 2026-07-20 13:10:11 +03:00
Formsmith c5ce5a80f0 Ship shared projects and CAD reliability updates 2026-07-19 15:58:52 +03:00
Formsmith 3a7db063e7 Revert "Merge PR #29: add metric screw hole cutters"
This reverts commit bdab56468c, reversing
changes made to 70e45bb966.
2026-07-16 12:37:54 +03:00
Formsmith bdab56468c Merge PR #29: add metric screw hole cutters
# Conflicts:
#	apps/web/src/components/SketchForgeEditor.tsx
#	apps/web/src/components/WorkplaneViewport.tsx
#	apps/web/src/lib/workplaneShapes.ts
#	apps/web/src/types/sketchforge.ts
2026-07-16 12:35:05 +03:00
Formsmith 70e45bb966 Checkpoint SKF project format and export updates 2026-07-16 12:30:39 +03:00
Formsmith 400c4bf86e Improve editor history, CAD tools, and ruler workflows 2026-07-14 09:43:37 +03:00
Francisco Rivero 733d1bea8d Merge remote-tracking branch 'origin/main' into codex/screw-hole-cutters
# Conflicts:
#	apps/web/src/components/WorkplaneViewport.tsx
2026-07-14 01:26:38 +09:00
Francisco Rivero 737fe14a41 feat: add metric screw hole cutters 2026-07-14 01:16:45 +09:00
Formsmith 20731043e4 release: publish v0.6.0 2026-07-11 20:34:13 +03:00
Francisco Rivero fd76c5bd96 Add SVG import extrusion 2026-07-07 23:59:36 +09:00
Formsmith 5b0ea94e7b Release SketchForge 0.5 edge tools 2026-07-05 12:28:23 +03:00
Andy Aragon f18bacf3ad test: add STEP export/import unit and headless E2E coverage
- Unit: cover the kernel-free helpers (shapeYawDegrees, worldAabb,
  aabbsOverlap) and the new "step" export filename.
- E2E: drive the real exportShapesToStep/importedShapeFromStep against
  the actual OpenCascade kernel (loaded from node_modules), asserting
  primitives, holes, AABB gating, cones, and import->re-export all
  conserve volume. Add tests/vitest.e2e.config.ts and a test:e2e script.
2026-06-29 15:03:32 +03:00
Formsmith c3ed07a32e Add reversible edge tools and view cube fixes 2026-06-28 16:06:01 +03:00
Formsmith 5ed0e61cb8 Revert "AI Scene Bridge (MCP)" 2026-06-26 15:31:37 +03:00
BloodSteynandClaude Opus 4.8 dee2765538 Add AI scene bridge (V1): MCP -> /api/scene -> editor
Additive fork feature letting an MCP server (driven by Claude) push parametric
WorkplaneShape[] scenes into the running SketchForge editor. The Node side never
writes browser storage; it stages a command file that an in-page poller applies
through the editor's existing updateProjectShapes() save path.

- Phase 1: apps/web/src/app/api/scene/route.ts — stages/serves commands behind the
  existing same-origin guard, with its own monotonic stagingRevision (separate from
  the app's project revision).
- Phase 2: apps/web/src/lib/sceneBridge.ts (SceneTransport seam + polling transport)
  and a useSceneBridge poller hook in page.tsx (gated on ?bridge=1), which creates
  unknown projects and hydrates via updateProjectShapes; defers while dragging.
- Phase 3: apps/mcp/ MCP server — set_scene/get_scene/add_shapes/list_kinds. zod
  validates the ShapeKind union enum + base numerics, then reuses the app's own
  sceneShape/canonicalizeShape for defaults/canonicalisation (no hand-authored ranges).
- Phase 4: docs/scene-bridge/README.md plus vitest cases for the route handler and
  the schema validator.

Staged scenes live under .codex/pending-scenes/ (gitignored). MCP registered via
.mcp.json. npm run test: 29 passing.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-26 13:34:44 +02:00
Formsmith 57361a3b2a Release v0.2.0 with Docker deployment 2026-06-20 10:07:33 +03:00
Formsmith 2d0ed7ef23 checkpoint: stabilize editor geometry and workspace settings 2026-06-19 21:47:13 +03:00
Formsmith 4ba8cb723c Organize test files 2026-06-14 22:13:39 +03:00