mirror of
https://github.com/hanzoai/ide.git
synced 2026-10-30 18:33:54 +00:00
A ground-up desktop IDE: the Engram memory system, tree-sitter code intelligence, a sandboxed execution engine and a multi-agent coding engine, all in compiled Rust, on the VS Code workbench. Identity is Hanzo IAM (hanzo.id) through the Hanzo CLI, tools arrive over MCP from `hanzo-mcp`, models come from a local engine if one is running or api.hanzo.ai if not, and a running editor is a peer on the local ZAP bus at ~/.hanzo/ide.sock. The IDE and the CLI share one home at ~/.hanzo. Redistributed third-party software is listed in THIRD-PARTY-NOTICES.md.
24 lines
758 B
Rust
24 lines
758 B
Rust
// Single integration test binary — consolidates all test files to avoid
|
|
// linking 4 separate 700MB binaries (OOM on codespace).
|
|
//
|
|
// Run with: cargo test --test integration
|
|
//
|
|
// Each module retains its original tests unchanged.
|
|
|
|
use hanzo_engine::engine::sessions::SessionStore;
|
|
use rusqlite::Connection;
|
|
|
|
/// Shared test helper: in-memory SessionStore.
|
|
pub fn test_store() -> SessionStore {
|
|
let conn = Connection::open_in_memory().expect("Failed to open in-memory DB");
|
|
conn.execute_batch("PRAGMA journal_mode=WAL;").ok();
|
|
hanzo_engine::engine::sessions::schema_for_testing(&conn);
|
|
SessionStore::from_connection(conn)
|
|
}
|
|
|
|
mod config_persistence;
|
|
mod loop_detection;
|
|
mod memory_roundtrip;
|
|
mod session_lifecycle;
|
|
mod tool_classification;
|