bereach-openclaw 0.2.11 → 0.2.13

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # BeReach — OpenClaw Plugin
2
2
 
3
- LinkedIn outreach automation via [BeReach](https://berea.ch). Registers 33 in-process tools, auto-reply commands, and a campaign monitoring service.
3
+ LinkedIn outreach automation via [BeReach](https://berea.ch). Registers 33 in-process tools and auto-reply commands.
4
4
 
5
5
  ## Install
6
6
 
@@ -8,6 +8,12 @@ LinkedIn outreach automation via [BeReach](https://berea.ch). Registers 33 in-pr
8
8
  openclaw plugins install bereach-openclaw
9
9
  ```
10
10
 
11
+ ## Post-install checklist
12
+
13
+ 1. **Configure** — Add `BEREACH_API_KEY` to `openclaw.json` (see [Setup](#setup)).
14
+ 2. **Restart** — `openclaw gateway restart`
15
+ 3. **New session** — Type `/new` in Telegram or chat so the agent sees the tools (existing sessions don't pick up new plugins).
16
+
11
17
  ## Upgrade
12
18
 
13
19
  `openclaw plugins update bereach` can leave `node_modules` and `extensions/` out of sync (version mismatch → trim/crash errors). **Use uninstall + reinstall** instead.
@@ -23,6 +29,7 @@ openclaw plugins install bereach-openclaw
23
29
 
24
30
  # 3. Re-add config (API key + plugins.allow) in openclaw.json — see Setup above
25
31
  # 4. Restart the Gateway
32
+ # 5. /new in Telegram or chat (new session picks up the plugin)
26
33
  ```
27
34
 
28
35
  Verify versions match:
@@ -81,21 +88,17 @@ The API key can be set in 3 ways (in order of precedence):
81
88
 
82
89
  Restart the Gateway after configuring.
83
90
 
91
+ **Important:** After install or restart, start a **new session** so the agent sees the tools. In Telegram or chat: type `/new`. Existing sessions don't pick up new plugins.
92
+
84
93
  ## Troubleshooting
85
94
 
86
95
  ### BeReach tools (`bereach_*`) not visible in my session
87
96
 
88
- The plugin is loaded but tools don't appear in the agent's tool list. Common causes:
89
-
90
- 1. **Plugin installed after session started** — Existing sessions don't pick up new tools.
91
- 2. **Gateway not restarted** — Config changes require a restart.
97
+ **First try:** `/new` in Telegram or chat new sessions pick up plugins; old ones don't.
92
98
 
93
- **Fix:**
94
- ```bash
95
- openclaw gateway restart
96
- # Then start a NEW session (e.g. new Telegram chat)
97
- # Test: "Utilise bereach_get_credits"
98
- ```
99
+ If that doesn't work:
100
+ - Restart the Gateway: `openclaw gateway restart`
101
+ - Then `/new` again
99
102
 
100
103
  ### "Cannot read properties of undefined (reading 'trim')" or "plugin disabled (not in allowlist)"
101
104
 
@@ -154,17 +157,12 @@ These execute instantly without invoking the AI:
154
157
  openclaw bereach status
155
158
  ```
156
159
 
157
- ### Campaign monitor
158
-
159
- A background service polls active campaigns every 5 minutes and logs activity deltas (new actions since last check).
160
-
161
160
  ## What's included
162
161
 
163
162
  | Component | Description |
164
163
  | --- | --- |
165
164
  | `src/tools/` | 33 tool definitions generated from OpenAPI |
166
165
  | `src/commands/` | Auto-reply commands + CLI |
167
- | `src/services/` | Campaign monitoring service |
168
166
  | `skills/bereach/SKILL.md` | Main behavioral skill |
169
167
  | `skills/bereach/sub/lead-magnet.md` | Lead magnet workflow |
170
168
  | `skills/bereach/sdk-reference.md` | SDK method reference |
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "id": "bereach",
3
3
  "name": "BeReach",
4
- "version": "0.2.11",
5
- "description": "LinkedIn outreach automation — 33 tools, auto-reply commands, campaign monitoring",
4
+ "version": "0.2.13",
5
+ "description": "LinkedIn outreach automation — 33 tools, auto-reply commands",
6
6
  "configSchema": {
7
7
  "type": "object",
8
- "required": [
9
- "BEREACH_API_KEY"
10
- ],
11
8
  "additionalProperties": false,
12
9
  "properties": {
13
10
  "BEREACH_API_KEY": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bereach-openclaw",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "BeReach LinkedIn automation plugin for OpenClaw",
5
5
  "license": "AGPL-3.0",
6
6
  "scripts": {
@@ -1,15 +0,0 @@
1
- declare module "bereach" {
2
- interface BereachOptions {
3
- token: string;
4
- }
5
-
6
- export class Bereach {
7
- constructor(options: BereachOptions);
8
- linkedinScrapers: Record<string, (params: any) => Promise<any>>;
9
- linkedinActions: Record<string, (params: any) => Promise<any>>;
10
- linkedinChat: Record<string, (params: any) => Promise<any>>;
11
- linkedinSearch: Record<string, (params: any) => Promise<any>>;
12
- profile: Record<string, (params?: any) => Promise<any>>;
13
- campaigns: Record<string, (params: any) => Promise<any>>;
14
- }
15
- }