Skip to content

Commit 93ebcd5

Browse files
committed
refactor: Use git dependencies instead of local paths
- Remove local crates/* directory (using git deps instead) - Update desktop/src-tauri/Cargo.toml to use git dependencies - Fix regex version conflict with explicit dependency - Update workspace to only include desktop/src-tauri - Remove server crates from desktop repo This allows terraphim-ai-desktop to be a standalone repository while still using the latest code from terraphim-ai main branch.
1 parent cff6b3e commit 93ebcd5

164 files changed

Lines changed: 570 additions & 58302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 554 additions & 5342 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

22
[workspace]
33
resolver = "2"
4-
members = ["crates/*", "terraphim_server", "terraphim_firecracker", "desktop/src-tauri", "terraphim_ai_nodejs"]
5-
exclude = ["crates/terraphim_agent_application", "crates/terraphim_truthforge", "crates/terraphim_validation", "crates/terraphim_rlm", "crates/terraphim_automata_py"] # Experimental crates (RLM feature-gated); automata_py is a PyO3 extension module -- build with `maturin develop` instead of cargo
6-
default-members = ["terraphim_server"]
4+
members = ["desktop/src-tauri"]
5+
default-members = ["desktop/src-tauri"]
76

87
[workspace.package]
98
version = "1.8.0"

desktop/src-tauri/Cargo.toml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ path = "src/bin/generate-bindings.rs"
2323
tauri-build = { version = "1.5.5", features = [] }
2424

2525
[dependencies]
26-
terraphim_automata = { path = "../../crates/terraphim_automata", version = "1.0.0", features = ["typescript"] }
27-
terraphim_atomic_client = { path = "../../crates/terraphim_atomic_client", version = "1.0.0", features = ["native"], optional = true }
28-
terraphim_config = { path = "../../crates/terraphim_config", version = "1.0.0", features = ["typescript"] }
29-
terraphim_middleware = { path = "../../crates/terraphim_middleware", version = "1.0.0" }
30-
terraphim_rolegraph = { path = "../../crates/terraphim_rolegraph", version = "1.0.0" }
31-
terraphim_settings = { path = "../../crates/terraphim_settings", version = "1.0.0", features = ["onepassword"] }
32-
terraphim_onepassword_cli = { path = "../../crates/terraphim_onepassword_cli", version = "1.0.0" }
33-
terraphim_types = { path = "../../crates/terraphim_types", version = "1.0.0", features = ["typescript"] }
34-
terraphim_persistence = { path = "../../crates/terraphim_persistence", version = "1.0.0" }
35-
terraphim_service = { path = "../../crates/terraphim_service", version = "1.0.0" }
36-
terraphim_mcp_server = { path = "../../crates/terraphim_mcp_server", version = "1.0.0" }
26+
# Force consistent regex version across all git dependencies
27+
regex = "^1.12.3"
28+
29+
terraphim_automata = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main", features = ["typescript"] }
30+
terraphim_atomic_client = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main", features = ["native"], optional = true }
31+
terraphim_config = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main", features = ["typescript"] }
32+
terraphim_middleware = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
33+
terraphim_rolegraph = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
34+
terraphim_settings = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main", features = ["onepassword"] }
35+
terraphim_onepassword_cli = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
36+
terraphim_types = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main", features = ["typescript"] }
37+
terraphim_persistence = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
38+
terraphim_service = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
39+
terraphim_mcp_server = { git = "https://github.com/terraphim/terraphim-ai.git", branch = "main" }
3740
rmcp = { version = "0.9.0", features = ["server"] }
3841
serde_json_any_key = "2.0.0"
3942
anyhow = "1.0.81"

terraphim_ai_nodejs/.github/workflows/CI.yml

Lines changed: 0 additions & 267 deletions
This file was deleted.

0 commit comments

Comments
 (0)