hatchery-node 0.2.1

Hatchery node: the complete node kit over the gate4agent transport (PTY/inline sessions, file browser, local git, worktrees, mailbox, browser station, session restore)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "hatchery-node"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hatchery node: the complete node kit over the gate4agent transport (PTY/inline sessions, file browser, local git, worktrees, mailbox, browser station, session restore)"
readme = false
license = "MIT"
repository = "https://github.com/ZENG3LD/hatchery"

[features]
d2b = ["dep:dig2browser"]
default = ["kit"]
dig2-station-probe = []
fixture = [
    "dep:gate4agent-testkit",
    "gate4agent-node-wire/fixture",
]
kit = [
    "m4a",
    "d2b",
    "session-restore",
    "wireguard",
    "memory",
]
m4a = ["dep:mail4agent"]
memory = []
session-restore = [
    "dep:claude-session-restore",
    "dep:codex-session-restore",
    "dep:grok-session-restore",
    "dep:kimi-session-restore",
]
wireguard = ["gate4agent-node-core/wireguard"]

[lib]
name = "hatchery_node"
path = "src/lib.rs"

[[bin]]
name = "gate4agent-node"
path = "src/main.rs"

[[test]]
name = "c2_real_node_c2_terminal_screen_e2e"
path = "tests/c2_real_node_c2_terminal_screen_e2e.rs"

[[test]]
name = "c2_spawn_managed_materialized_bundle_e2e"
path = "tests/c2_spawn_managed_materialized_bundle_e2e.rs"

[[test]]
name = "c2_spawn_managed_materialized_environment_e2e"
path = "tests/c2_spawn_managed_materialized_environment_e2e.rs"

[[test]]
name = "c2_spawn_managed_worktree_e2e"
path = "tests/c2_spawn_managed_worktree_e2e.rs"

[[test]]
name = "c2_spawn_spec_defaults_overrides_e2e"
path = "tests/c2_spawn_spec_defaults_overrides_e2e.rs"

[[test]]
name = "c2_spawn_spec_environment_profile_e2e"
path = "tests/c2_spawn_spec_environment_profile_e2e.rs"

[[test]]
name = "c2_spawn_spec_manual_worktree_e2e"
path = "tests/c2_spawn_spec_manual_worktree_e2e.rs"

[[test]]
name = "c2_unix_local_c2_control_e2e"
path = "tests/c2_unix_local_c2_control_e2e.rs"

[[test]]
name = "c2_unix_local_node_c2_e2e"
path = "tests/c2_unix_local_node_c2_e2e.rs"

[[test]]
name = "c2_windows_fixture_terminal_frame_push_e2e"
path = "tests/c2_windows_fixture_terminal_frame_push_e2e.rs"

[[test]]
name = "c2_windows_live_codex_context_inventory_e2e"
path = "tests/c2_windows_live_codex_context_inventory_e2e.rs"

[[test]]
name = "c2_windows_live_skill_restore_worktree_e2e"
path = "tests/c2_windows_live_skill_restore_worktree_e2e.rs"

[[test]]
name = "c2_windows_real_multi_node_control_relay_e2e"
path = "tests/c2_windows_real_multi_node_control_relay_e2e.rs"

[[test]]
name = "c2_windows_real_multi_node_observe_e2e"
path = "tests/c2_windows_real_multi_node_observe_e2e.rs"

[[test]]
name = "unix_fixture_local_node_e2e"
path = "tests/unix_fixture_local_node_e2e.rs"

[[test]]
name = "unix_workspace_file_read_e2e"
path = "tests/unix_workspace_file_read_e2e.rs"

[[test]]
name = "windows_context_pack_worktree_bundle_e2e"
path = "tests/windows_context_pack_worktree_bundle_e2e.rs"

[[test]]
name = "windows_fixture_durable_session_restart_e2e"
path = "tests/windows_fixture_durable_session_restart_e2e.rs"

[[test]]
name = "windows_fixture_local_node_snapshot_reconnect_controller_lease"
path = "tests/windows_fixture_local_node_snapshot_reconnect_controller_lease.rs"

[[test]]
name = "windows_fixture_runtime_policy_e2e"
path = "tests/windows_fixture_runtime_policy_e2e.rs"

[[test]]
name = "windows_workspace_file_read_e2e"
path = "tests/windows_workspace_file_read_e2e.rs"

[dependencies.claude-session-restore]
version = "0.1.3"
optional = true

[dependencies.codex-session-restore]
version = "0.1.3"
optional = true

[dependencies.dig2browser]
version = "0.5.3"
optional = true
default-features = false

[dependencies.gate4agent-adapters]
version = "0.5.0"

[dependencies.gate4agent-catalog]
version = "0.5.0"

[dependencies.gate4agent-handle]
version = "0.5.0"

[dependencies.gate4agent-node-core]
version = "0.5.0"

[dependencies.gate4agent-node-protocol]
version = "0.5.0"

[dependencies.gate4agent-node-wire]
version = "0.5.0"

[dependencies.gate4agent-runtime-native]
version = "0.5.0"

[dependencies.gate4agent-testkit]
version = "0.5.0"
optional = true

[dependencies.gate4agent-types]
version = "0.5.0"

[dependencies.grok-session-restore]
version = "0.1.4"
optional = true

[dependencies.kimi-session-restore]
version = "0.1.4"
optional = true

[dependencies.mail4agent]
version = "0.4.8"
optional = true
default-features = false

[dependencies.ring]
version = "=0.17.14"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "process",
    "rt",
    "signal",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.hatchery-c2]
version = "0.2.0"

[dev-dependencies.hatchery-c2-client]
version = "0.2.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "process",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dev-dependencies.vt100]
version = "0.16"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]