fix: upgrade to Next.js 16.2.1 and resolve bundling issues

- Fixed client bundle contamination by moving child_process-dependent code
- Created standalone /api/robots/command route for SSH robot commands
- Created plugins router to replace robots.plugins for plugin management
- Added getStudyPlugins procedure to studies router
- Fixed trial.studyId references to trial.experiment.studyId
- Updated WizardInterface to use REST API for robot commands
This commit is contained in:
Sean O'Connor
2026-03-22 01:08:13 -04:00
parent 79bb298756
commit add3380307
16 changed files with 612 additions and 69 deletions

View File

@@ -80,7 +80,7 @@
"js-cookie": "^3.0.5",
"lucide-react": "^0.536.0",
"minio": "^8.0.6",
"next": "16.1.6",
"next": "16.2.1",
"next-auth": "^5.0.0-beta.30",
"next-themes": "^0.4.6",
"postgres": "^3.4.8",
@@ -109,12 +109,12 @@
"@types/bun": "^1.3.9",
"@types/crypto-js": "^4.2.2",
"@types/node": "^20.19.33",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/uuid": "^11.0.0",
"drizzle-kit": "^0.30.6",
"eslint": "^9.39.2",
"eslint-config-next": "^15.5.12",
"eslint-config-next": "16.2.1",
"eslint-plugin-drizzle": "^0.2.3",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
@@ -134,5 +134,9 @@
"esbuild",
"sharp",
"unrs-resolver"
]
],
"overrides": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3"
}
}