*/
export function toCommandCompletionAttachmentMeta(meta: ICommandCompletionAttachmentMeta): Record<string, unknown> {
const result: Record<string, unknown> = { command: meta.command };
agentCompletionAttachmentMeta.ts
if (meta.description !== undefined) {
result['description'] = meta.description;
}
result['argumentHint'] = meta.argumentHint;
}
if (action !== undefined) {
result['action'] = action;
}
}
/**