Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(hq): declare supercluster and use the maplibre-gl 6 namespace import so tsc and vite build pass again
nirholasa80818f5675b
diff --git a/apps/hq/package-lock.json b/apps/hq/package-lock.jsonindex 60fe6a000..99a9a684f 100644--- a/apps/hq/package-lock.json+++ b/apps/hq/package-lock.json@@ -20,6 +20,7 @@"deck.gl": "^9.2.6","maplibre-gl": "^6.4.1","onnxruntime-web": "^1.23.2",+ "supercluster": "^8.0.1","topojson-client": "^3.1.0","youtubei.js": "^16.0.1"},@@ -28,6 +29,7 @@"@tauri-apps/cli": "^2.10.0","@types/d3": "^7.4.3","@types/maplibre-gl": "^1.13.2",+ "@types/supercluster": "^7.1.3","@types/topojson-client": "^3.1.5","@types/topojson-specification": "^1.0.5","markdownlint-cli2": "^0.23.3",@@ -4635,6 +4637,16 @@"license": "MIT","peer": true},+ "node_modules/@types/supercluster": {+ "version": "7.1.3",+ "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz",+ "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/geojson": "*"+ }+ },"node_modules/@types/svg-arc-to-cubic-bezier": {"version": "3.2.3","resolved": "https://registry.npmjs.org/@types/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.3.tgz",@@ -11642,6 +11654,15 @@"anynum": "^1.0.1"}},+ "node_modules/supercluster": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz",+ "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==",+ "license": "ISC",+ "dependencies": {+ "kdbush": "^4.0.2"+ }+ },"node_modules/supports-preserve-symlinks-flag": {"version": "1.0.0","resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",diff --git a/apps/hq/package.json b/apps/hq/package.jsonindex 833f5c6a3..05764025c 100644--- a/apps/hq/package.json+++ b/apps/hq/package.json@@ -43,6 +43,7 @@"@tauri-apps/cli": "^2.10.0","@types/d3": "^7.4.3","@types/maplibre-gl": "^1.13.2",+ "@types/supercluster": "^7.1.3","@types/topojson-client": "^3.1.5","@types/topojson-specification": "^1.0.5","markdownlint-cli2": "^0.23.3",@@ -64,6 +65,7 @@"deck.gl": "^9.2.6","maplibre-gl": "^6.4.1","onnxruntime-web": "^1.23.2",+ "supercluster": "^8.0.1","topojson-client": "^3.1.0","youtubei.js": "^16.0.1"},diff --git a/apps/hq/src/components/DeckGLMap.ts b/apps/hq/src/components/DeckGLMap.tsindex e43b93d6a..79fbc32cd 100644--- a/apps/hq/src/components/DeckGLMap.ts+++ b/apps/hq/src/components/DeckGLMap.ts@@ -6,7 +6,7 @@import { MapboxOverlay } from '@deck.gl/mapbox';import type { Layer, LayersList, PickingInfo } from '@deck.gl/core';import { GeoJsonLayer, ScatterplotLayer, PathLayer, IconLayer, TextLayer } from '@deck.gl/layers';-import maplibregl from 'maplibre-gl';+import * as maplibregl from 'maplibre-gl';import Supercluster from 'supercluster';import type {MapLayers,