AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
ClipboardAPI
Clipboard API for context providers
Signature
interface ClipboardAPI {
writeText(text: string): Promise<void>;
copyPaths(paths: string[]): Promise<void>;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
writeText | (text: string) => Promise<void> | yes | Copy text to clipboard |
copyPaths | (paths: string[]) => Promise<void> | yes | Copy file paths to clipboard |