dsh-agy 0.3.2 → 0.4.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
@@ -137,11 +137,11 @@ dsh plugin --profile web remove dsh-agy
137
137
  # 2. Uninstall the CLI
138
138
  npm uninstall -g dsh-agy
139
139
 
140
- # 3. Optional: delete local account data (accounts + master key + fingerprint override)
140
+ # 3. Optional: delete local account data (the whole agy data folder)
141
141
  dsh-agy logout # remove accounts first (or skip)
142
- rm -f ~/.dsh/agy-accounts.json ~/.dsh/agy-stats.json ~/.dsh/agy-models.json
142
+ rm -rf ~/.dsh/agy # accounts, usage stats, model visibility, thinking budgets, recent ring
143
143
  # remove only the AGY_MASTER_KEY line from ~/.dsh/.credentials.yaml — keep other keys!
144
- rm -f ~/.dsh/agy-fingerprint-data.json # only if you created an override
144
+ # (an upgrade from ≤0.4 may leave legacy files in ~/.dsh itself: rm -f ~/.dsh/agy-*.json)
145
145
 
146
146
  # 4. Optional: revoke the Google-side authorization
147
147
  # Google account security → Third-party access → revoke "Antigravity"
@@ -268,17 +268,28 @@ the context grows, bounded by the model's context window.
268
268
 
269
269
  ### Storage & secrets
270
270
 
271
- - Accounts: `~/.dsh/agy-accounts.json` — AES-256-GCM encrypted; the master key lives
272
- in `~/.dsh/.credentials.yaml` (`AGY_MASTER_KEY`, 0600). `$DSH_HOME` relocates both.
271
+ All agy data files live in one folder, `~/.dsh/agy/` (relocated wholesale by
272
+ `$DSH_HOME`). Upgrading from ≤0.4 moves the legacy files in `~/.dsh/` there on
273
+ first start — a one-shot atomic rename; if a legacy file reappears next to the
274
+ folder afterwards, an old-version process is still running, and a warning says so.
275
+
276
+ - Accounts: `~/.dsh/agy/agy-accounts.json` —
277
+ AES-256-GCM encrypted; the master key lives in `~/.dsh/.credentials.yaml`
278
+ (`AGY_MASTER_KEY`, 0600). `$DSH_HOME` relocates the whole tree.
273
279
  - Fingerprint pools (version strings, SDK clients) are user-overridable via
274
- `~/.dsh/agy-fingerprint-data.json` — no code release needed to keep them current.
275
- - Model visibility: `~/.dsh/agy-models.json` (0600) — the hidden-model blacklist.
280
+ `~/.dsh/agy/agy-fingerprint-data.json` — no code release needed to keep them current.
281
+ - Model visibility: `~/.dsh/agy/agy-models.json` (0600) — the hidden-model blacklist.
276
282
  Holds only the models you switched off, so re-enabling one removes its entry.
277
- - Usage statistics: `~/.dsh/agy-stats.json` (0600) — cumulative counters plus a
283
+ - Usage statistics: `~/.dsh/agy/agy-stats.json` (0600) — cumulative counters plus a
278
284
  rolling 30-day window. Counts are merged under a file lock, so several
279
285
  processes (Desktop, a web-profile server, the CLI) record concurrently without
280
- losing each other's data. It stores account emails but never tokens, proxies,
281
- or project ids.
286
+ losing each other's data.
287
+ - Recent activity: `~/.dsh/agy/agy-recent.json` (0600) — the last 200 requests and
288
+ rotations, persisted so the panel survives a restart and shows the other
289
+ processes' history too (external processes' new records arrive within 30s).
290
+ - None of these files store tokens, proxies, or project ids — account emails
291
+ only; the tokens live encrypted in the accounts file and the master key in
292
+ the credentials document.
282
293
 
283
294
  ## ⚠️ Disclaimer
284
295