agent-afk 5.41.0 → 5.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,14 @@ interface ClipboardTool {
2
2
  cmd: string;
3
3
  args: string[];
4
4
  }
5
+ export interface Osc52Sink {
6
+ write(chunk: string): boolean;
7
+ isTTY?: boolean;
8
+ }
5
9
  export declare function clipboardToolsFor(platform: NodeJS.Platform): ClipboardTool[];
6
- export declare function copyToClipboard(text: string, platform?: NodeJS.Platform): boolean;
10
+ export declare function osc52Copy(text: string): string;
11
+ export declare function wrapTmuxPassthrough(sequence: string): string;
12
+ export declare function osc52ClipboardSequence(text: string, env?: NodeJS.ProcessEnv): string;
13
+ export declare function copyViaOsc52(text: string, env?: NodeJS.ProcessEnv, sink?: Osc52Sink): boolean;
14
+ export declare function copyToClipboard(text: string, platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv, sink?: Osc52Sink): boolean;
7
15
  export {};