@opticlm/connector 2.3.0 → 2.3.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.
@@ -4,7 +4,7 @@ interface connectPipeOptions {
4
4
  pipeName: string;
5
5
  connectTimeout?: number;
6
6
  }
7
- interface LspPipeConnection {
7
+ interface PipeConnection {
8
8
  readonly fileAccess?: FileAccessProvider;
9
9
  readonly edit?: EditProvider;
10
10
  readonly definition?: DefinitionProvider;
@@ -18,7 +18,7 @@ interface LspPipeConnection {
18
18
  readonly availableMethods: string[];
19
19
  disconnect(): void;
20
20
  }
21
- declare function connectPipe(options: connectPipeOptions): Promise<LspPipeConnection>;
21
+ declare function connectPipe(options: connectPipeOptions): Promise<PipeConnection>;
22
22
 
23
23
  interface servePipeOptions {
24
24
  pipeName: string;
@@ -33,11 +33,11 @@ interface servePipeOptions {
33
33
  graph?: GraphProvider;
34
34
  frontmatter?: FrontmatterProvider;
35
35
  }
36
- interface LspPipeServer {
36
+ interface PipeServer {
37
37
  readonly pipePath: string;
38
38
  readonly connectionCount: number;
39
39
  close(): Promise<void>;
40
40
  }
41
- declare function servePipe(options: servePipeOptions): Promise<LspPipeServer>;
41
+ declare function servePipe(options: servePipeOptions): Promise<PipeServer>;
42
42
 
43
- export { type LspPipeConnection, type LspPipeServer, connectPipe, type connectPipeOptions, servePipe, type servePipeOptions };
43
+ export { type PipeConnection, type PipeServer, connectPipe, type connectPipeOptions, servePipe, type servePipeOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opticlm/connector",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Provides an abstract interface that allows LLMs to connect to fact sources such as LSPs, code diagnostics, symbol definitions/references, links, and frontmatter",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -17,6 +17,10 @@
17
17
  "types": "./dist/mcp/index.d.ts",
18
18
  "default": "./dist/mcp/index.js"
19
19
  },
20
+ "./pipe": {
21
+ "types": "./dist/pipe/index.d.ts",
22
+ "default": "./dist/pipe/index.js"
23
+ },
20
24
  "./schemas": {
21
25
  "types": "./dist/schemas.d.ts",
22
26
  "default": "./dist/schemas.js"