Commit Graph
76 Commits
Author SHA1 Message Date
RainbowBird 007fae6810 chore: update package dependencies and remove specific catalog references
- Removed specific catalog references for '@unocss/core', 'es-toolkit', 'nanoid', and 'valibot' in pnpm-workspace.yaml and various service package.json files.
- Updated versions for '@vueuse/core', 'es-toolkit', 'nanoid', 'reka-ui', and 'valibot' to their latest compatible versions.
- Cleaned up unused catalog entries in pnpm-workspace.yaml.
2026-06-07 19:45:28 +08:00
RainbowBird 7841df28f8 build(deps): migrate workspace dependencies to catalogs
Move direct external dependency versions into pnpm catalogs and update workspace packages to reference catalog entries.

Signed-off-by: RainbowBird <git@luoling.moe>

Commit-Message-Assisted-by: Codex
2026-06-03 17:12:13 +08:00
Neko Ayaka 95eac8e41c chore(deps): bump dependencies 2026-04-11 04:00:49 +08:00
fdeb9561bc feat(minecraft,stage-*): airi integration, isolated-vm plus misc updates (#1371)
* feat(minecraft): contextflow integration

Add AiriBridge to cognitive engine to enable communication with Airi system. Expose `notifyAiri` and `updateAiriContext` functions in JS planner runtime globals for sending notifications and context updates from agent code.

* refactor(minecraft): remove redundant destinations field from airi-bridge

Remove hardcoded `destinations: ['minecraft']` from spark:command, spark:notify, and context:update events as the destination is already implied by the bridge context.

* feat(minecraft): complete AIRI context flow integration

Wire up bidirectional AIRI ↔ Minecraft communication via dedicated
signal channels instead of reusing signal:chat_message.

- Add airi_command and airi_context to PerceptionSignalType
- Route spark:command intents: action/plan/proposal/reroute emit
  signal:airi_command; context intent emits signal:airi_context
- Add inbound context:update listener so AIRI can push context to
  the Minecraft agent
- airi_context signals are injected into conversation history directly
  without triggering a full cognitive cycle
- airi_command events reset the no-action budget (like player chat)
- enterContext/exitContext auto-emit context:update back to AIRI for
  task lifecycle visibility
- Add sendEmit() helper for queued/working/done progress reporting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(minecraft): report bot startup state to AIRI

Send initial context update to AIRI when brain comes online, including
bot username, server address, position, health, game mode, and list of
other online players. Tagged with 'startup' and bot username for
filtering.

* feat(minecraft): manage bot config through airi

* feat(stage-ui): add minecraft service shell

* fix(stage-ui): use applied minecraft config for chat context

* fix(minecraft): fall back on invalid env port

* fix(minecraft): support quoted env values

* fix(minecraft): ignore empty env overrides

* fix(stage-ui): keep minecraft draft during apply

* fix(stage-ui): simplify minecraft heartbeat label

* feat(stage-ui): simplify minecraft settings shell

* fix(minecraft): use registry heartbeat for stage liveness

* chore(minecraft): remove annoying detector decision logging

* fix(minecraft): limit context flow to bot pushes

* fix(minecraft): use workspace server sdk

* fix(stage-ui): replay registry snapshots for late listeners

* chore(minecraft): add todo for explicit stage deregistration

* feat: improve context flow observability

* fix(stage-ui): remove redundant header and callout from settings and context flow pages

* feat(stage-ui): enhance context flow prompt projection UI with readiness indicator

* docs(stage-ui): clarify context flow prompt projection terminology

* fix(stage-ui): add test for clone-safe context snapshots with nested fields

* todo

* fix(minecraft): avoid blocking startup on airi connection

* Remove LLM timeouts from the Minecraft brain

* Remove context boundary system from Minecraft brain

* feat(minecraft): use isolated-vm for JS planner sandbox

* refactor(minecraft): harden planner sandbox defaults

* Remove LLM attempt timeout guard

* [autofix.ci] apply automated fixes

* Fix server runtime shutdown signal handling

* Remove misleading Minecraft integration toggle

* contextflow destination to stage-*

* chore(deps): updated

* Add settings layout route for web devtools

* chore: default to expand context panels

* fix(server-*): should export more types, and for module:announced should ignore self

* refactor(minecraft): better context orchestration, handle module announce, context sync, and more

* feat(stage-ui): not spark command ready

* [autofix.ci] apply automated fixes

* clean up

* refactor: use :class arrays per AGENTS.md styling guidelines

* cleanup bloated tests

* rm more tests

* use errorMessageFrom

* hardcode to reduce bloat

* update setup instructions

* timeout for brain

* remove more bloat

* fix

---------

Co-authored-by-agent: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by-agent: Codex
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Neko Ayaka <neko@ayaka.moe>
2026-04-01 23:33:59 +08:00
Neko Ayaka ac1de680d0 chore(deps): bump dependencies 2026-03-23 02:15:40 +08:00
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
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
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 https://github.com/pmndrs/xr/blob/456aa380206e93888cd3a5741a1534e672ae3106/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