Commit graph

2484 commits

Author SHA1 Message Date
dependabot[bot]
8f8e03b1c9
chore(deps): bump undici from 7.28.0 to 7.29.0 in /docs
Bumps [undici](https://github.com/nodejs/undici) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.29.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-04 09:58:03 +00:00
Anon
7b100a3149
fix: accept semicolonless script using directives - #3196
fix: accept semicolonless script using directives
2026-07-31 19:17:40 +02:00
Anon
dbce402842 fix: accept semicolonless script using directives
Fixes #3195
2026-07-31 19:12:51 +02:00
Anon
503652a760
fix: decode modern chat type holders correctly 1.21.1+
fix: decode modern chat type holders correctly
2026-07-27 22:25:07 +02:00
Anon
3ae1d746fa fix: decode modern chat type holders correctly 2026-07-27 21:58:01 +02:00
Anon
4a68205f02
[skipci]Merge pull request #3190 from MCCTeam/dependabot/npm_and_yarn/docs/lodash-es-4.18.1
chore(deps): bump lodash-es from 4.17.23 to 4.18.1 in /docs
2026-07-27 19:14:14 +02:00
Anon
c377e52306
[skipci]Merge pull request #3191 from MCCTeam/dependabot/npm_and_yarn/docs/ws-8.21.1
chore(deps): bump ws from 8.20.0 to 8.21.1 in /docs
2026-07-27 19:14:04 +02:00
Anon
7fee87c98f
[skipci]Merge pull request #3192 from MCCTeam/dependabot/npm_and_yarn/docs/postcss-8.5.23
chore(deps): bump postcss from 8.5.14 to 8.5.23 in /docs
2026-07-27 19:13:57 +02:00
dependabot[bot]
07aa032214
chore(deps): bump postcss from 8.5.14 to 8.5.23 in /docs
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.14 to 8.5.23.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.14...8.5.23)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 16:57:56 +00:00
dependabot[bot]
6b0f1a8f77
chore(deps): bump ws from 8.20.0 to 8.21.1 in /docs
Bumps [ws](https://github.com/websockets/ws) from 8.20.0 to 8.21.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.20.0...8.21.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.21.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 16:57:44 +00:00
dependabot[bot]
a780312c19
chore(deps): bump lodash-es from 4.17.23 to 4.18.1 in /docs
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 16:57:40 +00:00
Anon
19f02dfc25
[skipci]chore: update build dependencies
chore: update build dependencies
2026-07-27 18:56:19 +02:00
Anon
dc472c3df6 chore: update build dependencies 2026-07-27 17:58:08 +02:00
Anon
90fda17365
Fix: prevent duplicate AutoRelog retries (#3186)
Fix: prevent duplicate AutoRelog retries (#3186)
2026-07-27 17:34:57 +02:00
Anon
5655e3fc89 Fix restart publication races (#3186)
Prepare offline routing before restart requests become observable, reject stale route owners, and wait for source-client cleanup before executing automatic retries.

Add deterministic publication-order, cleanup-gate, and stale-route regression tests.
2026-07-27 17:26:52 +02:00
Anon
456a548cbc Fix: make AutoRelog retries single-owner (#3186)
Login rejections could schedule and execute multiple restarts for one failure while leaving no usable console route during reconnect delays.

Changes:
- Bind failure and restart work to immutable connection attempts
- Coalesce automatic retries while allowing explicit settings replacement until commit
- Preserve held bots and offline command routing across failed logins
- Add deterministic retry, ownership, and routing regression tests

Fixes #3186
2026-07-27 17:26:52 +02:00
Anon
92212d2b95
Merge pull request #3187 from MCCTeam/fix/configuration-disconnect-reason
fix: preserve queued disconnect reason
2026-07-27 14:12:00 +02:00
Anon
eea631f69e fix: preserve queued disconnect reason 2026-07-27 00:35:18 +02:00
Anon
6e4bca5073
feat: Added first-time guided login + simplifed Yggdrasil configuration
feat: add guided login and authlib URL setup
2026-07-26 18:13:44 +02:00
Anon
630a5fabef feat: add guided login and authlib URL setup 2026-07-26 14:17:59 +02:00
Anon
47bc47786a
fix: preserve account selection across reconnects
fix: preserve account selection across reconnects
2026-07-26 01:31:50 +02:00
Anon
9b90b535d8 fix: isolate queued restart settings 2026-07-26 01:16:07 +02:00
Anon
1686d00f30 fix: use selected account for offline reconnect 2026-07-26 01:08:14 +02:00
Anon
23b83a45f5
[skipci]Merge pull request #3175 from MCCTeam/dependabot/npm_and_yarn/docs/linkify-it-5.0.2
chore(deps): bump linkify-it from 5.0.1 to 5.0.2 in /docs
2026-07-22 21:26:51 +02:00
Anon
97631acc55
[skipci]Merge pull request #3174 from MCCTeam/dependabot/npm_and_yarn/docs/fast-uri-3.1.4
chore(deps): bump fast-uri from 3.1.2 to 3.1.4 in /docs
2026-07-22 21:26:40 +02:00
Anon
03beb51fb7
[skipci]Merge pull request #3176 from MCCTeam/dependabot/npm_and_yarn/docs/webpack-dev-server-5.2.6
chore(deps): bump webpack-dev-server from 5.2.5 to 5.2.6 in /docs
2026-07-22 21:26:31 +02:00
Anon
9d1c7ac4bd
[skipci]Merge pull request #3177 from MCCTeam/dependabot/npm_and_yarn/docs/shell-quote-1.10.0
chore(deps): bump shell-quote from 1.8.4 to 1.10.0 in /docs
2026-07-22 21:26:21 +02:00
Anon
668cbf7e6a
[skipci]Merge pull request #3178 from MCCTeam/dependabot/npm_and_yarn/docs/immutable-5.1.9
chore(deps): bump immutable from 5.1.5 to 5.1.9 in /docs
2026-07-22 21:26:11 +02:00
Anon
bf99df7cde
[skipci]Merge pull request #3179 from MCCTeam/dependabot/npm_and_yarn/docs/svgo-4.0.2
chore(deps): bump svgo from 4.0.1 to 4.0.2 in /docs
2026-07-22 21:26:02 +02:00
Anon
4c6b2b3190
[skipci]chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /docs
chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /docs
2026-07-22 21:25:49 +02:00
dependabot[bot]
fd0c99b2d3
chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /docs
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.11 to 3.4.12.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.11...3.4.12)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:57:02 +00:00
dependabot[bot]
ba134476af
chore(deps): bump shell-quote from 1.8.4 to 1.10.0 in /docs
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:57:01 +00:00
dependabot[bot]
1dc1d06f51
chore(deps): bump immutable from 5.1.5 to 5.1.9 in /docs
Bumps [immutable](https://github.com/immutable-js/immutable-js) from 5.1.5 to 5.1.9.
- [Release notes](https://github.com/immutable-js/immutable-js/releases)
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/immutable-js/immutable-js/compare/v5.1.5...v5.1.9)

---
updated-dependencies:
- dependency-name: immutable
  dependency-version: 5.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:57:01 +00:00
dependabot[bot]
78da20b4e4
chore(deps): bump svgo from 4.0.1 to 4.0.2 in /docs
Bumps [svgo](https://github.com/svg/svgo) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](https://github.com/svg/svgo/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: svgo
  dependency-version: 4.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:57:01 +00:00
dependabot[bot]
a951b5b6c6
chore(deps): bump webpack-dev-server from 5.2.5 to 5.2.6 in /docs
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.2.5 to 5.2.6.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v5.2.6/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.2.5...v5.2.6)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:56:57 +00:00
dependabot[bot]
4a2837d862
chore(deps): bump linkify-it from 5.0.1 to 5.0.2 in /docs
Bumps [linkify-it](https://github.com/markdown-it/linkify-it) from 5.0.1 to 5.0.2.
- [Changelog](https://github.com/markdown-it/linkify-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/linkify-it/compare/5.0.1...5.0.2)

---
updated-dependencies:
- dependency-name: linkify-it
  dependency-version: 5.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:56:54 +00:00
dependabot[bot]
85672cc0a2
chore(deps): bump fast-uri from 3.1.2 to 3.1.4 in /docs
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-22 18:56:53 +00:00
Anon
b1200af588
fix: Auto Relog reconnect lifecycle
fix: Auto Relog reconnect lifecycle
2026-07-22 17:54:46 +02:00
Anon
64c1dc55e0 Fix Auto Relog reconnect lifecycle 2026-07-19 14:42:10 +02:00
Anon
c19fdd6634
fix: Exit on failure setting
fix: Exit on failure setting
2026-07-19 11:26:45 +02:00
Anon
fceed9b4d7 chore: remove run-exit-on-failure-test.sh 2026-07-19 11:23:31 +02:00
Anon
25bbe35718 fix: exit on failure instead of prompting 2026-07-17 19:16:00 +02:00
Anon
419c140dc4
[skipci]Merge pull request #3168 from MCCTeam/dependabot/npm_and_yarn/docs/websocket-driver-0.7.5
chore(deps): bump websocket-driver from 0.7.4 to 0.7.5 in /docs
2026-07-17 07:48:46 +02:00
dependabot[bot]
720183955d
chore(deps): bump websocket-driver from 0.7.4 to 0.7.5 in /docs
Bumps [websocket-driver](https://github.com/faye/websocket-driver-node) from 0.7.4 to 0.7.5.
- [Changelog](https://github.com/faye/websocket-driver-node/blob/main/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-driver-node/compare/0.7.4...0.7.5)

---
updated-dependencies:
- dependency-name: websocket-driver
  dependency-version: 0.7.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-15 22:09:19 +00:00
Anon
142fb107db
feat: Added Minecraft 26.2 support
Add Minecraft 26.2 support (protocol 776)
2026-07-04 21:58:48 +02:00
Anon
99f5744715
feat: Expose NBT/component data in inventory MCP tools
feat(inventory): expose NBT/component data in inventory MCP tools
2026-07-04 21:53:42 +02:00
Reed Pennock
d1df44aae5 chore: Update physics shapes, minimap data and version table for 26.2
- BlockShapeData.json: add the 28 new sulfur/cinnabar blocks by copying
  shape entries from analogous blocks (stone, stone_slab, stone_stairs,
  stone_brick_wall, pointed_dripstone); state counts verified against the
  26.2 server blocks.json. PrismarineJS minecraft-data has no 26.x data
  yet, so these should be regenerated once it does.
- MinimapBlockColors.json: add new blocks with MapColor values taken from
  the decompiled 26.2 Blocks.java (COLOR_YELLOW / GOLD / COLOR_RED).
  Merged by hand because gen_block_color_map.py cannot parse the new
  BlockItemIds-based registration format yet.
- MinimapEntityCategories.json: add SulfurCube as hostile
  (MobCategory.MONSTER in EntityTypes.java, which now holds entity
  registrations instead of EntityType.java).
- AGENTS.md: add the 26.2 row to the version support table.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 16:43:44 -05:00
Reed Pennock
e4161af158 feat: Wire MC 26.2 (protocol 776) routing and adapt Teams packet parsing
- Add MC_26_2_Version = 776 and bump all upper-bound feature gates
- Route 26.2 to the new item/block/entity palettes and
  StructuredComponentsRegistry262
- Reuse PacketPalette261 (play/config packet IDs are unchanged in 26.2;
  the only registry change is spectate_entity renamed to spectator_action
  at the same ID, which MCC does not send) and EntityMetadataPalette261
  (serializer list is identical)
- Add a 26.2 branch for Set Player Team parsing: field order changed to
  displayName, prefix, suffix, visibility, collision rule, then color as
  Optional<TeamColor> (absent maps to -1) and options byte last
- Register protocol 776 in both supported-protocol lists and the
  version string mappings; bump MCHighestVersion to 26.2

JoinGame gained a trailing onlineMode bool and LoginFinished a trailing
session UUID in 26.2; both sit after every field MCC reads, so parsing
is unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 16:43:31 -05:00
Reed Pennock
22685a720c feat: Add MC 26.2 palettes, registries and new sulfur/cinnabar content
Generated from the 26.2 server data reports (registries.json / blocks.json):
- ItemPalette262 (1537 items, 31 new; IDs shifted by early sulfur/cinnabar inserts)
- Palette262 blocks (1196 blocks, 32366 states, 28 new)
- EntityPalette262 (158 entities, new sulfur_cube)
- StructuredComponentsRegistry262 with new sulfur_cube_content component
  at ID 78 (shifts IDs 78-109 up by one); wire format is one ItemStackTemplate
- New ItemType/Material/EntityType enum entries for the sulfur and
  cinnabar families, MusicDiscBounce, SulfurSpike and SulfurCube

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 16:43:20 -05:00
Ítalo Seara
f34b8ba989 feat(inventory): expose NBT/component data in inventory MCP tools
Add a nullable `Nbt` field to `MccInventorySnapshotSlot`,
`MccInventorySearchMatch`, and `MccItemStackSnapshot` so that callers
can access the full item metadata beyond just material and count.

For 1.20.6+ servers the field is a map of component name
(e.g. "minecraft:custom_data") to the serialized component object.
For legacy servers it is the raw NBT dictionary. The field is omitted
entirely for vanilla items that carry no extra data, so there is no
noise for plain items like Stone or Dirt.

Implementation:
- `StructuredComponent`: add `ComponentName` property (set by the
  registry during parse) and mark both it and `TypeId` with
  `[JsonIgnore]` so they are excluded from component serialization.
- `StructuredComponentRegistry.ParseComponent`: assign `ComponentName`
  after instantiation.
- `MccGameCommon.BuildNbt`: new helper that serializes components by
  runtime type (fixing the polymorphism issue with System.Text.Json)
  keyed by component name, falling back to the legacy NBT dictionary.
- Snapshot and search query builders updated to call `BuildNbt`.
2026-06-27 14:41:41 -03:00