@teamclaws/teamclaw 2026.3.26-2 → 2026.4.2-2
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 +52 -8
- package/cli.mjs +538 -224
- package/index.ts +76 -27
- package/openclaw.plugin.json +53 -28
- package/package.json +5 -2
- package/skills/teamclaw/SKILL.md +213 -0
- package/skills/teamclaw/references/api-quick-ref.md +117 -0
- package/skills/teamclaw-setup/SKILL.md +81 -0
- package/skills/teamclaw-setup/references/install-modes.md +136 -0
- package/skills/teamclaw-setup/references/validation-checklist.md +73 -0
- package/src/config.ts +44 -16
- package/src/controller/controller-capacity.ts +2 -2
- package/src/controller/controller-service.ts +193 -47
- package/src/controller/controller-tools.ts +102 -2
- package/src/controller/delivery-report.ts +563 -0
- package/src/controller/http-server.ts +1907 -172
- package/src/controller/kickoff-orchestrator.ts +292 -0
- package/src/controller/managed-gateway-process.ts +330 -0
- package/src/controller/orchestration-manifest.ts +69 -1
- package/src/controller/preview-manager.ts +676 -0
- package/src/controller/prompt-injector.ts +116 -67
- package/src/controller/role-inference.ts +41 -0
- package/src/controller/websocket.ts +3 -1
- package/src/controller/worker-provisioning.ts +429 -74
- package/src/discovery.ts +1 -1
- package/src/git-collaboration.ts +198 -47
- package/src/identity.ts +12 -2
- package/src/interaction-contracts.ts +179 -3
- package/src/networking.ts +99 -0
- package/src/openclaw-workspace.ts +478 -11
- package/src/prompt-policy.ts +381 -0
- package/src/roles.ts +37 -36
- package/src/state.ts +40 -1
- package/src/task-executor.ts +282 -78
- package/src/types.ts +150 -7
- package/src/ui/app.js +1403 -175
- package/src/ui/assets/teamclaw-app-icon.png +0 -0
- package/src/ui/index.html +122 -40
- package/src/ui/style.css +829 -143
- package/src/worker/http-handler.ts +40 -4
- package/src/worker/prompt-injector.ts +9 -38
- package/src/worker/skill-installer.ts +2 -2
- package/src/worker/tools.ts +31 -5
- package/src/worker/worker-service.ts +49 -8
- package/src/workspace-browser.ts +20 -7
- package/src/controller/local-worker-manager.ts +0 -533
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ TeamClaw is an **OpenClaw plugin** that turns multiple roles into a collaborativ
|
|
|
5
5
|
It supports:
|
|
6
6
|
|
|
7
7
|
- `controller` / `worker` modes
|
|
8
|
-
-
|
|
8
|
+
- externally registered workers
|
|
9
9
|
- clarifications, workspace browsing, and Web UI
|
|
10
10
|
- Git-based collaboration
|
|
11
11
|
- on-demand worker provisioning with `process`, `docker`, and `kubernetes`
|
|
@@ -18,6 +18,8 @@ For the easiest guided setup, run:
|
|
|
18
18
|
npx -y @teamclaws/teamclaw install
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
The guided installer automatically uses OpenClaw's break-glass install flag for TeamClaw, because TeamClaw legitimately needs host orchestration capabilities that the built-in scanner marks as critical.
|
|
22
|
+
|
|
21
23
|
This installer can:
|
|
22
24
|
|
|
23
25
|
- install/update the TeamClaw plugin in OpenClaw
|
|
@@ -25,37 +27,79 @@ This installer can:
|
|
|
25
27
|
- let you choose the installation mode
|
|
26
28
|
- let you choose a model from the models already defined in OpenClaw
|
|
27
29
|
- let you choose the OpenClaw workspace directory
|
|
30
|
+
- default TeamClaw to a dedicated `teamclaw` agent/workspace instead of reusing `main`
|
|
28
31
|
- prefill Docker/Kubernetes provisioning with the published TeamClaw runtime image
|
|
29
32
|
- prefill Docker workspace persistence with a named volume and Kubernetes persistence with a PVC name
|
|
30
33
|
|
|
34
|
+
By default, guided install now uses an independent TeamClaw agent/workspace layout:
|
|
35
|
+
|
|
36
|
+
- `agent:teamclaw:*` sessions
|
|
37
|
+
- sibling workspace such as `~/.openclaw/workspace-teamclaw`
|
|
38
|
+
|
|
39
|
+
For advanced compatibility only, you can force the legacy shared-`main` layout:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx -y @teamclaws/teamclaw install --agent-mode main
|
|
43
|
+
```
|
|
44
|
+
|
|
31
45
|
If you only want to install the plugin manually, use:
|
|
32
46
|
|
|
33
47
|
```bash
|
|
34
|
-
openclaw plugins install @teamclaws/teamclaw
|
|
48
|
+
openclaw plugins install --dangerously-force-unsafe-install @teamclaws/teamclaw
|
|
35
49
|
```
|
|
36
50
|
|
|
37
|
-
If you want to force the ClawHub package path
|
|
51
|
+
If you want to force the ClawHub package path, use:
|
|
38
52
|
|
|
39
53
|
```bash
|
|
40
|
-
openclaw plugins install clawhub:@teamclaws/teamclaw
|
|
54
|
+
openclaw plugins install --dangerously-force-unsafe-install clawhub:@teamclaws/teamclaw
|
|
41
55
|
```
|
|
42
56
|
|
|
43
57
|
Then enable and configure TeamClaw in your `openclaw.json`.
|
|
44
58
|
|
|
45
59
|
The published TeamClaw runtime image also preinstalls the `clawhub` CLI, so containerized workers can discover and install skills from ClawHub without an extra bootstrap step.
|
|
46
60
|
|
|
61
|
+
## Maintainer release flow
|
|
62
|
+
|
|
63
|
+
For maintainers, TeamClaw now uses two release paths:
|
|
64
|
+
|
|
65
|
+
1. **npm package** — published by GitHub Actions via `.github/workflows/teamclaw-plugin-npm-release.yml`
|
|
66
|
+
2. **ClawHub code plugin + bundled skills** — published manually from the CLI
|
|
67
|
+
|
|
68
|
+
Before either release path, sync and validate the generated plugin manifest:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm --prefix src run manifest:sync
|
|
72
|
+
npm --prefix src run release:check
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Preview the ClawHub release commands without publishing:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npm --prefix src run release:clawhub:dry-run
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
When ready to publish to ClawHub, log in first and then run:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
clawhub login
|
|
85
|
+
bash scripts/teamclaw-clawhub-release.sh --publish
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The ClawHub release helper publishes the `@teamclaws/teamclaw` code plugin from `src/` and then publishes only the bundled skills under `src/skills/`. Update each skill's frontmatter `version:` in `src/skills/*/SKILL.md` before a real publish if that skill changed.
|
|
89
|
+
|
|
47
90
|
## Recommended first setup
|
|
48
91
|
|
|
49
92
|
For a first-time setup, the safest path is:
|
|
50
93
|
|
|
51
|
-
1. Start with
|
|
94
|
+
1. Start with single-host `process` provisioning
|
|
52
95
|
2. Validate the workflow with a small smoke-test task
|
|
53
|
-
3. Expand to
|
|
96
|
+
3. Expand to external workers, Docker, or Kubernetes after the basics are working
|
|
54
97
|
|
|
55
|
-
|
|
98
|
+
When on-demand provisioning is enabled, TeamClaw now treats controller startup as a readiness phase, not just a process-up check. During that warm-up, `/api/v1/health` returns a non-OK status until the controller has verified writable runtime paths and successfully brought the configured startup worker roles online.
|
|
56
99
|
|
|
57
|
-
|
|
100
|
+
## Documentation
|
|
58
101
|
|
|
102
|
+
- Website: <https://topcheer.github.io/teamclaw/>
|
|
59
103
|
- Installation guide: <https://github.com/topcheer/teamclaw/blob/main/INSTALL.md>
|
|
60
104
|
- Repository overview: <https://github.com/topcheer/teamclaw/blob/main/README.md>
|
|
61
105
|
- Design notes: <https://github.com/topcheer/teamclaw/blob/main/DESIGN.md>
|