FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
chore: update setup scripts for v4.0.0 and remove legacy versionterminal.txt
tilakpatel22bbdb17105540
diff --git a/.gitignore b/.gitignoreindex 40edcd076..8da1da62a 100644--- a/.gitignore+++ b/.gitignore@@ -98,6 +98,9 @@ fincept-cpp/node_modules/dist-ssr/+# ── Legacy files — no longer relevant ────────────────────────+versionterminal.txt+# ── Claude Code — never commit ───────────────────────────────.claude/settings.local.jsonCLAUDE.mddiff --git a/setup.bat b/setup.batindex be513327f..60f6e3ffa 100644--- a/setup.bat+++ b/setup.bat@@ -10,7 +10,7 @@ for %%A in (%*) do (echo.echo ================================================-echo Fincept Terminal — Windows Setup+echo Fincept Terminal v4.0.0 — Windows Setupif "!CI_MODE!"=="true" echo (CI mode -- skipping interactive steps)echo ================================================echo.@@ -63,10 +63,10 @@ echo OKecho [4/5] Checking C++ compiler (MSVC)...where cl >nul 2>&1if errorlevel 1 (- echo MSVC compiler not found in PATH.- echo Please install Visual Studio 2022 with "Desktop development with C++" workload:+ echo ERROR: MSVC compiler not found in PATH.+ echo Install Visual Studio 2022 with "Desktop development with C++" workload:echo https://visualstudio.microsoft.com/- echo Then re-run from a "Developer Command Prompt for VS 2022".+ echo Then re-run from "Developer Command Prompt for VS 2022".if "!CI_MODE!"=="false" pauseexit /b 1)@@ -75,34 +75,35 @@ echo OK:: ── Locate Qt6 ──────────────────────────────────────────────echo [5/5] Locating Qt6 and building...-:: Try to auto-detect Qt6 install (common paths)set "QT_PREFIX="-if exist "C:\Qt\6.8.3\msvc2022_64\lib\cmake\Qt6\Qt6Config.cmake" (- set "QT_PREFIX=C:\Qt\6.8.3\msvc2022_64"-) else if exist "C:\Qt\6.7.0\msvc2022_64\lib\cmake\Qt6\Qt6Config.cmake" (- set "QT_PREFIX=C:\Qt\6.7.0\msvc2022_64"-) else if exist "C:\Qt\6.6.0\msvc2022_64\lib\cmake\Qt6\Qt6Config.cmake" (- set "QT_PREFIX=C:\Qt\6.6.0\msvc2022_64"-)-:: Allow override via environment variable+:: Allow override via environment variable firstif defined Qt6_DIR (set "QT_PREFIX=!Qt6_DIR!")+:: Auto-detect common Qt6 install paths+if "!QT_PREFIX!"=="" (+ for %%V in (6.9.0 6.8.3 6.8.0 6.7.0 6.6.0) do (+ if exist "C:\Qt\%%V\msvc2022_64\lib\cmake\Qt6\Qt6Config.cmake" (+ set "QT_PREFIX=C:\Qt\%%V\msvc2022_64"+ goto :qt_found+ )+ )+)++:qt_foundif "!QT_PREFIX!"=="" (if "!CI_MODE!"=="true" (- echo ERROR: Qt6 not found. Set Qt6_DIR environment variable to your Qt6 install path.+ echo ERROR: Qt6 not found. Set Qt6_DIR to your Qt6 install path.exit /b 1)echo.- echo Qt6 not found in common locations.- echo Please install Qt6 from https://www.qt.io/download-qt-installer- echo (Select: Qt 6.x ^> MSVC 2022 64-bit)+ echo Qt6 not found. Install from https://www.qt.io/download-qt-installer+ echo Select: Qt 6.x ^> MSVC 2022 64-bitecho.- echo After installing, set the Qt6_DIR environment variable:+ echo Then set the environment variable and re-run:echo set Qt6_DIR=C:\Qt\6.x.x\msvc2022_64- echo Then re-run this script.pause & exit /b 1)echo Qt6 found at !QT_PREFIX!@@ -122,13 +123,10 @@ if errorlevel 1 ( echo ERROR: Build failed. & exit /b 1 )echo.echo ================================================echo Build complete!+echo Run: build\Release\FinceptTerminal.exeecho ================================================echo.-echo Run the terminal:-echo build\Release\FinceptTerminal.exe-echo.-:: Skip launch prompt in CIif "!CI_MODE!"=="true" goto :doneset /p LAUNCH="Launch now? (y/n): "diff --git a/setup.sh b/setup.shindex 0b96070e1..af46d62fc 100644--- a/setup.sh+++ b/setup.sh@@ -21,7 +21,7 @@ info() { echo -e " ${YELLOW}$1${NC}"; }echo ""echo "================================================"-echo " Fincept Terminal — Setup"+echo " Fincept Terminal v4.0.0 — Setup"[ "$CI_MODE" = true ] && echo " (CI mode — skipping interactive steps)"echo "================================================"echo ""@@ -39,9 +39,7 @@ echo ""# ── Step 1: System dependencies ─────────────────────────────echo "[1/5] Installing system dependencies..."if [ "$PLATFORM" = "linux" ]; then- if ! command -v apt-get &>/dev/null; then- fail "apt-get not found. Please install dependencies manually (see docs/GETTING_STARTED.md)"- fi+ command -v apt-get &>/dev/null || fail "apt-get not found. Install dependencies manually (see docs/GETTING_STARTED.md)"sudo apt-get update -qqsudo apt-get install -y \git cmake g++ python3 python3-pip \@@ -50,35 +48,38 @@ if [ "$PLATFORM" = "linux" ]; thenlibgl1-mesa-dev libglu1-mesa-dev \pkg-configelif [ "$PLATFORM" = "macos" ]; then- if [ "$CI_MODE" = false ] && ! command -v brew &>/dev/null; then+ if ! command -v brew &>/dev/null; then+ [ "$CI_MODE" = true ] && fail "Homebrew not found in CI environment."info "Homebrew not found. Installing..."/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"fi- brew install cmake qt python+ brew install cmake qt python3fiok# ── Step 2: Check C++ compiler ──────────────────────────────echo "[2/5] Checking C++ compiler..."if [ "$PLATFORM" = "linux" ]; then- command -v g++ &>/dev/null || fail "g++ not found. Please check apt output above."+ command -v g++ &>/dev/null || fail "g++ not found. Check apt output above."+ g++ --version | head -1elif [ "$PLATFORM" = "macos" ]; thencommand -v clang++ &>/dev/null || fail "clang++ not found. Run: xcode-select --install"+ clang++ --version | head -1fiok# ── Step 3: Locate Qt6 ──────────────────────────────────────echo "[3/5] Locating Qt6..."-if [ "$PLATFORM" = "linux" ]; then+QT_PREFIX=""+if [ -n "${Qt6_DIR:-}" ]; then+ QT_PREFIX="$Qt6_DIR"+elif [ "$PLATFORM" = "linux" ]; thenQT_PREFIX="/usr"command -v qmake6 &>/dev/null || command -v qmake &>/dev/null || \fail "Qt6 not found. Run: sudo apt install qt6-base-dev"elif [ "$PLATFORM" = "macos" ]; then- QT_BREW_PREFIX="$(brew --prefix qt 2>/dev/null || true)"- if [ -z "$QT_BREW_PREFIX" ]; then- fail "Qt6 not found. Run: brew install qt"- fi- QT_PREFIX="$QT_BREW_PREFIX"+ QT_PREFIX="$(brew --prefix qt 2>/dev/null || true)"+ [ -z "$QT_PREFIX" ] && fail "Qt6 not found. Run: brew install qt"info "Qt6 found at $QT_PREFIX"fiok@@ -86,13 +87,12 @@ ok# ── Step 4: Configure ────────────────────────────────────────SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"APP_DIR="$SCRIPT_DIR/fincept-qt"-[ -d "$APP_DIR" ] || fail "fincept-qt directory not found. Make sure you cloned the full repository."+[ -d "$APP_DIR" ] || fail "fincept-qt directory not found. Ensure you cloned the full repository."cd "$APP_DIR"echo "[4/5] Configuring..."if [ "$PLATFORM" = "macos" ]; then- cmake -B build -DCMAKE_BUILD_TYPE=Release \- -DCMAKE_PREFIX_PATH="$QT_PREFIX"+ cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$QT_PREFIX"elsecmake -B build -DCMAKE_BUILD_TYPE=Releasefi@@ -107,20 +107,19 @@ okecho ""echo "================================================"echo " Build complete!"+echo " Run: ./build/FinceptTerminal"echo "================================================"echo ""-echo " Run the terminal:"-echo " ./build/FinceptTerminal"-echo ""-# Skip launch prompt in CI-if [ "$CI_MODE" = false ]; then- read -r -p " Launch now? (y/n): " LAUNCH- if [[ "$LAUNCH" =~ ^[Yy]$ ]]; then- if [ "$PLATFORM" = "macos" ]; then- open ./build/FinceptTerminal 2>/dev/null || ./build/FinceptTerminal- else- ./build/FinceptTerminal- fi+if [ "$CI_MODE" = true ]; then+ exit 0+fi++read -r -p " Launch now? (y/n): " LAUNCH+if [[ "$LAUNCH" =~ ^[Yy]$ ]]; then+ if [ "$PLATFORM" = "macos" ]; then+ open ./build/FinceptTerminal 2>/dev/null || ./build/FinceptTerminal+ else+ ./build/FinceptTerminalfifidiff --git a/versionterminal.txt b/versionterminal.txtdeleted file mode 100644index 36d4be3d7..000000000--- a/versionterminal.txt+++ /dev/null@@ -1,23 +0,0 @@-Method 1: Automated Bump (Recommended)-- # Bump patch: 3.3.1 → 3.3.2- bun run bump-version patch-- # Bump minor: 3.3.1 → 3.4.0- bun run bump-version minor-- # Bump major: 3.3.1 → 4.0.0- bun run bump-version major-- This will:- 1. Update package.json- 2. Auto-sync to src/constants/version.ts- 3. Auto-sync to src-tauri/tauri.conf.json- 4. Auto-sync to src-tauri/Cargo.toml-- Method 2: Manual Update-- 1. Edit package.json - Change the version number:- "version": "3.3.1"- 2. Run sync:- bun run sync-version