fabro/lib/crates/fabro-agent/src
Bryan Helmkamp a3808a98b3 refactor(settings): stage 6.3b promote user runtime types into consumers
First consumer migration pass. Deletes
`lib/crates/fabro-types/src/settings/user.rs` outright:

- `OutputFormat`, `PermissionLevel`: moved into `fabro-agent/src/cli.rs`
  where they are actually consumed as `AgentArgs` fields. They carry
  clap `ValueEnum` derives so `fabro-cli` keeps importing them via the
  `fabro_agent::cli::{OutputFormat, PermissionLevel}` public path.
- `ClientTlsSettings`: moved into `fabro-cli/src/user_config.rs` as a
  crate-private struct. Only `fabro-cli` references it (via
  `cli_target_from_v2` when building the HTTP client).
- `ExecSettings`, legacy `ServerSettings` (from `settings::user`):
  deleted outright — no callers remained.

Also removes the now-dead `From<&GitAuthorSettings> for GitAuthor`
impl in `fabro-checkpoint/src/author.rs`. The v2 `GitAuthorLayer`
conversion is the only path `fabro-workflow::git::git_author_from_settings`
uses. Drops the `fabro_types::settings::server::GitAuthorSettings`
import along with it.

`settings/mod.rs` drops the `pub mod user` declaration and the
`pub use user::*` re-export line. One of the seven legacy runtime
type modules is now gone; six remain.

3,758 workspace tests pass. `cargo fmt --check --all` and
`cargo clippy --workspace -- -D warnings` are clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:59:49 -04:00
..
profiles Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
agent_profile.rs Enable 7 additional pedantic clippy lints 2026-03-29 13:47:08 -04:00
cli.rs refactor(settings): stage 6.3b promote user runtime types into consumers 2026-04-09 17:59:49 -04:00
compaction.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
config.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
docker_sandbox.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
error.rs feat: embed fabro spa and align interruption semantics 2026-04-08 14:43:44 -04:00
event.rs refactor: rename EventEmitter to Emitter 2026-04-04 12:24:42 -04:00
file_tracker.rs Enable clippy pedantic lints and restriction lints workspace-wide 2026-03-29 13:47:08 -04:00
history.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
lib.rs feat: embed fabro spa and align interruption semantics 2026-04-08 14:43:44 -04:00
local_sandbox.rs Create fabro-sandbox crate, consolidating Sandbox trait and all implementations 2026-03-19 20:06:19 -04:00
loop_detection.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
mcp_integration.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
memory.rs Enable clippy pedantic lints and restriction lints workspace-wide 2026-03-29 13:47:08 -04:00
read_before_write_sandbox.rs Create fabro-sandbox crate, consolidating Sandbox trait and all implementations 2026-03-19 20:06:19 -04:00
sandbox.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
session.rs feat: embed fabro spa and align interruption semantics 2026-04-08 14:43:44 -04:00
skills.rs fix(home): migrate all runtime consumers to use Home 2026-04-06 13:36:43 -04:00
subagent.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
test_support.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
tool_execution.rs refactor: rename EventEmitter to Emitter 2026-04-04 12:24:42 -04:00
tool_registry.rs Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
tools.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
truncation.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00
types.rs refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
v4a_patch.rs Rename SessionConfig to SessionOptions and McpServerConfig to McpServerSettings 2026-04-02 06:47:42 -07:00