diff --git a/.!31524!banner.png b/.!31524!banner.png new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index f5518d7..680800a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@
- ClaraCore Banner + JarvisCore Banner
-# ClaraCore šŸš€ +# JarvisCore šŸš€ ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg) ```bash @@ -12,30 +12,30 @@ source ~/.bashrc ``` **šŸ›”ļø Windows Security Notice** -ClaraCore may be flagged by antivirus software - **this is a false positive**. [Complete guide to antivirus warnings](docs/ANTIVIRUS_FALSE_POSITIVES.md) | [Why is this flagged?](SECURITY_VERIFICATION.md) +JarvisCore may be flagged by antivirus software - **this is a false positive**. [Complete guide to antivirus warnings](docs/ANTIVIRUS_FALSE_POSITIVES.md) | [Why is this flagged?](SECURITY_VERIFICATION.md) ```powershell # Quick fix - Add Windows Defender exclusion: -Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\ClaraCore" +Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\JarvisCore" # Or unblock the file: -Unblock-File "$env:LOCALAPPDATA\ClaraCore\claracore.exe" +Unblock-File "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe" # Or run troubleshooter: -curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/troubleshoot.ps1 | powershell +curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/troubleshoot.ps1 | powershell ``` -**āœ… Verify it's safe:** Check SHA256 hash against [official releases](https://github.com/claraverse-space/ClaraCore/releases) or [build from source](SECURITY_VERIFICATION.md). +**āœ… Verify it's safe:** Check SHA256 hash against [official releases](https://github.com/jarvisverse-space/JarvisCore/releases) or [build from source](SECURITY_VERIFICATION.md). **Need help?** See our [Setup Guide](docs/SETUP.md) or [Container Guide](docker/CONTAINER_SETUP.md) ## šŸ™ Credits & Acknowledgments) [![Go Version](https://img.shields.io/badge/Go-1.23+-blue.svg)](https://golang.org/) -[![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)](https://github.com/prave/ClaraCore) +[![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)](https://github.com/prave/JarvisCore) > **Auto-setup for llama.cpp** - Point it at your GGUF models folder and get a complete AI inference server in seconds. -ClaraCore extends [llama-swap](https://github.com/mostlygeek/llama-swap) with intelligent automation, bringing zero-configuration setup to llama.cpp deployments. +JarvisCore extends [llama-swap](https://github.com/mostlygeek/llama-swap) with intelligent automation, bringing zero-configuration setup to llama.cpp deployments. ## šŸ”„ Quick Install @@ -43,17 +43,17 @@ ClaraCore extends [llama-swap](https://github.com/mostlygeek/llama-swap) with in **Linux/macOS (Recommended):** ```bash -curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.sh | bash ``` **Windows:** ```powershell -irm https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.ps1 | iex +irm https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.ps1 | iex ``` **Then start immediately:** ```bash -claracore --models-folder /path/to/your/gguf/models +jarviscore --models-folder /path/to/your/gguf/models # Visit: http://localhost:5800/ui/setup ``` @@ -61,21 +61,21 @@ claracore --models-folder /path/to/your/gguf/models **CUDA (NVIDIA):** ```bash -docker run -d --gpus all -p 5800:5800 -v ./models:/models claracore:cuda --models-folder /models +docker run -d --gpus all -p 5800:5800 -v ./models:/models jarviscore:cuda --models-folder /models ``` **ROCm (AMD):** ```bash -docker run -d --device=/dev/kfd --device=/dev/dri -p 5800:5800 -v ./models:/models claracore:rocm --models-folder /models +docker run -d --device=/dev/kfd --device=/dev/dri -p 5800:5800 -v ./models:/models jarviscore:rocm --models-folder /models ``` šŸ“¦ **Optimized containers**: 2-3GB vs 8-12GB full SDKs. See [Container Guide](docker/CONTAINER_SETUP.md) ✨ **Features include:** Auto-setup, hardware detection, binary management, and production configs! -## ✨ What's New in ClaraCore +## ✨ What's New in JarvisCore -While maintaining 100% compatibility with llama-swap, ClaraCore adds: +While maintaining 100% compatibility with llama-swap, JarvisCore adds: - šŸŽÆ **Auto-Setup Engine** - Automatic GGUF detection and configuration - šŸ” **Smart Hardware Detection** - CUDA/ROCm/Vulkan/Metal optimization @@ -87,9 +87,9 @@ While maintaining 100% compatibility with llama-swap, ClaraCore adds: ```bash # One command setup - that's it! -./claracore --models-folder /path/to/your/gguf/models --backend vulkan +./jarviscore --models-folder /path/to/your/gguf/models --backend vulkan -# ClaraCore will: +# JarvisCore will: # 1. Scan for GGUF files # 2. Detect your hardware (GPUs, CUDA, etc.) # 3. Download optimal binaries @@ -103,12 +103,12 @@ While maintaining 100% compatibility with llama-swap, ClaraCore adds: **Linux/macOS:** ```bash -curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.sh | bash ``` **Windows:** ```powershell -irm https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.ps1 | iex +irm https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.ps1 | iex ``` The installer will: @@ -121,28 +121,28 @@ The installer will: ```bash # Windows -curl -L -o claracore.exe https://github.com/claraverse-space/ClaraCore/releases/latest/download/claracore-windows-amd64.exe +curl -L -o jarviscore.exe https://github.com/jarvisverse-space/JarvisCore/releases/latest/download/jarviscore-windows-amd64.exe # Linux -curl -L -o claracore https://github.com/claraverse-space/ClaraCore/releases/latest/download/claracore-linux-amd64 -chmod +x claracore +curl -L -o jarviscore https://github.com/jarvisverse-space/JarvisCore/releases/latest/download/jarviscore-linux-amd64 +chmod +x jarviscore # macOS Intel -curl -L -o claracore https://github.com/claraverse-space/ClaraCore/releases/latest/download/claracore-darwin-amd64 -chmod +x claracore +curl -L -o jarviscore https://github.com/jarvisverse-space/JarvisCore/releases/latest/download/jarviscore-darwin-amd64 +chmod +x jarviscore # macOS Apple Silicon -curl -L -o claracore https://github.com/claraverse-space/ClaraCore/releases/latest/download/claracore-darwin-arm64 -chmod +x claracore +curl -L -o jarviscore https://github.com/jarvisverse-space/JarvisCore/releases/latest/download/jarviscore-darwin-arm64 +chmod +x jarviscore ``` ### Build from Source ```bash -git clone https://github.com/claraverse-space/ClaraCore.git -cd ClaraCore +git clone https://github.com/jarvisverse-space/JarvisCore.git +cd JarvisCore python build.py # Builds UI + Go backend with version info -# or: go build -o claracore . +# or: go build -o jarviscore . ``` ## šŸŽ›ļø Core Features @@ -158,7 +158,7 @@ All the power of llama-swap, plus intelligent automation: - āœ… Docker/Podman support - āœ… Full llama.cpp server control -### ClaraCore Enhancements +### JarvisCore Enhancements - āœ… Zero-configuration setup - āœ… Automatic binary downloads - āœ… Hardware capability detection @@ -171,12 +171,12 @@ All the power of llama-swap, plus intelligent automation: ### Automatic Setup ```bash # Just point to your models -./claracore --models-folder ~/models +./jarviscore --models-folder ~/models ``` ### Manual Setup - for devices like strix halo and others who want to customize or setup without relying on auto-detection ```bash # Create a config file -./claracore -ram 64 -vram 24 -backend cuda +./jarviscore -ram 64 -vram 24 -backend cuda # it will download the binaries and create a config file automatically and UI will have all the features needed to manage models ``` @@ -196,10 +196,10 @@ curl http://localhost:8080/v1/chat/completions \ ## šŸ”§ Configuration -ClaraCore generates configurations automatically, but you can customize everything: +JarvisCore generates configurations automatically, but you can customize everything: ```yaml -# Auto-generated by ClaraCore +# Auto-generated by JarvisCore models: "llama-3-70b": cmd: | @@ -258,7 +258,7 @@ curl http://localhost:5800/api/setup/progress ## ļæ½šŸ™ Credits & Acknowledgments -**ClaraCore is built on [llama-swap](https://github.com/mostlygeek/llama-swap) by [@mostlygeek](https://github.com/mostlygeek)** +**JarvisCore is built on [llama-swap](https://github.com/mostlygeek/llama-swap) by [@mostlygeek](https://github.com/mostlygeek)** This project extends llama-swap's excellent proxy architecture with automatic setup capabilities. Approximately 90% of the core functionality comes from the original llama-swap codebase. We're deeply grateful for @mostlygeek's work in creating such a solid foundation. @@ -301,10 +301,10 @@ MIT License - Same as llama-swap. See [LICENSE](LICENSE) for details. ## šŸ”— Links -- [ClaraCore Issues](https://github.com/prave/ClaraCore/issues) +- [JarvisCore Issues](https://github.com/prave/JarvisCore/issues) - [Original llama-swap](https://github.com/mostlygeek/llama-swap) - [llama.cpp](https://github.com/ggerganov/llama.cpp) -- [Documentation Wiki](https://github.com/prave/ClaraCore/wiki) +- [Documentation Wiki](https://github.com/prave/JarvisCore/wiki) --- diff --git a/RELEASE_MANAGEMENT.md b/RELEASE_MANAGEMENT.md index 063f2dd..fc84acd 100644 --- a/RELEASE_MANAGEMENT.md +++ b/RELEASE_MANAGEMENT.md @@ -1,6 +1,6 @@ -# ClaraCore Release Management +# JarvisCore Release Management -This directory contains automated release management tools for ClaraCore. +This directory contains automated release management tools for JarvisCore. ## šŸš€ Quick Release @@ -36,11 +36,11 @@ python release.py --version v0.1.0 --token-file .github_token ### Cross-Platform Builds Automatically builds binaries for: -- Linux x64 (`claracore-linux-amd64`) -- Linux ARM64 (`claracore-linux-arm64`) -- macOS Intel (`claracore-darwin-amd64`) -- macOS Apple Silicon (`claracore-darwin-arm64`) -- Windows x64 (`claracore-windows-amd64.exe`) +- Linux x64 (`jarviscore-linux-amd64`) +- Linux ARM64 (`jarviscore-linux-arm64`) +- macOS Intel (`jarviscore-darwin-amd64`) +- macOS Apple Silicon (`jarviscore-darwin-arm64`) +- Windows x64 (`jarviscore-windows-amd64.exe`) ### Release Automation - Creates GitHub release with proper versioning @@ -154,7 +154,7 @@ curl -H "Authorization: token ghp_your_token" https://api.github.com/rate_limit ### Network Issues ```bash # Test GitHub connectivity -curl https://api.github.com/repos/badboysm890/ClaraCore +curl https://api.github.com/repos/badboysm890/JarvisCore # Use proxy if needed export HTTPS_PROXY=http://proxy:port diff --git a/SECURITY_VERIFICATION.md b/SECURITY_VERIFICATION.md index e5e5ed2..d717fce 100644 --- a/SECURITY_VERIFICATION.md +++ b/SECURITY_VERIFICATION.md @@ -1,30 +1,30 @@ # šŸ”’ Security Verification Guide -## Why is ClaraCore Flagged by Antivirus? +## Why is JarvisCore Flagged by Antivirus? -**ClaraCore is 100% safe and open source.** Antivirus software flags it because it: +**JarvisCore is 100% safe and open source.** Antivirus software flags it because it: 1. Downloads AI model binaries from llama.cpp (legitimate ML tool) 2. Spawns subprocesses to run AI models 3. Self-heals by downloading missing components These are **normal behaviors for AI inference tools**, but trigger heuristic detection. -## āœ… Verify ClaraCore is Legitimate +## āœ… Verify JarvisCore is Legitimate ### Method 1: Check SHA256 Hash (Recommended) **Windows:** ```powershell # Calculate hash of your downloaded file -Get-FileHash claracore.exe -Algorithm SHA256 +Get-FileHash jarviscore.exe -Algorithm SHA256 # Compare with official release hash at: -# https://github.com/claraverse-space/ClaraCore/releases +# https://github.com/jarvisverse-space/JarvisCore/releases ``` **Linux/macOS:** ```bash -sha256sum claracore +sha256sum jarviscore # Compare with official release hash ``` @@ -32,8 +32,8 @@ sha256sum claracore ```bash # Clone and inspect the code yourself -git clone https://github.com/claraverse-space/ClaraCore.git -cd ClaraCore +git clone https://github.com/jarvisverse-space/JarvisCore.git +cd JarvisCore # Review the code (it's all open source!) # Then build it yourself @@ -43,7 +43,7 @@ python build.py ### Method 3: VirusTotal Scan 1. Visit https://www.virustotal.com -2. Upload your `claracore.exe` +2. Upload your `jarviscore.exe` 3. Check that major vendors (Microsoft, Kaspersky, etc.) show it as clean 4. Some generic heuristic engines may flag it - this is normal @@ -53,14 +53,14 @@ python build.py 1. Open Windows Security 2. Virus & threat protection → Manage settings 3. Exclusions → Add an exclusion -4. Add folder: `%LOCALAPPDATA%\ClaraCore` +4. Add folder: `%LOCALAPPDATA%\JarvisCore` **Option B - PowerShell (Admin required):** ```powershell -Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\ClaraCore" +Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\JarvisCore" ``` -## šŸ“ What ClaraCore Does NOT Do +## šŸ“ What JarvisCore Does NOT Do - āŒ Does NOT modify Windows Registry - āŒ Does NOT access system files @@ -69,7 +69,7 @@ Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\ClaraCore" - āŒ Does NOT modify system settings - āŒ Does NOT install services or drivers -## šŸ” What ClaraCore DOES Do +## šŸ” What JarvisCore DOES Do - āœ… Downloads llama.cpp binaries from official GitHub releases - āœ… Creates config files in its own directory @@ -78,7 +78,7 @@ Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\ClaraCore" ## šŸ¢ For Enterprise/Corporate Users -If your IT department blocks ClaraCore: +If your IT department blocks JarvisCore: 1. **Submit to your security team for review** - The code is open source 2. **Build from source** - Your security team can audit the code @@ -87,9 +87,9 @@ If your IT department blocks ClaraCore: ## šŸ“§ Still Concerned? -- šŸ” Review the source code: https://github.com/claraverse-space/ClaraCore -- šŸ’¬ Open an issue: https://github.com/claraverse-space/ClaraCore/issues -- šŸ“– Read the documentation: https://github.com/claraverse-space/ClaraCore/blob/main/README.md +- šŸ” Review the source code: https://github.com/jarvisverse-space/JarvisCore +- šŸ’¬ Open an issue: https://github.com/jarvisverse-space/JarvisCore/issues +- šŸ“– Read the documentation: https://github.com/jarvisverse-space/JarvisCore/blob/main/README.md ## šŸŽÆ Why We Don't Code Sign diff --git a/autosetup/autosetup.go b/autosetup/autosetup.go index 10294b7..acd5358 100644 --- a/autosetup/autosetup.go +++ b/autosetup/autosetup.go @@ -36,7 +36,7 @@ func AutoSetup(modelsFolder string) error { // AutoSetupWithOptions performs automatic model detection and configuration with custom options func AutoSetupWithOptions(modelsFolder string, options SetupOptions) error { - fmt.Println("šŸš€ Starting ClaraCore auto-setup...") + fmt.Println("šŸš€ Starting JarvisCore auto-setup...") // Validate and create models folder if needed if modelsFolder == "" { @@ -75,7 +75,7 @@ func AutoSetupWithOptions(modelsFolder string, options SetupOptions) error { return fmt.Errorf("failed to create basic configuration: %v", err) } - fmt.Printf("āœ… Basic configuration created. Add models to %s and restart ClaraCore.\n", modelsFolder) + fmt.Printf("āœ… Basic configuration created. Add models to %s and restart JarvisCore.\n", modelsFolder) return nil } @@ -248,7 +248,7 @@ func AutoSetupWithOptions(modelsFolder string, options SetupOptions) error { // Print next steps fmt.Println("\nšŸŽ‰ Setup complete! Next steps:") fmt.Println(" 1. Review the generated config.yaml file") - fmt.Println(" 2. Start ClaraCore: ./clara-core") + fmt.Println(" 2. Start JarvisCore: ./jarvis-core") fmt.Println(" 3. Test with: curl http://localhost:8080/v1/models") // Print available models @@ -265,7 +265,7 @@ func AutoSetupWithOptions(modelsFolder string, options SetupOptions) error { // AutoSetupMultiFoldersWithOptions performs automatic model detection and configuration from multiple folders func AutoSetupMultiFoldersWithOptions(modelsFolders []string, options SetupOptions) error { - fmt.Println("šŸš€ Starting ClaraCore multi-folder auto-setup...") + fmt.Println("šŸš€ Starting JarvisCore multi-folder auto-setup...") // Validate folders if len(modelsFolders) == 0 { @@ -455,7 +455,7 @@ func AutoSetupMultiFoldersWithOptions(modelsFolders []string, options SetupOptio // Print next steps fmt.Println("\nšŸŽ‰ Setup complete! Next steps:") fmt.Println(" 1. Review the generated config.yaml file") - fmt.Println(" 2. Start ClaraCore: ./clara-core") + fmt.Println(" 2. Start JarvisCore: ./jarvis-core") fmt.Println(" 3. Test with: curl http://localhost:8080/v1/models") // Print available models @@ -487,7 +487,7 @@ func ValidateSetup() error { // createBasicConfig creates a minimal config.yaml with the models folder path func createBasicConfig(modelsFolder string) error { - basicConfig := fmt.Sprintf(`# ClaraCore Configuration + basicConfig := fmt.Sprintf(`# JarvisCore Configuration # Generated automatically - add models to %s and regenerate server: @@ -500,7 +500,7 @@ groups: models: # Models will be auto-detected when you add .gguf files to %s - # Run: ./claracore --models-folder %s + # Run: ./jarviscore --models-folder %s # Or use the web interface: http://localhost:5800/ui/setup # Model folder for scanning diff --git a/autosetup/config_generator.go b/autosetup/config_generator.go index c0c70f0..72d19cf 100644 --- a/autosetup/config_generator.go +++ b/autosetup/config_generator.go @@ -159,7 +159,7 @@ func (scg *ConfigGenerator) GenerateConfig(models []ModelInfo) error { // writeHeader writes the configuration header func (scg *ConfigGenerator) writeHeader(config *strings.Builder) { - config.WriteString("# Auto-generated Clara Core configuration (SMART GPU ALLOCATION)\n") + config.WriteString("# Auto-generated Jarvis Core configuration (SMART GPU ALLOCATION)\n") // Show all model folders if multiple paths are configured if len(scg.ModelsPaths) > 1 { diff --git a/autosetup/downloader.go b/autosetup/downloader.go index b2ac764..383b02d 100644 --- a/autosetup/downloader.go +++ b/autosetup/downloader.go @@ -165,7 +165,7 @@ func commandExists(cmd string) bool { // shouldUseEmoji returns whether to use emoji in output based on environment func shouldUseEmoji() bool { // Check NO_EMOJI environment variable - if os.Getenv("NO_EMOJI") != "" || os.Getenv("CLARACORE_NO_EMOJI") != "" { + if os.Getenv("NO_EMOJI") != "" || os.Getenv("JARVISCORE_NO_EMOJI") != "" { return false } @@ -381,7 +381,7 @@ func killLlamaServerProcesses() { return } - // Only kill llama-server.exe processes, not claracore.exe + // Only kill llama-server.exe processes, not jarviscore.exe cmd := exec.Command("taskkill", "/F", "/IM", "llama-server.exe") err := cmd.Run() if err == nil { @@ -463,7 +463,7 @@ func DownloadBinary(downloadDir string, system SystemInfo, forceBackend string) fmt.Printf("āš ļø Failed to remove existing binary directory: %v\n", err) fmt.Printf("šŸ’” This can happen if binary files are locked by Windows.\n") fmt.Printf(" Try:\n") - fmt.Printf(" 1. Restart ClaraCore\n") + fmt.Printf(" 1. Restart JarvisCore\n") fmt.Printf(" 2. Wait a few seconds and try again\n") fmt.Printf(" 3. Manually delete the 'binaries' folder if needed\n") // Continue with download anyway - it might still work @@ -1675,7 +1675,7 @@ func getAppleSiliconUnifiedMemory() float64 { // PrintPlatformSupportSummary prints a comprehensive summary of platform support func PrintPlatformSupportSummary() { - fmt.Printf("\nšŸŒ ClaraCore Platform Support Matrix:\n") + fmt.Printf("\nšŸŒ JarvisCore Platform Support Matrix:\n") fmt.Printf("══════════════════════════════════════════════════════════════\n") // Windows Support diff --git a/build.py b/build.py index bc90473..5d6d5de 100644 --- a/build.py +++ b/build.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -ClaraCore Build Script +JarvisCore Build Script Builds both UI and Go backend in sequence """ @@ -45,7 +45,7 @@ def get_version(): def print_banner(): """Print build script banner""" print("=" * 60) - print("šŸš€ ClaraCore Build Script") + print("šŸš€ JarvisCore Build Script") print("=" * 60) def print_step(step_name): @@ -119,11 +119,11 @@ def build_ui(): def build_go(): """Build the Go backend""" - print_step("Building ClaraCore (Go Backend)") + print_step("Building JarvisCore (Go Backend)") # Check if go.mod exists if not Path("go.mod").exists(): - print("āŒ go.mod not found! Are you in the ClaraCore root directory?") + print("āŒ go.mod not found! Are you in the JarvisCore root directory?") return False # Detect target based on host OS/arch @@ -155,7 +155,7 @@ def build_go(): else: goarch = "amd64" - output_name = f"claracore{output_ext}" + output_name = f"jarviscore{output_ext}" print(f"🧭 Target platform: {goos}/{goarch}") print(f"šŸ“„ Output: {output_name}") @@ -193,14 +193,14 @@ def build_go(): # Check if executable was created if output_path.exists(): - print("āœ… ClaraCore executable created successfully") + print("āœ… JarvisCore executable created successfully") # Get file size size = output_path.stat().st_size size_mb = size / (1024 * 1024) print(f"šŸ“Š Executable size: {size_mb:.1f} MB") else: - print("āŒ ClaraCore executable not found after build!") + print("āŒ JarvisCore executable not found after build!") return False return True @@ -243,8 +243,8 @@ def main(): print_banner() # Check if we're in the right directory - if not Path("claracore.go").exists() and not Path("go.mod").exists(): - print("āŒ Please run this script from the ClaraCore root directory") + if not Path("jarviscore.go").exists() and not Path("go.mod").exists(): + print("āŒ Please run this script from the JarvisCore root directory") sys.exit(1) # Check dependencies @@ -272,7 +272,7 @@ def main(): print(f"ā±ļø Total build time: {build_time:.2f} seconds") # Determine the correct binary name for this host system = platform.system().lower() - output_name = "claracore.exe" if system.startswith("windows") else "claracore" + output_name = "jarviscore.exe" if system.startswith("windows") else "jarviscore" print(f"šŸš€ Ready to run: ./{output_name}") print("🌐 UI will be served at: http://localhost:5800") print("=" * 60) diff --git a/config_temp.yaml b/config_temp.yaml index b60c240..ac242ee 100644 --- a/config_temp.yaml +++ b/config_temp.yaml @@ -1,4 +1,4 @@ -# Auto-generated Clara Core configuration (SMART GPU ALLOCATION) +# Auto-generated Jarvis Core configuration (SMART GPU ALLOCATION) # Generated from models in: /models # Binary: binaries/llama-server/build/bin/llama-server (cuda) # System: linux/amd64 diff --git a/docker-cpu/Dockerfile.cpu b/docker-cpu/Dockerfile.cpu index bdfbefe..7f6dff7 100644 --- a/docker-cpu/Dockerfile.cpu +++ b/docker-cpu/Dockerfile.cpu @@ -4,15 +4,15 @@ FROM ghcr.io/ggml-org/llama.cpp:server # Set working directory WORKDIR /app -# Copy only the ClaraCore binary -COPY claracore /app/claracore +# Copy only the JarvisCore binary +COPY jarviscore /app/jarviscore # Make it executable -RUN chmod +x /app/claracore +RUN chmod +x /app/jarviscore # Expose port EXPOSE 5890 # Set the entrypoint -ENTRYPOINT ["/app/claracore"] +ENTRYPOINT ["/app/jarviscore"] CMD ["-listen", "0.0.0.0:5890"] diff --git a/docker-cpu/README.md b/docker-cpu/README.md index 5e56cf8..5484094 100644 --- a/docker-cpu/README.md +++ b/docker-cpu/README.md @@ -1,6 +1,6 @@ -# ClaraCore Docker - CPU Edition +# JarvisCore Docker - CPU Edition -Clean Docker setup for ClaraCore with CPU-only inference using llama.cpp's official CPU image. +Clean Docker setup for JarvisCore with CPU-only inference using llama.cpp's official CPU image. ## Prerequisites @@ -15,7 +15,7 @@ No GPU required! This version runs on any CPU. ```bash # Pull the image from Docker Hub -docker pull clara17verse/claracore:cpu +docker pull jarvis17verse/jarviscore:cpu # Run with docker-compose cd docker-cpu @@ -26,26 +26,26 @@ docker-compose up -d ```bash docker run -d \ - --name claracore-cpu \ + --name jarviscore-cpu \ -p 5890:5890 \ - -v claracore-cpu-downloads:/app/downloads \ - clara17verse/claracore:cpu + -v jarviscore-cpu-downloads:/app/downloads \ + jarvis17verse/jarviscore:cpu ``` ### Option 3: Run with Custom Model Folder ```bash docker run -d \ - --name claracore-cpu \ + --name jarviscore-cpu \ -p 5890:5890 \ - -v claracore-cpu-downloads:/app/downloads \ + -v jarviscore-cpu-downloads:/app/downloads \ -v /path/to/your/models:/app/models:ro \ - clara17verse/claracore:cpu + jarvis17verse/jarviscore:cpu ``` -**Access ClaraCore:** http://localhost:5890/ui/ +**Access JarvisCore:** http://localhost:5890/ui/ -āœ… **Your models are saved** in Docker volume `claracore-cpu-downloads` +āœ… **Your models are saved** in Docker volume `jarviscore-cpu-downloads` ## View Logs @@ -67,18 +67,18 @@ The container auto-detects available CPU cores. For better performance with larg ```bash # Set specific thread count docker run -d \ - --name claracore-cpu \ + --name jarviscore-cpu \ -p 5890:5890 \ - -v claracore-cpu-downloads:/app/downloads \ + -v jarviscore-cpu-downloads:/app/downloads \ -e OMP_NUM_THREADS=8 \ - claracore:cpu + jarviscore:cpu ``` ### Resource Limits Limit CPU usage to prevent system overload: ```yaml -# Add to docker-compose.yml under 'claracore' service: +# Add to docker-compose.yml under 'jarviscore' service: deploy: resources: limits: @@ -93,15 +93,15 @@ deploy: ### Build locally: ```bash -# From ClaraCore root directory -cd /home/bb17g/claracore/ClaraCore +# From JarvisCore root directory +cd /home/bb17g/jarviscore/JarvisCore -# Build ClaraCore binary for Linux -GOOS=linux GOARCH=amd64 go build -o claracore . +# Build JarvisCore binary for Linux +GOOS=linux GOARCH=amd64 go build -o jarviscore . # Build Docker image cd docker-cpu -docker build -f Dockerfile.cpu -t claracore:cpu .. +docker build -f Dockerfile.cpu -t jarviscore:cpu .. # Or use docker-compose docker-compose build @@ -110,12 +110,12 @@ docker-compose build ### Build for different architectures: ```bash # For ARM64 (Raspberry Pi, Apple Silicon) -GOOS=linux GOARCH=arm64 go build -o claracore . -docker build -f Dockerfile.cpu -t claracore:cpu-arm64 .. +GOOS=linux GOARCH=arm64 go build -o jarviscore . +docker build -f Dockerfile.cpu -t jarviscore:cpu-arm64 .. # For AMD64 (Intel/AMD x86-64) -GOOS=linux GOARCH=amd64 go build -o claracore . -docker build -f Dockerfile.cpu -t claracore:cpu-amd64 .. +GOOS=linux GOARCH=amd64 go build -o jarviscore . +docker build -f Dockerfile.cpu -t jarviscore:cpu-amd64 .. ``` ## Multi-arch Build @@ -130,15 +130,15 @@ docker buildx create --use docker buildx build \ --platform linux/amd64,linux/arm64 \ -f docker-cpu/Dockerfile.cpu \ - -t yourusername/claracore:cpu \ + -t yourusername/jarviscore:cpu \ --push \ . ``` ## Data Persistence -āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `claracore-cpu-downloads`: -- **Models** you download through ClaraCore +āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `jarviscore-cpu-downloads`: +- **Models** you download through JarvisCore - Persists even after `docker-compose down` **āš ļø Your downloads will ONLY be deleted if you run:** `docker-compose down -v` @@ -150,7 +150,7 @@ You can easily bind-mount your existing model folders into the container! ### Edit docker-compose.yml: ```yaml volumes: - - claracore-cpu-downloads:/app/downloads + - jarviscore-cpu-downloads:/app/downloads - /path/to/your/models:/app/models:ro # Add your path here - /mnt/storage/llm-models:/app/external:ro # Multiple folders supported ``` @@ -158,30 +158,30 @@ volumes: **Tips:** - Use `:ro` (read-only) to prevent accidental modifications - Mount multiple folders to different paths -- After mounting, go to Setup in ClaraCore UI and add these folders (e.g., `/app/models`, `/app/external`) +- After mounting, go to Setup in JarvisCore UI and add these folders (e.g., `/app/models`, `/app/external`) ## Managing Your Data **View volume location:** ```bash -docker volume inspect claracore-cpu-downloads +docker volume inspect jarviscore-cpu-downloads ``` **View what's inside:** ```bash -docker exec claracore-cpu ls -lh /app/downloads +docker exec jarviscore-cpu ls -lh /app/downloads ``` **Backup your downloads:** ```bash -docker run --rm -v claracore-cpu-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar czf /backup/claracore-cpu-downloads-backup.tar.gz -C /downloads . +docker run --rm -v jarviscore-cpu-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar czf /backup/jarviscore-cpu-downloads-backup.tar.gz -C /downloads . ``` **Restore from backup:** ```bash -docker run --rm -v claracore-cpu-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar xzf /backup/claracore-cpu-downloads-backup.tar.gz -C /downloads +docker run --rm -v jarviscore-cpu-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar xzf /backup/jarviscore-cpu-downloads-backup.tar.gz -C /downloads ``` ## Troubleshooting diff --git a/docker-cpu/docker-compose.yml b/docker-cpu/docker-compose.yml index a31017a..6e1c8df 100644 --- a/docker-cpu/docker-compose.yml +++ b/docker-cpu/docker-compose.yml @@ -1,18 +1,18 @@ -name: claracore +name: jarviscore services: - claracore: + jarviscore: build: context: .. dockerfile: docker-cpu/Dockerfile.cpu - container_name: claracore-cpu - image: claracore:cpu + container_name: jarviscore-cpu + image: jarviscore:cpu restart: unless-stopped ports: - "5890:5890" volumes: # Persistent volume for downloaded models - - claracore-cpu-downloads:/app/downloads + - jarviscore-cpu-downloads:/app/downloads # Optional: Bind mount your own model folders # Uncomment and customize the paths below to use your existing models @@ -29,8 +29,8 @@ volumes: # Persistent storage for downloaded models only # This volume persists even after 'docker-compose down' # To delete: docker-compose down -v (WARNING: deletes all downloaded models!) - claracore-cpu-downloads: - name: claracore-cpu-downloads + jarviscore-cpu-downloads: + name: jarviscore-cpu-downloads # ============================================================ # šŸ“ BINDING YOUR OWN MODEL FOLDERS diff --git a/docker-cuda/Dockerfile.cuda b/docker-cuda/Dockerfile.cuda index 5ec2831..c4fe6b9 100644 --- a/docker-cuda/Dockerfile.cuda +++ b/docker-cuda/Dockerfile.cuda @@ -4,15 +4,15 @@ FROM ghcr.io/ggml-org/llama.cpp:server-cuda # Set working directory WORKDIR /app -# Copy only the ClaraCore binary -COPY claracore /app/claracore +# Copy only the JarvisCore binary +COPY jarviscore /app/jarviscore # Make it executable -RUN chmod +x /app/claracore +RUN chmod +x /app/jarviscore # Expose port EXPOSE 5890 # Set the entrypoint -ENTRYPOINT ["/app/claracore"] +ENTRYPOINT ["/app/jarviscore"] CMD ["-listen", "0.0.0.0:5890"] diff --git a/docker-cuda/README.md b/docker-cuda/README.md index 0d8cb46..dc9e231 100644 --- a/docker-cuda/README.md +++ b/docker-cuda/README.md @@ -1,6 +1,6 @@ -# ClaraCore Docker - CUDA Edition +# JarvisCore Docker - CUDA Edition -Clean Docker setup for ClaraCore with NVIDIA GPU acceleration using llama.cpp's official CUDA image. +Clean Docker setup for JarvisCore with NVIDIA GPU acceleration using llama.cpp's official CUDA image. ## Prerequisites @@ -15,7 +15,7 @@ Clean Docker setup for ClaraCore with NVIDIA GPU acceleration using llama.cpp's ```bash # Pull the image from Docker Hub -docker pull clara17verse/claracore:cuda +docker pull jarvis17verse/jarviscore:cuda # Run with docker-compose cd docker-cuda @@ -26,28 +26,28 @@ docker-compose up -d ```bash docker run -d \ - --name claracore-cuda \ + --name jarviscore-cuda \ --gpus all \ -p 5890:5890 \ - -v claracore-cuda-downloads:/app/downloads \ - clara17verse/claracore:cuda + -v jarviscore-cuda-downloads:/app/downloads \ + jarvis17verse/jarviscore:cuda ``` ### Option 3: Run with Custom Model Folder ```bash docker run -d \ - --name claracore-cuda \ + --name jarviscore-cuda \ --gpus all \ -p 5890:5890 \ - -v claracore-cuda-downloads:/app/downloads \ + -v jarviscore-cuda-downloads:/app/downloads \ -v /path/to/your/models:/app/models:ro \ - clara17verse/claracore:cuda + jarvis17verse/jarviscore:cuda ``` -**Access ClaraCore:** http://localhost:5890/ui/ +**Access JarvisCore:** http://localhost:5890/ui/ -āœ… **Your models are saved** in Docker volume `claracore-cuda-downloads` +āœ… **Your models are saved** in Docker volume `jarviscore-cuda-downloads` ## View Logs @@ -64,14 +64,14 @@ docker-compose down ## How It Works - Uses `ghcr.io/ggml-org/llama.cpp:server-cuda` as base (official llama.cpp CUDA image) -- Adds ClaraCore binary on top +- Adds JarvisCore binary on top - **Persistent Docker volume** stores all data (models, config, binaries) -- ClaraCore handles everything automatically +- JarvisCore handles everything automatically ## Data Persistence -āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `claracore-downloads`: -- **Models** you download through ClaraCore +āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `jarviscore-downloads`: +- **Models** you download through JarvisCore - Persists even after `docker-compose down` **āš ļø Your downloads will ONLY be deleted if you run:** `docker-compose down -v` @@ -85,7 +85,7 @@ You can easily bind-mount your existing model folders into the container! Two wa Uncomment and customize the volume binds in `docker-compose.yml`: ```yaml volumes: - - claracore-downloads:/app/downloads + - jarviscore-downloads:/app/downloads - /path/to/your/models:/app/models:ro # Add your path here - /mnt/storage/llm-models:/app/external:ro # Multiple folders supported ``` @@ -108,10 +108,10 @@ docker-compose up -d Example override file: ```yaml -name: claracore +name: jarviscore services: - claracore: + jarviscore: volumes: - /home/myuser/models:/app/models:ro - /mnt/nas/llm-collection:/app/nas:ro @@ -120,32 +120,32 @@ services: **Tips:** - Use `:ro` (read-only) to prevent accidental modifications - Mount multiple folders to different paths -- After mounting, go to Setup in ClaraCore UI and add these folders (e.g., `/app/models`, `/app/nas`) +- After mounting, go to Setup in JarvisCore UI and add these folders (e.g., `/app/models`, `/app/nas`) - Paths work on Linux, Windows (with WSL2), and macOS ### Managing Your Data **View volume location:** ```bash -docker volume inspect claracore-downloads +docker volume inspect jarviscore-downloads ``` **View what's inside:** ```bash -docker exec claracore ls -lh /app/downloads +docker exec jarviscore ls -lh /app/downloads ``` **Backup your downloads:** ```bash # Create tar archive of downloads -docker run --rm -v claracore-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar czf /backup/claracore-downloads-backup.tar.gz -C /downloads . +docker run --rm -v jarviscore-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar czf /backup/jarviscore-downloads-backup.tar.gz -C /downloads . ``` **Restore from backup:** ```bash -docker run --rm -v claracore-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar xzf /backup/claracore-downloads-backup.tar.gz -C /downloads +docker run --rm -v jarviscore-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar xzf /backup/jarviscore-downloads-backup.tar.gz -C /downloads ``` **Clean downloads and start fresh:** @@ -158,7 +158,7 @@ docker-compose up -d Check GPU is accessible: ```bash -docker exec claracore nvidia-smi +docker exec jarviscore nvidia-smi ``` ## āš ļø Windows (WSL2) Performance Issues @@ -172,21 +172,21 @@ Keep models in Linux filesystem for optimal performance: ```bash # Create volume -docker volume create claracore-models +docker volume create jarviscore-models # Run container with volume docker run -d \ - --name claracore \ + --name jarviscore \ --gpus all \ -p 5890:5890 \ - -v claracore-models:/app/downloads \ + -v jarviscore-models:/app/downloads \ -e NVIDIA_VISIBLE_DEVICES=all \ -e NVIDIA_DRIVER_CAPABILITIES=compute,utility \ - clara17verse/claracore:cuda + jarvis17verse/jarviscore:cuda # Copy models from Windows (one-time operation) docker run --rm \ - -v claracore-models:/app/downloads \ + -v jarviscore-models:/app/downloads \ -v /mnt/c/path/to/your/models:/source \ alpine sh -c "cp -r /source/* /app/downloads/" ``` @@ -199,26 +199,26 @@ cp -r /mnt/c/YourModelsFolder/* ~/llama-models/ # Then mount the Linux path docker run -d \ - --name claracore \ + --name jarviscore \ --gpus all \ -p 5890:5890 \ -v ~/llama-models:/app/downloads \ -e NVIDIA_VISIBLE_DEVICES=all \ -e NVIDIA_DRIVER_CAPABILITIES=compute,utility \ - clara17verse/claracore:cuda + jarvis17verse/jarviscore:cuda ``` #### 3ļøāƒ£ Direct Windows Mount (Simplest but Slower) ```bash # Use Windows path directly (e.g., /mnt/c/BackUP/models) docker run -d \ - --name claracore \ + --name jarviscore \ --gpus all \ -p 5890:5890 \ -v /mnt/c/YourModelsFolder:/app/downloads \ -e NVIDIA_VISIBLE_DEVICES=all \ -e NVIDIA_DRIVER_CAPABILITIES=compute,utility \ - clara17verse/claracore:cuda + jarvis17verse/jarviscore:cuda ``` **Why is Windows mount slower?** diff --git a/docker-cuda/docker-compose.yml b/docker-cuda/docker-compose.yml index b9600ee..1f48d4a 100644 --- a/docker-cuda/docker-compose.yml +++ b/docker-cuda/docker-compose.yml @@ -1,18 +1,18 @@ -name: claracore +name: jarviscore services: - claracore: + jarviscore: build: context: .. dockerfile: docker-cuda/Dockerfile.cuda - container_name: claracore - image: claracore:cuda + container_name: jarviscore + image: jarviscore:cuda restart: unless-stopped ports: - "5890:5890" volumes: # Persistent volume for downloaded models - - claracore-downloads:/app/downloads + - jarviscore-downloads:/app/downloads # Optional: Bind mount your own model folders # Uncomment and customize the paths below to use your existing models @@ -35,8 +35,8 @@ volumes: # Persistent storage for downloaded models only # This volume persists even after 'docker-compose down' # To delete: docker-compose down -v (WARNING: deletes all downloaded models!) - claracore-downloads: - name: claracore-downloads + jarviscore-downloads: + name: jarviscore-downloads # ============================================================ # šŸ“ BINDING YOUR OWN MODEL FOLDERS diff --git a/docker-rocm/Dockerfile.rocm b/docker-rocm/Dockerfile.rocm index d26b48b..227d00b 100644 --- a/docker-rocm/Dockerfile.rocm +++ b/docker-rocm/Dockerfile.rocm @@ -4,15 +4,15 @@ FROM rocm/llama.cpp:llama.cpp-b6356_rocm6.4.3_ubuntu24.04_light # Set working directory WORKDIR /app -# Copy only the ClaraCore binary -COPY claracore /app/claracore +# Copy only the JarvisCore binary +COPY jarviscore /app/jarviscore # Make it executable -RUN chmod +x /app/claracore +RUN chmod +x /app/jarviscore # Expose port EXPOSE 5890 # Set the entrypoint -ENTRYPOINT ["/app/claracore"] +ENTRYPOINT ["/app/jarviscore"] CMD ["-listen", "0.0.0.0:5890"] diff --git a/docker-rocm/README.md b/docker-rocm/README.md index bac1279..7dfd2ae 100644 --- a/docker-rocm/README.md +++ b/docker-rocm/README.md @@ -1,6 +1,6 @@ -# ClaraCore Docker - ROCm Edition +# JarvisCore Docker - ROCm Edition -Clean Docker setup for ClaraCore with AMD GPU acceleration using llama.cpp's official ROCm image. +Clean Docker setup for JarvisCore with AMD GPU acceleration using llama.cpp's official ROCm image. ## Prerequisites @@ -27,7 +27,7 @@ For unofficial support on other AMD GPUs (RX 5000, RX 500, etc.), see "GPU Overr ```bash # Pull the image from Docker Hub -docker pull clara17verse/claracore:rocm +docker pull jarvis17verse/jarviscore:rocm # Run with docker-compose cd docker-rocm @@ -38,34 +38,34 @@ docker-compose up -d ```bash docker run -d \ - --name claracore-rocm \ + --name jarviscore-rocm \ --device=/dev/kfd \ --device=/dev/dri \ --group-add video \ --group-add render \ -p 5890:5890 \ - -v claracore-rocm-downloads:/app/downloads \ - clara17verse/claracore:rocm + -v jarviscore-rocm-downloads:/app/downloads \ + jarvis17verse/jarviscore:rocm ``` ### Option 3: Run with Custom Model Folder ```bash docker run -d \ - --name claracore-rocm \ + --name jarviscore-rocm \ --device=/dev/kfd \ --device=/dev/dri \ --group-add video \ --group-add render \ -p 5890:5890 \ - -v claracore-rocm-downloads:/app/downloads \ + -v jarviscore-rocm-downloads:/app/downloads \ -v /path/to/your/models:/app/models:ro \ - clara17verse/claracore:rocm + jarvis17verse/jarviscore:rocm ``` -**Access ClaraCore:** http://localhost:5890/ui/ +**Access JarvisCore:** http://localhost:5890/ui/ -āœ… **Your models are saved** in Docker volume `claracore-rocm-downloads` +āœ… **Your models are saved** in Docker volume `jarviscore-rocm-downloads` ## View Logs @@ -140,22 +140,22 @@ rocminfo | grep "Name:" Check inside container: ```bash -docker exec claracore-rocm rocm-smi +docker exec jarviscore-rocm rocm-smi ``` ## Building the Image ### Build locally: ```bash -# From ClaraCore root directory -cd /home/bb17g/claracore/ClaraCore +# From JarvisCore root directory +cd /home/bb17g/jarviscore/JarvisCore -# Build ClaraCore binary for Linux -GOOS=linux GOARCH=amd64 go build -o claracore . +# Build JarvisCore binary for Linux +GOOS=linux GOARCH=amd64 go build -o jarviscore . # Build Docker image cd docker-rocm -docker build -f Dockerfile.rocm -t claracore:rocm .. +docker build -f Dockerfile.rocm -t jarviscore:rocm .. # Or use docker-compose docker-compose build @@ -164,11 +164,11 @@ docker-compose build ### Push to Docker Hub: ```bash # Tag for Docker Hub -docker tag claracore:rocm yourusername/claracore:rocm +docker tag jarviscore:rocm yourusername/jarviscore:rocm # Login and push docker login -docker push yourusername/claracore:rocm +docker push yourusername/jarviscore:rocm ``` ## Testing Without AMD GPU @@ -177,17 +177,17 @@ If you want to build the ROCm image but don't have an AMD GPU to test: ```bash # Build the image (this works on any system) -docker build -f docker-rocm/Dockerfile.rocm -t claracore:rocm . +docker build -f docker-rocm/Dockerfile.rocm -t jarviscore:rocm . # Test that it builds successfully -docker images | grep claracore +docker images | grep jarviscore # You can't run it without ROCm hardware, but you can verify: # 1. Image builds without errors -# 2. ClaraCore binary is included +# 2. JarvisCore binary is included # 3. Entry point is correct -docker run --rm claracore:rocm --version +docker run --rm jarviscore:rocm --version ``` The container will fail to start without AMD GPU hardware, but you can: @@ -198,8 +198,8 @@ The container will fail to start without AMD GPU hardware, but you can: ## Data Persistence -āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `claracore-rocm-downloads`: -- **Models** you download through ClaraCore +āœ… **Your downloaded models are safe!** The `/app/downloads` folder is stored in Docker volume `jarviscore-rocm-downloads`: +- **Models** you download through JarvisCore - Persists even after `docker-compose down` **āš ļø Your downloads will ONLY be deleted if you run:** `docker-compose down -v` @@ -211,7 +211,7 @@ You can easily bind-mount your existing model folders into the container! ### Edit docker-compose.yml: ```yaml volumes: - - claracore-rocm-downloads:/app/downloads + - jarviscore-rocm-downloads:/app/downloads - /path/to/your/models:/app/models:ro # Add your path here - /mnt/storage/llm-models:/app/external:ro # Multiple folders supported ``` @@ -219,24 +219,24 @@ volumes: **Tips:** - Use `:ro` (read-only) to prevent accidental modifications - Mount multiple folders to different paths -- After mounting, go to Setup in ClaraCore UI and add these folders +- After mounting, go to Setup in JarvisCore UI and add these folders ## Managing Your Data **View volume location:** ```bash -docker volume inspect claracore-rocm-downloads +docker volume inspect jarviscore-rocm-downloads ``` **View what's inside:** ```bash -docker exec claracore-rocm ls -lh /app/downloads +docker exec jarviscore-rocm ls -lh /app/downloads ``` **Backup your downloads:** ```bash -docker run --rm -v claracore-rocm-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar czf /backup/claracore-rocm-downloads-backup.tar.gz -C /downloads . +docker run --rm -v jarviscore-rocm-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar czf /backup/jarviscore-rocm-downloads-backup.tar.gz -C /downloads . ``` ## Troubleshooting @@ -275,11 +275,11 @@ watch -n 1 rocm-smi 2. **Monitor inside container:** ```bash -docker exec claracore-rocm rocm-smi +docker exec jarviscore-rocm rocm-smi ``` 3. **Check if using GPU:** -Look for "GPU layers: XX" in ClaraCore logs +Look for "GPU layers: XX" in JarvisCore logs ### Common Errors diff --git a/docker-rocm/docker-compose.yml b/docker-rocm/docker-compose.yml index 7aa3a75..965bb13 100644 --- a/docker-rocm/docker-compose.yml +++ b/docker-rocm/docker-compose.yml @@ -1,18 +1,18 @@ -name: claracore +name: jarviscore services: - claracore: + jarviscore: build: context: .. dockerfile: docker-rocm/Dockerfile.rocm - container_name: claracore-rocm - image: claracore:rocm + container_name: jarviscore-rocm + image: jarviscore:rocm restart: unless-stopped ports: - "5890:5890" volumes: # Persistent volume for downloaded models - - claracore-rocm-downloads:/app/downloads + - jarviscore-rocm-downloads:/app/downloads # Optional: Bind mount your own model folders # Uncomment and customize the paths below to use your existing models @@ -39,8 +39,8 @@ volumes: # Persistent storage for downloaded models only # This volume persists even after 'docker-compose down' # To delete: docker-compose down -v (WARNING: deletes all downloaded models!) - claracore-rocm-downloads: - name: claracore-rocm-downloads + jarviscore-rocm-downloads: + name: jarviscore-rocm-downloads # ============================================================ # šŸ“ BINDING YOUR OWN MODEL FOLDERS diff --git a/docker-strix/Dockerfile.strix b/docker-strix/Dockerfile.strix index 1b18e98..92260b0 100644 --- a/docker-strix/Dockerfile.strix +++ b/docker-strix/Dockerfile.strix @@ -4,15 +4,15 @@ FROM kyuz0/amd-strix-halo-toolboxes:vulkan-radv # Set working directory WORKDIR /app -# Copy only the ClaraCore binary -COPY claracore /app/claracore +# Copy only the JarvisCore binary +COPY jarviscore /app/jarviscore # Make it executable -RUN chmod +x /app/claracore +RUN chmod +x /app/jarviscore # Expose port EXPOSE 5890 # Set the entrypoint -ENTRYPOINT ["/app/claracore"] +ENTRYPOINT ["/app/jarviscore"] CMD ["-listen", "0.0.0.0:5890"] diff --git a/docker-strix/README.md b/docker-strix/README.md index f313ed7..05fe3da 100644 --- a/docker-strix/README.md +++ b/docker-strix/README.md @@ -1,7 +1,7 @@ ````markdown -# ClaraCore Docker - AMD Strix Halo Edition +# JarvisCore Docker - AMD Strix Halo Edition -Docker setup for ClaraCore optimized for **AMD Strix Halo APUs** (Ryzen AI Max 300 series). +Docker setup for JarvisCore optimized for **AMD Strix Halo APUs** (Ryzen AI Max 300 series). ## Prerequisites @@ -44,7 +44,7 @@ sudo reboot ```bash # Pull the image from Docker Hub -docker pull clara17verse/claracore:strix +docker pull jarvis17verse/jarviscore:strix # Run with docker-compose cd docker-strix @@ -55,32 +55,32 @@ docker-compose up -d ```bash docker run -d \ - --name claracore-strix \ + --name jarviscore-strix \ --device=/dev/dri \ --group-add video \ --security-opt seccomp=unconfined \ -p 5890:5890 \ - -v claracore-strix-downloads:/app/downloads \ - clara17verse/claracore:strix + -v jarviscore-strix-downloads:/app/downloads \ + jarvis17verse/jarviscore:strix ``` ### Option 3: Run with Custom Model Folder ```bash docker run -d \ - --name claracore-strix \ + --name jarviscore-strix \ --device=/dev/dri \ --group-add video \ --security-opt seccomp=unconfined \ -p 5890:5890 \ - -v claracore-strix-downloads:/app/downloads \ + -v jarviscore-strix-downloads:/app/downloads \ -v /path/to/your/models:/app/models:ro \ - clara17verse/claracore:strix + jarvis17verse/jarviscore:strix ``` -**Access ClaraCore:** http://localhost:5890/ui/ +**Access JarvisCore:** http://localhost:5890/ui/ -āœ… **Your models are saved** in Docker volume `claracore-strix-downloads` +āœ… **Your models are saved** in Docker volume `jarviscore-strix-downloads` ## Docker Commands @@ -102,13 +102,13 @@ docker-compose ps ```bash docker run -d \ - --name claracore-strix \ + --name jarviscore-strix \ --device=/dev/dri \ --group-add video \ --security-opt seccomp=unconfined \ -p 5890:5890 \ - -v claracore-strix-downloads:/app/downloads \ - clara17verse/claracore:strix + -v jarviscore-strix-downloads:/app/downloads \ + jarvis17verse/jarviscore:strix ``` ## Troubleshooting @@ -134,7 +134,7 @@ You must create udev rules (see [Host System Setup](#host-system-setup-required- ```bash # Monitor container -docker stats claracore-strix +docker stats jarviscore-strix # Check system memory free -h @@ -151,17 +151,17 @@ cat /proc/cmdline | grep amdgpu ## Data Persistence -āœ… **Downloaded models are saved** in Docker volume `claracore-strix-downloads` +āœ… **Downloaded models are saved** in Docker volume `jarviscore-strix-downloads` **View volume:** ```bash -docker volume inspect claracore-strix-downloads +docker volume inspect jarviscore-strix-downloads ``` **Backup:** ```bash -docker run --rm -v claracore-strix-downloads:/downloads -v $(pwd):/backup ubuntu \ - tar czf /backup/claracore-strix-backup.tar.gz -C /downloads . +docker run --rm -v jarviscore-strix-downloads:/downloads -v $(pwd):/backup ubuntu \ + tar czf /backup/jarviscore-strix-backup.tar.gz -C /downloads . ``` ## Using Your Own Model Folders @@ -169,7 +169,7 @@ docker run --rm -v claracore-strix-downloads:/downloads -v $(pwd):/backup ubuntu Edit `docker-compose.yml`: ```yaml volumes: - - claracore-strix-downloads:/app/downloads + - jarviscore-strix-downloads:/app/downloads - /path/to/your/models:/app/models:ro ``` @@ -177,7 +177,7 @@ volumes: - **Base image:** kyuz0/amd-strix-halo-toolboxes:vulkan-radv - **Backend:** Vulkan RADV (Mesa driver) -- **Docker Hub:** clara17verse/claracore:strix +- **Docker Hub:** jarvis17verse/jarviscore:strix - **Port:** 5890 **For more details on Strix Halo optimization:** [kyuz0/amd-strix-halo-toolboxes](https://github.com/kyuz0/amd-strix-halo-toolboxes) diff --git a/docker-strix/docker-compose.yml b/docker-strix/docker-compose.yml index 3174900..0016c6d 100644 --- a/docker-strix/docker-compose.yml +++ b/docker-strix/docker-compose.yml @@ -1,18 +1,18 @@ -name: claracore +name: jarviscore services: - claracore: + jarviscore: build: context: .. dockerfile: docker-strix/Dockerfile.strix - container_name: claracore-strix - image: claracore:strix + container_name: jarviscore-strix + image: jarviscore:strix restart: unless-stopped ports: - "5890:5890" volumes: # Persistent volume for downloaded models - - claracore-strix-downloads:/app/downloads + - jarviscore-strix-downloads:/app/downloads # Optional: Bind mount your own model folders # Uncomment and customize the paths below to use your existing models @@ -39,8 +39,8 @@ volumes: # Persistent storage for downloaded models only # This volume persists even after 'docker-compose down' # To delete: docker-compose down -v (WARNING: deletes all downloaded models!) - claracore-strix-downloads: - name: claracore-strix-downloads + jarviscore-strix-downloads: + name: jarviscore-strix-downloads # ============================================================ # šŸ“ BINDING YOUR OWN MODEL FOLDERS diff --git a/docs/ANTIVIRUS_FALSE_POSITIVES.md b/docs/ANTIVIRUS_FALSE_POSITIVES.md index ce79c40..50cfa21 100644 --- a/docs/ANTIVIRUS_FALSE_POSITIVES.md +++ b/docs/ANTIVIRUS_FALSE_POSITIVES.md @@ -1,17 +1,17 @@ -# Antivirus False Positives - ClaraCore +# Antivirus False Positives - JarvisCore ## Why Am I Getting Antivirus Warnings? -If you're seeing warnings from Windows Defender or other antivirus software when downloading or running ClaraCore, **don't worry** - this is a common issue with legitimate software, especially: +If you're seeing warnings from Windows Defender or other antivirus software when downloading or running JarvisCore, **don't worry** - this is a common issue with legitimate software, especially: - šŸ†• **New releases** without established reputation scores - šŸ”§ **System tools** that manage processes and network operations - 🐹 **Go binaries** which sometimes trigger heuristic detection - šŸ“¦ **Unsigned executables** (code signing certificates are expensive for open source projects) -## Is ClaraCore Safe? +## Is JarvisCore Safe? -**Yes!** ClaraCore is completely safe and open source: +**Yes!** JarvisCore is completely safe and open source: āœ… **100% Open Source** - Every line of code is public on GitHub āœ… **No Malicious Code** - You can audit the entire codebase yourself @@ -19,9 +19,9 @@ If you're seeing warnings from Windows Defender or other antivirus software when āœ… **Active Community** - Transparent development and issue tracking āœ… **MIT Licensed** - Permissive open source license -## What ClaraCore Actually Does +## What JarvisCore Actually Does -ClaraCore is an AI inference server that: +JarvisCore is an AI inference server that: - Starts local HTTP servers for AI model hosting - Downloads AI models from HuggingFace - Manages GPU/CPU resources @@ -37,12 +37,12 @@ Every release includes SHA256 checksums. Verify your download: **Windows PowerShell:** ```powershell -Get-FileHash claracore-windows-amd64.exe -Algorithm SHA256 +Get-FileHash jarviscore-windows-amd64.exe -Algorithm SHA256 ``` **Linux/macOS:** ```bash -sha256sum claracore-linux-amd64 +sha256sum jarviscore-linux-amd64 ``` Compare the output with the checksum in the GitHub release notes. @@ -52,18 +52,18 @@ Compare the output with the checksum in the GitHub release notes. If the binary is code signed: **Windows:** -1. Right-click `claracore-windows-amd64.exe` +1. Right-click `jarviscore-windows-amd64.exe` 2. Select **Properties** 3. Go to **Digital Signatures** tab -4. Verify the signature is from "ClaraCore Open Source" +4. Verify the signature is from "JarvisCore Open Source" ### 3. Build from Source The ultimate verification - build it yourself: ```bash -git clone https://github.com/claraverse-space/ClaraCore.git -cd ClaraCore +git clone https://github.com/jarvisverse-space/JarvisCore.git +cd JarvisCore go build . ``` @@ -77,7 +77,7 @@ You'll get an identical binary (minus metadata). 2. Go to **Virus & threat protection** 3. Click **Manage settings** 4. Scroll to **Exclusions** → **Add or remove exclusions** -5. Add the ClaraCore executable or installation folder +5. Add the JarvisCore executable or installation folder ### Option 2: Temporarily Disable Real-time Protection @@ -86,7 +86,7 @@ While downloading: 2. Go to **Virus & threat protection** 3. Click **Manage settings** 4. Toggle off **Real-time protection** temporarily -5. Download and verify ClaraCore +5. Download and verify JarvisCore 6. Re-enable protection ### Option 3: Report False Positive to Microsoft @@ -94,7 +94,7 @@ While downloading: Help improve detection for everyone: 1. Visit [Microsoft Security Intelligence](https://www.microsoft.com/en-us/wdsi/filesubmission) -2. Submit the ClaraCore executable +2. Submit the JarvisCore executable 3. Select **"I believe this file does not contain a threat"** 4. Microsoft will analyze and update their database @@ -139,7 +139,7 @@ We're exploring options: ## Technical Details: What Triggers Detection? -ClaraCore performs legitimate operations that antivirus software monitors: +JarvisCore performs legitimate operations that antivirus software monitors: 1. **Network Operations** - Creates HTTP/HTTPS servers @@ -170,7 +170,7 @@ We take security seriously: - āœ… **Public Development** - All commits are visible on GitHub - āœ… **Code Review** - Changes are reviewed before merging - āœ… **Dependency Management** - Go modules with version pinning -- āœ… **No Telemetry** - ClaraCore doesn't phone home +- āœ… **No Telemetry** - JarvisCore doesn't phone home - āœ… **Local First** - Everything runs on your machine - āœ… **Transparent Builds** - Reproducible build process @@ -209,4 +209,4 @@ If you encounter false positives: --- -**Remember:** False positives are frustrating but common. We're a legitimate open source project committed to transparency and security. Thank you for using ClaraCore! +**Remember:** False positives are frustrating but common. We're a legitimate open source project committed to transparency and security. Thank you for using JarvisCore! diff --git a/docs/API.md b/docs/API.md index 2b7968f..a3d292b 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1,8 +1,8 @@ -# ClaraCore Complete API Reference +# JarvisCore Complete API Reference ## Overview -ClaraCore provides a comprehensive HTTP API for managing AI models, system configuration, and OpenAI-compatible endpoints. The API is designed for both programmatic access and integration with the React UI. +JarvisCore provides a comprehensive HTTP API for managing AI models, system configuration, and OpenAI-compatible endpoints. The API is designed for both programmatic access and integration with the React UI. **Base URLs:** - Local UI: `http://localhost:5800/ui/` @@ -31,7 +31,7 @@ ClaraCore provides a comprehensive HTTP API for managing AI models, system confi ## Authentication -ClaraCore supports optional API key authentication for all endpoints except system settings configuration. +JarvisCore supports optional API key authentication for all endpoints except system settings configuration. ### Headers ```http @@ -56,7 +56,7 @@ curl -X POST http://localhost:5800/api/settings/system \ ## OpenAI-Compatible Endpoints -ClaraCore provides full OpenAI API compatibility for seamless integration with existing tools and applications. +JarvisCore provides full OpenAI API compatibility for seamless integration with existing tools and applications. ### Chat Completions @@ -211,7 +211,7 @@ curl -X GET http://localhost:5800/v1/models \ "id": "llama-3.2-3b-instruct", "object": "model", "created": 1699999999, - "owned_by": "claracore", + "owned_by": "jarviscore", "permission": [], "root": "llama-3.2-3b-instruct", "parent": null @@ -220,7 +220,7 @@ curl -X GET http://localhost:5800/v1/models \ "id": "nomic-embed-text-v1.5", "object": "model", "created": 1699999999, - "owned_by": "claracore", + "owned_by": "jarviscore", "permission": [], "root": "nomic-embed-text-v1.5", "parent": null @@ -1318,7 +1318,7 @@ import requests import json from sseclient import SSEClient -class ClaraCoreClient: +class JarvisCoreClient: def __init__(self, base_url="http://localhost:5800", api_key=None): self.base_url = base_url self.headers = {"Content-Type": "application/json"} @@ -1366,7 +1366,7 @@ class ClaraCoreClient: yield json.loads(event.data) # Usage -client = ClaraCoreClient(api_key="your-api-key") +client = JarvisCoreClient(api_key="your-api-key") # Chat with model response = client.chat_completion( @@ -1389,7 +1389,7 @@ for event in client.monitor_events(): const axios = require('axios'); const EventSource = require('eventsource'); -class ClaraCoreClient { +class JarvisCoreClient { constructor(baseUrl = 'http://localhost:5800', apiKey = null) { this.baseUrl = baseUrl; this.headers = { 'Content-Type': 'application/json' }; @@ -1436,7 +1436,7 @@ class ClaraCoreClient { } // Usage -const client = new ClaraCoreClient('http://localhost:5800', 'your-api-key'); +const client = new JarvisCoreClient('http://localhost:5800', 'your-api-key'); // Chat completion client.chatCompletion('llama-3.2-3b-instruct', [ @@ -1481,4 +1481,4 @@ const eventSource = client.monitorEvents((event) => { --- -This comprehensive API documentation covers all available endpoints in ClaraCore. The API provides both OpenAI compatibility for easy integration and powerful configuration management for advanced users. \ No newline at end of file +This comprehensive API documentation covers all available endpoints in JarvisCore. The API provides both OpenAI compatibility for easy integration and powerful configuration management for advanced users. \ No newline at end of file diff --git a/docs/PORT_MANAGEMENT.md b/docs/PORT_MANAGEMENT.md index bdc4d81..468c3a5 100644 --- a/docs/PORT_MANAGEMENT.md +++ b/docs/PORT_MANAGEMENT.md @@ -1,13 +1,13 @@ -# ClaraCore Port Management +# JarvisCore Port Management -ClaraCore now has intelligent port management that automatically handles port conflicts and assignments. +JarvisCore now has intelligent port management that automatically handles port conflicts and assignments. ## Port Architecture -### ClaraCore Web Interface +### JarvisCore Web Interface - **Default Port**: 5800 - **Configurable**: Use `--listen` flag to change -- **Example**: `./claracore --listen :8096` to run on port 8096 +- **Example**: `./jarviscore --listen :8096` to run on port 8096 ### Model Servers (llama-server instances) - **Default Start Port**: 8100 @@ -19,7 +19,7 @@ ClaraCore now has intelligent port management that automatically handles port co ### Basic Configuration ```yaml -# ClaraCore global settings +# JarvisCore global settings startPort: 8100 # Models start from port 8100 models: @@ -44,36 +44,36 @@ groups: - embedding2 ``` -### Custom ClaraCore Port +### Custom JarvisCore Port ```bash -# Run ClaraCore on port 9000 instead of 5800 -./claracore --listen :9000 +# Run JarvisCore on port 9000 instead of 5800 +./jarviscore --listen :9000 # Or bind to specific IP -./claracore --listen 192.168.1.100:5800 +./jarviscore --listen 192.168.1.100:5800 ``` ## Port Ranges | Service | Default Port Range | Purpose | |---------|-------------------|---------| -| ClaraCore Web UI | 5800 | Web interface, API endpoints | +| JarvisCore Web UI | 5800 | Web interface, API endpoints | | Model Servers | 8100+ | Individual llama-server instances | | Large Models Group | 8200+ | Heavy models (swappable) | | Small Models Group | 8300+ | Embeddings, light models | ## Auto-setup Defaults -When using `--models-folder`, ClaraCore automatically: +When using `--models-folder`, JarvisCore automatically: 1. Sets `startPort: 8100` for models 2. Creates groups with appropriate port ranges -3. Keeps ClaraCore web interface on port 5800 +3. Keeps JarvisCore web interface on port 5800 4. Ensures no port conflicts ## Benefits -āœ… **No Port Conflicts**: ClaraCore and models use separate port ranges +āœ… **No Port Conflicts**: JarvisCore and models use separate port ranges āœ… **Auto-reload Support**: Config changes trigger automatic server restarts āœ… **Flexible Configuration**: Easy to customize ports for different environments āœ… **Group Isolation**: Different model groups can use different port ranges @@ -90,4 +90,4 @@ startPort: 5800 startPort: 8100 ``` -ClaraCore will automatically fix this during auto-setup, but manual configs should be updated. \ No newline at end of file +JarvisCore will automatically fix this during auto-setup, but manual configs should be updated. \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 0ef8833..587f314 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ -# ClaraCore Documentation +# JarvisCore Documentation -Welcome to the ClaraCore documentation! This directory contains comprehensive guides and references for using ClaraCore. +Welcome to the JarvisCore documentation! This directory contains comprehensive guides and references for using JarvisCore. ## šŸ“š Documentation Overview @@ -48,7 +48,7 @@ Welcome to the ClaraCore documentation! This directory contains comprehensive gu ## 🌟 Key Features Documentation ### OpenAI Compatibility -ClaraCore provides full OpenAI API compatibility: +JarvisCore provides full OpenAI API compatibility: ```bash # Chat completions POST /v1/chat/completions @@ -67,10 +67,10 @@ GET /v1/models Automatic setup and optimization: ```bash # Auto-detect and configure -./claracore --models-folder /path/to/models +./jarviscore --models-folder /path/to/models # Backend-specific optimization -./claracore --models-folder /path/to/models --backend vulkan +./jarviscore --models-folder /path/to/models --backend vulkan ``` ### Web Interface @@ -88,7 +88,7 @@ Modern React-based UI: ## šŸ”§ Configuration Files -ClaraCore uses several configuration files: +JarvisCore uses several configuration files: ### `config.yaml` - Main Configuration ```yaml @@ -151,11 +151,11 @@ models: ### 1. First-Time Setup ```bash -# 1. Download ClaraCore -curl -L -o claracore https://github.com/badboysm890/ClaraCore/releases/latest/download/claracore-linux-amd64 +# 1. Download JarvisCore +curl -L -o jarviscore https://github.com/badboysm890/JarvisCore/releases/latest/download/jarviscore-linux-amd64 # 2. Run auto-setup -./claracore --models-folder /path/to/models +./jarviscore --models-folder /path/to/models # 3. Access web interface open http://localhost:5800/ui/setup @@ -195,14 +195,14 @@ curl -X POST http://localhost:5800/api/server/restart ## šŸ› ļø Advanced Topics ### Custom Binary Management -ClaraCore automatically downloads optimal binaries, but you can customize: +JarvisCore automatically downloads optimal binaries, but you can customize: ```bash # Use custom binary -./claracore --binary-path /custom/llama-server +./jarviscore --binary-path /custom/llama-server # Force binary re-download rm -rf binaries/ -./claracore --models-folder /path/to/models +./jarviscore --models-folder /path/to/models ``` ### Performance Tuning @@ -213,7 +213,7 @@ Key parameters for optimization: - **Backend Selection**: Match hardware capabilities ### Multi-Model Configuration -ClaraCore supports complex multi-model setups: +JarvisCore supports complex multi-model setups: - **Speculative Decoding**: Automatic draft model pairing - **Model Groups**: Exclusive loading for memory management - **Smart Swapping**: On-demand model loading/unloading @@ -221,8 +221,8 @@ ClaraCore supports complex multi-model setups: ## šŸ“ž Support & Community ### Getting Help -- **GitHub Issues**: [Report bugs and request features](https://github.com/badboysm890/ClaraCore/issues) -- **GitHub Discussions**: [Community support and questions](https://github.com/badboysm890/ClaraCore/discussions) +- **GitHub Issues**: [Report bugs and request features](https://github.com/badboysm890/JarvisCore/issues) +- **GitHub Discussions**: [Community support and questions](https://github.com/badboysm890/JarvisCore/discussions) - **Documentation**: Check this documentation for common solutions ### Contributing @@ -248,4 +248,4 @@ ClaraCore supports complex multi-model setups: --- -**Happy building with ClaraCore! šŸš€** \ No newline at end of file +**Happy building with JarvisCore! šŸš€** \ No newline at end of file diff --git a/docs/SETUP.md b/docs/SETUP.md index 4199b05..e67da7c 100644 --- a/docs/SETUP.md +++ b/docs/SETUP.md @@ -1,6 +1,6 @@ -# ClaraCore Setup Guide +# JarvisCore Setup Guide -This guide covers installation, configuration, and getting started with ClaraCore. +This guide covers installation, configuration, and getting started with JarvisCore. ## šŸš€ Quick Installation @@ -8,26 +8,26 @@ This guide covers installation, configuration, and getting started with ClaraCor #### Linux and macOS ```bash -curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.sh | bash ``` **Note**: For containers, WSL, or systemd-less environments, see our [Container Setup Guide](CONTAINER_SETUP.md). Or download and run manually: ```bash -wget https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.sh +wget https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.sh chmod +x install.sh ./install.sh ``` #### Windows (PowerShell as Administrator) ```powershell -irm https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.ps1 | iex +irm https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.ps1 | iex ``` Or download and run manually: ```powershell -Invoke-WebRequest -Uri "https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.ps1" -OutFile "install.ps1" +Invoke-WebRequest -Uri "https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.ps1" -OutFile "install.ps1" .\install.ps1 ``` @@ -45,7 +45,7 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/claraverse-space/Clara **Windows:** ```powershell # Download the latest release -curl -L -o claracore.exe https://github.com/badboysm890/ClaraCore/releases/latest/download/claracore-windows-amd64.exe +curl -L -o jarviscore.exe https://github.com/badboysm890/JarvisCore/releases/latest/download/jarviscore-windows-amd64.exe # Or build from source python build.py @@ -54,32 +54,32 @@ python build.py **Linux/macOS:** ```bash # Download the latest release -curl -L -o claracore https://github.com/badboysm890/ClaraCore/releases/latest/download/claracore-linux-amd64 -chmod +x claracore +curl -L -o jarviscore https://github.com/badboysm890/JarvisCore/releases/latest/download/jarviscore-linux-amd64 +chmod +x jarviscore # Or build from source -go build -o claracore . +go build -o jarviscore . ``` ### 2. Quick Setup #### After Installation -If you used the automated installer, ClaraCore is ready to use: +If you used the automated installer, JarvisCore is ready to use: 1. **Start the service** (if not auto-started): ```bash # Linux/macOS - sudo systemctl start claracore + sudo systemctl start jarviscore # Windows - Start-Service ClaraCore + Start-Service JarvisCore ``` 2. **Configure models**: ```bash # Point to your models folder - claracore --models-folder /path/to/your/gguf/models + jarviscore --models-folder /path/to/your/gguf/models # Or use the web interface # Visit: http://localhost:5800/ui/setup @@ -89,17 +89,17 @@ If you used the automated installer, ClaraCore is ready to use: **Automatic Setup (Recommended):** ```bash -# Point ClaraCore at your models folder - it does the rest! -./claracore --models-folder /path/to/your/gguf/models +# Point JarvisCore at your models folder - it does the rest! +./jarviscore --models-folder /path/to/your/gguf/models # For specific backend -./claracore --models-folder /path/to/models --backend vulkan +./jarviscore --models-folder /path/to/models --backend vulkan ``` **Manual Setup:** ```bash -# 1. Start ClaraCore -./claracore +# 1. Start JarvisCore +./jarviscore # 2. Open web interface # Visit: http://localhost:5800/ui/setup @@ -115,7 +115,7 @@ If you used the automated installer, ClaraCore is ready to use: ```bash # Test version info (should show proper version as of v0.1.1+) -claracore --version +jarviscore --version # Check if models are loaded curl http://localhost:5800/v1/models @@ -137,7 +137,7 @@ curl -X POST http://localhost:5800/v1/chat/completions \ ### Command Line Arguments ```bash -./claracore [options] +./jarviscore [options] Options: --models-folder string Path to GGUF models folder @@ -154,47 +154,47 @@ Options: ### Environment Variables ```bash -export CLARA_MODELS_FOLDER="/path/to/models" -export CLARA_BACKEND="vulkan" -export CLARA_PORT="5800" -export CLARA_VRAM="8.0" -export CLARA_RAM="16.0" +export JARVIS_MODELS_FOLDER="/path/to/models" +export JARVIS_BACKEND="vulkan" +export JARVIS_PORT="5800" +export JARVIS_VRAM="8.0" +export JARVIS_RAM="16.0" ``` --- ## šŸ–„ļø Backend Selection -ClaraCore automatically detects your hardware, but you can override: +JarvisCore automatically detects your hardware, but you can override: ### NVIDIA GPUs ```bash # CUDA (recommended for NVIDIA) -./claracore --models-folder /path/to/models --backend cuda +./jarviscore --models-folder /path/to/models --backend cuda # Vulkan (universal, good fallback) -./claracore --models-folder /path/to/models --backend vulkan +./jarviscore --models-folder /path/to/models --backend vulkan ``` ### AMD GPUs ```bash # ROCm (Linux only, for AMD GPUs) -./claracore --models-folder /path/to/models --backend rocm +./jarviscore --models-folder /path/to/models --backend rocm # Vulkan (cross-platform, good for AMD) -./claracore --models-folder /path/to/models --backend vulkan +./jarviscore --models-folder /path/to/models --backend vulkan ``` ### Apple Silicon ```bash # Metal (macOS M1/M2/M3) -./claracore --models-folder /path/to/models --backend metal +./jarviscore --models-folder /path/to/models --backend metal ``` ### CPU Only ```bash # CPU fallback (slower but works everywhere) -./claracore --models-folder /path/to/models --backend cpu +./jarviscore --models-folder /path/to/models --backend cpu ``` --- @@ -230,7 +230,7 @@ ClaraCore automatically detects your hardware, but you can override: ### Model Naming Conventions -ClaraCore automatically extracts model information from filenames: +JarvisCore automatically extracts model information from filenames: - **Model Name**: `llama-3.2-3b-instruct` - **Quantization**: `Q4_K_M`, `Q5_K_S`, `F16` @@ -243,7 +243,7 @@ ClaraCore automatically extracts model information from filenames: ### Web Interface Setup -1. **Start ClaraCore**: `./claracore` +1. **Start JarvisCore**: `./jarviscore` 2. **Open Browser**: `http://localhost:5800/ui/setup` 3. **Follow Wizard**: - **Step 1**: Add model folders @@ -289,7 +289,7 @@ ClaraCore automatically extracts model information from filenames: **High Memory System (32GB+ RAM):** ```bash -./claracore --models-folder /path/to/models \ +./jarviscore --models-folder /path/to/models \ --backend cuda \ --context 32768 \ --ram 32.0 @@ -297,7 +297,7 @@ ClaraCore automatically extracts model information from filenames: **Low Memory System (8GB RAM):** ```bash -./claracore --models-folder /path/to/models \ +./jarviscore --models-folder /path/to/models \ --backend vulkan \ --context 4096 \ --ram 8.0 @@ -323,7 +323,7 @@ curl -X POST http://localhost:5800/api/config/folders \ ```bash # Use custom llama-server binary -./claracore --binary-path /custom/path/to/llama-server +./jarviscore --binary-path /custom/path/to/llama-server ``` --- @@ -355,7 +355,7 @@ curl -X POST http://localhost:5800/api/config/folders \ **Error: "An Application Control policy has blocked this file"** -This is Windows security protection, not malware. ClaraCore is safe! Solutions: +This is Windows security protection, not malware. JarvisCore is safe! Solutions: 1. **Run the troubleshooter first:** ```powershell @@ -364,7 +364,7 @@ This is Windows security protection, not malware. ClaraCore is safe! Solutions: 2. **Manual unblock**: ```powershell - Unblock-File "$env:LOCALAPPDATA\ClaraCore\claracore.exe" + Unblock-File "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe" ``` 3. **If still blocked, disable Windows Defender Application Control:** @@ -376,10 +376,10 @@ This is Windows security protection, not malware. ClaraCore is safe! Solutions: 4. **Alternative - Build from source**: ```powershell - git clone https://github.com/claraverse-space/ClaraCore.git - cd ClaraCore + git clone https://github.com/jarvisverse-space/JarvisCore.git + cd JarvisCore python build.py - .\claracore.exe + .\jarviscore.exe ``` 5. **Service issues**: @@ -389,28 +389,28 @@ This is Windows security protection, not malware. ClaraCore is safe! Solutions: 3. **Run as Administrator**: ```powershell - Start-Process -Verb RunAs -FilePath "$env:LOCALAPPDATA\ClaraCore\claracore.exe" + Start-Process -Verb RunAs -FilePath "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe" ``` 4. **Add to Windows Defender exclusions**: - Windows Security > Virus & threat protection > Exclusions - - Add folder: `%LOCALAPPDATA%\ClaraCore` + - Add folder: `%LOCALAPPDATA%\JarvisCore` ### Common Issues -**1. "claracore: command not found"** +**1. "jarviscore: command not found"** ```bash # Quick fix - add to current session: export PATH="$HOME/.local/bin:$PATH" # Automatic fix script: -curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/fix-path.sh | bash +curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/fix-path.sh | bash # Manual fix - restart terminal or run: source ~/.bashrc # Verify it works: -claracore --version +jarviscore --version ``` **2. Models Not Detected** @@ -433,7 +433,7 @@ curl -X POST http://localhost:5800/api/config/scan-folder \ curl http://localhost:5800/api/system/detection # Force different backend -./claracore --models-folder /path/to/models --backend cpu +./jarviscore --models-folder /path/to/models --backend cpu ``` **3. Memory Problems** @@ -459,7 +459,7 @@ curl -X POST http://localhost:5800/api/models/download \ ```bash # Enable verbose logging -./claracore --debug --models-folder /path/to/models +./jarviscore --debug --models-folder /path/to/models # Check logs in real-time curl -N http://localhost:5800/api/events @@ -475,60 +475,60 @@ cp config.yaml config.yaml.backup rm config.yaml settings.json model_folders.json # Restart and reconfigure -./claracore --models-folder /path/to/models +./jarviscore --models-folder /path/to/models ``` --- ## šŸ”§ Service Management -If you installed using the automated installer, ClaraCore runs as a system service. +If you installed using the automated installer, JarvisCore runs as a system service. ### Linux/macOS Service Commands **Using systemctl (Linux):** ```bash # Check status -sudo systemctl status claracore +sudo systemctl status jarviscore # Start/stop/restart -sudo systemctl start claracore -sudo systemctl stop claracore -sudo systemctl restart claracore +sudo systemctl start jarviscore +sudo systemctl stop jarviscore +sudo systemctl restart jarviscore # Enable/disable auto-start -sudo systemctl enable claracore -sudo systemctl disable claracore +sudo systemctl enable jarviscore +sudo systemctl disable jarviscore # View logs -sudo journalctl -u claracore -f +sudo journalctl -u jarviscore -f ``` **Using launchctl (macOS):** ```bash # Check status -sudo launchctl list | grep claracore +sudo launchctl list | grep jarviscore # Start/stop -sudo launchctl load /Library/LaunchDaemons/com.claracore.server.plist -sudo launchctl unload /Library/LaunchDaemons/com.claracore.server.plist +sudo launchctl load /Library/LaunchDaemons/com.jarviscore.server.plist +sudo launchctl unload /Library/LaunchDaemons/com.jarviscore.server.plist # View logs -tail -f /var/log/system.log | grep claracore +tail -f /var/log/system.log | grep jarviscore ``` **Cross-platform service script:** ```bash # Download service management script -wget https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/claracore-service.sh -chmod +x claracore-service.sh +wget https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/jarviscore-service.sh +chmod +x jarviscore-service.sh # Use the service script -sudo ./claracore-service.sh status -sudo ./claracore-service.sh start -sudo ./claracore-service.sh stop -sudo ./claracore-service.sh restart -sudo ./claracore-service.sh logs +sudo ./jarviscore-service.sh status +sudo ./jarviscore-service.sh start +sudo ./jarviscore-service.sh stop +sudo ./jarviscore-service.sh restart +sudo ./jarviscore-service.sh logs ``` ### Windows Service Commands @@ -536,20 +536,20 @@ sudo ./claracore-service.sh logs **Using PowerShell:** ```powershell # Check status -Get-Service ClaraCore +Get-Service JarvisCore # Start/stop/restart -Start-Service ClaraCore -Stop-Service ClaraCore -Restart-Service ClaraCore +Start-Service JarvisCore +Stop-Service JarvisCore +Restart-Service JarvisCore # View logs -Get-EventLog -LogName Application -Source ClaraCore -Newest 50 +Get-EventLog -LogName Application -Source JarvisCore -Newest 50 ``` **Using Services Manager:** 1. Press `Win + R`, type `services.msc` -2. Find "ClaraCore AI Inference Server" +2. Find "JarvisCore AI Inference Server" 3. Right-click for options ### Uninstallation @@ -557,7 +557,7 @@ Get-EventLog -LogName Application -Source ClaraCore -Newest 50 **Linux/macOS:** ```bash # Download uninstall script -wget https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/uninstall.sh +wget https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/uninstall.sh chmod +x uninstall.sh # Uninstall (keeps config) @@ -570,7 +570,7 @@ sudo ./uninstall.sh --remove-config **Windows:** ```powershell # Download uninstall script -Invoke-WebRequest -Uri "https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/uninstall.ps1" -OutFile "uninstall.ps1" +Invoke-WebRequest -Uri "https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/uninstall.ps1" -OutFile "uninstall.ps1" # Uninstall (keeps config) .\uninstall.ps1 @@ -608,8 +608,8 @@ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/claraverse-space/Clara ## šŸ”— Next Steps 1. **Explore the API**: Check out the [Complete API Documentation](API_COMPREHENSIVE.md) -2. **Join the Community**: [GitHub Discussions](https://github.com/badboysm890/ClaraCore/discussions) -3. **Report Issues**: [GitHub Issues](https://github.com/badboysm890/ClaraCore/issues) +2. **Join the Community**: [GitHub Discussions](https://github.com/badboysm890/JarvisCore/discussions) +3. **Report Issues**: [GitHub Issues](https://github.com/badboysm890/JarvisCore/issues) 4. **Contribute**: See [Contributing Guidelines](../CONTRIBUTING.md) --- diff --git a/docs/SYSTEM_SETTINGS_PERSISTENCE.md b/docs/SYSTEM_SETTINGS_PERSISTENCE.md index 96ca44e..114c25f 100644 --- a/docs/SYSTEM_SETTINGS_PERSISTENCE.md +++ b/docs/SYSTEM_SETTINGS_PERSISTENCE.md @@ -2,7 +2,7 @@ ## Overview -ClaraCore now persists user's manual hardware selections in `settings.json`, ensuring that hardware configurations specified during setup are preserved across "Force Reconfigure" operations. +JarvisCore now persists user's manual hardware selections in `settings.json`, ensuring that hardware configurations specified during setup are preserved across "Force Reconfigure" operations. ## Problem Solved @@ -89,7 +89,7 @@ const settingsResponse = await fetch('/api/settings/system', { }); ``` -### Self-Heal (`claracore.go`) +### Self-Heal (`jarviscore.go`) The `selfHealReconfigure` function already loads and uses saved settings when automatically recovering from config errors. @@ -97,7 +97,7 @@ The `selfHealReconfigure` function already loads and uses saved settings when au ### Setup Flow -1. User runs ClaraCore setup wizard +1. User runs JarvisCore setup wizard 2. System auto-detects hardware (e.g., 12GB VRAM) 3. User notices detection is wrong and manually adjusts to 24GB VRAM 4. User completes setup → Settings are saved to `settings.json` @@ -165,7 +165,7 @@ The backend will automatically merge saved settings with the provided options, g - `proxy/proxymanager_api.go`: Load and merge saved settings in regenerate endpoint - `ui/src/components/Header.tsx`: Updated Force Reconfigure to use saved settings - `ui/src/pages/OnboardConfig.tsx`: Save settings during initial setup -- `claracore.go`: Self-heal function already uses saved settings +- `jarviscore.go`: Self-heal function already uses saved settings ## Testing diff --git a/examples/memory-estimator/main.go b/examples/memory-estimator/main.go index ada6cd1..e7703c9 100644 --- a/examples/memory-estimator/main.go +++ b/examples/memory-estimator/main.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "github.com/prave/ClaraCore/autosetup" + "github.com/prave/JarvisCore/autosetup" ) func main() { diff --git a/examples/speculative-decoding/README.md b/examples/speculative-decoding/README.md index 0eeb6a7..59ce261 100644 --- a/examples/speculative-decoding/README.md +++ b/examples/speculative-decoding/README.md @@ -11,7 +11,7 @@ The models used are: * [Bartowski Qwen2.5-Coder-32B-Instruct](https://huggingface.co/bartowski/Qwen2.5-Coder-32B-Instruct-GGUF) * [Bartowski Qwen2.5-Coder-0.5B-Instruct](https://huggingface.co/bartowski/Qwen2.5-Coder-0.5B-Instruct-GGUF) -The ClaraCore configuration is as follows: +The JarvisCore configuration is as follows: ```yaml models: diff --git a/go.mod b/go.mod index bb8d628..8463abb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/prave/ClaraCore +module github.com/prave/JarvisCore go 1.23.0 diff --git a/jarviscore-darwin-arm64 b/jarviscore-darwin-arm64 new file mode 100755 index 0000000..f5b41a7 Binary files /dev/null and b/jarviscore-darwin-arm64 differ diff --git a/claracore.go b/jarviscore.go similarity index 97% rename from claracore.go rename to jarviscore.go index 6e9cd76..d8fbadd 100644 --- a/claracore.go +++ b/jarviscore.go @@ -15,9 +15,9 @@ import ( "github.com/fsnotify/fsnotify" "github.com/gin-gonic/gin" - "github.com/prave/ClaraCore/autosetup" - "github.com/prave/ClaraCore/event" - "github.com/prave/ClaraCore/proxy" + "github.com/prave/JarvisCore/autosetup" + "github.com/prave/JarvisCore/event" + "github.com/prave/JarvisCore/proxy" ) var ( @@ -29,7 +29,7 @@ var ( func main() { // Define a command-line flag for the port configPath := flag.String("config", "config.yaml", "config file name") - listenStr := flag.String("listen", ":5800", "listen ip/port for ClaraCore web interface") + listenStr := flag.String("listen", ":5800", "listen ip/port for JarvisCore web interface") showVersion := flag.Bool("version", false, "show version of build") watchConfig := flag.Bool("watch-config", true, "Automatically reload config file on change (default: true)") modelsFolder := flag.String("models-folder", "", "automatically detect GGUF models in folder and generate config") @@ -86,7 +86,7 @@ func main() { os.Exit(1) } fmt.Println("āœ… Auto-setup completed successfully!") - fmt.Println("šŸš€ Starting ClaraCore server with the generated configuration...") + fmt.Println("šŸš€ Starting JarvisCore server with the generated configuration...") fmt.Println("šŸ“ Config watching is enabled - any changes to config.yaml will trigger automatic reloads") fmt.Printf("🌐 Server will be available at: http://localhost%s\n", *listenStr) fmt.Printf("šŸŽ›ļø Web interface: http://localhost%s/ui/\n", *listenStr) @@ -235,7 +235,7 @@ func main() { }() // Start server - fmt.Printf("Clara Core listening on %s\n", *listenStr) + fmt.Printf("Jarvis Core listening on %s\n", *listenStr) go func() { if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed { log.Fatalf("Fatal server error: %v\n", err) diff --git a/claracore.rc b/jarviscore.rc similarity index 78% rename from claracore.rc rename to jarviscore.rc index eaaf5aa..b86c797 100644 --- a/claracore.rc +++ b/jarviscore.rc @@ -5,12 +5,12 @@ #define VER_PRODUCTVERSION 0,8,0,0 #define VER_PRODUCTVERSION_STR "0.8.0\0" -#define VER_COMPANYNAME_STR "ClaraCore Open Source\0" -#define VER_FILEDESCRIPTION_STR "ClaraCore AI Inference Server\0" -#define VER_INTERNALNAME_STR "claracore\0" +#define VER_COMPANYNAME_STR "JarvisCore Open Source\0" +#define VER_FILEDESCRIPTION_STR "JarvisCore AI Inference Server\0" +#define VER_INTERNALNAME_STR "jarviscore\0" #define VER_LEGALCOPYRIGHT_STR "MIT License - Open Source\0" -#define VER_ORIGINALFILENAME_STR "claracore.exe\0" -#define VER_PRODUCTNAME_STR "ClaraCore\0" +#define VER_ORIGINALFILENAME_STR "jarviscore.exe\0" +#define VER_PRODUCTNAME_STR "JarvisCore\0" VS_VERSION_INFO VERSIONINFO FILEVERSION VER_FILEVERSION @@ -37,7 +37,7 @@ BEGIN VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR VALUE "ProductName", VER_PRODUCTNAME_STR VALUE "ProductVersion", VER_PRODUCTVERSION_STR - VALUE "Comments", "Open source AI inference server for llama.cpp. Source: https://github.com/claraverse-space/ClaraCore\0" + VALUE "Comments", "Open source AI inference server for llama.cpp. Source: https://github.com/jarvisverse-space/JarvisCore\0" END END BLOCK "VarFileInfo" diff --git a/misc/assets/.!30479!favicon-raw.png b/misc/assets/.!30479!favicon-raw.png new file mode 100644 index 0000000..e69de29 diff --git a/misc/assets/.!30806!favicon-raw.png b/misc/assets/.!30806!favicon-raw.png new file mode 100644 index 0000000..e69de29 diff --git a/misc/benchmark-chatcompletion/main.go b/misc/benchmark-chatcompletion/main.go index 68b46ca..2001de7 100644 --- a/misc/benchmark-chatcompletion/main.go +++ b/misc/benchmark-chatcompletion/main.go @@ -1,7 +1,7 @@ package main -// created for issue: #252 https://github.com/mostlygeek/ClaraCore/issues/252 -// this simple benchmark tool sends a lot of small chat completion requests to ClaraCore +// created for issue: #252 https://github.com/mostlygeek/JarvisCore/issues/252 +// this simple benchmark tool sends a lot of small chat completion requests to JarvisCore // to make sure all the requests are accounted for. // // requests can be sent in parallel, and the tool will report the results. diff --git a/proxy/download_manager.go b/proxy/download_manager.go index aaeb17a..e4c599d 100644 --- a/proxy/download_manager.go +++ b/proxy/download_manager.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/event" ) // DownloadStatus represents the current state of a download diff --git a/proxy/logMonitor.go b/proxy/logMonitor.go index 22e3708..57178d2 100644 --- a/proxy/logMonitor.go +++ b/proxy/logMonitor.go @@ -8,7 +8,7 @@ import ( "os" "sync" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/event" ) type LogLevel int diff --git a/proxy/metrics_monitor.go b/proxy/metrics_monitor.go index ccbeb60..fbe33f8 100644 --- a/proxy/metrics_monitor.go +++ b/proxy/metrics_monitor.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/event" ) // TokenMetrics represents parsed token statistics from llama-server logs diff --git a/proxy/process.go b/proxy/process.go index 7d459e7..798c6ec 100644 --- a/proxy/process.go +++ b/proxy/process.go @@ -20,8 +20,8 @@ import ( "path/filepath" "runtime" - "github.com/prave/ClaraCore/autosetup" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/autosetup" + "github.com/prave/JarvisCore/event" ) type ProcessState string @@ -481,7 +481,7 @@ func (p *Process) StopImmediately() { p.stopCommand() } -// Shutdown is called when ClaraCore is shutting down. It will give a little bit +// Shutdown is called when JarvisCore is shutting down. It will give a little bit // of time for any inflight requests to complete before shutting down. If the Process // is in the state of starting, it will cancel it and shut it down. Once a process is in // the StateShutdown state, it can not be started again. diff --git a/proxy/proxymanager.go b/proxy/proxymanager.go index 1a0e54d..f2bed3e 100644 --- a/proxy/proxymanager.go +++ b/proxy/proxymanager.go @@ -16,8 +16,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/prave/ClaraCore/autosetup" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/autosetup" + "github.com/prave/JarvisCore/event" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) @@ -554,7 +554,7 @@ func (pm *ProxyManager) listModelsHandler(c *gin.Context) { "id": id, "object": "model", "created": createdTime, - "owned_by": "ClaraCore", + "owned_by": "JarvisCore", } if name := strings.TrimSpace(modelConfig.Name); name != "" { diff --git a/proxy/proxymanager_api.go b/proxy/proxymanager_api.go index 05aba11..df1e529 100644 --- a/proxy/proxymanager_api.go +++ b/proxy/proxymanager_api.go @@ -19,8 +19,8 @@ import ( "gopkg.in/yaml.v3" "github.com/gin-gonic/gin" - "github.com/prave/ClaraCore/autosetup" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/autosetup" + "github.com/prave/JarvisCore/event" ) type Model struct { @@ -1793,7 +1793,7 @@ func (pm *ProxyManager) apiGenerateAllModels(c *gin.Context) { "status": "SMART configuration generated (SAME as command-line ✨)", "message": "Complete config.yaml generated with intelligent model detection and GPU optimization", "config": string(configData), - "source": "autosetup.AutoSetupWithOptions (identical to claracore.exe -models-folder)", + "source": "autosetup.AutoSetupWithOptions (identical to jarviscore.exe -models-folder)", }) } @@ -2771,7 +2771,7 @@ func (pm *ProxyManager) apiGetDownloadDestinations(c *gin.Context) { "type": "default", "enabled": true, "modelCount": modelCount, - "description": fmt.Sprintf("Default ClaraCore download folder (%d models)", modelCount), + "description": fmt.Sprintf("Default JarvisCore download folder (%d models)", modelCount), }) // Load model folder database and add enabled folders with live model counts diff --git a/proxy/proxymanager_test.go b/proxy/proxymanager_test.go index 54dac8f..550fa41 100644 --- a/proxy/proxymanager_test.go +++ b/proxy/proxymanager_test.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "github.com/prave/ClaraCore/event" + "github.com/prave/JarvisCore/event" "github.com/stretchr/testify/assert" "github.com/tidwall/gjson" ) @@ -259,7 +259,7 @@ func TestProxyManager_ListModelsHandler(t *testing.T) { ownedBy, ok := model["owned_by"].(string) assert.True(t, ok, "owned_by should be a string") - assert.Equal(t, "ClaraCore", ownedBy) + assert.Equal(t, "JarvisCore", ownedBy) // check for optional name and description if modelID == "model1" { diff --git a/release.bat b/release.bat index 7cb3df0..ada10d5 100644 --- a/release.bat +++ b/release.bat @@ -1,8 +1,8 @@ @echo off -REM ClaraCore Release Helper for Windows +REM JarvisCore Release Helper for Windows echo ========================================== -echo ClaraCore Release Manager +echo JarvisCore Release Manager echo ========================================== echo. @@ -118,6 +118,6 @@ if errorlevel 1 ( echo Release Created Successfully! echo ========================================== echo. - echo Visit: https://github.com/badboysm890/ClaraCore/releases + echo Visit: https://github.com/badboysm890/JarvisCore/releases pause ) \ No newline at end of file diff --git a/release.py b/release.py index 49becaa..f97eadb 100644 --- a/release.py +++ b/release.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -ClaraCore Release Manager +JarvisCore Release Manager Automates the creation of GitHub releases with cross-platform binaries. Usage: @@ -61,41 +61,41 @@ sys.exit(1) # Configuration -REPO_OWNER = "claraverse-space" -REPO_NAME = "ClaraCore" +REPO_OWNER = "jarvisverse-space" +REPO_NAME = "JarvisCore" BUILD_DIR = "dist" -BINARY_NAME = "claracore" +BINARY_NAME = "jarviscore" # Build targets for cross-compilation BUILD_TARGETS = [ { "goos": "linux", "goarch": "amd64", - "filename": "claracore-linux-amd64", + "filename": "jarviscore-linux-amd64", "description": "Linux x64" }, { "goos": "linux", "goarch": "arm64", - "filename": "claracore-linux-arm64", + "filename": "jarviscore-linux-arm64", "description": "Linux ARM64" }, { "goos": "darwin", "goarch": "amd64", - "filename": "claracore-darwin-amd64", + "filename": "jarviscore-darwin-amd64", "description": "macOS Intel" }, { "goos": "darwin", "goarch": "arm64", - "filename": "claracore-darwin-arm64", + "filename": "jarviscore-darwin-arm64", "description": "macOS Apple Silicon" }, { "goos": "windows", "goarch": "amd64", - "filename": "claracore-windows-amd64.exe", + "filename": "jarviscore-windows-amd64.exe", "description": "Windows x64" } ] @@ -221,7 +221,7 @@ def sign_windows_binary(binary_path: Path) -> bool: "/tr", "http://timestamp.digicert.com", # RFC 3161 timestamp server "/td", "sha256", "/fd", "sha256", - "/d", "ClaraCore AI Inference Server", + "/d", "JarvisCore AI Inference Server", "/du", f"https://github.com/{REPO_OWNER}/{REPO_NAME}", str(binary_path) ] @@ -242,11 +242,11 @@ def compile_windows_resources() -> bool: if sys.platform != "win32": return True # Not needed on other platforms - rc_file = Path("claracore.rc") - syso_file = Path("claracore_windows.syso") + rc_file = Path("jarviscore.rc") + syso_file = Path("jarviscore_windows.syso") if not rc_file.exists(): - print_colored(" āš ļø claracore.rc not found, skipping metadata", Colors.YELLOW) + print_colored(" āš ļø jarviscore.rc not found, skipping metadata", Colors.YELLOW) return True # Check if windres is available @@ -271,7 +271,7 @@ def compile_windows_resources() -> bool: def build_binaries(version: str) -> List[Dict]: """Build binaries for all target platforms""" - print_header(f"Building ClaraCore {version} Binaries") + print_header(f"Building JarvisCore {version} Binaries") # Compile Windows resources first (if on Windows) compile_windows_resources() @@ -358,7 +358,7 @@ def build_binaries(version: str) -> List[Dict]: print_colored(f"āœ“ Built {target['filename']} ({file_size})", Colors.GREEN) # Cleanup .syso file after build - syso_file = Path("claracore_windows.syso") + syso_file = Path("jarviscore_windows.syso") if syso_file.exists(): syso_file.unlink() print_colored(" 🧹 Cleaned up temporary files", Colors.CYAN) @@ -384,7 +384,7 @@ def generate_release_notes(version: str, binaries: List[Dict]) -> str: commit_hash = get_git_commit() build_time = datetime.utcnow().strftime("%Y-%m-%d %H:%M UTC") - notes = f"""# ClaraCore {version} + notes = f"""# JarvisCore {version} AI-powered model inference server with automatic setup and OpenAI-compatible API. @@ -417,21 +417,21 @@ def generate_release_notes(version: str, binaries: List[Dict]) -> str: ### Manual Installation 1. Download the appropriate binary for your system -2. Make it executable (Linux/macOS): `chmod +x claracore-*` -3. Run setup: `./claracore-* --models-folder /path/to/your/models` +2. Make it executable (Linux/macOS): `chmod +x jarviscore-*` +3. Run setup: `./jarviscore-* --models-folder /path/to/your/models` 4. Visit: http://localhost:5800/ui/setup ## šŸ› ļø Quick Start ```bash # Basic usage -./claracore-linux-amd64 --models-folder /path/to/gguf/models +./jarviscore-linux-amd64 --models-folder /path/to/gguf/models # With specific backend -./claracore-linux-amd64 --models-folder /path/to/models --backend vulkan +./jarviscore-linux-amd64 --models-folder /path/to/models --backend vulkan # Web interface -./claracore-linux-amd64 +./jarviscore-linux-amd64 # Then visit: http://localhost:5800/ui/setup ``` @@ -547,7 +547,7 @@ def create_github_release(token: str, version: str, binaries: List[Dict], draft: print_colored("Creating release...", Colors.BLUE) release = repo.create_git_release( tag=version, - name=f"ClaraCore {version}", + name=f"JarvisCore {version}", message=release_notes, draft=draft, prerelease=version.find("alpha") != -1 or version.find("beta") != -1 or version.find("rc") != -1 @@ -575,7 +575,7 @@ def create_github_release(token: str, version: str, binaries: List[Dict], draft: # Create checksums file print_colored("Creating checksums file...", Colors.BLUE) - checksums_content = f"# SHA256 Checksums for ClaraCore {version}\n\n" + checksums_content = f"# SHA256 Checksums for JarvisCore {version}\n\n" for binary in binaries: checksums_content += f"{binary['sha256']} {binary['target']['filename']}\n" @@ -659,7 +659,7 @@ def check_prerequisites() -> bool: def main(): """Main function""" parser = argparse.ArgumentParser( - description="Create GitHub release for ClaraCore with cross-platform binaries", + description="Create GitHub release for JarvisCore with cross-platform binaries", formatter_class=argparse.RawDescriptionHelpFormatter, epilog=""" Examples: diff --git a/release.sh b/release.sh index 58579a1..337fd49 100644 --- a/release.sh +++ b/release.sh @@ -1,6 +1,6 @@ #!/bin/bash -# ClaraCore Release Helper for Linux/macOS +# JarvisCore Release Helper for Linux/macOS set -e @@ -31,7 +31,7 @@ print_warning() { echo -e "${YELLOW}$1${NC}" } -print_header "ClaraCore Release Manager" +print_header "JarvisCore Release Manager" # Check Python if ! command -v python3 &> /dev/null; then @@ -112,7 +112,7 @@ if [ $? -eq 0 ]; then echo "" print_header "Release Created Successfully!" echo "" - echo "Visit: https://github.com/badboysm890/ClaraCore/releases" + echo "Visit: https://github.com/badboysm890/JarvisCore/releases" else echo "" print_header "Release Failed!" diff --git a/requirements-release.txt b/requirements-release.txt index af8997c..42f44e7 100644 --- a/requirements-release.txt +++ b/requirements-release.txt @@ -1,3 +1,3 @@ -# Python dependencies for ClaraCore release management +# Python dependencies for JarvisCore release management requests>=2.28.0 PyGithub>=1.59.0 \ No newline at end of file diff --git a/scripts/add-defender-exclusion.bat b/scripts/add-defender-exclusion.bat index 74051c8..170c2c1 100644 --- a/scripts/add-defender-exclusion.bat +++ b/scripts/add-defender-exclusion.bat @@ -1,10 +1,10 @@ @echo off -REM ClaraCore Windows Defender Exclusion Helper -REM Adds ClaraCore to Windows Defender exclusions to prevent false positives +REM JarvisCore Windows Defender Exclusion Helper +REM Adds JarvisCore to Windows Defender exclusions to prevent false positives echo. echo ======================================== -echo ClaraCore Antivirus Helper +echo JarvisCore Antivirus Helper echo ======================================== echo. @@ -19,7 +19,7 @@ if %errorLevel% neq 0 ( exit /b 1 ) -echo Detected ClaraCore in current directory... +echo Detected JarvisCore in current directory... echo. REM Get current directory @@ -35,8 +35,8 @@ powershell -Command "Add-MpPreference -ExclusionPath '%CURRENT_DIR%'" >nul 2>&1 if %errorLevel% equ 0 ( echo [SUCCESS] Exclusion added successfully! echo. - echo ClaraCore is now excluded from Windows Defender scans. - echo You can now run claracore.exe without false positive warnings. + echo JarvisCore is now excluded from Windows Defender scans. + echo You can now run jarviscore.exe without false positive warnings. echo. ) else ( echo [ERROR] Failed to add exclusion. @@ -50,9 +50,9 @@ if %errorLevel% equ 0 ( echo ======================================== echo. -echo To verify ClaraCore is safe: +echo To verify JarvisCore is safe: echo 1. Check SHA256 hash against GitHub release -echo 2. Review source code at github.com/claraverse-space/ClaraCore +echo 2. Review source code at github.com/jarvisverse-space/JarvisCore echo 3. Build from source yourself echo. echo For more info, see docs/ANTIVIRUS_FALSE_POSITIVES.md diff --git a/scripts/add-windows-metadata.py b/scripts/add-windows-metadata.py index 5584f2c..ab50cc9 100644 --- a/scripts/add-windows-metadata.py +++ b/scripts/add-windows-metadata.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -Add Windows metadata to ClaraCore executable +Add Windows metadata to JarvisCore executable This helps reduce false positives from antivirus software """ @@ -22,8 +22,8 @@ def compile_resource_file(): print(" - Or download from: https://www.mingw-w64.org/") return False - rc_file = Path("claracore.rc") - syso_file = Path("claracore_windows.syso") + rc_file = Path("jarviscore.rc") + syso_file = Path("jarviscore_windows.syso") if not rc_file.exists(): print(f"āŒ Resource file not found: {rc_file}") @@ -48,7 +48,7 @@ def compile_resource_file(): def main(): print("=" * 60) - print("šŸ›”ļø ClaraCore Windows Metadata Builder") + print("šŸ›”ļø JarvisCore Windows Metadata Builder") print("=" * 60) print() diff --git a/scripts/fix-path.sh b/scripts/fix-path.sh index 1047d5c..d3775ba 100644 --- a/scripts/fix-path.sh +++ b/scripts/fix-path.sh @@ -1,6 +1,6 @@ #!/bin/bash -# ClaraCore PATH Fix Script -# Run this if 'claracore' command is not found after installation +# JarvisCore PATH Fix Script +# Run this if 'jarviscore' command is not found after installation set -e @@ -11,28 +11,28 @@ YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' # No Color -echo -e "${BLUE}ClaraCore PATH Fix${NC}" +echo -e "${BLUE}JarvisCore PATH Fix${NC}" echo "================================" -# Check if claracore binary exists -CLARACORE_PATH="$HOME/.local/bin/claracore" -if [[ ! -f "$CLARACORE_PATH" ]]; then - echo -e "${RED}Error: ClaraCore binary not found at $CLARACORE_PATH${NC}" +# Check if jarviscore binary exists +JARVISCORE_PATH="$HOME/.local/bin/jarviscore" +if [[ ! -f "$JARVISCORE_PATH" ]]; then + echo -e "${RED}Error: JarvisCore binary not found at $JARVISCORE_PATH${NC}" echo "Please run the installer first:" - echo "curl -fsSL https://raw.githubusercontent.com/claraverse-space/ClaraCore/main/scripts/install.sh | bash" + echo "curl -fsSL https://raw.githubusercontent.com/jarvisverse-space/JarvisCore/main/scripts/install.sh | bash" exit 1 fi -echo -e "${GREEN}āœ“ Found ClaraCore binary at $CLARACORE_PATH${NC}" +echo -e "${GREEN}āœ“ Found JarvisCore binary at $JARVISCORE_PATH${NC}" # Check if already in PATH -if command -v claracore >/dev/null 2>&1; then - echo -e "${GREEN}āœ“ claracore is already accessible in PATH${NC}" - echo "Try running: claracore --version" +if command -v jarviscore >/dev/null 2>&1; then + echo -e "${GREEN}āœ“ jarviscore is already accessible in PATH${NC}" + echo "Try running: jarviscore --version" exit 0 fi -echo -e "${YELLOW}⚠ claracore not in PATH, fixing...${NC}" +echo -e "${YELLOW}⚠ jarviscore not in PATH, fixing...${NC}" # Add to PATH for current session export PATH="$HOME/.local/bin:$PATH" @@ -77,13 +77,13 @@ if [[ "$CONFIG_UPDATED" == false ]]; then fi # Test again -if command -v claracore >/dev/null 2>&1; then - echo -e "${GREEN}āœ“ SUCCESS: claracore is now accessible!${NC}" +if command -v jarviscore >/dev/null 2>&1; then + echo -e "${GREEN}āœ“ SUCCESS: jarviscore is now accessible!${NC}" echo echo "Test it with:" - echo -e " ${BLUE}claracore --version${NC}" + echo -e " ${BLUE}jarviscore --version${NC}" else - echo -e "${YELLOW}⚠ claracore still not accessible in current session${NC}" + echo -e "${YELLOW}⚠ jarviscore still not accessible in current session${NC}" echo echo "Manual solutions:" echo -e "1. Restart your terminal" @@ -91,7 +91,7 @@ else echo -e "3. Or run: ${BLUE}export PATH=\"\$HOME/.local/bin:\$PATH\"${NC}" echo echo "Then test with:" - echo -e " ${BLUE}claracore --version${NC}" + echo -e " ${BLUE}jarviscore --version${NC}" fi echo diff --git a/scripts/fix-service.ps1 b/scripts/fix-service.ps1 index 7a10439..96616ec 100644 --- a/scripts/fix-service.ps1 +++ b/scripts/fix-service.ps1 @@ -1,5 +1,5 @@ -# Fix ClaraCore Windows Service -# This script fixes common issues with the ClaraCore Windows Service +# Fix JarvisCore Windows Service +# This script fixes common issues with the JarvisCore Windows Service param( [switch]$RemoveService = $false, @@ -18,45 +18,45 @@ function Write-ColorOutput { } function Test-ServiceStatus { - $service = Get-Service -Name "ClaraCore" -ErrorAction SilentlyContinue + $service = Get-Service -Name "JarvisCore" -ErrorAction SilentlyContinue if ($service) { Write-ColorOutput "Service Status: $($service.Status)" "Blue" Write-ColorOutput "Service Start Type: $($service.StartType)" "Blue" # Get detailed service config - $config = sc.exe qc ClaraCore 2>$null + $config = sc.exe qc JarvisCore 2>$null if ($config) { Write-ColorOutput "Service Configuration:" "Blue" $config | ForEach-Object { Write-Host " $_" } } return $true } else { - Write-ColorOutput "ClaraCore service not found" "Red" + Write-ColorOutput "JarvisCore service not found" "Red" return $false } } -function Remove-ClaraCoreService { - Write-ColorOutput "Removing ClaraCore service..." "Blue" +function Remove-JarvisCoreService { + Write-ColorOutput "Removing JarvisCore service..." "Blue" # Stop service if running - $service = Get-Service -Name "ClaraCore" -ErrorAction SilentlyContinue + $service = Get-Service -Name "JarvisCore" -ErrorAction SilentlyContinue if ($service -and $service.Status -eq "Running") { Write-ColorOutput "Stopping service..." "Yellow" - Stop-Service -Name "ClaraCore" -Force -ErrorAction SilentlyContinue + Stop-Service -Name "JarvisCore" -Force -ErrorAction SilentlyContinue Start-Sleep -Seconds 2 } # Remove service - sc.exe delete ClaraCore | Out-Null + sc.exe delete JarvisCore | Out-Null Write-ColorOutput "Service removed" "Green" } -function Install-ClaraCoreServiceFixed { - Write-ColorOutput "Installing ClaraCore service with fixed configuration..." "Blue" +function Install-JarvisCoreServiceFixed { + Write-ColorOutput "Installing JarvisCore service with fixed configuration..." "Blue" # Paths - $binaryPath = "$env:LOCALAPPDATA\ClaraCore\claracore.exe" + $binaryPath = "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe" if (-not (Test-Path $binaryPath)) { Write-ColorOutput "Binary not found at $binaryPath" "Red" @@ -78,24 +78,24 @@ function Install-ClaraCoreServiceFixed { return $false } - # Create service command without config file - let ClaraCore create its own + # Create service command without config file - let JarvisCore create its own $serviceCommand = "`"$binaryPath`"" $workingDir = Split-Path $binaryPath -Parent try { # Create the service - New-Service -Name "ClaraCore" -BinaryPathName $serviceCommand -DisplayName "ClaraCore AI Inference Server" -Description "ClaraCore AI model inference server - config auto-created" -StartupType Manual | Out-Null + New-Service -Name "JarvisCore" -BinaryPathName $serviceCommand -DisplayName "JarvisCore AI Inference Server" -Description "JarvisCore AI model inference server - config auto-created" -StartupType Manual | Out-Null Write-ColorOutput "Service created successfully (Manual start)" "Green" - Write-ColorOutput "ClaraCore will create config.yaml automatically in: $workingDir" "Blue" + Write-ColorOutput "JarvisCore will create config.yaml automatically in: $workingDir" "Blue" # Try to start the service Write-ColorOutput "Attempting to start service..." "Blue" try { - Start-Service -Name "ClaraCore" -ErrorAction Stop + Start-Service -Name "JarvisCore" -ErrorAction Stop Write-ColorOutput "Service started successfully!" "Green" # If it starts successfully, change to automatic - Set-Service -Name "ClaraCore" -StartupType Automatic + Set-Service -Name "JarvisCore" -StartupType Automatic Write-ColorOutput "Changed to automatic startup" "Green" } catch { @@ -116,7 +116,7 @@ function Install-ClaraCoreServiceFixed { } # Main execution -Write-ColorOutput "ClaraCore Service Fix Tool" "Blue" +Write-ColorOutput "JarvisCore Service Fix Tool" "Blue" Write-ColorOutput "=========================" "Blue" Write-Host "" @@ -132,29 +132,29 @@ if ($ShowStatus) { } if ($RemoveService) { - Remove-ClaraCoreService + Remove-JarvisCoreService exit 0 } if ($RecreateService) { - Write-ColorOutput "Recreating ClaraCore service..." "Blue" + Write-ColorOutput "Recreating JarvisCore service..." "Blue" # Remove existing service if (Test-ServiceStatus) { - Remove-ClaraCoreService + Remove-JarvisCoreService Start-Sleep -Seconds 2 } # Install fixed service - $success = Install-ClaraCoreServiceFixed + $success = Install-JarvisCoreServiceFixed if ($success) { Write-ColorOutput "" "White" Write-ColorOutput "Service recreation completed!" "Green" Write-ColorOutput "" "White" Write-ColorOutput "Test the service:" "Blue" - Write-ColorOutput " Get-Service ClaraCore" "White" - Write-ColorOutput " Start-Service ClaraCore" "White" + Write-ColorOutput " Get-Service JarvisCore" "White" + Write-ColorOutput " Start-Service JarvisCore" "White" } exit 0 @@ -169,4 +169,4 @@ Write-Host "" Write-ColorOutput "Common fixes:" "Yellow" Write-ColorOutput "1. Recreate service: .\fix-service.ps1 -RecreateService" "Blue" Write-ColorOutput "2. Remove service: .\fix-service.ps1 -RemoveService" "Blue" -Write-ColorOutput "3. Manual startup: C:\Users\$env:USERNAME\AppData\Local\ClaraCore\claracore.exe" "Blue" \ No newline at end of file +Write-ColorOutput "3. Manual startup: C:\Users\$env:USERNAME\AppData\Local\JarvisCore\jarviscore.exe" "Blue" \ No newline at end of file diff --git a/scripts/install.ps1 b/scripts/install.ps1 index e767ad6..ed1856d 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -1,4 +1,4 @@ -# ClaraCore Windows Installation Script +# JarvisCore Windows Installation Script # Downloads the latest release and sets up Windows Service param( @@ -44,7 +44,7 @@ function Get-LatestRelease { Write-ColorOutput "Fetching latest release information..." "Blue" try { - $repo = "claraverse-space/ClaraCore" + $repo = "jarvisverse-space/JarvisCore" $releaseUrl = "https://api.github.com/repos/$repo/releases/latest" $release = Invoke-RestMethod -Uri $releaseUrl -UseBasicParsing @@ -60,7 +60,7 @@ function Get-LatestRelease { function Download-Binary { param([object]$Release) - $binaryName = "claracore-windows-amd64.exe" + $binaryName = "jarviscore-windows-amd64.exe" $asset = $Release.assets | Where-Object { $_.name -eq $binaryName } if (-not $asset) { @@ -69,7 +69,7 @@ function Download-Binary { } $downloadUrl = $asset.browser_download_url - Write-ColorOutput "Downloading ClaraCore binary..." "Blue" + Write-ColorOutput "Downloading JarvisCore binary..." "Blue" Write-ColorOutput "URL: $downloadUrl" "Yellow" $tempFile = [System.IO.Path]::GetTempFileName() + ".exe" @@ -94,12 +94,12 @@ function Install-Binary { Write-ColorOutput "Please run as administrator or remove -SystemWide flag" "Yellow" exit 1 } - $installDir = "$env:ProgramFiles\ClaraCore" - $configDir = "$env:ProgramData\ClaraCore" + $installDir = "$env:ProgramFiles\JarvisCore" + $configDir = "$env:ProgramData\JarvisCore" } else { - $installDir = "$env:LOCALAPPDATA\ClaraCore" - $configDir = "$env:APPDATA\ClaraCore" + $installDir = "$env:LOCALAPPDATA\JarvisCore" + $configDir = "$env:APPDATA\JarvisCore" } if ($InstallPath) { @@ -113,7 +113,7 @@ function Install-Binary { New-Item -ItemType Directory -Path $configDir -Force | Out-Null # Install binary - $binaryPath = Join-Path $installDir "claracore.exe" + $binaryPath = Join-Path $installDir "jarviscore.exe" Copy-Item $TempFile $binaryPath -Force # Unblock the downloaded file to prevent Windows security warnings @@ -149,7 +149,7 @@ function Create-DefaultConfig { Write-ColorOutput "Creating default configuration..." "Blue" $configYaml = @" -# ClaraCore Configuration +# JarvisCore Configuration # This file is auto-generated. You can modify it or regenerate via the web UI. host: "127.0.0.1" @@ -203,9 +203,9 @@ function Install-WindowsService { Write-ColorOutput "Installing Windows Service..." "Blue" - $serviceName = "ClaraCore" - $serviceDisplayName = "ClaraCore AI Inference Server" - $serviceDescription = "ClaraCore AI model inference server with automatic setup" + $serviceName = "JarvisCore" + $serviceDisplayName = "JarvisCore AI Inference Server" + $serviceDescription = "JarvisCore AI model inference server with automatic setup" # Stop and remove existing service if it exists $existingService = Get-Service -Name $serviceName -ErrorAction SilentlyContinue @@ -248,7 +248,7 @@ function Install-WindowsService { Write-ColorOutput "Configuring service to run in background..." "Blue" # Start the service - Write-ColorOutput "Starting ClaraCore service..." "Blue" + Write-ColorOutput "Starting JarvisCore service..." "Blue" Start-Service -Name $serviceName -ErrorAction Stop # Wait a moment and check status @@ -257,7 +257,7 @@ function Install-WindowsService { if ($service.Status -eq 'Running') { Write-ColorOutput "āœ… Windows Service installed and started successfully" "Green" - Write-ColorOutput "āœ… ClaraCore will run in background on system startup" "Green" + Write-ColorOutput "āœ… JarvisCore will run in background on system startup" "Green" Write-ColorOutput " Service Name: $serviceName" "Blue" return $true } else { @@ -278,7 +278,7 @@ function Install-UserLevelService { Write-ColorOutput "Setting up user-level auto-start (Task Scheduler)..." "Blue" try { - $taskName = "ClaraCore" + $taskName = "JarvisCore" $configPath = Join-Path $Paths.ConfigDir "config.yaml" # Remove existing task if it exists @@ -288,7 +288,7 @@ function Install-UserLevelService { Unregister-ScheduledTask -TaskName $taskName -Confirm:$false } - # Create action to run ClaraCore hidden + # Create action to run JarvisCore hidden $action = New-ScheduledTaskAction -Execute $Paths.BinaryPath -Argument "--config `"$configPath`"" -WorkingDirectory (Split-Path $Paths.BinaryPath) # Create trigger to run at logon @@ -301,14 +301,14 @@ function Install-UserLevelService { $principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -LogonType Interactive -RunLevel Highest # Register the scheduled task - Register-ScheduledTask -TaskName $taskName -Action $action -Trigger $trigger -Settings $settings -Principal $principal -Description "ClaraCore AI Inference Server - Runs in background" | Out-Null + Register-ScheduledTask -TaskName $taskName -Action $action -Trigger $trigger -Settings $settings -Principal $principal -Description "JarvisCore AI Inference Server - Runs in background" | Out-Null Write-ColorOutput "āœ… User-level service installed successfully" "Green" - Write-ColorOutput "āœ… ClaraCore will start automatically when you log in" "Green" + Write-ColorOutput "āœ… JarvisCore will start automatically when you log in" "Green" Write-ColorOutput " Task Name: $taskName" "Blue" # Try to start the task immediately - Write-ColorOutput "Starting ClaraCore task..." "Blue" + Write-ColorOutput "Starting JarvisCore task..." "Blue" try { Start-ScheduledTask -TaskName $taskName -ErrorAction Stop Start-Sleep -Seconds 3 @@ -330,7 +330,7 @@ function Install-UserLevelService { } catch { Write-ColorOutput "Warning: Could not create scheduled task: $($_.Exception.Message)" "Yellow" - Write-ColorOutput "You can start ClaraCore manually: $($Paths.BinaryPath)" "Yellow" + Write-ColorOutput "You can start JarvisCore manually: $($Paths.BinaryPath)" "Yellow" return $false } } @@ -341,11 +341,11 @@ function Create-DesktopShortcut { Write-ColorOutput "Creating desktop shortcut..." "Blue" $WshShell = New-Object -comObject WScript.Shell - $shortcutPath = Join-Path $env:USERPROFILE "Desktop\ClaraCore.lnk" + $shortcutPath = Join-Path $env:USERPROFILE "Desktop\JarvisCore.lnk" $shortcut = $WshShell.CreateShortcut($shortcutPath) $shortcut.TargetPath = $Paths.BinaryPath $shortcut.WorkingDirectory = $Paths.ConfigDir - $shortcut.Description = "ClaraCore AI Inference Server" + $shortcut.Description = "JarvisCore AI Inference Server" $shortcut.Save() Write-ColorOutput "Desktop shortcut created" "Green" @@ -356,7 +356,7 @@ function Show-NextSteps { Write-Header "Installation Completed!" - Write-ColorOutput "āœ… ClaraCore is now installed and running in the background!" "Green" + Write-ColorOutput "āœ… JarvisCore is now installed and running in the background!" "Green" Write-Host "" Write-ColorOutput "🌐 Web Interface:" "Yellow" @@ -368,17 +368,17 @@ function Show-NextSteps { $isAdmin = Test-AdminRights if ($isAdmin) { - Write-ColorOutput " Status: Get-Service ClaraCore | Select-Object Status,StartType" "Blue" - Write-ColorOutput " Stop: Stop-Service ClaraCore" "Blue" - Write-ColorOutput " Start: Start-Service ClaraCore" "Blue" - Write-ColorOutput " Restart: Restart-Service ClaraCore" "Blue" - Write-ColorOutput " Logs: Get-EventLog -LogName Application -Source ClaraCore -Newest 50" "Blue" + Write-ColorOutput " Status: Get-Service JarvisCore | Select-Object Status,StartType" "Blue" + Write-ColorOutput " Stop: Stop-Service JarvisCore" "Blue" + Write-ColorOutput " Start: Start-Service JarvisCore" "Blue" + Write-ColorOutput " Restart: Restart-Service JarvisCore" "Blue" + Write-ColorOutput " Logs: Get-EventLog -LogName Application -Source JarvisCore -Newest 50" "Blue" } else { - Write-ColorOutput " Status: Get-ScheduledTask -TaskName ClaraCore" "Blue" - Write-ColorOutput " Stop: Stop-ScheduledTask -TaskName ClaraCore" "Blue" - Write-ColorOutput " Start: Start-ScheduledTask -TaskName ClaraCore" "Blue" - Write-ColorOutput " Disable: Disable-ScheduledTask -TaskName ClaraCore" "Blue" - Write-ColorOutput " Enable: Enable-ScheduledTask -TaskName ClaraCore" "Blue" + Write-ColorOutput " Status: Get-ScheduledTask -TaskName JarvisCore" "Blue" + Write-ColorOutput " Stop: Stop-ScheduledTask -TaskName JarvisCore" "Blue" + Write-ColorOutput " Start: Start-ScheduledTask -TaskName JarvisCore" "Blue" + Write-ColorOutput " Disable: Disable-ScheduledTask -TaskName JarvisCore" "Blue" + Write-ColorOutput " Enable: Enable-ScheduledTask -TaskName JarvisCore" "Blue" } Write-Host "" } @@ -389,17 +389,17 @@ function Show-NextSteps { Write-Host "" Write-ColorOutput "šŸ’” Quick Tips:" "Yellow" - Write-ColorOutput " • ClaraCore runs silently in the background (no terminal window)" "White" + Write-ColorOutput " • JarvisCore runs silently in the background (no terminal window)" "White" Write-ColorOutput " • It will auto-start when your system boots" "White" Write-ColorOutput " • Configure models via the web interface at http://localhost:5800/ui/setup" "White" Write-Host "" - Write-ColorOutput "šŸ“š Documentation: https://github.com/claraverse-space/ClaraCore/tree/main/docs" "Green" - Write-ColorOutput "ā“ Support: https://github.com/claraverse-space/ClaraCore/issues" "Green" + Write-ColorOutput "šŸ“š Documentation: https://github.com/jarvisverse-space/JarvisCore/tree/main/docs" "Green" + Write-ColorOutput "ā“ Support: https://github.com/jarvisverse-space/JarvisCore/issues" "Green" } function Main { - Write-Header "ClaraCore Windows Installer" + Write-Header "JarvisCore Windows Installer" # Check requirements if ($PSVersionTable.PSVersion.Major -lt 5) { @@ -434,7 +434,7 @@ function Main { # Wait a moment for service to start if ($serviceInstalled) { - Write-ColorOutput "Waiting for ClaraCore to initialize..." "Blue" + Write-ColorOutput "Waiting for JarvisCore to initialize..." "Blue" Start-Sleep -Seconds 5 # Try to check if service is responding @@ -446,7 +446,7 @@ function Main { try { $response = Invoke-WebRequest -Uri "http://localhost:5800/" -TimeoutSec 2 -UseBasicParsing -ErrorAction SilentlyContinue if ($response.StatusCode -eq 200) { - Write-ColorOutput "āœ… ClaraCore is running and accessible!" "Green" + Write-ColorOutput "āœ… JarvisCore is running and accessible!" "Green" $isRunning = $true break } @@ -469,11 +469,11 @@ function Main { Write-ColorOutput " Unblock-File `"$($paths.BinaryPath)`"" "Blue" Write-Host "" Write-ColorOutput "2. Try starting manually:" "White" - Write-ColorOutput " Start-ScheduledTask -TaskName ClaraCore" "Blue" - Write-ColorOutput " # or if admin: Start-Service ClaraCore" "Blue" + Write-ColorOutput " Start-ScheduledTask -TaskName JarvisCore" "Blue" + Write-ColorOutput " # or if admin: Start-Service JarvisCore" "Blue" Write-Host "" Write-ColorOutput "3. Check service status:" "White" - Write-ColorOutput " .\scripts\claracore-service.ps1 status" "Blue" + Write-ColorOutput " .\scripts\jarviscore-service.ps1 status" "Blue" Write-Host "" Write-ColorOutput "4. Add Windows Defender exclusion:" "White" Write-ColorOutput " .\scripts\add-defender-exclusion.bat" "Blue" @@ -481,7 +481,7 @@ function Main { } else { Write-Host "" Write-ColorOutput "⚠ Service installation may have failed" "Yellow" - Write-ColorOutput "You can start ClaraCore manually with:" "White" + Write-ColorOutput "You can start JarvisCore manually with:" "White" Write-ColorOutput " $($paths.BinaryPath)" "Blue" } diff --git a/scripts/install.sh b/scripts/install.sh index c3f71ec..3f67413 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -# ClaraCore Installation Script +# JarvisCore Installation Script # Supports Linux and macOS with automatic service setup set -e @@ -13,10 +13,10 @@ BLUE='\033[0;34m' NC='\033[0m' # No Color # Configuration - REPO="claraverse-space/ClaraCore" + REPO="jarvisverse-space/JarvisCore" INSTALL_DIR="/usr/local/bin" -CONFIG_DIR="$HOME/.config/claracore" -SERVICE_NAME="claracore" +CONFIG_DIR="$HOME/.config/jarviscore" +SERVICE_NAME="jarviscore" # Platform detection detect_platform() { @@ -96,14 +96,14 @@ get_latest_release() { # Download and install binary download_binary() { - BINARY_NAME="claracore-$PLATFORM-$ARCH" + BINARY_NAME="jarviscore-$PLATFORM-$ARCH" if [[ "$PLATFORM" == "darwin" ]]; then DOWNLOAD_URL="https://github.com/$REPO/releases/download/$LATEST_RELEASE/$BINARY_NAME" else DOWNLOAD_URL="https://github.com/$REPO/releases/download/$LATEST_RELEASE/$BINARY_NAME" fi - echo -e "${BLUE}Downloading ClaraCore binary...${NC}" + echo -e "${BLUE}Downloading JarvisCore binary...${NC}" echo -e "${YELLOW}URL: $DOWNLOAD_URL${NC}" TEMP_FILE=$(mktemp) @@ -120,13 +120,13 @@ download_binary() { fi # Install binary - echo -e "${BLUE}Installing binary to $INSTALL_DIR/claracore...${NC}" + echo -e "${BLUE}Installing binary to $INSTALL_DIR/jarviscore...${NC}" chmod +x "$TEMP_FILE" if [[ "$SYSTEM_INSTALL" == true ]]; then - mv "$TEMP_FILE" "$INSTALL_DIR/claracore" + mv "$TEMP_FILE" "$INSTALL_DIR/jarviscore" else - mv "$TEMP_FILE" "$INSTALL_DIR/claracore" + mv "$TEMP_FILE" "$INSTALL_DIR/jarviscore" # Add to PATH if not already there if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then echo -e "${BLUE}Adding ~/.local/bin to PATH...${NC}" @@ -156,10 +156,10 @@ download_binary() { echo -e "${GREEN}Binary installed successfully${NC}" # Test if binary works and is in PATH - if command -v claracore >/dev/null 2>&1; then - echo -e "${GREEN}āœ“ claracore command is accessible${NC}" + if command -v jarviscore >/dev/null 2>&1; then + echo -e "${GREEN}āœ“ jarviscore command is accessible${NC}" else - echo -e "${YELLOW}⚠ claracore not yet in PATH for this session${NC}" + echo -e "${YELLOW}⚠ jarviscore not yet in PATH for this session${NC}" fi } @@ -168,7 +168,7 @@ create_config() { echo -e "${BLUE}Creating default configuration...${NC}" cat > "$CONFIG_DIR/config.yaml" << 'EOF' -# ClaraCore Configuration +# JarvisCore Configuration # This file is auto-generated. You can modify it or regenerate via the web UI. host: "127.0.0.1" @@ -212,14 +212,14 @@ setup_linux_service() { # Check if systemd is available if ! command -v systemctl >/dev/null 2>&1; then echo -e "${YELLOW}Systemd not available - skipping service setup${NC}" - echo -e "${YELLOW}You can manually start ClaraCore with: claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e "${YELLOW}You can manually start JarvisCore with: jarviscore --config $CONFIG_DIR/config.yaml${NC}" return 0 fi # Test if systemd is running if ! systemctl is-system-running >/dev/null 2>&1; then echo -e "${YELLOW}Systemd not running (possibly in container/WSL) - skipping service setup${NC}" - echo -e "${YELLOW}You can manually start ClaraCore with: claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e "${YELLOW}You can manually start JarvisCore with: jarviscore --config $CONFIG_DIR/config.yaml${NC}" return 0 fi @@ -235,7 +235,7 @@ setup_linux_service() { # System-wide service (requires User= directive) cat > "$SERVICE_FILE" << EOF [Unit] -Description=ClaraCore AI Inference Server +Description=JarvisCore AI Inference Server After=network.target Wants=network.target @@ -243,7 +243,7 @@ Wants=network.target Type=simple User=$USER WorkingDirectory=$CONFIG_DIR -ExecStart=$INSTALL_DIR/claracore --config $CONFIG_DIR/config.yaml +ExecStart=$INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml Restart=always RestartSec=3 Environment=HOME=$HOME @@ -252,7 +252,7 @@ Environment=USER=$USER # Logging configuration - runs silently, logs to systemd journal StandardOutput=journal StandardError=journal -SyslogIdentifier=claracore +SyslogIdentifier=jarviscore # Security settings NoNewPrivileges=yes @@ -273,14 +273,14 @@ EOF # User service (DO NOT include User= directive) cat > "$SERVICE_FILE" << EOF [Unit] -Description=ClaraCore AI Inference Server +Description=JarvisCore AI Inference Server After=network.target Wants=network.target [Service] Type=simple WorkingDirectory=$CONFIG_DIR -ExecStart=$INSTALL_DIR/claracore --config $CONFIG_DIR/config.yaml +ExecStart=$INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml Restart=always RestartSec=3 Environment=HOME=$HOME @@ -289,7 +289,7 @@ Environment=USER=$USER # Logging configuration - runs silently, logs to systemd journal StandardOutput=journal StandardError=journal -SyslogIdentifier=claracore +SyslogIdentifier=jarviscore # Security settings NoNewPrivileges=yes @@ -310,7 +310,7 @@ EOF echo -e "${GREEN}āœ“ System service enabled (auto-start on boot)${NC}" # Start the service immediately - echo -e "${BLUE}Starting ClaraCore service...${NC}" + echo -e "${BLUE}Starting JarvisCore service...${NC}" if systemctl start "$SERVICE_NAME" 2>/dev/null; then echo -e "${GREEN}āœ“ Service started successfully${NC}" @@ -329,14 +329,14 @@ EOF fi else echo -e "${YELLOW}Failed to enable system service. You may need to run with sudo or start manually.${NC}" - echo -e "${YELLOW}Manual start: sudo $INSTALL_DIR/claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e "${YELLOW}Manual start: sudo $INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml${NC}" fi else if systemctl --user daemon-reload 2>/dev/null && systemctl --user enable "$SERVICE_NAME" 2>/dev/null; then echo -e "${GREEN}āœ“ User service enabled (auto-start on login)${NC}" # Start the service immediately - echo -e "${BLUE}Starting ClaraCore service...${NC}" + echo -e "${BLUE}Starting JarvisCore service...${NC}" if systemctl --user start "$SERVICE_NAME" 2>/dev/null; then echo -e "${GREEN}āœ“ Service started successfully${NC}" @@ -355,7 +355,7 @@ EOF fi else echo -e "${YELLOW}Failed to enable user service. Starting manually may be required.${NC}" - echo -e "${YELLOW}Manual start: $INSTALL_DIR/claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e "${YELLOW}Manual start: $INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml${NC}" fi fi } @@ -365,11 +365,11 @@ setup_macos_service() { echo -e "${BLUE}Setting up macOS Launch Agent...${NC}" if [[ "$SYSTEM_INSTALL" == true ]]; then - PLIST_FILE="$LAUNCHD_DIR/com.claracore.server.plist" - LABEL="com.claracore.server" + PLIST_FILE="$LAUNCHD_DIR/com.jarviscore.server.plist" + LABEL="com.jarviscore.server" else - PLIST_FILE="$LAUNCHD_DIR/com.claracore.server.plist" - LABEL="com.claracore.server" + PLIST_FILE="$LAUNCHD_DIR/com.jarviscore.server.plist" + LABEL="com.jarviscore.server" fi # Create logs directory @@ -384,7 +384,7 @@ setup_macos_service() { $LABEL ProgramArguments - $INSTALL_DIR/claracore + $INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml @@ -397,9 +397,9 @@ setup_macos_service() { ProcessType Background StandardOutPath - $CONFIG_DIR/logs/claracore.log + $CONFIG_DIR/logs/jarviscore.log StandardErrorPath - $CONFIG_DIR/logs/claracore.error.log + $CONFIG_DIR/logs/jarviscore.error.log EnvironmentVariables HOME @@ -426,10 +426,10 @@ EOF fi # Load the service - echo -e "${BLUE}Loading ClaraCore service...${NC}" + echo -e "${BLUE}Loading JarvisCore service...${NC}" if launchctl load "$PLIST_FILE" 2>/dev/null; then echo -e "${GREEN}āœ“ Service loaded successfully${NC}" - echo -e "${GREEN}āœ“ ClaraCore will run silently in the background${NC}" + echo -e "${GREEN}āœ“ JarvisCore will run silently in the background${NC}" # Wait a moment for service to initialize sleep 2 @@ -460,7 +460,7 @@ EOF echo -e " ${BLUE}launchctl load $PLIST_FILE${NC}" fi echo -e "${YELLOW} Or start manually:${NC}" - echo -e " ${BLUE}claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e " ${BLUE}jarviscore --config $CONFIG_DIR/config.yaml${NC}" return 1 fi } @@ -478,13 +478,13 @@ check_service_health() { # Try to connect to the service if command -v curl >/dev/null 2>&1; then if curl -s -f "http://localhost:$port/" >/dev/null 2>&1; then - echo -e "${GREEN}āœ“ ClaraCore is running and accessible${NC}" + echo -e "${GREEN}āœ“ JarvisCore is running and accessible${NC}" echo -e "${GREEN}āœ“ Web interface available at: ${BLUE}http://localhost:$port/ui/${NC}" return 0 fi elif command -v wget >/dev/null 2>&1; then if wget -q -O /dev/null "http://localhost:$port/" 2>/dev/null; then - echo -e "${GREEN}āœ“ ClaraCore is running and accessible${NC}" + echo -e "${GREEN}āœ“ JarvisCore is running and accessible${NC}" echo -e "${GREEN}āœ“ Web interface available at: ${BLUE}http://localhost:$port/ui/${NC}" return 0 fi @@ -518,7 +518,7 @@ check_service_health() { # Main installation flow main() { echo -e "${BLUE}╔══════════════════════════════════════╗${NC}" - echo -e "${BLUE}ā•‘ ClaraCore Installer ā•‘${NC}" + echo -e "${BLUE}ā•‘ JarvisCore Installer ā•‘${NC}" echo -e "${BLUE}ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•${NC}" echo @@ -573,22 +573,22 @@ main() { echo -e " ${GREEN}systemctl --user restart $SERVICE_NAME${NC}" fi elif [[ "$PLATFORM" == "darwin" ]]; then - LABEL="com.claracore.server" + LABEL="com.jarviscore.server" echo -e "${BLUE}1. Check service status:${NC}" - echo -e " ${GREEN}launchctl list | grep claracore${NC}" + echo -e " ${GREEN}launchctl list | grep jarviscore${NC}" echo echo -e "${BLUE}2. View logs:${NC}" - echo -e " ${GREEN}tail -n 50 $CONFIG_DIR/logs/claracore.error.log${NC}" + echo -e " ${GREEN}tail -n 50 $CONFIG_DIR/logs/jarviscore.error.log${NC}" echo echo -e "${BLUE}3. Try restarting:${NC}" echo -e " ${GREEN}launchctl kickstart -k $LABEL${NC}" fi echo echo -e "${BLUE}4. Check if binary is executable:${NC}" - echo -e " ${GREEN}ls -la $INSTALL_DIR/claracore${NC}" + echo -e " ${GREEN}ls -la $INSTALL_DIR/jarviscore${NC}" echo echo -e "${BLUE}5. Try starting manually to see errors:${NC}" - echo -e " ${GREEN}$INSTALL_DIR/claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e " ${GREEN}$INSTALL_DIR/jarviscore --config $CONFIG_DIR/config.yaml${NC}" fi fi @@ -598,11 +598,11 @@ main() { echo -e "${GREEN}ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•${NC}" echo - # Check if claracore is now accessible - if command -v claracore >/dev/null 2>&1; then - echo -e "${GREEN}āœ“ claracore command is ready to use!${NC}" + # Check if jarviscore is now accessible + if command -v jarviscore >/dev/null 2>&1; then + echo -e "${GREEN}āœ“ jarviscore command is ready to use!${NC}" else - echo -e "${YELLOW}⚠ To use 'claracore' command, restart your terminal or run:${NC}" + echo -e "${YELLOW}⚠ To use 'jarviscore' command, restart your terminal or run:${NC}" echo -e " ${BLUE}source ~/.bashrc${NC}" echo -e " ${BLUE}# or${NC}" echo -e " ${BLUE}export PATH=\"\$HOME/.local/bin:\$PATH\"${NC}" @@ -610,7 +610,7 @@ main() { fi if [[ "$SERVICE_STARTED" == true ]]; then - echo -e "${GREEN}āœ“ ClaraCore is now running silently in the background!${NC}" + echo -e "${GREEN}āœ“ JarvisCore is now running silently in the background!${NC}" echo -e "${GREEN}āœ“ It will automatically start on system boot${NC}" echo echo -e "${YELLOW}Quick Start:${NC}" @@ -621,14 +621,14 @@ main() { echo -e " • Or use the auto-discovery wizard" echo echo -e "${BLUE}šŸ’” Tips:${NC}" - echo -e " • ClaraCore runs as a background service (no terminal window)" + echo -e " • JarvisCore runs as a background service (no terminal window)" echo -e " • Just like Ollama, it runs silently in the background" echo -e " • Access it anytime via the web interface" echo else echo -e "${YELLOW}Next steps:${NC}" - echo -e "1. Start ClaraCore manually:" - echo -e " ${BLUE}claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e "1. Start JarvisCore manually:" + echo -e " ${BLUE}jarviscore --config $CONFIG_DIR/config.yaml${NC}" echo echo -e "2. Then visit the web interface:" echo -e " ${BLUE}http://localhost:5800/ui/setup${NC}" @@ -651,16 +651,16 @@ main() { fi else echo -e " ${YELLOW}Systemd not available - manual start required:${NC}" - echo -e " Start: ${BLUE}claracore --config $CONFIG_DIR/config.yaml${NC}" + echo -e " Start: ${BLUE}jarviscore --config $CONFIG_DIR/config.yaml${NC}" fi elif [[ "$PLATFORM" == "darwin" ]]; then - LABEL="com.claracore.server" - echo -e " Status: ${BLUE}launchctl list | grep claracore${NC}" + LABEL="com.jarviscore.server" + echo -e " Status: ${BLUE}launchctl list | grep jarviscore${NC}" echo -e " Stop: ${BLUE}launchctl stop $LABEL${NC}" echo -e " Restart: ${BLUE}launchctl kickstart -k $LABEL${NC}" echo -e " Unload: ${BLUE}launchctl unload ~/Library/LaunchAgents/$LABEL.plist${NC}" - echo -e " Logs: ${BLUE}tail -f $CONFIG_DIR/logs/claracore.log${NC}" - echo -e " Errors: ${BLUE}tail -f $CONFIG_DIR/logs/claracore.error.log${NC}" + echo -e " Logs: ${BLUE}tail -f $CONFIG_DIR/logs/jarviscore.log${NC}" + echo -e " Errors: ${BLUE}tail -f $CONFIG_DIR/logs/jarviscore.error.log${NC}" fi echo echo -e "${YELLOW}Configuration Files:${NC}" diff --git a/scripts/claracore-service.bat b/scripts/jarviscore-service.bat similarity index 91% rename from scripts/claracore-service.bat rename to scripts/jarviscore-service.bat index cb83760..3dd8ae8 100644 --- a/scripts/claracore-service.bat +++ b/scripts/jarviscore-service.bat @@ -1,11 +1,11 @@ @echo off -REM ClaraCore Service Management Script for Windows (Batch Wrapper) +REM JarvisCore Service Management Script for Windows (Batch Wrapper) REM This is a simple wrapper around the PowerShell service management script setlocal enabledelayedexpansion set SCRIPT_DIR=%~dp0 -set PS_SCRIPT=%SCRIPT_DIR%claracore-service.ps1 +set PS_SCRIPT=%SCRIPT_DIR%jarviscore-service.ps1 REM Check if PowerShell script exists if not exist "%PS_SCRIPT%" ( diff --git a/scripts/claracore-service.ps1 b/scripts/jarviscore-service.ps1 similarity index 80% rename from scripts/claracore-service.ps1 rename to scripts/jarviscore-service.ps1 index 83eb9a5..76d8490 100644 --- a/scripts/claracore-service.ps1 +++ b/scripts/jarviscore-service.ps1 @@ -1,4 +1,4 @@ -# ClaraCore Service Management Script for Windows +# JarvisCore Service Management Script for Windows # Provides easy service management commands for Windows param( @@ -39,21 +39,21 @@ function Test-AdminRights { function Get-ServiceType { # Check if running as Windows Service - $service = Get-Service -Name "ClaraCore" -ErrorAction SilentlyContinue + $service = Get-Service -Name "JarvisCore" -ErrorAction SilentlyContinue if ($service) { return @{ Type = "Service" - Name = "ClaraCore" + Name = "JarvisCore" IsAdmin = $true } } # Check if running as Scheduled Task - $task = Get-ScheduledTask -TaskName "ClaraCore" -ErrorAction SilentlyContinue + $task = Get-ScheduledTask -TaskName "JarvisCore" -ErrorAction SilentlyContinue if ($task) { return @{ Type = "Task" - Name = "ClaraCore" + Name = "JarvisCore" IsAdmin = $false } } @@ -66,7 +66,7 @@ function Get-ServiceType { } function Show-Status { - Write-Header "ClaraCore Service Status" + Write-Header "JarvisCore Service Status" $serviceInfo = Get-ServiceType @@ -133,15 +133,15 @@ function Show-Status { } } else { - Write-ColorOutput "āœ— ClaraCore service not found" "Red" + Write-ColorOutput "āœ— JarvisCore service not found" "Red" Write-Host "" - Write-ColorOutput "ClaraCore is not installed as a service or scheduled task." "Yellow" + Write-ColorOutput "JarvisCore is not installed as a service or scheduled task." "Yellow" Write-ColorOutput "Please run the installer to set it up." "Yellow" } } -function Start-ClaraService { - Write-Header "Starting ClaraCore Service" +function Start-JarvisService { + Write-Header "Starting JarvisCore Service" $serviceInfo = Get-ServiceType @@ -181,13 +181,13 @@ function Start-ClaraService { } } else { - Write-ColorOutput "āœ— ClaraCore service not found" "Red" + Write-ColorOutput "āœ— JarvisCore service not found" "Red" exit 1 } } -function Stop-ClaraService { - Write-Header "Stopping ClaraCore Service" +function Stop-JarvisService { + Write-Header "Stopping JarvisCore Service" $serviceInfo = Get-ServiceType @@ -219,9 +219,9 @@ function Stop-ClaraService { Stop-ScheduledTask -TaskName $serviceInfo.Name -ErrorAction SilentlyContinue # Also kill the process if it's running - $processes = Get-Process -Name "claracore" -ErrorAction SilentlyContinue + $processes = Get-Process -Name "jarviscore" -ErrorAction SilentlyContinue if ($processes) { - Write-ColorOutput "Stopping ClaraCore processes..." "Blue" + Write-ColorOutput "Stopping JarvisCore processes..." "Blue" $processes | Stop-Process -Force } @@ -229,22 +229,22 @@ function Stop-ClaraService { Write-ColorOutput "āœ“ Task stopped successfully" "Green" } else { - Write-ColorOutput "āœ— ClaraCore service not found" "Red" + Write-ColorOutput "āœ— JarvisCore service not found" "Red" exit 1 } } -function Restart-ClaraService { - Write-Header "Restarting ClaraCore Service" +function Restart-JarvisService { + Write-Header "Restarting JarvisCore Service" - Stop-ClaraService + Stop-JarvisService Write-Host "" Start-Sleep -Seconds 2 - Start-ClaraService + Start-JarvisService } -function Enable-ClaraService { - Write-Header "Enabling ClaraCore Service" +function Enable-JarvisService { + Write-Header "Enabling JarvisCore Service" $serviceInfo = Get-ServiceType @@ -264,13 +264,13 @@ function Enable-ClaraService { Write-ColorOutput "āœ“ Task enabled for auto-start" "Green" } else { - Write-ColorOutput "āœ— ClaraCore service not found" "Red" + Write-ColorOutput "āœ— JarvisCore service not found" "Red" exit 1 } } -function Disable-ClaraService { - Write-Header "Disabling ClaraCore Service" +function Disable-JarvisService { + Write-Header "Disabling JarvisCore Service" $serviceInfo = Get-ServiceType @@ -290,13 +290,13 @@ function Disable-ClaraService { Write-ColorOutput "āœ“ Task disabled from auto-start" "Green" } else { - Write-ColorOutput "āœ— ClaraCore service not found" "Red" + Write-ColorOutput "āœ— JarvisCore service not found" "Red" exit 1 } } function Show-Logs { - Write-Header "ClaraCore Service Logs" + Write-Header "JarvisCore Service Logs" $serviceInfo = Get-ServiceType @@ -305,7 +305,7 @@ function Show-Logs { # Try to get Windows Event Log entries try { - $events = Get-EventLog -LogName Application -Source "ClaraCore" -Newest 50 -ErrorAction SilentlyContinue + $events = Get-EventLog -LogName Application -Source "JarvisCore" -Newest 50 -ErrorAction SilentlyContinue if ($events) { Write-ColorOutput "Recent Windows Event Log entries:" "Blue" $events | Format-Table TimeGenerated, EntryType, Message -AutoSize @@ -320,41 +320,41 @@ function Show-Logs { Write-ColorOutput "For real-time logs, check:" "Blue" if ($serviceInfo.Type -eq "Task") { - $configDir = "$env:APPDATA\ClaraCore" + $configDir = "$env:APPDATA\JarvisCore" if (Test-Path "$configDir\logs") { - Write-ColorOutput " Output: $configDir\logs\claracore.log" "Blue" - Write-ColorOutput " Errors: $configDir\logs\claracore.error.log" "Blue" + Write-ColorOutput " Output: $configDir\logs\jarviscore.log" "Blue" + Write-ColorOutput " Errors: $configDir\logs\jarviscore.error.log" "Blue" Write-Host "" Write-ColorOutput "To view logs in real-time:" "Yellow" - Write-ColorOutput " Get-Content '$configDir\logs\claracore.log' -Wait -Tail 50" "White" + Write-ColorOutput " Get-Content '$configDir\logs\jarviscore.log' -Wait -Tail 50" "White" } } else { - Write-ColorOutput " Use: Get-EventLog -LogName Application -Source ClaraCore -Newest 50" "White" + Write-ColorOutput " Use: Get-EventLog -LogName Application -Source JarvisCore -Newest 50" "White" Write-ColorOutput " Or check Task Scheduler logs" "White" } } function Show-Help { Write-Host "" - Write-ColorOutput "ClaraCore Service Management Script" "Blue" + Write-ColorOutput "JarvisCore Service Management Script" "Blue" Write-Host "" Write-ColorOutput "USAGE:" "Yellow" - Write-Host " .\claracore-service.ps1 " + Write-Host " .\jarviscore-service.ps1 " Write-Host "" Write-ColorOutput "COMMANDS:" "Yellow" Write-Host " status Show service status and information" - Write-Host " start Start the ClaraCore service" - Write-Host " stop Stop the ClaraCore service" - Write-Host " restart Restart the ClaraCore service" + Write-Host " start Start the JarvisCore service" + Write-Host " stop Stop the JarvisCore service" + Write-Host " restart Restart the JarvisCore service" Write-Host " enable Enable service for auto-start on boot" Write-Host " disable Disable service auto-start" Write-Host " logs Show service logs" Write-Host " help Show this help message" Write-Host "" Write-ColorOutput "EXAMPLES:" "Yellow" - Write-Host " .\claracore-service.ps1 status # Check if service is running" - Write-Host " .\claracore-service.ps1 restart # Restart the service" - Write-Host " .\claracore-service.ps1 logs # View service logs" + Write-Host " .\jarviscore-service.ps1 status # Check if service is running" + Write-Host " .\jarviscore-service.ps1 restart # Restart the service" + Write-Host " .\jarviscore-service.ps1 logs # View service logs" Write-Host "" Write-ColorOutput "NOTE:" "Yellow" Write-Host " Some commands may require administrator privileges." @@ -365,11 +365,11 @@ function Show-Help { # Main script logic switch ($Command) { 'status' { Show-Status } - 'start' { Start-ClaraService } - 'stop' { Stop-ClaraService } - 'restart' { Restart-ClaraService } - 'enable' { Enable-ClaraService } - 'disable' { Disable-ClaraService } + 'start' { Start-JarvisService } + 'stop' { Stop-JarvisService } + 'restart' { Restart-JarvisService } + 'enable' { Enable-JarvisService } + 'disable' { Disable-JarvisService } 'logs' { Show-Logs } 'help' { Show-Help } default { Show-Help } diff --git a/scripts/claracore-service.sh b/scripts/jarviscore-service.sh similarity index 82% rename from scripts/claracore-service.sh rename to scripts/jarviscore-service.sh index 4c85fad..b936313 100644 --- a/scripts/claracore-service.sh +++ b/scripts/jarviscore-service.sh @@ -1,6 +1,6 @@ #!/bin/bash -# ClaraCore Service Management Script +# JarvisCore Service Management Script # Cross-platform service control for Linux and macOS set -e @@ -16,16 +16,16 @@ NC='\033[0m' # No Color OS="$(uname)" if [[ "$OS" == "Linux" ]]; then SERVICE_MANAGER="systemd" - SERVICE_NAME="claracore" - SERVICE_FILE="/etc/systemd/system/claracore.service" + SERVICE_NAME="jarviscore" + SERVICE_FILE="/etc/systemd/system/jarviscore.service" elif [[ "$OS" == "Darwin" ]]; then SERVICE_MANAGER="launchd" - SERVICE_NAME="com.claracore.server" - SERVICE_FILE="/Library/LaunchDaemons/com.claracore.server.plist" + SERVICE_NAME="com.jarviscore.server" + SERVICE_FILE="/Library/LaunchDaemons/com.jarviscore.server.plist" else echo -e "${RED}Error: Unsupported operating system: $OS${NC}" echo "This script supports Linux and macOS only." - echo "For Windows, use PowerShell: Get-Service ClaraCore, Start-Service ClaraCore, Stop-Service ClaraCore" + echo "For Windows, use PowerShell: Get-Service JarvisCore, Start-Service JarvisCore, Stop-Service JarvisCore" exit 1 fi @@ -45,7 +45,7 @@ check_admin() { } service_status() { - echo -e "${BLUE}Checking ClaraCore service status...${NC}" + echo -e "${BLUE}Checking JarvisCore service status...${NC}" echo "" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then @@ -98,7 +98,7 @@ service_status() { } service_start() { - echo -e "${BLUE}Starting ClaraCore service...${NC}" + echo -e "${BLUE}Starting JarvisCore service...${NC}" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then systemctl start "$SERVICE_NAME" @@ -122,7 +122,7 @@ service_start() { } service_stop() { - echo -e "${BLUE}Stopping ClaraCore service...${NC}" + echo -e "${BLUE}Stopping JarvisCore service...${NC}" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then systemctl stop "$SERVICE_NAME" @@ -145,7 +145,7 @@ service_stop() { } service_restart() { - echo -e "${BLUE}Restarting ClaraCore service...${NC}" + echo -e "${BLUE}Restarting JarvisCore service...${NC}" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then systemctl restart "$SERVICE_NAME" @@ -171,7 +171,7 @@ service_restart() { } service_enable() { - echo -e "${BLUE}Enabling ClaraCore service for auto-start...${NC}" + echo -e "${BLUE}Enabling JarvisCore service for auto-start...${NC}" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then systemctl enable "$SERVICE_NAME" @@ -183,7 +183,7 @@ service_enable() { } service_disable() { - echo -e "${BLUE}Disabling ClaraCore service auto-start...${NC}" + echo -e "${BLUE}Disabling JarvisCore service auto-start...${NC}" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then systemctl disable "$SERVICE_NAME" @@ -195,29 +195,29 @@ service_disable() { } show_logs() { - echo -e "${BLUE}Showing ClaraCore service logs...${NC}" + echo -e "${BLUE}Showing JarvisCore service logs...${NC}" echo "" if [[ "$SERVICE_MANAGER" == "systemd" ]]; then journalctl -u "$SERVICE_NAME" -f --no-pager elif [[ "$SERVICE_MANAGER" == "launchd" ]]; then - echo "Checking system logs for ClaraCore..." - tail -f /var/log/system.log | grep -i claracore + echo "Checking system logs for JarvisCore..." + tail -f /var/log/system.log | grep -i jarviscore fi } show_help() { cat << EOF -ClaraCore Service Management Script +JarvisCore Service Management Script USAGE: sudo $0 COMMANDS: status Show service status and information - start Start the ClaraCore service - stop Stop the ClaraCore service - restart Restart the ClaraCore service + start Start the JarvisCore service + stop Stop the JarvisCore service + restart Restart the JarvisCore service enable Enable service for auto-start on boot disable Disable service auto-start logs Show service logs (follow mode) @@ -235,10 +235,10 @@ SYSTEM INFORMATION: Service File: $SERVICE_FILE For Windows service management, use PowerShell: - Get-Service ClaraCore - Start-Service ClaraCore - Stop-Service ClaraCore - Restart-Service ClaraCore + Get-Service JarvisCore + Start-Service JarvisCore + Stop-Service JarvisCore + Restart-Service JarvisCore EOF } @@ -246,36 +246,36 @@ EOF # Main script logic case "${1:-}" in "status") - print_header "ClaraCore Service Status" + print_header "JarvisCore Service Status" service_status ;; "start") check_admin - print_header "Starting ClaraCore Service" + print_header "Starting JarvisCore Service" service_start ;; "stop") check_admin - print_header "Stopping ClaraCore Service" + print_header "Stopping JarvisCore Service" service_stop ;; "restart") check_admin - print_header "Restarting ClaraCore Service" + print_header "Restarting JarvisCore Service" service_restart ;; "enable") check_admin - print_header "Enabling ClaraCore Service" + print_header "Enabling JarvisCore Service" service_enable ;; "disable") check_admin - print_header "Disabling ClaraCore Service" + print_header "Disabling JarvisCore Service" service_disable ;; "logs") - print_header "ClaraCore Service Logs" + print_header "JarvisCore Service Logs" show_logs ;; "help"|"--help"|"-h") diff --git a/scripts/release.py b/scripts/release.py index 176ab08..bdf7137 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -ClaraCore Release Script +JarvisCore Release Script Build UI, cross-compile Go binaries for: - macOS (darwin/arm64) @@ -16,7 +16,7 @@ - Environment variable: GITHUB_TOKEN (or GH_TOKEN) Usage examples: - python3 scripts/release.py --tag v0.1.0 --name "ClaraCore v0.1.0" + python3 scripts/release.py --tag v0.1.0 --name "JarvisCore v0.1.0" python3 scripts/release.py --tag v0.1.0 --prerelease --notes "Beta preview" """ @@ -109,7 +109,7 @@ def get_repo_slug() -> str: def build_target(goos: str, goarch: str, out_dir: Path) -> Path: out_dir.mkdir(parents=True, exist_ok=True) - exe = "claracore.exe" if goos == "windows" else "claracore" + exe = "jarviscore.exe" if goos == "windows" else "jarviscore" out_path = out_dir / exe env = os.environ.copy() env["GOOS"] = goos @@ -124,7 +124,7 @@ def build_target(goos: str, goarch: str, out_dir: Path) -> Path: def stage_and_zip(goos: str, goarch: str, binary_path: Path, tag: str) -> Path: # Stage minimal files - name = f"claracore-{tag}-{goos}-{goarch}" + name = f"jarviscore-{tag}-{goos}-{goarch}" stage = DIST / name if stage.exists(): shutil.rmtree(stage) @@ -151,7 +151,7 @@ def gh_api(token: str, method: str, url: str, body: dict | None = None, headers: "Authorization": f"Bearer {token}", "X-GitHub-Api-Version": "2022-11-28", "Content-Type": "application/json", - "User-Agent": "claracore-release-script", + "User-Agent": "jarviscore-release-script", } if headers: h.update(headers) @@ -172,7 +172,7 @@ def gh_upload_asset(token: str, upload_url_template: str, asset_path: Path) -> N "Accept": "application/vnd.github+json", "Authorization": f"Bearer {token}", "Content-Type": "application/zip", - "User-Agent": "claracore-release-script", + "User-Agent": "jarviscore-release-script", } data = asset_path.read_bytes() req = Request(url, data=data, headers=headers, method="POST") @@ -205,7 +205,7 @@ def create_or_get_release(token: str, repo: str, tag: str, name: str, notes: str def main() -> None: - parser = argparse.ArgumentParser(description="Build and publish ClaraCore multi-platform release") + parser = argparse.ArgumentParser(description="Build and publish JarvisCore multi-platform release") parser.add_argument("--tag", required=True, help="Tag name for the release, e.g. v0.1.0") parser.add_argument("--name", default="", help="Release name (defaults to tag)") parser.add_argument("--notes", default="", help="Release notes/body") diff --git a/scripts/start-claracore.ps1 b/scripts/start-jarviscore.ps1 similarity index 80% rename from scripts/start-claracore.ps1 rename to scripts/start-jarviscore.ps1 index 059c544..a9ae28e 100644 --- a/scripts/start-claracore.ps1 +++ b/scripts/start-jarviscore.ps1 @@ -1,5 +1,5 @@ -# Quick Start Script for ClaraCore -# Use this if ClaraCore didn't start automatically after installation +# Quick Start Script for JarvisCore +# Use this if JarvisCore didn't start automatically after installation $ErrorActionPreference = "Stop" @@ -13,18 +13,18 @@ function Write-ColorOutput { } Write-Host "" -Write-ColorOutput "ClaraCore Quick Start" "Blue" +Write-ColorOutput "JarvisCore Quick Start" "Blue" Write-ColorOutput "=====================" "Blue" Write-Host "" -# Find ClaraCore installation +# Find JarvisCore installation $binaryPath = $null $configPath = $null # Check common locations $locations = @( - @{Binary = "$env:ProgramFiles\ClaraCore\claracore.exe"; Config = "$env:ProgramData\ClaraCore\config.yaml"}, - @{Binary = "$env:LOCALAPPDATA\ClaraCore\claracore.exe"; Config = "$env:APPDATA\ClaraCore\config.yaml"} + @{Binary = "$env:ProgramFiles\JarvisCore\jarviscore.exe"; Config = "$env:ProgramData\JarvisCore\config.yaml"}, + @{Binary = "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe"; Config = "$env:APPDATA\JarvisCore\config.yaml"} ) foreach ($loc in $locations) { @@ -36,14 +36,14 @@ foreach ($loc in $locations) { } if (-not $binaryPath) { - Write-ColorOutput "āŒ ClaraCore installation not found!" "Red" + Write-ColorOutput "āŒ JarvisCore installation not found!" "Red" Write-Host "" Write-ColorOutput "Please run the installer first:" "Yellow" Write-ColorOutput " .\install.ps1" "White" exit 1 } -Write-ColorOutput "Found ClaraCore at: $binaryPath" "Green" +Write-ColorOutput "Found JarvisCore at: $binaryPath" "Green" Write-Host "" # Check and fix config files @@ -78,7 +78,7 @@ Write-Host "" try { $response = Invoke-WebRequest -Uri "http://localhost:5800/" -TimeoutSec 2 -UseBasicParsing -ErrorAction SilentlyContinue if ($response.StatusCode -eq 200) { - Write-ColorOutput "āœ… ClaraCore is already running!" "Green" + Write-ColorOutput "āœ… JarvisCore is already running!" "Green" Write-Host "" Write-ColorOutput "Access the web interface at:" "Blue" Write-ColorOutput " http://localhost:5800/ui/" "Cyan" @@ -89,7 +89,7 @@ try { # Not running, continue } -Write-ColorOutput "Starting ClaraCore..." "Blue" +Write-ColorOutput "Starting JarvisCore..." "Blue" Write-Host "" # Try to unblock the binary first @@ -104,10 +104,10 @@ try { $serviceStarted = $false # Try Windows Service first (requires admin) -$service = Get-Service -Name "ClaraCore" -ErrorAction SilentlyContinue +$service = Get-Service -Name "JarvisCore" -ErrorAction SilentlyContinue if ($service) { try { - Start-Service -Name "ClaraCore" + Start-Service -Name "JarvisCore" Write-ColorOutput "āœ“ Started Windows Service" "Green" $serviceStarted = $true } catch { @@ -117,10 +117,10 @@ if ($service) { # Try Scheduled Task if (-not $serviceStarted) { - $task = Get-ScheduledTask -TaskName "ClaraCore" -ErrorAction SilentlyContinue + $task = Get-ScheduledTask -TaskName "JarvisCore" -ErrorAction SilentlyContinue if ($task) { try { - Start-ScheduledTask -TaskName "ClaraCore" + Start-ScheduledTask -TaskName "JarvisCore" Write-ColorOutput "āœ“ Started Scheduled Task" "Green" $serviceStarted = $true } catch { @@ -131,7 +131,7 @@ if (-not $serviceStarted) { # If no service, start manually if (-not $serviceStarted) { - Write-ColorOutput "Starting ClaraCore manually..." "Yellow" + Write-ColorOutput "Starting JarvisCore manually..." "Yellow" Write-Host "" try { @@ -145,10 +145,10 @@ if (-not $serviceStarted) { $process = [System.Diagnostics.Process]::Start($processInfo) - Write-ColorOutput "āœ“ Started ClaraCore process (PID: $($process.Id))" "Green" + Write-ColorOutput "āœ“ Started JarvisCore process (PID: $($process.Id))" "Green" Write-ColorOutput " Note: This is a manual start. Use the installer to set up auto-start." "Yellow" } catch { - Write-ColorOutput "āŒ Failed to start ClaraCore: $($_.Exception.Message)" "Red" + Write-ColorOutput "āŒ Failed to start JarvisCore: $($_.Exception.Message)" "Red" Write-Host "" Write-ColorOutput "Troubleshooting:" "Yellow" Write-ColorOutput "1. Unblock the binary:" "White" @@ -164,7 +164,7 @@ if (-not $serviceStarted) { # Wait for service to start Write-Host "" -Write-ColorOutput "Waiting for ClaraCore to initialize..." "Blue" +Write-ColorOutput "Waiting for JarvisCore to initialize..." "Blue" Start-Sleep -Seconds 5 # Check if accessible @@ -178,7 +178,7 @@ while ($attempt -lt $maxAttempts) { if ($response.StatusCode -eq 200) { Write-Host "" Write-Host "" - Write-ColorOutput "āœ… ClaraCore is running and accessible!" "Green" + Write-ColorOutput "āœ… JarvisCore is running and accessible!" "Green" Write-Host "" Write-ColorOutput "ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”" "Blue" Write-ColorOutput "│ Open your browser and visit: │" "Blue" @@ -198,12 +198,12 @@ while ($attempt -lt $maxAttempts) { Write-Host "" Write-Host "" -Write-ColorOutput "⚠ ClaraCore may still be starting up..." "Yellow" +Write-ColorOutput "⚠ JarvisCore may still be starting up..." "Yellow" Write-Host "" Write-ColorOutput "Try accessing the web interface in a moment:" "White" Write-ColorOutput " http://localhost:5800/ui/" "Cyan" Write-Host "" Write-ColorOutput "To check status:" "White" -Write-ColorOutput " .\scripts\claracore-service.ps1 status" "Cyan" +Write-ColorOutput " .\scripts\jarviscore-service.ps1 status" "Cyan" Write-Host "" diff --git a/scripts/start-claracore.sh b/scripts/start-jarviscore.sh similarity index 79% rename from scripts/start-claracore.sh rename to scripts/start-jarviscore.sh index 5362a37..504d775 100755 --- a/scripts/start-claracore.sh +++ b/scripts/start-jarviscore.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Quick Start Script for ClaraCore -# Use this if ClaraCore didn't start automatically after installation +# Quick Start Script for JarvisCore +# Use this if JarvisCore didn't start automatically after installation set -e @@ -13,7 +13,7 @@ CYAN='\033[0;36m' NC='\033[0m' # No Color echo "" -echo -e "${BLUE}ClaraCore Quick Start${NC}" +echo -e "${BLUE}JarvisCore Quick Start${NC}" echo -e "${BLUE}=====================${NC}" echo "" @@ -21,28 +21,28 @@ echo "" OS="$(uname)" if [[ "$OS" == "Linux" ]]; then PLATFORM="linux" - SERVICE_NAME="claracore" + SERVICE_NAME="jarviscore" elif [[ "$OS" == "Darwin" ]]; then PLATFORM="darwin" - SERVICE_NAME="com.claracore.server" + SERVICE_NAME="com.jarviscore.server" else echo -e "${RED}āŒ Unsupported operating system: $OS${NC}" exit 1 fi -# Find ClaraCore installation +# Find JarvisCore installation BINARY_PATH="" -CONFIG_PATH="$HOME/.config/claracore/config.yaml" +CONFIG_PATH="$HOME/.config/jarviscore/config.yaml" # Check common locations -if [[ -f "/usr/local/bin/claracore" ]]; then - BINARY_PATH="/usr/local/bin/claracore" -elif [[ -f "$HOME/.local/bin/claracore" ]]; then - BINARY_PATH="$HOME/.local/bin/claracore" +if [[ -f "/usr/local/bin/jarviscore" ]]; then + BINARY_PATH="/usr/local/bin/jarviscore" +elif [[ -f "$HOME/.local/bin/jarviscore" ]]; then + BINARY_PATH="$HOME/.local/bin/jarviscore" fi if [[ -z "$BINARY_PATH" ]]; then - echo -e "${RED}āŒ ClaraCore installation not found!${NC}" + echo -e "${RED}āŒ JarvisCore installation not found!${NC}" echo "" echo -e "${YELLOW}Please run the installer first:${NC}" echo -e " ${CYAN}bash install.sh${NC}" @@ -50,7 +50,7 @@ if [[ -z "$BINARY_PATH" ]]; then exit 1 fi -echo -e "${GREEN}Found ClaraCore at: $BINARY_PATH${NC}" +echo -e "${GREEN}Found JarvisCore at: $BINARY_PATH${NC}" echo "" # Check and fix config files @@ -82,7 +82,7 @@ echo "" # Check if already running if command -v curl >/dev/null 2>&1; then if curl -s -f "http://localhost:5800/" >/dev/null 2>&1; then - echo -e "${GREEN}āœ… ClaraCore is already running!${NC}" + echo -e "${GREEN}āœ… JarvisCore is already running!${NC}" echo "" echo -e "${BLUE}Access the web interface at:${NC}" echo -e " ${CYAN}http://localhost:5800/ui/${NC}" @@ -91,7 +91,7 @@ if command -v curl >/dev/null 2>&1; then fi fi -echo -e "${BLUE}Starting ClaraCore...${NC}" +echo -e "${BLUE}Starting JarvisCore...${NC}" echo "" # Try starting via service @@ -134,7 +134,7 @@ fi # If no service, start manually if [[ "$SERVICE_STARTED" == false ]]; then - echo -e "${YELLOW}Starting ClaraCore manually...${NC}" + echo -e "${YELLOW}Starting JarvisCore manually...${NC}" echo "" # Check if binary is executable @@ -144,16 +144,16 @@ if [[ "$SERVICE_STARTED" == false ]]; then fi # Start in background - nohup "$BINARY_PATH" --config "$CONFIG_PATH" > "$HOME/.config/claracore/logs/claracore.log" 2>&1 & + nohup "$BINARY_PATH" --config "$CONFIG_PATH" > "$HOME/.config/jarviscore/logs/jarviscore.log" 2>&1 & PROCESS_PID=$! - echo -e "${GREEN}āœ“ Started ClaraCore process (PID: $PROCESS_PID)${NC}" + echo -e "${GREEN}āœ“ Started JarvisCore process (PID: $PROCESS_PID)${NC}" echo -e "${YELLOW} Note: This is a manual start. Use the installer to set up auto-start.${NC}" fi # Wait for service to start echo "" -echo -e "${BLUE}Waiting for ClaraCore to initialize...${NC}" +echo -e "${BLUE}Waiting for JarvisCore to initialize...${NC}" sleep 3 # Check if accessible @@ -185,7 +185,7 @@ echo "" echo "" if [[ "$RUNNING" == true ]]; then - echo -e "${GREEN}āœ… ClaraCore is running and accessible!${NC}" + echo -e "${GREEN}āœ… JarvisCore is running and accessible!${NC}" echo "" echo -e "${BLUE}ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”${NC}" echo -e "${BLUE}│ Open your browser and visit: │${NC}" @@ -195,21 +195,21 @@ if [[ "$RUNNING" == true ]]; then echo -e "${BLUE}ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜${NC}" echo "" else - echo -e "${YELLOW}⚠ ClaraCore may still be starting up...${NC}" + echo -e "${YELLOW}⚠ JarvisCore may still be starting up...${NC}" echo "" echo -e "${CYAN}Try accessing the web interface in a moment:${NC}" echo -e " ${CYAN}http://localhost:5800/ui/${NC}" echo "" echo -e "${CYAN}To check status:${NC}" if [[ "$PLATFORM" == "linux" ]]; then - echo -e " ${CYAN}systemctl --user status claracore${NC}" - echo -e " ${CYAN}# or: sudo systemctl status claracore${NC}" + echo -e " ${CYAN}systemctl --user status jarviscore${NC}" + echo -e " ${CYAN}# or: sudo systemctl status jarviscore${NC}" else - echo -e " ${CYAN}launchctl list | grep claracore${NC}" + echo -e " ${CYAN}launchctl list | grep jarviscore${NC}" fi echo "" echo -e "${CYAN}To view logs:${NC}" - echo -e " ${CYAN}tail -f $HOME/.config/claracore/logs/claracore.error.log${NC}" + echo -e " ${CYAN}tail -f $HOME/.config/jarviscore/logs/jarviscore.error.log${NC}" echo "" fi diff --git a/scripts/troubleshoot.ps1 b/scripts/troubleshoot.ps1 index 0c7d1fe..0323503 100644 --- a/scripts/troubleshoot.ps1 +++ b/scripts/troubleshoot.ps1 @@ -1,4 +1,4 @@ -# ClaraCore Windows Troubleshooting Script +# JarvisCore Windows Troubleshooting Script # Fixes common Windows security and service issues param( @@ -20,11 +20,11 @@ function Write-ColorOutput { } } -function Find-ClaraInstallation { +function Find-JarvisInstallation { $paths = @( - "$env:LOCALAPPDATA\ClaraCore\claracore.exe", - "$env:ProgramFiles\ClaraCore\claracore.exe", - ".\claracore.exe" + "$env:LOCALAPPDATA\JarvisCore\jarviscore.exe", + "$env:ProgramFiles\JarvisCore\jarviscore.exe", + ".\jarviscore.exe" ) foreach ($path in $paths) { @@ -76,7 +76,7 @@ function Invoke-UnblockFile { function Show-Status { param([string]$Path) - Write-ColorOutput "=== ClaraCore Status ===" "Blue" + Write-ColorOutput "=== JarvisCore Status ===" "Blue" if ($Path) { Write-ColorOutput "Binary: $Path" "Green" @@ -93,7 +93,7 @@ function Show-Status { Write-ColorOutput "Binary: NOT FOUND" "Red" } - $service = Get-Service -Name "ClaraCore" -ErrorAction SilentlyContinue + $service = Get-Service -Name "JarvisCore" -ErrorAction SilentlyContinue if ($service) { Write-ColorOutput "Service: $($service.Status)" "White" } else { @@ -102,7 +102,7 @@ function Show-Status { } # Main execution -Write-ColorOutput "ClaraCore Troubleshooter" "Blue" +Write-ColorOutput "JarvisCore Troubleshooter" "Blue" Write-Host "" if (-not ($UnblockFile -or $FixService -or $ShowStatus -or $All)) { @@ -113,9 +113,9 @@ if (-not ($UnblockFile -or $FixService -or $ShowStatus -or $All)) { exit } -$binaryPath = Find-ClaraInstallation +$binaryPath = Find-JarvisInstallation if (-not $binaryPath) { - Write-ColorOutput "ClaraCore not found. Install it first." "Red" + Write-ColorOutput "JarvisCore not found. Install it first." "Red" exit 1 } diff --git a/scripts/uninstall.ps1 b/scripts/uninstall.ps1 index bc766c4..bde1de9 100644 --- a/scripts/uninstall.ps1 +++ b/scripts/uninstall.ps1 @@ -1,5 +1,5 @@ -# ClaraCore Windows Uninstall Script -# Removes ClaraCore installation and Windows Service +# JarvisCore Windows Uninstall Script +# Removes JarvisCore installation and Windows Service param( [switch]$RemoveConfig = $false, @@ -38,43 +38,43 @@ function Test-AdminRights { return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) } -function Find-ClaraInstallations { - Write-ColorOutput "Finding ClaraCore installations..." "Blue" +function Find-JarvisInstallations { + Write-ColorOutput "Finding JarvisCore installations..." "Blue" $installations = @() # Check system-wide installation - $systemPath = "$env:ProgramFiles\ClaraCore" - if (Test-Path (Join-Path $systemPath "claracore.exe")) { + $systemPath = "$env:ProgramFiles\JarvisCore" + if (Test-Path (Join-Path $systemPath "jarviscore.exe")) { $installations += @{ Type = "System" Path = $systemPath - ConfigPath = "$env:ProgramData\ClaraCore" - Binary = Join-Path $systemPath "claracore.exe" + ConfigPath = "$env:ProgramData\JarvisCore" + Binary = Join-Path $systemPath "jarviscore.exe" } } # Check user installation - $userPath = "$env:LOCALAPPDATA\ClaraCore" - if (Test-Path (Join-Path $userPath "claracore.exe")) { + $userPath = "$env:LOCALAPPDATA\JarvisCore" + if (Test-Path (Join-Path $userPath "jarviscore.exe")) { $installations += @{ Type = "User" Path = $userPath - ConfigPath = "$env:APPDATA\ClaraCore" - Binary = Join-Path $userPath "claracore.exe" + ConfigPath = "$env:APPDATA\JarvisCore" + Binary = Join-Path $userPath "jarviscore.exe" } } # Check PATH for other installations $pathDirs = $env:PATH -split ";" foreach ($dir in $pathDirs) { - $claraPath = Join-Path $dir "claracore.exe" - if ((Test-Path $claraPath) -and ($claraPath -notin $installations.Binary)) { + $jarvisPath = Join-Path $dir "jarviscore.exe" + if ((Test-Path $jarvisPath) -and ($jarvisPath -notin $installations.Binary)) { $installations += @{ Type = "Custom" Path = $dir ConfigPath = "" - Binary = $claraPath + Binary = $jarvisPath } } } @@ -82,10 +82,10 @@ function Find-ClaraInstallations { return $installations } -function Stop-ClaraProcesses { - Write-ColorOutput "Stopping ClaraCore processes..." "Blue" +function Stop-JarvisProcesses { + Write-ColorOutput "Stopping JarvisCore processes..." "Blue" - $processes = Get-Process -Name "claracore" -ErrorAction SilentlyContinue + $processes = Get-Process -Name "jarviscore" -ErrorAction SilentlyContinue if ($processes) { foreach ($process in $processes) { try { @@ -101,9 +101,9 @@ function Stop-ClaraProcesses { } function Remove-WindowsService { - Write-ColorOutput "Removing ClaraCore service..." "Blue" + Write-ColorOutput "Removing JarvisCore service..." "Blue" - $serviceName = "ClaraCore" + $serviceName = "JarvisCore" $serviceRemoved = $false # Check and remove Windows Service @@ -193,7 +193,7 @@ function Remove-Installation { } function Remove-DesktopShortcut { - $shortcutPath = Join-Path $env:USERPROFILE "Desktop\ClaraCore.lnk" + $shortcutPath = Join-Path $env:USERPROFILE "Desktop\JarvisCore.lnk" if (Test-Path $shortcutPath) { Remove-Item $shortcutPath -Force Write-ColorOutput "Removed desktop shortcut" "Green" @@ -208,7 +208,7 @@ function Confirm-Uninstall { } Write-Host "" - Write-ColorOutput "The following ClaraCore installations will be removed:" "Yellow" + Write-ColorOutput "The following JarvisCore installations will be removed:" "Yellow" foreach ($install in $Installations) { Write-ColorOutput " - $($install.Type): $($install.Path)" "White" } @@ -229,13 +229,13 @@ function Confirm-Uninstall { } function Main { - Write-Header "ClaraCore Windows Uninstaller" + Write-Header "JarvisCore Windows Uninstaller" # Find installations - $installations = Find-ClaraInstallations + $installations = Find-JarvisInstallations if ($installations.Count -eq 0) { - Write-ColorOutput "No ClaraCore installations found" "Yellow" + Write-ColorOutput "No JarvisCore installations found" "Yellow" exit 0 } @@ -247,7 +247,7 @@ function Main { try { # Stop processes - Stop-ClaraProcesses + Stop-JarvisProcesses # Remove Windows Service Remove-WindowsService diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index 01f9680..b62c0f1 100644 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -1,5 +1,5 @@ #!/bin/bash -# ClaraCore Uninstallation Script +# JarvisCore Uninstallation Script # Supports Linux and macOS with automatic service removal set -e @@ -23,11 +23,11 @@ OS="$(uname)" if [[ "$OS" == "Linux" ]]; then PLATFORM="linux" SERVICE_MANAGER="systemd" - SERVICE_NAME="claracore" + SERVICE_NAME="jarviscore" elif [[ "$OS" == "Darwin" ]]; then PLATFORM="darwin" SERVICE_MANAGER="launchd" - SERVICE_NAME="com.claracore.server" + SERVICE_NAME="com.jarviscore.server" else error "Unsupported operating system: $OS" fi @@ -42,14 +42,14 @@ if [[ $EUID -ne 0 ]]; then fi echo -e "${BLUE}╔══════════════════════════════════════╗${NC}" -echo -e "${BLUE}ā•‘ ClaraCore Uninstaller ā•‘${NC}" +echo -e "${BLUE}ā•‘ JarvisCore Uninstaller ā•‘${NC}" echo -e "${BLUE}ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•${NC}" echo # Stop and remove service if [[ "$PLATFORM" == "linux" ]]; then if available systemctl; then - status "Stopping ClaraCore systemd service..." + status "Stopping JarvisCore systemd service..." # Check user service first if systemctl --user is-active --quiet "$SERVICE_NAME" 2>/dev/null; then @@ -70,7 +70,7 @@ if [[ "$PLATFORM" == "linux" ]]; then fi fi elif [[ "$PLATFORM" == "darwin" ]]; then - status "Stopping ClaraCore launchd service..." + status "Stopping JarvisCore launchd service..." # Check user LaunchAgent USER_PLIST="$HOME/Library/LaunchAgents/$SERVICE_NAME.plist" @@ -90,18 +90,18 @@ elif [[ "$PLATFORM" == "darwin" ]]; then fi # Remove binary -status "Removing ClaraCore binary..." +status "Removing JarvisCore binary..." # Check common binary locations BINARY_REMOVED=false -if [[ -f "/usr/local/bin/claracore" ]]; then - $SUDO rm -f "/usr/local/bin/claracore" +if [[ -f "/usr/local/bin/jarviscore" ]]; then + $SUDO rm -f "/usr/local/bin/jarviscore" BINARY_REMOVED=true fi -if [[ -f "$HOME/.local/bin/claracore" ]]; then - rm -f "$HOME/.local/bin/claracore" +if [[ -f "$HOME/.local/bin/jarviscore" ]]; then + rm -f "$HOME/.local/bin/jarviscore" BINARY_REMOVED=true fi @@ -112,7 +112,7 @@ else fi # Ask about config files -CONFIG_DIR="$HOME/.config/claracore" +CONFIG_DIR="$HOME/.config/jarviscore" if [[ -d "$CONFIG_DIR" ]]; then echo echo -e "${YELLOW}Configuration directory found: $CONFIG_DIR${NC}" @@ -133,12 +133,12 @@ echo -e "${GREEN}╔════════════════════ echo -e "${GREEN}ā•‘ Uninstallation Completed! ā•‘${NC}" echo -e "${GREEN}ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•${NC}" echo -echo -e "${BLUE}ClaraCore has been removed from your system.${NC}" +echo -e "${BLUE}JarvisCore has been removed from your system.${NC}" echo # Check if any processes are still running -if pgrep -x "claracore" > /dev/null; then - warning "ClaraCore processes are still running" +if pgrep -x "jarviscore" > /dev/null; then + warning "JarvisCore processes are still running" echo -e "${YELLOW}You may want to manually stop them:${NC}" - echo -e " ${BLUE}pkill claracore${NC}" + echo -e " ${BLUE}pkill jarviscore${NC}" fi diff --git a/scripts/verify-download.ps1 b/scripts/verify-download.ps1 index c27ad54..837152c 100644 --- a/scripts/verify-download.ps1 +++ b/scripts/verify-download.ps1 @@ -1,5 +1,5 @@ -# ClaraCore Download Verification Script -# Helps users verify the integrity of downloaded ClaraCore binaries +# JarvisCore Download Verification Script +# Helps users verify the integrity of downloaded JarvisCore binaries param( [Parameter(Mandatory=$true)] @@ -11,7 +11,7 @@ param( Write-Host "" Write-Host "========================================" -ForegroundColor Cyan -Write-Host " ClaraCore Download Verification" -ForegroundColor Cyan +Write-Host " JarvisCore Download Verification" -ForegroundColor Cyan Write-Host "========================================" -ForegroundColor Cyan Write-Host "" diff --git a/ui/index.html b/ui/index.html index d0814e0..46e4150 100644 --- a/ui/index.html +++ b/ui/index.html @@ -8,7 +8,7 @@ - Clara Core + Jarvis Core
diff --git a/ui/misc/.!30814!logo.acorn b/ui/misc/.!30814!logo.acorn new file mode 100644 index 0000000..e69de29 diff --git a/ui/package-lock.json b/ui/package-lock.json index 0b065af..7d5169f 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -100,6 +100,7 @@ "integrity": "sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.27.1", @@ -1717,6 +1718,7 @@ "integrity": "sha512-JeG0rEWak0N6Itr6QUx+X60uQmN+5t3j9r/OVDtWzFXKaj6kD1BwJzOksD0FF6iWxZlbE1kB0q9vtnU2ekqa1Q==", "devOptional": true, "license": "MIT", + "peer": true, "dependencies": { "csstype": "^3.0.2" } @@ -1777,6 +1779,7 @@ "integrity": "sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.33.1", "@typescript-eslint/types": "8.33.1", @@ -2028,6 +2031,7 @@ "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2218,6 +2222,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001718", "electron-to-chromium": "^1.5.160", @@ -2412,7 +2417,8 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/debug": { "version": "4.4.1", @@ -2446,7 +2452,6 @@ "dev": true, "license": "Apache-2.0", "optional": true, - "peer": true, "engines": { "node": ">=8" } @@ -2550,6 +2555,7 @@ "integrity": "sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", @@ -3163,18 +3169,6 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/jiti": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz", - "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "bin": { - "jiti": "lib/jiti-cli.mjs" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -3266,37 +3260,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lightningcss": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.1.tgz", - "integrity": "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==", - "dev": true, - "license": "MPL-2.0", - "optional": true, - "peer": true, - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-darwin-arm64": "1.30.1", - "lightningcss-darwin-x64": "1.30.1", - "lightningcss-freebsd-x64": "1.30.1", - "lightningcss-linux-arm-gnueabihf": "1.30.1", - "lightningcss-linux-arm64-gnu": "1.30.1", - "lightningcss-linux-arm64-musl": "1.30.1", - "lightningcss-linux-x64-gnu": "1.30.1", - "lightningcss-linux-x64-musl": "1.30.1", - "lightningcss-win32-arm64-msvc": "1.30.1", - "lightningcss-win32-x64-msvc": "1.30.1" - } - }, "node_modules/lightningcss-darwin-arm64": { "version": "1.30.1", "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.1.tgz", @@ -3310,7 +3273,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3332,7 +3294,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3354,7 +3315,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3376,7 +3336,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3398,7 +3357,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3420,7 +3378,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3442,7 +3399,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3464,7 +3420,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3486,7 +3441,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3508,7 +3462,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -3892,6 +3845,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -4073,6 +4027,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -4082,6 +4037,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.26.0" }, @@ -4094,6 +4050,7 @@ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.63.0.tgz", "integrity": "sha512-ZwueDMvUeucovM2VjkCf7zIHcs1aAlDimZu2Hvel5C5907gUzMpm4xCrQXtRzCvsBqFjonB4m3x4LzCFI1ZKWA==", "license": "MIT", + "peer": true, "engines": { "node": ">=18.0.0" }, @@ -4667,6 +4624,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -4748,6 +4706,7 @@ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -4840,6 +4799,7 @@ "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -4930,6 +4890,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, diff --git a/ui/public/.!30862!favicon.ico b/ui/public/.!30862!favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/.!30870!web-app-manifest-192x192.png b/ui/public/.!30870!web-app-manifest-192x192.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/.!30878!apple-touch-icon.png b/ui/public/.!30878!apple-touch-icon.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/.!30886!web-app-manifest-512x512.png b/ui/public/.!30886!web-app-manifest-512x512.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/.!30902!logo.png b/ui/public/.!30902!logo.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/.!30910!favicon-96x96.png b/ui/public/.!30910!favicon-96x96.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/public/site.webmanifest b/ui/public/site.webmanifest index 1f780da..2d4ac9c 100644 --- a/ui/public/site.webmanifest +++ b/ui/public/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "ClaraCore - AI Model Manager", - "short_name": "ClaraCore", + "name": "JarvisCore - AI Model Manager", + "short_name": "JarvisCore", "description": "Advanced AI model management and proxy server", "icons": [ { diff --git a/ui/src/assets/.!31180!logo.png b/ui/src/assets/.!31180!logo.png new file mode 100644 index 0000000..e69de29 diff --git a/ui/src/components/Header.tsx b/ui/src/components/Header.tsx index c744de9..f939e25 100644 --- a/ui/src/components/Header.tsx +++ b/ui/src/components/Header.tsx @@ -136,7 +136,7 @@ export function Header() { animate={{ y: 0, opacity: 1 }} className="flex items-center justify-between bg-surface/80 backdrop-blur-md border-b border-border-secondary px-6 py-3 h-16 sticky top-0 z-50" > - {/* ClaraCore Branding */} + {/* JarvisCore Branding */} ClaraCore Logo

- ClaraCore + JarvisCore

{screenWidth !== "xs" && ( diff --git a/ui/src/contexts/APIProvider.tsx b/ui/src/contexts/APIProvider.tsx index 8215010..1c008fe 100644 --- a/ui/src/contexts/APIProvider.tsx +++ b/ui/src/contexts/APIProvider.tsx @@ -310,7 +310,7 @@ export function APIProvider({ children, autoStartAPIEvents = true }: APIProvider {children} {/* API Key Modal */} - +
("disconnected"); /** diff --git a/ui/src/index.css b/ui/src/index.css index dc9d237..d477f59 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -8,7 +8,7 @@ border-width: 0 !important; } -/* ClaraCore Design System - Unified Dark Theme */ +/* JarvisCore Design System - Unified Dark Theme */ :root { /* Brand Colors - Sakura Theme */ --brand-50: #fdf2f8; diff --git a/ui/src/pages/ComponentsDemo.tsx b/ui/src/pages/ComponentsDemo.tsx index 2292553..d8cfb4f 100644 --- a/ui/src/pages/ComponentsDemo.tsx +++ b/ui/src/pages/ComponentsDemo.tsx @@ -69,7 +69,7 @@ const ComponentsDemo: React.FC = () => {
-

ClaraCore UI

+

JarvisCore UI

Modern Component Library Demo

@@ -125,7 +125,7 @@ const ComponentsDemo: React.FC = () => { >

Component Showcase

- Explore the modern UI components built for ClaraCore + Explore the modern UI components built for JarvisCore

diff --git a/ui/src/pages/Configuration.old.tsx b/ui/src/pages/Configuration.old.tsx index fe2de48..6fb22e5 100644 --- a/ui/src/pages/Configuration.old.tsx +++ b/ui/src/pages/Configuration.old.tsx @@ -261,7 +261,7 @@ const Configuration: React.FC = () => { const generateYAMLConfig = (models: ConfiguredModel[]): string => { // This is a simplified YAML generation - in a real implementation you'd want proper YAML formatting - let yaml = `# Auto-generated ClaraCore configuration + let yaml = `# Auto-generated JarvisCore configuration healthCheckTimeout: 300 logLevel: info startPort: 5800 @@ -386,7 +386,7 @@ ${models.map(model => ` - "${model.id}"`).join('\n')}

- šŸ‘‹ New to ClaraCore? Let's get you started! + šŸ‘‹ New to JarvisCore? Let's get you started!

Our guided setup will help you configure your models in just a few clicks. @@ -547,7 +547,7 @@ ${models.map(model => ` - "${model.id}"`).join('\n')} 2. Configured Models

- Models ready to use in ClaraCore + Models ready to use in JarvisCore diff --git a/ui/src/pages/ModelDownloader.tsx b/ui/src/pages/ModelDownloader.tsx index a1a7555..d5faaff 100644 --- a/ui/src/pages/ModelDownloader.tsx +++ b/ui/src/pages/ModelDownloader.tsx @@ -397,7 +397,7 @@ const ModelDownloaderPage: React.FC = () => { headers['Authorization'] = `Bearer ${hfApiKey}`; } - // Automatically add "GGUF" to search if not already present since ClaraCore only supports GGUF + // Automatically add "GGUF" to search if not already present since JarvisCore only supports GGUF let enhancedQuery = searchQuery.trim(); if (!enhancedQuery.toLowerCase().includes('gguf')) { enhancedQuery = `${enhancedQuery} GGUF`; @@ -1249,7 +1249,7 @@ const ModelDownloaderPage: React.FC = () => { ) : (

No GGUF files found for this model.

-

ClaraCore only supports GGUF format models. Try searching for models with "GGUF" in the name.

+

JarvisCore only supports GGUF format models. Try searching for models with "GGUF" in the name.

); })()} diff --git a/ui/src/pages/OnboardConfig.tsx b/ui/src/pages/OnboardConfig.tsx index e2fcdfd..f8a7b60 100644 --- a/ui/src/pages/OnboardConfig.tsx +++ b/ui/src/pages/OnboardConfig.tsx @@ -449,7 +449,7 @@ const OnboardConfig: React.FC = () => { const steps = [ { - title: "Welcome to ClaraCore Setup! šŸš€", + title: "Welcome to JarvisCore Setup! šŸš€", description: "Let's get you set up with your AI models in just a few steps", component: (
@@ -1324,7 +1324,7 @@ const OnboardConfig: React.FC = () => { }, { title: "Setup Complete! šŸŽ‰", - description: "Your ClaraCore configuration has been generated", + description: "Your JarvisCore configuration has been generated", component: (
{ size="lg" icon={} > - Start Using ClaraCore + Start Using JarvisCore
diff --git a/ui/tailwind.config.js b/ui/tailwind.config.js index 5b1a619..a3ec284 100644 --- a/ui/tailwind.config.js +++ b/ui/tailwind.config.js @@ -8,7 +8,7 @@ export default { theme: { extend: { colors: { - // Modern Brand Colors - ClaraCore + // Modern Brand Colors - JarvisCore brand: { 50: '#fdf2f8', 100: '#fce7f3',