Skip to content

Fix three MCP friction points benchmark agents hit (v1.31.0) - #21

Draft
asbis wants to merge 1 commit into
masterfrom
claude/brave-ptolemy-762581
Draft

asbis wants to merge 1 commit into
masterfrom
claude/brave-ptolemy-762581

Conversation

@asbis

@asbis asbis commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Én commit (7cef6b1): retter tre friksjonspunkter i MCP-serveren som benchmark-agenter traff (executor, finder-patch, statusrapport), med tester.

Lagret fra en lokal worktree under opprydding 2026-12-04; ikke gjennomgått. Versjonsnumrene i grenene kolliderer (flere hever til 1.30.2/1.31.0), så de må rebases og nummereres om før fletting.

🤖 Generated with Claude Code

From the local CADGenBench run: one agent's finder `.or()` failed, and
its try/catch + console.warn hid that because console output never
reached the tool result. Both agents exported a BOM just to learn a
part's volume.

- Finder `.or()`: the finders API reference teaches
  `e.inDirection("X").or(e2 => e2.inDirection("Y"))`, but Replicad has
  no `.or`. Its `.either([...])` adds one more AND-ed filter, so the
  same line with `either` matches nothing. finder-patch.ts now adds
  `.or()` to EdgeFinder, FaceFinder and CornerFinder: the chain so far
  OR the callback(s), built on `either`. The bundled editor typings
  declare it, and the single-callback `.and()` that was already patched.
- Script console output: the executor hands the script a stand-in
  `console` (a parameter of the wrapper, so local imports bind to it
  too) that keeps the last 100 lines and still forwards every call, so
  the VS Code worker's DevTools output is unchanged. ExecutionResult
  carries the lines, Core.lastConsoleOutput() keeps them when execute()
  throws, and formatStatusText adds a "Console output:" block to
  create_shape, modify_shape, preview_shape, tune_params and
  get_render_status, failed renders included. Shapes are printed by
  class name (and replicad's `repr` where it has one), never walked.
- Volume: core gains `measureSinglePart`, which the MCP engine sets
  when no partStats is given, so a single-part result gets volume, area
  and a measured centre of mass. On the examples it cost nothing
  measurable. Assemblies keep the "bbox" fast path; the viewer does not
  set the option. The get_render_status, tune_params and verify_shape
  descriptions say when volume is reported and how to get it otherwise.
- Versions: extension, mcp-server and the plugin marketplace move to
  1.31.0 (1.30.2 is taken by claude/kind-margulis-7e064f), with a
  CHANGELOG entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
shapeitup-landing Ready Ready Preview Dec 4, 2026 9:10am UTC

This branch was successfully deployed

1 active deployment
Preview — 7cef6b10 Deployed Dec 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant