mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
* feat: add initial project structure and documentation - Introduced the GNU General Public License (GPL) v3 in LICENSE file. - Added MCP configuration in .claude/mcp.json for server integration. - Created architecture documentation in docs/ARCHITECTURE.md outlining the platform's design and components. - Defined MVP specifications in docs/MVP.md for the Telegram-based Agent Assistant. - Established API reference for team management in docs/teams-api-reference.md. - Set up basic HTML structure in public/index.html and added logo image in public/logo.png. * feat: add initial project documentation and HTML structure - Introduced CODE_OF_CONDUCT.md to establish community guidelines and standards for behavior. - Created CONTRIBUTING.md to outline contribution process, development setup, and project conventions. - Added SECURITY.md to define the security policy, supported versions, and reporting procedures for vulnerabilities. - Established basic HTML structure in index.html for the application interface. * chore: remove hello-python skill files - Deleted skill.json and skill.py files for the Hello Python example runtime skill, as they are no longer needed in the project. * feat: port tinyhuman agent runtime from ZeroClaw into Tauri backend Port daemon supervisor, health registry, security (policy, secrets, audit, pairing), agent traits, and config modules from ZeroClaw (MIT) into a new tinyhuman/ module under src-tauri/src/. The daemon auto-starts on desktop and shuts down gracefully on app exit via CancellationToken. - health: global HealthRegistry with component tracking and JSON snapshots - security/policy: SecurityPolicy with command validation, risk levels, rate limiting - security/secrets: ChaCha20-Poly1305 SecretStore with legacy XOR migration - security/audit: AuditLogger with JSON-line events and log rotation - security/pairing: PairingGuard with brute-force protection and SHA-256 hashing - security/traits: Sandbox trait + NoopSandbox - config: minimal DaemonConfig with autonomy, reliability, secrets, audit sub-configs - daemon: supervisor with health state writer emitting Tauri events - agent/traits: Provider, Tool, Memory, Observer, RuntimeAdapter traits + Noop impls - commands/tinyhuman: Tauri commands for health, security policy, encrypt/decrypt - 185 inline unit tests across all modules - README updated with custom inference/tunneling/memory positioning Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: update README to reflect AlphaHuman Mk1 branding and enhanced description - Changed project title to "AlphaHuman Mk1" for clarity. - Revised project description to emphasize user-friendly AI capabilities and the use of the Neocortex Mk1 model. - Removed outdated sections on custom inference, tunneling, and memory, streamlining the content for better readability. * update readme * Port zeroclaw runtime into tinyhuman * Replace CLI mentions with UI language * Split gateway module into smaller units * Split channels and config schema modules * Fix tinyhuman build, tests, and tunnel integration * feat(tinyhuman): add missing modules and ui-friendly services * refactor: rename tinyhuman to alphahuman * chore: remove bottom text from Welcome component * feat(settings): add tauri command console * feat(daemon): enhance daemon mode handling and integrate rustls with ring feature * feat(settings): implement comprehensive configuration management in TauriCommandsPanel * refactor(TauriCommandsPanel): streamline error handling and enhance async function usage * feat(settings): add skill management functionality to TauriCommandsPanel * style(TauriCommandsPanel): update input styles for improved readability and user experience * feat(settings): add Skills and Agent Chat panels with navigation and integration management * feat(settings): implement browser access management in SkillsPanel and enhance AgentChatPanel with local storage functionality --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
187 lines
7.1 KiB
TOML
187 lines
7.1 KiB
TOML
[package]
|
|
name = "AlphaHuman"
|
|
version = "0.30.0"
|
|
description = "AlphaHuman - AI-powered Super Assistant"
|
|
authors = ["AlphaHuman"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "tauri_app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[dependencies]
|
|
# Tauri core and plugins
|
|
tauri = { version = "2", features = ["tray-icon", "macos-private-api"] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-deep-link = "2.0.0"
|
|
tauri-plugin-os = "2"
|
|
# tauri-plugin-autostart moved to desktop-only target section
|
|
# tauri-plugin-notification moved to desktop-only target section
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# HTTP client: rustls for cross-platform TLS (Android), native-tls for desktop skill HTTP
|
|
# (some APIs/CDNs use TLS configs that rustls can't negotiate — native-tls uses OS TLS stack)
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "rustls-tls", "native-tls", "stream", "http2", "multipart", "socks"] }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full", "sync"] }
|
|
|
|
# keyring moved to desktop-only target section (not supported on Android/iOS)
|
|
|
|
# Concurrency utilities
|
|
once_cell = "1.19"
|
|
parking_lot = "0.12"
|
|
|
|
# Logging
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# AI module dependencies
|
|
base64 = "0.22"
|
|
aes-gcm = "0.10"
|
|
argon2 = "0.5"
|
|
rand = "0.9"
|
|
dirs = "5"
|
|
sha2 = "0.10"
|
|
hmac = "0.12"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
# Alphahuman agent runtime dependencies
|
|
anyhow = "1.0"
|
|
async-trait = "0.1"
|
|
chacha20poly1305 = "0.10"
|
|
hex = "0.4"
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
landlock = { version = "0.4", optional = true }
|
|
|
|
# V8 JavaScript runtime moved to desktop-only (not available on Android/iOS)
|
|
|
|
# WebSocket client for TDLib connections
|
|
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
|
|
|
|
# HTTP streaming support for fetch polyfill
|
|
futures = "0.3"
|
|
|
|
# Embedded SQLite for skill databases
|
|
rusqlite = { version = "0.37", features = ["bundled"] }
|
|
|
|
# Date/time utilities
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Cron expression parsing for scheduled skill tasks
|
|
cron = "0.12"
|
|
|
|
# Stream/Sink utilities for WebSocket and HTTP streaming
|
|
futures-util = "0.3"
|
|
|
|
# Android uses a simpler approach - no persistent Socket.io (use web socket from frontend)
|
|
|
|
# Alphahuman config + observability
|
|
directories = "6"
|
|
toml = "1.0"
|
|
shellexpand = "3.1"
|
|
schemars = "1.2"
|
|
tracing = { version = "0.1", default-features = false }
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "ansi", "env-filter"] }
|
|
prometheus = { version = "0.14", default-features = false }
|
|
urlencoding = "2.1"
|
|
thiserror = "2.0"
|
|
ring = "0.17"
|
|
prost = { version = "0.14", default-features = false }
|
|
postgres = { version = "0.19", features = ["with-chrono-0_4"] }
|
|
chrono-tz = "0.10"
|
|
dialoguer = { version = "0.12", features = ["fuzzy-select"] }
|
|
console = "0.16"
|
|
glob = "0.3"
|
|
regex = "1.10"
|
|
hostname = "0.4.2"
|
|
rustls = { version = "0.23", features = ["ring"] }
|
|
rustls-pki-types = "1.14.0"
|
|
tokio-rustls = "0.26.4"
|
|
webpki-roots = "1.0.6"
|
|
lettre = { version = "0.11.19", default-features = false, features = ["builder", "smtp-transport", "rustls-tls"] }
|
|
mail-parser = "0.11.2"
|
|
async-imap = { version = "0.11", features = ["runtime-tokio"], default-features = false }
|
|
axum = { version = "0.8", default-features = false, features = ["http1", "json", "tokio", "query", "ws", "macros"] }
|
|
tower = { version = "0.5", default-features = false }
|
|
tower-http = { version = "0.6", default-features = false, features = ["limit", "timeout"] }
|
|
http-body-util = "0.1"
|
|
opentelemetry = { version = "0.31", default-features = false, features = ["trace", "metrics"] }
|
|
opentelemetry_sdk = { version = "0.31", default-features = false, features = ["trace", "metrics"] }
|
|
opentelemetry-otlp = { version = "0.31", default-features = false, features = ["trace", "metrics", "http-proto", "reqwest-client", "reqwest-rustls-webpki-roots"] }
|
|
tokio-stream = { version = "0.1.18", features = ["full"] }
|
|
url = "2"
|
|
|
|
# Optional integrations
|
|
matrix-sdk = { version = "0.16", optional = true, default-features = false, features = ["e2e-encryption", "rustls-tls", "markdown"] }
|
|
fantoccini = { version = "0.22.0", optional = true, default-features = false, features = ["rustls-tls"] }
|
|
serde-big-array = { version = "0.5", optional = true }
|
|
nusb = { version = "0.2", default-features = false, optional = true }
|
|
tokio-serial = { version = "5", default-features = false, optional = true }
|
|
probe-rs = { version = "0.30", optional = true }
|
|
pdf-extract = { version = "0.10", optional = true }
|
|
wa-rs = { version = "0.2", optional = true, default-features = false }
|
|
wa-rs-core = { version = "0.2", optional = true, default-features = false }
|
|
wa-rs-binary = { version = "0.2", optional = true, default-features = false }
|
|
wa-rs-proto = { version = "0.2", optional = true, default-features = false }
|
|
wa-rs-ureq-http = { version = "0.2", optional = true }
|
|
wa-rs-tokio-transport = { version = "0.2", optional = true, default-features = false }
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
rppal = { version = "0.22", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
# Android logging (routes Rust `log` crate to logcat)
|
|
android_logger = "0.14"
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
keyring = "3"
|
|
tauri-plugin-autostart = "2"
|
|
tauri-plugin-notification = "2"
|
|
|
|
# QuickJS JavaScript runtime (via quickjs-rs)
|
|
# Only available on desktop - prebuilt binaries don't exist for Android/iOS
|
|
rquickjs = { version = "0.11", features = ["futures", "macro", "loader", "parallel"] }
|
|
|
|
# TDLib Rust bindings (desktop only - downloads prebuilt TDLib for linking)
|
|
# On macOS, the bundled dylib is replaced with a source-built version (see build.rs)
|
|
# to ensure macOS 10.15 deployment target compatibility.
|
|
tdlib-rs = { version = "1.2", features = ["download-tdlib"] }
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.build-dependencies]
|
|
# TDLib build configuration (download-tdlib for all desktop platforms)
|
|
tdlib-rs = { version = "1.2", features = ["download-tdlib"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[features]
|
|
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
sandbox-landlock = ["dep:landlock"]
|
|
sandbox-bubblewrap = []
|
|
|
|
# Alphahuman feature flags
|
|
hardware = ["dep:nusb", "dep:tokio-serial"]
|
|
channel-matrix = ["dep:matrix-sdk"]
|
|
peripheral-rpi = ["dep:rppal"]
|
|
browser-native = ["dep:fantoccini"]
|
|
fantoccini = ["browser-native"]
|
|
landlock = ["sandbox-landlock"]
|
|
probe = ["dep:probe-rs"]
|
|
rag-pdf = ["dep:pdf-extract"]
|
|
whatsapp-web = ["dep:wa-rs", "dep:wa-rs-core", "dep:wa-rs-binary", "dep:wa-rs-proto", "dep:wa-rs-ureq-http", "dep:wa-rs-tokio-transport", "serde-big-array"]
|