[workspace] members = ["crates/embed-resource", "crates/sheprd-*"] # Plain workspace builds omit the opt-in tmux adapter. default-members = ["crates/embed-resource", "crates/sheprd-acp", "crates/sheprd-apns", "crates/sheprd-automate", "crates/sheprd-automation", "crates/sheprd-backend", "crates/sheprd-chat-protocol", "crates/sheprd-client", "crates/sheprd-commands", "crates/sheprd-control-protocol", "crates/sheprd-core-client", "crates/sheprd-credentials", "crates/sheprd-diagnostics", "crates/sheprd-fleet-ffi", "crates/sheprd-github", "crates/sheprd-gpui", "crates/sheprd-launcher", "crates/sheprd-i18n", "crates/sheprd-luau", "crates/sheprd-mcp", "crates/sheprd-memory", "crates/sheprd-mods", "crates/sheprd-nearby", "crates/sheprd-orchestrator", "crates/sheprd-protocol", "crates/sheprd-push-relay", "crates/sheprd-relay", "crates/sheprd-relay-agent", "crates/sheprd-relay-directory", "crates/sheprd-remote", "crates/sheprd-remote-control", "crates/sheprd-session", "crates/sheprd-t3", "crates/sheprd-terminal", "crates/sheprd-traces", "crates/sheprd-tunnel", "crates/sheprd-updater", "crates/sheprd-usage", "crates/sheprd-vcs"] resolver = "2" [workspace.package] edition = "2024" license = "Apache-2.0" rust-version = "1.99" # Cargo metadata only. Releases carry a derived calendar version YYYYMMDD.COUNTER # that CI embeds as HERDR_RELEASE_VERSION; this value never reaches the UI. version = "0.1.0" # Workspace crates are not published to crates.io; they build this application. publish = false [workspace.lints.rust] unsafe_code = "deny" unused_qualifications = "deny" [workspace.lints.clippy] expect_used = "deny" unwrap_used = "deny" [workspace.dependencies] # The terminal emulator behind herdr-core terminals, which arrive as raw bytes; # Zed's fork, the revision Arbor runs. alacritty_terminal = "0.26.0" url = "2.5.9" # The adapter GPUI's macOS backend links; its window focus forwarder. accesskit_macos = "=0.27.2" # ACP wire types for sheprd-acp; its own transport, so no async runtime. acp = { default-features = false, package = "agent-client-protocol-schema", version = "1.12" } anyhow = "1" aes = "0.9.3" ammonia = "4.2.1" cbc = { features = ["block-padding"], version = "0.2.1" } percent-encoding = "2" process-wrap = { version = "10.0.1", default-features = false, features = ["std", "job-object", "creation-flags"] } pbkdf2 = { default-features = false, features = ["hmac"], version = "0.13.0" } pulldown-cmark = { default-features = false, features = ["html"], version = "0.13.6" } # The remote control pairing QR, drawn as quads; no image or SVG renderer. qrcode = { default-features = false, version = "0.14.1" } # Native chat math: the engine exposes baseline metrics and bounds before rasterization. ratex-layout = "=0.1.15" ratex-parser = "=0.1.16" ratex-render = { features = ["embed-fonts"], version = "=0.1.15" } ratex-types = "=0.1.16" # User-written link-handler patterns; already in the lockfile through other crates. regex = "1.13" base64 = "0.23.1" async-channel = "2" bincode = { default-features = false, features = ["serde", "std"], version = "2" } # Reads the Windows clipboard off the UI thread, sized before it is copied. clipboard-win = { default-features = false, features = ["std"], version = "5.4.1" } chrono = { default-features = false, features = ["clock", "serde"], version = "0.4" } cocoa = "0.27" config_loader = { default-features = false, features = ["toml"], package = "config", version = "0.15.25" } core-graphics = "0.25" crossbeam-channel = "0.5" ed25519-dalek = { default-features = false, features = ["std"], version = "2.2" } flate2 = "1" # Use the same strict macOS family lookup as GPUI, including legacy aliases. font-kit = { package = "zed-font-kit", version = "=0.14.1-zed" } libc = "0.2" # Safe macOS process birth/parent queries; second-resolution ps stamps can collide. libproc = "0.15.0" # The Ports section's TCP listeners, read in process (libproc on macOS, # /proc on Linux) rather than by starting `lsof` or `ss` for every scan. listeners = "0.6.1" # Fluent messages (docs/i18n.md): `sheprd-i18n` loads them through # i18n-embed's loader and negotiates the locale; `sheprd-gpui`'s build script # parses them to check `fl!` calls. i18n-embed 0.16 does not build without # its default `rust-embed` feature, though the app embeds files itself. fluent = "0.17" fluent-langneg = "0.14" fluent-syntax = "0.12" i18n-embed = { features = ["fluent-system"], version = "0.16" } # The user's preferred languages, as the OS lists them. sys-locale = "0.3" unic-langid = { features = ["macros"], version = "0.9" } # Time zone names in automation schedules; the version the lockfile already has. jiff = "0.2.38" # Locates installed font files on Linux, as GPUI's own text system does. fontdb = "0.24" foreign-types = "0.5" futures-lite = "2" # Sends frames on sheprd-remote-control's WebSocket test client; axum already links it. futures-util = { default-features = false, features = ["sink"], version = "0.3" } getrandom = "0.4.3" # Browser builds must enable the entropy backend for Snow's getrandom 0.3 as well. snow-getrandom = { package = "getrandom", version = "0.3" } wasm-bindgen = "0.2.128" web-time = "1.1" gpui = { package = "gpui-pre", version = "=0.3.12" } gpui_platform = { package = "gpui-pre-platform", version = "=0.3.12" } # The theme moonframe-diagram paints with. Not `gpui-kit`: GPUI's derive macros # write `gpui_kit::` paths into any crate that names gpui-kit as a dependency. gpui-component = { default-features = false, version = "=0.9.1" } # Reads local repositories for the orchestrator without starting `git`: # discovery, config with its includes and URL rewrites, refs, and rev-parse. gix = { default-features = false, features = ["sha1"], version = "0.90" } # The web views behind browser tabs; `browser::page` lays them out in the window. wry = { package = "lb-wry", version = "=0.53.3" } # Reports only by default; the daemon turns on the Luau engine. sheprd-automation = { default-features = false, path = "crates/sheprd-automation" } sheprd-backend = { path = "crates/sheprd-backend" } sheprd-apns = { path = "crates/sheprd-apns" } sheprd-chat-protocol = { path = "crates/sheprd-chat-protocol" } sheprd-client = { path = "crates/sheprd-client" } sheprd-commands = { path = "crates/sheprd-commands" } sheprd-control-protocol = { path = "crates/sheprd-control-protocol" } sheprd-core-client = { path = "crates/sheprd-core-client" } sheprd-credentials = { path = "crates/sheprd-credentials" } sheprd-diagnostics = { path = "crates/sheprd-diagnostics" } sheprd-github = { path = "crates/sheprd-github" } sheprd-i18n = { path = "crates/sheprd-i18n" } sheprd-luau = { path = "crates/sheprd-luau" } sheprd-mcp = { path = "crates/sheprd-mcp" } sheprd-memory = { path = "crates/sheprd-memory" } sheprd-mods = { path = "crates/sheprd-mods" } sheprd-orchestrator = { path = "crates/sheprd-orchestrator" } sheprd-protocol = { path = "crates/sheprd-protocol" } sheprd-remote = { default-features = false, path = "crates/sheprd-remote" } sheprd-relay = { default-features = false, path = "crates/sheprd-relay" } # The fleet access file and removal frames, without the agent's runtime. sheprd-relay-agent = { default-features = false, path = "crates/sheprd-relay-agent" } sheprd-relay-directory = { path = "crates/sheprd-relay-directory" } sheprd-remote-control = { default-features = false, path = "crates/sheprd-remote-control" } sheprd-session = { path = "crates/sheprd-session" } sheprd-t3 = { path = "crates/sheprd-t3" } sheprd-terminal = { path = "crates/sheprd-terminal" } sheprd-tmux = { path = "crates/sheprd-tmux" } sheprd-traces = { path = "crates/sheprd-traces" } sheprd-tunnel = { path = "crates/sheprd-tunnel" } sheprd-updater = { path = "crates/sheprd-updater" } sheprd-usage = { path = "crates/sheprd-usage" } sheprd-vcs = { path = "crates/sheprd-vcs" } interprocess = "2.4.2" # Local interface addresses, so Bonjour discovery skips this machine; the # version mdns-sd already uses. if-addrs = "0.15" # Display and idle holds behind the status bar cup; `bin` would pull in a CLI. keepawake = { default-features = false, version = "0.6.1" } image = { default-features = false, features = ["gif", "jpeg", "png", "webp"], version = "0.25.10" } # The sandboxed Luau interpreter behind automation scripts, built from source. mlua = { features = ["error-send", "luau"], version = "0.12.2" } # The `moonframe` feature of `sheprd-gpui` lays out the window in Luau; pinned to # Moonframe 1.6.0 with a fix on top (branch fix/mod-window-field-focus-1.6): a # field in a mod's own window, such as "Make it yours", keeps the keyboard as the # window redraws (moonframehq/moonframe#359). moonframe = { default-features = false, git = "https://github.com/moonframehq/moonframe", rev = "8df16e44f193137aa78d944b559bd2995bc989b1" } # Mermaid and DOT fences in chat answers become diagrams, parsed, laid out and # drawn in the theme by Moonframe's diagram crate (`diagram` feature of # `sheprd-gpui`). Pinned on its own, newer than `moonframe` above: diagrams # came after Moonframe 1.6.0, and nothing else needs the newer Moonframe. moonframe-diagram = { default-features = false, features = ["view"], git = "https://github.com/moonframehq/moonframe", rev = "b02238b563a07daae4ae4f66a01b75126782a7cd" } # Helix's fzf-style scorer behind the command palette. nucleo-matcher = "0.3.1" # Bonjour browsing for SSH hosts in the Add Device dialog; it runs its own # thread and needs no async runtime. mdns-sd = { default-features = false, version = "0.22.0" } nix = { default-features = false, features = ["fs", "socket", "term", "user"], version = "=0.32.0" } notify = "9.0" objc = "0.2" # The Secret Service client GPUI's Linux platform links, with its async-io backend. oo7 = { default-features = false, features = ["async-std", "native_crypto"], version = "0.6" } objc2 = "0.6.4" objc2-app-kit = { default-features = false, features = ["NSAccessibility", "NSAppearance", "NSApplication", "NSColor", "NSDockTile", "NSDragging", "NSEvent", "NSGraphics", "NSGraphicsContext", "NSImage", "NSImageRep", "NSPasteboard", "NSPasteboardItem", "NSResponder", "NSTextInputContext", "NSTrackingArea", "NSView", "NSWindow", "NSWorkspace", "block2", "objc2-core-foundation", "std"], version = "0.3.2" } objc2-foundation = { default-features = false, features = ["NSAppleEventDescriptor", "NSAppleEventManager", "NSArray", "NSBundle", "NSData", "NSError", "NSNotification", "NSOperation", "NSProcessInfo", "NSString", "NSURL", "block2", "std"], version = "0.3.2" } # The WebKit snapshot behind page annotation screenshots and the popups pages # open, at the versions wry uses. block2 = "0.6.2" dispatch2 = { default-features = false, features = ["objc2", "std"], version = "0.3.1" } objc2-core-foundation = { default-features = false, features = ["CFCGTypes", "std"], version = "0.3.2" } objc2-web-kit = { default-features = false, features = ["WKSnapshotConfiguration", "WKUIDelegate", "WKWebView", "block2", "objc2-app-kit", "objc2-core-foundation", "std"], version = "0.3.2" } # Virtual machines shown in machine tabs, at the versions the other objc2 crates use. objc2-virtualization = { default-features = false, features = ["VZBootLoader", "VZDirectorySharingDeviceConfiguration", "VZDiskImageStorageDeviceAttachment", "VZEFIBootLoader", "VZEFIVariableStore", "VZEntropyDeviceConfiguration", "VZFileSerialPortAttachment", "VZGenericMachineIdentifier", "VZGenericPlatformConfiguration", "VZGraphicsDeviceConfiguration", "VZGraphicsDisplayConfiguration", "VZKeyboardConfiguration", "VZMACAddress", "VZMacAuxiliaryStorage", "VZMacGraphicsDeviceConfiguration", "VZMacGraphicsDisplayConfiguration", "VZMacHardwareModel", "VZMacKeyboardConfiguration", "VZMacMachineIdentifier", "VZMacOSBootLoader", "VZMacOSConfigurationRequirements", "VZMacOSInstaller", "VZMacOSRestoreImage", "VZMacPlatformConfiguration", "VZMacTrackpadConfiguration", "VZNATNetworkDeviceAttachment", "VZNetworkDeviceAttachment", "VZNetworkDeviceConfiguration", "VZPlatformConfiguration", "VZPointingDeviceConfiguration", "VZSerialPortAttachment", "VZSerialPortConfiguration", "VZSocketDevice", "VZSocketDeviceConfiguration", "VZStorageDeviceAttachment", "VZStorageDeviceConfiguration", "VZUSBKeyboardConfiguration", "VZUSBMassStorageDeviceConfiguration", "VZUSBScreenCoordinatePointingDeviceConfiguration", "VZVirtioBlockDeviceConfiguration", "VZVirtioConsoleDeviceSerialPortConfiguration", "VZVirtioEntropyDeviceConfiguration", "VZVirtioGraphicsDeviceConfiguration", "VZVirtioGraphicsScanoutConfiguration", "VZVirtioNetworkDeviceConfiguration", "VZVirtioSocketConnection", "VZVirtioSocketDevice", "VZVirtioSocketDeviceConfiguration", "VZVirtualMachine", "VZVirtualMachineConfiguration", "VZVirtualMachineDelegate", "VZVirtualMachineView", "block2", "objc2-app-kit", "std"], version = "0.3.2" } # Asks for Dock badge permission; the version GPUI's macOS platform already links. objc2-user-notifications ={ default-features = false, features = ["UNUserNotificationCenter", "block2", "std"], version = "0.3.2" } raw-window-handle = "0.6" # sheprd-acp's in-pane chat view. ratatui = { default-features = false, features = ["crossterm"], version = "0.30" } crossterm = "0.29" # TLS for the Azure sandbox exec stream, with the ring provider and roots # ureq already links. rustls = { default-features = false, features = ["ring", "std", "tls12"], version = "0.23" } # The remote control daemon's own certificate authority and server # certificates; ring signs, as rustls does, and x509-parser reloads the CA. rcgen = { default-features = false, features = ["crypto", "pem", "ring", "x509-parser"], version = "0.14.10" } # Reads the names a user-supplied remote control certificate lists; rcgen # already links it. x509-parser = { default-features = false, version = "0.18" } # Checks the remote control daemon's mobileconfig profile in tests. roxmltree = "0.21" rusqlite = { features = ["bundled"], version = "0.41" } rodio = { default-features = false, features = ["playback", "symphonia-mp3", "tracing"], version = "0.22.2" } rustix = { features = ["event", "fs", "process", "pty", "termios"], version = "=1.1.6" } secrecy = { features = ["serde"], version = "=0.10.3" } security-framework = "=3.7.0" serde = { features = ["derive"], version = "1" } serde_json = "1" snow = { default-features = false, features = ["default-resolver", "use-chacha20poly1305", "use-curve25519", "use-getrandom", "use-sha2"], version = "0.10" } serde_ignored = "0.1.14" sha1 = "0.11.0" # sheprd-remote: P-256 verifies the signatures paired phones make with their # WebCrypto keys, and with HKDF and AES-GCM implements Web Push (VAPID ES256, # RFC 8291 encryption) on the sha2 below. Not web-push-native, which brings # jwt-simple and a second crypto stack; not ring, whose ECDH cannot take the # fixed key RFC 8291's test vector uses. aes-gcm = { default-features = false, features = ["aes", "alloc"], version = "0.11" } # sheprd-tunnel: seals share invitations a relay holds but cannot read; the # same version snow already builds for Noise. chacha20poly1305 = { default-features = false, features = ["alloc"], version = "0.11" } # sheprd-remote-control: draws shared sessions' link-preview cards (SVG to # PNG) with the system's fonts; the version GPUI already builds. resvg = { default-features = false, features = ["system-fonts", "text"], version = "0.46" } hkdf = "0.13" hmac = "0.13" ml-kem = { default-features = false, version = "0.3.4" } p256 = { default-features = false, features = ["ecdh", "ecdsa", "pem", "std"], version = "0.14" } pgp = { default-features = false, version = "0.21" } sha2 = "0.11.0" # Reads embedded bitmap strikes to spot fonts GPUI's Linux rasterizer panics on. skrifa = { default-features = false, features = ["std"], version = "0.50" } # Tests hold a port with a socket that is bound but never listens; mdns-sd # already locks this version. socket2 = "0.6.5" # Diff syntax colouring: bundled grammars, parsed with the pure-Rust regex # engine, no themes (colours come from the app's theme). syntect = { default-features = false, features = ["default-syntaxes", "parsing", "regex-fancy"], version = "5.3" } # The version GPUI's screen capture already locks; only CPU and memory are read. sysinfo = { default-features = false, features = ["disk", "system"], version = "0.39.6" } tar = "0.4" tempfile = "3" test-case = "3" thiserror = "2" # The remote control daemon's runtime and web server; only sheprd-remote-control uses them. tokio = { features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"], version = "1" } # Server-rendered HTML for the remote control web app, escaped by default. maud = "0.27" axum = { default-features = false, features = ["http1", "json", "matched-path", "query", "tokio", "ws"], version = "0.8" } # Drives sheprd-remote-control's router in tests without a socket; axum already links it. tower = { default-features = false, features = ["util"], version = "0.5" } # A WebSocket client for sheprd-remote-control's live socket tests; axum's # `ws` feature already links this version. tokio-tungstenite = { default-features = false, features = ["handshake"], version = "0.30" } tokio-rustls = { default-features = false, features = ["ring", "tls12"], version = "0.26" } # The relay's WebSocket client checks a relay's certificate as the platform # does; ureq already links it. rustls-platform-verifier = "0.7" # The relay's QUIC transport: streams, connection migration, TLS 1.3. quinn = { default-features = false, features = ["runtime-tokio", "rustls-ring"], version = "0.11" } # sheprd-remote-control's APNs sender for iOS Live Activities: APNs speaks only # HTTP/2, which ureq lacks. hyper's own HTTP/2 client (plus h2) over the # tokio-rustls above on the daemon's Tokio runtime is the smallest maintained # stack for it: axum already links hyper, hyper-util, and http-body-util, so # only h2 is new. Not reqwest, which would bring a second connection pool and # TLS configuration; not a2, which pins its own HTTP and crypto stacks. http-body-util = "0.1" hyper = { default-features = false, features = ["client", "http2"], version = "1" } hyper-util = { default-features = false, features = ["tokio"], version = "0.1" } # Certificate validity dates for rcgen, from a `SystemTime`. time = { default-features = false, features = ["std"], version = "0.3.47" } toml = "1.1" toml_edit = "0.25" tracing = "0.1" # The Azure sandbox exec stream; TLS comes from `rustls` above. tungstenite = { default-features = false, features = ["handshake"], version = "0.30" } # The response head of boxd's exec stream (grpc-web over HTTP/1.1); tungstenite # already links it. httparse = "1.10" tracing-subscriber = { default-features = false, features = ["registry", "std"], version = "0.3" } unicode-normalization = "0.1.26" unicode-bidi = "0.3.18" unicode-properties = { version = "0.1.4", default-features = false, features = ["emoji"] } unicode-segmentation = "1" unicode-width = "0.2.2" ureq = "3" webpki-roots = "1" # The push relay's optional shared store; TLS comes from `rustls` above. tokio-postgres = { default-features = false, features = ["runtime"], version = "0.7" } tokio-postgres-rustls = "0.14" uuid = { features = ["serde", "v4", "v5"], version = "1" } # Window shell properties behind the taskbar relaunch identity; the version # GPUI's Windows platform already links. windows = { features = ["Win32_Foundation", "Win32_Storage_EnhancedStorage", "Win32_System_Com", "Win32_System_Com_StructuredStorage", "Win32_System_Variant", "Win32_UI_Shell", "Win32_UI_Shell_PropertiesSystem"], version = "0.62.2" } windows-registry = "0.100.0" # The error type `windows-registry` returns; its own version, not `windows`'s. windows-result = "0.100.0" windows-sys = { features = ["Win32_Foundation", "Win32_System_Pipes"], version = "0.61.2" } # Embeds the Windows executable's icon and version information; a build # dependency, so it runs on the host. winresource = "0.1.34" zbus = { default-features = false, version = "5.19" } x25519-dalek = { default-features = false, features = ["static_secrets", "zeroize"], version = "3" } zeroize = "=1.9.2" # Line tables keep file:line in backtraces and crash reports while cutting most # of the debug info a full build writes and links for sheprd-gpui. Use # `CARGO_PROFILE_DEV_DEBUG=full` for a debugger session that needs locals. [profile.dev] debug = "line-tables-only" [patch.crates-io] # GPUI still uses the 0.26 adapter; AccessKit #835 backported to it until GPUI # moves on (docs/macos-window-close.md). accesskit_macos = { git = "https://github.com/sheprd-labs/accesskit", rev = "d7919c53f9a9667486ba61e946c44be57c3dabe7" } # GPUI's build script embeds its own Windows manifest through embed-resource, # which would clash with Herdr's (crates/sheprd-gpui/windows.manifest); this # no-op stands in for it. See crates/embed-resource. embed-resource = { path = "crates/embed-resource" }