site, docs: a Privacy page lists everything magpie sends and how to turn it off (#1986)
#1986 asked what the daily count sends, where the id lives and how to stop it. The answer was spread over one README paragraph and the reference. A new page, /docs/privacy (en, zh, ja), lists it from the code: - the daily PostHog batch (internal/stats): a whole example, the label rules for agents/providers/models, partner counts, the $process_person_profile:false flag; - every switch: Settings -> Privacy's two toggles, noStats/noUsageStats, DO_NOT_TRACK / MAGPIE_NO_STATS, noAutoUpdate (About -> Automatic updates), and that a change applies at the next hourly look; - the files: install-id (made at the first send, not at first run, as the issue said) and stats-sent in settings.Dir(), partner-counts.json in the cache folder, their paths per OS and portable, and deleting them; - what usemagpie.ai sees whatever the settings (update feed every 6h, notes, partner list with its 1-in-10 sampled count, /go links, the icon proxy) and the Cloudflare Web Analytics on the site's own pages; - public lists fetched (models.dev, open.er-api.com, npm, GitHub) and providers' quota reads with the user's own accounts; - OTLP export, off by default, its env vars; - why the count stays on by default in releases. Every docs page in all three languages gets a Privacy link in its nav and footer. README (en, zh) and start.html's "What does magpie send about me?" (en, zh, ja) link to the page. docs/reference.md's Files list gains install-id, stats-sent and partner-counts.json, and Counting users says when the id is made, the hourly try, and links the page. Checked against: internal/stats/stats.go, usage.go, provider/partner_events.go, settings (NoStats, NoUsageStats, NoAutoUpdate, UpdateEvery 360, otel.go), appdir, update, fx, catalog, site/worker.js, and the GUI's Settings tabs/labels in index.html, app.js and i18n.js (zh, ja). Run: Playwright (Chromium and WebKit) on all three pages at 1100 and 420 wide, light and dark: no horizontal scroll, no element past the viewport, no page errors (24/24), screenshots looked at for zh at 420 dark. Every href/anchor in site/public/docs resolves; relative links in README and reference resolve. node site/worker.test.mjs passes. Not run: the page on the deployed worker (the site deploys by hand with wrangler, so it is live at the next deploy); the language redirect for /docs/privacy was not exercised beyond the worker's existing tests.
This commit is contained in:
@@ -268,7 +268,7 @@ Find them under Plugins › Discover › Gateway middleware. See [Gateway middle
|
||||
|
||||
## Privacy
|
||||
|
||||
Your prompts, replies, keys and accounts go only to the providers you use. Once a day a released magpie tells us it is in use: a random id, its version and system, and which agents, providers and models it is used with, by magpie's own ids (a provider you added yourself is only `custom`), and for each partner listed first in the add sheet, how many times a day it was shown, opened and added (counts only). No names, URLs, accounts, keys, prompts or usage. Turn part or all of it off in **Settings → Privacy**, or with `DO_NOT_TRACK=1`. A partner's website and key links go through `usemagpie.ai/go/…`, which counts the click, and usemagpie.ai counts fetches of the partner list; the server sees these whatever the settings, and keeps no id or address. Icons named by a plugin, an import link or the library are fetched through `usemagpie.ai/api/icon`, so their hosts see Cloudflare's address, not yours; the server only passes the picture on, and counts and keeps nothing. [What is sent, exactly](docs/reference.md#counting-users).
|
||||
Your prompts, replies, keys and accounts go only to the providers you use. Once a day a released magpie tells us it is in use: a random id, its version and system, and which agents, providers and models it is used with, by magpie's own ids (a provider you added yourself is only `custom`), and for each partner listed first in the add sheet, how many times a day it was shown, opened and added (counts only). No names, URLs, accounts, keys, prompts or usage. Turn part or all of it off in **Settings → Privacy**, or with `DO_NOT_TRACK=1`. A partner's website and key links go through `usemagpie.ai/go/…`, which counts the click, and usemagpie.ai counts fetches of the partner list; the server sees these whatever the settings, and keeps no id or address. Icons named by a plugin, an import link or the library are fetched through `usemagpie.ai/api/icon`, so their hosts see Cloudflare's address, not yours; the server only passes the picture on, and counts and keeps nothing. The [Privacy page](https://usemagpie.ai/docs/privacy) lists everything magpie sends by itself, with an example and every switch; the [reference](docs/reference.md#counting-users) has the rules.
|
||||
|
||||
## Community
|
||||
|
||||
|
||||
+1
-1
@@ -268,7 +268,7 @@ magpie plugin options model-map '{"mapping": {"fast": "deepseek/deepseek-chat"}}
|
||||
|
||||
## 隐私
|
||||
|
||||
你的提示词、回复、密钥和账号只发给你用的供应商。正式版 magpie 每天告诉我们一次它在用:一个随机 ID、版本和系统,以及用了哪些 agent、供应商和模型,只用 magpie 自己的 ID(你自己添加的供应商只记作 `custom`),以及添加供应商页里排在最前的合作伙伴每天被展示、打开和添加的次数(只有次数)。不发送名称、URL、账号、密钥、提示词和用量。可以在 **设置 → 隐私** 里关掉一部分或全部,也可以设 `DO_NOT_TRACK=1`。合作伙伴的官网和获取 Key 链接经 `usemagpie.ai/go/…` 跳转并计一次点击,usemagpie.ai 也统计合作伙伴列表的拉取次数;这是服务器本身看到的,不受设置影响,不记录 ID 和 IP。插件、导入链接和库里的图标经 `usemagpie.ai/api/icon` 获取,图标所在的服务器只看到 Cloudflare 的地址,看不到你的 IP;这台服务器只转发图片,不计数也不记录。[具体发送哪些内容](docs/reference.md#counting-users)。
|
||||
你的提示词、回复、密钥和账号只发给你用的供应商。正式版 magpie 每天告诉我们一次它在用:一个随机 ID、版本和系统,以及用了哪些 agent、供应商和模型,只用 magpie 自己的 ID(你自己添加的供应商只记作 `custom`),以及添加供应商页里排在最前的合作伙伴每天被展示、打开和添加的次数(只有次数)。不发送名称、URL、账号、密钥、提示词和用量。可以在 **设置 → 隐私** 里关掉一部分或全部,也可以设 `DO_NOT_TRACK=1`。合作伙伴的官网和获取 Key 链接经 `usemagpie.ai/go/…` 跳转并计一次点击,usemagpie.ai 也统计合作伙伴列表的拉取次数;这是服务器本身看到的,不受设置影响,不记录 ID 和 IP。插件、导入链接和库里的图标经 `usemagpie.ai/api/icon` 获取,图标所在的服务器只看到 Cloudflare 的地址,看不到你的 IP;这台服务器只转发图片,不计数也不记录。[隐私页](https://usemagpie.ai/docs/zh/privacy)列出了 magpie 自己发出的所有内容,附示例和每个开关;规则见[参考文档](docs/reference.md#counting-users)。
|
||||
|
||||
## 社区
|
||||
|
||||
|
||||
+13
-4
@@ -2469,12 +2469,16 @@ MAGPIE_GITHUB_MIRROR=https://gh.example magpie serve
|
||||
- `~/.config/magpie/stash.json` — values magpie replaced, restored on switch-back
|
||||
- `~/.config/magpie/plugins.json`, `plugins/` — the plugins added, and their packages
|
||||
- `~/.config/magpie/plugin-auth.json` — the plugins' sign-ins (0600)
|
||||
- `~/.config/magpie/install-id`, `stats-sent` — the [user count](#counting-users)'s
|
||||
random id and the last day it went
|
||||
- `~/.cache/magpie/bun/<version>/magpie-bun` — the Bun plugins run on, named
|
||||
so that a proxy app's PROCESS-NAME rule can match it (`magpie-bun.exe` on
|
||||
Windows)
|
||||
- `~/.cache/magpie/models.json` — models.dev catalog (OpenCode's cache at
|
||||
`~/.cache/opencode/models.json` is used when present)
|
||||
- `~/.cache/magpie/models/<provider>.json` — model lists fetched from vendors
|
||||
- `~/.cache/magpie/partner-counts.json` — partner counts not yet sent (at most
|
||||
14 days)
|
||||
|
||||
`XDG_CONFIG_HOME` and `XDG_CACHE_HOME` are respected.
|
||||
|
||||
@@ -2482,8 +2486,10 @@ MAGPIE_GITHUB_MIRROR=https://gh.example magpie serve
|
||||
|
||||
Once a day, a running magpie (the app, or `magpie serve`) sends one event to
|
||||
PostHog so we know how many people use it: a random id made up on your
|
||||
computer (`~/.config/magpie/install-id`), magpie's version, and your system
|
||||
and architecture.
|
||||
computer (`~/.config/magpie/install-id`, made the first time the event is
|
||||
sent), magpie's version, and your system and architecture. The day it last
|
||||
went is in `~/.config/magpie/stats-sent`, so a day is sent once; the
|
||||
event is tried at start and then every hour.
|
||||
|
||||
With it goes what magpie is used with, so we know which agents, providers
|
||||
and models to look after first, by magpie's own ids only:
|
||||
@@ -2502,14 +2508,17 @@ and models to look after first, by magpie's own ids only:
|
||||
- for each partner (a sponsor listed first in the add sheet), by its id, how
|
||||
many times a day the add sheet showed it, its row was opened, its key
|
||||
page was opened and a provider was added from it (at most 20 of each,
|
||||
5 adds), sent the day after as `magpie partner` events.
|
||||
5 adds), kept in `~/.cache/magpie/partner-counts.json` for at most 14
|
||||
days and sent the day after as `magpie partner` events.
|
||||
|
||||
No names, base URLs, accounts, keys, prompts or usage go. Turn that part off
|
||||
in Settings → Privacy → Share the agents, providers and models I use; the
|
||||
day's event then has the id, version and system only. Turn it all off in
|
||||
Settings → Privacy → Count me as a user, or with `DO_NOT_TRACK=1` or
|
||||
`MAGPIE_NO_STATS=1`. Builds from source never send it. The code is
|
||||
[internal/stats](../internal/stats/stats.go).
|
||||
[internal/stats](../internal/stats/stats.go). Deleting `install-id` makes a
|
||||
new one at the next send. The [Privacy page](https://usemagpie.ai/docs/privacy)
|
||||
shows a whole batch and everything else magpie sends by itself.
|
||||
|
||||
Partners are also counted where usemagpie.ai sees them, whatever these
|
||||
settings say, as any website sees its visits. The partner list
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -215,6 +216,7 @@ docker logs magpie</pre>
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -259,6 +260,7 @@ href = <span class="s">"https://usemagpie.ai/import#"</span> + urlencode({
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -151,6 +152,7 @@ curl -s http://127.0.0.1:3425/v1/models -H "Authorization: Bearer magpie-acme"</
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -320,6 +321,7 @@ The number of its kind (0 for none):</pre>
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -215,6 +216,7 @@ docker logs magpie</pre>
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -259,6 +260,7 @@ href = <span class="s">"https://usemagpie.ai/import#"</span> + urlencode({
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -320,6 +321,7 @@ The number of its kind (0 for none):</pre>
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -775,6 +776,7 @@ magpie plugin options model-map '{"mapping": {"fast": "deepseek/deepseek-chat"}}
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -0,0 +1,226 @@
|
||||
<!doctype html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>プライバシー · magpie ドキュメント</title>
|
||||
<meta name="description" content="magpie が自分から何をどこへ送るか:1 日 1 回のユーザー数のカウント、更新確認とその他の公開リスト、usemagpie.ai に見えるもの、OTLP エクスポート、そしてそれぞれを止めるスイッチ。">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<meta name="theme-color" content="#fafafa">
|
||||
<script>
|
||||
(() => {
|
||||
let mode = "system";
|
||||
try { mode = localStorage.getItem("theme") || "system"; } catch {}
|
||||
const q = matchMedia("(prefers-color-scheme: dark)");
|
||||
const apply = () => {
|
||||
const t = mode === "system" ? (q.matches ? "dark" : "light") : mode;
|
||||
document.documentElement.dataset.theme = t;
|
||||
document.querySelector('meta[name="theme-color"]').content = t === "dark" ? "#0b0b0c" : "#fafafa";
|
||||
document.querySelectorAll("button.theme").forEach((b) => { b.dataset.mode = mode; b.title = "Theme: " + mode; });
|
||||
};
|
||||
q.addEventListener("change", () => mode === "system" && apply());
|
||||
window.setTheme = (m) => { mode = m; try { m === "system" ? localStorage.removeItem("theme") : localStorage.setItem("theme", m); } catch {} apply(); };
|
||||
window.themeMode = () => mode;
|
||||
apply();
|
||||
})();
|
||||
</script>
|
||||
<script>try{if(/Linux/.test(navigator.userAgent)&&!/Android/.test(navigator.userAgent)||localStorage.getItem("omarchy")||/[?&]omarchy=/.test(location.search))document.write('<script src="/omarchy.js"><\/script>')}catch(e){}</script>
|
||||
<link rel="icon" href="/favicon.png" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/img/icon-256.png">
|
||||
<link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy">
|
||||
<link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy">
|
||||
<link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy">
|
||||
<link rel="stylesheet" href="/docs.css">
|
||||
<meta property="og:title" content="プライバシー">
|
||||
<meta property="og:description" content="magpie が自分から送るものすべてと、その止め方。">
|
||||
<meta property="og:image" content="https://usemagpie.ai/img/og.png">
|
||||
<meta property="og:url" content="https://usemagpie.ai/docs/ja/privacy">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav><div class="wrap">
|
||||
<a class="brand" href="/ja/"><img class="bird" src="/img/magpie-small.svg" alt="">magpie <small>ドキュメント</small></a>
|
||||
<div class="links">
|
||||
<a href="/ja/">ホーム</a>
|
||||
<a href="/docs/ja/start">はじめに</a>
|
||||
<a href="/docs/ja/intent">インテントルーティング</a>
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
</div>
|
||||
<div class="langs">
|
||||
<button class="icon-btn lang" type="button" aria-label="言語" title="言語" aria-haspopup="true" aria-expanded="false" aria-controls="langs"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="8" cy="8" r="6.25"/><path d="M1.75 8h12.5M8 1.75c1.7 1.75 2.55 3.83 2.55 6.25S9.7 12.5 8 14.25M8 1.75C6.3 3.5 5.45 5.58 5.45 8S6.3 12.5 8 14.25"/></svg></button>
|
||||
<div class="lang-menu" id="langs" hidden>
|
||||
<a href="/docs/privacy" hreflang="en" lang="en">English</a>
|
||||
<a href="/docs/zh/privacy" hreflang="zh" lang="zh">中文</a>
|
||||
<a href="/docs/ja/privacy" hreflang="ja" lang="ja">日本語</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="icon-btn" href="https://discord.gg/vGSnD3ZKQF" aria-label="Discord の magpie" title="Discord に参加"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a>
|
||||
<a class="icon-btn" href="https://github.com/yetone/magpie" aria-label="GitHub の magpie" title="GitHub のソースコード"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg></a>
|
||||
<button class="icon-btn theme" type="button" aria-label="Theme" title="Theme: system"><svg class="i-system" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="1.75" y="2.75" width="12.5" height="8.5" rx="1.5"/><path d="M5.5 14h5M8 11.25V14"/></svg><svg class="i-light" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="8" cy="8" r="3"/><path d="M8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3 3l1 1M12 12l1 1M3 13l1-1M12 4l1-1"/></svg><svg class="i-dark" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M13.5 9.5A5.5 5.5 0 0 1 6.5 2.5a5.5 5.5 0 1 0 7 7Z"/></svg></button>
|
||||
<a class="btn small" href="/#get">ダウンロード</a>
|
||||
</div></nav>
|
||||
|
||||
<main class="wrap doc">
|
||||
<aside class="toc">
|
||||
<p>プライバシー</p>
|
||||
<a href="#overview">概要</a>
|
||||
<a href="#count">毎日のカウント</a>
|
||||
<a href="#off">オフにする</a>
|
||||
<a href="#files">コンピューター上のファイル</a>
|
||||
<a href="#site">usemagpie.ai に見えるもの</a>
|
||||
<a href="#lists">magpie が取得する公開リスト</a>
|
||||
<a href="#otel">OTLP エクスポート</a>
|
||||
<a href="#why">カウントが既定でオンの理由</a>
|
||||
</aside>
|
||||
|
||||
<article>
|
||||
<p class="eyebrow" id="overview">ドキュメント · プライバシー</p>
|
||||
<h1>プライバシー</h1>
|
||||
<p class="lede">プロンプト、返答、キー、アカウントは、使っているプロバイダーにだけ送られます。間に magpie 自身のサーバーはありません。このページは、それ以外に magpie が自分から送るものすべてと、それを止めるスイッチを挙げます。内容はコードから書いており、各節にコードへのリンクがあります。</p>
|
||||
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>内容</th><th>送り先</th><th>既定</th><th>止め方</th></tr>
|
||||
<tr><td><a href="#count">毎日のカウント</a></td><td>PostHog(<code>us.i.posthog.com</code>)</td><td>リリース版でオン。ソースからのビルドは送らない</td><td><span class="ui">設定</span> → <span class="ui">プライバシー</span>、<code>DO_NOT_TRACK=1</code></td></tr>
|
||||
<tr><td><a href="#site">更新確認</a>、リリースノート、パートナー一覧、アイコン</td><td><code>usemagpie.ai</code></td><td>オン</td><td>更新確認は <code>noAutoUpdate</code>。ほかはアプリの動作に必要</td></tr>
|
||||
<tr><td><a href="#lists">モデルカタログと為替レート</a></td><td><code>models.dev</code>、<code>open.er-api.com</code></td><td>オン</td><td>切り替え不可。あなたの情報は送らない</td></tr>
|
||||
<tr><td><a href="#otel">OTLP エクスポート</a></td><td>あなたが指定したコレクター</td><td>オフ</td><td>オフのままにする</td></tr>
|
||||
</table></div>
|
||||
|
||||
<h2 id="count"><a class="anchor" href="#count">毎日のカウント</a></h2>
|
||||
<p>動いているリリース版の magpie(アプリ、または <code>magpie serve</code>)は、1 日(UTC)に 1 回 PostHog へイベントをまとめて送ります。何人が使っていて、どのエージェント、プロバイダー、モデルを優先して面倒を見るべきかを知るためです。起動時に送り、以後 1 時間ごとに確認し、その日すでに送っていれば何もしません。ソースからのビルドは送りません。</p>
|
||||
<p>まとめの中には <code>magpie active</code> イベントが 1 つあり、次を含みます。</p>
|
||||
<ul>
|
||||
<li>このコンピューターで作ったランダムな ID(16 進 32 文字。あなたやマシンとは無関係)。<code>distinct_id</code> として送ります。</li>
|
||||
<li>magpie のバージョン、<code>kind</code>(<code>app</code> か <code>serve</code>)、システム(<code>$os</code>)とアーキテクチャ。</li>
|
||||
<li>使っているエージェント、プロバイダー、モデルの数とルーティンググループの数(使っているものの共有をオフにすると送りません)。</li>
|
||||
</ul>
|
||||
<p>その部分をオフにしない限り、エージェント、プロバイダー、モデルごとに <code>magpie uses</code> イベントが続きます。magpie 自身の ID だけで、それぞれ最大 50 個です。</p>
|
||||
<ul>
|
||||
<li><b>エージェント</b>:magpie につないだもの(<code>claude</code>、<code>codex</code>)。WSL のディストリ名や omp のプロファイル名は外します(<code>omp</code> だけ)。</li>
|
||||
<li><b>プロバイダー</b>:オンのもの。プリセットの ID(<code>deepseek</code>)、サブスクリプションの ID(<code>codex</code>、<code>copilot</code>)、既知のコミュニティプラグインの ID(<code>plugin:kiro</code>)。自分で追加したプロバイダーは <code>custom</code>、それ以外のプラグインは <code>plugin</code> とだけ記録します。</li>
|
||||
<li><b>モデル</b>:つないだエージェントに設定されたモデルを、プロバイダー ID とベンダーのモデル ID で(<code>deepseek/deepseek-v4</code>)。キーのプロバイダーで <a href="https://models.dev">models.dev</a> に載っていないモデル ID(ローカルモデル、ファインチューン)は <code><プロバイダー>/other</code>、自分のプロバイダーのモデルは <code>custom</code>、ルーティンググループは <code>group</code> です。</li>
|
||||
</ul>
|
||||
<p>あわせて <code>magpie partner</code> イベントも送ります。プロバイダー追加シートの先頭に載る各パートナーについて、その ID で、終わった日にシートに表示された回数、行が開かれた回数、キーのページが開かれた回数、そこからプロバイダーが追加された回数です(<code>what</code>:<code>shown</code>、<code>opened</code>、<code>keys</code>、<code>added</code>。1 日にそれぞれ最大 20 回、追加は 5 回)。回数だけで、自分のプロバイダーは含みません。</p>
|
||||
<p>どのイベントにも <code>$process_person_profile: false</code> が付き、PostHog はこの ID の人物プロファイルを作りません。名前、Base URL、アカウント、キー、プロンプト、返答、使用量は送りません。まとめ全体はこのような形です。</p>
|
||||
<div class="code">
|
||||
<span class="lang">POST https://us.i.posthog.com/batch/</span>
|
||||
<button class="copy" data-copy="ex-payload">コピー</button>
|
||||
<pre id="ex-payload">{
|
||||
"api_key": "phc_nyDyYyrUTRGvNq5U7FBesCyM2j4GdKeqGp8ko7DBerTC",
|
||||
"batch": [
|
||||
{
|
||||
"event": "magpie active",
|
||||
"distinct_id": "3f9c…(32 hex)",
|
||||
"timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": {
|
||||
"version": "0.1.1190", "kind": "app", "$os": "Mac OS X", "arch": "arm64",
|
||||
"agents": 2, "providers": 3, "models": 2, "groups": 1,
|
||||
"$process_person_profile": false, "distinct_id": "3f9c…"
|
||||
}
|
||||
},
|
||||
{ "event": "magpie uses", "distinct_id": "3f9c…", "timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": { "kind": "agent", "id": "claude", "$process_person_profile": false, "distinct_id": "3f9c…" } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "provider", "id": "custom", … } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "model", "id": "deepseek/deepseek-v4", … } },
|
||||
{ "event": "magpie partner", "timestamp": "2026-10-12T12:00:00Z",
|
||||
"properties": { "id": "<partner id>", "what": "shown", "count": 3, "day": "2026-10-12", … } }
|
||||
]
|
||||
}</pre>
|
||||
</div>
|
||||
<p><code>api_key</code> はプロジェクトの PostHog キーで、イベントを送れるだけで読むことはできません。コードは <a href="https://github.com/yetone/magpie/blob/main/internal/stats/stats.go">internal/stats</a> と <a href="https://github.com/yetone/magpie/blob/main/internal/provider/partner_events.go">partner_events.go</a> です。</p>
|
||||
|
||||
<h2 id="off"><a class="anchor" href="#off">オフにする</a></h2>
|
||||
<p>次のスイッチで、その一部または全部を止められます。</p>
|
||||
<ul>
|
||||
<li><span class="ui">設定</span> → <span class="ui">プライバシー</span> → <span class="ui">ユーザー数に含める</span> をオフ、または <code>settings.json</code> に <code>"noStats": true</code>:毎日のカウント全体。</li>
|
||||
<li>magpie の環境に <code>DO_NOT_TRACK=1</code> か <code>MAGPIE_NO_STATS=1</code>(空、<code>0</code>、<code>false</code> 以外の値):設定にかかわらず、毎日のカウント全体。</li>
|
||||
<li><span class="ui">設定</span> → <span class="ui">プライバシー</span> → <span class="ui">使っているエージェント、プロバイダー、モデルを共有</span> をオフ、または <code>"noUsageStats": true</code>:<code>magpie uses</code> と <code>magpie partner</code> イベント、<code>magpie active</code> の数。ID、バージョン、システムは送られます。パートナーの回数も記録しなくなります。</li>
|
||||
<li><span class="ui">設定</span> → <span class="ui">情報</span> → <span class="ui">自動アップデート</span> をオフ、または <code>"noAutoUpdate": true</code>:magpie が自分から <code>usemagpie.ai</code> に新しいバージョンを尋ねること(そうでなければ 6 時間ごと)。カウントの一部ではありません。</li>
|
||||
</ul>
|
||||
<p>設定の変更は次の 1 時間ごとの確認で反映され、再起動はいりません。<code>settings.json</code> は magpie のフォルダーにあります(<a href="#files">下記</a>)。</p>
|
||||
<div class="code">
|
||||
<span class="lang">settings.json</span>
|
||||
<button class="copy" data-copy="ex-settings">コピー</button>
|
||||
<pre id="ex-settings">{
|
||||
"noStats": true,
|
||||
"noUsageStats": true,
|
||||
"noAutoUpdate": true
|
||||
}</pre>
|
||||
</div>
|
||||
<p><code>MAGPIE_STATS_HOST</code> はカウントを別のホストへ送ります(テスト用で、設定するとソースからのビルドも送ります)。</p>
|
||||
|
||||
<h2 id="files"><a class="anchor" href="#files">コンピューター上のファイル</a></h2>
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>ファイル</th><th>内容</th></tr>
|
||||
<tr><td><code>install-id</code></td><td>ランダムな ID。初めてカウントを送るときに作られます</td></tr>
|
||||
<tr><td><code>stats-sent</code></td><td>最後に送った日(UTC)。1 日 1 回にするため</td></tr>
|
||||
<tr><td><code>partner-counts.json</code>(キャッシュフォルダー)</td><td>まだ送っていないパートナーの回数。最大 14 日分</td></tr>
|
||||
</table></div>
|
||||
<p><code>install-id</code> と <code>stats-sent</code> は magpie のフォルダーにあります。macOS と Linux では <code>~/.config/magpie</code>、Windows では <code>%USERPROFILE%\.config\magpie</code>、<code>$XDG_CONFIG_HOME</code> が設定されていれば <code>$XDG_CONFIG_HOME/magpie</code>、ポータブル版ではそのデータフォルダーです。<code>partner-counts.json</code> は <code>~/.cache/magpie</code>(<code>$XDG_CACHE_HOME/magpie</code>、ポータブル版ではデータフォルダーの <code>cache</code>)にあります。どれも削除できます。<code>install-id</code> を消すと次の送信で新しいランダムな ID が作られ、新しいユーザーとして数えられます。カウントをオフにすれば、どれも再び書かれません。</p>
|
||||
|
||||
<h2 id="site"><a class="anchor" href="#site">usemagpie.ai に見えるもの</a></h2>
|
||||
<p>magpie はプライバシー設定にかかわらず、どのアプリも自分の更新サーバーに尋ねるのと同じように、自分のサイトにいくつか尋ねます。どのリクエストにもインストール ID やアカウントは付きません。</p>
|
||||
<ul>
|
||||
<li><code>/api/latest</code>:更新情報。<code>noAutoUpdate</code> がオンでなければ 6 時間ごと。<code>?lang=</code> であなたの言語のノートを取ります。<code>/api/notes</code> は更新後の「新機能」です。</li>
|
||||
<li><code>/api/partners</code>:プロバイダー追加シートのパートナー一覧。6 時間ごと。パートナーが載っている間、10 回に 1 回の取得を Cloudflare が示す国とともに <code>magpie partners fetch</code> として数えます。</li>
|
||||
<li><code>/go/<パートナー>/site</code> と <code>/go/<パートナー>/keys</code>:パートナーの公式サイトとキーのページへのリンクをブラウザーで開くと、移動の前に <code>magpie partner go</code>(どのパートナーか、どのリンクか、地域、国)として数えます。</li>
|
||||
<li><code>/api/icon?url=…</code>:プラグイン、インポートリンク、ライブラリが示すアイコンはここを経由して取得するので、アイコンのあるホストに見えるのはあなたではなく Cloudflare のアドレスです。画像を中継するだけで、数えることも記録することもしません。</li>
|
||||
</ul>
|
||||
<p>サイト自身のページ(このドキュメント、ホーム)には Cloudflare Web Analytics が入っており、Cookie を使わずにページビューを数えます。アプリはこれを読み込みません。コードは <a href="https://github.com/yetone/magpie/blob/main/site/worker.js">site/worker.js</a> です。</p>
|
||||
|
||||
<h2 id="lists"><a class="anchor" href="#lists">magpie が取得する公開リスト</a></h2>
|
||||
<p>モデルの価格と名前のために <a href="https://models.dev">models.dev</a> のカタログ(<code>models.dev/api.json</code>)を、あなたの通貨で価格を表示するために <code>open.er-api.com</code> から米ドルの為替レート(12 時間保持)を取得します。プラグインとその更新は npm レジストリから、ライブラリの項目は GitHub から取得します。どれも公開データの単なるダウンロードで、あなた、あなたのプロバイダー、使用量については何も送りません。ただし、どのリクエストとも同じく、これらのホストにはあなた(またはプロキシ)の IP アドレスが見えます。magpie は各プロバイダーにも、あなた自身のキーやサインインで残量とモデル一覧を尋ねます。<span class="ui">設定</span> → <span class="ui">利用枠</span> → <span class="ui">利用枠の読み込み</span> → <span class="ui">手動のみ</span> で、頼んだときに限れます。</p>
|
||||
|
||||
<h2 id="otel"><a class="anchor" href="#otel">OTLP エクスポート</a></h2>
|
||||
<p>magpie はゲートウェイの各リクエストを、あなたの OpenTelemetry コレクター(Langfuse など)へエクスポートできます。<b>既定ではオフ</b>で、送り先はあなたが設定したエンドポイントだけです。私たちには送りません。オンにすると、リクエストごとのスパン(エージェント、プロバイダー、モデル、トークン数、ステータス、時間、推定コスト)を送ります。別のスイッチで、メトリクス、ローカルのエージェント会話、リクエストと返答の本文(シークレットはマスク)を加えられます。<span class="ui">設定</span> → <span class="ui">オブザーバビリティ</span> でオンにするか、<code>magpie serve</code> では <code>MAGPIE_OTEL_ENABLED</code>、<code>MAGPIE_OTEL_ENDPOINT</code>、<code>MAGPIE_OTEL_HEADERS</code>、<code>MAGPIE_OTEL_METRICS</code>、<code>MAGPIE_OTEL_SESSIONS</code>、<code>MAGPIE_OTEL_BODIES</code>、<code>MAGPIE_OTEL_BODIES_WHOLE</code> を使います。エンドポイントだけではオンになりません。詳しくは<a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#otlp-export">リファレンス</a>を。</p>
|
||||
|
||||
<h2 id="why"><a class="anchor" href="#why">カウントが既定でオンの理由</a></h2>
|
||||
<p>magpie は何十ものエージェントとプロバイダーに対応し、少人数で保守しています。毎日のカウントは、実際に使われているものを知り、それを優先して動くように保つための手段です。リリース版で既定オンなのは、自分でオンにする人の数だけでは少なすぎて、それがわからないからです。その代わり、送るものは小さく保っています。ランダムな ID、組み込みの ID、数だけです。スイッチ 1 つか <code>DO_NOT_TRACK=1</code> でオフにでき、ソースからのビルドは送らず、送るものはすべてこのページに挙げています。</p>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer><div class="wrap">
|
||||
<span>© 2026 magpie · MIT</span>
|
||||
<div class="links">
|
||||
<a href="/ja/">ホーム</a>
|
||||
<a href="/docs/ja/start">はじめに</a>
|
||||
<a href="/docs/ja/intent">インテントルーティング</a>
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script>
|
||||
(() => {
|
||||
const next = { system: "light", light: "dark", dark: "system" };
|
||||
document.querySelectorAll("button.theme").forEach((b) => {
|
||||
b.dataset.mode = themeMode();
|
||||
b.title = "Theme: " + themeMode();
|
||||
b.addEventListener("click", () => setTheme(next[themeMode()]));
|
||||
});
|
||||
|
||||
document.querySelectorAll(".copy").forEach((b) => b.addEventListener("click", async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(document.getElementById(b.dataset.copy).textContent);
|
||||
b.textContent = "コピーしました"; setTimeout(() => (b.textContent = "コピー"), 1400);
|
||||
} catch {}
|
||||
}));
|
||||
})();
|
||||
</script>
|
||||
<script src="/docs.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -153,6 +154,7 @@ magpie provider refresh office <span class="c"># 一覧を再取得</span></pr
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a class="toc-only" href="/docs/ja/remote">リモート magpie</a>
|
||||
<a class="toc-only" href="/docs/ja/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">リリース</a>
|
||||
@@ -277,7 +278,7 @@ magpie claude group/opus-anywhere <span class="c"># これを使う</span></p
|
||||
<p>インストーラと <code>magpie update</code> にプロキシを渡します:<code>curl -fsSL https://usemagpie.ai/install.sh | sh -s -- --proxy http://127.0.0.1:7890</code>、または <code>magpie update --proxy socks5://127.0.0.1:1080</code>(http・https・socks5・socks5h に対応。<code>HTTPS_PROXY</code> と <code>ALL_PROXY</code> も使われます)。<code>--mirror <prefix></code> を付けると、指定した GitHub ダウンロードミラーから <code><prefix>https://github.com/…</code> としてリリースファイルを取得します。<code>magpie update mirror <prefix></code> でアプリ自身の更新を含め毎回使い、<code>magpie update mirror off</code> で解除します。指定しない限りミラーは使われず、ファイルの SHA-256 はミラーではなく常に usemagpie.ai から取得するので、ミラーが書き換えたファイルはインストールされません。アプリ自身の更新は <span class="ui">Settings</span> → <span class="ui">Proxy</span> を通ります。</p>
|
||||
|
||||
<h3 id="privacy">magpie は何を送信しますか?</h3>
|
||||
<p>プロンプト、返答、キー、アカウントは、使っているプロバイダーにだけ送られます。間に magpie 自身のサーバーはありません。リリース版の magpie は 1 日 1 回、使われていることを知らせます。何人が使っていて、何を優先して面倒を見るべきかを知るためです。送るのは、このコンピュータで作ったランダムな ID、magpie のバージョンとシステム、そして使っているエージェント、プロバイダー、モデルを magpie 自身の ID(<code>claude</code>、<code>deepseek</code>、<code>deepseek/deepseek-v4</code>)で、それぞれの数とともに。自分で追加したプロバイダーとそのモデルは <code>custom</code> とだけ記録します。プロバイダー追加シートの先頭に載るパートナーについては、1 日に表示された回数、開かれた回数、追加された回数も送ります(回数のみ)。名前、Base URL、アカウント、キー、プロンプト、使用量は送りません。<span class="ui">設定</span> → <span class="ui">プライバシー</span> → <span class="ui">使っているエージェント、プロバイダー、モデルを共有</span> でエージェント、プロバイダー、モデルとパートナーの回数を外せます。<span class="ui">ユーザー数に含める</span>、<code>DO_NOT_TRACK=1</code>、<code>MAGPIE_NO_STATS=1</code> のどれかですべてオフになります。ソースからのビルドは送信しません。パートナーの公式サイトと「キーを取得」のリンクは <code>usemagpie.ai/go/…</code> を経由し、移動の前にクリックを 1 回数えます(どのパートナーか、どのリンクか、国)。usemagpie.ai はパートナー一覧が取得された回数も数えます。これはサーバー自身が見るもので、どの Web サイトのアクセス集計とも同じく、上の設定には左右されません。ID、IP アドレス、アカウントは記録しません。プラグイン、インポートリンク、ライブラリが示すアイコンは <code>usemagpie.ai/api/icon</code> を経由して取得するので、アイコンのあるサーバーに見えるのはあなたの IP ではなく Cloudflare のアドレスです。このサーバーは画像を中継するだけで、数えることも記録することもしません。詳しくは<a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#counting-users">リファレンス</a>を。</p>
|
||||
<p>プロンプト、返答、キー、アカウントは、使っているプロバイダーにだけ送られます。間に magpie 自身のサーバーはありません。リリース版の magpie は 1 日 1 回、使われていることを知らせます。何人が使っていて、何を優先して面倒を見るべきかを知るためです。送るのは、このコンピュータで作ったランダムな ID、magpie のバージョンとシステム、そして使っているエージェント、プロバイダー、モデルを magpie 自身の ID(<code>claude</code>、<code>deepseek</code>、<code>deepseek/deepseek-v4</code>)で、それぞれの数とともに。自分で追加したプロバイダーとそのモデルは <code>custom</code> とだけ記録します。プロバイダー追加シートの先頭に載るパートナーについては、1 日に表示された回数、開かれた回数、追加された回数も送ります(回数のみ)。名前、Base URL、アカウント、キー、プロンプト、使用量は送りません。<span class="ui">設定</span> → <span class="ui">プライバシー</span> → <span class="ui">使っているエージェント、プロバイダー、モデルを共有</span> でエージェント、プロバイダー、モデルとパートナーの回数を外せます。<span class="ui">ユーザー数に含める</span>、<code>DO_NOT_TRACK=1</code>、<code>MAGPIE_NO_STATS=1</code> のどれかですべてオフになります。ソースからのビルドは送信しません。パートナーの公式サイトと「キーを取得」のリンクは <code>usemagpie.ai/go/…</code> を経由し、移動の前にクリックを 1 回数えます(どのパートナーか、どのリンクか、国)。usemagpie.ai はパートナー一覧が取得された回数も数えます。これはサーバー自身が見るもので、どの Web サイトのアクセス集計とも同じく、上の設定には左右されません。ID、IP アドレス、アカウントは記録しません。プラグイン、インポートリンク、ライブラリが示すアイコンは <code>usemagpie.ai/api/icon</code> を経由して取得するので、アイコンのあるサーバーに見えるのはあなたの IP ではなく Cloudflare のアドレスです。このサーバーは画像を中継するだけで、数えることも記録することもしません。magpie が自分から送るものすべては、毎日のカウントの例、手元に残すファイル、各スイッチとともに<a href="/docs/ja/privacy">プライバシー</a>のページに挙げています。</p>
|
||||
|
||||
<h3 id="proxy-loopback">エージェントが 502 を返す、または接続できず、magpie の Routing タブに何も出ない?</h3>
|
||||
<p>プロキシアプリ(Surge、Clash、mihomo など。システムプロキシ、TUN、拡張モードのいずれかが有効)が、エージェントから <code>http://127.0.0.1:3425</code> へのリクエストを横取りして別の場所へ送っているため、magpie に届いていません。除外リスト(<code>skip-proxy</code>、バイパス)に 127.0.0.1 を書くだけでは足りないことがあります。Codex など一部のエージェントは、それでもプロキシを通します。ローカルアドレスを直結にするルールを、他のルールより前に追加してください:</p>
|
||||
@@ -300,6 +301,7 @@ IP-CIDR6,::1/128,DIRECT,no-resolve</pre>
|
||||
<a href="/docs/ja/plugins">プラグイン</a>
|
||||
<a href="/docs/ja/remote">リモート magpie</a>
|
||||
<a href="/docs/ja/docker">Docker</a>
|
||||
<a href="/docs/ja/privacy">プライバシー</a>
|
||||
<a href="/docs/ja/import">magpie に追加</a>
|
||||
<a href="/docs/integrate">アプリ連携</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -775,6 +776,7 @@ magpie plugin options model-map '{"mapping": {"fast": "deepseek/deepseek-chat"}}
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -0,0 +1,226 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Privacy · magpie docs</title>
|
||||
<meta name="description" content="What magpie sends on its own and where: the once-a-day user count, the update feed and other public lists, what usemagpie.ai sees, OTLP export, and every switch that turns them off.">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<meta name="theme-color" content="#fafafa">
|
||||
<script>
|
||||
(() => {
|
||||
let mode = "system";
|
||||
try { mode = localStorage.getItem("theme") || "system"; } catch {}
|
||||
const q = matchMedia("(prefers-color-scheme: dark)");
|
||||
const apply = () => {
|
||||
const t = mode === "system" ? (q.matches ? "dark" : "light") : mode;
|
||||
document.documentElement.dataset.theme = t;
|
||||
document.querySelector('meta[name="theme-color"]').content = t === "dark" ? "#0b0b0c" : "#fafafa";
|
||||
document.querySelectorAll("button.theme").forEach((b) => { b.dataset.mode = mode; b.title = "Theme: " + mode; });
|
||||
};
|
||||
q.addEventListener("change", () => mode === "system" && apply());
|
||||
window.setTheme = (m) => { mode = m; try { m === "system" ? localStorage.removeItem("theme") : localStorage.setItem("theme", m); } catch {} apply(); };
|
||||
window.themeMode = () => mode;
|
||||
apply();
|
||||
})();
|
||||
</script>
|
||||
<script>try{if(/Linux/.test(navigator.userAgent)&&!/Android/.test(navigator.userAgent)||localStorage.getItem("omarchy")||/[?&]omarchy=/.test(location.search))document.write('<script src="/omarchy.js"><\/script>')}catch(e){}</script>
|
||||
<link rel="icon" href="/favicon.png" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/img/icon-256.png">
|
||||
<link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy">
|
||||
<link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy">
|
||||
<link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy">
|
||||
<link rel="stylesheet" href="/docs.css">
|
||||
<meta property="og:title" content="Privacy">
|
||||
<meta property="og:description" content="Everything magpie sends by itself, and how to turn it off.">
|
||||
<meta property="og:image" content="https://usemagpie.ai/img/og.png">
|
||||
<meta property="og:url" content="https://usemagpie.ai/docs/privacy">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav><div class="wrap">
|
||||
<a class="brand" href="/"><img class="bird" src="/img/magpie-small.svg" alt="">magpie <small>Docs</small></a>
|
||||
<div class="links">
|
||||
<a href="/">Home</a>
|
||||
<a href="/docs/start">Get started</a>
|
||||
<a href="/docs/intent">Intent routing</a>
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
</div>
|
||||
<div class="langs">
|
||||
<button class="icon-btn lang" type="button" aria-label="Language" title="Language" aria-haspopup="true" aria-expanded="false" aria-controls="langs"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="8" cy="8" r="6.25"/><path d="M1.75 8h12.5M8 1.75c1.7 1.75 2.55 3.83 2.55 6.25S9.7 12.5 8 14.25M8 1.75C6.3 3.5 5.45 5.58 5.45 8S6.3 12.5 8 14.25"/></svg></button>
|
||||
<div class="lang-menu" id="langs" hidden>
|
||||
<a href="/docs/privacy" hreflang="en" lang="en">English</a>
|
||||
<a href="/docs/zh/privacy" hreflang="zh" lang="zh">中文</a>
|
||||
<a href="/docs/ja/privacy" hreflang="ja" lang="ja">日本語</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="icon-btn" href="https://discord.gg/vGSnD3ZKQF" aria-label="magpie on Discord" title="Join us on Discord"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a>
|
||||
<a class="icon-btn" href="https://github.com/yetone/magpie" aria-label="magpie on GitHub" title="Source on GitHub"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg></a>
|
||||
<button class="icon-btn theme" type="button" aria-label="Theme" title="Theme: system"><svg class="i-system" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="1.75" y="2.75" width="12.5" height="8.5" rx="1.5"/><path d="M5.5 14h5M8 11.25V14"/></svg><svg class="i-light" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="8" cy="8" r="3"/><path d="M8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3 3l1 1M12 12l1 1M3 13l1-1M12 4l1-1"/></svg><svg class="i-dark" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M13.5 9.5A5.5 5.5 0 0 1 6.5 2.5a5.5 5.5 0 1 0 7 7Z"/></svg></button>
|
||||
<a class="btn small" href="/#get">Download</a>
|
||||
</div></nav>
|
||||
|
||||
<main class="wrap doc">
|
||||
<aside class="toc">
|
||||
<p>Privacy</p>
|
||||
<a href="#overview">Overview</a>
|
||||
<a href="#count">The daily count</a>
|
||||
<a href="#off">Turning it off</a>
|
||||
<a href="#files">Files on your computer</a>
|
||||
<a href="#site">What usemagpie.ai sees</a>
|
||||
<a href="#lists">Public lists magpie fetches</a>
|
||||
<a href="#otel">OTLP export</a>
|
||||
<a href="#why">Why the count is on</a>
|
||||
</aside>
|
||||
|
||||
<article>
|
||||
<p class="eyebrow" id="overview">Docs · Privacy</p>
|
||||
<h1>Privacy</h1>
|
||||
<p class="lede">Your prompts, replies, keys and accounts go only to the providers you use; magpie has no server of its own in that path. This page lists everything magpie sends by itself, beside those requests, and every switch that stops it. It is written from the code, which is linked in each section.</p>
|
||||
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>What</th><th>Where to</th><th>Off by default?</th><th>How to stop it</th></tr>
|
||||
<tr><td><a href="#count">The daily count</a></td><td>PostHog (<code>us.i.posthog.com</code>)</td><td>On in releases; never in builds from source</td><td><span class="ui">Settings</span> → <span class="ui">Privacy</span>, <code>DO_NOT_TRACK=1</code></td></tr>
|
||||
<tr><td><a href="#site">Update checks</a>, release notes, the partner list, icons</td><td><code>usemagpie.ai</code></td><td>On</td><td><code>noAutoUpdate</code> for update checks; the rest are needed by the app</td></tr>
|
||||
<tr><td><a href="#lists">Model catalog and exchange rate</a></td><td><code>models.dev</code>, <code>open.er-api.com</code></td><td>On</td><td>Not switchable; nothing of yours is sent</td></tr>
|
||||
<tr><td><a href="#otel">OTLP export</a></td><td>A collector you name</td><td>Off</td><td>Leave it off</td></tr>
|
||||
</table></div>
|
||||
|
||||
<h2 id="count"><a class="anchor" href="#count">The daily count</a></h2>
|
||||
<p>Once a day (UTC), a running release of magpie (the app, or <code>magpie serve</code>) sends one batch to PostHog, so we know how many people use it and which agents, providers and models to look after first. It is sent at start and then looked at every hour; a day already sent is skipped. Builds from source never send it.</p>
|
||||
<p>The batch has one <code>magpie active</code> event with:</p>
|
||||
<ul>
|
||||
<li>a random id made up on your computer (32 hex characters, tied to nothing about you or the machine), sent as <code>distinct_id</code>;</li>
|
||||
<li>magpie’s version, <code>kind</code> (<code>app</code> or <code>serve</code>), your system (<code>$os</code>) and architecture;</li>
|
||||
<li>how many agents, providers and models it is used with, and how many routing groups (left out when you turn off sharing what you use).</li>
|
||||
</ul>
|
||||
<p>Unless you turn that part off, one <code>magpie uses</code> event follows for each agent, provider and model, by magpie’s own ids only (at most 50 of each):</p>
|
||||
<ul>
|
||||
<li><b>agents</b> connected to magpie: <code>claude</code>, <code>codex</code>. A WSL distro or an omp profile name is cut off (<code>omp</code>).</li>
|
||||
<li><b>providers</b> that are on: a preset’s id (<code>deepseek</code>), a subscription’s (<code>codex</code>, <code>copilot</code>), a known community plugin’s (<code>plugin:kiro</code>). A provider you added yourself is only <code>custom</code>; any other plugin only <code>plugin</code>.</li>
|
||||
<li><b>models</b> the connected agents are set to, as provider id and vendor model id (<code>deepseek/deepseek-v4</code>). On a key’s provider, a model id that <a href="https://models.dev">models.dev</a> doesn’t list (a local model, a fine-tune) is only <code><provider>/other</code>; a model on your own provider is <code>custom</code>; a routing group is <code>group</code>.</li>
|
||||
</ul>
|
||||
<p>With them go <code>magpie partner</code> events: for each partner listed first in the add sheet, by its id, how many times on a day that has ended the sheet showed it, its row was opened, its key page was opened, and a provider was added from it (<code>what</code>: <code>shown</code>, <code>opened</code>, <code>keys</code>, <code>added</code>; at most 20 a day each, 5 adds). Counts only, never a provider of your own.</p>
|
||||
<p>Every event carries <code>$process_person_profile: false</code>, so PostHog keeps no person profile for the id. No names, base URLs, accounts, keys, prompts, replies or usage are sent. A whole batch looks like this:</p>
|
||||
<div class="code">
|
||||
<span class="lang">POST https://us.i.posthog.com/batch/</span>
|
||||
<button class="copy" data-copy="ex-payload">Copy</button>
|
||||
<pre id="ex-payload">{
|
||||
"api_key": "phc_nyDyYyrUTRGvNq5U7FBesCyM2j4GdKeqGp8ko7DBerTC",
|
||||
"batch": [
|
||||
{
|
||||
"event": "magpie active",
|
||||
"distinct_id": "3f9c…(32 hex)",
|
||||
"timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": {
|
||||
"version": "0.1.1190", "kind": "app", "$os": "Mac OS X", "arch": "arm64",
|
||||
"agents": 2, "providers": 3, "models": 2, "groups": 1,
|
||||
"$process_person_profile": false, "distinct_id": "3f9c…"
|
||||
}
|
||||
},
|
||||
{ "event": "magpie uses", "distinct_id": "3f9c…", "timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": { "kind": "agent", "id": "claude", "$process_person_profile": false, "distinct_id": "3f9c…" } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "provider", "id": "custom", … } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "model", "id": "deepseek/deepseek-v4", … } },
|
||||
{ "event": "magpie partner", "timestamp": "2026-10-12T12:00:00Z",
|
||||
"properties": { "id": "<partner id>", "what": "shown", "count": 3, "day": "2026-10-12", … } }
|
||||
]
|
||||
}</pre>
|
||||
</div>
|
||||
<p>The <code>api_key</code> is the project’s PostHog key; it can only send events, not read them. The code is <a href="https://github.com/yetone/magpie/blob/main/internal/stats/stats.go">internal/stats</a> and <a href="https://github.com/yetone/magpie/blob/main/internal/provider/partner_events.go">partner_events.go</a>.</p>
|
||||
|
||||
<h2 id="off"><a class="anchor" href="#off">Turning it off</a></h2>
|
||||
<p>Each of these switches stops part or all of it:</p>
|
||||
<ul>
|
||||
<li><span class="ui">Settings</span> → <span class="ui">Privacy</span> → <span class="ui">Count me as a user</span> off, or <code>"noStats": true</code> in <code>settings.json</code> stops the whole daily count.</li>
|
||||
<li><code>DO_NOT_TRACK=1</code> or <code>MAGPIE_NO_STATS=1</code> in magpie’s environment (any value but empty, <code>0</code> or <code>false</code>) stops the whole daily count, whatever the settings say.</li>
|
||||
<li><span class="ui">Settings</span> → <span class="ui">Privacy</span> → <span class="ui">Share the agents, providers and models I use</span> off, or <code>"noUsageStats": true</code> leaves out the <code>magpie uses</code> and <code>magpie partner</code> events and the counts in <code>magpie active</code>; the id, version and system are still sent. Partner counts stop being kept too.</li>
|
||||
<li><span class="ui">Settings</span> → <span class="ui">About</span> → <span class="ui">Automatic updates</span> off, or <code>"noAutoUpdate": true</code> stops magpie asking <code>usemagpie.ai</code> for a newer version by itself (it asks every 6 hours otherwise). This is not part of the count.</li>
|
||||
</ul>
|
||||
<p>A change in Settings takes effect at the next hourly look; no restart is needed. <code>settings.json</code> sits in magpie’s folder (see <a href="#files">below</a>):</p>
|
||||
<div class="code">
|
||||
<span class="lang">settings.json</span>
|
||||
<button class="copy" data-copy="ex-settings">Copy</button>
|
||||
<pre id="ex-settings">{
|
||||
"noStats": true,
|
||||
"noUsageStats": true,
|
||||
"noAutoUpdate": true
|
||||
}</pre>
|
||||
</div>
|
||||
<p><code>MAGPIE_STATS_HOST</code> sends the count to another host instead (it is for testing, and also makes a build from source send).</p>
|
||||
|
||||
<h2 id="files"><a class="anchor" href="#files">Files on your computer</a></h2>
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>File</th><th>What it is</th></tr>
|
||||
<tr><td><code>install-id</code></td><td>The random id, made the first time the count is sent</td></tr>
|
||||
<tr><td><code>stats-sent</code></td><td>The last day (UTC) the count went, so a day is sent once</td></tr>
|
||||
<tr><td><code>partner-counts.json</code> (in the cache folder)</td><td>Partner counts not yet sent, at most 14 days</td></tr>
|
||||
</table></div>
|
||||
<p><code>install-id</code> and <code>stats-sent</code> are in magpie’s folder: <code>~/.config/magpie</code> on macOS and Linux, <code>%USERPROFILE%\.config\magpie</code> on Windows, <code>$XDG_CONFIG_HOME/magpie</code> when that is set, and the data folder of a portable magpie. <code>partner-counts.json</code> is in <code>~/.cache/magpie</code> (<code>$XDG_CACHE_HOME/magpie</code>, or <code>cache</code> in a portable magpie’s data folder). You can delete any of them: a deleted <code>install-id</code> is replaced by a new random one at the next send, so you are counted as a new user; with the count off, none of them is written again.</p>
|
||||
|
||||
<h2 id="site"><a class="anchor" href="#site">What usemagpie.ai sees</a></h2>
|
||||
<p>magpie asks its own site for a few things, whatever the privacy settings say, as any app asks its update server. None of these requests carries the install id or an account.</p>
|
||||
<ul>
|
||||
<li><code>/api/latest</code>: the update feed, every 6 hours unless <code>noAutoUpdate</code> is on, with <code>?lang=</code> for the notes in your language. <code>/api/notes</code> gives What’s new after an update.</li>
|
||||
<li><code>/api/partners</code>: the add sheet’s partner list, every 6 hours. One fetch in ten is counted as a <code>magpie partners fetch</code> event, with the country Cloudflare gives, while a partner is listed.</li>
|
||||
<li><code>/go/<partner>/site</code> and <code>/go/<partner>/keys</code>: a partner’s website and key-page links, opened in your browser, are counted (the partner, which link, a region, a country) as <code>magpie partner go</code> before you are sent on.</li>
|
||||
<li><code>/api/icon?url=…</code>: icons named by a plugin, an import link or the library are fetched through it, so their hosts see Cloudflare’s address, not yours. The worker passes the picture on and counts and keeps nothing.</li>
|
||||
</ul>
|
||||
<p>The site’s own pages (these docs, the home page) carry Cloudflare Web Analytics, which counts page views without cookies. The app doesn’t load it. The code is <a href="https://github.com/yetone/magpie/blob/main/site/worker.js">site/worker.js</a>.</p>
|
||||
|
||||
<h2 id="lists"><a class="anchor" href="#lists">Public lists magpie fetches</a></h2>
|
||||
<p>To price and name models magpie fetches the <a href="https://models.dev">models.dev</a> catalog (<code>models.dev/api.json</code>), and for prices in your currency the USD exchange rate from <code>open.er-api.com</code> (kept 12 hours). Plugins and their updates come from the npm registry, and the library’s items from GitHub. These are plain downloads of public data: nothing about you, your providers or your usage is sent, though, as with any request, those hosts see your IP address (or your proxy’s). magpie also asks each of your providers for your allowance and model list, with your own key or sign-in; <span class="ui">Settings</span> → <span class="ui">Allowances</span> → <span class="ui">Allowance reads</span> → <span class="ui">When I ask</span> limits those to when you ask.</p>
|
||||
|
||||
<h2 id="otel"><a class="anchor" href="#otel">OTLP export</a></h2>
|
||||
<p>magpie can export each gateway request to an OpenTelemetry collector of yours (Langfuse, for example). It is <b>off by default</b>, and goes only to the endpoint you set, never to us. When on, it sends per-request spans: agent, provider, model, token counts, status, timing and estimated cost. Optional switches add metrics, local agent conversations, and the request and reply bodies (secrets masked). Turn it on in <span class="ui">Settings</span> → <span class="ui">Observability</span>, or for <code>magpie serve</code> with <code>MAGPIE_OTEL_ENABLED</code>, <code>MAGPIE_OTEL_ENDPOINT</code>, <code>MAGPIE_OTEL_HEADERS</code>, <code>MAGPIE_OTEL_METRICS</code>, <code>MAGPIE_OTEL_SESSIONS</code>, <code>MAGPIE_OTEL_BODIES</code> and <code>MAGPIE_OTEL_BODIES_WHOLE</code>. An endpoint alone doesn’t turn it on. The <a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#otlp-export">reference</a> has the details.</p>
|
||||
|
||||
<h2 id="why"><a class="anchor" href="#why">Why the count is on</a></h2>
|
||||
<p>magpie works with dozens of agents and providers, and is maintained by a small team. The daily count is how we know which of them people actually use, so they are kept working first. It is on in releases because counts from those who turn it on would be too few to tell that. In exchange it is kept small: a random id, built-in ids, numbers; one switch or <code>DO_NOT_TRACK=1</code> turns it off, builds from source never send it, and this page lists everything that goes.</p>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer><div class="wrap">
|
||||
<span>© 2026 magpie · MIT</span>
|
||||
<div class="links">
|
||||
<a href="/">Home</a>
|
||||
<a href="/docs/start">Get started</a>
|
||||
<a href="/docs/intent">Intent routing</a>
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script>
|
||||
(() => {
|
||||
const next = { system: "light", light: "dark", dark: "system" };
|
||||
document.querySelectorAll("button.theme").forEach((b) => {
|
||||
b.dataset.mode = themeMode();
|
||||
b.title = "Theme: " + themeMode();
|
||||
b.addEventListener("click", () => setTheme(next[themeMode()]));
|
||||
});
|
||||
|
||||
document.querySelectorAll(".copy").forEach((b) => b.addEventListener("click", async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(document.getElementById(b.dataset.copy).textContent);
|
||||
b.textContent = "Copied"; setTimeout(() => (b.textContent = "Copy"), 1400);
|
||||
} catch {}
|
||||
}));
|
||||
})();
|
||||
</script>
|
||||
<script src="/docs.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -153,6 +154,7 @@ magpie provider refresh office <span class="c"># fetch its list again</span></
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||||
@@ -277,7 +278,7 @@ magpie claude group/opus-anywhere <span class="c"># use it</span></pre>
|
||||
<p>Give the installer and <code>magpie update</code> a proxy: <code>curl -fsSL https://usemagpie.ai/install.sh | sh -s -- --proxy http://127.0.0.1:7890</code>, or <code>magpie update --proxy socks5://127.0.0.1:1080</code> (http, https, socks5 and socks5h; <code>HTTPS_PROXY</code> and <code>ALL_PROXY</code> are honoured too). <code>--mirror <prefix></code> fetches the release file from a GitHub download mirror you choose, as <code><prefix>https://github.com/…</code>; <code>magpie update mirror <prefix></code> keeps it for every update, the app’s too, and <code>magpie update mirror off</code> removes it. No mirror is used unless you give one, and the file’s SHA-256 still comes from usemagpie.ai, never from the mirror: a file the mirror changed is refused. The app’s own updates go through <span class="ui">Settings</span> → <span class="ui">Proxy</span>.</p>
|
||||
|
||||
<h3 id="privacy">What does magpie send about me?</h3>
|
||||
<p>Your prompts, replies, keys and accounts go only to the providers you use; magpie has no server of its own in the path. Once a day a released magpie tells us it is in use, so we know how many people use it and what to look after first: a random id made up on your computer, magpie’s version and your system, and which agents, providers and models it is used with, by magpie’s own ids (<code>claude</code>, <code>deepseek</code>, <code>deepseek/deepseek-v4</code>) with how many of each. A provider you added yourself, and a model on it, is only <code>custom</code>. For each partner listed first in the add sheet, how many times a day it was shown, opened and added from goes with them, as counts only. No names, base URLs, accounts, keys, prompts or usage are sent. <span class="ui">Settings</span> → <span class="ui">Privacy</span> → <span class="ui">Share the agents, providers and models I use</span> leaves out the agents, providers and models, and the partner counts; <span class="ui">Count me as a user</span>, <code>DO_NOT_TRACK=1</code> or <code>MAGPIE_NO_STATS=1</code> turns it all off. Builds from source never send it. A partner's website and key-page links go through <code>usemagpie.ai/go/…</code>, which counts the click (the partner, which link, and a country) before sending you on, and usemagpie.ai counts how many times the partner list is fetched. The server sees these whatever the settings say, as any website sees its visits; no id, address or account is kept with them. Icons named by a plugin, an import link or the library are fetched through <code>usemagpie.ai/api/icon</code>, so their hosts see Cloudflare's address, not yours; the server only passes the picture on, and counts and keeps nothing. The details are in the <a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#counting-users">reference</a>.</p>
|
||||
<p>Your prompts, replies, keys and accounts go only to the providers you use; magpie has no server of its own in the path. Once a day a released magpie tells us it is in use, so we know how many people use it and what to look after first: a random id made up on your computer, magpie’s version and your system, and which agents, providers and models it is used with, by magpie’s own ids (<code>claude</code>, <code>deepseek</code>, <code>deepseek/deepseek-v4</code>) with how many of each. A provider you added yourself, and a model on it, is only <code>custom</code>. For each partner listed first in the add sheet, how many times a day it was shown, opened and added from goes with them, as counts only. No names, base URLs, accounts, keys, prompts or usage are sent. <span class="ui">Settings</span> → <span class="ui">Privacy</span> → <span class="ui">Share the agents, providers and models I use</span> leaves out the agents, providers and models, and the partner counts; <span class="ui">Count me as a user</span>, <code>DO_NOT_TRACK=1</code> or <code>MAGPIE_NO_STATS=1</code> turns it all off. Builds from source never send it. A partner's website and key-page links go through <code>usemagpie.ai/go/…</code>, which counts the click (the partner, which link, and a country) before sending you on, and usemagpie.ai counts how many times the partner list is fetched. The server sees these whatever the settings say, as any website sees its visits; no id, address or account is kept with them. Icons named by a plugin, an import link or the library are fetched through <code>usemagpie.ai/api/icon</code>, so their hosts see Cloudflare's address, not yours; the server only passes the picture on, and counts and keeps nothing. The <a href="/docs/privacy">Privacy page</a> lists everything magpie sends by itself, with an example of the daily count, the files it keeps and every switch.</p>
|
||||
|
||||
<h3 id="proxy-loopback">The agent gets 502 or can’t connect, and nothing shows in magpie’s Routing tab?</h3>
|
||||
<p>A proxy app (Surge, Clash, mihomo and the like, with system proxy, TUN or enhanced mode on) has taken the agent’s request to <code>http://127.0.0.1:3425</code> and sent it somewhere else, so it never reaches magpie. The bypass list (<code>skip-proxy</code>, “bypass”) isn’t always enough: some agents, Codex among them, send it through the proxy anyway. Add rules that send the local addresses direct, ahead of your other rules:</p>
|
||||
@@ -300,6 +301,7 @@ IP-CIDR6,::1/128,DIRECT,no-resolve</pre>
|
||||
<a href="/docs/plugins">Plugins</a>
|
||||
<a href="/docs/remote">Remote magpie</a>
|
||||
<a href="/docs/docker">Docker</a>
|
||||
<a href="/docs/privacy">Privacy</a>
|
||||
<a href="/docs/import">Add to magpie</a>
|
||||
<a href="/docs/integrate">Integrate</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -215,6 +216,7 @@ docker logs magpie</pre>
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -259,6 +260,7 @@ href = <span class="s">"https://usemagpie.ai/import#"</span> + urlencode({
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -151,6 +152,7 @@ curl -s http://127.0.0.1:3425/v1/models -H "Authorization: Bearer magpie-acme"</
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -320,6 +321,7 @@ The number of its kind (0 for none):</pre>
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -775,6 +776,7 @@ magpie plugin options model-map '{"mapping": {"fast": "deepseek/deepseek-chat"}}
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -0,0 +1,226 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>隐私 · magpie 文档</title>
|
||||
<meta name="description" content="magpie 自己会发出什么、发到哪里:每天一次的用户计数、更新检查和其他公开列表、usemagpie.ai 能看到什么、OTLP 导出,以及关闭它们的每个开关。">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<meta name="theme-color" content="#fafafa">
|
||||
<script>
|
||||
(() => {
|
||||
let mode = "system";
|
||||
try { mode = localStorage.getItem("theme") || "system"; } catch {}
|
||||
const q = matchMedia("(prefers-color-scheme: dark)");
|
||||
const apply = () => {
|
||||
const t = mode === "system" ? (q.matches ? "dark" : "light") : mode;
|
||||
document.documentElement.dataset.theme = t;
|
||||
document.querySelector('meta[name="theme-color"]').content = t === "dark" ? "#0b0b0c" : "#fafafa";
|
||||
document.querySelectorAll("button.theme").forEach((b) => { b.dataset.mode = mode; b.title = "Theme: " + mode; });
|
||||
};
|
||||
q.addEventListener("change", () => mode === "system" && apply());
|
||||
window.setTheme = (m) => { mode = m; try { m === "system" ? localStorage.removeItem("theme") : localStorage.setItem("theme", m); } catch {} apply(); };
|
||||
window.themeMode = () => mode;
|
||||
apply();
|
||||
})();
|
||||
</script>
|
||||
<script>try{if(/Linux/.test(navigator.userAgent)&&!/Android/.test(navigator.userAgent)||localStorage.getItem("omarchy")||/[?&]omarchy=/.test(location.search))document.write('<script src="/omarchy.js"><\/script>')}catch(e){}</script>
|
||||
<link rel="icon" href="/favicon.png" type="image/png">
|
||||
<link rel="apple-touch-icon" href="/img/icon-256.png">
|
||||
<link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy">
|
||||
<link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy">
|
||||
<link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy">
|
||||
<link rel="stylesheet" href="/docs.css">
|
||||
<meta property="og:title" content="隐私">
|
||||
<meta property="og:description" content="magpie 自己发出的所有内容,以及怎么关掉。">
|
||||
<meta property="og:image" content="https://usemagpie.ai/img/og.png">
|
||||
<meta property="og:url" content="https://usemagpie.ai/docs/zh/privacy">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav><div class="wrap">
|
||||
<a class="brand" href="/zh/"><img class="bird" src="/img/magpie-small.svg" alt="">magpie <small>文档</small></a>
|
||||
<div class="links">
|
||||
<a href="/zh/">首页</a>
|
||||
<a href="/docs/zh/start">快速上手</a>
|
||||
<a href="/docs/zh/intent">意图路由</a>
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
</div>
|
||||
<div class="langs">
|
||||
<button class="icon-btn lang" type="button" aria-label="语言" title="语言" aria-haspopup="true" aria-expanded="false" aria-controls="langs"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="8" cy="8" r="6.25"/><path d="M1.75 8h12.5M8 1.75c1.7 1.75 2.55 3.83 2.55 6.25S9.7 12.5 8 14.25M8 1.75C6.3 3.5 5.45 5.58 5.45 8S6.3 12.5 8 14.25"/></svg></button>
|
||||
<div class="lang-menu" id="langs" hidden>
|
||||
<a href="/docs/privacy" hreflang="en" lang="en">English</a>
|
||||
<a href="/docs/zh/privacy" hreflang="zh" lang="zh">中文</a>
|
||||
<a href="/docs/ja/privacy" hreflang="ja" lang="ja">日本語</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="icon-btn" href="https://discord.gg/vGSnD3ZKQF" aria-label="magpie on Discord" title="Join us on Discord"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a>
|
||||
<a class="icon-btn" href="https://github.com/yetone/magpie" aria-label="magpie on GitHub" title="Source on GitHub"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg></a>
|
||||
<button class="icon-btn theme" type="button" aria-label="Theme" title="Theme: system"><svg class="i-system" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="1.75" y="2.75" width="12.5" height="8.5" rx="1.5"/><path d="M5.5 14h5M8 11.25V14"/></svg><svg class="i-light" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="8" cy="8" r="3"/><path d="M8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3 3l1 1M12 12l1 1M3 13l1-1M12 4l1-1"/></svg><svg class="i-dark" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M13.5 9.5A5.5 5.5 0 0 1 6.5 2.5a5.5 5.5 0 1 0 7 7Z"/></svg></button>
|
||||
<a class="btn small" href="/#get">下载</a>
|
||||
</div></nav>
|
||||
|
||||
<main class="wrap doc">
|
||||
<aside class="toc">
|
||||
<p>隐私</p>
|
||||
<a href="#overview">概览</a>
|
||||
<a href="#count">每日计数</a>
|
||||
<a href="#off">关闭</a>
|
||||
<a href="#files">本机上的文件</a>
|
||||
<a href="#site">usemagpie.ai 能看到什么</a>
|
||||
<a href="#lists">magpie 拉取的公开列表</a>
|
||||
<a href="#otel">OTLP 导出</a>
|
||||
<a href="#why">为什么计数默认开启</a>
|
||||
</aside>
|
||||
|
||||
<article>
|
||||
<p class="eyebrow" id="overview">文档 · 隐私</p>
|
||||
<h1>隐私</h1>
|
||||
<p class="lede">你的提示词、回复、密钥和账号只发给你用的供应商,中间没有 magpie 自己的服务器。这一页列出 magpie 在这些请求之外自己发出的所有内容,以及关掉它们的每个开关。内容按代码写成,每一节都附了代码链接。</p>
|
||||
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>内容</th><th>发往</th><th>默认</th><th>怎么关</th></tr>
|
||||
<tr><td><a href="#count">每日计数</a></td><td>PostHog(<code>us.i.posthog.com</code>)</td><td>正式版开启;源码构建从不发送</td><td><span class="ui">设置</span> → <span class="ui">隐私</span>,<code>DO_NOT_TRACK=1</code></td></tr>
|
||||
<tr><td><a href="#site">更新检查</a>、更新说明、合作伙伴列表、图标</td><td><code>usemagpie.ai</code></td><td>开启</td><td>更新检查用 <code>noAutoUpdate</code>;其余是应用运行所需</td></tr>
|
||||
<tr><td><a href="#lists">模型目录和汇率</a></td><td><code>models.dev</code>、<code>open.er-api.com</code></td><td>开启</td><td>不可关;不发送任何你的信息</td></tr>
|
||||
<tr><td><a href="#otel">OTLP 导出</a></td><td>你指定的收集器</td><td>关闭</td><td>保持关闭即可</td></tr>
|
||||
</table></div>
|
||||
|
||||
<h2 id="count"><a class="anchor" href="#count">每日计数</a></h2>
|
||||
<p>正在运行的正式版 magpie(应用或 <code>magpie serve</code>)每天(UTC)向 PostHog 发送一批事件,好让我们知道有多少人在用、该先照顾哪些 agent、供应商和模型。启动时发送,之后每小时看一次,当天已发过就跳过。从源码构建的版本从不发送。</p>
|
||||
<p>这批事件里有一个 <code>magpie active</code>,包含:</p>
|
||||
<ul>
|
||||
<li>本机随机生成的 ID(32 位十六进制,与你和这台电脑无关),作为 <code>distinct_id</code>;</li>
|
||||
<li>magpie 版本、<code>kind</code>(<code>app</code> 或 <code>serve</code>)、系统(<code>$os</code>)和架构;</li>
|
||||
<li>用了几个 agent、供应商和模型,以及几个路由组(关掉“分享我用的”后不发送)。</li>
|
||||
</ul>
|
||||
<p>除非你关掉这一部分,后面还有每个 agent、供应商和模型各一个 <code>magpie uses</code> 事件,只用 magpie 自己的 ID(每类最多 50 个):</p>
|
||||
<ul>
|
||||
<li><b>agent</b>:接入 magpie 的 agent,如 <code>claude</code>、<code>codex</code>。WSL 发行版名和 omp 配置名会去掉(只记 <code>omp</code>)。</li>
|
||||
<li><b>供应商</b>:开启的供应商。预设的 ID(<code>deepseek</code>)、订阅的(<code>codex</code>、<code>copilot</code>)、已知社区插件的(<code>plugin:kiro</code>)。你自己添加的供应商只记作 <code>custom</code>,其他插件只记作 <code>plugin</code>。</li>
|
||||
<li><b>模型</b>:接入的 agent 设定的模型,记为供应商 ID 加厂商模型 ID(<code>deepseek/deepseek-v4</code>)。密钥类供应商上 <a href="https://models.dev">models.dev</a> 没收录的模型 ID(本地模型、微调模型)只记作 <code><供应商>/other</code>;你自己供应商上的模型记作 <code>custom</code>;路由组记作 <code>group</code>。</li>
|
||||
</ul>
|
||||
<p>同时发送 <code>magpie partner</code> 事件:添加供应商页里排在最前的每个合作伙伴,按它的 ID,在已结束的某一天里被展示、行被打开、Key 页面被打开、从它添加供应商的次数(<code>what</code>:<code>shown</code>、<code>opened</code>、<code>keys</code>、<code>added</code>;每天每项最多 20 次,添加最多 5 次)。只有次数,从不包含你自己的供应商。</p>
|
||||
<p>每个事件都带 <code>$process_person_profile: false</code>,PostHog 不为这个 ID 建用户档案。不发送名称、Base URL、账号、密钥、提示词、回复和用量。一整批大致如下:</p>
|
||||
<div class="code">
|
||||
<span class="lang">POST https://us.i.posthog.com/batch/</span>
|
||||
<button class="copy" data-copy="ex-payload">复制</button>
|
||||
<pre id="ex-payload">{
|
||||
"api_key": "phc_nyDyYyrUTRGvNq5U7FBesCyM2j4GdKeqGp8ko7DBerTC",
|
||||
"batch": [
|
||||
{
|
||||
"event": "magpie active",
|
||||
"distinct_id": "3f9c…(32 hex)",
|
||||
"timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": {
|
||||
"version": "0.1.1190", "kind": "app", "$os": "Mac OS X", "arch": "arm64",
|
||||
"agents": 2, "providers": 3, "models": 2, "groups": 1,
|
||||
"$process_person_profile": false, "distinct_id": "3f9c…"
|
||||
}
|
||||
},
|
||||
{ "event": "magpie uses", "distinct_id": "3f9c…", "timestamp": "2026-10-13T08:00:00Z",
|
||||
"properties": { "kind": "agent", "id": "claude", "$process_person_profile": false, "distinct_id": "3f9c…" } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "provider", "id": "custom", … } },
|
||||
{ "event": "magpie uses", "properties": { "kind": "model", "id": "deepseek/deepseek-v4", … } },
|
||||
{ "event": "magpie partner", "timestamp": "2026-10-12T12:00:00Z",
|
||||
"properties": { "id": "<partner id>", "what": "shown", "count": 3, "day": "2026-10-12", … } }
|
||||
]
|
||||
}</pre>
|
||||
</div>
|
||||
<p><code>api_key</code> 是项目的 PostHog 密钥,只能发送事件,不能读取。代码见 <a href="https://github.com/yetone/magpie/blob/main/internal/stats/stats.go">internal/stats</a> 和 <a href="https://github.com/yetone/magpie/blob/main/internal/provider/partner_events.go">partner_events.go</a>。</p>
|
||||
|
||||
<h2 id="off"><a class="anchor" href="#off">关闭</a></h2>
|
||||
<p>下面每个开关关掉其中一部分或全部:</p>
|
||||
<ul>
|
||||
<li>关掉 <span class="ui">设置</span> → <span class="ui">隐私</span> → <span class="ui">计入用户数</span>,或在 <code>settings.json</code> 里写 <code>"noStats": true</code>:整个每日计数。</li>
|
||||
<li>在 magpie 的环境变量里设 <code>DO_NOT_TRACK=1</code> 或 <code>MAGPIE_NO_STATS=1</code>(除空、<code>0</code>、<code>false</code> 之外的任何值):整个每日计数,不管设置里怎么选。</li>
|
||||
<li>关掉 <span class="ui">设置</span> → <span class="ui">隐私</span> → <span class="ui">分享我用的 agent、provider 和模型</span>,或 <code>"noUsageStats": true</code>:<code>magpie uses</code>、<code>magpie partner</code> 事件和 <code>magpie active</code> 里的数量;ID、版本和系统仍会发送。合作伙伴次数也不再记录。</li>
|
||||
<li>关掉 <span class="ui">设置</span> → <span class="ui">关于</span> → <span class="ui">自动更新</span>,或 <code>"noAutoUpdate": true</code>:magpie 自己向 <code>usemagpie.ai</code> 询问新版本(否则每 6 小时一次)。这不属于计数。</li>
|
||||
</ul>
|
||||
<p>设置里的改动在下一次每小时检查时生效,不用重启。<code>settings.json</code> 在 magpie 的文件夹里(见<a href="#files">下文</a>):</p>
|
||||
<div class="code">
|
||||
<span class="lang">settings.json</span>
|
||||
<button class="copy" data-copy="ex-settings">复制</button>
|
||||
<pre id="ex-settings">{
|
||||
"noStats": true,
|
||||
"noUsageStats": true,
|
||||
"noAutoUpdate": true
|
||||
}</pre>
|
||||
</div>
|
||||
<p><code>MAGPIE_STATS_HOST</code> 会把计数发到另一个主机(用于测试,设置后源码构建也会发送)。</p>
|
||||
|
||||
<h2 id="files"><a class="anchor" href="#files">本机上的文件</a></h2>
|
||||
<div class="table-wrap"><table>
|
||||
<tr><th>文件</th><th>用途</th></tr>
|
||||
<tr><td><code>install-id</code></td><td>随机 ID,第一次发送计数时生成</td></tr>
|
||||
<tr><td><code>stats-sent</code></td><td>上次发送的日期(UTC),保证每天只发一次</td></tr>
|
||||
<tr><td><code>partner-counts.json</code>(缓存文件夹)</td><td>还没发送的合作伙伴次数,最多保留 14 天</td></tr>
|
||||
</table></div>
|
||||
<p><code>install-id</code> 和 <code>stats-sent</code> 在 magpie 的文件夹里:macOS 和 Linux 上是 <code>~/.config/magpie</code>,Windows 上是 <code>%USERPROFILE%\.config\magpie</code>,设置了 <code>$XDG_CONFIG_HOME</code> 时是 <code>$XDG_CONFIG_HOME/magpie</code>,便携版则在它的数据文件夹里。<code>partner-counts.json</code> 在 <code>~/.cache/magpie</code>(或 <code>$XDG_CACHE_HOME/magpie</code>,便携版数据文件夹里的 <code>cache</code>)。这些文件都可以删:删掉 <code>install-id</code> 后,下次发送会生成新的随机 ID,你会被算作新用户;关掉计数后,它们都不会再写入。</p>
|
||||
|
||||
<h2 id="site"><a class="anchor" href="#site">usemagpie.ai 能看到什么</a></h2>
|
||||
<p>magpie 会向自己的网站请求几样东西,不受隐私设置影响,就像任何应用访问自己的更新服务器。这些请求都不带安装 ID 或账号。</p>
|
||||
<ul>
|
||||
<li><code>/api/latest</code>:更新信息,每 6 小时一次(开了 <code>noAutoUpdate</code> 则不请求),带 <code>?lang=</code> 取对应语言的说明。<code>/api/notes</code> 在更新后给出“新功能”。</li>
|
||||
<li><code>/api/partners</code>:添加供应商页的合作伙伴列表,每 6 小时一次。在有合作伙伴上架时,每十次拉取记一次 <code>magpie partners fetch</code> 事件,附 Cloudflare 给出的国家。</li>
|
||||
<li><code>/go/<合作伙伴>/site</code> 和 <code>/go/<合作伙伴>/keys</code>:在浏览器里打开合作伙伴的官网和 Key 页面链接时,先记一次 <code>magpie partner go</code>(哪个合作伙伴、哪个链接、地区、国家),再跳转。</li>
|
||||
<li><code>/api/icon?url=…</code>:插件、导入链接和库里的图标经它获取,图标所在的服务器只看到 Cloudflare 的地址,看不到你的。它只转发图片,不计数也不记录。</li>
|
||||
</ul>
|
||||
<p>网站自己的页面(这些文档、首页)带 Cloudflare Web Analytics,不用 Cookie 统计页面访问。应用不加载它。代码见 <a href="https://github.com/yetone/magpie/blob/main/site/worker.js">site/worker.js</a>。</p>
|
||||
|
||||
<h2 id="lists"><a class="anchor" href="#lists">magpie 拉取的公开列表</a></h2>
|
||||
<p>为了给模型定价和命名,magpie 会拉取 <a href="https://models.dev">models.dev</a> 的模型目录(<code>models.dev/api.json</code>);为了用你的货币显示价格,会从 <code>open.er-api.com</code> 拉取美元汇率(缓存 12 小时)。插件及其更新来自 npm 仓库,库里的内容来自 GitHub。这些都是公开数据的普通下载,不发送任何关于你、你的供应商或用量的信息;和任何请求一样,这些主机能看到你的 IP(或代理的 IP)。magpie 还会用你自己的密钥或登录向各个供应商读取额度和模型列表;<span class="ui">设置</span> → <span class="ui">额度</span> → <span class="ui">额度刷新</span> → <span class="ui">仅手动</span> 可以只在你要求时才读。</p>
|
||||
|
||||
<h2 id="otel"><a class="anchor" href="#otel">OTLP 导出</a></h2>
|
||||
<p>magpie 可以把每个网关请求导出到你自己的 OpenTelemetry 收集器(比如 Langfuse)。它<b>默认关闭</b>,只发到你设置的地址,从不发给我们。开启后发送每个请求的 span:agent、供应商、模型、token 数、状态、耗时和估算费用。另有开关可以加上指标、本地 agent 对话,以及请求和回复正文(密钥已遮盖)。在 <span class="ui">设置</span> → <span class="ui">可观测性</span> 里开启,<code>magpie serve</code> 也可以用 <code>MAGPIE_OTEL_ENABLED</code>、<code>MAGPIE_OTEL_ENDPOINT</code>、<code>MAGPIE_OTEL_HEADERS</code>、<code>MAGPIE_OTEL_METRICS</code>、<code>MAGPIE_OTEL_SESSIONS</code>、<code>MAGPIE_OTEL_BODIES</code> 和 <code>MAGPIE_OTEL_BODIES_WHOLE</code>。只设地址不会开启导出。细节见<a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#otlp-export">参考文档</a>。</p>
|
||||
|
||||
<h2 id="why"><a class="anchor" href="#why">为什么计数默认开启</a></h2>
|
||||
<p>magpie 支持几十个 agent 和供应商,维护的人不多。每日计数让我们知道大家实际在用哪些,好先保证它们能用。正式版默认开启,是因为只靠主动开启的人,数量太少,看不出这些。作为交换,它尽量少:一个随机 ID、内置 ID 和数字;一个开关或 <code>DO_NOT_TRACK=1</code> 就能关掉,源码构建从不发送,发送的全部内容都列在这一页。</p>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer><div class="wrap">
|
||||
<span>© 2026 magpie · MIT</span>
|
||||
<div class="links">
|
||||
<a href="/zh/">首页</a>
|
||||
<a href="/docs/zh/start">快速上手</a>
|
||||
<a href="/docs/zh/intent">意图路由</a>
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script>
|
||||
(() => {
|
||||
const next = { system: "light", light: "dark", dark: "system" };
|
||||
document.querySelectorAll("button.theme").forEach((b) => {
|
||||
b.dataset.mode = themeMode();
|
||||
b.title = "Theme: " + themeMode();
|
||||
b.addEventListener("click", () => setTheme(next[themeMode()]));
|
||||
});
|
||||
|
||||
document.querySelectorAll(".copy").forEach((b) => b.addEventListener("click", async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(document.getElementById(b.dataset.copy).textContent);
|
||||
b.textContent = "已复制"; setTimeout(() => (b.textContent = "复制"), 1400);
|
||||
} catch {}
|
||||
}));
|
||||
})();
|
||||
</script>
|
||||
<script src="/docs.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -153,6 +154,7 @@ magpie provider refresh office <span class="c"># 重新获取列表</span></pr
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a class="toc-only" href="/docs/zh/remote">远程 magpie</a>
|
||||
<a class="toc-only" href="/docs/zh/docker">Docker</a>
|
||||
<a class="toc-only" href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie-releases/releases">版本发布</a>
|
||||
@@ -277,7 +278,7 @@ magpie claude group/opus-anywhere <span class="c"># 使用它</span></pre>
|
||||
<p>给安装脚本和 <code>magpie update</code> 加代理:<code>curl -fsSL https://usemagpie.ai/install.sh | sh -s -- --proxy http://127.0.0.1:7890</code>,或 <code>magpie update --proxy socks5://127.0.0.1:1080</code>(支持 http、https、socks5、socks5h;环境变量 <code>HTTPS_PROXY</code>、<code>ALL_PROXY</code> 同样生效)。<code>--mirror <前缀></code> 从你指定的 GitHub 下载镜像取发布文件,即 <code><前缀>https://github.com/…</code>;<code>magpie update mirror <前缀></code> 让之后每次更新(包括应用自己的更新)都用它,<code>magpie update mirror off</code> 取消。不指定就不用任何镜像;文件的 SHA-256 始终来自 usemagpie.ai,而不是镜像,镜像改过的文件会被拒绝安装。应用自己的更新走 <span class="ui">设置</span> → <span class="ui">代理</span>。</p>
|
||||
|
||||
<h3 id="privacy">magpie 会发送我的哪些信息?</h3>
|
||||
<p>你的提示词、回复、密钥和账号只发给你用的供应商,中间没有 magpie 自己的服务器。正式发布的 magpie 每天告诉我们一次它在用,好让我们知道有多少人在用、该先照顾哪些:本机随机生成的 ID、magpie 版本和系统,以及用了哪些 agent、供应商和模型,只用 magpie 自己的 ID(<code>claude</code>、<code>deepseek</code>、<code>deepseek/deepseek-v4</code>)和各自的数量。你自己添加的供应商及其上的模型只记作 <code>custom</code>。添加供应商页里排在最前的合作伙伴,每天被展示、打开和添加的次数也一并发送,只有次数。不发送名称、Base URL、账号、密钥、提示词和用量。<span class="ui">设置</span> → <span class="ui">隐私</span> → <span class="ui">分享我用的 agent、provider 和模型</span> 可以去掉 agent、供应商、模型和合作伙伴次数这部分;<span class="ui">计入用户数</span>、<code>DO_NOT_TRACK=1</code> 或 <code>MAGPIE_NO_STATS=1</code> 全部关闭。从源码构建的版本从不发送。合作伙伴的官网和「获取 Key」链接经 <code>usemagpie.ai/go/…</code> 跳转,跳转前记一次点击(哪个合作伙伴、哪个链接、哪个国家),usemagpie.ai 也会统计合作伙伴列表被拉取的次数。这部分是服务器本身看到的,和任何网站统计访问一样,不受上面的设置影响;不记录 ID、IP 和账号。插件、导入链接和库里的图标经 <code>usemagpie.ai/api/icon</code> 获取,图标所在的服务器只看到 Cloudflare 的地址,看不到你的 IP;这台服务器只转发图片,不计数也不记录。详见<a href="https://github.com/yetone/magpie/blob/main/docs/reference.md#counting-users">参考文档</a>。</p>
|
||||
<p>你的提示词、回复、密钥和账号只发给你用的供应商,中间没有 magpie 自己的服务器。正式发布的 magpie 每天告诉我们一次它在用,好让我们知道有多少人在用、该先照顾哪些:本机随机生成的 ID、magpie 版本和系统,以及用了哪些 agent、供应商和模型,只用 magpie 自己的 ID(<code>claude</code>、<code>deepseek</code>、<code>deepseek/deepseek-v4</code>)和各自的数量。你自己添加的供应商及其上的模型只记作 <code>custom</code>。添加供应商页里排在最前的合作伙伴,每天被展示、打开和添加的次数也一并发送,只有次数。不发送名称、Base URL、账号、密钥、提示词和用量。<span class="ui">设置</span> → <span class="ui">隐私</span> → <span class="ui">分享我用的 agent、provider 和模型</span> 可以去掉 agent、供应商、模型和合作伙伴次数这部分;<span class="ui">计入用户数</span>、<code>DO_NOT_TRACK=1</code> 或 <code>MAGPIE_NO_STATS=1</code> 全部关闭。从源码构建的版本从不发送。合作伙伴的官网和「获取 Key」链接经 <code>usemagpie.ai/go/…</code> 跳转,跳转前记一次点击(哪个合作伙伴、哪个链接、哪个国家),usemagpie.ai 也会统计合作伙伴列表被拉取的次数。这部分是服务器本身看到的,和任何网站统计访问一样,不受上面的设置影响;不记录 ID、IP 和账号。插件、导入链接和库里的图标经 <code>usemagpie.ai/api/icon</code> 获取,图标所在的服务器只看到 Cloudflare 的地址,看不到你的 IP;这台服务器只转发图片,不计数也不记录。<a href="/docs/zh/privacy">隐私页</a>列出了 magpie 自己发出的所有内容,附每日计数的示例、它在本机留下的文件和每个开关。</p>
|
||||
|
||||
<h3 id="proxy-loopback">Agent 报 502 或连不上,magpie 的路由标签页里却什么都没有?</h3>
|
||||
<p>代理软件(Surge、Clash、mihomo 等,开了系统代理、TUN 或增强模式)把 Agent 发往 <code>http://127.0.0.1:3425</code> 的请求接走、转去了别处,请求根本没到 magpie。只在跳过列表(<code>skip-proxy</code>、「绕过」)里写 127.0.0.1 不一定够:有些 Agent(比如 Codex)照样会走代理。在代理软件里加两条本地地址直连的规则,放在其他规则前面:</p>
|
||||
@@ -300,6 +301,7 @@ IP-CIDR6,::1/128,DIRECT,no-resolve</pre>
|
||||
<a href="/docs/zh/plugins">插件开发</a>
|
||||
<a href="/docs/zh/remote">远程 magpie</a>
|
||||
<a href="/docs/zh/docker">Docker</a>
|
||||
<a href="/docs/zh/privacy">隐私</a>
|
||||
<a href="/docs/zh/import">Add to magpie</a>
|
||||
<a href="/docs/zh/integrate">接入应用</a>
|
||||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||||
|
||||
Reference in New Issue
Block a user