Rin
b237ac846d
feat(minecraft): add rate limit detection and backoff to brain retry logic
...
Add isRateLimitError helper to detect 429 status and rate limit messages, implement 500ms sleep on rate limit errors before retry
2026-02-18 11:14:08 +08:00
Rin
62f16570ca
feat(minecraft): reasoning hack
2026-02-18 11:14:08 +08:00
Rin
f59a11a5d6
fix(minecraft): sane tool description in system mesage
2026-02-18 11:14:08 +08:00
Rin
54b3bfdc06
refactor(minecraft): remove legacy action adapter and simplify execution model
...
- Remove unused ActionLLMHandler and createActionNeuriAgent from adapter.ts
- Replace execution:'parallel'/'sequential' with readonly:true for query tools
- Add 'skip' action for explicit no-op turns
- Remove error suggestion logic (now handled by brain retry)
- Simplify TaskExecutor to use ActionAgent.performAction directly
- Update tests to use createNeuriAgent() without bot parameter
2026-02-18 11:14:08 +08:00
Rin
1c942a84c8
fix(minecraft): validate LLM response structure to retry on invalid format
2026-02-18 11:14:08 +08:00
Rin
c21b997569
fix(minecraft): simplify brain error retry logic to catch edge cases
...
Remove isLikelyRecoverableError helper and retry all non-auth/bad-arg errors
2026-02-18 11:14:07 +08:00
Rin
02d3f38663
fix(minecraft): make logging actually meaningful
...
Ported from commit f8b73bbf (partial - debug files only):
- Add /api/logs endpoint for listing and loading persisted log files
- Add log file selector UI to debug dashboard
- Filter persistEvent to only save relevant event types
- Add refreshFileList and loadPersistedLog methods to LogsPanel
2026-02-18 11:14:07 +08:00
Rin
cb13baf108
chore(minecraft): speckit
2026-02-18 11:14:07 +08:00
Rin
e07d775202
refactor(minecraft): remove auto-follow behavior from reflex social mode
2026-02-18 11:14:07 +08:00
Rin
a70c2e158f
chore(minecraft): minecraft debug config
2026-02-18 11:14:07 +08:00
Rin
4b8f00ce99
feat(minecraft): borrow patch from mindcraft
2026-02-18 11:14:07 +08:00
Neko Ayaka
59b274b91a
feat(minecraft-hub): init, but bugged
2026-02-18 11:13:33 +08:00
Rin
9ee5aa86ad
chore(minecraft): TODO cleanup and ignore .agent/
2026-02-18 11:13:08 +08:00
Rin
f85b0d805e
chore(minecraft): update brain prompt
2026-02-18 11:12:47 +08:00
Rin
260bc37935
fix(minecraft): invalid LLM output breaks blackboard
2026-02-18 11:12:47 +08:00
Rin
02c3949a40
feat(minecraft): use native tool calling for instant tasks
2026-02-18 11:12:47 +08:00
Rin
d9b99bdda1
feat(minecraft): improve error handling and auto-craft intermediates...but it doesn't work very well
...
1. Wrap neuri tool invocations to catch ActionError and return as
result strings instead of throwing. This allows the LLM to learn
from tool failures during its reasoning phase.
2. Enhance craftRecipe to use the recipe planner for auto-crafting
intermediate materials. If the bot has raw materials (e.g., logs)
but not direct ingredients (e.g., planks), it will automatically
craft the intermediates first.
3. Add memory note about the dual tool interface discovery (neuri
native tool calls vs JSON actions through TaskExecutor) for future
optimization work.
2026-02-18 11:12:46 +08:00
Rin
b4f606e538
feat(minecraft): autocrafter and recepie planner
2026-02-18 11:12:46 +08:00
Rin
377d9378bd
fix(debug): fix Zod 4 compatibility in tool-executor
...
In Zod 4, _def.defaultValue is the value itself, not a function.
This was causing 'curr._def.defaultValue is not a function' error
when the debug dashboard tried to extract tool definitions.
2026-02-18 11:12:46 +08:00
Rin
e9dd2ce0ac
fix(minecraft): fix craftables showing wrong results
2026-02-18 11:12:46 +08:00
Rin
fc24f6e636
feat(minecraft): hurt source
...
limitations: the yaml rule doesn't support conditioning...
2026-02-18 11:12:46 +08:00
Rin
e31d5e8cdf
chore(minecraft): various context adjustments
...
make gaze context prompt more informative
provide time in hh AM/PM format instead of day/night
2026-02-18 11:12:46 +08:00
Rin
3c2862516d
chore(minecraft): clean up (bot as any) and test files
2026-02-18 11:12:46 +08:00
Rin
c77f56d81a
feat(minecraft): track and display nearby players' held items in context
2026-02-18 11:12:46 +08:00
Rin
60133ae276
refactor(minecraft): linearize perception event flow, and more refactors
...
- Change brain retry behavior to abort on error instead of throwing
- Add JSON parsing utilities with better error messages for malformed LLM responses
- Treat JSON syntax errors as recoverable for retry logic
- Update conscious signal subscription to use 'conscious:signal:*' pattern
- Move RuleEngine and rule utilities from cognitive/os to cognitive/perception/rules
- Update tests to reflect new abort behavior (returns
cleanup comments and rename debug source
fix(minecraft): fix system message regression
2026-02-18 11:12:45 +08:00
Rin
b493d8ed76
refactor(minecraft): declarative perception pipeline
2026-02-18 11:12:45 +08:00
Rin
d53031ff38
feat(minecraft): accept system message
2026-02-18 11:12:45 +08:00
Rin
69c61c1a81
feat(minecraft): auto respawn
2026-02-18 11:12:45 +08:00
Neko Ayaka
5b6be077dc
chore(deps): update
2026-02-18 11:12:45 +08:00
Rin
ca82290064
refactor(minecraft): migrate from EventManager to unified EventBus for perception signals
2026-02-18 11:12:19 +08:00
Rin
e02f718aa2
feat(minecraft): add social reflex, follow player on chat
...
fixup chat signal not propagated
2026-02-18 11:12:19 +08:00
Rin
50111bab56
fix(minecraft): emit reflex state on behavior end and mode change to keep dashboard state refresh
2026-02-18 11:12:19 +08:00
Rin
4133b90ece
feat(minecraft): show reflex mode in dashboard
2026-02-18 11:12:19 +08:00
Rin
ffa0a431b7
fix(minecraft): debug dashboard layout problem
2026-02-18 11:12:19 +08:00
Rin
a9dc7d52fe
feat(minecraft): hook up prismarine-viewer
2026-02-18 11:12:18 +08:00
Rin
b11bb1a7c8
feat(minecraft): work mode in reflex if action inflight, so idle behaviors doesn't get played while working
2026-02-18 11:12:06 +08:00
Rin
c4b35f650a
feat(minecraft): event on player join, wire up eventbus
2026-02-18 11:12:06 +08:00
Rin
5b42001769
chore(minecraft): prompt adjustment
2026-02-18 11:12:06 +08:00
Rin
200b783efe
feat(minecraft): improve goToCoordinate
2026-02-18 11:12:06 +08:00
Rin
59847cf52d
feat(minecraft): add mineBlockAt tool
2026-02-18 11:12:05 +08:00
Rin
9300a7dc5b
feat(minecraft): retry on LLM call failure
2026-02-18 11:12:05 +08:00
Rin
2ea93a391b
refactor(minecraft): chat as tools to prevent scheme mismatch
2026-02-18 11:12:05 +08:00
Rin
6ff248c959
feat(minecraft): timestamp in blackboard
2026-02-18 11:12:05 +08:00
Rin
6f63e72934
feat(minecraft): get the block player is looking at
2026-02-18 11:12:05 +08:00
Rin
9c9ba1e717
feat(minecraft): action parallelism with feedback timeout
2026-02-18 11:12:05 +08:00
Rin
0b3a9f24e5
refactor(minecraft): better blackboard and task scheduling
2026-02-18 11:12:04 +08:00
Rin
112ed4ea9f
fix(minecraft): no need for feedback on interruptions
2026-02-18 11:12:04 +08:00
Rin
9d395fd83d
fix(minecraft): collectblock should provide correct feedback
2026-02-18 11:12:04 +08:00
Rin
8441943b2f
chore(minecraft): remove personality traits from brain prompt and fix unused parameter
2026-02-18 11:12:04 +08:00
Rin
57b207557c
fix(minecraft): fix blackboard name mismatch
2026-02-18 11:12:04 +08:00