sceneview-mcp 4.0.14 → 4.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/generated/llms-txt.js +1 -1
- package/dist/generated/symbols.js +8622 -0
- package/dist/generated/version.js +2 -2
- package/dist/platform-setup.js +6 -14
- package/dist/symbols.js +204 -0
- package/dist/tools/definitions.js +1 -1
- package/dist/tools/handler.js +1 -1
- package/dist/validator.js +199 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ Every developer tool is **free**: setup guides for every platform, code samples,
|
|
|
103
103
|
|---|---|
|
|
104
104
|
| `get_sample` | Returns a complete, compilable code sample for any of 33 scenarios (Kotlin or Swift) |
|
|
105
105
|
| `list_samples` | Browse all samples, filter by tag (`ar`, `3d`, `ios`, `animation`, `geometry`, ...) |
|
|
106
|
-
| `validate_code` | Checks generated code against
|
|
106
|
+
| `validate_code` | Checks generated code against 30+ rules — including symbol existence against the real public API, with did-you-mean suggestions — before presenting it to the user |
|
|
107
107
|
| `migrate_code` | Automatically migrates SceneView 2.x / 3.x code with detailed changelog |
|
|
108
108
|
| `get_migration_guide` | Every breaking change with before/after code |
|
|
109
109
|
|
|
@@ -223,7 +223,7 @@ The assistant calls `get_node_reference("LightNode")` and returns the exact func
|
|
|
223
223
|
|
|
224
224
|
### "Validate this code before I use it"
|
|
225
225
|
|
|
226
|
-
The assistant calls `validate_code` with the generated snippet and checks it against
|
|
226
|
+
The assistant calls `validate_code` with the generated snippet and checks it against 30+ rules: symbol existence against the real public API (unknown imports, made-up node types, nonexistent loader methods — each with did-you-mean suggestions), threading violations, null safety, API correctness, lifecycle issues, deprecated APIs. Problems are flagged with explanations before the code reaches the user.
|
|
227
227
|
|
|
228
228
|
---
|
|
229
229
|
|
|
@@ -242,7 +242,7 @@ The assistant calls `validate_code` with the generated snippet and checks it aga
|
|
|
242
242
|
- Generate correct **Compose-native** 3D/AR code for Android
|
|
243
243
|
- Generate correct **SwiftUI-native** code for iOS/macOS/visionOS
|
|
244
244
|
- Know about all 44+ node types and their exact parameters
|
|
245
|
-
- Validate code against
|
|
245
|
+
- Validate code against 30+ rules before presenting it
|
|
246
246
|
- Provide working, tested sample code for 33 scenarios
|
|
247
247
|
|
|
248
248
|
---
|
|
@@ -315,7 +315,7 @@ A small set of domain-specific tools is gated behind an optional subscription. T
|
|
|
315
315
|
|
|
316
316
|
Plus 3 generation helpers: `render_3d_preview`, `create_3d_artifact`, `generate_scene`.
|
|
317
317
|
|
|
318
|
-
|
|
318
|
+
The base SDK and every developer tool listed above stay free, always.
|
|
319
319
|
|
|
320
320
|
---
|
|
321
321
|
|
|
@@ -350,7 +350,7 @@ mcp/
|
|
|
350
350
|
tools/handler.ts # Tool dispatcher (free + pro)
|
|
351
351
|
tiers.ts # Free vs Pro tier mapping
|
|
352
352
|
samples.ts # 33 compilable code samples (Kotlin + Swift)
|
|
353
|
-
validator.ts # Code validator (
|
|
353
|
+
validator.ts # Code validator (30+ rules)
|
|
354
354
|
node-reference.ts # Node type parser
|
|
355
355
|
guides.ts # Best practices, AR setup, roadmap, troubleshooting
|
|
356
356
|
migration.ts # v2 -> v3 -> v4 migration guide
|