Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.9.2.23 Fixed the bug where the system crashes upon receiving a mess… #225

Merged
merged 2 commits into from Mar 29, 2024

Conversation

atorber
Copy link
Collaborator

@atorber atorber commented Mar 27, 2024

  • 1.13.9
  1. Add setting for contact remark
  2. Optimize sample code
  • 1.13.10 删除测试wxid
  • 删除了测试使用的wxid
  • 1.13.11
  1. 增加一些测试调试代码
  2. 准备合并入3.9.3.81分支
  • 1.13.12

Fixed the bug where the system crashes upon receiving a message before successful startup

Summary by CodeRabbit

  • New Features
    • Added configurations for CMake debugging with external support.
    • Introduced new functionalities for WeChat manipulation including setting contact remarks, getting contact information, sending messages, and managing chat rooms.
    • Added a method for modifying contact remarks in the WeChatSidecar class.
    • Updated the app with a Discord community link and version details in the README.
  • Documentation
    • Updated website and Discord links in the README.
  • Refactor
    • Improved code readability and consistency across various example files (demo.ts, quick-start.ts, raw-sidecar.ts, ripe-wechaty.ts).
    • Enhanced error handling and updated function declarations in ripe-wechaty.ts.
    • Adjusted object property access and updated instantiation in ripe-wechaty.ts.
    • Updated various offsets and function declarations in init-agent-script.ts for WeChat interactions.
    • Modified the WeChatSidecar class to better handle contact remark modifications.
  • Bug Fixes
    • Fixed version history details in the README.

…age before successful startup (#224)

* 3.9.2.23 init (#180)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 3.9.2.23 init (#182)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23 (#185)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23

---------

Co-authored-by: LuChao <atorber@163.com>

* add 1.3.0 illustrate

* Update README.md

* Update README.md

* add demo

* 1.13.1

* 1.13.1

* 1.13.2 dev

* 增加扫码登录、检测登录状态

* 增加登入登出事件

* 增加ts改造init

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

1. 修复获取群成员昵称乱码

* Update .npmignore

* Update .gitignore

* 1.13.2删除agent的ts文件

* 1.13.4

* 1.13.5

* Update init-agent-script.ts

* 1.13.5

* 1.13.6

* del png file

* Update init-agent-script.js

* 1.13.7 修复@好友出现两个昵称的bug

* 1.13.7 修复@好友昵称重复bug (#209)

* 3.9.2.23 init (#180)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 3.9.2.23 init (#182)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23 (#185)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23

---------

Co-authored-by: LuChao <atorber@163.com>

* add 1.3.0 illustrate

* Update README.md

* Update README.md

* add demo

* 1.13.1

* 1.13.1

* 1.13.2 dev

* 增加扫码登录、检测登录状态

* 增加登入登出事件

* 增加ts改造init

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

1. 修复获取群成员昵称乱码

* Update .npmignore

* Update .gitignore

* 1.13.2删除agent的ts文件

* 1.13.4

* 1.13.5

* Update init-agent-script.ts

* 1.13.5

* 1.13.6

* del png file

* Update init-agent-script.js

* 1.13.7 修复@好友出现两个昵称的bug

---------

Co-authored-by: choogoo <104893934+choogoo@users.noreply.github.com>

* 1.13.7

* Update README.md

* 1.13.8

* fixed send at msg err (#214)

* 3.9.2.23 init (#180)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 3.9.2.23 init (#182)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23 (#185)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23

---------

Co-authored-by: LuChao <atorber@163.com>

* add 1.3.0 illustrate

* Update README.md

* Update README.md

* add demo

* 1.13.1

* 1.13.1

* 1.13.2 dev

* 增加扫码登录、检测登录状态

* 增加登入登出事件

* 增加ts改造init

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

1. 修复获取群成员昵称乱码

* Update .npmignore

* Update .gitignore

* 1.13.2删除agent的ts文件

* 1.13.4

* 1.13.5

* Update init-agent-script.ts

* 1.13.5

* 1.13.6

* del png file

* Update init-agent-script.js

* 1.13.7 修复@好友出现两个昵称的bug

* 1.13.7 修复@好友昵称重复bug (#209)

* 3.9.2.23 init (#180)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 3.9.2.23 init (#182)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23 (#185)

* 3.9.2.23 initt

* Update init-agent-script.js

* 3.9.2.23 adapter

* 适配3.9.2.23

* Delete agent-script-3.9.2.23-new.js

* 适配3.9.2.23

---------

Co-authored-by: LuChao <atorber@163.com>

* add 1.3.0 illustrate

* Update README.md

* Update README.md

* add demo

* 1.13.1

* 1.13.1

* 1.13.2 dev

* 增加扫码登录、检测登录状态

* 增加登入登出事件

* 增加ts改造init

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

* 1.13.2

1. 修复获取群成员昵称乱码

* Update .npmignore

* Update .gitignore

* 1.13.2删除agent的ts文件

* 1.13.4

* 1.13.5

* Update init-agent-script.ts

* 1.13.5

* 1.13.6

* del png file

* Update init-agent-script.js

* 1.13.7 修复@好友出现两个昵称的bug

---------

Co-authored-by: choogoo <104893934+choogoo@users.noreply.github.com>

* 1.13.7

* Update README.md

* 1.13.8

---------

Co-authored-by: choogoo <104893934+choogoo@users.noreply.github.com>

* Add XP Discord Invite Link

* fix layout of xp discord link

* 1.13.9

1. Add setting for contact remark
2. Optimize sample code

* 1.13.10 删除测试wxid

- 删除了测试使用的wxid

* 1.13.11

1. 增加一些测试调试代码
2. 准备合并入3.9.3.81分支

* 1.13.12

Fixed the bug where the system crashes upon receiving a message before successful startup

---------

Co-authored-by: choogoo <104893934+choogoo@users.noreply.github.com>
Co-authored-by: Huan Li <huan@chatie.io>
Copy link

coderabbitai bot commented Mar 27, 2024

Walkthrough

This update brings a series of enhancements across various files, focusing on improving code readability, consistency, and functionality. Key updates include the introduction of a debug configuration for CMake in VS Code, enhancements to community engagement links and version history in the README, refinements in TypeScript examples for better code practices, and significant updates to scripts and classes for enhanced interaction with WeChat. These changes collectively aim to streamline development workflows, improve code maintainability, and expand the capabilities of WeChat manipulation.

Changes

Files Summary of Changes
.vscode/launch.json Introduced debug configuration for CMake with support for portfiles via a named pipe.
README.md Updated community links, version details, and bug fixes.
examples/demo.ts, examples/quick-start.ts, examples/raw-sidecar.ts, examples/ripe-wechaty.ts Improved code readability, consistency, and updated syntax.
src/init-agent-script.js, src/init-agent-script.ts, src/puppet-xp.ts, src/wechat-sidecar.ts Enhanced WeChat interaction capabilities and internal logic adjustments.

Related issues

  • wechaty/puppet-padlocal#217 - The enhancements in WeChat interaction capabilities, particularly the updates to handle contacts and chat rooms, could potentially address issues related to mentionSelf functionality and error handling, aligning with objectives to improve bot reliability in Windows WeChat client environments.

Poem

In the digital meadow, under the byte-sized sun,
A rabbit hopped, its task not yet done.
Refactoring code, with a meticulous eye,
Enhancing, debugging, under the silicon sky.
🐇 "For every line I tweak," it said with a cheer,
"A bug squashed, a feature clear!"
In the world of code, it danced with glee,
A rabbit, a coder, as proud as could be. 🌟

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 58be0e4 and 1fdfba3.
Files selected for processing (1)
  • examples/ripe-wechaty.ts (5 hunks)
Files skipped from review as they are similar to previous changes (1)
  • examples/ripe-wechaty.ts

@atorber atorber merged commit 2cd0438 into main Mar 29, 2024
7 checks passed
@atorber atorber deleted the 3.9.2.23 branch March 29, 2024 06:35
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.

None yet

1 participant