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

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.
@@ -582,7 +582,7 @@
582
582
  "send": {
583
583
  "jsonrpc": "2.0",
584
584
  "id": 2,
585
- "method": "workspace.list"
585
+ "method": "conformance.unknown"
586
586
  },
587
587
  "expect": {
588
588
  "id": 2,
@@ -2,8 +2,12 @@ import type { Envelope } from './events.js';
2
2
  export type DaemonConnection = {
3
3
  request<T = any>(method: string, params?: unknown): Promise<T>;
4
4
  onEvent(listener: (envelope: Envelope) => void): () => void;
5
+ /** Notifications other than `event`, such as `terminal.event` (§12.10); absent on older adapters. */
6
+ onNotification?(listener: (method: string, params: any) => void): () => void;
5
7
  onClose(listener: (error: Error) => void): () => void;
6
8
  close(): void;
7
9
  /** True once the connection is gone; socket clients report it, in-process ones may not. */
8
10
  readonly closed?: boolean;
11
+ /** Features captured by the Node client handshake; absent on older adapters. */
12
+ readonly capabilities?: readonly string[];
9
13
  };