Commit graph

71 commits

Author SHA1 Message Date
Rin
561b608c03
fix(minecraft): downgrade to mitigate upstream issue and mcp cleanup (#1192)
* fix(minecraft): downgrade minecraft-data to 3.102.3

Serialization error for play.toServer : Write error for undefined : The value of "value" is out of range. It must be >= -128 and <= 127. Received 218 stack=RangeError [ERR_OUT_OF_RANGE]: Write error for undefined : The value of "value" is out of range. It must be >= -128 and <= 127. Received 218

* fix(minecraft): close existing MCP transports on client reconnect

Handle client refresh scenarios by closing existing streamable and SSE transports before creating new ones, preventing resource leaks and connection conflicts.
2026-03-08 05:54:49 +08:00
sed-i
19822e3c43
refactor(minecraft): migrate reflex runtime to alien-signals, harden zod validation, and unify skill utilities (#1092)
* chore: use utils

* feat: refactor pathfinding stagnation detection and add navigation tests

* refactor(minecraft): simplify ensure.ts with shared ensureMined helper

* refactor(minecraft): centralize collectible block aliases and extraction flow

- move block collection usage onto the dedicated action module
- extract collectible alias expansion for ores, deepslate variants, and dirt
- keep exact block validation strict while widening collection lookups
- preserve original smelting errors when temporary furnace cleanup fails
- add regression coverage for alias handling and furnace cleanup

* chore: sleep() using shared utils

* refactor(minecraft): container helpers; guarantee close in takeFromChest()

* chore: add unsafe type comment

refactor: zod schema for YAML rule DSL

refactor: zod for hardened config validation

refactor: zod schema for ws client command validation

* refactor(minecraft): alien-signals for reflex context/runtime/manager state

* fix(minecraft): prevent reconnect deadlock before spawn; centralize plugin lifecycle

* fix(minecraft): make command chat listener idempotent across spawn/reconnect

* refactor(minecraft): extract reconnect state machine into connection supervisor; further centralize plugin-related logic

* fix(minecraft): temp type fix

* fix(minecraft): add LLM call timeout/cancel boundaries and ignore pause abort errors

* fix(minecraft): enforce deterministic temporal rule semantics and honor accumulator.mode

* fix(minecraft): preserve callback errors during container cleanup

* fix(minecraft): report EventBus subscriber failures via project logger

* refactor(minecraft): migrate perception temporal accumulator to detector with decision tracing

* feat(minecraft): add detector.groupBy and optimize rule engine detector hot path

* fix(minecraft): bound event queue and temp anti-starvation scheduling

* fix(minecraft): normalize debug dashboard tool param typing

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Neko <neko@ayaka.moe>
Co-authored-by: Rin <shinohara-rin@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-07 03:01:49 +08:00
Neko Ayaka
92d87833be
chore(deps): bump dependencies 2026-02-26 18:33:52 +08:00
autofix-ci[bot]
f176aecaee
[autofix.ci] apply automated fixes 2026-02-18 03:18:35 +00:00
Neko Ayaka
7b9ee3c24b
chore(minecraft-bot): improve 2026-02-18 11:14:59 +08:00
Rin
122be40782
chore(minecraft): add @modelcontextprotocol/sdk dependency 2026-02-18 11:14:45 +08:00
Rin
c250ecfeec
feat(minecraft): add automatic reconnection with configurable retry limit
Add reconnect option to MineflayerOptions with enabled flag and maxRetries (default: 5), implement tryReconnect method to handle kicked/end events, extract setupBotEventHandlers to reuse on reconnect, track reconnect state with reconnectAttempts/isReconnecting/isStopping flags, add @types/node dependency for setTimeout typing
2026-02-18 11:14:37 +08:00
Rin
6488a3b43c
feat(minecraft): back to xsai, again :D 2026-02-18 11:14:36 +08:00
Rin
a9dc7d52fe
feat(minecraft): hook up prismarine-viewer 2026-02-18 11:12:18 +08:00
Rin
7158c55e9a
feat(minecraft): yet another overhaul...
i honestly don't know what to feel about this
2026-02-18 11:12:02 +08:00
Rin
c46b3fa3d2
feat(minecraft) debug server redesigned 2026-02-18 11:11:02 +08:00
Neko Ayaka
d051a07da9
chore(deps): bump dependencies 2026-01-21 05:42:01 +08:00
akuuma
ad086535e5
feat(satori-bot): integrate Satori Protocol Adapter (#873)
---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Hoshino-Yumetsuki <hoshino-yumetsuki@outlook.com>
Co-authored-by: Neko <neko@ayaka.moe>
2026-01-06 15:32:20 +08:00
Neko Ayaka
198092f226
chore(deps): bump dependencies 2025-12-29 05:51:45 +08:00
Neko Ayaka
a07854ca31
chore(deps): bump dependencies 2025-12-27 04:26:56 +08:00
Neko Ayaka
e2e661cc7e
chore(deps): bump dependencies 2025-12-22 19:40:39 +08:00
Neko Ayaka
2ffe666368
chore(deps): bump dependencies 2025-12-21 18:41:11 +08:00
Neko Ayaka
7158c200bb
chore(deps): bump dependencies 2025-12-21 18:35:34 +08:00
Neko Ayaka
c9a9ec7bfa
Revert "chore(deps): bump dependencies"
This reverts commit 349810ff27.
2025-12-21 17:16:47 +08:00
Neko Ayaka
349810ff27
chore(deps): bump dependencies 2025-12-21 15:58:52 +08:00
Neko Ayaka
8c32d8170f
chore(deps): bump dependencies 2025-12-14 19:38:40 +08:00
Neko Ayaka
a3dba4f3cf
chore(deps): bump dependencies & electron-builder 2025-12-13 16:23:45 +08:00
Neko Ayaka
fafba1cdf8
chore(deps): bump dependencies 2025-12-11 02:22:43 +08:00
Neko Ayaka
e28e2eff89
chore(deps): bump valibot 2025-12-01 00:49:45 +08:00
Neko Ayaka
a7a1302b99
chore(deps): bump dependencies 2025-11-01 16:03:45 +08:00
藍+85CD
233b5a7ba8
refactor: partially remove dotenv, dotenvx (#667) 2025-10-18 21:02:46 +08:00
Neko Ayaka
0de306f668
chore(deps): bump dependencies 2025-10-09 02:35:44 +08:00
Neko Ayaka
75321a4cd9
chore(deps): bump dependencies 2025-10-03 16:54:50 +08:00
Neko Ayaka
372125fb89
chore(deps): bump dependencies
Notice: after bumping up to three 0.180.0 with @types/three 0.180.0,
  Argument of type 'Group<Object3DEventMap>' is not assignable to parameter of type 'Object3D<Object3DEventMap>'.
    Type 'Group<Object3DEventMap>' is missing the following properties from type 'Object3D<Object3DEventMap>': setPointerCapture, releasePointerCapture, hasPointerCapture

Currently, AFAIK, clearly, three, and @types/three doesn't have the setPointerCapture, releasePointerCapture, hasPointerCapture method / getters
The only place I found on GitHub, points out that 456aa38020/packages/pointer-events/src/pointer.ts (L69-L100) declares

```js
declare module 'three' {
  interface Object3D {
    setPointerCapture(pointerId: number): void
    releasePointerCapture(pointerId: number): void
    hasPointerCapture(pointerId: number): boolean

    intersectChildren?: boolean
    interactableDescendants?: Array<Object3D>
    /**
     * @deprecated
     */
    ancestorsHaveListeners?: boolean
    ancestorsHavePointerListeners?: boolean
    ancestorsHaveWheelListeners?: boolean
  }
}
```

And in @tresjs/core v5, it uses the @pmndrs/pointer-events internally.
Somehow the Object3D from @types/three and the one augmented by @pmndrs/pointer-events are not compatible.

`new Object3D() as unknown as Object3D` works as workaround here but there should be no need to do such a thing since these two Object3D should be the same.
With no updates from `typescript`, I assume there is no breaking change or regression from `typescript` side.
2025-09-26 17:07:07 +08:00
RainbowBird
733b8893c7
refactor: replace useLogg with useLogger (#563) 2025-09-07 23:47:23 +08:00
Neko Ayaka
ab10782c65
chore(deps): bump dependencies 2025-09-03 13:25:12 +08:00
Neko Ayaka
dc6dff5a6d
chore(deps): bump dependencies 2025-08-29 01:38:04 +08:00
Neko Ayaka
a095ee62f1
chore(deps): bump dependencies 2025-08-02 01:06:54 +08:00
Neko Ayaka
50371c580a
chore(deps): bump dependencies 2025-07-22 14:28:27 +08:00
Neko Ayaka
34b547047f
chore(deps): bump dependencies 2025-07-06 19:06:59 +08:00
Neko Ayaka
bb59f327b0
chore(deps): bump dependencies 2025-06-30 16:15:45 +08:00
Neko Ayaka
0b127778fc
chore(deps): bump dependencies 2025-06-26 19:21:12 +08:00
Neko
5d994609ed
Revert "perf(eslint): use moeru config & oxlint (#227)" (#231)
This reverts commit 6d02cb0a01.
2025-06-26 19:17:02 +08:00
藍+85CD
6d02cb0a01
perf(eslint): use moeru config & oxlint (#227) 2025-06-26 18:29:05 +08:00
藍+85CD
b7619af258
chore(deps): use catalog for std, bump version 2025-06-25 14:39:26 +08:00
Neko Ayaka
c078b49e0c
chore(deps): bump dependencies 2025-06-24 13:47:06 +08:00
Neko Ayaka
50e05b114b
chore(*): use @moeru/std & cleanup code, rename 2025-06-23 15:34:07 +08:00
Neko Ayaka
afef299dbc
chore(deps): bump dependencies 2025-06-19 17:43:18 +08:00
Neko Ayaka
f2aef18d77
chore(deps): bump dependencies 2025-06-13 23:01:30 +08:00
Neko Ayaka
ce8914e0b8
chore(deps): bump dependencies 2025-06-11 15:19:13 +08:00
Neko Ayaka
39160badaa
chore(deps): bump dependencies 2025-06-05 11:34:58 +08:00
Neko Ayaka
342084b811
chore(deps): bump dependencies 2025-05-26 00:14:26 +08:00
Neko Ayaka
0c95946c6c
chore(deps): bump dependencies 2025-05-19 13:11:43 +08:00
Neko Ayaka
e0229f73ff
chore(deps): bump dependencies 2025-05-11 12:20:46 +08:00
Neko Ayaka
9a8a064930
chore(deps): bump dependencies 2025-05-07 17:39:30 +08:00