Documentation
¶
Overview ¶
Command mytoken is MyToken!!!!!: a tray-resident tracker of the tokens AI coding harnesses spend, per session × provider × model.
mytoken run the app (tray + main window) mytoken stats [--json] print usage without a window mytoken scan index the logs once mytoken help list every command (see docs/CLI.md)
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
app
Package app wires the backend and registered parsers.
|
Package app wires the backend and registered parsers. |
|
attrib
Package attrib resolves providers without reading conversation content.
|
Package attrib resolves providers without reading conversation content. |
|
cli
Package cli serves the non-GUI commands.
|
Package cli serves the non-GUI commands. |
|
gui
Package gui is MyToken!!!!!'s native interface: the main window and the tray panel, drawn with MyGo's ui package (no WebView).
|
Package gui is MyToken!!!!!'s native interface: the main window and the tray panel, drawn with MyGo's ui package (no WebView). |
|
harness
Package harness defines the parser contract (docs/SPEC.md §4) and a registry.
|
Package harness defines the parser contract (docs/SPEC.md §4) and a registry. |
|
harness/claude
Package claude parses Claude Code transcripts.
|
Package claude parses Claude Code transcripts. |
|
harness/cline
Package cline parses Cline (saoudrizwan.claude-dev) task logs.
|
Package cline parses Cline (saoudrizwan.claude-dev) task logs. |
|
harness/clinetask
Package clinetask parses the "Cline task" on-disk format shared by the Cline, Roo Code and Kilo Code VS Code extensions, plus the standalone Cline CLI session format.
|
Package clinetask parses the "Cline task" on-disk format shared by the Cline, Roo Code and Kilo Code VS Code extensions, plus the standalone Cline CLI session format. |
|
harness/codex
Package codex parses Codex CLI rollout logs.
|
Package codex parses Codex CLI rollout logs. |
|
harness/crush
Package crush parses Crush (charmbracelet/crush) session usage.
|
Package crush parses Crush (charmbracelet/crush) session usage. |
|
harness/dsh
Package dsh parses DeepSeek Harness (DSH) session logs.
|
Package dsh parses DeepSeek Harness (DSH) session logs. |
|
harness/gemini
Package gemini parses Gemini CLI chat recordings (model.Harness "gemini").
|
Package gemini parses Gemini CLI chat recordings (model.Harness "gemini"). |
|
harness/kilo
Package kilo parses Kilo Code (kilocode.kilo-code) task logs.
|
Package kilo parses Kilo Code (kilocode.kilo-code) task logs. |
|
harness/opencode
Package opencode parses OpenCode session usage.
|
Package opencode parses OpenCode session usage. |
|
harness/pi
Package pi parses Pi coding-agent session logs.
|
Package pi parses Pi coding-agent session logs. |
|
harness/roo
Package roo parses Roo Code (rooveterinaryinc.roo-cline) task logs.
|
Package roo parses Roo Code (rooveterinaryinc.roo-cline) task logs. |
|
model
Package model holds the shared, frozen types of MyToken!!!!!.
|
Package model holds the shared, frozen types of MyToken!!!!!. |
|
pricing
Package pricing supplies offline-first, refreshable per-million-token prices.
|
Package pricing supplies offline-first, refreshable per-million-token prices. |
|
pricing/gen
command
Command gen regenerates the embedded models.dev price catalog.
|
Command gen regenerates the embedded models.dev price catalog. |
|
query
Package query is the read API shared by the UI and the CLI (docs/SPEC.md §5).
|
Package query is the read API shared by the UI and the CLI (docs/SPEC.md §5). |
|
scan
Package scan incrementally indexes registered harness sources.
|
Package scan incrementally indexes registered harness sources. |
|
sqlitedsn
Package sqlitedsn builds SQLite file: URIs that work on every platform.
|
Package sqlitedsn builds SQLite file: URIs that work on every platform. |
|
store
Package store owns the local, derived SQLite index.
|
Package store owns the local, derived SQLite index. |
|
scripts
|
|
|
setversion
command
Command setversion keeps the "version" field of mygo.json in sync with the git tag a release is built from.
|
Command setversion keeps the "version" field of mygo.json in sync with the git tag a release is built from. |
Click to show internal directories.
Click to hide internal directories.





