Each docs page in en, zh and ja (98 pages, contributors left out) gets
a schema.org BreadcrumbList: magpie (the language's home page) > Docs
(that language's start page) > the page's h1. Search results can then
show the path instead of a bare URL. The eleven pages that had no JSON-LD
at all (docker, remote, intent, plugins, import, integrate, library,
mcp-router, masking, start, privacy) also get a TechArticle built from
their h1, meta description and canonical URL, like the other pages.
zh pages' inLanguage is zh-CN everywhere, as the older pages had it.
Existing JSON-LD is only appended to (the diff has no deletions besides
the inLanguage fix).
Run: every docs page's JSON-LD parsed with node (98 with a
BreadcrumbList); mote: node --test worker.test.mjs install.test.mjs:
71 pass, 0 fail.
Not tried: Google's Rich Results Test on the deployed pages.
New /docs/claude-code-chatgpt and /docs/troubleshooting in en, zh and
ja, aimed at queries Search Console shows with impressions and no page
for them ("claude code use chatgpt subscription", "opencode 502",
"workbuddy wsl", "局域网远程"). The first walks through signing in to
ChatGPT, picking a codex/... model for Claude Code, tier mapping,
effort, usage windows, several accounts and switching back. The second
covers 401/403, 429 and rests, 502/504, unknown models, a model the
agent doesn't list, port 3425, WSL, the LAN and moved subscriptions.
Claims were checked against internal/gateway, internal/provider,
internal/agent, internal/agentenv and i18n.js; unsupported ones were
dropped (WorkBuddy is not a WSL agent, no ChatGPT Business). Linked
from subscriptions, claude-code-models and start in each language,
sitemap.xml, llms.txt and the rebuilt llms-full.txt.
Run (mote): node --test worker.test.mjs install.test.mjs: 71 pass,
0 fail. Each new page's JSON-LD parsed with node.
Not tried: the pages in a real browser beyond the deployed 200 check.
New docs page in three languages: a summary of each tool, a table
(agents, how it switches, protocol translation, subscription sign-ins,
routing and failover, GUI and CLI, platforms, license), which one fits,
and an FAQ with FAQPage JSON-LD. Linked after "Models in OpenCode" in
every docs page's nav and footer, in sitemap.xml and llms.txt.
CC Switch and CCR facts come only from their own READMEs (fetched raw,
Nov 2026); each column is dated. Cells their README doesn't cover say
"not stated": CCR subscription sign-ins, CCR macOS signing, CC Switch
CLI. magpie facts from its source and llms.txt.
Run: mote-run site tests (worker.test.mjs install.test.mjs), 69 of 69
pass. Generator: magpie-wt/seo-scratch/altgen.py.
New docs/opencode-models in English, Chinese and Japanese: DeepSeek, Kimi, GLM, Qwen and Claude/ChatGPT/Copilot sign-ins in OpenCode, what magpie writes in opencode.json (internal/agent/agents.go openCodeLike, magpieProviderJSONAt), small_model, reasoning variants, cost, magpie visible, magpie opencode default. Linked from every docs page's nav and footer, sitemap.xml and llms.txt.
Run: mote-run sh -c 'cd site && node --test worker.test.mjs install.test.mjs': 69 pass, 0 fail.
Not tried: a real OpenCode run against the page's steps.
/docs/local-models and its zh and ja pages: Ollama, LM Studio, oMLX and
MLX-Serve presets with their default addresses and the APIs magpie uses
for each, which agent goes through as is and which is translated,
another port or computer (Server address, the certificate switch),
vLLM and llama.cpp through Custom + Detect APIs, the context window and
masking. Linked from every docs page's nav and footer, the sitemap and
llms.txt.
Facts read from the provider presets, internal/cli/providers_cli.go's
help text and i18n.js labels. Left out for lack of evidence: detecting a
running Ollama, Ollama's default num_ctx, how well local models call
tools, default ports for llama.cpp and vLLM.
Run: mote-run sh -c 'cd site && node --test worker.test.mjs
install.test.mjs' at this tree: 69 pass, 0 fail.
New pages under /docs/ja/, translated from the English guides with the
same facts and nothing added, aimed at Japanese searches such as
"Claude Code DeepSeek 使い方", "Codex 他のモデル", "Gemini CLI Claude" and
"ChatGPT サブスク 他のツール":
- /docs/ja/claude-code-models
- /docs/ja/codex-models
- /docs/ja/gemini-cli-models
- /docs/ja/subscriptions
Each is built on docs/ja/start.html's head, nav, footer and CSS, with
TechArticle and FAQPage JSON-LD (inLanguage ja; the FAQ entries are the
page's own FAQ text), canonical, og tags and hreflang en/zh/ja/x-default.
UI labels stay in English, as in the other ja pages.
- The en and zh versions of the four guides get a hreflang ja alternate
and a 日本語 entry in their language menu, as docs/start.html has.
- Every ja page's nav and footer now link the ja URLs of the four guides
instead of the English ones.
- sitemap.xml lists the 4 ja URLs.
Run:
- node --test worker.test.mjs install.test.mjs on mote (mote-run, at
this tree): 69 tests, 69 pass, 0 fail. It includes the sitemap test
(every docs page listed, own canonical, x-default, every alternate a
listed page) and the contributors footer test.
- A Python check over every docs page: all 12 JSON-LD blocks parse, the
ja TechArticles carry inLanguage ja and their own URL, every canonical
is the page's URL, and every hreflang set is reciprocal (47 pages, 0
problems).
Not tried: rendering the pages in a browser before the deploy.
New pages, en and zh, built on the claude-code-models template (same
head, nav, footer, TechArticle + FAQPage JSON-LD, canonical, hreflang):
- /docs/gemini-cli-models: pointing Gemini CLI at the gateway's Gemini
API, the four keys magpie writes, going back to Google, subscription
models in Gemini CLI, routing.
- /docs/subscriptions: the built-in subscriptions and their model
prefixes, sign-in, using one in another agent, several accounts,
routing modes and fallback, other tools through the gateway.
Every docs page (en, zh, ja; ja links to the English URLs) gets the two
nav and footer links after the Codex guide, the 4 URLs go in
sitemap.xml and the 2 English ones in llms.txt, as 082ca55a3 did.
Facts come from:
- internal/agent/gemini.go: .env GOOGLE_GEMINI_BASE_URL and
GEMINI_API_KEY, settings.json security.auth.selectedType
(gemini-api-key) and model.name, the stash and restore on unroute,
the auth options (google, api-key with a Google Gemini provider's
key, vertex), detection by the gemini binary on PATH and not
~/.gemini (#230, #330), the auth warning, WSL distros.
- internal/gateway routes for /v1beta/models (generateContent,
streamGenerateContent, countTokens).
- CLI forms from the command parser: magpie gemini model <id>,
magpie gemini default|google, magpie accounts add <sub>,
accounts add copilot --host, accounts project gemini, accounts
discovery off.
- The existing docs (start, integrate, privacy, claude-code-models,
codex-models) for the subscription list and plans, Claude requests
running through the installed Claude Code, the routing modes,
auto/<model> groups, the compacting rule matching Gemini CLI, the
Connect section's base URLs, and "no magpie server in that path".
Left out as unverified: whether Gemini CLI's own /model picker lists
magpie's models.
Run:
- mote-run sh -c 'cd site && node --test worker.test.mjs
install.test.mjs': tests 69, pass 69, fail 0.
- A Python check that every site/public/docs HTML file's tags balance
(html.parser) and every ld+json block parses as JSON: 0 bad.