@chrischall/warapp-mcp 0.13.1 → 0.14.0

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 (42) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +7 -6
  4. package/dist/analysis/airlift-plan.js +288 -0
  5. package/dist/analysis/blockade-plan.js +178 -0
  6. package/dist/analysis/bomb-plan.js +72 -0
  7. package/dist/analysis/card-threats.js +10 -9
  8. package/dist/analysis/cards-in-effect.js +20 -0
  9. package/dist/analysis/combat.js +5 -0
  10. package/dist/analysis/coordination.js +47 -0
  11. package/dist/analysis/lookahead.js +4 -0
  12. package/dist/analysis/plan/relations.js +57 -8
  13. package/dist/analysis/player-record.js +1 -0
  14. package/dist/analysis/relations.js +40 -0
  15. package/dist/analysis/stress.js +42 -2
  16. package/dist/analysis/turn-sim.js +62 -0
  17. package/dist/bundle.js +23219 -21662
  18. package/dist/card-state.js +157 -0
  19. package/dist/local-time.js +142 -0
  20. package/dist/relations-store.js +30 -5
  21. package/dist/tools/airlift-readback.js +87 -0
  22. package/dist/tools/alternative-orders.js +21 -0
  23. package/dist/tools/begin-turn.js +19 -5
  24. package/dist/tools/card-advice.js +5 -4
  25. package/dist/tools/card-plays.js +32 -20
  26. package/dist/tools/card-state-view.js +26 -0
  27. package/dist/tools/card-support-advice.js +25 -8
  28. package/dist/tools/chat-inbox.js +1 -1
  29. package/dist/tools/chat.js +1 -1
  30. package/dist/tools/check-plan.js +90 -8
  31. package/dist/tools/game.js +11 -2
  32. package/dist/tools/index.js +7 -1
  33. package/dist/tools/notifications.js +1 -1
  34. package/dist/tools/player-card-readback.js +45 -0
  35. package/dist/tools/relations.js +146 -14
  36. package/dist/tools/sanctions-played.js +51 -0
  37. package/dist/tools/turn.js +479 -13
  38. package/dist/version.js +1 -1
  39. package/manifest.json +9 -2
  40. package/mint.yaml +7 -0
  41. package/package.json +1 -1
  42. package/server.json +8 -2
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "warapp-mcp",
5
5
  "display_name": "war.app (Warzone)",
6
- "version": "0.13.1",
6
+ "version": "0.14.0",
7
7
  "description": "war.app (Warzone) game advisor for Claude — your games, maps, bonuses, board analysis and routes via the GameFeed API, plus your games list (waiting on you first), opponent scouting with your head-to-head, the live board, territory picks, cards, turn planning and submission, turn notifications, and chat through your signed-in war.app tab (ContextMint Bridge). Joining, leaving or surrendering a game, closing out a finished game, accepting another player's surrender, Begin on a speed first turn, picks, turn orders, withdrawing them, chat sends, marking notifications and chat read, deleting notifications, importing local history into a hosted server and linking a session (local only) are confirm-gated.",
8
8
  "author": {
9
9
  "name": "Chris Hall",
@@ -42,7 +42,8 @@
42
42
  "WARAPP_PLAYER_PROFILE": "${user_config.player_profile}",
43
43
  "WARAPP_DECISION_LOG": "${user_config.decision_log}",
44
44
  "WARAPP_CHAT_AUTOMATION": "${user_config.chat_automation}",
45
- "WARAPP_CHAT_BLOCKS_TURN": "${user_config.chat_blocks_turn}"
45
+ "WARAPP_CHAT_BLOCKS_TURN": "${user_config.chat_blocks_turn}",
46
+ "WARAPP_TIMEZONE": "${user_config.timezone}"
46
47
  }
47
48
  }
48
49
  },
@@ -113,6 +114,12 @@
113
114
  "title": "Chat can block a turn (optional)",
114
115
  "description": "Whether unread chat that may change the turn (a truce message from a partner, a threat aimed at you from a neighbour, a surrender waiting on your acceptance, a teammate asking about this turn) stops a turn submission until it is read. Off by default: the submit preview only warns. 'on' refuses until the messages are marked seen or the submit says chat_reviewed.",
115
116
  "required": false
117
+ },
118
+ "timezone": {
119
+ "type": "string",
120
+ "title": "Your time zone (optional)",
121
+ "description": "An IANA time zone name (e.g. America/New_York). When set, every time in a tool's answer (chat, notifications, game times) also shows in your zone beside the UTC one (localTime). Unset or not a zone: UTC only.",
122
+ "required": false
116
123
  }
117
124
  },
118
125
  "tools": [
package/mint.yaml CHANGED
@@ -135,6 +135,13 @@ env:
135
135
  warapp_submit_turn until it is read. Off by default, hosted as well: the
136
136
  preview only warns. Set on to refuse until the messages are marked seen
137
137
  or the submit says chat_reviewed.
138
+ - name: WARAPP_TIMEZONE
139
+ required: false
140
+ help: >-
141
+ Your IANA time zone (e.g. America/New_York). When set, every timestamp
142
+ in a tool's answer gains a sibling in that zone (time -> localTime, e.g.
143
+ "Tue 24 Nov, 6:14 am EST"); the UTC fields stay. Unset or not a zone:
144
+ UTC only. Hosted, set it on the registration.
138
145
  - name: WARAPP_SESSION_FILE
139
146
  required: false
140
147
  help: >-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrischall/warapp-mcp",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "mcpName": "io.github.chrischall/warapp-mcp",
5
5
  "description": "war.app (Warzone) game advisor MCP server for Claude — games, maps, bonuses and board analysis via the GameFeed API, plus your games list, opponent scouting, the live board, territory picks, cards, turn planning and submission, turn notifications and chat through your signed-in war.app tab. Developed and maintained by AI (Claude Code).",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/chrischall/warapp-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.13.1",
9
+ "version": "0.14.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@chrischall/warapp-mcp",
14
- "version": "0.13.1",
14
+ "version": "0.14.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -78,6 +78,12 @@
78
78
  "isRequired": false,
79
79
  "format": "string"
80
80
  },
81
+ {
82
+ "name": "WARAPP_TIMEZONE",
83
+ "description": "An IANA time zone name (e.g. America/New_York). When set, every timestamp in a tool's answer gains a sibling in that zone (time -> localTime, e.g. \"Tue 24 Nov, 6:14 am EST\"); the UTC fields are unchanged. Unset or invalid: UTC only.",
84
+ "isRequired": false,
85
+ "format": "string"
86
+ },
81
87
  {
82
88
  "name": "WARAPP_DECISION_LOG",
83
89
  "description": "A per-game log of each turn's view, the plan, the orders sent and, once the game ends, the true figures (player ids and numbers, no names or chat), for offline review and replay. On by default; set off to turn it off, or full to keep every turn uncompacted.",