omx(team): auto-checkpoint worker-1 [1]

This commit is contained in:
bellman
2026-05-15 10:00:39 +09:00
parent d3ae7beefb
commit 686cc89a36
7 changed files with 57 additions and 7 deletions

View File

@@ -101,6 +101,7 @@ pub struct McpConfigCollection {
/// MCP server config paired with the scope that defined it.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ScopedMcpServerConfig {
pub required: bool,
pub scope: ConfigSource,
pub config: McpServerConfig,
}
@@ -752,6 +753,12 @@ fn merge_mcp_servers(
target.insert(
name.clone(),
ScopedMcpServerConfig {
required: optional_bool(
expect_object(value, &format!("{}: mcpServers.{name}", path.display()))?,
"required",
&format!("{}: mcpServers.{name}", path.display()),
)?
.unwrap_or(false),
scope: source,
config: parsed,
},