Files
plugins/packages/trae/package.json
T
yetone d6efb4f7bc trae: the credits a pack loses at its end show as runsOut (#718)
A finite pack's credits are gone at its end_time whether or not another
pack follows, so the Credits window now carries runsOutAt (the soonest
live pack's end, as 0.2.37 reads it) and runsOut (what the packs ending
at that instant have left). magpie's routing already takes runsOutAt
before resetsAt and sorts by what lapses; WorkBuddy's plugin does the
same.

Test built from gcq909893267's account B packs on #718: the 11-18
sign-in reward with 4.1456 used gives 95.85 lapsing then, two rewards
ending at one second add up, and past both the monthly 500 lapses.

Run: on mote, packages/trae bun test 268 pass, check.mjs trae ok. With
index.mjs back at 0.2.37 four tests fail (the new one and the three
whose windows now carry runsOut).
Not tried: a live Trae account (the reporter's numbers are the fixture).
2026-11-15 00:41:54 +08:00

32 lines
713 B
JSON

{
"name": "@magpie-community/opencode-trae-auth",
"version": "0.2.38",
"description": "OpenCode provider plugins for Trae: Trae CN (trae.cn) and Trae Global (trae.ai), free tier included, with Trae's own browser sign-in",
"type": "module",
"main": "./opencode.mjs",
"exports": {
".": "./opencode2.mjs"
},
"files": [
"index.mjs",
"opencode.mjs",
"opencode2.mjs",
"README.md"
],
"keywords": [
"opencode",
"opencode-plugin",
"magpie",
"trae",
"trae-cn",
"trae-global",
"bytedance"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/trae"
}
}