Commit Graph
15 Commits
Author SHA1 Message Date
yetone a60667b570 codearts 0.3.21: the credit names iJetLi, who wrote the CodeArts channel (#1147)
The README (English and Chinese) and index.mjs credited the CodeArts
channel to Ebony-Vinyl/dsh-our-free-model alone. That repo's own
vendor/channel-pack/NOTICE.md (v2.5.7) says the channel is a copy of
gitee.com/iJetLi/deepseek-harness-codearts at 345f0a07. The credit now
names iJetLi first and OFM as the one that carried it. No code change.

Run: bun scripts/check.mjs codearts and bun test in packages/codearts on
mica (213 pass, 0 fail); bun scripts/bumped.mjs origin/main.
2026-11-14 19:28:46 +08:00
00 26ea8faf77 codearts 0.3.18: claim every daily check-in campaign, not only the first (#1110)
The delivery list holds more than one USER_LOGIN campaign: the ordinary daily check-in (34, 100), a contest's daily check-in (40, 1000, 2026-11-11 to 12-05) and the contest's one-time sign-up gift (42). dailyCampaign took the first, 42; once it was CONFIRMED the check-in answered done and claimed neither daily one. Now every USER_LOGIN campaign whose title is a daily one (签到/每日) is claimed and confirmed in turn, credit is their sum, grants and unconfirmed claims are kept per campaignId, and a campaign the account hasn't joined (not claimable, or refused with 需要先通过触发接口激活/未报名) is ineligible rather than a failed day.

By @amqsy (#1110).

Reviewed at ab9447b8:
- WSL, HOME=$(mktemp -d): bun test in packages/codearts 211 pass; bun scripts/check.mjs codearts ok.
- Broken by hand: dailyCampaigns back to the first USER_LOGIN item turns three of the new tests red.
- The old single-claim _unconfirmed shape is still read.
- Not tried: a real CodeArts account (the author's run on 2026-11-14 00:00 Beijing claimed +1100 on two accounts).
2026-11-14 02:21:30 +08:00
yetone 59d1d107d0 codearts 0.3.17: sign in with a Huawei Cloud International account in the browser (#1090)
The browser sign-in always opened the mainland portal
(codearts.huaweicloud.com/portal/authorize, locale zh-cn), so an
international-station account could not sign in in the browser.

A new method, "Sign in with Huawei Cloud (International)", opens
auth.huaweicloud.com/authui/login?site=intl&locale=en-us with the
international portal's authorize URL
(codearts.ap-southeast-1.huaweicloud.com/portal/authorize, same
parameters, locale en-us) as `service`. The reporter found that the
portal alone sends a signed-out browser to the mainland login. After the
callback, the portal's result page is the international one too. The
code is exchanged at the same STS endpoint, as the reporter found. The
credential is stamped `station: "international"` (the key the IDE import
already uses), so chats, usage and signing stay on that station.
refreshCredential now carries `station` over, or a renewal would turn
the account back into a mainland one. The international sign-in skips
the mainland IAM phone read and OfficeAce's MaaS read.

The method is listed last, so the mainland browser method and the IDE
method keep their places. A mainland credential still carries no station.

Run (WSL, magpie-desktop, HOME=$(mktemp -d)): bun test in
packages/codearts, 208 pass / 0 fail; bun scripts/check.mjs codearts ok.
Broken by hand: with `station` taken out of refreshCredential's copy list
and out of the callback, the refresh test and the international sign-in
test go red (206 pass / 2 fail).
Not tried: a real international account. The URLs are the reporter's,
from their own sign-in.

Reported-by: AyakaChen1
2026-11-13 18:33:31 +08:00
zhou.hanandzhou.han 1e5b1c8317 codearts 0.3.11: OfficeAce routes by its total credit, not each bucket (#986)
An OfficeAce account is now routed by one 总积分 window: the total of every unexpired plan bucket (`skus[].quotas`) and activity bonus (`bonus_skus`). Each bucket stays visible as an `aside` detail, so a spent daily check-in bonus (每日签到有礼 0 / 100) no longer pauses an account with thousands of credits left elsewhere (#981).

What changed (packages/codearts, 0.3.10 -> 0.3.11)
- fetchOfficeAceUsage sums unexpired buckets into 总积分 (amount, limit, two-decimal rounding; sub-half-cent totals keep their raw value). Every per-bucket window is `aside`.
- 总积分's `runsOutAt` is the soonest expiry among unexpired buckets that still hold credit, and `runsOut` is what those buckets hold on that Beijing day (soonestLapse, shared with #982), never more than the total's remainder. Trial and spent buckets never choose the expiry.
- Overspent buckets are capped at their own total; an empty or unparseable `expired_time` is no expiry instead of Invalid Date.
- When every bucket has expired, a used-up 总积分 (0 / total, used 100) stays so the account is paused, not routed without a limit.
- README (en, zh) says the same.

Rebased onto dea9e4e3 (0.3.10, #998): merge-base is origin/main, and the diff touches only the OfficeAce usage hunks, the tests, the README and the version. The international station signing, the Tokens window, the state.vscdb temp copy and the statement finalize are unchanged.

What was run at the reviewed head 4c454b99 (mica, macOS, Bun 1.4.2, HOME=$(mktemp -d))
- bun test packages/codearts: 201 tests; green except a pre-existing flake on main, "an IDE sign-in is renewed by reading the IDE's file again" (red 3 of 6 on origin/main 4b0aef53, 2 of 6 here; cause found and injected, filed as #1007).
- bun scripts/check.mjs and check.mjs codearts: exit 0.
- Root bun test under suite.lock: 8321 pass, 20 skip, 0 fail.

Broken by hand, each restored before the next, each red:
- a spent bucket choosing runsOutAt (the open item from the last review): "a spent OfficeAce daily bonus does not pause credits left in other buckets";
- runsOut as one bucket instead of the Beijing day's sum; runsOutAt from the latest expiry instead of the soonest;
- details not aside; no 总积分 window; an expired bonus counted; no used-up total when all expired;
- 0.3.10: a credential signed for every station's hosts; reading state.vscdb in place instead of a copy; no Tokens window.

Not tried
- No real Huawei Cloud / OfficeAce account; every response is a fake fetch.
- Windows: the diff doesn't touch the state.vscdb path, so the codearts tests weren't run there for this change.

Refs #981, #982

Co-authored-by: zhou.han <18181754+yetihan@users.noreply.github.com>
2026-11-11 22:16:09 +08:00
yetone dea9e4e3b3 codearts 0.3.10: the international station and signing in from the CodeArts Agent (#998)
What changed
- Stations. A STATIONS table (mainland, international) is now where the
  signing fence comes from: SIGNED_HOSTS is every station's API hosts
  (https, default port, exact name), and each credential is signed only for
  its own station's hosts. An international credential reaches only
  snap-access.ap-southeast-1.myhuaweicloud.com and a mainland one never
  reaches it. Console hosts are never signed. The plugin's mainland snap URLs
  (and a config `api` on the mainland snap host) are rewritten to the
  credential's station at the fetch choke points. A lookalike host is not
  rewritten, and is refused.
- International usage. When `package.is_token_package` is true,
  statistics/plugin's usageTokenChatMessages is a "Tokens" window:
  usage_token_num of package_token_amount (e.g. "131 / 5.0M"), resetting at
  end_date, span start_date to end_date. The plan is package_name_en there
  (package_name_cn on the mainland). The international station has no opengw,
  credit batches or daily check-in in the issue's probes, so none of them is
  asked there; check-in answers "inactive". The loader's baseURL is the
  station's /api/v2.
- Sign in from the CodeArts Agent on this machine. A second method, offered
  only while the IDE's state.vscdb exists (macOS ~/Library/Application
  Support, Windows %APPDATA%, Linux $XDG_CONFIG_HOME or ~/.config, then
  codearts-agent/User/globalStorage/state.vscdb; MAGPIE_CODEARTS_IDE_STATE
  overrides). Key huaweicloud.codearts-snap, userInfoKey.originData, as in
  the issue. The file (and its -wal/-journal) is copied to a temp folder and
  only the copy is opened; its statement is finalized before the close so
  Windows can remove the copy. A missing, unreadable, half-written or
  incomplete file, or an unknown stationType, is "unknown": no method, or a
  failed sign-in saying why, never with a secret. The credential is checked
  once against current/user on its station. It has no refresh token, so it
  is renewed by reading the IDE's file again, never through STS; until the
  IDE has renewed it (or when the IDE is on another account or station) a
  renewal fails for now only, and the sign-in is kept. The account is the
  IDE's domainId.
- README (en and zh) documents both. The browser method keeps index 0.

What ran (this tree; the root suite at base 740e1af2, the package and
check again after the rebase onto b4916d41, which touched window-warmup only)
- WSL magpie-desktop: HOME=$(mktemp -d) bun test packages/codearts
  (194 pass), bun scripts/check.mjs codearts (ok), root HOME=$(mktemp -d)
  bun test: 8315 pass, 19 skip, 0 fail across 584 files
- Windows (win-run): bun test packages/codearts, 194 pass, including
  ideStatePath on this system (%APPDATA%) and the temp-copy cleanup.
- macOS (mote-run): bun test packages/codearts, 194 pass.

Broken by hand, each red and then restored
- signing by the shared host set instead of the credential's station:
  "a credential is signed only for its own station's hosts" and the
  international end-to-end test
- prefix host match: the lookalike test (...ap-southeast-1...com.evil.com)
  and the existing host test
- onStation by prefix: its lookalike test
- token window without the is_token_package gate: the token window test
- SQLite on the IDE's own file instead of the copy: the locked-database test
- IDE renewal through STS: the never-by-STS test and the end-to-end test
- an unchanged IDE file taken as a renewal: the never-by-STS test
- the IDE method always offered: the offered-only-while-there test
- a stored sign-in without a security token accepted: the unknown-cases test
- no finalize before close (Windows): "leaves no copy of the sign-in behind"
  (passes on Linux and macOS either way; Windows is the case it is about)

Not tried
- No real CodeArts international account and no real CodeArts Agent install
  were used; every test uses fake fetch and temp-dir sqlite fixtures.
- The international chat path: the plugin sends /api/v2/chat/completions as
  on the mainland; the issue's probes used /v1/chat/chat.
- The international model list (/v1/model/builtin there); the built-in
  catalog is the fallback.
- The macOS and Linux IDE paths follow the VS Code/Electron convention; the
  issue's evidence is a Windows path. Mainland stationType words are a guess
  (empty is mainland).

Reported-by: AyakaChen1
2026-11-11 20:59:18 +08:00
yetone 4a78bec3b7 codearts 0.3.8: a window's runsOut is only credit its own remainder holds (#982)
usageFromStatistics took the bonus window's runsOutAt/runsOut from the
soonest check-in batch while remaining/used were the whole bucket, and the
total's from every non-basic batch whatever the buckets had left. So an
account whose check-in was spent (bonus remaining 0) still had a total
runsOut of 82.05 at tonight's midnight, and one with 2344.81 long-lived
gift credits said 100 lapse in hours while the vendor's
package_credit_expiring_amount was 0. magpie's routing reads a total's
RunsOutAt as "what is left is lost then" (Allowance.Renewal), so these
accounts were ranked ahead of ones that really lapse sooner.

Now:
- each bucket's lapse is its own batches' soonest, held to that bucket's
  package_credit_remain; an empty bucket has none;
- the total's lapse is the soonest of the buckets' lapses (same Beijing
  day summed), never from batches of a bucket with nothing left;
- the ledger fallback's batches are marked `estimated` (what was spent of
  a check-in isn't known): they say when, and how much is the vendor's
  own expiring amount, so with 0 or none said there is no lapse; the
  vendor's batch reads (with consumed/expired counts) are used as before;
- each window carries the vendor's package_credit_expiring_amount as
  `expiring` when it is sent;
- comments and README say the ledger keeps the date the claim names (a
  day on for today's check-ins); 30 days is only for a claim with none.

Run (wsl-run, magpie-desktop, at this tree rebased on origin/main):
bun test packages/codearts: 177 pass, 0 fail; bun scripts/check.mjs: ok.
Fixtures are the issue's two accounts as filed (A: bonus 100 used, 0
left, total 82.05 left; B: 4100 / 2344.81 left, ledger grant 100 claimed
2026-11-10T16:01:04.916Z expiring 2026-11-11T16:01:03.812Z, expiring 0),
clock held at 2026-11-11T10:00Z.

Broken by hand: cap = Infinity in bucketLapse: the three #982 tests red
(174 pass, 3 fail). cap = remain (no estimated gate): account B's test
red alone (176 pass, 1 fail).

Not tried: a real CodeArts account; the vendor's horizon for
package_credit_expiring_amount isn't known, so vendor batch reads are not
gated on it. A lagging vendor batch counter is bounded by the bucket's
remainder only.

Reported-by: KiMelody
2026-11-11 18:06:28 +08:00
Gyl1219 fae4bc2e13 codearts: tell the host the reasoning levels, and honour the caller's (#680)
Tells the host a CodeArts model's reasoning levels (model row `variants`, per model, measured 2026-11-04 by Gyl1219) and honours the level a caller names: passed on as is with no injected `thinking: enabled`, a level the model does not take is dropped, none/off/disabled send `thinking: {type: "disabled"}`. Version 0.3.2 -> 0.3.3, README updated.

Run at the reviewed head 95acc1e3 on mote (Mac mini): `bun scripts/check.mjs codearts` exit 0; `bun test packages/codearts` 169 pass / 0 fail. Broken by hand, each one turned a test red: the drop-unknown-level branch made unconditional, the `spoken === ""` condition removed from `injected`, the `thinking: disabled` assignment removed, `variants` left off the model row, a caller's own variants overwritten. Tests use the injected fetch, none reach the network.

Not tried: a real CodeArts account (I took the author's 2026-11-04 measurements on trust). Open question left on the PR: kimi-k3.1-pro is declared without `medium` though the author's table shows it answered.
2026-11-04 04:10:06 +08:00
yetone 0b8cc01937 codearts 0.3.2: a dated model keeps the name CodeArts gives it (#677)
errorcode7 (#677): /v1/model/builtin lists deepseek-v4.1-flash and
deepseek-v4.1-flash-1017 side by side, two models with their own
description and off-peak rate (0.09x vs 0.12x). The ids were already kept
apart, but normalizeModelId cut "-1017" off the display name, so both rows
read "DeepSeek-V4.1-Flash".

parseModelInfo now takes the vendor's model_name as written (trimmed), and
falls back to prettify(id), not the date-stripped id. A model only the
agent lists gets the same. normalizeModelId stays for the CONTEXT_WINDOWS
lookup and the vision check only. This is the codearts plugin alone: magpie
does not fold 4-digit suffixes (catalog/samemodel.go only takes YYYYMMDD
or YYMMDD), so no other vendor changes.

Run on mote (Bun 1.4.2), at this head:
- packages/codearts: bun test, 166 pass / 0 fail
- bun scripts/check.mjs: ok
Red on the old code: the new tests against origin/main's index.mjs,
163 pass / 3 fail (the two #677 tests and the updated dated-id test).
Not tried: a real CodeArts account's model list.
2026-11-03 20:41:15 +08:00
MYCF711 f42a59adf5 codearts: an OfficeAce card for the same Huawei Cloud account (#522)
codearts: an OfficeAce card for the same Huawei Cloud account (#522, MYCF711)

Adds the OfficeAce (AgentArts) provider to the codearts package, replacing
officeace-auth; accounts signed in there keep working. Each card signs in on
its own and holds its own record and refresh token, because a Huawei Cloud
STS refresh token is spent once. A renewal writes only the record being
renewed, so a removed account never comes back.

Reviewed over eight rounds; reviewed head f7c2526. r8 is words only plus the
writeSharedRecord -> writeProviderRecord rename (every caller and the test
updated).

Run at f7c2526 on mote: node --test packages/codearts/index.test.mjs
164/164 pass; bun scripts/check.mjs exit 0, codearts ok.
Not tried: a real Huawei Cloud sign-in on either card.
2026-10-31 02:29:36 +08:00
MYCF711 b850c9da3d codearts 0.2.5: the card names the account by its phone, not by IAM's URN (#483)
The card names a CodeArts account by its masked phone (138****8000), read
from IAM once per account (6h cache), while accountId stays the IAM URN, the
account's identity. A renewal keeps the phone, reads it once for an account
signed in before 0.2.5, never renames a named account, and gives an account
stored without an accountId the URN.

Reviewed at fa5aaae (round 4). Run on mote (macOS, Node 22, Bun 1.4.2) in a
sandbox HOME, at that head:
- node --test packages/codearts/index.test.mjs: 125 pass / 0 fail
- bun test packages/codearts/index.test.mjs: 125 pass / 0 fail
- bun scripts/check.mjs codearts: ok
Broken by hand, each red at the test it should hit:
- sign-in accountId: identity.id -> identity.name (index.mjs:2746): "a
  sign-in names the account by its URN while the card shows the phone" red
  (124/1).
- refresh reads no phone (identified = next): "auth.refresh keeps a named
  account's identity ..." red (124/1).
CI (test, on-npm) green at fa5aaae. Version 0.2.4 -> 0.2.5.
Not tried: a real Huawei Cloud account.
2026-10-29 21:35:28 +08:00
yetone c2eb8de4f7 codearts 0.2.4: every model is text only, and an image it refuses is a 400
star21321321124 (Discord, magpie 0.1.1818, codearts 0.2.3): DeepSeek V4.1
Flash through a Codex-like agent failed often with "CodeArts: The request
model is not multimodal (InferHub.001001020.406) (502: you can retry your
request)", while CodeArts' own client served it.

Cause: the plugin listed its models with capabilities.input { text: true }
and no image key, and the config hook gave no modalities. magpie's host
reads image as said only when it is a boolean (imageSaid), so every
CodeArts model was "unknown" to magpie: an agent's screenshot or a tool
result's image went upstream as sent, instead of being described by the
Vision model or left out (textOnlyBody). CodeArts then answered
InferHub.001001020.406 inside a 200, which embeddedErrorStatus counted 502,
and magpie told the agent to retry, so it asked again with the same image.

- The config hook declares attachment false and modalities text in, text
  out; provider.models says input.image false (and audio, video, pdf) for
  every listed model. A kind the user's own config says stands. The -vl
  models were already left out of the list.
- InferHub.001001020.406 / "not multimodal" is a 400: inside a 200 (stream
  and folded JSON), and with any HTTP status. foldAnswer's own error now
  goes through embeddedErrorStatus too, instead of a flat 502.

Run (on mote): packages/codearts HOME=$(mktemp -d) bun test, 117 pass;
the whole repo's bun test, 2985 tests 0 fail; bun scripts/check.mjs ok.
Broken by hand: the new tests against origin/main's index.mjs go red, 3
of 3 (the 400 on every path, the text-only declaration, the status map).
Not tried: a real CodeArts account with an image (none here); the exact
body CodeArts sends is taken from the reporter's message (error_code /
error_msg shape as its other embedded errors).
2026-10-28 13:08:49 +08:00
yetone bace91473b codearts 0.2.3: a queued request leaves the queue at once when magpie has another candidate
As Qoder's 0.2.40 (axuhere on X: a free model held in a queue while
another provider could answer). When magpie says another account,
provider or routing group member follows this request
(x-magpie-fallback: 1), a 429 with queue-status: queued isn't polled
for up to 5 minutes: the trace leaves the queue (DELETE, as giving up
does) and the plugin answers 503 with the queue's retry-after,
"CodeArts queued the request; try again in 20s", so magpie asks the
next. The header is read and dropped before anything is signed or sent.
Without it, the wait is as before.

Run: packages/codearts `bun test` (115 pass) and `node --test
index.test.mjs` (115 pass); `bun scripts/check.mjs` all green.
Broken by hand: index.mjs as before: the new test red (it waits in
the queue instead).
Not tried: a real CodeArts account queued live; the 429 headers are
the shape the existing queue tests use.
2026-10-27 18:53:25 +08:00
yetone b1bc778edf codearts 0.2.2: tool names over 64 characters go cut and unique, and come back as the agent's own (#432)
CodeArts turned away ZCode's android emulator MCP tool,
mcp__plugin_android-emulator_android-emulator__android_discover_project
(71 characters), with "Function name [...] length over limit, maximum
is 64 (InferHub.001001017.413)", so every ZCode chat with that MCP on
failed.

A name over 64 now goes as magpie's FlatName cuts one: its first 55
characters, "_" and 8 hex of its SHA-256 (64 in all). It is cut in
every place the body names a tool: tools, functions, tool_choice,
function_call, the history's tool_calls and a tool message's name, so
the history keeps matching its tool on every turn. A cut that equals
another tool's own name, or another cut, is cut again with a salt. The
answer gets the agent's names back: in a folded (non-streaming) reply
and in the stream, where a name the gateway sends whole, repeated in a
later delta, or in pieces (the part past 55 held until the name is
whole) is put back. Events that name no cut tool pass byte for byte,
and a body whose names all fit is not touched at all.

Run: packages/codearts `bun test` (114 pass) and `node --test
index.test.mjs` (114 pass); `bun scripts/check.mjs` all green. New tests
use the reporter's literal tool name, two names alike for 55
characters, a short tool named exactly like a long one's cut, a stream
round trip through the loader's fetch (whole name, name in three pieces
across the 55th character, a name that fits), a gateway repeating the
name, and a folded reply.
Broken by hand: restoreToolNamesInStream returning the stream as it
came (stream and repeat tests red); no salt on a collision (collision
test red); no shortening in prepareChatBody (4 tests red).
Not tried: a real CodeArts account (its refresh token is single-use, so
no live sign-in was copied into a sandbox); whether CodeArts ever sends
a tool name in pieces (handled, not seen).
2026-10-27 17:38:33 +08:00
Rahayu Kertawiguna 515d94e3a2 codearts 0.2.1: signs only for its two hosts and follows no redirect, a callback without a code fails at once, fixes since #284 (#286)
The follow-ups from #284's merge review and fixes since: credentials are
signed only for snap-access.cn-north-4.myhuaweicloud.com and
opengw.developer.huaweicloud.com (one signFor every signed call passes),
and no signed or token request follows a redirect (redirect: "error" set
after the caller's init); a callback without a code fails at once and the
callback path is matched as sent; one renewal per refresh token per
account, and a transient renewal failure keeps the sign-in (503, kept);
the free model's TPM limit inside a 200 is a 429, not an empty reply;
benefit claims across Beijing midnight; Content-Length dropped from a
reshaped body; bounded queue polls that leave the queue after failed
polls; a busy callback port is retried. A check-in re-confirms only a claim
this plugin made and failed to confirm (kept for its Beijing day in the
account's state and the ledger's _unconfirmed key); a claim answering
id: null is never confirmed, as the IDE does.

Earlier review at cb14faf asked for three changes (re-confirm of id:null
claims, redirects carrying the security token, a test for leaving the
queue); 1c04a71 and 2447c5f answer them.

Run at the reviewed head 2447c5f9a118098e05439f96b1ff87a9bedc8d83, on
macOS, bun 1.4.2, node 24:
- packages/codearts: bun test 108 pass, node --test 108 pass.
- Whole repo at the head: 2033 pass, 0 fail; merged onto main a20c1b9:
  2075 pass, 0 fail; bun scripts/check.mjs ok both times.
- Red without the change: the head's tests against cb14faf's index.mjs
  fail 5, against main's (0.2.0) fail 24.
- Broken by hand: dropping redirect: "error" after the init spread fails
  "a 3xx is never followed"; re-confirming any CLAIMED item fails the two
  check-in tests.
- Harm read: no host beyond the two above and loopback, no .github,
  dependency, eval or child process.
Not tried: a real CodeArts account (the author ran two through magpie).
codearts is not on npm yet (a new package needs NPM_TOKEN); magpie serves
it from the dist branch until an owner publishes its first version.
2026-10-22 01:57:05 +08:00
Rahayu Kertawiguna 6579f0682a codearts 0.2.0: Huawei Cloud CodeArts (码道) coding plans, with Huawei Cloud OAuth sign-in (#284)
New package @magpie-community/opencode-codearts-auth 0.2.0 (Sakura-Natsu): Huawei Cloud CodeArts (码道) coding plans, with Huawei Cloud OAuth sign-in, request signing (SDK-HMAC-SHA256), a per-account cap of 3 in-flight sessions, per-account free/regular model lists, and requests signed only for https Huawei Cloud hosts.

Reviewed head 31099104 (two rounds; the first asked for changes at a793ca5, all fixed here). Run at the reviewed head, macOS, bun 1.4.2, with a preload that allows only loopback network:
- HOME=$(mktemp -d) bun test packages/codearts: 91 pass, 0 fail
- HOME=$(mktemp -d) bun test (whole repo): 2011 pass, 0 fail
- bun scripts/check.mjs: 21 ok
- 10 parallel bun test --rerun-each 40 in packages/codearts: 0 fail
- 22 hand breaks (signature, DPoP proof, 403 expired mark, session clamp, host check, per-account lists, callback server, refresh mark); 21 went red. The one green is the callback's prefix-path match (follow-up).

Not tried against Huawei's real API (no credentials); sign-in, signature acceptance, session counting and metering rest on the author's use on two accounts. Follow-ups: list the exact Huawei hosts instead of *.myhuaweicloud.com / *.huaweicloud.com; fail at once on a callback with no code; drop the unused ticketId; exact callback path match. This is a new npm name, so its first publish needs an owner.
2026-10-21 07:55:51 +08:00