-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart-bridge.bat
More file actions
41 lines (35 loc) · 1.13 KB
/
start-bridge.bat
File metadata and controls
41 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@echo off
title mxCoPilot Bridge Server
cd /d "%~dp0claude-bridge-server"
echo.
echo mxCoPilot Bridge Server
echo =======================
echo.
:: Check if node_modules exists
if not exist "node_modules" (
echo Installing dependencies...
call npm install
echo.
)
:: Check if claude is installed
where claude >nul 2>&1
if %errorlevel% neq 0 (
echo [WARNING] Claude Code CLI not found in PATH.
echo Install it: npm i -g @anthropic-ai/claude-code
echo Then login: claude login
echo.
)
:: =============================================================
:: CONFIGURATION — Set your Mendix project directory here
:: This is where Claude Code CLI will start (its working directory)
:: TODO: When sharing/deploying this project, each developer needs
:: to set this to their own Mendix project path.
:: =============================================================
set "MENDIX_APP_DIR=C:\Mendix Projects\mxCoPilot-main"
:: Remove CLAUDECODE env to avoid nested session issues
set "CLAUDECODE="
set "CLAUDE_CODE_ENTRY_POINT="
set "CLAUDE_CODE_PARENT_SESSION_ID="
echo Starting bridge server...
echo.
npx tsx server.ts