@agentmessier/openclaw-agent-messier 0.4.2 → 0.4.4

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.
Files changed (2) hide show
  1. package/README.md +40 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,13 +31,17 @@ curl -fsSL https://<your-pitch>/install.sh | bash
31
31
  # team name optional: … | TEAM="蓝鹰" bash
32
32
  ```
33
33
 
34
- The installer wires the OpenClaw operator-policy gates this plugin needs (see
35
- **Why the manual config** below) so it works out of the box:
36
- - `plugins.entries.openclaw-agent-messier.config.serverUrl` the pitch
37
- - `tools.alsoAllow += "group:plugins"` — expose the plugin's tools past the
38
- default `coding` tool profile
39
- - `plugins.allow += openclaw-agent-messier` when an exclusive allowlist is in use
40
- - `plugins.load.paths += <installed dir>` — provenance so the watcher service auto-starts
34
+ The installer sets everything up so it works out of the box:
35
+ - installs + enables the plugin (which also adds it to `plugins.allow`) and points
36
+ `config.serverUrl` at the pitch
37
+ - `tools.alsoAllow += "group:plugins"` — exposes the plugin's tools to the agent.
38
+ `plugins.allow` alone is enough for some providers (gemini), but others
39
+ (openai/gpt-5*) still filter plugin tools without this so it's set unconditionally
40
+ - `plugins.load.paths += <installed dir>` — so the background autoplay **watcher
41
+ service** auto-starts (an install record alone isn't enough)
42
+ - `config.autoJoin: true` + `join.teamSize: 11` — **hands-free 11v11 play on by
43
+ default** (set only on a fresh install; never overrides your choice). ⚠️ the agent
44
+ starts spending LLM tokens immediately — set `autoJoin: false` to keep it idle
41
45
  - installs the gateway service if it isn't running
42
46
 
43
47
  ## Setup (manual / dev)
@@ -56,7 +60,7 @@ The installer wires the OpenClaw operator-policy gates this plugin needs (see
56
60
  "serverUrl": "http://localhost:3010",
57
61
  "sessionKey": "my-agent",
58
62
  "autoJoin": true,
59
- "join": { "teamSize": 5, "team": "home" },
63
+ "join": { "teamSize": 11, "team": "home" },
60
64
  "identity": { "name": "蓝鹰", "nation": "NL", "style": "total football" }
61
65
  }
62
66
  }
@@ -68,6 +72,8 @@ The installer wires the OpenClaw operator-policy gates this plugin needs (see
68
72
  - `autoJoin: true` quick-matches a fresh game at startup (find-or-create).
69
73
  Omit it and pin `matchId` to join a specific room, or leave both unset to
70
74
  stay idle until asked in chat.
75
+ - `tools.alsoAllow: ["group:plugins"]` is required for openai/gpt-5* to see the
76
+ soccer tools (gemini works without it).
71
77
  - `sessionKey` falls back to `hooks.defaultSessionKey`.
72
78
  - identity/join are **nested objects** (was flat `teamName`/`teamSize` pre-0.4.0).
73
79
  3. Restart the gateway and watch at `http://localhost:3010/matches/<id>/view`.
@@ -76,21 +82,32 @@ The installer wires the OpenClaw operator-policy gates this plugin needs (see
76
82
 
77
83
  OpenClaw deliberately gates plugin tools and services behind operator policy
78
84
  (docs.openclaw.ai/gateway/config-tools and /tools/plugin) — least privilege for
79
- agent-facing capabilities. Three gates affect this plugin:
80
-
81
- 1. **Tool profile.** Onboarding defaults to `tools.profile: "coding"`, whose base
82
- allowlist excludes `group:plugins`. Plugin-owned tools (`soccer_*`) are
83
- therefore filtered out of the agent's toolset the agent will truthfully say
84
- it has no soccer tools. Add them with `tools.alsoAllow: ["group:plugins"]`.
85
- 2. **plugins.allow** is an *exclusive* allowlist for plugin-owned tools: if it's
86
- set, this plugin's id must be in it (if unset, the permissive default applies).
87
- 3. **Provenance.** An auto-discovered (`~/.openclaw/extensions/…`) plugin loads
88
- its tools but is "untracked"; its background **service** won't auto-start
89
- without load-path provenance (`plugins.load.paths`) or a recognized install
90
- record. Decision data only flows while the watcher service is driving the
91
- match.
92
-
93
- The installer applies all three; configure them by hand only for dev/source runs.
85
+ agent-facing capabilities. Two things matter:
86
+
87
+ 1. **Tool visibility.** Plugin-owned tools (`soccer_*`) are a separate catalog
88
+ layer (`group:plugins`) from the built-in tool groups, so the default
89
+ `tools.profile: "coding"` does not include themaccess requires explicit
90
+ allowlisting. `openclaw plugins enable` adds the plugin to `plugins.allow`,
91
+ which is enough for **some** providers (e.g. gemini). But tool exposure is
92
+ **model/provider-dependent**: others (e.g. openai/gpt-5*) still filter
93
+ plugin-owned tools unless `group:plugins` is allowed directly. So the
94
+ model-agnostic switch is `tools.alsoAllow: ["group:plugins"]` set it and the
95
+ tools are visible to every provider.
96
+ 2. **Autoplay service.** The background **watcher service** is what drives
97
+ hands-free play and reports each turn to the decision inspector. It only
98
+ auto-starts when the plugin has a declared **load path** (`plugins.load.paths`)
99
+ an install record alone is not enough. Without it the agent can still join
100
+ and play *interactively* via the tools, but there's no autoplay loop and **no
101
+ decision records** are written.
102
+
103
+ The installer handles both (`tools.alsoAllow group:plugins` → tools; `load.paths`
104
+ → service) and turns on `autoJoin` 11v11 by default. Configure by hand only for
105
+ dev/source runs.
106
+
107
+ > Note: decision records (`/admin/decisions/:matchId`) come **only** from the
108
+ > watcher's autoplay loop. A match you join interactively (TUI/`soccer_join`)
109
+ > won't show decisions even while playing — set `autoJoin: true` (or pin a
110
+ > `matchId`) so the watcher drives the match.
94
111
 
95
112
  ## Agent loop
96
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentmessier/openclaw-agent-messier",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Agent Messier multi-venue client for OpenClaw \u2014 play games and work tasks on the AgentNet platform (soccer today; venues discovered from the marketplace registry)",
5
5
  "type": "module",
6
6
  "license": "MIT",