codeburn/windows/src-tauri
ozymandiashh 157347aa99
feat: Amp support - read the local thread mirror (#1572) (#1578)
* feat: Amp support - read the local thread mirror (#1572)

Amp (Sourcegraph's coding agent) mirrors every thread it serves as one
JSON document per thread at ~/.local/share/amp/threads/ (AMP_DATA_DIR
honored, comma-separated). Each file is { id, messages,
usageLedger?{events} }; the ledger's events are the per-request record
(tokens.input/output, cache tokens joined from the billed message
through toMessageId -> messages[].messageId), with a per-assistant-
message usage fallback for threads without a ledger and a total-only
record billing as output.

Amp bills a subscription and records no charged dollars, so every call
is priced from the underlying model's token rates and marked
costIsEstimated; the recorded credits field is ignored (no published
per-credit dollar rate). Thread files carry no cwd, so sessions group
under the provider name. Registered eager; parse version
usage-ledger-v1; no artwork yet (mono-initial fallback, like Codebuff).

Surfaces: CLI registry + doctor probe roots, Electron sandbox read
paths + menubar catalog (Amp after Cursor, matching the Swift order),
Windows tray tab color + usage_guard root, GNOME prefs dropdown, macOS
ProviderConnectionCatalog, docs/providers/amp.md, README tool list,
CHANGELOG.

* fix: address Amp provider review feedback
2026-10-02 10:36:05 +02:00
..
capabilities feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
icons windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat: Amp support - read the local thread mirror (#1572) (#1578) 2026-10-02 10:36:05 +02:00
wix fix(windows): private key files, a real log, and a clean uninstall 2026-09-02 15:16:06 -07:00
build.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Cargo.lock chore: release 0.9.25 (#1518) 2026-09-21 18:33:28 +02:00
Cargo.toml chore: release 0.9.25 (#1518) 2026-09-21 18:33:28 +02:00
tauri.conf.json chore: release 0.9.25 (#1518) 2026-09-21 18:33:28 +02:00