bilmem 0.1.0 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { S as Scope, K as Knowledge, J as JevResult } from '../types-Nxq5Gzay.js';
1
+ import { S as Scope, K as Knowledge, J as JevResult } from '../types-DNlvHsj9.js';
2
2
 
3
3
  interface QueryContext {
4
4
  query?: string;
@@ -1,13 +1,24 @@
1
1
  import { McpApp } from 'mcponce';
2
+ import { S as Storage } from '../canonical-JS6HUWGc.js';
3
+ import { OramaIndex as SearchIndex } from '../search/index.js';
4
+ import '../types-DNlvHsj9.js';
2
5
 
3
6
  interface CreateMcpAppOptions {
4
7
  rootDir?: string;
5
8
  name?: string;
6
9
  version?: string;
7
10
  }
11
+ interface McpProjectContext {
12
+ rootDir: string;
13
+ storage: Storage;
14
+ index: SearchIndex;
15
+ initialized: boolean;
16
+ }
8
17
  /**
9
18
  * Creates the official McpApp for bilmem using mcponce.
19
+ * Supports multi-project isolation and dynamic path resolution so that global
20
+ * MCP processes (e.g. spawned from root '/') target the correct workspace.
10
21
  */
11
22
  declare function createBilmemMcpApp(options?: CreateMcpAppOptions): McpApp;
12
23
 
13
- export { type CreateMcpAppOptions, createBilmemMcpApp };
24
+ export { type CreateMcpAppOptions, type McpProjectContext, createBilmemMcpApp };