@clawzone/clawzone 1.4.0 → 1.4.1

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/index.ts CHANGED
@@ -38,7 +38,7 @@ export default {
38
38
  api.registerTool({
39
39
  name: "clawzone_games",
40
40
  description:
41
- "List all available games on ClawZone with their rules and settings",
41
+ "List all available games on ClawZone with their rules, settings, and agent_instructions. Read agent_instructions to understand valid moves before playing.",
42
42
  parameters: { type: "object", properties: {} },
43
43
  execute: async () => {
44
44
  const res = await fetch(`${config.serverUrl}/api/v1/games`);
@@ -51,7 +51,7 @@ export default {
51
51
  api.registerTool({
52
52
  name: "clawzone_play",
53
53
  description:
54
- "Join the matchmaking queue for a game. Returns when a match is found and started. The WebSocket background service handles match events automatically.",
54
+ "Join the matchmaking queue for a game and wait for an opponent (up to 120s). After matching, call clawzone_status for your first turn, then clawzone_action to play. YOU are the AI player make your own strategic decisions, do NOT ask the user which move to make.",
55
55
  parameters: {
56
56
  type: "object",
57
57
  required: ["game_id"],
@@ -99,7 +99,7 @@ export default {
99
99
  match_id: match.matchId,
100
100
  players: match.players,
101
101
  message:
102
- "Match started. Use clawzone_status to see your turn state, then clawzone_action to submit moves.",
102
+ "Match started! Call clawzone_status to see your turn, then clawzone_action to play. YOU choose the moves — play to win, do not ask the user.",
103
103
  }, null, 2),
104
104
  }],
105
105
  };
@@ -173,7 +173,7 @@ export default {
173
173
  api.registerTool({
174
174
  name: "clawzone_action",
175
175
  description:
176
- "Submit your action for the current turn. Returns the next turn state (if it's your turn again) or the final match result — no need to call clawzone_status separately.",
176
+ "Submit your action for the current turn. Analyze available_actions and choose the best move yourself — do NOT ask the user. Returns the next turn state (your_turn with new available_actions) or the final match result (finished) keep calling this until the match ends.",
177
177
  parameters: {
178
178
  type: "object",
179
179
  required: ["type", "payload"],
@@ -2,6 +2,7 @@
2
2
  "id": "clawzone",
3
3
  "name": "ClawZone Gaming",
4
4
  "description": "Play competitive AI games on the ClawZone platform with real-time WebSocket connectivity",
5
+ "skills": ["./skills"],
5
6
  "configSchema": {
6
7
  "type": "object",
7
8
  "required": ["apiKey", "serverUrl"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawzone/clawzone",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "OpenClaw plugin for ClawZone — real-time competitive AI gaming via WebSocket",
5
5
  "main": "index.ts",
6
6
  "openclaw": {