mcp-server-return-to-dark-tower 1.0.0 → 1.0.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/CHANGELOG.md +55 -39
- package/README.md +761 -729
- package/dist/game-content/adversaries.md +72 -0
- package/dist/game-content/buildings.md +78 -0
- package/dist/game-content/glossary.md +193 -0
- package/dist/game-content/heroes.md +81 -0
- package/dist/game-content/items.md +80 -0
- package/dist/game-content/lore.md +96 -0
- package/dist/game-content/quests.md +96 -0
- package/dist/game-content/rules.md +275 -0
- package/dist/index.js +41 -36
- package/dist/index.js.map +1 -1
- package/dist/prompts/index.d.ts +1 -1
- package/dist/prompts/index.js +104 -104
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +104 -106
- package/dist/resources/index.js.map +1 -1
- package/dist/tools/audio.d.ts +2 -2
- package/dist/tools/audio.js +20 -20
- package/dist/tools/connection.d.ts +2 -2
- package/dist/tools/connection.js +45 -45
- package/dist/tools/drums.d.ts +2 -2
- package/dist/tools/drums.js +26 -26
- package/dist/tools/lights.d.ts +2 -2
- package/dist/tools/lights.js +35 -35
- package/dist/tools/seals.d.ts +2 -2
- package/dist/tools/seals.js +24 -24
- package/dist/tools/state.d.ts +2 -2
- package/dist/tools/state.js +30 -30
- package/dist/tower-controller.d.ts +3 -3
- package/dist/tower-controller.js +12 -12
- package/dist/utils/logger.d.ts +2 -2
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +6 -6
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/lookups.js +1 -1
- package/dist/utils/schemas.d.ts +1 -1
- package/dist/utils/schemas.js +13 -13
- package/package.json +76 -69
package/CHANGELOG.md
CHANGED
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
- `
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b25a905: Ship the game-content resources, and report the real version.
|
|
8
|
+
|
|
9
|
+
All 8 game-knowledge resources (`tower://game/rules`, `/heroes`, `/lore`, …)
|
|
10
|
+
served the literal string `[File not found: game-content/rules.md]` in v1.0.0.
|
|
11
|
+
`loadAsset()` resolves against `dist/`, but the build was a bare `tsc`, which
|
|
12
|
+
doesn't emit `.md` — so the published tarball contained no game content at all.
|
|
13
|
+
The build now copies the assets, and a missing one throws instead of silently
|
|
14
|
+
degrading to placeholder text.
|
|
15
|
+
|
|
16
|
+
The server also reported version `0.1.0` over MCP from a hardcoded constant
|
|
17
|
+
while shipping as `1.0.0`; it now reads from `package.json`.
|
|
18
|
+
|
|
19
|
+
All notable changes to this project will be documented in this file.
|
|
20
|
+
|
|
21
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
22
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
23
|
+
|
|
24
|
+
## [Unreleased]
|
|
25
|
+
|
|
26
|
+
## [1.0.0] - 2026-02-24
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- Dual-transport MCP server: stdio and HTTP (Streamable HTTP) with session management
|
|
31
|
+
- HTTP endpoints: `POST /mcp`, `GET /mcp` (SSE), `DELETE /mcp`, `GET /health`
|
|
32
|
+
- CLI flags: `--stdio-only`, `--http-only`, `--port <n>`
|
|
33
|
+
- 34 MCP tools across 6 categories:
|
|
34
|
+
- Connection (9): `tower_connect`, `tower_disconnect`, `tower_calibrate`, `tower_status`, `tower_device_info`, `tower_is_responsive`, `tower_reconnect`, `tower_set_connection_monitoring`, `tower_set_battery_monitoring`
|
|
35
|
+
- Audio (3): `tower_play_sound`, `tower_play_sound_by_name`, `tower_list_sounds`
|
|
36
|
+
- Lights (6): `tower_set_lights`, `tower_set_led`, `tower_light_sequence`, `tower_light_sequence_by_name`, `tower_lights_on`, `tower_lights_off`
|
|
37
|
+
- Drums (4): `tower_rotate`, `tower_rotate_drum`, `tower_random_rotate`, `tower_get_drum_positions`
|
|
38
|
+
- Seals (5): `tower_break_seal`, `tower_is_seal_broken`, `tower_get_broken_seals`, `tower_reset_seals`, `tower_random_seal`
|
|
39
|
+
- State & Glyphs (7): `tower_get_state`, `tower_send_state`, `tower_get_glyphs`, `tower_get_glyph`, `tower_glyphs_facing`, `tower_skull_count`, `tower_reset_skull_count`
|
|
40
|
+
- 17 MCP resources:
|
|
41
|
+
- Tower state snapshots: `tower://connection`, `tower://device-info`, `tower://battery`, `tower://drums`, `tower://glyphs`, `tower://seals`, `tower://state`, `tower://audio-library`, `tower://light-effects`
|
|
42
|
+
- Game content: `tower://game/rules`, `tower://game/adversaries`, `tower://game/quests`, `tower://game/items`, `tower://game/heroes`, `tower://game/buildings`, `tower://game/lore`, `tower://game/glossary`
|
|
43
|
+
- 8 MCP prompt templates: `dramatic_entrance`, `victory_sequence`, `defeat_sequence`, `monthly_transition`, `dungeon_run`, `battle_start`, `game_master_setup`, `sound_browser`
|
|
44
|
+
- `TowerController` singleton wrapping `ultimatedarktower` with full connection lifecycle, calibration, state management, and error wrapping via `wrapToolHandler()`
|
|
45
|
+
- `TowerSnapshot` interface for resource generation
|
|
46
|
+
- Zod validation schemas for all tool inputs (navigation, lights, audio, seals, glyphs)
|
|
47
|
+
- Lookup maps for case-insensitive name resolution (sounds, light sequences, light effects)
|
|
48
|
+
- MCP-compatible logging bridge (`McpLogOutput`)
|
|
49
|
+
- GitHub Flow release process and commit conventions in `CONTRIBUTING.md`
|
|
50
|
+
- `ci`, `type-check`, `format`, `format:check`, `prepack`, `prepublishOnly`, `publish:check` npm scripts
|
|
51
|
+
- `files` allowlist and `publishConfig` for clean npm publishing
|
|
52
|
+
|
|
53
|
+
### Removed
|
|
54
|
+
|
|
55
|
+
- SVG glyph assets (glyphs managed via game state resources)
|