Skip to content

Commit 6622766

Browse files
committed
wip: clean up and support more spatial unfctions
1 parent a703891 commit 6622766

20 files changed

Lines changed: 1200 additions & 646 deletions

File tree

.cursor/rules/mcp.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"mcpServers": {
3+
"brave-search": {
4+
"command": "env BRAVE_API_KEY=BSAz4eb6vyBsLe0H3gx0lraMUlVjd2v npx",
5+
"args": [
6+
"-y",
7+
"@modelcontextprotocol/server-brave-search"
8+
]
9+
},
10+
"github": {
11+
"command": "npx",
12+
"args": [
13+
"-y",
14+
"@modelcontextprotocol/server-github"
15+
]
16+
},
17+
"memory": {
18+
"command": "env MEMORY_FILE_PATH=/Users/hideba/private-proj/tudelft/ms-thesis-code/flatcitybuf/.cursor/rules/memory/memory.json npx",
19+
"args": [
20+
"-y",
21+
"@modelcontextprotocol/server-memory"
22+
]
23+
},
24+
"puppeteer": {
25+
"command": "npx",
26+
"args": [
27+
"-y",
28+
"@modelcontextprotocol/server-puppeteer"
29+
]
30+
},
31+
"browser-tools": {
32+
"command": "npx",
33+
"args": [
34+
"-y",
35+
"@agentdeskai/browser-tools-mcp"
36+
]
37+
},
38+
"sequential-thinking": {
39+
"command": "npx",
40+
"args": [
41+
"-y",
42+
"@modelcontextprotocol/server-sequential-thinking@0.6.2"
43+
]
44+
},
45+
"playwright": {
46+
"command": "npx",
47+
"args": [
48+
"-y",
49+
"@playwright/mcp@latest"
50+
]
51+
}
52+
}
53+
}

.github/workflows/ci.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
name: Build and Test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
cache: "npm"
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Biome check
28+
run: npm run lint
29+
30+
- name: Build
31+
run: npm run build
32+
33+
- name: Test
34+
run: npm run test

biome.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
30+
}

flatcitybuf

package-lock.json

Lines changed: 216 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc -b && vite build",
9-
"lint": "eslint src --report-unused-disable-directives --max-warnings 0",
10-
"lint:fix": "eslint src --fix",
11-
"format": "prettier --write \"src/**/*.{ts,tsx,css,md}\"",
9+
"lint": "biome check --write src",
10+
"lint:fix": "biome check --write src --fix",
11+
"format": "biome format --write \"src/**/*.{ts,tsx,css,md}\"",
1212
"preview": "vite preview"
1313
},
1414
"dependencies": {
@@ -39,7 +39,9 @@
3939
"three": "^0.172.0"
4040
},
4141
"devDependencies": {
42+
"@biomejs/biome": "1.9.4",
4243
"@eslint/js": "^9.17.0",
44+
"@playwright/test": "^1.52.0",
4345
"@types/node": "^22.10.10",
4446
"@types/proj4": "^2.5.6",
4547
"@types/react": "^18.3.18",
@@ -65,4 +67,4 @@
6567
"vite-plugin-cesium": "^1.2.23"
6668
},
6769
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
68-
}
70+
}

0 commit comments

Comments
 (0)