sceneview-mcp 4.0.0 → 4.0.1
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/dist/analyze-project.js +1 -1
- package/dist/debug-issue.js +2 -2
- package/dist/extra-guides.js +1 -1
- package/dist/generate-scene.js +2 -2
- package/dist/generated/llms-txt.js +1 -1
- package/dist/guides.js +8 -8
- package/dist/index.js +3 -3
- package/dist/migration.js +2 -2
- package/dist/platform-setup.js +11 -11
- package/dist/samples.js +64 -64
- package/dist/telemetry.js +1 -1
- package/dist/tools/handler.js +16 -16
- package/llms.txt +19 -0
- package/package.json +1 -1
package/dist/analyze-project.js
CHANGED
|
@@ -23,7 +23,7 @@ import { promises as fs } from "node:fs";
|
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
// ─── Constants ───────────────────────────────────────────────────────────────
|
|
25
25
|
/** The latest SceneView release known to this build of the MCP. */
|
|
26
|
-
export const LATEST_SCENEVIEW_VERSION = "4.0.0
|
|
26
|
+
export const LATEST_SCENEVIEW_VERSION = "4.0.0";
|
|
27
27
|
/** Hard cap on the number of source files inspected per call. */
|
|
28
28
|
export const MAX_FILES_SCANNED = 30;
|
|
29
29
|
/** Hard cap on total bytes read across all source files per call (500 KB). */
|
package/dist/debug-issue.js
CHANGED
|
@@ -292,7 +292,7 @@ fun DebugModelViewer() {
|
|
|
292
292
|
title: "Build / Gradle Errors",
|
|
293
293
|
guide: `## Debugging: Build Errors
|
|
294
294
|
|
|
295
|
-
### "Cannot resolve io.github.sceneview:sceneview:4.0.0
|
|
295
|
+
### "Cannot resolve io.github.sceneview:sceneview:4.0.0"
|
|
296
296
|
|
|
297
297
|
1. Check repositories in \`settings.gradle.kts\`:
|
|
298
298
|
\`\`\`kotlin
|
|
@@ -335,7 +335,7 @@ SceneView bundles Filament. If you also depend on Filament directly:
|
|
|
335
335
|
\`\`\`kotlin
|
|
336
336
|
// Remove direct Filament dependency — SceneView includes it
|
|
337
337
|
// implementation("com.google.android.filament:filament-android:1.x.x") // REMOVE
|
|
338
|
-
implementation("io.github.sceneview:sceneview:4.0.0
|
|
338
|
+
implementation("io.github.sceneview:sceneview:4.0.0") // This includes Filament
|
|
339
339
|
\`\`\`
|
|
340
340
|
|
|
341
341
|
### "Cannot find Filament material"
|
package/dist/extra-guides.js
CHANGED
|
@@ -419,7 +419,7 @@ Browser → WebGL2 → Filament.js (WASM) → GPU
|
|
|
419
419
|
### Using sceneview.js (npm or local)
|
|
420
420
|
\`\`\`html
|
|
421
421
|
<!-- Option 1: npm CDN -->
|
|
422
|
-
<script src="https://cdn.jsdelivr.net/npm/sceneview-web@4.0.0
|
|
422
|
+
<script src="https://cdn.jsdelivr.net/npm/sceneview-web@4.0.0/sceneview.js"></script>
|
|
423
423
|
|
|
424
424
|
<!-- Option 2: local hosting (recommended for production) -->
|
|
425
425
|
<!-- Copy js/filament/ directory to your server for faster WASM loading -->
|
package/dist/generate-scene.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Generates a complete SceneView{} or ARSceneView{} composable from a text description.
|
|
5
5
|
* Maps common objects/concepts to SceneView node types and builds compilable code.
|
|
6
6
|
*
|
|
7
|
-
* All generated code targets SceneView v4.0.0
|
|
7
|
+
* All generated code targets SceneView v4.0.0 API and is verified against llms.txt.
|
|
8
8
|
*/
|
|
9
9
|
const OBJECT_MAPPINGS = [
|
|
10
10
|
// Furniture
|
|
@@ -245,7 +245,7 @@ export function generateScene(description) {
|
|
|
245
245
|
}
|
|
246
246
|
// Build the code
|
|
247
247
|
const isAR = parsed.isAR;
|
|
248
|
-
dependencies.push(isAR ? "io.github.sceneview:arsceneview:4.0.0
|
|
248
|
+
dependencies.push(isAR ? "io.github.sceneview:arsceneview:4.0.0" : "io.github.sceneview:sceneview:4.0.0");
|
|
249
249
|
// Build model instance declarations
|
|
250
250
|
const modelElements = elements.filter((e) => e.type === "model");
|
|
251
251
|
const uniqueModels = new Map();
|