feat: 1.7.0 - #48
Conversation
- Updated version number in package.json and prompts/manifest.json to 1.7.0. - Modified index.html to reflect the new version and updated tool counts. - Added new "Display Settings" category in the API reference with tools for managing display transforms. - Introduced new Zod schemas for display slots and vectors to ensure proper validation. - Implemented display tools in server/tools/display.ts for getting and setting display transforms, and entering display mode. - Enhanced existing tools to utilize new vector schemas for better type safety and clarity. - Updated animation tools to apply keyframe values correctly. - Adjusted texture tools to ensure render settings are preserved after texture creation.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
WalkthroughThis PR adds new Display Settings MCP tools (get_display_transform, set_display_transform, enter_display_mode) with supporting schemas and docs, fixes add_group's shared-schema/required-fields bug, fixes silent keyframe value discarding in manage_keyframes, fixes create_texture ignoring render_mode/render_sides, and bumps version/manifest metadata to 1.7.0. ChangesDisplay Settings feature
add_group schema fix
manage_keyframes value persistence fix
create_texture render settings fix
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
participant Client
participant registerDisplayTools
participant Project
participant DisplaySlot
participant Canvas
Client->>registerDisplayTools: set_display_transform(slot, transform)
registerDisplayTools->>Project: getDisplaySettingsOrThrow()
registerDisplayTools->>registerDisplayTools: assertDisplayModeSupported()
registerDisplayTools->>DisplaySlot: create slot if missing / reset
registerDisplayTools->>DisplaySlot: extend(transform fields)
registerDisplayTools->>Canvas: updateAll()
registerDisplayTools-->>Client: serialized transform
sequenceDiagram
participant Client
participant registerDisplayTools
participant Project
participant ReferenceModel
participant ScreenshotCapture
Client->>registerDisplayTools: enter_display_mode(slot, reference?)
registerDisplayTools->>Project: ensure project + display mode support
registerDisplayTools->>Project: enter display mode if not active
registerDisplayTools->>Project: activate slot (via runtime-detected strategy)
opt reference provided
registerDisplayTools->>ReferenceModel: load validated reference model
end
registerDisplayTools->>ScreenshotCapture: capture screenshot
registerDisplayTools-->>Client: notes + screenshot content
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Preview DeploymentYour changes have been deployed for preview: Plugin URL: Load in Blockbench via File > Plugins > Load Plugin from URL. This preview will be automatically cleaned up when the PR is closed. |
Summary by CodeRabbit
New Features
Bug Fixes
Documentation