Skip to content

fix: update group id#661

Merged
ikenxuan merged 1 commit into
mainfrom
fix-fix
Jun 28, 2026
Merged

fix: update group id#661
ikenxuan merged 1 commit into
mainfrom
fix-fix

Conversation

@ikenxuan

@ikenxuan ikenxuan commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary by Sourcery

在核心模块、沙箱环境、文档以及 Web 控制台中更新 QQ 群号及相关头像链接,指向新的 QQ 群。

Enhancements(功能改进):

  • 在核心适配器和沙箱数据库中,将默认群头像和机器人头像的 URL 与新 QQ 群保持一致。
  • 更新 Web 控制台「关于」页面中的 QQ 群邀请链接,指向新的 QQ 群 URL。

Documentation(文档):

  • 更新 README 中与 QQ 技术支持群相关的群号描述,使其匹配新的 QQ 群。

Chores(杂项任务):

  • 更新 packages/core/package.json 中记录的包构建时间。
Original summary in English

Summary by Sourcery

Update QQ group identifiers and associated avatar URLs across core, sandbox, docs, and web dashboard to point to the new group.

Enhancements:

  • Align default group avatar and bot avatar URLs in core adapter and sandbox DB with the new QQ group.
  • Refresh the web dashboard "About" page QQ group invite link to the new group URL.

Documentation:

  • Update README references to the QQ support group ID to reflect the new group.

Chores:

  • Bump the recorded package time in packages/core/package.json.

Summary by CodeRabbit

  • New Features

    • Updated community and support links to the latest group/invite information across the app.
    • Refreshed the default avatar shown in console and group-related views.
  • Documentation

    • Corrected the community group number in the getting-started and FAQ docs.
  • Bug Fixes

    • Updated the “About” page button to use a working, shorter invite link.

@ikenxuan ikenxuan merged commit ab4c96d into main Jun 28, 2026
2 checks passed
@ikenxuan ikenxuan deleted the fix-fix branch June 28, 2026 02:08
@sourcery-ai

sourcery-ai Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

在核心适配器头像、沙箱默认群头像、README 中的引用以及 Web 控制台的关于页面链接中更新 QQ 羟聊群号,并刷新核心包的元数据时间戳。

File-Level Changes

Change Details Files
将控制台适配器头像 URL 更新为使用新的 QQ 羟聊群号。
  • 将 account.avatar 的默认 URL 设置为新的羟聊群头像 URL。
  • 将 getAvatarUrl 机器人回退 URL 修改为新的羟聊群头像 URL。
  • 修改 getGroupAvatarUrl,使其返回新的羟聊群头像 URL。
packages/core/src/adapter/input/index.ts
更新文档中对 QQ 羟聊群号的引用。
  • 在主 README 的邀请语句中,用新羟聊群号替换旧羟聊群号。
  • 在 FAQ 部分,用新羟聊群号替换旧羟聊群号。
README.md
刷新核心包的元数据时间戳。
  • 将 core package.json 中的 time 字段更新为较新的 ISO 时间戳。
packages/core/package.json
更新沙箱默认羟聊群头像,使其与新的 QQ 羟聊群头像 URL 保持一致。
  • 将 DEFAULT_GROUP_AVATAR 常量修改为使用新的羟聊群头像 URL。
packages/core/src/service/sandbox/db.ts
更新 Web 控制台关于页面中的入群链接为新的 QQ 羟聊群 URL。
  • 在关于页面按钮的 href 中,用新的短链接替换旧的 QQ 羟聊群加群 URL。
packages/web/src/pages/dashboard/about.tsx

Tips and commands

Interacting with Sourcery

  • 触发新评审: 在 PR 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub Issue: 回复某条评审评论,请 Sourcery 将其创建为 issue。你也可以回复评审评论 @sourcery-ai issue 来从该评论创建 issue。
  • 生成 Pull Request 标题: 在 PR 标题中任意位置写上 @sourcery-ai,即可在任何时候生成标题。你也可以在 PR 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 Pull Request 摘要: 在 PR 描述中任意位置写上 @sourcery-ai summary,即可在你想要出现的位置生成 PR 摘要。你也可以在 PR 中评论 @sourcery-ai summary 来在任何时候(重新)生成摘要。
  • 生成评审者指南: 在 PR 中评论 @sourcery-ai guide,即可在任何时候(重新)生成评审者指南。
  • 一次性解决所有 Sourcery 评论: 在 PR 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 一次性忽略所有 Sourcery 评审: 在 PR 中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 评审。尤其适用于你想从一次全新的评审开始——别忘了再评论 @sourcery-ai review 来触发新的评审!

Customizing Your Experience

访问你的 dashboard 可以:

  • 启用或禁用评审功能,例如 Sourcery 生成的 PR 摘要、评审者指南等。
  • 更改评审语言。
  • 添加、删除或编辑自定义评审说明。
  • 调整其他评审设置。

Getting Help

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the QQ group ID across core adapter avatars, sandbox default group avatar, README references, and web dashboard about page link, plus refreshes the core package metadata timestamp.

File-Level Changes

Change Details Files
Update console adapter avatar URLs to use the new QQ group ID.
  • Set account.avatar default URL to the new group avatar URL.
  • Change getAvatarUrl bot fallback URL to the new group avatar URL.
  • Change getGroupAvatarUrl to return the new group avatar URL.
packages/core/src/adapter/input/index.ts
Update documentation references to the QQ group ID.
  • Replace old group ID in the main README invitation line with the new ID.
  • Replace old group ID in FAQ section with the new ID.
README.md
Refresh core package metadata timestamp.
  • Update the time field in core package.json to a newer ISO timestamp.
packages/core/package.json
Update sandbox default group avatar to match the new QQ group avatar URL.
  • Change DEFAULT_GROUP_AVATAR constant to use the new group avatar URL.
packages/core/src/service/sandbox/db.ts
Update web dashboard About page group join link to the new QQ group URL.
  • Replace the old QQ group join URL with the new short URL in the About page button href.
packages/web/src/pages/dashboard/about.tsx

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 32be6b38-17d6-4137-bf71-8329f7688bc9

📥 Commits

Reviewing files that changed from the base of the PR and between d58ed6d and 9813b22.

📒 Files selected for processing (5)
  • README.md
  • packages/core/package.json
  • packages/core/src/adapter/input/index.ts
  • packages/core/src/service/sandbox/db.ts
  • packages/web/src/pages/dashboard/about.tsx

📝 Walkthrough

Walkthrough

Updates the community QQ group number from 967068507 to 850541480 in README documentation, adapter avatar URLs, sandbox default group avatar constant, and the web dashboard about page invite link. The packages/core/package.json timestamp is also updated.

Changes

Community Group Number Update

Layer / File(s) Summary
Group number and avatar URL updates
README.md, packages/core/src/service/sandbox/db.ts, packages/core/src/adapter/input/index.ts, packages/web/src/pages/dashboard/about.tsx, packages/core/package.json
README text, DEFAULT_GROUP_AVATAR constant, AdapterConsole avatar URLs, and the QQ group invite link all updated to use group 850541480; package timestamp bumped.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 Hop hop, the group has moved along,
A new number to join where we belong!
Eight-five-zero, the digits ring true,
Old links retire, fresh invites breakthrough.
The rabbit updates with a flick of the paw! 🐾

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot mentioned this pull request Jun 28, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the QQ group number and its associated avatar URLs and invitation links across the repository, including the README, core adapter, sandbox database, and the dashboard about page. The review feedback recommends adding target='_blank' and rel='noopener noreferrer' to the external QQ group link in the dashboard page to improve security and performance.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

<Button
as='a'
href='http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=kDN3vwVj8Qozw94TWX69r24vxrWqkgMy&authKey=NxnqHYmo8037jCeDkO9yIFPOdQxkKa4JlxC%2FAV6UNxwGc%2FwKEVoogi44syB3BWuC&noverify=0&group_code=967068507'
href='https://qm.qq.com/q/SgP7WaLTag'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

security-medium medium

For external links, it is a security and performance best practice to include target='_blank' and rel='noopener noreferrer'. This prevents the target page from accessing the window object of the originating page and improves performance by running the target page in a separate process.

Suggested change
href='https://qm.qq.com/q/SgP7WaLTag'
href='https://qm.qq.com/q/SgP7WaLTag'
target='_blank'
rel='noopener noreferrer'

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - 我在这里提供了一些总体反馈:

  • QQ 群号和头像 URL 在多个地方被硬编码(adapter、sandbox 数据库、README、Web UI);建议将这些值集中到一个共享配置中,这样以后需要修改时只需要更新一个来源。
  • AdapterConsole 和 sandbox 数据库中的默认头像 URL 是重复的字符串;可以将它们提取为常量,或者在合适的地方复用 DEFAULT_GROUP_AVATAR,从而减少重复并降低出现不一致的风险。
给 AI Agent 的提示
Please address the comments from this code review:

## Overall Comments
- QQ 群号和头像 URL 在多个地方被硬编码(adapter、sandbox 数据库、README、Web UI);建议将这些值集中到一个共享配置中,这样以后需要修改时只需要更新一个来源。
- AdapterConsole 和 sandbox 数据库中的默认头像 URL 是重复的字符串;可以将它们提取为常量,或者在合适的地方复用 DEFAULT_GROUP_AVATAR,从而减少重复并降低出现不一致的风险。

Sourcery 对开源项目是免费的——如果你觉得我们的代码审查有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的代码审查。
Original comment in English

Hey - I've left some high level feedback:

  • The QQ group ID and avatar URL are hardcoded in multiple places (adapter, sandbox db, README, web UI); consider centralizing these values in a shared config so changing them in the future only requires updating one source.
  • The default avatar URLs in AdapterConsole and sandbox db are duplicated strings; extracting them into constants or reusing DEFAULT_GROUP_AVATAR where appropriate would reduce repetition and chances of inconsistency.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The QQ group ID and avatar URL are hardcoded in multiple places (adapter, sandbox db, README, web UI); consider centralizing these values in a shared config so changing them in the future only requires updating one source.
- The default avatar URLs in AdapterConsole and sandbox db are duplicated strings; extracting them into constants or reusing DEFAULT_GROUP_AVATAR where appropriate would reduce repetition and chances of inconsistency.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions

Copy link
Copy Markdown
Contributor

你可以通过以下命令安装该版本:

pnpm add https://pkg.pr.new/node-karin@9813b22 -w

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