@goodandready/dsh-clinebot 0.5.22 → 0.5.23
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 +5 -0
- package/lib/proxy-server.js +0 -7
- package/lib/proxy-token.js +2 -2
- package/lib/session-router.js +0 -8
- package/package.json +1 -1
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.5.23] - 2026-10-13
|
|
9
|
+
|
|
10
|
+
### Removed
|
|
11
|
+
- **Dead Exports & Helper Hygiene (Issue #220)**: Removed unused `getOrStartProxyPort` export from `lib/proxy-server.js` and unused cursor helper exports `getRoundRobinCursor` and `resetRoundRobinCursor` from `lib/session-router.js`. Internal round-robin cursor rotation and lifecycle resets remain fully operational.
|
|
12
|
+
|
|
8
13
|
## [0.5.22] - 2026-10-13
|
|
9
14
|
|
|
10
15
|
### Added
|
package/lib/proxy-server.js
CHANGED
|
@@ -136,10 +136,3 @@ export async function stopLoopbackProxyServer() {
|
|
|
136
136
|
})
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export async function getOrStartProxyPort(ctx, routeEnv) {
|
|
140
|
-
if (activeProxyPort) return activeProxyPort
|
|
141
|
-
if (routeEnv) {
|
|
142
|
-
return await startLoopbackProxyServer(ctx, routeEnv)
|
|
143
|
-
}
|
|
144
|
-
return null
|
|
145
|
-
}
|
package/lib/proxy-token.js
CHANGED
|
@@ -14,9 +14,9 @@ export const LOCAL_PROXY_KEY_ENV = 'CLINEBOT_LOCAL_PROXY_TOKEN'
|
|
|
14
14
|
let cachedToken = null
|
|
15
15
|
|
|
16
16
|
const require = createRequire(import.meta.url)
|
|
17
|
-
let packageVersion = '0.5.
|
|
17
|
+
let packageVersion = '0.5.23'
|
|
18
18
|
try {
|
|
19
|
-
packageVersion = require('../package.json').version || '0.5.
|
|
19
|
+
packageVersion = require('../package.json').version || '0.5.23'
|
|
20
20
|
} catch (err) {
|
|
21
21
|
/* fallback to default version if manifest is unreadable */
|
|
22
22
|
}
|
package/lib/session-router.js
CHANGED
|
@@ -132,14 +132,6 @@ export function getAccountUsageMetric(acc) {
|
|
|
132
132
|
|
|
133
133
|
let roundRobinCursor = 0
|
|
134
134
|
|
|
135
|
-
export function getRoundRobinCursor() {
|
|
136
|
-
return roundRobinCursor
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function resetRoundRobinCursor() {
|
|
140
|
-
roundRobinCursor = 0
|
|
141
|
-
}
|
|
142
|
-
|
|
143
135
|
export function getNextRoundRobinAccount(accounts = []) {
|
|
144
136
|
if (!Array.isArray(accounts) || accounts.length === 0) {
|
|
145
137
|
return null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-clinebot",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.23",
|
|
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",
|