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 +21 -10
- package/lib/{accounts-CKWybAfc.mjs → accounts-BjdDqUq1.mjs} +425 -76
- package/lib/accounts-BjdDqUq1.mjs.map +1 -0
- package/lib/cli/index.d.mts.map +1 -1
- package/lib/cli/index.mjs +4 -2
- package/lib/cli/index.mjs.map +1 -1
- package/lib/client.js +406 -36
- package/lib/index.mjs +2 -2
- package/lib/{plugin-common-B5dyfnMH.mjs → plugin-common-B7OSfnyl.mjs} +354 -24
- package/lib/plugin-common-B7OSfnyl.mjs.map +1 -0
- package/lib/{translate-BQu8HLvB.mjs → translate-YhGDUuVa.mjs} +157 -23
- package/lib/translate-YhGDUuVa.mjs.map +1 -0
- package/lib/web/plugin.d.mts +28 -1
- package/lib/web/plugin.d.mts.map +1 -1
- package/lib/web/plugin.mjs +63 -25
- package/lib/web/plugin.mjs.map +1 -1
- package/package.json +4 -3
- package/lib/accounts-CKWybAfc.mjs.map +0 -1
- package/lib/plugin-common-B5dyfnMH.mjs.map +0 -1
- package/lib/translate-BQu8HLvB.mjs.map +0 -1
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 (
|
|
140
|
+
# 3. Optional: delete local account data (the whole agy data folder)
|
|
141
141
|
dsh-agy logout # remove accounts first (or skip)
|
|
142
|
-
rm -
|
|
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
|
|
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
|
-
|
|
272
|
-
|
|
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.
|
|
281
|
-
|
|
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
|
|