1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[]
= "trusty-code"
= "0.2.0"
= "2024"
= true
# license.workspace resolves to "MIT"; LICENSE is kept in-crate for correctness.
= true
= true
= true
= "Per-project Claude-Code-compatible MPM orchestration harness (bin: tcode) — an original coding harness, tracked under epic #2052."
= "README.md"
= "https://github.com/bobmatnyc/trusty-tools"
= ["cli", "mcp", "orchestration", "agents", "harness"]
= ["command-line-utilities", "development-tools"]
[[]]
= "tcode"
= "src/main.rs"
[]
= "trusty_code"
= "src/lib.rs"
[]
# Core error handling and async runtime
= { = true }
= { = true }
= { = true }
# Serialization (events, ipc, perf, build_info, tools, agents)
= { = true }
= { = true }
# Timestamp support (perf, build_info)
= { = true }
# UUID generation (ipc task IDs)
= { = true }
# CLI entry point (tcode binary)
= { = true }
= { = true }
# Phase 2: async trait dispatch for ToolExecutor, AgentRunner, SearchProvider
= { = true }
# Phase 3: TOML config parsing for AgentConfig
= { = true }
# Structured error types for library code (FsError, LlmError, etc.)
= { = true }
# LLM client: HTTP + TLS for the OpenRouter chat-completions API
= { = true }
# Bash tool: process-group kill on Unix (setsid / kill syscalls)
= { = true }
# verify_gate (#2279): matches a `bash` tool call's command against the
# finalized test-invocation patterns (`pytest\s+\S+`, `cargo test`, …).
# Also powers the `grep` exploration tool's content regex matching (#1027).
= { = true }
# Native exploration tools (#1027): `ignore` provides gitignore-aware recursive
# walking for the `glob`/`grep` tools; `globset` compiles the glob patterns.
= { = true }
= { = true }
# DOC-28 catch-up digest for PM prompt seed context (#1762 PR2), plus the
# shared JSON-RPC 2.0 / MCP wire types + STDIO loop (#2053) so `tcode serve
# --stdio` speaks the exact same JSON-RPC-over-STDIO contract as trusty-memory
# and trusty-search. `catchup` already pulls in `mcp` transitively
# (`catchup = ["dep:rusqlite", "mcp"]`); `mcp` is listed explicitly too so the
# direct dependency is documented rather than relying on the transitive edge.
# `axum-server` enables `trusty_common::server::with_standard_middleware`
# (CORS/trace/gzip) so `tcode serve --http` matches the trusty-memory/
# trusty-search middleware stack exactly.
# `inference-client` (#2406, epic #2400) provides the shared inference adapter
# layer (`trusty_common::inference`) tcode's OpenRouter/Fireworks transport is
# built on: the OpenAI-compatible HTTP core, the two-stage credential resolver
# (env > .env.local > secure store), and the capability registry. It composes
# with `axum-server` to expose `inference::test_support::MockInferenceServer`
# for the offline black-box e2e in `tests/inference_shared_adapter_e2e.rs`.
# `stdio-mcp-client` provides the shared `StdioMcpClient` (spawn an MCP binary,
# run the JSON-RPC-over-stdio handshake, call tools) the trusty-search-backed
# code-discovery tool reuses instead of writing its own MCP transport
# (common-entry-point principle) — mirrors trusty-agents' TrustySearchPlugin.
# `search-index` provides the shared ensure-project-indexed helper for tcode
# task startup.
= { = true, = ["catchup", "mcp", "stdio-mcp-client", "axum-server", "inference-client", "config-cli", "bedrock-client", "search-index"] }
# `tcode serve --http`: POST /rpc + GET /health over axum (#2053). Per
# CLAUDE.md, axum stays feature-gated in *library* crates
# (`trusty-common`'s `axum-server` flag); trusty-code is a binary crate that
# actually serves HTTP, so it takes the dependency unconditionally, matching
# how `trusty-search`/`trusty-memory` depend on it.
= { = true }
# `GET /sessions/{id}/events` SSE route (#2054): wraps the existing
# `tokio::sync::broadcast`-backed event bus (`crate::events`) as a `Stream`
# axum's SSE response type can consume, chained after a ring-buffer replay
# burst built with plain `futures_util::stream::iter`.
= { = true }
= { = true }
# `run_task::diff`'s git-tree snapshot (#2061, #1475 bug 3): a scratch
# directory for the THROWAWAY `GIT_INDEX_FILE` git stages into, so the run's
# before/after capture never touches the project's real `.git/index`.
# Promoted from dev-dependencies (where it already served every temp-dir
# test in this crate) since this is now a genuine production code path, not
# test-only.
= { = true }
# AWS Bedrock Converse API transport (#1021, migrated #2407): the Converse wire
# integration now lives in the shared `trusty_common::inference::bedrock` adapter
# (enabled via the `bedrock-client` feature on the `trusty-common` dep below), so
# tcode no longer depends on the AWS SDK directly — `llm::bedrock` is a thin
# bridge onto that adapter. The AWS stack is pulled in transitively by
# `bedrock-client`.
[]
# Async test runtime (events, build_info, perf async tests, tools tests)
= { = true }
# HTTP router test-only helper (`tower::util::ServiceExt::oneshot`) for
# driving the `tcode serve --http` axum router without a real socket (#2053).
= { = true }