73ecef0b36cd8a3467eb70fbdd9799ea98db9b7d
509
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e36541ddf2 |
site: llms-full.txt names AIGoCode with the other preset relays
|
||
|
|
dc85a7ca59 |
providers: AIGoCode is a preset that takes a key (MindfulReturn on X)
MindfulReturn on X asked why magpie's plugins have no AIGoCode sign-in
and whether they have to add the provider by hand. AIGoCode has no
sign-in to plug in: it hands out API keys, each bound to one group. So
the answer is a preset, like 鱼鱼连线's, not a plugin: Add provider ›
AIGoCode asks only for the key.
From AIGoCode's own docs (www.aigocode.net/docs/api, openai-compatible,
anthropic-compatible, responses): one root, https://api.aigocode.dev,
with Chat Completions and Responses at /v1 and Messages at the root.
It runs on sub2api ("Model ... is not available for this group",
API_KEY_REQUIRED from /v1/models and /v1/usage, /api/v1/settings/public
answers), so a key's balance is read at sub2api's /v1/usage by the
relay probe already there; no BalanceURL is needed. A key spends its
plan (Pro/Max/Ultra) and then its balance, so its billing is unsaid,
like MiniMax's Coding Plan keys. Website is the invite AIGoCode
sponsors magpie with (site/sponsors.js has the same one); it is not
badged Sponsored, as 鱼鱼连线 isn't. Keys page: /dashboard/keys.
- presets.go: the aigocode preset (KindRelay, icon aigocode).
- billing.go: aigocode in unsaidPresets.
- icons/aigocode.png and pngIcons: AIGoCode's own logo
(www.aigocode.net/images/algocode-logo.png), trimmed to 124 in 128.
- core_budget_test.go: +12 for the name in pngIcons; main was at the
budget to the byte, and the list is read wherever an icon draws.
- site docs (en, zh, ja): import's preset ids and relay's preset list.
Not wired: AIGoCode's Gemini-native endpoint (PresetDef has no Gemini
field). A key serves only its group's models, so a third-party
("可外接") group such as Claude API(AWS) or ChatGPT API(Azure) is
the one to use. If AIGoCode later takes the in-app seat, its partner
entry needs an id other than aigocode (checkPartner).
Tests: TestAIGoCodePresetTakesAKey: kind, key, endpoints as documented,
keys page, balance probed at api.aigocode.dev, billing unsaid. Broken
by hand: without aigocode in unsaidPresets it is red (billing "payg").
Run on mote (mica and mote both over their cores, so no full suite;
CI runs it), at origin/main
|
||
|
|
b005d1a473 |
update: a fresh install of Stable's version stays on Stable (fishmagic80 on X)
The site now offers Stable's downloads, but the app's Update channel is Every version until changed, so a Stable install was offered the newest at its first check. Before that check, a fresh install (no version run before and magpie's folder new, from whatsNew.start) asks the feed for Stable's version and the newest; when it is Stable's and a newer one is out, settings take "updateChannel": "stable" (settings.TakeStable, under the file lock, keeping a channel already set). A feed that can't be read is unknown and asked again at the next check. A version that is both Stable's and the newest stays on Every version: its download can't be told apart. update.LatestStable never falls back to GitHub. docs/reference.md and the privacy pages (en, zh, ja, llms-full.txt) say a fresh install asks ?channel=stable once. Old installs: nothing changes for them. Until a release with this becomes Stable, a Stable download (0.1.3078 today) is still offered the newest unless Settings → Update channel is set to Stable. Run at 936c70756, on mote: gofmt -l internal/ clean; go vet (darwin), GOOS=linux and GOOS=windows go vet of internal/gui, update, settings ok; go test -count=1 ./internal/update ./internal/settings ./internal/gui ok (gui 99.9s). TestFreshStableInstallStaysOnStable goes red (2 subtests) with the takeStable call removed (broken by hand, on mica). llms-full.txt regenerated and current. Not run: the full go test ./... (mote and mica each had several suites queued on the lock); not tried with a real Stable install. |
||
|
|
60ad579979 |
site: show Stable's version and offer its downloads (fishmagic80 on X)
fishmagic80 asked on X for the site to show the Stable channel's version
and download it directly. The home page now asks /api/latest and
/api/latest?channel=stable together. When Stable is known and isn't the
newest, the hero's version line adds "· Stable <v>", and a quiet
two-button control over the platform cards switches every download link
between the newest (/download/<platform>) and Stable
(/download/stable/<platform>). #stable opens the page on Stable. While
Stable is unknown, or is the newest, the page is as before.
The worker serves /download/stable/<platform or file> from Stable's
release (the same stableOf ledger as ?channel=stable) and answers 503,
not the newest, while Stable is unknown. The download event's link
property gets a "stable/" prefix; no new property is sent.
Words in en, zh, ja, de, matching the app's (稳定版, 安定版, Stabil).
Run at 936c70756 (rebased on origin/main
|
||
|
|
70bd270ae2 |
agents: Antigravity says how its own sign-in's models come back on magpie (T_t__biu on X)
T_t__biu on X: once magpie wires the Antigravity app, the Gemini models of
their own signed-in Google account leave the app's model list. Cause: magpie
connects the app through Google's Enterprise Gateway (gateway block in
~/.gemini/config/config.json and ~/.antigravity/settings.json). On a gateway
the app's language server runs in AUTH_MODE_ENTERPRISE_GATEWAY and drops the
Google sign-in (Google's docs: the two can't be used at once), so Code
Assist's fetchAvailableModels, which listed the account's models, is never
asked. No key in the file keeps both.
What does keep them: the same Google account signed in under magpie's
Antigravity subscription (the antigravity-auth plugin). The gateway's
antigravity catalog then lists that account's own models beside magpie's,
on that account's quota, pooled with any other Google account added there.
The notice shown on connecting now says so while magpie has no Antigravity
account (provider.Logins("antigravity") empty); with one, it reads as
before. Translated in zh, zh-TW, ja, de; the site's Antigravity page (en,
zh, ja), llms-full.txt and docs/subsystems/agent-wiring.md say the same,
and the subsystem page names what is not built: keeping the app's own
sign-in and adding magpie's models beside it would need the backend's
Code Assist endpoint (--cloud_code_endpoint / CLOUD_CODE_URL) pointed at
magpie.
Run at this head (base
|
||
|
|
3d88600100 |
site: llms-full.txt carries the sync page's pick, preview and undo
|
||
|
|
459d668b35 |
sync: pick what syncs, preview a sync, undo the last one (#6428)
jinpwng (#6428, on X) syncs two computers and wants only Library and memory to go between them: each keeps its own providers, settings and models. They also want to see what a sync would change before it applies, and to roll the last one back. What syncs: providers, settings and profiles now have switches like agents' models, library and memory (Config.Providers/Settings/Profiles, *bool, nil = synced as before, so an existing setup syncs exactly what it did). The sync form shows Providers (and its API keys), Settings and Agents' models up front; Profiles, usage and sign-ins sit under Advanced, closed unless one is set away from its default. The form sends a part's choice only when it is or was off. A part left out stays as it is here and on the server; turning it back on joins it like a first sync (st.Off, rejoin). The sync's line says which parts each computer keeps ("Stays as it is on each computer: ..."). The setup text and the CLI carry it: magpie <webdav|s3|github> set providers=no settings=no profiles=no. Preview: davsync.Preview (plan.go) says, per part, what syncing now would bring in, send up, or leave; library items and memory files by name, sign-ins and plugins gone. Preview... in Settings > Sync shows it, and Sync now from there runs SyncPreviewed(token): if the server or this computer changed since, it says so and shows the new plan instead of syncing something else. CLI: magpie <kind> preview. Undo: a sync that brings parts in records them (st.Applied) and keeps a sealed copy of this computer first (keepSealed, as Restore does). Undo the last sync puts those parts back from that copy, on this computer only (st.Local, so the next sync sends it up rather than fetching the server's again). If one of them changed here since, it asks first (409 changed, Undo anyway). CLI: magpie <kind> undo-sync [anyway]. Restore's own Undo is unchanged. docs/subsystems/sync-backup.md and the site's sync docs (en, zh, ja) have a section on it. i18n: zh, zh-TW, ja, de. Run (worktree at base |
||
|
|
fa3ee5a7ea |
readme: ModelGo takes the free README seat
ModelGo paid for one month of the README seat (the owner confirmed
receipt 11-13). The logo is the one Chloe sent (logo_full_black.svg,
byte for byte); the dark copy only turns the black "Model" wordmark
white. /go/modelgo/readme sends the click to the UTM link they gave.
Run: node --test site/*.test.mjs on the WSL box (magpie-desktop),
120/120 at this head (rebased on
|
||
|
|
d813cf0e4b |
site: llms-full.txt carries the Cherry Studio image models and the MCP server's other command
|
||
|
|
741d502d2a |
library: a synced MCP server can run its own command on this computer (jinpwng on X, #6426)
jinpwng runs one MCP server on a Mac and in WSL. Each needs its own program path, and the only ways around it were two servers with two names or keeping the server to one computer, which loses the sync of its agents and note (#3836). A command server now has an optional `shared` start. When it is set, command, args and env are this computer's, and every reader (the agents' files, projects, the router, the check) runs them with no change of its own. Collect carries the shared start in their place and never the field, so the other computers get exactly what they had. Put keeps this computer's start, and what comes in for the server becomes the shared start, so a note, agents or the other computer's own command change still comes in. A server that comes in as a URL, one kept to this computer, and the editor sending no shared start each end it. - GUI: a saved synced command server's editor has "Use another command on this computer" under Command. With it on, the hint names what the other computers run, and "Use the synced command" goes back. Nothing else on the page moves; a new server and a local one have no button. - CLI: `magpie library mcp here <name> <command args…>` and `… here <name> off`; the listing names a server that has one. - TUI: an edit keeps the shared start. - Docs: docs/subsystems/library.md, site docs (en, zh, ja). Run (mote, at the tree pushed but before the rebase): - go test ./internal/library/... ./internal/cli/... ./internal/tui/... ./internal/backup/... ./internal/gui/: ok - gofmt -l clean; go vet darwin, GOOS=linux -tags nogui, GOOS=windows: clean - GUI, chromium and webkit: mcp-server-here (new: en, zh, zh-TW, ja, de at 1100 and 390, the payload, no button on a local server, no sideways scroll), library-mcp-json, library-mcp-spaced-path, library-mcp-win-line, market-address, mcp-home-health, mcp-startup-timeout, market-have, mcp-editor-cancel, mcp-local-server, i18n-en-no-cjk, i18n-keys and the other library MCP files: 235 of 238. The reds: - i18n-keys "a plugin's words are its own": the same at origin/main |
||
|
|
c2a1d80fc2 |
routing: In turn says each message you send goes round, and draws it (Wing8Aqua on X)
"Each turn of a conversation goes to the next one" read as every message
of a session moving to another account, when a reader expects a new
session to be the unit, and the line was long. What the gateway does
(affinity.go affine): under In turn with Stays on Auto or Within a turn,
each message the user sends ("new-turn") goes to the next account, round
the list; the agent's tool calls for that message stay ("turn"); a new
conversation goes to the one holding fewest. Session and Strict keep a
whole conversation on one, so In turn goes round per conversation; Off
moves every request. Routing is unchanged.
The words now name the unit and the cost: each message you send goes to
the next one, round the list; its tool calls stay; a move costs some
prompt cache; Stays on Session keeps a whole conversation on one. Same
in the provider editor, a group's editor, the Routing plugin's mode
line, the CLI's groups help and the docs (en, zh, ja; llms-full.txt
rebuilt), in en, zh, zh-TW, ja and de.
Under the words, while In turn is picked, a small figure: two
conversations of three messages, a pill naming the account (A, B, C)
each message went to and dots for its tool calls in that account's
shade, drawn as Stays has it now (Auto moves each message, Session one
account a conversation, Off every request). Theme tokens only (--fg-2,
--muted, --faint, --card-2, --line), no colour. The figure lives in
rotfig.js, imported when In turn is first shown; the core keeps a
one-line hook, and its budget goes up 333 for that and the words.
Run (mote, at this tree): rotate-figure.test.cjs, new, provider editor
and group editor, en zh zh-TW ja de, 900px light and 420px dark,
chromium and webkit, 40/40; stays-strict, routing-group-strategy,
routing-save, routing-advanced, rate-limited-sink, group-template,
group-editor-fits, group-editor-align, routing-affinity-order,
routing-affinity-lead, routing-affinity-cache-write,
routing-pool-tooltip, routing-rows-fit, routing-weight-chip,
group-patience, group-defaults, builtins, search-keys, i18n-keys,
i18n-en-no-cjk, text-size, routing-editor-foot, gateway-key-own-rotate,
routing-accounts-narrow all ok; site worker.test.mjs 41/41;
TestCoreScriptBudget ok; go test ./internal/cli ok; gofmt clean; go vet
./internal/cli ./internal/gui darwin, linux -tags nogui, windows ok.
Red, the same on origin/main
|
||
|
|
15e1d65bcd |
gateway: Cherry Studio's model list has magpie's image and video models (pingqipai3 on X)
pingqipai3 on X: with magpie as a provider in Cherry Studio, its image
generation models weren't read. /v1/models lists chat models alone unless
the caller asks ?kind=image,video, and Cherry can't ask, so its list had
no image model at all, and its Paintings page none of magpie's.
What Cherry reads (CherryHQ/cherry-studio v2.2.1, c74990c): a custom
OpenAI-type provider (the type magpie's Cherry link gives it) is fetched
by listOpenAICompatibleModels, which keeps only id, name and owned_by.
The renderer then resolves each id against Cherry's model registry
(provider-registry models.json, normalizeModelId: the id's last "/"
segment, lower-cased), which carries image-generation for gpt-image-2,
dall-e-3, Gemini's image models, Imagen, Seedream, grok-imagine-image and
~130 more, and video-generation for grok-imagine-video and Seedance. Those
go to Paintings (supportsImageGenerationEndpoint), not the chat picker
(isNonChatModel), so the chat-picker worry behind ?kind= doesn't hold for
Cherry. Its new-api fetcher (new-api, CherryIN, AIOnly presets) reads
supported_endpoint_types instead.
Fix: a request of Cherry Studio's, by the key magpie's link gives it or
by its User-Agent (Electron's default with "CherryStudio/<ver>" in it,
read from Cherry Studio 2.1.2's Electron Framework), gets the image and
video models in its plain list, as ?kind=all would; ?format=text stays
chat. Each image model says supported_endpoint_types ["image-generation"]
(plus "image-edit" when it takes images), each video model
["openai-video"], new-api's words, for every caller. Docs: Cherry
Studio's page (en, zh, ja) and the integration page (md, en, zh).
Run (mote, at
|
||
|
|
d6a6865b1f |
update: a file from usemagpie.ai has its attestation from usemagpie.ai, GitHub's API after (ArcticLampyrid on X)
The site's cron keeps each release's SLSA bundles on R2 as /files/<tag>/attestations.jsonl ( |
||
|
|
c2fd48782b |
Put back what 1f05c311d took out of main by mistake
|
||
|
|
1f05c311d9 |
library: an open memory holds still while the Memory tab polls (Nietzsche_Li on X)
"资源库-记忆中,被展开的记忆的表单会定时抖动". While search by meaning
still has memories to read (read < of, which can last up to a minute
between memembed.Keep's reads) or a learn-from-conversations run goes,
the Memory tab reads its row again every 2s, and each read drew the
whole page anew. The open editor was a new .lib-detail each time and
played its content-in entrance (opacity .5, 2px slide) every 2s.
- semWatch/distWatch draw nothing when the read changed nothing, and
redraw only their own row (redrawRow) when it did; the whole tab only
when the memories changed.
- render() marks a .lib-detail open before it (same data-detail) as kept,
so it doesn't replay its entrance. This covers every render of an
open editor in the Library: memories, instruction sets and agents'
files (the siblings; no other Library tab polls into render()).
- A new memory's text no longer takes the focus back on every render.
Run (mote): library-memory-steady.test.cjs, all 5 languages, 980/420,
chromium + webkit: green 4 of 4 whole-file runs after the last change
(webkit alone 2 of 2 before it). Broken by hand: the same test against
origin/main's client.js and library.css: 22 of 22 red ("the editor
played its entrance again"). One webkit de 420 red was the test's own
first row click intercepted by the header at 420px while the page
settled; the test now opens rows with a DOM click.
Also run, both engines, every language, 980/420: library-memory, library-memory-select, library-memory-suggest, memory-icon, library-instr-busy, library-instr-sets, library-linked-set, library-follow-server: all green. No Go code changed, so no go test or vet.
Not tried: the real app on a real memory store mid-read.
|
||
|
|
5e51e241c2 |
site: a release's attestations are asked of GitHub once, not once a file (ArcticLampyrid on X)
wrangler tail of the 04:05 run: "API rate limit exceeded for 172.71.158.37", so v0.1.3982, v0.1.3981 and v0.1.3978 got no attestations.jsonl. The worker has no GITHUB_TOKEN secret, and unsigned the API allows 60 requests an hour to an IP the worker shares with other workers; asking once per file (15 a release, every five minutes until whole) spent that fast. Release CI signs every file in one statement, so the cron now reads the subjects of the bundles it got and asks only for a file none of them names: one request a release. A GITHUB_TOKEN secret (read-only, public repos) would lift the shared limit; that is the owner's to add. Checked on the real v0.1.3979 bundle from R2: subjects() lists all 17 files, the CLI's digest among them. Run (mote): node --test site/*.test.mjs 120/120. New test: one statement signing every file is asked for once. Broken by hand: not adding the subjects to the covered set turns it red. |
||
|
|
c5adcbaab5 |
site: llms-full.txt carries the ccswitch:// import line
|
||
|
|
728f3de407 |
site: a release the feed named for one run still gets its attestations on R2 (ArcticLampyrid on X)
|
||
|
|
889758605f |
import: open CC Switch's ccswitch:// provider links (coder_shaun on X)
A relay's one-click ccswitch://v1/import?resource=provider&app=…&name=… &endpoint=…&apiKey=… link now opens magpie's own import confirmation. The format is read from CC Switch's source (src-tauri/src/deeplink/parser.rs and provider.rs at 3c76d3b): host v1, path /import, resource=provider only, app, name, endpoint, apiKey, apiFormat, model/haiku/sonnet/opusModel, homepage, iconUrl, and the base64 config (claude env, codex auth + config.toml provider table, gemini env) filling what the URL leaves out. The link is translated into a magpie://import's parameters and goes through the same checks (https only, key shape, id rules, balance host) and the same confirmation; usage scripts, configUrl, enabled and notes are never taken, a codex env_key is refused. Registration, so as not to take CC Switch's links: Linux writes a separate magpie-ccswitch.desktop and sets the default only when `xdg-mime query default` is empty or already it; Windows writes HKCU ccswitch only when HKCR has no live handler of another program; uninstall and install.sh remove them only while they are ours. macOS declares the scheme in Info.plist (static), so with CC Switch installed too the system picks. Run: provider, gui (macOS mote; Linux gtk3 on WSL for the scheme tests), uninstall, cli, update packages; vet darwin, windows, linux nogui. The test parses CC Switch's own 11 provider examples (testdata/ccswitch_links.txt, copied from its repo) and refuses the other resources. Broken by hand: claude's default endpoint kind (4 reds) and the Linux "another app has it" check (TestRegisterSchemeLeavesCCSwitchItsLinks red). Not tried: Windows registry (vet only), a real CC Switch installed beside magpie, a browser click on a real relay's button. Rebased on |
||
|
|
52830b077b |
site: the build attestations are kept on R2 beside the release files (ArcticLampyrid on X)
The SLSA attestations live behind GitHub's API only, so with GitHub down they could not be fetched while the mirrored files could. The five-minute cron now also asks api.github.com/.../attestations/sha256:<digest> for every file of a release from v0.1.3891 on and, once every file has one, writes <tag>/attestations.jsonl to R2 (a Sigstore bundle per line, deduped), served at usemagpie.ai/files/<tag>/attestations.jsonl. It is written only whole, so a file with no attestation yet is asked again next run, and it is pruned with its tag. `gh attestation verify <file> -R yetone/magpie-releases --bundle attestations.jsonl` checks a download with it. It is not a release asset: the GitHub release keeps its 17 assets and release CI is unchanged. start (en, zh, ja), llms-full.txt and reference.md say where it is and how to verify. The updater does not read it yet. Run (mote): node --test site/*.test.mjs 118/118; gofmt n/a. New tests: bundles land once and only whole; pre-0.1.3891 release not asked. Broken by hand: ATTESTED set to 9.9.9 turns the bundles test red. Not tried yet: the real cron run and the file on R2 (after deploy), the updater reading it from R2, gh --bundle on a real downloaded file. |
||
|
|
e6eaf4d69c |
site: a mirrors page in en, zh and ja
/docs/mirrors says how magpie downloads from China: the Plugins page's Mirrors in China switch (npm at registry.npmmirror.com, Bun at npmmirror's binary mirror, the plugin list at jsDelivr, bun add pointed at npmmirror unless a registry is set), --proxy and --mirror for the installer and magpie update, magpie update mirror and Settings' Download source, the MAGPIE_MIRRORS fallback with MAGPIE_NPM_REGISTRY and MAGPIE_GITHUB_MIRROR, and what is checked: update files against usemagpie.ai's SHA-256, Bun's zip and npm integrity, credentialed requests never mirrored. Every claim is from docs/reference.md (Mirrors, the install and update section), internal/source/source.go and internal/cli/update_cli.go, with the labels' zh and ja from i18n.js. Linked from each language's troubleshooting page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a download through the mirrors from China for this page; it names only what magpie's reference and source say. |
||
|
|
1f4f1874b5 |
site: a sync page in en, zh and ja
/docs/sync says how magpie keeps computers in sync: what the sealed file holds (providers and keys, settings, profiles, agents' models, the library, npm and git plugins, gateway keys) and what it doesn't (subscriptions' sign-ins), WebDAV (坚果云, Nextcloud, Synology), S3 (R2, B2, MinIO, path-style, OSS without conditional writes) and private GitHub repos, every 3 minutes with merged conditional writes, Kept on this computer and Follow the others, and the one-off magpie backup and restore with AES-256-GCM and PBKDF2-SHA256. Every claim is from docs/reference.md (Moving to another machine, Keeping machines in sync), with the labels' zh and ja from i18n.js and the commands checked in internal/cli/main.go. Linked from each language's start page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real WebDAV, S3 or GitHub sync for this page; it names only what magpie's reference says. |
||
|
|
dbb2e5dd29 |
site: an OpenCode Go and ClinePass page in en, zh and ja
/docs/coding-plans says how magpie serves the two monthly plans for open coding models in any agent: OpenCode Go's three endpoints as Go's docs give them, each model sent on the protocol Go serves it on as OpenCode does (no more "Model does not support this protocol"), old addresses moved, and its 5-hour, 7-day and monthly windows on Quota; ClinePass at api.cline.bot with the plan's and Cline's free models from the list Cline's clients use, the free ones apart from the plan's quota and asked with the desktop app's headers. Every claim is from internal/provider (presets.go, opencode_endpoints.go, planquota.go, cline.go, models.go), with the labels' zh and ja from i18n.js. Linked from each language's opencode-models page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real OpenCode Go or ClinePass key for this page; it names only what magpie's source says. |
||
|
|
1e2ce24631 |
site: a free models page in en, zh and ja
/docs/free-models says how magpie serves free models: OpenCode Zen's -free models and big-pickle with no key, asked for as OpenCode asks; Kilo Gateway's :free models with no key, anonymous by IP at 200 requests an hour, a key for the rest; the free mark in pickers (PricedFree: that provider's $0 price on every count, not a maker's free tier or a plan's list, a price the user set wins); free models first in a routing group; and a deprecated model leaving the lists until answered or a week. Every claim is from internal/provider (presets.go, kilo.go, models.go) and docs/reference.md, with the label's zh and ja from i18n.js. Linked from each language's nvidia page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real OpenCode Zen or Kilo request for this page; it names only what magpie's source says. |
||
|
|
390dd407b9 |
site: a Fireworks and Fireworks Nexus page in en, zh and ja
/docs/fireworks says how magpie serves Fireworks AI and Fireworks Nexus: the fireworks preset on Chat Completions at api.fireworks.ai/inference/v1 with models.dev's fireworks-ai list, the agents' other APIs translated; the fireworks-nexus preset with keys from nexus.fireworks.ai on Chat, Responses and Messages, auto as its list since Pro and Team refuse an open model with a 403, Enterprise models typed in, and Claude and GPT through the x-anthropic-api-key and x-openai-api-key headers the editor offers (HeaderHints) or set with magpie provider set header.<Name>=. Every claim is from internal/provider/presets.go and docs/reference.md, with the labels' zh and ja from i18n.js. Linked from each language's groq page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Fireworks or Nexus key for this page; it names only what magpie's source says. |
||
|
|
f28787b396 |
site: an API relay page in en, zh and ja
/docs/relay says how magpie serves an API relay as a provider: the relay presets (AiHubMix, PipeLLM, 302.AI, CherryIN, 鱼鱼连线 and its three lines) and a custom one by url=, anthropic= and responses=; a Claude model sent on Messages when the relay has an Anthropic address, since relays drop cache_control on Chat (MessagesFirst, OnMessages, #997); magpie model price for a relay's real prices and the renamed model's price; magpie model wire, context and output; and refresh-every and auto-include for the list. Every claim is from docs/reference.md and internal/provider/presets.go and provider.go, with the label's zh and ja from i18n.js. Linked from each language's openrouter page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real relay key for this page; it names only what magpie's source and reference say. |
||
|
|
e9e63c6d77 |
site: an NVIDIA NIM page in en, zh and ja
/docs/nvidia says how magpie's nvidia preset serves NVIDIA NIM with one build.nvidia.com key: Chat Completions alone at integrate.api.nvidia.com/v1, since NIM's /v1/responses answers for few models (#197), with Claude Code's and Codex's requests translated; nvidia/<model> ids; the free badge for models NIM prices at 0, scoped to NIM (PricedFree, catalog.go); imported per-key copies folded into one provider (FoldCopies, fold.go); OpenCode's nvidia provider imported as the preset; and that magpie doesn't say how a NIM key bills (unsaidPresets). Every claim is from internal/provider and internal/catalog, with the labels' zh and ja from i18n.js. Linked from each language's modelscope page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real NVIDIA NIM key for this page; it names only what magpie's source says. |
||
|
|
aa3fe0c79b |
site: a Vercel AI Gateway page in en, zh and ja
/docs/vercel says how magpie's vercel preset serves Vercel's AI Gateway with one key: Chat Completions and Responses at ai-gateway.vercel.sh/v1 and Anthropic Messages at its root, maker/model ids, a Claude model sent on Messages whatever the agent spoke so cache_control holds (MessagesFirst, OnMessages, #997), and the model list sorted by Vercel's own row types: chat models with context_window, image, video, embedding, reranking, speech and transcription models to their APIs, evaluation models, realtime voices and -batch ids left out. Every claim is from internal/provider/presets.go and provider.go and internal/catalog/live.go, with the label's zh and ja from i18n.js. Linked from each language's openrouter page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Vercel AI Gateway key for this page; it names only what magpie's source says. |
||
|
|
7583ed65ce |
site: a Groq page in en, zh and ja
/docs/groq says how magpie's groq preset serves Groq with one key: adding it, Chat Completions and Responses both at api.groq.com/openai/v1, imports from OpenCode and other apps made the preset, Claude Code translated to Chat because Groq's Chat reports its cache (ResponsesTellsCache), Groq's list taken as a host's and no maker's (Hosts), a 429 naming the model resting that model alone (modelNamed), "reduce the length of the messages" read as an overflow the agent compacts on (tooLongRe), an "unsupported" field asked again without (refusesField), and Whisper and playai-tts through /v1/audio. Every claim is from internal/provider/presets.go, provider.go, models.go, importapps.go and import_opencode.go, internal/gateway/gateway.go, docs/reference.md and docs/subsystems/gateway-routing.md, with the label's zh and ja from i18n.js. Linked from each language's mistral page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Groq key for this page; it names only what magpie's source and docs say. |
||
|
|
0fa15db1ca |
site: an Azure OpenAI page in en, zh and ja
/docs/azure says how magpie's azure preset serves the user's own Azure
resource: the endpoint and key from the portal (the editor's Endpoint,
or provider add azure <key> url=…), every address form AzureBase takes
moved onto the v1 API under /openai/v1 with no api-version, the key in
api-key and never a Bearer, deployments' names as the model ids and
what to type when no list comes back, an API Management gateway's URLs
kept, headers with ${sessionId}, imports made the azure preset,
content_filter read as a policy refusal (#248), Codex's bare reasoning
items left out unless store is true (#1008), and the Decisions API at
/openai/v1/decisions. Every claim is from internal/provider/azure.go
and presets.go, internal/gateway/fallback.go (policyRefusal),
internal/cli/providers_cli.go, docs/subsystems/gateway-routing.md and
providers-accounts.md, with the labels' zh and ja from i18n.js. Linked
from each language's openai page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: a real Azure resource for this page; it names only what
magpie's source and docs say.
|
||
|
|
2d2333cfa1 |
site: an Amazon Bedrock page in en, zh and ja
/docs/bedrock says how magpie's bedrock and bedrock-mantle presets serve Claude, OpenAI's GPT models and other makers' models with one Bedrock API key and no SigV4: adding it, region= (CLI and the editor's Region), the runtime's given list (global. profiles for Claude and GPT, in-region ids for the rest, geography profiles typed in), the API picked per model, Mantle's own model list, in-region ids and two OpenAI prefixes, Claude Code's CLAUDE_CODE_USE_BEDROCK taken out and put back, and the anthropic-beta 400 asked again without the betas. Every claim is from internal/provider/presets.go and provider.go, internal/cli/providers_cli.go (applyPairs' region=), docs/subsystems/providers-accounts.md, gateway-routing.md and agent-wiring.md, with the label's zh and ja from i18n.js. Linked from each language's anthropic page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Bedrock key for this page; it names only what magpie's source and docs say. |
||
|
|
1729e1193a |
site: a Google Vertex AI page in en, zh and ja
/docs/vertex says how magpie's google-vertex preset serves Gemini, partner models (DeepSeek, GLM, gpt-oss) and Claude from the user's own Google Cloud project with no API key: turning on aiplatform.googleapis.com, gcloud application-default login or a key file, project=, location=, credentials= and impersonate= (with the GUI fields' labels), the models each location lists and typing in others, Model Garden and testing a partner or Claude model on its own, Claude on Messages API as with CLAUDE_CODE_USE_VERTEX, the Priority/Flex PayGo headers, and the errors reference.md lists. Every claim is from docs/reference.md (Google Vertex AI) and the CLI usage, with the labels' zh and ja from i18n.js. Linked from each language's gemini page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Vertex AI project for this page; it names only what magpie's docs and source say. |
||
|
|
f0571d7da5 |
site: a usage page in en, zh and ja
/docs/usage says what magpie records of each request and where to read
it: the Usage and Requests pages, magpie usage (today, 7d, 30d, all,
--last, --days, --csv, --account), the Sessions page and magpie sessions
(--days, --model, --folder, --json, and session reading allowed per
agent, none until then), where a price comes from (the user's own, the
provider's catalogue, models.dev) and magpie model price for a relay's
real one (four numbers, a fifth for a 1-hour cache write), calls with no
price ("{n} unpriced", never counted as free), magpie statusline for
Claude Code, and GET /v1/magpie/usage and /usage/requests with a held
key's cut. Every claim is from the CLI usage in internal/cli/main.go,
docs/reference.md (What a model costs, the status line),
docs/subsystems/gateway-sessions.md and app.js, with the labels' zh and
ja from i18n.js. Linked from each language's quota page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: magpie usage or magpie sessions against real data for this
page; it names only what magpie's source and docs say.
|
||
|
|
9c33839dee |
site: an images page in en, zh and ja
/docs/images says how a model that can't see images gets screenshots anyway (the Image recognition model describes each image once, cached, up to 4 at a time, in every turn and tool result; Automatic, a picked model, Off), the /mcp/magpie/vision server's analyze_image (URL, data URL or a local path up to 20 MB; a gateway key from another computer), the Magpie Image tool (generate_image, generate_video, generation_result; generated-images and generated-videos, never written over; a call answers within 20 s with an id), /v1/images/generations and edits, and Image generation timeout (1 to 60 min, 5 by default). Every claim is from internal/gateway/vision.go, vision_mcp.go, internal/imagemcp/imagemcp.go, docs/subsystems/gateway-routing.md and renderImages in app.js, with the labels' zh and ja from i18n.js. Linked from each language's web search page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: describing or drawing a real image for this page; it names only what magpie's source says. |
||
|
|
f8a00a3bee |
site: a quota page in en, zh and ja
/docs/quota says how to see what is left of every subscription, plan and key: magpie quota and --json (lastServedAt, last), refresh (a Claude account read by running /usage), GET /v1/magpie/quotas and its history endpoint, reachable from another machine only while shared on the local network, the magpie-quota skill, alert by percent and --balance, quota wait with its exit codes and the until-loop for a stopped Codex job, history kept 45 days, and a Codex account's reset, auto-reset and credits. Every claim is from quotaUsage in internal/cli/quota_cli.go and docs/subsystems/library.md, with the Usage and Library labels' zh and ja from i18n.js. Linked from each language's routing groups page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: running magpie quota against real accounts for this page; it names only what magpie's source says. |
||
|
|
625f3db114 |
site: a routing groups page in en, zh and ja
/docs/routing-groups covers both levels of magpie's routing: several accounts or keys on one provider (the editor's Routing and Stays, shown once a second one is on, and what one rate limited with quota left does: Keeps its place or Goes to the back), and routing groups across providers (auto-found groups, members, nested groups, patterns, By weight and Manual, rules, reasoning per member or by a classifier). Each routing and Stays choice is worded from app.js's ROUTINGS and STAYS and routing/client.js's options, with their zh and ja from i18n.js and plugins/routing/i18n.js; the CLI lines and templates are from groupUsage in internal/cli/groups_cli.go. Linked from each language's subscriptions page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: making a group or rotating real accounts for this page; it names only what magpie's source says. |
||
|
|
0f0f391e67 |
site: a web search page in en, zh and ja
/docs/web-search says how magpie gives web search to models that can't search (DeepSeek, GLM, Qwen) when Claude Code's WebSearch or Codex's web_search reaches them: Settings › Models › Web search, Search first with, a provider that searches for other models (one magpie picks gives way to the next, up to three; one you pick to If it fails, then the Search APIs only when it can't serve at all), the providers that search for their own models first, provider search turned off, the Search APIs and magpie search's CLI (keys in turn, pick=order, url=, count, mix), Models that search by themselves, and the MCP server at /mcp/magpie/web-search with web_search and web_fetch. Facts from internal/cli/search_cli.go, docs/subsystems/gateway-routing.md and gui-shell.md, with the GUI's labels and their zh and ja from app.js and i18n.js. Linked from each language's DeepSeek page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a search through a real searcher or Search API for this page; it names only what magpie's source and docs say. |
||
|
|
ad623e303b |
site: an agent drift troubleshooting page in en, zh and ja
/docs/agent-drift says what the Agents page means when it marks an
agent off magpie, one section per kind magpie reports: its config was
changed (unwired), a magpie model was replaced by the agent's own
(replaced: Apply again, or Keep current settings), it was used without
reaching the gateway (bypassed: quit and reopen it), nothing answers at
an address off loopback (unreachable: WSL's firewall rule, mirrored
networking, Share on local network, a portproxy, Use {url}), and Codex's
proxy not passing requests on (proxied: a DIRECT rule, NO_PROXY,
Windows' proxy exceptions). It also covers what isn't flagged (a move
between magpie models, a hand-written magpie provider) and Disconnect
from magpie. Each claim is from internal/agent/applied.go, reach.go and
codex_proxy.go, with the GUI's labels and their zh and ja from app.js
and i18n.js. Linked from each language's troubleshooting page (WSL
section); in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: making an agent drift by hand for this page; it names only
what magpie's source says.
|
||
|
|
bbce1fc1ab |
update: the updater checks a download's GitHub build attestation too (ArcticLampyrid on X)
Release CI attests every file (SLSA provenance through Sigstore, v0.1.3891 on). The updater now fetches the bundle for a file's signed SHA-256 from api.github.com/repos/yetone/magpie-releases/attestations/sha256:<digest> before it downloads the file, and verifies it with sigstore-go against the Sigstore trusted root embedded in the binary (attest_root.json, public good instance): certificate chain, certificate timestamp, Rekor entry, issuer token.actions.githubusercontent.com, subject release.yml of yetone/magpie-releases on main or a v* tag, source repository yetone/magpie-releases, and the digest among the statement's subjects. It is in addition to the ed25519 check over SHA256SUMS, which still runs first and still works offline and from the R2 mirror; the attestation is asked about the digest that signed list gives, so both speak of the same bytes. When the attestation can't be had (a failed read means "unknown", but an outage of GitHub must not take updates away): - a bundle that is there and fails (signature, identity, digest, a chain outside the trusted root), GitHub answering 404, or an empty list: the file is refused. GitHub was asked and says these bytes weren't built by that workflow. - GitHub unreachable, rate limited (60/hour anonymously), 5xx, a body that isn't JSON, or Settings' update source set to the site alone (which never goes to GitHub): the update goes on, since the ed25519 check has held, and the log says the file went unattested and why. Someone who can only drop the API call downgrades an update to the ed25519 check, never below it. - releases before 0.1.3891 and a MAGPIE_UPDATE_FEED of your own are not asked. The bundle checks itself, so the API call goes through source.Do and may use a mirror. Cost: go.mod gains sigstore-go v1.1.4 and its tree (go.sum +350 lines). The embedded root has to be renewed (gh attestation trusted-root, first line) when Sigstore rotates its keys; docs/reference.md says so. Until then a chain under a new key fails as "not attested" and is refused: a known cost, in the doc. Run (mote, sandbox HOME via testenv): go test ./internal/update (ok), site node tests (112 of 114; docker-tags and the sponsors README test fail because mote-run -C site cannot see ../README.md, unrelated), gofmt -l empty, go vet darwin, GOOS=linux -tags nogui and GOOS=windows on internal/update, go build ./... on all three. Fixture: the real answer api.github.com gave for v0.1.3925's SHA256SUMS (testdata/attest), verified offline; the whole run reaches no network. New tests: TestAttestationOfARealBundleHolds, ...OfAnotherDigestRefused, ...TamperedRefused, ...EditedPayloadRefused, ...WrongIdentityRefused (repo, workflow, ref, source repo, issuer each), ...NoneListedRefused, ...UnknownGoesOnAndSaysSo (403, 429, 502, HTML, nothing listening), ...OnlyWhereItIsOwed, TestVerifyMarksAttestedReleases, TestDownloadRefusedWithoutAttestation. Broken by hand: identity check swapped for WithoutIdentitiesUnsafe turns WrongIdentityRefused red on all five cases; the attestedFile call removed from download turns DownloadRefusedWithoutAttestation red (the file was fetched). The first full run of the package, before TestMain pointed the attestation API at a closed port, had TestSourceSiteAndAutomaticUseTheSite reach the real GitHub with a made-up digest and be refused: now closed. Not tried: a real update end to end (needs a release newer than the running binary; the unit path covers download), Windows box, the GUI, full suite (starts after the tag). Docs: docs/reference.md, start.html (en, zh, ja) and llms-full.txt say what the app checks now. |
||
|
|
248240025b |
site: a Kiro Crew docs page in en, zh and ja
/docs/kirocrew says how magpie puts Kiro Crew on its models. Kiro Crew has no model provider of its own; its models are its ACP harness's, so magpie sets agent.acp_backend (and member_acp_backend for a harness that can dispatch) in config.json in $KIROCREW_HOME or ~/.kiro/crew. The harness is Codex, Claude Code, OpenCode, Pi or Goose connected to magpie. The page covers which harness it keeps or picks, why deepseek isn't offered, and the npm adapters Codex, Claude Code and Pi need, looked for where Kiro Crew looks and never installed. It also covers config.local.json winning and left alone, new sessions taking the change, and switching off putting the keys back and disconnecting a harness agent only when connecting Kiro Crew connected it. Each claim is from internal/agent/kirocrew.go. Linked from each language's JetBrains Copilot page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: Kiro Crew itself with magpie for this page; it names only what magpie's source says. |
||
|
|
f76a850c21 |
site: a JetBrains Copilot docs page in en, zh and ja
/docs/copilot-jetbrains says how magpie puts its models in GitHub Copilot Chat in JetBrains IDEs and Android Studio. It covers Bring Your Own Key's custom endpoint written into the Copilot language server's byok.json, with the file's path on each system and its three keys as the server saves them. The page also covers the restart the IDE needs, the plans that have BYOK (Free, Pro, Pro+; Business and Enterprise by policy), and the key kept in plain text in that file. It covers tool calling turned on for agent mode, the 128K default window, Xcode's and Eclipse's Copilot reading the same file, hidden models kept hidden, and the three keys deleted on switching off. Each claim is from internal/agent/copilotjetbrains.go. Linked from each language's OpenMausBot page and to the Copilot page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a JetBrains IDE itself with magpie for this page; it names only what magpie's source says. |
||
|
|
74881f4d6a |
site: an OpenMausBot docs page in en, zh and ja
/docs/openmausbot says how magpie sets up OpenMausBot: config.json in $OMB_DATA_DIR or ~/.openmausbot, and why its Claude bots need an engine of magpie's own (Claude Code runs isolated, with only the sign-in keys of ~/.claude/settings.json). The page covers the magpie engine, shaped like OpenMausBot's Claude endpoint: claudeAgent, access custom, its own configDir, requireApiKey, every magpie model in endpointModels, and the gateway and key in the environment. It also covers routing owned by the engine, the default fleet written beside it when the file has none, refusing a change while OpenMausBot runs with the list rewritten after it writes over it, what stays the user's, and switching off. Each claim is from internal/agent/openmausbot.go. Linked from each language's Mistral Vibe page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: OpenMausBot itself with magpie for this page; it names only what magpie's source says. |
||
|
|
477bbb7a15 |
usage: GET /v1/magpie/usage/requests?cursor= reads requests as changes, with stable ids (rdsaltbo on X, #6060)
A program keeping a ledger of its own (a WakaToken plugin) can now read the requests incrementally: cursor=start or cursor=now, then each next_cursor. Rows carry a stable content-derived id (same after a restart), origin, and original_ids (request_id, response_id, client_response_id, message_id, session_id, native_session_id), each only when the source gave it. A call read late, a corrected row (same id, higher seq) and a native row replaced by the gateway's (deleted, with seq) all come through a persisted journal (usage-feed.jsonl, appended and synced before answering). Cursors magpie cannot resume from are refused: 400 cursor_invalid / cursor_filter_changed, 410 cursor_expired / cursor_reset. A held key sees only its own rows and tombstones. Without cursor, offset/limit mode is unchanged. Also: Record.MessageID (not persisted) from the agent file's message id, and usageapi's row decoration moved into a namer shared by both modes. Docs: reference.md, integrating.md, gateway-routing.md, gateway-sessions.md, site remote.html (en/zh/ja), llms-full.txt. Run (mote, this tree): go vet darwin, GOOS=windows, GOOS=linux -tags nogui on usage, usageapi, gateway (gui on darwin); go test -count=1 for internal/usage, usageapi, gui, gateway: all ok. New tests: resume gets exactly the new rows, ids and cursors survive a restart, correction keeps the id, gateway takeover retires the native row, refused cursors, expiry, now cursor, identical records, and the feed over the gateway (held key, 401 without key, offset mode). Broken by hand: an unconditional memo made the new-rows test red (fixed to memo only the next page). Not tried: real Claude Code/Codex session files, a huge (700k+) history, Windows run of the tests, GUI browser suites (no GUI file touched). |
||
|
|
b6043b8be3 |
site: a Mistral Vibe docs page in en, zh and ja
/docs/mistral-vibe says how magpie sets up Mistral Vibe (the vibe CLI): config.toml in $VIBE_HOME or ~/.vibe, magpie's [[providers]] entry at the gateway's /v1 and one [[models]] entry per catalog model aliased magpie/<provider>/<model> for /model and active_model; the key as an Authorization header in extra_headers, since Vibe reads keys only from the environment or keyring, and nothing written to the environment or ~/.vibe/.env; thinking levels and the 128K default; the user's other keys kept and Avibe's vibe not taken for it; and active_model put back on switching off. Each claim is from internal/agent/vibe.go. Linked from each language's Pencil page and to the Mistral page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: Mistral Vibe itself with magpie for this page; it names only what magpie's source says. |
||
|
|
e2afa3931a |
site: a Pencil docs page in en, zh and ja
/docs/pencil says how magpie sets up Pencil (pen.dev): a magpie provider in Pi's format in ~/.pencil/models.json, on OpenAI Completions at the gateway's /v1 for every model, under magpie's key for Pencil; the fields each model carries (Pi's 128K and 16K defaults, zero cost, no per-model api or baseUrl); the restart Pencil needs and the model picked in its agent composer; how magpie finds it; the user's other providers and their own keys kept; and switching off. Each claim is from internal/agent/pencil.go and theirsKept in sync.go. Linked from each language's WorkBuddy page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: Pencil itself with magpie for this page; it names only what magpie's source says. |
||
|
|
e5ee114115 |
site: a WorkBuddy docs page in en, zh and ja
/docs/workbuddy says how magpie sets up Tencent's WorkBuddy: magpie's models in ~/.workbuddy/models.json (or $WORKBUDDY_CONFIG_DIR), either file shape, an entry's fields at /v1/chat/completions under magpie's key, the custom-local:<id> picker per task and the restart WorkBuddy 5.6 can need; the extra 200K context size and maxOutputTokens; what stays the user's after WorkBuddy's own rewrite (models turned off, a NAS magpie, typed reply limits, a default effort); WorkBuddy AI in ~/.workbuddy-ai, WSL; and switching off. Each claim is from internal/agent/workbuddy.go. Linked from each language's VS Code page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: WorkBuddy itself with magpie for this page; it names only what magpie's source says. |
||
|
|
5d23ae8607 |
site: a VS Code docs page in en, zh and ja
/docs/vscode says how magpie sets up VS Code's own Chat (GitHub Copilot Chat): the Custom Endpoint provider since Stable 1.122, with no GitHub sign-in or Copilot plan; magpie's customendpoint group in chatLanguageModels.json, each model at /v1/chat/completions with tool calling on and magpie's token in requestHeaders, since an apiKey is read from secret storage alone; chat.defaultModel for a new chat; every profile, Insiders and portable builds; VSCodium's Marketplace Copilot Chat 0.48.1 and its OpenAI Compatible provider (x-api-key, personal Copilot plan, the product.json and chat.disableAIFeatures setup); what picking VS Code's own model and switching off each do. Each claim is from internal/agent/vscode.go. Linked from each language's Claude Science page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: VS Code itself with magpie for this page; it names only what magpie's source says. |
||
|
|
e9250203ae |
site: a Claude Science docs page in en, zh and ja
/docs/claude-science says how magpie connects Claude Science, Anthropic's research app: it restarts the claude-science daemon (stop, then serve --detached --no-browser on its port) with ANTHROPIC_BASE_URL set to the gateway, and sets no variable for the user and writes no file; the hand-run command (ScienceLaunch); https or loopback http only; where the program is found; the Claude sign-in it still needs, which the gateway never passes on, and the X-Anthropic-Surface: operon header; claude-magpie-<number> aliases in its model menu; the keeper (restarts, the window's own daemon, service managers, three retakes an hour); WSL through wsl.exe with a socat relay under NAT; switching back. Each claim is from internal/agent/claudescience.go, claudescience_wsl.go and internal/gateway/science.go. Linked from each language's mu page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: Claude Science itself with magpie for this page; it names only what magpie's source says. |
||
|
|
ab98228cc1 |
redact: Cloudflare's tokens and keys are masked by default (eiyuuzaki2333 on X)
Formats from Cloudflare's docs (fundamentals/api/get-started/token-formats
and /ca-keys): the scannable prefixes cfut_ (user token), cfat_ (account
token), cfk_ (Global API Key) and cfoat_ (Wrangler OAuth), each 40
characters and a checksum; an Origin CA key, which always starts v1.0-
(two alphanumeric runs split by a hyphen); a tunnel token, base64 of
{"a":..,"t":..,"s":..} so it starts eyJhIjoi (the docs show only that
head). The X-Auth-Key and X-Auth-User-Service-Key headers are masked
whatever the value looks like. The unprefixed older token (40 letters) and
Global Key (37-45 hex), and an R2 Secret Access Key (64 hex), have no
shape and were already masked under their names (CLOUDFLARE_API_TOKEN,
AWS_SECRET_ACCESS_KEY); the test pins that. An R2 Access Key ID is an id
and goes as written by design (TestIDsGoAsWritten), so it is not masked.
The checksum's length and alphabet aren't documented, so the prefixed rule
takes 40 or more of [A-Za-z0-9_-]. The origin CA hex split is not in the
docs; the rule takes alphanumerics.
Docs: the masking page (en, zh, ja) and llms-full.txt list them.
Run (mica, mote was loaded): go test -count=1 ./internal/redact ok;
gofmt; go vet darwin, linux nogui, windows. The new tests were red on the
old code for every prefixed, Origin CA, tunnel and X-Auth-Key case, and
keep SHA-1/SHA-256/MD5 hex, a base62 string, v1.0-beta, a bare prefix, an
R2 id and a JWT header unmasked.
Not tried: a real Cloudflare token (fake values in the documented shapes);
the full suite and GUI suite (no GUI file touched).
|
||
|
|
96f8726ed1 |
docs: how to verify a download's GitHub Actions attestation (ArcticLampyrid on X)
README (en, zh) and the start page's FAQ (en, zh, ja) give 'gh attestation verify <file> -R yetone/magpie-releases', say it holds from v0.1.3891 and names the magpie-releases repo, not the source commit, and say the updater keeps its own ed25519 check (offline, R2 mirror). Not adding in-app Sigstore verification: it needs a TUF-fetched trust root and a bundle per file, which breaks offline and mirror updates. The workflow change is yetone/magpie-releases 9213fbd. Run: site/*.test.mjs on mote (llms-full.txt regenerated, worker.test.mjs green). Not tried: the attestation itself until v0.1.3891's run. |