Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentsview shells out to the agentsview CLI (https://github.com/kenn-io/agentsview) to read local AI-coding-session usage data.
|
Package agentsview shells out to the agentsview CLI (https://github.com/kenn-io/agentsview) to read local AI-coding-session usage data. |
|
Package atomicfile writes a file's full contents in one atomic operation, shared by every package that persists local state on every invocation (internal/snapshot, internal/runhistory): a temp file created in the target's own directory, then a rename, so a process killed mid-write leaves either the previous complete file or the new complete file — never a torn/partial one.
|
Package atomicfile writes a file's full contents in one atomic operation, shared by every package that persists local state on every invocation (internal/snapshot, internal/runhistory): a temp file created in the target's own directory, then a rename, so a process killed mid-write leaves either the previous complete file or the new complete file — never a torn/partial one. |
|
Package cli wires the U1-U6 building blocks (config, agentsview, snapshot, machineid, summary, render, readme, gitops) into token-profile's cobra subcommands.
|
Package cli wires the U1-U6 building blocks (config, agentsview, snapshot, machineid, summary, render, readme, gitops) into token-profile's cobra subcommands. |
|
Package config defines and loads token-profile's configuration schema: where the rendered profile's target repo lives, how usage is broken down, the trailing window to query, and where the local machine identity is cached.
|
Package config defines and loads token-profile's configuration schema: where the rendered profile's target repo lives, how usage is broken down, the trailing window to query, and where the local machine identity is cached. |
|
Package gitops publishes local changes (a rendered README, plus its backing snapshot file) to a git remote, shelling out to the real git binary the same way internal/agentsview shells out to agentsview.
|
Package gitops publishes local changes (a rendered README, plus its backing snapshot file) to a git remote, shelling out to the real git binary the same way internal/agentsview shells out to agentsview. |
|
Package machineid generates and caches a random identity for the current machine, used to namespace this machine's snapshot within a shared target repo (KTD6).
|
Package machineid generates and caches a random identity for the current machine, used to namespace this machine's snapshot within a shared target repo (KTD6). |
|
Package readme injects rendered content into a README file between a pair of marker comments, leaving everything else in the file byte-for-byte untouched.
|
Package readme injects rendered content into a README file between a pair of marker comments, leaving everything else in the file byte-for-byte untouched. |
|
Package render composes a merged snapshot, its computed summary, and a breakdown mode into the dashboard card, either as a bordered ASCII block (Render, R8) or a light/dark SVG image (RenderSVG) — same title, headline summary, trend, streak, and breakdown, in that order.
|
Package render composes a merged snapshot, its computed summary, and a breakdown mode into the dashboard card, either as a bordered ASCII block (Render, R8) or a light/dark SVG image (RenderSVG) — same title, headline summary, trend, streak, and breakdown, in that order. |
|
Package runhistory persists a bounded, local record of each `token-profile run` invocation's outcome, so an adopter can later check whether their scheduled runs are actually succeeding.
|
Package runhistory persists a bounded, local record of each `token-profile run` invocation's outcome, so an adopter can later check whether their scheduled runs are actually succeeding. |
|
Package snapshot persists each machine's resolved usage history to a per-machine file and merges every machine's snapshot present in a shared target repo into aggregate totals.
|
Package snapshot persists each machine's resolved usage history to a per-machine file and merges every machine's snapshot present in a shared target repo into aggregate totals. |
|
Package summary derives the headline usage summary and streak/activity indicator (R5, R6) from a merged snapshot dataset.
|
Package summary derives the headline usage summary and streak/activity indicator (R5, R6) from a merged snapshot dataset. |
Click to show internal directories.
Click to hide internal directories.