internal/

directory
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT

Directories

Path Synopsis
Package app wires the backend and registered parsers.
Package app wires the backend and registered parsers.
Package attrib resolves providers without reading conversation content.
Package attrib resolves providers without reading conversation content.
Package claudequota reports the plan quota of a locally signed-in Claude Code.
Package claudequota reports the plan quota of a locally signed-in Claude Code.
Package cli serves the non-GUI commands.
Package cli serves the non-GUI commands.
Package gui is MyToken's native interface: the main window and the tray panel, drawn with MyGo's ui package.
Package gui is MyToken's native interface: the main window and the tray panel, drawn with MyGo's ui package.
Package harness defines the parser contract (docs/ARCHITECTURE.md#parser-contract) and a registry.
Package harness defines the parser contract (docs/ARCHITECTURE.md#parser-contract) and a registry.
amp
Package amp parses Amp (Sourcegraph's coding agent, ampcode.com) usage.
Package amp parses Amp (Sourcegraph's coding agent, ampcode.com) usage.
antigravity
Package antigravity parses the Antigravity app and IDE agent conversations.
Package antigravity parses the Antigravity app and IDE agent conversations.
cindy
Package cindy reads Cindy's local SQLite database.
Package cindy reads Cindy's local SQLite database.
claude
Package claude parses Claude Code transcripts.
Package claude parses Claude Code transcripts.
claudedesktop
Package claudedesktop parses Claude Desktop agent sessions.
Package claudedesktop parses Claude Desktop agent sessions.
cline
Package cline parses Cline (saoudrizwan.claude-dev) task logs.
Package cline parses Cline (saoudrizwan.claude-dev) task logs.
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.
codebuddy
Package codebuddy parses CodeBuddy session logs.
Package codebuddy parses CodeBuddy session logs.
codebuddycn
Package codebuddycn parses CodeBuddy CN (国内版, codebuddy.cn) usage.
Package codebuddycn parses CodeBuddy CN (国内版, codebuddy.cn) usage.
codebuff
Package codebuff parses Codebuff (formerly Manicode) chat transcripts.
Package codebuff parses Codebuff (formerly Manicode) chat transcripts.
codex
Package codex parses Codex CLI rollout logs.
Package codex parses Codex CLI rollout logs.
crush
Package crush parses Crush (charmbracelet/crush) session usage.
Package crush parses Crush (charmbracelet/crush) session usage.
droid
Package droid parses Factory Droid (Droid CLI) session transcripts.
Package droid parses Factory Droid (Droid CLI) session transcripts.
dsh
Package dsh parses DeepSeek Harness (DSH) session logs.
Package dsh parses DeepSeek Harness (DSH) session logs.
forge
Package forge parses the conversation database of Forge (ForgeCode, github.com/antinomyhq/forge, installed from forgecode.dev).
Package forge parses the conversation database of Forge (ForgeCode, github.com/antinomyhq/forge, installed from forgecode.dev).
gemini
Package gemini parses Gemini CLI chat recordings (model.Harness "gemini").
Package gemini parses Gemini CLI chat recordings (model.Harness "gemini").
goose
Package goose parses the Goose CLI session database.
Package goose parses the Goose CLI session database.
grok
Package grok parses Grok CLI ("Grok Build", xAI's coding agent) recordings (model.Harness "grok").
Package grok parses Grok CLI ("Grok Build", xAI's coding agent) recordings (model.Harness "grok").
harnesstest
Package harnesstest is the conformance suite every harness parser must pass (see docs/ARCHITECTURE.md#conformance-suite).
Package harnesstest is the conformance suite every harness parser must pass (see docs/ARCHITECTURE.md#conformance-suite).
hermes
Package hermes parses Hermes session usage from its SQLite state database.
Package hermes parses Hermes session usage from its SQLite state database.
kilo
Package kilo parses Kilo Code (kilocode.kilo-code) task logs.
Package kilo parses Kilo Code (kilocode.kilo-code) task logs.
kimi
Package kimi parses Kimi CLI wire logs.
Package kimi parses Kimi CLI wire logs.
kiro
Package kiro parses Kiro (AWS's agentic IDE and CLI, kiro.dev) usage.
Package kiro parses Kiro (AWS's agentic IDE and CLI, kiro.dev) usage.
mimocode
Package mimocode parses MiMo Code's local usage database offline.
Package mimocode parses MiMo Code's local usage database offline.
minimax
Package minimax reads MiniMax Code's local token ledger.
Package minimax reads MiniMax Code's local token ledger.
mux
Package mux parses coder/mux chat transcripts.
Package mux parses coder/mux chat transcripts.
openclaude
Package openclaude parses OpenClaude (npm @gitlawb/openclaude) transcripts.
Package openclaude parses OpenClaude (npm @gitlawb/openclaude) transcripts.
openclaw
Package openclaw parses OpenClaw agent transcripts (model.Harness "openclaw"), including the clawdbot/moltbot/moldbot installations the agent was previously shipped as.
Package openclaw parses OpenClaw agent transcripts (model.Harness "openclaw"), including the clawdbot/moltbot/moldbot installations the agent was previously shipped as.
opencode
Package opencode parses OpenCode session usage.
Package opencode parses OpenCode session usage.
opencode/sqlitecore
Package sqlitecore is the read-only SQLite snapshot shared by the harness parsers whose harness stores its sessions in a MessageV2-shaped database.
Package sqlitecore is the read-only SQLite snapshot shared by the harness parsers whose harness stores its sessions in a MessageV2-shaped database.
pi
Package pi parses Pi coding-agent session logs.
Package pi parses Pi coding-agent session logs.
qoder
Package qoder parses Qoder coding-agent session logs.
Package qoder parses Qoder coding-agent session logs.
qwen
Package qwen parses Qwen Code chat transcripts.
Package qwen parses Qwen Code chat transcripts.
roo
Package roo parses Roo Code (rooveterinaryinc.roo-cline) task logs.
Package roo parses Roo Code (rooveterinaryinc.roo-cline) task logs.
sessionlog
Package sessionlog is the shared deep module behind MyToken's Pi-derived session-log parsers: internal/harness/pi reads Pi's logs and internal/harness/stepcode reads Step Code's, and Step Code's format is a fork of Pi's.
Package sessionlog is the shared deep module behind MyToken's Pi-derived session-log parsers: internal/harness/pi reads Pi's logs and internal/harness/stepcode reads Step Code's, and Step Code's format is a fork of Pi's.
stepcode
Package stepcode parses Step Code coding-agent session logs.
Package stepcode parses Step Code coding-agent session logs.
trae
Package trae reads the token usage Trae records in its local ai-agent database.
Package trae reads the token usage Trae records in its local ai-agent database.
workbuddy
Package workbuddy parses WorkBuddy session logs.
Package workbuddy parses WorkBuddy session logs.
zcode
Package zcode parses ZCode's local model-usage ledger.
Package zcode parses ZCode's local model-usage ledger.
zed
Package zed parses the Zed editor's built-in agent threads.
Package zed parses the Zed editor's built-in agent threads.
Package ingestrate tracks how many output tokens enter the live index over a trailing 60-second window.
Package ingestrate tracks how many output tokens enter the live index over a trailing 60-second window.
Package model holds the shared, frozen types of MyToken!!!!!.
Package model holds the shared, frozen types of MyToken!!!!!.
Package pricing supplies offline-first, refreshable per-million-token prices.
Package pricing supplies offline-first, refreshable per-million-token prices.
gen command
Command gen regenerates the embedded models.dev price catalog.
Command gen regenerates the embedded models.dev price catalog.
Package provider defines display identities independent of pricing labels and billing Origin+KeyID.
Package provider defines display identities independent of pricing labels and billing Origin+KeyID.
Package query is the read API shared by the UI and the CLI (docs/ARCHITECTURE.md#query).
Package query is the read API shared by the UI and the CLI (docs/ARCHITECTURE.md#query).
quota
antigravity
Package antigravity reports the Gemini plan quota of Antigravity.
Package antigravity reports the Gemini plan quota of Antigravity.
codex
Package codex reads OpenAI Codex plan usage from the ChatGPT backend.
Package codex reads OpenAI Codex plan usage from the ChatGPT backend.
copilot
Package copilot reports GitHub Copilot's monthly request quota.
Package copilot reports GitHub Copilot's monthly request quota.
cursor
Package cursor reports the Cursor plan quota.
Package cursor reports the Cursor plan quota.
deepseek
Package deepseek reports the credit balance of a DeepSeek platform account.
Package deepseek reports the credit balance of a DeepSeek platform account.
glm
Package glm reports the z.ai / BigModel GLM Coding Plan quota.
Package glm reports the z.ai / BigModel GLM Coding Plan quota.
plan
Package plan reports subscription-plan quota windows for the coding tools a user has installed and signed in to.
Package plan reports subscription-plan quota windows for the coding tools a user has installed and signed in to.
providers
Package providers assembles every quota provider MyToken supports.
Package providers assembles every quota provider MyToken supports.
qoder
Package qoder reports the plan quota of Qoder CN.
Package qoder reports the plan quota of Qoder CN.
trae
Package trae reports the plan quota of Trae CN and Trae Global.
Package trae reports the plan quota of Trae CN and Trae Global.
workbuddy
Package workbuddy reports the plan quota of WorkBuddy and WorkBuddy AI.
Package workbuddy reports the plan quota of WorkBuddy and WorkBuddy AI.
zcode
Package zcode reports the ZCode Start Plan quota.
Package zcode reports the ZCode Start Plan quota.
Package reporttime computes reporting and budget periods in one fixed, caller-supplied timezone.
Package reporttime computes reporting and budget periods in one fixed, caller-supplied timezone.
Package scan incrementally indexes registered harness sources.
Package scan incrementally indexes registered harness sources.
Package snapshot builds the versioned read-only snapshot envelope shared by the CLI statusline and tray consumers.
Package snapshot builds the versioned read-only snapshot envelope shared by the CLI statusline and tray consumers.
Package source defines optional, read-only provider data sources: cc-switch's local database and the harness config files that say which provider a tool is currently pointing at.
Package source defines optional, read-only provider data sources: cc-switch's local database and the harness config files that say which provider a tool is currently pointing at.
Package sqlitedsn builds SQLite file: URIs that work on every platform.
Package sqlitedsn builds SQLite file: URIs that work on every platform.
Package store owns the local, derived SQLite index.
Package store owns the local, derived SQLite index.
Package sysproxy teaches Go's default HTTP transport to honour the proxy configured in the operating system.
Package sysproxy teaches Go's default HTTP transport to honour the proxy configured in the operating system.
Package traekey recovers the key Trae uses to encrypt its local agent database.
Package traekey recovers the key Trae uses to encrypt its local agent database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL