@oh-my-pi/pi-utils 18.0.5 → 18.0.6
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/CHANGELOG.md +6 -0
- package/dist/types/dirs.d.ts +5 -0
- package/package.json +2 -2
- package/src/dirs.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [18.0.6] - 2026-08-26
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added conventional commit generation with support for dependency, security, configuration, UX, and infrastructure commit types, plus configurable caching and large-diff analysis behavior.
|
|
10
|
+
|
|
5
11
|
## [18.0.5] - 2026-08-25
|
|
6
12
|
|
|
7
13
|
### Added
|
package/dist/types/dirs.d.ts
CHANGED
|
@@ -181,6 +181,11 @@ export declare function getGpuCachePath(): string;
|
|
|
181
181
|
* cache file without touching the rest of the config root.
|
|
182
182
|
*/
|
|
183
183
|
export declare function getGithubCacheDbPath(): string;
|
|
184
|
+
/**
|
|
185
|
+
* Get the conventional commit inference cache database path (~/.omp/cache/commit-inference.db).
|
|
186
|
+
* Honors `OMP_COMMIT_CACHE_DB` so tests and operators can isolate the cache.
|
|
187
|
+
*/
|
|
188
|
+
export declare function getCommitCacheDbPath(): string;
|
|
184
189
|
/** Get the legacy Pi extension parse cache database path. */
|
|
185
190
|
export declare function getLegacyPiExtensionCacheDbPath(): string;
|
|
186
191
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-utils",
|
|
4
|
-
"version": "18.0.
|
|
4
|
+
"version": "18.0.6",
|
|
5
5
|
"description": "Shared utilities for pi packages",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
7
7
|
"author": "Stencil Labs, Inc.",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"fmt": "biome format --write ."
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@oh-my-pi/pi-natives": "18.0.
|
|
34
|
+
"@oh-my-pi/pi-natives": "18.0.6"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/bun": "^1.3.14"
|
package/src/dirs.ts
CHANGED
|
@@ -677,6 +677,15 @@ export function getGithubCacheDbPath(): string {
|
|
|
677
677
|
if (override) return override;
|
|
678
678
|
return dirs.rootSubdir(path.join("cache", "github-cache.db"), "cache");
|
|
679
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* Get the conventional commit inference cache database path (~/.omp/cache/commit-inference.db).
|
|
682
|
+
* Honors `OMP_COMMIT_CACHE_DB` so tests and operators can isolate the cache.
|
|
683
|
+
*/
|
|
684
|
+
export function getCommitCacheDbPath(): string {
|
|
685
|
+
const override = process.env.OMP_COMMIT_CACHE_DB;
|
|
686
|
+
if (override) return override;
|
|
687
|
+
return dirs.rootSubdir(path.join("cache", "commit-inference.db"), "cache");
|
|
688
|
+
}
|
|
680
689
|
|
|
681
690
|
/** Get the legacy Pi extension parse cache database path. */
|
|
682
691
|
export function getLegacyPiExtensionCacheDbPath(): string {
|