main
1354
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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). |
||
|
|
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). |
||
|
|
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. |
||
|
|
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. |
||
|
|
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.
|
||
|
|
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).
|
||
|
|
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.
|
||
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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). |
||
|
|
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. |
||
|
|
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. |
||
|
|
2ac7af2a39 |
agy-cli 0.1.77: release 3781c50f's documents
|
||
|
|
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). |
||
|
|
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.
|
||
|
|
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. |
||
|
|
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
|
||
|
|
6514f69e62 |
agy-cli 0.1.75: release #1202
Releases wjhauannn's #1202 (
|
||
|
|
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
|
||
|
|
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. |
||
|
|
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. |
||
|
|
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. |
||
|
|
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). |
||
|
|
5a25075b91 |
trae 0.2.39: an enterprise seat chats on its console again; a console that answers 4245 marks the seat for the gateway (#1155, #1127)
0.2.36 (
|
||
|
|
1823ff3a13 |
proc: deepzora and gumloop ask the shared proc.mjs whether a lock's owner lives (#1164)
#1198 (yetihan) moved 15 packages' liveness checks onto scripts/proc.mjs, so a Linux zombie no longer holds a lock. Two were left on a bare kill(pid, 0), which answers for a zombie as for a live process: - deepzora's bridge lock (bridge.mjs lock(), the same code as reasonix-desktop's, which #1198 fixed): a zombie owner left "Another bridge operation is running" until the zombie was reaped. - gumloop's ledger lock peers (gumloop.mjs isAlive): a zombie peer was counted live, so its ticket was waited on. Both now import a synced proc.mjs (scripts/sync-proc.mjs lists 17 copies; both package.json files ship it). gumloop's crash-window test writes its instrumented copy into a temp dir, so proc.mjs is copied beside it. A new guard in scripts/proc.test.mjs fails when any package file outside tests and proc.mjs calls kill(pid, 0). deepzora 0.2.1, gumloop 0.1.2. Run (mote, HOME=$(mktemp -d)): - bun test scripts/proc.test.mjs packages/deepzora packages/gumloop: 111 pass, 0 fail. node --test scripts/proc.test.mjs: 9 pass. - deepzora node --test deepzora.test.mjs: 13 pass. - node scripts/sync-proc.mjs --check: ok. bun scripts/check.mjs: ok. Broken by hand: main's bridge.mjs and gumloop.mjs with the new tests: the guard names both files, and the copies test fails on deepzora. Not tried: a real zombie owner for these two (#1198's fork-based zombie check covers proc.mjs itself); a real Gumloop or DeepZora account. gumloop under node --test fails 3 of 3 on bun:test imports, the same on origin/main. |
||
|
|
9e86a2c7b7 |
proc: a Linux zombie no longer holds a lock (#1198)
yetihan (#1198): a lock whose owner is a Linux zombie was held for good. process.kill(pid, 0) succeeds on a zombie, so 15 packages' lock and liveness checks counted an exited, unreaped owner as alive. - scripts/proc.mjs: processStatus(pid) is dead on ESRCH, and on Linux also when /proc/<pid>/stat says Z or X; EPERM is "permission", any other error "unknown". processAlive / processExists keep each caller's old EPERM and unknown-error meaning. - scripts/sync-proc.mjs copies it into each package (--check in the tests); every package's own check keeps its old semantics, now with zombies dead. agent-console's daemon bundle and window-warmup's dist are rebuilt. - 15 packages bumped. Review run at 28ef6622 (mote, HOME=$(mktemp -d)): - node scripts/sync-proc.mjs --check: ok. - bun test (whole repo): 8934 pass, 0 fail. - bun scripts/check.mjs: every package ok. - window-warmup's build reproduces its dist/plugin.js byte for byte. agent-console's bundle diff read line by line: the proc module plus esbuild's renumbered imports, nothing else (esbuild isn't installed on mote, so it wasn't rebuilt there). - Real zombie on Linux (WSL, magpie-desktop): a bash child left unreaped by an exec'd sleep, /proc stat "Z": the old kill(0) check says alive, processStatus says dead; the running process says alive. Not tried: each package's lock contention end to end. |
||
|
|
0b0b180957 |
agy-cli 0.1.72: Orchestrator isn't listed, since through the bridge it is its planner alone
@jiangnan_ on X (magpie 0.1.4283, agy 1.5.9): "Orchestrator (Carbon)" through the bridge is single Carbon with no effort levels and no limits. Orchestrator pairs a planner (Carbon or Argon) with Gemini 4 Hydrogen, which applies edits and runs builds with agy's own tools (Antigravity's models page). The bridge's agent has tools: [] so the client's tools are the only ones, and the handoff can't happen. Making it work would mean agy editing the disk outside the client, which the bridge exists to avoid. So: - gemini-pro-orchestrator* rows (or names starting "Orchestrator") are left out of the listed and the routed catalog. - A request naming one gets a 400 (no retry) naming the model it would really run: gemini-4-carbon, or gemini-4-argon for -argon/-g1-pro, which have their effort levels and limits. - Limits for the families that had none, from sourced numbers: claude-sonnet-4-6 / claude-opus-4-6(-thinking) 250000/64000, gemini-3.5-flash 1048576/65536 and gemini-3.1-flash-lite 1048576/65535 (Antigravity's own model list, magpie's testdata/antigravity-models-2026-10-20.json); gemini-4-hydrogen 1048576/65536 (Google's own API listing in models.dev). Hydrogen's four efforts already grouped. gemini-3.6/3.7-flash and gemini-3-flash-preview stay without limits: no source names theirs. Run (mote, sandbox HOME): bun test packages/agy-cli/ 36 pass; bun scripts/check.mjs ok. Broken by hand: the new catalog test against origin/main's index.mjs is red (Orchestrator listed, no Hydrogen limit). Not tried: no Ultra or Pro account here (the owner's is free tier), so no real Orchestrator, Carbon or Hydrogen request was sent, and the planner-only behaviour is from the docs and the bridge's tools: [], not observed. |
||
|
|
22272f1be8 |
tabbit 0.1.5: a 403 that is an HTML error page is not a lapsed sign-in (#1199)
yukinomon measured it (#1199): Tabbit's international site answered the daily check-in with a 403 whose body was a "Service Unavailable" HTML page, with no server or cf-ray header (every JSON answer there carries server: uvicorn). 0.1.4 took every 403 but the 492 paywall as a refused sign-in, so magpie marked the account for a new sign-in; the same token answered every route half an hour later. - refusalOf calls a 403 whose non-empty body isn't JSON a page; call() throws it as a plain TabbitError with the page's <title>, with no signIn and no "refused the sign-in" text. - It settles nothing about the token's site: an unsettled token isn't sent to the other site for it, and such a page from the other site leaves the site unsettled too. - A 401, and a 403 with Tabbit's own JSON, are refused sign-ins as before. Run (mote, HOME=$(mktemp -d)): - bun test packages/tabbit: 91 pass, 0 fail. - bun scripts/check.mjs tabbit: ok. Broken by hand: origin/main's api.mjs with the new tests: 2 fail (the chat path and the check-in path). Not tried: a real Tabbit account behind such a page; the page's bytes are the reporter's. |
||
|
|
df52820f18 |
tagged: an agent plugin with a module of its own is an agent, and hooks are read (#1200)
kingchen95272025 (#1200): scripts/tagged.mjs only read magpie.agent when a package had no main or exports, so an agent plugin that keeps a host module (cursor-bridge-enhanced 0.2.17, magpie-agent-deva, magpie-kiki) had no kind in dist/tagged.json and Discover showed it under Providers, while magpie's own readTagged (internal/plugin/ github.go, since plugins#737) calls it an agent. tagged.mjs also had no hooks branch. - scripts/tagged-kind.mjs holds kindOf and entryOf, mirroring readTagged: middleware, page and hooks only without a module of their own; magpie.agent always. The file checked is the package's module when it has one, else the file its kind declares, as readTagged does. - tagged.json carries read: 2. A file read the old way is read again whole on the next run, so entries not pushed to since are corrected too, not only new pushes. version stays 1, which the site's worker checks. Run (mote): - bun test scripts/: 30 pass, 0 fail. - node scripts/tagged.mjs on a copy of dist's tagged.json, against GitHub (no token): 442 plugins, 0 unread, read 2. The three repos #1200 names, and 30 more, went from no kind to agent; 8 hooks repositories got hooks. No entry changed kind any other way. Which repositories the topic search returns differed from dist's file (16 gone, 10 new); that comes from the search, not this change. Broken by hand: kindOf with the old nesting: 2 of 3 tests fail. Not tried: the tagged workflow itself; it runs on its half-hourly schedule after this lands. |
||
|
|
d7265c17e4 |
agy-cli 0.1.71: a new conversation takes a spare agy that is already started
A new conversation spawned `agy acp` and waited for initialize before session/new. Now, after a conversation starts, the plugin warms one spare agy for the same account, binary, folder, flags and environment: spawned and initialised, with no session. The next new conversation for that key opens its session on the spare and skips agy's start. Then another spare is warmed. Only the process is warmed. On WSL with agy 1.5.9, measured through a logging HTTPS proxy, spawn + initialize + 45s idle made no connection to any host. session/new is where agy sends Code Assist calls (loadCodeAssist, fetchAvailableModels, quota, user info, experiments), plus telemetry. Closing an unused session writes its trajectory ACLs at Google. Sessions also carry the conversation's own instructions. So sessions are never opened ahead. agy reads its sign-in at session/new, so a spare picks up a sign-in that changed after it started. Spares are stopped when idle (IDLE_MS), first when the pool needs room, never warmed when the pool has one slot left, at most 2 at a time, and with the host (reapOnExit). agy also exits when its stdin closes. AGY_BRIDGE_SPARE=0 turns them off. TTFT of a second new conversation (test kit fake agy, initialize 1000ms, session/new 3000ms): first 4026ms, second 3008ms; before, both ~4s. Real agy start, measured on WSL: ~1s cold, ~0.25s warm. That is the saving. The ~3s session open (Google) and model latency remain. Run (mote): - test/spare.mjs on the old index.mjs (AGY_BRIDGE_TEST_INDEX): 6 of 7 red, only the AGY_BRIDGE_SPARE=0 case green. On the new index.mjs: 7 of 7 green. - `HOME=<sandbox> bun test packages/agy-cli/`: 36 pass, 0 fail. - `bun scripts/check.mjs` ok. The test kit defaults AGY_BRIDGE_SPARE=0 so suites that count spawns keep their counts. Not tried: a real signed-in account through the spare path, native Windows agy, macOS agy. |
||
|
|
a96714544e |
zcode 0.1.67: ZCode 3.18's enc:v2 sign-in is named as unreadable, not as signed out (#1196)
hupeak (#1196): ZCode 3.18 writes credentials.json's values as "enc:v2:os:<…>:<…>". decrypt reads enc:v1 alone, so the jwt read as null and the card said "this sign-in has no ZCode session: sign in again", which signing in again can't fix: ZCode writes enc:v2 again. The new form looks bound to the system's own key store (the "os" part); this change doesn't try to read it. - A ZCode app sign-in that finds values in an enc: form other than v1 fails with "ZCode 3.18 keeps its sign-in in a new form this plugin can't read yet: add the account with a Z.ai or BigModel sign-in", instead of "ZCode isn't signed in on this computer". - An account signed in "as ZCode" before has the same words on its card's gift line. A browser sign-in, or enc:v1, keeps the old words. Run (mote, HOME=$(mktemp -d)): - bun test packages/zcode: 272 pass, 0 fail. - bun scripts/check.mjs zcode: ok. Broken by hand: origin/main's index.mjs (with giftSignIn exported) and the new test: 1 fail, the sign-in says "ZCode isn't signed in on this computer". Not tried: ZCode 3.18 itself (not installed here); the stored values are the shape the reporter showed. Reading enc:v2 is not done; #1196 stays open for it. |
||
|
|
4e0cdabbba |
codearts 0.3.22: OfficeAce's first rates read is tried again, and its fallback lists only callable ids (#1197)
yukinomon measured it (#1197): when the billable list's first read after a start failed, the listing fell back to OA_FALLBACK_MODELS, and 7 of its 10 ids are no longer in OfficeAce's catalog while 6 of the 9 callable ids were missing from it. The in-process cache holds no table at start, so one blip put the old list in front of the user until the next listing. - fetchOfficeAceTokenRates reads once more (after 400ms) when it has no table to keep; a network error, a non-2xx, an unparseable or an empty answer each count as a failed read. With a table held it reads once, as before. - OA_FALLBACK_MODELS is the 9 ids the reporter measured as callable (catalog ∩ rates on 2026-11-16). - With no rates table at all, the listing is the account's catalog cut to those known ids, so an id the catalog has dropped is not listed; the static table only when that leaves nothing. Run (mote, HOME=$(mktemp -d)): - bun test packages/codearts/index.test.mjs: 215 pass, 0 fail. - bun scripts/check.mjs codearts: ok. Broken by hand: origin/main's index.mjs with the new tests: 3 fail (the retry, the dropped ids, the catalog-cut fallback). Not tried: a real OfficeAce account (none here); the ids come from the reporter's measurement. |
||
|
|
175dfd2555 |
agy-cli 0.1.70: say when Google refuses the account (#3501) instead of a fallback list
Three X reports (16 Nov): "You do not have a valid license of this product (#3501)", "models can't be fetched", and "magpie's agy proxy stopped working". agy 1.5.9 gets Google's 403 #3501 on its eligibility check and fails every command with it (agy models, agy -p). The plugin hid it: models() fell back to the static catalog as if the account had those models, usage said only "not eligible", and a request got 400 "model ... is unavailable to this agy account" because the ACP session offers none. Now: - usage.mjs: agyRefusal() reads Google's refusal out of agy's output (#3501 first, else the eligibility line), never from agy's own log lines or a network failure; usage reports the #3501 text with what to do (update agy and sign in again, personal Gmail, unset AGY_ADC_AUTH, VPN/region). - index.mjs: a failed `agy models` records the refusal per agy home; models() throws it (magpie shows it as the list error) instead of the static catalog, and recovers when agy lists again. A request whose session offers no model, or whose turn ends on the refusal, answers 403 permission_error with the reason (stream and JSON), not 400. After a sign-in, magpie shows "agy signed in, but" and the refusal. - README (zh, en): a Troubleshooting entry for #3501. Run (mote, HOME=$(mktemp -d)): - bun test ./packages/agy-cli: 35 pass, 0 fail (110s); bun scripts/check.mjs ok. - test/usage.mjs with cp-hook preload 6 more times: 0 fail. One earlier run had "a direct read that fails leaves the region refusal standing" red with "agy usage could not start the CLI" at load ~28; the same red shows on the base tree ( |
||
|
|
b35d4b35b2 |
agy-cli README: the plugin calls Google itself only for a region-refused quota read
0.1.69 (
|
||
|
|
99b042def4 |
agy-cli 0.1.69: a region agy refuses still has its quota read
01dadada on X: "额度读取有问题。绕过查额度前询问地区限制就可以查到". agy
1.5.9's print mode waits for its eligibility verdict before any command,
/usage too. Where loadCodeAssist names an ineligible tier
(UNSUPPORTED_LOCATION) and no current one, agy prints {"status":"ERROR",
"error":"Eligibility check failed: Your current account is not eligible
for Antigravity, because it is not currently available in your
location."} and exits 1, though its own retrieveUserQuotaSummary had
already answered 200. Recorded through CLOUD_CODE_URL and a proxy that
rewrote loadCodeAssist's reply that way.
When agy refuses /usage for eligibility (not "Eligibility check failed:
EOF", a network failure), usage.mjs now makes agy's two requests itself:
POST /v1internal:loadCodeAssist {"metadata":{"ideType":"ANTIGRAVITY"}},
then /v1internal:retrieveUserQuotaSummary {"project":<its
cloudaicompanionProject>}, with agy's stored sign-in (signin.mjs
storedToken, the keyring or the account's token file), agy's User-Agent
(antigravity/cli/<version> (aidev_client; os_type; arch; cl;
auth_method)), Content-Type and Accept-Encoding gzip, at CLOUD_CODE_URL or
daily-cloudcode-pa. An access token under two minutes from its end is
renewed in memory with agy's client and never written. Any failure of
that read leaves agy's refusal as the error, with no windows: unknown,
never 0 or full. Users whose check passes: unchanged path.
Run:
- packages/agy-cli test/usage.mjs on mica: 35 pass.
- the new tests on the old usage.mjs (stub exports added so it loads):
the region test is red (result.error set, no windows), as are the UA
and renewal tests; the two "stays unknown" tests pass on both.
- packages/agy-cli `HOME=$(mktemp -d) bun test` on mote: base 35/35,
this change 35/35 (both on base 1260b2ba; the rebase onto
|
||
|
|
2252950463 |
agy-cli README: agy runs a model's parallel tool calls one at a time (#1193)
agy checks each bridged tool call with its own sir_flash_lite monitor (about 1.3-2.6 s) and sends the next call only after the previous result is back, so N calls reach the client as N replies with one tool_use each. The plugin has no switch for it and won't rename tools to agy's own names to get past the check; the README now says so. Run: none; README only (bumped.mjs leaves README.md out). |
||
|
|
c0c625ac7d |
antigravity 0.2.1: serves again for whoever has it; magpie gives it to nobody new
The owner (11-15): "正在使用的继续正常,加个提示,新用户不让下载".
0.2.0 answered every request with a 410. 0.2.1 restores the plugin as
0.1.18 had it (git checkout
|
||
|
|
1260b2ba40 |
devin 0.1.44: a long conversation Devin refuses is sent so it can take it
a1pha1nthefog on X: a long session through Devin got "There is an issue with this request, please try a different model" on every turn, quota left, while a new session worked. On a real Devin account (claude-haiku-5-5 and others), Devin answers invalid_argument with that text to each of these, and each stays in the conversation: - a picture whose bytes aren't the type it is said to be (a PNG labelled image/jpeg or image/webp): now sent as the type its bytes are; - a user prompt of white space alone: no longer sent (both wires); - a thinking signature Devin didn't give (a fake one, or one from another Claude provider): the request goes again once without signatures; - a conversation past the window (2400KB of Go, ~1.01M tokens on a 1M window; 2350KB passed at 991,278): past half the window by a bytes/4 estimate, the refusal is a 400 "input is too long for the model's context", which magpie's gateway turns into prompt-too-long so the agent compacts. Not changed: up to 150 images, empty and image-only tool results, documents, redacted_thinking and Devin's own signatures across six Claude models all passed on the old code. Run at 7a3d33c7 on mote: HOME=$(mktemp -d) bun test, 8818 pass, 20 skip, 0 fail; bun scripts/check.mjs ok. long-session.test.mjs on origin/main's index.mjs: 5 of 7 red (the 2 green are the unchanged cases). Real account on the new code: mislabelled JPEG and WebP, a fake signature, one in a tool loop and a white-space user prompt all 200; 2400KB is 400 invalid_request_error "input is too long ... about 602459 tokens or more, for claude-haiku-5-5-low's window of 1000000". Not tried: the chat-completions path against the real account, models other than Claude, and which of the four the reporter hit. |
||
|
|
9907c187b2 |
agy-cli 0.1.68: bring in the retired Antigravity plugin's accounts
A user asked on X (@tongzhenbao) to move the accounts signed in on the
retired Antigravity plugin (provider "antigravity") into agy-cli in one
click. That plugin signed in with Antigravity's own Google OAuth client
(1071006060591-tmhssin2h21lcre235vtolojh4g403ep), and agy's own
`agy acp --login` link uses the same client id, so agy can take those
refresh tokens as its own: nothing is sent anywhere agy doesn't already
send its sign-in, and no other client is spoken for.
auth.import (magpie's "Import accounts from a file…") now takes:
- the old plugin's saved oauth entry, one, a list or plugin-auth.json's
map of them (refresh "<token>|<project>", accountId = email);
- agy's own token file / keyring value (go-keyring-base64: prefix too).
A bare refresh token or another tool's export is refused, since it may be
another client's. Each account gets its own agy home with the token file
agy writes (0600), and is added only once `agy models` runs there; one agy
refuses leaves no home. An account already signed in (same email) gives
its existing key back.
Run:
- mote: packages/agy-cli `HOME=$(mktemp -d) bun test`: smoke, signin,
cloak, install all pass; test/usage.mjs red (3 of 30, different each
run) and red the same way on pristine origin/main
|
||
|
|
e5cb9598c8 |
agy-cli 0.1.67: more than one Google account, each with its own usage
tongzhenbao on X wanted several accounts with their usage, as the old built-in had. agy keeps one sign-in where it looks for it (the system keyring's single "gemini"/"antigravity" entry), so the plugin was single: true and its second sign-in way replaced the account. Now the first account is agy's own, unchanged, and "Add another Google account" signs another one in to an agy whose home is the account's own (XDG_STATE_HOME/magpie-agy-bridge/accounts/<id>). Every agy run for that account (sign-in, models, usage, requests) gets HOME (USERPROFILE on Windows) there and SSH_CONNECTION set, which agy 1.5 reads as an SSH session and so keeps the sign-in in .gemini/antigravity-cli/ antigravity-oauth-token under that home rather than the keyring. The account's home is saved in its metadata (agyHome); the loader, usage and models run its work in an AsyncLocalStorage scope that childEnv and the stored sign-in read follow. Its conversations are keyed apart, and it gets no --gemini-dir (its token is under its own .gemini). single: true is gone, so each account has its own row and usage and rotates like any other. Checked by hand before writing it, with real agy and planted (expired) tokens in sandbox homes: agy read the file token from the sandbox HOME on macOS (mote) with SSH_CONNECTION set, on Windows (xiaomi-gpu) with USERPROFILE set, and in WSL. The live keyring was never touched. Run: - packages/agy-cli `HOME=$(mktemp -d) bun test` on mote: 35 pass, 0 fail. - bun scripts/check.mjs on mote: ok. - test/smoke.mjs on Windows (win-run): ALL OK (369 checks). - Broken by hand: the new smoke checks against the old index.mjs, signin.mjs and platform.mjs: 6 FAILURES (the method, single, the home, SSH_CONNECTION, the saved account, the failed home's cleanup). Not tried: a real Google sign-in of a second account, so agy writing the token file under SSH detection is known from file-mode users (plugins#1165) rather than seen here. Signing an added account in again makes a new home and leaves the old one (~800K). Every account shares one model catalog. |
||
|
|
8059af3148 |
company-guard 0.4.6: custom rules, history and receipt recovery (#1173)
What changes:
- Custom rules: you can manage your own masking rules (aliases, checks for duplicates and limits, warnings before discarding edits) on their own subpage.
- History: rule-version and authorization history, up to 100 entries.
- Masking: tool schemas' enum, const, default and examples values are now masked.
- Receipts: a damaged receipt keeps the stages that are still valid.
- Dist check: `npm test` first checks that dist matches its source.
Version 0.4.3 to 0.4.6.
Run at 13ad10a8 on mica, which merges cleanly over
|
||
|
|
fc0c5a882e |
atomcode 0.3.1: send x-atomcode-session-id (#1185)
AtomCode's glm5.3-flash group answers 403 "access disabled by request policy" when a request has no x-atomcode-session-id (#1186). The plugin now sends one: - chat.headers fills it with the session id of the conversation the agent is in; - the loader falls back to one random UUID per signed-in account when the hook didn't run or the session is empty. Version 0.3.1. Run at bbdbcc7a, with no atomcode changes on main since its base: - `bun test packages/atomcode` on mote: 164 pass, 0 fail. - `bun scripts/check.mjs atomcode`: ok. Broken by hand: with main's index.mjs and the PR's tests, run on mica, 3 tests fail (header and signature, per-account stability, chat.headers). The other 161 pass. Not tried: the live AtomCode gateway. The author's probes compare the same request with and without the header (200 against 403). Co-authored-by: aqiu817 <19250671+aqiu817@users.noreply.github.com> |
||
|
|
735e83e621 |
raccoon 0.1.13: the daily pool is its own window (#1178)
The raccoon card shows the daily pool (`daily_points`: 300 credits a day, each lasting 7 days) as its own "Daily pool" window, read as used / limit with a limit of max(2,100, daily_points, the unexpired daily grants in bills), along with its next expiry. When the pool is shown, routing weighs it and the aggregate Credits window becomes display-only (`aside`). The `setting_info` fallback and accounts with a daily pool of 0 keep Credits as the only weighted window. Version 0.1.13.
Run at 7d2bbf94 on mote (rebased on
|
||
|
|
2f8f061a2c |
devin 0.1.43: adjacent signed thoughts replay without an empty prompt (#1183)
After a gateway web search, one Claude assistant turn can hold two adjacent
signed thinking blocks before the answer. On replay the first went out as an
assistant prompt with no text and no call, and Devin answered the next
request 400 (yetone/magpie#6742). The last block of each adjacent run now
goes on the prompt that follows, with its own text and signature; the
earlier ones are dropped, as the API drops earlier thinking anyway.
Reviewed at 163f08fe0, merged onto main
|