Skip to content

QuWork 0.1.4: official browser sign-in and model key fallback - #1321

Open
kshu06537-bot wants to merge 7 commits into
magpie-community:mainfrom
kshu06537-bot:add-quwork-plugin
Open

kshu06537-bot wants to merge 7 commits into
magpie-community:mainfrom
kshu06537-bot:add-quwork-plugin

Conversation

@kshu06537-bot

@kshu06537-bot kshu06537-bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Adds @magpie-community/opencode-quwork-auth under packages/quwork, with provider ID quwork. The package is MIT-licensed and declares ten model entries.

Sign-in

  • The first method opens a dedicated Chrome/Edge window at the official QuWork site. The user completes SMS or WeChat login there.
  • The plugin reads the official quwork_web_token from that dedicated profile and captures llm_token from the login response when QuWork returns it.
  • The second method accepts an sk- model key authorized by QuWork for third-party use.
  • Quota uses the official account token. If the official login yields no model credential, the account is kept for quota reading and model requests explain that a model key is required.

Verification

  • Seven simulated tests pass with Node and Magpie's Bun runtime.
  • The Magpie plugin host registers quwork with oauth and api methods.
  • A local dedicated-Edge test verified reading quwork_web_token; a second local test verified capturing llm_token from a login response.
  • bun scripts/check.mjs quwork passes.
  • The dry-run package contains ten files, including browser.mjs and the license. Live QuWork account login was outside this test run.

@kshu06537-bot kshu06537-bot changed the title quwork 0.1.0: unofficial QuWork provider (browser SMS sign-in, desktop session, points) QuWork 0.1.1 adds experimental browser sign-in and points in Quota Nov 18, 2026
@kshu06537-bot kshu06537-bot changed the title QuWork 0.1.1 adds experimental browser sign-in and points in Quota QuWork 0.1.2 uses the official website login and authorized model keys Nov 18, 2026
@kshu06537-bot kshu06537-bot changed the title QuWork 0.1.2 uses the official website login and authorized model keys QuWork 0.1.3: official website login and authorized model keys Nov 18, 2026
@kshu06537-bot kshu06537-bot changed the title QuWork 0.1.3: official website login and authorized model keys QuWork 0.1.4: official browser sign-in and model key fallback Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant