@oh-my-pi/pi-utils 13.16.0 → 13.16.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.
- package/package.json +1 -1
- package/src/dirs.ts +5 -0
package/package.json
CHANGED
package/src/dirs.ts
CHANGED
|
@@ -325,6 +325,11 @@ export function getModelDbPath(agentDir?: string): string {
|
|
|
325
325
|
return dirs.agentSubdir(agentDir, "models.db", "data");
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
+
/** Get the directory path for the shared search DB state (~/.omp/agent/search-db). */
|
|
329
|
+
export function getSearchDbDir(agentDir?: string): string {
|
|
330
|
+
return dirs.agentSubdir(agentDir, "search-db", "data");
|
|
331
|
+
}
|
|
332
|
+
|
|
328
333
|
/** Get the sessions directory (~/.omp/agent/sessions). */
|
|
329
334
|
export function getSessionsDir(agentDir?: string): string {
|
|
330
335
|
return dirs.agentSubdir(agentDir, "sessions", "data");
|