chore(release): version packages#30
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
faraa2m
pushed a commit
that referenced
this pull request
May 11, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
tokenometer@1.0.0
Major Changes
#29
d911ef1Thanks @faraa2m! - # Tokenometer v1.0.0 — production-ready releaseFirst stable release. Every advertised feature is shipped, end-to-end tested in CI, and live across npm + VS Code Marketplace + Open VSX + GitHub Marketplace + the public playground.
What's in v1.0.0
Providers (5) — Anthropic, OpenAI, Google, Mistral, Cohere. 63 known model ids.
Tokenization paths
o200k_base),cl100k_baseproxy for Anthropic (approximate: true),chars/4heuristic for Google (approximate: true),mistral-tokenizer-jsfor Mistral SentencePiece family +chars/4for Tekken family (allapproximate: true),chars/4for Cohere (approximate: true).--empirical): real providercountTokenscalls — Anthropicmessages.countTokens(free), Googlemodel.countTokens(free), tiktokeno200k_basefor OpenAI, Cohere/v1/tokenize(free). Mistral has no public token-count API; throws a clear error.CLI flags
--model,--format(json/yaml/xml/markdown/text),--output table|json|sarif,--by-file,--image,--latency,--latency-trials,--config,--no-config,--empirical,--max-spend,--offline, auto provider detection from*_API_KEYenv.Latency mode — the only LLM cost CLI that also reports TTFT + p50/p95/mean wall-clock + tokens/sec across all 5 providers.
Vision tokens — formula-based estimation for Anthropic / OpenAI / Gemini images via
--image <path>. SARIF output via--output sarif. Per-file attribution via--by-file. Declarative defaults via.tokenometer.yml.GitHub Action — sticky PR comment with prompt-cost diff + per-file Δ table + budget gate. New
top-n-filesinput. Bundled JS Action; published to GitHub Marketplace.VS Code / Cursor extension — live token count + USD cost in status bar for the active editor file. Settings: model, format, warn-on-cost-above. Published to VS Code Marketplace + Open VSX.
Claude Code skill —
tokenometer-cost-checkskill that teaches Claude Code agents to invoke the CLI for prompt cost analysis. One-line install to~/.claude/skills/tokenometer/.Web playground — calculator, Cost Atlas (all 63 models, sortable + searchable), per-model SEO pages, prompt-diff preview, vision-token cost estimator, SARIF JSON viewer, config builder, init wizard. Live at https://tokenometer.vercel.app.
Empirical findings —
tiktoken cl100k_baseunder-counts Claude Opus by 62% median. Format choice (JSON / YAML / XML / Markdown / text) is rounding error vs model choice (Opus → Haiku is 7-12× cheaper).Release pipeline — Changesets-driven version PR + auto-CHANGELOG. One trigger ships: npm × 2 (with provenance) → GH Release → Action Marketplace re-publish → VS Code Marketplace → Open VSX → Vercel deploy → smoke-test job.
Project health
CODE_OF_CONDUCT.md(Contributor Covenant 2.1)CONTRIBUTING.mdSECURITY.md(GitHub Private Vulnerability Reporting; no email exposure).github/copilot-instructions.md(consumed bygh copilot review)Migration from 0.x
No breaking API changes between
0.1.3and1.0.0. Bumping the major signals stability — the surface is now under semver guarantees.Patch Changes
d911ef1]:@tokenometer/core@1.0.0
Major Changes
#29
d911ef1Thanks @faraa2m! - # Tokenometer v1.0.0 — production-ready releaseFirst stable release. Every advertised feature is shipped, end-to-end tested in CI, and live across npm + VS Code Marketplace + Open VSX + GitHub Marketplace + the public playground.
What's in v1.0.0
Providers (5) — Anthropic, OpenAI, Google, Mistral, Cohere. 63 known model ids.
Tokenization paths
o200k_base),cl100k_baseproxy for Anthropic (approximate: true),chars/4heuristic for Google (approximate: true),mistral-tokenizer-jsfor Mistral SentencePiece family +chars/4for Tekken family (allapproximate: true),chars/4for Cohere (approximate: true).--empirical): real providercountTokenscalls — Anthropicmessages.countTokens(free), Googlemodel.countTokens(free), tiktokeno200k_basefor OpenAI, Cohere/v1/tokenize(free). Mistral has no public token-count API; throws a clear error.CLI flags
--model,--format(json/yaml/xml/markdown/text),--output table|json|sarif,--by-file,--image,--latency,--latency-trials,--config,--no-config,--empirical,--max-spend,--offline, auto provider detection from*_API_KEYenv.Latency mode — the only LLM cost CLI that also reports TTFT + p50/p95/mean wall-clock + tokens/sec across all 5 providers.
Vision tokens — formula-based estimation for Anthropic / OpenAI / Gemini images via
--image <path>. SARIF output via--output sarif. Per-file attribution via--by-file. Declarative defaults via.tokenometer.yml.GitHub Action — sticky PR comment with prompt-cost diff + per-file Δ table + budget gate. New
top-n-filesinput. Bundled JS Action; published to GitHub Marketplace.VS Code / Cursor extension — live token count + USD cost in status bar for the active editor file. Settings: model, format, warn-on-cost-above. Published to VS Code Marketplace + Open VSX.
Claude Code skill —
tokenometer-cost-checkskill that teaches Claude Code agents to invoke the CLI for prompt cost analysis. One-line install to~/.claude/skills/tokenometer/.Web playground — calculator, Cost Atlas (all 63 models, sortable + searchable), per-model SEO pages, prompt-diff preview, vision-token cost estimator, SARIF JSON viewer, config builder, init wizard. Live at https://tokenometer.vercel.app.
Empirical findings —
tiktoken cl100k_baseunder-counts Claude Opus by 62% median. Format choice (JSON / YAML / XML / Markdown / text) is rounding error vs model choice (Opus → Haiku is 7-12× cheaper).Release pipeline — Changesets-driven version PR + auto-CHANGELOG. One trigger ships: npm × 2 (with provenance) → GH Release → Action Marketplace re-publish → VS Code Marketplace → Open VSX → Vercel deploy → smoke-test job.
Project health
CODE_OF_CONDUCT.md(Contributor Covenant 2.1)CONTRIBUTING.mdSECURITY.md(GitHub Private Vulnerability Reporting; no email exposure).github/copilot-instructions.md(consumed bygh copilot review)Migration from 0.x
No breaking API changes between
0.1.3and1.0.0. Bumping the major signals stability — the surface is now under semver guarantees.tokenometer-vscode@0.1.4
Patch Changes
d911ef1]: