@phnx-labs/agents-cli 1.23.16 → 1.23.17
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 +9 -0
- package/dist/lib/accounting/rotate.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.17
|
|
4
|
+
|
|
5
|
+
- **A worker with one stale account and the rest unknown now launches.** `balanced`
|
|
6
|
+
routing refused with `NO_VERIFIED_USAGE` whenever any account's usage was stale, even
|
|
7
|
+
when every other account simply had no usage number yet. It now refuses only when
|
|
8
|
+
every account is stale, as documented; a pool with unknown-usage accounts picks one
|
|
9
|
+
and relies on the existing failover if it is rejected. Source:
|
|
10
|
+
`cli/src/lib/accounting/rotate.ts`.
|
|
11
|
+
|
|
3
12
|
## 1.23.16
|
|
4
13
|
|
|
5
14
|
- **Every harness's session row on `agents feed watch --json` now carries
|
|
@@ -209,7 +209,7 @@ function preferVerified(pool, nowMs, choose, narrowing = 'any-verified') {
|
|
|
209
209
|
const narrow = verified.length > 0 &&
|
|
210
210
|
(narrowing === 'any-verified' || verified.length >= Math.ceil(pool.length / 2));
|
|
211
211
|
const picked = choose(narrow ? verified : pool);
|
|
212
|
-
const noVerifiedUsage = verified.length === 0 && pool.
|
|
212
|
+
const noVerifiedUsage = verified.length === 0 && pool.every((c) => hasStaleUsage(c, nowMs));
|
|
213
213
|
return {
|
|
214
214
|
picked,
|
|
215
215
|
usageUnverified: !isUsageVerified(picked, nowMs),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phnx-labs/agents-cli",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.17",
|
|
4
4
|
"description": "One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|