Commit Graph
1325 Commits
Author SHA1 Message Date
yetone 11e7afe584 trae 0.2.43: an enterprise model's chat sends its detail's model_name and provider (#1258)
On 0.2.42 the reporter's enterprise seat (@liuyuexue2020 on X, Trae CN,
console.enterprise.trae.cn) got past 4001: both of its enterprise models,
AI/deekseek-v4.1-flash and volc/deepseek-v4-1-flash, now got 502 with
Trae's 4023 "We're sorry, something went wrong. Please try again later or
contact our support team for assistance." on chat_v3, solo_work_lite,
solo_agent, solo_agent_lite and solo_coder (their two screenshots on
#1258). config_source 2 was accepted; what the server then needed was
missing.

Trae CN 3.4.20's list types (libharness, serde field order) are
CloudModelConfigInfo { usage, is_default, display_config, ...,
model_detail_list, config_source, ... } and CloudModelDetailInfo
{ model_name, provider, icon, prompt_max_tokens, max_tokens, ... }:
provider sits on each model_detail_list item, not on the config. 0.2.42
read entry.provider off the config (so sent none), and model_name comes
only from a __dev detail, which an enterprise model doesn't have (so
none was sent either). Trae's own llm_utils_chat sends config_name,
model_name, config_source, is_custom_model and provider.

chatBody now sends, for an enterprise model, the model_name and provider
of its detail (the __dev one if any, else the first naming a model),
the config's provider still first when present. A preset's body is
unchanged.

Run (mote, HOME=$(mktemp -d), at this tree on 50f1ec18):
packages/trae bun test, 284 pass, 0 fail (24 files);
bun scripts/check.mjs trae ok.

Broken by hand: with 0.2.42's index.mjs, the two new entmodels tests
fail (the fake answers the reporter's 4023 text to an enterprise chat
without its detail's model_name and provider); the other five pass.

Not tried: a real enterprise seat; we have none, and the reporter can't
capture the list entry or the chat (the native ai-agent process sends
them). The detail values in the fixture (provider "AI"/"volc") are
inferred from their config names; the real entry hasn't been seen.
2026-11-18 10:04:39 +08:00
yetone 50f1ec1882 agy-cli 0.1.93: a refused account with no project has its quota read under aicode-consumers
IcyLiqu1d on X: agy-cli's usage always failed with "this account is not
eligible for Antigravity" while the account's requests kept working.

agy -p /usage waits for agy's eligibility check; agy acp, which serves
requests, runs none, so a refused account keeps working and its usage
does not. 0.1.69's direct read covers a refusal where loadCodeAssist
names a project. Where it names none, agy itself asks
retrieveUserQuotaSummary with {} and Google answers 403 #3501, and the
plugin's direct read gave up with "names no project" and then showed
only the generic "not eligible" line, hiding why.

- readQuotaDirect: a personal (auth_method consumer, not gcpManaged)
  account loadCodeAssist names no project for is asked under
  aicode-consumers, the project Google serves every consumer account
  under. A Workspace/Cloud account still fails, with Google's
  ineligibleTiers reasonMessage when it gave one.
- fetchUsage: when the direct read fails too, the error keeps agy's
  refusal and adds why the read failed.

Run (mica, bun 1.4.2, HOME=$(mktemp -d)):
- test/usage.mjs: 44 pass. With origin/main 207880e1's usage.mjs and
  the new tests, 3 fail (the two new tests and the no-project case of
  "a direct read that fails...").
- bun test ./packages/agy-cli: 41 pass, 0 fail. bun scripts/check.mjs:
  exit 0, agy-cli ok.
- Real account (agy 1.5.10, CLOUD_CODE_URL through a recording proxy
  that drops currentTier, paidTier and cloudaicompanionProject from
  loadCodeAssist): agy's own retrieveUserQuotaSummary {} calls got 403,
  onboardUser 403; the plugin's read with project aicode-consumers got
  200 and fetchUsage returned both 7-day groups in 7.0s. On 0.1.92 the
  same run returned the generic "not eligible" error.

Not tried: a real account Google refuses at the eligibility check (I
have none; the refusal was simulated), and Linux, where the stored
sign-in isn't read from a keyring, so the direct read can't run there.
2026-11-18 09:30:40 +08:00
yetone 207880e1d8 agy-cli 0.1.92: usage shows each group as a pool and lists its models again
tongzhenbao on X: since moving to agy-cli, the usage card shows only three
rings ("Gemini …", "Gemini …", "Claude …"), and they want each model's
usage as before.

Before: the retired antigravity plugin sent one window per model
(fetchAvailableModels' quotaInfo, with family and pool) and the pools
from retrieveUserQuotaSummary, so magpie's card showed the pools
("Gemini 5h", "Gemini 7d", two lines a ring) and "Every model (n)"
listed the models. agy-cli sent only "Gemini · 7 days"-named windows with
no pool and no model, so magpie drew plain rings with the name cut short
and had no models to list.

Google's per-model figure is the pool's: the owner's last antigravity
read (quotas.json, 2026-11-11) gave every Gemini model 1.58104% with the
Gemini pool's 7 days, and every Claude/GPT model 6.7575% with Claude &
GPT's, to the digit. So nothing new is asked of Google; from agy's own
/usage:

- each bucket goes as its pool's window: { pool: "Gemini", name: "7 days" }
  (magpie's LineName is still "Gemini · 7 days", so quota history and a
  cap the user set keep their names);
- each model family a group names (familiesInGroup, from the catalog agy
  models listed) gets an aside window in that pool: its display name
  without the effort word, model = the family id, models = every id of
  it, family Gemini/Claude/GPT-OSS, reading the group's most used
  measured bucket with that bucket's span and reset. A model two groups
  name reads the one that stops it first. A group with no measured bucket
  gives its models no window; no catalog yet gives no model windows.

Every window stays aside, so routing is as before (magpie's allowanceOf
skips aside windows, and a pool's window holds only members that aren't).

Run (mica, mote over 18 load): HOME=$(mktemp -d) bun test in
packages/agy-cli: 41 pass, 0 fail.
Broken by hand: a model reading its group's first bucket instead of the
most used one; "each model family a group names has its own window in
the pool, at the pool's most used bucket" went red (1 fail), green again
restored.
Not tried: a real agy /usage read (the parse is the captured live report
of 11-15 and its agy models rows); magpie's rendering is checked in
magpie's GUI tests with this shape.
2026-11-18 08:22:40 +08:00
yetone 677329db24 agy-cli: a saved or outdated model offer is asked again, so Ultra lists Gemini 4 (0.1.91)
shenggxhz (X, 11-17) moved from a Pro account to Ultra, and the agy
provider still listed no Gemini 4 Carbon. What agy acp offered the Pro
account was kept in models.json and loaded at start as the offer, and
probeOfferedOnce never asked agy again while an offer was known. Only a
request opening a session replaced it, so Ultra's fresh `agy models`
listing (Carbon in it) was filtered down to the Pro account's offer.
With main's index.mjs the new test lists exactly the reporter's
screenshot: claude-sonnet-4-6, gemini-3.8-flash, gpt-oss-120b.

Now an offer read from models.json, or one learnt before `agy models`
listed something else (the account or plan changed outside magpie), is
served while agy acp is asked again (offeredStale), and a session's
answer makes it current. Costs one short agy acp session per run after
a restart, and one per listing change.

Tests (test/catalog.mjs): a restart after the switch lists Carbon and
probes once; a listing change mid-run probes again, an unchanged one
doesn't; #1086's restart now also expects that one probe (its timeout
raised to 15s for the 1.5s slow session). With main's index.mjs the
three are red. Run on mica: root `HOME=$(mktemp -d) bun test` and
`bun scripts/check.mjs`, results below.
Not tried: a real Pro-to-Ultra switch (no Ultra account here).

mica, at this tree (parent 34edf938): root bun test 9041 pass, 0 fail
(9061 tests, 634 files); bun scripts/check.mjs exit 0.
2026-11-17 23:59:29 +08:00
yetone 34edf938da agy-cli: a 429 to the reworded prompt in the user turn is a rate limit, not a 400 (0.1.90)
HadStash on X (11-17, Google AI Ultra trial, agy-cli) got "agy bridge:
Antigravity answered 429 to this system prompt: RESOURCE_EXHAUSTED
(code 429)" as an Anthropic invalid_request_error, while the same account
works in the Antigravity client.

#formatAgentError called any bare 429 a prompt rejection when the RAW
client prompt has a line Antigravity turns away (turnsAway). Claude Code's
identity line is always there, so every 429 in a Claude Code session was
a 400 the client never retries and a gateway group doesn't treat as a
limit, even though what was sent was reworded (cloak.mjs) and sits in the
first user turn, the default since 11-15. Now that label is given only
when the instructions went in agy's session instructions
(AGY_BRIDGE_SYSTEM_APPEND=1), where the reworded prompt is still turned
away; in the user turn the 429 is a rate_limit_error (with the existing
"not a quota" note for the bare 429), so Claude Code retries it and a
group asks the next member. The turn still ends at agy's first 429
banner (Lmohn39), so nothing waits.

Real probes, account kumw95ya25, Code Assist direct (plug-raw), Claude
Code 2.1.326's captured prompt (SDK and CLI identity), 2 tries each:
- raw in system: refused 429 (gemini-3.8-flash)
- outgoing() in system: 429 2/2 on gemini-3.8-flash and claude-sonnet-4-6
- outgoing() in the user turn: 200 2/2 on both models
- user turn + Claude Code's 12 tools as function declarations: 200 2/2
Control prompt: 200 2/2.

Tests: repeat-batch's Lmohn39 test now runs the session-instructions
path (testkit's new `appendable`) for the 400 and the user-turn path
for the rate limit, Claude Code's identity line included; smoke's #980
case sets AGY_BRIDGE_SYSTEM_APPEND=1 and a new HadStash case checks the
user-turn 429. Broken by hand: against origin/main's index.mjs both are
red (repeat-batch 1 fail, smoke "BAD - HadStash ...").

Run on mote at this tree (HOME=$(mktemp -d)): bun scripts/check.mjs ok;
bun test 9040 pass, 1 fail: agy-cli test/usage.mjs "a hung sign-in with
an ended token is never restarted ..." at its 6s deadline, which is
#1191 (usage.mjs red on macOS under load, the failing tests change each
run; alone it went 5 of 41 red, other tests). Not this change: usage.mjs
doesn't reach #formatAgentError.

Not tried: the reporter's own account or agent (they don't say which;
the Anthropic-shaped error says a /v1/messages client). agy itself was
not run end to end: the Mac's agy account is disabled by Google, so the
probes went to Code Assist directly with agy-cli's cloak.mjs.
2026-11-17 23:38:34 +08:00
yetone 4b3af4a565 agy-cli 0.1.89: a session whose agy never loads the client's tools fails and says why (#1239)
pi declared read, bash, edit and write through the gateway on Windows and
the model saw only agy's own manage_task; `read` came back
`unknown tool: "read"`. agy reads a client's tools from the bridge's
ide-tools MCP server, which it starts by running `nc` from PATH. When
that never answers, #waitForToolList gave up after 5s without a word and
the turn ran with no client tool at all, for every client.

On Windows agy 1.5 runs only nc.exe, never the nc.cmd the bridge falls
back to. A failed nc.exe build was swallowed and cached for the whole
host process, so every session after it had no tools until magpie
restarted.

- A session that declares tools and whose agy hasn't listed them after
  AGY_BRIDGE_TOOL_LIST_WAIT_MS (now 20s) fails with 502
  tools_not_loaded, naming the cause: on Windows, the nc.exe build's own
  failure (not Bun, non-ASCII folder, bun build's exit code or "wrote no
  nc.exe" plus its last stderr lines); elsewhere, the `nc` MCP server
  that never answered. No session/prompt is sent.
- A live agy that never listed the tools a follow-up declares (started
  with none) is replaced (session_new reason tools_unlisted), not reused.
- On Windows a failed nc.exe build is tried again after 5 minutes,
  rather than never.

Tests: test/tools-listed.mjs (new, in agy-cli.test.mjs). The testkit's
fake agy can now not list tools (listTools), or not keep a watch
(watchTools), and records each listing.

Run at this tree:
- mica-run, HOME=$(mktemp -d): cd packages/agy-cli && bun test:
  41 pass 0 fail; bun scripts/check.mjs agy-cli: ok. (mote was at load
  130.) An earlier run of the same suite had test/usage.mjs red twice on
  its 3s usage-query deadline at mica load 23; it passed 41/41 twice
  alone. That is #1191.
- win-run on xiaomi-gpu (real Windows, Bun 1.4.2): tools-listed.mjs and
  windows-nc.mjs, 13 pass 0 fail. The first Windows run caught that the
  platform-neutral cases took the real win32 path; they now pin linux.

Broken by hand: tools-listed.mjs against the old index.mjs
(AGY_BRIDGE_TEST_INDEX = HEAD's copy): 3 of 5 red. The unlisted session
ran its turn (200, end_turn after 5s), the follow-up ran on the agy that
never listed Read, and the failed Windows build was never retried. The
two cases that should hold either way pass.

Earlier, on xiaomi-gpu: a real nc.exe built in ~335ms, and the shim
answered tools/list in 137ms first and ~28ms after.

Not tried: a real agy turn or a real Windows agy session. There is no
usable account: the Mac one is banned, and Windows agy answers
session/new with "Authentication required". So the reporter's exact
trigger (which nc.exe build failure, or none) isn't confirmed. The error
now names it on their machine.
2026-11-17 19:25:36 +08:00
yetone fd42292240 trae 0.2.42: an enterprise model's chat says its config_source at the top (#1258)
On 0.2.41 the reporter's enterprise seat (@liuyuexue2020 on X, Trae CN,
console.enterprise.trae.cn) now lists its enterprise built-in models, but
a chat with one, AI/deekseek-v4.1-flash, got 502 with Trae's 4001 "We're
sorry, the param is invalid. Please try with a valid param." on chat_v3,
solo_work_lite, solo_agent, solo_agent_lite and solo_coder (their
screenshot on #1258). The error also confirms the list entry carries
config_source 2, the first real-seat sight of that field.

0.2.41 sent config_source, is_preset, custom_model_id and provider under
user_message_context.model_info, which is the agent task's model info.
Trae CN 3.4.20's own llm_utils_chat request (libharness,
worktree/branch_name.rs, asked with the user's selected model) is
usage, function, messages, conversation_id, access_type, config_name,
model_name, config_source, is_custom_model, provider: those fields go at
the top of the body. chatBody now sends config_source 2, is_custom_model
true and the entry's provider there, and no model_info for it. A preset's
body is unchanged.

Run (mote, HOME=$(mktemp -d), at this tree on 324acd60):
packages/trae bun test, 282 pass, 0 fail (24 files);
bun scripts/check.mjs trae ok.

Broken by hand: with the enterprise block in chatBody turned off, both
new entmodels tests went red (the fake answers the reporter's 4001 to an
enterprise config sent without config_source), and green again once
restored.

Not tried: a real enterprise seat; we have none. The field set comes from
the 3.4.20 client binary, and whether Trae's server wants more (model_name,
access_type) for an enterprise config is not known. The reporter couldn't
capture the IDE's chat in DevTools because the native ai-agent process
sends it, not the renderer.
2026-11-17 19:10:21 +08:00
yetone 324acd6007 agy-cli: test DeepSeek Harness 0.2.2-rc.3's whole Web GUI prompt (fnckerpoi on X)
fnckerpoi on X still saw Antigravity's 429 with DSH 0.2.2-rc.3 at 16:58,
about an hour after agy-cli 0.1.88 / antigravity 0.2.2 cloaked its
browser sentence. test/dsh-0.2.2-rc.3-web-system.txt is that release's
Web GUI system prompt, captured from the real @deepseek-ai/dsh@0.2.2-rc.3
on mote (dsh web, Playwright typing "say hi", model "m1"). The new test
holds that outgoing() leaves no turned-away line in it, rewords only the
identity line, the browser sentence and the @-path paragraph, and keeps
every other line as written. No code change: the cloak on main already
passes it.

Real account (sandbox HOME, kumw95ya25), 11-17:
- raw prompt: 429 2/2 or 3/3 on gemini-3.8-flash, gemini-3.8-flash-high,
  claude-sonnet-4-6, claude-opus-4-6-thinking (direct Code Assist).
- outgoing(prompt): 200 on each of them; with DSH's 31 tools and its
  user messages too (gemini-3.8-flash, -high, claude-sonnet-4-6).
- through agy 1.5.10 and the agy-cli plugin, DSH's full request (system,
  31 tools, user turns): 200 "pong" 2/2 on gemini-3.8-flash and
  claude-sonnet-4-6, with 0.1.88 and with 0.1.87 alike.
- every string literal in DSH 0.2.2-rc.3's runtime packages (13,956,
  1.7MB, 43 chunks, bisected when refused) as the system instruction
  through antigravity 0.2.3's outgoing: no refusal; raw, only the Web
  GUI paragraph. The same strings as the user turn agy-cli sends, with
  no cloak: no refusal.

Run on mote, HOME=$(mktemp -d): bun test packages/agy-cli (40 pass),
bun scripts/check.mjs (ok). Broken by hand: with "provides" left as
written the new test goes red with the three it sits beside.
Not tried: DSH's TUI profile; a reporter's own AGENTS.md, skills or a
long history.
2026-11-17 17:46:07 +08:00
yetone cf5b0312e0 skills: magpie-sessions, an agent searches every agent's sessions and reads one (yansheng1003 on X)
An official skill that goes with magpie's new `magpie sessions search`
and `magpie sessions show`: what was said in Claude Code's, Codex's and
the other agents' sessions, found through magpie's index, each hit named
agent:id, and the session read from where it was said. It tells the
agent what to do when the user hasn't allowed magpie to read sessions
(tell them; never turn it on itself).

Checked against magpie's source (sess-cli-search): the commands' flags
and usage, the not-asked line, the prefix match of each word (said
index's "word"* terms). No skill test exists in this repo; skills are
listed by magpie's featuredSkills (TestFeaturedSkills).
2026-11-17 17:25:34 +08:00
yetone 4858e144a6 trae 0.2.41: an enterprise's built-in models are listed and say what failed (#1258)
A Trae CN enterprise seat (@liuyuexue2020 on X, magpie v0.1.4288,
0.2.40) didn't see the tenant's own built-in models in magpie's list. A
name typed in by hand got a bare 502.

Trae CN 3.4.20's client (ai-modules-chat) marks each entry's
config_source as Trae 1, Enterprise 2 or Personal 3, and shows the
Enterprise ones as "Enterprise-builtin". They aren't presets
(is_preset false), so they read as custom models, and chatModel dropped
them together with the personal ones (is_custom_model, custom_model*
ids).

- chatModel keeps config_source 2 entries unless status is false (the
  IDE's "disabled by the administrator"). Personal custom models stay
  out.
- A chat with one of them carries user_message_context.model_info as
  the client builds it: config_name, config_source 2, is_preset false,
  use_remote_service, display_model_name, custom_model_id, provider.
  A preset's body is unchanged.
- A refused chat that isn't a lapse or a quota now names the model, the
  functions tried and the host. When the account's list doesn't have
  the model, it says that too; the list is read for this on the failing
  path only.

Run (mica, HOME=$(mktemp -d), at this tree on 8c7e8f66):
packages/trae bun test, 281 pass, 0 fail (24 files);
bun scripts/check.mjs trae ok.

Broken by hand: I turned off the chatModel enterprise branch, the
model_info block and the error context. All 4 new tests in
entmodels.test.mjs went red, then green again once restored.

Not tried: a real enterprise seat. The fields in the list entry and the
chat shape come from the client bundle. Nothing has seen them from Trae's
server, and #1258 asks the reporter for both. Trae Global's enterprise
console isn't covered either.
2026-11-17 17:02:27 +08:00
yetone 8c7e8f6621 antigravity 0.2.3: Claude Code's identity line goes as "You're …" (#1151)
Found while checking #1105: agy-cli's cloak.mjs has rewritten Claude Code's
identity line since #1151 (11-15), but the antigravity plugin, which went
back to serving existing users at 0.2.1, didn't. "You are Claude Code,
Anthropic's official CLI for Claude." (Claude Code's CLI, and with ",
running within the Claude Agent SDK" Claude Desktop's Code tab) now goes
as "You're …", as agy-cli sends it. The existing test that pinned
Claude Desktop's line as going through unchanged now expects "You're …",
since that line is turned away too.

Real account, 11-17, through the plugin, sandbox HOME, the owner's
existing sign-in (no credentials entered), 3 runs each on
gemini-3.8-flash and gemini-4-hydrogen-sonar:
- 0.2.2: the CLI line and the SDK line each 429 3/3 on both models.
- 0.2.3: both 200 3/3 on both models.

Run (mote, HOME=$(mktemp -d)) at this tree: bun test packages/antigravity
packages/agy-cli 174 pass, 0 fail; bun scripts/check.mjs ok.
Broken by hand: 0.2.2's index.mjs with the new test: it fails
(shape.test.mjs 31 pass, 1 fail).
2026-11-17 15:51:39 +08:00
yetone 8c3397d3ff agy-cli 0.1.88, antigravity 0.2.2: DeepSeek Harness's browser sentence goes "gives"
LayFz (#1105, @baoshijie8848 on X) ran a controlled A/B on one Antigravity
Ultra account, same model and endpoint, only the system prompt changed:
"You are an AI agent powered by DeepSeek Harness." and, in the middle of
DSH's Web GUI paragraph (@deepseek-ai/dsh-harness-dev-context), "The
browser provides no implicit DOM, route, or screenshot context." each got
429 RESOURCE_EXHAUSTED; each paraphrased got 200.

- agy-cli's cloak.mjs already had the first line (#1171, 0.1.57). It now
  has the browser sentence too, sent as "The browser gives no implicit
  DOM, route, or screenshot context.", and the DSH hint names both.
- The antigravity plugin (0.2.1, serving existing users) had neither:
  both lines are added there, with a DSH hint.

The rewording keeps every word but the verb. sub2api's PR 8878 drops
"route", which changes what DSH tells the model, so it was not copied.

Real account, 11-17, through the antigravity plugin, sandbox HOME, the
owner's existing plugin sign-in (no credentials entered), 3 runs each:
- 0.2.1 (old): opener 429 3/3 on gemini-4-hydrogen-sonar (gemini-3.8-flash
  gave three 502 cert errors upstream that round, 429 3/3 in the earlier
  round); the literal Web GUI paragraph 429 on both models; opener +
  paragraph 429 3/3 on both.
- agy-cli 0.1.88's outgoing() text for opener + paragraph, sent through
  0.2.1 (which leaves it as is): 200 3/3 on both models.
- 0.2.2 (new): opener, paragraph, opener + paragraph raw from the client:
  200 on both models (one upstream 502 cert error on flash).
- Bisect (gemini-3.8-flash): the sentence lower-cased or wrapped over a
  newline 429; without its period, without the comma before "or",
  without "implicit", or "gives" for "provides" 200. So those variants
  stay as written and the tests check it.

Tests use the paragraph word for word.

Run (mote, HOME=$(mktemp -d)) at this tree: bun test packages/agy-cli
packages/antigravity 173 pass, 0 fail; bun scripts/check.mjs ok.
Broken by hand: 0.1.87's cloak.mjs and 0.2.1's index.mjs with the new
tests: both new tests fail (2 of 40 in cloak.test.mjs + shape.test.mjs).
Not changed: magpie's codeassist.go list and the antigravity-cloak
middleware act only on the retired built-in Antigravity (Account.Agent
"antigravity"), which serves no requests.
2026-11-17 15:44:38 +08:00
yetone 1c9ade6c81 loomy 0.1.12: a 401/403 from a proxy no longer signs an account out
jenxingyoung on X: four Loomy accounts behind a proxy, a different one
signed out each day, none used anywhere else.

Loomy's gateway never answers a dead session with a 401 or 403. A made-up,
dropped or missing token gets HTTP 200 with code 100002 on every path
(chat, draw, models, points records, first-login; probed 2026-11-16 and
2026-11-17). The plugin still read any 401/403 as "signed out": chat and
draw returned a bare 401 (magpie's host marks the account lapsed on that),
and usage and check-in threw an expired error. So a proxy or firewall
turning one request away marked a good account for sign-in again, a
different account each time.

- 401/403 is a sign-in verdict only when its body carries 020002/100002.
  Otherwise chat and draw answer 502 with x-magpie-sign-in: kept (magpie
  tries the next account and leaves this one signed in), usage reports
  the error with signIn "kept", check-in reports "failed". The message
  names the status, says it isn't a sign-out, and quotes the body.
- A lapsed account's message gives the day it was signed in (signedInAt,
  kept at SMS sign-in; older accounts from expires - 14 days). No
  lifetime is claimed: the client asks for 14 days, but agent2api found
  sessions served past that.
- SMS sign-in returns uid (the vendor's userid) beside the masked phone.
- A pasted session is named by its last six characters instead of the
  one name "手动粘贴" every paste shared, which made a second pasted
  account replace the first in magpie's account list.

No renewal exists to add: Loomy's client 0.9.39, its web app,
magpie-providers-hub and agent2api only sign in again. A truly lapsed
account still needs an SMS code; magpie's "Sign in again" on the row is
one click.

Run (mote, HEAD afe4c086 + this change):
- HOME=<temp> bun test packages/loomy: 46 pass, 0 fail.
- HOME=$(mktemp -d) bun test (root): packages/loomy 46 pass, 0 fail.
  Other packages red on mote only (7910 pass, 563 fail: kimi-desktop,
  zen-free, inkstone, zcode, qoder ...), none touched here; CI's test
  job is green at afe4c086 on ubuntu. bun scripts/check.mjs: ok.
Broken by hand: index.mjs at afe4c086 with the new tests and fake: 9 of
the 10 new or changed tests fail (37 pass, 9 fail). The pasted-session
"names no day" test is a guard and passes on both.
Not tried: a real Loomy account (none here), so the session's real
lifetime is unmeasured, and the user's proxy's actual 401/403 body is
not seen; the fix holds for any body without a sign-in code.
2026-11-17 10:08:33 +08:00
yetone afe4c08643 agy-cli 0.1.87: agy's Individual quota reached ending fails the turn as a rate limit
@Airan_FS on X (11-17): when an Antigravity account's own quota is used up,
agy ends the turn with "⚠ Individual quota reached. Please upgrade your
subscription to increase your limits. Resets in 1h18m40s." The bridge only
knew fixed ending lines, so this one went to the client as the model's
reply and magpie never asked the next account.

The bridge now holds a line starting "⚠ Individual quota reached" that
nothing follows, and ends the turn with a rate_limit_error carrying agy's
words and the reset ("agy bridge: Antigravity quota reached: Individual
quota reached. ... Resets in 1h18m40s."; HTTP 429 without streaming).
Words the model wrote before it still reach the client. A quote of the line
with more text after it stays text. magpie rests the account until the
reset it reads from the error (magpie's routing.go change in the same fix).

The words are from a user's report on discuss.ai.google.dev (limit
membingungkan) and @Airan_FS's tweet; the agy binary carries "individual
quota reached".

Run (mote, HOME=$(mktemp -d)): bun test agy-cli.test.mjs 20 pass, 0 fail;
node --test repeat-batch.mjs smoke.mjs 72 pass, 0 fail; bun scripts/check.mjs
ok.

Broken by hand: 0.1.86's index.mjs with these tests: three of the four new
tests fail (the ending alone, after partial text, non-stream 429); the
quoted-line test passes on both.

Not tried: a real agy account with its quota used up.
2026-11-17 03:56:04 +08:00
ump45nose 38233a569c agy-cli 0.1.86: agy starts with telemetry off (#1236)
The bridge passes --disable-telemetry when `agy acp --help` lists it, so
agy doesn't report the run to its vendor; AGY_BRIDGE_TELEMETRY=1 keeps
agy's own default. The flag is part of the spare's launch key. By
ump45nose (#896, PR #1236), landed on top of #1235 with only the version
line's conflict resolved.

The flag was checked in the agy binary on this Mac (strings:
"disable-telemetry", "--disable_telemetry").

Run (mote, HOME=$(mktemp -d)):
- At the PR head 0ead2594: bun test agy-cli.test.mjs 20 pass;
  node --test repeat-batch.mjs smoke.mjs 66 pass; check.mjs ok.
- At this tree (with #1235): bun test agy-cli.test.mjs 20 pass, 0 fail;
  repeat-batch.mjs + smoke.mjs 68 pass; check.mjs agy-cli ok.

Broken by hand: origin/main's index.mjs with the PR's tests: "#896: an agy
whose acp --help lists --disable-telemetry starts with telemetry off" and
smoke.mjs fail.

Not tried: a real agy acp run with the flag (the local agy account answers
403).

Co-authored-by: ump45nose <52391318+ump45nose@users.noreply.github.com>
2026-11-17 03:36:00 +08:00
ump45nose c52dd35bfa agy-cli 0.1.85: agy's output-cap notice never reaches the client (#1235)
agy's output-cap retry writes three lines of its own into the reply (the
cut-off notice, its instruction to continue, "Retries remaining: N"); the
bridge now drops them where they start a line, held across chunks, and
keeps a mid-line quote of them. By ump45nose (#892).

The three strings were checked against the agy binary on this Mac
(strings: "Your previous response was cut off because it exceeded the
output token limit", "Please continue from where you left off, keeping
your response shorter", "Retries remaining: %d" and "%d.").

Run at e95ee1d5 (mote, HOME=$(mktemp -d)):
- bun test agy-cli.test.mjs: 20 pass, 0 fail.
- node --test repeat-batch.mjs smoke.mjs: 66 pass.
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with this PR's tests: "#892:
agy's output-cap notice never reaches the client" fails.

Not tried: a real turn that hits agy's output cap (the local agy account
answers 403).
2026-11-17 03:33:14 +08:00
yetone 44bfefb7a7 agy-cli 0.1.84: an ended access token is renewed by the plugin for usage, so agy never opens a sign-in (#1234)
qiankun229 traced it in agy's own logs (#1234): at Windows startup the
background usage read ran `agy -p /usage` with an ended access token and
a refresh token. agy's silent renewal failed for a moment (a 10s keyring
timeout, or "no such host" for oauth2.googleapis.com before the network
was up) and agy fell back to an interactive Google sign-in, which opens
the browser through ShellExecuteW past the BROWSER/PATH shims. The next
read renewed the same token fine. The stored-sign-in precheck passes such
a token, since it can be renewed.

- createUsageReader: when the stored access token has ended or ends
  within two minutes and has a refresh token, fetchUsage reads with
  `direct`: it runs `agy --version` only (no sign-in) and reads the quota
  the way agy does (readQuotaDirect, loadCodeAssist then
  retrieveUserQuotaSummary, with agy's User-Agent), renewing the token in
  memory. agy's stored sign-in is never written. `agy -p` isn't run.
- A failed renewal is a failed read: it backs off as before and keeps
  the sign-in. A network error says to check the network or proxy.
- Google answering the refresh with invalid_grant (400/401) is
  kind "auth": the account reads as signed out ("Sign in again") and
  nothing runs for that sign-in again until another is stored.
- A token with time left still goes through agy -p, as before.

Tests: three tests that leaned on an ended token only to get agy to run
now use a token whose end isn't said (as the existing "refreshing" test
does); what they check is unchanged.

Run (mote, HOME=$(mktemp -d)):
- test/usage.mjs (AGY_BRIDGE_STORED_SIGNIN=skip node --test): 41 pass.
- bun test agy-cli.test.mjs: 20 pass, 0 fail.
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's usage.mjs with the new tests: the three
new tests fail (agy -p ran for an ended token; no backoff/network
message; invalid_grant not auth), 38 pass.

Not tried: Windows with a real ended token and the network down at
startup (no agy account here: the local one answers 403); the requests
are the ones the region-refusal path has made since 0.1.7x.
2026-11-17 02:50:13 +08:00
Ethan Chen ffc98f640a agent-lorca 0.1.0: Lorca as a Magpie agent (#1230)
Lorca's plugin returns its provider as one merged object (custom.custom:magpie), with no changed_at, so unwire leaves the user's credentials.json as it was. Needs magpie v0.1.4336 (8a017b583), which writes a connect-only plugin's merged-only keys.

Run at 883ea48: bun test packages/lorca 2 pass; scripts/check.mjs lorca ok; a magpie sandbox test loading this lorca.agent.js connected and unwired with no file, {"anthropic":"k"}, and a file with custom:gemini and a changed_at map: "{}" and the two files back as they were.
Not tried: the real Lorca app (author tested Desktop 0.1.22 / CLI 0.1.26).
2026-11-17 02:15:04 +08:00
yetone f10738917f agy-cli 0.1.83: a pending call Codex dropped is answered as cancelled, and the live session goes on (#1231)
Codex delivers a sub-agent message at a sampling boundary by keeping the
interrupted reply's text, dropping its tool call, and sending the history
on with the new message. Since 0.1.74 lineageVerdict called that a fork:
the pending call was closed with SUPERSEDED_NOTE and the conversation was
replayed in a new session, losing agy's cached prefix and, for a long
history, the turns past the 112 KiB prompt budget.

Now lineageVerdict returns "dropped" when the recorded history with the
turn's unanswered calls taken out is exactly the client's history, and
the reply that carried them kept some text. keepDroppedTurn answers those
calls with "cancelled by the client, not executed" through the existing
steerInSession (MCP commit wait, session/cancel, history set to the
client's), and the new trailing message goes in as the next prompt in
the same session. A changed reply text, a reply that was only the call,
grown tools, another work dir or other instructions still replay as
before; so does a steer that fails.

Run (mote, HOME=$(mktemp -d)):
- node --test test/dropped-call.mjs: 3 pass (kept session; changed text
  replays; call-only reply replays).
- bun test (agy-cli): 38 pass, 0 fail.
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new test: the kept-
session case fails (a second agy session is started); the two replay
cases pass on both.

Not tried: a real Codex session with a sub-agent message arriving
mid-sampling against a real agy; the fake reproduces the request shape
the issue describes. Part 1 (history seed through systemPrompt.append,
opt-in) is not in this change.
2026-11-17 01:49:29 +08:00
yetone 36dc4007fc zcode 0.1.68: every account takes requests, the Start Plan held to six in flight from this address
mathfournity on X: with several ZCode accounts in magpie, requests went to
two of them only. 0.1.40 declared maxAccounts 2 after 01huadalang's address
was refused with a 405 while three accounts took requests at once, so
magpie kept the first two of the list taking requests and held every other
account in reserve until one rested. A user with five gift accounts saw
two used.

What zcode.z.ai's edge firewall counts is the address's Start Plan
requests in flight (busyHold's logs: ~10 in flight against a cap of three
before the IP's 405), not how many accounts sent them. So the plugin no
longer declares maxAccounts, and holds that instead: besides each
account's three (startGate), every account's Start Plan requests share
one address lane of six, what two accounts of three each sent while the
two-account default stood. A request takes its account's slot first, then
the address's, within the one 120s wait; a wait that runs out on the
address's is answered here with a 429 that says so, nothing sent, and
lets the account's slot go. Free first counts the address lane full as
it does the account's. The coding plan, on api.z.ai, is held to none of
it. A user's own Accounts at once is kept as they set it.

Run:
- HOME=$(mktemp -d) bun test in packages/zcode on the Linux box
  (wsl-run, Bun 1.4.2): 275 pass, 0 fail.
- Broken by hand: the new tests against origin/main's index.mjs and
  package.json: 3 red (maxAccounts 2 declared; peak 12 in flight over
  four accounts where six are allowed; the address wait never runs out).
- magpie's gateway with this plugin under bun and four accounts on a fake
  Z.ai (a throwaway test, not committed, on mote): 12 requests at once
  went 3/3/3/3 to the four accounts, where 0.1.67 sent 6/6 to two and
  none to the others; 1302, 1308, 3008 and 500 on one account each went
  to the next and rested the first, as before.
- start.test's in-flight hold test parks twelve accounts' requests at
  once; it raises the address lane to twelve, since the hold's handling
  of such a run is what it tests.

Not tried: a real ZCode account; whether zcode.z.ai refuses an address
for the number of accounts as well as for requests in flight.
2026-11-17 01:24:45 +08:00
yetone 75068043af agy-cli 0.1.82: each account lists the models agy offers it, not the last account's (#1229)
The cached `agy models` list and what agy acp offers a client were one
set of module globals. With several accounts on different plans, the
last session or probe of any account replaced them, so every account's
models() listed that account's models and the catalog flipped as
requests went by (#1229).

- The catalog, the offered set and the refresh/probe state are now kept
  per account home (currentHome(), "" for agy's own). magpie asks each
  account's models() in that account and serves the union, and already
  sends a model only to an account that lists it.
- A Proc remembers the account it was started for, and the offer probe
  remembers its account at the start, so what agy says later is noted
  for that account even outside its scope.
- models.json keeps agy's own account under the executable's path as
  before; another account's entry is "<path>#<home id>".
- provider.warming() waits on every account's listing and probe, and
  again for a probe a landing listing starts.
- A new account's static start no longer replaces the usage reader's
  rows from another account's real list; a changed agy still does.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/agy-cli: 37 pass, 0 fail (test/catalog.mjs 34
  of 34 under node --test too).
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new test: red
("#1229 每个账号列自己开放的型号,互不覆盖").

Not tried: two real agy accounts on different plans (none here); the
test fakes them with a per-HOME offered list.
2026-11-17 00:29:32 +08:00
yetone e30f8ed056 devin 0.1.45: a request Devin took and then went quiet on ends in a retryable 504
wu_chong4136 on X: with the Devin plugin a session sometimes hung for
10 to 20 minutes with no reply, until the effort or the context was
changed. The plugin returns its head only with Devin's first content,
and nothing bounded the wait for Devin's head or for the next frame, so
a request Devin accepted and never answered left the agent on magpie's
keepalives with no error.

- quietFetch: Devin's head comes within QUIET (5 minutes) or the fetch
  is aborted with a Quiet error.
- quietRead: frames() waits QUIET at most between reads; on quiet the
  reader is cancelled, so the connection is let go.
- A Quiet error answers 504 "Devin sent nothing for 5 minutes; the
  request was given up so it can be sent again", stream and non-stream;
  other failures keep their 502. pingOnce uses quietFetch too.
- 5 minutes: a real probe of GetChatMessage saw the first frame 2.5s
  after the request and at most a 13s gap between frames through a
  reply, so 5 minutes of silence is not Devin thinking.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/devin: 232 pass, 0 fail (quiet.test.mjs's four
  tests among them: no head, a body that never starts, quiet after a
  frame, and frames every 50ms with QUIET at 200ms never given up).
- bun scripts/check.mjs: ok.

Broken by hand: index.mjs without quietFetch/quietRead: the three
give-up tests hang to their timeout.

Not tried: a real Devin request that goes quiet (it can't be made to);
the root suite runs on CI before publish.
2026-11-17 00:18:09 +08:00
yetone e271eb644a layerfs 0.10.3: the trajectory page opens from another computer (#1228)
ccyin found it (#1228): opened through `magpie web` from another
computer (magpie in Docker), the LayerFS page was blank with
"127.0.0.1:43717 refused to connect". The page entry had no
magpie.page.service, so the bridge gave no forward and boot.js jumped
to 127.0.0.1, which is the viewing computer there. page-chat and
page-fingerprint declare it and worked in the same window.

- package.json: page.service {port: 43717, option: "pagePort"}.
- boot.js goes to magpie.service when it is an http(s) address, with
  the language query; otherwise to 127.0.0.1:<pagePort> as before.
- The service is unchanged: magpie's forward (internal/gui/
  pageservice.go) sends Host 127.0.0.1:<port>, drops the cookie, and a
  navigation carries no Origin, so its guards pass as they are.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/layerfs: 72 pass, 0 fail.
- bun scripts/check.mjs layerfs: ok.

Broken by hand: origin/main's page/boot.js with the new tests: the
forward test fails (the frame still goes to 127.0.0.1).

Not tried: a real magpie web in Docker opened from a second computer.
2026-11-16 23:24:05 +08:00
yetone d5a4a0ca52 window-warmup 0.1.6: a host swap no longer leaves 3492 dead (#1227)
shawn8888 found it (#1227): server() probed the port, saw this plugin's
marker and returned {} for good. During a host swap the old host is
still serving, so the new one never started, and once the old one
exited nothing served 3492 and the scheduler stopped until the next
swap. The old host also holds service.lock, so retrying the bind alone
would have come up read-only (lockedBy) with no scheduler.

Now server() returns {} at once and, once per port, checks every second
in the background: while the marker answers it waits; when it stops it
runs the whole start (migrate, lock, bind, scheduler), and an
EADDRINUSE from a port not let go yet is tried again the next second.
The data directory is the one the call resolved. A port held by
something without the marker still throws, as before.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/window-warmup: 280 pass, 0 fail.
- tsc --noEmit: ok. bun scripts/check.mjs window-warmup: ok.
- dist rebuilt with bun scripts/build.ts; dist.test passes.

Broken by hand: origin/main's src/plugin.ts with the new tests: both
fail (marker stops, real old service holding port and lock stops).

Not tried: a real magpie host swap.
2026-11-16 23:21:33 +08:00
yetone 83a677177b agy-cli 0.1.81: agy's "Verification Required" is a 403 that says how to verify
kidgpt on X (Windows 11, Claude Code in VS Code, gemini-3.8-flash) got
the bare text "Verification Required" as the model's answer. agy 1.5.9
turns Google's 403 VALIDATION_REQUIRED into that line
(utils.CustomUserErrorMessageFromHTTPError, read from the binary) and
ends the turn with "\n⚠ Verification Required\n", which the bridge
didn't know, so it went out as a successful reply.

- The ending is a sixth agent-error marker. The turn fails as a no-retry
  403 permission_error (stream error event and HTTP 403 with
  x-should-retry: false, as #1201's banned account), in the words
  magpie's gateway reads as Google verification ("this Google account
  needs to be verified: open <link> in a browser"), so magpie rests the
  account as needing verification and shows the link.
- The link comes from agy's log for the turn (validation_link /
  validation_url, or the "in your browser to continue:" line) when there
  is one; otherwise the message says to open the Antigravity app or run
  agy signed in to the account.
- Sibling: agy's eligibility refusal for the same cause ("Please verify
  your account in your browser to continue:\n<url>", "Verification
  required. Please complete verification…", from
  AuthStatus.EligibilityError / IneligibilityFromResult) got the
  region/VPN advice and lost the URL in agyRefusal (models, sign-in
  probe). It now gets the same verify message with agy's link.
- A model quoting the line with more text after it keeps its text.

Run (mote, temp HOME): node --test test/repeat-batch.mjs test/usage.mjs
95 pass; bun test packages/agy-cli 37 pass 0 fail (smoke.mjs included);
bun scripts/check.mjs agy-cli ok. Windows (xiaomi-gpu, win-run):
repeat-batch, usage, windows-nc, platform 120 pass 0 fail.
Red on the old code: with origin/main's index.mjs and usage.mjs the two
new ending tests fail (a 200 reply) and the agyRefusal test gets the VPN
advice.
Not tried: a real account Google wants verified; the exact log line agy
writes for a VALIDATION_REQUIRED turn (the fixture follows Google's JSON
error's validation_url).
2026-11-16 23:04:00 +08:00
平平 92de181056 tagged: a page with its own service module is a page (#1226)
A page plugin whose page talks to a local service it ships as its
main (magpie.page.service) was read as a provider by the tagged list.
A package with magpie.page.file and its own module is now a page when
its keywords include "magpie-page"; a provider with a settings page
says no such keyword and stays a provider. Matches magpie v0.1.4331
(50a38371d). READ is 3, so every tagged repository is read again.

By xiaopeng66.

Run at 630fbbf (mote, HOME=$(mktemp -d)): bun test scripts/: 40 pass,
0 fail. Broken by hand: the keyword test forced false, "a page stays a
page when it also has a module and service" fails.

Not tried: the tagged list's real reread (it reaches GitHub).
2026-11-16 22:51:06 +08:00
wjhauannn f6cf4512dd agy-cli 0.1.80: forked sessions and subagents are kept apart by x-magpie-session and x-magpie-subagent (#1217)
Derive a session scope from x-magpie-session (magpie's synthetic
magpie-<24hex> id ignored, capped at 128) and x-magpie-subagent (capped
at 64), from init.headers or a Request's headers, and key conversations,
live-session reuse, clientSeen and tool-result matching by it. A forked
session or a subagent carrying its parent's tool_use history no longer
collides with the parent's convKey or toolCalls (409 conflicting
duplicate result, lineage_fork superseding the parent's pending turn).
A body given only on a Request is read from it.

Contributed by @wjhauannn.

Run at 46fce29f (mote, macOS, HOME=$(mktemp -d)):
- node --test repeat-batch.mjs conversation-key.mjs: 97 pass, 0 fail.
- bun test packages/agy-cli: 37 pass, 0 fail. check.mjs agy-cli: ok.
- CI: test, bumped, on-npm green.

Broken by hand: origin/main's index.mjs with the new tests: 5 fail
(55, 56, 57, 59, 60).

Checked against magpie main: the gateway sets x-magpie-session
(sessionOf) and x-magpie-subagent (subOf) on plugin requests only. A
spare takes the scope through #assign on adopt.

Not tried: a real agy account with a forked Claude Code session.
2026-11-16 21:11:27 +08:00
wang2 e0369f59ba search1api 0.1.3: Search1API as a web search API in Settings (#1219)
search1api 0.1.3 adds Search1API to magpie's Settings as a web search API. A search goes out as the Search1API account magpie picked (OAuth or API key, renewed before each search). The option key or SEARCH1API_API_KEY is used only when the host gives no account. A refusal (401, 402, 429) keeps its status and Retry-After, so magpie rests that account for search only. Results map title, url, snippet and date.

Thanks @fatwang2.

Run at the reviewed head d4bcb9da (mote, HOME=$(mktemp -d)):
- node --test tests/*.test.mjs: 27 pass.
- bun test: 27 pass.
- bun scripts/check.mjs search1api: ok.

Broken by hand: b54f3636c's src/index.ts with this head's tests fails the account-over-option-key test (3 pass, 1 fail). An earlier round with the main code made websearch.test fail 4 of 4.

Not run: tests/host.integration.mjs, or a real Search1API account.
2026-11-16 19:37:34 +08:00
yetone bf47b85b56 qoder 0.2.71: a queue with nothing ahead that hasn't moved in 5 minutes ends with its 503 (#1220)
nsyan's Qoder CN account answered 10605 in ~190ms with
{queueCount: 1, queueType: p4, subCode: RESOURCE_LIMIT,
retryAfterSeconds: 60}, and queue/status gave the same bytes back at every
ask. The 120s silent watchdog (#1204) doesn't cover a call that answered,
so a streamed request was held for QUEUE.held (an hour) and the agent
heard keepalives only until it cancelled.

- queueWait ends the wait when nothing is ahead of the request
  (queueCount 1 or none) and the state (isQueued, serviceAvailable,
  queueCount, queueType, subCode, retryAfterSeconds) has been the same at
  every ask for QUEUE.stuck (5 minutes). The stream's error is the
  queue's 503 with Retry-After, plus "the queue hasn't moved in 5 minutes
  with nothing ahead".
- A queue with others ahead is still waited out as Qoder's client waits
  it (#807), changed or not; a state that changes resets the clock.
- queueState also reads queueCount and subCode.

Run (mica, HOME=$(mktemp -d); mote was at load 36):
- bun test packages/qoder: 450 pass, 0 fail.
- bun scripts/check.mjs qoder: ok.

Broken by hand: origin/main's index.mjs with the new tests: the 5-minute
cutoff test fails (19 pass, 1 fail); the two no-regression tests pass on
both.

Not tried: a real Qoder CN account in a frozen queue (none here); the
fixture is the reporter's literal state.
2026-11-16 18:40:38 +08:00
yetone aafb20e6bf agy-cli 0.1.79: agy models runs with modelProvider cleared, so a gemini settings.json doesn't keep a stale list (#1218)
A turn runs agy acp on the bridge's folder and the Google sign-in, but the
listing, refusal and sign-in probes ran a bare `agy models`, which reads
the user's own settings.json. With "modelProvider": "gemini" there (an AI
Studio key), the listing failed without GEMINI_API_KEY in magpie's
environment and the old catalog stayed, or listed API-key mode's models.

- agy 1.5.9's global --settings takes a session-only settings.json object.
  The three `agy models` calls run as
  `agy --settings '{"modelProvider":""}' models` when agy's --help lists
  --settings (asked once per binary, cached by path, mtime and size like
  acpHelp); an agy that doesn't list it gets the bare command, as before.
  The reporter checked that this command goes back to the Google backend.
- testkit's fake answers `agy --help` and records each models spawn's
  args; its models behaviour sees them.

Run (mote, HOME=$(mktemp -d)):
- node --test on every node test file in packages/agy-cli/test: all pass
  (catalog 33, repeat-batch 54, usage 36, usage-settlement 40, ...).
- bun test packages/agy-cli: 37 pass, 0 fail (cp-hook and smoke are
  bun-only).
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new tests: the --settings
test fails (32 pass, 1 fail).

Not tried: a real agy with a gemini settings.json (the local agy account
answers 403); the flag's effect is the reporter's run. Not changed: with a
file sign-in, acp itself still reads the user's settings.json (no
--gemini-dir there).
2026-11-16 18:27:09 +08:00
yetone 7f351a101c loomy 0.1.11: a dropped session's 200 with code 100002 on chat and draw is a 401 that says the sign-in expired
jenxingyoung on X: "loomy老是轮着掉登录". Loomy's gateway refuses a dropped
or unknown session with HTTP 200 and a business code on every path, chat
included. Measured 2026-11-16 with a made-up token: /api/v1/chat/completions
(stream asked for), /api/v1/models and /api/v2/points/records each answered
200 application/json {"code":"100002","desc":"登录已失效,请重新登录"}, and with
no token 200 {"code":"100002","desc":"缺少 token"}. None of them answered 401.

The loader passed that 200 through as the model's answer. magpie took it as a
success: the agent got no completion, the next account wasn't tried, and the
account's signed-out mark (set by the usage read, which does read 100002)
came off, until the next usage read set it again. A dead account was shown
signed out, then signed in, then signed out again, one account after another.

Now a JSON 200 with a top-level code other than 000000 on chat or draw is a
refusal: 020002/100002 is a 401 with x-magpie-sign-in: expired, so the
account stays marked and magpie moves on to the next account; any other
code is a 502 with the vendor's words. SSE streams, completions and draws
(none of which has a top-level code) go through as they came.

The fake answered a refused session with HTTP 401, which is why the old
"a refused session says 401" test passed; it now answers as the real gateway
does.

Run (mote):
- new tests against the old index.mjs: 4 fail (chat refused session, chat
  100002 stream/non-stream, chat other code, draw 100002), 34 pass
- HOME=$(mktemp -d) bun test at the root: 9001 pass, 20 skip, 0 fail
  (9021 tests, 630 files); bun scripts/check.mjs ok

Not tried: a real Loomy account (no credentials), so the session's real
lifetime and whether signing in on the Loomy app drops magpie's session are
unmeasured. HTTP 401/403 from the vendor still read as signed out; no 401/403
was seen from the vendor in these probes, so that path is unchanged.
2026-11-16 18:04:25 +08:00
cyanask 34e32a1f44 company-guard 0.4.8: drop unused authorization CSS, one error map (#1215)
Drops four authorization-page CSS rules no element matches
(.authorization-heading and its p, .authorization-scope .detail-message,
.authorization-card>button) and folds the error map's three
Object.assign layers into one literal. The 12 effective messages are
unchanged; request_expired keeps the later text, the one that won
before. By cyanask.

Run at the reviewed head f9a65c28 (mote, temp HOME):
- bun test packages/company-guard: 36 pass, 0 fail.
- bun scripts/check.mjs company-guard: ok. node --check on every page/*.js.
- The new map parsed as JSON: 12 keys, request_expired = the old
  effective text.
- git grep of page/*.js and *.html: no authorization-heading, no
  .detail-message inside .authorization-scope, no button as a direct
  child of .authorization-card.

Not tried: the page in a browser; nothing it renders changes.
2026-11-16 17:29:38 +08:00
zhou.han 9720caa468 agy-cli 0.1.78: a banned account's ending is a no-retry 403, not an answer (#1214)
agy 1.5.9 writes a banned account's "PERMISSION_DENIED (code 403): This
service has been disabled in this account for violation of Terms of
Service…" ending into the reply as text, and the bridge answered it as
an end_turn 200 (#1201). The exact ending is now one of the end-of-turn
markers (split across chunks too), agyRefusal names it, and it ends the
turn as permission_error 403 with no retry: x-should-retry: false on a
non-stream reply, status 403 + noRetry in a started stream's error
event. A generic PERMISSION_DENIED, or the sentence quoted mid-answer,
is not reclassified. By yetihan.

Run at the reviewed head f4e82352 (mica, temp HOME):
- node --test test/repeat-batch.mjs 54 pass; test/usage.mjs 36 pass.
- bun test packages/agy-cli 37 pass; bun scripts/check.mjs agy-cli ok.
Broken by hand: origin/main's index.mjs and usage.mjs with the new
tests: the two #1201 bridge tests and the agyRefusal test fail.

Not tried: a real banned account.
2026-11-16 17:27:10 +08:00
Qiming Zhai fe19854bd7 feishu-sidebar 0.1.0: a page that opens Magpie Web in Feishu's sidebar (#1212)
A page plugin that turns a Magpie Web address into Feishu's
client/web_url/open AppLink (mode=appCenter), so Magpie Web opens in
Feishu desktop's left sidebar. No permissions, no request: the page only
builds the link. Addresses with credentials, a query or a fragment are
refused (keeps ?k= keys out of a shared link), and plain HTTP only on
loopback. By zhaiqiming.

Run at the reviewed head f3164eb2 (mica, temp HOME):
- bun test packages/feishu-sidebar: 3 pass, 0 fail.
- bun scripts/check.mjs feishu-sidebar: ok. bun test scripts: 39 pass.
- The page itself, with a stub bridge, in Playwright Chromium and
  WebKit at 400px, en and zh-CN: the title is translated, Enter on a
  loopback address shows the link, a ?k= address shows the error and
  hides the link, nothing scrolls sideways.

Not tried: Feishu desktop itself (the author verified it on macOS).
The package's first npm version waits for the owner; dist serves it.
2026-11-16 16:39:37 +08:00
yetone 0c685fe902 qoder 0.2.70: a call Qoder sends nothing to for 120s is dropped with a 504 that says so (#1204)
xiaotao6869 (#1204): a non-streamed Qoder CN call got no bytes for 15
minutes, and magpie serve logged only the client's 499 after 60s.
Nothing bounded the chat fetch or its first event, so a call Qoder
held open with nothing sent waited for as long as the client did, and
no line said where.

The chat call now has QUEUE.silent (120s) to get its reply headers and
first event. Past that the call is aborted and answers 504
"<site> sent nothing for 120s after the request (no reply headers |
no first event); the call was dropped", with no sign-in verdict, so the
gateway can fail over and the log names the stage. A queued call
answers its 10605 at once and a thinking model streams reasoning first,
so a real answer starts well inside it; the timer ends once the first
event is read, and a long answer is not cut.

Run (mica, temp HOME): bun test in packages/qoder 447 pass, 0 fail;
bun scripts/check.mjs qoder ok.
Broken by hand: origin/main's index.mjs with silent.test.mjs: the three
silent cases hang to bun's 3s test timeout, the answered case passes.

Not tried: a real Qoder CN account; the cause of the reporter's
silent 15 minutes is not known, this only bounds it and says where.
2026-11-16 16:32:02 +08:00
yetone 2b5e7d6602 qoder 0.2.69: a Kimi model's call-only turn carries a space, as QwenWork's Kimi needs (#1213)
nanfei892 measured it (#1213): on QwenWork, kimi-k3.1-pro answers 400
"Error in upstream response" (a 502 from magpie) to any request whose
history holds an assistant turn with tool_calls and a null or empty
content, which is how every OpenAI client records a call-only turn. So
every agent broke from its second turn on. One space is served, and
DeepSeek, GLM and Qwen on the same account take the empty turn.

qoderBody now passes qoderMessages a callText of " " for a Kimi model
(key kmodel*, or "kimi" in its key or name, on any Qoder site), and a
call-only turn takes it when it has no text. A turn with text, and every
other model, go as before.

Run (temp HOME): bun test in packages/qoder 443 pass, 0 fail (mote);
bun scripts/check.mjs qoder ok.
Broken by hand: without the callText fallback, the new test's Kimi case
fails (mica).

Not tried: a real QwenWork Kimi account (none here); the reporter's own
patch of the same line has served them since 15:50 UTC+8. Qoder CN's
kmodel gets the space too, unmeasured there.
2026-11-16 16:25:16 +08:00
cyanask 4dbb591e0b company-guard 0.4.7: receipt-based session approvals (#1211)
Company Guard 0.4.7, tracking the author's public source: receipts stay
individual requests and recent sessions are derived from the retained
25-request window; a pending application can be made from a verifiable
Codex receipt, chosen in an explicit-consent dialog, rejected, or asked
again within seven days, and none of these grants access; ordinary
successful receipts stop once full-session authorization validates.

By cyanask (#1211).

Run at f4bb2cf15e (macOS via mote-run, temp HOME): bun test 36 pass,
node --test 36 pass, check.mjs company-guard ok. The pages load nothing
from outside and set no innerHTML; new writes go through wx/0600 with the
owner check main already had.
Not tried: Windows, where process.getuid is undefined (as on main).
2026-11-16 16:22:24 +08:00
YanYunCY ea673941ed notify 0.1.5: Claude Code subagent progress summaries are side calls (#1207)
Claude Code 2.1.318+ asks a running subagent for a 3-5 word progress
label about every 30s; its end_turn reply read as the subagent's turn
ending. notify's onRequest now leaves such a request alone.

By YanYunCY (#1207).

Run at d19698067 (macOS via mica-run, temp HOME): bun test in
packages/notify 78 pass; check.mjs ok. Broken by hand: without the early
return the new progress-summary test fails. Fixtures scanned for keys,
emails and home paths: none.
2026-11-16 15:47:40 +08:00
unisong 96149cd045 pi-desktop 0.2.0: Pi-Desktop as a connect-only agent, through a plugin (#1206)
Pi-Desktop (the desktop app) as a connect-only agent, id pi-desktop-app:
magpie keeps a Pi-Desktop local-plugin folder whose manifest.json declares
the gateway as a provider with magpie's models and their thinking levels,
split into cards of at most 64 models. Pi-Desktop's database is never
written. Ships scripts/doctor.mjs, a read-only check of both sides.

By unisong (#1206).

Run at 4ded8795d (macOS via mica-run, temp HOME): bun test in
packages/pi-desktop 18 pass; bun scripts/check.mjs pi-desktop ok. The
author ran it against Pi-Desktop 0.22.0 on Windows 11.
Not tried here: a real Pi-Desktop. First npm publish waits for the owner;
dist serves it meanwhile.
2026-11-16 15:47:35 +08:00
yetone 2ac7af2a39 agy-cli 0.1.77: release 3781c50f's documents
3781c50f (a URL or text document goes to agy as text, not a 400;
daoche_wuzui on X) landed on 481ec997, which had bumped agy-cli to
0.1.76 for #1208 a minute before, so the two rebased onto one version
and bumped.mjs refused 3781c50f. This releases it as 0.1.77, with
#1208's change.

Run at this tree (mica, HOME=$(mktemp -d)): packages/agy-cli bun test 37
pass 0 fail (smoke and documents-unit included); bun scripts/check.mjs
agy-cli ok.
2026-11-16 15:12:06 +08:00
yetone 9a0414637e scripts: the opencode2 and proc tests pass on Windows
unisong reported in #1206 that tests under scripts/ fail on Windows on
main. Reproduced on the Windows box at origin/main (bun test scripts):
23 pass, 8 fail.

- opencode2.test.mjs took the packages folder from a file URL's
  pathname, "/C:/…", and join made it "\C:\…", so seven imports
  failed ("Cannot find module"). It is fileURLToPath now.
- scripts/sync-proc.mjs had the same pathname root. proc.test.mjs
  imports it, so the whole file failed to load (the eighth red).
- With it loading, proc.test.mjs showed five more on Windows: its fake
  readFile matched "/fake-proc/123/stat" while proc.mjs joins with the
  system's separator, and the kill(pid, 0) walk's skip list (written
  with "/") skipped nothing, so it walked test folders and passed its
  5s bound. The fake now matches join()'s path, and the walk compares
  "/" paths. proc.mjs itself is unchanged: it reads /proc on Linux only.

Only scripts/ changes; no package's files, so no version.

Run:
- win-run (Windows 11) bun test scripts: 39 pass, 0 fail
  (origin/main: 23 pass, 8 fail).
- mica-run (macOS) bun test scripts: 39 pass; node scripts/sync-proc.mjs
  ok, and on Windows too.

Not tried: Linux (CI runs it).
2026-11-16 15:09:02 +08:00
yetone 3781c50f52 agy-cli 0.1.76: a URL or text document goes to agy as text, not a 400
daoche_wuzui on X (magpie 0.1.4264): URL context through agy-cli failed
with "a binary or URL document block in a user message (agy's ACP prompt
accepts text and images only) is not supported". The bridge turned away
every document that wasn't a text source.

agy 1.5.9's initialize says promptCapabilities {image, embeddedContext},
and its binary has only messages.EmbeddedResource.InlineText: an embedded
resource reaches the model as inline text, so a binary file can't be
carried. What can, now is (documents.mjs):

- a URL document (http/https): its URL, said to be unread, so the model
  fetches it with the client's tools instead of guessing;
- a base64 document of a text type (text/*, JSON, XML): its decoded text,
  when it is valid UTF-8;
- a PDF or other binary inside a tool_result (Claude Code's Read of a
  PDF): a note that it couldn't be attached and to extract its text with
  a tool, so the turn goes on instead of failing.

Still refused, with what to do: a PDF attached to the user message ("paste
the document's text, attach its pages as images, or let the agent read the
file with a tool"), a Files API file_id (send it inline), a non-http URL.
There is no PDF-to-text helper here or in magpie to extract it with.
Neither note names agy, the bridge or magpie.

Run at this tree (mica, HOME=$(mktemp -d)): packages/agy-cli bun test 37
pass 0 fail (new test/documents-unit.mjs, 15 checks); smoke ALL OK (381
checks); bun scripts/check.mjs agy-cli ok.
Broken by hand: smoke with 0.1.75's index.mjs: 3 FAILURES (the URL/text
document, the PDF 400's hint, the PDF in a tool_result).
Not tried: a real agy model. The owner's agy account answers "This
service has been disabled in this account for violation of Terms of
Service", so the fix was checked against the fake agy only. The
reporter's client isn't named in the tweet.
2026-11-16 15:04:02 +08:00
yetone 481ec997a5 agy-cli 0.1.76: a tool result buried under a client's own notice settles the round, not tool_state_conflict (#1208)
A client that answered the bridge's pending call and then wrote an
assistant notice of its own and a new prompt (Hermes Agent's "This turn
did not complete…" closer) carried the result in history, not the
trailing. With no trailing results the request took the acquire path,
lineageVerdict saw the carried tool_use and answered 400
tool_state_conflict on every resend until the 30-minute result timeout.

Now, when every call of the pending turn that the request carries has a
tool_result after it, the round is settled on the client's side: the
turn is superseded (logged as lineage_answered) and the request replays
as a new session, the buried result and the new prompt included. A
carried call with no result is still a terminal conflict.

Reported by 1468323775 with the exact request shape and a live repro.

Run (mote, HOME=$(mktemp -d)):
- packages/agy-cli: bun test: 36 pass, 0 fail (smoke 382 checks).
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new smoke checks: 3
fail, with the reporter's 400 tool_state_conflict body.

Not tried: a real agy account (the local one answers 403) or Hermes
Agent itself. The live session's prompt cache is not kept on this path:
it replays as a new session, as an interrupted round already does.
2026-11-16 15:02:22 +08:00
yetone 2af72df71a workbuddy 0.2.36: a refused free window says 100% used with no made-up count
wsyfree on X: one of four WorkBuddy (China) accounts on the Routing page
read "deepseek-v4.1-flash token(估算) 200,000,000 / 200,000,000 · 已用
100%", and routing kept it for last. That is the card a WorkBuddy refusal
makes. A 429 whose named reset is still ahead, read from the ledger or a
routing trace (0.2.29), fills the window: card(win.cap, …) gave it the cap
as its count, under the "(est.)" name. The account is refused for the
model until the reset, and routing is right to keep it for last. But the
card showed a number nothing measured and called it an estimate, so it
read as magpie's estimate gone wrong.

The refused card now has no count. It shows used 100, the vendor's reset,
no amount, limit or display, and a name without "(est.)"
("deepseek-v4.1-flash tokens"; WorkBuddy AI keeps "Free model tokens").
The ledger estimate card is unchanged and still set aside, so routing
never stops an account on an estimate. Only the refusal stops one, as
before.

Run (on mote, HOME=$(mktemp -d)): packages/workbuddy bun test 383 pass,
0 fail; bun scripts/check.mjs exit 0, 59 ok.
Broken by hand: with index.mjs at 6514f69e, the four refused-card tests in
freewindow.test.mjs fail (China under the cap, the routing trace's reset,
accounts/models/builds apart, refused under the cap), 55 pass.
Not tried: the reporter's own ledger and routing trace, or a real refused
account. magpie needs i18n entries for the new name, and the mover's min
raised.
2026-11-16 14:58:12 +08:00
yetone 6514f69e62 agy-cli 0.1.75: release #1202
Releases wjhauannn's #1202 (37df65a3): a thinking+text assistant tail is
accepted, the newest history turn outlasts an oversized first one, and a
live tool-turn drop logs its reason. Its own bump named 0.1.74, which
#1051 had already released.

Run at this tree (mica, HOME=$(mktemp -d)): packages/agy-cli bun test 36
pass 0 fail; bun scripts/check.mjs agy-cli ok.
2026-11-16 14:17:08 +08:00
wjhauannn 37df65a3f1 agy-cli: a thinking+text assistant tail is accepted, the newest history turn outlasts an oversized first one, and a live drop logs its reason (#1202)
wjhauannn's PR, reviewed at 3b85727243488a64d90f25a2f28f5cc5c3b9b471:

- assistantTextOf skips thinking / redacted_thinking blocks, so a trailing
  assistant prefill carrying thinking + text is no longer a 400; thinking
  + tool_use is still refused.
- renderInitialPromptParts: when an oversized history[0] leaves no room
  for any later entry, history[0] is clipped so the newest history turn
  before <current_turn> is kept (clipped to the room left if needed).
- A live tool-turn drop logs a drop_live event with its reason
  (interrupted, image_result, history_mismatch, tools_grew, work_dir,
  instructions), and session_new records that reason, not no_live.

Run at the reviewed head cherry-picked onto origin/main 3d9ac97f (agy-cli
0.1.74, #1051), HOME=$(mktemp -d), mote: packages/agy-cli bun test 36
pass 0 fail; test/repeat-batch.mjs 51 pass 0 fail; bun scripts/check.mjs
agy-cli ok.

Broken by hand (mica): origin/main's index.mjs with the PR's tests: the
three new tests fail (A16 newest history turn, thinking+text tail,
drop_live reason), 48 pass.

The PR's version bump (0.1.74) is already on main; the release is the
next commit's 0.1.75.
2026-11-16 14:14:49 +08:00
yetone 3d9ac97f91 agy-cli 0.1.74: a turn the conversation went on without is replayed at once, not after two 409s (#1051)
NieiR's logs on #1051 (agy-cli 0.1.69, agy 1.5.9, OpenCode through a
routing group of google, devin, neko and agy-cli): agy-cli left a turn
detached with 5 pending calls at 13:51:47, the group served the next 16
requests on google and neko, and at 14:07:36 google's 429 failed back
to agy-cli with google's own tool round at the tail. None of those ids
were agy's, the held turn was neither stale nor expired, so the request
got 409 "no active MCP call matches these tool results" twice and was
replayed only at the third try (NO_PROGRESS_REPEAT_LIMIT).

movedOnVerdict counts such a turn as stale ("moved_on") on the first
request: its calls are pending, at least one of its calls is in the
client's history, and after the last of them comes an assistant tool
round whose ids don't have the bridge's shape (toolu_ + 24 hex). It is
asked in the unmatched-results path and again under the lock in
recoverStaleTurn, so the reclaim and replay are the existing ones.

Left as before: a sibling request that only leaves the turn's calls out
(a side request, a compaction fork) still gets 409 and needs three, as
smoke.mjs's "unmatched results alone cannot supersede" and A7 check; a
later round with ids of the bridge's shape is not taken as moving on.

Run (mote, HOME=$(mktemp -d)):
- packages/agy-cli bun test (all suites, smoke included): 36 pass,
  0 fail; repeat-batch.mjs alone: 48 pass.
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new tests: the moved-on
request answers 409 (the first new test fails); the own-shape test
passes on both.

Not tried: a real routing group failing over to real agy.
2026-11-16 13:37:11 +08:00
yetone 369643183f agy-cli 0.1.73: a batching call Hermes split into one call per entry is folded back (#1150)
NieiR traced a Hermes Agent turn (agy 1.5.9, chat/completions) that
ended in 409 "some tool results do not belong to the active response"
(#1150): agy called Hermes' batching tool once, tool_call({calls: [4]}),
and Hermes wrote it into its history as four tool_calls of one entry
each. The first kept the bridge's toolu_ id; the other three got
call_<hex> ids of Hermes' own, each with a result. Only the first
matched a bridge call, so the round was refused and Hermes gave up the
turn.

foldSplitCalls, run on the canonical body before anything reads it,
folds such a round back into the one agy made: the calls' array field
joined in order under the first (bridge) id, and their results joined
in order as that call's one result (an error only if every part was).
It folds only when a run of same-named calls opens with a bridge id
(toolu_ + 24 hex), every other id is not one, every input is an object
with the same single array field, and either every call has its result
or none has (a round still waiting). Two calls the bridge made itself
are never folded. README (zh, en) says so.

Not in this change: NieiR's second finding, that #selfPollCapped stays
off for a turn once any of its calls was seen by the client, so an
orphaned turn keeps generating every 150s until the 30-minute result
timeout. Left for its own commit.

Run (mote, HOME=$(mktemp -d)):
- packages/agy-cli bun test (all suites, smoke included): 36 pass,
  0 fail; repeat-batch.mjs alone: 46 pass.
- bun scripts/check.mjs agy-cli: ok.

Broken by hand: origin/main's index.mjs with the new tests: the split
round answers 409, as reported; the never-fold test passes on both.

Not tried: real Hermes Agent against real agy. The test drives the
bridge through its real entry points with a fake agy.
2026-11-16 12:57:58 +08:00
yetone 28ba363943 zen-free 0.1.28: DSH's edit, read and skill go reworded, edit and read renamed (#632)
SuperWheel bisected DSH 0.2.2-rc.3's 37-tool request against Zen on
2026-11-16 (#632): with 0.1.27 it still drew 429 FreeUsageLimitError.
Alone, only edit, read and skill were refused. Each of those three
descriptions was refused under a neutral name; edit and read were
refused by name together with their own parameters (neutral
description), while the same parameters under `foo` were served.

- REFUSED_DESCRIPTIONS: the three descriptions, matched whole after
  trimming, go reworded with the same meaning.
- REFUSED_WITH_PARAMETERS: edit (file_path, old_string, new_string)
  goes as text_replace, read (file_path, offset, limit) as file_view;
  a call of either comes back under DSH's name through the existing
  renamed map. A read or edit without those parameters (OpenCode's own
  read takes filePath) keeps its name.
- normalizeTools now renames before it adds the core stand-ins, so a
  renamed edit or read still has Zen's stand-in of that name beside it;
  `declared` is taken before the rename, as before.
- README says so.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/zen-free: 228 pass, 0 fail.
- bun scripts/check.mjs zen-free: ok.

Broken by hand: origin/main's provider.mjs with the new tests: the DSH
test fails on all three protocols.

Not tried: Zen itself. This machine's address is over Zen's free
allowance, so the reworded descriptions and the new names are not known
to be served; they are a guess built on the reporter's table (shorter
wordings and other names were served there). SuperWheel is asked to
replay the same 37 tools through 0.1.28.
2026-11-16 12:45:56 +08:00
yetone 054876c9aa trae 0.2.40: an enterprise seat pool of nothing is an error naming what was read, not a blank card (#1143)
shex816's Trae CN enterprise account (#1143) shows in /v1/magpie/quotas
as {plan: "Enterprise", user: "Signed in", windows: []}: no error, no
window. That is ent.read when the console's seat pool is 0 (not
unlimited) and the credits page gives no row, so the card stood empty
with no word of why.

- Trae CN: with no window and no balance, the read is an error naming
  the pool and what the credits page did ("could not be read", "shows
  no allowance", "says unlimited").
- Trae Global: a pool of nothing is an error naming the pool.
- A pool of nothing beside a credits page with an allowance still shows
  the credits row, as before.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/trae: 277 pass, 0 fail.
- bun scripts/check.mjs trae: ok.

Broken by hand: 0.2.39's index.mjs with the new tests: 3 fail (the two
CN errors, the Global error); the credits-row test passes on both.

Not tried: shex816's real account (the pool of 0 is inferred from the
empty card's shape; their console answer is not in hand).
2026-11-16 12:41:09 +08:00