diff --git a/package.json b/package.json index dc22197..13315f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "temp_app", + "name": "telos-db", "private": true, - "version": "0.0.0", + "version": "0.2.5", "type": "module", "scripts": { "tauri": "tauri" @@ -10,10 +10,17 @@ "@modelcontextprotocol/sdk": "^1.26.0", "@tauri-apps/api": "^2.10.1", "@tauri-apps/cli": "^2.10.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "axios": "^1.13.5", "better-sqlite3": "^12.6.2", + "eventsource": "^4.1.0", "sqlite-vec-windows-x64": "^0.1.7-alpha.2" }, "devDependencies": { - "prettier": "^3.8.1" + "prettier": "^3.8.1", + "typescript": "^5.2.2", + "@types/react": "^18.2.21", + "@types/react-dom": "^18.2.7" } -} +} \ No newline at end of file diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 16412a6..4f565d3 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,13 +1,14 @@ [package] name = "app" -version = "0.1.0" +version = "0.2.5" description = "A Tauri App" authors = ["you"] license = "" repository = "" edition = "2021" rust-version = "1.77.2" +default-run = "app" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -22,7 +23,7 @@ serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } log = "0.4" -tauri = { version = "2.10.2", features = [] } +tauri = { version = "2.10.2", features = ["tray-icon"] } tauri-plugin-log = "2.8.0" # Database rusqlite = { version = "0.32", features = ["bundled", "load_extension"] } @@ -43,3 +44,5 @@ libsqlite3-sys = { version = "*", features = ["bundled"] } # Force bundled sqlite uuid = { version = "1", features = ["v4"] } +[dev-dependencies] +tempfile = "3.10" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 7085000..309cc64 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", - "productName": "temp_apptelos-db", - "version": "0.1.0", + "productName": "TelosDB", + "version": "0.2.5", "identifier": "com.telosdb.app", "build": { "frontendDist": "../src" @@ -9,7 +9,7 @@ "app": { "windows": [ { - "title": "temp_appTelosDB", + "title": "TelosDB", "width": 800, "height": 600, "resizable": true, @@ -22,7 +22,9 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": [ + "nsis" + ], "icon": [ "icons/32x32.png", "icons/128x128.png", @@ -35,7 +37,7 @@ ], "resources": [ "bin/*.dll", - "bin/*.gguf" + "bin/gemma-3-270m-it-Q4_K_M.gguf" ] } } \ No newline at end of file