@chrischall/warapp-mcp 0.12.0 → 0.12.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.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "MCP server for war.app (Warzone) — your games, players, settings, map bonuses and chokepoints, board analysis and route planning through war.app's per-player GameFeed API, plus the live board, territory picks, cards, turn planning and submission, turn notifications and game chat through your signed-in war.app tab (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 and linking a session are confirm-gated).",
10
- "version": "0.12.0"
10
+ "version": "0.12.1"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "war.app (Warzone)",
16
16
  "source": "./",
17
17
  "description": "war.app (Warzone) game advisor for Claude — games, maps, bonuses, routes, live board, picks, turns, cards and chat",
18
- "version": "0.12.0",
18
+ "version": "0.12.1",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "warapp-mcp",
3
3
  "displayName": "war.app (Warzone)",
4
- "version": "0.12.0",
4
+ "version": "0.12.1",
5
5
  "description": "war.app (Warzone) game advisor for Claude — games, maps, bonuses, routes, live board, picks, turns, cards and chat",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/bundle.js CHANGED
@@ -115487,7 +115487,7 @@ function serverBuild() {
115487
115487
  }
115488
115488
 
115489
115489
  // src/version.ts
115490
- var VERSION2 = "0.12.0";
115490
+ var VERSION2 = "0.12.1";
115491
115491
 
115492
115492
  // src/decision-log.ts
115493
115493
  var DECISION_LOG_VERSION = 1;
@@ -158640,7 +158640,6 @@ function compact(game) {
158640
158640
  players: booted.map(({ playerId, ...rest }) => ({ id: playerId, name: game.players.find((p) => p.id === playerId)?.name ?? null, ...rest })),
158641
158641
  unverified: l.unverified
158642
158642
  };
158643
- if (game.history !== void 0) out.history = game.history;
158644
158643
  if (game.chat !== void 0) out.chat = game.chat;
158645
158644
  return out;
158646
158645
  }
@@ -158657,7 +158656,7 @@ function registerGameTool(server, client, dir, env, identity) {
158657
158656
  inputSchema: external_exports.object({
158658
158657
  game_id: gameIdArg,
158659
158658
  include_history: external_exports.boolean().optional().describe(
158660
- "Also fetch past turns (GetHistory; war.app documents it for finished games). The result then says whether the history read (`historyRead`: boards, first and last turn, layout) or why not (`historyUnreadable`: reason and the reply's top-level key names). Default false."
158659
+ 'Also fetch past turns (GetHistory; war.app documents it for finished games). The result then says whether the history read (`historyRead`: boards, first and last turn, layout) or why not (`historyUnreadable`: reason and the reply\'s top-level key names); the raw turns themselves only in view "full" or "raw" (they can run to megabytes). Default false.'
158661
158660
  ),
158662
158661
  include_chat: external_exports.boolean().optional().describe("Also fetch the game chat (GetChat). Default false."),
158663
158662
  view: viewArg(
@@ -54,8 +54,8 @@ function compact(game) {
54
54
  players: booted.map(({ playerId, ...rest }) => ({ id: playerId, name: game.players.find((p) => p.id === playerId)?.name ?? null, ...rest })),
55
55
  unverified: l.unverified,
56
56
  };
57
- if (game.history !== undefined)
58
- out.history = game.history;
57
+ // The raw history stays out of compact: it is every board and order of every turn (3.6 MB for a 29-turn game on a
58
+ // 2,000-territory map; a longer one overflows a hosted reply). Compact reports `historyRead`; view "full" carries it.
59
59
  if (game.chat !== undefined)
60
60
  out.chat = game.chat;
61
61
  return out;
@@ -106,7 +106,8 @@ export function registerGameTool(server, client, dir, env, identity) {
106
106
  .optional()
107
107
  .describe('Also fetch past turns (GetHistory; war.app documents it for finished games). The result then says ' +
108
108
  'whether the history read (`historyRead`: boards, first and last turn, layout) or why not ' +
109
- '(`historyUnreadable`: reason and the reply\'s top-level key names). Default false.'),
109
+ '(`historyUnreadable`: reason and the reply\'s top-level key names); the raw turns themselves only in ' +
110
+ 'view "full" or "raw" (they can run to megabytes). Default false.'),
110
111
  include_chat: z.boolean().optional().describe('Also fetch the game chat (GetChat). Default false.'),
111
112
  view: viewArg(VIEWS, 'compact (default) keeps the game state and turn, players with committed flags, a settings digest and a map ' +
112
113
  'summary; "full" is every normalized field (all settings as sent, the board standing) with the map ' +
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Single source of truth for the server version. release-please bumps the
2
2
  // literal on the marked line (registered in release-please-config.json
3
3
  // extra-files); every other module imports VERSION from here.
4
- export const VERSION = '0.12.0'; // x-release-please-version
4
+ export const VERSION = '0.12.1'; // x-release-please-version
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.12.0",
6
+ "version": "0.12.1",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrischall/warapp-mcp",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
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.12.0",
9
+ "version": "0.12.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@chrischall/warapp-mcp",
14
- "version": "0.12.0",
14
+ "version": "0.12.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },