lewxclaw 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/index.js +3282 -0
- package/dist/index.js.map +1 -0
- package/package.json +47 -0
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# WxClaw
|
|
2
|
+
|
|
3
|
+
公众号创作全流程自动化 Agent。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g lewxclaw
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 快速开始
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# 首次运行,进入交互式配置
|
|
15
|
+
lewxclaw setup
|
|
16
|
+
|
|
17
|
+
# 创建文章
|
|
18
|
+
lewxclaw create --topic "AI 对教育行业的影响"
|
|
19
|
+
|
|
20
|
+
# 查看热点
|
|
21
|
+
lewxclaw topics fetch
|
|
22
|
+
|
|
23
|
+
# 管理定时任务
|
|
24
|
+
lewxclaw cron add --step topic-discovery --cron "0 8 * * *"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 配置
|
|
28
|
+
|
|
29
|
+
配置文件存储在 `~/.lewxclaw/config.json`。
|
|
30
|
+
|
|
31
|
+
可通过命令管理:
|
|
32
|
+
```bash
|
|
33
|
+
lewxclaw config set providers.minimax.apiKey sk-xxx
|
|
34
|
+
lewxclaw config get providers.minimax.apiKey
|
|
35
|
+
lewxclaw config list
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## 命令列表
|
|
39
|
+
|
|
40
|
+
| 命令 | 说明 |
|
|
41
|
+
|------|------|
|
|
42
|
+
| `lewxclaw setup` | 交互式配置向导 |
|
|
43
|
+
| `lewxclaw create` | 创建公众号文章 |
|
|
44
|
+
| `lewxclaw topics` | 热点话题管理 |
|
|
45
|
+
| `lewxclaw cron` | 定时任务管理 |
|
|
46
|
+
| `lewxclaw style` | 写作风格管理 |
|
|
47
|
+
| `lewxclaw config` | 配置管理 |
|