[package]
edition = "2021"
rust-version = "1.85"
name = "supercode-harness"
version = "0.4.8"
authors = ["supercode contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The optional native Supercode agent and tool harness"
homepage = "https://github.com/volter-ai/supercode"
readme = "README.md"
keywords = [
"ai",
"agent",
"llm",
"coding",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/volter-ai/supercode"
[package.metadata.docs.rs]
all-features = true
[features]
adapter-acp = []
adapter-api = ["dep:tokio-tungstenite"]
adapter-mcp = []
default = [
"adapter-api",
"adapter-mcp",
"adapter-acp",
]
[lib]
name = "supercode_harness"
path = "src/lib.rs"
[[example]]
name = "01_hello"
path = "examples/01_hello.rs"
[[example]]
name = "02_custom_tool"
path = "examples/02_custom_tool.rs"
[[example]]
name = "03_sandbox"
path = "examples/03_sandbox.rs"
[[example]]
name = "04_customize"
path = "examples/04_customize.rs"
[[example]]
name = "05_convert_session"
path = "examples/05_convert_session.rs"
[[example]]
name = "browser_observer_fixture"
path = "examples/browser_observer_fixture.rs"
[[example]]
name = "corpus_probe"
path = "examples/corpus_probe.rs"
[[example]]
name = "fidelity_matrix_probe"
path = "examples/fidelity_matrix_probe.rs"
[[example]]
name = "fidelity_probe"
path = "examples/fidelity_probe.rs"
[[example]]
name = "inspect_session"
path = "examples/inspect_session.rs"
[[example]]
name = "support_probe"
path = "examples/support_probe.rs"
[[test]]
name = "acp_server"
path = "tests/acp_server.rs"
[[test]]
name = "agent_loop"
path = "tests/agent_loop.rs"
[[test]]
name = "audit_fidelity_gate"
path = "tests/audit_fidelity_gate.rs"
[[test]]
name = "cache_plan"
path = "tests/cache_plan.rs"
[[test]]
name = "checkpoint_engine"
path = "tests/checkpoint_engine.rs"
[[test]]
name = "claude_interrupt_live"
path = "tests/claude_interrupt_live.rs"
[[test]]
name = "claude_peer_live"
path = "tests/claude_peer_live.rs"
[[test]]
name = "claude_peer_sessions"
path = "tests/claude_peer_sessions.rs"
[[test]]
name = "claude_runtime_scheduler"
path = "tests/claude_runtime_scheduler.rs"
[[test]]
name = "claude_runtime_state"
path = "tests/claude_runtime_state.rs"
[[test]]
name = "claude_runtime_tools"
path = "tests/claude_runtime_tools.rs"
[[test]]
name = "claude_tool_result_ordering"
path = "tests/claude_tool_result_ordering.rs"
[[test]]
name = "client_protocol_corpus"
path = "tests/client_protocol_corpus.rs"
[[test]]
name = "codex_real_corpus"
path = "tests/codex_real_corpus.rs"
[[test]]
name = "codex_tool_outcome"
path = "tests/codex_tool_outcome.rs"
[[test]]
name = "composable_module_registry"
path = "tests/composable_module_registry.rs"
[[test]]
name = "composable_presets"
path = "tests/composable_presets.rs"
[[test]]
name = "composable_resolver"
path = "tests/composable_resolver.rs"
[[test]]
name = "context_guard"
path = "tests/context_guard.rs"
[[test]]
name = "e2e_rescue_demo"
path = "tests/e2e_rescue_demo.rs"
[[test]]
name = "exclude_list"
path = "tests/exclude_list.rs"
[[test]]
name = "export_sidecar"
path = "tests/export_sidecar.rs"
[[test]]
name = "formatters_security"
path = "tests/formatters_security.rs"
[[test]]
name = "frontend_facade_contract"
path = "tests/frontend_facade_contract.rs"
[[test]]
name = "goose_interop"
path = "tests/goose_interop.rs"
[[test]]
name = "grok_audit"
path = "tests/grok_audit.rs"
[[test]]
name = "grok_interop"
path = "tests/grok_interop.rs"
[[test]]
name = "interop_emulate_continue"
path = "tests/interop_emulate_continue.rs"
[[test]]
name = "interop_fidelity_matrix"
path = "tests/interop_fidelity_matrix.rs"
[[test]]
name = "interop_reduction_metric"
path = "tests/interop_reduction_metric.rs"
[[test]]
name = "live_receipt_reaping"
path = "tests/live_receipt_reaping.rs"
[[test]]
name = "live_runtime_attach"
path = "tests/live_runtime_attach.rs"
[[test]]
name = "lsp_formatters_seam"
path = "tests/lsp_formatters_seam.rs"
[[test]]
name = "lsp_security"
path = "tests/lsp_security.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "mcp_cache_signal"
path = "tests/mcp_cache_signal.rs"
[[test]]
name = "mcp_permissions"
path = "tests/mcp_permissions.rs"
[[test]]
name = "mcp_prompts"
path = "tests/mcp_prompts.rs"
[[test]]
name = "mcp_remote"
path = "tests/mcp_remote.rs"
[[test]]
name = "mcp_resources"
path = "tests/mcp_resources.rs"
[[test]]
name = "mcp_security"
path = "tests/mcp_security.rs"
[[test]]
name = "model_switch"
path = "tests/model_switch.rs"
[[test]]
name = "opencode_interop"
path = "tests/opencode_interop.rs"
[[test]]
name = "opencode_sqlite_fixture"
path = "tests/opencode_sqlite_fixture.rs"
[[test]]
name = "p4b_context_session"
path = "tests/p4b_context_session.rs"
[[test]]
name = "p4b_instruction_assembly"
path = "tests/p4b_instruction_assembly.rs"
[[test]]
name = "p4c_doom_loop"
path = "tests/p4c_doom_loop.rs"
[[test]]
name = "p4c_tool_new_smalls"
path = "tests/p4c_tool_new_smalls.rs"
[[test]]
name = "p4e_composable_closeout"
path = "tests/p4e_composable_closeout.rs"
[[test]]
name = "package_boundaries"
path = "tests/package_boundaries.rs"
[[test]]
name = "permission_golden_vectors"
path = "tests/permission_golden_vectors.rs"
[[test]]
name = "permissions_engine"
path = "tests/permissions_engine.rs"
[[test]]
name = "pi_interop"
path = "tests/pi_interop.rs"
[[test]]
name = "pi_real_corpus"
path = "tests/pi_real_corpus.rs"
[[test]]
name = "plugins_security"
path = "tests/plugins_security.rs"
[[test]]
name = "reduce_dedup"
path = "tests/reduce_dedup.rs"
[[test]]
name = "reduce_handoff"
path = "tests/reduce_handoff.rs"
[[test]]
name = "reduce_loop"
path = "tests/reduce_loop.rs"
[[test]]
name = "reduce_normalize"
path = "tests/reduce_normalize.rs"
[[test]]
name = "reduce_projection"
path = "tests/reduce_projection.rs"
[[test]]
name = "reduce_summaries"
path = "tests/reduce_summaries.rs"
[[test]]
name = "reduce_summaries_demo"
path = "tests/reduce_summaries_demo.rs"
[[test]]
name = "reduce_supersede"
path = "tests/reduce_supersede.rs"
[[test]]
name = "reduce_vocab"
path = "tests/reduce_vocab.rs"
[[test]]
name = "reduction_verify"
path = "tests/reduction_verify.rs"
[[test]]
name = "rehydrate"
path = "tests/rehydrate.rs"
[[test]]
name = "roundtrip_regression"
path = "tests/roundtrip_regression.rs"
[[test]]
name = "sandbox_engine"
path = "tests/sandbox_engine.rs"
[[test]]
name = "schema_coverage"
path = "tests/schema_coverage.rs"
[[test]]
name = "schema_tiers"
path = "tests/schema_tiers.rs"
[[test]]
name = "sdk_architecture"
path = "tests/sdk_architecture.rs"
[[test]]
name = "sdk_core_semantics"
path = "tests/sdk_core_semantics.rs"
[[test]]
name = "sdk_surface_conformance"
path = "tests/sdk_surface_conformance.rs"
[[test]]
name = "server_engine"
path = "tests/server_engine.rs"
[[test]]
name = "server_http"
path = "tests/server_http.rs"
[[test]]
name = "session_fidelity"
path = "tests/session_fidelity.rs"
[[test]]
name = "session_loading"
path = "tests/session_loading.rs"
[[test]]
name = "session_runtime_state"
path = "tests/session_runtime_state.rs"
[[test]]
name = "session_saving"
path = "tests/session_saving.rs"
[[test]]
name = "session_tree_native"
path = "tests/session_tree_native.rs"
[[test]]
name = "session_watch"
path = "tests/session_watch.rs"
[[test]]
name = "sidecar"
path = "tests/sidecar.rs"
[[test]]
name = "sidecar_family_reduction_resolve"
path = "tests/sidecar_family_reduction_resolve.rs"
[[test]]
name = "sidecar_store"
path = "tests/sidecar_store.rs"
[[test]]
name = "spliced_export"
path = "tests/spliced_export.rs"
[[test]]
name = "subagents"
path = "tests/subagents.rs"
[[test]]
name = "tool_deferral"
path = "tests/tool_deferral.rs"
[[test]]
name = "tool_input_elision"
path = "tests/tool_input_elision.rs"
[[test]]
name = "tools"
path = "tests/tools.rs"
[[test]]
name = "tools_background"
path = "tests/tools_background.rs"
[[test]]
name = "tr10_input_guarantor"
path = "tests/tr10_input_guarantor.rs"
[[test]]
name = "tr12_cap_supersession"
path = "tests/tr12_cap_supersession.rs"
[[test]]
name = "tr2_dedup_guarantor"
path = "tests/tr2_dedup_guarantor.rs"
[[test]]
name = "tr3_diff_guarantor"
path = "tests/tr3_diff_guarantor.rs"
[[test]]
name = "tr4_normalize_guarantor"
path = "tests/tr4_normalize_guarantor.rs"
[[test]]
name = "tr6_supersede_guarantor"
path = "tests/tr6_supersede_guarantor.rs"
[[test]]
name = "tr7_summary_guarantor"
path = "tests/tr7_summary_guarantor.rs"
[[test]]
name = "tr9_handoff_guarantor"
path = "tests/tr9_handoff_guarantor.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.blake3]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.diffy]
version = "0.5"
[dependencies.futures]
version = "0.3"
[dependencies.getrandom]
version = "0.2"
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.libc]
version = "0.2"
[dependencies.notify]
version = "8.2"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"rustls-tls",
]
default-features = false
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.supercode-interchange]
version = "=0.4.8"
[dependencies.supercode-reduce]
version = "=0.4.8"
[dependencies.supercode-runtime]
version = "=0.4.8"
features = ["reduction"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.26"
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tree-sitter]
version = "0.25"
[dependencies.tree-sitter-bash]
version = "0.25"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4.5"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_JobObjects",
"Win32_System_Threading",
]