Skip to content

Migrate v0.5.3 QQ bot support / 迁移 v0.5.3 QQ Bot 支持#4324

Open
SivanCola wants to merge 2 commits into
main-v2from
feature/qq-bot-v053-migration
Open

Migrate v0.5.3 QQ bot support / 迁移 v0.5.3 QQ Bot 支持#4324
SivanCola wants to merge 2 commits into
main-v2from
feature/qq-bot-v053-migration

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • Migrate the v0.5.3 QQ bot path into the current bot config, including legacy import support and example config coverage.
  • Harden the QQ gateway for official token/gateway behavior, C2C openid handling, heartbeat bounds, sandbox/formal endpoints, message chunking, and send diagnostics.
  • Simplify the desktop QQ bot settings flow, move advanced controls to connected bot rows, improve responsive settings layouts, and add browser-preview guardrails.

Verification

  • go test ./internal/bot/qq ./internal/bot ./internal/botruntime ./internal/config ./internal/cli -run 'Test(QQ|Bot|Desktop|Migrate|Render|Allowlist|Gateway)'
  • tsc --noEmit in the desktop frontend workspace
  • Manual QQ C2C smoke test: official gateway reached READY, inbound C2C message was received, and QQ REST send returned message IDs.

Authorship note: @SivanCola contributed by testing the QQ integration end to end, validating the settings UX, and confirming the final allowlist-backed C2C flow.

Add QQ bot settings migration, simplified desktop setup UI, official gateway/token handling, and regression coverage for the v0.5.3 QQ bot path.

Co-authored-by: SivanCola <32437197+SivanCola@users.noreply.github.com>
@SivanCola SivanCola requested a review from esengine as a code owner June 13, 2026 18:43
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) config Configuration & setup (internal/config) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 13, 2026
@SivanCola

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8282ea785c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/bot/qq/gateway.go
Comment thread desktop/frontend/src/components/SettingsPanel.tsx
Comment thread desktop/frontend/src/App.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant