c118996746
- SwiftUI macOS app with C++17 code analysis engine (ObjC++ bridge) - Agentic AI loop: LLM plans → tool calls → execution → feedback loop - 15 agent tools: file ops, terminal, git, xcode build, code intel - 7 persistent terminal tools with background session management - Chat sidebar with agent step rendering and auto-apply - NVIDIA NIM API integration (Llama 3.3 70B default) - OpenAI tool_calls format with prompt-based fallback - Code editor with syntax highlighting and multi-tab support - File tree, console view, terminal view - Git integration and workspace management
38 lines
1.3 KiB
Bash
Executable File
38 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# ──────────────────────────────────────────────────────────────────
|
|
# CxIDE — Clean Build Artifacts
|
|
# ──────────────────────────────────────────────────────────────────
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
|
|
|
RED='\033[0;31m'; GREEN='\033[0;32m'; CYAN='\033[0;36m'; RESET='\033[0m'
|
|
info() { printf "${CYAN}▸${RESET} %s\n" "$*"; }
|
|
ok() { printf "${GREEN}✓${RESET} %s\n" "$*"; }
|
|
|
|
info "Cleaning build artifacts..."
|
|
|
|
# IDE build artifacts
|
|
if [[ -d "$ROOT_DIR/.build" ]]; then
|
|
rm -rf "$ROOT_DIR/.build"
|
|
ok "Removed .build/"
|
|
fi
|
|
|
|
# CxSwiftAgent build
|
|
if [[ -d "$ROOT_DIR/CxSwiftAgent/.build" ]]; then
|
|
rm -rf "$ROOT_DIR/CxSwiftAgent/.build"
|
|
ok "Removed CxSwiftAgent/.build/"
|
|
fi
|
|
|
|
# Xcode derived data (if applicable)
|
|
if [[ -d "$ROOT_DIR/DerivedData" ]]; then
|
|
rm -rf "$ROOT_DIR/DerivedData"
|
|
ok "Removed DerivedData/"
|
|
fi
|
|
|
|
# .DS_Store files
|
|
find "$ROOT_DIR" -name ".DS_Store" -type f -delete 2>/dev/null || true
|
|
ok "Removed .DS_Store files"
|
|
|
|
ok "Clean complete"
|