18 Commits
Author SHA1 Message Date
yetone 42acd18435 doubao-work 0.1.13: the built-in models, before the menu is read, are marked fell back
With Doubao closed or the menu read failed, models() served the built-in three (or an older cache) unmarked.

Archivemylife on X (agy-cli): "配置后报存提示成功,再打开还是全部都启用".
The same class as agy-cli 0.1.61: a list that isn't the account's own,
handed back as if it were, makes magpie relist on it and drop the models
the user picked that aren't in it. Marked with
Symbol.for("magpie.fellBack"), magpie's plugin host keeps the last good
list (keepListed) and the picks.

Run (mote-run, HOME=mktemp -d): doubao-work.test.mjs 59 pass on this change: all pass.
Red on the old code with the new test: "models() and usage never start Doubao" fails.
Not tried: a real account.
2026-11-15 14:03:54 +08:00
yetone 4ea39f0155 doubao-work 0.1.12: a bare {"tool_calls":[…]} reply is its calls (#1114)
The sibling of qoder's #1113 (0.2.68). A reply that writes its calls as
one JSON object in OpenAI's own wire shape went out as the answer with
"stop". A whole {"tool_calls":[…]} object on a line of its own, outside
code, is now those calls (finish tool_calls), with arguments as an object
or as a JSON string. While the reply streams, such a line, or a tail that
could become one, is held and never shown as text. JSON in prose or in a
fence, an empty list, a nameless entry and unreadable arguments stay text,
as an unreadable <tool_call> block does in this package.

Run: bun test in packages/doubao-work on WSL (magpie-desktop),
HOME=$(mktemp -d): 62 pass, 0 fail (jsoncall.test.mjs new, with #1113's
bytes). bun scripts/check.mjs doubao-work ok.
Broken by hand: without the lift and the hold, both jsoncall tests that
are about them go red (2 fail).
Not tried: a real Doubao reply in this shape; none has been reported.
2026-11-14 09:58:53 +08:00
yetone 6753271861 doubao-work: the README says listing models and usage read only an open window (#1117) 2026-11-14 09:31:18 +08:00
yetone 37ef8ffa96 doubao-work 0.1.11: listing models and reading usage never start Doubao (#1117)
On Windows magpie's model list and usage read each brought 豆包工作 up
with no request sent, and a single-instance app handed the second launch
to the copy already on the plugin's profile, so start waited on a fresh
port nothing listened on and the window kept coming back.

- quota() and ensureList() attach only to a window already open
  (App.running); a closed one is the app_closed error for usage, and the
  list is read on the next request. Only a request starts the app.
- App.start finds its own copy (now on Windows too, via WMI command
  lines) and waits on that copy's --remote-debugging-port instead of
  spawning another. A copy on another profile stops start on macOS only:
  Windows keeps one copy per profile.
- The port file is written only once its port shows the app's pages.
- A models.json from an older version keeps its models (less 快速 and
  专家) as a never-read list, instead of falling back to three models.

Run: bun test in packages/doubao-work on WSL (magpie-desktop),
HOME=$(mktemp -d): 59 pass, 0 fail. bun scripts/check.mjs doubao-work ok.
Broken by hand: with quota/ensureList launching again, "models() and
usage never start Doubao" goes red; without the own-copy attach, "App
waits for its own copy on that copy's port" goes red (2 fail).
Not tried: the real app on Windows (no 豆包工作 there); the WMI query
is tested against a recorded shape only.
2026-11-14 09:18:29 +08:00
yetone c95e20a352 doubao-work 0.1.10: lists 工作任务's real models from brief_list, with 推理强度
XingHeJin on X: 豆包工作 listed only 快速 and 专家, and 测试模型 failed,
while the app offers 自动, 豆包 2.1 Lite/Pro, DeepSeek V4.1 Flash, Kimi
K3.1 Pro (高速), Kimi K3, GLM 5.3 (Flash) and DeepSeek V4 Pro, each with a
推理强度 submenu.

Cause: discover read the model menu of whatever page was open. In 豆包 that
can be the 对话 page, whose menu is 快速/专家; that list was cached, and
pickModel("快速") then failed in the 工作任务 the request opened.

- The list now comes from the request the app's own page makes,
  alice/slot/action_bar_v3/brief_list (coco_deep_thinking, mode_id 3), with
  each model's model_item_key and 推理强度 levels. When it can't be read,
  the menu is read inside a new 工作任务, never the current page's.
- models.json carries a version; a 0.1.9 cache is read again.
- A model is found by id, by Doubao's key or by its name.
- Each model's 推理强度 levels are variants; reasoning_effort (or
  reasoning.effort) picks the nearest level (低 low, 中 medium, 高 high,
  极高 xhigh, 最高 max). With none asked, the model's own default level is
  set, not the one the last request left.
- A Radix menu left open in a background window (its close animation waits
  for a frame that is never drawn) is closed with a pointerdown before
  filling; the message is sent with the send button, Enter only without one.
- A model the list has and the menu doesn't reloads the page once.

Run:
- bun test packages/doubao-work under a temp HOME on mote: 56 pass, 0 fail.
- Broken by hand (cache version check removed, default effort removed, the
  send button skipped): the three tests about them went red, 53 pass 3 fail.
- Full bun test, HOME=$(mktemp -d), on mote at this tree on 14296209:
  8698 pass, 0 fail, 20 skip (606 files).
- Real requests through the plugin against the owner's Doubao account
  (豆包.app on macOS, sandboxed data dir), chat/completion bodies captured:
  deepseek-v4.1-flash xhigh -> person-deepseek-v4-1-flash-261017,
  reasoning_effort 6; glm-5.3 medium -> person-glm-5-3-261111, 5 (高, the
  nearest with a tie going higher); kimi-k3.1-pro-fast low ->
  person-kimi-k3-1-pro-highspeed-261111, 3; auto -> 9. All 200, ~5-7s.
  glm-5.3 with no effort, after a request left 低 -> 高 set, reasoning_effort
  5. provider.models() listed all 10 models with their variants.

Not tried: DoubaoWork.app itself (the same page, the 豆包 app was used),
Windows, the reporter's free plan, a Page.reload in real use, and the rates
read from a real menu.
2026-11-14 01:24:56 +08:00
yetone 0135b7b0ea agy-cli 0.1.32: the first model list after warming has agy's Claude and GPT models (#1064)
On a signed-in agy, `agy models` takes about 4.4s and `agy acp`'s
session/new about 3s. provider.models() needed three calls before
claude-opus-5-5, claude-sonnet-5-5 and gpt-oss-120b showed up, and
OpenCode 2.x calls it once.

What changed:
- packages/agy-cli/index.mjs:
  - The offered-model probe now starts in listAgyModels' .then, as soon as
    a non-empty list arrives and a caller asked for probeOffered. It no
    longer waits for the next models() call. A hung or failed `agy models`
    still never spawns the probe.
  - probeSignedIn reuses the `agy models` stdout it already has. The same
    parser (parseAgyModels, split out of listAgyModels) fills
    cachedModelCatalog, and the probe starts. Sign-in waits for the probe
    for at most 3s.
  - The offer (acpOfferedModels, acpOfferedKey, offeredProbeAt and any
    in-flight probe) is forgotten when agyPath changes and after a new
    sign-in finishes. A generation counter drops the answer of a probe
    that started before the reset.
  - provider.warming() returns a promise while a list or probe is still
    running, and null when nothing is.
- scripts/opencode2.mjs, copied byte for byte to every
  packages/*/opencode2.mjs: after the first background refresh, the
  adapter awaits hooks.provider.warming() once, for at most 60s, and then
  refreshes once more. It does not loop. Plugins without warming() behave
  as before.
- Not done: the issue's on-disk catalog cache (point 3), skipped as asked.

Known gap: agy-cli has no `config` hook, so under OpenCode 2.x the adapter
lists no provider for it. refresh() returns before it calls
provider.models(), so the follow-up refresh can't add agy's models on 2.x
until agy-cli gets a config hook.

Tests: test/testkit.mjs's fake agy takes a sessionNewDelayMs. The new
tests in test/catalog.mjs set 1.5s on both `agy models` and session/new
and wait for state through warming(), with no fixed sleeps:
- On a slow cold start, the first models() after warming lists Claude and
  GPT, from one probe spawn.
- authorize() on a signed-in agy fills the catalog, and the next models()
  runs no second `agy models`.
- The sign-in wait is bounded: with a 6s session/new, sign-in returns in
  about 4.5s.
- Changing agyPath probes again.
The hang test now awaits warming() before it counts acp spawns.
scripts/opencode2.test.mjs: the warming list is read a second time when
warming ends, and only once when nothing is warming.

Run on Linux (a separate test Mac was over its load limit):
- packages/agy-cli bun test: 17 pass, 0 fail.
- bun scripts/check.mjs agy-cli: ok.
- bun scripts/check.mjs (all packages): ok.
- Root bun test in a temp HOME: 8530 pass, 19 skip, 0 fail.

Broken by hand on Linux, each red, then restored green:
- No probe in the .then: the slow cold-start test.
- probeSignedIn drops the list: the authorize and bounded-wait tests.
- agyPath change keeps the old offer: the agyPath test.
- Unbounded sign-in wait: the bounded-wait test (7514ms).
- Probe also on a failed listing: the hang test.
- origin/main's index.mjs with the new tests: all four #1064 tests.
- Adapter reads the list once: the warming adapter test, and the
  copy-identity check.

Not tried: a real agy (no Google sign-in, no network). The reset after
login.finish has no unit test of its own.

Reported-by: hiee3
2026-11-13 10:59:13 +08:00
yetone 89a54951cc doubao-work 0.1.9: the plan's allowance and each model's multiple are read (qhyqhy1s on X)
The plugin had no auth.usage, so the Providers row said 暂无额度数据, and
models carried no rate. Now:

- usage reads POST /alice/commerce/sale/subscription/quota/summary/ through
  the app's own page (cookies sign it; the bare URL answers 200) and maps
  window_limit_section to windows (percent used, named by span when the
  reply has times, resetsAt from end_time; usage_exhausted reads 100%) and
  the plan's short_name. A 401, an empty reply or a failed fetch gives an
  error with signIn kept. An app the plugin never started is not opened.
- the model menu's rows keep their lines under the name, and a multiple
  written there ("2x", "x0.5", "1.5 倍") becomes the model's rate.

Run: bun test packages/doubao-work through mote-run, HOME in a scratch dir:
47 pass. Broke by hand: usage hook renamed and rate dropped, 3 new tests
red, restored, green. The quota reply shape was read from the real app
(a 标准套餐 account via a copy of its profile, bare URL).

Not tried: the multiple. The owner's account shows only auto, 豆包 2.1
Lite and Pro with no multiple, so what the reporter's menu writes next to
DeepSeek/Kimi/GLM was not seen; rateOf reads the common forms and a row
written another way stays without a rate. The window names for a span are
a guess (the one real window has no times, so it is named 额度).
Models cached by 0.1.8 get rates at the next menu read.
2026-11-13 10:31:36 +08:00
yetone b195b4f5a9 doubao-work 0.1.8: every model in the app's menu is listed, Kimi K3.1 Pro 高速 too (ul3140773077392 on X)
Two causes of a short list:
- Kimi K3.1 Pro and Kimi K3.1 Pro 高速 both became id kimi-k3.1-pro
  (idFor drops Chinese), so tableFrom kept only the first. 高速 is now
  "fast", and two rows that still collide get a numbered id.
- An account that signed in before 0.1.4 had no models.json, so the list
  stayed at the three built-in models until its first request. The
  provider.models hook now reads the menu once when the list was never
  read (queued behind an ask, once a minute at most), and only from an app
  the plugin has started before (its data folder exists).
Picking sends the row's own label to pickModel, unchanged.

Run on mote (Bun, temp HOME): bun test packages/doubao-work 44 pass,
bun scripts/check.mjs doubao-work ok. Tests use the screenshot's ten
literal labels. Broken by hand, each red: the 高速 mapping, the collision
numbering, the ensureList call (3 fail, restored).
Not tried: the real 豆包工作 app (none on mote or this Mac signed in; the
Windows box has only 豆包, unsigned).
2026-11-12 23:20:25 +08:00
yetone 9be580bc00 doubao-work 0.1.7: find 豆包工作 wherever it is installed (ul3140773077392 on X)
The binary was looked up only at %LOCALAPPDATA%\DoubaoWork (or DOUBAO_WORK_APP),
so an install in D:\Apps\DoubaoWork was never found. When the usual place
has nothing, the plugin now asks the system once: on Windows the Uninstall
keys (HKCU, HKLM, WOW6432Node: InstallLocation, DisplayIcon, UninstallString),
App Paths and the path of a running DoubaoWork.exe/Doubao.exe; on macOS
Spotlight by bundle id, ps, and one folder down in /Applications,
~/Applications and /Volumes/*. The usual place still wins and nothing is
asked then.

zhaodengfeng on X (third-party models): 豆包工作 keeps no local list of them
(model_config_list is served from its cloud config; no custom-model store
found in the app's data). Models on the user's own key are a direct call to
that vendor, not a Doubao task, so they are not served; README says to add
that API to magpie as its own provider.

Run: bun test packages/doubao-work (41 pass, 3 new assertions groups; the
Application\app candidate was red first). bun scripts/check.mjs. win-run on
xiaomi-gpu: the real registry and running Doubao.exe found
...\Doubao\Application\app\Doubao.exe with LOCALAPPDATA pointed at C:\nowhere.
Not tried: a real DoubaoWork install on D:\ (only 豆包 is on that box), the
macOS finders against a real DoubaoWork.app (this Mac has only Doubao.app and
Spotlight returned nothing; the folder scan covers it).
2026-11-12 22:14:27 +08:00
yetone 0bb3a8b564 doubao-work: the summary and README say first that it is not a model API (#1054)
A user picked doubao-work/* models expecting a model proxy like
WorkBuddy's and got one run of Doubao's cloud agent. The old summary said
"runs its agent in the cloud and has no API", which read as a footnote.
The registry summary (en, zh) and the README's first paragraph now open
with "not a model API" and say what an agent gets instead. No code or
version change; the README goes out with the next doubao-work release.

Run on WSL: bun scripts/check.mjs doubao-work: registry.json ok,
doubao-work ok.

Reported-by: Yezike-yyy
2026-11-12 22:09:15 +08:00
yetone 28879fdc18 doubao-work 0.1.6: a model the app added since the last menu read is found at once (#1048)
The model list is read off the app's menu on sign-in and again only once
the cached list is six hours old. A model Doubao added in between (the new
DeepSeek, Kimi and GLM rows) was answered 404 "没有模型", whether picked
from the list or typed by hand. Now a request that names a model the
cached list doesn't have reads the menu again first, queued behind any
running ask, at most once a minute so a made-up name doesn't open the
menu each time. A menu that can't be read leaves the model unknown and
the list as it was. The 404 now names the models the menu has.

Run on a separate test Mac (Bun 1.4.2, temp HOME):
- bun test packages/doubao-work: 39 pass, 0 fail (3 new).
- bun scripts/check.mjs doubao-work: ok.
Broken by hand, each red then restored:
- the plugin never asks the menu again: 1 fail.
- no once-a-minute limit: 1 fail.
Not tried: the real 豆包工作 or 豆包 app (no install for a review); the
reporter's menu may differ in a way the read doesn't handle, so #1048
stays open for them.

Reported-by: lumiai101
2026-11-12 01:38:05 -08:00
yetone 34f7e7b6cd doubao-work: find 豆包工作 (DoubaoWork.app), not 豆包 (#917)
binary() looked only for /Applications/Doubao.app (豆包,
com.bot.pc.doubao). The reporter has only 豆包工作 at
/Applications/DoubaoWork.app/Contents/MacOS/DoubaoWork
(com.work.pc.doubao), so sign-in always said the app was missing.

choose() now picks { app, binary, dataDir } from both apps, 豆包工作
first, in /Applications and ~/Applications on macOS and under
%LOCALAPPDATA% on Windows. A user already signed in to 豆包 through
the plugin (its profile exists) stays on 豆包 while it is installed, so
the update signs no one out. 豆包工作 keeps its profile, port and model
list in a doubaowork/ subfolder. DOUBAO_WORK_APP still names the binary.
The chat page check (owns, connect) accepts doubaowork://doubaowork-chat/chat
and chrome://doubaowork-chat/chat as well as 豆包's. The busy and
not-installed messages name the chosen app and its download page.

Run (mote, worktree at 6cb5dbe8 + this change; origin/main 1bdc4d4b only
adds an autoclaw change):
- bun test packages/doubao-work: 36 pass, 0 fail.
- bun scripts/check.mjs: exit 0, doubao-work ok.
- Live on this Mac with DoubaoWork 2.36.3 (copied out of the official
  dmg) and a sandbox DOUBAO_WORK_HOME: choose picked 豆包工作, App.start
  launched it, owns accepted it, the page reported
  chrome://doubaowork-chat/chat, input present, signed out; the model
  menu read 自动 / 豆包 2.1 Lite / 豆包 2.1 Pro; the new-task and 云电脑
  steps ran on the real page. A second connect reused the running app.
- 豆包 2.35.8 with a temp profile: same chat page test ids.

Broken by hand (mote): choose searching only 豆包 made "a Mac with only
豆包工作 drives 豆包工作 (#917)" red; the old owns regex made "both apps'
chat pages are the plugin's" red (34 pass, 2 fail). The old code has no
choose/isChat and binary() returns Doubao.app, so the #917 test is red
on it.

Not tried: a signed-in request (no 豆包工作 account here). Windows: the
path %LOCALAPPDATA%\DoubaoWork\Application\app\DoubaoWork.exe comes from
DoubaoWork_installer_2.36.3.exe's config (install_dir_name DoubaoWork,
exe_file_name DoubaoWork.exe) and 豆包's layout; not installed on the
Windows box. Running 豆包工作 and 豆包 side by side.

Reported-by: sinoyster
2026-11-10 12:16:37 +08:00
zt8989 e9c7de3708 doubao-work 0.1.4: read the model list from Doubao's own menu (#916)
Reads Doubao Work's model list from the app's own model menu, keeps it in
models.json, and offers those models (0.1.4).

Reviewed at 43b3d5d (the author's 50c1448 plus a maintainer fix: the
config hook now keeps a model the user declared themselves, as every
other package does).

Run on mote: bun test packages/doubao-work 34 pass; bun scripts/check.mjs
doubao-work ok. Broken by hand: model lookup back on the built-in table
fails 2 tests; the old merge order fails the user-settings assertion.
Not tried: a real Doubao app (the author ran it on macOS, 8 models).
2026-11-10 10:31:28 +08:00
yetone 042e8517b4 doubao-work 0.1.3: Windows too (WANGY1ER on X)
WANGY1ER asked on X for Windows: the plugin said "macOS only", because
binary() knew only /Applications/Doubao.app. Doubao's Windows app is the
same Chromium 147 fork with the same chat page (doubao://doubao-chat/chat),
so the plugin drives it the same way.

- binary(): %LOCALAPPDATA%\Doubao\Application\app\Doubao.exe, the per-user
  install's own exe (Application\Doubao.exe beside it is a launcher).
- dataDir(): %LOCALAPPDATA%\magpie-doubao-work.
- copies() is empty on Windows: Chromium keeps one copy per profile there,
  so the user's own Doubao keeps running and the plugin's copy opens
  beside it, in a second window. No "quit Doubao first" on Windows.
- Linux stays unsupported: Doubao has no Linux build. Its download page's
  platform list is ios, android, mac, OpenHarmony, windows. The sign-in
  says so.

Run:
- bun test packages/doubao-work: 29 pass on mote (temp HOME, as CI),
  win-run (Windows 11) and wsl-run (Ubuntu 24.04). bun scripts/check.mjs ok.
- Live on xiaomi-gpu (Windows 11, Doubao 2.34.6 / Chromium 147), with the
  owner's own Doubao running in the console session: the plugin's App
  started app\Doubao.exe from its own profile beside it, its DevTools port
  answered with doubao://doubao-chat/chat, owns() took it, and each step
  of an ask ran in the real page: NEW_TASK "", CLOUD "" (mode 云电脑),
  自动 and 豆包 2.1 Lite picked, 豆包 2.1 Pro "upgrade", fill wrote three
  lines into tiptap. The owner's copy was untouched throughout.

Broken by hand:
- binary() without its win32 line: "the app is found on macOS and
  Windows" is red on mote and Windows.
- copies() without its win32 line: "on Windows a running copy never
  blocks" is red on mote.

Not tried: a signed-in request on Windows. That Doubao has no account
signed in (its cookie jar is empty), so Enter was not sent; signed-in
STATE relies on data-testid=sidebar_bottom as on macOS.
2026-11-10 09:35:45 +08:00
yetone f379bf907c doubao-work 0.1.2: say at once that an open Doubao must be quit
The owner's sign-in spun with no end. Doubao runs one copy at a time: with
the user's own Doubao open, the plugin's copy (its own profile, debugging
port) quits within a second of starting, so the port never opens.
waitSignedIn took every error but app_missing as "not signed in yet" and
started it again for five minutes, saying nothing.

- App.start looks for a running copy of the binary on another profile
  before it starts one, and fails with app_busy. The user's copy can't be
  driven instead: Chromium allows debugging only off the default profile.
- waitSignedIn ends on any app_* error (busy, missing, start timeout) and
  on abort; only a window still loading is waited for.
- Sign-in and requests say: quit Doubao (⌘Q) and try again. A request
  gets 503.

Run: bun test packages/doubao-work on mote (+ check.mjs), Linux (WSL) and
Windows: 28 pass, 0 fail. With waitSignedIn's old catch put back, the new
waitSignedIn test is red (60s timeout instead of app_busy). Live on this
Mac, with a Doubao running from another profile: waitSignedIn threw
app_busy in 92ms, nothing spawned, no profile made. That a second copy
quits was tried first: Doubao with a fresh profile and port exited in ~1s,
port never up.
Not tried: the owner's Mac (10.0.0.175) itself.
2026-11-09 06:53:05 +08:00
yetone e918aa6c4b doubao-work 0.1.1: plain model names, text-only input
magpie shows a model as "<name> · <provider>", so "豆包工作 · 自动" read
"豆包工作 · 自动 · 豆包工作" in pi. The names are now Doubao's menu names.

The models gave no modalities, so magpie asked models.dev about "auto",
another vendor's model, and told pi it takes images and a thinking level
map. Each model now says text in, text out.

Run: bun test packages/doubao-work on mote (with check.mjs), Linux (WSL)
and Windows: 25 pass, 0 fail. The new assertions fail on 0.1.0's names.
2026-11-09 06:42:10 +08:00
yetone 29ceed20c9 doubao-work: test the sign-in and the app start on every OS
c1ed1b51's publish run went red on ubuntu: the sign-in test read the real
binary(), which is "" off macOS, so the callback said "macOS only". Its
App test spawned /bin/sh, which Windows doesn't have. Both passed on mote
(macOS) only.

createPlugin takes appBinary (default binary()), and the sign-in test gives
each case: a Mac path signs in, "" says macOS only. A new test holds
binary() per platform and DOUBAO_WORK_APP. The App test uses a file it
makes.

Run: bun test packages/doubao-work, 25 pass on mote (temp HOME, as CI),
wsl-run (Ubuntu 24.04) and win-run (Windows 11). bun scripts/check.mjs ok.
2026-11-09 06:12:13 +08:00
yetone c1ed1b511e doubao-work 0.1.0: 豆包工作 as a provider, by driving the Doubao desktop app
Doubao Work runs its agent loop in ByteDance's cloud and has no API. This
plugin uses the desktop app the way a person does and gives the reply back
as an OpenAI chat completion:

- cdp.mjs (knows nothing about Doubao): starts a Chromium-based app from a
  profile of its own with DevTools on a port it picked and saved, reuses it
  while it runs, never kills anything; Page evaluates and presses keys.
- doubao.mjs: per request a new 工作任务, switched to 云电脑 (Doubao's agent
  never touches this computer), the model picked (Pro needs a paid plan:
  403), the whole request written into tiptap one paragraph a line, Enter,
  and the reply read from the message's content_blocks_v2 (markdown, and
  thinking as reasoning_content) until is_finish. One request at a time.
- prompt.mjs / openai.mjs: system prompt, tools and turns flattened into one
  message; tools asked for as <tool_call>{json}</tool_call> and given back
  as tool_calls; SSE that holds text from the first call (or a tail that
  may start one), and that throws a failure before the reply begins so it
  goes back as an HTTP error.
- Sign-in waits for the account in the separate Doubao window.

Run:
- bun test packages/doubao-work on mote: 24 pass.
- Full suite on mote the way CI runs it (HOME=$(mktemp -d) bun test):
  6936 pass, 20 skip, 0 fail. bun scripts/check.mjs: doubao-work ok.
- Broken by hand: sleep without its aborted check; "an abort between two
  polls stops the ask too" goes red (runs to the 180s idle timeout), green
  with it. Found by the first run: an abort landing between polls was lost.
- Live, the loader against a signed-in Doubao 147 on macOS: auto plain
  answer 200 in 3.9s; doubao-2.1-lite streamed Bash tool call (first byte
  3.6s, total 4.8s); tool result follow-up answered "412 lines"; Pro gave
  403 doubao_upgrade; a 300-word story streamed as 20 content deltas with
  its ```python fence kept; a client abort ended the stream and the next
  request answered 200.

Not tried: through magpie's plugin host and a real agent (Claude Code
sized requests); Windows and Linux (unsupported, sign-in says so). A
stopped request stops being read but Doubao finishes its task (README).
2026-11-09 06:05:35 +08:00