@useorgx/openclaw-plugin 0.4.4 → 0.4.6
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 +85 -2
- package/dashboard/dist/assets/0tOC3wSN.js +214 -0
- package/dashboard/dist/assets/Bm8QnMJ_.js +1 -0
- package/dashboard/dist/assets/CpJsfbXo.js +9 -0
- package/dashboard/dist/assets/CyxZio4Y.js +1 -0
- package/dashboard/dist/assets/DaAIOik3.css +1 -0
- package/dashboard/dist/index.html +3 -3
- package/dist/activity-store.d.ts +28 -0
- package/dist/activity-store.js +250 -0
- package/dist/agent-context-store.d.ts +19 -0
- package/dist/agent-context-store.js +60 -3
- package/dist/agent-suite.d.ts +83 -0
- package/dist/agent-suite.js +615 -0
- package/dist/contracts/client.d.ts +22 -1
- package/dist/contracts/client.js +120 -3
- package/dist/contracts/types.d.ts +190 -1
- package/dist/entity-comment-store.d.ts +29 -0
- package/dist/entity-comment-store.js +190 -0
- package/dist/hooks/post-reporting-event.mjs +326 -0
- package/dist/http-handler.d.ts +7 -1
- package/dist/http-handler.js +3619 -585
- package/dist/index.js +1039 -80
- package/dist/mcp-client-setup.d.ts +30 -0
- package/dist/mcp-client-setup.js +347 -0
- package/dist/mcp-http-handler.d.ts +55 -0
- package/dist/mcp-http-handler.js +395 -0
- package/dist/next-up-queue-store.d.ts +31 -0
- package/dist/next-up-queue-store.js +169 -0
- package/dist/openclaw.plugin.json +1 -1
- package/dist/outbox.d.ts +1 -1
- package/dist/runtime-instance-store.d.ts +1 -1
- package/dist/runtime-instance-store.js +20 -3
- package/dist/skill-pack-state.d.ts +69 -0
- package/dist/skill-pack-state.js +232 -0
- package/dist/worker-supervisor.d.ts +25 -0
- package/dist/worker-supervisor.js +62 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +10 -1
- package/skills/orgx-design-agent/SKILL.md +38 -0
- package/skills/orgx-engineering-agent/SKILL.md +55 -0
- package/skills/orgx-marketing-agent/SKILL.md +40 -0
- package/skills/orgx-operations-agent/SKILL.md +40 -0
- package/skills/orgx-orchestrator-agent/SKILL.md +45 -0
- package/skills/orgx-product-agent/SKILL.md +39 -0
- package/skills/orgx-sales-agent/SKILL.md +40 -0
- package/skills/ship/SKILL.md +63 -0
- package/dashboard/dist/assets/4hvaB0UC.js +0 -9
- package/dashboard/dist/assets/BgsfM2lz.js +0 -1
- package/dashboard/dist/assets/DCBlK4MX.js +0 -212
- package/dashboard/dist/assets/DEuY_RBN.js +0 -1
- package/dashboard/dist/assets/jyFhCND-.css +0 -1
package/README.md
CHANGED
|
@@ -8,7 +8,9 @@ OrgX plugin for [OpenClaw](https://openclaw.ai) — connect your AI agents to Or
|
|
|
8
8
|
2. Open `http://127.0.0.1:18789/orgx/live`.
|
|
9
9
|
3. Click **Connect OrgX**.
|
|
10
10
|
4. Sign in at [useorgx.com](https://useorgx.com) and approve the connection.
|
|
11
|
-
5. Return to OpenClaw. The plugin stores a dedicated credential and runs first sync automatically.
|
|
11
|
+
5. Return to OpenClaw. The plugin stores a dedicated credential and runs first sync automatically (no key copy/paste).
|
|
12
|
+
|
|
13
|
+
If Claude/Cursor/Codex MCP configs are detected on this machine, the pairing flow also installs a local MCP bridge entry (no OAuth) pointing at `http://127.0.0.1:18789/orgx/mcp`. To avoid overwriting your hosted `orgx` server entry, the local bridge is installed under the name `orgx-openclaw`. To opt out entirely, set `ORGX_DISABLE_MCP_CLIENT_AUTOCONFIG=1`.
|
|
12
14
|
|
|
13
15
|
Manual API key entry is still available as a permanent fallback from the onboarding panel.
|
|
14
16
|
|
|
@@ -18,6 +20,23 @@ Manual API key entry is still available as a permanent fallback from the onboard
|
|
|
18
20
|
openclaw plugins install @useorgx/openclaw-plugin
|
|
19
21
|
```
|
|
20
22
|
|
|
23
|
+
## Local MCP Bridge (Claude/Codex/Cursor)
|
|
24
|
+
|
|
25
|
+
This plugin exposes the same `orgx_*` tools over a local MCP HTTP endpoint served by the OpenClaw gateway:
|
|
26
|
+
|
|
27
|
+
- URL: `http://127.0.0.1:18789/orgx/mcp` (port follows your OpenClaw gateway config)
|
|
28
|
+
- Why: avoids the separate cloud MCP OAuth flow and keeps the `oxk_...` key stored only in the plugin's credential store.
|
|
29
|
+
|
|
30
|
+
On successful browser pairing, the plugin will attempt to patch:
|
|
31
|
+
|
|
32
|
+
- `~/.claude/mcp.json` (adds `mcpServers["orgx-openclaw"]` pointing to the local bridge)
|
|
33
|
+
- `~/.codex/config.toml` (add/update `[mcp_servers."orgx-openclaw"].url` to the local bridge)
|
|
34
|
+
- `~/.cursor/mcp.json` (adds `mcpServers["orgx-openclaw"]` pointing to the local bridge)
|
|
35
|
+
|
|
36
|
+
Each file is backed up first (only when a change is needed) with a `*.bak.<timestamp>-<rand>` suffix.
|
|
37
|
+
|
|
38
|
+
Disable auto-config by setting `ORGX_DISABLE_MCP_CLIENT_AUTOCONFIG=1`.
|
|
39
|
+
|
|
21
40
|
Or manually add to your OpenClaw config:
|
|
22
41
|
|
|
23
42
|
```json
|
|
@@ -42,10 +61,17 @@ Or manually add to your OpenClaw config:
|
|
|
42
61
|
|
|
43
62
|
| Option | Type | Default | Description |
|
|
44
63
|
|--------|------|---------|-------------|
|
|
45
|
-
| `apiKey` | string | — | Your OrgX API key (
|
|
64
|
+
| `apiKey` | string | — | Your OrgX API key (optional if you use browser pairing from `/orgx/live`) |
|
|
46
65
|
| `baseUrl` | string | `https://www.useorgx.com` | OrgX API base URL |
|
|
66
|
+
| `syncIntervalMs` | number | `300000` | Background sync interval (ms) |
|
|
67
|
+
| `enabled` | boolean | `true` | Enable/disable the plugin |
|
|
47
68
|
| `dashboardEnabled` | boolean | `true` | Enable the live dashboard at `/orgx/live` |
|
|
48
69
|
|
|
70
|
+
Environment overrides:
|
|
71
|
+
|
|
72
|
+
- `ORGX_API_KEY` overrides `apiKey`
|
|
73
|
+
- `ORGX_BASE_URL` overrides `baseUrl`
|
|
74
|
+
|
|
49
75
|
## Features
|
|
50
76
|
|
|
51
77
|
### 🛠️ MCP Tools
|
|
@@ -53,6 +79,8 @@ Or manually add to your OpenClaw config:
|
|
|
53
79
|
The plugin registers these tools for your agents:
|
|
54
80
|
|
|
55
81
|
- **`orgx_status`** — Get current org status (initiatives, agents, tasks, decisions)
|
|
82
|
+
- **`orgx_status_json`** — Get current org status as JSON (for MCP Apps / automation)
|
|
83
|
+
- **`orgx_live_app`** — Open the OrgX Live MCP App (interactive widget)
|
|
56
84
|
- **`orgx_sync`** — Bidirectional memory sync with OrgX
|
|
57
85
|
- **`orgx_spawn_check`** — Pre-spawn quality gate + model routing
|
|
58
86
|
- **`orgx_quality_score`** — Record quality scores for completed work
|
|
@@ -72,6 +100,14 @@ Shows:
|
|
|
72
100
|
- Activity stream
|
|
73
101
|
- Outbox replay visibility for buffered offline events
|
|
74
102
|
|
|
103
|
+
### 🔁 Auto-Continue (Scaffold → Agent Execution)
|
|
104
|
+
|
|
105
|
+
If you scaffold an initiative from chat (for example, "plan X" and then create/scaffold), OrgX can automatically start executing the first workstream via the stream auto-continue pipeline.
|
|
106
|
+
|
|
107
|
+
Troubleshooting:
|
|
108
|
+
- If agents do not start automatically, say: `start agents` to re-trigger dispatch.
|
|
109
|
+
- Open the live link (Mission Control) to see stream status (`ready`, `active`, `blocked`) and any upgrade/approval decisions.
|
|
110
|
+
|
|
75
111
|
### 🎯 Model Routing
|
|
76
112
|
|
|
77
113
|
OrgX automatically routes tasks to the appropriate model tier:
|
|
@@ -96,6 +132,22 @@ Returns: { allowed: true, modelTier: "sonnet" }
|
|
|
96
132
|
Agent spawns with recommended model
|
|
97
133
|
```
|
|
98
134
|
|
|
135
|
+
### 🔑 BYOK (Bring Your Own Keys)
|
|
136
|
+
|
|
137
|
+
If you use BYOK models (OpenAI, Anthropic, OpenRouter), store your provider keys in OpenClaw. The OrgX plugin reads OpenClaw settings and injects keys when it invokes OpenClaw CLI commands, so you do not need to put provider keys in the OrgX plugin config.
|
|
138
|
+
|
|
139
|
+
### 🩺 Diagnostics
|
|
140
|
+
|
|
141
|
+
- `openclaw orgx doctor` runs local checks and can optionally probe the OrgX API.
|
|
142
|
+
- `openclaw gateway status --json` shows the OpenClaw gateway port and runtime state.
|
|
143
|
+
|
|
144
|
+
### 🔁 Gateway Watchdog
|
|
145
|
+
|
|
146
|
+
The plugin starts a lightweight watchdog daemon that periodically probes the local OpenClaw gateway and restarts it if needed.
|
|
147
|
+
|
|
148
|
+
- Disable: `ORGX_DISABLE_GATEWAY_WATCHDOG=1`
|
|
149
|
+
- Tune: `ORGX_GATEWAY_WATCHDOG_INTERVAL_MS`, `ORGX_GATEWAY_WATCHDOG_FAILURES`, `ORGX_GATEWAY_WATCHDOG_TIMEOUT_MS`
|
|
150
|
+
|
|
99
151
|
## Feature Matrix
|
|
100
152
|
|
|
101
153
|
| Capability | Status | Notes |
|
|
@@ -163,6 +215,17 @@ Notes:
|
|
|
163
215
|
Manual dispatch:
|
|
164
216
|
- Use `docs/marketing/manual-agent-dispatch-golden-prompt.md` when manually launching a marketing agent for a specific task (non-batched dispatch).
|
|
165
217
|
|
|
218
|
+
## SEO Automation (Keywords Everywhere + DataForSEO)
|
|
219
|
+
|
|
220
|
+
This repo also includes a repo-local SEO pipeline runner (scripts only; not shipped in the plugin package) under `scripts/seo/`.
|
|
221
|
+
|
|
222
|
+
- Apply an OrgX initiative plan for SEO automation: `npm run seo:plan`
|
|
223
|
+
- Run the pipeline:
|
|
224
|
+
- Dry run (no API calls): `npm run seo:run -- --config=docs/seo/seo.config.example.json --mode=all --dry-run=true`
|
|
225
|
+
- Live run: `npm run seo:run -- --config=docs/seo/seo.config.example.json --mode=all`
|
|
226
|
+
|
|
227
|
+
Details: `scripts/seo/README.md`
|
|
228
|
+
|
|
166
229
|
## API Endpoints
|
|
167
230
|
|
|
168
231
|
When the plugin is loaded, these HTTP endpoints are available:
|
|
@@ -184,6 +247,7 @@ When the plugin is loaded, these HTTP endpoints are available:
|
|
|
184
247
|
| `GET /orgx/api/live/activity` | Live activity feed |
|
|
185
248
|
| `GET /orgx/api/live/stream` | Live SSE stream |
|
|
186
249
|
| `GET /orgx/api/handoffs` | Handoff summaries |
|
|
250
|
+
| `POST /orgx/mcp` | Local MCP bridge (tools/list, tools/call) |
|
|
187
251
|
|
|
188
252
|
## Requirements
|
|
189
253
|
|
|
@@ -191,6 +255,25 @@ When the plugin is loaded, these HTTP endpoints are available:
|
|
|
191
255
|
- Node.js 18+
|
|
192
256
|
- OrgX account (browser pairing recommended, API key fallback supported)
|
|
193
257
|
|
|
258
|
+
## Maintainers: Release to NPM
|
|
259
|
+
|
|
260
|
+
This repo publishes on GitHub Release via `.github/workflows/publish.yml`.
|
|
261
|
+
|
|
262
|
+
1. Update versions
|
|
263
|
+
- `package.json` version (NPM version)
|
|
264
|
+
- `openclaw.plugin.json` version (what `openclaw plugins list` displays)
|
|
265
|
+
- `CHANGELOG.md`
|
|
266
|
+
2. Verify
|
|
267
|
+
- `npm run typecheck`
|
|
268
|
+
- `npm run test:hooks`
|
|
269
|
+
- `npm run build`
|
|
270
|
+
- Optional: `npm run verify:clean-install`
|
|
271
|
+
3. Publish
|
|
272
|
+
- Create a GitHub release for the tag (workflow publishes with provenance)
|
|
273
|
+
4. Smoke test
|
|
274
|
+
- `openclaw plugins install @useorgx/openclaw-plugin@<version>`
|
|
275
|
+
- Verify `http://127.0.0.1:18789/orgx/live` pairing and `http://127.0.0.1:18789/orgx/mcp` MCP bridge
|
|
276
|
+
|
|
194
277
|
## Links
|
|
195
278
|
|
|
196
279
|
- [OrgX](https://useorgx.com) — AI orchestration platform
|