agent-afk 5.110.5 → 5.111.1

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.
@@ -0,0 +1,20 @@
1
+ import type { AgentModelInput } from '../types.js';
2
+ import { type SessionRegistry, type SessionHandle, type SessionSurface } from './session-registry.js';
3
+ interface RegisterableSession {
4
+ readonly sessionId?: string;
5
+ waitForInitialization?(): Promise<unknown>;
6
+ }
7
+ export interface RegisterSurfaceSessionOptions {
8
+ surface: SessionSurface;
9
+ model: AgentModelInput;
10
+ cwd?: string;
11
+ name?: string;
12
+ sdkSessionId?: string;
13
+ registry?: SessionRegistry;
14
+ }
15
+ export interface SurfaceSessionRegistration {
16
+ handle: SessionHandle | undefined;
17
+ dispose(): void;
18
+ }
19
+ export declare function registerSurfaceSession(session: RegisterableSession, opts: RegisterSurfaceSessionOptions): SurfaceSessionRegistration;
20
+ export {};
@@ -9,7 +9,7 @@ export interface Osc52Sink {
9
9
  export declare function clipboardToolsFor(platform: NodeJS.Platform): ClipboardTool[];
10
10
  export declare function osc52Copy(text: string): string;
11
11
  export declare function wrapTmuxPassthrough(sequence: string): string;
12
- export declare function osc52ClipboardSequence(text: string, env?: NodeJS.ProcessEnv): string;
12
+ export declare function osc52ClipboardSequence(text: string, _env?: NodeJS.ProcessEnv): string;
13
13
  export declare function copyViaOsc52(text: string, env?: NodeJS.ProcessEnv, sink?: Osc52Sink): boolean;
14
14
  export declare function copyToClipboard(text: string, platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv, sink?: Osc52Sink): boolean;
15
15
  export {};