Skip to main content

Crate tea_coding

Crate tea_coding 

Source
Expand description

Mode-neutral product assembly for the reference Coding CLI.

This crate owns coding-specific configuration, project trust, declarative resources, profile assembly, and session-service behavior. It never depends on a terminal renderer or command-line parser.

Re-exports§

pub use mcp_config::McpEnvironmentResolver;

Modules§

config
Versioned secret-free coding settings and deterministic layer merging.
mcp_config
Trusted MCP settings conversion and late child-environment resolution.
resources
Trusted bounded declarative context, skill, and prompt-template discovery.

Structs§

AppPaths
Fully injected filesystem roots used by the coding product.
CodingAgentBuilder
Product builder assembling one mode-neutral coding service.
CodingAgentService
One mode-neutral application service over the canonical runtime/session model.
CodingCredentialResolver
Product credential port that owns only a resolver, never a resolved secret.
CodingError
Bounded path- and secret-independent coding-product error.
CommandAcceptance
Immediate acknowledgement that a long-running command has an owned task.
McpCatalogEntry
One safe immutable MCP tool binding exposed to product hosts.
McpServiceSnapshot
Safe immutable MCP lifecycle and catalog projection for product hosts.
ProjectTrustStore
Atomic persistent project-trust repository keyed by canonical workspace.

Enums§

CodingErrorCode
Stable coding-product failure classification.
InteractionMode
Whether the current mode can display a trust prompt.
PersistedTrustDecision
Persisted project trust decision.
ProjectAccess
Effective project-local resource access.
TrustRequest
One invocation’s effective trust request.

Functions§

package_version
Returns the package version embedded at compile time.