-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
38 lines (33 loc) · 777 Bytes
/
index.js
File metadata and controls
38 lines (33 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* MCP Shark Common - Main Entry Point
*
* Shared utilities and database management for MCP Shark
*/
// Database initialization and schema
export { initDb, openDb } from './db/init.js';
// Audit logging functions
export { getLogger } from './db/logger.js';
// Database query utilities
export {
queryPackets,
queryRequests,
queryConversations,
getSessionPackets,
getSessionRequests,
getSessions,
getStatistics,
getConversationStatistics,
} from './db/query.js';
// Configuration path management
export {
getWorkingDirectory,
getDatabasePath,
getDatabaseFile,
getMcpConfigPath,
getHelpStatePath,
createWorkingDirectorySpaces,
createDatabaseSpaces,
prepareAppDataSpaces,
readHelpState,
writeHelpState,
} from './configs/index.js';