@@ -306,6 +306,26 @@ const META_custom_tool: ToolMetadata = {
306306 } ,
307307}
308308
309+ const META_build : ToolMetadata = {
310+ displayNames : {
311+ [ ClientToolCallState . generating ] : { text : 'Building' , icon : Loader2 } ,
312+ [ ClientToolCallState . pending ] : { text : 'Building' , icon : Loader2 } ,
313+ [ ClientToolCallState . executing ] : { text : 'Building' , icon : Loader2 } ,
314+ [ ClientToolCallState . success ] : { text : 'Built' , icon : Wrench } ,
315+ [ ClientToolCallState . error ] : { text : 'Failed to build' , icon : XCircle } ,
316+ [ ClientToolCallState . rejected ] : { text : 'Skipped build' , icon : XCircle } ,
317+ [ ClientToolCallState . aborted ] : { text : 'Aborted build' , icon : XCircle } ,
318+ } ,
319+ uiConfig : {
320+ subagent : {
321+ streamingLabel : 'Building' ,
322+ completedLabel : 'Built' ,
323+ shouldCollapse : true ,
324+ outputArtifacts : [ ] ,
325+ } ,
326+ } ,
327+ }
328+
309329const META_debug : ToolMetadata = {
310330 displayNames : {
311331 [ ClientToolCallState . generating ] : { text : 'Debugging' , icon : Loader2 } ,
@@ -326,6 +346,26 @@ const META_debug: ToolMetadata = {
326346 } ,
327347}
328348
349+ const META_discovery : ToolMetadata = {
350+ displayNames : {
351+ [ ClientToolCallState . generating ] : { text : 'Discovering' , icon : Loader2 } ,
352+ [ ClientToolCallState . pending ] : { text : 'Discovering' , icon : Loader2 } ,
353+ [ ClientToolCallState . executing ] : { text : 'Discovering' , icon : Loader2 } ,
354+ [ ClientToolCallState . success ] : { text : 'Discovered' , icon : Search } ,
355+ [ ClientToolCallState . error ] : { text : 'Failed to discover' , icon : XCircle } ,
356+ [ ClientToolCallState . rejected ] : { text : 'Skipped discovery' , icon : XCircle } ,
357+ [ ClientToolCallState . aborted ] : { text : 'Aborted discovery' , icon : XCircle } ,
358+ } ,
359+ uiConfig : {
360+ subagent : {
361+ streamingLabel : 'Discovering' ,
362+ completedLabel : 'Discovered' ,
363+ shouldCollapse : true ,
364+ outputArtifacts : [ ] ,
365+ } ,
366+ } ,
367+ }
368+
329369const META_deploy : ToolMetadata = {
330370 displayNames : {
331371 [ ClientToolCallState . generating ] : { text : 'Deploying' , icon : Loader2 } ,
@@ -2252,9 +2292,11 @@ const TOOL_METADATA_BY_ID: Record<string, ToolMetadata> = {
22522292 checkoff_todo : META_checkoff_todo ,
22532293 crawl_website : META_crawl_website ,
22542294 create_workspace_mcp_server : META_create_workspace_mcp_server ,
2295+ build : META_build ,
22552296 custom_tool : META_custom_tool ,
22562297 debug : META_debug ,
22572298 deploy : META_deploy ,
2299+ discovery : META_discovery ,
22582300 deploy_api : META_deploy_api ,
22592301 deploy_chat : META_deploy_chat ,
22602302 deploy_mcp : META_deploy_mcp ,
0 commit comments