@@ -152,7 +152,7 @@ const CRON_NEXT_PAD = 10;
152152const CRON_LAST_PAD = 10 ;
153153const CRON_STATUS_PAD = 9 ;
154154const CRON_TARGET_PAD = 9 ;
155- const CRON_DELIVERY_PAD = 42 ;
155+ const CRON_DELIVERY_PAD = 64 ;
156156const CRON_AGENT_PAD = 10 ;
157157const CRON_MODEL_PAD = 20 ;
158158
@@ -278,13 +278,18 @@ export async function resolveCronDeliveryPreview(job: CronJob): Promise<CronDeli
278278 ] ) ;
279279 const cfg = loadConfig ( ) ;
280280 const agentId = job . agentId ?. trim ( ) || resolveDefaultAgentId ( cfg ) ;
281- const resolved = await resolveDeliveryTarget ( cfg , agentId , {
282- channel : requestedChannel ,
283- to : plan . to ,
284- threadId : plan . threadId ,
285- accountId : plan . accountId ,
286- sessionKey : job . sessionKey ,
287- } ) ;
281+ const resolved = await resolveDeliveryTarget (
282+ cfg ,
283+ agentId ,
284+ {
285+ channel : requestedChannel ,
286+ to : plan . to ,
287+ threadId : plan . threadId ,
288+ accountId : plan . accountId ,
289+ sessionKey : job . sessionKey ,
290+ } ,
291+ { dryRun : true } ,
292+ ) ;
288293 if ( ! resolved . ok ) {
289294 return {
290295 label : `${ plan . mode } -> ${ formatTarget ( requestedChannel , plan . to ?? null ) } ` ,
@@ -358,10 +363,10 @@ export function printCronList(
358363 const statusLabel = pad ( statusRaw , CRON_STATUS_PAD ) ;
359364 const targetLabel = pad ( job . sessionTarget ?? "-" , CRON_TARGET_PAD ) ;
360365 const deliveryPreview = opts ?. deliveryPreviews ?. get ( job . id ) ;
361- const deliveryLabel = pad (
362- truncate ( deliveryPreview ? .label ?? "-" , CRON_DELIVERY_PAD ) ,
363- CRON_DELIVERY_PAD ,
364- ) ;
366+ const deliveryText = deliveryPreview
367+ ? ` ${ deliveryPreview . label } ( ${ deliveryPreview . detail } )`
368+ : "-" ;
369+ const deliveryLabel = pad ( truncate ( deliveryText , CRON_DELIVERY_PAD ) , CRON_DELIVERY_PAD ) ;
365370 const agentLabel = pad ( truncate ( job . agentId ?? "-" , CRON_AGENT_PAD ) , CRON_AGENT_PAD ) ;
366371 const modelLabel = pad (
367372 truncate (
0 commit comments