Skip to content

Commit 389bde7

Browse files
Alex Holmbergclaude
authored andcommitted
feat(11.3-03): add DeployServiceTool for conversational deployment
Create compound agent tool that enables end-to-end deployment: - Analyzes project (language, framework, ports, health endpoints) - Checks available deployment capabilities - Generates recommendations with reasoning using 11.3-02 engine - Returns preview with confirmation prompt (preview_only=true) - Executes deployment when confirmed (preview_only=false) Features: - Provider/machine/region/port overrides for customization - Monorepo support with optional path parameter - Derives dockerfile path and build context from analysis - Uses PlatformSession for context, recommendation engine for settings - Includes alternatives for user customization 5 tests covering tool name, preview mode, service name derivation, and error handling for nonexistent paths. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5a9de9b commit 389bde7

3 files changed

Lines changed: 670 additions & 3 deletions

File tree

src/agent/tools/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ pub use k8s_optimize::K8sOptimizeTool;
171171
pub use kubelint::KubelintTool;
172172
pub use plan::{PlanCreateTool, PlanListTool, PlanNextTool, PlanUpdateTool};
173173
pub use platform::{
174-
CheckProviderConnectionTool, CurrentContextTool, GetDeploymentStatusTool, GetServiceLogsTool,
175-
ListDeploymentConfigsTool, ListDeploymentsTool, ListOrganizationsTool, ListProjectsTool,
176-
OpenProviderSettingsTool, SelectProjectTool, TriggerDeploymentTool,
174+
CheckProviderConnectionTool, CurrentContextTool, DeployServiceTool, GetDeploymentStatusTool,
175+
GetServiceLogsTool, ListDeploymentConfigsTool, ListDeploymentsTool, ListOrganizationsTool,
176+
ListProjectsTool, OpenProviderSettingsTool, SelectProjectTool, TriggerDeploymentTool,
177177
};
178178
pub use prometheus_connect::PrometheusConnectTool;
179179
pub use prometheus_discover::PrometheusDiscoverTool;

0 commit comments

Comments
 (0)