@goodandready/dsh-clinebot 0.3.3 → 0.3.4

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 CHANGED
@@ -5,6 +5,11 @@ All notable changes to `@goodandready/dsh-clinebot` will be documented in this f
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.4] - 2026-09-08
9
+
10
+ ### Fixed
11
+ - **Cache Path Resolution**: Corrected POSIX home directory expansion (`~/`) in `resolvePathWithHome` so `~/.dsh/clinebot-models-cache.json` resolves cleanly to `/home/vadim/.dsh/...` instead of root-level paths.
12
+
8
13
  ## [0.3.3] - 2026-09-08
9
14
 
10
15
  ### Added
package/lib/index.js CHANGED
@@ -113,8 +113,9 @@ import path from 'node:path'
113
113
 
114
114
  function resolvePathWithHome(p) {
115
115
  if (!p || typeof p !== 'string') return ''
116
- if (p.startsWith('~/') || p === '~') {
117
- return path.join(os.homedir(), p.slice(1))
116
+ if (p === '~') return os.homedir()
117
+ if (p.startsWith('~/') || p.startsWith('~\\')) {
118
+ return path.join(os.homedir(), p.slice(2))
118
119
  }
119
120
  return p
120
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-clinebot",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "DeepSeek Harness companion for ClineBot / ClinePass: dynamic subscription models sync, quota exhaustion warnings, session metrics, dedicated settings page, live usage limits, and /cline slash-command.",
5
5
  "license": "MIT",
6
6
  "type": "module",