refactor: make baseTimestamp optional in addItem and remove redundant calls (#16471)

This commit is contained in:
Sehoon Shon
2026-01-13 14:15:04 -05:00
committed by GitHub
parent aa52462550
commit 91fcca3b1c
30 changed files with 528 additions and 888 deletions
@@ -44,7 +44,7 @@ const agentsListCommand: SlashCommand = {
agents,
};
context.ui.addItem(agentsListItem, Date.now());
context.ui.addItem(agentsListItem);
return;
},
@@ -65,13 +65,10 @@ const agentsRefreshCommand: SlashCommand = {
};
}
context.ui.addItem(
{
type: MessageType.INFO,
text: 'Refreshing agent registry...',
},
Date.now(),
);
context.ui.addItem({
type: MessageType.INFO,
text: 'Refreshing agent registry...',
});
await agentRegistry.reload();