@sayknow-cli/utils 0.6.8 → 0.6.9

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.
@@ -113,6 +113,8 @@ export declare function getGpuCachePath(): string;
113
113
  * cache file without touching the rest of the config root.
114
114
  */
115
115
  export declare function getGithubCacheDbPath(): string;
116
+ /** Get the resolved Claude Code client-version cache path (~/.skc/cache/claude-code-version.json). */
117
+ export declare function getClaudeCodeVersionCachePath(): string;
116
118
  /** Get the natives directory (~/.skc/natives). */
117
119
  export declare function getNativesDir(): string;
118
120
  /** Get the stats database path (~/.skc/stats.db). */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@sayknow-cli/utils",
4
- "version": "0.6.8",
4
+ "version": "0.6.9",
5
5
  "description": "Shared utilities for pi packages",
6
6
  "homepage": "https://sayknow-cli.com",
7
7
  "author": "jaybeyond",
@@ -31,7 +31,7 @@
31
31
  "fmt": "biome format --write ."
32
32
  },
33
33
  "dependencies": {
34
- "@sayknow-cli/natives": "0.6.8",
34
+ "@sayknow-cli/natives": "0.6.9",
35
35
  "beautiful-mermaid": "^1.1.3",
36
36
  "handlebars": "^4.7.9",
37
37
  "winston": "^3.19.0",
package/src/dirs.ts CHANGED
@@ -487,6 +487,11 @@ export function getGithubCacheDbPath(): string {
487
487
  return dirs.rootSubdir(path.join("cache", "github-cache.db"), "cache");
488
488
  }
489
489
 
490
+ /** Get the resolved Claude Code client-version cache path (~/.skc/cache/claude-code-version.json). */
491
+ export function getClaudeCodeVersionCachePath(): string {
492
+ return dirs.rootSubdir(path.join("cache", "claude-code-version.json"), "cache");
493
+ }
494
+
490
495
  /** Get the natives directory (~/.skc/natives). */
491
496
  export function getNativesDir(): string {
492
497
  return dirs.rootSubdir("natives", "cache");