@use-aistack/cli 0.22.1 → 0.23.1

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/README.md CHANGED
@@ -73,6 +73,12 @@ The list is stored in `~/.config/aistack/harness-homes.json`. A folder found thr
73
73
 
74
74
  Each folder keeps its own account lookup and cache. A chat that appears in two folders, for example after you copied a folder, counts once, from the copy with the most messages. A folder that can't be read marks the Cursor reading as partial, so previously published evidence is retained. Folder paths stay on this machine.
75
75
 
76
+ #### Several accounts of one harness
77
+
78
+ When a harness keeps more than one account folder on this machine (two Claude Code profiles, a second Codex home, a second Cursor data folder), sync also records how each day's usage splits across those accounts: sessions, tokens by type, and tokens per model for each account. Each account is a random ID created on this machine and kept in `~/.config/aistack/accounts.json`. Folder paths, account names and emails stay on this machine. The split is stored for the stack owner, and no page shows it. A harness with one account sends no split. Antigravity keeps every signed-in account in one shared folder, so it always counts as one account.
79
+
80
+ A session copied into two account folders counts once, under the account whose copy holds its earliest record. When the copies are identical, the folder read first keeps it. A response copied into two folders counts under the copy the harness already keeps when it removes duplicates: Claude Code keeps the first copy read unless a later copy carries more tokens, Codex, Grok Build and Cursor keep the fullest copy of the whole session, and pi and opencode keep the first copy of each message.
81
+
76
82
  #### A sync that looks stuck
77
83
 
78
84
  The scan runs on this machine and can take a few minutes when a harness keeps a large history. Cursor is the usual case: its global `state.vscdb` grows past a gigabyte, and the session listing walks all of it before the first result. Every harness is checked at the same time and gets its own row with a progress bar, so one slow harness shows as one slow row while the others finish. To see each step as it starts, with its duration, run with `--verbose`: