agent-dag 3.3.0 โ†’ 3.4.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.
@@ -31,6 +31,16 @@
31
31
  "about a defect in the type, and the suite refuses both it and no space at",
32
32
  "all."
33
33
  ],
34
+ "3.4.0": [
35
+ {
36
+ "title": "๐Ÿ”ข The figures count to their new value, once a minute",
37
+ "body": "The Usage panel re-reads its numbers every minute now rather than every five, and it is a real minute โ€” the server used to hold a reading for two, so a shorter poll would have handed the same figure back.\n\nAnd they no longer teleport. Replaced in a single frame, $170 โ†’ $269 says only \"this is different now\": no direction, no sense of how much, and nothing at all if your eye was a few pixels away. Counted over a fifth of a second, the same change says up, and roughly how far.\n\nWhat deliberately does not count: the first paint, a change of period โ€” \"today\" and \"all time\" are different quantities rather than one that moved โ€” the tables, a change too small to read, and anything at all if you have reduced motion on or the tab is in the background."
38
+ },
39
+ {
40
+ "title": "๐Ÿงน The board's own figure is out of the Usage panel",
41
+ "body": "3.3.0 put the canvas's live spend on its own labelled line, under whichever period you had chosen. In front of a panel that answers today, this month and all time from the logs on disk, that second money figure answers a question nobody asked at that moment โ€” and it invited a comparison it could never win, $7,385 on the board beneath $170 for today.\n\nIt is gone. The board's tokens and cost are still on the topbar, with the sentence that explains why they fall on their own, and the panel still shows them when ccusage cannot answer at all."
42
+ }
43
+ ],
34
44
  "3.3.0": [
35
45
  {
36
46
  "title": "๐Ÿ“Š The Usage panel answers for a period, not just for the board",
@@ -19,7 +19,11 @@ import { killTree, pathLookup, shimPath, spawnSpec } from "./exec.mjs";
19
19
  import { oneLine, termColumns } from "./term.mjs";
20
20
  import { PRODUCT } from "./brand.mjs";
21
21
 
22
- const CACHE_MS = 120_000; // 2 min โ€” modal is manual-open; cheap to keep warm
22
+ // 60s, and it is the panel's poll interval rather than a number of its own: the
23
+ // Usage panel asks once a minute and expects a reading that has actually moved,
24
+ // so a longer cache would hand the same figure back and make the interval a
25
+ // lie. The modal is manual-open and unaffected either way.
26
+ const CACHE_MS = 60_000;
23
27
  const TIMEOUT_MS = 90_000;
24
28
  const INSTALL_TIMEOUT_MS = 120_000; // first-run npm install can be slow
25
29
  const UPDATE_CHECK_MS = 24 * 3600_000; // check npm for a newer ccusage once/day