Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions scripts/im/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions scripts/im/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "cccc-weixin-sidecar",
"private": true,
"type": "module",
"engines": {
"node": ">=22"
},
"dependencies": {
"weixin-agent-sdk": "0.4.0"
}
}
2 changes: 1 addition & 1 deletion scripts/im/weixin_sidecar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function main() {
});
emit("error", {
message:
"failed to import weixin-agent-sdk; install it first, e.g. npm install weixin-agent-sdk",
"failed to import weixin-agent-sdk; install scripts/im dependencies first, e.g. cd scripts/im && npm install",
});
process.exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@
"weixinAccountIdHint": "Optional; falls back to the first logged-in account managed by `weixin-agent-sdk`.",
"weixinCommand": "Sidecar command (optional)",
"weixinCommandHint": "Optional; overrides the default `node scripts/im/weixin_sidecar.mjs` launch command.",
"weixinPackageHint": "The host needs Node.js and the `weixin-agent-sdk` npm package. Complete WeChat login before first use.",
"weixinPackageHint": "The host needs Node.js. Run `cd scripts/im && npm install` first so the pinned `weixin-agent-sdk@0.4.0` dependency is installed before the first WeChat login.",
"weixinLoginTitle": "Weixin Login",
"weixinLoginStatus": "Login status",
"weixinCurrentAccount": "Current account",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/ja/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@
"weixinAccountIdHint": "任意です。空欄の場合は `weixin-agent-sdk` が管理する最初のログイン済みアカウントを使います。",
"weixinCommand": "Sidecar コマンド(任意)",
"weixinCommandHint": "任意です。既定の `node scripts/im/weixin_sidecar.mjs` 起動コマンドを上書きします。",
"weixinPackageHint": "ホスト側に Node.js npm パッケージ `weixin-agent-sdk` が必要です。初回利用前に WeChat ログインを済ませてください。",
"weixinPackageHint": "ホスト側に Node.js が必要です。初回の WeChat ログイン前に、`scripts/im` で `npm install` を実行して固定済みの `weixin-agent-sdk@0.4.0` 依存関係を導入してください。",
"weixinLoginTitle": "Weixin ログイン",
"weixinLoginStatus": "ログイン状態",
"weixinCurrentAccount": "現在のアカウント",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/zh/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@
"weixinAccountIdHint": "可选;为空时使用 `weixin-agent-sdk` 的默认首个已登录账号。",
"weixinCommand": "Sidecar 命令(可选)",
"weixinCommandHint": "可选;覆盖默认的 `node scripts/im/weixin_sidecar.mjs` 启动命令。",
"weixinPackageHint": "宿主机需要 Node.jsnpm `weixin-agent-sdk`。首次使用前先完成微信登录。",
"weixinPackageHint": "宿主机需要 Node.js,并先在 `scripts/im` 下执行 `npm install` 安装已固定的 `weixin-agent-sdk@0.4.0` 依赖。首次使用前先完成微信登录。",
"weixinLoginTitle": "微信登录",
"weixinLoginStatus": "登录状态",
"weixinCurrentAccount": "当前账号",
Expand Down
Loading