chore(app): tag app-side command deduplication as a COMPAT shim

This commit is contained in:
Mohamed Boudra
2026-11-20 07:57:49 +01:00
parent 6ff1c4deca
commit 78eb6aa770
@@ -37,6 +37,7 @@ export interface AgentCommandsClient {
listCommands(options: ListAgentCommandsOptions): ReturnType<DaemonClient["listCommands"]>;
}
// COMPAT(dedupeListCommands): added in v0.17.0, remove after 2027-05-20 once daemon floor >= v0.17.0.
function dedupeSlashCommands(commands: readonly AgentSlashCommand[]): AgentSlashCommand[] {
const seen = new Set<string>();
const unique: AgentSlashCommand[] = [];