Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

405 B
Raw Blame
import { composeSelectionPrompt } from '@inkeep/open-knowledge-core/handoff';
import { docNameToRelativePath } from '@/lib/workspace-paths';

export function composeTerminalSelectionPaste(docName: string, selectionMarkdown: string): string {
  return composeSelectionPrompt({
    relativePath: docNameToRelativePath(docName),
    instruction: '',
    selectionMarkdown,
    target: 'claude-code',
  });
}