| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(gateway): enforce single-writer per session via attach leases Co-Authored-By: GLM-5.2 | 1 个月前 | |
refactor(serverside): sink assembly into shared, drop bottom-layer deps Switch serverside to consume the shared coarse-grained assembly facade so its path dependencies collapse to xiaoo-api + xiaoo-shared only. - LLM provider: both startup and override paths call shared build_llm_provider; drop the local resolve_effective_provider_config / resolve_llm_api_key / resolve_api_key_env / resolve_effective_context_window helpers. - Tool assembly: build_tool_registry delegates to shared discover_tool_names + build_tool_registry via a coarse ToolAssemblyInput; drop the local ToolRuntimeServices / ToolRegistryBuilderImpl / load_tool_sources_with_services plumbing. The per-session MCP init cache moves into shared McpToolCache. - Subagent control: drop the subagent_control field and bind_subagent_control override; the bound handle is stored in a shared opaque BoundControlStore populated by AppBootstrap via a new SessionRuntimeResolver::bound_control_store hook, so serverside never names the control trait (or its Spawn/Join types). The propagation test sinks with the removed plumbing. - Dashboard: use shared backend_state_label / backend_endpoint_str; drop the local label functions and their variant-fixture test (covered by shared). - Action sink: remove the local action_sink.rs; the router now holds the shared DaemonHookActionSink concrete type and calls its inherent execute_on_daemon. - Remaining vocabulary imports: ChannelFileSender, CronExpression/CronJobConfig/ CronExecutionError, LspServiceRegistry, McpSection (+ merge helpers), SkillsConfig, ChannelPromptSections/compose_channel_system_prompt, and ProcessGroupCleanupGuard all route through xiaoo-shared. - Cargo.toml: remove the 10 bottom-layer path deps (agent-contracts, agent-types, llm-client, skill, subagent, prompt, tool, mcp, lsp, operation_backend). Co-Authored-By: GLM-5.2 | 3 天前 | |
refactor(serverside): sink assembly into shared, drop bottom-layer deps Switch serverside to consume the shared coarse-grained assembly facade so its path dependencies collapse to xiaoo-api + xiaoo-shared only. - LLM provider: both startup and override paths call shared build_llm_provider; drop the local resolve_effective_provider_config / resolve_llm_api_key / resolve_api_key_env / resolve_effective_context_window helpers. - Tool assembly: build_tool_registry delegates to shared discover_tool_names + build_tool_registry via a coarse ToolAssemblyInput; drop the local ToolRuntimeServices / ToolRegistryBuilderImpl / load_tool_sources_with_services plumbing. The per-session MCP init cache moves into shared McpToolCache. - Subagent control: drop the subagent_control field and bind_subagent_control override; the bound handle is stored in a shared opaque BoundControlStore populated by AppBootstrap via a new SessionRuntimeResolver::bound_control_store hook, so serverside never names the control trait (or its Spawn/Join types). The propagation test sinks with the removed plumbing. - Dashboard: use shared backend_state_label / backend_endpoint_str; drop the local label functions and their variant-fixture test (covered by shared). - Action sink: remove the local action_sink.rs; the router now holds the shared DaemonHookActionSink concrete type and calls its inherent execute_on_daemon. - Remaining vocabulary imports: ChannelFileSender, CronExpression/CronJobConfig/ CronExecutionError, LspServiceRegistry, McpSection (+ merge helpers), SkillsConfig, ChannelPromptSections/compose_channel_system_prompt, and ProcessGroupCleanupGuard all route through xiaoo-shared. - Cargo.toml: remove the 10 bottom-layer path deps (agent-contracts, agent-types, llm-client, skill, subagent, prompt, tool, mcp, lsp, operation_backend). Co-Authored-By: GLM-5.2 | 3 天前 | |
refactor(serverside): sink assembly into shared, drop bottom-layer deps Switch serverside to consume the shared coarse-grained assembly facade so its path dependencies collapse to xiaoo-api + xiaoo-shared only. - LLM provider: both startup and override paths call shared build_llm_provider; drop the local resolve_effective_provider_config / resolve_llm_api_key / resolve_api_key_env / resolve_effective_context_window helpers. - Tool assembly: build_tool_registry delegates to shared discover_tool_names + build_tool_registry via a coarse ToolAssemblyInput; drop the local ToolRuntimeServices / ToolRegistryBuilderImpl / load_tool_sources_with_services plumbing. The per-session MCP init cache moves into shared McpToolCache. - Subagent control: drop the subagent_control field and bind_subagent_control override; the bound handle is stored in a shared opaque BoundControlStore populated by AppBootstrap via a new SessionRuntimeResolver::bound_control_store hook, so serverside never names the control trait (or its Spawn/Join types). The propagation test sinks with the removed plumbing. - Dashboard: use shared backend_state_label / backend_endpoint_str; drop the local label functions and their variant-fixture test (covered by shared). - Action sink: remove the local action_sink.rs; the router now holds the shared DaemonHookActionSink concrete type and calls its inherent execute_on_daemon. - Remaining vocabulary imports: ChannelFileSender, CronExpression/CronJobConfig/ CronExecutionError, LspServiceRegistry, McpSection (+ merge helpers), SkillsConfig, ChannelPromptSections/compose_channel_system_prompt, and ProcessGroupCleanupGuard all route through xiaoo-shared. - Cargo.toml: remove the 10 bottom-layer path deps (agent-contracts, agent-types, llm-client, skill, subagent, prompt, tool, mcp, lsp, operation_backend). Co-Authored-By: GLM-5.2 | 3 天前 | |
收窄shared 模块,去除大量无用代码,过度抽象 | 2 个月前 | |
refactor(serverside): sink assembly into shared, drop bottom-layer deps Switch serverside to consume the shared coarse-grained assembly facade so its path dependencies collapse to xiaoo-api + xiaoo-shared only. - LLM provider: both startup and override paths call shared build_llm_provider; drop the local resolve_effective_provider_config / resolve_llm_api_key / resolve_api_key_env / resolve_effective_context_window helpers. - Tool assembly: build_tool_registry delegates to shared discover_tool_names + build_tool_registry via a coarse ToolAssemblyInput; drop the local ToolRuntimeServices / ToolRegistryBuilderImpl / load_tool_sources_with_services plumbing. The per-session MCP init cache moves into shared McpToolCache. - Subagent control: drop the subagent_control field and bind_subagent_control override; the bound handle is stored in a shared opaque BoundControlStore populated by AppBootstrap via a new SessionRuntimeResolver::bound_control_store hook, so serverside never names the control trait (or its Spawn/Join types). The propagation test sinks with the removed plumbing. - Dashboard: use shared backend_state_label / backend_endpoint_str; drop the local label functions and their variant-fixture test (covered by shared). - Action sink: remove the local action_sink.rs; the router now holds the shared DaemonHookActionSink concrete type and calls its inherent execute_on_daemon. - Remaining vocabulary imports: ChannelFileSender, CronExpression/CronJobConfig/ CronExecutionError, LspServiceRegistry, McpSection (+ merge helpers), SkillsConfig, ChannelPromptSections/compose_channel_system_prompt, and ProcessGroupCleanupGuard all route through xiaoo-shared. - Cargo.toml: remove the 10 bottom-layer path deps (agent-contracts, agent-types, llm-client, skill, subagent, prompt, tool, mcp, lsp, operation_backend). Co-Authored-By: GLM-5.2 | 3 天前 | |
refactor(serverside): sink assembly into shared, drop bottom-layer deps Switch serverside to consume the shared coarse-grained assembly facade so its path dependencies collapse to xiaoo-api + xiaoo-shared only. - LLM provider: both startup and override paths call shared build_llm_provider; drop the local resolve_effective_provider_config / resolve_llm_api_key / resolve_api_key_env / resolve_effective_context_window helpers. - Tool assembly: build_tool_registry delegates to shared discover_tool_names + build_tool_registry via a coarse ToolAssemblyInput; drop the local ToolRuntimeServices / ToolRegistryBuilderImpl / load_tool_sources_with_services plumbing. The per-session MCP init cache moves into shared McpToolCache. - Subagent control: drop the subagent_control field and bind_subagent_control override; the bound handle is stored in a shared opaque BoundControlStore populated by AppBootstrap via a new SessionRuntimeResolver::bound_control_store hook, so serverside never names the control trait (or its Spawn/Join types). The propagation test sinks with the removed plumbing. - Dashboard: use shared backend_state_label / backend_endpoint_str; drop the local label functions and their variant-fixture test (covered by shared). - Action sink: remove the local action_sink.rs; the router now holds the shared DaemonHookActionSink concrete type and calls its inherent execute_on_daemon. - Remaining vocabulary imports: ChannelFileSender, CronExpression/CronJobConfig/ CronExecutionError, LspServiceRegistry, McpSection (+ merge helpers), SkillsConfig, ChannelPromptSections/compose_channel_system_prompt, and ProcessGroupCleanupGuard all route through xiaoo-shared. - Cargo.toml: remove the 10 bottom-layer path deps (agent-contracts, agent-types, llm-client, skill, subagent, prompt, tool, mcp, lsp, operation_backend). Co-Authored-By: GLM-5.2 | 3 天前 | |
optimize: cargo fmt and clear build warning Co-Authored-By: GLM-5.2 | 3 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 2 个月前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 3 天前 |