Commit Graph
2737 Commits
Author SHA1 Message Date
RainbowBird f787485b29 feat(server): health check route 2026-02-26 17:53:14 +08:00
Neko Ayaka ed65f3ef5f fix(stage-tamagotchi): websocket started duplicated-ly 2026-02-26 17:49:10 +08:00
Neko Ayaka 82144b50ae chore: update to move devDependency to dependency 2026-02-26 17:15:27 +08:00
RainbowBird 27c4d567a9 chore(server): fix dockerfile 2026-02-26 17:14:41 +08:00
github-actions[bot] 1863dd2adf chore(nix): update pnpmDeps hash 2026-02-26 09:01:20 +00:00
RainbowBird 2ce04a01a8 chore: try to fix build failed 2026-02-26 16:54:40 +08:00
RainbowBird 76e8287839 chore(server): resolve type 2026-02-26 16:38:43 +08:00
github-actions[bot] 5cd026fe70 chore(nix): update pnpmDeps hash 2026-02-26 07:07:12 +00:00
RainbowBird ea05075550 feat(server): database migration 2026-02-26 15:01:06 +08:00
Neko Ayaka 3a107b7465 fix(stage-tamagotchi): ERR_ABORT (-3) occurs when loading hash route window 2026-02-26 14:45:07 +08:00
Neko Ayaka bbf40d28fe fix(stage-tamagotchi): use isLinux() from eventa invoke instead of platform regexp 2026-02-26 14:44:27 +08:00
Neko Ayaka f8bafda5d0 chore(workspace): incorrect Launch.json for Electron debugger 2026-02-26 14:43:31 +08:00
Blackframe AI f859a7ed5b fix(stage-ui): correct signed SSML prosody percentages (#1043) 2026-02-26 01:42:02 +08:00
Neko Ayaka 1d18be6150 feat(stage-tamagotchi): dashboard window 2026-02-26 01:06:36 +08:00
Neko Ayaka c48a3719ae fix(stage-ui): type issue of vrm options 2026-02-26 01:06:17 +08:00
Neko Ayaka 2f63dc201b fix(stage-layouts): shouldn't display header for tamagotchi 2026-02-26 01:05:45 +08:00
Neko Ayaka 376c3acac3 refactor(stage-tamagotchi): base invokes 2026-02-23 13:58:43 +08:00
Daeil Jung 3bb487bb1c docs(i18n): add Korean (ko-KR) README translation (#1042) 2026-02-23 13:22:38 +08:00
Neko 38372e2b51 Merge pull request #959 2026-02-23 13:21:26 +08:00
Neko 1867e370cd Merge branch 'main' into sr/minecraft-slop 2026-02-23 13:20:28 +08:00
4eda195b19 docs(devlog): english version of DevLog @ 2026.02.16 (#1041)
* docs(devlog): english version of DevLog @ 2026.02.16

* [autofix.ci] apply automated fixes

* nice catch

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-21 00:53:52 +08:00
autofix-ci[bot] 4c7055a1a9 [autofix.ci] apply automated fixes 2026-02-18 16:29:04 +00:00
Rin a5287c08d2 refactor(minecraft): add ETA-based pathfinding timeout with stuck detection and retry limits
Patches mineflayer-pathfinder to implement estimated-time-of-arrival based navigation timeouts (2× estimated travel time + grace period). Adds stuck detection counter that triggers failure after 3 consecutive resets without progress. Introduces patchedGoto wrapper returning {ok, reason, elapsedMs, estimatedTimeMs, message} for all navigation calls. Updates goToPlayer/goToPosition actions to surface timeout
2026-02-19 00:25:06 +08:00
Rin 91e5158cf3 refactor(minecraft): redesign debug dashboard conversation view with turn-based grouping and context boundary visualization
Replaces flat message list with collapsible turn cards (user+assistant pairs). Parses user messages into tagged sections ([EVENT], [FEEDBACK], [PERCEPTION], etc.) with inline/collapsible rendering based on content type. Adds context status bar showing active context label and archived summaries. Introduces Brain.broadcastConversationState() to emit full context metadata (active
2026-02-19 00:25:06 +08:00
Rin 08afe0f2aa feat(minecraft): add context boundary system with auto-summarization to prevent unbounded conversation history growth
Introduces task context boundaries via enterContext()/exitContext() REPL functions. Active context messages remain in full; completed contexts are summarized and archived. Adds [CONTEXT_HISTORY] prefix message with archived summaries, auto-trim when active context exceeds 30 messages, and auto-collapse when >10 summaries accumulate. Provides history query runtime (recent/search/playerChats/
2026-02-19 00:25:06 +08:00
Rin 4ce0c427bc refactor(minecraft): simplify giveUp action to halt until player input instead of timed cooldown
Removes cooldown_seconds parameter and timer-based resumption from giveUp action. Brain now uses boolean givenUp flag instead of giveUpUntil timestamp. Action halts all autonomous processing until next player chat message. Updates error-burst guard to remove suggestedCooldownSeconds field. Adjusts prompts, tests, and MCP server to reflect halt-until-input semantics.
2026-02-19 00:25:06 +08:00
autofix-ci[bot] f176aecaee [autofix.ci] apply automated fixes 2026-02-18 03:18:35 +00:00
Neko 1e165915f3 Merge branch 'main' into sr/minecraft-slop 2026-02-18 11:15:32 +08:00
Neko Ayaka 7b9ee3c24b chore(minecraft-bot): improve 2026-02-18 11:14:59 +08:00
Rin f3486005ea refactor(minecraft): simplify EventBus by removing history and trace query features
Strips ring buffer history storage, getHistory(), getEventsByTrace(), and historySize config from EventBus. Removes logger dependency and default config object. EventBus now only handles emit/subscribe/dispatch without persistent event storage. Updates container to use zero-config createEventBus(). Moves event-bus from cognitive/os/ to cognitive/ directory.

Update services/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md

Update services/minecraft/codex-skills/minecraft-debug-mcp/references/mcp-surface.md

Update services/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md
2026-02-18 11:14:46 +08:00
Rin fca2f9a244 docs(minecraft): update README to reflect current perception pipeline and cognitive architecture
Replaces outdated attention-detector/buffer references with EventRegistry + RuleEngine pipeline. Updates Conscious layer to Brain/JS-planner/Query-DSL. Clarifies Action layer components (TaskExecutor, ActionRegistry, Tool Catalog). Revises project structure to match current codebase organization.
2026-02-18 11:14:46 +08:00
Rin aa2d7af17c refactor(minecraft): further cleanup 2026-02-18 11:14:45 +08:00
Rin 13805ab7b5 chore(minecraft): remove unused scenario test files
Removes basic-chat.json and damage-reaction.json scenario definitions that are no longer used for testing chat responses and damage reactions.
2026-02-18 11:14:45 +08:00
Rin ae297e8b06 refactor(minecraft): dead code cleanup
Strips saliency thresholds, window counters, signal generation, and route filtering from all perception event definitions and EventRegistry. Events now emit raw data directly via onRawEvent callback without conscious/reflex/debug routing or threshold-based filtering. Removes WindowCounter, SaliencySnapshot, and related timer/slot logic.
2026-02-18 11:14:45 +08:00
Rin 46b1a8d438 refactor(minecraft): replace look-at and teabag behaviors with idle-gaze behavior 2026-02-18 11:14:45 +08:00
Rin 2022c733b3 feat(minecraft): add map() query DSL for ASCII spatial awareness and terrain visualization
Adds `query.map(options?)` to Brain's query runtime, returning ASCII top-down or cross-section maps with configurable radius (1-32), entity/elevation overlays, and yLevel slicing. Symbols include ground, stone, water, lava, trees, ores, chests, players, and mobs. Enables spatial navigation, resource finding, and underground exploration.
2026-02-18 11:14:45 +08:00
Rin 122be40782 chore(minecraft): add @modelcontextprotocol/sdk dependency 2026-02-18 11:14:45 +08:00
Rin a135b07957 fix(minecraft): await reconnect plugin initialization before spawn hooks to prevent race conditions
Plugin loadPlugin calls were fire-and-forget during reconnect, allowing spawn
event handlers to run before plugins finished loading. Now initializeReconnectPlugins
runs sequentially and spawn waits for completion before invoking spawned hooks.
2026-02-18 11:14:45 +08:00
Rin e668b9b410 fix(minecraft): nullify EventRegistry context on stop() to prevent stale handler execution
When stop() is called before detachFromBot(), mineflayer listeners remain
attached. Nullifying context ensures handleMineflayerEvent's guard clause
silently ignores any events that fire in this window.
2026-02-18 11:14:44 +08:00
Rin 32957e4269 fix(minecraft): make action tool globals updatable so REPL reflects runtime action changes
Action tools were defined with configurable: false, preventing updates after
the first evaluate() call. New defineUpdatableGlobal uses configurable: true
so installActionTools can redefine them when available actions change.
2026-02-18 11:14:44 +08:00
Rin a140ce5065 fix(minecraft): stop McpReplServer and destroy Brain on cleanup to prevent port conflicts on reconnect 2026-02-18 11:14:44 +08:00
Rin 303c07747d fix(minecraft): fix Brain resource leaks, race conditions, and unbounded growth
- Store and clean up EventBus subscription and TaskExecutor listeners in destroy()
- Clear stopCancelledControlActionIds Set in destroy() to prevent unbounded growth
- Use setImmediate in enqueueEvent to prevent re-entrant processQueue bypassing isProcessing guard
- Add conversation history trimming (max 40 messages) to prevent exceeding LLM context window
- Remove duplicate pause check block before REPL execution
2026-02-18 11:14:44 +08:00
Rin 2202154b1d fix(minecraft): remove hardcoded return in isCerebrasBaseURL that prevented reasoning from being sent to all LLM providers 2026-02-18 11:14:44 +08:00
Rin fdb0d26b4d feat(minecraft): add patterns runtime to REPL with block alias support for collect actions
Add PatternRuntime to brain sandbox exposing patterns.get/find/ids/list helpers for known-working recipes, update mcp-surface.md to document patterns global, add patterns to brain-prompt.md globals list with usage guidance, expose patterns in js-planner sandbox and introspection, add test coverage for patterns.get/find in REPL, integrate matchesBlockAlias in breakBlockAt action to support variant-aware block verification

[autofix.ci] apply automated fixes

chore(minecraft): cleanup

[autofix.ci] apply automated fixes
2026-02-18 11:14:44 +08:00
Rin 6a50bcf98e feat(minecraft): remove greeting reflex behavior and associated state tracking
Remove greetingBehavior from reflex system, delete lastGreetingAtBySpeaker tracking from ReflexSocialState and context snapshot, unregister greeting behavior from ReflexManager, clean up stale comments about greeting behavior compatibility
2026-02-18 11:14:43 +08:00
Rin b170094a99 fix(minecraft): add toJSON/inspect.custom serialization to query chains for cleaner REPL output 2026-02-18 11:14:43 +08:00
Rin 797a00346b chore(minecraft): document query.gaze + remove stale gaze context 2026-02-18 11:14:43 +08:00
Rin 942d03584a feat(minecraft): move gaze to perception + query.gaze 2026-02-18 11:14:43 +08:00
Rin 5ea05fb33e fix(minecraft): remove returnValue from prevRun/lastRun to prevent stringified return mirror exposure
Remove returnValue assignment from sandbox.lastRun after script execution (keep only returnRaw for typed values), add test verifying prevRun does not expose stringified returnValue property, update brain-prompt.md to remove returnValue references and guide users to stringify returnRaw explicitly for text output (JSON.stringify(prevRun.returnRaw)), update value-first rule examples to use prevRun.returnRaw instea
2026-02-18 11:14:43 +08:00
Rin 4a354c357e feat(minecraft): add live conversation panel with session tracking and processing state
Replace LLM traces panel with live conversation view showing real-time chat messages, add ConversationUpdateEvent/RequestConversationCommand types, implement emitConversationUpdate in Brain to broadcast conversation state changes (on forgetConversation/turn completion/errors), add session boundary tracking to grey out cleared conversations, implement typing indicator during LLM processing, add collapsible system
2026-02-18 11:14:42 +08:00