mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-22 00:14:30 +00:00
HIP-1330 phases 0 and 1. backend.rs registers the server with hanzod (the one daemon per machine) instead of supervising Node itself; hanzod starts it over a socketpair, restarts it on the next session and stops it when idle. The server serves ZAP sessions on an inherited descriptor (ZapMux). The app stages a pinned Node runtime, so Dev desktop starts with no Node on PATH, and a pinned hanzod that it installs to ~/.hanzo/bin only if newer. Co-authored-by: Hanzo Dev <[email protected]>
64 lines
1.6 KiB
TOML
64 lines
1.6 KiB
TOML
[package]
|
|
name = "hanzo-dev-desktop"
|
|
version = "0.1.10"
|
|
description = "Hanzo Dev — Native Tauri Desktop Control Plane"
|
|
authors = ["Hanzo AI Inc. <[email protected]>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/hanzoai/dev"
|
|
edition = "2021"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.6", features = [] }
|
|
|
|
[features]
|
|
default = []
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
[dependencies]
|
|
tauri = { version = "2.11", features = ["macos-private-api", "image-png", "devtools"] }
|
|
tauri-plugin-dialog = "2.7"
|
|
tauri-plugin-opener = "2.5"
|
|
tauri-plugin-os = "2.3"
|
|
tauri-plugin-process = "2.3"
|
|
tauri-plugin-shell = "2.3"
|
|
tauri-plugin-notification = "2.3"
|
|
tauri-plugin-global-shortcut = "2.3"
|
|
tauri-plugin-deep-link = "2.4"
|
|
tauri-plugin-single-instance = { version = "2.4", features = ["deep-link"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.36.0", features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"rt",
|
|
"net",
|
|
"sync",
|
|
"io-util",
|
|
"process",
|
|
"time",
|
|
] }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
sha2 = "0.10"
|
|
# ZAP-HTTP frames: how this app talks to hanzod, the one daemon per machine.
|
|
zaphttp = { git = "https://github.com/hanzoai/node", rev = "2d93704e9" }
|
|
hex = "0.4.3"
|
|
base64 = "0.22.1"
|
|
rand = "0.8"
|
|
dirs = "6.0"
|
|
opener = "0.7.2"
|
|
sysinfo = "0.30.12"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6"
|
|
objc2-app-kit = { version = "0.3", default-features = false, features = [
|
|
"NSApplication",
|
|
"NSImage",
|
|
"NSResponder",
|
|
"NSWindow",
|
|
] }
|
|
objc2-foundation = { version = "0.3", default-features = false, features = ["NSData"] }
|