Skip to content

added Hermes setup for wechat-acp#5

Open
davidtaoweiji wants to merge 2 commits into
formulahendry:mainfrom
davidtaoweiji:main
Open

added Hermes setup for wechat-acp#5
davidtaoweiji wants to merge 2 commits into
formulahendry:mainfrom
davidtaoweiji:main

Conversation

@davidtaoweiji

Copy link
Copy Markdown

No description provided.

Copilot AI 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.

Pull request overview

Adds a new built-in ACP agent preset for Hermes and updates Node.js type definitions.

Changes:

  • Add a hermes entry to BUILT_IN_AGENTS so it can be selected via --agent hermes.
  • Bump @types/node devDependency to ^22.19.15 (and update lockfile accordingly).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/config.ts Registers the new hermes built-in agent preset.
package.json Updates @types/node devDependency version.
package-lock.json Locks @types/node to the updated version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/config.ts
Comment on lines +25 to +31
export const BUILT_IN_AGENTS: Record<string, AgentPreset> = {
hermes: {
label: "Hermes Agent",
command: "hermes",
args: ["acp"],
description: "Hermes Agent ACP mode",
},

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

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

Adding the new built-in hermes preset makes the user-facing preset list in README out of date (README.md currently lists copilot/claude/gemini/qwen/codex/opencode only). Please update the documentation so npx wechat-acp agents output matches the documented preset list.

Copilot uses AI. Check for mistakes.
Comment thread package.json
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/node": "^22.19.15",

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

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

@types/node was bumped to v22 while engines.node is still ">=20.0.0". Using a newer Node type set than the minimum supported runtime can let TypeScript accept APIs that don't exist in Node 20, leading to runtime failures. Consider pinning @types/node to the minimum supported major (20) or raising the engines.node requirement accordingly.

Suggested change
"@types/node": "^22.19.15",
"@types/node": "^20.17.0",

Copilot uses AI. Check for mistakes.
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.

2 participants