fix(web): Vercel SPA routing + docs/SEO sweep for all v1.0.0 features#15
Merged
Conversation
Two unrelated fixes bundled:
1. Vercel SPA routing — playground routes added in Wave 3 (/diff, /by-file,
/sarif, /vision, /config-builder, /init, /models, /models/<id>, /editor,
/claude-code) returned 404 in production. Vercel's Vite framework preset
serves the static dist/ output literally; React Router's client-side
paths weren't being rewritten to index.html. Added a `rewrites` rule in
vercel.json that falls through to index.html for everything except
assets/, robots.txt, and sitemap.xml.
2. Docs + SEO sweep — Waves 2 + 3 added significant feature surface that
the existing READMEs and package.json metadata didn't reflect. Updated
to land cleanly with the v1.0.0 launch:
- Root README: refreshed hero, comparison table now shows Latency / VS
Code / Claude Code / Mistral / Cohere / Vision / SARIF columns; added
"five-line use" with VS Code + Claude Code panels; methodology table
gains Mistral (split exact-for-SP / approximate-for-Tekken) and Cohere
rows; status bumped to "approaching v1.0.0".
- packages/cli/README: flag table at top; sections per output format,
vision tokens, per-file attribution, latency mode (TTFT, p50/p95),
auto provider detection, .tokenometer.yml config.
- packages/core/README: full export list (parseConfig, loadConfig,
toSarif, the three vision-tokens, measureLatency + types) plus
Providers section listing all 5 with offline + empirical exactness.
- packages/action/README: `top-n-files` input documented; example
sticky-comment shape now shows the per-file Δ table + collapsible
all-files block.
- packages/vscode/README: settings, commands, supported file types,
placeholder Marketplace install (coming in Phase I).
- packages/claude-code-skill/README: install one-liner verified.
- All package.json: refreshed `description`; extended `keywords`
across CLI / core / action / vscode / claude-code-skill with mistral,
cohere, latency, ttft, vision-tokens, vscode, cursor, claude-code,
sarif, prompt-cost-regression, model-comparison, etc.
- .github/repo-metadata.md: 7 new GH topics (mistral, cohere,
vscode-extension, claude-code, latency, vision-tokens, sarif).
- .github/release-notes-v1.0.0.md: removed [planned] markers for
features now shipped; added "v1.0.0 launch surface" section.
- .github/awesome-list-prs/*.md (5 files): updated one-liner to cite
the full surface (CLI + Action + VS Code + Claude Code skill, 63
models, 5 providers).
- .changeset/wave-4-docs-seo-sweep.md added.
Phase I unified release pipeline (vsce publish, ovsx publish, smoke test
job, Marketplace verify) is intentionally NOT in this PR — it lands
separately so this docs/playground fix can ship immediately and the
Phase I work can take its time.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
faraa2m
added a commit
that referenced
this pull request
May 11, 2026
…#15) Two unrelated fixes bundled: 1. Vercel SPA routing — playground routes added in Wave 3 (/diff, /by-file, /sarif, /vision, /config-builder, /init, /models, /models/<id>, /editor, /claude-code) returned 404 in production. Vercel's Vite framework preset serves the static dist/ output literally; React Router's client-side paths weren't being rewritten to index.html. Added a `rewrites` rule in vercel.json that falls through to index.html for everything except assets/, robots.txt, and sitemap.xml. 2. Docs + SEO sweep — Waves 2 + 3 added significant feature surface that the existing READMEs and package.json metadata didn't reflect. Updated to land cleanly with the v1.0.0 launch: - Root README: refreshed hero, comparison table now shows Latency / VS Code / Claude Code / Mistral / Cohere / Vision / SARIF columns; added "five-line use" with VS Code + Claude Code panels; methodology table gains Mistral (split exact-for-SP / approximate-for-Tekken) and Cohere rows; status bumped to "approaching v1.0.0". - packages/cli/README: flag table at top; sections per output format, vision tokens, per-file attribution, latency mode (TTFT, p50/p95), auto provider detection, .tokenometer.yml config. - packages/core/README: full export list (parseConfig, loadConfig, toSarif, the three vision-tokens, measureLatency + types) plus Providers section listing all 5 with offline + empirical exactness. - packages/action/README: `top-n-files` input documented; example sticky-comment shape now shows the per-file Δ table + collapsible all-files block. - packages/vscode/README: settings, commands, supported file types, placeholder Marketplace install (coming in Phase I). - packages/claude-code-skill/README: install one-liner verified. - All package.json: refreshed `description`; extended `keywords` across CLI / core / action / vscode / claude-code-skill with mistral, cohere, latency, ttft, vision-tokens, vscode, cursor, claude-code, sarif, prompt-cost-regression, model-comparison, etc. - .github/repo-metadata.md: 7 new GH topics (mistral, cohere, vscode-extension, claude-code, latency, vision-tokens, sarif). - .github/release-notes-v1.0.0.md: removed [planned] markers for features now shipped; added "v1.0.0 launch surface" section. - .github/awesome-list-prs/*.md (5 files): updated one-liner to cite the full surface (CLI + Action + VS Code + Claude Code skill, 63 models, 5 providers). - .changeset/wave-4-docs-seo-sweep.md added. Phase I unified release pipeline (vsce publish, ovsx publish, smoke test job, Marketplace verify) is intentionally NOT in this PR — it lands separately so this docs/playground fix can ship immediately and the Phase I work can take its time. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.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.
Summary
Two fixes bundled before the Phase I release-pipeline PR. Phase I (vsce publish, ovsx publish, smoke test job, Marketplace verify) lands separately.
What's in here
1. Vercel SPA routing fix (
vercel.json)Wave 3 added 11 new playground routes (
/diff,/by-file,/sarif,/vision,/config-builder,/init,/models,/models/<id>,/editor,/claude-code). All returned 404 in production — Vercel's Vite preset serves the staticdist/literally and didn't know to fall through toindex.htmlfor client-side routes.Added a
rewritesrule with a negative lookahead so direct asset /robots.txt/sitemap.xmlrequests still resolve normally:Verified locally (the playground builds; the rewrite is server-side, kicks in once Vercel redeploys this PR).
2. Docs + SEO sweep (22 files)
Waves 2 + 3 added substantial surface area that the existing docs didn't reflect. Refreshed everything so v1.0.0 launch ships with consistent messaging.
--by-file,--image,--latency(TTFT, p50/p95), auto provider detection,.tokenometer.yml.top-n-filesinput documented, sticky-comment example shows per-file Δ table.package.json: refresheddescription, extendedkeywords(mistral, cohere, latency, ttft, vision-tokens, vscode, cursor, claude-code, sarif, prompt-cost-regression, model-comparison, etc.)..github/repo-metadata.md: 7 new GH topics (mistral, cohere, vscode-extension, claude-code, latency, vision-tokens, sarif)..github/release-notes-v1.0.0.md: removed[planned]markers, added "v1.0.0 launch surface" section..github/awesome-list-prs/*.md(5 files): one-liner updated to cite full surface (CLI + Action + VS Code + Claude Code skill, 63 models, 5 providers)..changeset/wave-4-docs-seo-sweep.mdadded.Why now
Test plan
npm run lint— clean (89 files, vercel.json reformatted by Biome compact-array rule)npm run typecheck— cleannpm test— 227/227 across 20 filesnpm run build— clean (root + per-package)npm run build -w @tokenometer/web— cleannpm run benchmarks— drift-free (10 prompts × 63 models × 5 formats)/models,/vision,/sarif,/diff,/initall return 200gh repo edittopics from.github/repo-metadata.mdare applied (7 new topics)Out of scope
vsce publish,ovsx publish, smoke-test CI job, Marketplace verify, Vercel deploy hook. Lands as the final v1.0.0 PR after this one merges.~/Downloads/tokenometer-content-todo.md, manual posting after Phase I.🤖 Generated with Claude Code