Repository navigation
ForgeBook 1.0.6
Three UX fixes
1. Loading messages on slash commands
/forgebook ask and /forgebook item now send ForgeBook is thinking… the moment the command is accepted, so you know the request is in flight instead of staring at silent chat for 5-15s while the model runs. The in-inventory chat UI already had an equivalent indicator — commands now match.
2. Cleaner, colored replies
Replies are piped through a markdown → Minecraft §-code converter before being sent to chat:
**bold**,*italic*,_italic_,__underline__,~~strike~~,`code`,``` fences ```— all render as real formatting instead of leaking raw asterisks / underscores.[text](url)renders astext (url).# Heading→ bold;- bullet→• bullet.- The whole reply is aqua so it's visually distinct from vanilla system text.
3. Rate-limit burst cap
RateLimiter now caps per-player burst at 1 token regardless of rate_limit_per_minute, while preserving the configured refill rate (one token every 60/rpm seconds). Reason: Anthropic's org-level input-token-per-minute limit is easy to blow with a rapid-fire burst — each ForgeBook request spends ~2-3k tokens on the system prompt + context, and a burst of 30 requests-per-minute in one second blows the 10k TPM budget. Sustained throughput over a full minute is unchanged.
Install
Drop forgebook-1.0.6.jar into both the client and server mods/ folders. Requires Minecraft 1.20.1 + Forge 47.4.18+. See docs/BUILD-AND-INSTALL.md.