Skip to content

Commit 7efec18

Browse files
lroolleclaude
andcommitted
feat!: move to @claw-lab/wxclawbot-cli, npm-first install
BREAKING: Package renamed from @herai/wxclawbot-cli to @claw-lab/wxclawbot-cli. Old package deprecated on npm. Install prompt now uses npm (universally available) instead of clawhub (not default in openclaw). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ffea5af commit 7efec18

5 files changed

Lines changed: 24 additions & 24 deletions

File tree

README.en.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# @herai/wxclawbot-cli
1+
# @claw-lab/wxclawbot-cli
22

3-
[简体中文](./README.md) | [npm](https://www.npmjs.com/package/@herai/wxclawbot-cli) | [GitHub](https://github.com/lroolle/wxclawbot-cli) | [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send)
3+
[简体中文](./README.md) | [npm](https://www.npmjs.com/package/@claw-lab/wxclawbot-cli) | [GitHub](https://github.com/lroolle/wxclawbot-cli) | [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send)
44

55
Let your AI agent proactively send WeChat messages. Text, images, video, files -- whatever you need.
66

@@ -19,9 +19,9 @@ WeChat bots can only reply. They can't initiate. That's like having a secretary
1919
Send this to your OpenClaw agent (Lobster). That's the whole install process:
2020

2121
```
22-
Install a skill so you can proactively WeChat me: clawhub install wxclawbot-send
22+
Install a skill so you can proactively WeChat me: npm install -g @claw-lab/wxclawbot-cli
2323
24-
npm: https://www.npmjs.com/package/@herai/wxclawbot-cli
24+
npm: https://www.npmjs.com/package/@claw-lab/wxclawbot-cli
2525
Source: https://github.com/lroolle/wxclawbot-cli
2626
2727
Let me know when it's done.
@@ -133,8 +133,8 @@ export WXCLAW_BASE_URL="https://ilinkai.weixin.qq.com"
133133
## Programmatic API
134134

135135
```typescript
136-
import { WxClawClient } from "@herai/wxclawbot-cli";
137-
import { resolveAccount } from "@herai/wxclawbot-cli/accounts";
136+
import { WxClawClient } from "@claw-lab/wxclawbot-cli";
137+
import { resolveAccount } from "@claw-lab/wxclawbot-cli/accounts";
138138

139139
const account = resolveAccount();
140140
const client = new WxClawClient({
@@ -151,7 +151,7 @@ See [references/programmatic-api.md](references/programmatic-api.md) for full de
151151

152152
## Links
153153

154-
- [npm](https://www.npmjs.com/package/@herai/wxclawbot-cli)
154+
- [npm](https://www.npmjs.com/package/@claw-lab/wxclawbot-cli)
155155
- [GitHub](https://github.com/lroolle/wxclawbot-cli)
156156
- [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send) -- `clawhub install wxclawbot-send`
157157
- [WeChat Integration Tutorial](https://mp.weixin.qq.com/s/nYDQ1obQEHe1WavGpNzasQ) -- start here for the basics

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# @herai/wxclawbot-cli
1+
# @claw-lab/wxclawbot-cli
22

3-
[English](./README.en.md) | [npm](https://www.npmjs.com/package/@herai/wxclawbot-cli) | [GitHub](https://github.com/lroolle/wxclawbot-cli) | [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send)
3+
[English](./README.en.md) | [npm](https://www.npmjs.com/package/@claw-lab/wxclawbot-cli) | [GitHub](https://github.com/lroolle/wxclawbot-cli) | [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send)
44

55
让你的 AI agent 主动给微信用户发消息。文本、图片、视频、文件,想发就发。
66

@@ -18,9 +18,9 @@
1818
把下面这段直接发给你的龙虾就行:
1919

2020
```
21-
装个技能让你能主动给我发微信:clawhub install wxclawbot-send
21+
装个技能让你能主动给我发微信,先装 CLI:npm install -g @claw-lab/wxclawbot-cli
2222
23-
npm 包:https://www.npmjs.com/package/@herai/wxclawbot-cli
23+
npm 包:https://www.npmjs.com/package/@claw-lab/wxclawbot-cli
2424
源码:https://github.com/lroolle/wxclawbot-cli
2525
2626
装好了告诉我。
@@ -132,8 +132,8 @@ export WXCLAW_BASE_URL="https://ilinkai.weixin.qq.com"
132132
## 编程接口
133133

134134
```typescript
135-
import { WxClawClient } from "@herai/wxclawbot-cli";
136-
import { resolveAccount } from "@herai/wxclawbot-cli/accounts";
135+
import { WxClawClient } from "@claw-lab/wxclawbot-cli";
136+
import { resolveAccount } from "@claw-lab/wxclawbot-cli/accounts";
137137

138138
const account = resolveAccount();
139139
const client = new WxClawClient({
@@ -150,7 +150,7 @@ await client.sendFile("user@im.wechat", "./photo.jpg", { text: "请查收" });
150150

151151
## 相关链接
152152

153-
- [npm](https://www.npmjs.com/package/@herai/wxclawbot-cli)
153+
- [npm](https://www.npmjs.com/package/@claw-lab/wxclawbot-cli)
154154
- [GitHub](https://github.com/lroolle/wxclawbot-cli)
155155
- [ClawHub](https://clawhub.ai/lroolle/wxclawbot-send) -- `clawhub install wxclawbot-send`
156156
- [龙虾接入微信教程](https://mp.weixin.qq.com/s/nYDQ1obQEHe1WavGpNzasQ) -- 先看这个搞定基础接入

SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: wxclawbot-send
3-
version: 0.3.0
3+
version: 0.4.0
44
description: >
55
Send messages to WeChat users via wxclawbot CLI. Supports text, images,
66
video, and file attachments. Use when: sending messages to WeChat users,
@@ -17,7 +17,7 @@ metadata:
1717
primaryEnv: WXCLAW_TOKEN
1818
install:
1919
- kind: node
20-
package: "@herai/wxclawbot-cli"
20+
package: "@claw-lab/wxclawbot-cli"
2121
bins: [wxclawbot]
2222
os: [macos, linux]
2323
envVars:
@@ -35,13 +35,13 @@ metadata:
3535

3636
# wxclawbot-send
3737

38-
Send text, images, video, and files to WeChat users via `wxclawbot` CLI (`@herai/wxclawbot-cli`).
38+
Send text, images, video, and files to WeChat users via `wxclawbot` CLI (`@claw-lab/wxclawbot-cli`).
3939
For AI agents, scripts, and cron jobs.
4040

4141
## Prerequisites
4242

4343
- Node.js >= 20
44-
- `npm install -g @herai/wxclawbot-cli`
44+
- `npm install -g @claw-lab/wxclawbot-cli`
4545
- openclaw-weixin account logged in (credentials at `~/.openclaw/openclaw-weixin/accounts/`)
4646

4747
Verify: `wxclawbot accounts --json`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@herai/wxclawbot-cli",
3-
"version": "0.3.0",
2+
"name": "@claw-lab/wxclawbot-cli",
3+
"version": "0.4.0",
44
"description": "WeixinClawBot CLI - send text, images, video, and files to WeChat users",
55
"type": "module",
66
"bin": {

references/programmatic-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## TypeScript Usage
44

55
```typescript
6-
import { WxClawClient } from "@herai/wxclaw-cli";
7-
import { resolveAccount } from "@herai/wxclaw-cli/accounts";
6+
import { WxClawClient } from "@claw-lab/wxclawbot-cli";
7+
import { resolveAccount } from "@claw-lab/wxclawbot-cli/accounts";
88

99
const account = resolveAccount();
1010
const client = new WxClawClient({
@@ -28,5 +28,5 @@ bound user ID (default --to target).
2828

2929
| Export | Module |
3030
|--------|--------|
31-
| `@herai/wxclaw-cli` | `WxClawClient` class |
32-
| `@herai/wxclaw-cli/accounts` | `resolveAccount()`, account discovery |
31+
| `@claw-lab/wxclawbot-cli` | `WxClawClient` class |
32+
| `@claw-lab/wxclawbot-cli/accounts` | `resolveAccount()`, account discovery |

0 commit comments

Comments
 (0)