Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2354fa0
feat: Comprehensive TUI validation and test infrastructure improvements
AlexMikhalev Nov 11, 2025
ebc4844
feat: add comprehensive TUI validation infrastructure
AlexMikhalev Nov 11, 2025
19f517d
feat(tui): add build script and complete Phase 1 stabilization
AlexMikhalev Nov 12, 2025
4bbd6e3
feat(tui): implement comprehensive web operations support
AlexMikhalev Nov 12, 2025
9ec8023
docs: comprehensive TUI remediation session summary
AlexMikhalev Nov 12, 2025
82ff64e
Phase 2D Complete: CI Test Matrix Integration and TUI Remediation
AlexMikhalev Nov 13, 2025
e812879
feat(tui): complete comprehensive VM handler integration and fix comp…
AlexMikhalev Nov 13, 2025
774ba38
fix(deps): update rust-genai and Rust toolchain to resolve compilatio…
AlexMikhalev Nov 13, 2025
ba1a83a
fix(tui): resolve compilation errors and clean up unused imports
AlexMikhalev Nov 13, 2025
9bbf4b5
fix(tests): resolve test failures across multiple crates
AlexMikhalev Nov 14, 2025
2f2f4fc
fix(tests): complete resolution of failing tests - 8/8 tests resolved
AlexMikhalev Nov 14, 2025
9006641
fix(tui): improve markdown content preservation with pulldown-cmark A…
AlexMikhalev Nov 14, 2025
1d498a8
feat(tui): integrate terraphim-automata for enhanced command discovery
AlexMikhalev Nov 14, 2025
aac0ac5
feat(tui): add comprehensive term extraction to markdown parser
AlexMikhalev Nov 14, 2025
98a7709
feat(tui): integrate terraphim-automata for enhanced markdown parsing…
AlexMikhalev Nov 14, 2025
3ea56e9
fix(tui): resolve markdown parsing and keyword extraction test failures
AlexMikhalev Nov 14, 2025
615764c
fix(tui): complete terraphim automata learning system fixes
AlexMikhalev Nov 14, 2025
33a4fcc
fix(tests): resolve failing LLM proxy and thesaurus persistence tests
AlexMikhalev Nov 14, 2025
5919eb6
fix: resolve all pre-commit check failures
AlexMikhalev Nov 16, 2025
1bc0c30
feat(infra): enhance cross-compilation configuration and build system…
AlexMikhalev Nov 16, 2025
9e25007
fix(tui): improve command system reliability and test infrastructure
AlexMikhalev Nov 16, 2025
5a30469
feat(service): enhance LLM proxy testing and configuration organization
AlexMikhalev Nov 16, 2025
b1ca3c1
docs: update TUI remediation progress documentation
AlexMikhalev Nov 16, 2025
38da9b7
chore: clean up repository and update development files
AlexMikhalev Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 95 additions & 5 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,95 @@
[profile.release]
panic = "unwind"
opt-level = 3
lto = true
codegen-units = 1
# Cargo configuration for Terraphim AI project
# Based on patterns from ripgrep and jiff for consistent cross-compilation

# Use default crate registry configuration
# Note: Vendor directory disabled - using standard crates.io registry
# This ensures compatibility with standard cargo workflows

# Target-specific configurations for cross-compilation
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

[target.armv7-unknown-linux-musleabihf]
linker = "arm-linux-musleabihf-gcc"

[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"

[target.powerpc64le-unknown-linux-gnu]
linker = "powerpc64le-linux-gnu-gcc"

[target.riscv64gc-unknown-linux-gnu]
linker = "riscv64-linux-gnu-gcc"

# Optimized rustflags for specific targets
# Comment these out if not needed to avoid conflicts
# [target.x86_64-pc-windows-msvc]
# rustflags = "-C target-feature=+crt-static"

# [target.x86_64-unknown-linux-gnu]
# rustflags = "-C target-cpu=native -C link-arg=-Wl,--as-needed"

# [target.aarch64-apple-darwin]
# rustflags = "-C target-cpu=apple-m1 -C link-arg=-Wl,--as-needed"

# [target.x86_64-apple-darwin]
# rustflags = "-C target-cpu=native -C link-arg=-Wl,--as-needed"

# Build configuration
[build]
# Default target for builds
target = "x86_64-unknown-linux-gnu"

# Cross-compilation settings (commented out - let cross-rs handle Docker images)
# The cross-rs tool automatically manages Docker images for cross-compilation
# Uncomment and customize if you need specific image overrides

# Registry configuration
[registry]
# Use sparse protocol for faster downloads
crates-io = { protocol = "sparse" }

# Network configuration
[http]
# Check for newer versions
check-revoke = false

# Installation configuration
[net]
# Use GitHub's API for dependency resolution
git-fetch-with-cli = true

# Doc configuration
[doc]
# Browser to use for documentation
browser = ["firefox", "google-chrome", "safari"]

# FFI configuration for TUI and other native dependencies
# Comment these out if not needed to avoid conflicts
# [target.x86_64-unknown-linux-gnu.ffi]
# rustflags = "-L /usr/lib/x86_64-linux-gnu"

# [target.aarch64-unknown-linux-gnu.ffi]
# rustflags = "-L /usr/lib/aarch64-linux-gnu"

# WASM configuration
# [target.wasm32-unknown-unknown]
# WebAssembly configuration
# rustflags = "-C opt-level=3 -C target-feature=+bulk-memory -C lto=fat"

# Testing configuration
[term]
# Use colored output
color = "auto"

# Quiet output for cargo
quiet = false

# Verbose output
verbose = false
9 changes: 9 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TERRAPHIM_SERVER_PORT=8000
ATOMIC_SERVER_URL=http://localhost:9883
ATOMIC_SERVER_SECRET=test-secret-key
MCP_SERVER_URL=http://localhost:8001
OLLAMA_BASE_URL=http://127.0.0.1:11434
OLLAMA_MODEL=llama3.2:3b
TEST_MODE=true
RUST_LOG=info
TERRAPHIM_INITIALIZED=true
27 changes: 15 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ anyhow = "1.0"
log = "0.4"

[patch.crates-io]
genai = { git = "https://github.com/terraphim/rust-genai.git", branch = "main" }
genai = { git = "https://github.com/terraphim/rust-genai.git", branch = "merge-upstream-20251103" }

[profile.release]
panic = "unwind"
lto = false
codegen-units = 1
opt-level = 3

# Optimized release profile for production builds (like ripgrep)
[profile.release-lto]
inherits = "release"
lto = true
codegen-units = 1
opt-level = 3
panic = "abort"
Loading
Loading