Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

376 B
Raw Blame
import { withSpanSync } from '@inkeep/open-knowledge-server';
import type { NoteWindowEntryPoint } from './note-window-registry.ts';

export function recordNoteWindowOpened(info: { entryPoint: NoteWindowEntryPoint }): void {
  withSpanSync(
    'ok.desktop.noteWindowOpened',
    { attributes: { 'ok.desktop.note_entry_point': info.entryPoint } },
    () => undefined,
  );
}