@wirecat/cli-core 0.415.0 → 0.416.0
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,14 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0,
|
|
|
5
5
|
minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the
|
|
6
6
|
shape of this file.
|
|
7
7
|
|
|
8
|
+
## Unreleased
|
|
9
|
+
|
|
10
|
+
## 0.416.0 — 25.10.2026
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **A busy linked chat left alone drains at full speed with `--cursor`.** Each linked chat's share of a run's items is now split among the linked chats that still have something to read, and the word and sender lanes take a share only while they do too. Before, chats that had already finished still took a share, so with ten linked chats the last busy one got 20 items a run and needed about 45 runs instead of about 10.
|
|
15
|
+
|
|
8
16
|
## 0.415.0 — 25.10.2026
|
|
9
17
|
|
|
10
18
|
### Added
|
|
@@ -86,9 +86,13 @@ export const gatherProjectEvidence = async (ports, request) => {
|
|
|
86
86
|
let stopped = null;
|
|
87
87
|
const open = (u) => !terminal.has(u.state) && u.state !== "read-limited";
|
|
88
88
|
const linkedLanes = new Set(plan.linkedChats.flatMap((c) => (c.lane === null ? [] : [c.lane])));
|
|
89
|
-
// One even share per linked chat plus one for the word and sender lanes, so one busy
|
|
90
|
-
//
|
|
91
|
-
|
|
89
|
+
// One even share per linked chat still open plus one for the word and sender lanes while any is open, so one busy
|
|
90
|
+
// chat cannot fill a run while others wait, yet a chat left alone gets the whole run; never below a page, so every
|
|
91
|
+
// chat still gets its whole first page.
|
|
92
|
+
const openLanes = new Set(progress.flatMap((u, index) => (open(u) ? [units[index]?.lane.id] : [])));
|
|
93
|
+
const shares = [...linkedLanes].filter((id) => openLanes.has(id)).length +
|
|
94
|
+
([...openLanes].some((id) => id !== undefined && !linkedLanes.has(id)) ? 1 : 0);
|
|
95
|
+
const linkedLimit = Math.max(PAGE, Math.floor(plan.budgets.maxItems / Math.max(1, shares)));
|
|
92
96
|
const linkedTaken = new Map();
|
|
93
97
|
const capped = new Set();
|
|
94
98
|
/** Records another lane finding a reference this run already returned; true when it had. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.416.0",
|
|
4
4
|
"description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|