@anhlp/alp-protocol 0.0.1-beta.4 → 0.0.1-beta.6

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.
@@ -1,4 +1,5 @@
1
1
  import type { Envelope } from './events.js';
2
+ import type { AttachmentLimits, TerminalLimits } from './rpc.js';
2
3
  export type DaemonConnection = {
3
4
  request<T = any>(method: string, params?: unknown): Promise<T>;
4
5
  onEvent(listener: (envelope: Envelope) => void): () => void;
@@ -10,4 +11,12 @@ export type DaemonConnection = {
10
11
  readonly closed?: boolean;
11
12
  /** Features captured by the Node client handshake; absent on older adapters. */
12
13
  readonly capabilities?: readonly string[];
14
+ /** Limits captured by the Node client handshake; absent on older adapters. */
15
+ readonly attachmentLimits?: AttachmentLimits;
16
+ readonly promptImageLimits?: {
17
+ readonly maxCount: number;
18
+ readonly maxBytes: number;
19
+ readonly maxTotalBytes: number;
20
+ };
21
+ readonly terminalLimits?: TerminalLimits;
13
22
  };